Image processing device, image processing method, image processing system, and program.

The image processing device addresses the issue of obstructed views in virtual viewpoint images by using positional relationships to determine color information from non-obstructed camera positions, ensuring accurate color reproduction and improved image clarity.

JP7536531B2Active Publication Date: 2024-08-20CANON KK
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2020114814
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-07-02
Publication Date
2024-08-20
Estimated Expiration
2040-07-02

AI Technical Summary

Technical Problem

Existing virtual viewpoint image generation technologies face issues when structures block the object's view, leading to unnatural coloration and difficulty in understanding player movements and details, especially when a real camera captures images from a position close to the virtual camera.

Method used

An image processing device that generates virtual viewpoint images by determining the appropriate color information based on positional relationships between the virtual viewpoint, structures, and objects, using images from cameras positioned to avoid obstruction, and employing color information from internal or external cameras as needed.

Benefits of technology

Ensures accurate color reproduction of objects in virtual viewpoint images even when structures obstruct the view, enhancing the realism and clarity of the image.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007536531000004
    Figure 0007536531000004
  • Figure 0007536531000009
    Figure 0007536531000009
  • Figure 0007536531000010
    Figure 0007536531000010
Patent Text Reader

Abstract

To provide an image processing device, an image processing method, an image processing system, and a program, which appropriately reproduce the color of an object in a virtual viewpoint image even when a structure blocking the object exists.SOLUTION: In an image processing system, a server for generating a virtual viewpoint image corresponding to a virtual viewpoint by performing rendering processing using three-dimensional shape data of an object includes: a processing method determination section for determining a processing method for coloring of the object in the rendering processing; and a rendering section for coloring of the object according to the determined processing method. The processing method determination section determines whether to acquire color information for coloring from an image included in a plurality of first picked-up images or to acquire it from a second picked-up image obtained by imaging with a second imaging device arranged at a position where the object can be imaged without being blocked by a structure on the basis of a positional relationship among the virtual viewpoint, the structure, and the object.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to coloring a three-dimensional model of an object when generating a virtual viewpoint image. [Background technology]

[0002] Recently, a technology that generates a virtual viewpoint image that represents the view from a virtual camera (virtual camera) that does not exist in reality by using the multiple viewpoint images obtained by installing multiple real cameras (real cameras) at different positions and synchronously capturing images from multiple viewpoints has been attracting attention. With this virtual viewpoint image, for example, a highlight scene of a soccer or basketball game can be viewed from various angles, which gives the user a high sense of realism compared to normal video.

[0003] In generating a virtual viewpoint image, first, images captured by multiple real cameras are collected on a server or the like, and a three-dimensional model of an object (subject) in the image is generated. Then, this three-dimensional model is colored (texture is applied) based on a specified virtual viewpoint, and a two-dimensional transformation such as a projective transformation is further performed to obtain a two-dimensional virtual viewpoint image. In the above generation process, a viewpoint-dependent texture mapping method is often used for coloring the three-dimensional model (Non-Patent Document 1). In viewpoint-dependent texture mapping, when determining the color of a point of interest on an object, the colors of corresponding points on the captured images of multiple real cameras are blended with weighting. In this way, discontinuity in color changes caused by color differences between captured images corresponding to each viewpoint, errors in the three-dimensional model shape, camera parameters, etc. are suppressed, and a more natural texture expression is realized. [Prior art documents] [Non-patent literature]

[0004] [Non-Patent Document 1] PEDebevec, CJ Taylor, and J. Malik: “Modeling and Rendering Architecture from Photographs: A Hybrid Geometry-and Image-Based Approach,” SIGG RAPH'96, pp. 11-20, 1996. Summary of the Invention [Problem to be solved by the invention]

