I read a 10bits multispectral raw image data using uint16 as follows
fid=fopen(file_name,'r');a=fread(fid,width*height*band,'uint16');fclose(fid);
but I got the maximum value of this data is 4095, it means that my data is read as 12-bit data. Is there anyone know why?
I also tried to read the same data in uint32 and the result becomes 28-bit data.
why there is a 4-bit difference here?
Best Answer