Adaptive binarization of image with using simple window of averaging.  Highly is not optimal.