Region of Interest Processing
In This Topic
This group of functions allows you to apply image processing and special effects functions on an arbitrary region of interest (ROI). You can specify a shape, such as ellipse, polygon, or freehand, or a 1-bit mask for identifying which pixels to include/exclude from image processing algorithms.
To apply an image processing function on a non-rectangular ROI, create the ROI using IG_IP_NR_ROI_to_HIGEAR_mask(), or use a 1-bit image, and associate it with the HIGEAR handle on which you are going to apply the processing function, using IG_IP_NR_ROI_mask_associate(). Consequent calls to image processing functions on this image will only affect the area specified by the ROI.