Font and Background Color Independent Text Binarization
This is the MATLAB code of the binarization method described in the paper entitled "Font and background color independent text binarization" published at the 2nd International Workshop on Camera-Based Document Analysis and Recognition (CBDAR), pages 3-9, 2007, Brazil. The full paper is available here
Besides being parameter-free, the method can handle documents having widely varying text sizes and the presence of inverse text, unlike other existing local binarization methods.
1) The input for the code is a color image 2) It returns a binarized image
Downloading the code
This code is released under Apache Licence 2.0, which allows you to use it for research and/or commercial purposes, with due acknowledgment. By downloading and using this code, you agree to acknowledge the source and cite the above paper in related publications as follows:
Thotreingam Kasar, Jayant Kumar and A.G.Ramakrishnan, “Font and Background Color Independent Text Binarization”, Proc. II International Workshop on Camera-Based Document Analysis and Recognition (CBDAR 2007), Curitiba, Brazil, September 22, 2007, pp. 3-9. (Download) (Tex Reference)