Next: scanf, Previous: scale, Up: Internal Routines [Contents][Index]
scalerange(image, logrey, higrey [, low,
high][, /fullrange, /zoom])
Returns a linearly intensity-scaled version of image
. The
lowest data value, or low
if that is specified, is mapped
to a relative grey level of logrey
, and the highest data
value, or high
if that is specified, is mapped to a relative grey
level of higrey
. By default, a relative grey level of 0
corresponds to color index !scalemin
(commonly black) and a
relative grey level of 1 to color index !scalemax
(commonly
white). If /fullrange
is specified, then 0 and one less than the
maximum number of color cells for the currently selected display type
are used instead of !scalemin
and !scalemax
. If x windows
are not used, then the range is 0 through 255.
If /zoom
is specified, then the values of !zoomlow
and
!zoomhigh
are used instead of low
and
high
.