Image processing device, image processing method, and program
The image processing device addresses the challenge of accurately representing reflections in virtual production by using a three-dimensional model to generate images with differing viewpoint positions, effectively blending camera and real object viewpoints for enhanced image quality.
Patent Information
- Application Number
- PCT/JP2024/007830
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-23
- Filing Date
- 2024-03-01
- Publication Date
- 2024-09-26
AI Technical Summary
In virtual production, accurately representing reflections on real objects due to reflections in images captured with both CG images displayed on a video wall and real objects is challenging.
An image processing device and method that utilize a three-dimensional model to generate images for display, where the viewpoint position within the imaging range differs from that outside, allowing for accurate representation of reflections by combining camera and real object viewpoint images.
This approach enables accurate representation of reflections on real objects in the captured images, improving image quality by blending images from different viewpoints and prioritizing reflections based on object importance, distance, and reflectance.
Smart Images

Figure JP2024007830_26092024_PF_FP
Abstract
Description
Image processing device, image processing method, and program
[0001] The present technology relates to an image processing device, an image processing method, and a program, and in particular to an image processing device, an image processing method, and a program that are capable of accurately representing reflections on a real object in an image captured of an image displayed on a display device and the real object.
[0002] In recent years, virtual production, which involves filming in a studio equipped with a video wall consisting of one or more LED (Light Emitting Diode) displays instead of the traditional green screen, has been gaining attention in content production. In virtual production, a 3D computer graphics (CG) image of a model is displayed on the video wall, and content creators use a camera to capture both the CG image and real objects as subjects. This not only enables the CG image and real object to be composited in real time, but also makes it possible to represent the transmission and reflection of light from the CG image on the real object in the captured image.
[0003] On the other hand, there is an image processing system that estimates light source information including at least information indicating the position and intensity of a light source from a wide-viewing-angle captured image captured from a single viewpoint at a wide viewing angle (see, for example, Patent Document 1).
[0004] Japanese Patent Application Laid-Open No. 2021-149679
[0005] However, in an image in which both a CG image displayed on a display device such as a video wall and a real object are captured, it has been difficult to accurately represent the reflection of the real object.
[0006] The present technology has been developed in consideration of such circumstances, and makes it possible to accurately represent the reflection of a real object in an image captured by photographing an image displayed on a display device and the real object.
[0007] An image processing device or program according to one aspect of the present technology is an image processing device or a program for causing a computer to function as an image processing device, which includes a generation unit that uses a three-dimensional model to generate an image to be displayed on a display device captured by an imaging device, and is configured so that the viewpoint position of an area within the imaging range of the imaging device in the image is different from the viewpoint position of an area outside the imaging range.
[0008] An image processing method according to one aspect of the present technology includes a generation step in which an image processing device uses a three-dimensional model to generate an image to be displayed on a display device captured by an imaging device, and the viewpoint position of an area of the image within the imaging range of the imaging device is different from the viewpoint position of an area outside the imaging range.
[0009] In one aspect of the present technology, an image captured by an image capture device and displayed on a display device is generated using a three-dimensional model, wherein a viewpoint position of an area within a capture range of the image capture device and a viewpoint position of an area outside the capture range of the image are different.
[0010] 1 is a diagram illustrating a configuration example of an embodiment of an imaging system to which the present technology is applied. FIG. 2 is a block diagram illustrating a configuration example of an image generation processing unit. FIG. 3 is a diagram illustrating a method for generating a camera viewpoint image. FIG. 4 is another diagram illustrating a method for generating a camera viewpoint image. FIG. 5 is a first diagram illustrating selection of a camera viewpoint image or a real object viewpoint image. FIG. 6 is a second diagram illustrating selection of a camera viewpoint image or a real object viewpoint image. FIG. 7 is a third diagram illustrating selection of a camera viewpoint image or a real object viewpoint image. FIG. 8 is a diagram illustrating an example of a CG image within a shooting range. FIG. 9 is a diagram illustrating an example of a CG image outside a shooting range. FIG. 10 is a diagram illustrating an example of an object to be shot in a simulation. FIG. 11 is a diagram illustrating an example of a simulation result when all of the object to be shot are present in real space. FIG. 12 is a diagram illustrating an example of a real space. FIG. 13 is a diagram illustrating an example of a simulation result. FIG. 14 is a diagram illustrating an example of a real space in an imaging system. FIG. 15 is a flowchart illustrating image generation processing. FIG. 16 is a flowchart illustrating details of selection processing. FIG. 17 is a block diagram illustrating a configuration example of computer hardware.
[0011] Hereinafter, modes for carrying out the present technology (hereinafter referred to as embodiments) will be described. The description will be made in the following order: 1. One embodiment (imaging system) 2. Computer
[0012] 1. One embodiment Configuration example of an imaging system FIG. 1 is a diagram showing a configuration example of an embodiment of an imaging system to which the present technology is applied.
[0013] 1, the shooting system 10 is a shooting system for virtual production that includes a video camera 11, a video wall 12, a PC (personal computer) 13, a video wall controller 14, and a depth sensor 15. In the shooting system 10, a CG image is displayed on the video wall 12, and shooting is performed by the video camera 11 with the CG image as the background.
[0014] Specifically, video camera 11 is a photographing device that photographs the CG image displayed on video wall 12 and the real object that exists in front of video wall 12 (the side closer to video camera 11). Note that photographing system 10 may use a plurality of video cameras similar to video camera 11.
[0015] The video wall 12 (display device) is a large LED display in which n (n is a positive integer) display units 12a are arranged in a tiled pattern. In the example of Fig. 1, n is 6 x 24.
[0016] Each display unit 12a is connected to the video wall controller 14. A CG image of the area corresponding to the position of that display unit 12a is supplied to each display unit 12a from the video wall controller 14. Each display unit 12a displays the CG image of the area supplied from the video wall controller 14, thereby displaying one screen's worth of CG image on the entire video wall 12. This display is synchronized with the shooting by the video camera 11.
[0017] 1, the shape of the display surface of the video wall 12 is a single rectangular plane, but is not limited to this. For example, the shape of the display surface of the video wall 12 may be an arc-shaped curved surface, a U-shape consisting of one plane and two side surfaces, or a shape with an additional plane on at least one of the top and bottom of these shapes.
[0018] The PC 13 is an image processing device that uses a three-dimensional model to perform image generation processing and the like to generate CG images to be displayed on the video wall 12. This image generation processing uses distance information supplied from a depth sensor 15 that indicates the distance between the video camera 11 and an actual object located in front of the video wall 12. The PC 13 supplies the CG images generated by the image generation processing to the video wall controller 14.
[0019] The video wall controller 14 divides the CG image supplied from the PC 13 into n areas according to the position of each display unit 12a, and supplies the CG image of each area to each display unit 12a.
[0020] The depth sensor 15 is disposed near the video camera 11. For each real object located in front of the video wall 12, the depth sensor 15 measures the three-dimensional distance between the real object and the video camera 11. For each real object, the depth sensor 15 supplies the PC 13 with distance information that represents the average value of the measurement results as the distance between the real object and the video camera 11.
[0021] The video wall controller 14 and the video wall 12 may be integrated into one unit, or may form an integrated display device. The PC 13, the video wall controller 14, and the video wall 12 may be integrated into one unit, or may form an integrated display device. The video camera 11 and the depth sensor 15 may be integrated into one unit.
[0022] <Configuration Example of Image Generation Processing Unit> FIG. 2 is a block diagram showing a configuration example of an image generation processing unit when the PC 13 in FIG. 1 functions as an image generation processing unit that performs image generation processing.
[0023] The image generation processing unit 30 in FIG. 2 is made up of a shooting information acquisition unit 31, a model acquisition unit 32, a real object information acquisition unit 33, a camera viewpoint image generation unit , a real object viewpoint image generation unit , and a selection unit .
[0024] The shooting information acquisition unit 31 acquires shooting information, which is information related to shooting, such as video camera information indicating the shooting position and shooting range of the video camera 11, and video wall information indicating the position, shape, size, etc. of the video wall 12. The shooting range is determined based on, for example, the shooting direction and the horizontal and vertical angles of view. The shooting information may be input by the user or may be transmitted from the video camera 11 or the video wall 12.
[0025] The shooting information acquisition unit 31 supplies the shooting position and video wall information to the camera viewpoint image generation unit 34. The shooting information acquisition unit 31 supplies the shooting information to the real object viewpoint image generation unit 35 and the selection unit 36.
[0026] The model acquisition unit 32 acquires a 3D model (CG object) in virtual space corresponding to the CG image to be displayed on the video wall 12. This 3D model may be stored in the PC 13, or may be acquired from a server or the like external to the PC 13. The model acquisition unit 32 supplies the 3D model to the camera viewpoint image generation unit 34 and the real object viewpoint image generation unit 35.
[0027] The real object information acquisition unit 33 acquires distance information from the depth sensor 15 in FIG. 1 and supplies it to the real object viewpoint image generation unit 35 .
[0028] The camera viewpoint image generation unit 34 sets the viewpoint position to a position in the virtual space that corresponds to the shooting position supplied from the shooting information acquisition unit 31. The camera viewpoint image generation unit 34 generates a CG image (hereinafter referred to as a camera viewpoint image) for one screen of the video wall 12 from the 3D model supplied from the model acquisition unit 32, based on the viewpoint position and the video wall information. The camera viewpoint image generation unit 34 supplies the camera viewpoint image to the selection unit 36.
[0029] The real object viewpoint image generating unit 35 calculates the position of the real object based on the distance information supplied from the real object information acquiring unit 33 and the shooting position supplied from the shooting information acquiring unit 31. Based on the position of the real object existing within the shooting range, the real object viewpoint image generating unit 35 determines, as the viewpoint position, a position in the virtual space that is different from the position in the virtual space that corresponds to the shooting position.
[0030] For example, if there is one real object within the shooting range, the real object viewpoint image generation unit 35 determines the position in the virtual space corresponding to the position of that real object as the viewpoint position. If there are multiple real objects within the shooting range, the real object viewpoint image generation unit 35 determines the position in the virtual space corresponding to the average value of the positions of the multiple real objects as the viewpoint position. If there are multiple real objects within the shooting range, the real object viewpoint image generation unit 35 may also determine the position in the virtual space corresponding to the weighted average value of the positions of the multiple real objects as the viewpoint position.
[0031] The weights for the positions of the multiple real objects used in calculating the weighted average value can be set so that, for example, the closer the real object is to the center of the shooting range, the greater the weights. In this case, in the image shot by the video camera 11, the reflection of real objects that exist in the central area that the viewer gazes at is preferentially and accurately represented.
[0032] This weight can also be set so that the closer the real object is to the video camera 11, the greater the weight. In this case, in the image captured by the video camera 11, the reflection of the real object that is closest to the viewer who is gazing at the image is given priority and accurately represented.
[0033] This weight can also be set so that it increases as the size of the real object increases, in which case large real objects that viewers are watching closely in the images captured by the video camera 11 are given priority and accurately represented.
[0034] This weight can also be set so that the higher the reflectance of the real object, the greater the weight. In this case, in the image captured by the video camera 11, reflections in real objects with high reflectance, such as real objects made of metal or glass or white objects, that are prone to reflections, are preferentially and accurately represented.
[0035] The weight can also be set so that it increases as the importance of the real object in the shot increases. In this case, in the image shot by the video camera 11, reflections of real objects of high importance, such as the main character, are more accurately represented than reflections of real objects of low importance, such as supporting characters. The size and reflectivity of the real object and the importance of the real object in the shot may be input by the user or may be determined based on the image shot by the video camera 11, etc.
[0036] The real object viewpoint image generation unit 35 generates a CG image (hereinafter referred to as a real object viewpoint image) for one screen of the video wall 12 from the 3D model supplied from the model acquisition unit 32, based on the viewpoint position and the video wall information. The real object viewpoint image generation unit 35 supplies the real object viewpoint image to the selection unit 36.
[0037] The selection unit 36 divides the screen of the video wall 12 into an area within the shooting range and an area outside the shooting range based on the shooting information supplied from the shooting information acquisition unit 31. The selection unit 36 extracts a CG image of the area within the shooting range from one screen's worth of camera viewpoint images supplied from the camera viewpoint image generation unit 34. The selection unit 36 extracts a CG image of the area outside the shooting range from one screen's worth of real object viewpoint images supplied from the real object viewpoint image generation unit 35. The selection unit 36 (generation unit) generates a CG image to be displayed on the video wall 12 by combining the CG image of the extracted area within the shooting range with the CG image of the area outside the shooting range. The selection unit 36 supplies the generated CG image to the video wall controller 14.
[0038] The selection unit 36 may smooth the synthesized CG image in the time direction to generate a CG image to be displayed on the video wall 12. In this case, it is possible to suppress fluctuations in the CG image due to the temporary appearance or disappearance of a real object in the shooting range, measurement errors in the depth sensor 15, etc.
[0039] The greater the distance between the shooting position of the video camera 11 and the position of the real object, the greater the difference between the camera viewpoint image and the real object viewpoint image. Therefore, the selection unit 36 may perform composition so as to blur (blend) the CG image at the boundary between the area within the shooting range and the area outside the shooting range more strongly the greater the distance between the shooting position of the video camera 11 and the position of the real object. Alternatively, if the position of the real object is a predetermined distance or more away from the shooting position, the real object viewpoint image generation unit 35 may change the position of the real object to a position that is a predetermined distance away from the shooting position. By doing the above, the image quality of the CG image displayed on the video wall 12 can be improved.
[0040] <Description of Camera Viewpoint Image Generation Method> Next, a method for generating a camera viewpoint image by the camera viewpoint image generation unit 34 in FIG. 2 will be described with reference to FIGS. 3 and 4. FIG.
[0041] Fig. 3 is a diagram showing a virtual space viewed from above in which a video camera 11 is placed at a position in the virtual space corresponding to a position in real space (hereinafter referred to as a virtual position). Fig. 4 is a diagram showing a virtual space viewed from above in which a video camera 11 and a video wall 12 are placed at virtual positions.
[0042] 3 and 4, the horizontal angle of view of video camera 11 is angle of view θ1, and two 3D models 51 and 52 exist in the virtual space within the shooting range. As shown in Fig. 4, 3D model 51 exists in front of the virtual position of video wall 12, and 3D model 52 exists behind the virtual position of video wall 12 (the side farther from video camera 11).
[0043] 4, camera viewpoint image generation unit 34 generates, as a camera viewpoint image, a CG image in which 3D models 51 and 52 are projected onto video wall 12 with the virtual position of video camera 11 in virtual space as the viewpoint position. When this camera viewpoint image is displayed on video wall 12, the direction of light incident on video camera 11 from the images of 3D models 51 and 52 in the camera viewpoint image is the same as the direction of light from 3D models 51 and 52 toward video camera 11 in virtual space. Therefore, an image captured from the camera viewpoint image displayed on video wall 12 is the same as an image that would be captured if 3D models 51 and 52 existed in real space.
[0044] However, when the 3D model 51 (52) is displayed on the video wall 12, the position of the 3D model 51 (52) in real space is a position on the video wall 12, and is not a position corresponding to the position of the 3D model 51 (52) in virtual space.
[0045] <Description of Selection by Selector> Next, the selection of the camera viewpoint image or the real object viewpoint image by the selector 36 will be described with reference to FIGS. 5 to 7. FIG.
[0046] Fig. 5 is a diagram showing a top view of a virtual space in which the video camera 11 and real object 71 are placed at their respective virtual positions. Fig. 6 and Fig. 7 are diagrams showing a top view of a virtual space in which the video camera 11, video wall 12, and real object 71 are placed at their respective virtual positions.
[0047] In the examples of FIGS. 5 to 7, the horizontal angle of view of the video camera 11 is angle of view θ2, a real object 71 exists in the real space within the shooting range, and a 3D model 72 exists in the virtual space outside the shooting range.
[0048] In this case, when the 3D model 72 exists in real space and the reflectivity of the real object 71 is high, a reflection from the real object 71 occurs in the image captured by the video camera 11. Ideally, this reflection occurs in an area 71a on the left front side of the real object 71 as shown in Figure 5, and the reflected object is a surface 72a of the 3D model 72 facing the real object 71 (left side in the figure).
[0049] 6 , the camera viewpoint image generated by the camera viewpoint image generation unit 34 is a CG image in which the 3D model 72 is projected onto the video wall 12, with the virtual position of the video camera 11 in virtual space as the viewpoint. Therefore, the camera viewpoint image includes an image of a surface 72b of the 3D model 72 on the video camera 11 side. Furthermore, when this camera viewpoint image is displayed on the video wall 12, the position of surface 72b in real space becomes a position on the video wall 12. As a result, when the real object 71 is photographed by the video camera 11 with this camera viewpoint image displayed on the video wall 12, surface 72b appears in the photographed image in a region 71b on the far right side of the real object 71 due to reflection on the real object 71.
[0050] That is, the area 71b where the reflection occurs in the real object 71 is different from the area 71a in the image captured by the video camera 11 when the 3D model 72 exists in real space. The surface 72b of the 3D model 72 reflected in the real object 71 is also different from the surface 72a in the image captured by the video camera 11 when the 3D model 72 exists in real space.
[0051] 7 , the real object viewpoint image generated by the real object viewpoint image generation unit 35 is a CG image in which the 3D model 72 is projected onto the video wall 12 using the virtual position Or of the real object 71 in the virtual space as the viewpoint. Therefore, the real object viewpoint image includes an image of the surface 72 a of the 3D model 72 facing the real object 71. When this real object viewpoint image is displayed on the video wall 12, the direction of light incident on the real object 71 from the image of the surface 72 a in the real object viewpoint image is the same as the direction of light from the 3D model 72 to the real object 71 in the virtual space. As a result, when the real object 71 is photographed by the video camera 11 with this real object viewpoint image displayed on the video wall 12, the surface 72 a is reflected in the region 71 a on the near side of the real object 71 due to reflection on the real object 71. In other words, this image is identical to the image that would be photographed if the 3D model 72 existed in real space.
[0052] As described above, by displaying the real object viewpoint image on the video wall 12, it is possible to generate an accurate reflection of the real object 71. However, the real object viewpoint image is a CG image in which the virtual position of the real object 71 is used as the viewpoint position. Therefore, when the real object viewpoint image is displayed within the shooting range of the video wall 12, the CG image captured by the video camera 11 will no longer be the CG image desired by the photographer in which the virtual position of the video camera 11 is used as the viewpoint position.
[0053] Therefore, the selection unit 36 selects a camera viewpoint image as a CG image of an area 91 within the shooting range of the screen of the video wall 12, and selects a real object viewpoint image as a CG image of an area 92 outside the shooting range. The selection unit 36 then synthesizes the camera viewpoint image of area 91 and the real object viewpoint image of area 92 to generate a CG image to be displayed on the video wall 12.
[0054] <Example of CG Image Displayed on Video Wall> Next, an example of a CG image displayed on the video wall 12 will be described with reference to FIGS. 8 and 9. FIG.
[0055] 8 and 9 are top views of a virtual space in which a video camera 11, a video wall 12, and a real object 71 are placed at virtual positions. In FIGS. 8 and 9, parts corresponding to those in FIGS. 5 to 7 are assigned the same reference numerals. Therefore, the description of those parts will be omitted as appropriate, and the description will focus on parts that differ from those in FIGS. 5 to 7. The examples in FIGS. 8 and 9 differ from the examples in FIGS. 5 to 7 in that a 3D model 111 exists in the virtual space within the shooting range, but are otherwise similar to the examples in FIGS. 5 to 7.
[0056] In this case, as shown in Figure 8, a camera viewpoint image is displayed in an area 91 (inner frustum) within the shooting range of the video wall 12, in which a 3D model 111 is projected onto the video wall 12 with the virtual position of the video camera 11 in the virtual space as the viewpoint position.
[0057] On the other hand, as shown in FIG. 9, in an area 92 (outer frustum) outside the shooting range of the video wall 12, a real object viewpoint image is displayed in which the 3D models 72 and 111 are projected onto the video wall 12 with the virtual position Or of the real object 71 in the virtual space as the viewpoint position.
[0058] <Example of Object to be Photographed in Simulation> FIG. 10 is a diagram showing an example of an object to be photographed in a simulation for verifying the effect of the image generation processing unit 30. In FIG.
[0059] 10 are arranged parallel to the floor surface 210 and perpendicular to the shooting direction of the video camera 11. That is, the distance between the video camera 11 and each of the shooting objects 211 to 213 in the shooting direction (depth direction) is the same.
[0060] <Example of simulation results of captured images when all subjects are present in real space> Figure 11 is a diagram showing an example of simulation results of images captured by video camera 11 when all of the subjects 211 to 213 in Figure 10 are present in real space.
[0061] 11 includes subjects 211, 212, and 213 in the center, left, and right, respectively, and a floor 210 below. The subject 211 has a high reflectivity. Therefore, the subject 212 is reflected in an area 222 to the left of the subject 211, and the subject 213 is reflected in an area 223 to the right of the subject 211.
[0062] <Example of Real Space When Photographed Subjects are Reproduced Only by Camera Viewpoint Images> FIG. 12 is a diagram showing an example of real space when photographed subjects 212 and 213 in FIG. 10 are reproduced only by camera viewpoint images.
[0063] In this case, as shown in FIG. 12, the video wall 12 displays one screen of a camera viewpoint image including a CG image 242 corresponding to the subject 212 and a CG image 243 corresponding to the subject 213 .
[0064] The CG image 242 (243) is generated by projecting a 3D model corresponding to the subject 212 (213) onto the video wall 12, with the virtual position of the video camera 11 in the virtual space as the viewpoint. Therefore, the direction of light incident on the video camera 11 from the CG image 242 (243) is the same as the direction of light incident on the video camera 11 from the 3D model corresponding to the subject 212 (213) in the virtual space.
[0065] However, the position of the CG image 242 (243) is a position on the video wall 12, not the position of the subject 212 (213).
[0066] <Example of Simulation Results of Captured Images When a Captured Object is Reproduced Only by Camera Viewpoint Images> FIG. 13 is a diagram showing an example of a simulation result of an image captured by the video camera 11 in the real space of FIG.
[0067] 13 includes a CG image 242 in the center, a floor 210 below, and a video wall 12 above. The left and right sides of the video wall 12 include a CG image 242 and a CG image 243, respectively.
[0068] 12, the position of CG image 242 (243) is a position on video wall 12, which is different from the position of subject 212 (213). Therefore, even if subject 211 has a high reflectivity, CG image 242 (243) is not reflected in subject 211 in image 250.
[0069] <Example of real space when the subject of photography is reproduced as a CG image generated by the image generation processing unit> Figure 14 is a diagram showing an example of real space when the subjects of photography 212 and 213 in Figure 10 are reproduced as a CG image generated by the image generation processing unit 30.
[0070] 14, the same reference numerals are used to designate parts that correspond to those in FIG. 12. Therefore, the description of those parts will be omitted as appropriate, and the following description will focus on the parts that are different from those in FIG.
[0071] When the subjects 212 and 213 are reproduced as CG images generated by the image generation processing unit 30, as shown in Fig. 14, a camera viewpoint image including CG images 242 and 243 is displayed in an area 261 within the shooting range of the video wall 12. In the example of Fig. 14, the horizontal angle of view of the video camera 11 is angle of view θ3.
[0072] In an area 262 outside the shooting range of the video wall 12, a real object viewpoint image including a CG image 272 corresponding to the shooting target 212 and a CG image 273 corresponding to the shooting target 213 is displayed.
[0073] The CG image 272 (273) is generated by projecting a 3D model corresponding to the subject 212 (213) onto the video wall 12, with the virtual position of the subject 211, which is a real object within the shooting range, as the viewpoint position. Therefore, the direction of light incident on the subject 211 from the CG image 272 (273) is the same as the direction of light incident on the subject 211 from the 3D model corresponding to the subject 212 (213) in the virtual space.
[0074] The simulation result of the image captured by the video camera 11 in the real space of Fig. 14 is the same as the image 220 of Fig. 11. This means that the image generation processing unit 30 can generate a CG image to be displayed on the video wall 12 so as to accurately represent the reflection of the subject 211 in the image captured by the video camera 11.
[0075] <Explanation of Image Generation Processing> Fig. 15 is a flowchart illustrating the image generation processing by the image generation processing unit 30 in Fig. 2. This image generation processing is performed, for example, in units of screens (frames) of the video wall 12.
[0076] 15 , the camera viewpoint image generation unit 34 generates a camera viewpoint image for one screen of the video wall 12 from the 3D model acquired by the model acquisition unit 32, based on the shooting position and video wall information acquired by the shooting information acquisition unit 31. The camera viewpoint image generation unit 34 supplies the camera viewpoint image to the selection unit 36.
[0077] In step S12, the real object information acquisition unit 33 determines whether or not distance information has been supplied from the depth sensor 15, i.e., whether or not the depth sensor 15 has been able to measure the distance between the real object and the video camera 11 in three dimensions.
[0078] If it is determined in step S12 that distance information has not been supplied from the depth sensor 15, i.e., if the depth sensor 15 was unable to measure the three-dimensional distance between the real object and the video camera 11, the processing proceeds to step S13. In step S13, the selection unit 36 selects one screen's worth of camera viewpoint images supplied from the camera viewpoint image generation unit 34 as the CG image to be displayed on the video wall controller 14.
[0079] On the other hand, if it is determined in step S12 that distance information has been supplied from the depth sensor 15, i.e., if the depth sensor 15 has been able to measure the distance between the real object and the video camera 11 in three dimensions, the real object information acquisition unit 33 acquires the distance information. Then, the real object information acquisition unit 33 supplies the distance information to the real object viewpoint image generation unit 35, and the process proceeds to step S14.
[0080] In step S 14 , the real object viewpoint image generating unit 35 determines the viewpoint position based on the distance information supplied from the real object information acquiring unit 33 and the video camera information acquired by the shooting information acquiring unit 31 .
[0081] In step S15, the real object viewpoint image generation unit 35 generates a real object viewpoint image for one screen of the video wall 12 from the 3D model acquired by the model acquisition unit 32, based on the viewpoint position and video wall information determined by the processing of step S14. The real object viewpoint image generation unit 35 supplies the real object viewpoint image to the selection unit 36.
[0082] In step S16, the selection unit 36 performs a selection process to select, for each pixel, either the camera viewpoint image generated in step S11 or the real object viewpoint image generated in step S15 as the CG image to be displayed on the video wall 12. Details of this selection process will be described later with reference to FIG. 16. After the process of step S16, the process proceeds to step S17.
[0083] In step S17, the selection unit 36 outputs the CG image selected in step S13 or S16 to the video wall controller 14. As a result, if the depth sensor 15 is unable to measure the distance between the real object and the video camera 11 in three dimensions, the camera viewpoint image is displayed on the entire screen of the video wall 12. On the other hand, if the depth sensor 15 is able to measure the distance between the real object and the video camera 11 in three dimensions, the camera viewpoint image or real object viewpoint image selected by the selection process for each pixel is displayed on the video wall 12. After the processing of step S17, the image generation process ends.
[0084] <Description of Selection Process> FIG. 16 is a flowchart illustrating the details of the selection process in step S16 of FIG.
[0085] 16, the selection unit 36 sets as target pixels pixels that have not yet been set as target pixels among all pixels on one screen of the video wall 12. In step S32, the selection unit 36 determines whether or not the target pixel is present within the shooting range based on the shooting information acquired by the shooting information acquisition unit 31.
[0086] If it is determined in step S32 that the target pixel is within the shooting range, the process proceeds to step S33. In step S33, the selection unit 36 extracts the camera viewpoint image of the target pixel from one screen's worth of camera viewpoint images supplied from the camera viewpoint image generation unit 34, and selects it as the CG image of the target pixel. The process then proceeds to step S35.
[0087] On the other hand, if it is determined in step S32 that the target pixel is not present within the shooting range, the process proceeds to step S34. In step S34, the selection unit 36 extracts a real object-viewpoint image of the target pixel from one screen's worth of real object-viewpoint images supplied from the real object-viewpoint image generation unit 35, and selects it as the CG image of the target pixel. Then, the process proceeds to step S35.
[0088] In step S35, the selection unit 36 determines whether or not all pixels on one screen of the video wall 12 have been set as target pixels by the processing in step S31. If it is determined in step S35 that all pixels on one screen have not yet been set as target pixels, the processing returns to step S31, and the subsequent processing is repeated.
[0089] On the other hand, if it is determined in step S35 that all pixels on one screen have been set as target pixels, the process proceeds to step S36. In step S36, the selection unit 36 combines the CG images of the pixels selected in step S33 or S34 to generate a CG image to be displayed on the video wall 12. As a result, a CG image in which the area within the shooting range is a camera-perspective image and the area outside the shooting range is a real-object-perspective image is generated as the CG image to be displayed on the video wall 12. After processing in step S36, the process returns to step S16 in FIG. 15 and proceeds to step S17.
[0090] As described above, the selection unit 36 uses a three-dimensional model to generate a CG image to be displayed on the video wall 12 captured by the video camera 11, in which the viewpoint position of the area within the capture range differs from the viewpoint position of the area outside the capture range. For example, the selection unit 36 generates a CG image in which the viewpoint position of the area within the capture range is the virtual position of the video camera 11 and the viewpoint position of the area outside the capture range is the virtual position of a real object, as the CG image to be displayed on the video wall 12. Therefore, it is possible to accurately represent the reflection of a real object in the CG image displayed on the video wall 12 and in an image in which the real object is captured.
[0091] The depth sensor 15 may be any other device as long as it is a 3D information acquisition device capable of three-dimensionally measuring the distance between a real object and the shooting position. The photography system 10 may not include the depth sensor 15, and instead, for example, the real object information acquisition unit 33 may three-dimensionally measure the distance between a real object and the shooting position using a person detection technique or the like from an image including the real object photographed by the video camera 11. This three-dimensional measurement may be performed by the video camera 11, or may be performed by a device separate from the video camera 11 and the PC 13.
[0092] 2. Computer The above-described series of processes can be executed by hardware or software. When the series of processes are executed by software, the programs that make up the software are installed on a computer. Here, the term "computer" includes computers built into dedicated hardware, and general-purpose personal computers, for example, that can execute various functions by installing various programs.
[0093] FIG. 17 is a block diagram showing an example of the hardware configuration of a computer that executes the above-described series of processes by a program.
[0094] In the computer, a CPU (Central Processing Unit) 901, a ROM (Read Only Memory) 902, and a RAM (Random Access Memory) 903 are interconnected by a bus 904.
[0095] An input / output interface 905 is also connected to the bus 904. An input unit 906, an output unit 907, a storage unit 908, a communication unit 909, and a drive 910 are connected to the input / output interface 905.
[0096] The input unit 906 includes a keyboard, a mouse, a microphone, etc. The output unit 907 includes a display, a speaker, etc. The storage unit 908 includes a hard disk, a non-volatile memory, etc. The communication unit 909 includes a network interface, etc. The drive 910 drives removable media 911 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory.
[0097] In a computer configured as described above, the CPU 901 performs the above-described series of processes by, for example, loading a program stored in the memory unit 908 into the RAM 903 via the input / output interface 905 and the bus 904 and executing it.
[0098] The program executed by the computer (CPU 901) can be provided by being recorded on a removable medium 911 such as a package medium, for example. The program can also be provided via a wired or wireless transmission medium such as a local area network, the Internet, or digital satellite broadcasting.
[0099] In a computer, the program can be installed in the storage unit 908 via the input / output interface 905 by inserting the removable medium 911 into the drive 910. The program can also be received by the communication unit 909 via a wired or wireless transmission medium and installed in the storage unit 908. Alternatively, the program can be installed in the ROM 902 or the storage unit 908 in advance.
[0100] The program executed by the computer may be a program that processes in chronological order according to the order described in this specification, or may be a program that processes in parallel or at the required timing, such as when called.
[0101] The embodiments of the present technology are not limited to the above-described embodiments, and various modifications are possible without departing from the spirit of the present technology.
[0102] For example, the present technology can be configured as a cloud computing system in which a single function is shared and processed collaboratively by a plurality of devices via a network.
[0103] Furthermore, each step described in the above flowchart can be executed by one device, or can be shared and executed by a plurality of devices.
[0104] Furthermore, when one step includes multiple processes, the multiple processes included in that one step can be executed by one device or can be shared and executed by multiple devices.
[0105] The effects described in this specification are merely examples and are not limiting, and there may be effects other than those described in this specification.
[0106] The present technology may have the following configurations. (1) An image processing device comprising: a generation unit that generates an image captured by an image capture device to be displayed on a display device using a three-dimensional model, and is configured so that a viewpoint position of a region within the image capture range of the image capture device in the image is different from a viewpoint position of a region outside the image capture range. (2) An image processing method including: a generation step in which an image processing device generates an image captured by an image capture device to be displayed on a display device using a three-dimensional model, and is configured so that a viewpoint position of a region within the image capture range of the image capture device in the image is different from a viewpoint position of a region outside the image capture range. (3) A program for causing a computer to function as an image processing device comprising: a generation unit that generates an image captured by an image capture device to be displayed on a display device using a three-dimensional model, and is configured so that a viewpoint position of a region within the image capture range of the image capture device is different from a viewpoint position of a region outside the image capture range. (4) The program described in (3), in which the viewpoint position of the region within the image capture range is the position of the image capture device, and the viewpoint position of the region outside the image capture range is determined based on the position of a real object present within the image capture range. (5) The program according to (4), further including a determining step of, when the number of real objects present within the shooting range is one, determining the position of the real object as the viewpoint position of the area outside the shooting range. (6) The program according to (4), further including a determining step of, when the number of real objects present within the shooting range is multiple, determining an average value of the positions of the multiple real objects as the viewpoint position of the area outside the shooting range. (7) The program according to (6), in the processing of the determining step, determines a weighted average value of the positions of the multiple real objects as the viewpoint position of the area outside the shooting range. (8) The program according to (7), in which the weight for each position of the multiple real objects used in calculating the weighted average value is set to be larger the closer the position of the real object is to the center of the shooting range. (9) The program according to (7) or (8), in which the weight for each position of the multiple real objects used in calculating the weighted average value is set to be larger the closer the position of the real object is to the imaging device.(10) The program according to any of (7) to (9), wherein the weights for the positions of the plurality of real objects used in calculating the weighted average value are set to be larger as the sizes of the real objects increase. (11) The program according to any of (7) to (10), wherein the weights for the positions of the plurality of real objects used in calculating the weighted average value are set to be larger as the reflectance of the real objects increases. (12) The program according to any of (7) to (11), wherein the weights for the positions of the plurality of real objects used in calculating the weighted average value are set to be larger as the importance of the real objects in the shooting increases. (13) The program according to any of (3) to (12), wherein the generating step smoothes the images in the time direction.
[0107] REFERENCE SIGNS LIST 11 video camera, 12 video wall, 13 PC, 36 selection unit, 51, 52, 71 3D model, 72 real object, 91, 92 area, 111 3D model, 211 to 213 shooting target, 242, 243 CG image, 261, 262 area, 272, 273 CG image
Claims
1. An image processing device comprising a generation unit that uses a three-dimensional model to generate an image to be displayed on a display device captured by a shooting device, and configured so that the viewpoint position of an area within the shooting range of the shooting device in the image is different from the viewpoint position of an area outside the shooting range.
2. An image processing method including a generation step in which an image processing device uses a three-dimensional model to generate an image to be displayed on a display device captured by a shooting device, wherein the viewpoint position of an area within the shooting range of the shooting device in the image is different from the viewpoint position of an area outside the shooting range.
3. A program for causing a computer to function as an image processing device, comprising a generation unit that generates an image to be displayed on a display device captured by a photographing device using a three-dimensional model, and configured so that the viewpoint position of an area within the photographing range of the photographing device in the image is different from the viewpoint position of an area outside the photographing range.
4. The program according to claim 3, wherein the viewpoint position of the area within the shooting range is the position of the shooting device, and the viewpoint position of the area outside the shooting range is determined based on the position of an actual object that exists within the shooting range.
5. The program according to claim 4, further comprising a determining step of, when the number of said real objects present within said shooting range is one, determining the position of said real object to be the viewpoint position of an area outside said shooting range.
6. The program according to claim 4, further comprising a determination step of, when a plurality of real objects exist within the shooting range, determining an average value of the positions of the plurality of real objects as the viewpoint position of an area outside the shooting range.
7. The program according to claim 6, wherein in the processing of said determination step, a weighted average value of the positions of said plurality of real objects is determined as the viewpoint position of an area outside said shooting range.
8. The program according to claim 7, wherein the weighting for each of the positions of the plurality of real objects used in calculating the weighted average value is set so as to be larger the closer the position of the real object is to the center of the shooting range.
9. The program according to claim 7, wherein the weighting for each of the positions of the plurality of real objects used in calculating the weighted average value is set so that the closer the position of the real object is to the image capturing device, the greater the weighting.
10. The program according to claim 7, wherein the weights for the positions of the plurality of real objects used in calculating the weighted average value are set to be larger as the size of the real object increases.
11. The program according to claim 7, wherein the weights for the positions of the plurality of real objects used in calculating the weighted average value are set to be larger as the reflectance of the real object increases.
12. The program according to claim 7, wherein the weighting for each of the positions of the plurality of real objects used in calculating the weighted average value is set to be larger as the importance of the real object in the shooting increases.
13. The program according to claim 3, wherein the generating unit smoothes the image in the time direction.
Citation Information
Patent Citations
Image processing system, image processing method and program
JP2021149679A
Network system
JP1998108151A
Image processing apparatus and image processing method
JP2009140296A
Immersive content production system with multiple targets
US20200145644A1
Image generation device and image generation method
WO2019123548A1
