|
getDisplayRange
|
|
|
|
| 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 that return the minimum and maximum levels of the display range of the image.
|
|
|
| Level
|
|
|
| An enumerated integer that describes the mode for the alternative syntax. Must be one of the following values:
|
|
|
| DISP_MIN=1 returns the minimum display level
|
| DISP_MAX=2 returns the maximum display level
|
|
|
| ERR_OK
|
|
|
| The flag set if successful.
|
|
|
| ERR_FAILED
|
|
|
| The flag set if failed.
|
|
|
| This set of statements opens a 16-bit sample image, retrieves the display range and prints the information in the terminal window:
|
|
|
| setCurDir("samples")
|
| loadIm (1,"sample11.iwd")
|
| getDisplayRange (1, min, max )
|
| print "min=", min
|
| print "max=", max
|
|
|