←Select platform

CannyEdgeDetectorCommandChannels Enumeration

Summary

Enumerator for selecting the channel on which the Canny Edge Dectector filter is applied.

Syntax
C#
VB
C++
[FlagsAttribute()] 
public enum CannyEdgeDetectorCommandChannels 
<FlagsAttribute()>  
Public Enum CannyEdgeDetectorCommandChannels 
public: 
   [FlagsAttribute] 
   enum class CannyEdgeDetectorCommandChannels sealed 
Members
ValueMemberDescription
0x00000000MasterApplies the Canny filter on the master channel
0x00000001RedApplies the Canny filter on the red channel
0x00000002GreenApplies the Canny filter on the green channel
0x00000004BlueApplies the Canny filter on the blue channel
Remarks

The Canny filter can only be applied on the master channel if the image is gray. The function returns ERROR_INV_PARAMETER if the image is gray and one of the channels selected is a colored channel.

It is possible to select more than one channel from the colored (Red, Green, Blue) channels.

Example

Refer to CannyEdgeDetectorCommand.

Requirements
Target Platforms
Help Version 21.0.2021.3.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Core Assembly