how can i detect contours properly ?
8 views (last 30 days)
Show older comments
xena tequi
on 14 Apr 2014
Commented: Image Analyst
on 14 Apr 2014
hello everyone , i have tried to detect contours and extract contours of this image but it doesn't work properly for detecting all contours (canny , log ..) , have tried also to make it binary also any suggestions will be appreciated
0 Comments
Accepted Answer
Image Analyst
on 14 Apr 2014
The image looks binary so it doesn't really have contours. The only "contour" is the boundary between pure black and pure white. Try bwboundaries() or bwperim() to get the edge pixels.
4 Comments
Image Analyst
on 14 Apr 2014
You might try to flatten the background by using adapthisteq() on it. Otherwise just try some different parameters on the edge detectors. Or try to program up a dog filter (difference of gaussians), like the demo I attached.
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!