ImageGear Professional for Windows ActiveX
DetectAreaWithThreshold Method

Description:

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.

Syntax:

Sub DetectAreaWithThreshold(Page As IGPage, XPos As Long, YPos
As Long, Threshold As Double)

Parameters:

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).

Return Value:

None

Bits Per Pixel:

All except indexed

Sample:

Image Processing and Effects

See Also:

IGPage Object

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback