Image processing device, image processing method and program
The image processing device addresses noise incorporation in virtual viewpoint image generation by analyzing shape and position to adjust coloring methods, ensuring natural integration with the background, thus improving the quality of virtual viewpoint images.
Patent Information
- Application Number
- JP2021092146
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-06-01
- Publication Date
- 2024-08-13
- Estimated Expiration
- 2041-06-01
AI Technical Summary
Existing methods for generating virtual viewpoint images from three-dimensional models often incorporate noise, such as shadows or studio elements, leading to incorrect color assignment in the coloring process, especially in green screen environments.
An image processing device that analyzes shape data to determine appropriate coloring methods for object components, distinguishing between portions that correspond to the object's shape and those that do not, using condition tables to adjust coloring based on position, color, and shape information to ensure natural blending with the background.
The device effectively avoids unnatural coloration of noise portions, ensuring the three-dimensional model is appropriately colored to integrate seamlessly with the background, enhancing the quality of virtual viewpoint images.
Smart Images

Figure 0007532314000001 
Figure 0007532314000002 
Figure 0007532314000003
Abstract
Description
[Technical field]
[0001] The technology disclosed herein relates to a technology for coloring a three-dimensional model of an object. [Background technology]
[0002] Recently, a technology that generates a virtual viewpoint image that shows the appearance from a specified viewpoint (virtual viewpoint) by using the multiple captured images obtained by installing multiple image capturing devices at different positions and capturing images synchronously has been attracting attention. When generating a virtual viewpoint image, it is common to calculate a three-dimensional model of an object existing in the image capturing target space from the multiple captured images, and to assign a color to the three-dimensional model as seen from an arbitrary virtual viewpoint in the image capturing target space (see Patent Document 1).
[0003] For example, a virtual viewpoint image for a television commercial or music video may be generated from multiple captured images of a three-dimensional model of an actor captured against a green screen in an indoor studio. In this case, the three-dimensional model of the actor (hereinafter referred to as the "foreground model") is given a color as seen from a virtual viewpoint, and then it is composited with a CG or other background in advance to obtain a virtual viewpoint image in which the actor appears to be floating in the sky. However, when generating a foreground model from an image captured in an indoor studio, for example, the shadow of the actor himself may be mistakenly recognized as part of the actor's shape, and the resulting foreground model may contain noise that is not actually the shape of the object. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2017-211827 A Summary of the Invention [Problem to be solved by the invention]
[0005] If the foreground model contains noise as described above, the coloring process will give the parts corresponding to the noise the color of the walls or floor of the space being imaged (e.g., green in a green screen imaging environment) or the color of other objects. [Means for solving the problem]
[0006] The image processing device according to the present disclosure is an image processing apparatus that generates an image based on a plurality of captured images of an object captured by a plurality of imaging devices. Three an acquisition means for acquiring shape data indicating a three-dimensional shape; a determination means for determining a coloring method for components of the shape data based on an analysis result of the acquired shape data; and a coloring means for coloring the components of the shape data in accordance with the coloring method determined by the determination means, the acquiring means acquires virtual viewpoint data including a position of a virtual viewpoint and a line of sight direction from the virtual viewpoint for generating a virtual viewpoint image; The determining means determines a first portion of the components of the shape data that corresponds to the shape of the object. a first coloring method is determined for a portion of the components of the shape data that does not correspond to the shape of the object, the first coloring method being different from the first coloring method, the second coloring method being determined for a portion of the components of the shape data that does not correspond to the shape of the object, the second coloring method being a portion of the components of the shape data that belongs to a specified area in the three-dimensional space where the image was captured and that meets certain conditions. 13. An image processing device comprising: Effect of the Invention
[0007] According to the techniques of the present disclosure, the color of a three-dimensional model of an object can be appropriately determined. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram showing an example of the configuration of an image processing system for generating a virtual viewpoint video. [Diagram 2] FIG. 2 is a diagram showing the hardware configuration of an image processing apparatus. [Diagram 3] FIG. 2 is a diagram showing the software configuration of the image processing apparatus. [Figure 4] FIG. 4 is a block diagram showing the internal configuration of a coloring processing unit. [Diagram 5] FIG. 13 is a diagram showing an example of a designated region. [Figure 6] 4A to 4D are diagrams showing examples of condition tables. [Figure 7] 1A to 1L are diagrams showing examples of unit shapes. [Figure 8] 10 is a flowchart showing a process for generating a virtual viewpoint video. [Figure 9] FIG. 2A is a diagram showing an example of a virtual viewpoint image when coloring is performed by a conventional method, and FIG. 2B is a diagram showing an example of a virtual viewpoint image when coloring is performed by the method of this embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, a mode for carrying out the present embodiment will be described with reference to the drawings, etc. Note that the following embodiment does not limit the technology of the present disclosure, and all configurations described in the following embodiment are not necessarily essential to the means for solving the problem.
[0010] [Embodiment 1] First, a brief overview of a virtual viewpoint image will be given. A virtual viewpoint image is an image that represents a view from a virtual camera viewpoint (virtual viewpoint) that is different from an actual camera viewpoint, and is also called a free viewpoint image. The virtual viewpoint is set by a method in which the user directly specifies the viewpoint by operating a controller, or selects from a plurality of virtual viewpoint candidates that are set in advance. Note that while the virtual viewpoint image includes both moving images and still images, the following embodiment will be described on the premise of moving images, and a virtual viewpoint image based on moving images will be expressed as a "virtual viewpoint video."
[0011] <System configuration> FIG. 1 is a diagram showing an example of the configuration of an image processing system for generating a virtual viewpoint video according to this embodiment. The image processing system 100 includes a plurality of imaging devices (cameras) 101, an image processing device 102, a controller 103, and a display device 104. In the image processing system 100, the image processing device 102 generates a virtual viewpoint video based on a plurality of captured images (moving images in this embodiment, hereinafter referred to as "camera images") captured synchronously by the plurality of cameras 101, and displays the generated virtual viewpoint video on the display device 104. For example, when generating a virtual viewpoint video of a sports game held in a stadium, the cameras 101 are installed at different positions surrounding the field in the stadium, and each camera 101 captures the field in time synchronization. However, when there is a restriction on the installation location, such as in a studio or concert hall, the multiple cameras 101 are installed only in a direction toward a part of the imaging target area. Each camera 101 is realized by, for example, a digital video camera equipped with a video signal interface represented by a serial digital interface (SDI). Each camera 101 adds time information, typically a time code, to the video signal it outputs and transmits it to the image processing device 102 .
[0012] The image processing device 102 generates a virtual viewpoint video based on a plurality of camera images obtained by synchronously capturing images from a plurality of cameras 101. The image processing device 102 uses the plurality of camera images acquired via a network cable or the like to generate shape data (hereinafter referred to as a "foreground model") indicating the three-dimensional shape of an object such as a person in the foreground, and performs coloring processing on the foreground model to generate a virtual viewpoint video. The functions of the image processing device 102 will be described in detail later. Note that the coloring processing is processing for determining colors for the components that make up the foreground model.
[0013] The controller 103 is a control device for allowing the user to specify a virtual viewpoint and perform various settings. The operator performs various settings and data input required for generating a virtual viewpoint video, via input devices such as a joystick and a keyboard of the controller 103. Specifically, the operator specifies the position and line of sight of the virtual viewpoint, specifies key frames, sets an operation mode for coloring the foreground model, and selects a condition table to be used when the operation mode is on.
[0014] The display device 104 acquires and displays image data (UI screen data for a graphical user interface and virtual viewpoint image data) sent from the image processing device 102. The display device 104 is realized by, for example, a liquid crystal display, an LED, or the like.
[0015] <Hardware configuration> 2 is a diagram showing a hardware configuration of the image processing device 102. The image processing device 102, which is an information processing device, includes a CPU 211, a ROM 212, a RAM 213, an auxiliary storage device 214, an operation unit 215, a communication I / F 216, and a bus 217.
[0016] The CPU 211 realizes each function of the image processing device 102 by controlling the entire image processing device 102 using computer programs and data stored in the ROM 212 or the RAM 213. The image processing device 102 may have one or more dedicated hardware different from the CPU 211 or a GPU (Graphics Processing Unit). At least a part of the processing by the CPU 211 may be performed by the GPU or the dedicated hardware. Examples of the dedicated hardware include an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), and a DSP (Digital Signal Processor).
[0017] The ROM 212 stores programs that do not require modification. The RAM 213 temporarily stores programs and data supplied from the auxiliary storage device 214, and data supplied from the outside via the communication I / F 217. The auxiliary storage device 214 is constituted by, for example, a hard disk drive, and stores various data such as image data and volume data.
[0018] The operation unit 215 is composed of, for example, a keyboard, a mouse, etc., and inputs various instructions to the CPU 211 in response to operations by a user. The CPU 211 operates as a display control unit that controls the display device 104, and an operation control unit that controls the operation unit 215. The communication I / F 216 is used for communication with an external device of the image processing device 102. For example, when the image processing device 102 is connected to an external device by wire, a communication cable is connected to the communication I / F 216. When the image processing device 102 has a function of wirelessly communicating with an external device, the communication I / F 216 is equipped with an antenna.
[0019] The bus 217 connects the various units of the image processing device 102 to transmit information. In this embodiment, the controller 103 and the display device 104 are provided as external devices, but either of them may be provided internally as one of the functional units of the image processing device 102.
[0020] <Software configuration> 3 is a diagram showing the software configuration of the image processing device 102. The image processing device 102, which generates a virtual viewpoint video from a plurality of videos obtained by synchronous imaging, has a preparation processing unit 301, a foreground model generation unit 302, and a virtual viewpoint video generation unit 303. The virtual viewpoint video generation unit 303 is composed of a coloring processing unit 304 and a synthesis unit 305. The function of each unit will be described below.
[0021] The preparation processing unit 301 performs preparation processing necessary for generating a virtual viewpoint video. The preparation processing includes acquiring multiple camera images captured synchronously, setting an operation mode and a designated area related to change control of the coloring method, reading a condition table used when the operation mode is on, acquiring virtual viewpoint data that specifies the position and line of sight of the virtual viewpoint, and the like.
[0022] The foreground model generating unit 302 generates a foreground model based on the acquired multiple camera images, for example, by a volume intersection method. In generating a foreground model, first, a foreground background separation process is performed to extract a specific object in the foreground, such as a performer, on a frame-by-frame basis. The method of extracting the object is not particularly limited, but for example, a background subtraction method is used. The background subtraction method is a method of comparing pixel values of each frame (still image) and a background image showing the background part to extract a silhouette of an object in the frame. For example, in the case of generating a virtual viewpoint video for a play or performance in a studio, the background image is obtained in advance by capturing an image of the studio in a state where no performers are present. The image showing the silhouette of the object obtained by the foreground background separating unit 301 (called a "foreground image" or "foreground mask") is temporarily stored in the auxiliary storage device 214 together with imaging position information showing the three-dimensional position of the camera 101. The three-dimensional position is defined by the position of three axes (x-axis, y-axis, z-axis) corresponding to the height, width, and depth in the three-dimensional space of the imaging target (hereinafter referred to as "imaging target space"). Then, based on the foreground image, a foreground model is generated by a volume intersection method. The volume intersection method is a method of dividing an image pickup target space into small rectangular parallelepipeds (voxels), calculating the pixel position of each voxel when it is captured in multiple camera images, and judging whether each voxel corresponds to a pixel corresponding to the silhouette of an object. A voxel judged to be a pixel corresponding to the silhouette of an object in multiple camera images is identified as a voxel constituting the three-dimensional shape of the object. Then, in the image pickup target space, the identified voxels are left and other voxels are deleted, and the set of voxels that are finally left ("voxel block") becomes shape data representing the three-dimensional shape of the object. Each voxel constituting the foreground model has three-dimensional coordinate values (unit: mm) defined by the above (x, y, z). In this embodiment, the foreground model is represented by voxels, but it may be represented by a set of finer points (point cloud). Furthermore, the foreground model may be a representation of the three-dimensional shape of an object using a plane (polygon mesh) that connects the vertices of a plurality of adjacent voxels.
[0023] The virtual viewpoint video generating unit 303 colors the foreground model based on the camera images of the cameras 101 and the virtual viewpoint designated by the user, and synthesizes the colored foreground model with background data prepared in advance to generate a virtual viewpoint video. The virtual viewpoint video generating unit 303 has a coloring processing unit 304 that performs processing related to coloring the foreground model, and a synthesis unit 305 that synthesizes the colored foreground model with the background data. The coloring processing unit 304 first performs an analysis process of the input foreground model, and determines a coloring method for each voxel. Here, the standard coloring is performed by three-dimensionally calculating how the foreground model is displayed in the camera angle of view when the foreground model is viewed from a virtual viewpoint (virtual camera), and using the color of the camera image of the real camera 1010 that is closest to the virtual camera. In this embodiment, further, voxels that are determined not to represent the shape of an object among the voxels that make up the foreground model are colored by a coloring method different from the standard coloring method. Details of the coloring processing unit 304 will be described later. The synthesis unit 305 synthesizes the colored foreground model output from the coloring processing unit 304 with background data prepared in advance to generate a virtual viewpoint image. Here, the background data is, for example, a background model with texture information created by CG or the like, and is read out from the auxiliary storage device 214 for use.
[0024] 3 is an example, and the function of extracting a foreground image from a plurality of camera images, the function of generating a foreground model, and the function of coloring the foreground model may be shared among different image processing devices. For example, the function of foreground model generation unit 302 may be performed by another image processing device, and image processing device 102 may be configured to perform only the function of virtual viewpoint video generation unit 303.
[0025] <Details of the color processing section> Fig. 4 is a block diagram showing the internal configuration of the coloring processing unit 304. The coloring processing unit 304 has a position analysis unit 401, a color analysis unit 402, a shape analysis unit 403, a coloring method determination unit 404, a condition table 405, and a coloring unit 406. The coloring processing unit 304 controls the change of the coloring method when the above-mentioned operation mode is set to ON. The processing performed by the coloring processing unit 304 will be described in detail below with reference to Fig. 4.
[0026] The position analysis unit 401 identifies the three-dimensional position of each voxel that constitutes the input foreground model. As described above, each voxel that constitutes the foreground model is assigned coordinate information that indicates its position in the imaging target space. The position analysis unit 401 reads out this coordinate information for each voxel of the foreground model and identifies its three-dimensional position. The identified coordinate information for each voxel is sent to the coloring method determination unit 404.
[0027] A color analysis unit 402 identifies the color of each voxel constituting the input foreground model when viewed from a virtual viewpoint, based on information such as the position of the virtual viewpoint, the line of sight direction, and the angle of view set via the controller 103. The identified color information for each voxel is sent to a coloring method determination unit 404.
[0028] The shape analysis unit 403 specifies the three-dimensional shape indicated by the foreground model. Here, the designated area means an area in the imaging target space specified in advance by the user or the like, and an area where a part corresponding to the noise of the foreground model is expected to belong. The user sets a certain range 502, for example, about 15 cm above the ground in the imaging target space, as the designated area. At this time, for example, the generated virtual viewpoint image may be displayed on the display device 104, and the user may specify a desired area in the virtual viewpoint image using a mouse or the like to set it. The shape analysis unit 403 specifies the shape of the voxel block of the part included in the designated area of the foreground model generated in the imaging target space by pattern matching or the like. Shape information of the voxel block included in the designated area specified in this way is sent to the coloring method determination unit 404.
[0029] The coloring method determination unit 404 refers to the condition table 405 and determines the coloring method for the voxels constituting the input foreground model based on the analysis results of the position analysis unit 401, the color analysis unit 402, and the shape analysis unit 403. If a region for controlling the change of the coloring method is specified for the image capture target space, the coloring method for each voxel is determined for the specified region. FIG. 5(a) shows an example of the specified region. In the foreground model 500 generated for a person standing in a studio, the left toe is abnormally long. If the foreground model 500 containing such noise is colored by the conventional method, the color of the studio floor is added to the noise part as shown in FIG. 5(b). When such noise is expected to occur, the user sets a certain range 501, for example, about 15 cm above the ground in the image capture target space, as the specified region via the controller 103. At this time, for example, the generated virtual viewpoint image may be displayed on the display device 104, and the user may specify a desired region in the virtual viewpoint image using a mouse or the like to set it.
[0030] (a) to (d) in FIG. 6 show an example of the condition table 405. The condition table is a table that holds conditions that are the basis for determining a coloring method for a foreground model. As described above, the standard coloring is realized by determining a camera image at a position where the target foreground model can be colored based on the angle between the real camera and the foreground model and the distance between the real camera and the foreground model, and assigning the color of the determined camera image to the foreground model. However, if noise occurs in the input foreground model, the color of the floor or the like is erroneously assigned to the part corresponding to the noise when the standard coloring method is used. Therefore, the coloring method determination unit 404 determines a coloring method for each voxel constituting the foreground model based on the analysis result and the condition table so that the part corresponding to the noise in the input foreground model is colored naturally without being unnatural with the background. A specific determination method will be described below for different cases.
[0031] <Determined based on coordinate information only> FIG. 6(a) is an example of a position condition table to be referred to when a coloring method is determined based only on the coordinate information of a voxel. As described in the problem to be solved, a shadow of a person or the like is erroneously recognized as the foreground and is incorporated as noise in the foreground model, and the voxel corresponding to the noise is often given the color of the floor as a false color. Therefore, using a position condition table such as that shown in FIG. 6(a), a coloring method is determined so that voxels close to the floor are colorless (not colored) and other voxels are colored in a standard manner. Specifically, information (e.g., a flag value, etc.) indicating that standard coloring is to be performed is given to voxels whose z-axis value indicating the height from the ground in the voxel coordinate information is equal to or greater than a threshold, and information indicating that the voxels are colorless is given to voxels below the threshold. Note that the position condition table in FIG. 6(a) is an example in which the threshold value of the z-axis is set to "10 mm", and the numerical value as the threshold value may be set in advance by the user via the controller 103, for example.
[0032] <Determined based on color information only> FIG. 6(b) is an example of a color condition table to be referred to when determining a coloring method based only on the color information of voxels. When chromakey imaging is performed in a studio to generate a foreground model of an actor, imaging is performed in a space surrounded by a specific color called a green back or a blue back. Therefore, using a color condition table such as that shown in FIG. 6(b), a coloring method is determined so that a color derived from a virtual viewpoint (a color determined when the above-mentioned standard coloring method is applied) is fixed for voxels that are close to the above-mentioned specific color. Specifically, information indicating that a fixed color is to be applied to voxels whose RGB color luminance is within a predetermined range in the voxel color information is given, and information indicating that the color of the camera image is to be used is given to voxels that are not within the predetermined range. Note that in the color condition table of FIG. 6(b), the specific color is set to "green," and the above-mentioned predetermined range when the maximum value of RGB color luminance is 4096 (12 bits) is set to R "0 to 1000," G "2900 to 4095," and B "0 to 1000." The fixed color is set to gray, where R, G, B = (100, 100, 100).
[0033] <Determined by combining location and color information> Fig. 6(c) is an example of a combination condition table that is referred to when determining a coloring method based on a combination of voxel position information and color information. In the case of the combination condition table of Fig. 6(c), for voxels whose z-axis value is small (i.e., whose position is close to the floor) and whose color derived from the virtual viewpoint is close to a specific color, a coloring method is determined so that the color is a color obtained by applying a certain amount of processing to the color of the camera image. Now, the condition table of Fig. 6(c) specifies that for voxels that meet the above conditions, the color is set to the color obtained by subtracting "300" from the color of the camera image derived from the virtual viewpoint.
[0034] <Determined by combining positional and shape information> Fig. 6(d) is an example of a combination condition table to be referred to when determining a coloring method based on a combination of position information of a voxel and shape information of a voxel block. In the case of the combination condition table of Fig. 6(d), a coloring method is determined so that voxels in a portion where the z-axis value is small (i.e., the position is close to the floor) and the foreground model corresponds to a certain shape with a thin thickness are colorless (not colored). Now, in the condition table of Fig. 6(d), it is stipulated as a shape condition that the shape of the foreground model included in the specific region matches any of (c), (f), or (k) among the unit shapes shown in Fig. 7(a) to (l).
[0035] In this manner, a non-standard coloring method is assigned to the voxels in the foreground model that correspond to noise, so that the voxels are colored in a natural way. Examples of non-standard coloring methods include the following: · No color (make colorless) -Predefined fixed color - Convert the color derived from the camera image into a color that is converted in a specified way - Make the color the same as the background data color
[0036] In this embodiment, "not adding color" and "making colorless" are described as synonymous. This is because either can be expressed depending on the specifications of the device that performs the rendering process, and the technical effect is the same. "Making colorless" also includes making it completely transparent by so-called alpha blending. When making it the same color as the background data, the color at the closest position in the background data may be used, or the color on the line connecting the virtual viewpoint and the target voxel may be used. Regarding "conversion by a predetermined method", instead of the method of lowering the luminance by a certain amount shown in FIG. 6(c), a nonlinear conversion may be performed using, for example, an LUT (lookup table). Similarly, when making it the same color as the background data, the luminance of the background data may be lowered to make it a color darker by a certain level, or a conversion using an LUT may be performed. In addition, in the description of the condition tables in FIG. 6(c) and (d), the AND (logical product) of two conditions is taken, but this is not limited to this, and for example, OR (logical sum) may be used. Furthermore, in determining whether a condition is met, common comparison methods can be used, such as "greater than or equal to," "less than or equal to," "greater than," "smaller than," "difference within xx," "difference greater than or equal to xx," etc.
[0037] The data of the foreground model in which the coloring method is specified for each voxel as described above is sent to the coloring unit 406. Note that in this embodiment, the coloring method is determined for each voxel that is a component of the foreground model, but the coloring method may be determined in units of multiple voxels.
[0038] The coloring unit 406 performs processing to color each voxel of the input foreground model using a coloring method determined for each voxel. At this time, if the information indicating the coloring method indicates that standard coloring is to be performed, color is added using the camera image of the real camera closest to the virtual viewpoint, and if it indicates that no color is to be used, no coloring is performed.
[0039] <Virtual viewpoint image generation process> Fig. 8 is a flowchart showing a flow up to generation of a virtual viewpoint video in the image processing device 102 according to this embodiment. A series of processes shown in the flowchart in Fig. 8 is realized by the CPU 211 reading out a control program stored in the ROM 212 or the auxiliary storage device 214, etc., expanding it in the RAM 213, and executing it. In the following explanation, the symbol "S" means a step.
[0040] In S801, the preparation processing unit 301 executes the above-mentioned preparation processing for generating a virtual viewpoint video based on a user instruction via the controller 103. In the next S802, a frame of interest to be a target of the virtual viewpoint video is determined from among the frame group of the multiple camera images acquired in the preparation processing of S801. The frame of interest is determined based on the time code, for example, when a key frame is specified by a time code in the virtual viewpoint data. Alternatively, the frame of interest may be determined in order from the first frame of the frame group of the input camera images. In the next S803, the foreground model generation unit 302 generates a foreground model of an object included in the frame of interest determined in 802.
[0041] In S804, processing is allocated depending on whether the operation mode setting of the coloring method change control set in the preparation processing of S801 is on or off. If the operation mode setting is on, proceed to S805, and if it is off, proceed to S808. The subsequent processing of S805 to S809 is executed by the virtual viewpoint video generation unit 303.
[0042] In S805, the foreground model to be colored is analyzed in the coloring processing unit 304. At that time, the necessary analysis processing is executed by an analysis unit corresponding to the conditions specified by the condition table read in the preparation processing of S801. For example, if a position condition table (see FIG. 6(a)) that is determined based only on coordinate information has been read in the preparation processing, the position analysis unit 401 acquires voxel-by-voxel coordinate information for the foreground model generated in S803.
[0043] In the next step S806, the coloring method determination unit 404 determines a coloring method based on the analysis result of step S805, using the condition table read out in the preparation process of step S801. As described above, this coloring method determination process is performed on a voxel-by-voxel basis.
[0044] In S807 when the operation mode is on, the coloring unit 406 executes a process of coloring each voxel according to the coloring method determined in S806. At this time, a coloring method different from the standard is used for voxels corresponding to noise parts of the foreground model. The standard coloring method is used for voxels corresponding to parts other than noise. By such coloring process, a color that blends in with the background and does not look unnatural when viewed from the virtual viewpoint is given to the foreground model generated in S803.
[0045] On the other hand, in S808 when the operation mode is off, the coloring unit 406 executes a process of coloring each voxel of the foreground model using a standard coloring method. Fig. 5(b) shows a result when the foreground model 500 including the noise 501 shown in Fig. 5(a) is colored by a conventional method, and an unnatural color (for example, green in the case of a green screen) is applied to the part corresponding to the noise 501.
[0046] In S809, the synthesis unit 305 synthesizes the colored foreground model with the background data prepared in advance to generate a virtual viewpoint image for the frame of interest. FIG. 9(a) is an example of a virtual viewpoint image obtained by coloring the foreground model 500 containing noise shown in FIG. 5(b) described above using a conventional method and synthesizing it with a sky background model. In the case of the conventional method, the color of the studio floor is added to the noise part abnormally extending from the toes of the person's left foot, resulting in an image that does not blend well with the background model. FIG. 9(b) is an example of a virtual viewpoint image obtained by coloring using the method of this embodiment and synthesizing it with the same sky background model as FIG. 9(a). Compared with FIG. 9(a), the noise part abnormally extending from the toes of the left foot is given a color equivalent to the color of the background model, resulting in an image that blends well with the background model. Data of the generated virtual viewpoint image is sent to the display device 104 via the communication I / F 216 and displayed on the display device 104.
[0047] In S810, it is determined whether or not the generation of the virtual viewpoint image corresponding to the input virtual viewpoint data is completed. If the generation is completed, this process ends, and if it is not completed, the process returns to S802 to determine the next frame of interest and continue the process.
[0048] The above is the flow of the virtual viewpoint video generation process according to this embodiment.
[0049] In this embodiment, for simplicity, the operating mode related to the control of changing the coloring method and the selection of the condition table are performed before processing begins, but it is also possible to change the settings while the virtual viewpoint image is being generated, and after the settings have been changed, the processing can be continued by reflecting the changed contents.
[0050] As described above, according to this embodiment, a coloring method is determined for each voxel constituting a foreground model according to certain conditions. As a result, even if the foreground model contains noise, the noise part can be given a color that blends in with the background and does not look out of place.
[0051] (Other Examples) The technology of the present disclosure can also be realized by a process in which a program for realizing one or more functions of the above-mentioned 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. It can also be realized by a circuit (e.g., ASIC) that realizes one or more functions. [Explanation of symbols]
[0052] 102 Image processing device 301 Preparation Processing Section 302 Foreground Model Generation Unit 303 Virtual viewpoint image generation unit 304 Coloring Processing Unit 305 Synthesis Section
Claims
1. An acquisition means for acquiring shape data indicating a three-dimensional shape of an object generated from a plurality of captured images obtained by capturing images of the object using a plurality of imaging devices; a determining means for determining a coloring method for each of the components of the shape data based on the analysis result of the acquired shape data; a coloring means for coloring components of the shape data in accordance with the coloring method determined by the determining means; Equipped with the acquiring means acquires virtual viewpoint data including a position of a virtual viewpoint and a line of sight direction from the virtual viewpoint for generating a virtual viewpoint image; The determining means is determining a first coloring method for coloring a first portion of the components of the shape data corresponding to the shape of the object using a color of one of the plurality of captured images determined based on the virtual viewpoint data; determining a second coloring method different from the first coloring method for a second portion of the components of the shape data that does not correspond to the shape of the object; The second part is a component of the shape data that belongs to a specified region in the three-dimensional space where the image was captured and that matches a certain condition.
13. An image processing device comprising:
2. the shape data includes coordinate information indicating a position of the component in the three-dimensional space in which the image was captured; the determining means analyzes a position in the three-dimensional space for each of the components based on the coordinate information, and, if a position identified by the analysis matches a position condition that defines the second portion, determines the second coloring method as a coloring method for the matching component.
2. The image processing device according to claim 1,
3. the determining means analyzes a color when the first coloring method is applied to each of the components, and when a color determined by the analysis matches a color condition that defines the second part, determines that the second coloring method is to be used as the coloring method for the matching component.
2. The image processing device according to claim 1,
4. the determining means analyzes a shape in a specified region of the three-dimensional space for the shape data, and, when a shape identified by the analysis matches a shape condition that defines the second portion, determines a coloring method for the component corresponding to the matched shape to be the second coloring method.
2. The image processing device according to claim 1,
5. 5. The image processing apparatus according to claim 1, wherein the second coloring method is to add no color.
6. 5. The image processing apparatus according to claim 1, wherein the second coloring method is to make the image colorless.
7. 5. The image processing apparatus according to claim 1, wherein the second coloring method is to use a predetermined fixed color.
8. 5. The image processing apparatus according to claim 1, wherein the second coloring method converts a color obtained by applying the first coloring method into a converted color.
9. An acquisition means for acquiring shape data indicating a three-dimensional shape of an object generated from a plurality of captured images obtained by capturing an object using a plurality of imaging devices; a determining means for determining a coloring method for each of the components of the shape data based on the analysis result of the acquired shape data; a coloring means for coloring components of the shape data in accordance with the coloring method determined by the determining means; Equipped with the acquiring means acquires virtual viewpoint data including a position of a virtual viewpoint and a line of sight direction from the virtual viewpoint for generating a virtual viewpoint image; The determining means is determining a first coloring method for coloring a first portion of the components of the shape data corresponding to the shape of the object using a color of one of the plurality of captured images determined based on the virtual viewpoint data; determining a second coloring method for coloring a second portion of the components of the shape data that does not correspond to the shape of the object in the same color as a background color in the virtual viewpoint image; the coloring means colors the components of the shape data by using the first coloring method or the second coloring method; 13. An image processing device comprising:
10. 10. The image processing apparatus according to claim 9, wherein the second coloring method is to convert the color of the background into a converted color.
11. 11. The image processing apparatus according to claim 8, wherein the conversion is to reduce color luminance by a certain amount.
12. 12. The image processing device according to claim 1, further comprising a synthesis unit that generates the virtual viewpoint image by synthesizing a result of the coloring by the coloring unit with background data to which a color has been added in advance.
13. An acquisition means for acquiring shape data indicating a three-dimensional shape generated from a plurality of captured images of an object captured by a plurality of imaging devices; a determination means for determining a coloring method for components of the shape data based on an analysis result of the acquired shape data, the determination means determining different coloring methods for a first portion of the components of the shape data that corresponds to the shape of the object and a second portion that does not correspond to the shape data; a coloring means for coloring components of the shape data in accordance with the coloring method determined by the determining means; A setting means for setting an operation mode of the determining means; Equipped with the determining means performs the determination when the operation mode is set to ON by the setting means, the coloring means, when the operation mode is set to off by the setting means, colors the components of the shape data by using a color of any one of the plurality of captured images.
13. An image processing device comprising:
14. An acquisition step of acquiring shape data indicating a three-dimensional shape generated from a plurality of captured images of an object captured by a plurality of imaging devices; a determining step of determining a coloring method for the components of the shape data based on the analysis result of the acquired shape data; a coloring step of coloring components of the shape data in accordance with the coloring method determined in the determining step; Including, In the acquiring step, virtual viewpoint data including a position of a virtual viewpoint and a line of sight direction from the virtual viewpoint for generating a virtual viewpoint image is acquired, In the determining step, determining a first coloring method for coloring a first portion of the components of the shape data corresponding to the shape of the object using a color of one of the plurality of captured images determined based on the virtual viewpoint data; determining a coloring method different from the first coloring method for a second portion of the components of the shape data that does not correspond to the shape of the object; The second part is a component of the shape data that belongs to a specified region in the three-dimensional space where the image was captured and that matches a certain condition.
13. An image processing method comprising:
15. An acquisition step of acquiring shape data indicating a three-dimensional shape generated from a plurality of captured images of an object captured by a plurality of imaging devices; a determining step of determining a coloring method for the components of the shape data based on the analysis result of the acquired shape data; a coloring step of coloring components of the shape data in accordance with the coloring method determined in the determining step; Including, In the acquiring step, virtual viewpoint data including a position of a virtual viewpoint and a line of sight direction from the virtual viewpoint for generating a virtual viewpoint image is acquired, In the determining step, determining a first coloring method for coloring a first portion of the components of the shape data corresponding to the shape of the object using a color of one of the plurality of captured images determined based on the virtual viewpoint data; determining a second coloring method for coloring a second portion of the components of the shape data that does not correspond to the shape of the object in the same color as a background color in the virtual viewpoint image; In the coloring step, the components of the shape data are colored using the first coloring method or the second coloring method.
13. An image processing method comprising:
16. An acquisition step of acquiring shape data indicating a three-dimensional shape generated from a plurality of captured images of an object captured by a plurality of imaging devices; a step of determining a coloring method for components of the shape data based on an analysis result of the acquired shape data, the step of determining different coloring methods for a first portion of the components of the shape data that corresponds to the shape of the object and a second portion that does not correspond to the first portion; a setting step of setting an operation mode as to whether or not the determination step is to be executed; a coloring step of coloring components of the shape data according to the coloring method determined in the determination step when the operation mode is set to ON in the setting step, and coloring components of the shape data using a coloring method using a color of any one of the plurality of captured images when the operation mode is set to OFF in the setting step; 13. An image processing method comprising:
17. A program for causing a computer to function as the image processing device according to any one of claims 1 to 13.
Citation Information
Patent Citations
Program, information storage medium and image generation system
JP2010029397A
JP2017‐211827A
Silhouette extraction apparatus, and method and program
JP2018205788A
File generation device and video generation device on the basis of file
JP2020014159A
