Fortran Program
Source Files
Modules
Procedures
Program
make_histogram
Function
12 statements
Source File
posterization.f08
posterization
make_histogram
Contents
public pure function make_histogram(layer, maximum) result(hist)
Make histogram
Arguments
Type
Intent
Optional
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.