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

Home » Public Forums » archive » POLYFILLV weirdness
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: POLYFILLV weirdness [message #51425 is a reply to message #51350] Sun, 19 November 2006 14:43 Go to previous messageGo to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
dktr.ted@gmail.com wrote:
>> PolyFillV is not using the provided polygons coordinates but a "fix()"
>> of them.... which induce this extra line on the left and at the bottom
>> (and a few missing pixels on the right side and on the top If I remember
>> well). I personnaly used a round() over my polygon coordinates and it
>> was returning much better results... though still not perfect!
>
>
> This practice is particularly horrifying to me considering I frequently
> use ROIs defined in physical coordinates and convert them to array
> coordinates (commonly fractional) before running POLYFILLV. Is there
> anywhere I can have a look at the actual algorithm used in IDL for this
> routine? The documentation references the scan line coordinate system
> defined in Rogers, Procedural Elements of Computer Graphics, 1985, but
> I'm reluctant to hunt down this out of print text without confirmation
> that I will get something useful out of it.
> Ted

Hi Ted,

the code is not available... but you can have a look here:
http://www.ittvis.com/services/techtip.asp?ttid=3539
The process is a bit more explained...

Jean
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Widget_Droplist
Next Topic: open and save a set of image

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

Current Time: Thu Oct 09 22:16:01 PDT 2025

Total time taken to generate the page: 0.47984 seconds