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

Home » Public Forums » archive » Re: read pixels
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: read pixels [message #23330] Tue, 16 January 2001 11:55
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Pavel A. Romashkin (pavel.romashkin@noaa.gov) writes:

> P.S. Doesn't David sound a little worried about the reputation of his
> READ_PIXEL code?

Really!? I thought I sounded grateful it wasn't PSCONFIG
causing problems. :-)

Cheers,

David

P.S. Let's just say that the problem appears to be a
misunderstanding in how IDL programs work. :-)

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: read pixels [message #23331 is a reply to message #23330] Tue, 16 January 2001 11:16 Go to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
RDPIX I think *does* recognize the command-click. It just does not close
the direct graphics window that you were clicking in. But it certainly
ceases working after a command-click. If you want it to close the
window, you'll have to add that to Rdpix.pro code. But if you do, it is
so-o tempting to just write your own after seeing how outdated RDPIX is :-(

Cheers,
Pavel

P.S. Doesn't David sound a little worried about the reputation of his
READ_PIXEL code?

Barbara A Cohen wrote:
>
> Hi, I'm using IDL 5.3 on a Mac with OS8.1. I'm trying to display a tif
> and interactively get the x,y of a coordinate I choose with the cursor.
> Ideally, I'd like my program to read my click-on x and y into variables.
> RDPIX doesn't recognize my cmd-click as a right mouse button so I can
> never get out of it. David's READ_PIXEL program doesn't display the
> coordinates, though it displays the image in a nice widget. Any
> suggestions on what I am doing wrong or other programs
> to do this task? Thanks!
>
> --
> Barbara Cohen
> University of Tennessee
> bcohen@utk.eduu
Re: read pixels [message #23335 is a reply to message #23331] Tue, 16 January 2001 08:43 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Barbara A Cohen (bcohen@lpl.arizona.edu) writes:

> David's READ_PIXEL program doesn't display the
> coordinates, though it displays the image in a nice widget.

Really!? Are you using the latest version?

http://www.dfanning.com/tip_examples/read_pixel.pro

My version certainly displays the coordinates along
with the image value at that coordinate. Does
your version have fields for the coordinates and
nothing appears in them, or what?

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: LinkImage question
Next Topic: Time conversion

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

Current Time: Sun Oct 12 12:54:00 PDT 2025

Total time taken to generate the page: 1.75906 seconds