can any one help me to implement this matlab code
Mostrar comentarios más antiguos
Hi,
I need your help please to implement a matlab code for Edge drawing Edge Drawing works on grayscale images and is comprised of 4 steps:
(1) Suppression of noise by Gaussian filtering,
(2) Computation of the gradient magnitude and edge direction maps,
(3) Extraction of the anchors (peaks of the gradient map),
(4) Linking of the anchors by smart routing to compute the final edge map.
This is a link that can explain the method.
thanks
7 comentarios
Walter Roberson
el 24 de Oct. de 2012
show the code you have arrived at so far, and describe the error messages you received when you tried your code.
Image Analyst
el 24 de Oct. de 2012
The link has a download link. Have you tried to download the code, and translate into MATLAB if necessary? Who do you think should do that?
Walter Roberson
el 24 de Oct. de 2012
The download link leads to binaries.
The algorithms in Table 1 and Table 2 would be easily translated to MATLAB.
Pamela Paolo
el 25 de Oct. de 2012
Image Analyst
el 25 de Oct. de 2012
Try casting I3 to single before passing it in.
Pamela Paolo
el 25 de Oct. de 2012
Editada: Walter Roberson
el 28 de Dic. de 2017
Thien Thu Ngo
el 28 de Dic. de 2017
Hi @Pamela Paolo , could you please share with me the C++ code of this paper? Thanks a lot.
Respuestas (2)
Pamela Paolo
el 25 de Oct. de 2012
0 votos
2 comentarios
Image Analyst
el 26 de Oct. de 2012
I haven't run your code but when it says " Integers can only be combined with integers of the same class, or scalar doubles." it means that it's trying to do something with your integer array, like combine it somehow with a single or double array, and that is against MATLAB's rules. There is no such rule with singles and doubles combining with each other so that's why I said to cast it to single.
Pamela Paolo
el 26 de Oct. de 2012
Editada: Pamela Paolo
el 26 de Oct. de 2012
Pamela Paolo
el 29 de Oct. de 2012
3 comentarios
Image Analyst
el 30 de Oct. de 2012
I don't think that would give the gradient as one would normally think about it. There is a gradient() function you know. You could also use conv2(yourImage, [-1 -1 -1; -1 8 -1; -1 -1 -1]); For the rest, it sounds like you have a particular paper in mind, and I imagine that should give the details for each of those steps.
Pamela Paolo
el 31 de Oct. de 2012
Pamela Paolo
el 1 de Nov. de 2012
Categorías
Más información sobre Interpolation en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

