home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
swCHIP 1991 January
/
swCHIP_95-1.bin
/
demo
/
wit4711
/
lib
/
help
/
point
/
castimag.
/
castimag.bin
Wrap
Text File
|
1995-12-09
|
741b
|
17 lines
OPERATOR
castImage --- convert image from one type to another
DESCRIPTION
The castImage operator converts its input image to the specified output image
type. Images with higher precision that are casted to a lower precision data
type are scaled to fit the lower data type range. Signed images are
converted to unsigned by either biasing the signed range to the mid point of
the unsigned range or clipping the negative range to zero based on the mode
parameter. Biasing an image attempts to retain the same visual appearance of
the original image data by translating the grayscale intensities to a new
origin. Clipping an image will retain the original image data by constraining
grayscale values within a new range.