The CANNYOPTIONS structure provides options.
Parameter used to determine the radius of the Gaussian filter used inside the L_CannyEdgedetectorBitmap function.
Threshold Value used to determine the low threshold for continuing the linking process.
Threshold Value used to determine the high threshold for starting the linking process.
Value used to determine the channels on which to apply the Canny filter. Possible values are:
Value | Meaning |
---|---|
CANNY_MASTER_CHANNEL | [0] Grayscale channel. |
CANNY_RED_CHANNEL | [1] Red channel. |
CANNY_GREEN_CHANNEL | [2] Green channel. |
CANNY_BLUE_CHANNEL | [4] Blue channel. |
Stores the options for the L_CannyEdgedetectorBitmap function.
The Canny filter can be applied only on the master channel if the image is gray.
It is possible to choose more than one channel from the (Red, Green, Blue) channels.
The function returns ERROR_INV_PARAMETER if the image is gray and any of the channels chosen is a colored channel.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document