主权项 |
1. A method, comprising:
determining, with an image reader, congruent lines of activity in a digital image; rotating, with the image reader, the digital image based on the determined congruent lines of activity; searching, with the image reader, the rotated digital image for nominally straight edges; characterizing, with the image reader, the nominally straight edges in terms of length and/or direction; establishing, with the image reader, a first group of edges as a function of their proximity to the digital image's center; establishing, with the image reader, a second group of edges as a function of their proximity to other remaining edges; and transmuting, with the image reader, a rectangle bounding the first group of edges and the second group of edges into a rectified image; wherein the rectified image is an image that is cropped by discarding portions of the rotated digital image outside of the rectangle. |