主权项 |
1. An image processing apparatus for generating a panoramic image used for stereo viewing, the apparatus comprising:
an image acquiring unit configured to acquire a first image for left eye which is viewed from a first left-eye viewpoint, a first image for right eye which is viewed from a first right-eye viewpoint separated from the first left-eye viewpoint by a predetermined distance, a second image for left eye which is viewed from a second left-eye viewpoint different from the first left-eye viewpoint and has a first overlapping area which is an image area overlapping with the first image for left eye, and a second image for right eye which is viewed from a second right-eye viewpoint separated from the second left-eye viewpoint by the predetermined distance and has a second overlapping area which is an image area overlapping with the second image for right eye; a positioning unit configured to perform positioning of the first image for left eye and the second image for left eye to be overlapped with the first overlapping area, and positioning of the first image for right eye and the second image for right eye to be overlapped with the second overlapping area; a decision unit configured to decide a first position which is a position of a seam at which the first image for left eye and the second image for left eye which are positioned by the positioning unit are combined, and a second position which is a position of a seam at which the first image for right eye and the second image for right eye which are positioned by the positioning unit are combined; and a generation unit configured to synthesize the first image for left eye and the second image for left eye by using the first position to thereby generate a panoramic image for left eye and synthesize the first image for right eye and the second image for right eye by using the second position to thereby generate a panoramic image for right eye, wherein the decision unit decides a first seam position of the first position and the second position, and then decides a second seam position based on the first seam position and a disparity amount of an object at the first seam position. |