How to get summation of images

3 visualizaciones (últimos 30 días)
mahesh chathuranga
mahesh chathuranga el 19 de Oct. de 2013
Respondida: Image Analyst el 19 de Oct. de 2013
I have three images ( contrast feature,cluster prominence & cluster shade) with same size(0-255 range).I want to get the summation of this three feature images(sum_feature image).But,when get the summation, all pixel values in summation image are going to 255!(differences of pixel values are not appear).how to do this correctly?thanks!

Respuestas (1)

Image Analyst
Image Analyst el 19 de Oct. de 2013
Because they are uint8, they get clipped at 255 anytime the sum would exceed 255. Cast them to double before adding them.

Categorías

Más información sobre Images 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!

Translated by