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

Home » Public Forums » archive » Re: 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 #37091 is a reply to message #37090] Mon, 24 November 2003 09:15 Go to previous messageGo to previous message
Matt Feinstein is currently offline  Matt Feinstein
Messages: 33
Registered: July 2002
Member
On Mon, 24 Nov 2003 08:55:21 -0700, David Fanning <david@dfanning.com>
wrote:

> mark writes:
>
>> 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?
>
> I'd use the IDLanROI object to make an ROI out of
> your ellipse. Then you can easily create an image
> mask, see if a point is inside or outside the ROI, etc.
>
> Cheers,
>
> David

I'll bet the people in the Mtlab group you cross-posted to are
wondering what you're talking about...



Matt Feinstein

--
There is no virtue in believing something that can be proved to be true.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Average outline of several contours
Next Topic: Code-correction please

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

Current Time: Sat Nov 29 13:55:04 PST 2025

Total time taken to generate the page: 1.12679 seconds