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

Home » Public Forums » archive » Re: Full Image Display
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: Full Image Display [message #37798] Mon, 26 January 2004 06:36 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Fotis Mavromatakis writes:

> Would FSC_Window output the whole image and not just
> what is contained in the 400x200 window ?
> Does this mean that if a window is resizable, it is possible
> to grab the whole image ?

Typically in IDL one answers questions like this with 10 seconds
of experimentation, but, yes that's what it does. Although
"grab" is an odd word to use. I would have used "display".

> I am interested in saving the full size of an image (e.g. 2000x1500)
> BUT WITH annotations (contours, scale bar, etc.) ?
> What I have done so far is the following : I can save the whole
> image but without annotations. I can save annotations but only
> that part of the image which is seen in the display window.
> Can you achieve both tasks simultaneously ?

Assuming you have an IDL procedure that can draw something
in a graphics window of any size (in general this means
annotations are positioned with data or normalized coordinates
and not device coordinates, like you would do if you wanted your
program to display in a PostScript window), then, yes, FSC_Window can
display it in a resizeable graphics window. The only limitation
FSC_Window makes is that your display procedure have no more than three
positional parameters. You can have an unlimited number of keyword
parameters.

There is a program called HISTOIMAGE that comes with my book,
for example, that draws an image, a histogram plot of the image,
and a colorbar in the same window. This is put into a resizeable
graphics window like this:

IDL> FSC_Window, 'histoimage', image


> And a question about color_define.
> In your web page the colours are nicely split in 16 intervals.
> I had also set 16 intervals but in my case some mixing of the
> colours is seen. Is there some keyword to set which I may not
> be using ?

I don't know. You will have to give me more details about
what you are doing. Are you asking whether I fudge pictures?
No, never. It plays havoc with your credibility. :-)

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Extracting ROI without IDL objects is it possible
Next Topic: Virtual Machine in Windows

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

Current Time: Wed Oct 08 16:01:24 PDT 2025

Total time taken to generate the page: 0.01181 seconds