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

Home » Public Forums » archive » creating elliptically shaped images
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: creating elliptically shaped images [message #37175 is a reply to message #37099] Wed, 03 December 2003 15:03 Go to previous messageGo to previous message
Paul Sorenson is currently offline  Paul Sorenson
Messages: 48
Registered: May 2002
Member
mruschin@hotmail.com (mark) wrote in message
news:<a9116224.0311240712.618f4088@posting.google.com>...
>> I'd like to form an image which has an elliptical shape and where all
>> the pixels within this ellipse have values corresponding to any given
>> function that I would specify, the simplest example being a uniform
>> image (i.e. a value of 1 for all the pixels in the ellipse). Is there
>> any nice way to do this in IDL or MATLAB other than looping through
>> all the pixels and determining whether any given one lies within the
>> ellipse?
>
This sounds like a job for IDLanROI::ContainsPoints. It can identify what
points are in a region without requiring a loop.

-Paul Sorenson
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Two little questions:
Next Topic: Active Contours and Snakes! Oh, my!

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

Current Time: Fri Oct 10 03:37:29 PDT 2025

Total time taken to generate the page: 1.28072 seconds