Driving simulation apparatus, wide-angle camera video simulation apparatus, and image deforming/compositing apparatus
First Claim
1. A driving simulation apparatus comprising:
- a processor; and
a memory which stores a plurality of instructions, which when executed by the processor, cause the processor to execute;
an input instruction that receives an input of an operation instruction with respect to a vehicle in a virtual environment;
a vehicle simulation instruction that calculates a position and an orientation of the vehicle in the virtual environment in real-time in accordance with the input of the operation instruction;
a camera state calculation instruction that obtains a viewpoint position and a viewing direction of a on-vehicle wide-angle camera based on the position and the orientation of the vehicle; and
a wide-angle camera simulation instruction including;
an intermediate image rendering instruction that generates a plurality of intermediate images by, for a plurality of intermediate projection planes that cover a given field of view from the on-vehicle wide-angle camera, performing perspective projection on the virtual environment from both the viewpoint position and the viewing direction of the on-vehicle wide-angle camera that are calculated by the camera state calculation unit; and
a video rendering instruction that generates a on-vehicle wide-angle camera video by deforming and compositing the plurality of intermediate images,wherein the intermediate image rendering instruction generates the plurality of intermediate images by performing perspective projection on the virtual environment from the viewpoint position and the viewing direction of the on-vehicle wide-angle camera, with use of, as the plurality of intermediate projection planes, at least two planes among six planes of a cube in which the viewpoint of the on-vehicle camera is included,the driving simulation apparatus further comprises a direction vector attachment instruction that, for each node of a two-dimensional mesh arranged on a screen of the on-vehicle wide-angle camera video to be generated, calculates a direction vector that associates the node and a position on an intermediate projection plane from among the plurality of intermediate projection planes, based on the parameter obtained based on a relationship between a direction of an incident light that incidents the lens of the on-vehicle wide-angle camera and a two-dimensional position of an image that is formed by the incident light which transmits through the lens on a capturing plane of the on-vehicle wide-angle camera,wherein the video rendering instruction generates the on-vehicle wide-angle camera video by mapping textures of the plurality of intermediate images to the two-dimensional mesh with use of the direction vectors.
1 Assignment
0 Petitions
Accused Products
Abstract
A driving simulation apparatus includes an input unit that receives an input of an operation instruction, a vehicle simulation unit that calculates a position and an orientation of a vehicle in a virtual environment in real-time, a camera state calculation unit that calculates a viewpoint position and a viewing direction of a on-vehicle wide-angle camera based on the position and the orientation of the vehicle, and a wide-angle camera simulation unit. The wide-angle camera simulation unit includes an intermediate image rendering unit that generates multiple intermediate images by, for multiple intermediate projection planes that cover a given field of view from the on-vehicle wide-angle camera, performing perspective projection on the virtual environment from the viewpoint position and the viewing direction of the on-vehicle wide-angle camera, and a video rendering unit that generates a on-vehicle wide-angle camera video by deforming and compositing the intermediate images based on a parameter generated based on a lens characteristic of the on-vehicle wide-angle camera that has been recorded in advance.
12 Citations
8 Claims
-
1. A driving simulation apparatus comprising:
-
a processor; and a memory which stores a plurality of instructions, which when executed by the processor, cause the processor to execute; an input instruction that receives an input of an operation instruction with respect to a vehicle in a virtual environment; a vehicle simulation instruction that calculates a position and an orientation of the vehicle in the virtual environment in real-time in accordance with the input of the operation instruction; a camera state calculation instruction that obtains a viewpoint position and a viewing direction of a on-vehicle wide-angle camera based on the position and the orientation of the vehicle; and a wide-angle camera simulation instruction including; an intermediate image rendering instruction that generates a plurality of intermediate images by, for a plurality of intermediate projection planes that cover a given field of view from the on-vehicle wide-angle camera, performing perspective projection on the virtual environment from both the viewpoint position and the viewing direction of the on-vehicle wide-angle camera that are calculated by the camera state calculation unit; and a video rendering instruction that generates a on-vehicle wide-angle camera video by deforming and compositing the plurality of intermediate images, wherein the intermediate image rendering instruction generates the plurality of intermediate images by performing perspective projection on the virtual environment from the viewpoint position and the viewing direction of the on-vehicle wide-angle camera, with use of, as the plurality of intermediate projection planes, at least two planes among six planes of a cube in which the viewpoint of the on-vehicle camera is included, the driving simulation apparatus further comprises a direction vector attachment instruction that, for each node of a two-dimensional mesh arranged on a screen of the on-vehicle wide-angle camera video to be generated, calculates a direction vector that associates the node and a position on an intermediate projection plane from among the plurality of intermediate projection planes, based on the parameter obtained based on a relationship between a direction of an incident light that incidents the lens of the on-vehicle wide-angle camera and a two-dimensional position of an image that is formed by the incident light which transmits through the lens on a capturing plane of the on-vehicle wide-angle camera, wherein the video rendering instruction generates the on-vehicle wide-angle camera video by mapping textures of the plurality of intermediate images to the two-dimensional mesh with use of the direction vectors. - View Dependent Claims (2, 3)
-
-
4. A driving simulation apparatus comprising:
-
a processor; and a memory which stores a plurality of instructions, which when executed by the processor, cause the processor to execute; an input instruction that receives an input of an operation instruction with respect to a vehicle in a virtual environment; a vehicle simulation instruction that calculates a position and an orientation of the vehicle in the virtual environment in real-time in accordance with the input of the operation instruction; a camera state calculation instruction that obtains a viewpoint position and a viewing direction of a on-vehicle wide-angle camera based on the position and the orientation of the vehicle; and a wide-angle camera simulation instruction including; an intermediate image rendering instruction that generates a plurality of intermediate images by, for a plurality of intermediate projection planes that cover a given field of view from the on-vehicle wide-angle camera, performing perspective projection on the virtual environment from both the viewpoint position and the viewing direction of the on-vehicle wide-angle camera that are calculated by the camera state calculation unit; and a video rendering instruction that generates a on-vehicle wide-angle camera video by deforming and compositing the plurality of intermediate images, wherein the intermediate image rendering unit generates the plurality of intermediate images by performing perspective projection on the virtual environment from the viewpoint position and the viewing direction of the on-vehicle wide-angle camera, with use of, as the plurality of intermediate projection planes, at least two planes among six planes of a cuboid in which the viewpoint of the on-vehicle camera is included, the driving simulation apparatus further comprises a direction vector attachment instruction that, for each node of a two-dimensional mesh arranged on a screen of the on-vehicle wide-angle camera video, calculates a direction vector that associates the node and a position on an intermediate projection plane from among the plurality of intermediate projection planes, based on the parameter obtained based on a relationship between a direction of an incident light that incidents the lens of the on-vehicle wide-angle camera and a two-dimensional position of an image that is formed by the incident light which transmits through the lens on a capturing plane of the on-vehicle wide-angle camera, and a vector conversion instruction that, based on a positional relationship between the cuboid and the viewpoint of the on-vehicle wide-angle camera, converts the direction vectors calculated by the direction vector attachment unit into vectors that, for each node of the two-dimensional mesh, associate the node and a position on a plane of a post-deformation cube obtained when the cuboid is deformed into a cube whose center is the camera viewpoint, wherein the video rendering instruction generates the on-vehicle wide-angle camera video by mapping textures of the plurality of intermediate images to the two-dimensional mesh with use of the direction vectors. - View Dependent Claims (5, 6)
-
-
7. A driving simulation method, comprising:
-
a method performed by a processor and a memory which stores a plurality of instructions, which when performed by the processor, cause the processor to perform; an input instruction that receives an input of an operation instruction with respect to a vehicle in a virtual environment; a vehicle simulation instruction that calculates a position and an orientation of the vehicle in the virtual environment in real-time in accordance with the input of the operation instruction; a camera state calculation instruction that obtains a viewpoint position and a viewing direction of a on-vehicle wide-angle camera based on the position and the orientation of the vehicle; and a wide-angle camera simulation instruction including; an intermediate image rendering instruction that generates a plurality of intermediate images by, for a plurality of intermediate projection planes that cover a given field of view from the on-vehicle wide-angle camera, performing perspective projection on the virtual environment from both the viewpoint position and the viewing direction of the on-vehicle wide-angle camera that are calculated by the camera state calculation unit; and a video rendering instruction that generates a on-vehicle wide-angle camera video by deforming and compositing the plurality of intermediate images, wherein the intermediate image rendering instruction generates the plurality of intermediate images by performing perspective projection on the virtual environment from the viewpoint position and the viewing direction of the on-vehicle wide-angle camera, with use of, as the plurality of intermediate projection planes, at least two planes among six planes of a cube in which the viewpoint of the on-vehicle camera is included, the driving simulation apparatus further comprises a direction vector attachment instruction that, for each node of a two-dimensional mesh arranged on a screen of the on-vehicle wide-angle camera video to be generated, calculates a direction vector that associates the node and a position on an intermediate projection plane from among the plurality of intermediate projection planes, based on the parameter obtained based on a relationship between a direction of an incident light that incidents the lens of the on-vehicle wide-angle camera and a two-dimensional position of an image that is formed by the incident light which transmits through the lens on a capturing plane of the on-vehicle wide-angle camera, wherein the video rendering instruction generates the on-vehicle wide-angle camera video by mapping textures of the plurality of intermediate images to the two-dimensional mesh with use of the direction vectors.
-
-
8. A non-transitory computer readable storage storing a driving simulation method, the a method performed by a processor and a memory which stores a plurality of instructions, which when performed by the processor, cause the processor to perform;
-
an input instruction that receives an input of an operation instruction with respect to a vehicle in a virtual environment; a vehicle simulation instruction that calculates a position and an orientation of the vehicle in the virtual environment in real-time in accordance with the input of the operation instruction; a camera state calculation instruction that obtains a viewpoint position and a viewing direction of a on-vehicle wide-angle camera based on the position and the orientation of the vehicle; and a wide-angle camera simulation instruction including; an intermediate image rendering instruction that generates a plurality of intermediate images by, for a plurality of intermediate projection planes that cover a given field of view from the on-vehicle wide-angle camera, performing perspective projection on the virtual environment from both the viewpoint position and the viewing direction of the on-vehicle wide-angle camera that are calculated by the camera state calculation unit; and a video rendering instruction that generates a on-vehicle wide-angle camera video by deforming and compositing the plurality of intermediate images, wherein the intermediate image rendering instruction generates the plurality of intermediate images by performing perspective projection on the virtual environment from the viewpoint position and the viewing direction of the on-vehicle wide-angle camera, with use of, as the plurality of intermediate projection planes, at least two planes among six planes of a cube in which the viewpoint of the on-vehicle camera is included, the driving simulation apparatus further comprises a direction vector attachment instruction that, for each node of a two-dimensional mesh arranged on a screen of the on-vehicle wide-angle camera video to be generated, calculates a direction vector that associates the node and a position on an intermediate projection plane from among the plurality of intermediate projection planes, based on the parameter obtained based on a relationship between a direction of an incident light that incidents the lens of the on-vehicle wide-angle camera and a two-dimensional position of an image that is formed by the incident light which transmits through the lens on a capturing plane of the on-vehicle wide-angle camera, wherein the video rendering instruction generates the on-vehicle wide-angle camera video by mapping textures of the plurality of intermediate images to the two-dimensional mesh with use of the direction vectors.
-
Specification