centroid

  • Follow


I converted the color image to grey image and got the centroid of a blob in the grey(BW) image how can i show the centroid location on the image using a cross or plus mark.
0
Reply usha 9/29/2010 8:26:23 AM

On Sep 29, 4:26=A0am, "usha kiran peddala" <kiran8...@gmail.com> wrote:
> I converted the color image to grey image and got the centroid of a blob =
in the grey(BW) image how can i show the centroid location on the image usi=
ng a cross or plus mark.

-------------------------------------------------------------------
I think this ought to do it:

plot(centroidX, centroidY, 'r+', 'Markersize', 40);
0
Reply ImageAnalyst 9/29/2010 9:57:37 AM


ImageAnalyst <imageanalyst@mailinator.com> wrote in message <0e48acff-df35-4ca2-b825-93d996461457@j18g2000yqd.googlegroups.com>...
> On Sep 29, 4:26 am, "usha kiran peddala" <kiran8...@gmail.com> wrote:
> > I converted the color image to grey image and got the centroid of a blob in the grey(BW) image how can i show the centroid location on the image using a cross or plus mark.
> 
> -------------------------------------------------------------------
> I think this ought to do it:
> 
> plot(centroidX, centroidY, 'r+', 'Markersize', 40);

but i am not able to save the image with the marker.  
0
Reply usha 10/11/2010 2:34:04 AM

Finally we have our daily "How do I save a figure?" question.  It was getting so late I thought we weren't going to have one today, but you finally came through for us.

The answer is: Use export_fig:
http://www.mathworks.com/matlabcentral/fileexchange/?term=author%3Awoodford
0
Reply Image 10/11/2010 2:46:03 AM

3 Replies
233 Views

(page loaded in 0.059 seconds)

Similiar Articles:













7/27/2012 11:27:47 PM


Reply: