problem to adding pixel values?

1 vue (au cours des 30 derniers jours)
preet
preet le 23 Fév 2013
when i am adding the pixel value of red , green , blue component separately of colored image it always give 255 maximum .whats the problem??

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Read, Write, and Modify Image dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by