An original image area IMR is divided into divided image areas DR1 to DR4,
texture coordinates specified by division point coordinates are obtained,
and images of the divided image areas DR1 to DR4 are mapped onto polygons
PL1 to PL4, based on the obtained texture coordinates. The original image
area IMR is divided in such a manner that division spacing in a direction
DIR1 towards a vanishing point VP1 from the original image becomes
narrower as the divided image areas are closer to the vanishing point VP1
and texture coordinates are obtained, to implement correction processing
for removing perspective of the original image. Correction processing is
performed to remove perspective of images at a base surface of images IL1
and IR1 for the left eye and the right eye, the images IL2 and IR2 for
the left eye and the right eye are generated, and a stereoscopic image is
generated by synthesizing (by anaglyph processing) IL2 and IR2.