make_histogram Function

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

Make histogram

Arguments

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

The layer of image.

integer, intent(in) :: maximum

Max value of pixels.

Return Value integer, (0:maximum)

Histgram array.