MATLAB Answers


how to get coordinate in an image

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


Log in to comment.


1 Answer

Answer by Matt J
on 9 Dec 2012
 Accepted Answer



Show 1 older comment

use the SCATTER command, in conjunction with HOLD.

You can use plot() or scatter(). Have you seen my BlobsDemo: It finds centroids and plots them over the objects.

Log in to comment.

Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!