1. A method for correcting distortions in a scanned image of a page, the method comprising: detecting one or more areas of distortion in the scanned image of the page; identifying at least one set of collinear elements outside of the one or more areas of distortion in each of a plurality of lines in the scanned image; from the collinear elements, identifying collinear elements that are words; identifying a baseline position for each word; from the baseline positions of the collinear words, identifying a common curvilinear baseline for each of the plurality of lines; identifying a generally vertical line, wherein the generally vertical line is perpendicular to a maximum number of the common curvilinear baselines and closest to a binding edge in the scanned image of the page; selecting a starting point in the scanned image, wherein the starting point is located at a midpoint of the generally vertical line; and generating, at least partially in a memory of a computer device, a corrected image based on the scanned image, by performing steps including: forming a rectilinear horizontal guideline, one for each of the common curvilinear baselines, in the corrected image; identifying a starting point in the corrected image at a same horizontal location as that of the starting point in the scanned image; and moving left and right from the respective starting points, copying black dots and white dots from the scanned image of the page to the corrected image, wherein the copying of each dot is placed in a same location on or near a rectilinear horizontal guideline as that of the respective curvilinear baseline for each of the plurality of lines.