centroid calculation for multiple patches in an image
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
LM Pant
le 24 Oct 2020
Commenté : Image Analyst
le 14 Déc 2022
hello i have an experimental image having many bright patches. I want to compute the centroid of each patch. if anybody can help how to compute.
0 commentaires
Réponse acceptée
Shantanu Dwivedi
le 30 Oct 2020
Modifié(e) : Shantanu Dwivedi
le 30 Oct 2020
Assuming that the bright patches in your image are circular blobs, you can convert the image to black and white first and then find the centroid for each white patch using ‘regionprops’ command.
Refer to the ‘Estimate Center and Radii of Circular Objects and Plot Circles’ section of the following documentation page to get more help.
5 commentaires
Image Analyst
le 14 Déc 2022
@Satyam Satyam I'm sure he was. If you want a full demo, see my Image Processing Tutorial in my File Exchange:
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Polygons 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!