Tiger pugmark binary image analysis

10 次查看(过去 30 天)
how could i find the centroid and area of each object in the image automatically.

采纳的回答

Image Analyst
Image Analyst 2013-4-3
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 个评论
Suvidha
Suvidha 2013-4-5
Thank you ... the code has done almost what i want .. i think i can do further from here.
Image Analyst
Image Analyst 2013-4-5
Then please mark the answer as "Accepted".

请先登录,再进行评论。

更多回答(1 个)

Walter Roberson
Walter Roberson 2013-4-3
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 个评论
Walter Roberson
Walter Roberson 2013-4-3
How do you want to define the distances between the toes? Closest point? Distance between centroids?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by