public static Canny ( InputArray src, OutputArray edges, double threshold1, double threshold2, int apertureSize = 3, bool L2gradient = false ) : void | ||
src | InputArray | Single-channel 8-bit input image |
edges | OutputArray | The output edge map. It will have the same size and the same type as image |
threshold1 | double | The first threshold for the hysteresis procedure |
threshold2 | double | The second threshold for the hysteresis procedure |
apertureSize | int | Aperture size for the Sobel operator [By default this is ApertureSize.Size3] |
L2gradient | bool | Indicates, whether the more accurate L2 norm should be used to compute the image gradient magnitude (true), or a faster default L1 norm is enough (false). [By default this is false] |
return | void |