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

Home » Public Forums » archive » Re: Get pixel info from an geotiff ROI (lat long)
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: Get pixel info from an geotiff ROI (lat long) [message #57599 is a reply to message #57591] Sun, 16 December 2007 06:19 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
aleks.franca@gmail.com writes:

> I have a problem with georreferenced tiff files. I need to get pixel
> information from a geotiff image. I have the coordinates LAT LONG of a
> ROI. Inside the Region of interest I need to get information about the
> pixels, such as the many of pixels, and their values.
> It seems to be very simple, but I can't find the right function. I've
> tried to use CONTOUR, but it doesn't give pixel values. I've also
> tried POLYFILL, but it just draws the polygons.
> Could somebody please advise me with a function in IDL, so I could
> work on?

POLYFILLV will return all the pixel indices inside your
polygon. But I would really think about putting these
ROIs into IDLanROI objects. That way you get methods that
do just about everything you can think of to do with an
ROI.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Get pixel info from an geotiff ROI (lat long)
Next Topic: Matrix rank

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

Current Time: Sat Oct 11 18:38:19 PDT 2025

Total time taken to generate the page: 1.27958 seconds