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

Home » Public Forums » archive » Re: Multi-band sampling strategy
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: Multi-band sampling strategy [message #72169] Wed, 18 August 2010 14:11 Go to previous message
Maxwell Peck is currently offline  Maxwell Peck
Messages: 61
Registered: February 2010
Member
On Aug 19, 6:58 am, JessW <jess.wal...@gmail.com> wrote:
> Hi Allard,
>
> Interesting.  You are correct; I'm using random pixel locations across
> an entire Landsat scene, so many of the pixels may fall in the same
> slice.  I had assumed that since I specify a unique line/column
> address in the ENVI_GET_SLICE command, IDL retrieves only the values
> for that one pixel.  But obviously if the command retrieves the entire
> slice prior to defining the column selection, it makes for an
> inefficient process, as you point out.
>
> I've tangled with histograms and reverse indices before; the
> experience left me with a splitting headache, so it may take me some
> time to successfully apply your suggestion to my program.  I'll post a
> follow-up message when I have results.
>
> Thanks very much for taking the time to reply!
>
> Jess

Jess,

Allard's approach is certainly better. I was unclear initially if you
were subsetting 'rectangles' or random point locations. As Allard
suggests point ROI's can get slow if you have a lot.. It all really
depends on how many points we're talking.

Max
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: really dumb IDL8 IDLDE q...
Next Topic: PUTAST

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

Current Time: Wed Oct 08 13:44:39 PDT 2025

Total time taken to generate the page: 0.00502 seconds