Image processing apparatus, and image processing method

The image processing device optimizes machine learning for virtual viewpoint images by selecting appropriate cameras based on virtual viewpoint information, reducing learning time and improving image quality.

JP2024135024APending Publication Date: 2024-10-04CANON KK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023045512
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-22
Publication Date
2024-10-04

AI Technical Summary

Technical Problem

Existing technologies require extensive time for machine learning to improve the image quality of virtual viewpoint images due to the need for association with multiple camera viewpoints.

Method used

An image processing device that selects an imaging device based on virtual viewpoint information to perform machine learning using a learning data set with correct data from the selected device, optimizing the learning process by focusing on cameras with similar orientations and positions to the virtual camera.

Benefits of technology

This approach allows for a highly accurate trained model to be obtained in a shorter learning time while maintaining image quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024135024000001_ABST
    Figure 2024135024000001_ABST
Patent Text Reader

Abstract

To obtain an accurate learned model with a small amount of learning time.SOLUTION: An image processing apparatus acquires a plurality of photographic images corresponding to a plurality of imaging apparatuses and virtual viewpoint information defining a virtual viewpoint for creating a virtual viewpoint image, and selects, from the plurality of imaging apparatuses, an imaging apparatus to be referred to in machine learning on the basis of the virtual viewpoint information. With the photographic image obtained from the selected imaging apparatus as correct answer data, the image processing apparatus performs machine learning by using a learning data set associated with a virtual viewpoint image for learning created by using a viewpoint of the imaging apparatus as a virtual viewpoint.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an image processing system. [Background technology]

[0002] In recent years, a technology that converts the entire space into 3D data by synchronously capturing the same scene from multiple viewpoints using multiple imaging devices (cameras), and generates an image (virtual viewpoint image) that represents the view from any viewpoint (virtual camera) in the captured space based on the 3D data, has been attracting attention. However, there are issues with the image quality of virtual viewpoint images, and image quality improvement using machine learning is being considered. Patent Document 1 discloses a technology that performs learning using teacher data in which a virtual viewpoint image is input data and an image captured by a camera corresponding to the position of the virtual viewpoint is used as correct answer data. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2021-128592 A Summary of the Invention [Problem to be solved by the invention]

[0004] In the technology of Patent Document 1, machine learning that associates images captured by each real camera with virtual viewpoint images corresponding to the viewpoints of each camera must be performed for all of the multiple cameras that perform synchronous shooting. Therefore, there was a problem that the learning required a lot of time. [Means for solving the problem]

[0005] The image processing device according to the present disclosure is an image processing device that performs machine learning to improve the image quality of a virtual viewpoint image based on a plurality of captured images, and is characterized in having an acquisition means for acquiring virtual viewpoint information that specifies a virtual viewpoint for generating the plurality of captured images and the virtual viewpoint image corresponding to each of a plurality of imaging devices, a selection means for selecting an imaging device to be referenced in the machine learning from among the plurality of imaging devices based on the virtual viewpoint information, and a learning means for performing the machine learning using a learning dataset in which the captured images of the imaging device selected by the selection means are used as correct answer data and correspond to a training virtual viewpoint image generated using the viewpoint of the imaging device as a virtual viewpoint. Effect of the Invention

[0006] According to the technology disclosed herein, a highly accurate trained model can be obtained in a short learning time. [Brief description of the drawings]

[0007] [Figure 1] FIG. 1 is a diagram showing an example of the configuration of an image processing system. [Diagram 2] FIG. 13 is a diagram showing an example of installation of a real camera. [Diagram 3] FIG. 2 is a diagram showing an example of the hardware configuration of an image processing apparatus. [Figure 4] FIG. 1 is a block diagram showing the functional configuration of an image processing apparatus according to a first embodiment. [Diagram 5] FIG. 4 is a flowchart showing an operation flow of the image processing device according to the first embodiment. [Figure 6] 13A and 13B are diagrams for explaining how a real camera is selected for each time code. [Figure 7] FIG. 11 is a block diagram showing the functional configuration of an image processing apparatus according to a second embodiment. [Figure 8] FIG. 11 is a flowchart showing the operation of the image processing device according to the second embodiment. [Figure 9] 11A and 11B are diagrams for explaining a process of selecting a frame to be processed by focusing on the amount of movement of the virtual camera between frames. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] Hereinafter, the present invention will be described in detail based on preferred embodiments thereof with reference to the accompanying drawings. Note that the configurations shown in the following embodiments are merely examples, and the present invention is not limited to the configurations shown in the drawings.

