qinguoyi / Extract-Inner-Image

提取内环图像

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extract-inner-image

This project can extract inner image of something like ring, but not only ring. Besides, you can counting according to the result image of inner image. Configuration environment : OpenCV3.1.0 + VS2013

  • Simple-Example

In this example, we show some simple images of some rings which are Scattered. In the algorithm, we find the contours, and then use the AND, OR relationship to extract the inner ring image.

  • Complex-Example

In this example, we show some complex images of some rings which are Intensive. If we still use a simple method to process the image, some gap images will be extracted as inner loops.Then we improved the method, we use the distance transform and watershed algorithm to elimate this error.

More Details

More algorithm details please visitmyBlog

About

提取内环图像


Languages

Language:C++ 100.0%