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!
