This method automatically detects and removes the horizontal and vertical lines on the 1-bit scanned
image such as frames and tables. The method takes a 1-bit image page and the set of advanced
parameters specifying the orientation of lines to detect and its parameters.