centroid calculation for multiple patches in an image
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
LM Pant
il 24 Ott 2020
Commentato: Image Analyst
il 14 Dic 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 Commenti
Risposta accettata
Shantanu Dwivedi
il 30 Ott 2020
Modificato: Shantanu Dwivedi
il 30 Ott 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 Commenti
Image Analyst
il 14 Dic 2022
@Satyam Satyam I'm sure he was. If you want a full demo, see my Image Processing Tutorial in my File Exchange:
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Lighting, Transparency, and Shading 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!