How can I recombine two color channels after separating all the channels?

12 views (last 30 days)
I separated the color channels of an image, and i want to combine every two channels again without the third, how can I perform this?

Accepted Answer

KALYAN ACHARJYA
KALYAN ACHARJYA on 31 Oct 2019
Is this?
color_image(:,:,2:3); % Having only two colors plane
or
color_image(:,:,1:2);
or
color_image(:,:,[1,3]);

More Answers (0)

Community Treasure Hunt

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

Start Hunting!