MATLAB: Problem to adding pixel values

addtion of pixel

when i am adding the pixel value of red , green , blue component separately of colored image it always give 255 maximum .whats the problem??

Best Answer

Try this at the command line:
uint8(255) + uint8(2)
And then this
double(uint8(255)) + double(uint8(2))
Related Question