A projection set of geodesic lines which are parallel with each other on a
curved surface of a paper face is extracted from an image in which a
paper face has been imaged by an image-pickup device, using the paper
face contents as a clue; and also a projection set of ruling lines which
form a ruled surface corresponding to the curved surface of the paper
face is extracted from the projection set of geodesic lines. Then, the
curved surface of the paper face is estimated from the projection set of
the geodesic lines and ruling lines, and distortion of the image is
corrected based on this curved surface of the paper face. If this is
done, correspondence with various types of diverse distortions becomes
possible, and distortion correction can be performed even when only one
part of the paper face appears in the image.