problem to adding pixel values?

조회 수: 1 (최근 30일)
preet
preet 2013년 2월 23일
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