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

Home » Public Forums » archive » Select Images based on vector/shapefile/ROI
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: Select Images based on vector/shapefile/ROI [message #87990 is a reply to message #87903] Mon, 10 March 2014 12:12 Go to previous message
PMan is currently offline  PMan
Messages: 61
Registered: January 2011
Member
On Monday, March 3, 2014 3:11:56 PM UTC-5, Sean Hartling wrote:
> Hi. I am working with MODIS data and I am attempting to find images (from several thousand) that encompass a specific geographic area (the state of Missouri). I was attempting to perform this using Layer Stack and Subset via ROI in ENVI. However, due to the fact that the images do not have a common geographic range, ENVI adds 0.0 data values (instead of NaN, which would be helpful) where it adds extent to each image to encompass the all the image ranges. These 0.0 values will affect my overall calculations when I attempt to pull average pixel values over the specific time period.
>
>
>
> I would like to select images where the vector file for Missouri falls entirely within an image and omit images where it does not. Is there an IDL code, or other method) that would help facilitate this?
>
>
>
> I appreciate any help. Thanks!

Envi allows "No data Values" I believe, set in the header file. If you set that (to say -1 or NAN), then do your resize, does this populate the extra data to the no data values? you might need to convert to ENVI format first.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: poly_fit - yband
Next Topic: MPFIT and initial Guesses

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

Current Time: Fri Oct 10 00:05:45 PDT 2025

Total time taken to generate the page: 1.19901 seconds