EdgeDetectStatistical method (ILEADRasterProcess)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short EdgeDetectStatistical (ILEADRaster *pRaster, short iDim, short iThreshold, OLE_COLOR crEdge, OLE_COLOR crBk);

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

 

Using Color Values in LEADTOOLS

Topics:

Raster Image Functions: Filtering Images