centroid calculation for multiple patches in an image

2 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Shantanu Dwivedi
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

Accedi per commentare.

Più risposte (0)

Prodotti


Release

R2012b

Community Treasure Hunt

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

Start Hunting!

Translated by