3D model encoding device, 3D model decoding device, 3D model encoding method, and 3D model decoding method
By projecting the 3D model onto a 2D plane and correcting the pixel values in the invalid area, a corrected image is generated for 2D encoding, which solves the problems of large 3D model data volume and low transmission efficiency, and achieves efficient 3D model encoding and decoding.
Patent Information
- Application Number
- CN201880068948.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2017-10-27
- Filing Date
- 2018-10-25
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2038-10-25
AI Technical Summary
When the existing technology transmits three-dimensional shape data, the data volume is large and the compression efficiency is low, resulting in low network transmission efficiency.
Project the three-dimensional model to a two-dimensional plane, correct the pixel values of the invalid area, generate a corrected image and perform two-dimensional coding to reduce the amount of data and improve coding efficiency.
It effectively reduces the data volume of the three-dimensional model, improves the transmission efficiency, and reconstructs the three-dimensional model through two-dimensional encoding and decoding methods, reducing the processing load.
Smart Images

Figure CN111316650B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to a three-dimensional model encoding device, a three-dimensional model decoding device, a three-dimensional model encoding method, and a three-dimensional model decoding method. Background Art
[0002] Patent document 1 discloses a method for transmitting three-dimensional shape data. In Patent document 1, three-dimensional shape data, for example, is sent to a network by each element such as a polygon or a voxel. Then, on the receiving side, the three-dimensional shape data is obtained and expanded into an image for display by each received element.
[0003] (Prior art literature)
[0004] (Patent Document)
[0005] Patent Document 1: Japanese Patent Application Laid-Open No. 9-237354
[0006] However, the technology involved in the patent document needs further improvement. Summary of the invention
[0007] In order to achieve the above-mentioned purpose, one form of the present disclosure involves a three-dimensional model encoding device, comprising: a projection unit, which projects a three-dimensional model onto at least one two-dimensional plane, thereby generating a two-dimensional image; a correction unit, which uses the two-dimensional image to correct one or more pixels constituting an invalid area included in the two-dimensional image, thereby generating a corrected image, wherein the invalid area is an area where the three-dimensional model is not projected; and an encoding unit, which performs two-dimensional encoding on the corrected image, thereby generating encoded data.
[0008] Furthermore, one form of the present disclosure involves a three-dimensional model decoding device, comprising a decoding unit, which obtains encoded data and outputs a three-dimensional model obtained by decoding the obtained encoded data, wherein the encoded data is data obtained by encoding a corrected image, and the corrected image is an image in which a two-dimensional image generated by projecting the three-dimensional model onto at least one two-dimensional plane is corrected, and is an image in which one or more pixels in an invalid area included in the two-dimensional image where the three-dimensional model is not projected are corrected.
[0009] Moreover, their general or specific forms may also be implemented by systems, methods, integrated circuits, computer programs, or recording media such as computer-readable CD-ROMs, or by any combination of systems, methods, integrated circuits, computer programs, and recording media.
[0010] The present disclosure can provide a three-dimensional model encoding device, a three-dimensional model decoding device, a three-dimensional model encoding method, and a three-dimensional model decoding method that can reduce the amount of distributed data. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 This is a diagram showing an overview of the free viewpoint video generation system according to the first embodiment.
[0012] Figure 2 This is a block diagram showing the structure of the three-dimensional space recognition system involved in the first embodiment.
[0013] Figure 3 This is a diagram showing an overview of the operation of the three-dimensional space recognition system according to the first embodiment.
[0014] Figure 4 This is a block diagram showing the structure of the free viewpoint video generation system according to the first embodiment.
[0015] Figure 5 This is a diagram showing an overview of the operation of the free viewpoint video generation system according to the first embodiment.
[0016] Figure 6 This is a flowchart showing the operation of the free viewpoint video generation system according to the first embodiment.
[0017] Figure 7 This is a diagram showing a method for generating a foreground model according to the first embodiment.
[0018] Figure 8 This is a block diagram showing the structure of the next-generation monitoring system involved in Embodiment 2.
[0019] Fig. 9 This is a diagram showing an overview of the operation of the next-generation monitoring system involved in Implementation Example 2.
[0020] Fig.10 This is a flowchart showing the operation of the next-generation monitoring system involved in embodiment 2.
[0021] Fig.11 This is a block diagram showing the structure of a free viewpoint video generation system according to the third embodiment.
[0022] Fig.12 This is a flowchart showing the operation of the free viewpoint video generation system according to the third embodiment.
[0023] Fig.13 This is a diagram showing an example of distribution of a foreground model and a background model according to the third embodiment.
[0024] Fig.14 This is a diagram showing an example of distribution of a foreground model and a background model according to the third embodiment.
[0025] Fig.15 This is a block diagram showing the structure of the next-generation monitoring system involved in Embodiment 4.
[0026] Fig.16 This is a flowchart showing the operation of the next-generation monitoring system involved in embodiment 4.
[0027] Fig.17 This is a block diagram showing the structure of a free viewpoint video generation system according to the fifth embodiment.
[0028] Fig.18 This is a block diagram showing the structure of the next-generation monitoring system involved in embodiment 5.
[0029] Fig.19 This is a block diagram showing the structure of a free viewpoint video generation system according to the sixth embodiment.
[0030] Fig. 20 This is a flowchart showing the operation of the free viewpoint video generation system according to the sixth embodiment.
[0031] Fig.21 This is a diagram used to illustrate the generation and restoration processing of the three-dimensional model involved in Implementation Example 6.
[0032] Fig. 22 This is a diagram showing an example of a depth image according to the sixth embodiment.
[0033] Fig.23A This is a diagram showing an example of allocation of image values of a depth image according to the sixth embodiment.
[0034] Fig. 23B This is a diagram showing an example of allocation of image values of a depth image according to the sixth embodiment.
[0035] Fig.23C This is a diagram showing an example of allocation of image values of a depth image according to the sixth embodiment.
[0036] Fig.24 This is a diagram schematically showing a three-dimensional data encoding method for encoding three-dimensional data.
[0037] Fig.25A FIG. 1 is a diagram showing an example of a two-dimensional image including a hole region.
[0038] Fig.25B FIG. 1 is a diagram showing an example of a corrected image after the hole region is corrected.
[0039] Fig.26A : is a figure which shows the example of the correction of the hole area based on linear interpolation.
[0040] Fig.26B : is a figure which shows the example of the correction of the hole area based on linear interpolation.
[0041] Fig.27A: is a figure which shows the example of the correction of the hole area based on nonlinear interpolation.
[0042] Fig.27B : is a figure which shows the example of the correction of the hole area based on nonlinear interpolation.
[0043] Fig.28A It is a diagram showing another correction example.
[0044] Fig.28B It is a diagram showing another correction example.
[0045] Fig.28C It is shown in a two-dimensional image Fig.28B Figure 2 shows an example of the correction.
[0046] Fig.28D It is a diagram showing another correction example.
[0047] Fig.28E It is a diagram showing another correction example.
[0048] Fig.28F It is a diagram showing another correction example.
[0049] Fig.29 This is a block diagram showing an example of the functional structure of a three-dimensional model encoding device according to an embodiment.
[0050] Fig.30 This is a block diagram showing an example of a functional structure of a three-dimensional model decoding device according to an embodiment.
[0051] Fig.31 This is a flowchart showing an example of a three-dimensional model encoding method performed by the three-dimensional model encoding device according to the embodiment.
[0052] Fig.32 This is a flowchart showing an example of a three-dimensional model decoding method performed by the three-dimensional model decoding device according to the embodiment. DETAILED DESCRIPTION
[0053] A 3D encoding device and a 3D encoding method for encoding 3D data, and a 3D decoding device and a 3D decoding method for decoding the encoded data into 3D data need to reduce the amount of data to be distributed. Therefore, a 3D encoding device and a 3D encoding method for encoding 3D data need to improve the compression efficiency of 3D data.
[0054] The purpose of the present disclosure is to provide a three-dimensional encoding device and a three-dimensional encoding method for encoding three-dimensional data, a three-dimensional encoding device and a three-dimensional encoding method that can improve the compression efficiency of three-dimensional data, and a three-dimensional decoding device and a three-dimensional decoding method that decode the encoded data into three-dimensional data.
[0055] One form of the present disclosure involves a three-dimensional model encoding device, comprising: a projection unit, which projects a three-dimensional model onto at least one two-dimensional plane to generate a two-dimensional image; a correction unit, which uses the two-dimensional image to correct one or more pixels included in the two-dimensional image and constituting an invalid area to generate a corrected image, wherein the invalid area is an area where the three-dimensional model is not projected; and an encoding unit, which performs two-dimensional encoding on the corrected image to generate encoded data.
[0056] According to this, the corrected image generated by correcting the invalid area is two-dimensionally encoded, so the encoding efficiency can be improved.
[0057] Furthermore, the correction unit may correct the invalid area using a first pixel value of a first pixel in a first valid area adjacent to the invalid area, the first valid area being a valid area on which the three-dimensional model is projected.
[0058] According to this, the difference in pixel values between the first effective area and the invalid area can be reduced, thereby effectively improving the encoding efficiency.
[0059] Furthermore, the correction unit may correct the invalid area by setting all pixel values of the one or more pixels constituting the invalid area to the first pixel value.
[0060] According to this, the difference in pixel value between the first effective area and the ineffective area can be easily reduced.
[0061] Furthermore, the correction unit may also correct the invalid area on the two-dimensional image using a second pixel value of a second pixel in a second valid area, where the second valid area is a valid area sandwiched between the invalid area and on the opposite side of the first valid area.
[0062] According to this, the difference in pixel values between the first effective area and the second effective area and the invalid area can be reduced, and thus the encoding efficiency can be effectively improved.
[0063] Furthermore, it may also be that the correction unit, using the first pixel value and the second pixel value, changes the pixel values of each of the multiple pixels from the first pixel across the invalid area to the second pixel to pixel values that satisfy the relationship of linear change from the first pixel value to the second pixel value in terms of the relationship between the positions of the multiple pixels and the pixel values, thereby correcting the invalid area.
[0064] According to this, linear interpolation is performed on the invalid area, so it is possible to reduce the processing load involved in determining the pixel value used for interpolation.
[0065] Furthermore, it may also be that the two-dimensional encoding is a process of encoding the corrected image in units of multiple blocks, and the correction unit, when the boundary of the multiple blocks of the two-dimensional encoding is located on the invalid area, changes the multiple first invalid pixels from the first pixel to the boundary to the first pixel value, and changes the multiple second invalid pixels from the second pixel to the boundary to the second pixel value, thereby correcting the invalid area.
[0066] According to this, the invalid area is corrected by taking into account the boundaries of a plurality of blocks of two-dimensional coding, so that the processing load can be effectively reduced and the coding efficiency can be effectively improved.
[0067] Furthermore, it may also be that the correction unit, using the first pixel value of the first pixel and the second pixel value of the second pixel, changes the pixel values of each of the multiple pixels from the first pixel across the invalid area to the second pixel to pixel values that satisfy the relationship of changing from the first pixel value to the second pixel value in a smooth curve based on the relationship between the positions of the multiple pixels and the pixel values, thereby correcting the invalid area.
[0068] According to this, the difference in pixel values between the first effective area and the second effective area and the invalid area can be effectively reduced, thereby improving the encoding efficiency.
[0069] Furthermore, the first pixel may be a pixel adjacent to the invalid region in the first valid region, and the second pixel may be a pixel adjacent to the invalid region in the second valid region.
[0070] Furthermore, it may also be that there is also a generating unit, which generates a two-dimensional binary map, wherein the two-dimensional binary map shows whether a plurality of regions constituting a two-dimensional region corresponding to the two-dimensional image are the invalid regions or the valid regions, and the encoding unit encodes the corrected image and the two-dimensional binary map to generate the encoded data.
[0071] Therefore, during decoding, the two-dimensional binary map can be used to decode only the valid area among the valid area and the invalid area, so the amount of processing during decoding can be reduced.
[0072] One form of the present disclosure involves a three-dimensional model decoding device, comprising a decoding unit, wherein the decoding unit obtains encoded data and outputs a three-dimensional model obtained by decoding the obtained encoded data, wherein the encoded data is data obtained by encoding a corrected image, and the corrected image is an image in which a two-dimensional image generated by projecting the three-dimensional model onto at least one two-dimensional plane is corrected, and is an image in which one or more pixels in an invalid area included in the two-dimensional image where the three-dimensional model is not projected are corrected.
[0073] Therefore, the three-dimensional model decoding device 310 obtains encoded data with a small amount of data, and can reconstruct the three-dimensional model.
[0074] One form of the present disclosure involves a three-dimensional model distribution method, which distributes a first model in a first distribution method, wherein the first model is a three-dimensional model of an object space in an object time period, and distributes a second model in a second distribution method different from the first distribution method, wherein the second model is a three-dimensional model of the object space in the object time period and is a model whose change per unit time is smaller than that of the first model.
[0075] According to this, the three-dimensional model distribution method can distribute the first model and the second model that have different changes per unit time in a distribution method suitable for each. According to this, the three-dimensional model distribution method can achieve appropriate distribution corresponding to the request.
[0076] For example, the distribution period of the first distribution method may be shorter than the distribution period of the second distribution method.
[0077] According to this, the three-dimensional model distribution method can distribute the first model and the second model, which have different changes per unit time, in a distribution method suitable for each of them.
[0078] For example, a first encoding method may be used in the first distribution method, and a second encoding method having a larger processing delay than the first encoding method may be used in the second distribution method.
[0079] Accordingly, the three-dimensional model distribution method can reduce the processing delay of the first model.
[0080] For example, a first encoding method may be used in the first distribution method, and a second encoding method having an encoding efficiency different from that of the first encoding method may be used in the second distribution method.
[0081] According to this, the three-dimensional model distribution method can distribute the first model and the second model, which have different changes per unit time, in a distribution method suitable for each of them.
[0082] For example, the first distribution method may have lower latency than the second distribution method.
[0083] Accordingly, the three-dimensional model distribution method can reduce the delay of the first model.
[0084] For example, the three-dimensional model distribution method may further generate the first model using a first generation method, and generate the second model using a second generation method having a different accuracy from that of the first generation method.
[0085] According to this, the three-dimensional model distribution method can distribute the first model and the second model, which have different changes per unit time, in a distribution method suitable for each of them.
[0086] For example, it may also be that, in the generation of the first model, the first model is generated based on a third model and the second model, the third model is a three-dimensional model of a plurality of objects included in the object space of the object time period, the second model is a three-dimensional model of a part of the plurality of objects included in the object space of the object time period, and the first model is the difference between the third model and the second model.
[0087] Accordingly, the three-dimensional model distribution method can easily generate the first model.
[0088] For example, in the generation of the first model, a third multi-viewpoint image may be generated, wherein the third multi-viewpoint image is the difference between the first multi-viewpoint image in which a plurality of objects included in the object space during the object time period are photographed and the second multi-viewpoint image in which a part of the plurality of objects are photographed, and the first model is generated using the third multi-viewpoint image.
[0089] For example, the terminal that is the distribution destination of the first model and the second model may generate a free viewpoint image using the first model and the second model, wherein the free viewpoint image is an image viewed from a selected viewpoint, and the three-dimensional model distribution method may give priority to distributing the model required for generating the free viewpoint image among the first model.
[0090] According to this, the three-dimensional model distribution method can efficiently distribute the information required for generating free viewpoint images.
[0091] One form of the present disclosure involves a three-dimensional model distribution method, which generates a third model based on a first model and a second model, wherein the first model is a three-dimensional model of a plurality of objects included in an object space of an object time period, the second model is a three-dimensional model of a portion of the plurality of objects included in the object space of the object time period, the third model is a difference between the first model and the second model, the second model is distributed in a first distribution method, and the third model is distributed in a second distribution method different from the first distribution method.
[0092] According to this, the three-dimensional model distribution method can distribute the first model and the second model in a distribution method suitable for each of them. According to this, the three-dimensional model distribution method can achieve appropriate distribution corresponding to the request.
[0093] One form of the present disclosure involves a three-dimensional model sending device, comprising: a first distribution unit, which distributes a first model in a first distribution method, wherein the first model is a three-dimensional model of an object space in an object time period; and a second distribution unit, which distributes a second model in a second distribution method different from the first distribution method, wherein the second model is a three-dimensional model of the object space in the object time period and is a model whose change per unit time is smaller than that of the first model.
[0094] According to this, the three-dimensional model distribution device can distribute the first model and the second model that have different changes per unit time in a distribution method suitable for each. According to this, the three-dimensional model distribution device can achieve appropriate distribution corresponding to the request.
[0095] One form of the present disclosure involves a three-dimensional model distribution device, comprising: a three-dimensional model generation unit, which generates a third model based on a first model and a second model, wherein the first model is a three-dimensional model of a plurality of objects included in an object space of an object time period, the second model is a three-dimensional model of a part of the plurality of objects included in the object space of the object time period, and the third model is a difference between the first model and the second model; and a distribution unit, which distributes the second model in a first distribution method and distributes the third model in a second distribution method different from the first distribution method.
[0096] According to this, the three-dimensional model distribution device can distribute the first model and the third model in a distribution method suitable for each of them. According to this, the three-dimensional model distribution device can achieve appropriate distribution corresponding to the request.
[0097] One form of the present disclosure involves a three-dimensional model distribution method, which generates a depth image based on the three-dimensional model, and distributes the depth image and information, where the information is used to restore the three-dimensional model based on the depth image.
[0098] According to this, the three-dimensional model is not distributed as it is, but the depth image generated based on the three-dimensional model is distributed. Therefore, the amount of distributed data can be suppressed.
[0099] For example, the three-dimensional model distribution method may further compress the depth image using a two-dimensional image compression method, and in the distribution, the compressed depth image is distributed.
[0100] According to this, in distributing the three-dimensional model, the data can be compressed using the two-dimensional image compression method. Therefore, there is no need to reconstruct the compression method for the three-dimensional model, so the amount of data can be easily reduced.
[0101] For example, in the generation of the depth image, a plurality of depth images at different viewpoints may be generated according to the three-dimensional model, and in the compression, the plurality of depth images may be compressed using a relationship between the plurality of depth images.
[0102] This can further reduce the amount of data for multiple depth images.
[0103] For example, the three-dimensional model distribution method may further generate the three-dimensional model using multiple images captured by multiple cameras, distribute the multiple images, and the viewpoint of the depth image is the viewpoint of any image among the multiple images.
[0104] As a result, the viewpoint of the depth image is consistent with the viewpoint of the captured image. Therefore, for example, when the captured image is compressed by multi-view coding, the depth image can be used to calculate the disparity information between the captured images, and the disparity information can be used to generate the predicted image between the viewpoints. As a result, the amount of code for the captured image can be reduced.
[0105] For example, in generating the depth image, the three-dimensional model may be projected onto a shooting plane of a predetermined viewpoint to generate the depth image, and the information may include parameters for projecting the three-dimensional model onto the shooting plane of the predetermined viewpoint.
[0106] For example, the three-dimensional model distribution method may further determine the bit length of each pixel included in the depth image, and distribute information indicating the bit length.
[0107] According to this, the bit length can be switched according to the subject, the purpose of use, etc., so the amount of data can be appropriately reduced.
[0108] For example, in determining the bit length, the bit length may be determined according to the distance from the subject.
[0109] For example, the three-dimensional model distribution method may further determine the relationship between the pixel value and the distance shown in the depth image, and distribute information showing the determined relationship.
[0110] According to this, the relationship between the pixel value and the distance can be switched according to the subject or the purpose of use, so the accuracy of the restored three-dimensional model can be improved.
[0111] For example, the three-dimensional model may include a first model and a second model, the change per unit time of the second model is smaller than that of the first model, the depth image includes a first depth image and a second depth image, in generating the depth image, the first depth image is generated according to the first model, and the second depth image is generated according to the second model, in determining the relationship, a first relationship between the pixel value and the distance shown in the first depth image and a second relationship between the pixel value and the distance shown in the second depth image are determined, in the first relationship, the distance resolution of the first distance range is higher than the distance resolution of the second distance range, and the second distance range is farther than the first distance range, and in the second relationship, the distance resolution of the first distance range is lower than the distance resolution of the second distance range.
[0112] For example, color information may be added to the three-dimensional model, and the three-dimensional model distribution method may further generate a texture image based on the three-dimensional model, compress the texture image using a two-dimensional image compression method, and further distribute the compressed texture image during the distribution.
[0113] One form of the present disclosure involves a three-dimensional model receiving method, which receives a depth image generated according to a three-dimensional model and information for restoring the three-dimensional model according to the depth image, and uses the information to restore the three-dimensional model according to the depth image.
[0114] According to this, the three-dimensional model is not distributed as it is, but the depth image generated based on the three-dimensional model is distributed. Therefore, the amount of distributed data can be suppressed.
[0115] For example, the depth image may be compressed using a two-dimensional image compression method, and the three-dimensional model receiving method further decodes the compressed depth image.
[0116] According to this, in distributing the three-dimensional model, the data can be compressed using the two-dimensional image compression method. Therefore, there is no need to reconstruct the compression method for the three-dimensional model, so the amount of data can be easily reduced.
[0117] For example, in the receiving, a plurality of depth images may be received, and in the decoding, the plurality of depth images may be decoded using a relationship between the plurality of depth images.
[0118] This can further reduce the amount of data for multiple depth images.
[0119] For example, the three-dimensional model receiving method may further generate a rendered image using the three-dimensional model and a plurality of images, wherein the viewpoint of the depth image is the viewpoint of any image among the plurality of images.
[0120] As a result, the viewpoint of the depth image is consistent with the viewpoint of the captured image. Therefore, for example, when the captured image is compressed by multi-view coding, the depth image can be used to calculate the disparity information between the captured images, and the disparity information can be used to generate the predicted image between the viewpoints. As a result, the amount of code for the captured image can be reduced.
[0121] For example, the information may include parameters for projecting the three-dimensional model onto a shooting plane of the depth image, and during the restoration, the three-dimensional model is restored based on the depth image using the parameters.
[0122] For example, the three-dimensional model receiving method may further receive information indicating the bit length of each pixel included in the depth image.
[0123] According to this, the bit length can be switched according to the subject, the purpose of use, etc., so the amount of data can be appropriately reduced.
[0124] For example, the three-dimensional model receiving method may further receive information showing the relationship between the pixel value shown in the depth image and the distance.
[0125] According to this, the relationship between the pixel value and the distance can be switched according to the subject or the purpose of use, so the accuracy of the restored three-dimensional model can be improved.
[0126] For example, the three-dimensional model receiving method may further receive a texture image compressed by a two-dimensional image compression method, decode the compressed texture image, and in the restoration, use the decoded depth image and the decoded texture image to restore the three-dimensional model with attached color information.
[0127] A three-dimensional model distribution device according to one aspect of the present disclosure includes: a depth image generation unit that generates a depth image based on a three-dimensional model; and a distribution unit that distributes the depth image and information used to restore the three-dimensional model based on the depth image.
[0128] According to this, the three-dimensional model is not distributed as it is, but the depth image generated based on the three-dimensional model is distributed. Therefore, the amount of distributed data can be suppressed.
[0129] A three-dimensional model receiving device involved in one form of the present disclosure includes: a receiving unit, which receives a depth image generated based on a three-dimensional model and information for restoring the three-dimensional model based on the depth image; and a restoration unit, which uses the information to restore the three-dimensional model based on the depth image.
[0130] According to this, the three-dimensional model is not distributed as it is, but the depth image generated based on the three-dimensional model is distributed. Therefore, the amount of distributed data can be suppressed.
[0131] Moreover, their general or specific forms may also be implemented by systems, methods, integrated circuits, computer programs, or recording media such as computer-readable CD-ROMs, or by any combination of systems, methods, integrated circuits, computer programs, and recording media.
[0132] Hereinafter, the embodiments will be described in detail with reference to the accompanying drawings. Moreover, the embodiments described below all illustrate a specific example of the present disclosure. The numerical values, shapes, materials, constituent elements, configuration positions of constituent elements, connection forms, steps, order of steps, etc. shown in the following embodiments are examples and do not limit the purpose of the present disclosure. Furthermore, constituent elements that are not recorded in the implementation scheme that illustrates the highest level concept among the constituent elements of the following embodiments are described as arbitrary constituent elements.
[0133] (Implementation Method 1)
[0134] First, an overview of this embodiment will be described. In this embodiment, a method for generating and distributing a three-dimensional model in a three-dimensional space recognition system such as a next-generation wide-area monitoring system or a free viewpoint video generation system will be described.
[0135] Figure 1 This is a diagram showing an overview of a free viewpoint image generation system. For example, by using a calibrated camera (e.g., a fixed camera) to capture the same space from multiple viewpoints, the captured space can be reconstructed in three dimensions (three-dimensional space reconstruction). Using the three-dimensionally reconstructed data, tracking, scene analysis, and image rendering are performed to generate images viewed from any viewpoint (free viewpoint camera). This makes it possible to realize a next-generation wide-area surveillance system and a free viewpoint image generation system.
[0136] In such a system, it is conceivable to distribute the 3D model generated by 3D reconstruction via a network, etc., and perform tracking, scene analysis, and image rendering on the receiving terminal side. However, the problem is that the data volume of the 3D model is huge, so the network bandwidth is insufficient and it takes time to receive.
[0137] In this regard, in this embodiment, the foreground model and the background model constituting the three-dimensional model are distributed in different distribution modes. For example, the number of distributions of the background model with a low update frequency is suppressed, thereby suppressing the network bandwidth during distribution. In this way, the receiving time on the terminal side can be shortened.
[0138] Next, the configuration of the three-dimensional space recognition system 100 according to the present embodiment will be described. Figure 2 3D space recognition system 100 is a block diagram showing the structure of 3D space recognition system 100. 3D space recognition system 100 includes multi-viewpoint video camera 111, control device 112, event detection device 113, correction instruction device 114, 3D space reconstruction device 115, and 3D space recognition device 116.
[0139] Figure 3 3D space recognition system 100 is a diagram showing an overview of the operation of the 3D space recognition system 100 .
[0140] The multi-viewpoint video camera 111 captures the same space to generate multi-viewpoint videos ( S101 ).
[0141] Then, by manually or automatically detecting correspondence between points in the shooting environment and points on the image, and correspondence between points between images, camera calibration is performed to estimate the posture (camera parameters) of each camera ( S102 ).
[0142] The three-dimensional space reconstruction device 115 performs three-dimensional space reconstruction to three-dimensionally reconstruct the photographic space using the multi-viewpoint images and the camera parameters, thereby generating a three-dimensional model (S103). For example, a foreground model and a background model are generated as the three-dimensional model.
[0143] Finally, the three-dimensional space recognition device 116 performs three-dimensional space recognition using the three-dimensional model (S104). Specifically, the three-dimensional space recognition device 116 performs tracking, scene analysis, and image rendering using the three-dimensional model.
[0144] Next, the free viewpoint video generation system 101 including the three-dimensional space recognition system 100 will be described. Figure 41 is a block diagram showing the structure of the free viewpoint image generation system 101 involved in this embodiment. The free viewpoint image generation system 101 includes a plurality of image display terminals 117 as user terminals in addition to the structure of the three-dimensional space recognition system 100. In addition, the three-dimensional space reconstruction device 115 includes a foreground model generation unit 131 and a background model generation unit 132. The three-dimensional space recognition device 116 includes a viewpoint determination unit 141, a rendering unit 142, and a data transmission unit 143.
[0145] Figure 5 1 is a diagram showing an overview of the operation of the free viewpoint video generating system 101 . Figure 6 : is a flowchart showing the operation of the free viewpoint video generation system 101 .
[0146] First, the multi-viewpoint image capturing device 111 performs multi-viewpoint shooting to generate multi-viewpoint images ( S101 ). The multi-viewpoint image capturing device 111 includes a plurality of image capturing devices 121 . Each image capturing device 121 includes a camera 122 , a pan / tilt platform 123 , a memory 124 , and a sensor 125 .
[0147] The multi-viewpoint video camera 111 receives a signal to start or stop shooting from the control device 112 , and starts or stops shooting in synchronization with the camera 121 in accordance with the signal.
[0148] Each camera 121 records a timestamp when the image is captured by the camera 122. In addition, the camera 121 senses the shooting environment using a sensor 125 (vibration sensor, acceleration sensor, geomagnetic sensor or microphone) while shooting, and outputs the image, timestamp and sensing data to the event detection device 113.
[0149] Furthermore, upon receiving the calibration instruction information from the calibration instruction device 114 , the multi-viewpoint video camera 111 adjusts the camera 121 according to the calibration instruction information, calibrates the camera 122 , and outputs the camera parameters obtained by the calibration to the event detection device 113 .
[0150] The memory 124 in each camera device 121 temporarily stores images, time stamps, sensing data, and camera parameters, or stores shooting settings (frame rate, resolution, etc.).
[0151] Furthermore, camera calibration is performed at an arbitrary timing (S102). Specifically, the event detection device 113 detects a calibration event based on at least one of the image, time stamp, and sensing information obtained from the multi-viewpoint image camera device 111, the three-dimensional model obtained from the three-dimensional space reconstruction device 115, the free viewpoint image obtained from the rendering unit 142, the terminal information obtained from the image display terminal 117, and the control information obtained from the control device 112, and outputs calibration event information including the calibration event to the calibration instruction device 114. The calibration event information includes information indicating the calibration event, the importance of the calibration event, and the calibration camera device 121.
[0152] The calibration event is an opportunity to calibrate the camera 121. For example, when the deviation of the camera 122 is detected, when a predetermined time is reached, when the accuracy of camera calibration is improved, when the accuracy of the model or free viewpoint image is reduced, when the free viewpoint image is not needed, when the image of a certain camera 121 cannot be used for the generation of the free viewpoint image, or when there is an instruction from the system administrator or user, the event detection device 113 outputs calibration event information.
[0153] Specifically, the event detection device 113 detects that the camera 122 is deviated when the sensing information exceeds a threshold, when the background area in the image changes to a value above a threshold, or when cheering sounds. The predetermined time is when the game is interrupted at halftime or at the end of the fifth inning, when a certain time has passed since the last calibration, or when the system is started. When the accuracy of the camera calibration is improved, it means when the number of feature points extracted from the image is above a certain number, etc. In addition, the event detection device 113 determines the deterioration of the accuracy of the model or free viewpoint image based on the tilt of the wall or the ground in the model or free viewpoint image.
[0154] When a free viewpoint image is not needed, it means when no image display terminal 117 is used, or when scene recognition based on sound or image is performed and it is recognized that the scene is not important. When an image of a certain camera device 121 cannot be used for the generation of a free viewpoint image, it means when the resolution or frame rate of the image is reduced due to insufficient communication bandwidth, when synchronization is lost, or when the area captured by the camera device 121 is not in focus due to the absence of players, etc.
[0155] The importance of the calibration event is calculated based on the calibration event or the data observed when the calibration event is detected. For example, the importance of the camera deviation event is higher than other events. And, for example, the greater the camera deviation, the higher the importance is set.
[0156] Furthermore, the event detection device 113 may transmit calibration event information to the image display terminal 117 to notify the user that the imaging device 121 is being calibrated.
[0157] Upon receiving the correction event information from the event detection device 113 , the correction instruction device 114 generates correction instruction information based on the correction event information, and outputs the generated correction instruction information to the multi-viewpoint video camera device 111 .
[0158] The calibration instruction information includes the camera 122 to be calibrated, the order of the cameras 122 to be calibrated, the control information of the pan / tilt platform 123, the zoom ratio change information of the camera 122, the calibration method, etc. The control information of the pan / tilt platform 123 indicates, for example, the rotation amount of the pan / tilt platform 123 for restoring the posture of the camera that has deviated due to vibration, etc. to the original posture. The zoom ratio change information of the camera indicates, for example, the amount of zooming out required to cover the shooting area of the camera 122 that has deviated due to vibration, etc.
[0159] The calibration method includes a method of establishing a correspondence between the three-dimensional coordinates of a specific point, line or surface and the two-dimensional coordinates on the image, and a method of establishing a correspondence between the two-dimensional coordinates of a specific point, line or surface on the image between two or more images. These correspondences are established manually or automatically or both. In addition, the accuracy of camera calibration can be improved by using two or more points, lines or surfaces with known distances, or one or more stereo cameras.
[0160] Next, the three-dimensional space reconstruction device 115 uses the multi-viewpoint image to reconstruct the three-dimensional space (S103). Specifically, the event detection device 113 detects a model generation event based on at least one of the image, time stamp, and sensing information obtained from the multi-viewpoint image camera device 111, the terminal information obtained from the image display terminal 117, and the control information obtained from the control device, and outputs the model generation information including the model generation event to the three-dimensional space reconstruction device 115.
[0161] The model generation information includes a model generation event and camera device information. The camera device information includes an image, a background image, camera parameters, the reliability of the camera parameters, and the calibration status of the camera. The model generation event is an opportunity to generate a three-dimensional model of the shooting environment. Specifically, the event detection device 113 outputs the model generation information when a certain number of cameras or more are calibrated, when a predetermined time is reached, or when a free viewpoint image is required.
[0162] The predetermined time refers to when a game is being played, or when a certain time has passed since the last model generation. When a free viewpoint image is needed, it refers to when the image display terminal 117 is used, when a scene is recognized based on sound or image and it is recognized as an important scene, or when there is an instruction from a system administrator or an audio-visual request from a user. The reliability of the camera parameters is determined based on the result of camera calibration, the time of camera calibration, the image, or the sensing information. For example, the lower the re-projection error during camera calibration, the higher the reliability is set. In addition, the more recently the camera was calibrated, the higher the reliability is set. In addition, the more the camera uses multiple feature points for camera calibration, the higher the reliability is set.
[0163] The three-dimensional space reconstruction device 115 generates a three-dimensional model of the shooting environment using the model generation information obtained from the event detection device 113, and stores the generated three-dimensional model. When generating the model, the three-dimensional space reconstruction device 115 gives priority to using images taken by a camera that has been calibrated and has high reliability, based on the calibration status of the camera and the reliability of the camera parameters. Furthermore, when the generation of the three-dimensional model of the shooting environment is completed, the three-dimensional space reconstruction device 115 outputs model generation completion information to the event detection device 113.
[0164] When the three-dimensional space recognition device 116 as a free viewpoint image generating device generates a free viewpoint image, the three-dimensional space reconstruction device 115 outputs the three-dimensional model of the shooting environment to the rendering unit 142 .
[0165] The foreground model generation unit 131 generates a foreground model that is a model of a foreground that changes with motion (large changes) every time, such as a person or a ball. The background model generation unit 132 generates a background model that is a model of a background that does not change with motion (small changes) every time, such as a venue or a goal. Hereinafter, the three-dimensional model representation includes a model of a foreground model and a background model.
[0166] The foreground model generation unit 131 generates a foreground model according to the frame rate recorded by the imaging device 121. For example, when the recording frame rate is 30 frames / second, the foreground model generation unit 131 generates a foreground model every 1 / 30 second.
[0167] The background model generation unit 132 generates a background model using a background image of a foreground that does not include a person or a ball and changes in motion at a time. The background model generation unit 132 may also use the background model generated once repeatedly within a certain period of time. Furthermore, the background model generation unit 132 may also generate a new background model after a certain period of time and update the background model. In this way, the amount of processing for generating a background model with little motion can be reduced, thereby reducing CPU usage and storage capacity.
[0168] The following describes a method for generating a background model and a foreground model. Figure 7 It is a diagram for explaining this process.
[0169] First, the background model generation unit 132 generates a background model (S111). For example, the multiple cameras 121 included in the multi-view imaging device 111 shoot the background to generate a background image, and record the background image. The background model generation unit 132 generates a background model using the background image. For the background model generation method, for example, a method such as a multi-view stereo method can be used to calculate the depth of each pixel of the object included in the background image based on multiple stereo camera pairs, thereby determining the three-dimensional position of the object included in the background. Alternatively, the background model generation unit 132 may also use a method of extracting the feature quantity of the background image and determining the three-dimensional position of the feature quantity of the background image based on the matching result of the feature quantity between cameras through the principle of triangulation. In addition, any method can be used as long as it is a method for calculating the three-dimensional model of the object included in the background.
[0170] Furthermore, a part or all of the background model may be manually created. For example, for a model of a goal or the like whose shape is determined according to the game, it may be considered to generate a three-dimensional model in advance using CG or the like. In other words, the background model generation unit 132 may also obtain a background model that is determined and generated in advance.
[0171] Furthermore, the background model generation unit 132 may generate a background image using a plurality of captured images including the foreground and the background. For example, the background model generation unit 132 may calculate the background image using an average value image of the plurality of captured images. Thus, even in a situation where a background image not including the foreground cannot be captured in advance, a background image can be generated, and a background model can be generated.
[0172] Next, the plurality of camera devices 121 included in the multi-viewpoint video camera device 111 captures the person (foreground) and the background to generate captured images, and records the captured images ( S112 ).
[0173] Next, the foreground model generation unit 131 generates a foreground model (S113). Specifically, the foreground model generation unit 131 generates a background difference image by subtracting the background image from the captured image of the same viewpoint captured by the same camera device 121. The foreground model generation unit 131 generates a foreground model using background difference images of multiple viewpoints. As for the method of generating the foreground model, for example, a method of determining a three-dimensional model of a foreground object existing in space using multiple background difference images, such as a method of visual volume intersection, can be used. Alternatively, the foreground model generation unit 131 may also use a method of extracting feature quantities of a foreground image (background difference image) and determining the three-dimensional position of the feature quantities of the foreground image based on the principle of triangulation based on the matching results of the feature quantities between cameras. In addition, any method may be used as long as it is a method of calculating a three-dimensional model of an object included in the foreground.
[0174] Based on this, a foreground model and a background model are generated.
[0175] Next, three-dimensional space recognition using the three-dimensional model is performed ( S104A) First, the viewpoint determination unit 141 determines a virtual viewpoint ( S105 ).
[0176] Specifically, the event detection device 113 detects a free viewpoint generation event based on the model generation completion information obtained from the three-dimensional space reconstruction device 115, the terminal information obtained from the image display terminal 117, and the control information obtained from the control device 112, and outputs the free viewpoint information including the free viewpoint generation event to the viewpoint determination unit 141.
[0177] The free viewpoint generation information includes a free viewpoint generation event, a requested viewpoint, and camera device information. The requested viewpoint is a viewpoint desired by the user obtained from the image display terminal 117, or a viewpoint specified by the system administrator obtained from the control device. The viewpoint can be a point in three-dimensional space or a line segment. The free viewpoint generation event is an opportunity to generate a free viewpoint image of the shooting environment. Specifically, the event detection device 113 outputs the free viewpoint information when generating a three-dimensional model of the shooting environment, or when there is a request from a user who wants to view or distribute a free viewpoint image of the moment when the generated three-dimensional model exists, or when there is an instruction from a system administrator.
[0178] The viewpoint determination unit 141 determines the viewpoint when generating the free viewpoint video based on the free viewpoint information obtained from the event detection device 113, and outputs the viewpoint information to the rendering unit 142 together with the free viewpoint information. The viewpoint determination unit 141 determines the viewpoint based on the requested viewpoint. When there is no requested viewpoint, the viewpoint determination unit 141 can also automatically detect the viewpoint from which the player can be seen from the front based on the video, or can also automatically detect the viewpoint of the nearby camera device 121 that has been calibrated and has high reliability based on the reliability of the camera parameters or the calibration status of the camera.
[0179] When the virtual viewpoint is set, the structure and distance information of the shooting environment viewed from the virtual viewpoint are determined based on the 3D model (including the foreground model and the background model). The rendering unit 142 renders using the 3D model to generate a free viewpoint image as an image viewed from the virtual viewpoint (S106).
[0180] Specifically, the drawing unit 142 uses the viewpoint information and free viewpoint information obtained from the viewpoint determination unit 141 and the three-dimensional model of the shooting environment obtained from the three-dimensional space reconstruction device 115 to generate an image of the viewpoint based on the viewpoint information, and outputs the generated image as a free viewpoint image to the data transmission unit 143.
[0181] That is, the rendering unit 142 projects the three-dimensional model at the virtual viewpoint position indicated by the viewpoint information, thereby generating a free viewpoint image. At this time, the rendering unit 142, for example, preferentially obtains information such as color and texture on the image from the image obtained by the camera 121 that is close to the virtual viewpoint position. However, when the camera 121 that is close is being calibrated or the reliability of the camera parameters is low, the rendering unit 142 may preferentially obtain color information from the image of a camera 121 that is different from the camera 121 that is close. Furthermore, when the camera 121 that is close to the virtual viewpoint position is being calibrated or the reliability of the camera parameters is low, the rendering unit 142 may blur the image or increase the playback speed so that the user is less aware of the reduction in image quality. In this way, the rendering unit 142 does not necessarily need to preferentially obtain from the image of the camera 121 that is close, and may obtain the color and texture on the image by any method. Furthermore, the color information may be added to the three-dimensional model itself in advance.
[0182] Next, the data transmission unit 143 distributes the free viewpoint image obtained from the rendering unit 142 to the image display terminal 117 (S107). The data transmission unit 143 may distribute different free viewpoint images to each image display terminal 117 according to the viewpoint requested by each user, or may distribute the same free viewpoint image generated according to the viewpoint specified by the system administrator or the viewpoint automatically determined by the viewpoint determination unit 141 to multiple image display terminals 117. Furthermore, the data transmission unit 143 may compress the free viewpoint image and distribute the compressed free viewpoint image.
[0183] Next, each image display terminal 117 displays the distributed free viewpoint image (S108). Here, the image display terminal 117 has a display, a wireless communication device, and a user input interface. The user uses the image display terminal 117 to send a viewing request to the event detection device 113 to view any area of the shooting environment at any time from any viewpoint. The image display terminal 117 receives the free viewpoint image based on the viewing request from the data transmission unit 143 and displays it to the user.
[0184] The image display terminal 117 receives the calibration event information obtained from the event detection device 113 and highlights the camera being calibrated on the display, thereby notifying the user that a free viewpoint image based on a viewpoint near the camera cannot be generated or that the image quality is degraded.
[0185] Then, the system administrator transmits a shooting start or stop signal from the control device 112 to the multi-viewpoint video camera 111 , thereby causing the multi-viewpoint video camera 111 to start or stop synchronous shooting.
[0186] Furthermore, when the system administrator determines that calibration of a camera is necessary, control information can be sent from the control device 112 to the event detection device 113 to calibrate an arbitrary camera.
[0187] Furthermore, when the system administrator determines that a three-dimensional model of the shooting environment is necessary, the control device 112 can send control information to the event detection device 113 to generate a three-dimensional model of the shooting environment at any time using any camera 121 .
[0188] Furthermore, when the system administrator determines that a free viewpoint video is necessary, the control device 112 can send control information to the event detection device 113 to generate a free viewpoint video at an arbitrary time and distribute it to the video display terminal 117 .
[0189] (Implementation Method 2)
[0190] The function of generating images from a free viewpoint can also be used in a surveillance system. In this case, the estimated appearance of a suspicious person seen from a viewpoint not captured by the actual camera can be presented to the security guard to serve as a warning.
[0191] Figure 8 This is a block diagram showing the structure of the next-generation monitoring system 102 involved in this embodiment. Figure 8 The next generation monitoring system 102 shown, relative to Figure 4 The illustrated free viewpoint video generation system 101 has a three-dimensional space recognition device 116A having a different structure from the three-dimensional space recognition device 116. Furthermore, the next generation monitoring system 102 includes a monitor 118A, a guard 118B, and a video camera 118C instead of the video display terminal 117.
[0192] The three-dimensional space recognition device 116A includes a tracking unit 144 , a scene analysis unit 145 , and a data transmission unit 146 .
[0193] Fig. 9 1 is a diagram showing an overview of the operation of the next-generation monitoring system 102 . Fig.10 102 is a flowchart showing the operation of the next generation monitoring system 102. In addition, multi-viewpoint shooting (S101), camera calibration (S102) and three-dimensional space reconstruction (S103) are Figure 5 as well as Figure 6 same.
[0194] Next, the three-dimensional space recognition device 116A performs three-dimensional space recognition using a three-dimensional model (S104B). Specifically, the tracking unit 144 tracks the person in the three-dimensional space (S105B). Furthermore, the tracking unit 144 automatically extracts an image where the person exists.
[0195] Then, the scene analysis unit 145 performs scene analysis (S106B). Specifically, the scene analysis unit 145 performs status recognition and abnormality detection of people or scenes based on three-dimensional space or multi-viewpoint images.
[0196] Next, the data transmission unit 146 transmits the result of the three-dimensional space recognition to the terminal or the like of the monitor 118A or the guard 118B, or the image camera 118C (S107B). Furthermore, the result of the three-dimensional space recognition is displayed on the terminal or the like of the monitor 118A or the guard 118B, or the display unit or the like of the image camera 118C (S108B).
[0197] The above operation is described in detail below. The scene analysis unit 145 and the tracking unit 144 calculate the structure of each subject in the shooting area as seen from the virtual viewpoint and the distance from the virtual viewpoint based on the three-dimensional model generated by the three-dimensional space reconstruction device 115, similar to the generation of the free viewpoint image. In addition, the scene analysis unit 145 and the tracking unit 144 can also preferentially obtain the color and texture of each subject from the image of the camera device 121 located at a close distance to the virtual viewpoint, and use the obtained information.
[0198] The scene analysis using two-dimensional images is performed by analyzing the images of various subjects in the shooting area, such as the situation of a person or an object at a certain moment, by software or human viewing. The scene analysis unit 145 performs the scene analysis based on the three-dimensional model data, thereby being able to observe the three-dimensional posture of a person or the three-dimensional shape of an object in the shooting area, thereby being able to perform more accurate situation recognition and prediction than when using two-dimensional images.
[0199] In tracking using two-dimensional images, for example, first, the subject within the shooting area is determined by scene analysis of the image captured by the camera 121. And, the same subject determined on the images captured by the camera 121 at different moments is matched by software or manually. And, such determination and matching of the subject are performed according to the time axis, so as to execute tracking. However, for example, in the two-dimensional image of the camera 121, there may be a situation where the subject of interest is temporarily obscured by other subjects, so that the determination of the subject cannot be continued. Even in such a case, a three-dimensional model is used, so that the determination of the subject can be continued using the three-dimensional position information or three-dimensional shape information of each subject.
[0200] Such scene analysis and tracking functions using three-dimensional models are used in the next-generation surveillance system 102. This makes it possible to achieve early detection of suspicious scenes and improve the accuracy of detection. Moreover, even in places where the number of cameras that can be installed is limited, it is possible to enhance safety compared to the case of using two-dimensional images.
[0201] The scene analysis unit 145 analyzes the data of the three-dimensional model to determine, for example, the subject. The analysis result may be provided to the tracking unit 144 or displayed on a display of a terminal or the like together with the free viewpoint image. Furthermore, the data of the analysis result of the free viewpoint image may be stored in a storage device provided in the terminal or the like or in an external storage device. Furthermore, according to the analysis result, the scene analysis unit 145 may request the user via the terminal to determine a virtual viewpoint at another time or another position.
[0202] The tracking unit 144 tracks a specific subject based on the data of the three-dimensional model. The tracking result may be displayed on a display of a terminal or the like together with the free viewpoint image. Furthermore, for example, if the specific subject cannot be tracked, the tracking unit 144 may request the user via the terminal to determine a virtual viewpoint at another time or another position.
[0203] (Implementation method 3)
[0204] In this embodiment, a modification of the free viewpoint video generating system 101 according to the first embodiment will be described. Fig.11 Detailed Description of the Invention It is a block diagram showing the structure of the free viewpoint video generation system 103 according to the present embodiment. Fig.11 The free viewpoint image generation system 103 shown is relative to Figure 4 The illustrated free viewpoint video generation system 101 is different in that the viewpoint determination unit 151 and the rendering unit 152 are provided in the video display terminal 117A.
[0205] The data transmission device 119 distributes the three-dimensional model (foreground model and background model) generated by the three-dimensional space reconstruction device 115 to the image display terminal 117A. Furthermore, the data transmission device 119 may also send the captured image and camera parameters obtained by the multi-viewpoint image camera device 111 to the image display terminal 117A. Furthermore, the three-dimensional space reconstruction device 115 may also, when generating the three-dimensional model, add color information to the three-dimensional model using the camera image, etc., and the data transmission device 119 distributes the three-dimensional model with the added color information to the image display terminal 117A. Furthermore, in this case, the data transmission device 119 may not distribute the captured image to the image display terminal 117A.
[0206] The image display terminal 117A includes a display, a wireless communication device, and a user input interface. The user sends a viewing request to the event detection device 113 to view an arbitrary area of the shooting environment at an arbitrary time using the image display terminal 117A, and receives a three-dimensional model, a shot image, and camera parameters based on the viewing request from the data transmission device 119. Furthermore, the image display terminal 117A generates an image based on the viewpoint information specified by the user and the received three-dimensional model, and outputs the generated image to the display as a free viewpoint image.
[0207] Fig.12 is a flowchart showing the operation of the free viewpoint video generation system 103. Figure 6 The processing of the embodiment 1 shown is the same.
[0208] Next, the data transmission device 119 distributes the three-dimensional model (foreground model and background model) generated by the three-dimensional space reconstruction device 115 to the image display terminal 117A (S107C). At this time, the data transmission device 119 distributes the foreground model and the background model in different distribution methods.
[0209] For example, the data transmission device 119 distributes the foreground model and the background model separately when distributing the three-dimensional model to the image display terminal 117A. At this time, the data transmission device 119, for example, attaches a mark or identifier for distinguishing whether each model is a foreground model or a background model to the header information included in the distribution data.
[0210] For example, the distribution period of the foreground model and the background model may be different. Also, the distribution period of the foreground model may be smaller than the distribution period of the background model. For example, when the recording frame rate of the camera 121 is 30 frames / second, the data transmission device 119 distributes the foreground model at 30 models / second according to the recording frame rate of the camera 121. Also, the data transmission device 119 distributes one model as a background model, for example.
[0211] Furthermore, the data transmission device 119 may also, when distributing the foreground model, generate a differential model that is the difference between the foreground model at the current moment and the foreground model at the previous moment, and distribute the generated differential model. Furthermore, the data transmission device 119 may also predict the motion of the foreground model, generate a prediction model based on the foreground model at the previous moment, generate a differential model that is the difference between the foreground model at the current moment and the prediction model, and distribute the generated differential model and motion information showing the prediction result of the motion. In this way, the amount of information of the foreground model can be reduced, and thus the bandwidth of the network can be suppressed. Furthermore, the data transmission device 119 may also perform variable-length coding or arithmetic coding on the differential model and the motion information to compress the amount of information of the transmitted data.
[0212] Furthermore, the data transmission device 119 may also distribute a background model when the user starts viewing the video. Alternatively, the data transmission device 119 may send the background model at predetermined intervals. In this case, the data transmission device 119 may generate a differential model that is the difference between the current background model and the background model distributed last time, and send the generated differential model. In this way, the amount of information of the distributed background model can be reduced, and thus the network bandwidth can be suppressed.
[0213] Furthermore, the data transmission device 119 may transmit both the foreground model and the background model at a random access point. Thus, the video display terminal 117A can always generate a free viewpoint video using an appropriate foreground model and background model when switching the time when the user wants to view.
[0214] Fig.13 1 is a diagram showing an example of distribution of a foreground model and a background model when one background model is distributed at the beginning of viewing of a user. Fig.13 As shown, the data transmission device 119 distributes one background model when the user starts viewing. The video display terminal 117A generates a free viewpoint video using the background model and the foreground model received at each time.
[0215] Fig.14 FIG. 4 is a diagram showing an example of distributing a foreground model and a background model when a background model is distributed at regular intervals. Fig.14 The data transmission device 119 distributes the background model at a predetermined fixed interval. Here, the fixed interval is longer than the distribution interval of the foreground model. The video display terminal 117A generates a free viewpoint video using the background model received immediately before and the foreground model received at each moment.
[0216] Furthermore, the data transmission device 119 may also switch the encoding method for each model when encoding and distributing the foreground model and the background model. That is, the data transmission device 119 may also use different encoding methods for the foreground model and the background model. For example, the data transmission device 119 applies, for the foreground model, an encoding method that is intended for instant reproduction on the image display terminal 117A side and prioritizes low latency. Furthermore, the data transmission device 119 applies, for the background model, an encoding method that prioritizes efficiency in order to minimize the amount of information. Accordingly, by selecting an appropriate encoding method based on the intended use of each model, the amount of data can be reduced and the functionality of the system can be improved.
[0217] Furthermore, the data transmission device 119 may use a highly efficient encoding method for the foreground model and a less efficient encoding method for the background model than the foreground model. For example, since the background model is distributed less frequently, even if an inefficient encoding method is used to increase the amount of data, the network load is unlikely to increase. On the other hand, by using an inefficient encoding method with light processing, the processing load of the server or terminal for the background model can be suppressed. Furthermore, the foreground model is updated frequently. Therefore, even if the processing load of the server or terminal is high, the network load can be reduced by encoding the foreground model as efficiently as possible. Furthermore, the data transmission device 119 may send the model as is without encoding, instead of using an inefficient encoding method.
[0218] Furthermore, the data transmission device 119 may also distribute the foreground model and the background model using networks or protocols with different characteristics. For example, the data transmission device 119 uses a high-speed network with little packet loss and high reliability for the purpose of instant reproduction on the image display terminal 117A side, and uses a low-latency distribution protocol such as UDP (User Datagram Protocol). Furthermore, the data transmission device 119 uses a low-speed network and a high-fault-tolerant protocol such as TCP (Transmission Control Protocol) for the background model in order to ensure the transmission bandwidth of the foreground model while reliably distributing the background model. Furthermore, download distribution using HTTP (Hypertext Transfer Protocol) and the like is applied to the background model, and streaming distribution using RTP (Real-time Transport Protocol) and the like is applied to the foreground model, thereby also achieving low latency for the foreground model.
[0219] Furthermore, the data transmission device 119 may also obtain the viewpoint position information of the user being viewed from the image display terminal 117A, and use the information to switch the three-dimensional model to be distributed. For example, the data transmission device 119 may also preferentially distribute the foreground model and background model required for the generation of the image from the viewpoint that the user is viewing. Furthermore, the data transmission device 119 may also distribute the foreground model required for the generation of the image from the viewpoint that the user is viewing with high precision (high density), and distribute other models by performing sparse processing, etc., thereby reducing the precision (density) of the model. In this way, the amount of distributed data can be reduced. Moreover, with respect to the background model, such switching may not be performed.
[0220] Furthermore, the data transmission device 119 may also change the density or distribution cycle of the three-dimensional model to be distributed according to the available network bandwidth. For example, the data transmission device 119 may make the density of the three-dimensional model thinner or make the distribution cycle longer as the network bandwidth is narrower. Furthermore, the image display terminal 117A may also switch the rendering resolution according to the density of the three-dimensional model distributed by the data transmission device 119. For example, when the network bandwidth is narrow, the data transmission device 119 distributes the three-dimensional model by thinning out the density through sparse processing, etc. Furthermore, the image display terminal 117A displays the image by reducing the rendering resolution.
[0221] Furthermore, as for the method of reducing the density of the three-dimensional model, a method of uniformly performing sparse processing or a method of switching the presence or absence of sparse processing or the method according to the object can be used. For example, the data transmission device 119 distributes important objects as dense three-dimensional models and distributes other objects as sparse three-dimensional models. In this way, the image quality of important objects can be maintained while reducing the amount of distributed data. Furthermore, the data transmission device 119 can also reduce the temporal resolution of the three-dimensional model to be distributed by lengthening the distribution cycle of the foreground model when the network bandwidth becomes narrower.
[0222] Again, refer to Fig.12 . Next, the image display terminal 117A performs three-dimensional space recognition using the distributed three-dimensional model. First, the viewpoint determination unit 151 determines a virtual viewpoint (S105C). Next, the rendering unit 152 renders using the three-dimensional model to generate a free viewpoint image that is an image viewed from a virtual viewpoint (S106C). Moreover, these processes are the same as the processes of steps S105 and S106 of implementation mode 1. Next, the image display unit 153 displays the generated free viewpoint image (S108C).
[0223] The image display terminal 117A may also receive the three-dimensional model separately as the foreground model and the background model when receiving the three-dimensional model from the data transmission device 119. At this time, the image display terminal 117A may also analyze the header information and obtain a flag or identifier for distinguishing whether each model is a foreground model or a background model.
[0224] The reception period of the foreground model and the background model may also be different. Furthermore, the reception period of the foreground model may also be smaller than the reception period of the background model. For example, for the foreground model, when the recording frame rate of the camera 121 is 30 frames / second, the image display terminal 117A receives the foreground model at 30 frames / second according to the recording frame rate of the camera 121. Furthermore, the image display terminal 117A receives one model as the background model.
[0225] The image display terminal 117A may also, when receiving a foreground model, receive a differential model that is a difference between a foreground model at a current moment and a foreground model at a previous moment, add the foreground model at the previous moment to the differential model, and thereby generate a foreground model at the current moment. Furthermore, the image display terminal 117A may also receive a differential model and motion information showing a result of motion prediction, generate a prediction model based on the received motion information and the foreground model at a previous moment, and add the differential model to the prediction model, and thereby generate a foreground model at the current moment. In this way, the amount of information of the received foreground model can be reduced, and thus the bandwidth of the network can be suppressed. Furthermore, when the differential model and the motion information are compressed by variable length coding or arithmetic coding, the image display terminal 117A may also perform variable length decoding or arithmetic decoding on the received data, and thereby decode the differential model and the motion information.
[0226] Furthermore, the image display terminal 117A may also receive a background model when the user starts viewing and listening, and use the background model repeatedly at all times. Alternatively, the image display terminal 117A may receive the background model at predetermined intervals. In this case, the image display terminal 117 may also receive a differential model that is a difference between the background model received last time and the current background model, and add the previous background model to the differential model to generate the current background model. In this way, the amount of information of the received background model can be reduced, and thus the network bandwidth can be suppressed.
[0227] Furthermore, the video display terminal 117A may receive both the foreground model and the background model at a random access point. Thus, the video display terminal 117A can always generate a free viewpoint video using an appropriate foreground model and background model when switching the time when the user wants to view.
[0228] Furthermore, the image display terminal 117A may also use the already received three-dimensional model for rendering processing when it cannot receive the three-dimensional model due to a network error or the like. For example, when it cannot receive the foreground model, the image display terminal 117A may generate a prediction model through motion prediction based on the already received foreground model, and use the generated prediction model as the foreground model at the current moment. Furthermore, when it cannot receive the background model, the image display terminal 117A may use the already received background model or the CG model. Furthermore, when it cannot receive the background model or the foreground model, the image display terminal 117A may use a model or a rendered image prepared in advance, such as a CG image. Accordingly, even when it cannot receive the three-dimensional model, the image display terminal 117A can provide the rendered image to the user.
[0229] Furthermore, the data transmission device 119 may distribute to the image display terminal 117A at least one of the camera parameters, the captured images obtained by the multi-viewpoint image camera device 111, the background image, the background difference image, the time information when each captured image or three-dimensional model is generated, the viewpoint position information when drawing starts, and the time information for drawing.
[0230] Furthermore, when the imaging device 121 is a fixed camera, the data transmission device 119 may distribute the camera parameters to the image display terminal 117A only when viewing starts. Furthermore, the data transmission device 119 may distribute the camera parameters to the image display terminal 117A at the timing when the calibration instruction device 114 performs calibration. Furthermore, when the imaging device 121 is not fixed, the data transmission device 119 may distribute the camera parameters to the image display terminal 117A every time the camera parameters are updated.
[0231] Furthermore, the data transmission device 119 may encode and distribute the captured image, background image, or background differential image obtained by the multi-view image camera device 111. In this way, the amount of data to be sent can be reduced. For example, the data transmission device 119 may adopt multi-view coding (MVC) of H.264 or H.265 that utilizes the correlation between multi-view images. Furthermore, the data transmission device 119 may encode the images of each camera device 121 independently by H.264 or H.265 and distribute them. In this way, the amount of data distributed to the image display terminal 117A can be reduced.
[0232] The viewpoint position information at the start of drawing may be specified by the user via the video display terminal 117A at the start. Furthermore, the viewpoint determination unit 151 may switch the viewpoint position according to the viewing style of the video display terminal 117A or the type of the video display terminal 117A. For example, in the case of viewing on a television, the viewpoint determination unit 151 determines the recommended viewpoint specified by the system side, the viewpoint from the camera 121 close to the ball, the viewpoint from the camera 121 shooting the center of the court, or the viewpoint with a high viewing rate, as the starting viewpoint. Furthermore, in the case of viewing on a personal terminal such as a tablet or smartphone of the user, the viewpoint determination unit 151 determines the viewpoint where the user's favorite player exists, as the starting viewpoint. Furthermore, in the case of viewing on a head-mounted display, the viewpoint determination unit 151 determines the recommended viewpoint for VR (Virtual Reality), such as the viewpoint of the player on the court, or the viewpoint from the player's seat, as the starting viewpoint.
[0233] (Implementation 4)
[0234] In this embodiment, a modification example of the next-generation monitoring system 102 according to the second embodiment will be described. Fig.15 This is a block diagram showing the structure of the next-generation monitoring system 104 according to the present embodiment. Fig.15 The next generation monitoring system 104 shown, relative to Figure 8 The next generation monitoring system 102 shown is different in that the tracking unit 154 and the scene analysis unit 155 are provided in the image display terminal 117B.
[0235] Fig.16 is a flowchart showing the operation of the next generation monitoring system 104. Moreover, steps S101, S103 and S107C are Fig.12 The processing of the embodiment 3 shown is the same.
[0236] Next, the image display terminal 117B performs three-dimensional space recognition using the three-dimensional model. Specifically, the tracking unit 154 tracks the person in the three-dimensional space (S105D). The scene analysis unit 155 performs scene analysis (S106D). Furthermore, the image display terminal 117B displays the result of the three-dimensional space recognition (S108D). Furthermore, these processes are the same as the processes of steps S105B, S106B, and S108B of Implementation 2.
[0237] (Implementation 5)
[0238] In the above-described embodiment, an example is described in which a three-dimensional model includes a foreground model and a background model. However, the models included in the three-dimensional model are not limited to two models, namely, a foreground model and a background model.
[0239] Fig.17 Detailed Description of the Invention It is a block diagram showing the structure of the free viewpoint video generation system 105 according to the present embodiment. Fig.17 The free viewpoint image generation system 105 shown is Fig.11 The free viewpoint video generation system 103 shown is different in the structure of a three-dimensional space reconstruction device 115A. The three-dimensional space reconstruction device 115A includes a first model generation unit 133 that generates a first model, a second model generation unit 134 that generates a second model, and a third model generation unit 135 that generates a third model.
[0240] The three-dimensional space reconstruction device 115A generates a three-dimensional model including a first model, a second model, and a third model. The data transmission device 119 distributes the first to third models to the image display terminal 117A in different distribution methods. The three-dimensional space reconstruction device 115A updates each model at a different frequency. The data transmission device 119 distributes each model to the image display terminal 117A at a different period. For example, the first model is a foreground model, the second model is a part of the background model, and the third model is a background model other than the second model. In this case, when the recording frame rate of the camera 121 is 30 frames / second, the data transmission device 119 distributes the first model at 30 models / second according to the recording frame rate of the camera 121. In addition, the data transmission device 119 distributes the second model at 1 model / second and distributes one model as the third model at the start of viewing. According to this, the area with different update frequencies in the background model can be distributed as other models at other periods, so that the network bandwidth can be suppressed.
[0241] Furthermore, the data transmission device 119 may add an identifier for identifying two or more models to the three-dimensional model. Accordingly, the image display terminal 117A analyzes the identifier and can determine which model the received three-dimensional model corresponds to.
[0242] Furthermore, although an example using three models is described here, four or more models may be used.
[0243] Furthermore, when two models are used, the two models may be other than the foreground model and the background model. For example, the three-dimensional data may include a first model with a high update frequency and a large amount of data, and a second model with a low update frequency and a small amount of data. Furthermore, the data transmission device 119 may distribute each model to the image display terminal 117A in different distribution methods. At this time, since the update frequency of each model is different, the data transmission device 119 distributes each model to the image display terminal 117A at a different period. For example, when the recording frame rate of the camera 121 is 30 frames / second, the data transmission device 119 distributes the first model at 30 models / second according to the recording frame rate of the camera 121. Furthermore, the data transmission device 119 distributes one model as the second model at the start of viewing. Accordingly, three-dimensional models with different amounts of data can be distributed at different periods, so the network bandwidth can be suppressed.
[0244] Furthermore, the first model and the second model may be models with different importance. Furthermore, the data transmission device 119 may distribute each model to the image display terminal 117A in different distribution methods. At this time, since the importance of each model is different, the data transmission device 119 distributes each model to the image display terminal 117A in different cycles. For example, the first model is set as a model with high importance, and the second model is set as a model with low importance. In this case, when the recording frame rate of the camera 121 is 30 frames / second, the data transmission device 119 distributes the first model at 30 models / second and the second model at 15 models / second according to the recording frame rate of the camera 121. Accordingly, the three-dimensional model with high importance can be distributed preferentially, so the network bandwidth can be suppressed, and the appropriate rendering image can be provided to the user using the image display terminal 117A.
[0245] Furthermore, the data transmission device 119 may switch the distribution cycle according to the importance. For example, the data transmission device 119 may switch the density of the model according to the priority. For example, when distributing the three-dimensional model of a soccer match, the data transmission device 119 determines that the three-dimensional model of the players fighting in front of one side's goal is of high importance, and determines that the three-dimensional model of the goalkeeper located near the other side's goal is of low importance. Furthermore, the data transmission device 119 distributes the three-dimensional model of the goalkeeper with a density lower than that of the three-dimensional model with high importance. Furthermore, the data transmission device 119 may not distribute the three-dimensional model with low importance. Furthermore, the data transmission device 119, for example, determines the importance of the model of the judgment object according to whether it is close to a specific feature point or object such as a ball, or whether it is close to a viewpoint position that the viewer has viewed many times. For example, the importance of the model close to the specific feature point or object is set to be high, and the importance of the model close to the viewpoint position that the viewer has viewed many times is set to be high.
[0246] Furthermore, each model may be, for example, a collection of one or more objects (eg, a person, a ball, a vehicle, etc.) identified by object recognition, or a collection of regions or objects such as the background and foreground identified by motion.
[0247] Furthermore, the same modification example can also be applied to the next-generation monitoring system 104 described in the fourth embodiment. Fig.18 This is a block diagram showing the structure of the next-generation monitoring system 106 involved in this embodiment. Fig.18 The next generation monitoring system 106 shown, relative to Fig.15 The next generation monitoring system 104 shown is different in the structure of the three-dimensional space reconstruction device 115A. Fig.17 same.
[0248] As described above in Embodiments 1 to 4, the three-dimensional model distribution device (e.g., data transmission device 119) distributes the first model (e.g., foreground model) of the three-dimensional model of the object space of the object time period in a first distribution method, and distributes the second model (e.g., background model) of the three-dimensional model of the object space of the object time period, which has a smaller change per unit time than the first model, in a second distribution method different from the first distribution method. That is, the three-dimensional model distribution device sends the foreground model and the background model separately.
[0249] For example, the transmission period of the first model and the second model are different. For example, the transmission period of the first distribution method is shorter than the transmission period of the second distribution method. Furthermore, the three-dimensional model distribution device transmits the first model at predetermined intervals. At this time, the three-dimensional model distribution device may also transmit a differential model that is a difference between the first model at the current moment and the first model at the previous moment. Furthermore, the three-dimensional model distribution device may also transmit the motion information of the first model at the current moment from the first model at the previous moment.
[0250] For example, the 3D model distribution device sends the second model at the start of viewing. Alternatively, the 3D model distribution device sends the second model at predetermined intervals. Furthermore, the 3D model distribution device may send a differential model that is a difference between the current second model and the second model sent last time. Furthermore, the 3D model distribution device may send the second model at each random access point.
[0251] Furthermore, the three-dimensional model distribution device may transmit information such as a flag for distinguishing whether each model is the first model or the second model.
[0252] Furthermore, the three-dimensional model distribution device may transmit both the first model and the second model at a random access point.
[0253] Furthermore, the three-dimensional model distribution device may also generate the first model and the second model using different methods. Specifically, the three-dimensional model distribution device generates the first model using a first generation method, and generates the second model using a second generation method having a different accuracy from that of the first generation method. For example, the three-dimensional model distribution device generates the first model using a first generation method, and generates the second model using a second generation method having a higher accuracy than that of the first generation method. Alternatively, the three-dimensional model distribution device generates the first model using a first generation method, and generates the second model using a second generation method having a lower accuracy than that of the first generation method. For example, when it is necessary to draw the first model (foreground model) of an athlete or a prisoner as high-quality as possible, the three-dimensional model distribution device generates the first model with high accuracy even if the amount of data increases. On the other hand, the three-dimensional model distribution device reduces the accuracy of the second model of an area that is less important than the foreground, such as the audience or background image, to suppress the amount of data.
[0254] For example, a three-dimensional model distribution device generates a first model (foreground model) which is the difference between a third model which is a three-dimensional model of a plurality of objects included in an object space of an object time period and a second model (background model) which is a three-dimensional model of a part of the plurality of objects included in the object space of the object time period.
[0255] For example, a three-dimensional model distribution device generates a third multi-view image (background difference image) which is the difference between a first multi-view image (captured image) of a plurality of objects included in an object space as an object time period and a second multi-view image (background image) of a part of the plurality of objects, and generates a first model (foreground model) using the third multi-view image (background difference image).
[0256] Furthermore, the 3D model distribution device may generate the first model by using the view volume intersection method of the second multi-view image (photographed image) or the third multi-view image (background difference image), and generate the second model by using the matching result of the feature points between the cameras. Thus, the amount of processing for generating the first model can be reduced, and the accuracy of the second model can be improved. Furthermore, the 3D model distribution device may also manually generate the second model.
[0257] The 3D model distribution device may also distribute data other than the 3D model. For example, the data other than the 3D model includes at least one of camera parameters, multi-viewpoint images, background difference images, time information, and initial viewpoint position.
[0258] Furthermore, the three-dimensional model distribution device may distribute the camera parameters of the fixed camera when viewing starts, and distribute the camera parameters of the non-fixed camera every time the camera parameters change.
[0259] Furthermore, the user may specify the viewpoint position at the start of viewing when viewing begins. Alternatively, the viewpoint position at the start of viewing may be switched according to the viewing style or the type of terminal. For example, when viewing on a television, select a recommended viewpoint, a fixed camera (for example, close to the ball, or the center of the court), or a viewpoint with a high viewing rate. Furthermore, when viewing on a personal tablet terminal or smartphone, select a viewpoint where a favorite player exists. Furthermore, when viewing on a head-mounted display device, select a recommended viewpoint for VR (for example, a viewpoint on the court).
[0260] Furthermore, the first model and the second model are not limited to two models of the foreground model and the background model. Furthermore, more than two models may be generated and distributed in different distribution methods. In this case, the update frequency of each model is different (even the background has different update frequencies according to the region), so the three-dimensional model distribution device distributes each model in different cycles. Furthermore, the three-dimensional model distribution device adds identifiers for identifying more than two models.
[0261] Furthermore, the three-dimensional model distribution device switches the encoding method for each model.
[0262] For example, in a first distribution method for a first model, a first encoding method is used. In a second distribution method for a second model, a second encoding method is used. The first encoding method and the second encoding method differ in at least one of processing delay and encoding efficiency. For example, the second encoding method has a larger processing delay than the first encoding method. Alternatively, the second encoding method has a higher encoding efficiency than the first encoding method. Alternatively, the second encoding method has a lower encoding efficiency than the first encoding method.
[0263] Furthermore, the first distribution method may also have a lower latency than the second distribution method. For example, the 3D model distribution device may distribute the first model with a low latency using a highly reliable line (e.g., using UDP). Furthermore, the 3D model distribution device may distribute the second model using a low-speed line (e.g., using TCP). Alternatively, the 3D model distribution device may distribute the second model by downloading (e.g., HTTP) and distribute the first model by streaming (e.g., RTP).
[0264] Furthermore, the 3D model receiving device (e.g., the image display terminal 117A) may also utilize an already received 3D model when it cannot receive the 3D model due to a network error, etc. For example, when the 3D model receiving device cannot receive the first model, it generates a prediction model by performing motion prediction based on the already received first model, and utilizes the generated prediction model as the first model at the current moment.
[0265] Furthermore, the 3D model receiving device, when unable to receive the second model, uses the second model that has already been received. Alternatively, the 3D model receiving device uses a model or a drawn image that is prepared in advance, such as a CG model or a CG image. In other words, the 3D model receiving device may also perform different error elimination processes on the first model and the second model.
[0266] Furthermore, the three-dimensional model distribution device may also preferentially distribute the first model and the second model required for generating the image from the user's viewpoint. For example, the three-dimensional model distribution device may also distribute the first model required for generating the image from the user's viewpoint with high accuracy, and sparsely distribute other first models. That is, the terminal (e.g., the image display terminal 117A) that is the distribution destination of the first model and the second model generates a free viewpoint image as an image viewed from a selected viewpoint using the first model and the second model. The three-dimensional model distribution device preferentially distributes the model required for generating the free viewpoint image among the first models.
[0267] Furthermore, the 3D model distribution device may also change the quality of the distributed 3D model according to the available network bandwidth. For example, the 3D model distribution device switches the density or rendering resolution of the 3D model according to the network bandwidth. The 3D model distribution device makes the density of the 3D model thinner and the rendering resolution smaller when the bandwidth is strict. Furthermore, for the density switching of the 3D model, a method such as uniform thinning or switching according to the target object can be used. Furthermore, the 3D model distribution device performs processing to reduce the temporal resolution of the distributed 3D model, such as lengthening the distribution period of the first model when the bandwidth is strict.
[0268] Furthermore, in the above description, an example of generating a three-dimensional model using multi-viewpoint images obtained by the multi-viewpoint image camera 111 is described, but the method of generating a three-dimensional model (foreground model and background model) is not limited to the above. For example, the three-dimensional model may be generated using information obtained by means other than a camera, such as LIDAR (Light Detection and Ranging) or TOF (Time of Flight). Furthermore, multi-viewpoint images for generating a three-dimensional model may also be generated using this information.
[0269] Furthermore, the three-dimensional model may be in any form as long as it is information indicating the three-dimensional position of the target object. For example, the three-dimensional model may be in the form of a point cloud, voxel, mesh, polygon, or depth information.
[0270] (Implementation 6)
[0271] In this embodiment, the three-dimensional space reconstruction device 115C generates one or more depth images based on the three-dimensional model, compresses the generated depth images and distributes them to the image display terminal 117C. The image display terminal 117C restores the three-dimensional model based on the received depth images. In this way, the depth images are effectively compressed and distributed, thereby suppressing the network bandwidth during distribution.
[0272] Fig.19 2 is a block diagram showing the structure of the free viewpoint video generation system 107 according to the present embodiment. Fig.19 The free viewpoint image generation system 107 shown is relative to Fig.17 The free viewpoint image generation system 105 shown is different in the structures of the three-dimensional space reconstruction device 115C, the data transmission device 119C, and the image display terminal 117C. The three-dimensional space reconstruction device 115C, in addition to the structure of the three-dimensional space reconstruction device 115A, further includes a first depth image generation unit 136, a second depth image generation unit 137, and a third depth image generation unit 138. The image display terminal 117C, in addition to the structure of the image display terminal 117A, further includes a model recovery unit 156.
[0273] The three-dimensional space reconstruction device 115C generates one or more depth images (range images) based on the produced three-dimensional model instead of distributing the three-dimensional model. The data transmission device 119C distributes the generated one or more depth images to the image display terminal 117C. In this case, the image display terminal 117C receives the one or more depth images, restores (generates) the three-dimensional model, and generates a rendering image using the restored three-dimensional model and the received captured image.
[0274] Fig. 20 : is a flowchart showing the operation of the free viewpoint video generation system 107 . Fig. 20 The processing shown is relative to Fig.12 The processing shown includes steps S121 to S123 instead of step S107C.
[0275] In steps S101 and S103 , similarly to the fifth embodiment, the first model generation unit 133 , the second model generation unit 134 , and the third model generation unit 135 generate the first model, the second model, and the third model.
[0276] Next, the first depth image generating unit 136 generates one or more first depth images according to the first model, the second depth image generating unit 137 generates one or more second depth images according to the second model, and the third depth image generating unit 138 generates one or more third depth images according to the third model ( S121 ).
[0277] Next, the data transmission device 119C performs two-dimensional image compression processing on the generated first depth image, second depth image, and third depth image, thereby reducing the data volume of these depth images. Furthermore, the data transmission device 119C distributes the compressed first depth image, second depth image, and third depth image to the image display terminal 117C (S122).
[0278] Next, the model recovery unit 156 of the image display terminal 117C decodes the received first depth image, second depth image and third depth image, uses the first depth image to restore (generate) the first model, uses the second depth image to restore (generate) the second model, and uses the third depth image to restore (generate) the third model (S123).
[0279] Then, similar to the fifth embodiment, the viewpoint determination unit 151 determines the viewpoint that the user wants to see (S105C). The rendering unit 152 generates a rendering image as an image seen from the determined viewpoint using the restored first to third models and the received captured image (S106C). The image display unit 153 displays the rendering image (S108C).
[0280] In this way, the data transmission device 119C distributes the depth image as a two-dimensional image instead of the three-dimensional model. Accordingly, the data transmission device 119C can compress the depth image and send it using a standard image compression method such as H.264 or H.265, thereby reducing the amount of data transmission.
[0281] Furthermore, the first to third models may also be composed of point groups (point clouds), meshes, or polygons.
[0282] Here, as in Embodiment 5, the case of generating the first to third models is described as an example, but the same method can be applied to generating a foreground model and a background model as in Embodiments 1 to 4. Also, the same method can be applied to generating a three-dimensional model.
[0283] Furthermore, although the free viewpoint video generation system is described as an example here, the same method can also be applied to the next generation monitoring system.
[0284] Furthermore, the three-dimensional space reconstruction device 115C may also distribute camera parameters corresponding to the depth image in addition to the depth image. For example, the camera parameters are camera parameters of the viewpoint of the depth image. The camera parameters include internal parameters such as the focal length of the camera and the image center, and external parameters such as the posture (three-dimensional position and orientation) of the camera. The three-dimensional space reconstruction device 115C generates a depth image based on the three-dimensional model using the camera parameters.
[0285] Furthermore, the information sent is not limited to the camera parameters, but can be the parameters used when generating the depth image based on the three-dimensional model. In other words, the parameters are the parameters for projecting the three-dimensional model to the shooting surface of the specified viewpoint (the viewpoint of the depth image). For example, the parameters can also be the projection matrix calculated using the camera parameters.
[0286] Then, the image display terminal 117C projects each pixel of the one or more depth images into a three-dimensional space using the received camera parameters, thereby generating a three-dimensional model.
[0287] Furthermore, the three-dimensional space reconstruction device 115C may also generate a plurality of depth images that project the three-dimensional model onto the same plane as the shooting plane of each camera device 121. Accordingly, the viewpoint position of the shot image and the depth image is the same. Therefore, for example, in the data transmission device 119C, when the shot images of the multiple viewpoints of the multi-viewpoint video camera device 111 are compressed using multi-viewpoint coding as a supplementary standard of H.264 or H.265, the parallax information between the shot images can be calculated using the depth image, and the predicted image between the viewpoints can be generated using the parallax information. Accordingly, the amount of code of the shot image can be reduced.
[0288] Furthermore, the three-dimensional space reconstruction device 115C may also project the three-dimensional model onto the same plane as the imaging plane of a certain viewpoint different from the viewpoint of the imaging device 121, thereby generating a depth image. In other words, the viewpoint of the depth image may also be different from the viewpoint of the captured image. For example, the three-dimensional space reconstruction device 115C projects the three-dimensional model onto the image display terminal 117C, which can easily restore the viewpoint position of the three-dimensional model, thereby generating a depth image. Accordingly, the image display terminal 117C can generate a three-dimensional model with fewer errors. Furthermore, the image display terminal 117C can easily restore the viewpoint of the three-dimensional model, for example, a viewpoint where more objects are projected.
[0289] Furthermore, the data transmission device 119C may also compress and transmit the depth image. For example, the data transmission device 119C may compress (encode) the depth image using a two-dimensional image compression method such as H.264 or H.265. Furthermore, the data transmission device 119C may also compress the depth image using the dependency relationship between depth images of different viewpoints, as in a multi-view encoding method. For example, the data transmission device 119C may also generate a predicted image between viewpoints using disparity information calculated based on camera parameters.
[0290] Furthermore, the three-dimensional space reconstruction device 115C may also determine the bit length of each pixel value representing the depth image so that the error between the three-dimensional model generated by the three-dimensional space reconstruction device 115C and the three-dimensional model restored by the image display terminal 117C is less than a certain value. For example, the three-dimensional space reconstruction device 115C may also set the bit length of the depth image to the first bit length (e.g., 8 bits) when the distance to the subject is close, and to the second bit length (e.g., 16 bits) longer than the first bit length when the distance to the subject is far. Alternatively, the three-dimensional space reconstruction device 115C may also switch the bit length adaptively according to the distance to the subject. For example, the three-dimensional space reconstruction device 115C may also shorten the bit length the farther the distance to the subject.
[0291] In this way, the three-dimensional space reconstruction device 115C controls the bit length of the distributed depth image according to the error of the three-dimensional model restored by the image display terminal 117C. According to this, the error of the three-dimensional model restored by the image display terminal 117C can be suppressed within the allowable range, and the amount of information of the distributed depth image can be reduced to reduce the network load. For example, if the bit length of the depth image is set to 8 bits, the error of the three-dimensional model restored by the image display terminal 117C increases compared to the case where the bit length is set to 16 bits, but on the other hand, the network load of the distribution can be reduced.
[0292] Furthermore, when color information is attached to each point group constituting the three-dimensional model, the three-dimensional space reconstruction device 115C may also project each point group and color information onto the same plane as the shooting plane of one or more viewpoints, thereby generating a texture image including a depth image and color information. In this case, the data transmission device 119C may also compress and distribute the depth image and texture image. Furthermore, the image display terminal 117C decodes the compressed depth image and texture image, and generates a three-dimensional model and color information of the point group included in the three-dimensional model using the obtained one or more depth images and texture images. Furthermore, the image display terminal 117C generates a drawn image using the generated three-dimensional model and color information.
[0293] Furthermore, the compression of the depth image and the texture image may be performed by the data transmission device 119C or by the three-dimensional space reconstruction device 115C.
[0294] The three-dimensional space reconstruction device 115C or the data transmission device 119C may also distribute the background difference image generated by subtracting the background image from the captured image. In this case, the image display terminal 117C may also generate a three-dimensional model using the background difference image and generate a rendered image using the generated three-dimensional model.
[0295] The three-dimensional space reconstruction device 115C or the data transmission device 119C may also distribute position information indicating where each model is located in the three-dimensional space. Accordingly, the image display terminal 117C can simply merge each model using the received position information after generating each model. For example, when generating a model, the three-dimensional space reconstruction device 115C detects a point group in the three-dimensional space, thereby calculating the position information of each model. Furthermore, the three-dimensional space reconstruction device 115C may also detect a specific subject such as a player in advance on a two-dimensional captured image, and determine the three-dimensional position of the subject (model) using multiple captured images and subject detection information.
[0296] A depth image is two-dimensional image information that indicates the distance from a certain viewpoint to a subject. Each pixel of the depth image stores a value indicating the distance information to the point group of the three-dimensional model projected to each pixel. Furthermore, the information indicating the depth does not necessarily need to be an image, and can be any information as long as it indicates the distance information to each point group constituting the three-dimensional model.
[0297] Furthermore, in the above description, an example is shown in which the three-dimensional space reconstruction device 115C generates a three-dimensional model based on a background difference image, etc., and projects the three-dimensional model to each viewpoint to generate a depth image, but the present invention is not limited to this. For example, the three-dimensional space reconstruction device 115C may generate a three-dimensional model based on something other than an image using LIDAR, etc., and generate a depth image based on the three-dimensional model. Furthermore, the three-dimensional space reconstruction device 115C may also, for example, obtain a pre-generated three-dimensional model from the outside and generate a depth image based on the obtained three-dimensional model.
[0298] Furthermore, the three-dimensional space reconstruction device 115C may also set the bit length of the depth image to a different value for each model. For example, the three-dimensional space reconstruction device 115C may also set the bit lengths of the first depth image and the second depth image to different values, respectively. Furthermore, the data transmission device 119C may also distribute information showing the bit lengths of the first depth image and the second depth image to the image display terminal 117C. For example, in a case where the first model is a foreground model and the second model is a background model, the three-dimensional space reconstruction device 115C sets the bit length of the first depth image of the foreground model that requires a higher model accuracy to 16 bits, and sets the bit length of the second depth image of the background model that has no problem even with a rough model accuracy to 8 bits. Accordingly, the amount of information of the depth image to be distributed can be suppressed, and the bit length can be preferentially allocated to the depth image of the portion of the foreground model, such as the foreground model, that requires the restoration of a high-precision model of the image display terminal 117C.
[0299] Furthermore, the data transmission device 119C may distribute the depth image of the model requiring high precision to the image display terminal 117C, and not distribute the depth image of the model not requiring high precision to the image display terminal 117C. For example, the data transmission device 119C distributes the first depth image of the foreground model to the image display terminal 117C, and does not distribute the second depth image of the background model to the image display terminal 117C. In this case, the image display terminal 117C uses the background model prepared in advance. In this way, the amount of information of the distributed depth image can be reduced, and the network load can be suppressed.
[0300] Furthermore, it is also possible to determine whether the image display terminal 117C uses a three-dimensional model restored from a distributed depth image or a three-dimensional model prepared in advance. For example, when the image display terminal 117C is a terminal with high-performance processing capabilities, the image display terminal 117C restores the respective three-dimensional models from the distributed depth image of the foreground model and the depth image of the background model, and uses the obtained three-dimensional models in rendering, thereby generating a high-quality rendering image for both the foreground and the background. On the other hand, when the image display terminal 117C is a terminal such as a smartphone with low terminal processing capabilities and the need to suppress power consumption, the image display terminal 117C restores the foreground model from the distributed depth image, and does not use the depth image distributed as the background model, but uses the pre-prepared background model. Accordingly, the processing amount can be suppressed, and a rendering image with a high-quality foreground can be generated. In this way, the three-dimensional model used is switched according to the processing capability of the image display terminal 117C, so that the quality of the rendering image and the power consumption based on the reduction in processing amount can be balanced.
[0301] A specific example of a method for generating and restoring a three-dimensional model will be described below. Fig.21 It is a diagram for explaining the generation and restoration of a background model as a three-dimensional model.
[0302] First, the three-dimensional space reconstruction device 115C generates a background model based on the background image (S101, S103). Figure 7 The step S111 shown is the same.
[0303] Next, the 3D space reconstruction device 115C generates a depth image of viewpoint A based on the point group of the background model (S121). Specifically, the 3D space reconstruction device 115C calculates the projection matrix A using the camera parameters of viewpoint A. Next, the 3D space reconstruction device 115C projects the point group of the background model onto the projection plane of viewpoint A using the projection matrix A, thereby creating a depth image (range image).
[0304] At this time, there may be a case where multiple point groups are projected onto the same pixel of the depth image. In this case, for example, the three-dimensional space reconstruction device 115C uses the value closest to the projection plane of the viewpoint A as the pixel value of the depth image. This can prevent the depth value of the subject that is not visible from the viewpoint A because it becomes the shadow of the subject from being mixed in, so the depth image can be accurately generated.
[0305] Furthermore, the data transmission device 119C distributes the generated depth image (S122). At this time, the data transmission device 119C applies standard two-dimensional image compression such as H.264 or H.265 to the depth image to reduce the amount of data. Alternatively, the data transmission device 119C may also compress the depth image using a multi-viewpoint encoding method that utilizes the parallax between viewpoints.
[0306] Furthermore, the data transmission device 119C distributes the camera parameters used when generating the depth image based on the three-dimensional model together with the depth image. Furthermore, the data transmission device 119C may also distribute the projection matrix A calculated using the camera parameters instead of or in addition to the camera parameters.
[0307] Next, the image display terminal 117C projects the depth images of multiple viewpoints into the three-dimensional space, thereby restoring the point group of the background model (S123). At this time, the image display terminal 117C may also confirm whether there is a problem in the geometric positional relationship between each restored point group and each viewpoint, and readjust the position of the point group as needed. For example, the image display terminal 117C uses the images between the viewpoints to match the feature points, and adjusts the position of each point group in a manner consistent with each point group corresponding to each matched feature point in the three-dimensional space. Accordingly, the image display terminal 117C is able to restore the three-dimensional model with high precision.
[0308] Furthermore, although an example of generating and restoring a background model is described here, the same method can be applied to other models such as a foreground model.
[0309] Next, an example of a depth image is described. Fig. 22 This is a diagram showing an example of a depth image. Each pixel of the depth image represents the distance information to the subject. For example, the depth image is represented as an 8-bit monochrome image. In this case, the closer the distance to viewpoint A, the brighter the value (the value closer to 255) is assigned, and the farther the distance to viewpoint A, the darker the value (the value closer to 0) is assigned. Fig. 22 In the example shown, a bright value is assigned to subject A because it is close to viewpoint A, and a darker value is assigned to subject B because it is far from viewpoint A. The background is farther away than subject B, so a darker value is assigned to the background.
[0310] Furthermore, in the depth image, the farther the distance from the viewpoint A is, the brighter the value (the value closer to 255) is assigned, and the closer the distance from the viewpoint A is, the darker the value (the value closer to 0) is assigned. Fig. 22 In the example shown, the distance information from the subject is expressed as a depth image, but the information sent is not limited to this, and can be in any form as long as the distance to the subject can be expressed. For example, the distance information from subjects A and B can be expressed not as an image, but as text information or the like. Also, here, the bit length of the depth image is 8 bits, but the bit length is not limited to this, and a value larger or smaller than 8 bits can also be used. When a value larger than 8 bits, such as 16 bits, is used, the distance information from the subject can be reproduced more carefully, thereby improving the accuracy of restoring the three-dimensional model of the image display terminal 117C. Therefore, in the image display terminal 117C, a three-dimensional model close to the three-dimensional model generated by the three-dimensional space reconstruction device 115C can be restored. On the other hand, the amount of information in the distributed depth image increases, and therefore, the network load increases.
[0311] On the contrary, when a value smaller than 8 bits, such as 4 bits, is used, the distance information to the subject is coarse, and thus the restoration accuracy of the three-dimensional model of the image display terminal 117C is reduced. As a result, the error between the restored three-dimensional model and the three-dimensional model generated by the three-dimensional space reconstruction device 115C increases. On the other hand, the amount of information of the distributed depth image can be reduced, and thus the network load can be suppressed.
[0312] The three-dimensional space reconstruction device 115C may also determine the bit length of such a depth image according to whether a high-precision three-dimensional model is required in the image display terminal 117C in the target application. For example, if the target application is not irrelevant to the quality of the rendered image, the three-dimensional space reconstruction device 115C reduces the bit length of the depth image and prioritizes the suppression of the network load for distribution. Furthermore, if the target application is relevant to the quality of the image, the three-dimensional space reconstruction device 115C increases the bit length of the depth image and prioritizes the high quality of the rendered image even if the load of the distribution network increases.
[0313] Furthermore, the three-dimensional space reconstruction device 115C may also adaptively switch the bit length of the depth image according to the load of the distribution network. For example, when the network load is high, the three-dimensional space reconstruction device 115C sets the bit length to be small, thereby reducing the accuracy of the three-dimensional model while suppressing the network load. Furthermore, when the network load is low, the three-dimensional space reconstruction device 115C sets the bit length to be large, so that a detailed three-dimensional model can be generated by the image display terminal 117C. Furthermore, at this time, the three-dimensional space reconstruction device 115C may also store information related to the bit length of the depth image in header information, etc., and distribute it to the image display terminal 117C together with the depth image. Accordingly, the image display terminal 117C can be notified of the bit length of the depth image. Furthermore, the three-dimensional space reconstruction device 115C may also attach the information of the bit length of the depth image to each depth image, may also attach it when the bit length changes, may also attach it to each certain period, for example, to each random access point, may also attach it only to the initial depth image, or may distribute it at other timings.
[0314] Next, an example of allocation of pixel values of a depth image will be described. Fig.23A , Fig. 23B as well as Fig.23C 1 and 2 are diagrams showing first to third examples of allocation of image values of depth images.
[0315] exist Fig.23A In the first allocation method shown, among the pixel values (depth pixel values) of the depth image having a bit length of 8 bits, the values are linearly allocated according to the distance.
[0316] exist Fig. 23B In the second allocation method shown, in the pixel values of the depth image with a bit length of 8 bits, values are preferentially allocated to the close objects. Accordingly, the distance resolution of the close objects can be improved. Therefore, the second allocation method is used for the depth image of the foreground model, so that the accuracy of the foreground model can be improved. The three-dimensional space reconstruction device 115C can also include the information of the second allocation method (i.e., information showing which pixel value corresponds to which distance) in the header information for distribution. Alternatively, the information can be predetermined according to a standard, etc., and the same information can be used on the sending side and the receiving side.
[0317] exist Fig.23CIn the third allocation method shown, in the pixel values of the depth image with a bit length of 8 bits, values are preferentially allocated to distant subjects. Accordingly, the distance resolution of distant subjects can be improved. Therefore, the third allocation method is used for the depth image of the background model, so that the accuracy of the background model can be improved. The three-dimensional space reconstruction device 115C can also include information about the third allocation method (i.e., information showing which pixel value corresponds to which distance) in header information for distribution. Alternatively, the information can be predetermined according to a standard, etc., and the same information can be used on the sending side and the receiving side.
[0318] Furthermore, the three-dimensional space reconstruction device 115C may switch the allocation method for each model. For example, the three-dimensional space reconstruction device 115C may apply the second allocation method to the foreground model and the third allocation method to the background model.
[0319] At this time, the three-dimensional space reconstruction device 115C may add which allocation method among the first to third allocation methods to be used to the header information of each model to be distributed. Alternatively, which allocation method is applied to which model may be determined in advance based on a standard or the like.
[0320] Furthermore, the three-dimensional space reconstruction device 115C may add information indicating which allocation method is used among a plurality of allocation methods determined by a predetermined standard to the header information or the like.
[0321] As described above, the three-dimensional space reconstruction device 115C or the data transmission device 119C generates a depth image based on the three-dimensional model, and distributes the depth image and information for restoring the three-dimensional model based on the depth image to the image display terminal 117C.
[0322] Furthermore, the image display terminal 117C receives the depth image generated based on the three-dimensional model and information for restoring the three-dimensional model based on the depth image, and restores the three-dimensional model based on the depth image using the information.
[0323] In this way, the amount of distributed data can be reduced by distributing a depth image generated based on the three-dimensional model instead of distributing the three-dimensional model as it is.
[0324] Furthermore, the three-dimensional space reconstruction device 115C generates the depth image by projecting the three-dimensional model onto a shooting plane of a predetermined viewpoint. For example, the information for restoring the three-dimensional model from the depth image includes parameters for projecting the three-dimensional model onto a shooting plane of a predetermined viewpoint.
[0325] For example, the information used to restore the three-dimensional model from the depth image is the camera parameters. That is, the three-dimensional space reconstruction device 115C uses the camera parameters of a specified viewpoint to project the three-dimensional model onto the shooting plane of the viewpoint in generating the depth image, thereby generating the depth image, and the information includes the camera parameters.
[0326] Furthermore, the information includes parameters for projecting the three-dimensional model onto the shooting plane of the depth image. The image display terminal 117C, in the restoration, uses the parameters to restore the three-dimensional model based on the depth image.
[0327] For example, the information includes camera parameters of the viewpoint of the depth image. The image display terminal 117C uses the camera parameters to restore the three-dimensional model according to the depth image during the restoration.
[0328] Alternatively, the information used to restore the three-dimensional model from the depth image may also be a projection matrix. That is, the three-dimensional space reconstruction device 115C, in generating the depth image, calculates the projection matrix using the camera parameters of the specified viewpoint, and uses the projection matrix to project the three-dimensional model onto the shooting surface of the viewpoint, thereby generating the depth image, and the information includes the projection matrix.
[0329] Furthermore, the information includes a projection matrix, and the image display terminal 117C uses the projection matrix to restore the three-dimensional model according to the depth image during the restoration.
[0330] For example, the three-dimensional space reconstruction device 115C further compresses the depth image using a two-dimensional image compression method, and in the distribution, distributes the compressed depth image.
[0331] Furthermore, the depth image is compressed using a two-dimensional image compression method, and the video display terminal 117C further decodes the compressed depth image.
[0332] According to this, in distributing the three-dimensional model, the data can be compressed using the two-dimensional image compression method. Therefore, there is no need to reconstruct the compression method for the three-dimensional model, so the amount of data can be easily reduced.
[0333] For example, the three-dimensional space reconstruction device 115C generates a plurality of depth images of different viewpoints according to the three-dimensional model in the generation of the depth image, and compresses the plurality of depth images by utilizing the relationship between the plurality of depth images in the compression.
[0334] Furthermore, the video display terminal 117C receives a plurality of depth images in the receiving, and decodes the plurality of depth images using a relationship between the plurality of depth images in the decoding.
[0335] According to this, for example, a multi-view encoding method of a two-dimensional image compression method can be used to further reduce the amount of data of a plurality of depth images.
[0336] For example, the three-dimensional space reconstruction device 115C further generates a three-dimensional model using multiple images captured by multiple cameras 121, and distributes the multiple images to the image display terminal 117C. The viewpoint of the depth image is the viewpoint of any image among the multiple images.
[0337] Furthermore, the video display terminal 117C further receives a plurality of images, and generates a rendered image using the three-dimensional model and the plurality of images, wherein the viewpoint of the depth image is the viewpoint of any image among the plurality of images.
[0338] In this way, the viewpoint of the depth image is consistent with the viewpoint of the captured image, so the three-dimensional space reconstruction device 115C, for example, can use the depth image to calculate the disparity information between the captured images when the captured images are compressed by multi-view coding, and use the disparity information to generate the predicted image between the viewpoints. In this way, the amount of code for the captured images can be reduced.
[0339] For example, the three-dimensional space reconstruction device 115C further determines the bit length of each pixel included in the depth image, and distributes information indicating the bit length.
[0340] Furthermore, the image display terminal 117C receives information indicating the bit length of each pixel included in the depth image.
[0341] According to this, the bit length can be switched according to the subject, the purpose of use, etc., so the amount of data can be appropriately reduced.
[0342] For example, the three-dimensional space reconstruction device 115C determines the bit length according to the distance from the subject in determining the bit length.
[0343] For example, the three-dimensional space reconstruction device 115C further determines the relationship between the pixel value and the distance indicated in the depth image, and distributes information indicating the determined relationship to the video display terminal 117C.
[0344] Furthermore, the video display terminal 117C receives information indicating the relationship between the pixel value and the distance shown in the depth image.
[0345] According to this, the relationship between the pixel value and the distance can be switched according to the subject or the purpose of use, so the accuracy of the restored three-dimensional model can be improved.
[0346] For example, the three-dimensional model includes a first model (e.g., a foreground model) and a second model (e.g., a background model) that changes less per unit time than the first model. The depth image includes a first depth image and a second depth image. The three-dimensional space reconstruction device 115C generates the first depth image based on the first model and generates the second depth image based on the second model in generating the depth image, and determines a first relationship between the pixel value and the distance shown in the first depth image and a second relationship between the pixel value and the distance shown in the second depth image in determining the relationship. In the first relationship, the distance resolution of a first distance range (an area with a short distance) is higher than the distance resolution of a second distance range (an area with a long distance) that is farther than the first distance range ( Fig. 23B ). In the second relationship, the distance resolution of the first distance range (the area with a short distance) is lower than the distance resolution of the second distance range (the area with a long distance) ( Fig.23C ).
[0347] For example, color information is added to the three-dimensional model. The three-dimensional space reconstruction device 115C further generates a texture image based on the three-dimensional model, compresses the texture image using a two-dimensional image compression method, and further distributes the compressed texture image during distribution.
[0348] Furthermore, the image display terminal 117C further receives the texture image compressed by the two-dimensional image compression method, decodes the compressed texture image, and in the restoration, restores the three-dimensional model with attached color information using the decoded depth image and the decoded texture image.
[0349] (Implementation 7)
[0350] In this embodiment, a three-dimensional encoding device and a three-dimensional encoding method for encoding three-dimensional data, and a three-dimensional decoding device and a three-dimensional decoding method for decoding the encoded data into three-dimensional data are described.
[0351] Fig.24 This is a diagram schematically showing a three-dimensional data encoding method for encoding three-dimensional data.
[0352] In a three-dimensional encoding method for encoding three-dimensional data 200 such as a three-dimensional point group (three-dimensional point cloud or three-dimensional model), two-dimensional compression such as image encoding or motion picture encoding is applied to a two-dimensional image 201 obtained by projecting the three-dimensional data 200 onto a two-dimensional plane. The two-dimensional image 201 obtained by projection includes texture information 202 indicating texture or color, and depth information (distance information) 203 indicating the distance to the three-dimensional point group in the projection direction.
[0353] In such a two-dimensional image obtained by projection, there is a possibility that a hole area without texture information or depth information is included due to an occlusion area. The hole area shows a pixel without projected three-dimensional data or a collection of pixels without projected three-dimensional data among a plurality of pixels constituting a two-dimensional image obtained by projecting three-dimensional data onto a two-dimensional plane. Such a hole area causes discontinuities and sharp edges to be generated in the two-dimensional image obtained by projection. A two-dimensional image including such discontinuities and sharp edges has a large high spatial frequency component, and therefore has a high bit rate for encoding. Therefore, in order to improve encoding efficiency, it is necessary to suppress the sharp edges around the hole area to a minimum.
[0354] For example, in order to prevent a sharp edge from being formed around the hole region, correction may be performed to change the pixel value of the hole region. Next, correction to change the pixel value of the hole region will be described.
[0355] Fig.25A FIG. 1 is a diagram showing an example of a two-dimensional image including a hole region. Fig.25B FIG. 1 is a diagram showing an example of a corrected image after the hole region is corrected.
[0356] Fig.25A The two-dimensional image 210 shown is a two-dimensional image obtained by projecting three-dimensional data onto a predetermined two-dimensional plane. The two-dimensional image 210 includes hole regions 214 and 215, which are invalid regions where the three-dimensional data is not projected. In addition, the two-dimensional image 210 includes texture regions 211, 212, and 213, which are valid regions where the three-dimensional data is projected.
[0357] In order to improve the coding efficiency of such a two-dimensional image 210, as described above, it is necessary to appropriately fill the hole regions 214 and 215 with other pixel values. In order to improve the coding efficiency, for example, it is necessary to minimize the discontinuity of the texture (or depth) between the hole regions 214 and 215 and the texture regions 211, 212, and 213. In a three-dimensional model coding method according to one embodiment of the present disclosure, the hole regions 214 and 215 are interpolated using the pixel values of the pixels of the texture regions 211 to 213, so that the difference between the hole regions 214 and 215 and the texture regions 211, 212, and 213 is reduced, and correction is performed to minimize the sharp edges between these multiple regions 211 to 215. For example, at least one of linear interpolation and nonlinear interpolation can be used for the correction of the hole regions 214 and 215.
[0358] Such correction may be performed by linear interpolation, nonlinear interpolation, one-dimensional filtering, or two-dimensional filtering.
[0359] In the correction, for example, the pixel value (first pixel value) on the boundary between any one of the texture regions 211 to 213 in the two-dimensional image 210 and the hole regions 214 and 215 may be assigned to (changed to) the pixel value of the pixel of the hole regions 214 and 215, thereby interpolating the hole regions 214 and 215. In this way, in the correction, one or more pixels constituting the invalid region are corrected. In the correction, the invalid region may be corrected using the first pixel value of the first pixel in the first effective region, which is one of the effective regions and is adjacent to the invalid region. Furthermore, in the correction, the invalid region may be corrected using the second pixel value of the second pixel in the second effective region, which is the effective region sandwiching the invalid region on the opposite side of the first effective region. For example, the first pixel may be a pixel in the first effective region that is adjacent to the invalid region. Similarly, the second pixel may be a pixel in the second effective region that is adjacent to the invalid region.
[0360] According to this, if Fig.25B It is shown that a two-dimensional image 220 having hole regions 224 and 225 whose pixel values are changed to pixel values of pixels (eg, pixel 226) in texture regions 211 to 213 is generated. The two-dimensional image 220 is an example of a corrected image.
[0361] The pixel values to be allocated to the hole regions 214 and 215 may be determined as the pixel values of the pixels on the boundary of the texture region having the largest number of pixels on the boundary adjacent to the hole regions 214 and 215 among the plurality of texture regions 211 to 213. For example, when the hole region is a region surrounded by a plurality of texture regions, the pixel values of the plurality of pixels constituting the hole region may be replaced by the pixel values of the pixels in the texture region corresponding to the longest boundary line among the plurality of boundary lines corresponding to the plurality of texture regions. Furthermore, in order to interpolate the hole region, the pixel values of the pixels in the texture region adjacent to the hole region are not limited to being applied as they are to the hole region, but the average value or the median value of the pixel values of the plurality of pixels on the boundary with the hole region in the texture may be applied.
[0362] Furthermore, if the value of the hole region can be set to a value close to that of the texture region, the method is not limited to the above method, and any method may be used. For example, the average value or median value of all the pixel values of the plurality of pixels constituting the texture region may be determined as the pixel value of the plurality of pixels constituting the hole region.
[0363] Fig.26A as well as Fig.26B FIG. 1 is a diagram showing an example of correction of a hole region based on linear interpolation. Fig.26A as well as Fig.26B In FIG. , the vertical axis shows the pixel value and the horizontal axis shows the pixel position. Fig.26A as well as Fig.26B Although a one-dimensional example is shown, the present invention can also be applied to two dimensions. The pixel value is, for example, a brightness value, a color difference value, an RGB value, a depth value, etc.
[0364] Linear interpolation is one of the correction methods for correcting the invalid area using the first pixel and the second pixel of each of the two texture areas A and B adjacent to the hole area. Here, the hole area is an example of the invalid area, the texture area A is an example of the first valid area, and the texture area B is an example of the second valid area.
[0365] In the correction based on linear interpolation, the pixel values of the plurality of pixels in the hole region between the first pixel P1 and the second pixel P2 are changed to pixel values that satisfy the relationship of linear change from the first pixel value V1 to the second pixel value V2 in the relationship between the positions and pixel values of the plurality of pixels, thereby correcting the hole region. That is, in the correction based on linear interpolation, the plurality of pixel values corresponding to the plurality of pixels constituting the hole region between the texture region A and the texture region B are changed to pixel values determined by points on the straight line corresponding to the positions of the plurality of pixels when a first point indicated by the position of the first pixel P1 and the first pixel value V1 and a second point indicated by the position of the second pixel P2 and the second pixel value V2 are connected by a straight line in the relationship between the positions and pixel values of the pixels.
[0366] Moreover, in the correction based on linear interpolation, as Fig.26B As shown in FIG. 1 , if the difference ΔV2 between the first pixel value V11 of the first pixel P11 and the second pixel value V12 of the second pixel P12 is larger than a predetermined value, even if the hole area is replaced by the first pixel value V11 and the second pixel value V12, discontinuity remains between the texture areas A and B and the hole area, and high spatial frequency components are included around the hole area, so there may be a case where the encoding efficiency is not improved. Therefore, for example, Fig.27A as well as Fig.27B The correction based on nonlinear interpolation is shown. According to this, the discontinuity between the texture areas A and B and the hole area can be reduced.
[0367] Fig.27A as well as Fig.27B is a diagram showing an example of correction of a hole region based on nonlinear interpolation. Fig.27A as well as Fig.27B In FIG. , the vertical axis shows the pixel value and the horizontal axis shows the pixel position. Fig.27A as well as Fig.27B The example shown is one-dimensional, but it can also be applied to two dimensions.
[0368] In the correction based on nonlinear interpolation, the first pixel value V1 of the first pixel P1 in the texture area A and the second pixel value V2 of the second pixel P2 in the texture area B are used to change the pixel values of the multiple pixels in the hole area between the first pixel P1 and the second pixel P2 to pixel values that satisfy the relationship of changing from the first pixel value V1 to the second pixel value V2 in a smooth curve in terms of the position and pixel value relationship of the multiple pixels, thereby correcting the hole area. Here, the smooth curve is a curve in which a first straight line whose pixel value at the position of the texture area A is the first pixel value V1 is smoothly connected to the position of the first pixel P1, and a second straight line whose pixel value at the position of the texture area B is the second pixel value V2 is smoothly connected to the position of the second pixel P2. For example, a smooth curve is a curve having two inflection points, and the pixel value changes monotonically from the first pixel value V1 to the second pixel value V2 according to the position of the pixel. For example, Fig.27A It is shown that when the first pixel value V1 is a value larger than the second pixel value V2, the smooth curve is a curve in which the pixel value monotonically decreases from the first pixel value V1 to the second pixel value V2 according to the position.
[0369] In the correction based on nonlinear interpolation, even with Fig.26B In the case of the corresponding texture areas A, B and hole areas, as Fig.27B It is shown that even when the difference ΔV2 between the first pixel value V11 of the first pixel P11 and the second pixel value V12 of the second pixel P12 is larger than a predetermined value, the pixel values of the plurality of pixels constituting the hole region are replaced with pixel values corresponding to a smooth curve, and thus the discontinuity between the texture regions A and B and the hole region can be effectively reduced. Therefore, the encoding efficiency can be improved.
[0370] And, not only FIG. 26A to FIG. 27B The correction method described above can also be corrected using other correction methods.
[0371] FIG. 28A to FIG. 28F It is a diagram showing another correction example.
[0372] like Fig.28A The correction shown can also be performed by correcting the hole area by gradually changing the pixel values corresponding to the multiple pixels constituting the hole area between the texture area A and the texture area B, from the first pixel value V21 of the first pixel P21 of the texture area A to the second pixel value V22 of the second pixel P22 of the texture area B.
[0373] like Fig.28BIn the correction shown, the hole region may be corrected by setting the pixel values corresponding to the pixels constituting the hole region between the texture region A and the texture region B to the pixel values on the boundary between the texture region A or the texture region B and the hole region. Thus, all the pixel values of the pixels constituting the hole region are unified into the pixel values of the pixels in the texture region A or the texture region B. In this correction, for example, all the pixel values of the pixels constituting the hole region are set to the first pixel value V31 of the first pixel P31 on the boundary between the texture region A and the hole region, thereby correcting the hole region.
[0374] Here, Fig.28C It is shown in a two-dimensional image Fig.28B Figure 1 shows an example of the correction of Fig.28C (a) shows that when the first pixels P31a to P31e on the boundary between the texture area A and the hole area have pixel values A to E respectively, the pixels of the hole area, such as Fig.28C (b) shows that the first pixel value of the first pixel located at the same position as the pixel in the vertical direction is assigned, thereby being corrected. That is, in the correction, the pixel value A of the first pixel P31a is assigned to the pixel of the hole area located on the horizontal side of the first pixel P31a. Similarly, in the correction, the pixel values B to E of the first pixels P31b to P31e are respectively assigned to the pixels of the hole area located on the horizontal side of each of the first pixels P31b to P31e.
[0375] Moreover, in Fig.28C In , the vertical direction can also be replaced by the horizontal direction, and the horizontal direction can be replaced by the vertical direction. That is, each pixel in the hole area, such as Fig.28C (b) shows that the first pixel value of the first pixel located at the same position in the first direction is assigned, thereby being corrected. In other words, in the correction, the pixel value of the first pixel is assigned to the pixel in the hole area located on the second direction side of the first pixel orthogonal to the first direction.
[0376] And, in Fig.28B Other FIG. 26A to FIG. 27B , Fig.28A , FIG. 28D to FIG. 28F In the method, the pixel value calculated in each method based on the first pixel value of the first pixel located at the same position in the vertical direction is also assigned and corrected.
[0377] like Fig.28DIn the correction shown, when the boundary of multiple coding blocks of two-dimensional coding is located on the hole area, the area in the hole area that is closer to the texture area A side than the boundary of the coding block is corrected with the pixel value on the boundary between the texture area A and the hole area. That is, in this correction, multiple first invalid pixels between the first pixel P41 and the boundary are changed to the first pixel value V41. And, the area in the hole area that is closer to the texture area B side than the boundary of the coding block is corrected with the pixel value on the boundary between the texture area B and the hole area. That is, in this correction, multiple second invalid pixels between the second pixel P42 and the boundary are changed to the second pixel value V42. Based on this, the hole area can also be corrected. Here, the coding block is, for example, a macroblock when the coding method is H.264, and a CTU (Coding Tree Unit) or CU (Coding Unit) when the coding method is H.265.
[0378] like Fig.28E (a) shows that when there is no hole region between texture region A and texture region B, and the difference in pixel value between texture region A and texture region B is greater than a predetermined value, it can also be assumed that there is a virtual hole region on the boundary between texture region A and texture region B. For the virtual hole region, FIG. 26A to FIG. 28D For example, Fig.28E (b) Yes, applicable Fig.27A as well as Fig.27B An example of correction based on nonlinear interpolation described in . According to this, even when there is no hole area, when there is a steep edge between texture area A and texture area B, the correction is performed, so that the steep edge between texture areas A and B can be reduced, and the amount of code can be effectively reduced.
[0379] Fig.28F Yes, in Fig.28E (a) An example of the same situation where the edge is corrected using different methods.
[0380] Fig.28F (a) is, with Fig.28E In this way, when there is no hole area between texture area A and texture area B, and the difference in pixel value between texture area A and texture area B is greater than a predetermined value, as shown in FIG. Fig.28F As shown in (b), the texture area B can also be moved away from the texture area A to generate a virtual hole area. FIG. 26A to FIG. 28D For example, Fig.28F (b) Yes, applicable Fig.27A as well as Fig.27BAn example of correction based on nonlinear interpolation is shown in . Fig.28E Similarly, even in the absence of a hole area, when there is a steep edge between the texture area A and the texture area B, the correction is performed, thereby reducing the steep edge between the texture areas A and B and effectively reducing the amount of code.
[0381] Furthermore, during the correction, a smoothing filter such as a Gaussian filter or a median filter may be applied to the two-dimensional image obtained by projecting the three-dimensional model, regardless of the texture area or the hole area, and the texture area may be assigned to the image after the application again, so that the value of the hole area is close to the value of the texture area. In this way, it is not necessary to identify the filter application area, and the value of the hole area can be corrected with a low processing amount.
[0382] And, in Fig.28F In the movement processing of the texture area of the correction, after making the two-dimensional image obtained by projection, for each of the plurality of texture areas, the pixels are moved in the left, right, up and down directions in the two-dimensional image to generate the hole area. In addition, the hole area may be generated between the plurality of texture areas in the process of generating the two-dimensional image by projecting the three-dimensional point group onto the two-dimensional plane.
[0383] Fig.29 This is a block diagram showing an example of the functional structure of a three-dimensional model encoding device according to an embodiment. Fig.30 This is a block diagram showing an example of a functional structure of a three-dimensional model decoding device according to an embodiment. Fig.31 This is a flowchart showing an example of a three-dimensional model encoding method performed by the three-dimensional model encoding device according to the embodiment. Fig.32 This is a flowchart showing an example of a three-dimensional model decoding method performed by the three-dimensional model decoding device according to the embodiment.
[0384] use Fig.29 as well as Fig.31 , describing a three-dimensional model encoding device 300 and a three-dimensional model encoding method.
[0385] The three-dimensional model encoding device 300 includes a projection unit 301 , a correction unit 302 , and an encoding unit 304 . The three-dimensional model encoding device 300 may further include a generation unit 303 .
[0386] First, the projection unit 301 projects the three-dimensional model onto at least one two-dimensional plane to generate a two-dimensional image (S11). The generated two-dimensional image includes texture information and depth information.
[0387] The correction unit 302 uses the two-dimensional image to correct one or more pixels in the two-dimensional image that constitute an invalid area (i.e., a hole area) where no three-dimensional model is projected, thereby generating a corrected image (S12). The correction unit 302 performs the correction FIG. 25A to FIG. 28F Any corrections described in .
[0388] On the other hand, the generating unit 303 generates a two-dimensional binary map (S13) showing whether a plurality of regions constituting a two-dimensional region corresponding to the two-dimensional image are invalid regions or valid regions. Based on the two-dimensional binary map, the three-dimensional model decoding device 310 receiving the encoded data can easily distinguish between the invalid region and the valid region in the two-dimensional image.
[0389] The encoding unit 304 performs two-dimensional encoding on the corrected image to generate an encoded stream as encoded data (S14). The encoding unit 304 may also encode the two-dimensional binary map together with the corrected image to generate encoded data. Here, the encoding unit 304 may also encode projection information and parameters related to projection when generating the two-dimensional image to generate encoded data.
[0390] Furthermore, each of the projection unit 301, the correction unit 302, the generation unit 303 and the encoding unit 304 may be realized by a processor and a memory, or by a dedicated circuit. In other words, these processing units may be realized by software or by hardware.
[0391] then, Fig.30 as well as Fig.32 , describing a three-dimensional model decoding device 310 and a three-dimensional model decoding method.
[0392] The three-dimensional model decoding device 310 includes a decoding unit 311 , a map reconstruction unit 312 , and a three-dimensional reconstruction unit 313 .
[0393] First, the decoding unit 311 obtains the coded data and decodes the obtained coded data to obtain a corrected image and a two-dimensional binary map (S21). The coded data is the coded data output by the three-dimensional model coding device 300. That is, the coded data is a corrected image of a two-dimensional image generated by projecting the three-dimensional model onto at least one two-dimensional plane, that is, data encoded as a corrected image of an image in which one or more pixels in an invalid area where the three-dimensional model is not projected and included in the two-dimensional image are corrected.
[0394] The map reconstruction unit 312 reconstructs the decoded two-dimensional binary map to obtain an original map showing valid pixels and invalid pixels ( S22 ).
[0395] The three-dimensional reconstruction unit 313 reconstructs three-dimensional data from the corrected image using the projection information and the reconstructed two-dimensional binary map (S23). Furthermore, the three-dimensional reconstruction unit 313 reprojects the effective pixels of the effective area shown in the two-dimensional binary map into the three-dimensional space using the decoded depth information to obtain the three-dimensional points, and obtains the color of the three-dimensional points from the decoded texture information. Therefore, the three-dimensional reconstruction unit 313 does not reproject the invalid pixels of the invalid area shown in the two-dimensional binary map. The depth information is a distance image showing the distance corresponding to each pixel of the two-dimensional image. Furthermore, the texture information is a two-dimensional color image showing the texture or color corresponding to each pixel of the two-dimensional image. In this way, the three-dimensional reconstruction unit 313 reconstructs the three-dimensional points from the effective area of the corrected image, so that during decoding, the pixels of the effective area in the corrected image are not affected by the pixels of the invalid area in the corrected image.
[0396] Furthermore, in the three-dimensional model decoding method, it is not necessarily necessary to perform the process of step S22 by the map reconstruction unit 312. In other words, the three-dimensional model decoding device 310 may not include the map reconstruction unit 312.
[0397] Furthermore, each of the decoding unit 311, the map reconstruction unit 312, and the 3D reconstruction unit 313 may be implemented by a processor and a memory, or by a dedicated circuit. In other words, these processing units may be implemented by software or by hardware.
[0398] The three-dimensional model encoding device 300 according to the present embodiment two-dimensionally encodes the corrected image generated by the correction unit 302 by correcting the invalid area, and thus can improve encoding efficiency.
[0399] Furthermore, the correction unit 302 corrects the invalid area using the first pixel value of the first pixel in the first valid area, which is a valid area adjacent to the invalid area and on which the three-dimensional model is projected. Therefore, the difference in pixel value between the first valid area and the invalid area can be reduced, and the encoding efficiency can be effectively improved.
[0400] Furthermore, the correction unit 302 corrects the invalid area using the second pixel value of the second pixel in the second effective area which is the effective area sandwiching the invalid area on the opposite side of the first effective area on the two-dimensional image. Therefore, the difference in pixel value between the first effective area and the second effective area and the invalid area can be reduced, and the encoding efficiency can be effectively improved.
[0401] Furthermore, since the correction unit 302 performs linear interpolation on the invalid area, it is possible to reduce the processing load involved in determining pixel values for interpolation.
[0402] Furthermore, the correction unit 302 corrects the invalid area in consideration of the boundaries between a plurality of blocks of two-dimensional coding, thereby being able to effectively reduce the processing load and effectively improve the coding efficiency.
[0403] Furthermore, the correction unit 302 performs correction based on nonlinear interpolation, and thus can effectively reduce the difference in pixel values between the first effective area and the second effective area and the invalid area, thereby improving encoding efficiency.
[0404] Furthermore, the three-dimensional model encoding device 300 generates a two-dimensional binary map, and outputs the encoded data obtained by encoding the two-dimensional binary map together with the corrected image. Therefore, when the three-dimensional model decoding device 310 decodes, it is possible to use the two-dimensional binary map to decode only the valid area among the valid area and the invalid area, thereby reducing the processing amount during decoding.
[0405] The three-dimensional model decoding device 310 according to the present embodiment can obtain encoded data with a small amount of data, and thus reconstruct a three-dimensional model.
[0406] The 3D model encoding device 300 may also add filtering information (including valid / invalid information, filtering type, filtering coefficient, etc.) applied to the two-dimensional image (Projected 2D image) generated by projecting the 3D model onto the two-dimensional plane to the encoded data. Based on this, the 3D model decoding device 310 can know the filtering information applied to the decoded two-dimensional image. This filtering information can be reused when the 3D model is encoded again by the method described in this embodiment after the 3D model decoding device 310 decodes the 3D model.
[0407] In this embodiment, in order to distinguish between the valid area and the invalid area of the decoded two-dimensional image, the three-dimensional model encoding device 300 adds a two-dimensional binary map to the encoded data and sends it to the three-dimensional model decoding device 310. However, it is not necessary to add the two-dimensional binary map to the encoded data. The three-dimensional model encoding device 300 may, for example, assign a value A that is not used in the texture area to the hole area instead of generating the two-dimensional binary map. Accordingly, the three-dimensional model decoding device 310 can determine that the pixel is a pixel included in the hole area if the value of each pixel of the decoded two-dimensional image is the value A, and can also set the pixel as an invalid pixel in the invalid area and decide not to re-project it into the three-dimensional space. For the value A, in the case of the RGB color space, values such as (0,0,0) and (255,255,255) can also be used. Accordingly, it is not necessary to add the two-dimensional binary map to the encoded data, and the amount of code can be reduced.
[0408] The above describes the three-dimensional encoding device and three-dimensional encoding method for encoding three-dimensional data, and the three-dimensional decoding device and three-dimensional decoding method for decoding the encoded data into three-dimensional data involved in the embodiments of the present disclosure, but the present disclosure is not limited to this embodiment.
[0409] Furthermore, the processing units included in the three-dimensional encoding device and the three-dimensional encoding method for encoding three-dimensional data, and the three-dimensional decoding device and the three-dimensional decoding method for decoding the encoded data into three-dimensional data according to the above-mentioned embodiments are implemented by a typical integrated circuit LSI. They may be individually monolithic or partially or entirely monolithic.
[0410] Furthermore, the integrated circuit is not limited to LSI, and can be implemented as a dedicated circuit or a general-purpose processor. It is also possible to use an FPGA (Field Programmable Gate Array) that can be programmed after LSI manufacturing, or a reconfigurable processor that can reconfigure the connection and settings of circuit cells inside the LSI.
[0411] Furthermore, in each of the above-described embodiments, each component may be formed by dedicated hardware, or may be implemented by executing a software program suitable for each component. Each component may also be implemented by a program execution unit such as a CPU or a processor reading and executing a software program recorded on a recording medium such as a hard disk or a semiconductor memory.
[0412] Furthermore, the present disclosure is implemented as various methods executed by a three-dimensional encoding device and a three-dimensional encoding method for encoding three-dimensional data, and a three-dimensional decoding device and a three-dimensional decoding method for decoding the encoded data into three-dimensional data.
[0413] Furthermore, the division of the functional blocks in the block diagram is an example, and multiple functional blocks may be implemented as one functional block, one functional block may be divided into multiple blocks, or a part of the functions may be transferred to other functional blocks. Furthermore, the functions of multiple functional blocks having similar functions may be processed in parallel or in time division by a single hardware or software.
[0414] Furthermore, the execution order of each step in the flowchart is an example for specifically describing the present disclosure, and may be an order other than the above-described order. Furthermore, a part of the steps may be executed simultaneously (in parallel) with other steps.
[0415] In the above, the three-dimensional encoding device and the three-dimensional encoding method for encoding three-dimensional data, and the three-dimensional decoding device and the three-dimensional decoding method for decoding the encoded data into three-dimensional data, which are involved in one or more forms, are described according to the embodiments, but the present disclosure is not limited to the embodiments. As long as it does not deviate from the purpose of the present disclosure, the forms obtained by implementing various deformations that can be thought of by those skilled in the art to the present embodiment, and the forms constructed by combining the constituent elements of different embodiments, can also be included in the scope of one or more forms.
[0416] The present disclosure is applicable to a three-dimensional encoding device and a three-dimensional encoding method for encoding three-dimensional data, a three-dimensional decoding device and a three-dimensional decoding method for decoding the encoded data into three-dimensional data, and the like.
[0417] Explanation of symbols
[0418] 100 Three-dimensional space recognition system
[0419] 101, 103, 105, 107 Free viewpoint image generation system
[0420] 102, 104, 106 Next Generation Surveillance System
[0421] 111 Multi-viewpoint imaging device
[0422] 112 Control Devices
[0423] 113 Event Detection Device
[0424] 114 Calibration indicating device
[0425] 115, 115A, 115C Three-dimensional space reconstruction device
[0426] 116, 116A Three-dimensional space recognition device
[0427] 117, 117A, 117B, 117C Image display terminal
[0428] 118A Monitor
[0429] 118B Security Guard
[0430] 118C Video camera
[0431] 119, 119C Data transmission device
[0432] 121 Camera Device
[0433] 122 Camera
[0434] 123 PTZ
[0435] 124 Memory
[0436] 125 Sensors
[0437] 131 Foreground Model Generation Unit
[0438] 132 Background model generation unit
[0439] 133 First Model Generation Unit
[0440] 134 Second Model Generation Unit
[0441] 135 Third Model Generation Unit
[0442] 136 First depth image generating unit
[0443] 137 Second depth image generating unit
[0444] 138 third depth image generating unit
[0445] 141, 151 Viewpoint determination unit
[0446] 142, 152 Drawing Department
[0447] 143, 146 Data Transmission Department
[0448] 144, 154 Tracking Department
[0449] 145, 155 Scenario Analysis Department
[0450] 153 Image display unit
[0451] 156 Model Restoration Department
[0452] 200 3D data
[0453] 201, 210, 220 2D images
[0454] 202 Texture information
[0455] 203 Depth Information
[0456] 211 to 213 Texture area
[0457] 214, 215, 224, 225 hole area
[0458] 300 3D model encoding device
[0459] 301 Projection Department
[0460] 302 Correction Department
[0461] 303 Generation Department
[0462] 304 Coding Department
[0463] 310 3D model decoding device
[0464] 311 Decoding Department
[0465] 312 Map Reconstruction Department
[0466] 313 Three-dimensional Reconstruction Department
Claims
1. A three-dimensional model encoding device, comprising: A projection unit projects the three-dimensional model onto at least one two-dimensional plane to generate a two-dimensional depth image; a correction unit that uses the two-dimensional depth image to correct one or more pixels included in the two-dimensional depth image and constituting an invalid area, thereby generating a corrected depth image, wherein the invalid area is an area where the three-dimensional model is not projected; and an encoding unit, performing two-dimensional encoding on the corrected depth image to generate encoded data, The correction unit corrects the depth value of the pixel in the invalid area using the first depth value of the first pixel in the first valid area and the second depth value of the second pixel in the second valid area. The first valid area and the second valid area are valid areas adjacent to the invalid area and projecting the three-dimensional model.
2. The three-dimensional model encoding device according to claim 1, The correction unit sets all depth values of the one or more pixels constituting the invalid area to the first depth value, thereby correcting the depth values of the pixels in the invalid area.
3. The three-dimensional model encoding device according to claim 1, The first effective area and the second effective area are adjacent to the ineffective area at different positions.
4. The three-dimensional model encoding device according to claim 1, The second effective region is an effective region on the opposite side of the first effective region across the ineffective region.
5. The three-dimensional model encoding device according to claim 1, The correction unit uses the first depth value and the second depth value to change the depth values of each of the multiple pixels from the first pixel across the invalid area to the second pixel to depth values that satisfy the relationship of linear change from the first depth value to the second depth value in terms of the relationship between the positions of the multiple pixels and the depth values, thereby correcting the depth values of the pixels in the invalid area.
6. The three-dimensional model encoding device according to claim 1, The two-dimensional encoding is a process of encoding the corrected depth image in units of a plurality of blocks. The correction unit, when the boundary of the multiple blocks of the two-dimensional code is located on the invalid area, changes the multiple first invalid pixels from the first pixel to the boundary to the first depth value, and changes the multiple second invalid pixels from the second pixel to the boundary to the second depth value, thereby correcting the depth value of the pixels of the invalid area.
7. The three-dimensional model encoding device according to claim 1, The correction unit uses the first depth value of the first pixel and the second depth value of the second pixel to change the depth values of each of the multiple pixels from the first pixel across the invalid area to the second pixel to depth values that satisfy the relationship of changing from the first depth value to the second depth value in a smooth curve based on the relationship between the positions and depth values of the multiple pixels, thereby correcting the depth values of the pixels in the invalid area.
8. The three-dimensional model encoding device according to any one of claims 3 to 7, The first pixel is a pixel in the first effective area adjacent to the ineffective area, The second pixel is a pixel adjacent to the ineffective area in the second effective area.
9. The three-dimensional model encoding device according to any one of claims 3 to 7, It also has a generation unit. The generating unit generates a two-dimensional binary map, wherein the two-dimensional binary map indicates whether a plurality of regions constituting a two-dimensional region corresponding to the two-dimensional depth image are the invalid regions or the valid regions. The encoding unit encodes the corrected depth image and the two-dimensional binary map to generate the encoded data.
10. A three-dimensional model decoding device, A decoding unit is provided, the decoding unit obtains coded data, and outputs a three-dimensional model obtained by decoding the obtained coded data, wherein the coded data is data obtained by encoding a corrected depth image, wherein the corrected depth image is an image obtained by correcting a two-dimensional depth image generated by projecting the three-dimensional model onto at least one two-dimensional plane, and is an image obtained by correcting one or more pixels in an invalid area included in the two-dimensional depth image where the three-dimensional model is not projected, The corrected depth image is an image obtained by correcting the depth values of the pixels in the invalid area using the first depth value of the first pixel in the first valid area and the second depth value of the second pixel in the second valid area. The first valid area and the second valid area are valid areas adjacent to the invalid area and projecting the three-dimensional model.
11. A three-dimensional model encoding method, Projecting the 3D model onto at least one 2D plane to generate a 2D depth image, Using the two-dimensional depth image, correcting one or more pixels included in the two-dimensional depth image and constituting an invalid area, thereby generating a corrected depth image, wherein the invalid area is an area where the three-dimensional model is not projected, performing two-dimensional encoding on the corrected depth image to generate encoded data, In the generation, the depth value of the pixel of the invalid area is corrected using the first depth value of the first pixel in the first valid area and the second depth value of the second pixel in the second valid area. The first valid area and the second valid area are valid areas adjacent to the invalid area and projecting the three-dimensional model.
12. A three-dimensional model decoding method, Obtaining encoded data, the encoded data being data obtained by encoding a corrected depth image, the corrected depth image being an image in which a two-dimensional depth image generated by projecting a three-dimensional model onto at least one two-dimensional plane is corrected, and being an image in which one or more pixels in an invalid area in which the three-dimensional model is not projected, included in the two-dimensional depth image, are corrected, outputting a three-dimensional model obtained by decoding the obtained coded data, The corrected depth image is an image obtained by correcting the depth values of the pixels in the invalid area using the first depth value of the first pixel in the first valid area and the second depth value of the second pixel in the second valid area. The first valid area and the second valid area are valid areas adjacent to the invalid area and projecting the three-dimensional model.
