28.12.2012 Views

Figure Properties - SERC

Figure Properties - SERC

Figure Properties - SERC

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Band<br />

Column<br />

Row<br />

C C C C C<br />

B B B B BC<br />

C C C C<br />

B B B B BC<br />

C C C C<br />

A A A A A<br />

A A A A A<br />

Column<br />

Band 3<br />

A A A A A<br />

Band 2<br />

Supported methods of interleaving bands include those listed below.<br />

Method String Description Example<br />

Band-Interleaved-by-Line 'bil' Write an entire row from<br />

each band<br />

Band-Interleaved-by-Pixel 'bip' Write a pixel from each<br />

band<br />

Band-Sequential 'bsq' Write each band in its<br />

entirety<br />

multibandwrite<br />

Examples In this example, all the data is written to the file with one function call. The<br />

bands are interleaved by line.<br />

multibandwrite(data,'data.img','bil');<br />

This example uses multibandwrite in a loop to write each band to a file<br />

separately.<br />

for i=1:totalBands<br />

Band 1<br />

AAAAABBBBBCCCCC<br />

AAAAABBBBBCCCCC<br />

AAAAABBBBBCCCCC<br />

ABCABCABCABCABC...<br />

AAAAA<br />

AAAAA<br />

AAAAA<br />

BBBBB<br />

BBBBB<br />

BBBBB<br />

CCCCC<br />

CCCCC<br />

CCCCC<br />

2-1505

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!