From: Michael on 17 May 2010 09:25 I have some large image data stored in binary form: Format: Band interleaved by pixel (BIP) Size: 32768 x 4096 pixels (i.e. MATLAB-typically rows x cols) Precision: 32-bit float No. of bands: 2 When I try to read in the data using multibandread as shown in the documentation, it works, but my 64-bit edition of MATLAB 2009b gets incredibly slow on my Windows XP x64 machine equipped with 4 GB RAM and even using the "clear all" command doesn't help. Therefore I want to read in only a subset of the image still containing both bands. I tried the following command: X = multibandread(filename, [32768 4096 2], 'single=>single', 32, 'bip', 'ieee-le',{'Row','Range',[10001 1 16000]},{'Column','Range',[2501 1 4000]}); It seemed to work fine, although from omparison with reference data, it seems as if the image was mirrored... Can anybody help me to find out what went wrong? It's essential that I get the data in the right orientation, simply using "fliplr" or "flipud" of course easily corrects the orientation, but distorts any offsets I must use later on.
|
Pages: 1 Prev: How to plot the BER results of LDPC code w.r.t Q factor Next: Decision Feedback Equalizer DFE |