Tiger pugmark binary image analysis

2 visualizzazioni (ultimi 30 giorni)
Suvidha
Suvidha il 3 Apr 2013
how could i find the centroid and area of each object in the image automatically.

Risposta accettata

Image Analyst
Image Analyst il 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 Commenti
Suvidha
Suvidha il 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 il 5 Apr 2013
Then please mark the answer as "Accepted".

Accedi per commentare.

Più risposte (1)

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

Accedi per commentare.

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by