setDisplayRange
|
|
Image
|
|
An integer between 0 and 116 specifying the frame number of the image. A value of 0 represents the Video Window. Values in the range of 100-116 correspond to hidden frames.
|
|
Min, Max
|
|
Floating variables or constants specifying the minimum and maximum levels of the display range of the image. If both values are zero, the minimum and maximum levels will be set to the minimum and maximum pixel values in the image (or the current selection), thus providing the "best fit" display.
|
|
ERR_OK
|
|
The flag set if successful.
|
|
ERR_FAILED
|
|
The flag set if failed.
|
|
This set of statements changes the display range of a 16-bit sample image to 200 2000:
|
|
setCurDir("samples")
|
loadIm (1,"sample11.iwd")
|
setDisplayRange (1, 200, 2000 )
|