Can we use the built-in Canny edge detector?

102 views
Skip to first unread message

Shang-nien Tsai

unread,
Feb 18, 2011, 4:18:21 PM2/18/11
to cs543-spring2011-uiuc
Can we use the built-in Canny edge detector of MATLAB for hw2's circle
detection?

DerekHoiem

unread,
Feb 18, 2011, 6:06:26 PM2/18/11
to cs543-spring2011-uiuc
You will probably need to know the gradient magnitude and orientation
to get a good result, and "edge(im, 'canny')" won't provide that
directly. You should produce a result without using Matlab's "edge"
function. If that doesn't work, you can also try using "edge" to
produce a better result. In that case, show both results, with and
without the built-in "edge.m".

Best,
Derek

Ps. if you reply, reply to dho...@illinois.edu or as a post to the
group (not to derek...@gmail.com)

Shang-nien Tsai

unread,
Feb 18, 2011, 6:28:14 PM2/18/11
to cs543-spring2011-uiuc
I just used the "edge(im, 'canny')" as a part of my circle detection
code, and the result of my circle detection sucks. Thanks for the
answer and the hint!
Reply all
Reply to author
Forward
0 new messages