IMAGE PROCESSING APPARATUS, 3D MODEL GENERATION METHOD, AND PROGRAM
The image processing device addresses shooting failures in multi-view 3D model generation by determining the subject's position relative to multiple cameras' imaging ranges, reducing failures through timely notifications.
Patent Information
- Application Number
- JP2021513570
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-04-12
- Filing Date
- 2020-03-27
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2040-03-27
AI Technical Summary
In multi-view photography for 3D model generation, subjects may move out of the imaging range of certain cameras when multiple cameras are used, leading to shooting failures.
An image processing device generates a 3D region of the imaging range from multiple-view images and determines the photographing status of the subject by projecting this region onto a specific viewpoint, using a pair of region and subject images to assess if the subject is likely to deviate from the imaging range of multiple cameras.
Reduces shooting failures by notifying users when the subject is about to move out of the imaging range, thereby improving the accuracy of 3D model generation.
Smart Images

Figure 0007544036000005 
Figure 0007544036000013 
Figure 0007544036000007
Abstract
Description
[Technical field]
[0001] The present technology relates to an image processing device, a 3D model generating method, and a program, and in particular to an image processing device, a 3D model generating method, and a program that enable reducing shooting failures in multi-viewpoint shooting for generating a 3D model. [Background technology]
[0002] There is a technology that generates a 3D model of a subject from video images shot from multiple viewpoints, and generates a virtual viewpoint image of the 3D model according to an arbitrary viewing position, thereby providing an image from any viewpoint. This technology is also called volumetric capture technology.
[0003] A 3D model is generated using a method such as Visual Hull, which uses multiple captured images from different directions to carve out the three-dimensional shape of a subject (see, for example, Patent Document 1). Since the accuracy of the 3D model improves by increasing the number of cameras, it is preferable to capture the subject from different directions with multiple cameras. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] International Publication No. 2018 / 150933 Summary of the Invention [Problem to be solved by the invention]
[0005] However, when a large number of cameras are used, if the subject moves, it may go out of the imaging range of a certain camera, and shooting may need to be repeated.
[0006] This technology was developed in light of these circumstances, and makes it possible to reduce shooting errors when taking multiple viewpoints for generating 3D models. [Means for solving the problem]
[0007] According to one aspect of the present technology, there is provided an image processing device including: a generating unit that generates a 3D region of an imaging range generated from a plurality of multi-viewpoint images; and a determining unit that determines a shooting situation of a subject of an imaging device based on a region image obtained by projecting the 3D region onto a specific viewpoint and a subject image from an imaging device corresponding to the specific viewpoint. and the determination unit determines whether the subject is likely to move out of the imaging ranges of the imaging devices that captured the multiple multi-view images, using a pair of the area image and the subject image. .
[0008] A 3D model generation method according to one aspect of the present technology is a 3D model generation method for generating a 3D model of a subject, the method including the steps of: generating a 3D area of an imaging range generated from a plurality of multi-viewpoint images; determining a shooting situation of a subject of the imaging device based on an area image in which the 3D area is projected to a specific viewpoint and a subject image from an imaging device corresponding to the specific viewpoint; and generating a 3D model of the subject based on the plurality of multi-viewpoint images. In determining the shooting situation of the subject of the imaging device, a pair of the area image and the subject image is used to determine whether the subject is likely to go out of the imaging range of the imaging devices that captured the multiple multi-view images. .
[0009] A program according to one aspect of the present technology causes a computer to function as a generating unit that generates a 3D region of an imaging range generated from a plurality of multi-viewpoint images, and a determining unit that determines a shooting situation of a subject of an imaging device based on a region image in which the 3D region is projected onto a specific viewpoint and a subject image from an imaging device corresponding to the specific viewpoint. The determination unit determines whether the subject is likely to move out of the imaging ranges of the imaging devices that captured the multiple multi-view images, using the pair of the area image and the subject image. This is for the purpose.
[0010] In one aspect of the present technology, a 3D area of an imaging range is generated from a number of multi-viewpoint images, and the shooting situation of a subject of the imaging device is determined based on a region image projected by projecting the 3D area onto a specific viewpoint and an image of a subject from an imaging device corresponding to the specific viewpoint. In determining the shooting conditions of the subject of the imaging device, a pair of the area image and the subject image is used to determine whether the subject is in a state where it is about to move out of the shooting range of the multiple imaging devices that captured the multiple multi-view images.
[0011] The image processing device according to one aspect of the present technology can be realized by causing a computer to execute a program. The program to be executed by the computer can be provided by transmitting the program via a transmission medium or by recording the program on a recording medium.
[0012] The image processing device may be an independent device, or may be an internal block constituting a single device. [Brief description of the drawings]
[0013] [Figure 1] FIG. 1 is a diagram illustrating an example of the configuration of an image processing system to which the present technology is applied. [Diagram 2] 11A and 11B are diagrams illustrating an example of a notification in the image processing system. [Diagram 3] 1 is a block diagram showing an example of the configuration of a first embodiment of an image processing device; [Figure 4] FIG. 13 is a diagram illustrating an example of a process for calculating a 3D region. [Diagram 5] FIG. 13 is a diagram illustrating an example of processing of an effective area mask image. [Figure 6] FIG. 11 is a diagram showing an example of visual recognition camera information. [Figure 7] 13A and 13B are diagrams illustrating an example of processing by a silhouette extraction unit; [Figure 8] 11A and 11B are diagrams illustrating a camera determination process performed by a determination unit. [Figure 9] 11 is a flowchart illustrating a first imaging range determination process. [Figure 10] FIG. 11 is a block diagram showing an example of the configuration of a second embodiment of an image processing device. [Figure 11] 13 is a flowchart illustrating a second imaging range determination process. [Figure 12] FIG. 13 is a block diagram showing an example of the configuration of a third embodiment of an image processing device. [Figure 13] FIG. 13 is a diagram for explaining the processing of a 3D region calculation unit according to the third embodiment. [Figure 14] 13A to 13C are diagrams illustrating processing by a projection unit according to a third embodiment. [Figure 15] FIG. 13 is a diagram showing another example of camera arrangement. [Figure 16] 1 is a block diagram showing an example of the configuration of an embodiment of a computer to which the present technology is applied. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] Hereinafter, modes for carrying out the present technology (hereinafter, referred to as embodiments) will be described in the following order. 1. Example of image processing system configuration 2. First embodiment of image processing device 3. First imaging range determination process 4. Second embodiment of image processing device 5. Second imaging range determination process 6. Third embodiment of image processing device 7.Third imaging range determination process 8. Other camera placement examples 9. Computer configuration example
[0015] <1. Example of image processing system configuration> FIG. 1 shows an example of the configuration of an image processing system to which this technology is applied.
[0016] The image processing system in FIG. 1 is configured with, for example, N image capturing devices CAM-1 to CAM-N, an image processing device 11, and a display device 12.
[0017] As shown in Fig. 1, the imaging devices CAM-1 to CAM-N (N>1) are arranged to surround a person who is a subject, and capture the subject, and supply the resulting captured images to an image processing device 11. The captured images are sequentially supplied from each imaging device CAM to the image processing device 11 as moving images or consecutive still images. The multiple captured images supplied from the imaging devices CAM-1 to CAM-N are multiple multi-view images from which the subject is captured with different viewpoints. In the example of Fig. 1, N=8, and an example is shown in which eight imaging devices CAM-1 to CAM-8 are arranged to surround the subject.
[0018] The image processing device 11 generates a 3D model of an object with a subject as the object from a plurality of captured images supplied from each of the imaging devices CAM-1 to CAM-N. The data of the generated 3D model of the object is composed of, for example, image data of the captured images of the subject obtained by each imaging device CAM and 3D shape data representing the 3D shape of the subject. The 3D shape data may be, for example, a depth image corresponding to the captured images taken by the plurality of imaging devices CAM, or it may be represented by a point cloud representing the three-dimensional position of the object as a set of points, or a polygon mesh representing vertices and connections between the vertices.
[0019] The display device 12 displays a predetermined image supplied from the image processing device 11 .
[0020] Note that the image processing device 11 can generate a 3D model of an object by acquiring captured images temporarily stored in a predetermined storage unit such as a data server, instead of directly acquiring captured images from the imaging devices CAM-1 to CAM-N. Also, the image processing device 11 can generate a 3D model of an object by combining captured images acquired from the imaging devices CAM-1 to CAM-N and captured images stored in the storage unit.
[0021] In this embodiment, the moving images generated by each imaging device CAM are configured as captured images (RGB images) including RGB wavelengths, but may be multispectral images including IR (infrared) images.
[0022] Furthermore, each imaging device CAM may perform imaging a number of times while changing imaging conditions such as exposure conditions, light source position, or light source color, and supply the resulting captured images to the image processing device 11.
[0023] Furthermore, each imaging device CAM may be equipped with a distance measurement sensor to measure the distance to the subject, generate a depth image in which the distance to the subject is stored as a depth value corresponding to each pixel of the captured image in addition to the RGB captured image which is texture information of the subject, and supply the depth image to the image processing device 11. Also, the distance measurement sensor may be arranged independently of each imaging device CAM. In this case, the number of imaging devices CAM and distance measurement sensors (distance measurement devices) may be different.
[0024] The image processing device 11 may be a server device on the cloud, and the display device 12 may be a device equipped with a display such as a smartphone (mobile terminal). The image processing device 11 and the display device 12 may communicate with each other by being directly connected to each other, or may communicate with each other by being connected to each other via a predetermined network such as a LAN (Local Area Network) or the Internet.
[0025] In generating a 3D model of an object, it is preferable to capture the subject from different directions with multiple imaging devices CAM, since increasing the number of imaging devices CAM improves the accuracy of the 3D model. However, if there are many imaging devices CAM, when the subject moves, it may go out of the imaging range of one or more imaging devices CAM, and the image may need to be retaken.
[0026] The image processing device 11 can generate thumbnail images from the captured images transmitted from each of the N imaging devices CAM during shooting, and display them on the display device 12. The thumbnail images displayed on the display device 12 may be all thumbnail images corresponding to the captured images of the N imaging devices CAM, or a single thumbnail image (representative thumbnail image) corresponding to an image captured by a representative imaging device CAM. Alternatively, multiple thumbnail images corresponding to a predetermined number of imaging devices CAM may be displayed. A thumbnail image is an image with a reduced resolution and frame rate compared to the captured images obtained by the imaging device CAM.
[0027] In addition, the image processing device 11 can determine whether or not the subject has moved during shooting and gone outside the imaging range of the predetermined imaging device CAM, and can notify the user that the subject has gone outside the imaging range. The user here is the photographer or the person who is the subject.
[0028] FIG. 2 shows an example of a notification in the case where the image processing device 11 determines whether or not a subject has gone outside the imaging range of a predetermined imaging device CAM, and notifies the user that the subject has gone outside the imaging range.
[0029] FIG. 2A shows an example in which a message (text) "WARNING: CAM05" is displayed in a dialogue on the display device 12 to notify the user that the subject has gone out of the imaging range of the imaging device CAM-5.
[0030] FIG. 2B shows an example in which the message “WARNING: CAM05” is superimposed on the representative thumbnail image displayed on the display device 12 to notify the user that the subject has moved out of the imaging range of the imaging device CAM-5.
[0031] When all thumbnail images corresponding to the N imaging devices CAM are displayed, a "WARNING" message may be superimposed on the thumbnail image of the imaging device CAM in which the subject is outside the imaging range to notify the user.
[0032] FIG. 2C shows an example in which a silhouette image of a subject is generated from an image captured by a specified imaging device CAM, and the areas of the subject that fall outside the imaging range are colored, thereby notifying a user that the colored areas of the subject are outside the imaging range.
[0033] A silhouette image is an image that shows the area of a subject (subject area), which is an object to be drawn, as a silhouette, and is, for example, a binary image in which the pixel value of each pixel is binarized to "0" or "1." In a silhouette image, for example, the area of the subject is set to a pixel value of "1" and is displayed in white, and the area other than the subject is set to a pixel value of "0" and is displayed in black.
[0034] In the example of C in Fig. 2, the area of the feet in the subject area shown in white in the silhouette image is colored red to notify the user that it is outside the imaging range. Note that in Fig. 2, the red area is shown hatched due to drawing limitations.
[0035] As described above, the image processing device 11 has an object generation function that generates a 3D model of a subject as an object, as well as an imaging range determination function that determines the positional relationship between the subject and the imaging range and notifies (warns) the user when the subject is outside the imaging range.
[0036] In addition, when notifying the user when the subject is out of the imaging range, the user may be notified when one imaging device CAM is out of the imaging range, or when multiple imaging devices CAM are used, the user may be notified when a predetermined number of imaging devices CAM or more are out of the imaging range. In this case, the number of imaging devices CAM to be notified can be set (specified) in the determination unit 36 described later.
[0037] In the example of FIG. 2, a character or an image is displayed on the display device 12 to notify that the subject has fallen out of the predetermined imaging range, but other methods of notification may be used. For example, a beep may be output, or a sound such as "Camera No. 5 has fallen out" or "Your feet are sticking out" may be output. When a beep or sound is used to notify, a speaker may be provided additionally, or the speaker of the display device 12 may be used. In addition, both the screen display of the display device 12 and the sound output may be performed. In addition, instead of an immediate notification, the notification information may be stored in the storage unit together with the captured image, so that the notification can be made afterwards. For example, the notification information may be embedded in the captured image or 3D shape data as tag information, or a file storing the notification information may be generated and stored separately from the captured image and the 3D shape data. When the user sees the captured image or 3D model, the notification may be made by a character, an image, or a sound based on the tag information or the notification information included in the file.
[0038] The following is a detailed description of the imaging range determination function of the image processing device 11. Note that the object generation function of the image processing device 11 will be described briefly, assuming that it is realized using a general method.
[0039] <2. First embodiment of image processing device> FIG. 3 is a block diagram showing an example of the configuration of the image processing device 11 according to the first embodiment.
[0040] The image processing device 11 includes an image input unit 31, a calibration processing unit 32, a valid area calculation unit 33, a silhouette extraction unit 34, a semantic processing unit 35, a determination unit 36, a notification unit 37, a 3D model calculation unit 38, and a storage unit 39. The valid area calculation unit 33 includes a 3D area calculation unit 41 and a projection unit 42. The semantic processing unit 35 is an optional component and can be omitted.
[0041] The image input unit 31 acquires captured images transmitted from each of the N imaging devices CAM. The captured images are input sequentially as a moving image. The N captured images from each of the N imaging devices CAM are supplied to a calibration processing unit 32, a silhouette extraction unit 34, a semantic processing unit 35, a notification unit 37, and a 3D model calculation unit 38.
[0042] The calibration processing unit 32 performs a calibration process to calculate camera parameters of each imaging device CAM based on N captured images captured by the N imaging devices CAM. The calibration processing unit 32 performs a calibration process using N captured images of a chessboard with a black and white checkered chess pattern captured by the N imaging devices CAM. The calibration process determines characteristic parameters representing the characteristics of each of the N imaging devices CAM alone and external parameters representing the relationship with the other imaging devices CAM. The characteristic parameters representing the characteristics of the imaging device CAM alone include internal parameters such as the focal length, principal point, and angle of view of the imaging device CAM, and optical characteristic parameters such as distortion (aberration). The external parameters include the relative coordinate values (relative positions) of the imaging device CAM relative to the other imaging devices CAM.
[0043] If the positions of the N image capturing devices CAM are fixed, the chessboard is captured once and calibration processing is performed before capturing images for generating a 3D model. If the positions of the image capturing devices CAM move or the zoom (angle of view) is changed, in addition to the calibration processing before the start of capturing images, real-time calibration processing based on feature point detection of the subject must also be performed.
[0044] The calibration process is not limited to the above-mentioned method using the chessboard, and any other method may be used as long as it can determine the required parameters. The various parameters determined by the calibration process are supplied to the effective area calculation unit 33 (the 3D area calculation unit 41 and the projection unit 42) as camera parameters.
[0045] The 3D area calculation unit 41 of the effective area calculation unit 33 calculates the 3D area included in the imaging range of all N imaging devices CAM, based on the camera parameters supplied from the calibration processing unit 32.
[0046] FIG. 4 shows a processing example in which the 3D region calculation unit 41 calculates a 3D region 51 that is a region included in the imaging range of each of six imaging devices CAM-1 to CAM-6, where N=6.
[0047] As a method for calculating the 3D area included in the imaging range of all N imaging devices CAM, for example, a Visual Hull method can be used, which projects the imaging range of each imaging device CAM according to camera parameters and carves out a three-dimensional shape. Alternatively, the 3D area may be calculated using three-dimensional geometry. Data representing the calculated 3D area is supplied to the projection unit 42 in a predetermined 3D data format, such as a point cloud that represents the three-dimensional position of an object as a set of points, voxel data that represents a set of rectangular parallelepiped lattices, or a polygon mesh that represents vertices and connections between the vertices.
[0048] The projection unit 42 is supplied with the 3D regions included in the imaging ranges of all N imaging devices CAM from the 3D region calculation unit 41, and is also supplied with the camera parameters from the calibration processing unit 32.
[0049] The projection unit 42 projects the 3D area from the 3D area calculation unit 41 onto the viewpoint of a predetermined imaging device CAM that is the target camera, and generates an effective area mask image (area image) represented by a binary image in which the area corresponding to the 3D area is set to white (pixel value "1") and the area other than the 3D area is set to black (pixel value "0"). Since effective area mask images are generated for all imaging devices CAM, with each of the N imaging devices CAM being set as a target camera, the number of effective area mask images generated is the same as the number N of imaging devices CAM (i.e., N). Hereinafter, the area represented in white in the effective area mask image is referred to as the projected 3D area.
[0050] FIG. 5 shows an example of an effective area mask image 52 in which a 3D area 51 corresponding to the six imaging devices CAM-1 to CAM-6 shown in FIG. 4 is projected onto the viewpoint of a target camera, with imaging device CAM-1 serving as the target camera.
[0051] The effective area mask image 52 is represented as a binary image in which a projected 3D area 53 corresponding to the 3D area 51 on the projection surface (imaging range) on which the 3D area 51 is projected onto the viewpoint of the imaging device CAM-1 is set to white (pixel value "1"), and the area other than the projected 3D area 53 is set to black (pixel value "0").
[0052] Furthermore, the projection unit 42 can generate visual camera information including number information indicating how many imaging devices CAM can view the surface of the subject, and camera information indicating which imaging devices CAM can view the surface of the subject.
[0053] FIG. 6 shows an example of visual camera information when imaging is performed by five imaging devices CAM-1 to CAM-5.
[0054] As shown in Fig. 6, the inside of the projected 3D area 53 of the effective area mask image 52 is divided according to the number of imaging devices CAM that can see the surface of the subject. This number represents the number information indicating the number of imaging devices CAM that can directly view the subject. By projecting each point on the surface of the 3D area 51 onto each imaging device CAM, it is possible to determine whether it can be directly viewed from the target imaging device CAM. If it is known which imaging device CAM can see the surface of the subject (3D area 51), it is also possible to count how many imaging devices CAM can see the surface of the subject (3D area 51) in total.
[0055] Returning to FIG. 3, the projection unit 42 supplies the generated N effective area mask images and the visual camera information to the determination unit 36.
[0056] The silhouette extraction unit 34 generates a silhouette image by extracting, as a silhouette, an area of a subject, which is an object to be drawn, for each of the N captured images supplied from the image input unit 31. The generated silhouette image is supplied to the determination unit 36.
[0057] The method for detecting the silhouette of the subject in the texture image is not particularly limited, and any method can be adopted. For example, as shown in Fig. 7, a background image 62 in which only the background not including the subject is captured and stored in advance, and a silhouette image 63 can be generated by using a background difference method in which the difference between the captured image 61 and the background image 62 is calculated.
[0058] In addition, if a depth image in which the distance to the subject is stored as a depth value has also been acquired, a silhouette image can be generated by separating the foreground region, which is the subject region, from the background region based on the distance information of the depth image.
[0059] Alternatively, an image matting technique such as Graph Cut or Chromakey may be used to extract a subject area from only one captured image and generate a silhouette image.
[0060] The semantic processing unit 35 performs semantic segmentation processing to identify and add semantic information of an object appearing as a subject in a captured image to each predetermined region. For example, when the subject is a person, the semantic processing unit 35 can identify and classify the subject region of the entire person into parts such as head, hand (right hand, left hand), arm (right arm, left arm), leg (right leg, left leg), and torso by semantic segmentation processing. When the subject is not a person, the semantic processing unit 35 can identify and add the type of object such as a ball, racket, or car. The semantic processing unit 35 supplies the semantic information that is identified and added to each predetermined region of the subject to the determination unit 36. This semantic information may be instance semantic segmentation including individual information. By utilizing the individual information, for example, processing focusing on the number of subjects such as one or two people or a specific subject becomes possible.
[0061] The determination unit 36 determines the shooting conditions of the subject of each imaging device CAM based on the N effective area mask images corresponding to the N imaging devices CAM from the projection unit 42 and the N silhouette images supplied from the determination unit 36.
[0062] Specifically, the determination unit 36 performs the following other camera determination process and own camera determination process, with each of the N imaging devices CAM as a target camera. The determination unit 36 performs the other camera determination process to determine whether or not the subject has gone out of the imaging range of the imaging device CAM other than the target camera, using a pair of an effective area mask image and a silhouette image corresponding to the imaging device CAM of the target camera. The determination unit 36 also performs the own camera determination process to determine whether or not the subject has gone out of the imaging range of the imaging device CAM of the target camera, using a silhouette image corresponding to the imaging device CAM of the target camera.
[0063] In the other camera determination process, as shown in A of Figure 8, the determination unit 36 compares for each pixel of the subject area 71 to determine whether the subject area 71, which is represented in white in the silhouette image, extends beyond the projected 3D area 53, which is represented in white in the effective area mask image 52.
[0064] In the self-camera determination process, as shown in B of Figure 8, determination unit 36 compares for each pixel of subject area 71 whether or not subject area 71, which is represented in white in the silhouette image, is in contact with the four sides of the periphery of silhouette image 63.
[0065] As mentioned above, the semantic processing unit 35 can be provided as an option. If the semantic processing unit 35 is provided, the determination unit 36 can use semantic information from the semantic processing unit 35 to identify parts of the subject (e.g., the right foot or left hand) or objects (ball) that extend beyond the projected 3D area 53.
[0066] The determination unit 36 supplies the result of whether or not the target camera has gone out of the imaging range of each imaging device CAM, which is the target camera, and, if the target camera has gone out of the imaging range, device identification information indicating which imaging device CAM the target camera has gone out of, as determination information indicating the determination result, to the notification unit 37. Note that the determination information may be supplied to the notification unit 37 at all times, or may be supplied to the notification unit 37 only when the target camera has gone out of the imaging range.
[0067] In addition, in the case where a semantic processing unit 35 is provided, when the subject falls outside the imaging range, the judgment unit 36 can also supply semantic specific information such as an object or part of the subject that has fallen outside the imaging range to the notification unit 37 as part of the judgment information.
[0068] Furthermore, as in B and C of Figures 2, when the notification unit 37 notifies the user that the target camera has moved out of the imaging range, along with the captured image and silhouette image, the silhouette image and captured image of the target camera that has moved out of the imaging range are also supplied from the determination unit 36 to the notification unit 37.
[0069] The notification unit 37 generates notification information for notifying the user that the image has gone out of the imaging range of the specific imaging device CAM based on the determination information from the determination unit 36, and outputs the notification information to the display device 12.
[0070] In the case of the dialog display shown in A of Fig. 2, the notification information is display control information for displaying a message dialog including information on the imaging device CAM that is outside the imaging range. In the example of B or C of Fig. 2, the notification information is display control information for displaying information on the imaging device CAM that is outside the imaging range and a silhouette image or a captured image. The silhouette image or the captured image can be subjected to reduction processing or the like as necessary and output to the display device 12 as a thumbnail image.
[0071] Also, when notifying the user by outputting a beep or a sound such as "camera number 5 has fallen out," the notification information is audio control information including an audio signal. The notification information may be both a screen display and a sound, or may be either one of them. When a semantic processing unit 35 is provided, notifications such as "your foot has fallen out of the imaging range" or "the ball is out of the imaging range" are possible. The display device 12 notifies the user that a specific imaging device CAM has fallen out of the imaging range based on the notification information from the notification unit 37.
[0072] The 3D model calculation unit 38 generates a 3D model of the object using the captured images of the subject supplied from each of the N imaging devices CAM, and supplies data of the generated 3D model of the object (3D model data) to the memory unit 39.
[0073] For example, the 3D model calculation unit 38 generates a silhouette image in which the subject region is extracted by extracting the difference between the captured image including the subject supplied from the imaging device CAM and the background image. Then, the 3D model calculation unit 38 generates a 3D model of the object by a method such as Visual Hull using multiple silhouette images in different directions from each of the N imaging devices CAM and camera parameters. The silhouette image and camera parameters may be obtained from the calibration processing unit 32 and the silhouette extraction unit 34, or may be calculated separately. Details of the generation of the 3D model of the object are omitted in this specification.
[0074] The storage unit 39 stores the 3D model data generated by the 3D model calculation unit 38. The stored 3D model data is provided as necessary to a playback device that plays back the 3D model of the object, and is played back (restored) by the playback device.
[0075] The image processing device 11 is configured as described above.
[0076] The imaging range determination function and the object generation function executable by the image processing device 11 may be realized by separate devices, not by the same device. In this case, the image processing device 11 that executes the imaging range determination function is composed of, for example, an image input unit 31, a calibration processing unit 32, an effective area calculation unit 33, a silhouette extraction unit 34, a semantic processing unit 35, a determination unit 36, and a notification unit 37. The image processing device 11 that executes the object generation function is composed of, for example, an image input unit 31, a 3D model calculation unit 38, and a storage unit 39.
[0077] <3. First imaging range determination process> Next, a first imaging range determination process according to the first embodiment of the image processing device 11 will be described with reference to the flowchart in Fig. 9. This process is started at the same time as shooting is started by the N imaging devices CAM, for example.
[0078] First, in step S1, the image input unit 31 acquires captured images transmitted from each of the N image capture devices CAM. The acquired N captured images are supplied to the calibration processing unit 32, the silhouette extraction unit 34, the semantic processing unit 35, the notification unit 37, and the 3D model calculation unit 38.
[0079] In step S2, the calibration processing unit 32 performs a calibration process to calculate camera parameters of each imaging device CAM based on the N captured images captured by the N imaging devices CAM. This process obtains characteristic parameters (internal parameters and optical characteristic parameters) that represent the characteristics of each imaging device CAM, and external parameters that represent the relative positional relationship between the imaging devices CAM.
[0080] In step S3, the 3D region calculation unit 41 calculates the 3D region included in the imaging range of all N imaging devices CAM, based on the camera parameters supplied from the calibration processing unit 32.
[0081] In step S4, the projection unit 42 generates an effective area mask image by projecting the 3D area calculated by the 3D area calculation unit 41 onto the viewpoint of each imaging device CAM. The number of effective area mask images generated is N, which is the same as the number of imaging devices CAM. The projection unit 42 can also generate number information indicating the number of imaging devices CAM from which the imaging range of the imaging device CAM is directly visible, and visual camera information indicating camera information indicating from which imaging device CAM the imaging range is visible. The generated N effective area mask images and N visual camera information are supplied to the determination unit 36.
[0082] In step S5, the silhouette extraction unit generates N silhouette images from the N captured images supplied from the image input unit 31. The generated N silhouette images are supplied to the determination unit .
[0083] In step S6, the semantic processing unit 35 generates semantic information by executing a semantic segmentation process on the N captured images supplied from the image input unit 31, and supplies the generated semantic information to the determination unit 36. This process can be omitted if there is no need to identify an object or a part of a person outside the imaging range of the imaging device CAM.
[0084] In step S7, the determination unit 36 performs a camera determination process to determine whether or not the subject has gone outside the imaging range of the imaging device CAM, based on the N pieces of effective area mask images from the projection unit 42 and the N pieces of silhouette images from the determination unit 36. More specifically, the determination unit 36 performs an other camera determination process to determine whether or not the subject has gone outside the imaging range of the imaging device CAM other than the target camera, and a self-camera determination process to determine whether or not the subject has gone outside the imaging range of the imaging device CAM of the target camera. Determination information indicating the determination results of the other camera determination process and the self-camera determination process executed with each imaging device CAM as the target camera is supplied from the determination unit 36 to the notification unit 37.
[0085] In step S8, the notification unit 37 generates notification information for notifying the user that the image has fallen out of the imaging range of a specific image capture device CAM based on the determination information from the determination unit 36, and outputs the notification information to the display device 12. If the image has not fallen out of the imaging range of any image capture device CAM, no particular notification information is required.
[0086] In step S9, the display device 12 notifies the user, based on the notification information from the notification unit 37, that the image capturing device CAM has gone out of the imaging range.
[0087] This completes the first imaging range determination process. According to the first imaging range determination process, when the subject is out of the imaging range of the multiple imaging devices CAM capturing the subject, it is possible to notify the user, thereby reducing the number of shooting failures in multi-view shooting for generating a 3D model.
[0088] In the above-mentioned first imaging range determination process, the determination unit 36 determines whether the subject has gone out of the imaging range of the imaging device CAM. In addition to whether the subject has completely gone out of the imaging range, the determination unit 36 may also determine whether the subject is likely to go out of the imaging range if it moves a little more, and notify the user. In this case, if the subject area goes out of the range narrower than the projected 3D area 53 obtained by projecting the 3D area 51 calculated by the 3D area calculation unit 41 to the viewpoint of the target camera by a predetermined percentage (for example, 10%), the subject may be notified that it is likely to go out of the imaging range. Alternatively, if the motion vector of the subject is detected and the position of the subject predicted after a predetermined time is outside the projected 3D area 53, the subject may be notified that it is likely to go out of the imaging range. In addition, the notification may be made when the subject goes out of the projected 3D area 53 by a specific amount, or when it is detected that a specific part has gone out based on the semantic information obtained by the semantic processing unit 35.
[0089] The first imaging range determination process described in Fig. 9 is repeatedly executed every time a new captured image captured by the N image capture devices CAM is input, but processes that do not change when the captured image is updated can be omitted as appropriate. For example, the calibration process in step S2 and the processes for generating an effective area mask image in steps S3 and S4 may be executed only once at the beginning when the positions and angles of view of the N image capture devices CAM are the same. Alternatively, they may be executed before the image capture for generating a 3D model is performed.
[0090] When the captured images captured by the N image capture devices CAM are sequentially input to the image processing device 11, a 3D model generation process is also executed by the 3D model calculation unit 38 in parallel with the above-mentioned imaging range determination process. The imaging range determination process and the 3D model generation process may be executed independently or in conjunction with each other. For example, in the imaging range determination process, determination information indicating that the subject has moved out of the imaging range of the imaging device CAM may also be supplied from the determination unit 36 to the 3D model calculation unit 38, and the generation of the 3D model may be stopped or interrupted when the subject has moved out of the imaging range of the imaging device CAM.
[0091] <4. Second embodiment of image processing device> FIG. 10 is a block diagram showing an example of the configuration of the image processing device 11 according to the second embodiment.
[0092] In FIG. 10, parts corresponding to those in the first embodiment shown in FIG. 3 are given the same reference numerals, and the description of those parts will be omitted as appropriate.
[0093] The image processing device 11 according to the first embodiment described above is configured with emphasis on the accuracy of determining whether or not the subject is outside the imaging range of the imaging device CAM, whereas the image processing device 11 according to the second embodiment is configured with emphasis on real-time performance.
[0094] In the second embodiment, the image processing device 11 performs a camera determination process to determine whether or not the subject has moved outside the imaging range of the imaging device CAM, using only the captured images of M (N>M) imaging devices CAM selected from N imaging devices CAM.
[0095] The image processing device 11 according to the second embodiment in FIG. 10 differs from the first embodiment in that a camera selection unit 81 and a reduction processing unit 82 are newly provided.
[0096] The camera selection unit 81 is supplied with the camera parameters of each image capture device CAM from the calibration processing unit 32.
[0097] The camera selection unit 81 selects M (N>M) image capture devices CAM from among N image capture devices CAM. The camera selection unit 81 can select manually by a user's designation, or can automatically select without a user's designation.
[0098] In the case of manual selection, the camera selection unit 81 displays the arrangement and angle of view information of each imaging device CAM on the display device 12 based on the camera parameters of each imaging device CAM, and allows the user to specify M imaging devices CAM to be used.
[0099] On the other hand, in the case of automatic selection, the camera selection unit 81 groups multiple imaging devices CAMs that are close to each other into one group based on the camera parameters of each imaging device CAM, and classifies the N imaging devices CAMs into M groups. Then, the camera selection unit 81 selects one imaging device CAM for each group, thereby selecting the M imaging devices CAMs to be used. Alternatively, when the subject is a person, the camera selection unit 81 may set an imaging device CAM in which the person's face is captured as a reference imaging device CAM, and sequentially select imaging devices CAMs that are located farther away from the reference imaging device CAM or that are located symmetrically to the selected imaging device CAM, until the number of imaging devices reaches M.
[0100] The camera selection unit 81 supplies camera selection information that identifies the selected M image capturing devices CAM to the 3D area calculation unit 41 of the effective area calculation unit 33 and the reduction processing unit 82 .
[0101] The 3D region calculation unit 41 of the effective region calculation unit 33 calculates the 3D region included in the imaging range of the M imaging devices CAM using the camera parameters of the M imaging devices CAM selected by the camera selection unit 81. In the second embodiment, the 3D region calculation process using the N camera parameters of the first embodiment is changed to the 3D region calculation process using the M camera parameters, so that the processing load is reduced. In addition, the resolution of the points or vertices representing the three-dimensional shape of the object when calculating the 3D region, the voxel size, etc. may be set to a coarser setting value than that of the first embodiment, thereby further reducing the processing load.
[0102] The projection unit 42 generates M pieces of effective area mask images by projecting the 3D areas calculated by the 3D area calculation unit 41 onto the viewpoints of the M pieces of imaging devices CAM. The projection unit 42 also reduces the generated M pieces of effective area mask images according to the reduction ratio of the reduction process executed by the reduction processing unit 82.
[0103] The reduction processing unit 82 selects M captured images corresponding to the M captured images CAM selected by the camera selection unit 81 from among the N captured images taken by the N image capture devices CAM supplied from the image input unit 31. The reduction processing unit 82 then generates low-resolution captured images (hereinafter referred to as low-resolution images) by reducing the selected M captured images at a predetermined reduction ratio. For example, when the captured images supplied from the image input unit 31 have a resolution of 1920x1080 called HD (High Definition) or a 4K resolution having a resolution four times that of HD, the reduction processing unit 82 reduces the captured images to low-resolution images of 640x480 called VGA. The method of reduction processing is not particularly limited, and any method can be selected. For example, the nearest neighbor method, linear interpolation, bicubic method, area averaging method, etc. can be adopted. Alternatively, a method of simply thinning out the number of pixels in the horizontal and vertical directions at a predetermined ratio such as 1 / 2 or 1 / 4 may be used.
[0104] The reduction ratio of the reduction processing unit 82 and the reduction ratio when the projection unit 42 reduces the effective area mask image are set to be the same in advance.
[0105] The silhouette extraction unit 34, semantic processing unit 35, and judgment unit 36 are the same as those in the first embodiment, except that they perform processing using M images selected from N images, and that the images have a low resolution.
[0106] Other points of the second embodiment are similar to those of the first embodiment described above.
[0107] <5. Second imaging range determination process> Next, a second imaging range determination process according to the second embodiment of the image processing device 11 will be described with reference to the flowchart of Fig. 11. This process is started at the same time as shooting is started by the N imaging devices CAM, for example.
[0108] The processes in steps S21 and S22 are similar to steps S1 and S2 in the first imaging range determination process in FIG. 9, and therefore will not be described.
[0109] In step S23, the camera selection unit 81 selects M (N>M) imaging device CAMs from among the N imaging device CAMs. The camera selection unit 81 supplies camera selection information identifying the selected M imaging device CAMs to the 3D area calculation unit 41 of the effective area calculation unit 33 and the reduction processing unit 82.
[0110] In step S24, the camera parameters of the M image capturing devices CAM selected by the camera selection unit 81 are used to calculate the 3D area included in the imaging range of the M image capturing devices CAM.
[0111] In step S25, the projection unit 42 generates M pieces of effective area mask images by projecting the 3D areas calculated by the 3D area calculation unit 41 onto the viewpoints of the M image capture devices CAM, and reduces the images at a predetermined reduction rate. The M pieces of effective area mask images after the reduction process are supplied to the determination unit 36. The projection unit 42 may generate visual camera information in the same manner as in the first embodiment.
[0112] In step S26, the reduction processing unit 82 selects M captured images corresponding to the M imaging devices CAM selected by the camera selection unit 81 from the N captured images supplied from the image input unit 31, and reduces them at a predetermined reduction ratio. The M low-resolution images after reduction are supplied to the silhouette extraction unit 34 and the semantic processing unit 35.
[0113] In step S27, the silhouette extraction unit generates M silhouette images from the M low-resolution images supplied from the reduction processing unit 82. The generated M silhouette images are supplied to the determination unit .
[0114] In step S28, the semantic processing unit 35 generates semantic information by executing a semantic segmentation process on the M low-resolution images supplied from the reduction processing unit 82, and supplies the generated semantic information to the determination unit 36. Note that this process may be omitted when real-time performance is particularly prioritized.
[0115] In step S29, the determination unit 36 performs a camera determination process to determine whether or not the subject has gone out of the imaging range of the imaging device CAM, based on the M effective area mask images from the projection unit 42 and the M silhouette images from the determination unit 36. This process is similar to the first imaging range determination process, except that M effective area mask images and silhouette images are used instead of N images.
[0116] Steps S30 and S31 are similar to steps S8 and S9 of the first imaging range determination process in FIG. 9, and therefore a description thereof will be omitted.
[0117] This completes the second imaging range determination process. In the second imaging range determination process, if the subject falls outside the imaging range of the multiple imaging devices CAM capturing the subject, the user can be notified, so that the number of shooting failures can be reduced in multi-viewpoint shooting for generating a 3D model.
[0118] According to the second imaging range determination process, a camera determination process is performed using only the captured images of N imaging devices CAM out of M imaging devices CAM to determine whether or not the subject has moved outside the imaging range of the imaging devices CAM, thereby reducing the processing load and improving real-time performance.
[0119] In the second embodiment, a processing unit for changing the resolution of the captured image to a low resolution is provided in the image processing device 11, but the captured image supplied from the imaging device CAM may be made to have a low resolution by changing the resolution setting of the imaging device CAM. In this case, the captured image used in the 3D model generation process executed in parallel with the second imaging range determination process will also have a low resolution. If it is desired to use a captured image for the 3D model generation process as a high-resolution image, the imaging range is confirmed in the second imaging range determination process, and then the resolution setting of the imaging device CAM is changed to a high resolution and the 3D model generation process is executed in a time-division manner.
[0120] <6. Third embodiment of image processing device> FIG. 12 is a block diagram showing an example of the configuration of the image processing device 11 according to the third embodiment.
[0121] In FIG. 12, parts corresponding to those in the first embodiment shown in FIG. 3 are given the same reference numerals, and the description of those parts will be omitted as appropriate.
[0122] The image processing device 11 according to the third embodiment is common to the second embodiment in that it has a configuration that reduces the calculation processing and the processing load. On the other hand, in the second embodiment, the process itself in which the valid area calculation unit 33 generates the valid area mask image is not changed, but the number of captured images and the resolution are changed, whereas the third embodiment differs from the second embodiment in that the process in which the valid area calculation unit 33 generates the valid area mask image is changed.
[0123] Comparing the configuration example of the third embodiment in Figure 12 with the configuration example of the first embodiment shown in Figure 3, the 3D area calculation unit 41 and the projection unit 42 of the effective area calculation unit 33 in Figure 3 are replaced with a 3D area calculation unit 91 and a projection unit 92 in Figure 12, but the other configurations are the same.
[0124] 13, the 3D region calculation unit 91 calculates the imaging range of each of the N imaging devices CAM by approximating it with a quadrangular pyramid shape based on the camera parameters supplied from the calibration processing unit 32. The range in the depth direction (Zmax, Zmin) in FIG. 13 is set (input) as a parameter.
[0125] The 3D region calculation unit 91 calculates the coordinates of the eight vertices of a quadrangular pyramid as the imaging range of the imaging device CAM for each imaging device CAM, and supplies them to the projection unit 92.
[0126] The projection unit 92 performs the following process using each of the N image capturing devices CAM for generating the effective area mask image as a target camera.
[0127] The projection unit 92 projects the coordinates of the eight vertices of the truncated pyramids of the N imaging devices CAM supplied from the 3D area calculation unit 91 onto the viewpoint of the target camera, thereby generating N truncated pyramid projection areas by projecting the simple 3D areas of the N truncated pyramids onto the projection surface of the target camera.
[0128] The processing of the projection unit 92 will be described with reference to Fig. 14. In Fig. 14, for ease of understanding, it is assumed that the target camera is the imaging device CAM-3, and an example will be described in which the imaging ranges of two imaging devices CAM-1 and CAM-2 are projected onto the viewpoint of the imaging device CAM-3.
[0129] 14A shows the state when the imaging range of imaging device CAM-1 is seen from the viewpoint of imaging device CAM-3, which is the target camera. This state can be generated by projecting the imaging range of imaging device CAM-1 onto the viewpoint of imaging device CAM-3, which is the target camera.
[0130] 14B shows the state where the imaging range of imaging device CAM-2 is seen from the viewpoint of imaging device CAM-3, which is the target camera. This state can be generated by projecting the imaging range of imaging device CAM-2 onto the viewpoint of imaging device CAM-3, which is the target camera.
[0131] Next, the projection unit 92 generates an effective area mask image in which the area where all of the N quadrangular pyramid frustum projection areas overlap is set as the projected 3D area of the target camera.
[0132] FIG. 14C shows a conceptual diagram of an effective area mask image generated by overlapping the imaging range of the imaging device CAM-1 and the imaging range of the imaging device CAM-2.
[0133] The effective area mask image in C of Fig. 14 corresponds to effective area mask image 52 shown in Fig. 5 in the first embodiment, and is actually a binary image like effective area mask image 52 in Fig. 5. In C of Fig. 14, the hatched area is the area where the imaging range of imaging device CAM-1 and the imaging range of imaging device CAM-2 overlap, and corresponds to projected 3D area 53 of the target camera.
[0134] In the third embodiment as well, the projection unit 92 can generate visual recognition camera information. The visual recognition camera information in the third embodiment is composed of number information indicating how many imaging devices CAM can see the projection surface (imaging range) of the target camera, and camera information indicating which imaging device CAM can see the projection surface (imaging range) of the target camera.
[0135] FIG. 14D shows an example of the number information indicating how many imaging devices CAM can see the imaging range of the target camera.
[0136] In FIG. 14D, the imaging range of the target camera is divided into four areas 101 to 104, and the number information corresponding to the projection states in FIG.
[0137] In area 101, only the target camera, imaging device CAM-3, is visible, so the number information is "1." In area 102, two imaging devices, CAM-3 and CAM-2, are visible, so the number information is "2." In area 103, imaging devices CAM-1 to CAM-3 are visible, so the number information is "3." In area 104, two imaging devices, CAM-1 and CAM-3, are visible, so the number information is "2."
[0138] FIG. 14E shows an example of camera information indicating from which imaging device CAM the imaging range of the target camera is visible.
[0139] In E of Figure 14, the imaging range of the imaging device CAM-3, which is the target camera, is divided into four areas, 101 to 104, and camera information corresponding to the projection states of A to C of Figure 14 is stored for each of the areas 101 to 104.
[0140] It is to be noted that the camera information is naturally visible from the image capture device CAM of the camera itself, so only information indicating whether the camera is visible from other image capture devices CAM is recorded.
[0141] Area 101 is an area where only imaging device CAM-3 is visible, so there is no camera information. Area 102 records camera information indicating that imaging device CAM-2 is visible in addition to the user himself. Area 103 records camera information indicating that imaging devices CAM-1 and CAM-2 are visible in addition to the user himself. Area 104 records camera information indicating that imaging device CAM-1 is visible in addition to the user himself.
[0142] Other points of the third embodiment are similar to those of the first embodiment described above.
[0143] <7. Third imaging range determination process> In the third imaging range determination process according to the third embodiment of the image processing device 11, steps S3 and S4 of the first imaging range determination process described with reference to FIG. 9 are replaced with the following steps S3' and S4'.
[0144] In step S3', the 3D region calculation unit 91 calculates the imaging range of each of the N imaging devices CAM based on the camera parameters supplied from the calibration processing unit 32 by approximating the imaging range with a quadrangular pyramid frustum.
[0145] In step S4', the projection unit 92 performs the following process with each of the N image capture devices CAM for generating an effective area mask image as a target camera. The projection unit 92 projects the coordinates of the eight vertices of the quadrangular pyramids of the N image capture devices CAM supplied from the 3D area calculation unit 91 onto the viewpoint of the target camera, thereby generating N quadrangular pyramid projection areas in which the N quadrangular pyramid simplified 3D areas are projected onto the projection surface of the target camera. Next, the projection unit 92 generates an effective area mask image in which the area where all of the N quadrangular pyramid projection areas overlap is set as the projected 3D area of the target camera.
[0146] Therefore, in the first imaging range determination process, the effective area calculation unit 33 calculates the quadrangular pyramid-shaped imaging range of each of the N imaging devices CAM, integrates all the N imaging ranges to calculate a 3D area, and then projects the integrated 3D area onto the viewpoint of each imaging device CAM to generate an effective area mask image of the target camera. That is, the effective area calculation unit 33 of the first embodiment performs the processes of calculation, integration, and projection of the N imaging ranges in that order.
[0147] On the other hand, in the third imaging range determination process, the effective area calculation unit 33 calculates the imaging range of each of the N imaging devices CAM, generates N quadrangular pyramid projection areas by projecting them onto the viewpoint of each imaging device CAM, and integrates the N quadrangular pyramid projection areas after projection to generate an effective area mask image as the projected 3D area of the target camera. That is, the effective area calculation unit 33 of the third embodiment performs the processes of calculation, projection, and integration of the N imaging ranges in that order.
[0148] The 3D region calculation unit 41 of the first embodiment can be said to be a generation unit that generates a single 3D region that integrates the imaging ranges of the N imaging devices CAM from N captured images (multiple multi-view images) of each of the N imaging devices CAM.
[0149] The 3D region calculation unit 91 in the third embodiment can be said to be a generation unit that generates N 3D regions for each of the N imaging devices CAM from N captured images (multiple multi-view images) for each of the N imaging devices CAM.
[0150] In the third imaging range determination process, too, if the subject falls outside the imaging range of the multiple imaging devices CAM capturing images of the subject, the user can be notified, thereby reducing shooting failures in multi-viewpoint shooting for generating a 3D model.
[0151] <8. Other examples of camera placement> In each of the above-described embodiments, as shown in FIG. 1, N imaging devices CAM are arranged on the outer periphery of the subject so as to surround the subject, but the arrangement of the imaging devices CAM is not limited to this.
[0152] For example, as shown in A of FIG. 15, multiple imaging devices CAM may be arranged to face outward, or as shown in B of FIG. 15, multiple imaging devices CAM may be arranged to face a particular direction in a concentrated manner, like a stage in a concert hall.
[0153] <9. Computer configuration example> The above-mentioned series of processes can be executed by hardware or software. When the series of processes is executed by software, the programs constituting the software are installed in a computer. Here, the computer includes a microcomputer built into dedicated hardware, and a general-purpose personal computer, for example, capable of executing various functions by installing various programs.
[0154] FIG. 16 is a block diagram showing an example of the hardware configuration of a computer that executes the above-mentioned series of processes by a program.
[0155] In the computer, a central processing unit (CPU) 301, a read only memory (ROM) 302, and a random access memory (RAM) 303 are interconnected via a bus 304.
[0156] An input / output interface 305 is further connected to the bus 304. An input unit 306, an output unit 307, a storage unit 308, a communication unit 309, and a drive 310 are connected to the input / output interface 305.
[0157] The input unit 306 includes a keyboard, a mouse, a microphone, a touch panel, an input terminal, etc. The output unit 307 includes a display, a speaker, an output terminal, etc. The storage unit 308 includes a hard disk, a RAM disk, a non-volatile memory, etc. The communication unit 309 includes a network interface, etc. The drive 310 drives a removable recording medium 311 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory.
[0158] In the computer configured as above, the series of processes described above are performed by the CPU 301, for example, loading a program stored in the storage unit 308 into the RAM 303 via the input / output interface 305 and the bus 304 and executing the program. The RAM 303 also stores data and the like necessary for the CPU 301 to execute various processes as appropriate.
[0159] The program executed by the computer (CPU 301) can be provided by being recorded on a removable recording medium 311 such as a package medium, for example. The program can also be provided via a wired or wireless transmission medium such as a local area network, the Internet, or digital satellite broadcasting.
[0160] In the computer, the program can be installed in the storage unit 308 via the input / output interface 305 by mounting the removable recording medium 311 in the drive 310. The program can also be received by the communication unit 309 via a wired or wireless transmission medium and installed in the storage unit 308. Alternatively, the program can be installed in the ROM 302 or the storage unit 308 in advance.
[0161] In this specification, the steps described in the flowcharts may of course be performed chronologically in the order described, but they do not necessarily have to be processed chronologically and may be executed in parallel or at the required timing, such as when a call is made.
[0162] In this specification, a system refers to a collection of multiple components (devices, modules (parts), etc.), regardless of whether all the components are in the same housing. Therefore, multiple devices housed in separate housings and connected via a network, and a single device in which multiple modules are housed in a single housing, are both systems.
[0163] The embodiments of the present technology are not limited to the above-described embodiments, and various modifications are possible without departing from the gist of the present technology.
[0164] For example, it is possible to adopt a configuration in which all or part of the above-described multiple embodiments are combined.
[0165] For example, the present technology can be configured as cloud computing, in which a single function is shared and processed collaboratively by multiple devices via a network.
[0166] Furthermore, each step described in the above flow chart can be executed by one device, or can be shared and executed by a plurality of devices.
[0167] Furthermore, when a single step includes multiple processes, the multiple processes included in the single step can be executed by a single device, or can be shared and executed by multiple devices.
[0168] It should be noted that the effects described in this specification are merely examples and are not limiting, and there may be effects other than those described in this specification.
[0169] The present technology can have the following configurations. (1) A generation unit that generates a 3D region of an imaging range generated from a plurality of multi-viewpoint images; a determination unit that determines a shooting situation of a subject of the imaging device based on a region image obtained by projecting the 3D region to a specific viewpoint and a subject image from the imaging device corresponding to the specific viewpoint; An image processing device comprising: (2) The determination unit determines whether or not the subject has moved out of imaging ranges of the imaging devices that captured the multiple multi-view images, using a pair of the area image and the subject image. The image processing device according to (1) above. (3) The determination unit determines whether the subject is likely to move out of imaging ranges of the imaging devices that captured the multiple multi-view images, using a pair of the area image and the subject image. The image processing device according to (1) or (2). (4) The determination unit also determines, when the subject goes out of the imaging range of a plurality of the imaging devices, from which imaging device the subject has gone out of the imaging range. The image processing device according to (2) or (3). (5) The determination unit determines whether or not the subject has moved out of an imaging range of an imaging device corresponding to the specific viewpoint, using the subject image. The image processing device according to any one of (1) to (4). (6) a semantic processing unit for identifying semantic information of the object; The determination unit uses semantic information of the subject for the determination. The image processing device according to any one of (1) to (5). (7) A calculation unit is further provided for calculating, based on the plurality of multi-viewpoint images, camera parameters of the plurality of imaging devices that captured the plurality of multi-viewpoint images, The generation unit generates a 3D region of the imaging range based on the calculated camera parameters of the plurality of imaging devices. The image processing device according to any one of (1) to (6). (8) The generation unit generates one of the 3D regions included in the imaging ranges of all of the imaging devices that captured the multiple multi-view images. The image processing device according to (7) above. (9) a projection unit that generates the region image by projecting the 3D region onto the specific viewpoint. The image processing device according to any one of (1) to (8). (10) The region image is a binary image. The image processing device according to any one of (1) to (9). (11) a silhouette extraction unit that generates a silhouette image by extracting a region of the subject as a silhouette from each of the multiple viewpoint images; The determination unit determines a shooting situation of the subject of the imaging device based on the area image and the silhouette image as the subject image. The image processing device according to any one of (1) to (10). (12) A selection unit that selects a part of the imaging devices from among the plurality of imaging devices corresponding to the plurality of multi-view images, The generation unit generates a 3D region of the imaging range generated from a multi-view image corresponding to the selected part of the imaging devices, A photographing situation of a subject of the imaging device is determined based on a region image obtained by projecting the 3D region to a specific viewpoint and a subject image from the imaging device corresponding to the specific viewpoint. The image processing device according to any one of (1) to (11). (13) A reduction processing unit that reduces the multiple multi-view images at a predetermined reduction ratio, The determination unit determines a photographing situation of the subject of the imaging device based on the reduced area image and the subject image. The image processing device according to any one of (1) to (12). (14) The generation unit generates a plurality of the 3D regions that approximate imaging ranges of a plurality of imaging devices corresponding to the plurality of multi-view images, The determination unit determines a shooting situation of a subject of the imaging device based on a region image obtained by projecting a plurality of the 3D regions onto a specific viewpoint and a subject image from an imaging device corresponding to the specific viewpoint. The image processing device according to any one of (1) to (13). (15) The 3D region is in the shape of a truncated pyramid The image processing device according to (14) above. (16) The apparatus further includes a notification unit that notifies a user of a result of the determination by the determination unit. The image processing device according to any one of (1) to (15). (17) The notification unit refers to the determination result stored in a predetermined storage unit and notifies the user. The image processing device according to (16) above. (18) A 3D model generation method for generating a 3D model of a subject, comprising: generating a 3D region of an imaging range generated from a plurality of multi-view images; A step of determining a shooting situation of a subject of the imaging device based on a region image obtained by projecting the 3D region to a specific viewpoint and a subject image from an imaging device corresponding to the specific viewpoint; generating a 3D model of the object based on the plurality of multi-view images; The 3D model generating method includes: (19) Computer, A generation unit that generates a 3D region of an imaging range generated from a plurality of multi-viewpoint images; A determination unit that determines a shooting situation of a subject of the imaging device based on a region image obtained by projecting the 3D region to a specific viewpoint and a subject image from the imaging device corresponding to the specific viewpoint. A program to function as a [Explanation of symbols]
[0170] CAM-1 to CAM-8 Imaging device, 11 Image processing device, 12 Display device, 31 Image input unit, 32 Calibration processing unit, 33 Effective area calculation unit, 34 Silhouette extraction unit, 35 Semantic processing unit, 36 Judgment unit, 37 Notification unit, 38 3D model calculation unit, 41 3D area calculation unit, 42 Projection unit, 81 Camera selection unit, 82 Reduction processing unit, 91 3D area calculation unit, 92 Projection unit, 301 CPU, 302 ROM, 303 RAM, 306 Input unit, 307 Output unit, 308 Memory unit, 309 Communication unit, 310 Drive
Claims
1. A generation unit that generates a 3D region of an imaging range generated from a plurality of multi-viewpoint images; a determination unit that determines a shooting situation of a subject of the imaging device based on a region image obtained by projecting the 3D region to a specific viewpoint and a subject image from the imaging device corresponding to the specific viewpoint; Equipped with The determination unit determines whether the subject is likely to move out of imaging ranges of the imaging devices that captured the multiple multi-view images, using a pair of the area image and the subject image. Image processing device.
2. The determination unit determines whether or not the subject has moved out of imaging ranges of the imaging devices that captured the multiple multi-view images, using a pair of the area image and the subject image. The image processing device according to claim 1 .
3. The determination unit also determines, when the subject goes out of the imaging range of a plurality of the imaging devices, from which imaging device the subject has gone out of the imaging range. The image processing device according to claim 2 .
4. The determination unit determines whether or not the subject has moved out of an imaging range of an imaging device corresponding to the specific viewpoint, using the subject image. The image processing device according to claim 1 .
5. a semantic processing unit for identifying semantic information of the object; The determination unit uses semantic information of the subject for the determination. The image processing device according to claim 1 .
6. A calculation unit is further provided for calculating, based on the plurality of multi-viewpoint images, camera parameters of the plurality of imaging devices that captured the plurality of multi-viewpoint images, The generation unit generates a 3D region of the imaging range based on the calculated camera parameters of the plurality of imaging devices. The image processing device according to claim 1 .
7. The generation unit generates one of the 3D regions included in the imaging ranges of all of the imaging devices that captured the multiple multi-view images. The image processing device according to claim 6.
8. a projection unit that generates the region image by projecting the 3D region onto the specific viewpoint. The image processing device according to claim 1 .
9. The region image is a binary image. The image processing device according to claim 1 .
10. a silhouette extraction unit that generates a silhouette image by extracting a region of the subject as a silhouette from each of the multiple viewpoint images; The determination unit determines a shooting situation of the subject of the imaging device based on the area image and the silhouette image as the subject image. The image processing device according to claim 1 .
11. A selection unit that selects a part of the imaging devices from among the plurality of imaging devices corresponding to the plurality of multi-view images, The generation unit generates a 3D region of the imaging range generated from a multi-view image corresponding to the selected part of the imaging devices, The determination unit determines a shooting situation of a subject of the imaging device based on a region image obtained by projecting the 3D region to a specific viewpoint and a subject image from the imaging device corresponding to the specific viewpoint. The image processing device according to claim 1 .
12. A reduction processing unit that reduces the multiple multi-view images at a predetermined reduction ratio, The determination unit determines a photographing situation of the subject of the imaging device based on the reduced area image and the subject image. The image processing device according to claim 1 .
13. The generation unit generates a plurality of the 3D regions that approximate imaging ranges of a plurality of imaging devices corresponding to the plurality of multi-view images, The determination unit determines a shooting situation of a subject of the imaging device based on area images obtained by projecting a plurality of the 3D areas to a specific viewpoint and an image of a subject from an imaging device corresponding to the specific viewpoint. The image processing device according to claim 1 .
14. The 3D region is in the shape of a truncated pyramid The image processing device according to claim 13.
15. The apparatus further includes a notification unit that notifies a user of a result of the determination by the determination unit. The image processing device according to claim 1 .
16. The notification unit refers to the determination result stored in a predetermined storage unit and notifies the user. The image processing device according to claim 15.
17. A 3D model generation method for generating a 3D model of a subject, comprising: generating a 3D region of an imaging range generated from a plurality of multi-view images; A step of determining a shooting situation of a subject of the imaging device based on a region image obtained by projecting the 3D region to a specific viewpoint and a subject image from an imaging device corresponding to the specific viewpoint; generating a 3D model of the object based on the plurality of multi-view images; Including, In determining the photographing situation of the subject of the imaging device, a pair of the area image and the subject image is used to determine whether the subject is likely to go out of the photographing range of the imaging devices that photographed the multiple viewpoint images. A 3D model generation method comprising the steps of:
18. Computer, A generation unit that generates a 3D region of an imaging range generated from a plurality of multi-viewpoint images; A determination unit that determines a shooting situation of a subject of the imaging device based on a region image obtained by projecting the 3D region to a specific viewpoint and a subject image from an imaging device corresponding to the specific viewpoint. Function as a The determination unit determines whether the subject is likely to move out of imaging ranges of the imaging devices that captured the multiple multi-view images, using a pair of the area image and the subject image. Program for.
Citation Information
Patent Citations
System, apparatus, method, and program for imaging
JP2005277603A
Image processing device, image processing method, and image processing program
JP2009074836A
Image processing device, image processing method and image processing program
JP2014010805A
Image processing device, image processing method, and program
JP2018063693A
Image processing device and image processing method
WO2018150933A1
