Ask Your Question
0

what are the parameters in canny function in opencv

asked 2013-02-20 02:36:38 -0500

dinesh gravatar image

Capture.JPG can anyone explain me the 80 and 90 in the canny function and also plz explain me the "if" condition

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
3

answered 2013-02-20 03:27:40 -0500

All the parameters are explain in the doc here.

The ''if'' presented in the image is only used to create the matrices in OpenCV format. It checks if the matrices exist and if their size is correct before calling the Canny Function.

Just a note to say that you better should used the code insertion instead of an image when you post code on your question, it is easier to read...

edit flag offensive delete link more

Comments

@Mathieu Barnachon: can u explain me what is the mIntermediatemat used everywhere?

dinesh gravatar imagedinesh ( 2013-02-20 03:44:48 -0500 )edit

I think it's just a temporary matrix used for conversion of image.

Mathieu Barnachon gravatar imageMathieu Barnachon ( 2013-02-20 05:23:53 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-02-20 02:36:38 -0500

Seen: 224 times

Last updated: Feb 20 '13