Description:
Represents ROI (region of interest) associated with IGPage Object, there are 3 types of ROI: whole image, rectangle, and non-rectangular area (NRA). ROI is always associated with IGPage Object and is accessible via the ROI Property of it. The default ROI type is the whole image. NRA ROI is represented as a reference point (Left and Top attributes of the bounding rectangle) and an NRA mask. NRA mask is a 1-bit image with the boolean semantics - 1 means that corresponding pixel belongs to the shape, and 0 means the opposite.
Interface:
IIGROI
Members:
Properties
Height Property |
This property represents the height of the rectangle in case of IG_ROI_RECT type, and the height of the bounding rectangle in case of IG_ROI_NRA type (the property is read only in case of NRA). |
Left Property |
This property represents the X coordinate of the left/top point of the rectangle in case of IG_ROI_RECT type or the bounding rectangle in case of IG_ROI_NRA type. |
Top Property |
This property represents the Y coordinate of the left/top point of the rectangle in case of IG_ROI_RECT type or the bounding rectangle in case of IG_ROI_NRA type. |
Type Property |
This property returns the type of ROI. |
Width Property |
This property represents the width of the rectangle in case of IG_ROI_RECT type, and the height of the bounding rectangle in case of IG_ROI_NRA type (the property is read only in case of NRA). |