I used MATLAB to split one image into RGB channel and export the binary RGB image, the following is the original image:
I split the image into RGB channel by the following code:
R = secretImg(:,:,1);
G = secretImg(:,:,2);
B = secretImg(:,:,3);
imwrite(R,'RedChannel.tif');
imwrite(G,'GreenChannel.tif');
imwrite(B,'BlueChannel.tif');
However, the following are the results:
As you can see, in the red channel binary image, we cannot even see any colour from red component, it just show blue; In blue channel, we cannot see anything in blue component!
What happened?