[0009] [Embodiment 1] <System configuration> FIG. 1 is a diagram showing an example of the configuration of an image processing system that generates a virtual viewpoint image based on a plurality of captured images according to this embodiment. The image processing system 100 has a plurality of imaging devices 110, an image processing device 120, and a user terminal 130. The virtual viewpoint image in this embodiment is also called a free viewpoint image. The virtual viewpoint image can be considered to be an image captured from a virtual viewpoint set in a virtual three-dimensional space (virtual space) associated with the shooting space. The position and orientation of the virtual viewpoint can be expressed as the position and orientation of a virtual camera. Here, the virtual camera is a virtual camera different from a plurality of imaging devices (hereinafter, for convenience, referred to as "real cameras") that are actually installed around the shooting space, and is a concept for conveniently explaining a virtual viewpoint related to the generation of the virtual viewpoint image. In other words, it can be said that the virtual viewpoint image is an image that simulates a captured image obtained by a camera when it is assumed that the camera exists at the position of the virtual viewpoint set in the shooting space. The virtual viewpoint image is not limited to an image corresponding to a virtual viewpoint (virtual camera) arbitrarily designated by the user, and for example, an image corresponding to a virtual viewpoint selected by the user from among a plurality of virtual viewpoint candidates is also included in the virtual viewpoint image in this embodiment. In addition, in this embodiment, the description will be centered on a case where the virtual viewpoint is designated by a user operation, but the virtual viewpoint may be designated automatically based on the result of image analysis, etc. In addition, in this embodiment, the description will be centered on a case where the virtual viewpoint image is a moving image, but the virtual viewpoint image may be a still image.

[0010] The viewpoint information used to generate the virtual viewpoint image is information indicating the position and orientation of the virtual viewpoint. Specifically, the viewpoint information is a parameter set including a parameter indicating the three-dimensional position of the virtual viewpoint (virtual camera) and a parameter indicating the orientation of the virtual viewpoint in each of the pan, tilt, and roll directions. Note that the content of the viewpoint information is not limited to the above. For example, the parameter set as the viewpoint information may include a parameter indicating the size of the visual field (angle of view) of the virtual viewpoint. In addition, the viewpoint information may have a plurality of parameter sets. For example, the viewpoint information may have a plurality of parameter sets corresponding to each of a plurality of frames constituting the virtual viewpoint image, and may be information indicating the position and orientation of the virtual viewpoint at each of a plurality of consecutive time points.

[0011] The image processing system 100 has a plurality of cameras 110 that capture images of a three-dimensional space (photographing space) in which an object (subject) exists from a plurality of directions. The photographing space may be, for example, a stadium where soccer or karate is played, or a stage where a concert or a play is played. As shown in FIG. 2, the plurality of cameras 110 are installed at different positions so as to surround the photographing space, and capture images synchronously. Note that the plurality of cameras 110 do not need to be installed all around the photographing space, and may be installed only in some directions of the photographing space depending on restrictions on the installation location. The number of cameras 110 is determined by the size of the photographing space, the required accuracy of the virtual viewpoint image, and the like. In the example of FIG. 2, 12 cameras 110a to 110l are shown, but if the photographing space is vast, such as a soccer stadium, the number may be about tens to hundreds. Furthermore, a plurality of types of cameras 110 with different functions, such as a telephoto camera and a wide-angle camera, may be installed.

[0012] The user terminal 130 is an information processing device such as a PC (Personal Computer) or a tablet terminal that can display images, execute programs, and the like, and that can be operated by a user.

[0013] <Hardware configuration of image processing device> The hardware configuration of the image processing device 120 will be described with reference to Fig. 3. The image processing device 120 includes a CPU 311, a ROM 312, a RAM 313, an auxiliary storage device 314, a display unit 315, an operation unit 316, a communication I / F 317, and a bus 318.

[0014] The CPU 311 controls the entire image processing device 120 using computer programs and data stored in the ROM 312 and the RAM 313. The image processing device 120 may have one or more dedicated hardware components different from the CPU 311, and at least a part of the processing performed by the CPU 311 may be executed by the dedicated hardware components. Examples of the dedicated hardware components include an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), and a DSP (Digital Signal Processor). The ROM 312 stores programs that do not require modification. The RAM 313 temporarily stores programs and data supplied from the auxiliary storage device 314, and data supplied from the outside via the communication I / F 317. The auxiliary storage device 314 is composed of, for example, a hard disk drive, and stores various data such as image data and audio data.

