Statistics for Comparison of the Gaussian Window and “Water Flow” Algorithms for Printed and Handwritten Text Parameters Extraction