fitting a circle to a binary image

前端 未结 5 944
Happy的楠姐
Happy的楠姐 2020-12-15 12:48

I have been using skim age\'s thresholding algorithms to get some binary mask. For example, I obtain binary images like this:

5条回答
  •  有刺的猬
    2020-12-15 13:40

    This is actually a mostly solved problem in image processing. Looks like what you want is a Hough Transform, specifically the circular or elliptical kind. I believe the circular one is a bit less computationally intensive in general.

    Here are some code examples for scikit-image that show pretty much exactly what you're trying to do. And here is a link to the documentation.

提交回复
热议问题