The present invention relates to a technique for chroma-key composition of a subject image in which a subject is imaged and a background image.
Head-mounted displays (HMDs) each provide an image for an entire visual field of a user and enhance a sense of immersion of the user into world of image. The sense of immersion into the world of image can be further enhanced by provision for the HMD of a head tracking function in which images of a three-dimensional space are provided in conjunction with a posture, a position, or the like of a head part of the user.
In the past, a technique for chroma-key composition of a subject image in which a subject is imaged and a background image has existed. The inventor has sought possibility of the chroma-key composition technique and has come to realize possibility that new experience can be provided for users through adjustment of an orientation of the subject image.
The present invention mainly aims at providing a technique for performing the chroma-key composition with the adjustment of the orientation of the subject image.
In order to solve an above problem, an information processing device according to a mode of the present invention includes an image acquisition unit that acquires a subject image in which a subject is positioned in front of a background with a single color, and a display control unit that generates a display image according to a viewpoint position of a user by performing chroma-key composition such that the subject included in the subject image becomes a foreground image with respect to a background image. The display control unit determines an orientation of the subject such that the subject is made to face the viewpoint position of the user, in a case where the viewpoint position has been changed.
Another mode of the invention is an image generation method. The method includes the steps of acquiring a subject image in which a subject is positioned in front of a background with a single color, generating a display image according to a viewpoint position of a user by performing chroma-key composition such that the subject included in the subject image becomes a foreground image with respect to a background image, and generating a display image by moving an orientation of the subject such that the subject is made to face the viewpoint position of the user, in a case where the viewpoint position of the user has been changed.
Still another mode of the invention is an information processing device. The device includes a three-dimensional data acquisition unit that acquires a three-dimensional space model produced from shot images of a space, an image acquisition unit that acquires a subject image in which a subject moves in front of a background with a single color, a subject layer image generation unit that projects the subject image onto a virtual screen moving in conformity with a movement of the subject included in the subject image and that extracts a subject portion through application of a chroma-key process, and a display processing unit that generates a display image according to a viewpoint position of a user with a subject layer image placed in the three-dimensional space model.
Still another mode of the invention is an image generation method. The method includes the steps of acquiring a three-dimensional space model produced from shot images of a space, acquiring a subject image in which a subject moves in front of a background with a single color, projecting the subject image onto a virtual screen moving in conformity with a movement of the subject included in the subject image, extracting a subject portion through application of a chroma-key process to the virtual screen on which the subject image is projected, and generating a display image according to a viewpoint position of a user with the subject placed in the three-dimensional space model.
In addition, any combination of above components and expression of the present invention converted among a method, a device, a system, a computer program, a recording medium in which a computer program is readably recorded, a data structure, and the like are also effective as modes of the present invention.
According to the present invention, a technique for performing the chroma-key composition with adjustment of the orientation of the subject image can be provided.
The information processing device 10 is connected to a distribution server 18 via the network 2. The distribution server 18 is a streaming distribution device that relays live images being shot in a video studio or the like. In embodiment 1, a subject is a reporter having a microphone and reading news aloud toward an imaging device 19. The imaging device 19 images the reporter who is standing in front of a color screen 5 having a single color and who is facing the imaging device 19. Though the color screen 5 may be a screen with the single color such as blue or green, the single color may be another color. Images shot by the imaging device 19 each undergo chroma-key composition with a background image through application of a chroma-key process in the information processing device 10.
The HMD 100, worn on a head part of the user, provides world of image for the user. In embodiment 1, the HMD 100 provides the user with composite images resulting from the chroma-key composition with the subject images provided from the distribution server 18. By provision for the HMD 100 of a head tracking function in which the chroma-key composite images are updated in conjunction with a movement of the head part of the user, the user is made capable of looking at the images from a favorite eye direction or a favorite viewpoint position.
The information processing device 10 includes a processing device 11, an output control device 12, and a storage device 13. The processing device 11 is a terminal device that performs the chroma-key composition of the subject images distributed from the distribution server 18 and the background images and that provides the chroma-key composite images for the HMD 100. The processing device 11 and the input device 16 may be connected with use of a cable or with use of a known wireless communication protocol. The processing device 11 of embodiment 1 has functions of receiving positional information and posture information regarding the HMD 100 as manipulation information from the user for changing an eye gaze position and the eye direction and of updating the images to be displayed in the HMD 100. The output control device 12 is a processing unit that outputs image data generated in the processing device 11 to the HMD 100 and the output control device 12 and the HMD 100 may be connected with use of a cable or with use of a known wireless communication protocol.
The imaging device 14 is a stereo camera, images the user wearing the HMD 100 at specified intervals, and supplies shot images to the processing device 11. As will be described later, the HMD 100 is provided with markers (light-emitting diodes (LEDs) for tracking) for tracking the head part of the user and the processing device 11 detects a movement of the HMD 100 based on positions of the markers included in the shot images. The HMD 100 is equipped with posture sensors (acceleration sensor and gyro sensor) and the processing device 11 carries out an accurate tracking process through acquisition of sensor data detected by the posture sensors from the HMD 100 in combination with utilization of the shot images of the markers. As for the tracking process, various schemes have been conventionally proposed and any tracking scheme may be adopted as long as the processing device 11 is capable of detecting the movement of the HMD 100.
Though the output device 15 is not necessarily required for the user wearing the HMD 100 because the user looks at the images through the HMD 100, preparation of the output device 15 enables another user to look at display images on the output device 15. The output control device 12 or the processing device 11 may cause the output device 15 to display the same images that the user wearing the HMD 100 looks at.
The HMD 100 is a display device that is worn on the head part of the user and that thereby displays images on display panels positioned in front of eyes of the user. The HMD 100 separately displays images for the left eye on the display panel for the left eye and images for the right eye on the display panel for the right eye. The images configure parallax images as seen from left and right viewpoints so as to attain stereoscopic vision. In addition, the user looks at the display panels through optical lenses and thus the information processing device 10 supplies the HMD 100 with parallax image data compensated for optical distortion caused by the lenses. This compensation process for the optical distortion may be carried out by either of the processing device 11 and the output control device 12.
Functions of the output control device 12 may be integrated into the processing device 11. Processing units of the information processing device 10 may include the one processing device 11 or may include the processing device 11 and the output control device 12. Hereinbelow, functions of providing the images for the HMD 100 will be collectively described as functions of the information processing device 10.
The information processing device 10 detects position coordinates and the posture of the head part of the user (in particular, of the HMD 100) by carrying out the head tracking process for the user. Herein, the position coordinates of the HMD 100 are the position coordinates in a three-dimensional space having an origin on a reference position and the reference position may have the position coordinates (latitude and longitude) at time when the HMD 100 is powered on. Besides, the posture of the HMD 100 refers to tilts in three axial directions relative to a reference posture in the three-dimensional space. The reference posture is a posture that makes the eye direction of the user a horizontal direction and may be set up when the HMD 100 is powered on.
The information processing device 10 is capable of detecting the position coordinates and the posture of the HMD 100 from only sensor data detected by the posture sensors of the HMD 100 and is further capable of accurately detecting the position coordinates and the posture of the HMD 100 by image analysis for the markers (LEDs for tracking) of the HMD 100 imaged by the imaging device 14.
The output mechanism unit 102 includes a housing 108 with a shape that covers the left and right eyes in a state in which the user wears the HMD 100 and inside includes the display panels that face the eyes when being worn. The display panels may be liquid crystal panels, organic electroluminescence (EL) panels, or the like. Inside the housing 108, furthermore, the pair of left and right optical lenses that is positioned between the display panels and the eyes of the user and that magnifies a view angle of the user is provided. The HMD 100 may further include speakers, earphones, or the like at positions corresponding to ears of the user and may be configured so that external headphones may be connected to the HMD 100.
Light-emitting markers 110a, 110b, 110c, and 110d are provided on outer surfaces of the housing 108. Though the LEDs for tracking configure the light-emitting markers 110 in the example, other types of markers may be used and it is sufficient anyway if image analysis of positions of the markers may be carried out by the information processing device 10 through imaging by the imaging device 14. A number, an arrangement, and the like of the light-emitting markers 110 are not particularly limited but are required to enable detection of the posture, the position, and the like of the HMD 100 and the light-emitting markers 110 are provided at four corners on a front face of the housing 108 in the illustrated example. Additionally, the light-emitting markers 110 may be provided on side parts, a rear part, or the like of the wearing band 106 such that the imaging may be carried out when the user turns her/his back toward the imaging device 14.
The HMD 100 may be connected to the information processing device 10 with use of a cable or with use of a known wireless communication protocol. The HMD 100 transmits the sensor data detected by the posture sensors to the information processing device 10, meanwhile receives the image data outputted from the information processing device 10, and displays the image data on the display panel for the left eye and the display panel for the right eye.
A communication control unit 128 transmits the data, outputted from the control unit 120, to the external information processing device 10 by wired or wireless communication through a network adapter or an antenna. In addition, the communication control unit 128 receives data from the information processing device 10 by wired or wireless communication through a network adapter or an antenna and outputs the data to the control unit 120.
Upon reception of the image data, the audio data, or the like from the information processing device 10, the control unit 120 supplies the data to display panels 130 so as to make display on the display panels 130 or supplies the data to an audio output unit 132 so as to cause audio output from the audio output unit 132. The display panels 130 include the display panel 130a for the left eye and the display panel 130b for the right eye and a pair of parallax images is displayed on each display panel. The control unit 120 causes the sensor data from the posture sensors 124, the audio data from a microphone 126, or the like to be transmitted from the communication control unit 128 to the information processing device 10.
Each of elements illustrated as the functional blocks that carry out various processes in
The sensor data reception unit 20 receives the sensor data at specified intervals from the posture sensors 124 in the HMD 100 worn by the user and supplies the sensor data to the HMD information acquisition unit 30. The camera image reception unit 22 receives the images in which the HMD 100 is imaged from the imaging device 14 at specified intervals and supplies the images to the HMD information acquisition unit 30. For instance, the imaging device 14 images a space in front at intervals of ( 1/60) seconds and the camera image reception unit 22 receives the camera images at intervals of ( 1/60) seconds. In embodiment 1, the HMD information acquisition unit 30 derives the posture information indicating the posture of the HMD 100 worn on the head part of the user and the positional information indicating the position of the HMD 100 from the sensor data and the shot images. The HMD information acquisition unit 30 supplies the posture information and the positional information that have been derived, to the eye gaze information determination unit 32.
The HMD information acquisition unit 30 detects changes of the posture and the position of the HMD 100 from the sensor data from the posture sensors 124. Then the HMD information acquisition unit 30 may identify the change of the posture of the HMD 100 from the sensor data from the triaxial gyro sensor and may identify the change of the position from the sensor data from the triaxial acceleration sensor. In the HMD information acquisition unit 30, it is desirable to improve detection accuracy for the change of the posture and the change of the position with further utilization of a result of the imaging of the light-emitting markers 110 for the tracking. The eye gaze information determination unit 32 determines the eye direction and the viewpoint position of the user in accordance with the posture information and the positional information regarding the HMD 100. The eye gaze information determination unit 32 provides the eye direction and the viewpoint position that have been determined, for the display control unit 50.
The input data reception unit 24 receives key data, inputted by the user, from the input device 16 and supplies the key data to the reception unit 34. The reception unit 34 receives a user manipulation inputted into the input device 16.
The information processing device 10 of embodiment 1 has functions of acquiring an image in which the subject is positioned in front of a background with a single color, from the distribution server 18, performing the chroma-key composition such that the subject included in the subject image may become a foreground image with respect to the background image, and providing a resultant image for the HMD 100. The image composition function is implemented by a chroma-key composition application installed in the information processing device 10. The user is enabled to utilize the chroma-key composition application, by downloading the chroma-key composition application from a content server into the information processing device 10 in advance.
When the user activates the chroma-key composition application, the image acquisition unit 40 transmits a distribution request for the subject image, to the distribution server 18. The distribution server 18 receives the distribution request from the information processing device 10 and performs streaming distribution to the information processing device 10 of the shot images from the imaging device 19, herein, the shot images of the subject (reporter) who is standing in front of the color screen 5 and who is facing the imaging device 19. The image acquisition unit 40 acquires the subject images through the streaming distribution and provides the subject images for the display control unit 50. The display control unit 50 performs the chroma-key composition such that the subject included in the subject image may become the foreground image with respect to the background image and thereby generates a display image according to the viewpoint position of the user.
In the example illustrated in
Alternatively, the background image may be provided from the distribution server 18. In a case where the distribution server 18 distributes the image of the reporter who is reporting news as in embodiment 1, particularly, the distribution server 18 may transmit an appropriate background image to the information processing device 10 in accordance with contents of the news. Then the image acquisition unit 40 may acquire the subject image and the background image and the display control unit 50 may perform the chroma-key composition such that the subject included in the subject image may become the foreground image with respect to the background image.
Though the distribution server 18 provides a news program in the example described above, a technique of embodiment 1 may be utilized for conversation among friends. According to the technique of embodiment 1, the background image may be freely set up in the information processing device 10 and utilization of the HMD 100 may make it possible to look at the subject from an extremely short distance. Thus, the user is enabled to select a place full of memories of the user and a friend of hers/his as the background image and to enjoy a conversation with the friend. Furthermore, the background image retention unit 54 may retain shot images imaged actually by a camera and may retain images produced by computer graphics, as the background images.
As described above, the eye gaze information determination unit 32 determines the eye direction and the viewpoint position of the user in accordance with the posture information and the positional information regarding the HMD 100 and provides the eye direction and the viewpoint position for the display control unit 50. The display control unit 50 generates the display image in accordance with the eye direction and the viewpoint position of the user.
In embodiment 1, the display control unit 50 controls an orientation of the subject such that the subject may face the viewpoint position of the user.
The display control unit 50 determines the orientation and the position of the subject image such that a perpendicular drawn from the viewpoint position to the subject image may pass through a center of the subject image with respect to a width direction.
Though the distribution of live images of the reporter has been described in relation to embodiment 1, images to be distributed may be recorded images instead of the live images. In this case, the information processing device 10 may be provided with the subject images from the distribution server 18 or from a recording medium such as a digital versatile disc (DVD).
In relation to embodiment 2, a case where display images in which a subject moves relative to a background image are generated will be described.
Each of elements illustrated as the functional blocks that carry out various processes in
The information processing device 10 of embodiment 2 has functions of generating an image in which a layer image of the subject is placed in a three-dimensional space model and providing the image for the HMD 100. The image composition function is implemented by a chroma-key composition application installed in the information processing device 10. Herein, the three-dimensional space model is produced by analysis of images into which a real space is imaged, definition of a shape model of the space, and pasting of shot images (texture images) on the defined shape.
In embodiment 2, the three-dimensional space model produced from the shot images of the space and the subject images in which a scene with the subject moving in front of a background with a single color is imaged are distributed from the distribution server 18 that is a content providing server to the information processing device 10 and are respectively retained in the 3D model retention unit 60 and the subject image retention unit 64. The information processing device 10 generates display images to be provided for the HMD 100, from the three-dimensional space model retained in the 3D model retention unit 60 and the subject images retained in the subject image retention unit 64. The three-dimensional space images and the subject images, however, may be provided from a recording medium such as DVD for the information processing device 10.
Though the shot images that are sufficient for the modeling may be prepared by the imaging without omission with change of an orientation of the camera placed at the center of the room on condition that an internal space of the room has such a simple shape as a rectangular parallelepiped, such areas (blind spots) as are not imageable from one camera position may exist depending on the shape of the room, for instance. In such a case, it is desirable to image the blind spots with shift of the camera position and to accurately carry out the shape modeling for the space through joining of shot images.
When the subject is imaged, the desk that is a real object is removed from the room and the subject moves through between a place where the desk is to be placed and the wall on the back side so as not to walk through the place where the desk was placed. Then the wall on the back side that configures the background of the subject image is covered with a sheet with a single color such as blue or green for performance of the chroma-key composition, so that the subject images are made as images from which the subject may be extracted by the chroma-key process. The subject image retention unit 64 retains the subject images.
When the user activates the chroma-key composition application, the 3D data acquisition unit 62 acquires the three-dimensional space model from the 3D model retention unit 60 and provides the three-dimensional space model for a display processing unit 72. Additionally, the image acquisition unit 66 acquires the subject images that are the moving images from the subject image retention unit 64 and provides the subject images for a subject layer image generation unit 70. The display processing unit 72 generates display images resulting from composition of the scene of the moving subject on the image of the room configured from the three-dimensional space model.
Initially, the subject layer image generation unit 70 sets up a virtual screen that moves in conformity with a movement of the subject included in the subject images. The virtual screen has such a size as to at least include the subject in the subject images. The subject layer image generation unit 70 carries out processes including projecting the subject image onto the virtual screen, extracting a subject portion through the application of the chroma-key process, and generating a subject layer image. The subject layer image generation unit 70 determines an orientation of the virtual screen on which the subject image is projected, in accordance with the position of the subject included in the subject image.
The subject layer image generation unit 70 determines the orientation of the virtual screen 202 in accordance with relation between a position (camera position) of the imaging device 19 and the position of the subject. Herein, the orientation of the virtual screen 202 is determined so that a line connecting the camera position and the subject may be a perpendicular to the standing surface of the virtual screen 202a. In embodiment 2, images in which the inside of the room is overlooked from a vicinity of the camera position in the three-dimensional space model are provided for the user, whereas the user is capable of moving from the camera position and looking at the subject from a different viewpoint position. The virtual screen 202 on which the subject is projected may be made to face the camera position so that the information processing device 10 may be capable of providing the display images causing no feeling of strangeness for the HMD 100 even if the user has moved somewhat from the camera position.
The display processing unit 72 is provided with the three-dimensional space model from the 3D data acquisition unit 62 and produces the background image with respect to the subject.
The eye gaze information determination unit 32 determines the eye direction and the viewpoint position of the user in accordance with the posture information and the positional information regarding the HMD 100 and provides the eye direction and the viewpoint position for the display processing unit 72. The display processing unit 72 generates the display images in accordance with the eye direction and the viewpoint position of the user. Though the display processing unit 72 may set an initial position of the user in the three-dimensional space on a position where the imaging device 19 is placed, relative positional relation among the object 200, the subject, and the three-dimensional space model changes with the movement of the viewpoint position. Then the virtual screen 202 for the subject basically faces an initial viewpoint position of the user, so that the display processing unit 72 is capable of generating the display images causing no feeling of strangeness even if the viewpoint position has moved somewhat from the initial position.
The present invention has been described above based on the plurality of embodiments. The embodiments are exemplifications and it is to be understood by those skilled in the art that various modifications may be made to combinations of individual components or individual processes of the embodiments and that such modifications are still within the scope of the invention.
Though the composition of the subject image of one person with the background image is performed in embodiments 1 and 2, composition of a plurality of subject images with the background image may be performed.
1 . . . Information processing system, 20 . . . Sensor data reception unit, 22 . . . Camera image reception unit, 24 . . . Input data reception unit, 30 . . . HMD information acquisition unit, 32 . . . Eye gaze information determination unit, 34 . . . Reception unit, 40 . . . Image acquisition unit, 50 . . . Display control unit, 52 . . . Image provision unit, 54 . . . Background image retention unit, 60 . . . 3D model retention unit, 62 . . . 3D data acquisition unit, 64 . . . Subject image retention unit, 66 . . . Image acquisition unit, 70 . . . Subject layer image generation unit, 72 . . . Display processing unit, 100 . . . HMD.
The present invention can be utilized for techniques for generating chroma-key composite images.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2017/041324 | 11/16/2017 | WO | 00 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2019/097639 | 5/23/2019 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
20150243036 | Hoffmann | Aug 2015 | A1 |
20180004478 | Chen | Jan 2018 | A1 |
20200252593 | Chapdelaine-Couture | Aug 2020 | A1 |
Number | Date | Country |
---|---|---|
2003219382 | Jul 2003 | JP |
2012-104021 | May 2012 | JP |
2017-97122 | Jun 2017 | JP |
2014091824 | Jun 2014 | WO |
Entry |
---|
Fairchild, Allen J., et al. “A mixed reality telepresence system for collaborative space operation.” IEEE Transactions on Circuits and Systems for Video Technology 27.4 (2016): 814-827. |
Yousefi, Shahrouz, et al. “3D gesture-based interaction for immersive experience in mobile VR.” 2016 23rd International Conference on Pattern Recognition (ICPR). IEEE, 2016. |
Lopez-Moreno J., “Compositing and Chroma Keying”,(2015), In: Luo R. (eds) Encyclopedia of Color Science and Technology. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-27851-8_173-3. |
International Preliminary Report on Patentability dated May 19, 2020, from International Application No. PCT/JP2017/041324, 14 sheets. |
International Search Report and Written Opinion dated Jan. 23, 2018, from International Application No. PCT/JP2017/041324, 9 sheets. |
Number | Date | Country | |
---|---|---|---|
20200336717 A1 | Oct 2020 | US |