[0005] In the viewpoint-dependent texture mapping, an image captured by a real camera located near the virtual camera is used. Therefore, if there is a structure between the virtual camera and the object, the color of the structure is used to color the object, which may result in an unnatural appearance. For example, in a soccer game, if a real camera located near the virtual camera captures a player through a goal net, a texture including the goal net is pasted onto the 3D model. A virtual viewpoint image with such coloring not only differs from the actual appearance, but also has the problem that the movement and details of the player are difficult to understand. In addition, if a virtual camera is set at a position where the player is viewed from inside the goal, the texture of the goal net, which should not be visible from the virtual camera, is pasted onto the 3D model of the player, resulting in an unnatural virtual viewpoint image.

[0006] The technology disclosed herein has been made in consideration of the above-mentioned problems, and its purpose is to appropriately reproduce the color of an object in a virtual viewpoint image even when a structure that obstructs the object is present. [Means for solving the problem]

[0007] The image processing device according to the present disclosure is an image processing device that performs a rendering process using shape data representing a three-dimensional shape of an object to generate a virtual viewpoint image corresponding to a virtual viewpoint, and is equipped with a determination means for determining a processing method for coloring the object in the rendering process, and a rendering means for coloring the object in accordance with the determined processing method, wherein the shape data is generated based on a plurality of first captured images obtained by capturing images using a plurality of first imaging devices arranged around an imaging target area, and a structure is present in the imaging target area, and the determination means determines whether color information for the coloring should be obtained from an captured image included in the plurality of first captured images, or from a second captured image obtained by capturing images using a second imaging device arranged in a position where the object can be captured without being obstructed by the structure, based on the positional relationship between the virtual viewpoint, the structure, and the object. Effect of the Invention

[0008] According to the technology of the present disclosure, even if a structure that blocks an object is present, the color of the object can be appropriately reproduced in a virtual viewpoint image. [Brief description of the drawings]

[0009] [Figure 1] FIG. 1 is a block diagram showing an example of the configuration of an image processing system. [Diagram 2] FIG. 2 is a diagram showing an example of the arrangement of imaging modules. [Diagram 3] FIG. 2 is a diagram illustrating an example of a hardware configuration of a server. [Figure 4] FIG. 2 is a block diagram showing the functional configuration of a server. [Diagram 5] FIG. 13 is a diagram showing an example of virtual camera settings. [Figure 6] FIG. 4 is a diagram showing an imaging range of a virtual camera. [Figure 7] 11 is a flowchart showing the flow of a rendering process. [Figure 8] 1A and 1B are diagrams for explaining the positional relationship between an object and each camera. [Figure 9] 13A and 13B are diagrams showing an example of a result of a rendering process. [Figure 10] FIG. 13 is a diagram showing the position of the virtual camera at which coloring using an image captured by an external camera is not possible. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Note that the following embodiment does not limit the present invention, and not all of the combinations of features described in the present embodiment are necessarily essential to the solution of the present invention. Note that the same components will be described with the same reference numerals.

[0011] [Embodiment 1] (Basic system configuration) FIG. 1 is a block diagram showing an example of the configuration of an image processing system according to this embodiment. The image processing system 100 includes imaging modules 110a to 110j and 120, a switching hub 115, a server 116, a database (DB) 117, a control device 118, and a display device 119. In each of the imaging modules 110a to 110j, cameras 111a to 111j and camera adapters 112a to 112j are connected by internal wiring (a to j are ten units: a, b, c, d, e, f, g, h, I, and j). Similarly, in the imaging module 120, a camera 121 and a camera adapter 122 are connected by internal wiring. Each of the imaging modules 110a to 110j and 120 transmits data by a network cable. A switching hub (hereinafter, referred to as "HUB") 115 is a device that performs routing between each network device. The imaging modules 110a to 110j and 120 are connected to the HUB 115 by network cables 113a to 113k. Similarly, the server 116 and the control device 118 are connected to the HUB 115 by network cables 113l and 113n, respectively. The server 116 and the Db 117 are connected by a network cable 113m. The control device 118 and the display device 119 are connected by a video cable 114. The cameras 111a to 111j and 121 capture images in high-precision synchronization with each other based on a synchronization signal. In this embodiment, the imaging modules 110a to 110j are installed so as to surround the soccer field, which is the imaging target area, as shown in FIG. 2(a). FIG. 2(a) is a diagram of the field as viewed from directly above, and the imaging modules 110a to 110j are installed at a certain constant and the same height from the ground. On the other hand, the imaging module 120 is installed from inside the soccer goal, which is a structure whose position is fixed, toward the center of the field (i.e., toward the direction in which objects such as players are present), as shown in Fig. 2(b). Note that Fig. 2(b) is an enlarged view of the part surrounded by the dashed line in Fig. 2(a).In the following description, the imaging modules 110a to 110j installed around the field are referred to as "external cameras," and the imaging module 120 installed inside the soccer goal is referred to as "internal camera." Note that, in this embodiment, the number of external cameras 110 is 10, and the number of internal cameras 120 is 1, but this is merely an example and is not limiting.

