<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/254906</link>
    <title>MATLAB Central Newsreader - Cirlce around a pixel</title>
    <description>Feed for thread: Cirlce around a pixel</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Mon, 29 Jun 2009 12:56:01 -0400</pubDate>
      <title>Cirlce around a pixel</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/254906#661212</link>
      <author>Timothy </author>
      <description>Simple question. How do I draw a circle around a certain pixel in an image.</description>
    </item>
    <item>
      <pubDate>Mon, 29 Jun 2009 13:07:58 -0400</pubDate>
      <title>Re: Cirlce around a pixel</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/254906#661218</link>
      <author>Rune Allnor</author>
      <description>On 29 Jun, 14:56, &quot;Timothy &quot; &amp;lt;tluci...@brimrose.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; Simple question. How do I draw a circle around a certain pixel in an image.&lt;br&gt;
&lt;br&gt;
imagesc(randn(64))&lt;br&gt;
colormap(gray)&lt;br&gt;
hold on&lt;br&gt;
plot(32,16,'or','markersize',12,'linewidth',4)&lt;br&gt;
&lt;br&gt;
Rune</description>
    </item>
    <item>
      <pubDate>Mon, 29 Jun 2009 14:29:02 -0400</pubDate>
      <title>Re: Cirlce around a pixel</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/254906#661262</link>
      <author>Timothy </author>
      <description>Thanks, but I think this is not what I was looking for. I just want to draw a small circle around a pixel that I have identified as intense color.</description>
    </item>
    <item>
      <pubDate>Mon, 29 Jun 2009 14:58:37 -0400</pubDate>
      <title>Re: Cirlce around a pixel</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/254906#661272</link>
      <author>Rune Allnor</author>
      <description>On 29 Jun, 16:29, &quot;Timothy &quot; &amp;lt;tluci...@brimrose.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; Thanks, but I think this is not what I was looking for. I just want to draw a small circle around a pixel that I have identified as intense color.&lt;br&gt;
&lt;br&gt;
Then play with the parameters and see if you can&lt;br&gt;
get what you want. Is&lt;br&gt;
&lt;br&gt;
plot(32,16,'og','markersize',2,'linewidth',1)&lt;br&gt;
&lt;br&gt;
better?&lt;br&gt;
&lt;br&gt;
Rune</description>
    </item>
    <item>
      <pubDate>Mon, 29 Jun 2009 15:03:01 -0400</pubDate>
      <title>Re: Cirlce around a pixel</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/254906#661275</link>
      <author>Timothy </author>
      <description>ill play with it... thanks</description>
    </item>
    <item>
      <pubDate>Mon, 29 Jun 2009 16:04:01 -0400</pubDate>
      <title>Re: Cirlce around a pixel</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/254906#661290</link>
      <author>Ilya Rozenfeld</author>
      <description>You might try this&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/matlabcentral/fileexchange/17741&quot;&gt;http://www.mathworks.com/matlabcentral/fileexchange/17741&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&quot;Timothy &quot; &amp;lt;tluciani@brimrose.com&amp;gt; wrote in message &amp;lt;h2adl1$6go$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Simple question. How do I draw a circle around a certain pixel in an image.</description>
    </item>
    <item>
      <pubDate>Mon, 29 Jun 2009 16:12:01 -0400</pubDate>
      <title>Re: Cirlce around a pixel</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/254906#661294</link>
      <author>Ilya Rozenfeld</author>
      <description>You might try this&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/matlabcentral/fileexchange/17741&quot;&gt;http://www.mathworks.com/matlabcentral/fileexchange/17741&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&quot;Timothy &quot; &amp;lt;tluciani@brimrose.com&amp;gt; wrote in message &amp;lt;h2adl1$6go$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Simple question. How do I draw a circle around a certain pixel in an image.</description>
    </item>
    <item>
      <pubDate>Mon, 29 Jun 2009 16:55:03 -0400</pubDate>
      <title>Re: Cirlce around a pixel</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/254906#661303</link>
      <author>Timothy </author>
      <description>How do I set the transparency and color? [CH, CNTR, RAD] = DRAW_CIRCLE(radius, centroid,blue,transparent);</description>
    </item>
    <item>
      <pubDate>Mon, 29 Jun 2009 18:47:48 -0400</pubDate>
      <title>Re: Cirlce around a pixel</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/254906#661326</link>
      <author>ImageAnalyst</author>
      <description>Timothy  wrote:&lt;br&gt;
&amp;gt; Simple question. How do I draw a circle around a certain pixel in an image.&lt;br&gt;
----------------------------------------------------------------------------------------------------------------------&lt;br&gt;
Believe it or not, you use (or can use) the rectangle() function.  If&lt;br&gt;
you type circle in the help index, it will tell you to use the&lt;br&gt;
rectangle() function, which draws a rectangle with corners of a&lt;br&gt;
certain radius of curvature.  So, with proper x and y widths, and&lt;br&gt;
proper corner curvature, you can get a circle.  There are examples&lt;br&gt;
there.  Why they didn't make this it's own function is beyond me.&lt;br&gt;
That would have been the best thing to do - just make special&lt;br&gt;
functions for circle and ellipse.  I mean, who would intuitively think&lt;br&gt;
to look up the rectangle function if you wanted to draw a circle?  A&lt;br&gt;
circle should be a common enough thing to do that it deserves its own&lt;br&gt;
function and not be a special case of some overly flexible rectangle&lt;br&gt;
function.</description>
    </item>
    <item>
      <pubDate>Tue, 30 Jun 2009 12:25:02 -0400</pubDate>
      <title>Re: Cirlce around a pixel</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/254906#661473</link>
      <author>Ilya Rozenfeld</author>
      <description>Say you want to interactively draw semistransparent blue circle, then the command is&lt;br&gt;
&lt;br&gt;
draw_circle([], [], 'b', 0.5)&lt;br&gt;
&lt;br&gt;
or&lt;br&gt;
&lt;br&gt;
draw_circle([], [], [0 0 1], 0.5) &lt;br&gt;
&lt;br&gt;
Note that transparency must be between 0 and 1.  The circle will be fully transparent by default if you do this&lt;br&gt;
&lt;br&gt;
draw_circle([], [], 'b')&lt;br&gt;
&lt;br&gt;
&quot;Timothy &quot; &amp;lt;tluciani@brimrose.com&amp;gt; wrote in message &amp;lt;h2arl7$7k8$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; How do I set the transparency and color? [CH, CNTR, RAD] = DRAW_CIRCLE(radius, centroid,blue,transparent);</description>
    </item>
    <item>
      <pubDate>Fri, 29 Apr 2011 14:00:21 -0400</pubDate>
      <title>Re: Cirlce around a pixel</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/254906#833657</link>
      <author>Tankozavr </author>
      <description>&quot;Timothy &quot; &amp;lt;tluciani@brimrose.com&amp;gt; wrote in message &amp;lt;h2adl1$6go$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Simple question. How do I draw a circle around a certain pixel in an image.&lt;br&gt;
&lt;br&gt;
figure, something with your peaks;&lt;br&gt;
hold on&lt;br&gt;
plot(x,y,'rx');&lt;br&gt;
plot(x,y,'ro');&lt;br&gt;
&lt;br&gt;
will give you either red crosses(RX) or red circles(RO)&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
hope this is what you wanted)&lt;br&gt;
&lt;br&gt;
cheers</description>
    </item>
  </channel>
</rss>

