contrast_translation Function

public pure function contrast_translation(img, maximum_value, K) result(translated)

Apply contrast transition

Arguments

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

Image array has pixel value.

integer, intent(in) :: maximum_value

Max value of image pixels.

real, intent(in) :: K

K

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

The image applied contrast transition.