[0012] The server 116 processes the captured image transmitted from the external camera 110, generates a three-dimensional model of the object, and colors the generated three-dimensional model (also called "texture pasting" or "texture mapping"). In this embodiment, the object for which a three-dimensional model is generated is a moving object such as a player or a ball. Here, the "three-dimensional model" means shape data that represents the three-dimensional shape of the object. The server 116 also has a time server function that generates a time synchronization signal for time synchronization of the present system. The database (hereinafter, referred to as "DB") 117 accumulates data such as image data processed by the server 116 and the generated three-dimensional model, and provides the accumulated data to the server 116. The control device 118 is an information processing device that controls the external camera 110, the internal camera 120, and the server 116. The control device 118 is also used for setting the virtual camera (virtual viewpoint). The display device 119 displays a setting user interface screen (UI screen) for the user to specify a virtual viewpoint in the control device 118, and a UI screen for viewing the generated virtual viewpoint image.

[0013] (Image processing system operation) Next, the general operation of the image processing system 100 will be described. The captured image obtained by the external camera 110a is subjected to predetermined image processing such as foreground / background separation, and then transmitted to the external camera 110b. Similarly, the external camera 110b transmits the captured image obtained by the external camera 110b together with the captured image received from the external camera 110a to the external camera 110c. By continuing such an operation, 10 sets of captured images (including the foreground image) are transmitted from the external camera 110j to the HUB 115, and then transmitted to the server 116. Moreover, the captured image obtained by the internal camera 120 is subjected to predetermined image processing such as foreground / background separation, and then transmitted to the server 116 via the HUB 115.

[0014] The server 116 performs generation of a three-dimensional model of an object and rendering processing based on captured image data from different viewpoints (hereinafter referred to as "multiple viewpoint image data") acquired from the external camera 110j and the internal camera 120. The server 116 also transmits a time and a synchronization signal to each of the external cameras 110a-110j and the internal camera 120. Having received the time and synchronization signal, each of the external cameras 110a-110j and the internal camera 120 performs image capture using the received time and synchronization signal, and performs frame synchronization of the captured images. That is, each of the external cameras 110 and the internal camera 120 captures images in frame units in synchronization with the same time.

[0015] (Server hardware configuration) Next, the hardware configuration of the server 116 that generates the virtual viewpoint image will be described with reference to Fig. 3. Each device such as the DB 117, the control device 118, and the camera adapters 112 and 122 basically has the same hardware configuration. The server 116 has a CPU 201, a ROM 202, a RAM 203, an auxiliary storage device 204, a communication I / F 205, and a bus 206.

