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

Home » Public Forums » archive » Re: object IDLanROI and polyfillv
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: object IDLanROI and polyfillv [message #26601 is a reply to message #26594] Wed, 12 September 2001 06:56 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Karsten Rodenacker (rodena@gsf.de) writes:

> Two object graphics newbie questions:
>
> Does anyone know how to get from an IDLanROI object the initial path
> coordinate data ?

I'm not sure I completely understand this question.
Do you mean you want the initial polygon points that
you initialized the object with? If so, then you would
do something like this:

myRoiObj->GetProperty, Data=myPolygonPts

> Suprisingly using the same contour (path) coordinate data, the IDLanROI
> object returns with computemask a different one compared with a mask
> generated by polyfillv. Is there any explication for that?

The Mask_Rule keyword allows you to specify several algorithms
for which pixels will be included in the mask. You will have
to set it to whatever it is (nobody knows, I guess) that
PolyFillV uses. The documentation, of course, doesn't even
tell you which algorithm the IDLanROI object uses by default,
so the standard procedure is to spend an hour or so experimenting
until everything becomes clear. Then we would appreciate it if
you would write an article about what you learned and publish
it here. :-)

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
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: Converting Miscrosoft Date/Time into JS?
Next Topic: Re: Error in function js2ymds (JHU/APL/S1R IDL Lib)?

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

Current Time: Sun Oct 12 10:43:41 PDT 2025

Total time taken to generate the page: 1.04255 seconds