Encoding method, decoding method, encoding device, and decoding device
By encoding Gaussian group data with region information based on positional and shape values, the method addresses high processing loads in three-dimensional data decoding, enabling efficient partial decoding and reducing computational demands.
Patent Information
- Application Number
- PCT/JP2026/017887
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-05-13
- Filing Date
- 2026-05-12
- Publication Date
- 2026-11-19
AI Technical Summary
The processing load on the decoding side is high due to the large volume of data in three-dimensional point clouds, which hinders efficient handling and transmission.
An encoding method that includes generating region information based on positional and shape values of Gaussian data, allowing for partial decoding by selecting necessary parts, thereby reducing processing load.
The method enables efficient partial decoding by associating Gaussian group data with range information, reducing processing load on the decoding side and allowing selective decoding of only required data portions.
Smart Images

Figure JP2026017887_19112026_PF_FP_ABST
Abstract
Description
Encoding method, decoding method, encoding apparatus, and decoding apparatus
[0001] The present disclosure relates to an encoding method, a decoding method, an encoding apparatus, and a decoding apparatus.
[0002] In a wide range of fields such as computer vision for autonomous operation of automobiles or robots, map information, surveillance, infrastructure inspection, or video distribution, the spread of apparatuses or services utilizing three-dimensional data is expected in the future. Three-dimensional data is acquired by various methods such as a distance sensor like a range finder, a stereo camera, or a combination of a plurality of monocular cameras.
[0003] As one of the methods for representing three-dimensional data, there is a representation method called a point cloud, which represents the shape of a three-dimensional structure using a group of points in a three-dimensional space. In the point cloud, the positions and colors of the point group are stored. The point cloud is expected to become the mainstream as a representation method for three-dimensional data, but the data volume of the point group is extremely large. Therefore, in the storage or transmission of three-dimensional data, similar to two-dimensional moving images (examples include MPEG-4 AVC (Advanced Video Coding) or HEVC (High Efficiency Video Coding) standardized by MPEG), compression of the data volume by encoding is essential.
[0004] In addition, point cloud compression is partially supported by public libraries (Point Cloud Library) that perform processing related to point clouds.
[0005] In addition, a technique is known that uses three-dimensional map data to search for and display facilities located around a vehicle (see, for example, Patent Document 1).
[0006] International Publication No. 2014 / 020663
[0007] It is desired that the processing load on the decoding side can be reduced.
[0008] An objective of the present disclosure is to provide an encoding method, a decoding method, an encoding apparatus, and a decoding apparatus that can reduce the processing load on the decoding side.
[0009] An encoding method according to one aspect of the present disclosure is an encoding method performed by an encoding device, comprising: encoding Gaussian group data including one or more Gaussian data; generating region information indicating the range of the one or more Gaussian data; generating a bitstream including the encoded Gaussian group data and the region information, wherein the region information is generated based on the positional information and shape values of the one or more Gaussian data.
[0010] A decoding method according to another aspect of the present disclosure is a decoding method performed by a decoding device, which acquires a bitstream including encoded data of a Gaussian group of data containing one or more Gaussian data and region information indicating the range of the one or more Gaussian data, decodes the encoded data contained in the bitstream, and generates the region information based on the position information and shape values of the one or more Gaussian data.
[0011] This disclosure provides an encoding method, a decoding method, an encoding device, and a decoding device that can reduce the processing load on the decoding side.
[0012] Figure 1 is a diagram showing an example configuration of a three-dimensional data encoding and decoding system according to an embodiment. Figure 2 is a diagram showing an example configuration of point cloud data according to an embodiment. Figure 3 is a diagram showing an example configuration of a data file describing point cloud data information according to an embodiment. Figure 4 is a diagram showing an example configuration of mesh data according to an embodiment. Figure 5 is a diagram showing an example configuration of a data file describing mesh data information according to an embodiment. Figure 6 is a diagram showing the types of three-dimensional data according to an embodiment. Figure 7 is a diagram showing the configuration of the first encoding unit according to an embodiment. Figure 8 is a block diagram of the first encoding unit according to an embodiment. Figure 9 is a diagram showing the configuration of the first decoding unit according to an embodiment. Figure 10 is a block diagram of the first decoding unit according to an embodiment. Figure 11 is a diagram showing the configuration of the second encoding unit according to an embodiment. Figure 12 is a block diagram of the second encoding unit according to an embodiment. Figure 13 is a diagram showing the configuration of the second decoding unit according to an embodiment. Figure 14 is a block diagram of the second decoding unit according to an embodiment. Figure 15 is a block diagram of the position information encoding unit according to an embodiment. Figure 16 is a block diagram of the position information decoding unit according to an embodiment. Figure 17 is a block diagram of the octree coding unit according to the embodiment. Figure 18 is a diagram showing an example of location information according to the embodiment. Figure 19 is a diagram showing an example of the octree representation of location information according to the embodiment. Figure 20 is a block diagram of the octree decoding unit according to the embodiment. Figure 21 is a block diagram of the attribute information coding unit according to the embodiment. Figure 22 is a block diagram of the attribute information decoding unit according to the embodiment. Figure 23 is a block diagram of the attribute information coding unit according to the embodiment. Figure 24 is a block diagram of the attribute information decoding unit according to the embodiment. Figure 25 is a block diagram of the three-dimensional data coding device according to the embodiment. Figure 26 is a block diagram of the three-dimensional data decoding device according to the embodiment. Figure 27 is a diagram showing the relationship between tiles and slices according to the embodiment. Figure 28 is a diagram showing an example of the configuration of a bitstream according to the embodiment. Figure 29 is a block diagram showing an example of the configuration of a three-dimensional data coding device according to the embodiment. Figure 30 is a diagram showing an example of the configuration of coded data and a NAL unit according to the embodiment.Figure 31 is a diagram showing an example of the semantics of pcc_nal_unit_type according to an embodiment. Figure 32 is a diagram showing a part of the processing in a three-dimensional data generation system according to an embodiment. Figure 33 is a diagram showing the components of Gaussian data described in PLY format. Figure 34 is a block diagram showing an example of a device that generates format data from data. Figure 35 is a block diagram showing an example of a device that restores the original data from format data. Figure 36 is a conceptual diagram illustrating an example of how an encoded data bitstream is stored in a system format. Figure 37 is a diagram showing an example of the box structure of ISOBMFF. Figure 38 is a diagram showing the configuration of 2DGS data according to an embodiment. Figure 39 is a diagram showing the configuration of 3DVS data according to an embodiment. Figure 40 is a diagram showing the configuration of STG data according to an embodiment. Figure 41 is a diagram showing the input and output of the spherical harmonic part of color according to an embodiment. Figure 42 is a diagram showing the number of coefficients for each level according to an embodiment. Figure 43 is a diagram showing an example of the coefficients of a spherical harmonic function according to an embodiment. Figure 44 is a diagram showing the rendering process of Gaussian data according to an embodiment. Figure 45 is a diagram showing the rendering process according to an embodiment. Figure 46 is a block diagram of an encoding device according to an embodiment. Figure 47 is a block diagram of a decoding device according to an embodiment. Figure 48 is a diagram showing the detailed processing of a three-dimensional data generation device according to an embodiment. Figure 49 is a block diagram of an encoding device according to an embodiment. Figure 50 is a block diagram of a decoding device according to an embodiment. Figure 51 is a diagram showing an example of Gaussian data mapping according to an embodiment. Figure 52 is a diagram showing an example of mapping information according to an embodiment. Figure 53 is a diagram showing an example of the configuration of conversion information according to an embodiment. Figure 54 is a diagram showing an example of the configuration of encoded data according to an embodiment. Figure 55 is a diagram showing an example of the G-PCC attribute type of Gaussian data according to an embodiment. Figure 56 is a flowchart of the processing by the decoding device according to an embodiment. Figure 57 is a diagram showing an example of the configuration of partial point cloud decoding according to an embodiment. Figure 58 is a diagram showing the relationship between tiles and slices according to an embodiment. Figure 59 is a diagram showing a tile inventory according to an embodiment.Figure 60 is a diagram showing the relationship between the decoding target area and tiles according to the embodiment. Figure 61 is a flowchart showing the partial decoding process according to the embodiment. Figure 62 is a diagram showing point cloud and GS data according to the embodiment. Figure 63 is a diagram showing conventional tile information according to the embodiment. Figure 64 is a diagram showing tiles that are not acquired according to the embodiment. Figure 65 is a diagram showing the configuration for partial decoding of GS data according to the embodiment. Figure 66 is a flowchart showing the processing of the encoding unit according to the embodiment. Figure 67 is a diagram showing the influence range of GS data according to the embodiment. Figure 68 is a diagram showing the influence range of tiles and GS data according to the embodiment. Figure 69 is a diagram showing the tile inventory according to the embodiment. Figure 70 is a diagram showing the relationship between the rendering target area and tiles according to the embodiment. Figure 71 is a flowchart showing the processing of the decoding unit according to the embodiment. Figure 72 is a diagram showing offset information and difference information according to the embodiment. Figure 73 is a diagram showing another syntax example according to the embodiment. Figure 74 is a diagram showing an example of using scale values according to the embodiment. Figure 75 is a diagram showing an example of the configuration of the encoding device according to the embodiment. Figure 76 is a flowchart showing an example of the encoding method executed by the encoding device according to the embodiment. Figure 77 is a diagram showing an example of the configuration of the decoding device according to the embodiment. Figure 78 is a flowchart showing an example of a decoding method performed by the decoding device according to the embodiment.
[0013] An encoding method according to a first aspect of the present disclosure is an encoding method performed by an encoding device, comprising: encoding Gaussian group data including one or more Gaussian data; generating region information indicating the range of the one or more Gaussian data; generating a bitstream including the encoded Gaussian group data and the region information, wherein the region information is generated based on the positional information and shape values of the one or more Gaussian data.
[0014] This allows encoded Gaussian group data to be handled in association with information indicating its range. As a result, it is possible to select the necessary parts during decoding and use partial decoding to decode only a portion of the Gaussian group data, thereby reducing the processing load on the decoding side.
[0015] An encoding method according to a second aspect of this disclosure is an encoding method according to a first aspect, wherein the region information includes bounding box information based on the positional information and shape values of one or more Gaussian data.
[0016] Therefore, the range based on the positional information and shape values of Gaussian data can be represented as bounding box information. Consequently, the decoding side can select the target to be decoded using information indicating the range in space.
[0017] An encoding method according to a third aspect of this disclosure is an encoding method according to a first aspect, wherein the shape value includes at least one of the scale value and rotation value of the one or more Gaussian data.
[0018] Therefore, at least one of the size and orientation of the Gaussian data can be reflected in the range information. As a result, the data to be decoded can be selected based on its extent, which cannot be represented by location information alone.
[0019] The encoding method according to the fourth aspect of this disclosure is the encoding method according to the third aspect, wherein the bounding box information based on the position information and shape values of the one or more Gaussian data included in the region information is information based on the position information, scale value, rotation value and transparency of the one or more Gaussian data.
[0020] This allows us to represent the range of Gaussian data using information based on position, scale, rotation, and transparency. Therefore, we can select the data to decode based on multiple parameters.
[0021] An encoding method according to a fifth aspect of the present disclosure is an encoding method according to any one aspect of the first to fourth aspects, wherein the bitstream includes, for each of a plurality of tiles, tile identification information indicating the tile, and area information indicating the range of one or more Gaussian data included in the tile from among the one or more Gaussian data.
[0022] In this way, information indicating a tile and information indicating the range of Gaussian data contained in that tile can be associated and included in the bitstream. As a result, the necessary tiles can be selected during decoding, and the target to be handled on the decoding side can be narrowed down.
[0023] An encoding method according to a sixth aspect of this disclosure is an encoding method according to a fifth aspect, wherein the bounding box information based on the positional information and shape values of the one or more Gaussian data included in the area information corresponding to each of the plurality of tiles includes information indicating the origin coordinates, as well as information indicating the width, depth, and height.
[0024] According to this, the range of the Gaussian data corresponding to each tile can be represented as the origin coordinates and dimensions in each direction. Therefore, the position and extent of the Gaussian data range corresponding to each tile can be treated as coordinate information.
[0025] An encoding method according to a seventh aspect of the present disclosure is an encoding method according to a fifth aspect, wherein for each of the plurality of tiles, the bitstream includes, for each of the plurality of tiles, offset information with respect to the origin of bounding box information based on positional information and shape values of the one or more Gaussian data included in the area information indicating the range of one or more Gaussian data contained in the tile, and at least one of difference information with respect to at least one of the width, depth and height of the bounding box information.
[0026] Therefore, the differences in the range of each tile can be represented as at least one of the offset from the origin and the difference in each directional dimension. As a result, the range used for decoding can be determined while treating the range information of each tile as a difference.
[0027] An encoding method according to an eighth aspect of the present disclosure is an encoding method according to a fifth aspect, wherein the bitstream includes a geometry data unit corresponding to each of the plurality of tiles, and the header of the geometry data unit includes slice tag information indicating the tile to which the geometry data unit corresponds.
[0028] This allows the correspondence between tiles and geometry data units to be determined from the header information of the geometry data unit. Therefore, it is possible to select and handle the geometry data unit that corresponds to the desired tile.
[0029] An encoding method according to a ninth aspect of the present disclosure is an encoding method according to an eighth aspect, wherein the bitstream further includes an attribute data unit corresponding to the geometry data unit, and the attribute data unit has the same slice identification information as the geometry data unit.
[0030] In this way, geometry data units and attribute data units can be associated based on the same slice identification information. Therefore, the attribute data unit corresponding to the acquired geometry data unit can be used.
[0031] A decoding method according to a tenth aspect of the present disclosure is a decoding method performed by a decoding device, which acquires a bitstream including encoded data of a Gaussian group of data containing one or more Gaussian data and region information indicating the range of the one or more Gaussian data, decodes the encoded data contained in the bitstream, and generates the region information based on the position information and shape values of the one or more Gaussian data.
[0032] This allows the decoding device to obtain both the encoded Gaussian group data and the region information generated based on the positional and shape values of the Gaussian data from the same bitstream. Therefore, when decoding the encoded data, the decoding device can obtain the region information indicating the range of the Gaussian data as reference information.
[0033] A decoding method according to an eleventh aspect of this disclosure is a decoding method according to a tenth aspect, wherein the region information includes bounding box information based on the positional information and shape values of one or more Gaussian data.
[0034] Therefore, the decoding device can acquire bounding box information based on the positional information and shape values of the Gaussian data. Consequently, the decoding device can use the information indicating the range in space to obtain information for determining the target to be decoded.
[0035] A decoding method according to a twelfth aspect of this disclosure is a decoding method according to an eleventh aspect, further comprising determining the Gaussian data to be decoded based on the region information and the rendering target region, and decoding the Gaussian data to be decoded.
[0036] This allows the Gaussian data to be decoded to be determined based on the relationship between the rendering target area and the area information. As a result, partial decoding can be performed on the Gaussian data related to the necessary parts, thereby reducing the processing load on the decoding side.
[0037] A decoding method according to a thirteenth aspect of this disclosure is a decoding method according to an eleventh aspect, wherein the shape value includes at least one of the scale value and rotation value of the one or more Gaussian data.
[0038] Therefore, in determining the data to be decoded, region information that reflects at least one of the size and orientation of the Gaussian data can be used. Thus, Gaussian data related to the required portion can be selected without relying solely on positional information.
[0039] A decoding method according to a fourteenth aspect of this disclosure is a decoding method according to a thirteenth aspect, wherein the bounding box information is information based on the position information, scale value, rotation value, and transparency of one or more Gaussian data.
[0040] Thereby, it is possible to determine a decoding target using bounding box information based on position information, a scale value, a rotation value, and transparency. As a result, the target to be used for partial decoding can be determined based on range information corresponding to a plurality of parameters.
[0041] The decoding method according to the fifteenth aspect of the present disclosure is the decoding method according to any one of the tenth to fourteenth aspects, further comprising determining Gaussian data to be decoded based on the region information and a rendering target region, and decoding the Gaussian data to be decoded, wherein the bitstream includes, for each of a plurality of tiles, tile identification information indicating the tile, and the region information indicating a range of one or more pieces of Gaussian data included in the tile among the one or more pieces of Gaussian data.
[0042] In this way, tile identification information and region information indicating the range of Gaussian data included in the tile can be acquired from the bitstream. Therefore, the decoding device can determine the Gaussian data to be decoded using the region information in units of tiles.
[0043] The decoding method according to the sixteenth aspect of the present disclosure is the decoding method according to the fifteenth aspect, wherein the determination of the Gaussian data to be decoded is performed with reference to the region information associated with the tile identification information.
[0044] Thereby, it is possible to determine the Gaussian data to be decoded by referring to the region information associated with the tile identification information. As a result, it is possible to select necessary tiles for partial decoding, and narrow down the targets to be handled on the decoding side.
[0045] The decoding method according to the seventeenth aspect of the present disclosure is the decoding method according to the fifteenth aspect, wherein the bounding box information based on the position information and shape value of the one or more pieces of Gaussian data included in the region information corresponding to each of the plurality of tiles includes information indicating origin coordinates, as well as information indicating width, depth, and height.
[0046] According to this, the decoding device can use the information indicating the range of Gaussian data corresponding to each tile, which is represented as origin coordinates and dimensions in each direction. Therefore, the decoding device can treat the position and extent of the range of Gaussian data corresponding to each tile as coordinate information, and select the tile or Gaussian data to be used for decoding.
[0047] The decoding method according to the eighteenth aspect of the present disclosure is the decoding method according to the fifteenth aspect, wherein for each of the plurality of tiles, the bitstream includes at least one of: offset information relative to the origin of bounding box information based on the position information and shape values of the one or more pieces of Gaussian data included in the region information indicating the range of the one or more pieces of Gaussian data contained in the tile among the one or more pieces of Gaussian data; and difference information for at least one of the width, depth, and height of the bounding box information, and the determination of the Gaussian data to be decoded is performed based on the bounding box information based on at least one of the offset information and the difference information, and the rendering target region.
[0048] Therefore, it is possible to handle the bounding box information used for determining the decoding target based on at least one of the offset information relative to the origin and the difference information for the dimension in each direction. Accordingly, the target to be used for partial decoding can be determined according to the relationship between the bounding box information and the rendering target region.
[0049] The decoding method according to the nineteenth aspect of the present disclosure is the decoding method according to the fifteenth aspect, wherein the bitstream includes a geometry data unit corresponding to each of the plurality of tiles, and the decoding includes acquiring the geometry data unit corresponding to the tile containing the Gaussian data to be decoded, with reference to slice tag information included in a header of the geometry data unit.
[0050] This allows us to obtain the geometry data unit corresponding to the tile containing the Gaussian data to be decoded by referring to the header information of the geometry data unit. As a result, partial decoding can be performed using the geometry data corresponding to the required tile.
[0051] A decoding method according to a 20th aspect of the present disclosure is a decoding method according to a 19th aspect, wherein the bitstream further includes an attribute data unit corresponding to the geometry data unit, and the decoding further includes obtaining and decoding the attribute data unit having the same slice identification information as the geometry data unit.
[0052] In this way, attribute data units corresponding to the acquired geometry data units can be acquired and decoded based on the same slice identification information. Therefore, decryption can be performed using attribute data corresponding to the target of partial decryption.
[0053] A decoding method according to a 21st aspect of this disclosure is a decoding method according to a 15th aspect, wherein the determination of the Gaussian data to be decoded includes identifying tiles that affect the rendering region based on the region information.
[0054] This allows us to define the Gaussian data to be decoded based on the tiles that affect the rendering area. As a result, partial decoding can be performed based on the necessary tiles, and the target data to be handled on the decoding side can be narrowed down.
[0055] A decoding method according to a 22nd aspect of the present disclosure is a decoding method according to a 21st aspect, wherein the identification of the tile includes referring to the region information corresponding to each of the plurality of tiles included in the bitstream and extracting a group of tiles that overlap with the rendering target region as a group of candidate tiles.
[0056] Therefore, it is possible to extract groups of tiles that overlap with the rendering target area as candidates. Consequently, the target for decoding can be determined from the candidate tile group, and the target to be handled on the decoding side can be narrowed down.
[0057] A decoding method according to a 23rd aspect of the present disclosure is a decoding method according to a 22nd aspect, wherein the identification of the tile further includes selecting a tile with a high priority from the candidate tile group based on the amount of overlap between the range indicated by the region information and the rendering target region.
[0058] As a result, tiles with higher priority can be selected based on the amount of overlap with the rendering target area. Therefore, it is possible to determine which tiles from the candidate tile group will be used preferentially for partial decoding.
[0059] A decoding method according to a 24th aspect of the present disclosure is a decoding method according to a 18th aspect, wherein the determination of the Gaussian data to be decoded further includes calculating bounding box information indicating the range of one or more Gaussian data by referring to offset information with respect to the origin of the bounding box information and difference information with respect to at least one of the width, depth, and height of the bounding box information, which are included in the bitstream.
[0060] This allows us to calculate bounding box information that indicates the range of the Gaussian data by referring to at least one of the offset information and the difference information. Therefore, we can determine the target to be used for partial decoding based on the calculated range.
[0061] An encoding device according to a 25th aspect of the present disclosure comprises a circuit and a memory connected to the circuit, wherein the circuit, in operation, encodes Gaussian group data including one or more Gaussian data, generates region information indicating the range of the one or more Gaussian data, generates a bitstream including the encoded Gaussian group data and the region information, the region information being generated based on the position information and shape values of the one or more Gaussian data.
[0062] This allows encoded Gaussian group data to be handled in association with information indicating its range. As a result, it is possible to select the necessary parts during decoding and use partial decoding to decode only a portion of the Gaussian group data, thereby reducing the processing load on the decoding side.
[0063] A decoding device according to a 26th aspect of the present disclosure comprises a circuit and a memory connected to the circuit, wherein the circuit, in operation, acquires a bitstream including encoded data of a Gaussian group of data containing one or more Gaussian data and region information indicating the range of the one or more Gaussian data, decodes the encoded data contained in the bitstream, and the region information is generated based on the position information and shape values of the one or more Gaussian data.
[0064] This allows the decoding device to obtain both the encoded Gaussian group data and the region information generated based on the positional and shape values of the Gaussian data from the same bitstream. Therefore, when decoding the encoded data, the decoding device can obtain the region information indicating the range of the Gaussian data as reference information.
[0065] These comprehensive or specific embodiments may be implemented as a system, method, integrated circuit, computer program, or recording medium such as a computer-readable CD-ROM, or as any combination of a system, method, integrated circuit, computer program, and recording medium.
[0066] The embodiments will be described in detail below with reference to the drawings. Note that the embodiments described below are all specific examples of this disclosure. The numerical values, shapes, materials, components, arrangement and connection configurations of components, steps, and the order of steps shown in the following embodiments are examples only and are not intended to limit this disclosure. Furthermore, components in the following embodiments that are not described in an independent claim will be described as optional components.
[0067] (Embodiment) [Three-Dimensional Data Encoding and Decoding System] First, the configuration of the three-dimensional data encoding and decoding system according to this embodiment will be described. Figure 1 is a diagram showing an example of the configuration of the three-dimensional data encoding and decoding system according to this embodiment. As shown in Figure 1, the three-dimensional data encoding and decoding system includes a three-dimensional data encoding system 101, a three-dimensional data decoding system 102, a sensor terminal 103, and an external connection unit 104.
[0068] The three-dimensional data encoding system 101 generates encoded data or multiplexed data by encoding three-dimensional data such as three-dimensional point cloud data or three-dimensional mesh data. The three-dimensional data encoding system 101 may be a three-dimensional data encoding device implemented by a single device, or it may be a system implemented by multiple devices. Furthermore, the three-dimensional data encoding device may include some of the multiple processing units included in the three-dimensional data encoding system 101.
[0069] The three-dimensional data encoding system 101 includes a three-dimensional data generation system 111, a presentation unit 112, an encoding unit 113, a multiplexing unit 114, an input / output unit 115, and a control unit 116. The three-dimensional data generation system 111 also includes a sensor information acquisition unit 117 and a three-dimensional data generation unit 118.
[0070] The sensor information acquisition unit 117 acquires sensor information (sensor signals) from the sensor terminal 103 and outputs the sensor information to the three-dimensional data generation unit 118. The three-dimensional data generation unit 118 generates three-dimensional data from the sensor information and outputs the three-dimensional data to the encoding unit 113.
[0071] The display unit 112 presents sensor information or three-dimensional data to the user. For example, the display unit 112 displays information or images based on sensor information or three-dimensional data.
[0072] The encoding unit 113 encodes (compresses) the three-dimensional data and outputs the resulting encoded data, control information obtained during the encoding process, and other additional information to the multiplexing unit 114. The additional information includes, for example, sensor information.
[0073] The multiplexing unit 114 generates multiplexed data by multiplexing the encoded data input from the encoding unit 113, control information, and additional information. The format of the multiplexed data is, for example, a file format for storage or a packet format for transmission.
[0074] The input / output unit 115 (for example, the communication unit or interface) outputs the multiplexed data to the outside. Alternatively, the multiplexed data is stored in a storage unit such as internal memory. The control unit 116 (or application execution unit) controls each processing unit. In other words, the control unit 116 performs control such as encoding and multiplexing.
[0075] The sensor information may also be input to the encoding unit 113 or the multiplexing unit 114. Furthermore, the input / output unit 115 may output the three-dimensional data or encoded data directly to the outside.
[0076] The transmission signal (multiplexed data) output from the three-dimensional data encoding system 101 is input to the three-dimensional data decoding system 102 via the external connection unit 104.
[0077] The three-dimensional data decoding system 102 generates three-dimensional data, such as three-dimensional point cloud data or three-dimensional mesh data, by decoding encoded data or multiplexed data. The three-dimensional data decoding system 102 may be a three-dimensional data decoding device implemented by a single device, or it may be a system implemented by multiple devices. Furthermore, the three-dimensional data decoding device may include some of the multiple processing units included in the three-dimensional data decoding system 102.
[0078] The three-dimensional data decoding system 102 includes a sensor information acquisition unit 121, an input / output unit 122, a demultiplexing unit 123, a decoding unit 124, a presentation unit 125, a user interface 126, and a control unit 127.
[0079] The sensor information acquisition unit 121 acquires sensor information (sensor signals) from the sensor terminal 103.
[0080] The input / output unit 122 acquires the transmission signal, decodes the multiplexed data (file format or packet) from the transmission signal, and outputs the multiplexed data to the demultiplexing unit 123.
[0081] The demultiplexing unit 123 acquires encoded data, control information, and additional information from the multiplexed data, and outputs the encoded data, control information, and additional information to the decoding unit 124.
[0082] The decoding unit 124 reconstructs the three-dimensional data by decoding the encoded data.
[0083] The presentation unit 125 presents three-dimensional data to the user. For example, the presentation unit 125 displays information or images based on the three-dimensional data. The user interface 126 acquires instructions based on user operations. The control unit 127 (or application execution unit) controls each processing unit. In other words, the control unit 127 performs control such as demultiplexing, decoding, and presentation.
[0084] The input / output unit 122 may acquire three-dimensional data or encoded data directly from an external source. The presentation unit 125 may acquire additional information such as sensor information and present information based on that additional information. The presentation unit 125 may also make presentations based on user instructions acquired through the user interface 126.
[0085] The sensor terminal 103 generates sensor information, which is information obtained from the sensor. The sensor terminal 103 is a terminal equipped with a sensor or camera, and may be, for example, a mobile object such as an automobile, an aerial object such as an airplane, a mobile terminal, or a camera.
[0086] The sensor information that can be acquired by the sensor terminal 103 includes, for example, (1) the distance between the sensor terminal 103 and the object, or the reflectivity of the object, obtained from a LiDAR, millimeter-wave radar, or infrared sensor, and (2) the distance between the camera and the object, or the reflectivity of the object, obtained from multiple monocular camera images or stereo camera images. The sensor information may also include the sensor's attitude, orientation, gyroscope (angular velocity), position (GPS information or altitude), speed, or acceleration. The sensor information may also include temperature, atmospheric pressure, humidity, or magnetism.
[0087] The external connection unit 104 is implemented by an integrated circuit (LSI or IC), an external storage unit, communication with a cloud server via the internet, or broadcasting, etc.
[0088] Next, we will explain three-dimensional point cloud data (hereinafter also referred to as point cloud data). Figure 2 is a diagram showing the structure of point cloud data. Figure 3 is a diagram showing an example of the structure of a data file containing information about point cloud data.
[0089] Point cloud data contains data for multiple points. Each point's data includes location information (three-dimensional coordinates) and attribute information related to that location. A collection of these points is called a point cloud. For example, a point cloud represents the three-dimensional shape of an object.
[0090] Position information, such as three-dimensional coordinates, is sometimes called geometry. Furthermore, the data for each point may include attribute information of multiple attribute types. Attribute types include, for example, color or reflectance.
[0091] One location information may be associated with one attribute information, or multiple attribute information of different attribute types may be associated with one location information. Furthermore, multiple attribute information of the same attribute type may be associated with one location information.
[0092] The example data file structure shown in Figure 3 represents a case where location information and attribute information correspond one-to-one, and it shows the location information and attribute information of the N points that make up the point cloud data.
[0093] Location information includes, for example, information for the three axes: x, y, and z. Attribute information includes, for example, RGB color information. A typical data file is a ply file.
[0094] Next, we will explain three-dimensional mesh data (hereinafter also referred to as mesh data). Figure 4 shows an example of the structure of mesh data. Figure 5 shows an example of the structure of a data file containing mesh data information.
[0095] Mesh data is a data format used in computer graphics (CG). Mesh data represents the three-dimensional shape of an object through a collection of surface information. Surface information consists of polygons such as triangles or quadrilaterals, and is also referred to as a polygon or polygon mesh.
[0096] The components of mesh data include a three-dimensional point cloud (a set of points that have three-dimensional positional information and attribute information corresponding to that positional information), as well as a set of three-dimensional points as vertices, edges connecting two vertices, and faces enclosed by edges.
[0097] Vertices (also expressed as vertex or position) may have attribute information such as color information, reflectivity, or normal vectors. Information indicating the relationships between vertices that constitute an edge or face is also called connectivity. The direction of the normal vector to a point can represent the front and back of a face. Mesh data may also contain attribute information for faces.
[0098] One example of a mesh data file format is an object file. The data file contains the position information G(1) to G(N) and vertex attribute information A(1) to A(N) for the N vertices that make up the mesh. Note that the data file does not have to include attribute information. Also, the attribute information does not have to correspond one-to-one with the vertices. Figure 5 shows an example where the data file has 1 to M attribute information A2.
[0099] Face information is represented by a combination of vertex indices. n[1, 3, 4] indicates that the face is a triangular face composed of three vertices n=1, n=3, and n=4. m[2, 4, 6] indicates that attribute information m=1, m=4, and m=6 correspond to the three vertices, respectively.
[0100] Furthermore, attribute information may be recorded in a separate file from the data file, with the data file indicating its pointer information. For example, attribute information may be stored in a two-dimensional attribute map file, and the file name of the attribute map and its two-dimensional coordinates may be recorded in attribute information A2 of the data file. In any of these methods, it is possible to specify attribute information for a point.
[0101] Next, we will explain the types of three-dimensional data (point cloud data or mesh data). Figure 6 is a diagram showing the types of three-dimensional data. As shown in Figure 6, three-dimensional data includes static objects and dynamic objects.
[0102] A static object is three-dimensional data for any given time (a specific moment). A dynamic object is three-dimensional data that changes over time. Hereafter, three-dimensional point cloud data for a given time will be referred to as a PCC (Point Cloud Compression) frame, or simply a frame. Similarly, three-dimensional mesh data for a given time will be referred to as a mesh frame, or simply a frame.
[0103] The multiple points that make up an object may have limitations in terms of area, pixels, or the number of points, similar to regular video data. Alternatively, the multiple points that make up an object may not have any area limitations, similar to map information.
[0104] Furthermore, there may be point cloud data or mesh data of various densities, including both sparse and dense point cloud data or mesh data.
[0105] The details of each processing unit are described below. Sensor information is acquired by various methods, such as distance sensors like LIDAR or rangefinders, stereo cameras, or combinations of multiple monocular cameras. The three-dimensional data generation unit 118 generates three-dimensional data based on the sensor information obtained by the sensor information acquisition unit 117. The three-dimensional data generation unit 118 generates position information as three-dimensional data and adds attribute information to the position information.
[0106] The three-dimensional data generation unit 118 may process the three-dimensional data when generating position information or adding attribute information. For example, the three-dimensional data generation unit 118 may reduce the amount of data by deleting point clouds with overlapping positions. The three-dimensional data generation unit 118 may also transform the position information (e.g., position shift, rotation, or normalization). Furthermore, the three-dimensional data generation unit 118 may generate mesh data from the point cloud data. Finally, the three-dimensional data generation unit 118 may render attribute information.
[0107] In Figure 1, the three-dimensional data generation system 111 is included in the three-dimensional data encoding system 101, but it may also be provided independently outside of the three-dimensional data encoding system 101.
[0108] The encoding unit 113 generates encoded data by encoding three-dimensional data. There are the following encoding methods. The first is an encoding method using positional information, which will be referred to as the first encoding method hereafter. The second is an encoding method using a video codec, which will be referred to as the second encoding method hereafter.
[0109] The decoding unit 124 decodes the point cloud data by decoding the encoded data. The multiplexing unit 114 generates multiplexed data by multiplexing the encoded data using an existing multiplexing method. The generated multiplexed data is transmitted or stored. In addition to the PCC encoded data, the multiplexing unit 114 multiplexes other media such as video, audio, subtitles, applications, files, or reference time information. Furthermore, the multiplexing unit 114 may also multiplex sensor information or attribute information related to the three-dimensional data.
[0110] Multiplexing methods or file formats include ISOBMFF, ISOBMFF-based transmission methods such as MPEG-DASH, MMT, MPEG-2 TS Systems, and RTP.
[0111] The demultiplexing unit 123 extracts encoded data, other media, and time information from the multiplexed data.
[0112] The input / output unit 115 transmits the multiplexed data using a method appropriate to the transmission medium or storage medium, such as broadcasting or communication. The input / output unit 115 may communicate with other devices via the Internet, or with storage units such as cloud servers.
[0113] Communication protocols such as HTTP, FTP, TCP, or UDP can be used. A pull-type communication method or a push-type communication method may be used.
[0114] Either wired or wireless transmission may be used. Wired transmission methods include Ethernet®, USB, RS-232C, HDMI®, or coaxial cable. Wireless transmission methods include wireless LAN, Wi-Fi®, Bluetooth®, or millimeter wave.
[0115] Furthermore, broadcasting formats such as DVB-T2, DVB-S2, DVB-C2, ATSC3.0, or ISDB-S3 may be used.
[0116] [First Encoding Method] Hereafter, encoding and decoding methods for three-dimensional point clouds or three-dimensional meshes will be described. When the apparatus, processing, or syntax in this disclosure relates to the encoding or decoding of point cloud data, it can also be applied to the encoding or decoding of vertices in a three-dimensional mesh. Furthermore, disclosures relating to the encoding or decoding of vertices in a three-dimensional mesh can also be applied to the encoding or decoding of point cloud data. In addition, disclosures relating to the encoding or decoding of attribute information of point cloud data may be applied to the encoding or decoding of face information, or attribute information for faces or vertices in a three-dimensional mesh. Moreover, the processing may be unified between point cloud encoding and mesh encoding. By unifying the processing, it may be possible to reduce the size of the circuit or software.
[0117] Figure 7 shows the configuration of a first encoding unit 130, which is an example of an encoding unit 113 that performs encoding using the first encoding method. Figure 8 is a block diagram of the first encoding unit 130. The first encoding unit 130 generates encoded data (encoded stream) by encoding point cloud data using the first encoding method. This first encoding unit 130 includes a location information encoding unit 131, an attribute information encoding unit 132, an additional information encoding unit 133, and a multiplexing unit 134.
[0118] The first encoding unit 130 is characterized by performing encoding while being aware of the three-dimensional structure. Furthermore, the first encoding unit 130 is characterized in that the attribute information encoding unit 132 performs encoding using information obtained from the position information encoding unit 131. The first encoding method is also called G-PCC (Geometry-based PCC).
[0119] The point cloud data is PCC point cloud data such as a PLY file, or PCC point cloud data generated from sensor information, and includes position information, attribute information, and other additional information (MetaData). The position information is input to the position information encoding unit 131, the attribute information is input to the attribute information encoding unit 132, and the additional information is input to the additional information encoding unit 133.
[0120] When mesh data is encoded, the position information of the vertex information is input to the position information encoding unit 131, and the face information, or attribute information for faces and vertices, is input to the attribute information encoding unit 132.
[0121] The location information encoding unit 131 generates encoded location information (Compressed Geometry), which is encoded data, by encoding the location information. For example, the location information encoding unit 131 encodes the location information using an N-tree structure such as an octree. Specifically, in an octree, the target space is divided into eight nodes (subspaces), and eight bits of information (occupancy code) are generated to indicate whether or not a point cloud is contained in each node. Furthermore, nodes containing point clouds are further divided into eight nodes, and eight bits of information are generated to indicate whether or not a point cloud is contained in each of these eight nodes. This process is repeated until the number of point clouds contained in a predetermined hierarchy or node falls below a threshold.
[0122] The attribute information encoding unit 132 generates encoded attribute information (Compressed Attribute), which is encoded data, by encoding it using the configuration information generated by the location information encoding unit 131. For example, the attribute information encoding unit 132 determines the reference point (reference node) to be referenced in encoding the target point (target node) to be processed, based on the octave tree structure generated by the location information encoding unit 131. For example, the attribute information encoding unit 132 references a surrounding node or adjacent node whose parent node in the octave tree is the same as the target node. However, the method for determining the reference relationship is not limited to this.
[0123] Furthermore, the attribute information encoding process may include at least one of the following: quantization, prediction, and arithmetic encoding. In this case, a reference means using a reference node to calculate the predicted value of the attribute information, or using the state of a reference node (for example, occupancy information indicating whether or not the reference node contains a point cloud) to determine the encoding parameters. For example, encoding parameters may be quantization parameters in the quantization process, or context in arithmetic encoding.
[0124] The additional information encoding unit 133 generates encoded additional information (Compressed MetaData), which is encoded data, by encoding the compressible data among the additional information.
[0125] The multiplexing unit 134 generates a compressed stream, which is encoded data, by multiplexing encoded position information, encoded attribute information, encoded additional information, and other additional information. The generated compressed stream is output to a processing unit of the system layer (not shown).
[0126] Next, we will describe a first decoding unit 140, which is an example of a decoding unit 124 that performs decoding of the first encoding method. Figure 9 is a diagram showing the configuration of the first decoding unit 140. Figure 10 is a block diagram of the first decoding unit 140. The first decoding unit 140 generates point cloud data by decoding the encoded data (encoded stream) encoded by the first encoding method using the first encoding method. This first decoding unit 140 includes a demultiplexing unit 141, a location information decoding unit 142, an attribute information decoding unit 143, and an additional information decoding unit 144.
[0127] A encoded stream, which is encoded data, is input to the first decoding unit 140 from a processing unit of the system layer (not shown).
[0128] The demultiplexing unit 141 separates encoded location information (Compressed Geometry), encoded attribute information (Compressed Attribute), encoded additional information (Compressed MetaData), and other additional information from the encoded data.
[0129] The location information decoding unit 142 generates location information by decoding the encoded location information. For example, the location information decoding unit 142 reconstructs the location information of a point cloud represented by three-dimensional coordinates from encoded location information represented by an N-tree structure such as an octree.
[0130] The attribute information decoding unit 143 decodes the encoded attribute information based on the configuration information generated by the location information decoding unit 142. For example, the attribute information decoding unit 143 determines the reference point (reference node) to be referenced in the decoding of the target point (target node) to be processed, based on the octave tree structure obtained by the location information decoding unit 142. For example, the attribute information decoding unit 143 references a surrounding node or adjacent node whose parent node in the octave tree is the same as the target node. Note that the method for determining the reference relationship is not limited to this.
[0131] Furthermore, the attribute information decoding process may include at least one of the following: inverse quantization, prediction, and arithmetic decoding. In this case, "reference" means using a reference node to calculate the predicted value of the attribute information, or using the state of the reference node (for example, occupancy information indicating whether or not the reference node contains a point cloud) to determine the decoding parameters. For example, decoding parameters may be quantization parameters in the inverse quantization process, or context in arithmetic decoding.
[0132] The additional information decoding unit 144 generates additional information by decoding the encoded additional information. The first decoding unit 140 uses the additional information necessary for decoding location information and attribute information during decoding and outputs the additional information necessary for the application to the outside.
[0133] [Second Encoding Method] Next, a second encoding unit 150, which is an example of an encoding unit 113 that performs encoding using the second encoding method, will be described. Figure 11 is a diagram showing the configuration of the second encoding unit 150. Figure 12 is a block diagram of the second encoding unit 150.
[0134] The second encoding unit 150 generates encoded data (encoded stream) by encoding the point cloud data using a second encoding method. This second encoding unit 150 includes an additional information generation unit 151, a position image generation unit 152, an attribute image generation unit 153, a video encoding unit 154, an additional information encoding unit 155, and a multiplexing unit 156.
[0135] The second encoding unit 150 is characterized by generating a position image and an attribute image by projecting a three-dimensional structure onto a two-dimensional image, and encoding the generated position image and attribute image using an existing video encoding scheme. The second encoding method is also called VPCC (Video-based PCC).
[0136] The point cloud data is PCC point cloud data such as a PLY file, or PCC point cloud data generated from sensor information, and includes position information, attribute information, and other additional information (MetaData).
[0137] The additional information generation unit 151 generates map information for multiple two-dimensional images by projecting a three-dimensional structure onto a two-dimensional image.
[0138] The location image generation unit 152 generates a location image (Geometry Image) based on location information and map information generated by the additional information generation unit 151. This location image is, for example, a depth image in which the distance is indicated as a pixel value. This depth image may be an image of multiple point clouds viewed from one viewpoint (an image of multiple point clouds projected onto a single two-dimensional plane), or multiple images of multiple point clouds viewed from multiple viewpoints, or a single image formed by integrating these multiple images.
[0139] The attribute image generation unit 153 generates an attribute image based on attribute information and map information generated by the additional information generation unit 151. This attribute image is, for example, an image in which attribute information (e.g., color (RGB)) is shown as pixel values. This image may be an image of multiple point clouds viewed from one viewpoint (an image of multiple point clouds projected onto a single two-dimensional plane), or multiple images of multiple point clouds viewed from multiple viewpoints, or a single image formed by integrating these multiple images.
[0140] When mesh data is encoded, the position information of the vertex information is input to the position image generation unit 152, and the face information, or attribute information for faces and vertices, is input to the attribute image generation unit 153.
[0141] The video encoding unit 154 generates encoded data, namely a encoded geometry image and an encoded attribute image, by encoding the position image and attribute image using a video encoding scheme. Any known encoding method may be used as the video encoding scheme. For example, the video encoding scheme may be AVC or HEVC.
[0142] The additional information encoding unit 155 generates encoded additional information (Compressed MetaData) by encoding additional information and map information included in the point cloud data.
[0143] The multiplexing unit 156 generates a compressed stream, which is encoded data, by multiplexing the encoded position image, encoded attribute image, encoded additional information, and other additional information. The generated compressed stream is output to a processing unit of a system layer (not shown).
[0144] Next, we will describe a second decoding unit 160, which is an example of a decoding unit 124 that performs decoding of the second encoding method. Figure 13 is a diagram showing the configuration of the second decoding unit 160. Figure 14 is a block diagram of the second decoding unit 160. The second decoding unit 160 generates point cloud data by decoding the encoded data (encoded stream) encoded by the second encoding method using the second encoding method. This second decoding unit 160 includes a demultiplexing unit 161, a video decoding unit 162, an additional information decoding unit 163, a location information generation unit 164, and an attribute information generation unit 165.
[0145] A encoded stream (Compressed Stream), which is encoded data, is input to the second decoding unit 160 from a processing unit of the system layer (not shown).
[0146] The demultiplexing unit 161 separates the encoded location image (Compressed Geometry Image), encoded attribute image (Compressed Attribute Image), encoded additional information (Compressed MetaData), and other additional information from the encoded data.
[0147] The video decoding unit 162 generates a position image and an attribute image by decoding the encoded position image and the encoded attribute image using a video encoding scheme. Any known encoding scheme may be used as the video encoding scheme. For example, the video encoding scheme may be AVC or HEVC.
[0148] The additional information decoding unit 163 generates additional information, including map information, by decoding the encoded additional information.
[0149] The location information generation unit 164 generates location information using the location image and map information. The attribute information generation unit 165 generates attribute information using the attribute image and map information.
[0150] The second decoding unit 160 uses the additional information necessary for decoding during decoding and outputs the additional information necessary for the application to the outside.
[0151] [Location Information Coding in the First Coding Method] Figure 15 is a block diagram showing an example configuration of the location information coding unit 131. The location information coding unit 131 comprises an octree coding unit 171 and a prediction tree coding unit 172. The octree coding unit 171 generates coded location information and metadata by coding location information using an octree coding method (octree coding). The prediction tree coding unit 172 generates coded location information and metadata by coding location information using a prediction tree coding method (prediction tree coding).
[0152] The location information encoding unit 131 encodes location information using either octree encoding or predictive tree encoding, or both. The location information encoding unit 131 may switch between these two methods, use an encoding method other than these two, or include the location information in the bitstream as raw data without encoding it. Information indicating the encoding method of the encoded data is stored in metadata and notified to the decoding device.
[0153] Figure 16 is a block diagram showing an example configuration of the location information decoding unit 142. The location information decoding unit 142 comprises an octree decoding unit 173 and a predictive tree decoding unit 174. The octree decoding unit 173 generates location information by decoding the encoded location information using an octree decoding method (octree decoding). The predictive tree decoding unit 174 generates location information by decoding the encoded location information using a predictive tree decoding method (predictive tree decoding). The location information decoding unit 142 also performs decoding using the encoding method notified in the metadata.
[0154] Next, an example of the configuration of the position information coding unit will be described. Figure 17 is a block diagram of the octree coding unit 171 according to this embodiment. The octree coding unit 171 comprises an octree generation unit 181, a geometric information calculation unit 182, a coding table selection unit 183, and an entropy coding unit 184.
[0155] The octree generation unit 181 generates an octree from the input position information and generates occupancy codes for each node in the octree. The geometric information calculation unit 182 obtains information indicating whether the adjacent nodes of the target node are occupied nodes or not. For example, the geometric information calculation unit 182 calculates the occupancy information of adjacent nodes (information indicating whether the adjacent node is an occupied node or not) from the occupancy code of the parent node to which the target node belongs. Alternatively, the geometric information calculation unit 182 may store the encoded nodes in a list and search for adjacent nodes from that list. The geometric information calculation unit 182 may also switch adjacent nodes depending on the position of the target node within the parent node.
[0156] The coding table selection unit 183 selects a coding table to be used for entropy coding of the target node using the occupancy information of adjacent nodes calculated by the geometric information calculation unit 182. For example, the coding table selection unit 183 may generate a bit sequence using the occupancy information of adjacent nodes and select a coding table with an index number generated from that bit sequence.
[0157] The entropy coding unit 184 generates coded location information and metadata by performing entropy coding on the occupancy code of the target node using the coding table of the selected index number. The entropy coding unit 184 may also add information indicating the selected coding table to the coded location information.
[0158] The following describes the octree representation and the scanning order of location information. Location information (location data) is converted into an octree structure (octreeization) and then encoded. An octree structure consists of nodes and leaves. Each node has eight nodes or leaves, and each leaf has voxel (VXL) information. Figure 18 shows an example of the structure of location information containing multiple voxels. Figure 19 shows an example of the location information shown in Figure 18 converted into an octree structure. Here, among the leaves shown in Figure 19, leaves 1, 2, and 3 represent the voxels VXL1, VXL2, and VXL3 shown in Figure 18, respectively, and represent a VXL containing a point cloud (hereinafter referred to as effective VXL).
[0159] Specifically, node 1 corresponds to the overall space encompassing the positional information in Figure 18. The overall space corresponding to node 1 is divided into eight nodes, and of these eight nodes, the node containing the valid VXL is further divided into eight nodes or leaves, and this process is repeated for each level of the tree structure. Here, each node corresponds to a subspace and holds information (occupancy code) indicating the position of the next node or leaf after the division as node information. In addition, the lowest-level block is set as a leaf, and leaf information such as the number of points contained within the leaf is held.
[0160] Next, an example of the configuration of the location information decoding unit will be described. Figure 20 is a block diagram of the octree decoding unit 173 according to this embodiment. The octree decoding unit 173 comprises an octree generation unit 191, a geometric information calculation unit 192, an encoding table selection unit 193, and an entropy decoding unit 194.
[0161] The octane tree generation unit 191 generates an octane tree of a certain space (node) using the header information or metadata of the bitstream. For example, the octane tree generation unit 191 generates a large space (root node) using the size of the x, y, and z axis directions of a certain space attached to the header information, and generates an octane tree by dividing that space into two in each direction of the x, y, and z axes to generate eight small spaces A (nodes A0 to A7). Also, nodes A0 to A7 are set in order as the target nodes.
[0162] The geometric information calculation unit 192 obtains occupancy information indicating whether an adjacent node to the target node is an occupied node. For example, the geometric information calculation unit 192 calculates the occupancy information of an adjacent node from the occupancy code of the parent node to which the target node belongs. Alternatively, the geometric information calculation unit 192 may store the decoded nodes in a list and search for adjacent nodes from that list. The geometric information calculation unit 192 may also switch adjacent nodes depending on the position of the target node within its parent node.
[0163] The coding table selection unit 193 selects a coding table (decoding table) to be used for entropy decoding of the target node using the occupancy information of adjacent nodes calculated by the geometric information calculation unit 192. For example, the coding table selection unit 193 may generate a bit sequence using the occupancy information of adjacent nodes and select a coding table with an index number generated from that bit sequence.
[0164] The entropy decoding unit 194 generates location information by entropy decoding the occupancy code of the target node using the selected coding table. Alternatively, the entropy decoding unit 194 may decode and obtain information from the bitstream regarding the selected coding table, and then entropy decode the occupancy code of the target node using the coding table indicated by this information.
[0165] [Attribute Information Encoding in the First Encoding Scheme] The configuration of the attribute information encoding unit and the attribute information decoding unit will be described below. Figure 21 is a block diagram showing an example configuration of the attribute information encoding unit 132. The attribute information encoding unit may include multiple encoding units that perform different encoding methods. For example, the attribute information encoding unit may switch between the following two methods depending on the use case.
[0166] The attribute information encoding unit 132 includes an LoD attribute information encoding unit 201 and a conversion attribute information encoding unit 202. The LoD attribute information encoding unit 201 uses the positional information of the three-dimensional points to classify each three-dimensional point into multiple layers, predicts the attribute information of the three-dimensional points belonging to each layer, and encodes the predicted residual. Here, each classified layer is called LoD (Level of Detail).
[0167] The attribute information encoding unit 202 encodes attribute information using RAHT (Region Adaptive Hierarchical Transform). Specifically, the attribute information encoding unit 202 generates high-frequency and low-frequency components of each layer by applying RAHT or Haar transform to each attribute information based on the position information of three-dimensional points, and encodes these values using quantization and entropy coding, etc.
[0168] Figure 22 is a block diagram showing an example configuration of the attribute information decoding unit 143. The attribute information decoding unit may include multiple decoding units that perform different decoding methods. For example, the attribute information decoding unit may decode by switching between the following two methods based on the information contained in the header and metadata.
[0169] The attribute information decoding unit 143 includes an LoD attribute information decoding unit 203 and a converted attribute information decoding unit 204. The LoD attribute information decoding unit 203 classifies each three-dimensional point into multiple layers using the position information of the three-dimensional points, and decodes the attribute values while predicting the attribute information of the three-dimensional points belonging to each layer.
[0170] The attribute information decoding unit 204 decodes attribute information using RAHT (Region Adaptive Hierarchical Transform). Specifically, the attribute information decoding unit 204 decodes attribute values by applying inverse RAHT or inverse Haar transform to the high-frequency and low-frequency components of each attribute value based on the position information of the three-dimensional points.
[0171] Figure 23 is a block diagram of a transformation attribute information encoding unit 202, which is an example of the transformation attribute information encoding unit 202. The transformation attribute information encoding unit 202 comprises a sorting unit 211, a Haar transformation unit 212, a quantization unit 213, an inverse quantization unit 214, an inverse Haar transformation unit 215, a memory 216, and an arithmetic encoding unit 217.
[0172] The sorting unit 211 generates Morton codes using the position information of three-dimensional points and sorts the multiple three-dimensional points in Morton code order. The Haar transform unit 212 generates coding coefficients by applying the Haar transform to the attribute information. The quantization unit 213 quantizes the coding coefficients of the attribute information.
[0173] The inverse quantization unit 214 inversely quantizes the encoded coefficients after quantization. The inverse Haar transform unit 215 applies the inverse Haar transform to the encoded coefficients. The memory 216 stores the attribute information values of the decoded three-dimensional points. For example, the attribute information of the decoded three-dimensional points stored in the memory 216 may be used for predicting unencoded three-dimensional points.
[0174] The arithmetic coding unit 217 calculates ZeroCnt from the quantized coding coefficients and arithmetically codes ZeroCnt. The arithmetic coding unit 217 also arithmetically codes the non-zero coding coefficients after quantization. The arithmetic coding unit 217 may also binarize the coding coefficients before arithmetic coding. The arithmetic coding unit 217 may also generate and code various header information.
[0175] Figure 24 is a block diagram of a conversion attribute information decoding unit 204, which is an example of a conversion attribute information decoding unit 204. The conversion attribute information decoding unit 204 comprises an arithmetic decoding unit 221, an inverse quantization unit 222, an inverse Haar conversion unit 223, and a memory 224.
[0176] The arithmetic decoding unit 221 arithmetically decodes the ZeroCnt and coding coefficients contained in the bitstream. The arithmetic decoding unit 221 may also decode various header information.
[0177] The inverse quantization unit 222 inversely quantizes the arithmetic-decoded coding coefficients. The inverse Haar transform unit 223 applies the inverse Haar transform to the coding coefficients after inverse quantization. The memory 224 stores the attribute information values of the multiple decoded three-dimensional points. For example, the attribute information of the decoded three-dimensional points stored in the memory 224 may be used to predict the undecoded three-dimensional points.
[0178] [Slicing] The encoding device may divide the three-dimensional data into one or more three-dimensional data points and encode them. A three-dimensional point cloud divided into multiple parts is called a slice. A slice is a set of points that have geometry information and attribute information.
[0179] Figure 25 is a block diagram showing an example configuration of a three-dimensional data encoding device in this case. The three-dimensional data encoding device comprises a data division unit 231 and an encoding unit 232.
[0180] The data division unit 231 generates multiple divided three-dimensional data by dividing the three-dimensional data. Each divided three-dimensional data corresponds to a slice. The encoding unit 232 generates encoded data by encoding the positional information and attribute information of each of the multiple divided three-dimensional data (slices).
[0181] Figure 26 is a block diagram showing an example configuration of a three-dimensional data decoding device in this case. The three-dimensional data decoding device comprises a decoding unit 233 and a data merging unit 234. The decoding unit 233 generates multiple divided three-dimensional data by decoding encoded data. Each divided three-dimensional data includes slice position information and attribute information. The data merging unit 234 restores the three-dimensional data by merging the multiple divided three-dimensional data.
[0182] In encoding, there may or may not be dependencies between slices. If there are no dependencies, slices can be encoded or decoded independently. Therefore, processing time can be reduced by processing multiple slices in parallel. Also, the amount of processing can be reduced by partial decoding, which decodes only some of the slices.
[0183] If dependencies exist, an identifier indicating the dependency is stored in the bitstream, and encoding or decoding is performed sequentially, starting with the dependent data (the referenced data).
[0184] The number of divisions and the division method can be any method. The 3D data encoding device may determine the shape of an object and divide the point cloud for each object, or it may divide it based on the number of points included in a slice. Alternatively, the 3D data encoding device may use map information or location information to divide the point cloud based on whether or not it is included in 3D space (tile information).
[0185] Figure 27 shows the relationship between tiles and slices. As shown in Figure 27, tiles correspond to three-dimensional space, and slices correspond to divided three-dimensional point clouds. Multiple tiles may overlap. This enables parallel processing in adaptive encoding or decoding depending on the content or object, improving the flexibility of the point cloud encoding or decoding system.
[0186] [Configuration of Encoded Data] Positional and attribute information for each slice are encoded. At least a portion of the resulting encoded data is stored in the data unit's payload. A header is also added to the payload.
[0187] If multiple attribute pieces of information exist for each point, each of the multiple attribute pieces of information is stored in a data unit. Figure 28 shows an example of the structure of a bitstream (encoded data). Figure 28 shows encoded data of a point cloud of two frames with two types of attribute pieces of information. The bitstream has a geometry (position information) data unit (Geometry Data Unit: Geom) and two attribute (attribute information) data units (Attribute Data Unit: Attr(0), Attr(1)) for each slice. For example, if each point has two attribute pieces of information, color and reflectance, the encoded color data is stored in Attr(0) and the encoded reflectance data is stored in Attr(1). The header of the geometry data unit stores the slice identifier (slice_id). The header of the attribute data unit shows the slice_id of the corresponding (referenced) geometry data unit. Note that data units are sometimes called slices, and data unit headers are sometimes called slice headers.
[0188] Furthermore, metadata related to location information coding is stored in the Geometry Parameter Set (GPS). Metadata related to attribute information coding is stored in the Attribute Parameter Set (APS). Metadata common to multiple PCC frames (PCC sequences) is stored in the Sequence Parameter Set (SPS).
[0189] Each data unit and parameter set is converted to either a NAL (Network Access Layer) unit or a TLV (Type Length Value) unit, and the data stream of the unit is output.
[0190] Figure 29 is a block diagram showing an example configuration of a three-dimensional data encoding device that outputs a stream of TLV units. The three-dimensional data encoding device comprises an encoding unit 241 and a TLV storage unit 242. The encoding unit 241 generates encoded data by encoding point cloud data. The TLV storage unit 242 generates a TLV stream (a single stream of TLV units) by storing (encapsulating) the encoded data in multiple TLV units.
[0191] A unit includes a Type field indicating the data type, a Length field indicating length information, and a Value field that stores the data indicated by the Type field. Note that a unit may also be in a different format, such as one that does not include length information.
[0192] Figure 28 shows a sequence of units that store data units and parameter sets. The arrows in Figure 28 indicate dependencies related to the decoding of encoded data. The source of an arrow depends on the data at the end of the arrow, and the header of the source data shows the identifier of the data at the end of the arrow (referenced). The three-dimensional data decoding device decodes the data at the end of the arrow and uses that decoded data to decode the source data of the arrow. For example, the geometry data unit (Geom) shows the GPS ID and SPS ID corresponding to that geometry data unit. The attribute data unit (Attr) shows the APS ID corresponding to that attribute data unit.
[0193] GPS and APS may be provided one per frame. Alternatively, if the encoding scheme changes for each slice, GPS and APS may be provided for each slice. Furthermore, GPS and APS may be shared across multiple frames (sequences).
[0194] Furthermore, APS may be shared across multiple attribute information sets. The parameter set of the referenced object is sent before the referenced object.
[0195] When interframe prediction is used, or when there are dependencies between data units between frames, a Group of Frames (GOF) containing multiple frames may be constructed. A GOF is a random access unit, and the first slice of a GOF is independent of dependencies and is the slice where decoding begins. A stream may have delimiters that indicate frame boundaries or GOF boundaries, or TLV units that indicate boundaries.
[0196] Next, we will explain the structure of the encoded data and how to store the encoded data in the NAL unit.
[0197] For example, a data format is defined for each type of encoded data. Figure 30 shows an example of encoded data and a NAL unit.
[0198] For example, as shown in Figure 30, the encoded data includes a header and a payload. The encoded data may also include length information indicating the length (data volume) of the encoded data, header, or payload. The encoded data may also be in TLV format including length information. Furthermore, the encoded data does not necessarily have to include a header.
[0199] The header includes, for example, identification information to identify the data. This identification information may indicate, for example, the data type or frame number.
[0200] The header contains, for example, identification information indicating a reference relationship. This identification information is stored in the header when there is a dependency between data, and it is information used to reference the referenced data from the source. For example, the header of the referenced data contains identification information to identify that data. The header of the referenced data contains identification information indicating the referenced data.
[0201] Furthermore, if the referenced or source can be identified or derived from other information, the identifying information used to identify the data or the identifying information indicating the reference relationship may be omitted.
[0202] The three-dimensional data encoding device stores the encoded data in the payload of the NAL unit. The NAL unit header contains pcc_nal_unit_type, which is the identification information for the encoded data. Figure 31 shows an example of the semantics of pcc_nal_unit_type.
[0203] As shown in Figure 31, when pcc_codec_type is codec 1 (Codec1: first encoding method), the values of pcc_nal_unit_type from 0 to 10 are the encoded position data (Geometry), encoded attribute X data (AttributeX), encoded attribute Y data (AttributeY), position PS (Geom.PS), attribute XPS (AttriX.PS), attribute YPS (AttriY.PS), position SPS (Geometry Sequence PS), attribute XSPS (AttributeX Sequence PS), attribute YSPS (AttributeY Sequence PS), AU header (AU Header), GOF header (GOF It is assigned to the Header. Values 11 and above are also assigned to the backup of Codec 1.
[0204] The following describes modifications of this embodiment. PS has levels, such as frame-level PS, sequence-level PS, and PCC sequence-level PS. If the PCC sequence level is considered a higher level and the frame level a lower level, the following method may be used to store the parameters.
[0205] The default PS value is shown in the higher-level PS. If the value of the lower-level PS differs from the value of the higher-level PS, the PS value is shown in the lower-level PS. Alternatively, the PS value is not listed in the higher-level PS, but is listed in the lower-level PS. Alternatively, information on whether the PS value is shown in the lower-level PS, the higher-level PS, or both is shown in either the lower-level PS or the higher-level PS, or both. Alternatively, the lower-level PS may be merged with the higher-level PS. Alternatively, if the lower-level PS and the higher-level PS overlap, the 3D data encoding device may omit the transmission of one of them.
[0206] The three-dimensional data encoding device may divide the data into slices or tiles and send out the divided data. The divided data contains information for identifying the divided data, and the parameters used for decoding the divided data are included in the parameter set. In this case, pcc_nal_unit_type is defined as an identifier indicating that it is data that stores data or parameters related to tiles or slices.
[0207] [Gaussian Data] The following describes Gaussian data (Gaussian Splatting 3D data). First, we will explain the configuration of a system that encodes or decodes three-dimensional data generated using the Gaussian Splatting method.
[0208] Figure 32 shows a part of the processing in the three-dimensional data generation system shown in Figure 1. The sensor information input unit 301 and the three-dimensional data generation unit 302 shown in Figure 32 correspond, for example, to the sensor information acquisition unit 117 and the three-dimensional data generation unit 118 shown in Figure 1.
[0209] The sensor information input unit 301 acquires point cloud data (three-dimensional point cloud data) and outputs the acquired point cloud data to the three-dimensional data generation unit 302. The three-dimensional data generation unit 302 generates Gaussian data (Gaussian Splatting data) from the point cloud data and outputs the generated Gaussian data.
[0210] Specifically, the three-dimensional data generation unit 302 first generates a grid according to the density of the input point cloud data. Each point in the point cloud data is projected onto the nearest grid. At this time, attribute information such as color, reflectance, or normal associated with the point is also linked to the grid. The three-dimensional data generation unit 302 derives parameters such as the mean and variance of the Gaussian function from the information projected onto the grid.
[0211] The method for generating Gaussian data is not limited to the above. For example, Gaussian data may be generated by machine learning using point cloud data generated from multiple two-dimensional images using Structure from Motion (SfM), etc.
[0212] Gaussian data is a collection of multiple 3D Gaussian (ellipsoid) data. Each 3D Gaussian contains data such as three-dimensional point coordinates, a 3x3 covariance matrix, color, and transparency. It is also possible to represent the above data of a 3D Gaussian by converting it into components described in the PLY format.
[0213] Figure 33 shows the components of Gaussian data described in PLY format. The Gaussian data shown in Figure 33 includes Position, Orientation, Scale, SH Coefficient, and Transparency. Transparency is also called transparency, clarity, or opacity.
[0214] Position is the three-dimensional coordinate of a three-dimensional point. Scale and Orientation are parameters of the three-dimensional covariance matrix. Furthermore, the SH coefficient is the coefficient of the spherical harmonics when color information is represented using spherical harmonics.
[0215] In other words, Gaussian data includes a reference three-dimensional coordinate (position) and information associated with that three-dimensional coordinate (rotation, scale, SH coefficient, transparency) for each 3D Gaussian.
[0216] Note that the structure of Gaussian data is not limited to the above. For example, Gaussian data does not have to include a covariance matrix. For example, Gaussian data may include a position (Position) indicating the three-dimensional coordinates of a three-dimensional point, a scale (Scale) indicating the scale along each axis, a color (Color) indicating RGB, and a transmittance (Transparency).
[0217] Furthermore, Gaussian data may include multiple cubes (voxels) that divide 3D space, instead of multiple ellipsoids. Each voxel has attribute information. For example, each voxel may include a position indicating the three-dimensional coordinates of the voxel's center point, attribute information such as color, reflectivity, or material, and a scale indicating the size of the voxel.
[0218] Furthermore, the position may be expressed not in three-dimensional coordinates, but in two-dimensional point coordinates (x, y). In this case, the scale may indicate the size or shape of the ellipsoid on a two-dimensional plane. Specifically, the Gaussian data may include a position indicating the location on a two-dimensional plane, a scale vector indicating the scale (Su, Sv) along each axis, and rotation information indicating the orientation of the ellipsoid.
[0219] Note that the format for describing Gaussian data is not limited to the PLY format. For example, the SPZ format or other formats can also be used to describe Gaussian data.
[0220] Figure 34 is a block diagram showing an example of a device that generates format data from data. This device comprises an encoding unit 1143 and a formatting unit 1144.
[0221] The encoding unit 1143 encodes data consisting of moving images, audio, three-dimensional data (point cloud, mesh, 3D Gaussian splatting, NeRF), neural network models, metadata, SEI, etc., according to a predetermined encoding scheme and generates encoded data. The encoding unit 1143 outputs the generated encoded data as an encoded data bitstream to the formatting unit 1144. In addition to encoded video and audio data, the encoded data may also include metadata such as parameter sets, control information, and SEI. The encoded data may be stored in an encoding unit, which is treated as a processing unit within the encoded data bitstream.
[0222] The formatting unit 1144 formats the input encoded data according to a predetermined system format and outputs it as format data. The formatting unit 1144 multiplexes the encoded data according to, for example, a file format for storage compliant with ISOBMFF or a packet format for transmission compliant with RTP, and can store multiple types of media and related metadata, such as video, audio, three-dimensional data (point cloud, mesh, 3D Gaussian splatting, NeRF), subtitles, application data, file information, reference time information, sensor information, and camera information, in the same format data as needed. The format data may be transmitted externally via input / output means equipped with a communication interface or user interface, or it may be stored in internal memory or storage means.
[0223] Figure 35 is a block diagram showing an example of a device that restores the original data from formatted data.
[0224] The reverse formatting unit 1145 analyzes the input format data according to a predetermined system format, extracts the encoded data stored in the format data, and outputs it as encoded data. The reverse formatting unit 1145 may also extract encoded data according to formats such as ISOBMFF, MPEG-DASH, MMT, AVI, MPEG-2 TS Systems, RTP, glTF, and USD.
[0225] The decoding unit 1146 decodes the encoded data input from the inverse formatting unit 1145 according to a predetermined encoding scheme and outputs data consisting of video, audio, three-dimensional data (point cloud, mesh, 3D Gaussian splatting, NeRF), neural network models, metadata, etc. The output data may be used by applications.
[0226] Figure 36 is a conceptual diagram illustrating an example of how an encoded data bitstream is stored in a system format.
[0227] As shown in this figure, the encoded data bitstream includes not only encoded video and audio data, but also supplementary information such as parameter sets and SEI. The encoded data, parameter sets, and SEI are grouped together as encoding units and treated as NAL units or data units. Examples of these encoding units include the Video NAL unit in video encoding, the TLV unit in G-PCC, and the V3C unit for storing video-based volumetric media, but other types of units and data units may also be used. These encoding units are stored in a system format compliant with ISOBMFF or a transmission format compliant with RTP. Furthermore, the metadata (parameter sets, control information, SEI) of the encoded data described in this embodiment, a part of the metadata, the syntax structure, and the header of the encoded data may be defined as a box structure. These boxes may be contained in the Movie box "moov" or in the Media Data box "mdat". If the metadata is per frame, a new metadata track may be defined and the metadata may be stored in sample entries within the metadata track. Furthermore, the encoded video and three-dimensional data described in this embodiment may also be defined as a box structure and may be stored in an mdat box as a sample or subsample. The header portion may be stored in a moov box and the payload portion in an mdat box. In addition, the SEI described in this embodiment may also be defined as a box structure and may be contained within a moov box or an mdat box. The encoded data may be stored in units, or parts of units may be extracted and stored, or the syntax structure may be modified as needed. Note that the above is an example of storing encoded data in ISOBMFF, and the same approach can be applied when storing encoded data in other formats.
[0228] Figure 37 shows an example of the box structure of ISOBMFF.
[0229] ISOBMFF is an ISO-based media file format specified in ISO / IEC 14496-12, and is a media-independent file format standard for multiplexing and storing various media such as video, audio, and text. In ISOBMFF, a file is composed of multiple boxes, each box consisting of type, length, and data. This embodiment shows an example in which a File type box "ftyp", a Movie box "moov" that stores metadata such as control information, and a Media Data box "mdat" that stores media data such as encoded data are used. The ftyp box indicates the file brand using 4CC and shows compatibility, while the moov box contains a track box that shows media-specific information, including an hdlr box indicating the media type, an stsd box indicating decoding parameters, a tref box indicating reference relationships, and an stco box indicating the data storage location. The mdat box stores samples and subsamples of encoded data corresponding to each media track in the moov box. A sample is a unit of encoded data corresponding to an access unit or a frame at the same time, and a subsample is segmented data corresponding to a part of an access unit or frame. Note that the method of storing each media in ISOBMFF is specified separately; for example, the storage method for AVC video and HEVC video is specified in ISO / IEC 14496-15, and the storage method for three-dimensional data is specified in ISO / IEC 23090-10 and ISO / IEC 23090-18.
[0230] Gaussian data, which represents three-dimensional data using Gaussian splatting, is not limited to the format described as second-order Gaussian data, but can take on multiple formats. Examples include three-dimensional Gaussian format, two-dimensional Gaussian format, voxel splatting format, and spatiotemporal Gaussian format. The rendering unit performs rendering using a rendering method corresponding to the format of the input Gaussian data.
[0231] The format of Gaussian data is sometimes called the data structure of Gaussian data, and sometimes called the representation of Gaussian data. Furthermore, each element included in the format is sometimes called a component.
[0232] Conventionally, Gaussian data is encoded and decoded by an encoding and decoding unit using a point cloud coding scheme. In the preprocessing stage before the encoding unit, the components of the Gaussian data are converted to components of the point cloud coding scheme, and in the postprocessing stage after the decoding unit, the components of the point cloud coding scheme are converted back to components of the Gaussian data. The rendering unit takes Gaussian data with multiple representation methods as input and performs rendering using multiple rendering methods, so it is necessary to understand the representation methods of the Gaussian data.
[0233] However, if the decoding unit does not understand how the Gaussian data is represented, it cannot re-transform the components of the point cloud coding scheme to obtain the components of the original Gaussian data. Similarly, if the rendering unit does not understand how the Gaussian data is represented, it cannot process the Gaussian data properly. For example, if the rendering unit is unsure of the representation method, it cannot select a rendering method, or it may need to analyze the representation method itself.
[0234] Therefore, in this embodiment, the encoding unit generates type information indicating the representation method of Gaussian data. In addition to the type information, the encoding unit generates mapping information indicating the correspondence with the components of the point cloud coding scheme corresponding to the representation method, and conversion information used when converting from the components of the point cloud coding scheme to the components of Gaussian data. The encoding unit generates the type information, the mapping information, and the conversion information as metadata and notifies the decoding unit.
[0235] The conversion information may include, for example, format conversion information used to convert the format of Gaussian data from a first Gaussian format to a second Gaussian format. Furthermore, the conversion information may include conversion parameter information used to format the Gaussian data into data of a data type suitable for encoding or decoding.
[0236] The decoding unit decodes the received encoded data and obtains type information, mapping information, and transformation information from the metadata contained in the decoded data. Based on the mapping information and transformation information, the decoding unit re-converts the components of the decoded point cloud coding scheme to components of Gaussian data and reconstructs the Gaussian data.
[0237] The decoding unit transmits the reconstructed Gaussian data and its type information to the rendering unit. The rendering unit selects a rendering method based on the type information and renders the Gaussian data using the selected rendering method. Furthermore, based on the format conversion information, the rendering unit can switch between outputting Gaussian data expressed in a first Gaussian format, or converting the Gaussian data expressed in the first Gaussian format to second Gaussian data expressed in a second Gaussian format and outputting it, depending on the requirements of the output destination.
[0238] In another embodiment, the three-dimensional Gaussian data generation device may generate Gaussian data, generate type information indicating the representation method of the Gaussian data, and output data including the Gaussian data and type information to the rendering unit. In this case, the rendering unit determines the rendering method based on the type information contained in the input data and performs rendering according to the determined rendering method.
[0239] With the above configuration, Gaussian data in multiple formats can be encoded and decoded using a point cloud coding scheme. Furthermore, the rendering unit can support rendering in multiple formats, eliminating the need for format analysis in the rendering unit.
[0240] Although G-PCC was used as an example of a point cloud coding scheme, this method can be applied not only to G-PCC but also to other coding methods with specific format interfaces, such as volume point cloud coding schemes, volume data compression schemes, and multi-view coding schemes, and similar effects can be obtained.
[0241] Gaussian data (GS data) is data used to represent three-dimensional data using Gaussian splatting, and it contains multiple Gaussian parameters.
[0242] The Gaussian data in question can take on multiple formats depending on the arrangement and structure of the Gaussian parameters.
[0243] Figure 38 shows the structure of the 2DGS data.
[0244] The GS data in the two-dimensional Gaussian format shown in Figure 38 will be referred to as 2DGS data below. Similarly, GS data in the three-dimensional Gaussian format will be referred to as 3DGS data below. 2DGS data is GS data with two-dimensional Scale values. The elliptical shape of 2DGS data is a two-dimensional ellipse, and 2DGS data is particularly suitable for representing planes. As shown in Figure 38, 2DGS data includes Position, Orientation, Scale, SH Coefficient, and Opacity. Here, Position corresponds to positional information, Orientation and Scale may be included in the shape value, and Opacity corresponds to transparency.
[0245] Figure 39 is a diagram showing the structure of 3DVS data.
[0246] The GS data in the 3DVS (Voxel Splating) format shown in Figure 39 will be referred to as 3DVS data below. While 3DGS data contains multiple ellipsoids, 3DVS data contains multiple cubes, i.e., multiple voxels, which are divisions of three-dimensional space. While 3DGS data uses Scale and Orientation to represent ellipsoids centered on Position, 3DVS data contains multiple cubes that divide three-dimensional space centered on Position. As shown in Figure 39, the data structure of 3DVS data consists of Position, SH Coefficient, Opacity, and octree level. Here, octree level is used to represent the size of the voxel. For example, if we represent Position as an octree and let max_octree_level be the maximum number of levels, and octree level be the level from the top level, then the voxel size can be calculated as 2^(max_octree_level - octree level).
[0247] Figure 40 shows the structure of the STG data.
[0248] The GS data in STG (Space-Time Splatting) format shown in Figure 40 will be referred to as STG data below. The STG format is a format that represents the GS data of multiple frames as the GS data of one frame. The STG data shown in Figure 40 includes Position, Orientation, Scale, and Opacity, similar to 3DGS data, as well as Polynomial Trage, Polynomial Rotation, Temporal Scale, Temporal Opacity, Base color feature, View feature, and Time feature. Polynomial Trajectory shows the movement trajectory over time, Polynomial Rotation shows the rotation trajectory over time, Temporal Scale shows the time variation of the visible width of the spatiotemporal Gaussian, and Temporal Opacity shows the opacity of the feature represented by the spatiotemporal Gaussian. Additionally, Base color feature shows the time-independent base color, View feature shows the effect of line of sight direction on the radiance of the spatiotemporal Gaussian, and Time feature shows the time-dependent change in the radiance of the spatiotemporal Gaussian.
[0249] Polynomial Trajectory, Polynomial Rotation, Temporal Scale, and Temporal Opacity are the motion components of position, rotation, scale, and transparency, respectively. By using this motion information as attribute information, GS data from multiple frames can be represented in a single frame. Furthermore, Base color feature, View feature, and Time feature are parameters for indicating color information from multiple frames and multiple viewpoints, and are components similar to the SH coefficients of the spherical harmonics of multiple frames. In addition, Base color feature, View feature, and Time feature are parameters of MLP, and by using them in combination with MLP, color information for any time and any viewpoint can be output. Therefore, when using STG data, MLP configuration information may be used separately.
[0250] Figure 41 shows the input and output of the spherical harmonic region of color.
[0251] The spherical harmonic color unit 1038 expresses three-dimensional color information by representing color using spherical harmonic functions. As shown in Figure 41, the spherical harmonic color unit 1038 accepts information from an arbitrary viewpoint as input and outputs R, G, and B, which are color information as seen from that viewpoint. Therefore, the spherical harmonic color unit 1038 expresses color changes according to differences in viewpoint. Furthermore, the spherical harmonic color unit 1038 expresses color changes when the direction is changed in more detail by increasing the level of the spherical harmonic function.
[0252] Figure 42 shows the number of coefficients for each level.
[0253] A spherical harmonic function has a number of elements corresponding to the level of resolution it represents. For example, if a spherical harmonic function represents Level = 2, it has a total of 9 elements from Level 0 to Level 2, i.e., 9 SH coefficients. For example, if a spherical harmonic function represents Level = 3, it has a total of 16 elements from Level 0 to Level 3, i.e., 16 SH coefficients. As shown in Figure 42, a spherical harmonic function has 1 element at Level 0, 3 elements at Level 1, 5 elements at Level 2, and 7 elements at Level 3. Note that a spherical harmonic function may have Level 4 or higher. Furthermore, the element at Level 0 may be called the DC component, and the elements at Level 1 and above may be called the AC component. The symbols in parentheses in Figure 42 correspond to the variable names of the R component in Figure 43.
[0254] Figure 43 shows an example of the coefficients of spherical harmonics.
[0255] The GSC Spherical Harmonics Coefficient shown in Figure 43 illustrates an example of spherical harmonic coefficients. For example, the example in Figure 38 shows the spherical harmonic function of color at Level = 3, and since the three elements of color, R, G, and B, are each represented by 16 SH coefficients, there are a total of 48 elements. In the coefficient example shown in Figure 43, at Level 0, f_dc0, f_dc1, and f_dc2 are assigned to R, G, and B, respectively. In the coefficient example shown in Figure 43, at Level 1 and above, multiple f_rest values are assigned to each component of R, G, and B, depending on the level.
[0256] Furthermore, spherical harmonics may be used not only to represent color, but also to represent other attribute information such as reflectance or infrared information. In this case, the attribute information will have the SH coefficient of the spherical harmonics as an element. Also, the Level may be changed according to the attribute information or resolution.
[0257] [Rendering of Gaussian Data] Next, the rendering process of Gaussian data will be explained. Figure 44 shows the rendering process of Gaussian data. As shown in Figure 44, the rendering unit 303 generates a 3D model (three-dimensional model) by rendering the Gaussian data. This makes it possible to present the generated 3D model in applications such as 3D display devices. A 3D display device is, for example, a device that displays a stereoscopic image in space like a hologram, or a glasses-free 3D display device.
[0258] For example, the example shown in Figure 33 represents the spherical harmonics of a level 3 color, where the three elements of color (R, G, B) are each represented by 16 SH coefficients. Therefore, the spherical harmonics have 16 × 3 = 48 elements. It is also possible to define levels 4 and above.
[0259] Figure 45 shows the rendering process. As shown in Figure 45, the rendering unit 305 generates a 3D model or 2D image from a specified viewpoint based on Gaussian data and the specified viewpoint. The generated 3D model can be displayed in applications such as VR display. The generated 2D image can also be displayed in applications such as 2D image display devices.
[0260] Furthermore, other attribute information (such as reflectance or infrared information) may be represented using spherical harmonics, not just color. In that case, the Gaussian data will include the SH coefficients of the spherical harmonics for each attribute information. Also, the level may be changed depending on the attribute information or resolution.
[0261] [Gaussian Data Encoding and Decoding] Next, the encoding and decoding processes for Gaussian data will be described. Figure 46 is a block diagram of the encoding device (encoding system) according to this embodiment. This encoding device encodes and multiplexes Gaussian data. Figure 47 is a block diagram of the decoding device (decoding system) according to this embodiment. This decoding device decodes the Gaussian data and presents a 3D model or 2D image in the application. Note that the encoding and decoding devices shown in Figures 46 and 47 are included, for example, in the three-dimensional data generation system shown in Figure 1.
[0262] The encoding device shown in Figure 46 includes an encoding unit 311 and a multiplexing unit 312. The encoding unit 311 generates encoded data (bitstream) by encoding the input Gaussian data using a predetermined encoding scheme, and outputs the generated encoded data to the multiplexing unit 312.
[0263] The multiplexing unit 312 generates multiplexed data by multiplexing the input encoded data using a predetermined multiplexing method, and outputs the generated multiplexed data. This multiplexed data is stored or transmitted.
[0264] The decoding device shown in Figure 47 includes a demultiplexing unit 321, a decoding unit 322, and an application unit 323. The demultiplexing unit 321 generates encoded data by demultiplexing the input multiplexed data using a predetermined multiplexing method, and outputs the generated encoded data to the decoding unit 322.
[0265] The decoding unit 322 generates Gaussian data by decoding the input encoded data using a predetermined encoding method (decoding method), and outputs the generated Gaussian data to the application unit 323.
[0266] The application unit 323 includes an input interface unit 324, a rendering unit 325, and a presentation unit 326. The input interface unit 324 acquires user operations. For example, based on user operations, the input interface unit 324 generates viewpoint information indicating the viewpoint entered by the user.
[0267] The rendering unit 325 generates a three-dimensional model or a two-dimensional image by rendering the input Gaussian data. For example, the rendering unit 325 generates a 3D model or a 2D image viewed from a viewpoint entered by the user, indicated by the viewpoint information. The rendering unit 325 may also generate a 3D model or a 2D image viewed from a predetermined viewpoint.
[0268] The presentation unit 326 presents (displays) the three-dimensional model or two-dimensional image generated by the rendering unit 325. Whether to present a 3D model or a 2D image may be determined by, for example, the following method. For example, the rendering unit 325 first generates a three-dimensional model and generates point coordinate information, as shown in Figure 44. After viewpoint information is input, the rendering unit 325 generates a 2D image viewed from a specified viewpoint. At that time, the rendering unit 325 may also accept information specifying a region along with the specified viewpoint. In this way, by generating a 3D model first and then generating a 2D image of the specified region, the amount of processing can be reduced compared to generating a 2D image of all regions. Therefore, the rendering speed can be increased. Alternatively, whether to present a 3D display (3D model) or a 2D image may be determined according to the processing power of the device performing the rendering. For example, in the case of a device with low processing power, the device may not generate a 2D image and may present a 3D model.
[0269] Next, we will describe the process of learning and generating Gaussian data based on multiple two-dimensional images. Figure 48 shows a detailed view of the three-dimensional data generation device 380.
[0270] The three-dimensional data generation device 380 includes an SFM processing unit 381, an initialization unit 382, a Gaussian update unit 383, a two-dimensional ground truth data selection unit 384, a rendering unit 385, a loss calculation unit 386, and a Gaussian parameter optimization unit 387.
[0271] The SFM processing unit 381 executes Structure from Motion (SfM) based on the input two-dimensional images and generates point cloud data. The initialization unit 382 may use the generated point cloud data to determine the initial values of the position coordinates of the Gaussian data.
[0272] The initialization unit 382 determines initial values for other data elements of the Gaussian data in addition to initial values for the position coordinates, using a predetermined method. These other data elements include, for example, scale, orientation, SH coefficient, and opacity. This generates the initial Gaussian data.
[0273] The rendering unit 385 renders the generated Gaussian data based on multiple viewpoint information to produce multiple rendered two-dimensional images. The viewpoint information is, for example, information indicating the viewpoint corresponding to the multiple input two-dimensional images, and may be information estimated by SfM or information input from an external source. The two-dimensional ground truth data selection unit 384 selects a two-dimensional image to be used as ground truth data from among the multiple input two-dimensional images and outputs the selected two-dimensional image as ground truth data for two-dimensional images.
[0274] The loss calculation unit 386 generates error information by comparing the rendered two-dimensional images with the ground truth data of the two-dimensional images, and calculates the loss based on the generated error information. The Gaussian parameter optimization unit 387 optimizes the Gaussian data by changing the parameter values of the Gaussian data based on the loss calculated by the loss calculation unit 386. In addition to optimizing the parameters of the Gaussian data, the Gaussian parameter optimization unit 387 may, for example, add, delete, merge, and split the Gaussian data.
[0275] The Gaussian update unit 383 updates the Gaussian data based on the optimization results from the Gaussian parameter optimization unit 387. For example, the Gaussian update unit 383 may reflect the parameter update results of the Gaussian data and generate updated Gaussian data.
[0276] The three-dimensional data generation device 380 generates Gaussian data by repeatedly optimizing parameters using the Gaussian parameter optimization unit 387 and adding or deleting Gaussian data, and outputs the generated Gaussian data.
[0277] (First Embodiment) [Gaussian Data Encoding Using G-PCC] Figure 49 is a block diagram showing an example configuration of an encoding device 330 (three-dimensional data encoding device) according to this embodiment. The encoding device 330 generates a bitstream (encoded data) by encoding the first Gaussian data.
[0278] The encoding device 330 includes a first preprocessing unit 331, a second preprocessing unit 332, and a G-PCC encoding unit 333.
[0279] The first Gaussian data includes, for example, a covariance matrix. The first preprocessing unit 331 converts the first Gaussian data into second Gaussian data composed of components of a ply format. For example, the components of a ply file include three-dimensional coordinates, scale, rotation, SH coefficients of spherical harmonics, and transmittance, as shown in Figure 33.
[0280] In this example, first Gaussian data is input to the encoding device 330, and the encoding device 330 converts the first Gaussian data into second Gaussian data. However, second Gaussian data may also be input to the encoding device 330. In this case, the encoding device 330 does not need to include the first preprocessing unit 331.
[0281] The second preprocessing unit 332 converts the multiple components included in the second Gaussian data into a format that can be encoded using the encoding scheme corresponding to each component, and outputs the converted multiple components to the G-PCC encoding unit 333.
[0282] The G-PCC coding unit 333 encodes the three-dimensional coordinates using a geometry (position information) coding method (such as an octave coding method, a predictive tree coding method, or a TriSoup method) within the G-PCC coding method (Geometry-based PCC). The G-PCC coding unit 333 encodes information associated with the three-dimensional coordinates, such as rotation, scale, SH coefficient, and transmittance, using an attribute coding method (such as an LoD-based coding method (LoD attribute information coding method) or a Transform-based coding method (transformation attribute information coding method)) within the G-PCC coding method.
[0283] The G-PCC coding unit 333 includes a position information coding unit 341, a rotation coding unit 342, a scale coding unit 343, an SH coefficient coding unit 344, a transmittance coding unit 345, a metadata coding unit 346, and a multiplexing unit 347.
[0284] The position information encoding unit 341 encodes three-dimensional coordinates. These three-dimensional coordinates are reference or representative three-dimensional coordinates for the Gaussian data. For example, the three-dimensional coordinates may be the center coordinates of an ellipse that constitutes the Gaussian data, or they may be other coordinates. For example, the three-dimensional coordinates may be the origin coordinates of the grid used to generate the Gaussian data.
[0285] Furthermore, the three-dimensional coordinates are not processed by the first preprocessing unit 331, but are directly input to the second preprocessing unit 332. The second preprocessing unit 332 converts the input three-dimensional coordinates into positive integer information (three-dimensional coordinates). The scale value and offset value used during the conversion are stored in metadata such as SPS and notified to the decoding device.
[0286] The position information encoding unit 341 generates encoded data by encoding the three-dimensional coordinates output from the second preprocessing unit 332 using the G-PCC geometry encoding method. This encoded data is stored in a GDU (Geometry Data Unit) and output. The metadata necessary for decoding the GDU is stored in a GPS (Geometry Parameter Set) and output.
[0287] Furthermore, if the multiple three-dimensional coordinates of the multiple Gaussian data are sparse (density is below a predetermined threshold), the location information coding unit 341 may use a predictive tree coding scheme suitable for coding sparse three-dimensional points. Also, if the multiple three-dimensional coordinates of the multiple Gaussian data are dense (density is above a predetermined threshold), the location information coding unit 341 may use an octave tree coding scheme suitable for coding dense three-dimensional points.
[0288] The first preprocessor 331 converts the covariance matrix contained in the first Gaussian data into rotation values and scale values. The first preprocessor 331 converts the color information contained in the first Gaussian data into spherical harmonics and outputs the SH coefficients in the spherical harmonics.
[0289] The second preprocessor 332 converts the data type of each data contained in the second Gaussian data. Specifically, the second preprocessor 332 converts each data into a positive integer type in order to encode it using the G-PCC coding scheme. For example, if the data is of type float, the second preprocessor 332 converts the data into a positive integer type by performing scaling and offset processing on the data. At this time, the scale value and offset value for each attribute information used in the conversion are stored in metadata such as SPS and notified to the decoding device.
[0290] Furthermore, the second preprocessing unit 332 performs format conversion of each data and mapping processing to map each data to attribute components. For example, if the maximum number of elements (dimensions) per attribute component that can be encoded with the G-PCC attribute coding scheme is 3, the second preprocessing unit 332 converts the input components into attribute components that have three dimensions (three elements) per attribute component. For example, since Scale has three elements, it is output as a single attribute component. Orientation has four elements, so it is converted into two two-dimensional attribute components. The number of elements in the SH coefficient changes for each level. For example, SH coefficients with a level exceeding 3 are converted into multiple attribute components.
[0291] In this process, the second preprocessing unit 332 generates mapping information as metadata for each attribute piece of information, indicating which attribute component each element is mapped to.
[0292] The rotation coding unit 342, scale coding unit 343, SH coefficient coding unit 344, and transmittance coding unit 345 each generate multiple coded data by coding rotation, scale, SH coefficient, and transmittance using the attribute coding method in the G-PCC coding scheme. Each of the generated coded data is stored in an ADU (Attribute Data Unit) and output. The metadata necessary for decoding the ADU is stored in an APS (Attribute Parameter Set) and output. In addition, attribute information is coded using three-dimensional coordinates.
[0293] The metadata encoding unit 346 stores conversion information, including conversion parameters used by the first preprocessing unit 331 or the second preprocessing unit 332, in metadata such as SPS or SEI. The metadata encoding unit 346 may also encode the conversion information before storing it in the metadata. The metadata may also include information on the structure of the Gaussian data, or information indicating how the Gaussian data is transmitted using G-PCC encoding.
[0294] The multiplexing unit 347 stores the encoded data (ADU and GDU) and parameter sets (APS, GPS, and SPS) in the TLV unit and transmits them as a bitstream (encoded data). The bitstream may be multiplexed using a predetermined multiplexing scheme. The bitstream may also be formatted.
[0295] [Decoding Gaussian Data Using G-PCC] Figure 50 is a block diagram showing an example configuration of a decoding device 350 (three-dimensional data decoding device) according to this embodiment. The decoding device 350 generates first Gaussian data or second Gaussian data by decoding a bitstream (encoded data). For example, the decoding device 350 decodes a bitstream generated by the encoding device 330 shown in Figure 49.
[0296] The decoding device 350 includes a G-PCC decoding unit 351, a second post-processing unit 352, and a first post-processing unit 353.
[0297] The G-PCC decoding unit 351 generates three-dimensional coordinates, rotation, scale, SH coefficient, and transmittance by decoding the bitstream using the G-PCC coding scheme. The G-PCC decoding unit 351 comprises a demultiplexing unit 361, a position information decoding unit 362, a rotation decoding unit 363, a scale decoding unit 364, an SH coefficient decoding unit 365, a transmittance decoding unit 366, and a metadata decoding unit 367.
[0298] The demultiplexing unit 361 analyzes multiple TLV units contained in the input bitstream and generates data units of encoded data such as GDU, ADU, SPS, GPS, and APS. The position information decoding unit 362, rotation decoding unit 363, scale decoding unit 364, SH coefficient decoding unit 365, transmittance decoding unit 366, and metadata decoding unit 367 decode these data units using the information in the parameter set, with each attribute component using its respective encoding scheme.
[0299] The position information decoding unit 362 decodes three-dimensional coordinates from the GDU. The rotation decoding unit 363, scale decoding unit 364, SH coefficient decoding unit 365, and transmittance decoding unit 366 decode attribute information (rotation, scale, SH coefficient, and transmittance) from the ADU. The attribute information is decoded using three-dimensional coordinates. The metadata decoding unit 367 obtains conversion information, etc., from metadata such as SPS or SEI. The metadata decoding unit 367 may also decode the conversion information from the metadata. The metadata may also include information on the composition of the Gaussian data, or information indicating the correspondence of how the Gaussian data is transmitted using G-PCC coding.
[0300] The second post-processing unit 352 generates second Gaussian data by performing an inverse transformation on the decoded data. Here, the inverse transformation is the reverse process of the transformation process performed in the second pre-processing unit 332, and is performed based on the transformation information (transformation parameters) contained in the metadata.
[0301] The first post-processing unit 353 generates the first Gaussian data by inversely transforming the second Gaussian data. Here, the inverse transformation is the reverse process of the transformation process performed by the first pre-processing unit 331. At least one of the first Gaussian data and the second Gaussian data is output. Note that the decoding device 350 does not necessarily have to include the first post-processing unit 353.
[0302] [Mapping Process] The second preprocessing unit 332 maps the Gaussian data to the attribute components of the G-PCC. The method of this mapping and the mapping information generated at that time will be explained below.
[0303] The following examples illustrate the mapping of rotation, scale, and SH coefficient, omitting the explanation of transmittance. Similar processing can be applied when other attribute information is added.
[0304] Figure 51 shows an example of mapping multiple attribute components contained in Gaussian data to attribute components of the coding scheme G-PCC. Here, we show an example where the maximum number of dimensions (number of subcomponents) that can be coded in the coding of attribute components in G-PCC is 3.
[0305] In the following, attribute components of Gaussian data may be referred to as Gaussian components, and attribute components of G-PCC may be referred to as G-PCC components. Additionally, attribute components may sometimes be simply referred to as components.
[0306] For example, the Gaussian component of the scale has three subcomponents (B1 to B3) with three dimensions, and is mapped to a single G-PCC component that has three-dimensional subcomponents. In this case, the mapping information indicates that the identifier of the Gaussian component of the scale corresponds to the identifier of the G-PCC component.
[0307] Furthermore, the Gaussian component of rotation has four subcomponents (A1 to A4) with a dimension of 4, and cannot be mapped to a single G-PCC component that has three-dimensional subcomponents. Therefore, the four subcomponents of rotation (A1 to A4) are mapped to two G-PCC components that have two-dimensional subcomponents. In this case, the mapping information indicates that the identifier of the Gaussian component of rotation and the identifiers indicating the subcomponent numbers included in that attribute component correspond to the identifier of the G-PCC component and the identifiers indicating the subcomponent numbers included in that G-PCC component.
[0308] Since there are 16 SH coefficients for each level, corresponding to three-dimensional (RGB) elements, the SH coefficients have a total of 48 dimensions (C1 to C48). These 48 dimensions are mapped to 16 G-PCC components, each having three-dimensional subcomponents.
[0309] In Figure 51, "ID" is the attribute component ID, which is an identification number used to identify the attribute component of the encoded data. "ND" is the number of dimensions, which indicates the number of elements (number of subcomponents) per attribute component.
[0310] Furthermore, the method for partitioning and mapping Gaussian data is not limited to the examples above; any combination of mapping method and number of dimensions may be used.
[0311] The methods for dividing and mapping each component of Gaussian data are not limited to the examples above. For example, a Gaussian data component having a number of dimensions exceeding the number of dimensions that can be represented by a given attribute component may be divided into multiple attribute components and mapped. The number of dimensions or subcomponents assigned to each attribute component after division is not limited, and each dimension or subcomponent may be assigned to an attribute component in any unit. For example, if the number of dimensions that can be stored in a given attribute component is up to three, a Gaussian data component having a number of dimensions exceeding three may be divided into multiple attribute components that satisfy the dimensional constraint for each attribute component handled by the encoding scheme. In this case, the combination of the order of dimension assignment to each attribute component, the unit of assignment, and the number of dimensions assigned to each attribute component is not limited.
[0312] The second preprocessor unit 332 generates mapping information in the mapping process that indicates the G-PCC component corresponding to the Gaussian component. This mapping information is stored as metadata in the header or SEI.
[0313] The decoding device decodes mapping information from the bitstream. The second post-processing unit 352 reconstructs the Gaussian data by remapping the decoded data for each G-PCC component to Gaussian data based on the mapping information.
[0314] Figure 52 shows an example of mapping information. In Figure 52, the mapping information is stored in SEI (Gaussian Data Attribute Mapping Information SEI). The mapping information includes the number of Gaussian data components. The number of Gaussian data components indicates the number of attribute information included in the Gaussian data. For example, in the example shown in Figure 51, rotation, scale, and SH coefficient are present, and the number of Gaussian data components is 3.
[0315] Furthermore, the mapping information includes, for each Gaussian component, the Gaussian data component ID, the Gaussian data type, and the number of Gaussian data dimensions.
[0316] The Gaussian component ID is an identifier used to uniquely identify a Gaussian component. The Gaussian data type indicates the type of Gaussian component. For example, a value of 0 indicates "rotation," a value of 1 indicates "scale," a value of 2 indicates "SH coefficient," and a value of 3 indicates "transparency." Note that the combinations of values and types shown here are just examples, and the combinations are not limited to these.
[0317] The Gaussian data dimension indicates the number of dimensions (subcomponents) of the Gaussian components. For example, in the example shown in Figure 51, the Gaussian data dimension for rotation is 4, the Gaussian data dimension for scale is 3, and the Gaussian data dimension for SH coefficients is 48.
[0318] Furthermore, the mapping information includes G-PCC component IDs, G-PCC dimension IDs, and transformation information as information for each dimension of the Gaussian component. The G-PCC subcomponent ID corresponds to the "ID" shown in Figure 51. The G-PCC dimension ID is an identifier indicating the subcomponent number. For example, C1 in the SH coefficient shown in Figure 51 has a G-PCC dimension ID of 0, C2 has a G-PCC dimension ID of 1, and C3 has a G-PCC dimension ID of 2.
[0319] Thus, the mapping information shows the ID and dimension ID of the G-PCC component corresponding to each dimension of each component of the Gaussian data. For example, for subcomponent C46 shown in Figure 51, the G-PCC component ID = 18 and the G-PCC dimension ID = 2 are shown.
[0320] In Figure 52, an example of mapping information showing the subcomponents (dimensions) of the G-PCC corresponding to each subcomponent (dimension) of the Gaussian data is shown. However, mapping information showing the subcomponents of the Gaussian data corresponding to each subcomponent of the G-PCC may also be used.
[0321] Furthermore, while Figure 52 shows an example of mapping information indicating the correspondence between subcomponents of Gaussian data and subcomponents of G-PCC, if there are no constraints on the number of subcomponents in the G-PCC component, mapping information indicating the correspondence between the Gaussian component and the G-PCC component may be used. In other words, it is not necessary to show the correspondence between dimensions.
[0322] The conversion information shows the parameters (conversion parameters) used when converting the component data. Figure 53 shows an example of the configuration of the conversion information. For example, if a scale and an offset were used in the conversion, the conversion information would include the scale value and the offset value.
[0323] For example, the transformation is performed using the scale value and offset value according to the following formula.
[0324] Converted data = Original data × Scale value + Offset
[0325] The formula used for the conversion may be a predefined formula, or multiple conversion formulas may be defined and the formula used may be switched according to predetermined conditions. Furthermore, information indicating the used conversion formula may be stored in the bitstream.
[0326] In Figure 52, transformation information is provided for each subcomponent (dimension) of the Gaussian data. However, transformation information may also be provided for each component of the Gaussian data, and may indicate the components of the corresponding encoding scheme, such as the G-PCC component or the parameters used for the transformation to that dimension. In other words, the transformation method may be changed on a component-by-component basis or on a subcomponent-by-subcomponent basis.
[0327] Note that some of the syntax shown in Figure 52 may be omitted. For example, if the order of listing information for rotation, scale, and SH coefficients, and the number of dimensions are predetermined, the Gaussian data component ID, Gaussian data type, and Gaussian data dimension may be omitted.
[0328] Furthermore, each attribute piece of information is encoded based on the mapping information to the attribute components determined by the second preprocessing unit 332. Figure 54 shows an example of the structure of encoded data when Gaussian data is encoded using G-PCC encoding.
[0329] The SPS contains, for each G-PCC component, a G-PCC attribute component ID (attr_id), a G-PCC attribute type (attribute_type), and the number of dimensions of the G-PCC attribute component (num_dimension). Here, a new G-PCC attribute type may be defined to indicate that each element of the Gaussian data is encoded.
[0330] Figure 55 shows an example of G-PCC attribute types for Gaussian data. As shown in Figure 55, for example, G-PCC attribute types may be defined that represent the rotation, scale, SH coefficient, and transmittance of Gaussian data, respectively.
[0331] The ADU header is assigned a G-PCC attribute component ID (attr_id). The decryption device can use the G-PCC attribute component ID contained in the ADU header and the information contained in the SPS to identify which G-PCC attribute type each ADU belongs to.
[0332] Furthermore, mapping information (Gaussian data attribute mapping information SEI) may be transmitted as SEI or included in SPS. For example, SPS may include mapping information indicating the Gaussian component corresponding to the G-PCC component.
[0333] Figure 56 is a flowchart of the processing performed by the decoding device according to this embodiment. First, the decoding device acquires multiple TLV units from the bitstream, and acquires multiple data units (GDU, ADU) and multiple parameter sets (SPS, GPS, APS) from the multiple TLV units (S101).
[0334] Next, the decoding device decodes the three-dimensional coordinates using SPS, GPS, and GDU (S102). Next, the decoding device decodes the multiple attribute components described in SPS using APS, ADU, and the three-dimensional coordinates (S103).
[0335] Next, the decoding device obtains mapping information by analyzing the Gaussian data attribute mapping information SEI (S104). Next, the decoding device reconstructs the second Gaussian data from the decoded attribute components and mapping information (S105). Next, the decoding device obtains transformation information and generates the first Gaussian data by inversely transforming the second Gaussian data using the transformation information (S106).
[0336] [Other] For the sake of simplicity, the above explanation uses an example where the Gaussian data is in a single frame. However, this method can also be applied when there are multiple frames of Gaussian data. In this case, multi-frame coding in the G-PCC method may be used, or the interpretation method in the G-PCC method may be used.
[0337] The encoding device may also generate multiple partitioned data by dividing the Gaussian data into multiple regions and encode each of the multiple partitioned data. Alternatively, the encoding device may assign the partitioned data to tiles or slices in a G-PCC and encode them.
[0338] In the above explanation, an example was shown of encoding attribute information (scale, rotation, SH coefficient, transmittance, etc.) of the second Gaussian data. However, by using the method of this embodiment, it is also possible to encode other attribute information.
[0339] G-PCC supports the encoding of point cloud data and the partial decoding of encoded data from a specific spatial region. The metadata in G-PCC may store multiple spatial region information and identifiers of corresponding data units. The decoding device uses this metadata to perform partial decoding by identifying the identifier of the data unit corresponding to the specific spatial region to be partially encoded.
[0340] On the other hand, when encoding GS data with G-PCC, conventional point cloud-based metadata may not accurately extract the specific spatial region to be encoded, potentially degrading the decoded data. This potential degradation stems from the fact that GS data has not only reference coordinates but also extent, and GS data affecting the region to be rendered may be mapped to space outside that region.
[0341] Therefore, the encoding device divides the GS data into multiple spaces based on the reference coordinates and encodes them. In addition, the encoding device stores, as metadata for partial decoding, spatial region information corresponding to the reference coordinates, as well as information on multiple spatial regions that take into account the spread of the GS data, and identifiers of data units corresponding to the said spatial region information. The spatial region information that takes into account the spread of the GS data is information that corresponds to the spatial region that affects rendering.
[0342] The decoding device, when determining the Gaussian data to be decoded based on the region to be decoded, refers to spatial region information that takes into account the extent of the GS data. Based on the region to be rendered, the decoding device identifies the encoded data of the GS data corresponding to the spatial region that will affect rendering, and partially decodes the data unit corresponding to that encoded data. Through this partial decoding, the decoding device extracts and partially decodes the GS data that will affect rendering.
[0343] Furthermore, the decoding device can improve rendering quality by comprehensively extracting GS data that affects rendering. In particular, the decoding device can improve rendering quality at the edges of the spatial region corresponding to the edges of the region to be decoded by decoding including GS data that affects rendering in that region.
[0344] Figure 57 shows an example of a point cloud partial decoding configuration.
[0345] The encoding device may divide the point cloud frame and generate multiple sub-point clouds during encoding. The encoding device encodes the geometry and attribute information of the point cloud frame that is not subdivided, or of the subdivided sub-point clouds. The encoding device stores the encoded data in data units for geometry and attribute information, respectively. Here, the subdivided sub-point clouds, or the encoded data of those sub-point clouds, are called slices. The regions of the slices may overlap.
[0346] As shown in Figure 57, the bitstream includes SPS, GPS, APS(0), APS(1), SEI for partial decoding, multiple GDUs, and multiple ADUs. The header of the GDU, which is a geometry data unit, includes slice_id, an identifier that identifies a slice, and slice_tag, an identifier that identifies a group of slices. The decoder identifies the slice to be partially decoded by referring to these identifiers.
[0347] Figure 58 shows the relationship between tiles and slices.
[0348] In G-PCC, tiles may correspond to three-dimensional regions, typically representing rectangular prisms. Information corresponding to a tile includes tile_id (tile identification information) and bounding box information. The bounding box information includes origin coordinates and information indicating the length, width, and height. Figure 58 is schematically shown in two dimensions, but it is actually three-dimensional.
[0349] In the example shown in Figure 58, among the multiple tiles, 3D tile #1 contains slice #1 and slice #2, 3D tile #2 contains slice #3, and 3D tile #3 contains slice #4. The decoding device can identify the slices contained in a tile by identifying the tile corresponding to the spatial region to be partially decoded.
[0350] Figure 59 shows the tile inventory.
[0351] Tile information is stored in tile metadata. Tile metadata may be metadata such as tile inventory, data unit, SEI, or user data. The gpcc_tile_inventory() shown in Figure 59 includes num_tiles and tile_id, bbox_xyz, and bbox_wdh corresponding to each tile. Here, num_tiles indicates the number of tiles, tile_id indicates identification information for identifying the tile, bbox_xyz indicates the origin coordinates of the bounding box, and bbox_wdh indicates the width, depth, and height of the bounding box.
[0352] The decoding device identifies the tile corresponding to the spatial region to be partially decoded by referring to the tile information stored in the tile metadata. The decoding device then performs spatial partial decoding of the point cloud by identifying the slice or data unit corresponding to that tile.
[0353] Figure 60 shows the relationship between the area to be decoded and the tiles.
[0354] When partial decoding is used, the encoding device includes the tile inventory in the bitstream. The slice_tag included in the GDU header indicates the tile_id, which is the identifier of the tile to which the slice corresponding to that GDU belongs. When the decoding device performs partial decoding using the tile inventory, it interprets slice_tag as tile_id. Therefore, the decoding device can associate the tile regions and tile_ids included in the tile inventory with the slice_tags of the slices belonging to those regions.
[0355] In the example shown in Figure 60, the tiles intersecting the region to be decoded are 3D tile #1 and 3D tile #3. Therefore, the decoder analyzes the bitstream and extracts and decodes the GDUs whose slice_tag in the GDU header is 1 or 3. In this case, the decoder extracts and decodes slices #1 and #4. The decoder also extracts attribute information with the same slice_id and decodes that attribute information.
[0356] Figure 61 is a flowchart showing the partial decoding process.
[0357] The decryption device first decrypts the tile metadata (S501). This tile metadata corresponds to the tile inventory described in Figure 60 and includes the tile area and tile ID. The decryption device then determines the area to be decrypted (S502). The decryption device then identifies tiles that intersect or overlap with the area to be decrypted (S503). The decryption device then obtains the tile ID of the identified tiles (S504).
[0358] The decoding device then refers to the GDU header, obtains the GDU indicating the corresponding tile ID, and decodes it, leaving other GDUs undecoded (S505). In this way, the decoding device performs partial decoding by selecting GDUs based on the tile corresponding to the area to be decoded. The decoding device also decodes the ADUs corresponding to the selected GDUs as needed.
[0359] Figure 62 shows the point cloud and GS data.
[0360] The tile information for partially decoding a point cloud contains bounding box information based on the position coordinates of the point cloud. The decoding device performs partial decoding by acquiring tiles that intersect with the decoding target area based on this tile information. On the other hand, GS data includes elliptical information that combines Scale, rotation, and Opacity information. Here, Scale and rotation are included in the shape value, and Opacity corresponds to transparency. Such GS data has an extent relative to the position information and affects the rendering result through this extent. Hereinafter, the spatial region in which the GS data affects the rendering result will be called the influence range of the GS data. Therefore, the influence range of the GS data may exceed the region of the bounding box based on the position information of the GS data. More specifically, GS data outside the bounding box region based on the position information of the GS data may affect the data representation of positions within that bounding box region.
[0361] Figure 63 shows a diagram of conventional tile information.
[0362] As shown in Figure 63, in conventional tile information based on the position coordinates of a point cloud, the decoding device performs partial decoding corresponding to the decoding target area by acquiring tiles that intersect the decoding target area. Conventional tile information is based on bounding box information based on the position coordinates of a point cloud, so the decoding device identifies tiles that intersect the decoding target area based on this bounding box information. The tiles shown with diagonal hatching in Figure 63 indicate tiles that intersect the decoding target area.
[0363] Figure 64 shows tiles that may be missed during acquisition.
[0364] As shown in Figure 64, when GS data has spread relative to positional information, bounding box information based on point cloud position coordinates may require tiles that do not intersect the target region for decoding. The tiles shown by dot hatching in Figure 64 are necessary for decoding the target region but do not intersect it. Therefore, tile information based on point cloud position coordinates may not correctly represent the target region, and it may not be possible to obtain the tiles necessary for the target region. Consequently, the decoding device may not be able to obtain all the GS data that affects rendering, and may not be able to perform partial decoding of high-quality GS data.
[0365] For example, in the example shown in Figure 64, tiles that do not intersect the region to be decoded occur, and therefore the decoding device cannot acquire these tiles. Consequently, the decoding device may not be able to acquire GS data that affects the edges of the region to be decoded, and may not be able to perform high-quality partial decoding of those edges.
[0366] Figure 65 shows the configuration for partial decoding of GS data.
[0367] The system shown in Figure 65 comprises a GS data partitioning unit 501, an encoding unit 502, a decoding unit 503, and a rendering unit 504. The GS data partitioning unit 501 partitions the input GS data into tiles. The GS data partitioning unit 501 generates metadata for the influence range of the GS data for each tile and outputs the generated metadata to the encoding unit 502. The encoding unit 502 encodes the GS data and metadata and generates encoded data. The decoding unit 503 decodes some of the GS data from the encoded data. The rendering unit 504 performs rendering using some of the GS data decoded by the decoding unit 503.
[0368] Figure 66 is a flowchart showing the processing of the encoding unit.
[0369] The encoding unit 502 first acquires GS data and divides the GS data into tiles (S511). At this time, the encoding unit 502 determines whether the position coordinates of the GS data are included in the tiles based on the tile information and performs tile division. That is, the encoding unit 502 uses the same division method as point clouds to divide the GS data so that the position coordinates of the GS data are included in the tiles. The encoding unit 502 may treat the divided GS data as divided GS data, and may treat the divided GS data or the encoded data of the divided GS data as slices. Next, the encoding unit 502 generates metadata of the influence range of the GS data for each tile (S512). Finally, the encoding unit 502 encodes the GS data and metadata (S513).
[0370] Figure 67 shows the scope of influence of GS data.
[0371] As shown in Figure 67, the solid line indicates the bounding box based on the position coordinates of the point cloud. On the other hand, the dashed line indicates the bounding box showing the influence range of the Gaussian data. Here, the influence range of the Gaussian data is the spatial region in which the Gaussian data affects the rendering result. If the position information of the GS data is included in the tile, the encoding unit 502 derives the influence range of the GS data using the position information, scale value, and rotation value of the GS data. For example, the encoding unit 502 may define the influence range as a range that includes the shape of an ellipse. The encoding unit 502 may also define the influence range as an elliptical region with a predetermined transparency range using Opacity.
[0372] Figure 68 shows the scope of influence of tiles and GS data.
[0373] The encoding unit 502 derives the influence range for all GS data contained in the tile. The encoding unit 502 generates bounding box information that shows the influence range of the GS data contained in each tile. Note that the encoding unit 502 may generate region information other than a rectangular bounding box, not limited to rectangular bounding box information. The thick lines in Figure 68 show the influence range of the Gaussian data contained in the tile. The diagonal hatching in Figure 68 shows tiles that intersect the decoding target region. The dot hatching in Figure 68 shows tiles that are necessary for decoding the decoding target region but do not intersect the decoding target region. Therefore, the encoding unit 502 generates information that includes the influence range of the Gaussian data, rather than tile information based on the position coordinates of the GS data. The decoding device refers to this information to obtain tiles that are necessary for decoding the decoding target region but do not intersect the decoding target region.
[0374] Figure 69 shows the tile inventory.
[0375] The encoding unit 502 generates metadata indicating the influence range of the GS data for each tile. The gs_tile_inventory() shown in Figure 69 includes num_tiles and tile_id, 3dgs_bbox_xyz, and 3dgs_bbox_wdh corresponding to each tile. Here, num_tiles indicates the number of tiles, tile_id indicates the tile identification information, 3dgs_bbox_xyz indicates the origin coordinates of the bounding box indicating the influence range of the GS data, and 3dgs_bbox_wdh indicates the width, depth, and height of the bounding box indicating the influence range of the GS data. Note that the syntax description may be omitted. In this case, the decoding device determines that the order in which the data is described is the tile ID.
[0376] Figure 70 shows the relationship between the rendering area and the tiles.
[0377] When decoding GS data, the decoding device decodes metadata indicating the scope of influence of the GS data contained in each tile. Next, the decoding device determines the rendering area. The decoding device identifies the tiles to be decoded by identifying the tiles where the scope of influence of the GS data intersects with the rendering area.
[0378] As shown in Figure 70, diagonal hatching indicates tiles that intersect the rendering area. Dot hatching in Figure 70 indicates tiles that are necessary for decoding the rendering area but do not intersect the rendering area. The thick lines in Figure 70 indicate the influence range of the Gaussian data contained in the tile. The decoding device determines the tiles where the rendering area and the influence range of the GS data intersect and obtains the tile ID of those tiles.
[0379] The decryption device then refers to the GDU header. If 3dgs_slice_tag matches the corresponding tile ID, the decryption device retrieves and decrypts the GDU. The decryption device then retrieves and decrypts the ADU that has the same slice_id as the GDU. In this way, the decryption device performs partial decryption of the GS data.
[0380] Figure 71 is a flowchart showing the processing of the decoding unit.
[0381] The decoding device first decodes the metadata of the tiles within the GS influence range (S521). Next, the decoding device determines the rendering target area (S522). Next, the decoding device identifies the tiles where the rendering target area and the GS data influence range intersect (S523). Next, the decoding device obtains the tile ID of the identified tile (S524).
[0382] The decoding device then refers to the GDU header, obtains and decodes the GDU of the corresponding tile ID, and does not decode other GDUs (S525). The decoding device may, if necessary, decode ADUs that have the same slice_id as the GDU. In this way, the decoding device performs partial decoding of the GS data by obtaining not only tiles that intersect the rendering target area, but also tiles necessary for decoding the rendering target area based on the influence range of the GS data.
[0383] The decoding device may calculate the amount of overlap between the area indicated by the region information corresponding to each of the multiple tiles included in the candidate tile group and the rendering target area. Based on the calculated amount of overlap, the decoding device may select tiles with higher priority from the candidate tile group. For example, the decoding device may determine that tiles with a larger amount of overlap have a higher priority. This allows the decoding device to prioritize the use of tiles that contribute significantly to the rendering target area within the candidate tile group for partial decoding.
[0384] Figure 72 shows the offset information and difference information.
[0385] In the example shown in Figure 72, the metadata includes information indicating the region for each tile, and region information indicating the scope of influence of the GS data. The region information for each tile includes bbox_xyz and bbox_wdh. Here, bbox_xyz indicates the three-dimensional coordinates of the origin of the tile's region, and bbox_wdh indicates the width, depth, and height of the tile's region.
[0386] The region information indicating the influence range of the GS data may include origin_offset_xyz and wdh_offset_xyz. Here, origin_offset_xyz is information that indicates the origin of the region indicating the influence range of the GS data as an offset position relative to the origin of the tile region. wdh_offset_xyz is information that indicates the range of the region indicating the influence range of the GS data as a difference relative to the width, depth, and height of the tile region.
[0387] The decoding device derives region information indicating the influence range of the GS data based on the region information for each tile and the difference information of the region information indicating the influence range of the GS data. Note that the method for deriving the offset position and difference, as well as the reference value of the difference, are not limited to these methods and other methods may be used. Furthermore, the encoding device may store absolute coordinates instead of difference information.
[0388] Figure 73 shows another example of syntax.
[0389] As shown in Figure 73, gs_tile_inventory() includes num_tiles and the corresponding tiles, tile_id, bbox_xyz, bbox_wdh, origin_offset_flag, and wdh_offset_flag for each tile. origin_offset_flag indicates whether or not origin_offset_xyz is included. wdh_offset_flag indicates whether or not wdh_offset_xyz is included. As shown in Figure 73, if origin_offset_flag is true, gs_tile_inventory() further includes origin_offset_xyz. If wdh_offset_flag is true, then gs_tile_inventory() further includes wdh_offset_xyz.
[0390] Furthermore, the encoding device is not limited to storing area information indicating the scope of influence of the GS data in each tile. For example, the encoding device may place a value common to all tiles outside the num_tiles loop. In this case, for example, the encoding device may set the maximum value for all tiles. This increases the scope of influence of the tile, but reduces the amount of syntax information.
[0391] Figure 74 shows an example of using scale values.
[0392] In the example shown in Figure 74, the metadata may include the maximum scale value of the GS data contained in the tile as region information indicating the range of influence of the GS data. The decoding device derives the range of influence of the GS data based on the region information for each tile and the maximum scale value of the GS data contained in the tile. Note that the metadata may indicate the maximum number of bits of the scale value instead of the maximum scale value.
[0393] The metadata of the encoded data described in this embodiment may be included in the parameter set, such as SPS, control information, or SEI. Furthermore, a portion of the metadata, the syntax structure, or the header of the encoded data may be stored in a box structure within the ISOBMFF file. The boxes may be contained within either moov or mdat.
[0394] The representation_type, which is information regarding the format of the GS data, may be shown in the track box in moov, or in the media type in the track box, such as hdlr, stsd, or tref. The GS data may also be stored in mdat and associated with information regarding the format of the GS data stored in mdat.
[0395] Although G-PCC was used as an example, the encoding method is not limited to G-PCC. The encoding method may be an encoding method with an interface for a specific format, in particular, V-PCC, V-DMC, MIV, or V3C schemes that use video encoding such as HEVC or VVC.
[0396] In this embodiment, the region information indicating the range of Gaussian data means information that represents the spatial range that indicates the influence each Gaussian data, i.e., GS data, has on rendering. For example, the region information indicating the range of Gaussian data may be calculated by scaling or deforming the shape of the basic area of the tile based on the basic bounding box information of each tile, bbox_xyz and bbox_wdh, and based on parameters such as position information, scale value, rotation value, and transparency of the GS data contained within the tile, but is not limited to this.
[0397] The region information indicating the range of Gaussian data may be represented as expanded region information or as a bounding box for the Gaussian data, but is not limited to these. In this embodiment, the region information indicating the range of Gaussian data is typically the shape of a box, i.e., a cube or rectangular prism, but is not limited to this. For example, the region information indicating the range of Gaussian data may be defined as the region of an ellipsoid. In this case, the encoding device calculates the shape of an ellipse or ellipsoid based on the scale value and rotation value of each Gaussian data, with the center coordinates as the starting point.
[0398] Furthermore, the region information indicating the range of Gaussian data may be defined as a polygonal or polyhedronal region. In this case, the encoding device may determine the convex or non-convex shape of the data point cloud according to the distribution of GS data within the tile, and define the region information as a polygon in two dimensions and a polyhedron in three dimensions. In addition, the region information indicating the range of Gaussian data may be defined as an contour line region or a contour line region. In this case, the encoding device extracts the portion of the GS data where the value exceeds a threshold, and defines the region information as the region surrounding that portion. This makes it possible to clearly indicate the region where the influence of Gaussian exceeds a certain value.
[0399] Furthermore, region information indicating the range of Gaussian data may be defined by a spline curve or a freeform surface. In this case, the encoding device may approximate the region for more complex GS data distributions using a spline curve, a freeform surface, or a similar curve or surface. Therefore, the encoding device may represent nonlinear and flexible shapes.
[0400] [Encoding Device] Figure 75 is a diagram showing an example configuration of the encoding device 1900. Figure 76 is a flowchart showing an example of an encoding method performed by the encoding device 1900.
[0401] The encoding device 1900 includes a circuit 1901 and a memory 1902. The circuit 1901 executes the processes shown in Figure 76 by running a program stored in the memory 1902. The memory 1902 stores Gaussian group data, region information, bitstream, and various work information that the circuit 1901 references.
[0402] Circuit 1901 first encodes Gaussian group data (S1901). Here, Gaussian group data includes one or more Gaussian data points. Next, circuit 1901 generates region information indicating the range of one or more Gaussian data points (S1902). This region information is generated based on the position information and shape values of one or more Gaussian data points. Finally, circuit 1901 generates a bitstream containing the encoded Gaussian group data and region information (S1903). As a result, circuit 1901 can handle the encoded Gaussian group data in association with the range information generated based on the position information and shape values of the Gaussian data points. Consequently, the decoding device can select the necessary parts during decoding and perform partial decoding, decoding only a portion of the Gaussian group data, thereby reducing the processing load on the decoding side.
[0403] The region information may include bounding box information based on the position information and shape values of one or more Gaussian data. In this case, the circuit 1901 can represent the range based on the position information and shape values of the Gaussian data as bounding box information. The shape values may include at least one of the scale value and rotation value of one or more Gaussian data. This allows the circuit 1901 to reflect at least one of the size and orientation of the Gaussian data in the region information. Furthermore, the bounding box information may be information based on the position information, scale value, rotation value, and transparency of one or more Gaussian data. This allows the circuit 1901 to represent the range of the Gaussian data using information based on the position information, scale value, rotation value, and transparency.
[0404] Circuit 1901 may include in the bitstream, for each of a plurality of tiles, tile identification information indicating the tile, and region information indicating the range of one or more Gaussian data from among the one or more Gaussian data included in the tile. In this way, circuit 1901 can include in the bitstream information indicating the tile and information indicating the range of the Gaussian data included in that tile in association with each other. In this case, the bounding box information included in the region information corresponding to each tile may include information indicating the origin coordinates, as well as information indicating the width, depth, and height. As a result, circuit 1901 can represent the range of the Gaussian data corresponding to each tile as origin coordinates and dimensions in each direction. Therefore, circuit 1901 can treat the position and extent of the range of the Gaussian data corresponding to each tile as coordinate information.
[0405] Furthermore, the bitstream may include offset information relative to the origin of bounding box information containing region information indicating the range of one or more Gaussian data contained in each tile, and at least one of the difference information for at least one of the width, depth, and height of the bounding box information. Therefore, the circuit 1901 can represent the difference in range for each tile as at least one of the offset relative to the origin and the difference for each directional dimension. As a result, the decoder can determine the range to be used for decoding while treating the range information for each tile as a difference.
[0406] Circuit 1901 may include a geometry data unit in the bitstream that corresponds to each of a plurality of tiles. In this case, the header of the geometry data unit may include slice tag information indicating the tile to which the geometry data unit corresponds. This allows the decoder to determine the correspondence between the tile and the geometry data unit from the header information of the geometry data unit. Furthermore, circuit 1901 may include an attribute data unit in the bitstream that corresponds to the geometry data unit. This attribute data unit may have the same slice identification information as the geometry data unit. In this way, circuit 1901 can associate the geometry data unit and the attribute data unit based on the same slice identification information. As a result, the decoder can use the attribute data unit that corresponds to the acquired geometry data unit.
[0407] [Decryption Device] Figure 77 is a diagram showing an example of the configuration of the decoding device 1910. Figure 78 is a flowchart showing an example of a decoding method performed by the decoding device 1910.
[0408] The decoding device 1910 comprises a circuit 1911 and a memory 1912. The circuit 1911 executes the processes shown in Figure 78 by running a program stored in the memory 1912. The memory 1912 stores the bitstream referenced by the circuit 1911, the rendering target area, area information, candidate tile group, and the Gaussian data to be decoded.
[0409] Circuit 1911 first acquires a bitstream (S1911). This bitstream includes encoded data of a Gaussian group of data containing one or more Gaussian data, and region information indicating the range of one or more Gaussian data. This region information is generated based on the position information and shape values of one or more Gaussian data. Next, circuit 1911 decodes the encoded data contained in the bitstream (S1913). As a result, circuit 1911 can acquire both the encoded Gaussian group data and the region information generated based on the position information and shape values of the Gaussian data from the same bitstream. Therefore, when decoding the encoded data, circuit 1911 can acquire the region information indicating the range of the Gaussian data as reference information.
[0410] The region information may include bounding box information based on the positional information and shape values of one or more Gaussian data. Therefore, circuit 1911 can acquire the range based on the positional information and shape values of the Gaussian data as bounding box information. Circuit 1911 may further determine the Gaussian data to be decoded based on the region information and the rendering target region (S1912), and decode the Gaussian data to be decoded (S1913). In this way, circuit 1911 can determine the Gaussian data to be decoded based on the relationship between the rendering target region and the region information. As a result, circuit 1911 can perform partial decoding on the Gaussian data related to the necessary parts, thereby reducing the processing load on the decoding side.
[0411] The shape value may include at least one of the scale value and rotation value of one or more Gaussian data. Therefore, the circuit 1911 can use region information that reflects at least one of the size and orientation of the Gaussian data when determining the data to be decoded. Furthermore, the bounding box information may be information based on the position information, scale value, rotation value, and transparency of one or more Gaussian data. As a result, the circuit 1911 can determine the data to be decoded using bounding box information based on the position information, scale value, rotation value, and transparency.
[0412] Circuit 1911 may further determine the Gaussian data to be decoded based on the region information and the rendering target region, and may refer to tile-level region information when decoding the Gaussian data to be decoded. Specifically, the bitstream may include, for each of a plurality of tiles, tile identification information indicating the tile, and region information indicating the range of one or more Gaussian data included in the tile from one or more Gaussian data. In this way, circuit 1911 can obtain tile identification information and region information indicating the range of Gaussian data included in that tile from the bitstream. When determining the Gaussian data to be decoded, circuit 1911 may refer to the region information associated with the tile identification information. As a result, circuit 1911 can determine the Gaussian data to be decoded by referring to the region information associated with the tile identification information.
[0413] The bounding box information contained in the region information corresponding to each tile may include information indicating the origin coordinates, as well as information indicating the width, depth, and height. According to this, circuit 1911 can use information indicating the range of the Gaussian data corresponding to each tile, expressed as the origin coordinates and dimensions in each direction. Therefore, circuit 1911 can treat the position and extent of the Gaussian data range corresponding to each tile as coordinate information and select the tile or Gaussian data to be used for decoding. Furthermore, the bitstream may include offset information relative to the origin of the bounding box information contained in the region information indicating the range of one or more Gaussian data contained in each tile, and at least one of the difference information for at least one of the width, depth, and height of the said bounding box information. In this case, circuit 1911 may determine the Gaussian data to be decoded based on the bounding box information based on at least one of the offset information and the difference information, and the rendering target area. Therefore, circuit 1911 can determine the target to be used for partial decoding depending on the relationship between the bounding box information and the rendering target area.
[0414] The bitstream may include geometry data units corresponding to each of multiple tiles. Circuit 1911 may obtain a geometry data unit corresponding to the tile containing the Gaussian data to be decoded by referring to the slice tag information contained in the header of the geometry data unit. This allows circuit 1911 to perform partial decoding using the geometry data corresponding to the required tile. The bitstream may further include attribute data units corresponding to the geometry data units. Circuit 1911 may obtain and decode an attribute data unit having the same slice identification information as the geometry data unit. In this way, circuit 1911 can obtain and decode an attribute data unit corresponding to the obtained geometry data unit based on the same slice identification information.
[0415] When determining the Gaussian data to be decoded, circuit 1911 may identify tiles that affect the rendering target area based on region information. This allows circuit 1911 to determine the Gaussian data to be decoded by targeting tiles that affect the rendering target area. Specifically, circuit 1911 may refer to the region information corresponding to each of the multiple tiles included in the bitstream and extract a group of tiles that overlap with the rendering target area as a group of candidate tiles. Therefore, circuit 1911 can determine the target for decoding from the group of candidate tiles and narrow down the target to be handled on the decoding side. Furthermore, circuit 1911 may select tiles with higher priority from the group of candidate tiles based on the amount of overlap between the range indicated by the region information and the rendering target area. As a result, circuit 1911 can determine which tiles from the group of candidate tiles are preferred for partial decoding.
[0416] When determining the Gaussian data to be decoded, circuit 1911 may calculate bounding box information indicating the range of one or more Gaussian data by referring to at least one of the offset information and difference information contained in the bitstream. Based on the calculated bounding box information, circuit 1911 may determine the target to be used for partial decoding. In this way, circuit 1911 can calculate bounding box information indicating the range of Gaussian data by referring to at least one of the offset information and difference information.
[0417] The above describes the encoding device, decoding device, etc., according to embodiments and modifications of the present disclosure, but the present disclosure is not limited to these embodiments.
[0418] Furthermore, each processing unit included in the encoding device and decoding device, etc., according to the above embodiment is typically implemented as an LSI, which is an integrated circuit. These may be individually integrated into a single chip, or some or all of them may be integrated into a single chip.
[0419] Furthermore, integrated circuit implementation is not limited to LSIs; it may also be achieved using dedicated circuits or general-purpose processors. Alternatively, an FPGA (Field Programmable Gate Array), which can be programmed after LSI manufacturing, or a reconfigurable processor capable of reconfiguring the connections and settings of circuit cells within the LSI, may be used.
[0420] Furthermore, in each of the above embodiments, each component may be implemented by being composed of dedicated hardware or 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 processor reading and executing a software program recorded on a recording medium such as a hard disk or semiconductor memory.
[0421] Furthermore, this disclosure may be implemented as an encoding method (three-dimensional data encoding method) or a decoding method (three-dimensional data decoding method), etc., performed by an encoding device (three-dimensional data encoding device) and a decoding device (three-dimensional data decoding device), etc.
[0422] Furthermore, this disclosure may be implemented as a program that causes a computer, processor, or device to execute the above-described encoding or decoding method. Alternatively, this disclosure may be implemented as a bitstream generated by the above-described encoding method. Furthermore, this disclosure may be implemented as a recording medium on which the program or the bitstream is recorded. For example, this disclosure may be implemented as a non-temporary, computer-readable recording medium on which the program or the bitstream is recorded.
[0423] Furthermore, the division of functional blocks in the block diagram is just one example; multiple functional blocks can be implemented as a single functional block, a single functional block can be divided into multiple parts, or some functions can be moved to other functional blocks. In addition, the functions of multiple functional blocks with similar functions can be processed in parallel or time-sharing by a single piece of hardware or software.
[0424] Furthermore, the order in which each step in the flowchart is performed is illustrative for the purpose of specifically illustrating this disclosure, and may be in a different order. Also, some of the above steps may be performed simultaneously (in parallel) with other steps.
[0425] Although one or more embodiments of encoding and decoding devices, etc., have been described above based on embodiments, this disclosure is not limited to these embodiments. Without departing from the spirit of this disclosure, various modifications that a person skilled in the art could conceive of are applied to these embodiments, and forms constructed by combining components from different embodiments may also be included within the scope of one or more embodiments.
[0426] This disclosure is applicable to encoding and decoding devices.
[0427] 101 Three-dimensional data encoding system 102 Three-dimensional data decoding system 103 Sensor terminal 104 External connection unit 111 Three-dimensional data generation system 112 Presentation unit 113 Encoding unit 114 Multiplexing unit 115 Input / output unit 116 Control unit 117 Sensor information acquisition unit 118 Three-dimensional data generation unit 121 Sensor information acquisition unit 122 Input / output unit 123 Demultiplexing unit 124 Decoding unit 125 Presentation unit 126 User interface 127 Control unit 130 First encoding unit 131 Location information encoding unit 132 Attribute information encoding unit 133 Additional information encoding unit 134 Multiplexing unit 140 First decoding unit 141 Demultiplexing unit 142 Location information decoding unit 143 Attribute information decoding unit 144 Additional information decoding unit 150 Second encoding unit 151 Additional Information Generation Unit 152 Position Image Generation Unit 153 Attribute Image Generation Unit 154 Video Coding Unit 155 Additional Information Coding Unit 156 Multiplexing Unit 160 Second Decoding Unit 161 Demultiplexing Unit 162 Video Decoding Unit 163 Additional Information Decoding Unit 164 Position Information Generation Unit 165 Attribute Information Generation Unit 171 Octane Tree Coding Unit 172 Prediction Tree Coding Unit 173 Octane Tree Decoding Unit 174 Prediction Tree Decoding Unit 181 Octane Tree Generation Unit 182 Geometric Information Calculation Unit 183 Coding Table Selection Unit 184 Entropy Coding Unit 191 Octane Tree Generation Unit 192 Geometric Information Calculation Unit 193 Coding Table Selection Unit 194 Entropy Decoding Unit 201 LoD Attribute Information Coding Unit 202 Transformation Attribute Information Coding Unit 203 LoD attribute information decoding unit 204 Transform attribute information decoding unit 211 Sorting unit 212 Haar transformation unit 213 Quantization unit 214 Inverse quantization unit 215 Inverse Haar transformation unit 216 Memory 217 Arithmetic coding unit 221 Arithmetic decoding unit 222 Inverse quantization unit 223 Inverse Haar transformation unit 224 Memory 231 Data splitting unit 232 Coding unit 233 Decoding unit 234 Data merging unit 241 Coding unit 242 TLV storage unit 301 Sensor information input unit 302 Three-dimensional data generation unit 303 Rendering unit 305 Rendering unit 311 Coding unit 312 Multiplexing unit 321 Inverse multiplexing unit 322 Decoding unit 323 Application unit 324 Input interface unit 325 Rendering unit 326 Presentation section330 Encoding device 331 First preprocessing unit 332 Second preprocessing unit 333 G-PCC encoding unit 341 Position information encoding unit 342 Rotation encoding unit 343 Scale encoding unit 344 SH coefficient encoding unit 345 Transparency encoding unit 346 Metadata encoding unit 347 Multiplexing unit 350 Decoding device 351 G-PCC decoding unit 352 Second postprocessing unit 353 First postprocessing unit 361 Demultiplexing unit 362 Position information decoding unit 363 Rotation decoding unit 364 Scale decoding unit 365 SH coefficient decoding unit 366 Transparency decoding unit 367 Metadata decoding unit 380 Three-dimensional data generation device 381 SFM processing unit 382 Initialization unit 383 Gaussian update unit 384 Two-dimensional ground truth data selection unit 385 Rendering unit 386 Loss calculation unit 387 Gaussian parameter optimization unit 501 GS data partitioning unit 502 Encoding unit 503 Decoding unit 504 Rendering unit 1038 Spherical harmonic color unit 1143 Encoding unit 1144 Formatting unit 1145 Inverse formatting unit 1146 Decoding unit 1900 Encoding device 1901 Circuit 1902 Memory 1910 Decoding device 1911 Circuit 1912 Memory
Claims
1. An encoding method performed by an encoding device, comprising: encoding a group of Gaussian data including one or more Gaussian data; generating region information indicating the range of the one or more Gaussian data; generating a bitstream including the encoded group of Gaussian data and the region information, wherein the region information is generated based on the positional information and shape values of the one or more Gaussian data.
2. The encoding method according to claim 1, wherein the region information includes bounding box information based on the positional information and shape values of the one or more Gaussian data.
3. The encoding method according to claim 1, wherein the shape value includes at least one of the scale value and rotation value of the one or more Gaussian data.
4. The encoding method according to claim 3, wherein the bounding box information based on the position information and shape values of the one or more Gaussian data included in the region information is information based on the position information, scale value, rotation value and transparency of the one or more Gaussian data.
5. The encoding method according to any one of claims 1 to 4, wherein the bitstream includes, for each of a plurality of tiles, tile identification information indicating the tile, and region information indicating the range of one or more Gaussian data included in the tile from among the one or more Gaussian data.
6. The encoding method according to claim 5, wherein the bounding box information based on the positional information and shape values of the one or more Gaussian data included in the region information corresponding to each of the plurality of tiles includes information indicating the origin coordinates, and information indicating the width, depth, and height.
7. The encoding method according to claim 5, wherein the bitstream includes, for each of the plurality of tiles, offset information with respect to the origin of bounding box information based on the position information and shape values of the one or more Gaussian data included in the region information indicating the range of one or more Gaussian data contained in the tile, and at least one of the width, depth, and height of the bounding box information.
8. The encoding method according to claim 5, wherein the bitstream includes a geometry data unit corresponding to each of the plurality of tiles, and the header of the geometry data unit includes slice tag information indicating the tile to which the geometry data unit corresponds.
9. The encoding method according to claim 8, wherein the bitstream further includes an attribute data unit corresponding to the geometry data unit, and the attribute data unit has the same slice identification information as the geometry data unit.
10. A decoding method performed by a decoding device, comprising: acquiring a bitstream including encoded data of a Gaussian group of data containing one or more Gaussian data and region information indicating the range of the one or more Gaussian data; decoding the encoded data contained in the bitstream; and the region information being generated based on the positional information and shape values of the one or more Gaussian data.
11. The decoding method according to claim 10, wherein the region information includes bounding box information based on the positional information and shape values of the one or more Gaussian data.
12. The decoding method according to claim 11, further comprising determining the Gaussian data to be decoded based on the region information and the rendering target region, and decoding the Gaussian data to be decoded.
13. The decoding method according to claim 11, wherein the shape value includes at least one of the scale value and rotation value of the one or more Gaussian data.
14. The decoding method according to claim 13, wherein the bounding box information is information based on the position information, scale value, rotation value and transparency of one or more Gaussian data.
15. A decoding method according to any one of claims 10 to 14, further comprising determining the Gaussian data to be decoded based on the region information and the rendering target region, decoding the Gaussian data to be decoded, and the bitstream including, for each of a plurality of tiles, tile identification information indicating the tile, and the region information indicating the range of one or more Gaussian data included in the tile from the one or more Gaussian data.
16. The decoding method according to claim 15, wherein the determination of the Gaussian data to be decoded is performed by referring to the region information associated with the tile identification information.
17. The decoding method according to claim 15, wherein the bounding box information based on the positional information and shape values of the one or more Gaussian data contained in the region information corresponding to each of the plurality of tiles includes information indicating the origin coordinates, and information indicating the width, depth, and height.
18. The decoding method according to claim 15, wherein the bitstream includes, for each of the plurality of tiles, offset information with respect to the origin of bounding box information based on position information and shape values of the one or more Gaussian data included in the region information indicating the range of one or more Gaussian data included in the tile, and at least one of the width, depth and height of the bounding box information, and the determination of the Gaussian data to be decoded is performed based on the bounding box information based on at least one of the offset information and the difference information and the rendering target region.
19. The decoding method according to claim 15, wherein the bitstream includes a geometry data unit corresponding to each of the plurality of tiles, and the decoding includes obtaining the geometry data unit corresponding to the tile containing the Gaussian data to be decoded by referring to slice tag information contained in the header of the geometry data unit.
20. The decoding method according to claim 19, wherein the bitstream further includes an attribute data unit corresponding to the geometry data unit, and the decoding further comprises obtaining and decoding the attribute data unit having the same slice identification information as the geometry data unit.
21. The decoding method according to claim 15, wherein the determination of the Gaussian data to be decoded includes identifying tiles that affect the rendering region based on the region information.
22. The decoding method according to claim 21, wherein the identification of the tile includes referring to the region information corresponding to each of the plurality of tiles included in the bitstream and extracting a group of tiles that overlap with the rendering target region as a group of candidate tiles.
23. The decoding method according to claim 22, further comprising selecting a tile with a high priority from the candidate tile group based on the amount of overlap between the area indicated by the area information and the rendering target area.
24. The decoding method according to claim 18, further comprising determining the Gaussian data to be decoded by calculating bounding box information indicating the range of one or more Gaussian data by referring to at least one of the offset information with respect to the origin of the bounding box information and the difference information with respect to at least one of the width, depth, and height of the bounding box information, which are included in the bitstream.
25. An encoding device comprising a circuit and a memory connected to the circuit, wherein the circuit, in operation, encodes a group of Gaussian data including one or more Gaussian data, generates region information indicating the range of the one or more Gaussian data, generates a bitstream including the encoded group of Gaussian data and the region information, and the region information is generated based on the position information and shape values of the one or more Gaussian data.
26. A decoding device comprising a circuit and a memory connected to the circuit, wherein the circuit, in operation, acquires a bitstream including encoded data of a Gaussian group of data containing one or more Gaussian data and region information indicating the range of the one or more Gaussian data, decodes the encoded data contained in the bitstream, and the region information is generated based on the position information and shape values of the one or more Gaussian data.
