OpenCV - Removal of noise in image

后端 未结 9 1620
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-04 01:01

I have an image here with a table.. In the column on the right the background is filled with noise

How to detect the areas with noise? I only want to apply some kind of

9条回答
  •  梦如初夏
    2021-02-04 01:18

    As I know the median filter is the best solution to reduce noise. I would recommend to use median filter with 3x3 window. See function cv::medianBlur().

    But be careful when use any noise filtration simultaneously with OCR. Its can lead to decreasing of recognition accuracy.

    Also I would recommend to try using pair of functions (cv::erode() and cv::dilate()). But I'm not shure that it will best solution then cv::medianBlur() with window 3x3.

提交回复
热议问题