Function: Scale the gray value of the image to the range of 0-255;
Parameter translation (the order corresponds to the order of the above parameters):
Input image,
Output image
description:
The operator scale_image_max calculates the minimum and maximum values of the gray value of the original image, and scales the gray value of the original image to the range of 0-255. In this way, the value range can be fully utilized. The number of different gray values has not changed, but the overall visual effect has been enhanced; the types of'real','int2','uint2','int4' and'int8' The gray value of the image is scaled to the range of 0 to 255, and an image of type'byte' is returned.