DirectionEdgeStatistical method (Main Control)
Builder Syntax |
int DirectionEdgeStatistical(unsigned uDim, unsigned uThreshold, int nAngle, unsigned crEdge, unsigned crBack); |
Delphi Syntax |
Function DirectionEdgeStatistical (uDim: L_UINT; uThreshold: L_UINT; nAngle: L_INT; crEdge: COLORREF; crBack: COLORREF): L_INT; |
Overview |
Remarks
Detects the variation of colors in the specified direction using statistical indices. It is similar to EdgeDetectStatistical, but this method allows you to specify the direction angle.
The edges are detected by applying a statistical filter that analyzes the variations of colors in a specified direction around each pixel.
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: |
SpatialFilter method, MathFunction method, EdgeDetector method |
Topics: |
|
|