Computer-readable storage medium, image display apparatus, image display system, and image display method
First Claim
1. A non-transitory computer-readable storage medium having stored therein an image display program which stereoscopically displays a real world image, onto which a 3-dimensional virtual object is superimposed, on a screen of a stereoscopic display apparatus capable of providing a stereoscopic view, the image display program comprising instructions that cause a computer to:
- obtain a first real world image shot by a left eye real camera;
obtain a second real world image shot by a right eye real camera;
calculate a relative position relationship between the left eye real camera and the right eye real camera, the relative position relationship calculated based on a manner in which a predetermined shooting target is visible on the first real world image and a manner in which the predetermined shooting target is visible on the second real world image;
determine the position of a left virtual camera for generating an image for a left eye, and the position of a right virtual camera for generating an image for a right eye, in a predetermined virtual space, so as to be separated from each other in accordance with the calculated relative position relationship;
generate a first virtual space image indicating the predetermined virtual space as it is looked at from the left virtual camera;
generate a second virtual space image indicating the predetermined virtual space as it is looked at from the right virtual camera;
superimpose the first virtual space image onto the first real world image to generate a first superimposed image;
superimpose the second virtual space image onto the second real world image to generate a second superimposed image; and
output the first and second superimposed images for a stereoscopic view to the stereoscopic display apparatus.
1 Assignment
0 Petitions
Accused Products
Abstract
First, the interval between a left virtual camera and a right virtual camera is determined based on the relative position and the relative orientation of an outer imaging section (left) with respect to a marker, which are calculated from a result of marker recognition in the left real world image, and on the relative position and the relative orientation of an outer imaging section (right) with respect to the marker, which are calculated from a result of marker recognition in the right real world image. After the interval between the left virtual camera and the right virtual camera is determined, the positions and the orientations of the left virtual camera and the right virtual camera are determined based on the determined interval such that the relationship between the position and the orientation of the left virtual camera, and the position and the orientation of the right virtual camera is ideal.
75 Citations
18 Claims
-
1. A non-transitory computer-readable storage medium having stored therein an image display program which stereoscopically displays a real world image, onto which a 3-dimensional virtual object is superimposed, on a screen of a stereoscopic display apparatus capable of providing a stereoscopic view, the image display program comprising instructions that cause a computer to:
-
obtain a first real world image shot by a left eye real camera; obtain a second real world image shot by a right eye real camera; calculate a relative position relationship between the left eye real camera and the right eye real camera, the relative position relationship calculated based on a manner in which a predetermined shooting target is visible on the first real world image and a manner in which the predetermined shooting target is visible on the second real world image; determine the position of a left virtual camera for generating an image for a left eye, and the position of a right virtual camera for generating an image for a right eye, in a predetermined virtual space, so as to be separated from each other in accordance with the calculated relative position relationship; generate a first virtual space image indicating the predetermined virtual space as it is looked at from the left virtual camera; generate a second virtual space image indicating the predetermined virtual space as it is looked at from the right virtual camera; superimpose the first virtual space image onto the first real world image to generate a first superimposed image; superimpose the second virtual space image onto the second real world image to generate a second superimposed image; and output the first and second superimposed images for a stereoscopic view to the stereoscopic display apparatus. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. An image display apparatus configured to stereoscopically display images to a stereoscopic display, the image display apparatus comprising:
a processing system including at least one processor that is coupled to a memory, the processing system configured to; obtain a first real world image of a shooting target by using a left real camera; obtain a second real world image of the shooting target by using a right real camera, the second real world image different from the first real world image; calculate a relative position relationship between the left real camera and the right real camera based on a manner in which the shooting target is included in the first and second real world images; set a first virtual camera in a virtual space at a first position; set a second virtual camera in the virtual space at a second position, where at least one of the first and second positions is set using the calculated relative position relationship; generate a first virtual image of the virtual space as viewed from the first virtual camera; generate a second virtual image of the virtual space as viewed from the second virtual camera; superimpose the first virtual image onto the first real world image; superimpose the second virtual image onto the second real world image; and output the superimposed images for stereoscopic view to the stereoscopic display. - View Dependent Claims (18)
-
16. An image display system comprising:
-
a stereoscopic display that is configured to display stereoscopic images; a shooting target located in real space; a left camera configured to obtain a first image of the shooting target; a right camera configured to obtain a second image of the shooting target; and a processing system that includes at least one processor coupled to a memory, the processing system configured to; calculate a relative position relationship between the left camera and the right camera based on a manner in which the shooting target is visible on the first image and a manner in which the shooting target is visible on the second image; determine a position of a left virtual camera and a position of a right virtual camera in a virtual space so as to be separated from each other in accordance with the calculated relative position relationship; generate a first virtual space image of the virtual space as viewed from the positioned left virtual camera; generate a second virtual space image of the virtual space as viewed from the positioned right virtual camera; superimpose the first virtual space image onto the first image, and superimpose the second virtual space image onto the second image; and output the superimposed images for a stereoscopic view on the stereoscopic display apparatus.
-
-
17. An image display method for stereoscopically displaying, on a screen of a stereoscopic display apparatus capable of providing a stereoscopic view, a real world image onto which an image of a 3-dimensional virtual object is superimposed the image display method comprising:
-
obtaining a first real world image shot by a left real camera; obtaining a second real world image shot by a right real camera; calculating, using at least one processor, a relative position relationship between the left real camera and the right real camera based on visibility of a predetermined shooting in the first real world image and the second real world image; determining a position of a left virtual camera and a position of a right virtual camera in a virtual space, so as to be separated from each other in accordance with the calculated relative position relationship; generating a first virtual space image of the virtual space as viewed from the determined position of the left virtual camera; generating a second virtual space image of the virtual space as viewed from the determine position of the right virtual camera; and superimposing the first virtual space image onto the first real world image, and superimposing the second virtual space image onto the second real world image, to output images for a stereoscopic view to the stereoscopic display apparatus.
-
Specification