Read img medical image without header in matlab
I have a radiograph .img file without the header file. However, the researchers who have published the file have given this information about it High resolution (2048 x 2048 matrix size, 0.175mm pixel size) Wide density range (12bit, 4096 gray scale) Universal image format (no header, big-endian raw data) Using this information, I tried fread command in Matlab to read the image into Matlab. fid = fopen('image.img','r','B'); oneSlice = fread(fid, [2048 2048], '*uint8','B'); imshow(oneSlice) However the resulting image is coming up as incorrect. Is there something that I am doing wrong ? Could