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

Home » Public Forums » archive » Moving an ROI
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: Moving an ROI [message #28378 is a reply to message #28325] Thu, 06 December 2001 08:32 Go to previous messageGo to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
Andre Kyme wrote:
>
> The problem I see with this is that if we are over
> the boundary, the ROI stops at the point(s) of contact. I eventually want the total
> counts inside the ROI, which means that I need to CLOSE it off first, before doing
> a polyfillv. If I used this last method as is, the ROI would be truncated by simply
> drawing a line from one point of contact to the other - what I really want is the
> boundary to follow the edge of the draw widget where it has crossed the draw
> boundary.

I guess I am not quite sure we are talking the same ROI. Is it the
IDLgrROI, or IDLanROI for that matter? I think that their ContainsPoits
method will return the same results whether the trimmed edge of the ROI
consists of two or thousand points. So it looks to me like drawing a
line from one point of contact to the other is effectively the same as
following the edge of the draw widget where it has crossed the draw boundary.

Cheers,
Pavel
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL data to Excel sheets?
Next Topic: silly sav files

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

Current Time: Sun Oct 12 07:36:10 PDT 2025

Total time taken to generate the page: 0.95995 seconds