count how many pixel has value 255 in an image

7 visualizaciones (últimos 30 días)
Tu Nguyen
Tu Nguyen el 16 de Feb. de 2022
Editada: AndresVar el 16 de Feb. de 2022
The image cameraman, how can we find how many pixel has value of 255? Please help me

Respuesta aceptada

KALYAN ACHARJYA
KALYAN ACHARJYA el 16 de Feb. de 2022
Editada: KALYAN ACHARJYA el 16 de Feb. de 2022
data=GrayImage==255;
total_pix=sum(data(:))
  4 comentarios
Tu Nguyen
Tu Nguyen el 16 de Feb. de 2022
Thank you, I just use the cameraman as an example. Thank a lot
KALYAN ACHARJYA
KALYAN ACHARJYA el 16 de Feb. de 2022
@AndresVar Yes, Thanks for adding more.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Computer Vision with Simulink en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by