MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > Including an area into a circle 

Hello there, 
"Spulber " <remove.this@yahoo.com> wrote in message <iee3ch$173$1@fred.mathworks.com>... 
Here is the picture, thanks for your fast reply. I think that you will recognise the errors, in this picture are 4 of them. 
Hi, this is the picture as you can see. http://picasaweb.google.com/sergiuspulber96/ShapeRecognition?authkey=Gv1sRgCOqSsNmV2NjXAE#5551417838610969058 and the errors are the 4 blobs in the middle. 
Subject: Including an area into a circle From: ImageAnalyst Date: 17 Dec, 2010 00:42:14 Message: 5 of 21 
I think you need to look at texture segmentation. For example, look 
Subject: Including an area into a circle From: ImageAnalyst Date: 17 Dec, 2010 00:58:38 Message: 6 of 21 
On Dec 16, 7:42 pm, ImageAnalyst <imageanal...@mailinator.com> wrote: 
Hi, thank you very much for the references. I will investigate them tomorrow morning. 
Hi, I managed to get here with my project http://picasaweb.google.com/sergiuspulber96/ShapeRecognition?authkey=Gv1sRgCOqSsNmV2NjXAE#5552498001431693538 . Now, what I really did not find is a way to calculate the coordonates of a pixel surrounded by other pixels with the same colour as itself. In my case, I am interested in the gray pixels. I want to find the coordinates where I can draw circles with a radius of 5 let's say, without covering the errors, or the blobs painted with other colours than gray. 
Subject: Including an area into a circle From: ImageAnalyst Date: 19 Dec, 2010 22:26:02 Message: 9 of 21 
On Dec 19, 4:01 pm, "Spulber " <remove.t...@yahoo.com> wrote: 
Subject: Including an area into a circle From: Spulber Date: 20 Dec, 2010 01:53:04 Message: 10 of 21 

Subject: Including an area into a circle From: ImageAnalyst Date: 20 Dec, 2010 04:29:45 Message: 11 of 21 
D = bwdist(BW) computes the Euclidean distance transform of the binary 
Subject: Including an area into a circle From: Spulber Date: 20 Dec, 2010 20:21:05 Message: 12 of 21 
Thank you very much man, the lines are working very well. I am trying for a long time already to get to this point. 
Subject: Including an area into a circle From: Spulber Date: 21 Dec, 2010 00:08:05 Message: 13 of 21 
Hi, I tried to draw a circle on top of my current figure, so I can see where the circles are putted, but it was an impossible task to do. The closest algorythm that I found is this one http://www.mathworks.com/matlabcentral/fileexchange/23121circleonimage and I tried to figure out how to remove the part where the inputs from the mouse are read and I get no results. Is there an easier way to do that? 
Subject: Including an area into a circle From: ImageAnalyst Date: 21 Dec, 2010 01:02:44 Message: 14 of 21 
Chances are that you'll have thousands of pixels where a circle of 
Subject: Including an area into a circle From: ImageAnalyst Date: 21 Dec, 2010 01:07:03 Message: 15 of 21 
Rereading back over your old posts, I think you can just take your 
Subject: Including an area into a circle From: Spulber Date: 21 Dec, 2010 22:10:25 Message: 16 of 21 
> Rereading back over your old posts, I think you can just take your 
"Spulber " <remove.this@yahoo.com> wrote in message <ier8kh$t0u$1@fred.mathworks.com>... 
Subject: Including an area into a circle From: Spulber Date: 19 Jan, 2011 20:07:20 Message: 18 of 21 
Hello, I have been waiting for a new response, and I have been trying to figure it out myself but I ended up with an insucces. 
Subject: Including an area into a circle From: ImageAnalyst Date: 19 Jan, 2011 20:48:04 Message: 19 of 21 
On Jan 19, 3:07 pm, "Spulber " <remove.t...@yahoo.com> wrote: 
Subject: Including an area into a circle From: Spulber Date: 19 Jan, 2011 22:50:30 Message: 20 of 21 
> Spulber : 
Subject: Including an area into a circle From: ImageAnalyst Date: 20 Jan, 2011 02:43:24 Message: 21 of 21 
Here's a circle drawing demo I have lying around. See if you can 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.