Tiger pugmark binary image analysis

10 vues (au cours des 30 derniers jours)
Suvidha
Suvidha le 3 Avr 2013
how could i find the centroid and area of each object in the image automatically.

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (1)

Walter Roberson
Walter Roberson le 3 Avr 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 commentaires
Walter Roberson
Walter Roberson le 3 Avr 2013
How do you want to define the distances between the toes? Closest point? Distance between centroids?
Suvidha
Suvidha le 3 Avr 2013
distance between centroids

Connectez-vous pour commenter.

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by