[0016] The CPU 201 uses programs and data stored in the ROM 202 and the RAM 203 to control the entire server 116, and realizes each functional unit shown in FIG. 4 described later. The server 116 may have one or more dedicated hardware pieces different from the CPU 201, and at least a part of the processing by the CPU 201 may be executed by the dedicated hardware pieces. Examples of the dedicated hardware pieces include an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), and a DSP (Digital Signal Processor). The ROM 202 stores programs that do not require modification. The RAM 203 temporarily stores programs and data provided from the auxiliary storage device 204, and data provided from the outside via the communication I / F 205. The auxiliary storage device 204 is composed of, for example, an HDD or SSD, and stores various data and programs, such as input data such as image data and audio data, tables referenced in various processing described later, and various application programs. The communication I / F 205 is used for communication with an external device. For example, when the server 116 is connected to an external device by wire, a communication cable is connected to the communication I / F 205. When the server 116 has a function of wirelessly communicating with an external device, the communication I / F 205 is provided with an antenna. The bus 206 connects the above-mentioned components to transmit data and signals. In this embodiment, the server 116 generates a virtual viewpoint image based on information (virtual viewpoint information) indicating the position and attitude of a virtual camera (virtual viewpoint) set by the control device 118, and the user views the generated image on the display device 119. However, the system configuration is not limited to this, and for example, a single information processing device having both a user interface function for inputting virtual viewpoint information and a user interface function for viewing a virtual viewpoint image may be incorporated.

[0017] (Server Functionality Configuration) FIG. 4 is a block diagram showing the functional configuration of the server 116 as an image processing device that generates a three-dimensional model of an object and performs rendering processing based on virtual viewpoint information according to this embodiment. The server 116 has a three-dimensional model generating unit 401, a processing method determining unit 402, and a rendering unit 403. The server 116 realizes the functions of each unit shown in FIG. 4 by the CPU 201 executing a predetermined program stored in the RAM 203 or the ROM 202. In this embodiment, the server 116 is configured to realize the functions of each unit described above by one server 116, but the functions of each unit may be realized in a distributed manner by a plurality of servers. For example, the server may be divided into a server that performs the function of the three-dimensional model generating unit 401 and a server that performs two functions, that is, the processing method determining unit 402 and the rendering unit 403.

[0018] The data of multiple viewpoint image data (images captured corresponding to multiple viewpoints by synchronous shooting) input to the server 116 is first input to a three-dimensional model generating unit 401 .

[0019] The three-dimensional model generating unit 401 first extracts silhouettes of objects from each captured image with different viewpoints. Then, using the obtained silhouette images (foreground images) and the camera parameters of each external camera 110 input separately, a three-dimensional model is generated as shape data representing the three-dimensional shape of the object by a visual volume intersection method or the like. The camera parameters include external parameters, internal parameters, and distortion parameters. The internal parameters refer to parameters representing the focal length and the optical center called the principal point. The external parameters are parameters representing the position and line of sight of the camera, and the rotation angle around the line of sight. The distortion parameters are coefficients representing radial image distortion caused by differences in the refractive index of the lens, and circumferential distortion caused by the lens and the image plane not being parallel. In this embodiment, a soccer game in which multiple players move around on a vast field is assumed as the captured scene. That is, the three-dimensional model generated by the three-dimensional model generating unit 401 is data representing the three-dimensional shape of each object, such as the player and the ball. In the three-dimensional model of each object, the three-dimensional shape is expressed as a collection (lump) of unit cubes called voxels, for example. It should be noted that the three-dimensional shape may be expressed in other formats, such as a point cloud format or a polygon format, instead of the voxel format.

[0020] The processing method determination unit 402 determines the processing method at the time of rendering based on the virtual viewpoint information indicating the position and posture of the virtual camera, the position information of the structures existing in the captured scene, and the position information of the objects such as players. Specifically, the mutual positional relationship between the virtual camera, the structures, and the objects is analyzed, and it is determined whether to use the color information (texture information) of the captured image of the external camera 110 or the color information of the captured image of the internal camera 120 for coloring the three-dimensional model. "Coloring the three-dimensional model" can be rephrased as a process of selecting pixels of the captured image based on the three-dimensional positions of the voxels constituting the three-dimensional model and determining the pixel value in the virtual viewpoint image. Here, the virtual viewpoint information is generated by the control device 118, for example, when the user sets a virtual camera in the captured space using a joystick or the like, and is input from the control device 118 to the server 116. The structures existing in the captured scene are stationary objects that are installed in the captured space and do not move unless an external force is applied, and in this embodiment, soccer goals including a goal net are assumed. Since the positions of the structures are fixed, it is sufficient to acquire the position coordinates in advance at a timing such as before the start of the match and store them in the auxiliary storage device 204 or the like. The position information of the object is generated when the above-mentioned 3D model is generated and is acquired from the 3D model generation unit 401. Note that the position information of the structure or object includes position coordinates (world coordinates) that specify the 3D position in the imaging space and information that specifies the size.

