1. A method, comprising: filtering a scanned image to obtain a transformed image, wherein the transformed image comprises a series of substantially parallel lines of alternating binary pixel values; and determining an orientation angle of the scanned image using properties of the transformed image.