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

Home » Public Forums » archive » Re: Best inverse of IDLanROI::ComputeMask
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: Best inverse of IDLanROI::ComputeMask [message #60685 is a reply to message #60672] Wed, 11 June 2008 06:16 Go to previous messageGo to previous message
Loren Anderson is currently offline  Loren Anderson
Messages: 22
Registered: August 2007
Junior Member
Well, contour certainly does do the trick. One problem is that
contour will draw a line through the diagonal, instead of only
horizontal and vertical lines as would be appropriate for pixels.
Therefore, when you go back to the region object after contouring, you
may notice that the region grows slightly.

One way around this would be to use David's find_boundary program:
http://www.dfanning.com/programs/find_boundary.pro. It's slower, but
for small regions you probably won't be able to tell.

Oh, and if your regions have "holes" in them, as far as I know contour
is your only option.

-Loren
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Filling a contour
Next Topic: BANKRUPTCY ATTORNEY

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

Current Time: Fri Oct 10 08:26:50 PDT 2025

Total time taken to generate the page: 1.52194 seconds