MATLAB Answers

how to find the centre point of a circle?

A dent has been found on the outer edge of the circle. how to find the angle between the center point and the dent region?


1 Answer

Answer by Image Analyst
on 8 May 2013

Like I said in your related question, find the dents

dentsImage = bwconvhull(binaryImage) - binaryImage;

Then get the centroids

measurements = regionprops(binaryImage, 'Centroid');

which I'm sure you already know how to do because you've used regionprops many, many times in the past.


Join the 15-year community celebration.

Play games and win prizes!

Learn more
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!