EdgeDetectEffect method (ILEADRasterProcess)

Visual Basic example

Visual C++ example

 

Syntax

short EdgeDetectEffect (ILEADRaster *pRaster, long lLevel, long lThreshold, EdgeDetectEffectConstants Flags);

Overview

Refer to Detecting and Enhancing Edges and Lines

Remarks

Performs edge detection on the image.

This method detects the edges in a bitmap and then replaces the values of edges by new values calculated according to the Flags value.

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:

EdgeDetector method, SpatialFilter method, EdgeDetectStatistical method, DirectionEdgeStatistical method.

Topics:

Raster Images: Filtering Images