Detect black pixels in a binary image
Mostra commenti meno recenti
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.

Risposte (1)
Walter Roberson
il 26 Apr 2023
0 voti
imbinarize with foreground polarity dark. Then mean2() * 100
Categorie
Scopri di più su Image Processing Toolbox in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!