Detect black pixels in a binary image
古いコメントを表示
Hello,
I want to detect the amount (either area, %, or # of pixels) of black in a black and white/ binary image. Attached is an example image that I want to be analyzed.

回答 (1 件)
Walter Roberson
2023 年 4 月 26 日
0 投票
imbinarize with foreground polarity dark. Then mean2() * 100
カテゴリ
ヘルプ センター および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!