Detect black pixels in a binary image
Ältere Kommentare anzeigen
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.

Antworten (1)
Walter Roberson
am 26 Apr. 2023
0 Stimmen
imbinarize with foreground polarity dark. Then mean2() * 100
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!