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.
댓글 수: 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에서 Polygons에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!