Algorithm used to find centroids in regionprops.
이전 댓글 표시
I used regionprops to find centroids in image processing. But now I have to put algorithm to show how code works to find these centroids. Someone please tell me the algorithm used for the same.
댓글 수: 1
Veena Chatti
2020년 7월 8일
I am also looking for further information on the algorithms underlying the regionprops function's outputs. Did you manage to find further information from MATLAB? Thanks!
채택된 답변
추가 답변 (1개)
Walter Roberson
2016년 5월 31일
0 개 추천
댓글 수: 1
Walter Roberson
2016년 5월 31일
For images with a single region:
[R, C] = find(YourImage);
Y_centroid = mean(R);
X_centroid = mean(C);
카테고리
도움말 센터 및 File Exchange에서 Region and Image Properties에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
