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

Home » Public Forums » archive » Re: Filling a contour
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: Filling a contour [message #60675 is a reply to message #60674] Wed, 11 June 2008 16:32 Go to previous messageGo to previous message
Jye is currently offline  Jye
Messages: 17
Registered: May 2008
Junior Member
On Jun 7, 8:11 am, "mzagu...@gmail.com" <mzagu...@gmail.com> wrote:
> I have created a single contour and converted it into a 'contour
> image'. That is to say that I have created an N x M image array and
> populated it with 0's and placed a 1 where a contour point resides. I
> would like to be able to fill the interior of the contour with 1's.
> Any ideas? Thanks

Check out POLYFILLV. It will return the subscripts of the array within
the contour which you can then set to 1.

array[subscripts] = 1

Cheers
Jye
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: efficient comparing 1D and 3D arrays
Next Topic: Re: Best inverse of IDLanROI::ComputeMask

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

Current Time: Thu Oct 09 19:57:16 PDT 2025

Total time taken to generate the page: 0.23961 seconds