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

Home » Public Forums » archive » Re: Finding boundary and using plots
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: Finding boundary and using plots [message #37960 is a reply to message #37953] Thu, 05 February 2004 08:53 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Nuno Oliveira writes:

> I have a little problem in here. I'm (still) dealing with ROIs) .

Not still using CW_DEFROI, I hope. :-(

> The case is that making the roi with cw_defroi, then I want to visualize it
> in a window over the image.

Oh, my gosh!

> I get the points of the boundary, with my own
> function that returns the boundary points. Everything was okay while when
> the rois where rectangular or circles (besides the fact that has more points
> than Fanning's boundary because of diagonals I presume).
>
> But when the roi is a polygon I get a strange thing. After the boundary has
> been displayed there lines connecting the peaks, particularly when the angle
> is little.
>
> I made a helping tool, that gives the mask of the boundary and surprise if
> has not those lines! So I thought I would be from plot command, but when I
> used Fanning's boundary the strange lines were not there!
>
> Someone experienced something like this?

Oh, we've experienced everything, pretty much. :-(

Hard to say what is going on here without seeing the code,
but I'm pretty sure this will turn out to be an ordering
problem (no, this doesn't surprise me, given what CW_ROI
was designed to do). One thing we know for sure, Fanning's
boundary is ORDERED! (Probably the result of experience,
tempered with great frustration, no doubt.)

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
Previous Topic: Re: using icontour multiple times
Next Topic: Mathematical manipulations

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

Current Time: Fri Oct 10 12:33:15 PDT 2025

Total time taken to generate the page: 1.20480 seconds