Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Drawing a solid circle pixel using x,y coordinate and radius
Date: Mon, 25 Feb 2008 22:45:06 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 31
Message-ID: <fpvgdi$f2b$1@fred.mathworks.com>
References: <fpv27l$p8s$1@fred.mathworks.com> <fpve85$i5i$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1203979506 15435 172.30.248.35 (25 Feb 2008 22:45:06 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 25 Feb 2008 22:45:06 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1283662
Xref: news.mathworks.com comp.soft-sys.matlab:453596



"Ian Clarkson" <ian.clarkson@gesturetek.com> wrote in 
message <fpve85$i5i$1@fred.mathworks.com>...
> "Phil Au" <philipawt@gmail.com> wrote in message 
> <fpv27l$p8s$1@fred.mathworks.com>...
> > Hi all,
> > 
> > I was having difficulties in creating a solid circle 
> shape 
> > pixel with x and y coordinates, and radius..
> > 
> > I kind of know that the radius must be at least more 
than 
> 3 
> > pixels size to be able to show the shape of the circle, 
> but 
> > I dont know where to start to write the code..
> > 
> > Many thanks 
> 
> i could have sworn this got answered a few days ago. 
check 
> around the forum a bit more. it involved calculating the 
> radius out from the center and just turning the 
pixel "on", 
> as i recall.



Thx for your advice, But I was wondering how I adapt this 
to a reference frame in an image ? i.e. paint a solid 
cirlce in pixel(x,y)?