[0015] The display unit 315 is composed of, for example, a liquid crystal display, an LED, etc., and displays a GUI (Graphical User Interface) etc. for the user to operate the image processing device 120. The operation unit 316 is composed of, for example, a keyboard, a mouse, a joystick, a touch panel, etc., and receives operations by the user and inputs various instructions to the CPU 311. The CPU 311 operates as a display control unit that controls the display unit 315 and an operation control unit that controls the operation unit 316.

[0016] The communication I / F 317 is used for communication with an external device. For example, when the image processing device 120 is connected to an external device by wire, a communication cable is connected to the communication I / F 317. When the image processing device 120 has a function of wirelessly communicating with an external device, the communication I / F 317 includes an antenna. The bus 218 connects the above-mentioned units of the image processing device 120 to transmit information.

[0017] In this embodiment, the display unit 315 and the operation unit 316 are assumed to exist inside the image processing device 120, but at least one of the display unit 315 and the operation unit 316 may exist outside the image processing device 120 as a separate device.

[0018] <Functional configuration of image processing device> Next, a description will be given of functions of the image processing device 120. Fig. 4 is a block diagram showing the functional configuration of the image processing device 120 according to this embodiment.

[0019] The camera parameter acquisition unit 401 acquires and holds the camera parameters of all the real cameras 110 constituting the image processing system 100. The camera parameters refer to information such as the position, attitude, and focal length of each installed real camera 110. The camera parameter acquisition unit 401 acquires this information from a control device (not shown) that controls the real cameras 110, and holds it in advance as camera parameters. The camera parameters held by the camera parameter acquisition unit 401 are output to a learning camera selection unit 403, a learning camera path generation unit 404, a learning virtual viewpoint image generation unit 406, and a virtual viewpoint image generation unit 409, and are used in the processing of each functional unit.

[0020] The camera path input unit 402 inputs a camera path as virtual viewpoint information required to generate a virtual viewpoint image requested by a user, which is sent from the user terminal 130, for example. Here, the camera path is information indicating the trajectory of the time-series movement of the virtual camera (virtual viewpoint), and is composed of camera parameters in multiple frames each specified by a time code. The camera path input unit 402 outputs the input camera path to the learning camera selection unit 403 and the virtual viewpoint image generation unit 409.

[0021] The learning camera selection unit 403 uses the input camera parameters of the multiple real cameras 110 and the input camera path to identify a real camera whose attitude value is close to that of the virtual camera for each time code, and selects it as a real camera for the captured image to be used for machine learning. The reason for focusing on the attitude value is that even if the position of the camera is significantly different (the distance to the object is significantly different), if the attitude (line of sight direction) is the same, the appearance of the object in the captured image is similar and it can be used for learning. The "attitude value" used here refers to the distance in each of multiple parameters (pan, tilt, roll) that specify the attitude of the camera. The learning camera selection unit 403 performs a process of selecting a real camera that captures a frame-by-frame captured image that is close in appearance to the frame-by-frame image (virtual viewpoint image) generated by the input camera path, based on the attitude. In this case, the number of real cameras 110 selected as having a close "attitude value" is not limited to one, and may be multiple. The "attitude value" may be anything that allows evaluation of the similarity of the attitude between the virtual camera and the real camera, and may be, for example, a comparison using the total values ​​of the pan, tilt, and roll values, or a comparison using only the difference values ​​of specific parameters. Information on the real camera selected for each time code (i.e., information on the real camera corresponding to the captured image used for machine learning) is output to the learning camera path generation unit 404 as learning camera information.

[0022] The learning camera path generating unit 404 generates a learning camera path for generating a virtual viewpoint image used for machine learning based on the "real camera having a posture value close to that of the virtual camera" selected for each frame indicated by the learning camera information and the camera parameters of each real camera. The learning camera path generated here is a description of the camera parameters of the real camera determined to have a "posture value" close to that of the virtual camera for each time code. When multiple real cameras are selected by the learning camera selecting unit 403, the number of learning camera paths is the same as the number of selected real cameras for the virtual cameras at all time codes of the input camera path. The generated learning camera path is output to the learning virtual viewpoint image generating unit 406.

[0023] The captured image input unit 405 inputs all captured images used to generate a virtual viewpoint image sent from the multiple real cameras 110. The input captured images of the multiple real cameras 110 are output to a learning virtual viewpoint image generation unit 406, a machine learning unit 407, and a virtual viewpoint image generation unit 409.

