Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to load single bit 3 channel image?

Image is in the range [0-1].I tried to use Mat img=imread(filename,CV_LOAD_IMAGE_COLOR); But the rows are 0 and cols are 0 and channels as 3. So how to access it properly. when i'm using CV_LOAD_IMAGE_ANYDEPTH error is coming.