mirror of
https://github.com/opencv/opencv.git
synced 2025-06-08 18:13:13 +08:00
Update py_canny.markdown
Fixed a word that was previously written as third argument but it is instead the fourth argument of cv.Canny() function
This commit is contained in:
parent
b42152ffeb
commit
803ff8ebb9
@ -74,7 +74,7 @@ Canny Edge Detection in OpenCV
|
|||||||
|
|
||||||
OpenCV puts all the above in single function, **cv.Canny()**. We will see how to use it. First
|
OpenCV puts all the above in single function, **cv.Canny()**. We will see how to use it. First
|
||||||
argument is our input image. Second and third arguments are our minVal and maxVal respectively.
|
argument is our input image. Second and third arguments are our minVal and maxVal respectively.
|
||||||
Third argument is aperture_size. It is the size of Sobel kernel used for find image gradients. By
|
Fourth argument is aperture_size. It is the size of Sobel kernel used for find image gradients. By
|
||||||
default it is 3. Last argument is L2gradient which specifies the equation for finding gradient
|
default it is 3. Last argument is L2gradient which specifies the equation for finding gradient
|
||||||
magnitude. If it is True, it uses the equation mentioned above which is more accurate, otherwise it
|
magnitude. If it is True, it uses the equation mentioned above which is more accurate, otherwise it
|
||||||
uses this function: \f$Edge\_Gradient \; (G) = |G_x| + |G_y|\f$. By default, it is False.
|
uses this function: \f$Edge\_Gradient \; (G) = |G_x| + |G_y|\f$. By default, it is False.
|
||||||
|
Loading…
Reference in New Issue
Block a user