Thursday, April 19, 2012

Niblack algorithm for Document binarization

i've this photo :



enter image description here



and i'm trying to make Document binarization using niblack algorithm
i've implemented the simple Niblack algorithm



T = mean + K* standardDiviation



and that was it's result:



enter image description here



the problem is there's some parts of the image in which the window doesn't contain any objects so it detects the noise as objects and elaborates them .



i tried to apply blurring filter then global thresholding
that was the result :



enter image description here



which wont be solved by any other filter
i guess the only solution is preventing the algorithm from detecting global noise if the window i free from object



i'm interested to do this using niblack algorithm not using other algorithm so any suggestions ?





No comments:

Post a Comment