centroid calculation for multiple patches in an image

1 次查看(过去 30 天)
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.

采纳的回答

Shantanu Dwivedi
Shantanu Dwivedi 2020-10-30
编辑:Shantanu Dwivedi 2020-10-30
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 个评论

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Polygons 的更多信息

产品


版本

R2012b

Community Treasure Hunt

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

Start Hunting!

Translated by