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

Home » Public Forums » archive » IDL ROI Objects
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: IDL ROI Objects [message #90120 is a reply to message #90119] Wed, 28 January 2015 10:17 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Fabien writes:

> See those three examples which are perfectly coherent with each other:

Humm. I guess maybe I should look up "perfectly coherent" in my
dictionary. ;-)

I do note that even Function Graphics gets the notion of a polygon
correct, a result I find especially remarkable:

poly = [[5, 10, 10, 5, 5], [5, 5, 10, 10, 5]]
aplot = Plot([1], XRange=[0,20], YRange=[0,20], /NoData, $
YTickLen=1.0, XTickLen=1.0)
apoly = Polygon(poly[*,0], poly[*,1], /FILL_BACKGROUND, $
FILL_COLOR='Steel Blue', /DATA)

I think if you have to jump through elaborate hoops and rationalizations
to justify results you intuitively can't possibly expect, there is
probably something wrong somewhere.

This would go a long way, too, in explaining why IDLanROI areas don't
jive with areas calculated from, say, chain-code algorithms that also
rely on pixel centers to determine if a pixel is in or out of a polygon.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Krig2d from point to image
Next Topic: Re: Why did IDL just start crashing

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

Current Time: Wed Oct 08 11:50:03 PDT 2025

Total time taken to generate the page: 0.00261 seconds