Detect black pixels in a binary image
Mostrar comentarios más antiguos
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.

Respuestas (1)
Walter Roberson
el 26 de Abr. de 2023
0 votos
imbinarize with foreground polarity dark. Then mean2() * 100
Categorías
Más información sobre Image Processing Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!