Re: Sanity Check [message #39219] |
Tue, 04 May 2004 16:44  |
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 #39222 is a reply to message #39220] |
Tue, 04 May 2004 14:58   |
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   |
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  |
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
|
|
|