Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Regarding understanding Canny's parameters?

$
0
0
I am trying to learn how to make edge detection, so i referred to some tutorials such as the one in [this link](http://opencv-java-tutorials.readthedocs.io/en/latest/07-image-segmentation.html) I followed the steps as stated but what i could not understand is the last four parameters set to the function of .Canny()!! I manipulated the parameters but i always get the same results and i could not notice any difference in the output. would you please explain what are these parameters really doing? and how to realize their effect **code**: //step 1 this.mMatGray = new Mat(); Imgproc.cvtColor(this.mMatInputFrame, this.mMatGray, Imgproc.COLOR_BGR2GRAY); //step 2 this.mMatEdges = new Mat(); Imgproc.blur(this.mMatGray, this.mMatEdges, new Size(5, 5)); //step 3 Imgproc.Canny(this.mMatEdges, this.mMatEdges, 100, 1, 5, true);

Viewing all articles
Browse latest Browse all 19555

Trending Articles



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