[0021] The rendering unit 403, in accordance with the rendering processing method determined by the processing method determination unit 402, applies color (applies texture) to the three-dimensional model generated by the three-dimensional model generation unit 401 based on the virtual viewpoint information, thereby generating an image that represents the appearance from the virtual viewpoint.

[0022] (Details of the rendering process) Next, the rendering process in this embodiment will be described in detail with a specific example. FIG. 5 is a diagram showing a bird's-eye view from directly above the field of the camera arrangement when the virtual camera 303 is set at a position in FIG. 2 so as to capture the goalkeeper 302 over the soccer goal 301. FIG. 6 shows the field of view (angle of view) from the virtual camera 303. As is clear from FIG. 6, when the goalkeeper 302 is viewed from the virtual camera 303, the goal net 301a of the soccer goal 301 is present so as to block the goalkeeper 302. Assuming such a case, the operation of the processing method determination unit 402 and the rendering unit 403 of the server 116 will be described with reference to the flowchart shown in FIG. 7. Note that the series of processes shown in the flowchart in FIG. 7 are realized by the CPU 201 expanding a predetermined control program stored in the auxiliary storage device 204 into the RAM 203 and executing the program when the generation of the three-dimensional model of the object is completed in the three-dimensional model generation unit 401. 7, the processes of S707, S708, S710, and S711 are performed by the rendering unit 403, and the remaining steps are performed by the processing method determination unit 402. In the following description, the symbol "S" represents a step.

[0023] In S701, from among one or more objects present in the field of view (angle of view) of a virtual camera specified by virtual viewpoint information input from the control device 118, an object of interest to be subjected to rendering processing is determined.

[0024] In the next S702, a nearby outer camera existing within a certain range of the virtual camera is determined from among the outer cameras 110a to 110j. The position of the virtual camera is specified by the above-mentioned virtual viewpoint information, and the position of each of the outer cameras 110a to 110j is specified by the above-mentioned camera parameters. Here, it is assumed that one outer camera located closest to the set virtual camera is selected. Specifically, one outer camera whose field of view (angle of view) overlaps the field of view (angle of view) of the virtual camera at the highest rate is selected from among the ten outer cameras 110a to 110j. For example, in the case of the virtual camera 303 set at the position shown in FIG. 5, the outer camera 110f is selected. FIG. 8(a) is a diagram showing the positional relationship of the goalkeeper 302, the soccer goal 301, the outer camera 110f, the inner camera 120, and the virtual camera 303 in the camera arrangement shown in FIG. 5, as viewed from the longitudinal side of the field. FIG. 8(b) is a diagram showing the positional relationship when the virtual camera 303' is set at a position inside the goal net 301a on the extension line of the optical axis direction of the virtual camera 303. In both cases of FIG. 8(a) and (b), the field of view of the virtual cameras 303 and 303' largely overlaps with the field of view of the outer camera 110f. In this way, when the outer camera located closest to the virtual camera is determined, the process proceeds to S703. Note that, in this embodiment, only one nearest outer camera is determined, but this is not limited to this. For example, multiple outer cameras within a certain range of the virtual camera may be determined, and the following process may be performed by weighting each of them according to the distance from the virtual camera.

