How can I display an image with all three color layers but with intensity for blue increased?

2 visualizzazioni (ultimi 30 giorni)
Hi, I am working on an image which has a 'true color' color type. I am supposed to display an image by changing the color intensity for Blue only and showing all three color layers. I have to increase the color density of blue by a given factor of the maximum density 255. I am not supposed to increase the intensity for a pixel past the maximum value. That is, for each blue pixel, new value = round of orig value + 255*BX/100 not to exceed 255. I already have all three colors set at 255 max so I'm not sure how to even start doing this. Please help

Risposte (1)

Harshit
Harshit il 20 Nov 2012
image(:,:,3) = round(image(:,:,3) + 255*BX/100

Categorie

Scopri di più su Modify Image Colors in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by