MATLAB Answers

How to fill in broken circles

29 ビュー (過去 30 日間)
vishtaspa coopa
vishtaspa coopa 2017 年 4 月 18 日
回答済み: Ankit Bhardwaj 2017 年 4 月 24 日
So I am working on a way to detect and measure a circular hole from an image. However after cropping, thresholding and median filtering it there it there are still burrs that are showing in the image. How do I resolve this?

  0 件のコメント

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

回答 (1 件)

Ankit Bhardwaj
Ankit Bhardwaj 2017 年 4 月 24 日
You can start with the following example on detecting and measuring circular objects in an image. https://www.mathworks.com/help/images/examples/detect-and-measure-circular-objects-in-an-image.html
The following might also be useful on learning how to identify round objects in an image https://www.mathworks.com/help/images/examples/identifying-round-objects.html
In the above example, please pay close attention to Setp 3 (Remove the Noise) which illustrates how to remove pixels which do not belong to the objects of interest (such as holes in a binary image).

  0 件のコメント

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

Community Treasure Hunt

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

Start Hunting!

Translated by