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 comentarios

Ken
Ken el 14 de Abr. de 2022
Thanks. The way I see it:
t3 = threshOut
[0.04 0.10]=threshold
1 is ?
Voss
Voss el 14 de Abr. de 2022
The 1 represents "sigma — Standard deviation of filter"
Ken
Ken el 14 de Abr. de 2022
Sorry for another - what exactly is TheshOut?
Steven Lord
Steven Lord el 14 de Abr. de 2022
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.

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Preguntada:

Ken
el 14 de Abr. de 2022

Comentada:

el 14 de Abr. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by