Nonzero pixels in black image?!
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Steven
el 25 de Dic. de 2013
Comentada: Walter Roberson
el 25 de Dic. de 2013
In an image process, I have got an image which after being inverted (to calculate the perimeter), it becomes absolutely black on screen. But when I see the pixel values, the last row and column are not zero!
why?
I mean when you sum the pixels, it is not zero!, while the image is completely black!
Thanks!
Steven
0 comentarios
Respuesta aceptada
Walter Roberson
el 25 de Dic. de 2013
Editada: Walter Roberson
el 25 de Dic. de 2013
Your display is not set up to display a color that dark notably differently than true black. This is proper behaviour. Remember, a pixel value of 1 (out of 255) is not very bright.
3 comentarios
Walter Roberson
el 25 de Dic. de 2013
What is class() of the data ? If it is not "logical" then there are non-zero values that are dark.
Más respuestas (0)
Ver también
Categorías
Más información sobre Image Processing Toolbox en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!