ImageGear Professional v18.2 > API Reference Guide > Processing Component API Reference > Processing Component Objects > IGProcessingCtl Control > IGProcessingCtl Methods > DetectAreaWithThreshold Method |
Detects an area of pixels using a specified starting location within the image and a threshold. As the threshold is increased, the detected area will accept greater variation in pixel color and become larger. The detected area is saved as the ROI of the page.
Sub DetectAreaWithThreshold(Page As IGPage, XPos As Long, YPos
As Long, Threshold As Double)
Name | Description |
---|---|
Page | Reference to IGPage Object on which the detection is performed. |
XPos | X coordinate of starting point from which to search outward. |
YPos | Y coordinate of starting point from which to search outward. |
Threshold | Area threshold (in the range from 0 to 1.0). |
None
All except indexed
Image Processing and Effects