can any one help me to implement this matlab code
이전 댓글 표시
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
Walter Roberson
2012년 10월 24일
show the code you have arrived at so far, and describe the error messages you received when you tried your code.
Image Analyst
2012년 10월 24일
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
2012년 10월 24일
The download link leads to binaries.
The algorithms in Table 1 and Table 2 would be easily translated to MATLAB.
Pamela Paolo
2012년 10월 25일
Image Analyst
2012년 10월 25일
Try casting I3 to single before passing it in.
Pamela Paolo
2012년 10월 25일
편집: Walter Roberson
2017년 12월 28일
Thien Thu Ngo
2017년 12월 28일
Hi @Pamela Paolo , could you please share with me the C++ code of this paper? Thanks a lot.
답변 (2개)
Pamela Paolo
2012년 10월 25일
0 개 추천
댓글 수: 2
Image Analyst
2012년 10월 26일
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
2012년 10월 26일
편집: Pamela Paolo
2012년 10월 26일
Pamela Paolo
2012년 10월 29일
댓글 수: 3
Image Analyst
2012년 10월 30일
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
2012년 10월 31일
Pamela Paolo
2012년 11월 1일
카테고리
도움말 센터 및 File Exchange에서 Interpolation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

