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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Sanity Check [message #39219] Tue, 04 May 2004 16:44 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Tim Robishaw writes:

> Fo' shizzle. -TDogg. [Yes. -Tim.]

As I travel lately, I have become increasingly aware of
what a melting pot America is. This is certainly the
best part of America, and it made a recent trip to
New York City unbelievably exciting.

But as I grow older (and perhaps as my hearing
becomes less acute), I find that I am increasingly
baffled at conversations with security guards, cab drivers,
cashiers, anyone working in a fast food restaurant,
and -- yes, even with teenagers. What language
are these people speaking!?

And now the newsgroup. Sigh... :-(

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: Sanity Check [message #39220 is a reply to message #39219] Tue, 04 May 2004 16:25 Go to previous messageGo to next message
timrobishaw is currently offline  timrobishaw
Messages: 16
Registered: June 2003
Junior Member
David Fanning <david@dfanning.com> wrote in message

> Pixel-interleaved image: BIP: 3-m-n.
> Row-interleaved image: BIL: m-3-n.
> Band-interleaved image: BSQ: m-n-3.

> Does that look right to you? :-(

Fo' shizzle. -TDogg. [Yes. -Tim.]
Re: Sanity Check [message #39222 is a reply to message #39220] Tue, 04 May 2004 14:58 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Peter Mason writes:

> 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.)

Oh, it hurts my head to even think of what that means for a BIP
image. :-(

Anyway, I've got a (pedantic) page now so I can remember it all:

http://www.dfanning.com/ip_tips/where3.html

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: Sanity Check [message #39223 is a reply to message #39222] Tue, 04 May 2004 14:43 Go to previous messageGo to next 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".
Re: Sanity Check [message #39315 is a reply to message #39219] Tue, 04 May 2004 20:03 Go to previous message
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
>> Fo' shizzle. -TDogg. [Yes. -Tim.]
>
>
> As I travel lately, I have become increasingly aware of
> what a melting pot America is. This is certainly the
> best part of America, and it made a recent trip to
> New York City unbelievably exciting.
>
> But as I grow older (and perhaps as my hearing
> becomes less acute), I find that I am increasingly
> baffled at conversations with security guards, cab drivers,
> cashiers, anyone working in a fast food restaurant,
> and -- yes, even with teenagers. What language
> are these people speaking!?

I pity da fool who ain't got time for learnin' jibba-jabba. ;-)

-Mike
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Wed Oct 08 11:35:51 PDT 2025

Total time taken to generate the page: 0.00522 seconds