problem to adding pixel values?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
when i am adding the pixel value of red , green , blue component separately of colored image it always give 255 maximum .whats the problem??
0 comentarios
Respuesta aceptada
Walter Roberson
el 23 de Feb. de 2013
Try this at the command line:
uint8(255) + uint8(2)
And then this
double(uint8(255)) + double(uint8(2))
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Read, Write, and Modify Image en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!