Statistics for Optimization of the Gaussian Kernel Extended by Binary Morphology for Text Line Segmentation