Edge detection of a specific object

2 views (last 30 days)
Sayak
Sayak on 20 Mar 2013
I have a picture of a cow with a wide background. Now I want to detect the edge of the cow only. Is it possible?
Any help is appreciated.

Answers (2)

Image Analyst
Image Analyst on 20 Mar 2013
For only that cow in only that image, or for any cow(s) in any possible image? Is this for CBIR (content based image retrieval)? You probably won't be able to get the exact cow outline as if you had hand traced it, particularly if the white part of the cow is adjacent to something else white, like snow or a mountain or another cow's spot.
  3 Comments
Image Analyst
Image Analyst on 20 Mar 2013
No. You get the bounding box only after you have all the other edges. Some CBIR methods I've seen are quite sophisticated and may be able to do that, but I'm not familiar with the details of how they do it. The methods are complex, and it's not really my field.
Sayak
Sayak on 21 Mar 2013
OK. Then can you provide me any link that actually works on CBIR based algorithms. And what if I subtract the background and try it. Will going to work?

Sign in to comment.


Jeff E
Jeff E on 20 Mar 2013
The Berkely Segmentation Dataset and Benchmark website: http://www.eecs.berkeley.edu/Research/Projects/CS/vision/bsds/
is a resource you should check out. It contains a wide variety of segmentation algorithms run against a common set of ground truth images, and ranks them on accuracy. Some of them have been implemented in Matlab and can be run without too much trouble...others not so much.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!