Unlike the original description of this algorithm, this implementation must be applied
to inverted binary images containing document, i.e. white text on black background. So this
implementation fills vertical black gaps between white pixels.