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

조회 수: 2 (최근 30일)
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

답변 (1개)

Harshit
Harshit 2012년 11월 20일
image(:,:,3) = round(image(:,:,3) + 255*BX/100

카테고리

Help CenterFile Exchange에서 Modify Image Colors에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by