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
Walter Roberson 2023 年 4 月 26 日

0 投票

imbinarize with foreground polarity dark. Then mean2() * 100

カテゴリ

ヘルプ センター および File ExchangeImage Processing Toolbox についてさらに検索

質問済み:

2023 年 4 月 26 日

回答済み:

2023 年 4 月 26 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by