[0025] In S703, a voxel of interest to be colored is determined from among voxels constituting the three-dimensional model of the object of interest. The voxel of interest may be a group of multiple voxels (a group of voxels of interest). In the next step S704, it is determined whether or not a structure is present at a position that blocks the voxel of interest determined in S703 when the voxel of interest is viewed from the outer camera determined in S702. In this determination, position information of a structure located at a predetermined position and position information of the outer camera determined in S702 are read from the RAM 203 or the auxiliary storage device 204 and used. For example, in the case of the above-mentioned Figs. 8(a) and (b), it is determined whether or not color information of a corresponding pixel position in the captured image of the outer camera 110f can be used to color the voxel of interest in the three-dimensional model of the goalkeeper 302. That is, in the judgment in this step, it is judged whether or not a structure at a fixed position (here, the goal net 301a) covers even a part of the target object (goalkeeper 302). Now, in both cases of FIG. 8(a) and (b), the outer camera closest to the virtual camera is 110f. Therefore, as shown in the figure, since the soccer goal 301 exists between the goalkeeper 302 and the outer camera 110f, the goal net 301a is reflected in front of the goalkeeper 302. That is, in both cases of FIG. 8(a) and (b), the goalkeeper 302 is in a state of being covered by the goal net 301a. Therefore, in the cases of FIG. 8(a) and (b), it is judged that a structure (hereinafter, referred to as "covering object") covering the target voxel exists. If the result of the judgment is that a covering object exists for the target voxel, proceed to S705, and if not, proceed to S709.

[0026] In S705, if it is determined in S704 that an obstruction exists, it is determined whether color information for coloring the target voxel can be acquired from an image captured by an internal camera installed inside the obstruction (here, goal net 301a). Here, "color information can be acquired" means that the original color of the target object is appropriately acquired from the corresponding pixel position in the captured image without other objects including the obstruction being reflected. In the case of FIG. 8(a) and (b) described above, there is no obstructing object, including other players, between the internal camera 120 and the goalkeeper 302. Therefore, it is determined that color information for coloring the target voxel can be acquired from the image captured by the internal camera 120. If color information can be acquired from the image captured by the internal camera 120 as a result of the determination, the process proceeds to S706, and if not, the process proceeds to S711. In S706, it is determined whether color information of the image captured by the internal camera is used to color the target voxel. This determination may be made based on a user selection via a UI screen (not shown), or automatically based on certain conditions. As the certain conditions, for example, a method of determining based on the attributes of the target object (information indicating the object type such as a player, a referee, or a ball) is considered. If color information of the image captured by the internal camera is used for coloring, proceed to S707, otherwise proceed to S708. Note that when it is determined that color information of the image captured by the internal camera can be acquired (Yes in S705), the determination in S706 may be skipped and the process may proceed to S707.

[0027] In S707, the voxel of interest is colored using color information obtained from a corresponding pixel position in an image captured by the internal camera. In addition, in S708, the voxel of interest is colored using color information obtained from a corresponding pixel position in an image captured by one of the external cameras (for example, the external camera closest to the virtual camera determined in S702). After the rendering process in S707 or S708 is completed, the process proceeds to S712.

[0028] In S709, if it is determined in S704 that no obstruction exists, it is determined whether color information for coloring the target voxel can be obtained from an image captured by any of the external cameras (including the external camera determined in S702). Since there are a plurality of players and referees on the field in addition to structures such as soccer goals, even if it is determined in S704 that no obstruction exists, there may be another player between the target voxel and the object of interest. Taking this into consideration, it is determined whether color information to be used for coloring the target voxel can be obtained from an image captured by the external camera. Specifically, first, the positional relationship between the virtual camera, the external camera, and each object is calculated based on the position coordinates of the virtual camera, the position coordinates of all objects existing within the field of view (angle of view) of the virtual camera, and the camera parameters of all the external cameras. Then, it is determined whether there is an image captured by the external camera from which color information of the target object (here, the original color of the goalkeeper) can be obtained. If the result of the determination is that the original color information of the target object can be acquired from the image captured by any one of the outer cameras 110a to 110j, the process proceeds to S710, and if not, the process proceeds to S711.

[0029] In S710, coloring is performed on the voxel of interest by acquiring color information from the corresponding pixel position of the image captured by the outer camera for which it was determined in S709 that color information can be acquired. In addition, in S711, if color information cannot be acquired from the image captured by any of the real cameras (all outer cameras and inner camera), coloring is performed on the voxel of interest by correction (interpolation process) using color information of the surrounding area of ​​the voxel of interest. Alternatively, coloring may not be performed at all and the voxel may be processed as a transparent voxel that does not have color information. Then, after the coloring process of S710 or S711 is completed, the process proceeds to S712.

