MATLAB: How to recombine two color channels after separating all the channels

colordigital image processingimage processingImage Processing ToolboxMATLAB

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?

Best Answer

Is this?
color_image(:,:,2:3); % Having only two colors plane
or
color_image(:,:,1:2);
or
color_image(:,:,[1,3]);
Related Question