<div dir="ltr"><div>Dear Experts,</div><div><br></div><div></div><div>please improve my understanding of the IPCV function imread for following context:</div><div><br></div><div>I have an image which is told to be a 3-channel image.</div><div></div><div>At least with IrfanView I get a bit depth of 24 ... so I expect it to be an RBG image.</div><div><br></div><div></div><div>However: The image contains - on purpose - only 2 colors.</div><div><br></div><div>Now:</div><div><br></div><div>img = imread(imPath);       // reads image as boolean</div><div><br></div><div>img = double(img);            // convert to double.<br></div><div><div><br></div><div><br></div><div>Question:        Why does the imread-function read the image as a boolean image and not as a 3-channel image?</div><div><br></div><div>Note:              I am totally fine with the result of imread..just being curious.</div><div><br></div><div>Thank you,</div><div>Philipp<br></div></div></div>