[0030] In S712, it is determined whether or not the coloring process has been completed for all voxels constituting the target object (whether or not there are any uncolored voxels). If the coloring process has been completed for all voxels, the process proceeds to S713, and if there are any unprocessed voxels, the process returns to S703 to determine the next target voxel and continue the process.

[0031] In S713, it is determined whether rendering processing is complete for all objects present in the field of view (angle of view) of the virtual camera. If rendering processing is complete, this process ends. On the other hand, if there are unprocessed objects, the process returns to S701 to determine the next object of interest and continue the process.

[0032] The above is the content of the rendering process according to this embodiment. Figures 9(a) and 9(b) respectively show an example of the result of the rendering process according to this embodiment when the goalkeeper 302 in the above-mentioned Figures 5 and 6 is set as the target object. Figure 9(a) shows the result when the rendering process is finally performed in S708, in which the goal net 304 is reflected in the goalkeeper 302. On the other hand, Figure 9(b) shows the result when the rendering process is finally performed in S707, in which the goal net 304 is not reflected in the goalkeeper 302, and the goalkeeper 302 is colored in its original color. By such a rendering process, a virtual viewpoint image in which the three-dimensional model is appropriately colored is obtained.

[0033] <Modification> In the flowchart of FIG. 7, color information for coloring is acquired from the image captured by the internal camera only when there is an obstruction. In other words, it is assumed that when there is no obstruction when the target object is viewed from the virtual camera, color information is preferentially acquired from the image captured by the external camera and the three-dimensional model is colored. However, the present invention is not limited to such a configuration. For example, even when there is no obstruction to the target object, color information may be acquired from the image captured by the internal camera and the three-dimensional model may be colored. Furthermore, the image captured by the internal camera may be used together with the image captured by the external camera when generating the three-dimensional model.

[0034] Also, among the areas where the virtual camera (virtual viewpoint) can be set, the areas that are likely to be blocked by structures may be calculated in advance, the information may be stored, and the information may be used to determine the presence or absence of a blocking object. FIG. 10 is a diagram in which an area indicating the position of the virtual camera where appropriate coloring by the image captured by the outer camera is not possible is superimposed on the schematic diagram shown in FIG. 5 described above. In FIG. 10, if the virtual camera is set within the range of the hatched area 1000, the goal net will always be reflected in the images captured by the outer cameras 110e, 110f, and 110g. This means that when the goalkeeper 302 is viewed from within the hatched area 1000, the goal net will always be in the way, and the original color information of the goalkeeper 302 cannot be obtained from the images captured by the outer cameras 110e, 110f, and 110g. In other words, if the virtual camera is set within the hatched area 1000, and if it is desired to use the original color of the goalkeeper 302 in coloring the three-dimensional model, the image captured by the inner camera 120 will necessarily be used. Therefore, when making the judgment in S704 of the flowchart in Figure 7 described above, if the virtual camera specified by the virtual viewpoint information is set within a specific area such as the above-mentioned diagonal line area 1000, it may always be judged that "an obstruction is present" and the process may proceed to S705.

[0035] In addition, in this embodiment, the example in which a net-like structure serves as an obstruction has been described with the generation of a virtual viewpoint image in which a shooting scene in a soccer game is viewed from the back side of the goalkeeper in mind, but the present invention is not limited to this. First, the above-mentioned embodiment can be applied as is to sports in which a goal net is used like soccer, such as handball, futsal, and water polo. In addition, this embodiment can be applied to sports in which opponents are present on either side of a net, such as volleyball, tennis, badminton, and table tennis. In this case, it is sufficient to install internal cameras on both sides of the net to capture the player's side. In addition to the goal net in basketball, an acrylic goal board can also be treated as an obstruction. Furthermore, it is also applicable to sports in which a protective net is used, such as baseball and throwing events in track and field. In this case, it is sufficient to install internal cameras inside the playing area (closer to the player than the protective net).

