Sie sind auf Seite 1von 6

Multibandread/multibandw

rite
Multibandread
Read band interleaved data from a binary file
Syntax

X = multibandread(filename, size, precision, offset, interleave, byteord


er)
X = multibandread(...,subset1,subset2,subset3)

This function definesbandas the third dimension in a 3-D array, as


shown in this figure.
Multibandwrite
Write multiband data to a file
Syntax
multibandwrite(data,filename,interleave)
multibandwrite(data,filename,interleave,start,totalsize)
multibandwrite(...,param,value,...)
Interleave Methods
interleave is a string that specifies how multibandwrite interleaves t
he bands as it writes data to the file. If data is two-dimensional, mul
tibandwrite ignores the interleave argument.
Method String Description Example

Band-Interleaved-by- 'bil' Write an entire row AAAAABBBBBCCCCC


Line from each band AAAAABBBBBCCCCC
AAAAABBBBBCCCCC

Band-Interleaved-by- 'bip' Write a pixel from each ABCABCABCABCABC...


Pixel band

Band-Sequential 'bsq' Write each band in its AAAAA AAAAA AAAAA


entirety BBBBB BBBBB BBBBB
CCCCC CCCCC CCCCC

Das könnte Ihnen auch gefallen