comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Sanity Check
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Sanity Check [message #39223 is a reply to message #39222] Tue, 04 May 2004 14:43 Go to previous messageGo to previous message
Peter Mason is currently offline  Peter Mason
Messages: 145
Registered: June 1996
Senior Member
David Fanning wrote:
> Folks,
>
> OK, I've looked this up for the last time! I'm writing it
> down. I just want to be sure I'm right about this.
>
> Pixel-interleaved image: BIP: 3-m-n.
> Row-interleaved image: BIL: m-3-n.
> Band-interleaved image: BSQ: m-n-3.
>
> And,
>
> m = column = sample
> n = row = line
> 3 = dim = band
>
> Does that look right to you? :-(
>
> Cheers,
>
> David

Pretty much, except for the descriptions.
BIP is also (?) known as "band interleaved by pixel", BIL as "band
interleaved by line" and BSQ as "band sequential".

To be pedantic, a 3-band BIL INT image (for example) takes the form of IMG
= INTARR(m,3,n) in IDL. (Remember that in IDL, IMG[ i, j, k ] is adjacent
to IMG[ i+1, j, k ] in memory.)

Logically, there are three additional ways to arrange a 3D image but I
haven't ever encountered any such myself. It's always been "across and
then down".
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Slicing a surface plot in object graphics
Next Topic: Plot on Maps

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 21:25:42 PDT 2025

Total time taken to generate the page: 0.87918 seconds