フィルターのクリア

Finding Center of Arc and Forming Circle from an Image

4 ビュー (過去 30 日間)
Edgar Paolo Violan
Edgar Paolo Violan 2020 年 2 月 24 日
編集済み: Edgar Paolo Violan 2020 年 2 月 25 日
hi, I have a zoomed in image the Moon and from it I need to estimate the Moon Center and form its full outline.
The original image is this one:
Using various commands such as bwareaopen, imcomplement, I have managed to isolate its outline and laid it out on an all black canvass:
Then from here I want to find the center of the circle (moon) and extrapolate its outline: e.g draw a circle of the full moon in the image.
I have tried the imfindcircles command but it seems having a hard time to detect the outline.
Any help with this will be greatly appreciated!
Thank you!

採用された回答

Eleanor Betton
Eleanor Betton 2020 年 2 月 24 日
This give a good walk though on fitting a circle using circfit. It might be worth trying this. Once you have the circle you can calculate the centre.
  1 件のコメント
Edgar Paolo Violan
Edgar Paolo Violan 2020 年 2 月 25 日
編集済み: Edgar Paolo Violan 2020 年 2 月 25 日
Circfit worked perfectly! It needed aditional work to plot the boundary of the arc, but the example greatly helped
Thank you!

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by