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

Home » Public Forums » archive » read pixels
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: read pixel [message #35167 is a reply to message #23336] Fri, 16 May 2003 23:43 Go to previous message
Kelly Dean is currently offline  Kelly Dean
Messages: 92
Registered: March 1997
Member
You'll have to enter the world of widget building to solve this problem.

The WIDGET_DRAW can be setup to create the scrollbars and return the
cursor motion events. The PRO _event section can be used to capture the
x and y values, which are plotted into a WIDGET_LABEL, WIDGET_TEXT or
saved into an array.

For a screen example, visit the CIRA's IDL apps page -

http://www.cira.colostate.edu/special/csuidl/Ck_Met.htm

Sorry, CIRA does not release source code, but you'll see that it can
be done.

Kelly Dean
CSU/ATS

Roberto wrote:
> Hi
> I must to get information about some pixel and store these in array.
> To do this with idl I simply write:
> for i=1, 10 do begin
> TV, img
> cursor, x,y
> print, x,y, img(x,y)
> array = [[array],[x,y,img(x,y)]]
> endfor
>
> But I must use very large image so I would read pixel location using
> standard ENVI display (scroll, image and zoom windows). I don't know what is
> the right procedure, I am very inexperienced.
> Do you know if this is possible? How could I do? Or do you know some web
> guide?
> Thanks in advance
> Roberto Spedale
> Politecnico di Torino
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: replace array's elemets
Next Topic: Re: running IDL without the DE

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

Current Time: Wed Oct 08 17:56:40 PDT 2025

Total time taken to generate the page: 0.00361 seconds