centroid calculation for multiple patches in an image
2 ビュー (過去 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.
0 件のコメント
採用された回答
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 件のコメント
Image Analyst
2022 年 12 月 14 日
@Satyam Satyam I'm sure he was. If you want a full demo, see my Image Processing Tutorial in my File Exchange:
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Lighting, Transparency, and Shading についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!