to open file .tif 1bit with imread cause access violation
I try to read .tif file 1bit (black&white) with imread :
FF = "D:\Scan\num-03-1.tif";
image = imread(FF,0); // Read the file
and got :
Unhandled exception at 0x0f76ac87 in CV.exe: 0xC0000005: Access violation writing location 0x0042e428.
tried all parameter possibilities.if I save the file as .png 1bit :
FF = "D:\Scan\num-03-1.png";
the imread , read ok !if I save the file as .tif 8bit (grayscale):
FF = "D:\Scan\num-03-8.tif";
the imread , read ok !
so the question is :
can imread open 1bit .tif files ?