Introduction - If you have any usage issues, please Google them yourself
g = gscale (f, method, low, high) where, f is an image to be scaled, method of valid values ' full8' and ' full16' , the former for the full scale output range [0, 255], The latter is the full scale output range [0, 65535]. If you use one of these two valid values, you can omit the parameter in both low and high transformation.