Noise Removal in Opencv

kcire arraveug picture kcire arraveug · Dec 28, 2011 · Viewed 9.4k times · Source

I'm currently working in a project where noise removal in document image is required. But i cant create any useful code to start my project. thanks.

According to what I've studied, noise (specifically salt/pepper noise) that produce in faulty scanner can be removed by k-Fill algorithm, but i can't understand that theory.

I'm using OpenCV in C++ , and Codeblocks IDE. I'm new in the world of image processing. Source code or any related link/s are appreciated.

Answer

rics picture rics · Dec 28, 2011

If you do not understand k-fill try to use a simpler approach first.

Here is an article of alternative noise reduction algorithms with their performances.

I would suggest you to take a try with opening. The OpenCV documentation has a short explanation on built-in morphological operations. You can make experiments with the example code as well.