How to find out what this code does

This code pertains to image processing - line parameters Hough transform. Not sure what the third line does.
f=zeros(128,128);
f(32:96,32:96)=255;
[image,t3]=edge(f, 'canny', [0.04 0.10], 1)

5 Commenti

Ken
Ken il 14 Apr 2022
Thanks. The way I see it:
t3 = threshOut
[0.04 0.10]=threshold
1 is ?
The 1 represents "sigma — Standard deviation of filter"
Ken
Ken il 14 Apr 2022
Sorry for another - what exactly is TheshOut?
In general, if you're not sure what an input or output argument for a function represents click on its name (which should be a hyperlink) in the Description section on its documentation page. That will jump to the entry in the Input Arguments or Output Arguments sections where it is described.
For this particular function, if you're not sure how the threshold value is used in the computation look at the Algorithms section for a brief description of the algorithm or the papers cited in the References section for a more in-depth description.

Accedi per commentare.

Risposte (0)

Tag

Richiesto:

Ken
il 14 Apr 2022

Commentato:

il 14 Apr 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by