Re: h5 data and GPS [message #81526] |
Thu, 27 September 2012 07:53 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
dave poreh writes:
> I have a *.h5 image, and i want to find a region around a
> GPS point (I want to find the pixel values around the GPS station).
> I tried HDfviwer, NEST, ENVI, but i could find good result.
> Does here anyone could help please?
Create a vector the size of your image (do this for both X and Y),
and scale the vector into the [XY]Range of your image in
projected meter space. (You can use Scale_Vector for this.)
Then, locate your GSP point (in projected meter space) in
these vectors with Value_Locate. Now you can grab as many
pixels as you need with image subscripts.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|