histogram_equalization Function

public pure function histogram_equalization(img, maximum_value) result(translated)

Apply histgram equalization

Arguments

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

Image array has pixel values.

integer, intent(in) :: maximum_value

The max value of pixels.

Return Value integer, allocatable, (:,:,:)

The image applied histogram equalization.