How to find center point of a colored image?
1 回表示 (過去 30 日間)
古いコメントを表示
This point is needed to draw circles on image.
0 件のコメント
採用された回答
Walter Roberson
2013 年 3 月 18 日
Divide size() by 2.
If you want to find the center according to content, then you need to define which parts are content to be considered and which parts are to be disregarded.
Colored images often imply different densities of materials. If that is the case with your image, then you need to define the mapping between color and density if you wish to find the center of mass.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Image Segmentation and Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!