Ask Your Question

Revision history [back]

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...