linear_translation Function

public pure function linear_translation(img, maximum_value, low_threshold, high_threshold) result(translated)

Translate Linear

Arguments

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

Image array has pixel values.

integer, intent(in), optional :: maximum_value

The max value of image pixel.

integer, intent(in), optional :: low_threshold

Threshold to cut min.

integer, intent(in), optional :: high_threshold

Threshold to cut max.

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

The image applied linear transition.