ImgEdgeThreshold

Top  Previous  Next

Prototype

 

ImgEdgeThreshold (intImageHandle, intSensitivity, intMinSize, intMaxSize)

 

Description

 

Applies edge thresholding to the image.

 

Parameters

 

intImageHandle: integer value corresponding to the image handle.

 

intLocalWidth: value specifying window width.

 

intLocalHeight: value specifying window height.

 

intSensitivity: the sensitivity level to find edges, between 0 and 255. Use -1 to allow auto-calculation of the best value for the image.

 

intMaxSpotSize: the radius of smallest biggest foreground element to consider noise.

 

Returned value

 

None.

 

Example

 

// Applies edge thresholding

ImgEdgeThreshold(_CurrentImage, 5, 5, 20, 5);