How can i read and show a image (64*64), 2 byte integer format, and plot a profile across mid section of it?
2 views (last 30 days)
Guillaume on 17 Apr 2015
Possibly, the following may work to read the file:
img = multibandread('somefile', [64 64 1], 'uint16=>uint16', 0, 'bsq', 'ieee-le');
Replace the 1 by 3 if a colour image. You may also need to change the byteorder or the interleave option of multibandread.
Once loaded, displaying the image is just