scale_image_max — Maximum gray value spreading in the value range 0 to 255.
The operator scale_image_max calculates the minimum and maximum and scales the image to the maximum value range of a byte image. This way the dynamics (value range) is fully exploited. The number of different gray scales does not change, but in general the visual impression is enhanced. The gray values of images of the 'real', 'int2', 'uint2', 'int4', and 'int8' type are scaled to the range 0 to 255 and returned as 'byte' images.
The output always is an image of the type 'byte'.
Note that filter operators may return unexpected results if an image with a reduced domain is used as input. Please refer to the chapter Filters.
Image to be scaled.
contrast enhanced image.
equ_histo_image, scale_image, illuminate, convert_image_type