Description: GSCALE Scales the intensity of the input image.
G = GSCALE(F, full8 ) scales the intensities of F to the full
8-bit intensity range [0, 255]. This is the default if there is
only one input argument.
G = GSCALE(F, full16 ) scales the intensities of F to the full
16-bit intensity range [0, 65535].
G = GSCALE(F, minmax , LOW, HIGH) scales the intensities of F to
the range [LOW, HIGH]. These values must be provided, and they
must be in the range [0, 1], independently of the class of the
input. GSCALE performs any necessary scaling. If the input is of
class double, and its values are not in the range [0, 1], then
GSCALE scales it to this range before processing.
The class of the output is the same as the class of the input.
Copyright 2002-2004 R. C. Gonzalez, R. E. Woods, & S. L. Eddins
Digital Image Processing Using MATLAB, Prentice-Hall, 2004
$Revision: 1.5 $ $Date: 2003/11/21 14:36:09 $
To Search:
File list (Check if you may need any files):
gscale.m