[0024] The learning virtual viewpoint image generating unit 406 generates a learning virtual viewpoint image for use in machine learning based on the camera parameters of each of the multiple real cameras 110, the multiple captured images obtained by the multiple real cameras 110, and the learning camera path. The learning virtual viewpoint image is a virtual viewpoint image generated as a virtual viewpoint from the viewpoint of a real camera selected as having a posture value close to that of the virtual camera, and the generation method is the same as that of the virtual viewpoint image generating unit 409 described later. That is, the learning virtual viewpoint image generating unit 406 only has a different role from the virtual viewpoint image generating unit 409 described later, and the processing content to be executed is the same. The learning virtual viewpoint images are generated by the number of input learning camera paths. The generated learning virtual viewpoint images are output to the machine learning unit 407.

[0025] The machine learning unit 407 performs machine learning based on the input learning virtual viewpoint image and the input images captured by the multiple real cameras 110, and generates a trained model for improving image quality, such as removing jelly noise and blur. When performing machine learning, a learning data set is created in which the learning virtual viewpoint image is associated with the images captured by the real cameras as the correct answer data. At this time, if the virtual viewpoint image to be inferred is a video consisting of multiple frames, a learning data set corresponding to the time codes of the frames is created. Specifically, the time codes of the input learning camera path are referenced from the beginning, and a frame of the image captured by the selected real camera corresponding to the time code of interest is associated with a frame of the learning virtual viewpoint image corresponding to the time code of interest. At this time, if multiple real cameras are selected for one time code, each image captured by the multiple real cameras is associated one-to-one with each learning virtual viewpoint image corresponding to each of the multiple real cameras.

[0026] For example, when a neural network that refers to previous and next frames is used as a machine learning method, a learning data set is created so that a plurality of time codes are combined into one image group of consecutive frames. Specifically, a learning data set is created by associating a frame in an image captured by a real camera corresponding to a time code of interest as correct answer data with a frame in a learning virtual viewpoint image corresponding to the time code of interest. Next, time codes before and after the time code of interest are referenced to confirm whether the same real camera is linked to the previous and next time codes. If linked, frames in an image captured by a real camera linked to the previous and next time codes are associated with frames in a learning virtual viewpoint image corresponding to the previous and next time codes as correct answer data and added to the learning data set. This process is repeated for the time codes arranged in chronological order until the continuity is broken. Then, in the learning data set obtained by the above process, a group of consecutive frames in an image captured by the same real camera and a group of consecutive frames in a learning virtual viewpoint image generated with the same time code are associated as "groups of consecutive images". Machine learning is performed for each of the training data sets thus obtained, and trained neural networks as trained models and frame information corresponding to each trained neural network are generated in the same number as the number of machine learning runs. The generated trained models and their frame information are output to the trained model holding unit 408.

[0027] The trained model holding unit 408 holds the frame information for each section and the trained model input from the machine learning unit 407 , and outputs them to the inference unit 410 .

[0028] The virtual viewpoint image generating unit 409 generates a virtual viewpoint image according to the user-specified camera path input from the camera path input unit 402, based on a plurality of captured images by a plurality of real cameras 110 input from the captured image input unit 405. Specifically, the virtual viewpoint image is generated by performing processes such as foreground / background separation, generation of three-dimensional shape data of the foreground, and coloring of the three-dimensional shape data of the foreground, for each frame of the plurality of captured images. Details of each process are not the point of the present invention, so description will be omitted. The generated virtual viewpoint image is output to the inference unit 410.

[0029] The inference unit 410 performs inference on the virtual viewpoint image input from the virtual viewpoint image generation unit 409, using the trained models and frame information corresponding to each trained model from the trained model holding unit 408. This inference is performed by passing the frame of the target time code in the virtual viewpoint image through the trained model corresponding to the target time code. The frames obtained by the inference are rearranged in order of time code and output to the image output unit 411 as the inferred virtual viewpoint image.

[0030] The image output unit 411 converts the inferred virtual viewpoint image input from the inference unit 410 into a transmittable transmission signal, and outputs it to the user terminal 130.

[0031] <Processing flow in image processing device> Next, the flow of each process in the image processing device 120 according to this embodiment will be described with reference to the flowchart in Fig. 5. In the flowchart in Fig. 5, the description of the generation process of the virtual viewpoint image in the virtual viewpoint image generating unit 409 is omitted, but it is executed separately in parallel with each process of S504 to SS507. In the following description, the symbol "S" means a step.

