make_histogram Function

public pure function make_histogram(layer, maximum_number) result(hist)

Make magnitude histogram

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: layer(:,:)

The layer of image.

integer, intent(in) :: maximum_number

The max value of pixel.

Return Value integer, (0:maximum_number)

The magnitude histogram.