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

Home » Public Forums » archive » Re: ENVI: procedure to get X, Y of pixel in displayed image
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: ENVI: procedure to get X, Y of pixel in displayed image [message #52087 is a reply to message #52086] Wed, 27 December 2006 06:50 Go to previous message
aberte@gmail.com is currently offline  aberte@gmail.com
Messages: 8
Registered: December 2006
Junior Member
I need something like "Cursor Location / Value" programm available in
Envi.

Does anybody know about the code? Thank you again

On Dec 27, 12:08 pm, "abe...@gmail.com" <abe...@gmail.com> wrote:
> Hi,
> i'm getting troubled with writing a procedure to get x,y (so: y = the
> line of the image (row) and x = the sample (column)) coordinates of a
> pixel of a displayed image. I'm trying to do this with cursor, but
> while debugging I don't have the results I want.
>
> I'm using
>
> cursor, x, y, 4, /DATA
>
> I saw that with
> cursor, x, y, 4, /DEVICE
> I get integers instead of floats.
>
> I would to like what I'm doing wrong.
> Also, I would to know if somebody have written a procedure to get
> coordinates and value of a pixel by clicking on it on the display.
>
> Thank you.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Number of points inside a contour curve
Next Topic: Using value_locate with a non-monotonic vector! And it's working!??!

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

Current Time: Sat Oct 11 11:22:38 PDT 2025

Total time taken to generate the page: 2.71933 seconds