[0032] In S501, the camera parameter acquisition unit 401 acquires the camera parameters of all the real cameras 110. The acquired camera parameters are output to the learning camera selection unit 403, the learning camera path generation unit 404, the learning virtual viewpoint image generation unit 406, and the virtual viewpoint image generation unit 409.

[0033] In S502, the camera path input unit 402 inputs a camera path for generating a virtual viewpoint image desired by the user from a virtual viewpoint controller (not shown) or the like. The input user-specified camera path is output to the learning camera selection unit 403 and the virtual viewpoint image generation unit 409.

[0034] In S503, the captured image input unit 405 accepts input of a plurality of captured images by the plurality of real cameras 110. The input captured images are output to the learning virtual viewpoint image generation unit 406, the machine learning unit 407, and the virtual viewpoint image generation unit 409.

[0035] In S504, the learning camera selection unit 403 selects a real camera corresponding to the captured image used in machine learning using the posture information based on the camera parameters of all the real cameras 110 and the camera path specified by the user. FIG. 6(a) is a diagram for explaining how the real cameras are selected according to the posture of the virtual camera for each time code in the camera path. In the camera path shown in FIG. 6(a), the real cameras 110a and 110b are selected while the virtual camera is near the start position, and the selected real camera changes to the real camera 110c as the virtual camera moves from the start position. The information of the real camera selected using the posture information in this way is output to the learning camera path generation unit 404 as learning camera information.

[0036] In S505, the training camera path generation unit 404 generates a training camera path for generating a training virtual viewpoint image based on the training camera information input from the training camera selection unit 403 and the camera parameters of all the real cameras 110. The generated training camera path is output to the training virtual viewpoint image generation unit 406.

[0037] In S506, the learning virtual viewpoint image generation unit 406 generates a learning virtual viewpoint image based on the camera path input from the learning camera path generation unit 404, the camera parameters of all the real cameras 110, and the multiple captured images input from the captured image input unit 405. The generated learning virtual viewpoint image is output to the machine learning unit 407.

[0038] In S507, the machine learning unit 407 performs machine learning using the learning virtual viewpoint image input from the learning virtual viewpoint image generation unit 406 and the multiple captured images input from the captured image input unit 405. The trained model obtained by machine learning is output to the trained model holding unit 408 together with time code information corresponding to the trained model.

[0039] In S508, the inference unit 410 performs inference processing on the virtual viewpoint image input from the virtual viewpoint image generation unit 409, using the trained model input from the trained model holding unit 408. At this time, inference is performed using the trained model corresponding to the target time code. A new virtual viewpoint image obtained by inference is output to the image output unit 411.

[0040] In S509, the image output unit 411 outputs the inferred virtual viewpoint image input from the inference unit 410 to the user terminal 130.

[0041] The above is the flow of processing in the image processing device 120 according to this embodiment. Note that each process performed by the image processing device 120 described in this embodiment may be shared and performed by a plurality of image processing devices. For example, the generation process of the virtual viewpoint image performed by the learning virtual viewpoint video generation unit 406 and the virtual viewpoint image generation unit 409 may be performed by different image processing devices. Alternatively, the learning phase and the inference phase may be separated and each may be performed by different image processing devices.

[0042] <Modification> In the above embodiment, the orientation information of the virtual camera and each real camera is used when selecting a learning camera, but position information and focal length information may also be used.

[0043] In this modified example, the learning camera selection unit 403 refers to the camera path and, for each time code, uses the position and orientation of the virtual camera as a reference, specifies a real camera whose both values ​​are closer than a certain value, and selects it as a real camera to be used for learning. Here, the position value may be a three-dimensional coordinate value that defines the shooting space with three axes of XYZ, which is included in the camera parameters. The orientation value is as described above. The value may be determined by a user or by automatic calculation by a program. Then, as a result of the above process, if it is determined that the position and orientation values ​​of multiple real cameras are close to those of the virtual camera for the target time code, the real camera whose focal length value is closest to that of the virtual camera is selected as the real camera corresponding to the target time code. At this time, if there are multiple real cameras with the same focal length, the multiple real cameras are selected. FIG. 6(b) is a diagram for explaining the manner in which the real camera with the closer focal length is selected from among the real cameras selected based on the position and orientation. In the example of Fig. 6(b), of the two real cameras 110a and 110b whose positions and orientations are determined to be close to those of the virtual camera, the real camera 110b whose focal length (angle of view) is close to that of the virtual camera is selected. Based on the training camera information including the information of the real camera selected in this way, the training camera path generating unit 404 generates a training camera path.

