Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

canny apertureSize parameter doesn't work

$
0
0
The apertureSize parameter as described by the [canny documentation](http://docs.opencv.org/modules/imgproc/doc/feature_detection.html#canny) does not give any difference in the detected edges. Here is my code: thresh1 = 100 thresh2 = 200 aperture1 = 3 aperture2 = 7 img = cv2.imread("lena.png", 0) edges1 = cv2.Canny(img, thresh1, thresh2, aperture1) edges2 = cv2.Canny(img, thresh1, thresh2, aperture2) cv2.imshow("result aperture 3", edges1) cv2.imshow("result aperture 7", edges2) cv2.waitKey() Why are both result images identical?

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>