Statistics for Statistics Oriented Preprocessing of Document Image