centroid calculation for multiple patches in an image

5 visualizaciones (últimos 30 días)
LM Pant
LM Pant el 24 de Oct. de 2020
Comentada: Image Analyst el 14 de Dic. de 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.

Respuesta aceptada

Shantanu Dwivedi
Shantanu Dwivedi el 30 de Oct. de 2020
Editada: Shantanu Dwivedi el 30 de Oct. de 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 comentarios
Satyam Satyam
Satyam Satyam el 14 de Dic. de 2022
@LM Pant Were you able to do it??

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Lighting, Transparency, and Shading en Help Center y File Exchange.

Productos


Versión

R2012b

Community Treasure Hunt

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

Start Hunting!

Translated by