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

Home » Public Forums » archive » Re: IDLanROI Confusion
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: IDLanROI Confusion [message #24560 is a reply to message #24557] Wed, 04 April 2001 16:55 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
"Craig Markwardt" <craigmnet@cow.physics.wisc.edu> wrote in message
news:onitkkcp6b.fsf@cow.physics.wisc.edu...
>
> More than likely the region of interest becomes pixelated into square
> pixels. It's pretty clear to me that this will give a greater
> perimeter than a true circle since there are more horizontal and
> vertical segments than are required.
>
> What happens if you make the circle much much bigger? I think then
> the answers will converge to what you expect.

I don't.

Consider a pixelated diagonal line segment. The length along the pixel edges
will exceed the true (along-diagonal) length by sqrt(2), however fine you
pixelate it.

---
Mark Hadfield
m.hadfield@niwa.cri.nz http://katipo.niwa.cri.nz/~hadfield
National Institute for Water and Atmospheric Research
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: long to float
Next Topic: Index of a sector

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

Current Time: Wed Oct 08 18:25:59 PDT 2025

Total time taken to generate the page: 0.00370 seconds