[0036] As described above, according to this embodiment, when coloring a three-dimensional model of an object, the object can be appropriately colored even if a structure is present in a position that blocks the object.

[0037] (Other Examples) The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.

Claims

1. An image processing device that performs rendering processing using shape data representing a three-dimensional shape of an object to generate a virtual viewpoint image corresponding to a virtual viewpoint, a determining means for determining a processing method for coloring the object in the rendering process; a rendering means for coloring the object in accordance with the determined processing method; Equipped with the shape data is generated based on a plurality of first captured images obtained by performing imaging using a plurality of first imaging devices arranged around an imaging target area; a structure is present in the imaging target area, The determining means is determining whether color information for the coloring is to be obtained from a captured image included in the plurality of first captured images, or from a second captured image obtained by capturing an image with a second imaging device disposed at a position where the object can be captured without being obstructed by the structure, based on a positional relationship between the virtual viewpoint, the structure, and the object; 13. An image processing device comprising:

2. The image processing device according to claim 1, characterized in that the determination means determines that when the object is obstructed by the structure when viewed from a specific imaging device among the plurality of first imaging devices that is located within a certain range from the virtual viewpoint, color information for the coloring is obtained from a second captured image.

3. The image processing apparatus according to claim 2 , wherein the specific image capturing device is an image capturing device having a field of view closest to a field of view of the virtual viewpoint among the plurality of first captured images.

4. 2 . The image processing device according to claim 1 , wherein the determining means determines that, when the virtual viewpoint is between the object and the structure, the color information for the coloring is obtained from a second captured image.

5. The image processing device according to claim 1, characterized in that the determination means determines that, when the structure is present in the field of view of the virtual viewpoint and the structure is present between the object and the virtual viewpoint, color information for the coloring is obtained from a second captured image.

6. The determining means is displaying a user interface screen for allowing a user to select whether or not to acquire color information for the coloring from the second captured image when color information for the coloring can be acquired from the second captured image; determining whether color information for the coloring is to be acquired from a captured image included in the plurality of first captured images or from the second captured image based on a user selection via the user interface screen; 6. The image processing device according to claim 1,

7. 7. The image processing apparatus according to claim 1, wherein the structure has a net-like shape.

8. a means for retaining information on a specific area in which the object is likely to be blocked by the structure, among the areas in which the virtual viewpoint can be set; When the virtual viewpoint is set within the specific area indicated by the stored information, the determination means determines that color information for the coloring is to be acquired from a second captured image.

2. The image processing device according to claim 1,

9. the shape data represents a three-dimensional shape of the object in voxels or a point cloud; The determining means determines a processing method for the coloring in units of the voxels or the point clouds, The rendering means performs the coloring in units of the voxels or points.

9. The image processing device according to claim 1,

10. 10. The image processing apparatus according to claim 1, wherein the number of the first image capturing devices is greater than the number of the second image capturing devices.

11. An image processing method for generating a virtual viewpoint image according to a virtual viewpoint by performing a rendering process using shape data representing a three-dimensional shape of an object, comprising: a determining step of determining a processing method for coloring the object in the rendering process; a rendering step of coloring said object in accordance with the determined processing method; having the shape data is generated based on a plurality of first captured images obtained by performing imaging using a plurality of first imaging devices arranged around an imaging target area; a structure is present in the imaging target area, In the determining step, whether color information for the coloring is to be obtained from a captured image included in the plurality of first captured images or from a second captured image obtained by capturing an image with a second imaging device disposed at a position where the object can be captured without being obstructed by the structure is determined based on a positional relationship between the virtual viewpoint, the structure, and the object.

13. An image processing method comprising:

12. A program for causing a computer to function as the image processing device according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Image processor, method for processing image, and program

    JP2019095936A

  • Imaging system, image processing apparatus, image processing method, and program

    JP2020005089A

  • Device, control method, and program

    JP2020013216A