calculate the area
古いコメントを表示
hello everyone I need help. I have a picture consisting only of black and white. Does anybody know of any function which I figured would be an area of white on obazku.
Thank you so much to everyone
採用された回答
その他の回答 (1 件)
Matt Kindig
2012 年 3 月 23 日
0 投票
Do you want just the total number of pixels of white? If so, just sum the image (sum all 1's).
If you want the area of contiguous objects of white, check out the 'regionprops' function in the Image Processing Toolbox.
カテゴリ
ヘルプ センター および File Exchange で 3-D Volumetric Image Processing についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!