Detect black pixels in a binary image
Afficher commentaires plus anciens
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.

Réponses (1)
Walter Roberson
le 26 Avr 2023
0 votes
imbinarize with foreground polarity dark. Then mean2() * 100
Catégories
En savoir plus sur Image Processing Toolbox dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!