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

Home » Public Forums » archive » Re: how to link 2 or more georeferenced images in IDL?
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: how to link 2 or more georeferenced images in IDL? [message #54784] Mon, 02 July 2007 18:23
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
aleks.franca@gmail.com writes:

> I've built 3 widget_bases with WIDGET_DRAW on them, and I load images
> from the same area, but diferent points in time into them. My idea is
> to link these images, so that when I move one image, the other 2 would
> automatically move. The images are bigger than the window. That's why
> I want to link them. We can do that in a very easy way with ENVI.
> I keep my images in an info.
> I want to draw in any of the 3 windows

Well, OK. You get the event in one of your windows.
You move the image in that window. What is preventing
you from also moving the images in the other two windows
at the same time?

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.")
Re: how to link 2 or more georeferenced images in IDL? [message #54785 is a reply to message #54784] Mon, 02 July 2007 17:41 Go to previous message
aleks.franca@gmail.co is currently offline  aleks.franca@gmail.co
Messages: 33
Registered: March 2007
Member
On 2 jul, 16:17, David Fanning <n...@dfanning.com> wrote:
> aleks.fra...@gmail.com writes:
>> I have a GUI with 3 windows for images. I need to develop a function
>> that links the images, just like ENVI does. Is there any procedure or
>> function that I could use to do it? Can anybody give me a help on
>> that?
>
> There is no code for this. But it is nothing more than
> Programming Logic 101. There are only three things to
> keep in mind: (1) Where is your data (in an info or
> state structure, probably)?, (2) Which window do you
> want to draw into (probably also in your info structure)?,
> and (3) What do you want to do in this window?
>
> It's really pretty simple.
>
> 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.")

Hy David!
I'm sorry, but I couldn't get the idea.
I've built 3 widget_bases with WIDGET_DRAW on them, and I load images
from the same area, but diferent points in time into them. My idea is
to link these images, so that when I move one image, the other 2 would
automatically move. The images are bigger than the window. That's why
I want to link them. We can do that in a very easy way with ENVI.
I keep my images in an info.
I want to draw in any of the 3 windows

thank you..
Re: how to link 2 or more georeferenced images in IDL? [message #54786 is a reply to message #54785] Mon, 02 July 2007 12:17 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 GUI with 3 windows for images. I need to develop a function
> that links the images, just like ENVI does. Is there any procedure or
> function that I could use to do it? Can anybody give me a help on
> that?

There is no code for this. But it is nothing more than
Programming Logic 101. There are only three things to
keep in mind: (1) Where is your data (in an info or
state structure, probably)?, (2) Which window do you
want to draw into (probably also in your info structure)?,
and (3) What do you want to do in this window?

It's really pretty simple.

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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: how to link 2 or more georeferenced images in IDL?
Next Topic: Re: How to set the mouse position?

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

Current Time: Sat Oct 11 23:18:24 PDT 2025

Total time taken to generate the page: 0.80031 seconds