Mat PreProcessMat(Mat source)
 {
     return(graphicsTools.ToGrayBinary(source, 150));
 }