MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by mantong
on 9 Dec 2012

I have an image that has two centroid. I do not know how to display the coordinate values of each centroid is in the image. hope can help me. thanks

*No products are associated with this question.*

Answer by Matt J
on 9 Dec 2012

Accepted answer

regionprops(...,'Centroid')

Show 1 older comment

Image Analyst
on 9 Dec 2012

You can use plot() or scatter(). Have you seen my BlobsDemo: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862 It finds centroids and plots them over the objects.

## 0 Comments