Hello, how do I change the blue intensity of a .jpg so that the new image is combination of rg and the new b. Thanks.
% Extract the individual red, green, and blue color channels. redChannel = rgbImage(:, :, 1); greenChannel = rgbImage(:, :, 2); blueChannel = rgbImage(:, :, 3);
% Now change the blue channel in whatever way you want. blueChannel = whatever.........
% Then recombine into the new color image. rgbImage = cat(3, redChannel, greenChannel, blueChannel);