Threshold of blurry image - part 2

前端 未结 6 1715
死守一世寂寞
死守一世寂寞 2021-02-03 11:40

How can I threshold this blurry image to make the digits as clear as possible?

In a previous post, I tried adaptively thresholding a blurry image (left)

6条回答
  •  别那么骄傲
    2021-02-03 11:53

    I've tried thresholding each 3x3 box separately, using Otsu's algorithm (CV_OTSU - thanks remi!) to determine an optimal threshold value for each box. This works a bit better than thresholding the entire image, and is probably a bit more robust.

    enter image description here

    Better solutions are welcome, though.

提交回复
热议问题