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

Home » Public Forums » archive » Re: xroi window too large
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: xroi window too large [message #36670] Thu, 16 October 2003 15:54 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Stephen Johnson writes:

> I'm working with exceptionally large images and would like to select
> an ROI using xroi. Unfortunately, I don't see any way to make the
> window xroi pops up smaller than the actual size of the image (too
> large for me).
>
> Someone must have solved this before but my google searches haven't
> returned anything reasonable.
>
> Is there anyone with some insight?

It looks to me like the X_SCROLL_SIZE and Y_SCROLL_SIZE
keywords do exactly what you want.

XROI, bigImage, X_SCROLL_SIZE=400, Y_SCROLL_SIZE=400

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
Re: xroi window too large [message #36752 is a reply to message #36670] Fri, 17 October 2003 13:03 Go to previous message
scjohnson is currently offline  scjohnson
Messages: 3
Registered: October 2003
Junior Member
David Fanning <david@dfanning.com> wrote in message
>
> It looks to me like the X_SCROLL_SIZE and Y_SCROLL_SIZE
> keywords do exactly what you want.
>
> XROI, bigImage, X_SCROLL_SIZE=400, Y_SCROLL_SIZE=400
>
> Cheers,
>
> David

Thanks for your help David!

I'm an IDL novice, so the first thing I did was tab after xroi in
emacs to find the x/y_scroll_size option and tried them out. This
solves one problem (the window was too big) but it doesn't do what I
really want -- which I didn't make sufficiently clear in my original
posting.

I wish that xroi showed a scaled version of my image, not just the
image at maximum size with scroll bars set so it fits on my screen.
The issue is that I want my users to be able to see the entire
(scaled) image on screen and make a simple ROI cut. It's possible
they could muddle through it with the scroll_size option set small
enough, but it would be nicer if they could see the entire image.

Thanks again,

stephen
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Rotation of an IDLgrPolygon about a user specified axis
Next Topic: xroi window too large

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

Current Time: Sun Oct 12 09:36:34 PDT 2025

Total time taken to generate the page: 2.15964 seconds