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

Home » Public Forums » archive » Re: Extracting ROI without IDL objects is it possible
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: Extracting ROI without IDL objects is it possible [message #37719] Thu, 22 January 2004 11:20 Go to next message
Bruce Bowler is currently offline  Bruce Bowler
Messages: 128
Registered: September 1998
Senior Member
On Thu, 22 Jan 2004 09:33:32 -0700, David Fanning put fingers to keyboard
and said:

> If you HAD to use CW_DEFROI for some reason (your Internet
> connect to my web page was broken, for example) you could
> use Find_Boundary to recover the points on the boundary of
> your ROI:
>
> http://www.dfanning.com/programs/find_boundary.pro
>

But if his internet connection to your page is down, he can't get to
find_boundary, because it's on your page, which is down...

How's the search for a sabbatical coming :-)

--
+-------------------+--------------------------------------- ------------+
Bruce Bowler | There are more pleasant things to do than beat up
1.207.633.9600 | people. - Muhammad Ali
bbowler@bigelow.org |
+-------------------+--------------------------------------- ------------+
Re: Extracting ROI without IDL objects is it possible [message #37727 is a reply to message #37719] Thu, 22 January 2004 09:12 Go to previous messageGo to next message
Nuno Oliveira is currently offline  Nuno Oliveira
Messages: 75
Registered: October 2003
Member
Thanks, there's a lot of stuff for me to read. The question about cw-defroi
is that I don't know if I have time to make my own ROI tool (despite the
fact that I didn't see your tips about it yet)



I'm going to take a look.



Cheers,



Nuno.



"David Fanning" <david@dfanning.com> wrote in message
news:MPG.1a79a946edfa3dc49897ad@news.frii.com...
> Nuno Oliveira writes:
>
>> I'm having a little trouble with extracting ROI with IDL. I'm trying to
make
>> a little application for temporary use while I don't learn how to manage
>> IDLanROI objects.
>
> You will be MILES ahead if you give up on CW_DEFROI and learn
> to write your own ROI tool:
>
> http://www.dfanning.com/widget_tips/line_on_image.html
>
> What you want are the points that describe the ROI polygon,
> not the pixel indices of the pixels inside the ROI.
>
> If you HAD to use CW_DEFROI for some reason (your Internet
> connect to my web page was broken, for example) you could
> use Find_Boundary to recover the points on the boundary of
> your ROI:
>
> http://www.dfanning.com/programs/find_boundary.pro
>
> Then, you could just plot these boundary points with PLOTS
> right on top of your image.
>
> 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: Extracting ROI without IDL objects is it possible [message #37728 is a reply to message #37727] Thu, 22 January 2004 08:33 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Nuno Oliveira writes:

> I'm having a little trouble with extracting ROI with IDL. I'm trying to make
> a little application for temporary use while I don't learn how to manage
> IDLanROI objects.

You will be MILES ahead if you give up on CW_DEFROI and learn
to write your own ROI tool:

http://www.dfanning.com/widget_tips/line_on_image.html

What you want are the points that describe the ROI polygon,
not the pixel indices of the pixels inside the ROI.

If you HAD to use CW_DEFROI for some reason (your Internet
connect to my web page was broken, for example) you could
use Find_Boundary to recover the points on the boundary of
your ROI:

http://www.dfanning.com/programs/find_boundary.pro

Then, you could just plot these boundary points with PLOTS
right on top of your image.

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: Extracting ROI without IDL objects is it possible [message #37818 is a reply to message #37719] Thu, 22 January 2004 12:17 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Bruce Bowler writes:

> But if his internet connection to your page is down, he can't get to
> find_boundary, because it's on your page, which is down...

Oh, right. I find it's best if I don't write newsgroup
articles while I am right in the middle of a big programming
project. I like the break, but I find the ol' brain slow to
disengage. :-(

> How's the search for a sabbatical coming :-)

Leads are coming in! Let's see, the first one here is
from ... oh, oh, Cleveland!

Well ... that's exotic, all right. :^)

Cheers,

David

P.S. Let's just say if you were looking for a place
to research the loss of manufacturing jobs in the US,
you could do worse than Cleveland. :-)

--
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Strange widget_info(FIND_BY_UNAME...) results
Next Topic: Limiting the number of VM instances

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

Current Time: Sat Oct 11 13:40:39 PDT 2025

Total time taken to generate the page: 0.24391 seconds