EdgeDetectStatistical method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int EdgeDetectStatistical(unsigned uDim, unsigned uThreshold, unsigned crEdge, unsigned crBack);

Delphi Syntax

Function EdgeDetectStatistical (uDim: L_UINT; uThreshold: L_UINT; crEdge: COLORREF; crBack: COLORREF): L_INT;

Overview

Refer to Detecting and Enhancing Edges and Lines

Remarks

Detects edges by examining the variation of colors in all directions using statistical indices.

The edges are detected by applying a statistical filter that analyzes the variations of colors in all directions around each pixel.

This method supports 12 and 16-bit grayscale and 48 and 64-bit color images. Support for 12 and 16-bit grayscale and 48 and 64-bit color images is available only in the Document/Medical toolkits.

This method does not support signed data images. It returns the error code ERROR_SIGNED_DATA_NOT_SUPPORTED if a signed data image is passed to this method.

See Also

Elements:

Combine method, IntensityDetect method, Sharpen method, SpatialFilter method, EdgeDetector method

Topics:

Raster Images: Filtering Images

 

Using Color Values in LEADTOOLS