calculate the area
Mostrar comentarios más antiguos
hello everyone I need help. I have a picture consisting only of black and white. Does anybody know of any function which I figured would be an area of white on obazku.
Thank you so much to everyone
Respuesta aceptada
Más respuestas (1)
Matt Kindig
el 23 de Mzo. de 2012
0 votos
Do you want just the total number of pixels of white? If so, just sum the image (sum all 1's).
If you want the area of contiguous objects of white, check out the 'regionprops' function in the Image Processing Toolbox.
1 comentario
Adam
el 24 de Mzo. de 2012
Categorías
Más información sobre 3-D Volumetric Image Processing 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!