[0044] As described above, according to this modification, by using the position and focal length information in addition to the orientation information, it is possible to select a real camera that captures images in a manner closer to that of the virtual camera, thereby further reducing the number of real cameras to be learned.

[0045] According to this embodiment, the parameter values ​​representing the position, orientation, and focal length of the virtual camera in the specified camera path are compared with those of each real camera, and a learning camera is selected over time. By limiting the number of learning cameras in this way, it is possible to shorten the time required for machine learning while maintaining the quality of inference.

[0046] [Embodiment 2] Next, an aspect in which the frame (time code) to be targeted when selecting a learning camera is limited by referring to the amount of movement between frames of the virtual camera in the user-specified camera path will be described as embodiment 2. Note that a description of the contents common to embodiment 1, such as the system configuration, will be omitted, and the following description will focus on the differences.

[0047] <Functional configuration of image processing device> Fig. 7 is a block diagram showing the functional configuration of an image processing device 120 according to this embodiment. In Fig. 7, blocks that perform the same functions as those in the first embodiment are given the same reference numbers, and the description thereof will be omitted.

[0048] The learning frame selection unit 701 refers to the camera path input from the camera path input unit 402 and selects frames belonging to a section where the movement amount of the virtual camera between frames is less than a certain amount. That is, the learning camera is not selected for a frame section where the change amount of the position of the virtual camera between frames is equal to or more than a certain amount. This is because, for a scene where the change amount of the viewpoint movement amount or the posture movement amount of the virtual camera is large, image roughness is not noticeable, so the need for learning is low. FIG. 9 is a diagram for explaining the selection of a frame to be processed focusing on the movement amount of the virtual camera between frames. It shows the selection such that a frame section where the movement amount between frames is large (the virtual camera movement speed is fast) is excluded from the learning target, and a frame section where the movement amount is small (the virtual camera movement speed is slow) is selected as the learning target. In the example of FIG. 9, a real camera is not selected for the first half frame section where the virtual camera movement speed is fast in the camera path, and a real camera is selected for the second half frame section where the movement speed is slow. In a similar manner, the frames to be processed may be selected so that sections in which the amount of change in posture between frames is large are excluded from the learning targets, and frame sections in which the amount of change in posture is small are the learning targets. The learning frame selection unit 701 generates frame information for selecting the selected frames as the learning camera selection targets, and outputs the frame information to the learning camera selection unit 403.

[0049] The learning camera selection unit 403' identifies a real camera whose posture value is close to that of the virtual camera for each time code assigned to a frame indicated by the frame information, and selects it as a real camera whose captured image is used for machine learning. Alternatively, as in the above-mentioned modified example, the real camera may be selected further using the position and focal length values.

[0050] <Processing flow in image processing device> Next, the flow of each process in the image processing device 120 according to this embodiment will be described with reference to the flowchart in Fig. 8. In the following description, the symbol "S" means step. In the flowchart in Fig. 8, S501 to S503 and S504 to S509 are the same as in the first embodiment, so the description will be omitted.

[0051] In S801, the learning frame selection unit 701 first refers to the user-specified camera path input in S502, and identifies a frame section in which the difference in position and / or orientation values ​​between adjacent frames is equal to or greater than a certain amount. Then, it selects frames other than the specified frame section as target frames for selecting a learning camera, generates frame information, and outputs it to the learning camera selection unit 403. Then, in the following S504, the learning camera selection unit 403 selects a learning camera based on the camera parameters of each real camera 110 and the user-specified camera path, with only the time codes of the frames indicated by the frame information as the target.

[0052] The above is the flow of processing in the image processing device 120 according to this embodiment. Note that in S504 of this embodiment, the processing described in the modified example of the first embodiment, that is, the selection of the learning camera using the position information and the focal length information in addition to the orientation information, may be performed.

[0053] As described above, according to this embodiment, only frame sections in which the amount of change in the position and / or attitude of the virtual camera is small in a specified camera path are selected as frames for selecting a learning camera. This makes it possible to focus on and efficiently learn parts of the completed virtual viewpoint image where roughness may be noticeable, in addition to the effects of the first embodiment.

[0054] <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.

