how to do edge detection of image for comparison?
3 views (last 30 days)
Show older comments
i am trying to compare different images of same object. i want to do edge detection but i didn't get the edge detected perfectly. how it can be done?
2 Comments
KALYAN ACHARJYA
on 3 Feb 2018
Edited: KALYAN ACHARJYA
on 3 Feb 2018
There are various types of Edge Detection Techniques, It depends on your application image. Follow Link here Please share your input image, so that user can help you easily. Please clarify..In comparison with which image?
Answers (1)
Image Analyst
on 3 Feb 2018
There may be no "perfect" edge. And there are lots of possible/alternative edge images that could be generated. The edge image you get that can work for you is the one that you should use.
4 Comments
Image Analyst
on 9 Mar 2018
You can use edge() to get single pixel wide edges.
binaryImage = edge(grayImage);
You can use
binaryImage = bwmorph(binaryImage, 'skel', inf);
to skeletonize any binary image (if it's not already down to one pixel wide of course).
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!