A fast thinning algorithm

前端 未结 4 796
一生所求
一生所求 2020-12-01 06:50

I\'m looking for a fast thinning algorithm that can be readily implemented using OpenCV. The mention of the library is because there are certain things that can be done in a

4条回答
  •  执笔经年
    2020-12-01 07:30

    for the sake of completeness, I'm posting here a set of thinning algorithms implemented using OpenCV and C/C++ that I found out on the net while answering this question. These have adequately answered this question for my needs. Putting them here in case others have similar requirements.

    1. OpenCV code for thinning (Guo and Hall algo, works with CvMat inputs)
    2. The JR Parker implementation using OpenCV
    3. Possibly more efficient code here (uses OpenCV optimized access methods a lot, however most of the page is in Japanese!)

提交回复
热议问题