[0055] The present disclosure also includes the following configurations and methods. [Configuration 1] An image processing device that performs machine learning to improve the image quality of a virtual viewpoint image based on a plurality of captured images, an acquisition means for acquiring virtual viewpoint information that defines a virtual viewpoint for generating the plurality of captured images and the virtual viewpoint image corresponding to each of a plurality of image capturing devices; A selection means for selecting an imaging device to be referenced in the machine learning from among the plurality of imaging devices based on the virtual viewpoint information; a learning means for performing the machine learning using a learning data set in which an image captured by the image capture device selected by the selection means is used as correct answer data and a learning virtual viewpoint image generated using a viewpoint of the image capture device as a virtual viewpoint is associated with the correct answer data; 13. An image processing device comprising: [Configuration 2] 2. The image processing device according to configuration 1, wherein the selection means selects, from among the plurality of image capturing devices, an image capturing device that captures images from a viewpoint similar to the virtual viewpoint indicated by the virtual viewpoint information. [Configuration 3] The image processing device according to configuration 1, wherein the selection means determines whether or not the viewpoints of the respective imaging devices are similar to the virtual viewpoint indicated by the virtual viewpoint information based on the orientation value. [Configuration 4] 4. The image processing device according to configuration 3, wherein the attitude value is a value defined by pan, tilt, and roll. [Configuration 5] The image processing device according to configuration 3 or 4, wherein the selection means determines whether or not the viewpoints of the respective imaging devices are similar to the virtual viewpoint indicated by the virtual viewpoint information, based on the positions and focal length values. [Configuration 6] The image processing device of any one of configurations 1 to 5, characterized in that when multiple imaging devices are selected by the selection means, the learning means performs the machine learning using a learning dataset in which each captured image by the multiple imaging devices is used as correct answer data and a one-to-one correspondence is established between each of the viewpoints of the multiple imaging devices and each learning virtual viewpoint image generated using a virtual viewpoint. [Configuration 7] The plurality of captured images and the virtual viewpoint image are a video consisting of a plurality of frames identified by a time code, and the virtual viewpoint information is a camera path indicating a chronological movement trajectory of a virtual viewpoint, the selection means performs the selection for each time code, The learning means performs the machine learning using the learning data sets corresponding to each time code. 7. The image processing device according to any one of configurations 1 to 6. [Configuration 8] The image processing device of configuration 7, characterized in that in the learning data set corresponding to each time code, a frame in an image captured by a selected imaging device corresponding to a time code of interest is set as correct answer data and is associated with a frame in the learning virtual viewpoint image corresponding to the time code of interest. [Configuration 9] The image processing device according to configuration 8, wherein the selection means performs the selection on frames of the plurality of image capturing devices in which a change amount of the virtual viewpoint between frames in the camera path is less than a certain amount. [Configuration 10] 10. The image processing device according to configuration 9, wherein the amount of change in the virtual viewpoint between the frames is an amount of change in the position of the virtual viewpoint between the frames. [Configuration 11] 10. The image processing device according to configuration 9, wherein the amount of change in the virtual viewpoint between the frames is an amount of change in the attitude of the virtual viewpoint between the frames. [Configuration 12] 7. The image processing device according to any one of configurations 1 to 6, further comprising an inference means for performing inference on a virtual viewpoint image generated based on the plurality of captured images and the virtual viewpoint information, using a trained model obtained by the machine learning of the learning means. [Configuration 13] The method further includes an inference unit that performs inference on a virtual viewpoint image generated based on the plurality of captured images and the virtual viewpoint information by using a trained model obtained by the machine learning of the training unit, The image processing device according to any one of configurations 7 to 11, characterized in that, when different trained models exist for each time code, the inference means performs the inference using a trained model corresponding to the time code of interest. [Method 1] An image processing method for performing machine learning to improve the image quality of a virtual viewpoint image based on a plurality of captured images, comprising: an acquisition step of acquiring the plurality of captured images corresponding to the plurality of imaging devices and virtual viewpoint information defining a virtual viewpoint for generating the virtual viewpoint image; a selection step of selecting an imaging device to be referenced in the machine learning from among the plurality of imaging devices based on the virtual viewpoint information; a learning step of performing the machine learning using a learning data set in which an image captured by the imaging device selected in the selection step is used as correct answer data and a learning virtual viewpoint image generated using a viewpoint of the imaging device as a virtual viewpoint is associated with the correct answer data; 13. An image processing method comprising: [Configuration 14] A program for causing a computer to function as the image processing device according to any one of configurations 1 to 13.

