problem to adding pixel values?

1 次查看(过去 30 天)
when i am adding the pixel value of red , green , blue component separately of colored image it always give 255 maximum .whats the problem??

采纳的回答

Walter Roberson
Walter Roberson 2013-2-23
Try this at the command line:
uint8(255) + uint8(2)
And then this
double(uint8(255)) + double(uint8(2))

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Read, Write, and Modify Image 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by