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

Home » Public Forums » archive » Re: Fitting an ROI to a distribution of points
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: Fitting an ROI to a distribution of points [message #47280 is a reply to message #47279] Wed, 01 February 2006 09:14 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Olivia writes:

> I have a set of (x,y) coordinates which represent point-like galaxies
> in a galaxy cluster. Ultimately I want to describe the shape of the
> cluster as an ellipse, but I was planning on making some kind of blob
> first. I thought of gaussian smoothing, but I cannot work out how to
> get a filled in shape described by pixels to start working with. Does
> anyone have any ideas?

Here are a couple of articles describing techniques that you
might be able to use. The first describes how to create
a convex hull around a set of points. You could fill
in the polygon (convex hull) to create a blob of some
sort. The second describes how to calculate an ellipse
for a set of random points using a weighed average
approach.

http://www.dfanning.com/tips/convex_hull.html
http://www.dfanning.com/ip_tips/fit_ellipse.html

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Scite for IDL.
Next Topic: more text widget help...

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

Current Time: Fri Oct 10 10:02:42 PDT 2025

Total time taken to generate the page: 0.80268 seconds