Three-dimensional data encoding method, three-dimensional data decoding method, three-dimensional data encoding device, and three-dimensional data decoding device
By employing an N-branch tree structure to determine occupancy patterns for three-dimensional data encoding and decoding, the method optimizes data compression, addressing inefficiencies in existing three-dimensional data representation methods.
Patent Information
- Application Number
- JP2024095640
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2018-06-27
- Filing Date
- 2024-06-13
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2039-06-26
AI Technical Summary
Existing methods for encoding and decoding three-dimensional data, such as point clouds, are inefficient, leading to high data volume requirements that hinder effective storage and transmission.
A method and device that utilize an N-branch tree structure to determine occupancy patterns for encoding and decoding three-dimensional data, allowing for the efficient use of different encoding and decoding techniques based on the occupancy state of adjacent nodes, thereby optimizing data compression.
Improves encoding efficiency by selectively using appropriate encoding and decoding methods, reducing the data volume required for three-dimensional data representation.
Smart Images

Figure 2024116339000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a three-dimensional data encoding method, a three-dimensional data decoding method, a three-dimensional data encoding device, and a three-dimensional data decoding device. [Background technology]
[0002] In the future, devices and services that utilize 3D data are expected to become widespread in a wide range of fields, such as computer vision for autonomous operation of automobiles or robots, map information, monitoring, infrastructure inspection, video distribution, etc. 3D data is acquired in various ways, such as distance sensors such as range finders, stereo cameras, or a combination of multiple monocular cameras.
[0003] One method of expressing three-dimensional data is a 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 a point cloud, the positions and colors of the points are stored. Point clouds are expected to become the mainstream method of expressing three-dimensional data, but point clouds have a very large amount of data. Therefore, when storing or transmitting three-dimensional data, it is essential to compress the amount of data by encoding, just like two-dimensional video images (examples include MPEG-4 AVC or HEVC standardized by MPEG).
[0004] In addition, compression of point clouds is partially supported by public libraries (Point Cloud Library) that perform point cloud-related processing.
[0005] Furthermore, 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). [Prior art documents] [Patent documents]
[0006] [Patent Document 1] International Publication No. 2014 / 020663 Summary of the Invention [Problem to be solved by the invention]
[0007] It is desirable to be able to improve the coding efficiency in encoding and decoding three-dimensional data.
[0008] An object of the present disclosure is to provide a three-dimensional data encoding method, a three-dimensional data decoding method, a three-dimensional data encoding device, or a three-dimensional data decoding device that can improve encoding efficiency. [Means for solving the problem]
[0009] A three-dimensional data encoding method according to one embodiment of the present disclosure generates an occupation pattern of adjacent nodes adjacent to a node included in an N-ary tree structure of a plurality of three-dimensional points included in the three-dimensional data (N is an integer equal to or greater than 2), and determines whether to set a candidate node that can use the first encoding based on the occupation pattern.
[0010] A three-dimensional data decoding method according to one embodiment of the present disclosure obtains an occupation pattern of adjacent nodes adjacent to a node included in an N-ary tree structure of a plurality of three-dimensional points included in the three-dimensional data (N is an integer equal to or greater than 2), and determines whether to set a candidate node that can be used for first decoding based on the occupation pattern. Effect of the Invention
[0011] The present disclosure can provide a three-dimensional data encoding method, a three-dimensional data decoding method, a three-dimensional data encoding device, or a three-dimensional data decoding device that can improve encoding efficiency. [Brief description of the drawings]
[0012] [Figure 1] FIG. 1 is a diagram showing a structure of encoded three-dimensional data according to the first embodiment. [Diagram 2] FIG. 2 is a diagram showing an example of a prediction structure between SPCs belonging to the lowest layer of a GOS according to the first embodiment. [Diagram 3]FIG. 3 is a diagram showing an example of an inter-layer prediction structure according to the first embodiment. [Figure 4] FIG. 4 is a diagram showing an example of the coding order of GOS according to the first embodiment. [Diagram 5] FIG. 5 is a diagram showing an example of the coding order of GOS according to the first embodiment. [Figure 6] FIG. 6 is a block diagram of the three-dimensional data encoding device according to the first embodiment. [Figure 7] FIG. 7 is a flowchart of the encoding process according to the first embodiment. [Figure 8] FIG. 8 is a block diagram of the three-dimensional data decoding device according to the first embodiment. [Figure 9] FIG. 9 is a flowchart of the decoding process according to the first embodiment. [Figure 10] FIG. 10 is a diagram illustrating an example of meta information according to the first embodiment. [Figure 11] FIG. 11 is a diagram illustrating an example of a configuration of an SWLD according to the second embodiment. [Figure 12] FIG. 12 is a diagram illustrating an example of the operation of the server and the client according to the second embodiment. [Figure 13] FIG. 13 is a diagram illustrating an example of the operation of the server and the client according to the second embodiment. [Figure 14] FIG. 14 is a diagram illustrating an example of the operation of the server and the client according to the second embodiment. [Figure 15] FIG. 15 is a diagram illustrating an example of the operation of the server and the client according to the second embodiment. [Figure 16] FIG. 16 is a block diagram of a three-dimensional data encoding device according to the second embodiment. [Figure 17] FIG. 17 is a flowchart of the encoding process according to the second embodiment. [Figure 18] FIG. 18 is a block diagram of a three-dimensional data decoding device according to the second embodiment. [Figure 19] FIG. 19 is a flowchart of the decoding process according to the second embodiment. [Figure 20]FIG. 20 is a diagram illustrating an example of a configuration of a WLD according to the second embodiment. [Figure 21] FIG. 21 is a diagram illustrating an example of an octree structure of a WLD according to the second embodiment. [Figure 22] FIG. 22 is a diagram illustrating an example of a configuration of an SWLD according to the second embodiment. [Diagram 23] FIG. 23 is a diagram illustrating an example of an octree structure of the SWLD according to the second embodiment. [Figure 24] FIG. 24 is a block diagram of a three-dimensional data creation device according to the third embodiment. [Diagram 25] FIG. 25 is a block diagram of a three-dimensional data transmission device according to the third embodiment. [Figure 26] FIG. 26 is a block diagram of a three-dimensional information processing device according to the fourth embodiment. [Figure 27] FIG. 27 is a block diagram of a three-dimensional data creation device according to the fifth embodiment. [Figure 28] FIG. 28 is a diagram showing a configuration of a system according to the sixth embodiment. [Figure 29] FIG. 29 is a block diagram of a client device according to the sixth embodiment. [Diagram 30] FIG. 30 is a block diagram of a server according to the sixth embodiment. [Diagram 31] FIG. 31 is a flowchart of three-dimensional data creation processing by a client device according to the sixth embodiment. [Diagram 32] FIG. 32 is a flowchart of a sensor information transmission process by a client device according to the sixth embodiment. [Diagram 33] FIG. 33 is a flowchart of three-dimensional data creation processing by the server according to the sixth embodiment. [Diagram 34] FIG. 34 is a flowchart of a 3D map transmission process performed by the server according to the sixth embodiment. [Diagram 35] FIG. 35 is a diagram showing a configuration of a modified example of the system according to the sixth embodiment. In FIG. [Diagram 36]FIG. 36 is a diagram showing configurations of a server and a client device according to the sixth embodiment. In FIG. [Figure 37] FIG. 37 is a block diagram of a three-dimensional data encoding device according to the seventh embodiment. [Figure 38] FIG. 38 is a diagram showing an example of a prediction residual according to the seventh embodiment. In FIG. [Figure 39] FIG. 39 is a diagram illustrating an example of a volume according to the seventh embodiment. [Diagram 40] FIG. 40 is a diagram showing an example of an octree representation of a volume according to the seventh embodiment. [Diagram 41] FIG. 41 is a diagram showing an example of a bit string of a volume according to the seventh embodiment. [Diagram 42] FIG. 42 is a diagram showing an example of an octree representation of a volume according to the seventh embodiment. [Diagram 43] FIG. 43 is a diagram illustrating an example of a volume according to the seventh embodiment. [Diagram 44] FIG. 44 is a diagram for explaining the intra prediction process according to the seventh embodiment. [Diagram 45] FIG. 45 is a diagram for explaining the rotation and translation processing according to the seventh embodiment. In FIG. [Diagram 46] FIG. 46 is a diagram showing an example of the syntax of the RT application flag and the RT information according to the seventh embodiment. [Figure 47] FIG. 47 is a diagram for explaining the inter prediction process according to the seventh embodiment. [Figure 48] FIG. 48 is a block diagram of a three-dimensional data decoding device according to the seventh embodiment. [Figure 49] FIG. 49 is a flowchart of three-dimensional data encoding processing by the three-dimensional data encoding device according to the seventh embodiment. [Figure 50] FIG. 50 is a flowchart of three-dimensional data decoding processing by the three-dimensional data decoding device according to the seventh embodiment. [Figure 51] FIG. 51 is a diagram showing a reference relationship in an octree structure according to the eighth embodiment. [Figure 52]FIG. 52 is a diagram showing a reference relationship in the spatial domain according to the eighth embodiment. [Diagram 53] FIG. 53 is a diagram showing an example of an adjacent reference node according to the eighth embodiment. [Figure 54] FIG. 54 is a diagram showing the relationship between a parent node and a node according to the eighth embodiment. [Figure 55] FIG. 55 is a diagram showing an example of an occupancy code of a parent node according to the eighth embodiment. [Figure 56] FIG. 56 is a block diagram of a three-dimensional data encoding device according to the eighth embodiment. [Figure 57] FIG. 57 is a block diagram of a three-dimensional data decoding device according to the eighth embodiment. [Figure 58] FIG. 58 is a flowchart of three-dimensional data encoding processing according to the eighth embodiment. [Figure 59] FIG. 59 is a flowchart of three-dimensional data decoding processing according to the eighth embodiment. [Figure 60] FIG. 60 is a diagram showing an example of switching of the coding table according to the eighth embodiment. In FIG. [Figure 61] FIG. 61 is a diagram showing a reference relationship in the spatial domain according to the first modification of the eighth embodiment. In FIG. [Figure 62] FIG. 62 is a diagram illustrating an example of the syntax of the header information according to the first modification of the eighth embodiment. [Figure 63] FIG. 63 is a diagram illustrating an example of the syntax of the header information according to the first modification of the eighth embodiment. [Figure 64] FIG. 64 is a diagram illustrating an example of an adjacent reference node according to the second modification of the eighth embodiment. In FIG. [Figure 65] FIG. 65 is a diagram illustrating an example of a target node and adjacent nodes according to the second modification of the eighth embodiment. In FIG. [Figure 66] FIG. 66 is a diagram showing a reference relationship in an octree structure according to the third modification of the eighth embodiment. In FIG. [Figure 67] FIG. 67 is a diagram showing a reference relationship in the spatial domain according to the third modification of the eighth embodiment. In FIG. [Figure 68] FIG. 68 is a diagram illustrating an example of adjacent nodes and the process according to the ninth embodiment. [Figure 69] FIG. 69 is a flowchart of three-dimensional data encoding processing according to the ninth embodiment. [Figure 70] FIG. 70 is a flowchart of three-dimensional data encoding processing according to the ninth embodiment. [Figure 71] FIG. 71 is a flowchart of a modification of the three-dimensional data encoding process according to the ninth embodiment. [Figure 72] FIG. 72 is a flowchart of three-dimensional data decoding processing according to the ninth embodiment. [Figure 73] FIG. 73 is a flowchart of a modification of the three-dimensional data decoding process according to the ninth embodiment. [Figure 74] FIG. 74 is a diagram illustrating an example of the syntax of a header according to the ninth embodiment. [Figure 75] FIG. 75 is a diagram illustrating an example of the syntax of the node information according to the ninth embodiment. [Figure 76] FIG. 76 is a block diagram of a three-dimensional data encoding device according to the ninth embodiment. [Figure 77] FIG. 77 is a block diagram of a three-dimensional data decoding device according to the ninth embodiment. [Figure 78] FIG. 78 is a flowchart of a modification of the three-dimensional data encoding process according to the ninth embodiment. [Figure 79] FIG. 79 is a flowchart of a modification of the three-dimensional data encoding process according to the ninth embodiment. [Figure 80] FIG. 80 is a flowchart of a modification of the three-dimensional data decoding process according to the ninth embodiment. [Figure 81] FIG. 81 is a flowchart of a modification of the three-dimensional data decoding process according to the ninth embodiment. [Figure 82] FIG. 82 is a flowchart of three-dimensional data encoding processing according to the ninth embodiment. [Figure 83] FIG. 83 is a flowchart of three-dimensional data decoding processing according to the ninth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] A three-dimensional data encoding method according to one embodiment of the present disclosure generates a first occupancy pattern indicating the occupancy state of multiple second adjacent nodes including a first adjacent node whose parent node is different from a target node included in an N-ary tree structure of multiple three-dimensional points included in three-dimensional data when a first flag indicates a first value, and determines whether or not a first encoding can be used to encode multiple three-dimensional position information included in the target node without dividing the target node into multiple child nodes based on the first occupancy pattern; generates a second occupancy pattern indicating the occupancy state of multiple third adjacent nodes not including the first adjacent node whose parent node is different from the target node when the first flag indicates a second value different from the first value, and determines whether or not the first encoding can be used based on the second occupancy pattern, and generates a bit stream including the first flag.
[0014] According to this, the three-dimensional data encoding method can switch the occupancy pattern of adjacent nodes used to determine whether the first encoding can be used or not according to the first flag. This makes it possible to appropriately determine whether the first encoding can be used or not, thereby improving encoding efficiency.
[0015] For example, when it is determined that the first encoding can be used, it is determined based on a predetermined condition whether or not to use the first encoding, and when it is determined that the first encoding is to be used, the target node is encoded using the first encoding, and when it is determined that the first encoding is not to be used, the target node is encoded using a second encoding that divides the target node into a plurality of child nodes, and the bit stream may further include a second flag indicating whether or not to use the first encoding.
[0016] For example, in determining whether the first encoding can be used based on the first occupancy pattern or the second occupancy pattern, whether the first encoding can be used may be determined based on the first occupancy pattern or the second occupancy pattern and the number of occupied nodes included in the parent node.
[0017] For example, in determining whether the first encoding can be used based on the first occupancy pattern or the second occupancy pattern, whether the first encoding can be used may be determined based on the first occupancy pattern or the second occupancy pattern and the number of occupied nodes included in the grandparent node of the target node.
[0018] For example, in determining whether the first encoding can be used based on the first occupancy pattern or the second occupancy pattern, whether the first encoding can be used may be determined based on the first occupancy pattern or the second occupancy pattern and the hierarchy to which the target node belongs.
[0019] A three-dimensional data decoding method according to one embodiment of the present disclosure includes obtaining a first flag from a bit stream, and if the first flag indicates a first value, generating a first occupancy pattern indicating the occupancy states of multiple second adjacent nodes including a first adjacent node whose parent node is different from a target node included in an N-ary tree structure of multiple three-dimensional points included in the three-dimensional data, and determining whether or not a first decoding can be used to decode multiple three-dimensional position information items included in the target node without dividing the target node into multiple child nodes, and if the first flag indicates a second value different from the first value, generating a second occupancy pattern indicating the occupancy states of multiple third adjacent nodes not including the first adjacent node whose parent node is different from the target node, and determining whether or not the first decoding can be used, based on the second occupancy pattern.
[0020] According to this, the three-dimensional data decoding method can switch the occupancy pattern of adjacent nodes used to determine whether the first encoding can be used or not according to the first flag. This makes it possible to appropriately determine whether the first encoding can be used or not, thereby improving the encoding efficiency.
[0021] For example, when it is determined that the first decoding can be used, a second flag indicating whether or not to use the first decoding may be obtained from the bit stream, and when the second flag indicates that the first decoding is to be used, the target node may be decoded using the first decoding, and when the second flag indicates that the first decoding is not to be used, the target node may be decoded using a second decoding that splits the target node into a plurality of child nodes.
[0022] For example, in determining whether the first decoding can be used based on the first occupancy pattern or the second occupancy pattern, whether the first decoding can be used may be determined based on the first occupancy pattern or the second occupancy pattern and the number of occupied nodes included in the parent node.
[0023] For example, in determining whether the first decryption can be used based on the first occupancy pattern or the second occupancy pattern, whether the first decryption can be used may be determined based on the first occupancy pattern or the second occupancy pattern and the number of occupied nodes included in the grandparent node of the target node.
[0024] For example, in determining whether the first decoding is usable based on the first occupancy pattern or the second occupancy pattern, whether the first decoding is usable may be determined based on the first occupancy pattern or the second occupancy pattern and the hierarchical level to which the target node belongs.
[0025] Furthermore, a three-dimensional data encoding device according to one embodiment of the present disclosure is a three-dimensional data encoding device that encodes a plurality of three-dimensional points having attribute information, and includes a processor and a memory, and the processor uses the memory to generate a first occupancy pattern indicating an occupancy state of a plurality of second adjacent nodes including a first adjacent node whose parent node is different from a target node included in an N-ary tree structure of a plurality of three-dimensional points included in the three-dimensional data when a first flag indicates a first value, and determines based on the first occupancy pattern whether or not a first encoding can be used to encode a plurality of three-dimensional position information included in the target node without dividing the target node into a plurality of child nodes, and when the first flag indicates a second value different from the first value, generates a second occupancy pattern indicating an occupancy state of a plurality of third adjacent nodes not including the first adjacent node whose parent node is different from the target node, and determines based on the second occupancy pattern whether or not the first encoding can be used, and generates a bit stream including the first flag.
[0026] According to this, the three-dimensional data encoding device can switch the occupancy pattern of adjacent nodes used to determine whether the first encoding can be used or not according to the first flag. This makes it possible to appropriately determine whether the first encoding can be used or not, thereby improving encoding efficiency.
[0027] In addition, a three-dimensional data decoding device according to one embodiment of the present disclosure is a three-dimensional data decoding device that decodes a plurality of three-dimensional points having attribute information, and includes a processor and a memory, and the processor uses the memory to generate a first occupancy pattern indicating the occupancy state of a plurality of second adjacent nodes including a first adjacent node whose parent node is different from a target node included in an N-ary tree structure of a plurality of three-dimensional points included in the three-dimensional data when the first flag indicates a first value, and determines based on the first occupancy pattern whether or not a first decoding can be used to decode a plurality of three-dimensional position information included in the target node without dividing the target node into a plurality of child nodes, and when the first flag indicates a second value different from the first value, generates a second occupancy pattern indicating the occupancy state of a plurality of third adjacent nodes not including the first adjacent node whose parent node is different from the target node, and determines based on the second occupancy pattern whether or not the first decoding can be used.
[0028] According to this, the three-dimensional data decoding device can switch the occupation pattern of adjacent nodes used to determine whether the first encoding can be used or not according to the first flag. This makes it possible to appropriately determine whether the first encoding can be used or not, thereby improving the encoding efficiency.
[0029] These comprehensive or specific aspects may be realized as a system, a method, an integrated circuit, a computer program, or a recording medium such as a computer-readable CD-ROM, or may be realized as any combination of a system, a method, an integrated circuit, a computer program, and a recording medium.
[0030] Hereinafter, the embodiments will be described in detail with reference to the drawings. Note that each of the embodiments described below shows a specific example of the present disclosure. The numerical values, shapes, materials, components, arrangement and connection forms of the components, steps, and order of steps shown in the following embodiments are merely examples and are not intended to limit the present disclosure. In addition, among the components in the following embodiments, components that are not described in an independent claim showing a top concept are described as optional components.
[0031] (Embodiment 1) First, the data structure of encoded three-dimensional data (hereinafter, also referred to as encoded data) according to this embodiment will be described. Fig. 1 is a diagram showing the structure of encoded three-dimensional data according to this embodiment.
[0032] In this embodiment, the three-dimensional space is divided into spaces (SPC) corresponding to pictures in video coding, and the three-dimensional data is coded using the spaces as units. The space is further divided into volumes (VLM) corresponding to macroblocks in video coding, and prediction and conversion are performed using the VLM as units. The volume includes a plurality of voxels (VXL), which are the smallest units to which position coordinates are associated. Note that prediction refers to, as with prediction performed on two-dimensional images, generating predicted three-dimensional data similar to the processing unit to be processed by referring to other processing units, and coding the difference between the predicted three-dimensional data and the processing unit to be processed. In addition, this prediction includes not only spatial prediction that refers to other prediction units at the same time, but also temporal prediction that refers to prediction units at different times.
[0033] For example, when a three-dimensional data encoding device (hereinafter also referred to as an encoding device) encodes a three-dimensional space represented by point cloud data such as a point cloud, it encodes each point of the point cloud or a group of points contained in a voxel according to the size of the voxel. By subdividing the voxel, the three-dimensional shape of the point cloud can be expressed with high accuracy, and by increasing the size of the voxel, the three-dimensional shape of the point cloud can be expressed roughly.
[0034] In the following, an example will be described in which the three-dimensional data is a point cloud; however, the three-dimensional data is not limited to a point cloud, and may be three-dimensional data in any format.
[0035] Also, voxels with a hierarchical structure may be used. In this case, in the nth layer, it may be indicated in order whether a sample point exists in the n-1th or lower layer (a layer below the nth layer). For example, when decoding only the nth layer, if a sample point exists in the n-1th or lower layer, the sample point can be decoded by considering it to exist at the center of the voxel in the nth layer.
[0036] In addition, the encoding device acquires the point cloud data using a distance sensor, a stereo camera, a monocular camera, a gyro, an inertial sensor, or the like.
[0037] As in video coding, the space is classified into at least three prediction structures, including an independently decodable intra space (I-SPC), a unidirectionally referable predictive space (P-SPC), and a bidirectionally referable bidirectional space (B-SPC). The space also has two types of time information: the decoding time and the display time.
[0038] As shown in Fig. 1, there is a GOS (Group Of Space) which is a random access unit that is a processing unit including multiple spaces. Furthermore, there is a World (WLD) which is a processing unit that includes multiple GOS.
[0039] The spatial region that the world occupies is associated with an absolute position on the earth by GPS or latitude and longitude information, etc. This position information is stored as meta information. Note that the meta information may be included in the encoded data or may be transmitted separately from the encoded data.
[0040] Furthermore, within a GOS, all SPCs may be three-dimensionally adjacent, or there may be SPCs that are not three-dimensionally adjacent to other SPCs.
[0041] In the following, the process of encoding, decoding, referencing, etc. of three-dimensional data included in a processing unit such as a GOS, SPC, or VLM will also be simply referred to as encoding, decoding, referencing, etc. of a processing unit. Also, the three-dimensional data included in a processing unit includes at least one pair of a spatial position such as three-dimensional coordinates and a characteristic value such as color information.
[0042] Next, the prediction structure of SPCs in a GOS will be described. Multiple SPCs in the same GOS, or multiple VLMs in the same SPC, occupy different spaces from each other, but have the same time information (decoding time and display time).
[0043] In addition, the first SPC in a GOS in decoding order is the I-SPC. There are two types of GOS: closed GOS and open GOS. A closed GOS is a GOS in which all SPCs in the GOS can be decoded when decoding starts from the first I-SPC. In an open GOS, some SPCs in the GOS whose display time precedes the first I-SPC refer to a different GOS, and cannot be decoded using only that GOS.
[0044] In addition, in coded data such as map information, the WLD may be decoded in the reverse order from the coding order, and if there is a dependency between the GOS, reverse playback is difficult. Therefore, in such cases, closed GOS is basically used.
[0045] Furthermore, the GOS has a layer structure in the height direction, and encoding or decoding is performed in order starting from the SPC in the lower layer.
[0046] Fig. 2 is a diagram showing an example of a prediction structure between SPCs belonging to the lowest layer of a GOS, and Fig. 3 is a diagram showing an example of a prediction structure between layers.
[0047] There are one or more I-SPCs in a GOS. Objects such as humans, animals, cars, bicycles, traffic lights, and landmark buildings exist in a three-dimensional space, and it is effective to encode small objects as I-SPCs. For example, a three-dimensional data decoding device (hereinafter also referred to as a decoding device) decodes only the I-SPCs in the GOS when decoding the GOS with low processing load or at high speed.
[0048] Furthermore, the encoding device may switch the encoding interval or occurrence frequency of I-SPC depending on the density of objects in the WLD.
[0049] In addition, in the configuration shown in Fig. 3, the encoding device or decoding device encodes or decodes multiple layers in order from the lower layer (layer 1). This allows, for example, an autonomous vehicle to increase the priority of data near the ground, which contains more information.
[0050] In addition, in the case of encoded data used by drones, etc., encoding or decoded may be performed in order from the SPC of the upper layer in the height direction within the GOS.
[0051] Alternatively, the encoding device or decoding device may encode or decode multiple layers so that the decoding device can roughly grasp the GOS and gradually increase the resolution. For example, the encoding device or decoding device may encode or decode layers 3, 8, 1, 9, etc. in that order.
[0052] Next, how to handle static and dynamic objects will be described.
[0053] In a three-dimensional space, there exist static objects or scenes such as buildings or roads (hereinafter collectively referred to as static objects), and dynamic objects such as cars or people (hereinafter referred to as dynamic objects). Object detection is performed separately by extracting feature points from point cloud data or camera images such as a stereo camera. Here, an example of a method for encoding dynamic objects will be described.
[0054] The first method is to encode the static objects without distinguishing between the static objects and the dynamic objects, and the second method is to distinguish between the static objects and the dynamic objects by using identification information.
[0055] For example, a GOS is used as an identification unit. In this case, a GOS including SPCs constituting static objects and a GOS including SPCs constituting dynamic objects are distinguished by identification information stored in the coded data or separately from the coded data.
[0056] Alternatively, the SPC may be used as the identification unit. In this case, the SPC including the VLM constituting the static object and the SPC including the VLM constituting the dynamic object are distinguished by the above-mentioned identification information.
[0057] Alternatively, the VLM or VXL may be used as the identification unit. In this case, the VLM or VXL including a static object is distinguished from the VLM or VXL including a dynamic object by the above-mentioned identification information.
[0058] The encoding device may also encode a dynamic object as one or more VLMs or SPCs, and encode a VLM or SPC including a static object and an SPC including a dynamic object as different GOSs. In addition, when the size of the GOS varies depending on the size of the dynamic object, the encoding device stores the size of the GOS separately as meta information.
[0059] The encoding device may also encode the static object and the dynamic object independently of each other, and overlay the dynamic object on the world composed of the static objects. In this case, the dynamic object is composed of one or more SPCs, and each SPC is associated with one or more SPCs constituting the static object on which the SPC is overlaid. Note that the dynamic object may be represented by one or more VLMs or VXLs instead of SPCs.
[0060] The encoding device may also encode static objects and dynamic objects as different streams.
[0061] The encoding device may also generate a GOS including one or more SPCs that constitute a dynamic object. Furthermore, the encoding device may set the GOS including the dynamic object (GOS_M) and the GOS of the static object corresponding to the spatial area of GOS_M to the same size (occupy the same spatial area). This allows the superimposition process to be performed on a GOS-by-GOS basis.
[0062] A P-SPC or B-SPC constituting a dynamic object may refer to an SPC included in a different encoded GOS. In cases where the position of a dynamic object changes over time and the same dynamic object is encoded as a GOS at a different time, referencing across GOS is effective in terms of compression ratio.
[0063] Also, the first method and the second method may be switched depending on the use of the encoded data. For example, when the encoded three-dimensional data is used as a map, it is desirable to be able to separate dynamic objects, so the encoding device uses the second method. On the other hand, when encoding three-dimensional data of an event such as a concert or sporting event, if there is no need to separate dynamic objects, the encoding device uses the first method.
[0064] Furthermore, the decode time and display time of the GOS or SPC can be stored in the encoded data or as meta information. Furthermore, all time information of static objects may be the same. In this case, the actual decode time and display time may be determined by the decoding device. Alternatively, a different value may be assigned as the decode time for each GOS or SPC, and the same value may be assigned as the display time for all. Furthermore, a model may be introduced in which the decoder has a buffer of a predetermined size, and guarantees that decoding can be performed without failure if a bitstream is read at a predetermined bit rate according to the decode time, as in a decoder model in video coding such as the HRD (Hypothetical Reference Decoder) of HEVC.
[0065] Next, the arrangement of GOS in the world will be described. The coordinates of the three-dimensional space in the world are expressed by three mutually orthogonal coordinate axes (x-axis, y-axis, z-axis). By setting a predetermined rule for the coding order of GOS, coding can be performed so that spatially adjacent GOS are continuous in the coded data. For example, in the example shown in FIG. 4, GOS in the xz plane are coded continuously. After coding of all GOS in a certain xz plane is completed, the value of the y axis is updated. In other words, as coding progresses, the world extends in the y axis direction. Also, the index numbers of GOS are set in the coding order.
[0066] Here, the three-dimensional space of the world is associated one-to-one with absolute geographical coordinates such as GPS or latitude and longitude. Alternatively, the three-dimensional space may be expressed by a relative position from a preset reference position. The directions of the x-axis, y-axis, and z-axis of the three-dimensional space are expressed as direction vectors determined based on the latitude and longitude, and the direction vectors are stored as meta information together with the encoded data.
[0067] Moreover, the size of the GOS is fixed, and the encoding device stores the size as meta information. The size of the GOS may be switched depending on, for example, whether it is an urban area or not, or whether it is indoors or outdoors. That is, the size of the GOS may be switched depending on the amount or nature of objects that have information value. Alternatively, the encoding device may adaptively switch the size of the GOS or the interval of I-SPCs in the GOS depending on the density of objects within the same world. For example, the higher the density of objects, the smaller the size of the GOS and the shorter the interval of I-SPCs in the GOS.
[0068] In the example of Figure 5, the third to tenth GOS areas have a high density of objects, so the GOS are subdivided to achieve fine-grained random access. Note that the seventh to tenth GOS are located behind the third to sixth GOS, respectively.
[0069] Next, the configuration and operation flow of the three-dimensional data encoding device according to this embodiment will be described. Fig. 6 is a block diagram of the three-dimensional data encoding device 100 according to this embodiment. Fig. 7 is a flowchart showing an example of the operation of the three-dimensional data encoding device 100.
[0070] 6 generates encoded three-dimensional data 112 by encoding three-dimensional data 111. The three-dimensional data encoding device 100 includes an acquisition unit 101, an encoding region determination unit 102, a division unit 103, and an encoding unit 104.
[0071] As shown in FIG. 7, first, the acquisition unit 101 acquires three-dimensional data 111, which is point cloud data (S101).
[0072] Next, the coding region determination unit 102 determines a region to be coded from among the spatial regions corresponding to the acquired point cloud data (S102). For example, the coding region determination unit 102 determines a spatial region around a position of a user or a vehicle as a region to be coded, depending on the position of the user or the vehicle.
[0073] Next, the division unit 103 divides the point cloud data included in the region to be coded into each processing unit. Here, the processing units are the above-mentioned GOS and SPC, etc. Furthermore, this region to be coded corresponds to, for example, the above-mentioned world. Specifically, the division unit 103 divides the point cloud data into processing units based on a preset size of the GOS, or the presence or absence or size of a dynamic object (S103). Furthermore, the division unit 103 determines the start position of the SPC that is the first in the coding order in each GOS.
[0074] Next, the encoding unit 104 generates encoded three-dimensional data 112 by sequentially encoding a plurality of SPCs in each GOS (S104).
[0075] In this example, the area to be coded is divided into GOS and SPC, and then each GOS is coded, but the processing procedure is not limited to the above. For example, a procedure may be used in which the configuration of one GOS is determined, the GOS is coded, and then the configuration of the next GOS is determined.
[0076] In this way, the three-dimensional data encoding device 100 generates encoded three-dimensional data 112 by encoding the three-dimensional data 111. Specifically, the three-dimensional data encoding device 100 divides the three-dimensional data into first processing units (GOS), which are random access units and each of which corresponds to a three-dimensional coordinate, divides the first processing units (GOS) into a plurality of second processing units (SPC), and divides the second processing units (SPC) into a plurality of third processing units (VLM). Furthermore, the third processing units (VLM) include one or more voxels (VXL), which are the smallest units to which position information corresponds.
[0077] Next, the three-dimensional data encoding device 100 generates encoded three-dimensional data 112 by encoding each of the multiple first processing units (GOS). Specifically, the three-dimensional data encoding device 100 encodes each of the multiple second processing units (SPC) in each first processing unit (GOS). Also, the three-dimensional data encoding device 100 encodes each of the multiple third processing units (VLM) in each second processing unit (SPC).
[0078] For example, when the first processing unit (GOS) to be processed is a closed GOS, the three-dimensional data encoding device 100 encodes the second processing unit (SPC) to be processed included in the first processing unit (GOS) to be processed by referring to other second processing units (SPC) included in the first processing unit (GOS) to be processed. In other words, the three-dimensional data encoding device 100 does not refer to the second processing unit (SPC) included in a first processing unit (GOS) different from the first processing unit (GOS) to be processed.
[0079] On the other hand, when the first processing unit (GOS) to be processed is an open GOS, the second processing unit (SPC) to be processed included in the first processing unit (GOS) to be processed is encoded by referring to other second processing units (SPC) included in the first processing unit (GOS) to be processed, or a second processing unit (SPC) included in a first processing unit (GOS) different from the first processing unit (GOS) to be processed.
[0080] In addition, the three-dimensional data encoding device 100 selects, as the type of the second processing unit (SPC) to be processed, one of a first type (I-SPC) that does not reference other second processing units (SPCs), a second type (P-SPC) that references one other second processing unit (SPC), and a third type that references two other second processing units (SPCs), and encodes the second processing unit (SPC) to be processed according to the selected type.
[0081] Next, the configuration and operation flow of the three-dimensional data decoding device according to this embodiment will be described. Fig. 8 is a block diagram of the blocks of the three-dimensional data decoding device 200 according to this embodiment. Fig. 9 is a flowchart showing an example of the operation of the three-dimensional data decoding device 200.
[0082] 8 generates decoded three-dimensional data 212 by decoding encoded three-dimensional data 211. Here, the encoded three-dimensional data 211 is, for example, the encoded three-dimensional data 112 generated by the three-dimensional data encoding device 100. This three-dimensional data decoding device 200 includes an acquisition unit 201, a decoding start GOS determination unit 202, a decoding SPC determination unit 203, and a decoding unit 204.
[0083] First, the acquisition unit 201 acquires the encoded 3D data 211 (S201). Next, the decoding start GOS determination unit 202 determines a GOS to be decoded (S202). Specifically, the decoding start GOS determination unit 202 refers to meta information stored in the encoded 3D data 211 or separately from the encoded 3D data, and determines a GOS including an SPC corresponding to a spatial position, object, or time at which decoding starts as a GOS to be decoded.
[0084] Next, the decoding SPC determination unit 203 determines the type (I, P, B) of the SPC to be decoded in the GOS (S203). For example, the decoding SPC determination unit 203 determines whether to (1) decode only the I-SPC, (2) decode the I-SPC and P-SPC, or (3) decode all types. Note that if the type of SPC to be decoded has been determined in advance, such as when all SPCs are to be decoded, this step does not need to be performed.
[0085] Next, the decoding unit 204 obtains the address position at which the first SPC in the GOS in decoding order (the same as the encoding order) starts in the encoded 3D data 211, obtains the encoded data of the first SPC from the address position, and sequentially decodes each SPC in order starting from the first SPC (S204). Note that the address position is stored in meta information or the like.
[0086] In this manner, the three-dimensional data decoding device 200 decodes the decoded three-dimensional data 212. Specifically, the three-dimensional data decoding device 200 generates the decoded three-dimensional data 212 of the first processing unit (GOS) by decoding each of the encoded three-dimensional data 211 of the first processing unit (GOS), which is a random access unit and corresponds to a three-dimensional coordinate. More specifically, the three-dimensional data decoding device 200 decodes each of the multiple second processing units (SPC) in each first processing unit (GOS). Also, the three-dimensional data decoding device 200 decodes each of the multiple third processing units (VLM) in each second processing unit (SPC).
[0087] The meta information for random access will be described below. This meta information is generated by the three-dimensional data encoding device 100 and is included in the encoded three-dimensional data 112 (211).
[0088] In conventional random access for two-dimensional video, decoding is started from the first frame of a random access unit that is close to a specified time. On the other hand, in the world, random access to space (coordinates, objects, etc.) is assumed in addition to time.
[0089] Therefore, in order to realize random access to at least three elements, coordinates, object, and time, a table is prepared that associates each element with a GOS index number. Furthermore, the GOS index number is associated with the address of the I-SPC at the beginning of the GOS. FIG. 10 is a diagram showing an example of a table included in the meta information. Note that it is not necessary to use all of the tables shown in FIG. 10, and it is sufficient to use at least one table.
[0090] Hereinafter, as an example, random access starting from coordinates will be described. When accessing coordinates (x2, y2, z2), first, the coordinate-GOS table is referenced and it is found that the point with coordinates (x2, y2, z2) is included in the second GOS. Next, the GOS address table is referenced and it is found that the address of the first I-SPC in the second GOS is addr(2), so the decoding unit 204 obtains data from this address and starts decoding.
[0091] The address may be an address in a logical format or a physical address of a HDD or memory. Information that identifies a file segment may be used instead of the address. For example, a file segment is a unit obtained by segmenting one or more GOS.
[0092] In addition, if an object spans multiple GOSs, the object-GOS table may indicate multiple GOSs to which the object belongs. If the multiple GOSs are closed GOSs, the encoding device and the decoding device can perform encoding or decoding in parallel. On the other hand, if the multiple GOSs are open GOSs, the multiple GOSs can refer to each other to improve compression efficiency.
[0093] Examples of objects include humans, animals, cars, bicycles, traffic lights, landmark buildings, etc. For example, the three-dimensional data encoding device 100 can extract feature points specific to objects from a three-dimensional point cloud or the like when encoding a world, detect objects based on the feature points, and set the detected objects as random access points.
[0094] In this way, the three-dimensional data encoding device 100 generates first information indicating a plurality of first processing units (GOS) and three-dimensional coordinates associated with each of the plurality of first processing units (GOS). The encoded three-dimensional data 112 (211) includes this first information. The first information further indicates at least one of an object, a time, and a data storage destination associated with each of the plurality of first processing units (GOS).
[0095] The three-dimensional data decoding device 200 acquires first information from the encoded three-dimensional data 211, and uses the first information to identify the encoded three-dimensional data 211 of a first processing unit corresponding to a specified three-dimensional coordinate, object or time, and decodes the encoded three-dimensional data 211.
[0096] Other examples of meta information will be described below. In addition to the meta information for random access, the three-dimensional data encoding device 100 may generate and store the following meta information. Furthermore, the three-dimensional data decoding device 200 may use this meta information during decoding.
[0097] When using three-dimensional data as map information, a profile may be defined according to the application, and information indicating the profile may be included in the meta information. For example, a profile for urban areas or suburban areas, or for flying objects may be defined, and the maximum or minimum size of the world, SPC, or VLM may be defined for each. For example, the minimum size of the VLM is set to be smaller for urban areas, since more detailed information is required than for suburban areas.
[0098] The meta information may include a tag value indicating the type of object. This tag value is associated with the VLM, SPC, or GOS that constitutes the object. For example, a tag value may be set for each type of object, such as a tag value of "0" indicating a "person," a tag value of "1" indicating a "car," and a tag value of "2" indicating a "traffic light." Alternatively, when it is difficult to determine the type of object or there is no need to determine it, a tag value indicating a property such as size or whether the object is a dynamic or static object may be used.
[0099] The meta information may also include information indicating the extent of the spatial region that the world occupies.
[0100] The meta information may also store the size of an SPC or VXL as header information common to a plurality of SPCs, such as an SPC in an entire stream of encoded data or a GOS.
[0101] The meta information may also include identification information for the range sensor or camera used to generate the point cloud, or information indicating the positional accuracy of the points in the point cloud.
[0102] The meta information may also include information indicating whether the world is made up of only static objects or whether it also includes dynamic objects.
[0103] A modification of this embodiment will now be described.
[0104] The encoding device or the decoding device may encode or decode two or more different SPCs or GOSs in parallel. The GOSs to be encoded or decoded in parallel can be determined based on meta-information indicating the spatial positions of the GOSs.
[0105] In cases where three-dimensional data is used as a spatial map for the movement of a vehicle or flying object, or where such a spatial map is to be generated, the encoding device or decoding device may encode or decode a GOS or SPC contained in a space identified based on a GPS, route information, zoom magnification, etc.
[0106] The decoding device may also decode spaces in order from the closest to the self-location or the driving route. The encoding device or decoding device may code or decode spaces farther from the self-location or the driving route by lowering the priority compared to closer spaces. Here, lowering the priority means lowering the processing order, lowering the resolution (thinning out the data before processing), or lowering the image quality (increasing the encoding efficiency, for example, by increasing the quantization step), etc.
[0107] Furthermore, when decoding encoded data that has been hierarchically encoded in space, the decoding device may decode only the lower hierarchical layers.
[0108] The decoding device may also give priority to decoding from the lower layers depending on the zoom factor or purpose of the map.
[0109] In addition, for applications such as self-position estimation or object recognition performed when a car or robot is driving autonomously, the encoding device or decoding device may perform encoding or decoding with reduced resolution except for areas within a specific height from the road surface (area where recognition is performed).
[0110] The encoding device may also encode point clouds that represent the spatial shapes of the interior and exterior of a room separately. For example, by separating the GOS that represent the interior of a room (indoor GOS) from the GOS that represent the exterior of a room (outdoor GOS), the decoding device can select the GOS to be decoded according to the viewpoint position when using the encoded data.
[0111] The encoding device may also encode the indoor GOS and the outdoor GOS that are close to each other in the encoded stream so that they are adjacent to each other. For example, the encoding device may associate identifiers of the two and store information indicating the associated identifiers in the encoded stream or in meta information stored separately. This allows the decoding device to identify the indoor GOS and the outdoor GOS that are close to each other by referring to the information in the meta information.
[0112] The encoding device may also switch the size of the GOS or SPC between the indoor GOS and the outdoor GOS. For example, the encoding device may set the size of the GOS smaller indoors than outdoors. The encoding device may also change the accuracy of extracting feature points from the point cloud or the accuracy of object detection between the indoor GOS and the outdoor GOS.
[0113] The encoding device may also add information to the encoded data that allows the decoding device to distinguish dynamic objects from static objects. This allows the decoding device to display dynamic objects together with red frames or explanatory text. The decoding device may display only red frames or explanatory text instead of dynamic objects. The decoding device may also display more specific object types. For example, a red frame may be used for cars and a yellow frame for people.
[0114] Furthermore, the encoding device or decoding device may determine whether to encode or decode dynamic objects and static objects as different SPCs or GOSs, depending on the frequency of appearance of the dynamic objects, or the ratio of static objects to dynamic objects, etc. For example, if the frequency of appearance or the ratio of dynamic objects exceeds a threshold, an SPC or GOS in which dynamic objects and static objects are mixed is permitted, and if the frequency of appearance or the ratio of dynamic objects does not exceed the threshold, an SPC or GOS in which dynamic objects and static objects are mixed is not permitted.
[0115] When detecting a dynamic object from two-dimensional image information from a camera, rather than from a point cloud, the encoding device may separately obtain information for identifying the detection result (such as a frame or text) and the object position, and encode this information as part of the three-dimensional encoded data. In this case, the decoding device displays auxiliary information (a frame or text) indicating the dynamic object by superimposing it on the decoding result of the static object.
[0116] The encoding device may also change the density of the VXL or VLM in the SPC depending on the complexity of the shape of the static object, etc. For example, the encoding device sets the VXL or VLM to be denser as the shape of the static object becomes more complex. Furthermore, the encoding device may determine the quantization step, etc., when quantizing spatial position or color information, depending on the density of the VXL or VLM. For example, the encoding device sets the quantization step to be smaller as the VXL or VLM becomes denser.
[0117] As described above, the encoding device or decoding device according to this embodiment performs spatial encoding or decoding in units of spaces having coordinate information.
[0118] Furthermore, the encoding device and the decoding device perform encoding and decoding in units of volumes within a space. A volume includes voxels, which are the smallest units to which position information can be associated.
[0119] The encoding device and the decoding device perform encoding or decoding by associating any elements with each other using a table that associates each element of spatial information including coordinates, objects, and time with a GOP, or a table that associates each element with each other. The decoding device determines coordinates using the value of a selected element, identifies a volume, voxel, or space from the coordinates, and decodes the space including the volume or voxel, or the identified space.
[0120] The encoding device also determines volumes, voxels, or spaces that can be selected by elements by feature point extraction or object recognition, and encodes them as randomly accessible volumes, voxels, or spaces.
[0121] Spaces are classified into three types: I-SPC, which can be encoded or decoded by itself; P-SPC, which is encoded or decoded by reference to any one processed space; and B-SPC, which is encoded or decoded by reference to any two processed spaces.
[0122] One or more volumes correspond to static objects or dynamic objects. The space containing the static objects and the space containing the dynamic objects are encoded or decoded as different GOS. That is, the SPC containing the static objects and the SPC containing the dynamic objects are assigned to different GOS.
[0123] Dynamic objects are encoded or decoded on an object-by-object basis and associated with one or more spaces containing static objects, i.e., multiple dynamic objects are encoded individually and the resulting encoded data for the multiple dynamic objects are associated with an SPC containing the static objects.
[0124] The encoding device and the decoding device increase the priority of the I-SPC in the GOS and perform encoding or decoding. For example, the encoding device performs encoding so as to reduce degradation of the I-SPC (so that the original three-dimensional data is reproduced more faithfully after decoding). Also, the decoding device decodes only the I-SPC, for example.
[0125] The encoding device may perform encoding by changing the frequency of using I-SPC depending on the density or number (amount) of objects in the world. In other words, the encoding device changes the frequency of selecting I-SPC depending on the number or density of objects included in the three-dimensional data. For example, the encoding device increases the frequency of using I-space as the density of objects in the world increases.
[0126] Furthermore, the encoding device sets random access points in units of GOS, and stores information indicating a spatial region corresponding to the GOS in the header information.
[0127] The encoding device uses, for example, a default value as the spatial size of the GOS. The encoding device may change the size of the GOS depending on the number (quantity) or density of objects or dynamic objects. For example, the encoding device reduces the spatial size of the GOS as the objects or dynamic objects become denser or the number of objects or dynamic objects becomes greater.
[0128] The space or volume may also include a set of feature points derived using information obtained by sensors such as a depth sensor, a gyro, or a camera. The coordinates of the feature points are set at the center positions of the voxels. Furthermore, the position information can be highly accurate by subdividing the voxels.
[0129] The feature points are derived using a plurality of pictures having at least two types of time information: actual time information and time information that is the same for a plurality of pictures associated with the space (e.g., encoding time used for rate control, etc.).
[0130] Moreover, encoding or decoding is performed in units of GOS including one or more spaces.
[0131] The encoding device and the decoding device refer to spaces in a GOS that have already been processed to predict a P space or a B space in a GOS to be processed.
[0132] Alternatively, the encoding device and the decoding device predict the P space or the B space in the GOS to be processed by using a processed space in the GOS to be processed, without referring to a different GOS.
[0133] Furthermore, the encoding device and the decoding device transmit or receive an encoded stream in units of worlds, each world including one or more GOSs.
[0134] Furthermore, the GOS has a layer structure in at least one direction within a world, and the encoding device and decoding device encode or decode from the lower layer. For example, a randomly accessible GOS belongs to the lowest layer. A GOS belonging to a higher layer refers to a GOS belonging to the same layer or lower. In other words, the GOS is spatially divided in a predetermined direction and includes multiple layers, each of which includes one or more SPCs. The encoding device and decoding device encode or decode each SPC by referring to an SPC included in the same layer as the SPC or in a layer lower than the SPC.
[0135] In addition, the encoding device and the decoding device encode or decode the GOSs continuously within a world unit including multiple GOSs. The encoding device and the decoding device write or read information indicating the order (direction) of encoding or decoding as metadata. In other words, the encoded data includes information indicating the encoding order of multiple GOSs.
[0136] Furthermore, the encoding device and the decoding device encode or decode two or more different spaces or GOS in parallel.
[0137] In addition, the encoding device and the decoding device encode and decode spatial information (coordinates, size, etc.) of the space or GOS.
[0138] In addition, the encoding device and the decoding device encode or decode a space or GOS included in a specific space that is specified based on external information related to its own position and / or area size, such as GPS, route information, or magnification.
[0139] The encoding device or decoding device encodes or decodes a space far from its own position with a lower priority than a space close to its own position.
[0140] The encoding device sets one direction in a world according to a magnification or a use, and encodes a GOS having a layer structure in the direction. The decoding device decodes the GOS having a layer structure in one direction in a world set according to a magnification or a use, preferentially from a lower layer.
[0141] The encoding device changes the feature point extraction, object recognition accuracy, or spatial region size included in the indoor and outdoor spaces. However, the encoding device and the decoding device encode or decode the indoor GOS and the outdoor GOS that are close in coordinates as adjacent in the world, and also encode or decode their identifiers in association with each other.
[0142] (Embodiment 2) When using the encoded data of a point cloud in an actual device or service, it is desirable to transmit and receive the necessary information according to the purpose in order to reduce the network bandwidth. However, until now, such a function has not existed in the encoding structure of three-dimensional data, and there has been no encoding method for this purpose.
[0143] In this embodiment, we describe a three-dimensional data encoding method and a three-dimensional data encoding device that provide the function of transmitting and receiving only the information necessary depending on the application in encoded data of a three-dimensional point cloud, as well as a three-dimensional data decoding method and a three-dimensional data decoding device that decodes the encoded data.
[0144] A voxel (VXL) having a certain amount of features or more is defined as a feature voxel (FVXL), and a world (WLD) composed of FVXL is defined as a sparse world (SWLD). FIG. 11 is a diagram showing an example of the configuration of a sparse world and a world. SWLD includes FGOS, which is a GOS composed of FVXL, FSPC, which is an SPC composed of FVXL, and FVLM, which is a VLM composed of FVXL. The data structures and prediction structures of FGOS, FSPC, and FVLM may be the same as those of GOS, SPC, and VLM.
[0145] The feature amount is a feature amount that expresses three-dimensional position information of the VXL or visible light information of the VXL position, and is a feature amount that is often detected especially at corners and edges of a three-dimensional object. Specifically, this feature amount is a three-dimensional feature amount or visible light feature amount as described below, but any feature amount that expresses the position, brightness, or color information of the VXL, etc., may be used.
[0146] As the three-dimensional features, SHOT features (Signature of Histograms of OrienTations), PFH features (Point Feature Histograms), or PPF features (Point Pair Feature) are used.
[0147] The SHOT feature is obtained by dividing the VXL area, calculating the inner product of the reference point and the normal vector of the divided area, and forming a histogram. This SHOT feature has a high dimensionality and is characterized by its high expressiveness.
[0148] The PFH feature is obtained by selecting many pairs of two points near the VXL, calculating normal vectors from those two points, and creating a histogram. Since the PFH feature is a histogram feature, it is robust against some disturbances and has high feature expression power.
[0149] The PPF feature is calculated using normal vectors for each of two VXL points. Since the entire VXL is used for the PPF feature, it is robust against occlusion.
[0150] In addition, as a feature of visible light, Scale-Invariant Feature Transform (SIFT), Speeded Up Robust Features (SURF), Histogram of Oriented Gradients (HOG), or the like, which uses information such as luminance gradient information of an image, can be used.
[0151] The SWLD is generated by calculating the above feature amount from each VXL of the WLD and extracting the FVXL. Here, the SWLD may be updated every time the WLD is updated, or may be updated periodically after a certain period of time has elapsed, regardless of the timing of updating the WLD.
[0152] A SWLD may be generated for each feature. For example, a separate SWLD may be generated for each feature, such as SWLD1 based on SHOT features and SWLD2 based on SIFT features, and the SWLDs may be used according to the purpose. Also, the calculated feature of each FVXL may be stored in each FVXL as feature information.
[0153] Next, we explain how to use sparse world learning (SWLD). SWLDs contain only feature voxels (FVXL), so their data size is generally smaller than WLDs that contain all VXL.
[0154] In applications that use features to achieve some purpose, the time required to read from a hard disk, as well as the bandwidth and transfer time required for network transfer, can be reduced by using SWLD information instead of WLD information. For example, by storing WLD and SWLD as map information on a server and switching the map information to be sent to WLD or SWLD in response to a request from a client, the network bandwidth and transfer time can be reduced. A specific example is shown below.
[0155] 12 and 13 are diagrams showing examples of using SWLD and WLD. As shown in FIG. 12, when a client 1, which is an in-vehicle device, needs map information for self-location determination, the client 1 sends a request for map data for self-location estimation to the server (S301). The server transmits an SWLD to the client 1 in response to the request (S302). The client 1 performs self-location determination using the received SWLD (S303). At this time, the client 1 obtains VXL information around the client 1 using various methods such as a distance sensor such as a range finder, a stereo camera, or a combination of multiple monocular cameras, and estimates self-location information from the obtained VXL information and SWLD. Here, the self-location information includes three-dimensional position information and orientation of the client 1.
[0156] As shown in Fig. 13, when the client 2, which is an in-vehicle device, needs map information for the purpose of drawing a map such as a three-dimensional map, the client 2 sends a request to the server to obtain map data for map drawing (S311). The server transmits a WLD to the client 2 in response to the request (S312). The client 2 uses the received WLD to draw the map (S313). At this time, the client 2 creates a rendering image using, for example, an image captured by itself using a visible light camera or the like and the WLD obtained from the server, and draws the created image on the screen of a car navigation system or the like.
[0157] As described above, the server transmits SWLD to the client for applications that mainly require the feature values of each VXL, such as self-location estimation, and transmits WLD to the client for applications that require detailed VXL information, such as map drawing. This makes it possible to transmit and receive map data efficiently.
[0158] The client may determine whether it needs a SWLD or a WLD and request the server to send either a SWLD or a WLD. The server may determine whether it should send a SWLD or a WLD depending on the client or network conditions.
[0159] Next, we will explain how to switch between sending and receiving data in the sparse world (SWLD) and the world (WLD).
[0160] It is also possible to switch between receiving the WLD or the SWLD depending on the network bandwidth. Fig. 14 is a diagram showing an example of operation in this case. For example, when a low-speed network with a limited available network bandwidth such as an LTE (Long Term Evolution) environment is used, the client accesses the server via the low-speed network (S321) and acquires the SWLD as map information from the server (S322). On the other hand, when a high-speed network with ample network bandwidth such as a Wi-Fi (registered trademark) environment is used, the client accesses the server via the high-speed network (S323) and acquires the WLD from the server (S324). This allows the client to acquire appropriate map information depending on the network bandwidth of the client.
[0161] Specifically, the client receives SWLD via LTE when outdoors, and obtains WLD via Wi-Fi (registered trademark) when inside a facility, etc. This enables the client to obtain more detailed map information about the indoor area.
[0162] In this way, the client may request a WLD or SWLD from the server depending on the bandwidth of the network that the client uses. Alternatively, the client may send information indicating the bandwidth of the network that the client uses to the server, and the server may send data (WLD or SWLD) suitable for the client depending on the information. Alternatively, the server may determine the network bandwidth of the client and send data (WLD or SWLD) suitable for the client.
[0163] Also, whether to receive the WLD or SWLD may be switched depending on the moving speed. FIG. 15 is a diagram showing an example of the operation in this case. For example, when the client is moving at high speed (S331), the client receives the SWLD from the server (S332). On the other hand, when the client is moving at low speed (S333), the client receives the WLD from the server (S334). This allows the client to obtain map information suited to the speed while suppressing the network bandwidth. Specifically, the client can update rough map information at an appropriate speed by receiving SWLD with a small amount of data while traveling on a highway. On the other hand, the client can obtain more detailed map information by receiving WLD while traveling on an ordinary road.
[0164] In this way, the client may request the server for the WLD or SWLD depending on its own moving speed. Alternatively, the client may transmit information indicating its own moving speed to the server, and the server may transmit data (WLD or SWLD) suitable for the client depending on the information. Alternatively, the server may determine the moving speed of the client and transmit data (WLD or SWLD) suitable for the client.
[0165] Alternatively, the client may first obtain SWLD from the server, and then obtain WLD for important areas from that. For example, when obtaining map data, the client may first obtain rough map information in SWLD, narrow down the map information to areas where buildings, signs, people, or other features appear frequently, and obtain WLD for the narrowed down area later. This allows the client to obtain detailed information for the required area while suppressing the amount of data received from the server.
[0166] Also, the server may create separate SWLDs for each object from the WLD, and the client may receive each according to the purpose. This can reduce network bandwidth. For example, the server may recognize people or cars from the WLD in advance, and create SWLDs for people and SWLDs for cars. The client receives SWLDs for people when it wants to obtain information about people in the vicinity, and SWLDs for cars when it wants to obtain information about cars. Also, the types of SWLDs may be distinguished by information (flags, types, etc.) added to the header, etc.
[0167] Next, the configuration and operation flow of a three-dimensional data encoding device (e.g., a server) according to this embodiment will be described. Fig. 16 is a block diagram of a three-dimensional data encoding device 400 according to this embodiment. Fig. 17 is a flowchart of a three-dimensional data encoding process by the three-dimensional data encoding device 400.
[0168] 16 generates encoded three-dimensional data 413 and 414, which are encoded streams, by encoding input three-dimensional data 411. Here, the encoded three-dimensional data 413 is encoded three-dimensional data corresponding to a WLD, and the encoded three-dimensional data 414 is encoded three-dimensional data corresponding to a SWLD. This three-dimensional data encoding device 400 includes an acquisition unit 401, an encoding region determination unit 402, an SWLD extraction unit 403, a WLD encoding unit 404, and an SWLD encoding unit 405.
[0169] As shown in FIG. 17, first, the acquisition unit 401 acquires input three-dimensional data 411, which is point cloud data in a three-dimensional space (S401).
[0170] Next, the coding region determination unit 402 determines a spatial region to be coded based on the spatial region in which the point cloud data exists (S402).
[0171] Next, the SWLD extraction unit 403 defines the spatial region to be encoded as a WLD, and calculates a feature amount from each VXL included in the WLD.The SWLD extraction unit 403 then extracts VXLs whose feature amount is equal to or greater than a predetermined threshold, defines the extracted VXLs as FVXLs, and adds the FVXLs to the SWLD to generate extracted three-dimensional data 412 (S403).That is, extracted three-dimensional data 412 whose feature amount is equal to or greater than a threshold is extracted from the input three-dimensional data 411.
[0172] Next, the WLD encoding unit 404 generates encoded 3D data 413 corresponding to the WLD by encoding the input 3D data 411 corresponding to the WLD (S404). At this time, the WLD encoding unit 404 adds information to the header of the encoded 3D data 413 for distinguishing that the encoded 3D data 413 is a stream including a WLD.
[0173] Furthermore, the SWLD encoding unit 405 generates encoded three-dimensional data 414 corresponding to the SWLD by encoding the extracted three-dimensional data 412 corresponding to the SWLD (S405). At this time, the SWLD encoding unit 405 adds information to the header of the encoded three-dimensional data 414 for distinguishing that the encoded three-dimensional data 414 is a stream including a SWLD.
[0174] The order of the process for generating the encoded three-dimensional data 413 and the process for generating the encoded three-dimensional data 414 may be reversed. Also, some or all of these processes may be performed in parallel.
[0175] For example, a parameter "world_type" is defined as information to be added to the headers of the encoded 3D data 413 and 414. When world_type=0, it indicates that the stream includes a WLD, and when world_type=1, it indicates that the stream includes a SWLD. When defining many other types, the assigned numerical value may be increased, such as world_type=2. Also, a specific flag may be included in one of the encoded 3D data 413 and 414. For example, a flag indicating that the stream includes a SWLD may be added to the encoded 3D data 414. In this case, the decoding device can determine whether the stream includes a WLD or a SWLD depending on the presence or absence of the flag.
[0176] Furthermore, the encoding method used by the WLD encoding unit 404 when encoding the WLD may be different from the encoding method used by the SWLD encoding unit 405 when encoding the SWLD.
[0177] For example, in SWLD, data is thinned, so that the correlation with surrounding data may be lower than in WLD. Therefore, in the encoding method used in SWLD, among intra prediction and inter prediction, inter prediction may be prioritized over the encoding method used in WLD.
[0178] In addition, the coding method used for SWLD and the coding method used for WLD may differ in the way of expressing the three-dimensional position. For example, in SWLD, the three-dimensional position of FVXL may be expressed by three-dimensional coordinates, and in WLD, the three-dimensional position may be expressed by an octree, which will be described later, or vice versa.
[0179] Furthermore, the SWLD encoding unit 405 performs encoding so that the data size of the encoded three-dimensional data 414 of SWLD is smaller than the data size of the encoded three-dimensional data 413 of WLD. For example, as described above, the correlation between data of SWLD may be lower than that of WLD. This may result in a decrease in encoding efficiency, and the data size of the encoded three-dimensional data 414 may be larger than the data size of the encoded three-dimensional data 413 of WLD. Therefore, when the data size of the obtained encoded three-dimensional data 414 is larger than the data size of the encoded three-dimensional data 413 of WLD, the SWLD encoding unit 405 regenerates the encoded three-dimensional data 414 with a reduced data size by performing re-encoding.
[0180] For example, the SWLD extraction unit 403 regenerates the extracted three-dimensional data 412 with a reduced number of extracted feature points, and the SWLD encoding unit 405 encodes the extracted three-dimensional data 412. Alternatively, the degree of quantization in the SWLD encoding unit 405 may be made coarser. For example, in an octree structure described later, the degree of quantization can be made coarser by rounding the data in the lowest layer.
[0181] Furthermore, if the data size of the encoded three-dimensional data 414 of SWLD cannot be made smaller than the data size of the encoded three-dimensional data 413 of WLD, the SWLD encoding unit 405 may not generate the encoded three-dimensional data 414 of SWLD. Alternatively, the encoded three-dimensional data 413 of WLD may be copied to the encoded three-dimensional data 414 of SWLD. In other words, the encoded three-dimensional data 413 of WLD may be used as it is as the encoded three-dimensional data 414 of SWLD.
[0182] Next, the configuration and operation flow of a three-dimensional data decoding device (e.g., a client) according to this embodiment will be described. Fig. 18 is a block diagram of a three-dimensional data decoding device 500 according to this embodiment. Fig. 19 is a flowchart of three-dimensional data decoding processing by the three-dimensional data decoding device 500.
[0183] 18 generates decoded three-dimensional data 512 or 513 by decoding encoded three-dimensional data 511. Here, the encoded three-dimensional data 511 is, for example, the encoded three-dimensional data 413 or 414 generated by the three-dimensional data encoding device 400.
[0184] This three-dimensional data decoding device 500 includes an acquisition unit 501 , a header analysis unit 502 , a WLD decoding unit 503 , and a SWLD decoding unit 504 .
[0185] 19, first, an acquisition unit 501 acquires encoded 3D data 511 (S501). Next, a header analysis unit 502 analyzes the header of the encoded 3D data 511 and determines whether the encoded 3D data 511 is a stream including a WLD or a stream including a SWLD (S502). For example, the above-mentioned world_type parameter is referenced to perform the determination.
[0186] If the encoded three-dimensional data 511 is a stream including a WLD (Yes in S503), the WLD decoding unit 503 generates decoded three-dimensional data 512 of the WLD by decoding the encoded three-dimensional data 511 (S504). On the other hand, if the encoded three-dimensional data 511 is a stream including a SWLD (No in S503), the SWLD decoding unit 504 generates decoded three-dimensional data 513 of the SWLD by decoding the encoded three-dimensional data 511 (S505).
[0187] Also, similarly to the encoding device, the decoding method used by the WLD decoding unit 503 when decoding the WLD may be different from the decoding method used by the SWLD decoding unit 504 when decoding the SWLD. For example, in the decoding method used for the SWLD, inter prediction may be prioritized over the decoding method used for the WLD, out of intra prediction and inter prediction.
[0188] In addition, the decoding method used for SWLD and the decoding method used for WLD may use different methods for expressing three-dimensional positions. For example, in SWLD, the three-dimensional position of FVXL may be expressed by three-dimensional coordinates, and in WLD, the three-dimensional position may be expressed by an octet tree, which will be described later, or vice versa.
[0189] Next, an octree representation, which is a method of representing a three-dimensional position, will be described. The VXL data included in the three-dimensional data is converted into an octree structure and then encoded. FIG. 20 is a diagram showing an example of a VXL in a WLD. FIG. 21 is a diagram showing the octree structure of the WLD shown in FIG. 20. In the example shown in FIG. 20, there are three VXLs VXL1 to 3 that are VXLs (hereinafter, valid VXLs) that include point groups. As shown in FIG. 21, the octree structure is composed of nodes and leaves. Each node has a maximum of eight nodes or leaves. Each leaf has VXL information. Here, among the leaves shown in FIG. 21, leaves 1, 2, and 3 respectively represent VXL1, VXL2, and VXL3 shown in FIG. 20.
[0190] Specifically, each node and leaf corresponds to a three-dimensional position. Node 1 corresponds to the entire block shown in FIG. 20. The block corresponding to node 1 is divided into eight blocks, and among the eight blocks, the block containing a valid VXL is set as a node, and the other blocks are set as leaves. The block corresponding to the node is further divided into eight nodes or leaves, and this process is repeated for the number of layers of the tree structure. Also, all the blocks in the lowest layer are set as leaves.
[0191] FIG. 22 is a diagram showing an example of a SWLD generated from the WLD shown in FIG. 20. As a result of feature extraction, VXL1 and VXL2 shown in FIG. 20 are determined to be FVXL1 and FVXL2, and are added to the SWLD. On the other hand, VXL3 is not determined to be FVXL, and is not included in the SWLD. FIG. 23 is a diagram showing an octree structure of the SWLD shown in FIG. 22. In the octree structure shown in FIG. 23, leaf 3 corresponding to VXL3 shown in FIG. 21 is deleted. As a result, node 3 shown in FIG. 21 no longer has a valid VXL, and is changed to a leaf. In this way, the number of leaves in the SWLD is generally smaller than the number of leaves in the WLD, and the encoded three-dimensional data of the SWLD is also smaller than the encoded three-dimensional data of the WLD.
[0192] A modification of this embodiment will now be described.
[0193] For example, when a client such as an in-vehicle device estimates its own location, it receives an SWLD from a server and estimates its own location using the SWLD. When performing obstacle detection, the client may perform obstacle detection based on three-dimensional information of the surrounding area that it has acquired using various methods such as a distance sensor such as a range finder, a stereo camera, or a combination of multiple monocular cameras.
[0194] In addition, SWLDs generally do not include VXL data for flat areas. Therefore, the server may hold a subsampled world (subWLD) that is a subsample of WLD for static obstacle detection, and transmit SWLD and subWLD to the client. This allows the client to perform self-location estimation and obstacle detection while suppressing network bandwidth.
[0195] Also, when a client wants to quickly draw 3D map data, it may be more convenient for the map information to have a mesh structure. Therefore, the server may generate a mesh from the WLD and store it in advance as a mesh world (MWLD). For example, a client receives an MWLD when it needs a rough 3D drawing, and receives a WLD when it needs a detailed 3D drawing. This can reduce the network bandwidth.
[0196] In addition, the server sets the VXL whose feature amount is equal to or greater than the threshold value as the FVXL among the VXLs, but the FVXL may be calculated by a different method. For example, the server may determine that the VXL, VLM, SPC, or GOS constituting a signal or an intersection is necessary for self-location estimation, driving assistance, or automatic driving, and may include the VXL, VLM, FSPC, or GOS in the SWLD. The above determination may be performed manually. The FVXL, etc. obtained by the above method may be added to the FVXL, etc. set based on the feature amount. That is, the SWLD extraction unit 403 may further extract data corresponding to an object having a predetermined attribute from the input three-dimensional data 411 as the extracted three-dimensional data 412.
[0197] In addition, the fact that it is necessary for those uses may be labeled separately from the feature. In addition, the server may separately hold FVXL necessary for self-location estimation at signals or intersections, driving assistance, autonomous driving, etc., as a higher layer (e.g., lane world) of SWLD.
[0198] The server may also add attributes to the VXL in the WLD for each random access unit or for each predetermined unit. The attributes include, for example, information indicating whether it is necessary or unnecessary for self-location estimation, or information indicating whether it is important as traffic information such as a signal or an intersection. The attributes may also include a correspondence relationship with a feature (such as an intersection or a road) in lane information (such as GDF: Geographic Data Files).
[0199] In addition, the following method may be used as a method for updating the WLD or SWLD.
[0200] Updates, such as changes in people, construction, or tree-lined streets (for trucks), are uploaded to the server as point clouds or metadata. The server updates the WLD based on the upload, and then updates the SWLD with the updated WLD.
[0201] In addition, when the client detects an inconsistency between the 3D information generated by itself during self-location estimation and the 3D information received from the server, the client may transmit the 3D information generated by itself together with an update notification to the server. In this case, the server updates the SWLD using the WLD. If the SWLD is not updated, the server determines that the WLD itself is out of date.
[0202] In addition, although information for distinguishing between WLD and SWLD is added as header information of the encoded stream, when there are many kinds of worlds, such as mesh world and lane world, information for distinguishing them may be added to the header information. In addition, when there are many SWLDs with different features, information for distinguishing them may be added to the header information.
[0203] Although the SWLD is described as being composed of FVXL, it may include VXL that is not determined to be FVXL. For example, the SWLD may include adjacent VXL used when calculating the feature amount of FVXL. This allows the client to calculate the feature amount of FVXL when receiving the SWLD, even if feature amount information is not added to each FVXL in the SWLD. In this case, the SWLD may include information for distinguishing whether each VXL is FVXL or VXL.
[0204] As described above, the three-dimensional data encoding device 400 extracts extracted three-dimensional data 412 (second three-dimensional data) whose features are greater than or equal to a threshold value from the input three-dimensional data 411 (first three-dimensional data), and generates encoded three-dimensional data 414 (first encoded three-dimensional data) by encoding the extracted three-dimensional data 412.
[0205] According to this, the three-dimensional data encoding device 400 generates encoded three-dimensional data 414 by encoding data whose feature amount is equal to or greater than a threshold value. This makes it possible to reduce the amount of data compared to when the input three-dimensional data 411 is encoded as is. Therefore, the three-dimensional data encoding device 400 can reduce the amount of data to be transmitted.
[0206] Moreover, the three-dimensional data encoding device 400 further encodes the input three-dimensional data 411 to generate encoded three-dimensional data 413 (second encoded three-dimensional data).
[0207] According to this, the three-dimensional data encoding device 400 can selectively transmit the encoded three-dimensional data 413 and the encoded three-dimensional data 414 depending on, for example, the intended use.
[0208] Moreover, the extracted three-dimensional data 412 is encoded by a first encoding method, and the input three-dimensional data 411 is encoded by a second encoding method different from the first encoding method.
[0209] This allows the three-dimensional data encoding device 400 to use an encoding method suitable for each of the input three-dimensional data 411 and the extracted three-dimensional data 412.
[0210] Furthermore, in the first encoding method, of intra prediction and inter prediction, inter prediction is given priority over the second encoding method.
[0211] This allows the 3D data encoding device 400 to increase the priority of inter prediction for the extracted 3D data 412 in which the correlation between adjacent data is likely to be low.
[0212] In addition, the first and second encoding methods differ in the way they represent three-dimensional positions. For example, the second encoding method represents three-dimensional positions using an octree, whereas the first encoding method represents three-dimensional positions using three-dimensional coordinates.
[0213] This enables the three-dimensional data encoding device 400 to use a more suitable three-dimensional position expression method for three-dimensional data having a different number of pieces of data (the number of VXLs or FVXLs).
[0214] Furthermore, at least one of the encoded three-dimensional data 413 and 414 includes an identifier indicating whether the encoded three-dimensional data is encoded three-dimensional data obtained by encoding the input three-dimensional data 411, or encoded three-dimensional data obtained by encoding a portion of the input three-dimensional data 411. In other words, the identifier indicates whether the encoded three-dimensional data is encoded three-dimensional data 413 of WLD or encoded three-dimensional data 414 of SWLD.
[0215] This allows the decoding device to easily determine whether the acquired encoded three-dimensional data is encoded three-dimensional data 413 or encoded three-dimensional data 414.
[0216] Furthermore, the three-dimensional data encoding device 400 encodes the extracted three-dimensional data 412 so that the amount of encoded three-dimensional data 414 is smaller than the amount of encoded three-dimensional data 413 .
[0217] According to this, the three-dimensional data encoding device 400 can make the amount of encoded three-dimensional data 414 smaller than the amount of encoded three-dimensional data 413 .
[0218] Moreover, the three-dimensional data encoding device 400 further extracts data corresponding to an object having a predetermined attribute from the input three-dimensional data 411 as extracted three-dimensional data 412. For example, the object having the predetermined attribute is an object necessary for self-location estimation, driving assistance, automatic driving, or the like, such as a traffic light or an intersection.
[0219] This allows the three-dimensional data encoding device 400 to generate encoded three-dimensional data 414 that includes data required by the decoding device.
[0220] Moreover, the three-dimensional data encoding device 400 (server) further transmits one of the encoded three-dimensional data 413 and 414 to the client depending on the state of the client.
[0221] This allows the three-dimensional data encoding device 400 to transmit appropriate data depending on the state of the client.
[0222] The state of the client also includes the communication status of the client (eg, network bandwidth) or the movement speed of the client.
[0223] Moreover, the three-dimensional data encoding device 400 further transmits one of the encoded three-dimensional data 413 and 414 to the client in response to a request from the client.
[0224] This allows the three-dimensional data encoding device 400 to transmit appropriate data in response to a request from a client.
[0225] Moreover, the three-dimensional data decoding device 500 according to this embodiment decodes the encoded three-dimensional data 413 or 414 generated by the three-dimensional data encoding device 400 described above.
[0226] That is, the three-dimensional data decoding device 500 decodes, by a first decoding method, the encoded three-dimensional data 414 obtained by encoding the extracted three-dimensional data 412, the feature amount of which is equal to or greater than a threshold value, extracted from the input three-dimensional data 411. Also, the three-dimensional data decoding device 500 decodes, by a second decoding method different from the first decoding method, the encoded three-dimensional data 413 obtained by encoding the input three-dimensional data 411.
[0227] According to this, the three-dimensional data decoding device 500 can selectively receive the encoded three-dimensional data 414, which is obtained by encoding data whose feature amount is equal to or greater than a threshold value, and the encoded three-dimensional data 413, depending on, for example, the intended use. This allows the three-dimensional data decoding device 500 to reduce the amount of data to be transmitted. Furthermore, the three-dimensional data decoding device 500 can use a decoding method suitable for each of the input three-dimensional data 411 and the extracted three-dimensional data 412.
[0228] Furthermore, in the first decoding method, of intra prediction and inter prediction, inter prediction is given priority over the second decoding method.
[0229] This allows the 3D data decoding device 500 to increase the priority of inter prediction for extracted 3D data in which the correlation between adjacent data is likely to be low.
[0230] In addition, the first and second decoding methods have different methods of expressing three-dimensional positions. For example, in the second decoding method, a three-dimensional position is expressed by an octree, whereas in the first decoding method, a three-dimensional position is expressed by three-dimensional coordinates.
[0231] This allows the three-dimensional data decoding device 500 to use a more suitable three-dimensional position expression method for three-dimensional data with different numbers of data (numbers of VXLs or FVXLs).
[0232] Furthermore, at least one of the encoded three-dimensional data 413 and 414 includes an identifier indicating whether the encoded three-dimensional data is encoded three-dimensional data obtained by encoding the input three-dimensional data 411, or encoded three-dimensional data obtained by encoding a portion of the input three-dimensional data 411. The three-dimensional data decoding device 500 identifies the encoded three-dimensional data 413 and 414 by referring to the identifier.
[0233] This allows the three-dimensional data decoding device 500 to easily determine whether the acquired encoded three-dimensional data is the encoded three-dimensional data 413 or the encoded three-dimensional data 414.
[0234] Furthermore, the three-dimensional data decoding device 500 further notifies the server of the state of the client (the three-dimensional data decoding device 500). The three-dimensional data decoding device 500 receives one of the encoded three-dimensional data 413 and 414 transmitted from the server depending on the state of the client.
[0235] This allows the three-dimensional data decoding device 500 to receive appropriate data depending on the state of the client.
[0236] The state of the client also includes the communication status of the client (eg, network bandwidth) or the movement speed of the client.
[0237] Moreover, the three-dimensional data decoding device 500 further requests one of the encoded three-dimensional data 413 and 414 from the server, and receives one of the encoded three-dimensional data 413 and 414 transmitted from the server in response to the request.
[0238] This allows the three-dimensional data decoding device 500 to receive appropriate data according to the application.
[0239] (Embodiment 3) In this embodiment, a method for transmitting and receiving three-dimensional data between vehicles will be described. For example, three-dimensional data is transmitted and received between a vehicle and a surrounding vehicle.
[0240] 24 is a block diagram of a three-dimensional data creation device 620 according to this embodiment. The three-dimensional data creation device 620 is included in, for example, a vehicle, and creates a more detailed third three-dimensional data 636 by synthesizing a first three-dimensional data 632 created by the three-dimensional data creation device 620 with a second three-dimensional data 635 received.
[0241] This three-dimensional data creation device 620 includes a three-dimensional data creation unit 621 , a requested range determination unit 622 , a search unit 623 , a reception unit 624 , a decoding unit 625 , and a synthesis unit 626 .
[0242] First, a three-dimensional data creation unit 621 creates first three-dimensional data 632 using sensor information 631 detected by a sensor equipped in the vehicle. Next, a required range determination unit 622 determines a required range, which is a three-dimensional spatial range in which data is insufficient in the created first three-dimensional data 632.
[0243] Next, the search unit 623 searches for nearby vehicles that have three-dimensional data in the requested range, and transmits requested range information 633 indicating the requested range to the nearby vehicles identified by the search. Next, the receiving unit 624 receives encoded three-dimensional data 634, which is an encoded stream of the requested range, from the nearby vehicles (S624). Note that the search unit 623 may indiscriminately issue a request to all vehicles present in a specific range, and receive the encoded three-dimensional data 634 from those that respond. Also, the search unit 623 may issue a request to an object, such as a traffic light or a sign, in addition to a vehicle, and receive the encoded three-dimensional data 634 from the object.
[0244] Next, the decoding unit 625 obtains second three-dimensional data 635 by decoding the received encoded three-dimensional data 634. Next, the synthesis unit 626 creates third three-dimensional data 636, which is denser, by synthesizing the first three-dimensional data 632 and the second three-dimensional data 635.
[0245] Next, a configuration and operation of three-dimensional data transmission device 640 according to this embodiment will be described.
[0246] The three-dimensional data transmission device 640 is, for example, included in the surrounding vehicle described above, processes the fifth three-dimensional data 652 created by the surrounding vehicle into sixth three-dimensional data 654 requested by the host vehicle, encodes the sixth three-dimensional data 654 to generate encoded three-dimensional data 634, and transmits the encoded three-dimensional data 634 to the host vehicle.
[0247] The three-dimensional data transmission device 640 includes a three-dimensional data creation unit 641 , a receiving unit 642 , an extracting unit 643 , an encoding unit 644 , and a transmitting unit 645 .
[0248] First, the three-dimensional data creation unit 641 creates fifth three-dimensional data 652 using sensor information 651 detected by a sensor equipped in the surrounding vehicle. Next, the receiving unit 642 receives the requested range information 633 transmitted from the host vehicle.
[0249] Next, the extraction unit 643 extracts three-dimensional data of the requested range indicated by the requested range information 633 from the fifth three-dimensional data 652, thereby processing the fifth three-dimensional data 652 into sixth three-dimensional data 654. Next, the encoding unit 644 encodes the sixth three-dimensional data 654 to generate encoded three-dimensional data 634, which is an encoded stream. Then, the transmission unit 645 transmits the encoded three-dimensional data 634 to the host vehicle.
[0250] Here, an example is described in which the vehicle itself is equipped with a three-dimensional data creation device 620 and the surrounding vehicles are equipped with a three-dimensional data transmission device 640, but each vehicle may have the functions of both the three-dimensional data creation device 620 and the three-dimensional data transmission device 640.
[0251] (Embodiment 4) In this embodiment, the operation of an abnormality system in self-location estimation based on a three-dimensional map will be described.
[0252] It is expected that applications such as self-driving cars, or autonomous movement of mobile objects such as robots or flying objects such as drones will expand in the future. One example of a means for realizing such autonomous movement is a method in which a mobile object estimates its own position within a three-dimensional map (self-location estimation) and travels according to the map.
[0253] Self-location estimation can be achieved by matching a 3D map with 3D information about the surroundings of the vehicle (hereinafter referred to as vehicle-detected 3D data) obtained by sensors such as a range finder (such as LiDAR) or a stereo camera mounted on the vehicle, and estimating the vehicle's position within the 3D map.
[0254] A 3D map, such as the HD map proposed by HERE, may include not only a 3D point cloud, but also 2D map data such as shape information of roads and intersections, or information that changes in real time such as traffic jams and accidents. A 3D map is made up of multiple layers such as 3D data, 2D data, and metadata that changes in real time, and a device can obtain or refer to only the necessary data.
[0255] The point cloud data may be the above-mentioned SWLD, or may include point group data other than feature points. Furthermore, the transmission and reception of the point cloud data is performed on a basis of one or multiple random access units.
[0256] The following methods can be used as a method for matching the 3D map with the vehicle-detected 3D data. For example, the device compares the shapes of the point groups in each point cloud, and determines that parts with high similarity between feature points are in the same position. In addition, when the 3D map is composed of SWLDs, the device performs matching by comparing the feature points that compose the SWLDs with the 3D feature points extracted from the vehicle-detected 3D data.
[0257] Here, to estimate the vehicle's position with high accuracy, (A) it is necessary to acquire a 3D map and 3D vehicle detection data, and (B) the accuracy of these must satisfy a predetermined standard. However, in the following abnormal cases, (A) or (B) cannot be satisfied.
[0258] (1) 3D maps cannot be obtained via communication.
[0259] (2) The 3D map does not exist, or the 3D map has been acquired but is corrupted.
[0260] (3) The vehicle's sensor is out of order or the weather is bad, so the accuracy of generating the vehicle-detected 3D data is insufficient.
[0261] The operation for dealing with these abnormal cases will be described below. Although the operation will be described below using a car as an example, the following method can be applied to any autonomously moving animal, such as a robot or a drone.
[0262] The configuration and operation of a three-dimensional information processing device according to this embodiment for dealing with abnormal cases in a three-dimensional map or vehicle-detected three-dimensional data will be described below. Fig. 26 is a block diagram showing an example of the configuration of a three-dimensional information processing device 700 according to this embodiment.
[0263] The three-dimensional information processing device 700 is mounted on a moving object such as an automobile. As shown in FIG. 26 , the three-dimensional information processing device 700 includes a three-dimensional map acquisition unit 701, a host vehicle detection data acquisition unit 702, an abnormality case determination unit 703, a countermeasure operation decision unit 704, and an operation control unit 705.
[0264] The three-dimensional information processing device 700 may include a two-dimensional or one-dimensional sensor (not shown) for detecting structures or animals around the vehicle, such as a camera for acquiring a two-dimensional image, or a sensor for one-dimensional data using ultrasonic waves or a laser. The three-dimensional information processing device 700 may also include a communication unit (not shown) for acquiring a three-dimensional map through a mobile communication network such as 4G or 5G, or through vehicle-to-vehicle communication or road-to-vehicle communication.
[0265] The three-dimensional map acquisition unit 701 acquires a three-dimensional map 711 of the vicinity of the travel route. For example, the three-dimensional map acquisition unit 701 acquires the three-dimensional map 711 through a mobile communication network, or through vehicle-to-vehicle communication or road-to-vehicle communication.
[0266] Next, the host vehicle detection data acquisition unit 702 acquires host vehicle detection three-dimensional data 712 based on the sensor information. For example, the host vehicle detection data acquisition unit 702 generates the host vehicle detection three-dimensional data 712 based on sensor information acquired by a sensor equipped in the host vehicle.
[0267] Next, the abnormality case determination unit 703 detects an abnormality case by performing a predetermined check on at least one of the acquired three-dimensional map 711 and the host vehicle detected three-dimensional data 712. In other words, the abnormality case determination unit 703 determines whether at least one of the acquired three-dimensional map 711 and the host vehicle detected three-dimensional data 712 is abnormal.
[0268] When an abnormal case is detected, a countermeasure action decision unit 704 decides a countermeasure action for the abnormal case. Next, an action control unit 705 controls the operation of each processing unit required for carrying out the countermeasure action, such as the three-dimensional map acquisition unit 701.
[0269] On the other hand, if no abnormal case is detected, the three-dimensional information processing apparatus 700 ends the process.
[0270] Furthermore, the three-dimensional information processing device 700 uses the three-dimensional map 711 and the vehicle-detected three-dimensional data 712 to estimate the self-position of the vehicle having the three-dimensional information processing device 700. Next, the three-dimensional information processing device 700 automatically drives the vehicle using the result of the self-position estimation.
[0271] In this way, the three-dimensional information processing device 700 acquires map data (three-dimensional map 711) including the first three-dimensional position information via a communication path. For example, the first three-dimensional position information is encoded in units of subspaces having three-dimensional coordinate information, and each is a collection of one or more subspaces, and includes a plurality of random access units that can be independently decoded. For example, the first three-dimensional position information is data (SWLD) in which feature points whose three-dimensional feature amount is equal to or greater than a predetermined threshold value are encoded.
[0272] Furthermore, the three-dimensional information processing device 700 generates second three-dimensional position information (vehicle-detected three-dimensional data 712) from information detected by the sensor. Next, the three-dimensional information processing device 700 performs an abnormality determination process on the first three-dimensional position information or the second three-dimensional position information to determine whether the first three-dimensional position information or the second three-dimensional position information is abnormal.
[0273] When the first three-dimensional position information or the second three-dimensional position information is determined to be abnormal, the three-dimensional information processing apparatus 700 determines a countermeasure action for the abnormality. Next, the three-dimensional information processing apparatus 700 performs control required for carrying out the countermeasure action.
[0274] This allows the three-dimensional information processing apparatus 700 to detect an abnormality in the first three-dimensional position information or the second three-dimensional position information, and to take appropriate action.
[0275] (Embodiment 5) In this embodiment, a method of transmitting three-dimensional data to a following vehicle will be described.
[0276] 27 is a block diagram showing an example of the configuration of a three-dimensional data creation device 810 according to this embodiment. This three-dimensional data creation device 810 is mounted on, for example, a vehicle. The three-dimensional data creation device 810 transmits and receives three-dimensional data to and from an external traffic monitoring cloud, a leading vehicle, or a following vehicle, and creates and stores three-dimensional data.
[0277] The three-dimensional data creation device 810 includes a data receiving unit 811, a communication unit 812, a receiving control unit 813, a format conversion unit 814, multiple sensors 815, a three-dimensional data creation unit 816, a three-dimensional data synthesis unit 817, a three-dimensional data storage unit 818, a communication unit 819, a transmission control unit 820, a format conversion unit 821, and a data transmission unit 822.
[0278] The data receiving unit 811 receives three-dimensional data 831 from a traffic monitoring cloud or a preceding vehicle. The three-dimensional data 831 includes information such as a point cloud, a visible light image, depth information, sensor position information, or speed information, including an area that cannot be detected by the sensor 815 of the vehicle itself.
[0279] The communication unit 812 communicates with the traffic monitoring cloud or the vehicle ahead, and transmits data transmission requests, etc. to the traffic monitoring cloud or the vehicle ahead.
[0280] The reception control unit 813 exchanges information such as compatible formats with the communication destination via the communication unit 812, and establishes communication with the communication destination.
[0281] The format conversion unit 814 generates three-dimensional data 832 by performing format conversion or the like on the three-dimensional data 831 received by the data receiving unit 811. Furthermore, when the three-dimensional data 831 is compressed or encoded, the format conversion unit 814 performs decompression or decoding processing.
[0282] The multiple sensors 815 are a group of sensors such as LiDAR, a visible light camera, or an infrared camera that acquires information about the outside of the vehicle, and generate sensor information 833. For example, when the sensor 815 is a laser sensor such as LiDAR, the sensor information 833 is three-dimensional data such as a point cloud (point cloud data). Note that the number of sensors 815 does not need to be multiple.
[0283] The three-dimensional data creation unit 816 generates three-dimensional data 834 from the sensor information 833. The three-dimensional data 834 includes information such as a point cloud, a visible light image, depth information, sensor position information, or velocity information.
[0284] The three-dimensional data synthesis unit 817 synthesizes three-dimensional data 834 created based on the host vehicle's sensor information 833 with three-dimensional data 832 created by a traffic monitoring cloud or a preceding vehicle, etc., to construct three-dimensional data 835 that includes the space in front of the preceding vehicle that cannot be detected by the host vehicle's sensor 815.
[0285] The three-dimensional data storage unit 818 stores the generated three-dimensional data 835 and the like.
[0286] The communication unit 819 communicates with the traffic monitoring cloud or the following vehicle, and transmits data transmission requests, etc. to the traffic monitoring cloud or the following vehicle.
[0287] The transmission control unit 820 exchanges information such as compatible formats with the communication destination and establishes communication with the communication destination via the communication unit 819. In addition, the transmission control unit 820 determines a transmission region, which is the space of the three-dimensional data to be transmitted, based on three-dimensional data construction information of the three-dimensional data 832 generated by the three-dimensional data synthesis unit 817 and a data transmission request from the communication destination.
[0288] Specifically, the transmission control unit 820 determines a transmission region including a space in front of the vehicle that cannot be detected by the sensor of the following vehicle in response to a data transmission request from the traffic monitoring cloud or the following vehicle. The transmission control unit 820 also determines the transmission region by judging whether or not a transmittable space or a transmitted space has been updated based on the three-dimensional data construction information. For example, the transmission control unit 820 determines the region specified in the data transmission request and in which the corresponding three-dimensional data 835 exists as the transmission region. Then, the transmission control unit 820 notifies the format conversion unit 821 of the format supported by the communication destination and the transmission region.
[0289] The format conversion unit 821 converts three-dimensional data 836 of the transmission region, among the three-dimensional data 835 stored in the three-dimensional data storage unit 818, into a format supported by the receiving side, thereby generating three-dimensional data 837. Note that the format conversion unit 821 may reduce the amount of data by compressing or encoding the three-dimensional data 837.
[0290] The data transmission unit 822 transmits the three-dimensional data 837 to the traffic monitoring cloud or the following vehicle. The three-dimensional data 837 includes information such as a point cloud, visible light image, depth information, or sensor position information in front of the vehicle, including blind spots of the following vehicle.
[0291] In the above description, the format conversion units 814 and 821 perform format conversion, but the format conversion does not necessarily have to be performed.
[0292] With this configuration, the three-dimensional data creation device 810 externally acquires three-dimensional data 831 of an area that cannot be detected by the sensor 815 of the host vehicle, and generates three-dimensional data 835 by synthesizing the three-dimensional data 831 with three-dimensional data 834 based on sensor information 833 detected by the sensor 815 of the host vehicle. In this way, the three-dimensional data creation device 810 can generate three-dimensional data of an area that cannot be detected by the sensor 815 of the host vehicle.
[0293] In addition, in response to a data transmission request from a traffic monitoring cloud or a following vehicle, the three-dimensional data creation device 810 can transmit three-dimensional data including the space in front of the vehicle that cannot be detected by the sensors of the following vehicle to the traffic monitoring cloud or the following vehicle, etc.
[0294] (Embodiment 6) In the fifth embodiment, an example has been described in which a client device such as a vehicle transmits three-dimensional data to another vehicle or a server such as a traffic monitoring cloud. In the present embodiment, the client device transmits sensor information obtained by a sensor to the server or another client device.
[0295] First, the configuration of the system according to this embodiment will be described. Fig. 28 is a diagram showing the configuration of a transmission / reception system for a 3D map and sensor information according to this embodiment. This system includes a server 901 and client devices 902A and 902B. When there is no particular need to distinguish between the client devices 902A and 902B, they are also referred to as client devices 902.
[0296] The client device 902 is, for example, an in-vehicle device mounted on a moving object such as a vehicle. The server 901 is, for example, a traffic monitoring cloud or the like, and is capable of communicating with a plurality of client devices 902.
[0297] The server 901 transmits a three-dimensional map composed of a point cloud to the client device 902. Note that the composition of the three-dimensional map is not limited to a point cloud, and may represent other three-dimensional data such as a mesh structure.
[0298] The client device 902 transmits sensor information acquired by the client device 902 to the server 901. The sensor information includes, for example, at least one of LiDAR acquisition information, a visible light image, an infrared image, a depth image, sensor position information, and speed information.
[0299] Data transmitted between the server 901 and the client device 902 may be compressed to reduce data, or may be left uncompressed to maintain data accuracy. When compressing data, a three-dimensional compression method based on an octree structure, for example, can be used for the point cloud. Also, a two-dimensional image compression method can be used for the visible light image, the infrared image, and the depth image. The two-dimensional image compression method is, for example, MPEG-4 AVC or HEVC standardized by MPEG.
[0300] Furthermore, the server 901 transmits the three-dimensional map managed by the server 901 to the client device 902 in response to a transmission request for the three-dimensional map from the client device 902. Note that the server 901 may transmit the three-dimensional map without waiting for a transmission request for the three-dimensional map from the client device 902. For example, the server 901 may broadcast the three-dimensional map to one or more client devices 902 in a predetermined space. Furthermore, the server 901 may transmit a three-dimensional map suitable for the position of the client device 902 at regular intervals to the client device 902 that has received a transmission request once. Furthermore, the server 901 may transmit the three-dimensional map to the client device 902 every time the three-dimensional map managed by the server 901 is updated.
[0301] The client device 902 issues a request for transmitting a three-dimensional map to the server 901. For example, when the client device 902 wants to estimate its own position while driving, the client device 902 transmits a request for transmitting a three-dimensional map to the server 901.
[0302] In the following cases, the client device 902 may issue a transmission request for a three-dimensional map to the server 901. If the three-dimensional map held by the client device 902 is old, the client device 902 may issue a transmission request for a three-dimensional map to the server 901. For example, if a certain period of time has passed since the client device 902 acquired the three-dimensional map, the client device 902 may issue a transmission request for a three-dimensional map to the server 901.
[0303] The client device 902 may issue a request to send a three-dimensional map to the server 901 a certain time before the client device 902 leaves the space shown in the three-dimensional map held by the client device 902. For example, when the client device 902 is within a predetermined distance from the boundary of the space shown in the three-dimensional map held by the client device 902, the client device 902 may issue a request to send a three-dimensional map to the server 901. In addition, when the movement route and movement speed of the client device 902 are known, the time when the client device 902 will leave the space shown in the three-dimensional map held by the client device 902 may be predicted based on these.
[0304] If the error in aligning the three-dimensional data created by the client device 902 from sensor information with the three-dimensional map is equal to or greater than a certain level, the client device 902 may issue a request to the server 901 to transmit the three-dimensional map.
[0305] The client device 902 transmits the sensor information to the server 901 in response to a request to transmit the sensor information transmitted from the server 901. The client device 902 may transmit the sensor information to the server 901 without waiting for a request to transmit the sensor information from the server 901. For example, once the client device 902 receives a request to transmit the sensor information from the server 901, the client device 902 may transmit the sensor information to the server 901 periodically for a certain period of time. In addition, when an error occurs in aligning three-dimensional data created by the client device 902 based on the sensor information with the three-dimensional map obtained from the server 901, the client device 902 may determine that a change may have occurred in the three-dimensional map around the client device 902 and transmit a message to that effect along with the sensor information to the server 901.
[0306] The server 901 issues a transmission request for sensor information to the client device 902. For example, the server 901 receives location information of the client device 902, such as a GPS, from the client device 902. When the server 901 determines, based on the location information of the client device 902, that the client device 902 is approaching a space with little information in the three-dimensional map managed by the server 901, it issues a transmission request for sensor information to the client device 902 in order to generate a new three-dimensional map. The server 901 may also issue a transmission request for sensor information when it is desired to update the three-dimensional map, when it is desired to check road conditions such as during snowfall or a disaster, when it is desired to check traffic congestion conditions, or when it is desired to check incident and accident conditions, etc.
[0307] Furthermore, the client device 902 may set the amount of data of the sensor information to be transmitted to the server 901 depending on the communication state or bandwidth at the time of receiving a request to transmit the sensor information from the server 901. Setting the amount of data of the sensor information to be transmitted to the server 901 means, for example, increasing or decreasing the amount of the data itself or appropriately selecting a compression method.
[0308] 29 is a block diagram showing an example of the configuration of a client device 902. The client device 902 receives a three-dimensional map composed of a point cloud or the like from the server 901, and estimates the self-position of the client device 902 from three-dimensional data created based on sensor information of the client device 902. In addition, the client device 902 transmits the acquired sensor information to the server 901.
[0309] The client device 902 includes a data receiving unit 1011, a communication unit 1012, a reception control unit 1013, a format conversion unit 1014, multiple sensors 1015, a three-dimensional data creation unit 1016, a three-dimensional image processing unit 1017, a three-dimensional data storage unit 1018, a format conversion unit 1019, a communication unit 1020, a transmission control unit 1021, and a data transmission unit 1022.
[0310] The data receiving unit 1011 receives a three-dimensional map 1031 from the server 901. The three-dimensional map 1031 is data including a point cloud such as a WLD or a SWLD. The three-dimensional map 1031 may include either compressed data or uncompressed data.
[0311] The communication unit 1012 communicates with the server 901, and transmits data transmission requests (for example, a request to transmit a three-dimensional map) to the server 901.
[0312] The reception control unit 1013 exchanges information such as compatible formats with the communication destination via the communication unit 1012, and establishes communication with the communication destination.
[0313] The format conversion unit 1014 generates a three-dimensional map 1032 by performing format conversion and the like on the three-dimensional map 1031 received by the data receiving unit 1011. Furthermore, if the three-dimensional map 1031 is compressed or encoded, the format conversion unit 1014 performs decompression or decoding processing. Note that if the three-dimensional map 1031 is uncompressed data, the format conversion unit 1014 does not perform decompression or decoding processing.
[0314] The multiple sensors 1015 are a group of sensors, such as LiDAR, a visible light camera, an infrared camera, or a depth sensor, that acquire information about the outside of the vehicle in which the client device 902 is mounted, and generate sensor information 1033. For example, when the sensor 1015 is a laser sensor such as LiDAR, the sensor information 1033 is three-dimensional data such as a point cloud (point cloud data). Note that the number of sensors 1015 does not need to be multiple.
[0315] The three-dimensional data creation unit 1016 creates three-dimensional data 1034 of the surroundings of the vehicle based on the sensor information 1033. For example, the three-dimensional data creation unit 1016 creates point cloud data with color information of the surroundings of the vehicle using information acquired by the LiDAR and a visible light image acquired by a visible light camera.
[0316] The three-dimensional image processing unit 1017 performs self-position estimation processing of the vehicle using a three-dimensional map 1032 such as a received point cloud and three-dimensional data 1034 of the surroundings of the vehicle generated from the sensor information 1033. The three-dimensional image processing unit 1017 may generate three-dimensional data 1035 of the surroundings of the vehicle by combining the three-dimensional map 1032 and the three-dimensional data 1034, and perform self-position estimation processing using the generated three-dimensional data 1035.
[0317] The three-dimensional data storage unit 1018 stores a three-dimensional map 1032, three-dimensional data 1034, and three-dimensional data 1035, and the like.
[0318] The format conversion unit 1019 generates sensor information 1037 by converting the sensor information 1033 into a format supported by the receiving side. The format conversion unit 1019 may reduce the amount of data by compressing or encoding the sensor information 1037. Furthermore, the format conversion unit 1019 may omit processing when format conversion is not necessary. Furthermore, the format conversion unit 1019 may control the amount of data to be transmitted in accordance with a designated transmission range.
[0319] The communication unit 1020 communicates with the server 901, and receives data transmission requests (sensor information transmission requests) and the like from the server 901.
[0320] The transmission control unit 1021 exchanges information such as compatible formats with the communication destination via the communication unit 1020, and establishes communication.
[0321] The data transmission unit 1022 transmits the sensor information 1037 to the server 901. The sensor information 1037 includes information acquired by a plurality of sensors 1015, such as information acquired by a LiDAR, a luminance image acquired by a visible light camera, an infrared image acquired by an infrared camera, a depth image acquired by a depth sensor, sensor position information, and speed information.
[0322] Next, the configuration of the server 901 will be described. Fig. 30 is a block diagram showing an example of the configuration of the server 901. The server 901 receives sensor information transmitted from the client device 902, and creates three-dimensional data based on the received sensor information. The server 901 updates a three-dimensional map managed by the server 901 using the created three-dimensional data. In addition, the server 901 transmits the updated three-dimensional map to the client device 902 in response to a transmission request for the three-dimensional map from the client device 902.
[0323] The server 901 includes a data receiving unit 1111, a communication unit 1112, a receiving control unit 1113, a format conversion unit 1114, a three-dimensional data creation unit 1116, a three-dimensional data synthesis unit 1117, a three-dimensional data storage unit 1118, a format conversion unit 1119, a communication unit 1120, a transmission control unit 1121, and a data transmission unit 1122.
[0324] The data receiving unit 1111 receives sensor information 1037 from the client device 902. The sensor information 1037 includes, for example, information acquired by a LiDAR, a luminance image acquired by a visible light camera, an infrared image acquired by an infrared camera, a depth image acquired by a depth sensor, sensor position information, and speed information.
[0325] The communication unit 1112 communicates with the client device 902 and transmits a data transmission request (for example, a request to transmit sensor information) to the client device 902 .
[0326] The reception control unit 1113 exchanges information such as compatible formats with the communication destination via the communication unit 1112, and establishes communication.
[0327] When the received sensor information 1037 is compressed or encoded, the format conversion unit 1114 performs decompression or decoding processing to generate the sensor information 1132. Note that, when the sensor information 1037 is non-compressed data, the format conversion unit 1114 does not perform decompression or decoding processing.
[0328] The three-dimensional data creation unit 1116 creates three-dimensional data 1134 of the periphery of the client device 902 based on the sensor information 1132. For example, the three-dimensional data creation unit 1116 creates point cloud data with color information of the periphery of the client device 902 using information acquired by the LiDAR and visible light images acquired by a visible light camera.
[0329] A three-dimensional data synthesis unit 1117 synthesizes three-dimensional data 1134 created based on the sensor information 1132 with a three-dimensional map 1135 managed by the server 901, thereby updating the three-dimensional map 1135.
[0330] The three-dimensional data storage unit 1118 stores a three-dimensional map 1135 and the like.
[0331] The format conversion unit 1119 generates the three-dimensional map 1031 by converting the three-dimensional map 1135 into a format supported by the receiving side. The format conversion unit 1119 may reduce the amount of data by compressing or encoding the three-dimensional map 1135. Furthermore, the format conversion unit 1119 may omit processing when format conversion is not necessary. Furthermore, the format conversion unit 1119 may control the amount of data to be transmitted in accordance with a designated transmission range.
[0332] The communication unit 1120 communicates with the client device 902 and receives a data transmission request (a request to transmit a three-dimensional map) or the like from the client device 902 .
[0333] A transmission control unit 1121 exchanges information such as compatible formats with a communication destination via a communication unit 1120, and establishes communication.
[0334] The data transmission unit 1122 transmits the three-dimensional map 1031 to the client device 902. The three-dimensional map 1031 is data including a point cloud such as a WLD or a SWLD. The three-dimensional map 1031 may include either compressed data or uncompressed data.
[0335] Next, a description will be given of the operation flow of the client device 902. Fig. 31 is a flowchart showing the operation of the client device 902 when acquiring a three-dimensional map.
[0336] First, the client device 902 requests the server 901 to transmit a three-dimensional map (such as a point cloud) (S1001). At this time, the client device 902 may also transmit position information of the client device 902 obtained by GPS or the like, thereby requesting the server 901 to transmit a three-dimensional map related to the position information.
[0337] Next, the client device 902 receives the three-dimensional map from the server 901 (S1002). If the received three-dimensional map is compressed data, the client device 902 decodes the received three-dimensional map to generate an uncompressed three-dimensional map (S1003).
[0338] Next, the client device 902 creates three-dimensional data 1034 of the periphery of the client device 902 from sensor information 1033 obtained by the multiple sensors 1015 (S1004). Next, the client device 902 estimates its own position using the three-dimensional map 1032 received from the server 901 and the three-dimensional data 1034 created from the sensor information 1033 (S1005).
[0339] 32 is a flowchart showing an operation of the client device 902 when transmitting sensor information. First, the client device 902 receives a request to transmit sensor information from the server 901 (S1011). The client device 902 that has received the transmission request transmits sensor information 1037 to the server 901 (S1012). Note that, when the sensor information 1033 includes a plurality of pieces of information obtained by a plurality of sensors 1015, the client device 902 may generate the sensor information 1037 by compressing each piece of information using a compression method suitable for each piece of information.
[0340] Next, the operation flow of the server 901 will be described. Fig. 33 is a flowchart showing the operation when the server 901 acquires sensor information. First, the server 901 requests the client device 902 to transmit sensor information (S1021). Next, the server 901 receives the sensor information 1037 transmitted from the client device 902 in response to the request (S1022). Next, the server 901 creates three-dimensional data 1134 using the received sensor information 1037 (S1023). Next, the server 901 reflects the created three-dimensional data 1134 in the three-dimensional map 1135 (S1024).
[0341] 34 is a flowchart showing the operation of the server 901 when transmitting a three-dimensional map. First, the server 901 receives a request to transmit a three-dimensional map from the client device 902 (S1031). The server 901 that has received the request to transmit the three-dimensional map transmits the three-dimensional map 1031 to the client device 902 (S1032). At this time, the server 901 may extract a three-dimensional map of the vicinity according to the position information of the client device 902, and transmit the extracted three-dimensional map. The server 901 may also compress the three-dimensional map composed of a point cloud using, for example, a compression method based on an octet tree structure, and transmit the compressed three-dimensional map.
[0342] A modification of this embodiment will now be described.
[0343] The server 901 creates three-dimensional data 1134 of the vicinity of the position of the client device 902 using the sensor information 1037 received from the client device 902. Next, the server 901 calculates the difference between the three-dimensional data 1134 and the three-dimensional map 1135 by matching the created three-dimensional data 1134 with a three-dimensional map 1135 of the same area managed by the server 901. If the difference is equal to or greater than a predetermined threshold, the server 901 determines that some abnormality has occurred in the vicinity of the client device 902. For example, when ground subsidence or the like occurs due to a natural disaster such as an earthquake, it is considered that a large difference occurs between the three-dimensional map 1135 managed by the server 901 and the three-dimensional data 1134 created based on the sensor information 1037.
[0344] The sensor information 1037 may include information indicating at least one of the type of sensor, the performance of the sensor, and the model number of the sensor. In addition, a class ID or the like according to the performance of the sensor may be added to the sensor information 1037. For example, when the sensor information 1037 is information acquired by LiDAR, it is possible to assign an identifier to the performance of the sensor, such as class 1 for a sensor that can acquire information with an accuracy of several millimeters, class 2 for a sensor that can acquire information with an accuracy of several centimeters, and class 3 for a sensor that can acquire information with an accuracy of several meters. In addition, the server 901 may estimate the performance information of the sensor from the model number of the client device 902. For example, when the client device 902 is mounted on a vehicle, the server 901 may determine the spec information of the sensor from the model of the vehicle. In this case, the server 901 may acquire information on the model of the vehicle in advance, or the information may be included in the sensor information. In addition, the server 901 may use the acquired sensor information 1037 to switch the degree of correction for the three-dimensional data 1134 created using the sensor information 1037. For example, when the sensor performance is high accuracy (class 1), the server 901 does not perform correction on the three-dimensional data 1134. When the sensor performance is low accuracy (class 3), the server 901 applies correction according to the accuracy of the sensor to the three-dimensional data 1134. For example, the server 901 increases the degree (strength) of correction as the accuracy of the sensor decreases.
[0345] The server 901 may simultaneously issue requests to send sensor information to multiple client devices 902 in a certain space. When the server 901 receives multiple pieces of sensor information from multiple client devices 902, the server 901 does not need to use all of the sensor information to create the three-dimensional data 1134, and may select the sensor information to be used according to the performance of the sensor, for example. For example, when updating the three-dimensional map 1135, the server 901 may select high-precision sensor information (class 1) from the multiple pieces of sensor information received, and create the three-dimensional data 1134 using the selected sensor information.
[0346] The server 901 is not limited to a server such as a traffic monitoring cloud, but may be another client device (mounted in a vehicle). Figure 35 is a diagram showing the system configuration in this case.
[0347] For example, client device 902C issues a request to send sensor information to nearby client device 902A and acquires the sensor information from client device 902A. Client device 902C then creates three-dimensional data using the acquired sensor information of client device 902A and updates the three-dimensional map of client device 902C. This allows client device 902C to generate a three-dimensional map of the space that can be acquired from client device 902A by taking advantage of the performance of client device 902C. For example, it is considered that such a case occurs when client device 902C has high performance.
[0348] In this case, the client device 902A that provided the sensor information is given the right to obtain the high-precision 3D map generated by the client device 902C. The client device 902A receives the high-precision 3D map from the client device 902C in accordance with the right.
[0349] In addition, the client device 902C may issue a request to transmit sensor information to multiple nearby client devices 902 (client device 902A and client device 902B). If the sensor of the client device 902A or the client device 902B is high performance, the client device 902C can create three-dimensional data using the sensor information obtained by the high performance sensor.
[0350] 36 is a block diagram showing the functional configuration of a server 901 and a client device 902. The server 901 includes, for example, a 3D map compression / decoding processing unit 1201 that compresses and decodes a 3D map, and a sensor information compression / decoding processing unit 1202 that compresses and decodes sensor information.
[0351] The client device 902 includes a three-dimensional map decoding processing unit 1211 and a sensor information compression processing unit 1212. The three-dimensional map decoding processing unit 1211 receives encoded data of the compressed three-dimensional map and decodes the encoded data to obtain the three-dimensional map. The sensor information compression processing unit 1212 compresses the sensor information itself instead of the three-dimensional data created from the acquired sensor information, and transmits the encoded data of the compressed sensor information to the server 901. With this configuration, the client device 902 only needs to internally hold a processing unit (device or LSI) that performs processing to decode the three-dimensional map (point cloud, etc.), and does not need to internally hold a processing unit that performs processing to compress the three-dimensional data of the three-dimensional map (point cloud, etc.). This makes it possible to reduce the cost and power consumption of the client device 902.
[0352] As described above, the client device 902 according to this embodiment is mounted on a moving body, and creates three-dimensional data 1034 of the surroundings of the moving body from sensor information 1033 indicating the surrounding conditions of the moving body, obtained by a sensor 1015 mounted on the moving body. The client device 902 estimates the self-position of the moving body using the created three-dimensional data 1034. The client device 902 transmits the acquired sensor information 1033 to the server 901 or another moving body 902.
[0353] According to this, the client device 902 transmits the sensor information 1033 to the server 901 or the like. This may reduce the amount of data to be transmitted compared to the case of transmitting three-dimensional data. Also, since the client device 902 does not need to perform processing such as compression or encoding of the three-dimensional data, the amount of processing by the client device 902 can be reduced. Therefore, the client device 902 can reduce the amount of data to be transmitted or simplify the device configuration.
[0354] Moreover, the client device 902 further transmits a request to the server 901 to transmit a three-dimensional map, and receives a three-dimensional map 1031 from the server 901. The client device 902 estimates its own location using the three-dimensional data 1034 and the three-dimensional map 1032.
[0355] The sensor information 1033 includes at least one of information obtained by a laser sensor, a luminance image, an infrared image, a depth image, sensor position information, and sensor speed information.
[0356] Furthermore, the sensor information 1033 includes information indicating the performance of the sensor.
[0357] Furthermore, the client device 902 encodes or compresses the sensor information 1033, and transmits the encoded or compressed sensor information 1037 to the server 901 or another mobile body 902. This allows the client device 902 to reduce the amount of data to be transmitted.
[0358] For example, the client device 902 includes a processor and a memory, and the processor uses the memory to perform the above-mentioned processing.
[0359] Furthermore, the server 901 according to this embodiment is capable of communicating with a client device 902 mounted on the mobile object, and receives sensor information 1037 indicating the surrounding conditions of the mobile object, obtained by a sensor 1015 mounted on the mobile object, from the client device 902. The server 901 creates three-dimensional data 1134 of the surroundings of the mobile object from the received sensor information 1037.
[0360] According to this, the server 901 creates three-dimensional data 1134 using the sensor information 1037 transmitted from the client device 902. This may reduce the amount of data transmitted compared to when the client device 902 transmits three-dimensional data. In addition, since the client device 902 does not need to perform processing such as compression or encoding of the three-dimensional data, the amount of processing by the client device 902 can be reduced. Therefore, the server 901 can reduce the amount of data transmitted or simplify the device configuration.
[0361] Moreover, the server 901 further transmits a request to the client device 902 to transmit the sensor information.
[0362] Furthermore, the server 901 further updates a three-dimensional map 1135 using the created three-dimensional data 1134 , and transmits the three-dimensional map 1135 to the client device 902 in response to a transmission request for the three-dimensional map 1135 from the client device 902 .
[0363] The sensor information 1037 includes at least one of information obtained by a laser sensor, a luminance image, an infrared image, a depth image, sensor position information, and sensor speed information.
[0364] Additionally, the sensor information 1037 includes information indicating the performance of the sensor.
[0365] Moreover, the server 901 further corrects the three-dimensional data in accordance with the performance of the sensor, thereby enabling the three-dimensional data creation method to improve the quality of the three-dimensional data.
[0366] Furthermore, in receiving the sensor information, the server 901 receives a plurality of pieces of sensor information 1037 from a plurality of client devices 902, and selects the sensor information 1037 to be used for creating the three-dimensional data 1134 based on a plurality of pieces of information indicating the performance of the sensors included in the plurality of pieces of sensor information 1037. This allows the server 901 to improve the quality of the three-dimensional data 1134.
[0367] Furthermore, the server 901 decodes or decompresses the received sensor information 1037, and creates three-dimensional data 1134 from the decoded or decompressed sensor information 1132. This allows the server 901 to reduce the amount of data to be transmitted.
[0368] For example, the server 901 includes a processor and a memory, and the processor uses the memory to perform the above-mentioned processing.
[0369] (Embodiment 7) In this embodiment, a method for encoding and decoding three-dimensional data using inter prediction processing will be described.
[0370] Fig. 37 is a block diagram of a three-dimensional data encoding device 1300 according to this embodiment. The three-dimensional data encoding device 1300 generates an encoded bit stream (hereinafter, simply referred to as a bit stream) which is an encoded signal by encoding three-dimensional data. As shown in Fig. 37, the three-dimensional data encoding device 1300 includes a division unit 1301, a subtraction unit 1302, a transformation unit 1303, a quantization unit 1304, an inverse quantization unit 1305, an inverse transformation unit 1306, an addition unit 1307, a reference volume memory 1308, an intra prediction unit 1309, a reference space memory 1310, an inter prediction unit 1311, a prediction control unit 1312, and an entropy encoding unit 1313.
[0371] The dividing unit 1301 divides each space (SPC) included in the three-dimensional data into a plurality of volumes (VLM), which are coding units. The dividing unit 1301 also converts the voxels in each volume into an octree representation. The dividing unit 1301 may make the space and the volume the same size and convert the space into an octree representation. The dividing unit 1301 may also add information required for the octree representation (depth information, etc.) to the header of the bitstream, etc.
[0372] The subtraction unit 1302 calculates a difference between the volume (volume to be coded) output from the division unit 1301 and a prediction volume generated by intra prediction or inter prediction, which will be described later, and outputs the calculated difference as a prediction residual to the conversion unit 1303. Fig. 38 is a diagram showing an example of calculation of a prediction residual. Note that the bit strings of the volume to be coded and the prediction volume shown here are, for example, position information indicating the positions of three-dimensional points (for example, a point cloud) included in the volume.
[0373] The octree representation and the voxel scan order will be described below. The volume is converted (octreeized) into an octree structure and then encoded. The octree structure is composed of nodes and leaves. Each node has eight nodes or leaves, and each leaf has voxel (VXL) information. Fig. 39 is a diagram showing an example of the structure of a volume including multiple voxels. Fig. 40 is a diagram showing an example of the volume shown in Fig. 39 converted into an octree structure. Here, among the leaves shown in Fig. 40, leaves 1, 2, and 3 respectively represent voxels VXL1, VXL2, and VXL3 shown in Fig. 39, and represent a VXL including a point cloud (hereinafter, effective VXL).
[0374] An octree is represented by a binary sequence of, for example, 0 and 1. For example, if a node or a valid VXL is set to value 1 and the rest to value 0, then the binary sequence shown in FIG. 40 is assigned to each node and leaf. Then, this binary sequence is scanned according to the scan order of breadth-first or depth-first. For example, when breadth-first scanning is performed, the binary sequence shown in A of FIG. 41 is obtained. When depth-first scanning is performed, the binary sequence shown in B of FIG. 41 is obtained. The binary sequence obtained by this scan is coded by entropy coding to reduce the amount of information.
[0375] Next, the depth information in the octree representation will be explained. The depth in the octree representation is used to control the granularity of the point cloud information contained in the volume to be retained. If the depth is set large, the point cloud information can be reproduced to a finer level, but the amount of data required to represent the nodes and leaves increases. Conversely, if the depth is set small, the amount of data decreases, but since multiple point cloud information with different positions and colors is considered to be in the same position and with the same color, the information contained in the original point cloud information will be lost.
[0376] For example, FIG. 42 is a diagram showing an example in which the octree with depth=2 shown in FIG. 40 is expressed as an octree with depth=1. The octree shown in FIG. 42 has a smaller amount of data than the octree shown in FIG. 40. In other words, the octree shown in FIG. 42 has a smaller number of bits after binary string conversion than the octree shown in FIG. 42. Here, leaf 1 and leaf 2 shown in FIG. 40 are expressed as leaf 1 shown in FIG. 41. In other words, the information that leaf 1 and leaf 2 shown in FIG. 40 were in different positions is lost.
[0377] FIG. 43 is a diagram showing a volume corresponding to the octree shown in FIG. 42. VXL1 and VXL2 shown in FIG. 39 correspond to VXL12 shown in FIG. 43. In this case, the three-dimensional data encoding device 1300 generates color information of VXL12 shown in FIG. 43 from color information of VXL1 and VXL2 shown in FIG. 39. For example, the three-dimensional data encoding device 1300 calculates an average value, a median value, or a weighted average value of the color information of VXL1 and VXL2 as the color information of VXL12. In this way, the three-dimensional data encoding device 1300 may control the reduction of the data amount by changing the depth of the octree.
[0378] The three-dimensional data encoding device 1300 may set the depth information of the octree in any unit of world, space, or volume. In addition, in this case, the three-dimensional data encoding device 1300 may add the depth information to the header information of the world, the header information of the space, or the header information of the volume. Also, the same value may be used as the depth information for all worlds, spaces, and volumes of different times. In this case, the three-dimensional data encoding device 1300 may add the depth information to the header information that manages the worlds of all times.
[0379] When the voxel includes color information, the transform unit 1303 applies a frequency transform such as an orthogonal transform to the prediction residual of the color information of the voxel in the volume. For example, the transform unit 1303 creates a one-dimensional array by scanning the prediction residual in a certain scan order. After that, the transform unit 1303 applies a one-dimensional orthogonal transform to the created one-dimensional array to transform the one-dimensional array into the frequency domain. As a result, when the values of the prediction residuals in the volume are close to each other, the values of the low-frequency components become large and the values of the high-frequency components become small. Therefore, the amount of code can be reduced more efficiently in the quantization unit 1304.
[0380] Furthermore, the transform unit 1303 may use a two-dimensional or higher-dimensional orthogonal transform instead of a one-dimensional one. For example, the transform unit 1303 maps the prediction residuals to a two-dimensional array in a certain scan order, and applies a two-dimensional orthogonal transform to the obtained two-dimensional array. Furthermore, the transform unit 1303 may select an orthogonal transform method to be used from a plurality of orthogonal transform methods. In this case, the three-dimensional data encoding device 1300 adds information indicating which orthogonal transform method has been used to the bit stream. Furthermore, the transform unit 1303 may select an orthogonal transform method to be used from a plurality of orthogonal transform methods of different dimensions. In this case, the three-dimensional data encoding device 1300 adds information indicating which orthogonal transform method has been used to the bit stream.
[0381] For example, the conversion unit 1303 matches the scan order of the prediction residuals to the scan order (such as breadth-first or depth-first) in the octree in the volume. This eliminates the need to add information indicating the scan order of the prediction residuals to the bitstream, thereby reducing overhead. The conversion unit 1303 may also apply a scan order different from the scan order of the octree. In this case, the three-dimensional data encoding device 1300 adds information indicating the scan order of the prediction residuals to the bitstream. This allows the three-dimensional data encoding device 1300 to efficiently encode the prediction residuals. The three-dimensional data encoding device 1300 may also add information (such as a flag) indicating whether or not to apply the scan order of the octree to the bitstream, and add information indicating the scan order of the prediction residuals to the bitstream when the scan order of the octree is not applied.
[0382] The conversion unit 1303 may convert not only the prediction residual of the color information but also other attribute information of the voxels. For example, the conversion unit 1303 may convert and encode information such as reflectance obtained when the point cloud is acquired by LiDAR or the like.
[0383] If the space does not have attribute information such as color information, the conversion unit 1303 may skip the process. Furthermore, the three-dimensional data encoding device 1300 may add information (a flag) indicating whether or not the process of the conversion unit 1303 is to be skipped to the bitstream.
[0384] The quantization unit 1304 generates quantization coefficients by quantizing the frequency components of the prediction residuals generated by the conversion unit 1303 using the quantization control parameters. This reduces the amount of information. The generated quantization coefficients are output to the entropy coding unit 1313. The quantization unit 1304 may control the quantization control parameters on a world-by-world, space-by-space, or volume-by-volume basis. In this case, the three-dimensional data coding device 1300 adds the quantization control parameters to the respective header information or the like. The quantization unit 1304 may also control quantization by changing the weight for each frequency component of the prediction residual. For example, the quantization unit 1304 may finely quantize low-frequency components and coarsely quantize high-frequency components. In this case, the three-dimensional data coding device 1300 may add a parameter representing the weight of each frequency component to the header.
[0385] If the space does not have attribute information such as color information, the quantization unit 1304 may skip the process. Furthermore, the three-dimensional data encoding device 1300 may add information (a flag) indicating whether or not the process of the quantization unit 1304 is to be skipped to the bitstream.
[0386] The inverse quantization unit 1305 uses the quantization control parameter to perform inverse quantization on the quantized coefficients generated by the quantization unit 1304 to generate inverse quantized coefficients of the prediction residuals, and outputs the generated inverse quantized coefficients to the inverse transform unit 1306.
[0387] The inverse transform unit 1306 generates a prediction residual after inverse transform application by applying inverse transform to the inverse quantized coefficients generated by the inverse quantization unit 1305. This prediction residual after inverse transform application is a prediction residual generated after quantization, and therefore does not need to completely match the prediction residual output by the transform unit 1303.
[0388] The adder 1307 generates a reconstructed volume by adding the prediction residual after inverse transformation applied generated by the inverse transformer 1306 and a prediction volume generated by intra prediction or inter prediction, which will be described later, and used to generate the prediction residual before quantization. This reconstructed volume is stored in a reference volume memory 1308 or a reference space memory 1310.
[0389] The intra prediction unit 1309 generates a predicted volume of the volume to be encoded using attribute information of the adjacent volume stored in the reference volume memory 1308. The attribute information includes color information or reflectance of a voxel. The intra prediction unit 1309 generates a predicted value of the color information or reflectance of the volume to be encoded.
[0390] FIG. 44 is a diagram for explaining the operation of the intra prediction unit 1309. For example, the intra prediction unit 1309 generates a prediction volume of the encoding target volume (volume idx=3) shown in FIG. 44 from an adjacent volume (volume idx=0). Here, the volume idx is identifier information added to a volume in a space, and a different value is assigned to each volume. The order of allocation of the volumes idx may be the same as the encoding order, or may be different from the encoding order. For example, the intra prediction unit 1309 uses an average value of color information of voxels included in the adjacent volume, volume idx=0, as a predicted value of color information of the encoding target volume shown in FIG. 44. In this case, a prediction residual is generated by subtracting the predicted value of color information from the color information of each voxel included in the encoding target volume. The processing of the conversion unit 1303 and subsequent processes is performed on this prediction residual. In this case, the three-dimensional data encoding device 1300 adds adjacent volume information and prediction mode information to the bit stream. Here, the adjacent volume information is information indicating the adjacent volume used for prediction, for example, the volume idx of the adjacent volume used for prediction. Also, the prediction mode information indicates the mode used for generating the prediction volume. The mode is, for example, an average mode that generates a predicted value from the average value of the voxels in the adjacent volume, or an intermediate value mode that generates a predicted value from the intermediate value of the voxels in the adjacent volume.
[0391] The intra prediction unit 1309 may generate a prediction volume from a plurality of adjacent volumes. For example, in the configuration shown in Fig. 44, the intra prediction unit 1309 generates a prediction volume 0 from the volume of volume idx=0, and generates a prediction volume 1 from the volume of volume idx=1. Then, the intra prediction unit 1309 generates an average of the prediction volume 0 and the prediction volume 1 as a final prediction volume. In this case, the three-dimensional data encoding device 1300 may add a plurality of volumes idx of the plurality of volumes used to generate the prediction volume to the bitstream.
[0392] Fig. 45 is a diagram illustrating an inter prediction process according to the present embodiment. The inter prediction unit 1311 performs coding (inter prediction) on a space (SPC) at a certain time T_Cur by using a coded space at a different time T_LX. In this case, the inter prediction unit 1311 performs coding by applying rotation and translation processing to the coded space at the different time T_LX.
[0393] Furthermore, the three-dimensional data encoding device 1300 adds RT information related to the rotation and translation processing applied to the space at a different time T_LX to the bit stream. The different time T_LX is, for example, a time T_L0 prior to the certain time T_Cur. At this time, the three-dimensional data encoding device 1300 may add RT information RT_L0 related to the rotation and translation processing applied to the space at the time T_L0 to the bit stream.
[0394] Alternatively, the different time T_LX is, for example, a time T_L1 that is later than the certain time T_Cur. At this time, the three-dimensional data encoding device 1300 may add RT information RT_L1 related to the rotation and translation processing applied to the space of the time T_L1 to the bitstream.
[0395] Alternatively, the inter prediction unit 1311 performs encoding (bi-prediction) by referring to both spaces at different times T_L0 and T_L1. In this case, the 3D data encoding device 1300 may add both pieces of RT information RT_L0 and RT_L1 related to the rotation and translation applied to the respective spaces to the bitstream.
[0396] In the above, T_L0 is a time before T_Cur, and T_L1 is a time after T_Cur, but this is not necessarily limited to this. For example, T_L0 and T_L1 may both be times before T_Cur. Or, T_L0 and T_L1 may both be times after T_Cur.
[0397] Furthermore, when the three-dimensional data encoding device 1300 performs encoding by referring to a plurality of spaces at different times, the three-dimensional data encoding device 1300 may add RT information related to the rotation and translation applied to each space to the bit stream. For example, the three-dimensional data encoding device 1300 manages a plurality of encoded spaces to be referenced in two reference lists (L0 list and L1 list). If the first reference space in the L0 list is L0R0, the second reference space in the L0 list is L0R1, the first reference space in the L1 list is L1R0, and the second reference space in the L1 list is L1R1, the three-dimensional data encoding device 1300 adds RT information RT_L0R0 of L0R0, RT information RT_L0R1 of L0R1, RT information RT_L1R0 of L1R0, and RT information RT_L1R1 of L1R1 to the bit stream. For example, the three-dimensional data encoding device 1300 adds these pieces of RT information to the header of the bit stream, etc.
[0398] Furthermore, when the three-dimensional data encoding device 1300 performs encoding with reference to a plurality of reference spaces at different times, it determines whether or not rotation and translation are applied for each reference space. At that time, the three-dimensional data encoding device 1300 may add information (such as an RT application flag) indicating whether or not rotation and translation are applied for each reference space to header information or the like of the bit stream. For example, the three-dimensional data encoding device 1300 calculates RT information and an ICP error value using an ICP (Interactive Closest Point) algorithm for each reference space referenced from the encoding target space. If the ICP error value is equal to or less than a predetermined fixed value, the three-dimensional data encoding device 1300 determines that rotation and translation are not required and sets the RT application flag to OFF. On the other hand, if the ICP error value is greater than the above-mentioned fixed value, the three-dimensional data encoding device 1300 sets the RT application flag to ON and adds RT information to the bit stream.
[0399] Fig. 46 is a diagram showing an example of syntax for adding RT information and an RT application flag to a header. The number of bits to be allocated to each syntax may be determined within the range that the syntax can take. For example, when the number of reference spaces included in the reference list L0 is eight, 3 bits may be allocated to MaxRefSpc_l0. The number of bits to be allocated may be variable according to the value that each syntax can take, or may be fixed regardless of the value that each syntax can take. When the number of bits to be allocated is fixed, the three-dimensional data encoding device 1300 may add the fixed number of bits to another header information.
[0400] Here, MaxRefSpc_l0 shown in Fig. 46 indicates the number of reference spaces included in the reference list L0. RT_flag_l0[i] is the RT application flag of the reference space i in the reference list L0. When RT_flag_l0[i] is 1, rotation and translation are applied to the reference space i. When RT_flag_l0[i] is 0, rotation and translation are not applied to the reference space i.
[0401] R_l0[i] and T_l0[i] are RT information of the reference space i in the reference list L0. R_l0[i] is rotation information of the reference space i in the reference list L0. The rotation information indicates the content of the applied rotation process, for example, a rotation matrix or a quaternion. T_l0[i] is translation information of the reference space i in the reference list L0. The translation information indicates the content of the applied translation process, for example, a translation vector.
[0402] MaxRefSpc_l1 indicates the number of reference spaces included in reference list L1. RT_flag_l1[i] is the RT application flag for reference space i in reference list L1. When RT_flag_l1[i] is 1, rotation and translation are applied to reference space i. When RT_flag_l1[i] is 0, rotation and translation are not applied to reference space i.
[0403] R_l1[i] and T_l1[i] are RT information of the reference space i in the reference list L1. R_l1[i] is rotation information of the reference space i in the reference list L1. The rotation information indicates the content of the applied rotation process, for example, a rotation matrix or a quaternion. T_l1[i] is translation information of the reference space i in the reference list L1. The translation information indicates the content of the applied translation process, for example, a translation vector.
[0404] The inter prediction unit 1311 generates a prediction volume of the volume to be encoded using information of the reference space that has already been encoded and that is stored in the reference space memory 1310. As described above, before generating a prediction volume of the volume to be encoded, the inter prediction unit 1311 obtains RT information using an ICP (Interactive Closest Point) algorithm in the space to be encoded and the reference space in order to approximate the overall positional relationship between the space to be encoded and the reference space. Then, the inter prediction unit 1311 obtains a reference space B by applying a rotation and translation process to the reference space using the obtained RT information. Then, the inter prediction unit 1311 generates a prediction volume of the volume to be encoded in the space to be encoded using information in the reference space B. Here, the three-dimensional data encoding device 1300 adds the RT information used to obtain the reference space B to header information or the like of the space to be encoded.
[0405] In this way, the inter prediction unit 1311 can improve the accuracy of the predicted volume by applying rotation and translation processing to the reference space to bring the overall positional relationship between the encoding target space and the reference space closer, and then generating a predicted volume using information on the reference space. In addition, since the prediction residual can be suppressed, the amount of coding can be reduced. Note that, although an example of performing ICP using the encoding target space and the reference space has been shown here, this is not necessarily limited to this. For example, in order to reduce the amount of processing, the inter prediction unit 1311 may obtain RT information by performing ICP using at least one of the encoding target space in which the number of voxels or point clouds has been thinned out and the reference space in which the number of voxels or point clouds has been thinned out.
[0406] Furthermore, if an ICP error value obtained as a result of the ICP is smaller than a first threshold value determined in advance, that is, for example, if the positional relationship between the encoding target space and the reference space is close, the inter prediction unit 1311 may determine that rotation and translation processing is not necessary, and may not perform rotation and translation. In this case, the three-dimensional data encoding device 1300 may suppress overhead by not adding RT information to the bitstream.
[0407] In addition, when the ICP error value is greater than a second threshold value determined in advance, the inter prediction unit 1311 may determine that the shape change between the spaces is large, and apply intra prediction to all volumes of the encoding target space. Hereinafter, the space to which intra prediction is applied is called an intra space. In addition, the second threshold value is a value greater than the first threshold value. In addition, any method may be applied as long as it is a method of obtaining RT information from two voxel sets or two point cloud sets, without being limited to ICP.
[0408] Furthermore, when the three-dimensional data includes attribute information such as shape or color, the inter prediction unit 1311 searches for a volume in the reference space that has attribute information such as shape or color closest to that of the volume to be encoded as a prediction volume of the volume to be encoded in the space to be encoded. Moreover, this reference space is, for example, a reference space after the above-mentioned rotation and translation processing is performed. The inter prediction unit 1311 generates a prediction volume from a volume (reference volume) obtained by the search. FIG. 47 is a diagram for explaining the operation of generating a prediction volume. When the inter prediction unit 1311 encodes the volume to be encoded (volume idx=0) shown in FIG. 47 using inter prediction, the inter prediction unit 1311 searches for a volume with the smallest prediction residual, which is the difference between the volume to be encoded and the reference volume, while sequentially scanning the reference volumes in the reference space. The inter prediction unit 1311 selects the volume with the smallest prediction residual as the prediction volume. The prediction residual between the volume to be encoded and the prediction volume is encoded by the processing after the conversion unit 1303. Here, the prediction residual is the difference between the attribute information of the volume to be encoded and the attribute information of the prediction volume. Furthermore, the three-dimensional data encoding device 1300 adds the volume idx of the reference volume in the reference space referred to as the prediction volume to the header of the bit stream or the like.
[0409] In the example shown in Fig. 47, the reference volume of volume idx=4 in the reference space L0R0 is selected as a prediction volume of the volume to be encoded. Then, the prediction residual between the volume to be encoded and the reference volume, and the reference volume idx=4 are encoded and added to the bitstream.
[0410] Although an example of generating a predicted volume for attribute information has been described here, a similar process may be performed for a predicted volume for position information.
[0411] The prediction control unit 1312 controls whether to use intra prediction or inter prediction to encode the volume to be encoded. Here, a mode including intra prediction and inter prediction is called a prediction mode. For example, the prediction control unit 1312 calculates a prediction residual when the volume to be encoded is predicted by intra prediction and a prediction residual when the volume to be encoded is predicted by inter prediction as evaluation values, and selects a prediction mode with a smaller evaluation value. Note that the prediction control unit 1312 may calculate an actual code amount by applying orthogonal transformation, quantization, and entropy coding to the prediction residual of intra prediction and the prediction residual of inter prediction, respectively, and select a prediction mode using the calculated code amount as an evaluation value. Also, overhead information other than the prediction residual (such as reference volume idx information) may be added to the evaluation value. Also, the prediction control unit 1312 may always select intra prediction when it is previously determined that the space to be encoded is to be encoded by intra space.
[0412] The entropy coding unit 1313 generates a coded signal (coded bit stream) by variable-length coding the quantized coefficients that are input from the quantization unit 1304. Specifically, the entropy coding unit 1313, for example, binarizes the quantized coefficients and arithmetically codes the obtained binary signal.
[0413] Next, a three-dimensional data decoding device that decodes the encoded signal generated by the three-dimensional data encoding device 1300 will be described. Fig. 48 is a block diagram of a three-dimensional data decoding device 1400 according to this embodiment. This three-dimensional data decoding device 1400 includes an entropy decoding unit 1401, an inverse quantization unit 1402, an inverse transformation unit 1403, an addition unit 1404, a reference volume memory 1405, an intra prediction unit 1406, a reference space memory 1407, an inter prediction unit 1408, and a prediction control unit 1409.
[0414] The entropy decoding unit 1401 performs variable length decoding on the coded signal (coded bit stream). For example, the entropy decoding unit 1401 arithmetically decodes the coded signal to generate a binary signal, and generates a quantization coefficient from the generated binary signal.
[0415] The inverse quantization unit 1402 inversely quantizes the quantized coefficients input from the entropy decoding unit 1401 using a quantization parameter added to the bit stream or the like, thereby generating inverse quantized coefficients.
[0416] The inverse transform unit 1403 generates a prediction residual by inverse transforming the inverse quantized coefficients input from the inverse quantization unit 1402. For example, the inverse transform unit 1403 generates a prediction residual by inverse orthogonal transforming the inverse quantized coefficients based on information added to the bitstream.
[0417] The adder 1404 generates a reconstructed volume by adding the prediction residual generated by the inverse transformer 1403 and a prediction volume generated by intra prediction or inter prediction. This reconstructed volume is output as decoded three-dimensional data, and is also stored in a reference volume memory 1405 or a reference space memory 1407.
[0418] The intra prediction unit 1406 generates a predicted volume by intra prediction using a reference volume in the reference volume memory 1405 and information added to the bit stream. Specifically, the intra prediction unit 1406 acquires adjacent volume information (e.g., volume idx) and prediction mode information added to the bit stream, and generates a predicted volume in a mode indicated by the prediction mode information using adjacent volumes indicated by the adjacent volume information. Details of these processes are similar to the processes by the intra prediction unit 1309 described above, except that information added to the bit stream is used.
[0419] The inter prediction unit 1408 generates a prediction volume by inter prediction using the reference space in the reference space memory 1407 and information added to the bit stream. Specifically, the inter prediction unit 1408 applies rotation and translation processing to the reference space using RT information for each reference space added to the bit stream, and generates a prediction volume using the reference space after application. Note that, if an RT application flag for each reference space exists in the bit stream, the inter prediction unit 1408 applies rotation and translation processing to the reference space according to the RT application flag. Note that details of these processes are similar to the processes by the inter prediction unit 1311 described above, except that information added to the bit stream is used.
[0420] The prediction control unit 1409 controls whether the volume to be decoded is decoded by intra prediction or inter prediction. For example, the prediction control unit 1409 selects intra prediction or inter prediction according to information indicating a prediction mode to be used, which is added to a bit stream. Note that the prediction control unit 1409 may always select intra prediction when it is previously determined that the space to be decoded is decoded by intra space.
[0421] A modified example of this embodiment will be described below. In this embodiment, an example in which rotation and translation are applied in units of spaces has been described, but rotation and translation may be applied in smaller units. For example, the three-dimensional data encoding device 1300 may divide a space into subspaces and apply rotation and translation in units of subspaces. In this case, the three-dimensional data encoding device 1300 generates RT information for each subspace and adds the generated RT information to a header of a bit stream or the like. The three-dimensional data encoding device 1300 may also apply rotation and translation in units of volumes, which are encoding units. In this case, the three-dimensional data encoding device 1300 generates RT information in units of encoding volumes and adds the generated RT information to a header of a bit stream or the like. Furthermore, the above may be combined. That is, the three-dimensional data encoding device 1300 may apply rotation and translation in large units, and then apply rotation and translation in small units. For example, the three-dimensional data encoding device 1300 may apply rotation and translation in units of spaces, and apply different rotations and translations to each of a plurality of volumes included in the obtained space.
[0422] In addition, in the present embodiment, an example of applying rotation and translation to the reference space has been described, but this is not necessarily limited to this. For example, the three-dimensional data encoding device 1300 may change the size of the three-dimensional data by applying a scale process. Also, the three-dimensional data encoding device 1300 may apply any one or two of rotation, translation, and scale. Also, when applying processes in different units in multiple stages as described above, the type of process applied to each unit may be different. For example, rotation and translation may be applied in space units, and translation may be applied in volume units.
[0423] These modifications can also be applied to the three-dimensional data decoding device 1400 in the same manner.
[0424] As described above, the three-dimensional data encoding device 1300 according to this embodiment performs the following processes.
[0425] First, the three-dimensional data encoding device 1300 generates predicted position information (e.g., predicted volume) using position information of three-dimensional points included in reference three-dimensional data (e.g., reference space) at a time different from that of the target three-dimensional data (e.g., encoding target space) (S1301). Specifically, the three-dimensional data encoding device 1300 generates predicted position information by applying rotation and translation processing to the position information of three-dimensional points included in the reference three-dimensional data.
[0426] The three-dimensional data encoding device 1300 may perform the rotation and translation processing in a first unit (e.g., space) and generate the predicted position information in a second unit (e.g., volume) that is smaller than the first unit. For example, the three-dimensional data encoding device 1300 searches for a volume that has the smallest difference in position information from the encoding target volume included in the encoding target space among a plurality of volumes included in the reference space after the rotation and translation processing, and uses the obtained volume as the predicted volume. The three-dimensional data encoding device 1300 may perform the rotation and translation processing and the generation of the predicted position information in the same unit.
[0427] In addition, the three-dimensional data encoding device 1300 may generate predicted position information by applying a first rotation and translation process in a first unit (e.g., space) to position information of three-dimensional points included in the reference three-dimensional data, and applying a second rotation and translation process in a second unit (e.g., volume) finer than the first unit to the position information of the three-dimensional points obtained by the first rotation and translation process.
[0428] Here, the position information and the predicted position information of the three-dimensional point are expressed in an octet tree structure, for example, as shown in Fig. 41. For example, the position information and the predicted position information of the three-dimensional point are expressed in a scan order that prioritizes the width among the depth and width in the octet tree structure. Alternatively, the position information and the predicted position information of the three-dimensional point are expressed in a scan order that prioritizes the depth among the depth and width in the octet tree structure.
[0429] Also, as shown in FIG. 46, the three-dimensional data encoding device 1300 encodes an RT application flag indicating whether or not rotation and translation processing is applied to position information of a three-dimensional point included in the reference three-dimensional data. That is, the three-dimensional data encoding device 1300 generates an encoding signal (encoded bit stream) including an RT application flag. Also, the three-dimensional data encoding device 1300 encodes RT information indicating the contents of the rotation and translation processing. That is, the three-dimensional data encoding device 1300 generates an encoding signal (encoded bit stream) including the RT information. Note that the three-dimensional data encoding device 1300 may encode the RT information when the RT application flag indicates that the rotation and translation processing is applied, and may not encode the RT information when the RT application flag indicates that the rotation and translation processing is not applied.
[0430] The three-dimensional data includes, for example, position information of the three-dimensional points and attribute information (such as color information) of each three-dimensional point. The three-dimensional data encoding device 1300 generates predicted attribute information using the attribute information of the three-dimensional points included in the reference three-dimensional data (S1302).
[0431] Next, the three-dimensional data encoding device 1300 encodes the position information of the three-dimensional point included in the target three-dimensional data using the predicted position information. For example, the three-dimensional data encoding device 1300 calculates differential position information, which is the difference between the position information of the three-dimensional point included in the target three-dimensional data and the predicted position information, as shown in Fig. 38 (S1303).
[0432] Furthermore, the three-dimensional data encoding device 1300 encodes attribute information of a three-dimensional point included in the target three-dimensional data using the predicted attribute information. For example, the three-dimensional data encoding device 1300 calculates differential attribute information that is a difference between the attribute information of a three-dimensional point included in the target three-dimensional data and the predicted attribute information (S1304). Next, the three-dimensional data encoding device 1300 converts and quantizes the calculated differential attribute information (S1305).
[0433] Finally, the three-dimensional data encoding device 1300 encodes (for example, entropy encodes) the difference position information and the quantized difference attribute information (S1306). That is, the three-dimensional data encoding device 1300 generates an encoded signal (encoded bit stream) including the difference position information and the difference attribute information.
[0434] In addition, when the three-dimensional data does not include attribute information, the three-dimensional data encoding device 1300 may not perform steps S1302, S1304, and S1305. In addition, the three-dimensional data encoding device 1300 may only encode the position information of the three-dimensional point and encode the attribute information of the three-dimensional point.
[0435] Also, the order of processing shown in Fig. 49 is an example and is not limited to this. For example, the processing for the position information (S1301, S1303) and the processing for the attribute information (S1302, S1304, S1305) are independent of each other, so they may be performed in any order, or some of them may be processed in parallel.
[0436] As described above, the three-dimensional data encoding device 1300 according to the present embodiment generates predicted position information using position information of three-dimensional points included in reference three-dimensional data at a time different from that of the target three-dimensional data, and encodes differential position information that is the difference between the position information of the three-dimensional points included in the target three-dimensional data and the predicted position information. This makes it possible to reduce the amount of data in the encoded signal, thereby improving encoding efficiency.
[0437] In addition, the three-dimensional data encoding device 1300 in this embodiment generates predicted attribute information using attribute information of three-dimensional points included in the reference three-dimensional data, and encodes difference attribute information that is the difference between the attribute information of three-dimensional points included in the target three-dimensional data and the predicted attribute information. This makes it possible to reduce the data amount of the encoded signal, thereby improving encoding efficiency.
[0438] For example, the three-dimensional data encoding device 1300 includes a processor and a memory, and the processor uses the memory to perform the above-mentioned processing.
[0439] FIG. 48 is a flowchart of inter prediction processing by the three-dimensional data decoding device 1400.
[0440] First, the three-dimensional data decoding device 1400 decodes (for example, entropy decodes) the differential position information and the differential attribute information from the coded signal (coded bit stream) (S1401).
[0441] Furthermore, the three-dimensional data decoding device 1400 decodes an RT application flag indicating whether or not rotation and translation processing is applied to position information of a three-dimensional point included in the reference three-dimensional data from the encoded signal. Furthermore, the three-dimensional data decoding device 1400 decodes RT information indicating the contents of the rotation and translation processing. Note that the three-dimensional data decoding device 1400 may decode the RT information when the RT application flag indicates that rotation and translation processing is applied, and may not need to decode the RT information when the RT application flag indicates that rotation and translation processing is not applied.
[0442] Next, the three-dimensional data decoding device 1400 performs inverse quantization and inverse transformation on the decoded differential attribute information (S1402).
[0443] Next, the three-dimensional data decoding device 1400 generates predicted position information (e.g., predicted volume) using position information of three-dimensional points included in reference three-dimensional data (e.g., reference space) at a time different from that of the target three-dimensional data (e.g., decoding target space) (S1403). Specifically, the three-dimensional data decoding device 1400 generates predicted position information by applying rotation and translation processing to the position information of three-dimensional points included in the reference three-dimensional data.
[0444] More specifically, when the RT application flag indicates that rotation and translation processing is to be applied, the 3D data decoding device 1400 applies rotation and translation processing to position information of 3D points included in the reference 3D data indicated by the RT information. On the other hand, when the RT application flag indicates that rotation and translation processing is not to be applied, the 3D data decoding device 1400 does not apply rotation and translation processing to position information of 3D points included in the reference 3D data.
[0445] The three-dimensional data decoding device 1400 may perform the rotation and translation processing in a first unit (e.g., space) and generate the predicted position information in a second unit (e.g., volume) that is smaller than the first unit. The three-dimensional data decoding device 1400 may perform the rotation and translation processing and the generation of the predicted position information in the same unit.
[0446] In addition, the three-dimensional data decoding device 1400 may generate predicted position information by applying a first rotation and translation process in a first unit (e.g., space) to the position information of the three-dimensional points included in the reference three-dimensional data, and applying a second rotation and translation process in a second unit (e.g., volume) that is finer than the first unit to the position information of the three-dimensional points obtained by the first rotation and translation process.
[0447] Here, the position information and the predicted position information of the three-dimensional point are expressed in an octet tree structure, for example, as shown in Fig. 41. For example, the position information and the predicted position information of the three-dimensional point are expressed in a scan order that prioritizes the width among the depth and width in the octet tree structure. Alternatively, the position information and the predicted position information of the three-dimensional point are expressed in a scan order that prioritizes the depth among the depth and width in the octet tree structure.
[0448] The three-dimensional data decoding device 1400 generates predicted attribute information using attribute information of the three-dimensional points included in the reference three-dimensional data (S1404).
[0449] Next, the three-dimensional data decoding device 1400 restores the position information of the three-dimensional point included in the target three-dimensional data by decoding the encoded position information included in the encoded signal using the predicted position information. Here, the encoded position information is, for example, differential position information, and the three-dimensional data decoding device 1400 restores the position information of the three-dimensional point included in the target three-dimensional data by adding the differential position information and the predicted position information (S1405).
[0450] Furthermore, the three-dimensional data decoding device 1400 restores the attribute information of the three-dimensional point included in the target three-dimensional data by decoding the encoded attribute information included in the encoded signal using the predicted attribute information. Here, the encoded attribute information is, for example, differential attribute information, and the three-dimensional data decoding device 1400 restores the attribute information of the three-dimensional point included in the target three-dimensional data by adding the differential attribute information and the predicted attribute information (S1406).
[0451] In addition, when the three-dimensional data does not include attribute information, the three-dimensional data decoding device 1400 may not perform steps S1402, S1404, and S1406. In addition, the three-dimensional data decoding device 1400 may perform only one of decoding the position information of the three-dimensional point and decoding the attribute information of the three-dimensional point.
[0452] 50 is an example, and is not limited to this example. For example, the processing for the position information (S1403, S1405) and the processing for the attribute information (S1402, S1404, S1406) are independent of each other, and therefore may be performed in any order, or some of them may be processed in parallel.
[0453] (Embodiment 8) In this embodiment, a method for controlling reference when encoding an occupancy code will be described. Note that, although the operation of a three-dimensional data encoding device will be mainly described below, a similar process may also be performed in a three-dimensional data decoding device.
[0454] 51 and 52 are diagrams showing reference relationships according to this embodiment. FIG. 51 is a diagram showing the reference relationships on an octree structure, and FIG. 52 is a diagram showing the reference relationships in the spatial domain.
[0455] In this embodiment, when encoding the encoding information of a node to be encoded (hereinafter referred to as a target node), the three-dimensional data encoding device refers to the encoding information of each node in the parent node to which the target node belongs. However, it does not refer to the encoding information of each node in other nodes (hereinafter referred to as parent adjacent nodes) in the same layer as the parent node. In other words, the three-dimensional data encoding device sets the parent adjacent node to be unreferenced or prohibits the reference.
[0456] The three-dimensional data encoding device may allow the parent node to refer to the encoding information in the parent node (hereinafter referred to as the grandparent node) to which the parent node belongs. In other words, the three-dimensional data encoding device may encode the encoding information of the target node by referring to the encoding information of the parent node to which the target node belongs and the grandparent node.
[0457] Here, the encoding information is, for example, an occupancy code. When encoding the occupancy code of a target node, the three-dimensional data encoding device refers to information indicating whether or not a point group is included in each node in the parent node to which the target node belongs (hereinafter, occupancy information). In other words, when encoding the occupancy code of a target node, the three-dimensional data encoding device refers to the occupancy code of the parent node. On the other hand, the three-dimensional data encoding device does not refer to the occupancy information of each node in the parent adjacent node. In other words, the three-dimensional data encoding device does not refer to the occupancy code of the parent adjacent node. In addition, the three-dimensional data encoding device may refer to the occupancy information of each node in the grandparent node. In other words, the three-dimensional data encoding device may refer to the occupancy information of the parent node and the parent adjacent node.
[0458] For example, when encoding the occupancy code of a target node, the three-dimensional data encoding device switches the encoding table used when entropy encoding the occupancy code of the target node using the occupancy code of the parent node or the grandparent node to which the target node belongs. This will be described in detail later. At this time, the three-dimensional data encoding device does not need to refer to the occupancy code of the parent adjacent node. As a result, when encoding the occupancy code of the target node, the three-dimensional data encoding device can appropriately switch the encoding table according to the information of the occupancy code of the parent node or the grandparent node, thereby improving the encoding efficiency. In addition, by not referring to the parent adjacent node, the three-dimensional data encoding device can suppress the confirmation process of the information of the parent adjacent node and the memory capacity for storing them. In addition, it becomes easy to scan and encode the occupancy code of each node of the occupancy tree in depth-first order.
[0459] An example of switching the coding table using the occupancy code of the parent node will be described below. FIG. 53 is a diagram showing an example of a target node and an adjacent reference node. FIG. 54 is a diagram showing the relationship between the parent node and the node. FIG. 55 is a diagram showing an example of the occupancy code of the parent node. Here, the adjacent reference node is a node that is referred to when encoding the target node among the nodes spatially adjacent to the target node. In the example shown in FIG. 53, the adjacent node is a node that belongs to the same layer as the target node. In addition, the node X adjacent to the target block in the x direction, the node Y adjacent to the target block in the y direction, and the node Z adjacent to the target block in the z direction are used as the reference adjacent nodes. That is, one adjacent block is set as the reference adjacent block in each of the x, y, and z directions.
[0460] Note that the node numbers shown in Figure 54 are just an example, and the relationship between the node numbers and the node positions is not limited to this. Also, in Figure 55, node 0 is assigned to the lower bits and node 7 is assigned to the upper bits, but the assignment may be performed in the reverse order. Also, each node may be assigned to any bit.
[0461] The three-dimensional data encoding device determines the encoding table to be used when entropy encoding the occupancy code of the target node, for example, by the following formula.
[0462] CodingTable=(FlagX<<2)+(FlagY<<1)+(FlagZ)
[0463] Here, CodingTable indicates a coding table for the occupancy code of the target node, and indicates one of the values 0 to 7. FlagX is occupancy information of adjacent node X, and indicates 1 if adjacent node X includes (occupies) a point cloud, and indicates 0 otherwise. FlagY is occupancy information of adjacent node Y, and indicates 1 if adjacent node Y includes (occupies) a point cloud, and indicates 0 otherwise. FlagZ is occupancy information of adjacent node Z, and indicates 1 if adjacent node Z includes (occupies) a point cloud, and indicates 0 otherwise.
[0464] In addition, since information indicating whether an adjacent node is occupied or not is included in the occupancy code of the parent node, the three-dimensional data encoding device may select a encoding table using the value indicated in the occupancy code of the parent node.
[0465] As a result, the three-dimensional data encoding device can improve encoding efficiency by switching encoding tables using information indicating whether or not a point group is included in an adjacent node of a target node.
[0466] Furthermore, the three-dimensional data encoding device may switch adjacent reference nodes depending on the spatial position of the target node within the parent node, as shown in Fig. 53. In other words, the three-dimensional data encoding device may switch adjacent nodes to be referenced among a plurality of adjacent nodes depending on the spatial position of the target node within the parent node.
[0467] Next, an example of the configuration of a three-dimensional data encoding device and a three-dimensional data decoding device will be described. Fig. 56 is a block diagram of a three-dimensional data encoding device 2100 according to this embodiment. The three-dimensional data encoding device 2100 shown in Fig. 56 includes an octree generating unit 2101, a geometric information calculating unit 2102, a coding table selecting unit 2103, and an entropy encoding unit 2104.
[0468] The octree generating unit 2101 generates, for example, an octree from the input three-dimensional points (point cloud), and generates an occupancy code of each node included in the octree. The geometric information calculation unit 2102 acquires occupancy information indicating whether an adjacent reference node of the target node is occupied or not. For example, the geometric information calculation unit 2102 acquires occupancy information of the adjacent reference node from the occupancy code of the parent node to which the target node belongs. Note that the geometric information calculation unit 2102 may switch the adjacent reference node according to the position of the target node in the parent node, as shown in FIG. 53. Also, the geometric information calculation unit 2102 does not refer to the occupancy information of each node in the parent adjacent node.
[0469] The coding table selection unit 2103 selects a coding table to be used for entropy coding of the occupancy code of the target node, using the occupancy information of the adjacent reference node calculated by the geometric information calculation unit 2102. The entropy coding unit 2104 generates a bit stream by entropy coding the occupancy code using the selected coding table. Note that the entropy coding unit 2104 may add information indicating the selected coding table to the bit stream.
[0470] Fig. 57 is a block diagram of a three-dimensional data decoding device 2110 according to this embodiment. The three-dimensional data decoding device 2110 shown in Fig. 57 includes an octree generation unit 2111, a geometric information calculation unit 2112, a coding table selection unit 2113, and an entropy decoding unit 2114.
[0471] The octree generating unit 2111 generates an octree of a certain space (node) using header information of a bit stream, etc. The octree generating unit 2111 generates a large space (root node) using the size of the certain space in the x-axis, y-axis, and z-axis directions added to the header information, for example, and divides the space into two in the x-axis, y-axis, and z-axis directions to generate eight small spaces A (nodes A0 to A7) to generate an octree. In addition, nodes A0 to A7 are set in order as target nodes.
[0472] The geometric information calculation unit 2112 acquires occupancy information indicating whether an adjacent reference node of a target node is occupied. For example, the geometric information calculation unit 2112 acquires occupancy information of an adjacent reference node from an occupancy code of a parent node to which the target node belongs. Note that the geometric information calculation unit 2112 may switch adjacent reference nodes according to the position of the target node in the parent node, as shown in FIG. 53. Also, the geometric information calculation unit 2112 does not refer to the occupancy information of each node in the parent adjacent node.
[0473] The coding table selection unit 2113 selects a coding table (decoding table) to be used for entropy decoding of the occupancy code of the target node using the occupancy information of the adjacent reference node calculated by the geometric information calculation unit 2112. The entropy decoding unit 2114 generates a three-dimensional point by entropy decoding the occupancy code using the selected coding table. Note that the coding table selection unit 2113 may decode and acquire information of the selected coding table added to the bit stream, and the entropy decoding unit 2114 may use the coding table indicated by the acquired information.
[0474] Each bit of the occupancy code (8 bits) included in the bit stream indicates whether or not a point group is included in each of the eight small spaces A (nodes A0 to A7). Furthermore, the three-dimensional data decoding device divides the small space node A0 into eight small spaces B (nodes B0 to B7) to generate an octet tree, and decodes the occupancy code to obtain information indicating whether or not a point group is included in each node of the small space B. In this way, the three-dimensional data decoding device decodes the occupancy code of each node while generating an octet tree from the large space to the small spaces.
[0475] The flow of processing by the three-dimensional data encoding device and the three-dimensional data decoding device will be described below. Fig. 58 is a flowchart of the three-dimensional data encoding process in the three-dimensional data encoding device. First, the three-dimensional data encoding device determines (defines) a space (target node) that contains part or all of the input three-dimensional point group (S2101). Next, the three-dimensional data encoding device divides the target node into eight to generate eight small spaces (nodes) (S2102). Next, the three-dimensional data encoding device generates an occupancy code for the target node depending on whether or not each node contains a point group (S2103).
[0476] Next, the three-dimensional data encoding device calculates (obtains) occupancy information of the adjacent reference node of the target node from the occupancy code of the parent node of the target node (S2104). Next, the three-dimensional data encoding device selects a coding table to be used for entropy encoding based on the occupancy information of the adjacent reference node of the determined target node (S2105). Next, the three-dimensional data encoding device entropy encodes the occupancy code of the target node using the selected coding table (S2106).
[0477] Furthermore, the three-dimensional data encoding device repeats the process of dividing each node into eight parts and encoding the occupancy code of each node until the node cannot be divided any more (S2107). That is, the process of steps S2102 to S2106 is repeated recursively.
[0478] 59 is a flowchart of a three-dimensional data decoding method in a three-dimensional data decoding device. First, the three-dimensional data decoding device determines (defines) a space (target node) to be decoded using header information of a bit stream (S2111). Next, the three-dimensional data decoding device divides the target node into eight to generate eight small spaces (nodes) (S2112). Next, the three-dimensional data decoding device calculates (obtains) occupancy information of adjacent reference nodes of the target node from the occupancy code of the parent node of the target node (S2113).
[0479] Next, the three-dimensional data decoding device selects a coding table to be used for entropy decoding based on the occupancy information of the adjacent reference node (S2114). Next, the three-dimensional data decoding device entropy decodes the occupancy code of the target node using the selected coding table (S2115).
[0480] Furthermore, the three-dimensional data decoding device repeats the process of dividing each node into eight parts and decoding the occupancy code of each node until the node cannot be divided any more (S2116). That is, the process of steps S2112 to S2115 is repeated recursively.
[0481] Next, an example of switching of the coding table will be described. FIG. 60 is a diagram showing an example of switching of the coding table. For example, like coding table 0 shown in FIG. 60, the same context model may be applied to a plurality of occupancy codes. Also, a different context model may be assigned to each occupancy code. This allows the context model to be assigned according to the occurrence probability of the occupancy code, thereby improving the coding efficiency. Also, a context model that updates a probability table according to the occurrence frequency of the occupancy code may be used. Or, a context model with a fixed probability table may be used.
[0482] A first modified example of this embodiment will be described below. Fig. 61 is a diagram showing a reference relationship in this modified example. In the above embodiment, the three-dimensional data encoding device does not refer to the occupancy code of the parent adjacent node, but it may switch whether or not to refer to the occupancy encoding of the parent adjacent node according to a specific condition.
[0483] For example, when a three-dimensional data encoding device performs encoding while scanning an occupancy tree in a breadth-first manner, it encodes the occupancy code of the target node by referring to the occupancy information of the node in the parent adjacent node. On the other hand, when a three-dimensional data encoding device performs encoding while scanning an occupancy tree in a depth-first manner, it prohibits referring to the occupancy information of the node in the parent adjacent node. In this way, by appropriately switching the nodes that can be referenced according to the scan order (encoding order) of the nodes in the occupancy tree, it is possible to improve encoding efficiency and reduce processing load.
[0484] The three-dimensional data encoding device may add information, such as whether the octree has been encoded in a breadth-first or depth-first manner, to the header of the bitstream. FIG. 62 is a diagram showing an example of the syntax of the header information in this case. octree_scan_order shown in FIG. 62 is encoding order information (encoding order flag) indicating the encoding order of the octree. For example, when octree_scan_order is 0, it indicates breadth-first, and when it is 1, it indicates depth-first. This allows the three-dimensional data decoding device to know whether the bitstream has been encoded in a breadth-first or depth-first manner by referring to octree_scan_order, and therefore to appropriately decode the bitstream.
[0485] Furthermore, the three-dimensional data encoding device may add information indicating whether or not to prohibit reference to a parent adjacent node to the header information of the bit stream. Fig. 63 is a diagram showing an example of the syntax of the header information in this case. limit_refer_flag is prohibition switching information (prohibition switching flag) indicating whether or not to prohibit reference to a parent adjacent node. For example, limit_refer_flag is 1 to prohibit reference to a parent adjacent node, and is 0 to indicate no reference restriction (reference to a parent adjacent node is permitted).
[0486] In other words, the three-dimensional data encoding device determines whether to prohibit or permit referencing to a parent adjacent node, and switches between prohibiting and permitting referencing to the parent adjacent node based on the result of the determination. The three-dimensional data encoding device also generates a bitstream including prohibition switching information that indicates whether to prohibit or permit referencing to the parent adjacent node, which is the result of the determination.
[0487] In addition, the three-dimensional data decoding device acquires prohibition switching information indicating whether or not to prohibit reference to a parent adjacent node from the bit stream, and switches between prohibiting and allowing reference to the parent adjacent node based on the prohibition switching information.
[0488] This allows the three-dimensional data encoding device to generate a bitstream while controlling the reference to the parent adjacent node. Also, the three-dimensional data decoding device can obtain information indicating whether the reference to the parent adjacent node is prohibited or not from the header of the bitstream.
[0489] In addition, in this embodiment, the coding process of the occupancy code is described as an example of a coding process that prohibits reference to a parent adjacent node, but this is not necessarily limited to this. For example, a similar method can be applied when coding other information of a node of an octet tree. For example, the method of this embodiment may be applied when coding other attribute information such as a color, a normal vector, or a reflectance added to a node. In addition, a similar method can be applied when coding a coding table or a predicted value.
[0490] Next, a second modified example of the present embodiment will be described. In the above description, as shown in Fig. 53, an example in which three reference adjacent nodes are used has been shown, but four or more reference adjacent nodes may be used. Fig. 64 is a diagram showing an example of a target node and reference adjacent nodes.
[0491] For example, the three-dimensional data encoding device calculates a coding table for entropy coding of the occupancy code of the target node shown in FIG. 64, for example, by the following formula.
[0492] CodingTable=(FlagX0<<3)+(FlagX1<<2)+(FlagY<<1)+(FlagZ)
[0493] Here, CodingTable indicates a coding table for the occupancy code of the target node, and indicates one of the values 0 to 15. FlagXN is occupancy information of adjacent node XN (N=0..1), and indicates 1 if adjacent node XN includes (occupies) a point cloud, and indicates 0 otherwise. FlagY is occupancy information of adjacent node Y, and indicates 1 if adjacent node Y includes (occupies) a point cloud, and indicates 0 otherwise. FlagZ is occupancy information of adjacent node Z, and indicates 1 if adjacent node Z includes (occupies) a point cloud, and indicates 0 otherwise.
[0494] In this case, if an adjacent node, for example adjacent node X0 in Figure 64, cannot be referenced (reference is prohibited), the three-dimensional data encoding device may use a fixed value such as 1 (occupied) or 0 (unoccupied) as a substitute value.
[0495] FIG. 65 is a diagram showing an example of a target node and adjacent nodes. As shown in FIG. 65, when an adjacent node cannot be referenced (reference is prohibited), the occupancy information of the adjacent node may be calculated by referring to the occupancy code of the grandparent node of the target node. For example, the three-dimensional data encoding device may calculate FlagX0 in the above formula using the occupancy information of the adjacent node G0 instead of the adjacent node X0 shown in FIG. 65, and may determine the value of the encoding table using the calculated FlagX0. Note that the adjacent node G0 shown in FIG. 65 is an adjacent node whose occupancy or non-occupancy can be determined by the occupancy code of the grandparent node. The adjacent node X1 is an adjacent node whose occupancy or non-occupancy can be determined by the occupancy code of the parent node.
[0496] The following describes Modification 3 of the present embodiment. Figures 66 and 67 are diagrams showing reference relationships according to this modification, with Figure 66 showing the reference relationships on an octree structure and Figure 67 showing the reference relationships in the spatial domain.
[0497] In this modification, when encoding the encoding information of a node to be encoded (hereinafter referred to as the target node 2), the three-dimensional data encoding device refers to the encoding information of each node in the parent node to which the target node 2 belongs. That is, the three-dimensional data encoding device allows the reference of information (e.g., occupancy information) of a child node of a first node, of which the parent node is the same as the target node, among a plurality of adjacent nodes. For example, when encoding the occupancy code of the target node 2 shown in FIG. 66, the three-dimensional data encoding device refers to a node existing in the parent node to which the target node 2 belongs, for example, the occupancy code of the target node shown in FIG. 66. The occupancy code of the target node shown in FIG. 66 indicates whether or not each node in the target node adjacent to the target node 2 is occupied, for example, as shown in FIG. 67. Therefore, the three-dimensional data encoding device can switch the encoding table of the occupancy code of the target node 2 according to the more detailed shape of the target node, thereby improving the encoding efficiency.
[0498] The three-dimensional data encoding device may calculate a coding table for entropy coding of the occupancy code of the target node 2, for example, by the following formula.
[0499] CodingTable=(FlagX1<<5)+(FlagX2<<4)+(FlagX3<<3)+(FlagX4<<2)+(FlagY<<1)+(FlagZ)
[0500] Here, CodingTable indicates a coding table for the occupancy code of the target node 2, and indicates one of the values 0 to 63. FlagXN is occupancy information of adjacent node XN (N=1..4), and indicates 1 if adjacent node XN includes (occupies) a point cloud, and indicates 0 otherwise. FlagY is occupancy information of adjacent node Y, and indicates 1 if adjacent node Y includes (occupies) a point cloud, and indicates 0 otherwise. FlagZ is occupancy information of adjacent node Y, and indicates 1 if adjacent node Z includes (occupies) a point cloud, and indicates 0 otherwise.
[0501] The three-dimensional data encoding device may change the method of calculating the encoding table depending on the node position of the target node 2 within the parent node.
[0502] Furthermore, the three-dimensional data encoding device may refer to the encoding information of each node in the parent adjacent node if the reference to the parent adjacent node is not prohibited. For example, if the reference to the parent adjacent node is not prohibited, the reference to information (e.g., occupancy information) of a child node of a third node whose parent node is different from that of the target node is permitted. For example, in the example shown in FIG. 65, the three-dimensional data encoding device refers to the occupancy code of the adjacent node X0 whose parent node is different from that of the target node to obtain the occupancy information of the child node of the adjacent node X0. The three-dimensional data encoding device switches the encoding table used for entropy encoding of the occupancy code of the target node based on the obtained occupancy information of the child node of the adjacent node X0.
[0503] As described above, the three-dimensional data encoding device according to this embodiment encodes information (e.g., occupancy code) of a target node included in an N-ary (N is an integer equal to or greater than 2) tree structure of a plurality of three-dimensional points included in three-dimensional data. As shown in Figs. 51 and 52, in the above encoding, the three-dimensional data encoding device permits reference to information (e.g., occupancy information) of a first node of a plurality of adjacent nodes spatially adjacent to the target node, the parent node of which is the same as that of the target node, and prohibits reference to information (e.g., occupancy information) of a second node of which the parent node is different from that of the target node. In other words, in the above encoding, the three-dimensional data encoding device permits reference to information (e.g., occupancy code) of a parent node, and prohibits reference to information (e.g., occupancy code) of other nodes (parent adjacent nodes) in the same layer as the parent node.
[0504] According to this, the three-dimensional data encoding device can improve the encoding efficiency by referring to information of a first node, among a plurality of adjacent nodes spatially adjacent to the target node, whose parent node is the same as the target node. Also, the three-dimensional data encoding device can reduce the amount of processing by not referring to information of a second node, among a plurality of adjacent nodes, whose parent node is different from the target node. In this way, the three-dimensional data encoding device can improve the encoding efficiency and reduce the amount of processing.
[0505] For example, the three-dimensional data encoding device further determines whether to prohibit reference to information of the second node, and in the encoding, switches between prohibiting and permitting reference to information of the second node based on the result of the determination. The three-dimensional data encoding device further generates a bitstream including prohibition switching information (for example, limit_refer_flag shown in FIG. 63) which is the result of the determination and indicates whether to prohibit reference to information of the second node.
[0506] According to this, the three-dimensional data encoding device can switch whether or not to prohibit reference to information of the second node. Also, the three-dimensional data decoding device can appropriately perform decoding processing by using the prohibition switching information.
[0507] For example, the information of the target node is information (e.g., an occupancy code) indicating whether or not a three-dimensional point exists in each of the child nodes belonging to the target node, the information of the first node is information indicating whether or not a three-dimensional point exists in the first node (occupancy information of the first node), and the information of the second node is information indicating whether or not a three-dimensional point exists in the second node (occupancy information of the second node).
[0508] For example, in the above encoding, a three-dimensional data encoding device selects an encoding table based on whether or not a three-dimensional point exists at the first node, and entropy encodes information of the target node (e.g., an occupancy code) using the selected encoding table.
[0509] For example, in the above encoding, the three-dimensional data encoding device allows reference to information (eg, occupancy information) of a child node of a first node among a plurality of adjacent nodes, as shown in FIGS.
[0510] This allows the three-dimensional data encoding device to refer to more detailed information about adjacent nodes, thereby improving encoding efficiency.
[0511] For example, as shown in FIG. 53, in the above encoding, the three-dimensional data encoding device switches the adjacent node to be referenced from among a plurality of adjacent nodes depending on the spatial position of the target node within the parent node.
[0512] This allows the three-dimensional data encoding device to refer to an appropriate adjacent node depending on the spatial position of the target node within the parent node.
[0513] For example, the three-dimensional data encoding device includes a processor and a memory, and the processor uses the memory to perform the above-mentioned processing.
[0514] Furthermore, the three-dimensional data decoding device according to this embodiment decodes information (e.g., occupancy code) of a target node included in an N-ary tree structure (N is an integer equal to or greater than 2) of a plurality of three-dimensional points included in three-dimensional data. As shown in Figs. 51 and 52, in the above decoding, the three-dimensional data decoding device permits reference to information (e.g., occupancy information) of a first node, of a plurality of adjacent nodes spatially adjacent to the target node, whose parent node is the same as the target node, and prohibits reference to information (e.g., occupancy information) of a second node, of which the parent node is different from the target node. In other words, in the above decoding, the three-dimensional data decoding device permits reference to information (e.g., occupancy code) of the parent node, and prohibits reference to information (e.g., occupancy code) of other nodes (parent adjacent nodes) in the same layer as the parent node.
[0515] According to this, the three-dimensional data decoding device can improve the coding efficiency by referring to information of a first node, among a plurality of adjacent nodes spatially adjacent to the target node, whose parent node is the same as the target node. Also, the three-dimensional data decoding device can reduce the amount of processing by not referring to information of a second node, among a plurality of adjacent nodes, whose parent node is different from the target node. In this way, the three-dimensional data decoding device can improve the coding efficiency and reduce the amount of processing.
[0516] For example, the three-dimensional data decoding device further acquires prohibition switching information (e.g., limit_refer_flag shown in FIG. 63) indicating whether to prohibit or permit reference to information of the second node from the bitstream, and in the above decoding, switches between prohibiting and permitting reference to information of the second node based on the prohibition switching information.
[0517] This allows the three-dimensional data decoding device to appropriately perform decoding processing using the inhibition switching information.
[0518] For example, the information of the target node is information (e.g., an occupancy code) indicating whether or not a three-dimensional point exists in each of the child nodes belonging to the target node, the information of the first node is information indicating whether or not a three-dimensional point exists in the first node (occupancy information of the first node), and the information of the second node is information indicating whether or not a three-dimensional point exists in the second node (occupancy information of the second node).
[0519] For example, in the above decoding, a three-dimensional data decoding device selects an encoding table based on whether or not a three-dimensional point exists at the first node, and entropy decodes information of the target node (e.g., occupancy code) using the selected encoding table.
[0520] For example, in the above decoding, the three-dimensional data decoding device allows reference to information (eg, occupancy information) of a child node of a first node among a plurality of adjacent nodes, as shown in FIGS.
[0521] This allows the three-dimensional data decoding device to refer to more detailed information about adjacent nodes, thereby improving encoding efficiency.
[0522] For example, as shown in FIG. 53, in the above decoding, the three-dimensional data decoding device switches the adjacent node to be referenced from among a plurality of adjacent nodes depending on the spatial position of the target node within the parent node.
[0523] This allows the three-dimensional data decoding device to refer to an appropriate adjacent node depending on the spatial position of the target node within the parent node.
[0524] For example, the three-dimensional data decoding device includes a processor and a memory, and the processor uses the memory to perform the above-mentioned processing.
[0525] (Embodiment 9) A three-dimensional data encoding device can improve encoding efficiency by using adjacent node information of a node to be encoded (hereinafter referred to as a target node) when encoding the encoding information of the node. For example, the three-dimensional data encoding device switches an encoding table (probability table, etc.) for entropy encoding the occupancy code of the target node using adjacent node information. Here, the adjacent node information is, for example, information indicating whether multiple nodes (adjacent nodes) spatially adjacent to the target node are occupied nodes (occupied nodes) (whether the adjacent nodes include a point group), etc.
[0526] For example, the three-dimensional data encoding device may switch the encoding table using information indicating the number of occupied nodes (adjacent occupied nodes) among a plurality of adjacent nodes. For example, the device may calculate the number of occupied nodes among six adjacent nodes (left, right, top, bottom, front, back) adjacent to the target node, and switch the encoding table for entropy encoding the occupancy code of the target node according to the number.
[0527] The three-dimensional data encoding device may use the pattern (hereinafter, "Neighbor Pattern") of adjacent occupied nodes instead of the number of adjacent occupied nodes. FIG. 68 is a diagram showing an example of adjacent nodes and the process according to this embodiment. For example, in the example shown in FIG. 68, adjacent nodes X0, Y0, and Z0 are occupied nodes, and adjacent nodes X1, Y1, and Z1 are non-occupied nodes that are not occupied nodes. In this case, the three-dimensional data encoding device calculates the value 21 of the adjacent occupied pattern by converting the bit string (Z1 Z0 Y1 Y0 X1 X0)=(010101) into a decimal number, and encodes the occupancy code of the target node using the 21st encoding table. The three-dimensional data encoding device may use another value calculated using the value 21 as the value of the encoding table.
[0528] Here, the neighbor occupancy pattern is calculated using the neighbor node information of the target node, and a NeighborPatternCodingFlag is provided as a flag for switching whether or not to arithmetically code the occupancy code of the target node by switching the coding table according to the value. The three-dimensional data coding device adds this NeighborPatternCodingFlag to the header of the bit stream, etc.
[0529] When NeighbourPatternCodingFlag=1, the three-dimensional data encoding device calculates the neighboring occupancy pattern using the neighboring node information of the target node, switches the encoding table according to the value, and arithmetically encodes the occupancy code of the target node.When NeighbourPatternCodingFlag=0, the three-dimensional data encoding device arithmetically encodes the occupancy code of the target node without using the neighboring node information of the target node.
[0530] For example, when NeighborPatternCodingFlag=1, the three-dimensional data encoding device calculates the adjacent occupancy pattern using six nodes adjacent to the target node as shown in Fig. 68. In this case, the value of the adjacent occupancy pattern can range from 0 to 63. Therefore, the three-dimensional data encoding device arithmetically encodes the occupancy code of the target node by switching between a total of 64 encoding tables.
[0531] For example, in the example shown in Fig. 68, the value of the adjacent occupancy pattern is 21, and the three-dimensional data encoding device entropy-encodes the occupancy code of the target node using the 21st encoding table. Note that the three-dimensional data encoding device may use the encoding table with the index number calculated from the value 21.
[0532] Also, for example, when NeighbourPatternCodingFlag=0, the three-dimensional data encoding device determines the encoding table without using the value of the neighboring node information. For example, the three-dimensional data encoding device sets the value of the neighboring occupancy pattern to 0, determines the encoding table without using the value of the neighboring node information, and arithmetically encodes the occupancy code of the target node. That is, the three-dimensional data encoding device sets the neighboring occupancy pattern=0 and uses the 0th encoding table. In other words, the three-dimensional data encoding device uses a predetermined encoding table.
[0533] In this way, the three-dimensional data encoding device calculates the neighboring occupancy pattern according to the value of NeighborPatternCodingFlag, and switches between coding tables according to the calculated neighboring occupancy pattern to determine whether or not to perform encoding. This makes it possible to balance between encoding efficiency and low processing volume.
[0534] Here, the modes for encoding the target node may include, for example, a normal node (or normal mode) in which the node is further divided into eight subnodes and encoded using an octree structure, and an early terminated node (or direct coding mode) in which encoding using the octree structure based on division into eight nodes is stopped and the position information of three-dimensional points within the node is directly encoded.
[0535] For example, when the number of point clouds in a target node is equal to or less than a certain threshold A, the three-dimensional data encoding device sets the target node to an early terminal node and stops the octree division. Alternatively, when the number of point clouds in a parent node is equal to or less than a certain threshold B, the three-dimensional data encoding device sets the target node to an early terminal node and stops the octree division. Alternatively, when the number of point clouds included in an adjacent node is equal to or less than a certain threshold C, the three-dimensional data encoding device sets the target node to an early terminal node and stops the octree division.
[0536] In this way, the three-dimensional data encoding device may determine whether the target node is an early terminal node using the number of point clouds contained in the target node, parent node, or adjacent node, and if true, stop the octree division, and if false, continue the octree division and perform encoding. In this way, the three-dimensional data encoding device can reduce processing time by stopping the octree division when the number of point clouds contained in the target node, parent node, or adjacent node becomes small. Note that, for early terminal nodes, the three-dimensional data encoding device may encode the three-dimensional position information of each point cloud contained in the node using entropy encoding or the like.
[0537] 69 is a flowchart of a three-dimensional data encoding process according to this embodiment. First, the three-dimensional data encoding device judges whether or not a target node satisfies condition I for becoming an early terminal node (S4401). In other words, this judgment is a judgment of whether or not the target node has a possibility of being encoded as an early terminal node, that is, a judgment of whether or not the early terminal node is usable.
[0538] If condition I is true (Yes in S4401), the three-dimensional data encoding device then judges whether the target node satisfies a judgment condition J for determining whether it is an early terminal node or not (S4402). In other words, this judgment is a judgment as to whether the target node is actually to be encoded as an early terminal node or not, that is, whether an early terminal node is to be used or not.
[0539] If condition J is true (Yes in S4402), the three-dimensional data encoding device sets early_terminated_node_flag to 1 and encodes the early_terminated_node_flag (S4403). Next, the three-dimensional data encoding device directly encodes the position information of the three-dimensional point contained in the target node (S4404). In other words, the three-dimensional data encoding device applies the early terminal node to the target node.
[0540] On the other hand, if condition J is false (No in S4402), the three-dimensional data encoding device sets early_terminated_node_flag to 0 and encodes the early_terminated_node_flag (S4405). Next, the three-dimensional data encoding device sets the target node to a normal node and continues encoding by octree division (S4406).
[0541] Also, if condition I is false (No in S4401), the three-dimensional data encoding device does not encode early_terminated_node_flag, sets the target node to a normal node, and continues encoding by octree division (S4406).
[0542] For example, condition J includes a condition as to whether the number of three-dimensional points in the target node is equal to or less than a threshold (e.g., value 2). For example, the three-dimensional data encoding device determines the target node to be an early terminal node if the number of three-dimensional points in the target node is equal to or less than the threshold, and determines the target node to be a non-early terminal node if not.
[0543] Condition I also includes, for example, a condition that the hierarchical level to which the target node belongs is equal to or higher than a predetermined hierarchical level of the octree. For example, condition I may include a condition that the target node is equal to or higher than a hierarchical level to which the target node belongs (e.g., whether the target node includes a space of a certain size or larger).
[0544] Furthermore, condition I may include a condition of the occupancy information of a node (sibling node) included in the parent node of the target node, or of a sibling node of the parent node. That is, the three-dimensional data encoding device may determine whether or not the target node is likely to be an early termination node based on the occupancy information of a sibling node or of a sibling node of the parent node. For example, the three-dimensional data encoding device counts the number of nodes in an occupied state among sibling nodes in the same parent node as the target node. Condition I includes a condition that the counted value is equal to or less than a predetermined value. Alternatively, the three-dimensional data encoding device counts the number of nodes in an occupied state among sibling nodes of the parent node of the target node. Condition I includes a condition that the counted value is equal to or less than a predetermined value.
[0545] In this way, the three-dimensional data encoding device first determines whether the target node is likely to be an early terminal node by using the hierarchy in the octree structure of the target node, the occupancy information of the sibling nodes of the target node, or the occupancy information of the sibling nodes of the parent node, etc. If there is such a possibility, the three-dimensional data encoding device encodes early_terminated_node_flag, and if not, does not encode early_terminated_node_flag. This allows the three-dimensional data encoding device to adaptively select and encode early terminal nodes while reducing overhead.
[0546] Furthermore, the three-dimensional data encoding device may provide an EarlyTerminatdCodingFlag that is a flag indicating whether or not encoding is performed using an early terminal node (direct encoding mode), and may add this flag to the header or the like.
[0547] Furthermore, the condition I may include a determination as to whether EarlyTerminatdCodingFlag=1 is satisfied. By providing a mechanism for switching whether to use an early terminal node (direct coding mode) depending on the value of EarlyTerminatdCodingFlag in this manner, it is possible to balance coding efficiency and reduction in the amount of processing.
[0548] In addition, the three-dimensional data encoding device may calculate the adjacent occupancy pattern of the target node, and the condition I may include a condition of whether the adjacent occupancy pattern=0 is satisfied. This increases the possibility that an early terminal node is selected when the adjacent node is unoccupied, that is, when the three-dimensional points are sparse. Therefore, the three-dimensional data encoding device can improve the encoding efficiency by efficiently selecting the early terminal node.
[0549] 70 is a flowchart of three-dimensional data encoding processing (early terminal node determination processing) by the three-dimensional data encoding device according to this embodiment. The three-dimensional data encoding device uses NeighborPatternCodingFlag and EarlyTerminatdCodingFlag.
[0550] First, the three-dimensional data encoding device determines whether or not NeighbourPatternCodingFlag is 1 (S4411). This NeighbourPatternCodingFlag is generated in, for example, the three-dimensional data encoding device. For example, the three-dimensional data encoding device determines the value of NeighbourPatternCodingFlag based on an externally specified encoding mode or an input three-dimensional point.
[0551] If NeighborPatternCodingFlag=1 (Yes in S4411), the three-dimensional data encoding device calculates the neighboring occupancy pattern of the target node (S4412). For example, the three-dimensional data encoding device uses the calculated neighboring occupancy pattern to select a coding table for arithmetic coding of the occupancy code.
[0552] On the other hand, if NeighborPatternCodingFlag=0 (No in S4411), the three-dimensional data encoding device does not calculate the neighboring occupation pattern, and sets the value of the neighboring occupation pattern to 0 (S4413).
[0553] The three-dimensional data encoding device may initialize the neighboring occupation pattern to a value of 0, and if NeighborPatternCodingFlag=1, update the value of the neighboring occupation pattern.
[0554] Next, the three-dimensional data encoding device determines whether or not condition I is satisfied (S4414). For example, when EarlyTerminatdCodingFlag=1, the three-dimensional data encoding device may determine whether or not the target node is likely to become an early terminal node by using the value of the set adjacent occupation pattern. In other words, condition I may include a condition of whether or not the set adjacent occupation pattern is 0.
[0555] That is, condition I may include a condition as to whether EarlyTerminatdCodingFlag=1 is satisfied. Condition I may also include a condition as to whether adjacent occupancy pattern=0 is satisfied. For example, condition I may be true when EarlyTerminatedCodingFlag=1 and adjacent occupancy pattern=0, and may be false in other cases.
[0556] As a result, when NeighbourPatternCodingFlag=1, the three-dimensional data encoding device can also use the neighboring occupation pattern calculated and set for switching the encoding table in determining whether it is an early terminal node (condition I). This makes it possible to reduce the amount of processing required to recalculate the neighboring occupation pattern. Furthermore, when NeighbourPatternCodingFlag=0, the three-dimensional data encoding device can determine that at least one of the conditions in condition I is satisfied by setting neighboring occupation pattern=0. Therefore, the three-dimensional data encoding device does not need to calculate a neighboring occupation pattern separately, thereby reducing the amount of processing.
[0557] Condition I may also include, for example, a condition as to whether the hierarchical level to which the target node belongs is equal to or higher than a predetermined hierarchical level of the octree. For example, condition I may include a condition as to whether the target node belongs to a hierarchical level higher than a node having a leaf (lowest hierarchical level) (whether the target node includes a space of a certain size or larger, etc.).
[0558] Furthermore, the condition I may include a condition of the occupancy information of a node (sibling node) included in the parent node of the target node, or of a sibling node of the parent node. That is, the three-dimensional data encoding device may determine whether or not the target node is likely to be an early termination node based on the occupancy information of a sibling node or of a sibling node of the parent node. For example, the three-dimensional data encoding device counts the number of nodes in an occupied state among sibling nodes in the same parent node as the target node. The condition I may include a condition of whether this counted value is equal to or less than a predetermined value. Alternatively, the three-dimensional data encoding device counts the number of nodes in an occupied state among sibling nodes of the parent node of the target node. The condition I may include a condition of whether this counted value is equal to or less than a predetermined value.
[0559] Furthermore, condition I may include any one of the above-mentioned conditions, or may include multiple conditions. When multiple conditions are included as condition I, for example, when all the conditions are satisfied, condition I may be determined to be satisfied (true), and in other cases condition I may be determined to be not satisfied (false). Alternatively, condition I may be determined to be satisfied (true) when at least one of the multiple conditions is satisfied.
[0560] It should be noted that the processing in steps S4415 to S4419 is similar to the processing in steps S4402 to S4406 shown in FIG. 69, and therefore a duplicated description will be omitted.
[0561] Fig. 71 is a flowchart of a modified example of the three-dimensional data encoding process (early terminal node determination process) by the three-dimensional data encoding device according to this embodiment. The process shown in Fig. 71 differs from the process shown in Fig. 70 in that step S4411 is changed to step S4411A.
[0562] The three-dimensional data encoding device determines whether or not at least one of NeighbourPatternCodingFlag=1 and EarlyTerminatdCodingFlag=1 is satisfied (S4411A). The NeighbourPatternCodingFlag and EarlyTerminatdCodingFlag are generated, for example, in the three-dimensional data encoding device. For example, the three-dimensional data encoding device determines the values of NeighbourPatternCodingFlag and EarlyTerminatdCodingFlag based on an externally specified encoding mode or an input three-dimensional point.
[0563] If at least one of NeighborPatternCodingFlag=1 and EarlyTerminatdCodingFlag=1 is satisfied (Yes in S4411A), the three-dimensional data encoding device calculates the neighboring occupation pattern of the target node and sets the value (S4412). If neither NeighborPatternCodingFlag=1 nor EarlyTerminatdCodingFlag=1 is satisfied (No in S4411A), the three-dimensional data encoding device does not calculate the neighboring occupation pattern, and sets the value of the neighboring occupation pattern to 0 (S4413).
[0564] The three-dimensional data encoding device may initialize the adjacent occupation pattern to a value of 0, and update the value of the adjacent occupation pattern if NeighborPatternCodingFlag = 1 or EarlyTerminatdCodingFlag = 1. The subsequent processing is the same as in FIG.
[0565] That is, when EarlyTerminatdCodingFlag=1, the three-dimensional data encoding device uses the value of the set adjacent occupancy pattern to determine whether the target node is likely to become an early terminal node. That is, condition I may include a condition of whether the set adjacent occupancy pattern is 0.
[0566] As a result, when NeighborPatternCodingFlag = 1 or EarlyTerminatdCodingFlag = 1, the three-dimensional data encoding device calculates the neighbor occupation pattern of the target node and uses the value of the calculated neighbor occupation pattern to determine the possibility that the target node is an early terminal node. Therefore, the three-dimensional data encoding device can appropriately select an early terminal node, thereby improving encoding efficiency.
[0567] Next, a process performed by the three-dimensional data decoding device according to this embodiment will be described. Fig. 72 is a flowchart of three-dimensional data decoding process (early terminal node determination process) performed by the three-dimensional data decoding device according to this embodiment.
[0568] First, the three-dimensional data decoding device decodes the NeighborPatternCodingFlag from the header of the bitstream (S4421). Next, the three-dimensional data decoding device decodes the EarlyTerminatdCodingFlag from the header of the bitstream (S4422).
[0569] Next, the three-dimensional data decoding device determines whether the decoded NeighborPatternCodingFlag is 1 or not (S4423).
[0570] If NeighborPatternCodingFlag is 1 (Yes in S4423), the three-dimensional data decoding device calculates the neighboring occupancy pattern of the target node (S4424). Note that the three-dimensional data decoding device may use the calculated neighboring occupancy pattern to select a coding table for arithmetic decoding of the occupancy code.
[0571] If NeighborPatternCodingFlag is 0 (No in S4423), the three-dimensional data decoding device sets the neighboring occupation pattern to 0 (S4425). Note that the three-dimensional data decoding device may initialize the neighboring occupation pattern to a value of 0, and update the value of the neighboring occupation pattern if NeighborPatternCodingFlag=1.
[0572] Next, the three-dimensional data decoding device judges whether or not the condition I is true (S4426). Note that the details of this process are similar to the process of step S4414 in the three-dimensional data encoding device.
[0573] If condition I is true (Yes in S4426), the three-dimensional data decoding device decodes early_terminated_node_flag from the bit stream (S4427). Next, the three-dimensional data decoding device determines whether early_terminated_node_flag is 1 (S4428).
[0574] If early_terminated_node_flag is 1 (Yes in S4428), the three-dimensional data decoding device decodes the position information of the three-dimensional point in the target node (S4429). That is, the three-dimensional data decoding device applies the early terminal node to the target node. If early_terminated_node_flag is 0 (No in S4428), the three-dimensional data decoding device sets the target node to a normal node and continues decoding by octree division (S4430).
[0575] Also, if condition I is false (No in S4426), the three-dimensional data decoding device does not decode early_terminated_node_flag from the bit stream, sets the target node to a normal node, and continues decoding by octree division (S4430).
[0576] Fig. 73 is a flowchart of a modified example of the three-dimensional data decoding process (early terminal node determination process) by the three-dimensional data decoding device according to this embodiment. The process shown in Fig. 73 differs from the process shown in Fig. 72 in that step S4423 is changed to step S4423A.
[0577] In step S4423A, the three-dimensional data decoding device determines whether or not at least one of NeighborPatternCodingFlag=1 and EarlyTerminatdCodingFlag=1 is satisfied (S4423A).
[0578] If at least one of NeighborPatternCodingFlag=1 and EarlyTerminatdCodingFlag=1 is satisfied (Yes in S4423A), the three-dimensional data decoding device calculates the neighboring occupation pattern of the target node (S4424). If neither NeighborPatternCodingFlag=1 nor EarlyTerminatdCodingFlag=1 is satisfied (No in S4423A), the three-dimensional data decoding device does not calculate the neighboring occupation pattern, and sets the value of the neighboring occupation pattern to 0 (S4425).
[0579] The three-dimensional data decoding device may initialize the adjacent occupation pattern to a value of 0, and update the value of the adjacent occupation pattern if NeighborPatternCodingFlag = 1 or EarlyTerminatdCodingFlag = 1. The subsequent processing is the same as in FIG.
[0580] Next, an example of the syntax of a bit stream generated by the three-dimensional data encoding device according to this embodiment will be described. Fig. 74 is a diagram showing an example of the syntax of pc_header included in the bit stream. This pc_header() is, for example, header information of multiple input three-dimensional points. In other words, the information included in pc_header() is commonly used for multiple three-dimensional points (nodes).
[0581] The pc_header includes a NeighborPatternCodingFlag and an EarlyTerminatdCodingFlag.
[0582] NeighbourPatternCodingFlag is information indicating whether or not the coding table for arithmetic coding of the occupancy code is switched using adjacent node information (adjacent occupancy pattern). For example, NeighbourPatternCodingFlag=1 indicates that the coding table is switched using adjacent node information, and NeighbourPatternCodingFlag=0 indicates that the coding table is not switched using adjacent node information.
[0583] The EarlyTerminatdCodingFlag is information indicating whether or not an early terminal node (direct coding mode) is used (whether or not it is available). For example, EarlyTerminatdCodingFlag=1 indicates that an early terminal node is used, and EarlyTerminatdCodingFlag=0 indicates that an early terminal node is not used.
[0584] Fig. 75 is a diagram showing an example of the syntax of node information (node (depth, index)). This node information is information of one node included in the octree, and is provided for each node. The node information includes occupancy_code, early_terminated_node_flag, and coordinate_of_3Dpoint.
[0585] The occupancy_code is information indicating whether a child node of a node is in an occupied state or not. The three-dimensional data encoding device may arithmetically encode the occupancy_code by switching encoding tables according to the value of the NeighborPatternCodingFlag.
[0586] The early_terminated_node_flag is information indicating whether or not a node is an early terminated node. For example, early_terminated_node_flag=1 indicates that the node is an early terminated node, and early_terminated_node_flag=0 indicates that the node is not an early terminated node. Note that if the early_terminated_node_flag of the target node is not coded in the bitstream, the three-dimensional data decoding device may estimate the value of the early_terminated_node_flag of the target node to be 0.
[0587] The coordinate_of_3Dpoint is position information of a point group included in a node when the node is an early terminal node. Note that when a node includes multiple point groups, the coordinate_of_3Dpoint may include position information of each point group.
[0588] Note that the three-dimensional data encoding device may specify the value of NeighbourPatternCodingFlag or EarlyTerminatdCodingFlag by the standard, or the profile or level of the standard, without adding NeighbourPatternCodingFlag or EarlyTerminatdCodingFlag to the header. This allows the three-dimensional data decoding device to correctly restore the bitstream by determining the value of NeighbourPatternCodingFlag or EarlyTerminatdCodingFlag with reference to the standard information included in the bitstream.
[0589] Furthermore, the three-dimensional data encoding device may entropy-encode at least one of the above NeighborPatternCodingFlag, EarlyTerminatdCodingFlag, early_terminated_node_flag, and coordinate_of_3Dpoint. For example, the three-dimensional data encoding device binarizes each value and then performs arithmetic encoding.
[0590] In addition, in this embodiment, an octal tree structure is shown as an example, but this is not necessarily limited to this, and the above method may be applied to an N-ary tree structure (N is an integer equal to or greater than 2) such as a quad tree or a hexadecimal tree, or other tree structures.
[0591] Next, a configuration example of a three-dimensional data encoding device according to this embodiment will be described. Fig. 76 is a block diagram of a three-dimensional data encoding device 4400 according to this embodiment. The three-dimensional data encoding device 4400 includes an octree generating unit 4401, a geometric information calculating unit 4402, a coding table selecting unit 4403, and an entropy encoding unit 4404.
[0592] The octree generating unit 4401 generates, for example, an octree from the input three-dimensional points (point cloud), and generates an occupancy code for each node of the octree. When EarlyTerminatdCodingFlag=1, the octree generating unit 4401 may determine whether the target node is an early terminal node using the determination of condition I and condition J, and if true, may stop the octree division, and if false, may continue the octree division and perform coding. The octree generating unit 4401 may also add a flag (early_terminated_node_flag) indicating whether each node is an early terminal node to the bit stream. This allows the three-dimensional data decoding device to correctly determine whether a node is an early terminal node.
[0593] The geometric information calculation unit 4402 acquires information indicating whether the adjacent node of the target node is in an occupied state, and calculates an adjacent occupancy pattern based on the acquired information. For example, the geometric information calculation unit 4402 calculates the adjacent occupancy pattern by the method described with reference to FIG. 68 and the like. The geometric information calculation unit 4402 may also calculate the adjacent occupancy pattern from the occupancy code of the parent node to which the target node belongs. The geometric information calculation unit 4402 may also store the coded nodes in a list and search for the adjacent node from the list. The geometric information calculation unit 4402 may also switch the adjacent node according to the position of the target node in the parent node. The geometric information calculation unit 4402 may also switch whether to calculate the adjacent occupancy pattern according to the values of NeighbourPatternCodingFlag and EarlyTerminatdCodingFlag.
[0594] The coding table selection unit 4403 selects a coding table to be used for entropy coding of the target node, using the occupancy information (adjacent occupancy pattern) of the adjacent nodes calculated by the geometric information calculation unit 4402. For example, the coding table selection unit 4403 selects a coding table with an index number calculated from the value of the adjacent occupancy pattern.
[0595] The entropy coding unit 4404 generates a bitstream by entropy coding the occupancy code of the target node using the coding table of the selected index. The entropy coding unit 4404 may add information of the selected coding table to the bitstream.
[0596] Next, a configuration example of a three-dimensional data decoding device according to this embodiment will be described. Fig. 77 is a block diagram of a three-dimensional data decoding device 4410 according to this embodiment. The three-dimensional data decoding device 4410 includes an octree generating unit 4411, a geometric information calculating unit 4412, a coding table selecting unit 4413, and an entropy decoding unit 4414.
[0597] The octree generating unit 4411 generates an octree of a certain space (node) using header information of a bit stream, etc. For example, the octree generating unit 4411 generates a large space (root node) using the size of the x-axis, y-axis, and z-axis directions of a certain space added to the header information, and generates an octree by dividing the space into two in the x-axis, y-axis, and z-axis directions, respectively. In addition, the nodes A0 to A7 are set in order as target nodes.
[0598] If the value of EarlyTerminatdCodingFlag obtained by decoding the header is 1, the octree generating unit 4411 may determine whether the target node is an early terminal node or not by using the judgment of condition I and condition J, and if the result is true, stop the octree division, and if the result is false, continue the octree division and perform decoding. Also, the octree generating unit 4411 may decode a flag indicating whether each node is an early terminal node or not.
[0599] The geometric information calculation unit 4412 acquires information indicating whether the adjacent node of the target node is in an occupied state, and calculates an adjacent occupancy pattern based on the acquired information. For example, the geometric information calculation unit 4412 may calculate the adjacent occupancy pattern by the method described using FIG. 68 and the like. The geometric information calculation unit 4412 may also calculate the occupancy information of the adjacent node from the occupancy code of the parent node to which the target node belongs. The geometric information calculation unit 4412 may also store the decoded nodes in a list and search for the adjacent node from the list. The geometric information calculation unit 4412 may switch the adjacent node according to the position of the target node in the parent node. The geometric information calculation unit 4412 may also switch whether to calculate the adjacent occupancy pattern according to the values of NeighborPatternCodingFlag and EarlyTerminatdCodingFlag obtained by decoding the header.
[0600] The coding table selection unit 4413 selects a coding table to be used for target node entropy decoding by using the occupancy information (adjacent occupancy pattern) of the adjacent nodes calculated by the geometric information calculation unit 4412. For example, the three-dimensional data decoding device selects a coding table with an index number calculated from the value of the adjacent occupancy pattern.
[0601] The entropy decoding unit 4414 generates three-dimensional points (point cloud) by entropy decoding the occupancy code of the target node using the selected coding table. The entropy decoding unit 4414 may obtain information indicating the selected coding table by decoding from the bit stream, and entropy decode the occupancy code of the target node using the coding table indicated by the information.
[0602] Moreover, each bit of the occupancy code (8 bits) included in the bit stream indicates whether or not a point group is included in each of the eight small spaces A (node A0 to node A7). Furthermore, the three-dimensional data decoding device divides the small space node A0 into eight small spaces B (node B0 to node B7) to generate an occupancy tree, and calculates information indicating whether or not a point group is included in each node of the small space B by decoding the occupancy code. In this way, the three-dimensional data decoding device decodes the occupancy code of each node while generating an occupancy tree from the large space to the small spaces. Note that if the target node is an early terminal node, the three-dimensional data decoding device may directly decode the three-dimensional information coded in the bit stream and stop the occupancy tree division at that node.
[0603] Below, a modified example of the three-dimensional data encoding process and the three-dimensional data decoding process (early terminal node determination process) will be described.
[0604] The method of calculating the adjacent occupancy pattern of the target node is not limited to the method using the occupancy information of six adjacent nodes shown in FIG. 68 and the like, and may be another method. For example, the three-dimensional data encoding device may calculate the adjacent occupancy pattern by referring to adjacent nodes (sibling nodes of the target node) existing in the parent node of the target node. For example, the three-dimensional data encoding device may calculate the adjacent occupancy pattern consisting of the target node and its position in the parent node and the occupancy information of three adjacent nodes in the parent node. When six adjacent nodes are used, information of adjacent nodes whose parent nodes are different from the target node is used. When three adjacent nodes are used, information of adjacent nodes whose parent nodes are different from the target node is not used. This allows the three-dimensional data encoding device to calculate the adjacent occupancy pattern by referring to the occupancy code of the parent node, thereby reducing the amount of processing.
[0605] Also, the three-dimensional data encoding device may adaptively switch between the above-mentioned method of using six adjacent nodes (a method in which the target node and the parent node refer to different adjacent nodes) and the method of using three adjacent nodes (a method in which the target node and the parent node do not refer to different adjacent nodes). For example, the three-dimensional data encoding device calculates the adjacent occupation pattern A using a method of using six adjacent nodes for determining whether to switch the encoding table for arithmetically encoding the occupancy code. Also, the three-dimensional data encoding device calculates the adjacent occupation pattern B using a method of using three adjacent nodes for determining the possibility of an early terminal node (condition I). Note that the three-dimensional data encoding device may use a method of using three adjacent nodes for determining whether to switch the encoding table, and a method of using six adjacent nodes for determining the possibility of an early terminal node (condition I). In this way, the three-dimensional data encoding device can control the balance between the encoding efficiency and the amount of processing by adaptively switching the calculation method of the adjacent occupation pattern.
[0606] 78 is a flowchart of the three-dimensional data encoding process. First, the three-dimensional data encoding device determines whether or not NeighborPatternCodingFlag is 1 (S4441).
[0607] If NeighborPatternCodingFlag=1 (Yes in S4441), the three-dimensional data encoding device calculates the neighboring occupancy pattern A of the target node (S4442). The three-dimensional data encoding device may use the calculated neighboring occupancy pattern A to select a coding table for arithmetic coding of the occupancy code.
[0608] On the other hand, if NeighborPatternCodingFlag=0 (No in S4441), the three-dimensional data encoding device does not calculate neighboring occupation pattern A, and sets the value of neighboring occupation pattern A to 0 (S4443).
[0609] Next, the three-dimensional data encoding device determines whether or not EarlyTerminatdCodingFlag is 1 (S4444).
[0610] If EarlyTerminatdCodingFlag=1 (Yes in S4444), the three-dimensional data encoding device calculates adjacent occupation pattern B of the target node (S4445). This adjacent occupation pattern B is used, for example, to determine condition I.
[0611] On the other hand, if EarlyTerminatdCodingFlag=0 (No in S4444), the three-dimensional data encoding device does not calculate adjacent occupation pattern B, and sets the value of adjacent occupation pattern B to 0 (S4446).
[0612] For example, the three-dimensional data encoding device uses different methods for calculating adjacent occupation pattern A and adjacent occupation pattern B. For example, the three-dimensional data encoding device calculates adjacent occupation pattern A using a method using six adjacent nodes, and calculates adjacent occupation pattern B using a method using three adjacent nodes. Similarly, in the three-dimensional data decoding device, different calculation methods may be used for adjacent occupation pattern A and adjacent occupation pattern B.
[0613] The three-dimensional data encoding device may initialize adjacent occupation pattern A to a value of 0, and if NeighbourPatternCodingFlag=1, update the value of adjacent occupation pattern A. The three-dimensional data encoding device may initialize adjacent occupation pattern B to a value of 0, and if EarlyTerminatedCodingFlag=1, update the value of adjacent occupation pattern B.
[0614] Next, the three-dimensional data encoding device determines whether or not condition I is satisfied (S4447). Details of this process are the same as, for example, S4414 shown in FIG. 70. However, a difference is that adjacent occupation pattern B is used as the adjacent occupation pattern in step S4414. That is, condition I may include a condition of whether EarlyTerminatdCodingFlag=1 is satisfied. Condition I may also include a condition of whether adjacent occupation pattern B=0 is satisfied. For example, condition I may be true when EarlyTerminatedCodingFlag=1 and adjacent occupation pattern B=0, and may be false otherwise.
[0615] It should be noted that the processing in steps S4448 to S4452 is similar to the processing in steps S4415 to S4419 shown in FIG. 70, and therefore a duplicated description will be omitted.
[0616] Fig. 79 is a flowchart of a modified example of the three-dimensional data encoding process (early terminal node determination process) by the three-dimensional data encoding device according to this embodiment. The process shown in Fig. 79 differs from the process shown in Fig. 78 in that steps S4453 and S4454 are added.
[0617] If EarlyTerminatdCodingFlag=1 (Yes in S4444), the three-dimensional data encoding device then determines whether NeighborPatternCodingFlag is 1 (S4453).
[0618] If NeighborPatternCodingFlag=1 (Yes in S4453), the three-dimensional data encoding device sets the value of neighboring occupation pattern A to the value of neighboring occupation pattern B (S4454).
[0619] If NeighborPatternCodingFlag=0 (No in S4453), the three-dimensional data encoding device calculates neighboring occupation pattern B (S4445).
[0620] In this way, when the three-dimensional data encoding device calculates adjacent occupation pattern A, it uses adjacent occupation pattern A as adjacent occupation pattern B. In other words, adjacent occupation pattern A is used to determine condition I. As a result, when the three-dimensional data encoding device calculates adjacent occupation pattern A, it does not calculate adjacent occupation pattern B, thereby reducing the amount of processing.
[0621] FIG. 80 is a flowchart of a modified example of the three-dimensional data decoding process (early terminal node determination process) by the three-dimensional data decoding device according to this embodiment.
[0622] First, the three-dimensional data decoding device decodes the NeighborPatternCodingFlag from the header of the bitstream (S4461). Next, the three-dimensional data decoding device decodes the EarlyTerminatdCodingFlag from the header of the bitstream (S4462).
[0623] Next, the three-dimensional data decoding device determines whether the decoded NeighborPatternCodingFlag is 1 or not (S4463).
[0624] If NeighborPatternCodingFlag is 1 (Yes in S4463), the three-dimensional data decoding device calculates the neighboring occupancy pattern A of the target node (S4464). Note that the three-dimensional data decoding device may use the calculated neighboring occupancy pattern to select a coding table for arithmetic decoding of the occupancy code.
[0625] If NeighborPatternCodingFlag is 0 (No in S4463), the three-dimensional data decoding device sets neighboring occupation pattern A to 0 (S4465).
[0626] Next, the three-dimensional data decoding device determines whether or not EarlyTerminatdCodingFlag is 1 (S4466).
[0627] If EarlyTerminatdCodingFlag=1 (Yes in S4466), the three-dimensional data decoding device calculates adjacent occupation pattern B of the target node (S4467). This adjacent occupation pattern B is used, for example, to determine condition I.
[0628] On the other hand, if EarlyTerminatdCodingFlag=0 (No in S4466), the three-dimensional data decoding device does not calculate adjacent occupation pattern B, and sets the value of adjacent occupation pattern B to 0 (S4468).
[0629] For example, the three-dimensional data decoding device uses different methods for calculating adjacent occupation pattern A and adjacent occupation pattern B. For example, the three-dimensional data decoding device calculates adjacent occupation pattern A using a method using six adjacent nodes, and calculates adjacent occupation pattern B using a method using three adjacent nodes.
[0630] The three-dimensional data decoding device may initialize adjacent occupation pattern A to a value of 0, and if NeighbourPatternCodingFlag=1, update the value of adjacent occupation pattern A. The three-dimensional data decoding device may initialize adjacent occupation pattern B to a value of 0, and if EarlyTerminatedCodingFlag=1, update the value of adjacent occupation pattern B.
[0631] Next, the three-dimensional data encoding device determines whether or not condition I is satisfied (S4469). Details of this process are the same as, for example, S4426 shown in FIG. 72. However, a difference is that adjacent occupation pattern B is used as the adjacent occupation pattern in step S4426. That is, condition I may include a condition of whether EarlyTerminatdCodingFlag=1 is satisfied. Condition I may also include a condition of whether adjacent occupation pattern B=0 is satisfied. For example, condition I may be true when EarlyTerminatedCodingFlag=1 and adjacent occupation pattern B=0, and may be false otherwise.
[0632] It should be noted that the processing in steps S4470 to S4473 is similar to the processing in steps S4427 to S4430 shown in FIG. 72, and therefore a duplicated description will be omitted.
[0633] Fig. 81 is a flowchart of a modified example of the three-dimensional data decoding process (early terminal node determination process) by the three-dimensional data decoding device according to this embodiment. The process shown in Fig. 81 differs from the process shown in Fig. 80 in that steps S4474 and S4475 are added.
[0634] If EarlyTerminatdCodingFlag=1 (Yes in S4466), the three-dimensional data decoding device then determines whether NeighborPatternCodingFlag is 1 (S4474).
[0635] If NeighborPatternCodingFlag=1 (Yes in S4474), the three-dimensional data decoding device sets the value of neighboring occupation pattern A to the value of neighboring occupation pattern B (S4475).
[0636] If NeighborPatternCodingFlag=0 (No in S4474), the three-dimensional data encoding device calculates neighboring occupation pattern B (S4467).
[0637] In this way, when the three-dimensional data decoding device calculates adjacent occupation pattern A, it uses adjacent occupation pattern A as adjacent occupation pattern B. In other words, adjacent occupation pattern A is used to determine condition I. As a result, when the three-dimensional data decoding device calculates adjacent occupation pattern A, it does not calculate adjacent occupation pattern B, thereby reducing the amount of processing.
[0638] Note that the above-mentioned correspondence relationship between the values (0 or 1) of the various flags and their meanings is merely an example, and the correspondence relationship between the values of the various flags and their meanings may be reversed.
[0639] As described above, the three-dimensional data encoding device according to this embodiment performs the process shown in FIG.
[0640] The three-dimensional data encoding device determines whether or not a first flag (e.g., NeighborPatternCodingFlag) indicates a first value (e.g., 1) (S4481). When the first flag indicates the first value (Yes in S4481), the three-dimensional data encoding device generates a first occupancy pattern (e.g., neighboring occupancy pattern A) indicating the occupancy state of a plurality of second neighboring nodes including a first neighboring node whose parent node is different from the target node included in the N-ary (N is an integer of 2 or more) tree structure of a plurality of three-dimensional points included in the three-dimensional data (S4482) (e.g., S4442 and S4454 in FIG. 79).
[0641] Next, based on the first occupancy pattern, the three-dimensional data encoding device determines whether it is possible to use a first encoding (e.g., an early terminal node) that encodes multiple three-dimensional position information contained in the target node without dividing the target node into multiple child nodes (S4483) (e.g., S4447 in Figure 79).
[0642] When the first flag indicates a second value (e.g., 0) different from the first value (No in S4481), the three-dimensional data encoding device generates a second occupancy pattern (e.g., adjacent occupancy pattern B) indicating the occupancy state of a plurality of third adjacent nodes that does not include a first adjacent node whose parent node is different from the target node (S4484) (e.g., S4445 in FIG. 79). Next, the three-dimensional data encoding device determines whether or not the first encoding can be used based on the second occupancy pattern (S4485) (e.g., S4447 in FIG. 79).
[0643] In addition, the three-dimensional data encoding device generates a bit stream including the first flag (S4486).
[0644] According to this, the three-dimensional data encoding device can switch the occupancy pattern of adjacent nodes used to determine whether the first encoding can be used or not according to the first flag. This makes it possible to appropriately determine whether the first encoding can be used or not, thereby improving encoding efficiency.
[0645] For example, when the three-dimensional data encoding device determines that the first encoding is usable, it determines whether or not to use the first encoding based on a predetermined condition (for example, condition J) (for example, S4448 in FIG. 79), and when it determines that the first encoding is to be used, it encodes the target node using the first encoding (for example, S4450 in FIG. 79), and when it determines that the first encoding is not to be used, it encodes the target node using the second encoding that divides the target node into a plurality of child nodes (for example, S4452 in FIG. 79). The bit stream further includes a second flag (for example, early_terminated_node_flag) indicating whether or not the first encoding is to be used.
[0646] For example, in determining whether the first encoding can be used based on the first occupancy pattern or the second occupancy pattern, the three-dimensional data encoding device determines whether the first encoding can be used based on the first occupancy pattern or the second occupancy pattern and the number of occupied nodes included in a parent node. For example, the three-dimensional data encoding device determines that the first encoding can be used when the number of occupied nodes included in a parent node is less than a predetermined number, and determines that the first encoding cannot be used when the number of occupied nodes included in a parent node is more than a predetermined number.
[0647] For example, in determining whether the first encoding can be used based on the first occupancy pattern or the second occupancy pattern, the three-dimensional data encoding device determines whether the first encoding can be used based on the first occupancy pattern or the second occupancy pattern and the number of occupied nodes included in the grandfather node of the target node. For example, the three-dimensional data encoding device determines that the first encoding can be used when the number of occupied nodes included in the grandfather node is less than a predetermined number, and determines that the first encoding cannot be used when the number of occupied nodes included in the grandfather node is more than the predetermined number.
[0648] For example, in determining whether the first encoding can be used based on the first occupancy pattern or the second occupancy pattern, the three-dimensional data encoding device determines whether the first encoding can be used based on the first occupancy pattern or the second occupancy pattern and the layer to which the target node belongs. For example, the three-dimensional data encoding device determines that the first encoding can be used when the layer to which the target node belongs is lower than a predetermined layer, and determines that the first encoding cannot be used when the layer to which the target node belongs is higher than the predetermined layer.
[0649] For example, the three-dimensional data encoding device includes a processor and a memory, and the processor uses the memory to perform the above-mentioned processing.
[0650] Moreover, the three-dimensional data decoding device according to this embodiment performs the process shown in Fig. 83. First, the three-dimensional data decoding device acquires a first flag (e.g., NeighborPatternCodingFlag) from the bit stream (S4491). The three-dimensional data decoding device determines whether or not the first flag indicates a first value (e.g., 1) (S4492).
[0651] When the first flag indicates a first value (No in S4492), the three-dimensional data decoding device generates a first occupancy pattern (e.g., adjacent occupancy pattern A) indicating the occupancy state of a plurality of second adjacent nodes including a first adjacent node whose parent node is different from the target node included in the N-ary (N is an integer equal to or greater than 2) tree structure of a plurality of three-dimensional points included in the three-dimensional data (S4493) (e.g., S4464 and S4475 in FIG. 81). Next, the three-dimensional data decoding device determines whether or not a first decoding (e.g., an early terminal node) that decodes a plurality of three-dimensional position information included in the target node without dividing the target node into a plurality of child nodes can be used based on the first occupancy pattern (S4494) (e.g., S4469 in FIG. 81).
[0652] When the first flag indicates a second value (e.g., 0) different from the first value (No in S4492), the three-dimensional data decoding device generates a second occupancy pattern (e.g., adjacent occupancy pattern B) indicating the occupancy state of multiple third adjacent nodes that do not include a first adjacent node whose parent node is different from the target node (S4495) (e.g., S4467 in FIG. 81). Next, the three-dimensional data decoding device determines whether or not the first decoding is usable based on the second occupancy pattern (S4496) (e.g., S4469 in FIG. 81).
[0653] According to this, the three-dimensional data decoding device can switch the occupation pattern of the adjacent nodes used to determine whether the first encoding can be used or not according to the first flag. This makes it possible to appropriately determine whether the first encoding can be used or not, thereby improving the encoding efficiency.
[0654] For example, when the three-dimensional data decoding device determines that the first decoding is usable, it obtains a second flag indicating whether or not to use the first decoding from the bit stream (e.g., S4470 in FIG. 81), and if the second flag indicates that the first decoding is to be used, it decodes the target node using the first decoding (e.g., S4472 in FIG. 81), and if the second flag indicates that the first decoding is not to be used, it decodes the target node using the second decoding that splits the target node into multiple child nodes (e.g., S4473 in FIG. 81).
[0655] For example, in determining whether the first decoding is usable based on the first or second occupation pattern, the three-dimensional data decoding device determines whether the first decoding is usable based on the first or second occupation pattern and the number of occupied nodes included in the parent node. For example, the three-dimensional data decoding device determines that the first encoding is usable when the number of occupied nodes included in the parent node is less than a predetermined number, and determines that the first encoding is not usable when the number of occupied nodes included in the parent node is more than a predetermined number.
[0656] For example, in determining whether the first decoding is usable based on the first occupation pattern or the second occupation pattern, the three-dimensional data decoding device determines whether the first decoding is usable based on the first occupation pattern or the second occupation pattern and the number of occupied nodes included in the grandfather node of the target node. For example, the three-dimensional data decoding device determines that the first encoding is usable when the number of occupied nodes included in the grandfather node is less than a predetermined number, and determines that the first encoding is not usable when the number of occupied nodes included in the grandfather node is more than a predetermined number.
[0657] For example, in determining whether the first decoding is usable based on the first occupation pattern or the second occupation pattern, the three-dimensional data decoding device determines whether the first decoding is usable based on the first occupation pattern or the second occupation pattern and the layer to which the target node belongs. For example, the three-dimensional data decoding device determines that the first encoding is usable when the layer to which the target node belongs is lower than a predetermined layer, and determines that the first encoding is not usable when the layer to which the target node belongs is higher than the predetermined layer.
[0658] For example, the three-dimensional data decoding device includes a processor and a memory, and the processor uses the memory to perform the above-mentioned processing.
[0659] Although the three-dimensional data encoding device and the three-dimensional data decoding device according to the embodiments of the present disclosure have been described above, the present disclosure is not limited to these embodiments.
[0660] Furthermore, each processing unit included in the three-dimensional data encoding device and the three-dimensional data decoding device according to the above-mentioned embodiments is typically realized as an LSI, which is an integrated circuit. These may be individually implemented as single chips, or some or all of them may be included in a single chip.
[0661] The integrated circuit is not limited to an LSI, but may be realized by a dedicated circuit or a general-purpose processor. A field programmable gate array (FPGA) that can be programmed after the LSI is manufactured, or a reconfigurable processor that can reconfigure the connections and settings of the circuit cells inside the LSI may also be used.
[0662] In each of the above embodiments, each component may be implemented by dedicated hardware or by executing a software program suitable for each component. Each component may 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.
[0663] Furthermore, the present disclosure may be realized as a three-dimensional data encoding method or a three-dimensional data decoding method executed by a three-dimensional data encoding device, a three-dimensional data decoding device, or the like.
[0664] In addition, the division of functional blocks in the block diagram is an example, and multiple functional blocks may be realized as one functional block, one functional block may be divided into multiple blocks, or some functions may be transferred to another functional block. Furthermore, the functions of multiple functional blocks having similar functions may be processed in parallel or in a time-sharing manner by a single piece of hardware or software.
[0665] In addition, the order in which each step is performed in the flowchart is merely an example for specifically explaining the present disclosure, and an order other than the above may be used. In addition, some of the steps may be performed simultaneously (in parallel) with other steps.
[0666] Although the three-dimensional data encoding device and the three-dimensional data decoding device according to one or more aspects have been described based on the embodiments, the present disclosure is not limited to these embodiments. As long as it does not deviate from the spirit of the present disclosure, various modifications conceived by a person skilled in the art to the present embodiment and forms constructed by combining components in different embodiments may also be included within the scope of one or more aspects. [Industrial Applicability]
[0667] The present disclosure is applicable to a three-dimensional data encoding device and a three-dimensional data decoding device. [Explanation of symbols]
[0668] 100, 400 3D data encoding device 101, 201, 401, 501 Acquisition Department 102, 402 Coding area determination unit 103 Split part 104, 644 encoder 111 3D Data 112, 211, 413, 414, 511, 634 Encoded three-dimensional data 200, 500 Three-dimensional data decoding device 202 Decoding start GOS determination unit 203 Decoding SPC Determination Unit 204, 625 Decoding section 212, 512, 513 Decoded 3D data 403 SWLD extraction part 404 WLD encoder 405 SWLD encoder 411 Input 3D data 412 Extracted 3D data 502 Header parser 503 WLD Decoding Unit 504 SWLD Decryption Unit 620, 620A 3D data creation device 621, 641 3D Data Creation Department 622 Request Range Determination Unit 623 Search Department 624, 642 Receiver 626 Synthesis Section 631, 651 Sensor information 632 1st 3D data 633 Request Scope Information 635 2nd 3D data 636 3rd Dimensional Data 640 Three-dimensional data transmission device 643 Extraction part 645 Transmitter 652 5th 3D data 654 6th 3D Data 700 Three-dimensional information processing device 701 3D Map Acquisition Unit 702 Vehicle detection data acquisition unit 703 Abnormal Case Judgment Unit 704 Countermeasure action decision unit 705 Motion control section 711 3D Map 712 Vehicle detection 3D data 810 3D data creation device 811 Data receiving unit 812, 819 Communications Department 813 Reception control section 814, 821 Format conversion unit 815 Sensors 816 3D Data Creation Department 817 3D Data Synthesis Department 818 Three-dimensional data storage unit 820 Transmission control section 822 Data transmission unit 831, 832, 834, 835, 836, 837 3D data 833 Sensor Information 901 Server 902, 902A, 902B, 902C Client devices 1011, 1111 Data receiving unit 1012, 1020, 1112, 1120 Communications Department 1013, 1113 Reception control section 1014, 1019, 1114, 1119 format conversion section 1015 Sensor 1016, 1116 3D Data Creation Department 1017 Three-dimensional image processing unit 1018, 1118 3D Data Storage Unit 1021, 1121 Transmission control section 1022, 1122 Data transmission unit 1031, 1032, 1135 3D Map 1033, 1037, 1132 Sensor information 1034, 1035, 1134 3D data 1117 3D Data Synthesis Department 1201 3D map compression / decoding processing unit 1202 Sensor information compression / decoding processing unit 1211 3D map decoding processing unit 1212 Sensor information compression processing unit 1300 3D data encoding device 1301 Split section 1302 Subtraction section 1303 Conversion Unit 1304 Quantization section 1305, 1402 Inverse quantization section 1306, 1403 Inverse conversion unit 1307, 1404 Addition section 1308, 1405 Reference Volume Memory 1309, 1406 Intra prediction section 1310, 1407 Reference Space Memory 1311, 1408 Inter Prediction Section 1312, 1409 Prediction control unit 1313 Entropy coding unit 1400 Three-dimensional data decoding device 1401 Entropy Decoding Unit 2100 3D data encoding device 2101, 2111 8-ary tree generation part 2102, 2112 Geometric information calculation section 2103, 2113 Encoding table sele...
Claims
1. generating an occupancy pattern of adjacent nodes adjacent to a node included in an N-ary tree structure (N is an integer equal to or greater than 2) of a plurality of three-dimensional points included in the three-dimensional data; determining whether to set a candidate node that can use the first encoding based on the occupancy pattern; Three-dimensional data encoding method.
2. The candidate node is not a root node in the N-ary tree structure.
2. The three-dimensional data encoding method according to claim 1.
3. The number of points contained in the parent node of the candidate node is used to determine whether to set the candidate node.
2. The three-dimensional data encoding method according to claim 1.
4. encoding a parameter indicative of adjacent nodes that are subject to said occupancy pattern; generating a bitstream including the encoded parameters; 2. The three-dimensional data encoding method according to claim 1.
5. if it is determined not to set the candidate node, encoding the node using a second encoding that splits the node into a number of child nodes; 2. The three-dimensional data encoding method according to claim 1.
6. The first encoding is a direct mode.
2. The three-dimensional data encoding method according to claim 1.
7. Obtaining an occupancy pattern of adjacent nodes adjacent to a node included in an N-ary tree structure (N is an integer equal to or greater than 2) of a plurality of three-dimensional points included in the three-dimensional data; determining whether to set a candidate node capable of using the first decoding based on the occupancy pattern; A method for decoding three-dimensional data.
8. The candidate node is not a root node in the N-ary tree structure.
8. The three-dimensional data decoding method according to claim 7.
9. The number of points contained in the parent node of the candidate node is used to determine whether to set the candidate node.
8. The three-dimensional data decoding method according to claim 7.
10. if it is determined not to set the candidate node, decoding the node using a second decoding method that splits the node into multiple child nodes; 8. The three-dimensional data decoding method according to claim 7.
11. The first decoding is in a direct mode.
8. The three-dimensional data decoding method according to claim 7.
12. Get the parameters from the bitstream, The adjacent nodes that are the subject of the occupancy pattern change according to the value indicated by the parameter.
8. The three-dimensional data decoding method according to claim 7.
13. A processor; A memory. The processor uses the memory to: generating an occupancy pattern of adjacent nodes adjacent to a node included in an N-ary tree structure (N is an integer equal to or greater than 2) of a plurality of three-dimensional points included in the three-dimensional data; determining whether to set a candidate node that can use the first encoding based on the occupancy pattern; Three-dimensional data encoding device.
14. A processor; A memory. The processor uses the memory to: Obtaining an occupancy pattern of adjacent nodes adjacent to a node included in an N-ary tree structure (N is an integer equal to or greater than 2) of a plurality of three-dimensional points included in the three-dimensional data; determining whether to set a candidate node capable of using the first decoding based on the occupancy pattern; Three-dimensional data decoding device.
Citation Information
Patent Citations
Apparatus and method for depth image-based representation of 3-dimensional object
US20030214502A1
Point Cloud Compression using Prediction and Shape-Adaptive Transforms
US20170214943A1
Scalable point cloud compression with transform, and corresponding decompression
US20170347122A1
Generating slice data from a voxel representation
US20170372513A1
Methods and devices using direct coding in point cloud compression
WO2019140508A1
Cited By
Information processing device, simulation method, and execution program
JP7762329B1
