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

Home » Public Forums » archive » Re: TVRD on an XROI screen??
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: TVRD on an XROI screen?? [message #40722 is a reply to message #40721] Mon, 30 August 2004 21:21 Go to previous messageGo to previous message
jnettle1 is currently offline  jnettle1
Messages: 27
Registered: January 2001
Junior Member
David,

Thanks for your help. I must be more tired than I thought, though,
b/c i'm not sure i get what you're saying (sorry...i'm still pretty
much a newbie here in a lot of ways). When you say you'd define
another keyword for XROI, do you mean you'd modify the XROI routines
themselves (the xroi.pro file)? And if so, don't you have to more
than modifiy just the definition so that the routine will handle
giving you back the OWINDOW object?

Sorry if this was something I should've already known. Thanks again
for your help.

Jeff

David Fanning <davidf@dfanning.com> wrote in message news:<MPG.1b9d157e1af7fd3798986b@news.frii.com>...
> Jeff writes:
>
>> I have an image loaded into XROI and have drawn a bunch of ROI's on
>> it. Is there a way to quickly and easily write out a tiff file that
>> has the image and the ROI outlines in it..like you could do if you
>> could do a TVRD on an XROI window?
>
> Here is what I would do. I would define another keyword
> for XROI, named OWINDOW. I would define it like this:
>
> XROI, $
> ..., $
> OWINDOW=oWindow, $
> ...
>
> Then, I would call XROI like this:
>
> IDL> XROI, myimagem OWINDOW=win
>
> After I had drawn my ROI's and before I opened any other
> windows, I would do this:
>
> IDL> win -> GetProperty, Image_Data=theImage
> IDL> Write_Tiff, 'myroiimage.tif', Reverse(theImage,3)
>
> There you go. :-)
>
> Cheers,
>
> David
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL and FFTW 3
Next Topic: Re: find rotation between two images

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

Current Time: Sat Oct 11 12:15:08 PDT 2025

Total time taken to generate the page: 0.56363 seconds