How to find the circle/ contour of my shape and the distance from the outer contour to the center of the shape?

1 view (last 30 days)
Hello, I just start to lean how to use the Image Processing Toolbox for my project. I have several image like this:
I want to first segment the small circle and the outer gold color layer, than find the center of the samll circle in the middle, as well as find the distance from the inner and outer contour to the center of the samll circle. Finally I need to plot all these data.
At this point, I kind of stucked on finding the center of the samll circle and the contour of the matel layer. The 'imfindcircles' function seems not work in my case cause the resolution of my image is extremely big.

Accepted Answer

darova
darova on 30 Oct 2019
Binarize image (0 and 1)
img1.png
imdilate image
img2.png
Use edge
img3.png
Maybe bwareopen to clear a bit
img4.png

More Answers (0)

Community Treasure Hunt

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

Start Hunting!