1. A computerized method for processing a captured image that comprises an imaged document, said computerized method comprising: isolating the imaged document from background of the captured image based on one or more lines corresponding to edges of the imaged document; setting a curved coordinate net for the imaged document; stretching the curved coordinate net to a rectangular coordinate net; calculating the deviation between the curved coordinate net and the rectangular coordinate net; and resampling pixels of the imaged document based on the calculated deviations.