Image processing apparatus, image processing method, virtual studio system, and computer readable medium
By obtaining light source information in real space and generating images that reflect its influence, it solves the problem of unnatural background images in traditional VFX technology, achieving more natural VFX video effects and reducing the need for post-production correction.
Patent Information
- Application Number
- CN202410227532.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-02
- Filing Date
- 2024-02-29
- Publication Date
- 2024-09-03
AI Technical Summary
Traditional in-camera VFX technology cannot effectively reflect the impact of light sources in real space on virtual space, resulting in unnatural background images.
By obtaining light source information in the real space and generating images reflecting the influence of the light source based on the three-dimensional model of the virtual space, the scene control device and the display control device are used to display these images on the display device to synchronize the camera's viewpoint and the display period of the display device. .
It achieves natural reflection of the influence of light sources, making the captured VFX video background images more natural and reducing the need for correction and time in post-production.
Smart Images

Figure CN118590732A
Abstract
Description
Technical Field
[0001] The invention relates to an image processing device, an image processing method and a virtual studio system. Background Art
[0002] The following method (in-camera VFX) is known, which is used to obtain a visual effects (VFX) video without synthesizing the background image and the captured image by capturing a subject with an image depending on the position and posture of the camera as a background (Japanese Patent 7190594).
[0003] The background image is generated as an image of the virtual space seen from the viewpoint of the camera that photographs the subject. On the other hand, in the real space (shooting scene) where the subject exists, there may be artificial light sources and natural light sources (such as the headlights of a vehicle, a handheld light source held by the subject, and a campfire, etc.). Conventionally, even in the case where the light emitted by the light source existing in the real space exerts an influence on the virtual space in this way, the generated background image does not change, and thus may feel unnatural. Summary of the invention
[0004] In view of such problems, the present invention provides, on one hand, an image processing device and an image processing method that enable the influence of a light source in a shooting scene to be reflected in a background image of an in-camera VFX video.
[0005] According to one aspect of the present invention, there is provided an image processing device, comprising: an acquisition component for acquiring information related to a light source existing in a real space captured by a camera device; and a generation component for generating an image to be displayed on a display device arranged in the real space based on a three-dimensional model of the virtual space, wherein the generation component generates an image reflecting the effect of light from the light source on the virtual space based on the information.
[0006] According to another aspect of the present invention, there is provided a virtual studio system, comprising: a camera device; an image processing device according to the present invention; and a display device configured to display the image.
[0007] According to another aspect of the present invention, there is provided an image processing method which is performed by an image processing device, the method comprising: acquiring information related to a light source existing in a real space captured by a camera device; and generating an image to be displayed on a display device arranged in the real space based on a three-dimensional model of the virtual space, wherein the generating comprises generating an image reflecting the influence of light from the light source on the virtual space based on the information.
[0008] According to an aspect of the present invention, there is provided a computer-readable medium storing a program which, when executed by a computer, causes the computer to function as an image processing apparatus according to the present invention.
[0009] Further features of the present invention will become apparent from the following description of exemplary embodiments (with reference to the attached drawings). BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 is a schematic diagram of a virtual studio system according to an embodiment.
[0011] Figure 2 It is shown Figure 1 A block diagram of an example functional configuration of a camera in FIG. 1 and the connection relationship between devices.
[0012] Figure 3 is a block diagram illustrating an example functional configuration of a scene control device.
[0013] Figure 4 It is a flowchart related to scene control operations.
[0014] Figure 5 An example of light source information stored in a scene control device is shown.
[0015] Figure 6 This is a flowchart related to a modified example of the scene control operation. DETAILED DESCRIPTION
[0016] Hereinafter, the embodiments will be described in detail with reference to the accompanying drawings. Note that the following embodiments are not intended to limit the scope of the claimed invention. A plurality of features are described in the embodiments, but are not limited to inventions requiring all such features, and a plurality of such features may be appropriately combined. In addition, in the accompanying drawings, the same reference numerals are assigned to the same or similar configurations, and redundant descriptions thereof are omitted.
[0017] First embodiment
[0018] Overview of Virtual Studio System
[0019] Figure 1 1 is a schematic diagram of a virtual studio system according to an embodiment. In the virtual studio 100, the camera 200 shoots an in-camera VFX video by shooting images of cars 400 and 401 serving as examples of real subjects, with images displayed on large screen display devices 310 and 320 (also referred to as LED walls) as backgrounds, for example. The shooting range 311 is an example of the range of the background image shot by the camera 200.
[0020] The viewpoint detection device 130 detects the viewpoint (position and posture) of the camera 200 based on the absolute coordinates of the marker 131 provided on the ceiling and the position of the marker 131 in the image of the ceiling captured by the viewpoint detection camera provided in the camera 200. Note that the position and posture of the camera 200 may be detected using any known method.
[0021] The scene control device 110 renders a three-dimensional model of a preset virtual space according to the viewpoint of the camera 200 detected by the viewpoint detection device 130, and generates a computer graphics (CG) background image at a predetermined frame rate. Note that in the case where the photographing direction of the camera 200 does not directly face the display device 310, the scene control device 110 applies a coordinate transformation (transformation processing) required to display the background image on the display device 310. This is similarly applicable to the background image displayed on the display device 320. The scene control device 110 outputs the generated background image to the display control device 120.
[0022] As will be described later, scene control device 110 acquires information about light sources (here, headlights of cars 400 and 401) existing in the photographed scene, and causes the influence exerted on the virtual space by light emitted by the light sources to be reflected to the background image.
[0023] The display control device 120 causes the display devices 310 and 320 arranged in the real space to display the background image to coincide with the imaging timing of the camera 200. When the display devices 310 and 320 are each composed of a plurality of display panels, the display control device 120 causes the background image to be displayed after being divided according to the number of display panels.
[0024] The lighting control device 140 controls the operation of the lighting device for illuminating the shooting scene, and here, controls the operation of the lighting device 350 for illuminating the cars 400 and 401 as real subjects.
[0025] The lighting control device 141 controls the operation of the light source present in the photographing scene. Here, the lighting control device 141 controls the operation of the headlights of the cars 400 and 401.
[0026] Note that the type of operation (turning on, turning off, brightness, color, etc.) of the lighting device or light source controlled by the lighting control devices 140 and 141 may vary depending on the type of the lighting device or light source.
[0027] The operation of the lighting control devices 140 and 141 is performed according to a predetermined sequence by the scene control device 110. Therefore, the operation of the lighting device 350 and the headlights of the cars 400 and 401 is substantially controlled by the scene control device 110.
[0028] The light source information acquisition device 145 detects information related to the presence or absence of a mobile light source within the shooting scene and its position, brightness, and illumination direction, and supplies the detected information to the scene control device 110. The mobile light source is, for example, a light source whose position and illumination direction cannot be known in advance (such as a light source held by a human subject, etc.). For example, the light source information acquisition device 145 is capable of detecting the information of the mobile light source by a known method based on the output of a position and posture sensor provided in the light source or the brightness information of the image of the shooting scene. Note that a plurality of cameras including a camera (not shown) different from the camera 200 may be used to acquire an image of the shooting scene. The light source information acquisition device 145 is also capable of acquiring information related to the lighting device 350 controlled by the lighting control device 140 from the lighting control device 140.
[0029] Note that static information (e.g., the type of light source, the diffusion pattern of light, etc.) included in the information about the light source whose three-dimensional position is fixed (fixed light source) and the information about the light source whose three-dimensional position is not fixed (mobile light source) may be pre-stored in the scene control device 110. Figure 1 , information about the headlights of cars 400 and 401 corresponds to information about the fixed light source. Note that the diffusion pattern of light is information indicating how the irradiation range of light extends according to the distance from the light source and how the intensity of light is distributed on the irradiation surface.
[0030] In addition, a synchronization signal is supplied from a reference clock generating device (also referred to as a synchronization generator) to the camera 200, the viewpoint detection device 130, the scene control device 110, and the display control device 120. As a result of the respective devices controlling the operation timing according to the reference clock, synchronization of the photographing period of the camera 200 and the display period of the display devices 310 and 320, etc., is achieved. Since a technique for synchronizing operations between devices based on a reference clock, such as generator lock (genlock), etc., is known, a detailed description thereof will be omitted.
[0031] Herein, cars 400 and 401, which are real objects existing between display devices 310 and 320 and camera 200, will be referred to as real subjects, and subjects included in the background image displayed on display devices 310 and 320 will be referred to as virtual subjects. Note that for the sake of convenience, it is assumed herein that the real subjects are two cars, but there is no limitation on the type of subjects or the number of types.
[0032] Figure 2 It is shown Figure 12 is a block diagram showing a connection relationship of the devices shown in FIG. 2 and an example functional configuration of the camera 200. Among the functional modules of the camera 200, the first optical system 210, the first camera unit 220, the image processing unit 230, and the recording unit 250 implement functions for shooting and recording VFX videos in the camera. In addition, the second optical system 260, the second camera unit 270, and the A / D conversion unit 280 implement functions for shooting images for detecting the viewpoint of the camera 200. In the following, unless otherwise specified, the first camera unit 220 and the second camera unit 270 shoot moving images with a predetermined frame rate.
[0033] The control unit 240 has a processor (CPU, MPU, microprocessor, etc.) capable of executing a program, a ROM, and a RAM. The control unit 240 controls the operation of each functional block of the camera 200 and implements the operation of the camera 200 described later by loading the program stored in the ROM into the RAM and executing the program. Note that, although not shown, the control unit 240 is communicatively connected to each functional block of the camera 200.
[0034] The viewing angle and the optical axis direction of the second optical system 260 are determined to capture an image of the marker 131 for viewpoint detection arranged on the ceiling of the studio. The viewing angle may be fixed or variable. The second camera unit 270 has an image sensor, and converts the optical image formed by the second optical system 260 into an analog image signal. Since the image for viewpoint detection may be any image that can acquire the image coordinates of the marker 131, color information is not required, and a monochrome image sensor may be used.
[0035] The A / D conversion unit 280 performs A / D conversion on the analog image signal output from the second imaging unit 270 to generate a digital image signal, and outputs the digital image signal to the viewpoint detection device 130 .
[0036] The first optical system 210 is an optical system for shooting in-camera VFX video. Therefore, the viewing angle and optical axis direction of the first optical system are determined to form optical images of real subjects 400 and 401 with the images displayed on the display devices 310 and 320 as the background. The viewing angle of the first optical system 210 may be variable.
[0037] The first camera unit 220 has an image sensor and converts the optical image formed by the first optical system 210 into an analog image signal. The image sensor included in the first camera unit 220 may be, for example, a known CCD or CMOS color image sensor having a Bayer primary color filter. The analog image signal output by the first camera unit 220 is supplied to the image processing unit 230.
[0038] The image processing unit 230 performs processing such as generating a signal and image data depending on an application, and acquiring and / or generating various information, by applying predetermined image processing to the analog image signal output by the first camera unit 220. The image processing unit 230 may be, for example, a dedicated hardware circuit (such as an application-specific integrated circuit (ASIC) designed to implement a specific function). Alternatively, the image processing unit 230 may be configured to implement a specific function as a result of a processor such as a digital signal processor (DSP) or a graphics processing unit (GPU) executing software.
[0039] The image processing applied by the image processing unit 230 may include, for example, preprocessing, color interpolation processing, correction processing, detection processing, data processing, evaluation value calculation processing, and special effect processing.
[0040] Pre-processing may include A / D conversion, signal amplification, reference level adjustment, and defective pixel correction.
[0041] Color interpolation processing is processing performed when an image sensor is provided with a color filter, and involves interpolating the values of color components not included in the respective pixel data constituting the image data. Color interpolation is also called demosaicing.
[0042] The correction process may include white balance adjustment, color tone correction, correction of image degradation caused by optical aberration of the first optical system 210 (image restoration), correction of the influence of peripheral dimming of the first optical system 210 , and color correction.
[0043] The detection process may include detecting a feature area or an area of a specific subject (eg, a face area or a body area), detecting movement of the area, and person recognition processing.
[0044] The data processing may include processing such as cutting out a region reduced in size (cropping), synthesis, scaling, encoding / decoding, and header information generation (data file generation), etc. The data processing may also include generating image data for display and image data for recording.
[0045] The evaluation value calculation process may include processes such as generating a signal and an evaluation value to be used in automatic focus detection (AF), and generating an evaluation value to be used in automatic exposure control (AE). The evaluation value to be used in AE is information related to the brightness of the shooting scene, and, for example, depending on the set exposure mode, the information may be related to the brightness of different parts of the shooting scene. For example, the information may reflect the brightness of the entire shooting scene, or may be related to the brightness of an area of a specific subject.
[0046] Special effect processing may include adding a bokeh effect, changing color tones, and relighting. Special effect processing also includes processing for causing the influence of a light source to be reflected to a background image, which will be described later.
[0047] Note that the above is an illustrative example of the processing that can be applied by the image processing unit 230, and does not limit the processing applied by the image processing unit 230. The image processing unit 230 outputs the acquired or generated information and data to the functional block corresponding to the application. For example, the image processing unit 230 outputs the image data for recording to the recording unit 250, and outputs the information related to the brightness of the shooting scene to the control unit 240.
[0048] The control unit 240 outputs the information about the brightness of the shooting scene acquired from the image processing unit 230 to the scene control device 110. In addition, the control unit 240 can perform an AE process to determine an exposure setting based on the information about the brightness of the shooting scene, and can control the operation of the first camera unit 220 according to the determined exposure setting. For example, the control unit 240 can determine the exposure setting so that the entire shooting scene is properly exposed, or so that a part of the area included in the shooting scene (for example, the area of the real subject) is properly exposed.
[0049] Note that the exposure setting is generally determined by a combination of an aperture value, a shutter speed (exposure time), and the sensitivity for shooting. Thus, the control unit 240 is able to determine a combination of the values of these three parameters as an exposure setting for obtaining a correct exposure. However, when the aperture value or the exposure time is changed during motion image photography, the depth of field changes and the distance that the moving subject moves between frames changes. Thus, in the AE processing of the present embodiment, the sensitivity for shooting is generally determined without changing the aperture value or the shutter speed.
[0050] Note that the focusing distance of the first optical system 210 is automatically adjustable as a result of the control unit 240 performing AF processing based on the evaluation value generated by the image processing unit 230. On the other hand, since the distance between the camera 200 and the ceiling is substantially constant, the focusing distance of the second optical system 260 can be adjusted by manual focus adjustment before image capture, and is not adjusted during image capture. Note that a configuration may be adopted in which the control unit 240 also performs automatic adjustment of the focusing distance of the second optical system 260 by AF processing by configuring the A / D conversion unit 280 similarly to the image processing unit 230.
[0051] Figure 3 is a block diagram showing an example functional configuration of the scene control device 110. The scene control device 110 may be implemented using a computer device, for example.
[0052] The control unit 1101 is, for example, a CPU, and implements the functions of the scene control device 110 by loading one or more application programs stored in the ROM 1109 into the RAM 1110 and executing the one or more application programs. Note that the control unit 1101 controls the operation timing of the scene control device 110 according to the synchronization signal supplied from the reference clock generating device.
[0053] The image processing circuit 1102 is, for example, a graphics board equipped with a GPU. The image processing circuit 1102 can perform image processing such as rendering of CG at high speed.
[0054] The first I / F 1103 to the sixth I / F 1108 are communication interfaces for connecting external devices. In the present embodiment, the camera 200 is connected to the first I / F 1103, the display control device 120 is connected to the second I / F 1104, and the viewpoint detection device 130 is connected to the third I / F 1105. In addition, the lighting control device 140 is connected to the fourth I / F 1105, the lighting control device 141 is connected to the fifth I / F 1107, and the light source information acquisition device 145 is connected to the sixth I / F 1108. Note that it is assumed that the first I / F 1103 to the sixth I / F 1108 conform to a standard depending on the type of external device connected and the type of signal communicated. For convenience, the scene control device 110 and the respective external devices are shown as being connected through one I / F, but a plurality of I / F connections may be used.
[0055] The control unit 1101 acquires captured image data and information related to the brightness of the captured scene from the camera 200 through the first I / F 1103. In addition, the control unit 1101 acquires information related to the viewpoint of the camera 200 from the viewpoint detection device 130 using communication through the third I / F 1105. The control unit 1101 outputs display image data (background image data) to the display control device through the second I / F 1104. In addition, the control unit 1101 outputs a control signal to the lighting control device 140 through the fourth I / F 1106, and outputs a control signal to the lighting control device 141 through the fifth I / F 1107. In addition, the control unit 1101 acquires information related to the light source existing in the real space from the light source information acquisition device 145 through the sixth I / F 1108. Note that the scene control device 110 may have seven or more communication interfaces with external devices.
[0056] The ROM 1109 stores a part of the program (BIOS, boot loader, firmware) executed by the control unit 1101 , setting values of the scene control device 110 , and the like.
[0057] In addition to being used as a main memory of the control unit 1101 , the RAM 1109 is also used as a work memory of the image processing circuit 1102 and as a video memory of the display unit 1112 .
[0058] The storage unit 1111 is a large-capacity storage device such as a hard disk or an SSD. The storage unit 1111 stores basic software (OS), application programs, user data, etc. An application program (e.g., a game engine application) for generating a background image corresponding to the viewpoint of the camera 200 and data required for generating the background image (a 3D model of a virtual space, a texture, etc.) are also stored in the storage unit 1111.
[0059] The display unit 1112 is, for example, a liquid crystal display device. The display unit 1112 may be a touch display. The display unit 1112 displays a scene control application, a background image generation application (eg, a game engine application), and a GUI provided by the OS.
[0060] The operation unit 1113 has a plurality of input devices operable by a user, such as a keyboard, a mouse, and a touch panel, etc. In the case where the display unit 1112 is a touch display, a touch panel is a constituent element of the operation unit 1113 .
[0061] In this embodiment, the scene control device 110 generates a background image in which the influence of the light source existing in the shooting scene (real space) on the virtual space has been reflected. Figure 4 The flowchart shown is used to describe the scene control operation of the scene control device 110.
[0062] Note that since the following series of processes required to shoot an in-camera VFX video can be performed by a known method, a detailed description of the corresponding processes will be omitted.
[0063] Processing for detecting the viewpoint (position and posture) of the camera 200 by the viewpoint detection device 130 using the image of the marker 131
[0064] Processing for generating a background image by the scene control device 110 according to the detected viewpoint of the camera 200 (this processing does not take into account the influence of the light source in the shooting scene)
[0065] Processing for controlling display of a background image on display devices 310 and 320 by display control device 120
[0066] Furthermore, the scene control device 110 controls the brightness (including extinguishing) of the lighting device 350 through the lighting control device 140 based on the lighting pattern pre-set according to the time (timeline) elapsed from the start of image capture. Similarly, the scene control device 110 also controls the lighting / extinguishing of the headlights of the cars 400 and 401 through the lighting control device 141. Note that switching between low beam and high beam, left flash and right flash, etc. of the cars 400 and 401 can also be controllable.
[0067] In the following description, the operations performed by the scene control device 110 are actually implemented by the control unit 1101 executing an appropriate application program.
[0068] In step S401 , the scene control device 110 acquires information about the viewpoint (position and posture) of the camera 200 detected by the viewpoint detection device 130 .
[0069] In step S402, the scene control device 110 generates a CG background image by rendering a 3D model of a virtual space using the viewpoint and viewing angle of the camera 200. The background image generated at this stage does not take into account the light source existing in the real space (shooting scene). The scene control device 110 stores the generated background image in the RAM 1110.
[0070] In step S403, the scene control device 110 acquires light source information from the light source information acquisition device 145. The light source information acquisition device 145 supplies the scene control device 110 with the number of light sources (real light sources) existing in the shooting scene and, if there are real light sources, with information on each light source.
[0071] The light source information acquired by the light source information acquisition device 145 is information related to the actual light source that cannot be acquired by the scene control device 110. Specifically, the light source information is information related to the actual light source that the scene control unit 110 does not control or cannot control and information that cannot be determined in advance.
[0072] For example, the real light sources that the scene control unit 110 does not control or cannot control include, but are not limited to, the light sources that the real subjects autonomously control (e.g., lights operated by human subjects). In addition, for example, the information that cannot be determined in advance includes, but is not limited to, items that can be dynamically changed (e.g., posture or illumination direction) included in the information of fixed light sources. Natural light sources such as campfires are real light sources that the scene control device 110 does not control and cannot control, but as long as information such as location and type is determined in advance, the light source information acquisition device 145 does not need to detect the information (the information can be detected).
[0073] The light source information acquisition device 145 is capable of detecting information related to a real light source using various methods. For example, information related to a mobile light source can be detected by communicating with a mobile light source (or a sensor provided in the mobile light source). For example, the three-dimensional position and posture (irradiation direction) of the mobile light source can be detected by communicating with the mobile light source or a position and posture sensor provided in the mobile light source. Note that the sensor is configured to transmit information in association with a unique ID so that it is possible to specify which real light source the acquired information is related to.
[0074] In addition, the light source information acquisition device 145 can use the image of the shooting scene to detect information related to the real light source. For example, an area whose brightness is greater than or equal to a threshold value is extracted from the image of the shooting scene shot by multiple cameras with different shooting directions and known three-dimensional positions and postures, and the three-dimensional position of the real light source and its posture (irradiation direction) can be detected based on the correspondence between the images.
[0075] The scene control unit 110 also refers to the ROM 1109 to obtain pre-stored static light source information. Figure 5 1109 is a diagram showing an example of light source information stored in ROM 1109. ID is identification information assigned to each real light source. Here, ID is a serial number, but can be any unique information of the real light source. Type information for specifying whether the light source is a mobile light source or a fixed light source is included for each real light source. Here, the real light source with ID 2 is a mobile light source, and the other real light sources are fixed light sources.
[0076] The type of light source is mainly information for identifying whether the light source is an artificial light source or a natural light source. The position is indicated by three-dimensional coordinates. The origin of the three-dimensional coordinates is predetermined. In addition, the posture (irradiation direction) is the xyz component of the vector indicating the direction. In addition, color temperature and brightness are general light source information. Multiple types of diffusion patterns are predefined, and the type corresponding to the light source is stored as light source information. Figure 5 Blank items in indicate dynamic information or the absence of corresponding information.
[0077] Notice, Figure 5 The light source information shown is merely an illustrative example, and the type of item and the format of the information stored for each item can be appropriately changed. As long as the information required to determine whether the light irradiated from each real light source has an impact on the background image (i.e., an impact on the virtual space represented by the background image) is obtained, there is no limitation on the items and contents of the light source information detected by the light source information acquisition device 145 and the light source information stored in the ROM 1109.
[0078] return Figure 4In step S405, the scene control unit 110 maps the light emitted by each real light source to the virtual space based on the light source information acquired in step S403. Specifically, the scene control device 110 calculates the three-dimensional range of the light emitted by each real light source. Then, the scene control device 110 maps the three-dimensional range to the virtual space in a manner that regards the shooting scene (real space) as a part of the virtual space represented by the three-dimensional model used in generating the background image.
[0079] At this time, for example, the reaching distance of the light can be calculated as the distance at which the light decays in the air to a predetermined brightness. For example, the predetermined brightness can be a constant value or can be the current brightness of the virtual studio. For example, the current brightness of the virtual studio can be obtained as the average brightness of the shooting scene obtained from the camera 200 or the average brightness obtained by the image processing unit 240 from the shooting image of the camera 200.
[0080] In step S407, the scene control device 110 determines whether there is a real light source that affects the background image based on the illumination range mapped in step S405. Specifically, the scene control device 110 determines that the real light source whose illumination range intersects with the display surfaces of the display devices 310 and 320 is the real light source that affects the background image. Alternatively, the scene control device 110 determines that the real light source that emits light that reaches the display surfaces of the display devices 310 and 320 is the real light source that affects the background image. The scene control device 110 executes step S409 when it is determined that there is a real light source that affects the background image, and executes step S413 when it is not determined that there is such a real light source.
[0081] In step S409, the scene control device 110 calculates the range of the affected background image and the change values of saturation and brightness for each real light source that exerts an influence on the background image. Specifically, the scene control device 110 calculates the area of the display surface that intersects with the illumination range of the real light source as the range of the background image affected by the real light source. In addition, based on the brightness distribution in the area of the display surface that intersects with the illumination range of the real light source and the color temperature of the real light source, the scene control device 110 calculates the change amount of saturation and brightness as the influence exerted by the real light source for each pixel of the background image. Note that these calculation methods are examples, and other methods can be used for calculation.
[0082] In step S411 , the scene control device 110 applies the variation of saturation and brightness to the pixel values of the area affected by the real light source in the background image generated in step S402 , so that the influence of the real light source is reflected on the background image.
[0083] In step S413, the scene control device 110 outputs the data of the background image to the display control device 120. Note that, in the case where the imaging direction of the camera 200 does not directly face the display devices 310 and 320, the scene control device 110 outputs the data of the background image to the display control device 120 after applying a process for transforming the background image into an image viewed from a position directly facing the display devices 310 and 320. The display control device 120 causes the display devices 310 and 320 to display the data of the background image generated by the scene control unit 110.
[0084] In step S415, the scene control unit 110 determines whether to end the image capture. The scene control unit 110 can determine that the image capture is to be ended, for example, when the image capture according to the predetermined timeline is completed or when the user instructs to end the image capture through the operation unit 1113. If it is determined that the image capture is to be ended, the scene control device 110 ends the scene control operation, and if it is not determined that the image capture is to be ended, the scene control device 110 performs the operation from step S401 again.
[0085] By adopting such a configuration, the scene control device 110 can make the influence of the light emitted by the light source (real light source) existing in the shooting scene be reflected to the background image. Therefore, it becomes possible to shoot more natural in-camera VFX clips, and the time and effort required for correction in post-production can be eliminated.
[0086] Here, the case where the background image generated in step S402 is a CG image is described. However, the above processing is also similarly applicable to the case where the background image generated in step S402 is a captured image. In this case, the viewpoint of the camera that captures the background image is synchronized with the viewpoint of the camera 200. In addition, the video of the captured background image is supplied from the camera to the display control device 120. Then, the processing described in steps S409 and S411 only needs to be applied to the real light source whose irradiation range intersects with the display surface of the display devices 310 and 320.
[0087] Modifications
[0088] Next, we will use Figure 6 The flowchart shown in the figure describes a variation of the scene control operation. Figure 4 In the described scene control operation, the background image generated without considering the real light source includes the influence of the real light source. In contrast, in the variant, the background image is generated after adding the real light source as a virtual light source.
[0089] exist Figure 6 In, execute Figure 4 The steps described in the operation are used with Figure 4In the modified example, the scene control device 110 performs step S401 and then performs step S403 without performing step S402 to obtain light source information.
[0090] Then, in step S404, the scene control device 110 adds the virtual light source based on the light source information to the virtual light source used when rendering the three-dimensional model of the virtual space. This is equivalent to mapping the real light source to the virtual space. The scene control device 110 can add the real light source as the virtual light source by setting the light source parameters required by the application for generating the background image based on the light source information obtained in step S403.
[0091] Note that in this modification, the three-dimensional model of the virtual space includes virtual objects existing in the virtual space, and additionally includes virtual objects obtained by mapping real objects existing in the real space onto the virtual space. This is because the shadows of the real objects that reach the display surfaces of the display devices 310 and 320 are reflected in the background image.
[0092] In the modified example, it is not determined whether there is a real light source that exerts an influence on the background image. This is because any influence of the real light source is included in the background image by rendering, and thus determination of such a real light source is not required. However, in order to reduce the rendering load, the following configuration may be adopted: Figure 4 The process is similar to step S405 and step S407 in , and only the real light source that affects the background image is added as a virtual light source.
[0093] In step S412, the scene control device 110 generates a background image. Since the real light source is added as a virtual light source in step S404, the background image including any influence of the real light source is generated.
[0094] Since the processing from step S413 is as follows Figure 4 As described above, its description will be omitted.
[0095] In this variant, a background image is generated by rendering a three-dimensional model of a virtual space to which a real light source is added as a virtual light source. Thus, when light from the real light source hits an object (virtual object) in the virtual space, the shadow (shade and shadow) produced by the light from the real light source is also reflected in the background image.
[0096] In addition, for the three-dimensional model in which the shooting scene (real space) is also a part of the virtual space, a background image is generated by rendering the image observed on the display surface of the display devices 310 and 320. Therefore, a background image of the part of the display surface that reaches the display devices 310 and 320 that reflects the shadow of the real object is obtained. For example, in a scene where the position of the light source is low and a long shadow is projected (such as a morning and night scene, etc.), it becomes possible to generate a more natural background image.
[0097] As described above, according to this embodiment, the influence of light from the light source existing in the shooting scene (real space) is included in the background image (virtual space image) used for shooting in-camera VFX video. Therefore, it becomes possible to shoot more natural in-camera VFX video.
[0098] Other embodiments
[0099] Furthermore, in the above-described embodiment, a configuration is described in which the scene control device 110 , the display control device 120 , and the lighting control devices 140 and 141 are separate devices. However, the scene control device 100 may have the functions of the display control device 120 and the lighting control device 140 .
[0100] The embodiments of the present invention may also be implemented by providing software (program) for performing the functions of the above-described embodiments to a system or device via a network or various storage media, and a computer or a central processing unit (CPU) or a microprocessing unit (MPU) of the system or device reads and executes the program.
[0101] While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments.The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
Claims
1. An image processing device, comprising: An acquisition component, used to acquire information related to a light source existing in a real space captured by the camera device; as well as a generating means for generating an image to be displayed on a display device arranged in the real space based on the three-dimensional model of the virtual space, The generating unit generates an image reflecting the influence of the light from the light source on the virtual space based on the information.
2. The image processing device according to claim 1, further comprising: a judging component, used to judge whether the light emitted by the light source exerts an influence on the virtual space, When it is determined that the light has an influence on the virtual space, the generating unit generates an image reflecting the influence of the light.
3. The image processing device according to claim 2, in, When it is determined that the light reaches the display surface of the display device, the determination unit determines that the light affects the virtual space.
4. The image processing device according to any one of claims 1 to 3, in, The generating means generates an image reflecting the influence exerted by the light by changing the brightness and saturation of the region of the image illuminated by the light.
5. The image processing device according to any one of claims 1 to 3, in, The generating means generates the image by rendering the three-dimensional model of the virtual space using the viewpoint of the camera device, and The generating means generates an image reflecting the influence of the light on the virtual space by mapping the light source onto the virtual space and rendering the three-dimensional model.
6. The image processing device according to claim 5, in, The effects include shadows that appear in virtual objects present in the virtual space due to the light source.
7. The image processing device according to claim 5, in, The effects include shadows of real objects caused by the light source.
8. The image processing device according to any one of claims 1 to 3, in, The information about the light source includes at least the three-dimensional position among the three-dimensional position of the light source, the posture or irradiation direction of the light source, the brightness of the light source, and the type of the light source.
9. The image processing device according to claim 8, in, The acquisition means acquires the three-dimensional position of the light source based on an image of the real space captured by an imaging device different from the imaging device.
10. The image processing device according to claim 8, in, The acquisition section acquires the three-dimensional position and posture of the light source based on an output of a sensor provided in the light source.
11. The image processing device according to claim 8, in, The acquisition section acquires information related to the light source from a control device configured to control an operation of the light source.
12. The image processing device according to claim 8, in, At least a portion of the information related to the light source is pre-stored.
13. A virtual studio system, comprising: Camera equipment; The image processing device according to any one of claims 1 to 12; as well as A display device is configured to display the image.
14. An image processing method, which is performed by an image processing device, the image processing method comprising: Acquiring information related to light sources existing in a real space captured by a camera device; as well as generating an image to be displayed on a display device arranged in the real space based on the three-dimensional model of the virtual space, The generating includes generating an image reflecting the effect of the light from the light source on the virtual space based on the information. 15 . A computer-readable medium storing a program which, when executed by a computer, causes the computer to function as the image processing apparatus according to claim 1 .
