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 #37096 is a reply to message #37091] Mon, 24 November 2003 08:36 Go to previous messageGo to previous message
Steven Lord is currently offline  Steven Lord
Messages: 1
Registered: November 2003
Junior Member
mark wrote:
> 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?

It sounds like you want either a contour plot or an isosurface plot, or
something along those lines. See HELP CONTOUR and HELP ISOSURFACE, and look
at the examples in the Volume Visualization Techniques chapter of the Using
MATLAB Graphics manual.

--
Steve Lord
slord@mathworks.com
[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: Sun Oct 12 07:18:52 PDT 2025

Total time taken to generate the page: 1.20102 seconds