Tiger pugmark binary image analysis

1 view (last 30 days)
how could i find the centroid and area of each object in the image automatically.

Accepted Answer

Image Analyst
Image Analyst on 3 Apr 2013
First run imclose() on it to fill in nooks and crannies. Then do imfill() to fill in holes. Then regionprops(). See im image segmentation tutorial for details if you need them: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
  5 Comments
Suvidha
Suvidha on 5 Apr 2013
Thank you ... the code has done almost what i want .. i think i can do further from here.
Image Analyst
Image Analyst on 5 Apr 2013
Then please mark the answer as "Accepted".

Sign in to comment.

More Answers (1)

Walter Roberson
Walter Roberson on 3 Apr 2013
regionprops() and ask for Centroid, and either Area or FilledArea.
Question: when you say "each object in the image", should each pugmark be considered one object, or should each toe be considered separate objects?
  3 Comments
Walter Roberson
Walter Roberson on 3 Apr 2013
How do you want to define the distances between the toes? Closest point? Distance between centroids?
Suvidha
Suvidha on 3 Apr 2013
distance between centroids

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!