resetSelect
Top  Previous  Next

resetSelect (integer Input )

Use this function to remove the current selection (region of interest) from an image. This will cause image processing functions to be applied to the whole image.

Parameters
 
Input  
 
An integer between 1 and 116 specifying the frame number of the image containing the selection. Values in the range of 100-116 correspond to hidden frames.  
 
Error flags

ERR_OK  
 
The flag set if successful.  
 
ERR_FAILED  
 
The flag set if failed.  
 
Example

The following set of statements creates a rectangular selection in image #1 and the removes it.  
setCurDir("samples")  
loadIm (1,"sample14.iwd")  
setSelect (1,SH_RECT,SEL_NEW, 20, 20, 300, 200)  
wait(2000)  
resetSelect(1)