ImageTColor, TDepthCanny Method (Double, Double, Int32, Boolean) |
http://www.emgu.com Find the edges on this image and marked them in the returned image.
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic Image<Gray, byte> Canny(
double thresh,
double threshLinking,
int apertureSize,
bool l2Gradient
)
Public Function Canny (
thresh As Double,
threshLinking As Double,
apertureSize As Integer,
l2Gradient As Boolean
) As Image(Of Gray, Byte)
public:
Image<Gray, unsigned char>^ Canny(
double thresh,
double threshLinking,
int apertureSize,
bool l2Gradient
)
member Canny :
thresh : float *
threshLinking : float *
apertureSize : int *
l2Gradient : bool -> Image<Gray, byte>
Parameters
- thresh
- Type: SystemDouble
The threshhold to find initial segments of strong edges - threshLinking
- Type: SystemDouble
The threshold used for edge Linking - apertureSize
- Type: SystemInt32
The aperture size, use 3 for default - l2Gradient
- Type: SystemBoolean
a flag, indicating whether a more accurate norm should be used to calculate the image gradient magnitude ( L2gradient=true ), or whether the default norm is enough ( L2gradient=false ).
Return Value
Type:
ImageGray,
Byte The edges found by the Canny edge detector
See Also