how to find the centre point of a circle?

1 回表示 (過去 30 日間)
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2013 年 5 月 8 日
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 件)

Image Analyst
Image Analyst 2013 年 5 月 8 日
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.

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by