centroid calculation for multiple patches in an image
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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.
0 comentarios
Respuesta aceptada
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
Image Analyst
el 14 de Dic. de 2022
@Satyam Satyam I'm sure he was. If you want a full demo, see my Image Processing Tutorial in my File Exchange:
Más respuestas (0)
Ver también
Categorías
Más información sobre Polygons en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!