Claims

1. An image processing device that performs machine learning to improve the image quality of a virtual viewpoint image based on a plurality of captured images, an acquisition means for acquiring virtual viewpoint information that defines a virtual viewpoint for generating the plurality of captured images and the virtual viewpoint image corresponding to each of a plurality of image capturing devices; A selection means for selecting an imaging device to be referenced in the machine learning from among the plurality of imaging devices based on the virtual viewpoint information; a learning means for performing the machine learning using a learning data set in which an image captured by the image capture device selected by the selection means is used as correct answer data and a learning virtual viewpoint image generated using a viewpoint of the image capture device as a virtual viewpoint is associated with the correct answer data; 13. An image processing device comprising:

2. 2 . The image processing apparatus according to claim 1 , wherein the selection means selects, from among the plurality of image capture devices, an image capture device that captures images from a viewpoint similar to the virtual viewpoint indicated by the virtual viewpoint information.

3. 2 . The image processing apparatus according to claim 1 , wherein the selection means determines whether or not the viewpoints of the respective imaging devices are similar to the virtual viewpoint indicated by the virtual viewpoint information, based on a value of the orientation thereof.

4. 4. The image processing apparatus according to claim 3, wherein the attitude value is a value defined by pan, tilt, and roll.

5. 4. The image processing device according to claim 3, wherein the selection means determines whether or not the viewpoints of the respective imaging devices are similar to the virtual viewpoint indicated by the virtual viewpoint information, based on the positions and focal length values ​​thereof.

6. The image processing device described in claim 1, characterized in that when multiple imaging devices are selected by the selection means, the learning means performs the machine learning using a learning data set in which each captured image by the multiple imaging devices is used as correct answer data and a one-to-one correspondence is established between each learning virtual viewpoint image generated using the viewpoint of each of the multiple imaging devices as a virtual viewpoint.

7. The plurality of captured images and the virtual viewpoint image are a video consisting of a plurality of frames identified by a time code, and the virtual viewpoint information is a camera path indicating a chronological movement trajectory of a virtual viewpoint, the selection means performs the selection for each time code, The learning means performs the machine learning using the learning data sets corresponding to each time code.

2. The image processing device according to claim 1,

8. The image processing device according to claim 7, characterized in that in the learning data set corresponding to each time code, a frame in an image captured by a selected imaging device corresponding to a time code of interest is treated as correct answer data and is associated with a frame in the learning virtual viewpoint image corresponding to the time code of interest.

9. The image processing device according to claim 8 , wherein the selection means performs the selection on frames of the plurality of image capturing devices in which a change in the virtual viewpoint between frames in the camera path is less than a certain amount.

10. 10. The image processing apparatus according to claim 9, wherein the amount of change in the virtual viewpoint between the frames is an amount of change in the position of the virtual viewpoint between the frames.

11. 10. The image processing apparatus according to claim 9, wherein the amount of change in the virtual viewpoint between the frames is an amount of change in the attitude of the virtual viewpoint between the frames.

12. The image processing device according to claim 1, further comprising an inference means for performing inference on a virtual viewpoint image generated based on the plurality of captured images and the virtual viewpoint information, using a trained model obtained by the machine learning of the learning means.

13. The method further includes an inference unit that performs inference on a virtual viewpoint image generated based on the plurality of captured images and the virtual viewpoint information by using a trained model obtained by the machine learning of the training unit, The image processing device according to claim 7 , wherein, when different trained models exist for each time code, the inference means performs the inference using a trained model corresponding to the time code of interest.

14. An image processing method for performing machine learning to improve the image quality of a virtual viewpoint image based on a plurality of captured images, comprising: an acquisition step of acquiring the plurality of captured images corresponding to the plurality of imaging devices and virtual viewpoint information defining a virtual viewpoint for generating the virtual viewpoint image; a selection step of selecting an imaging device to be referenced in the machine learning from among the plurality of imaging devices based on the virtual viewpoint information; a learning step of performing the machine learning using a learning data set in which an image captured by the imaging device selected in the selection step is used as correct answer data and a learning virtual viewpoint image generated using a viewpoint of the imaging device as a virtual viewpoint is associated with the correct answer data; 13. An image processing method comprising:

15. A program for causing a computer to execute the image processing method according to claim 14.

Citation Information

Patent Citations

  • Image processing device, image processing method, learned model generation method, and program

    JP2021128592A