Three-dimensional data encoding method, three-dimensional data decoding method, three-dimensional data encoding device, and three-dimensional data decoding device
View Patent ↗A three-dimensional data encoding method includes: dividing three-dimensional points included in point cloud data into processing units each of which includes one or more of the three-dimensional points; and encoding attribute information of a current three-dimensional point included in a current processing unit, by reference to an encoded processing unit, to generate a bitstream.
1. A three-dimensional data encoding method, comprising:
encoding attribute information of a current three-dimensional point; a
generating a bitstream, wherein
when a difference between pieces of referable attribute information is less than a predetermined value or a total number of available prediction modes is 1, information indicating a prediction mode used for encoding the current three-dimensional point is not appended to the bitstream, and
when the difference between the pieces of referable attribute information is greater than the predetermined value and the total number of the available prediction modes is greater than 1, the information indicating the prediction mode used for encoding the current three-dimensional point is appended to the bitstream.
2. The three-dimensional data encoding method according to claim 1 , further comprising:
dividing three-dimensional points into processing units each of which includes one or more of the three-dimensional points, the three-dimensional points including the current three-dimensional point; and
encoding one or more of the three-dimensional points included in each of the processing units, using a same prediction mode.
3. The three-dimensional data encoding method according to claim claim 2 ,
wherein the bitstream includes information indicating a total number of three-dimensional points included in each of the processing units.
4. A three-dimensional data decoding method, comprising:
obtaining a bitstream; and
decoding, from the bitstream, attribute information of a current three-dimensional point, wherein
when a difference between pieces of referable attribute information is less than a predetermined value or a total number of available prediction modes is 1, the bitstream does not include information indicating a prediction mode used for encoding the current three-dimensional point, and
when the difference between the pieces of referable attribute information is greater than the predetermined value and the total number of the available prediction modes is greater than 1, the bitstream includes the information indicating the prediction mode used for encoding the current three-dimensional point.
5. The three-dimensional data decoding method according to claim 4 ,
wherein the bitstream includes encoded data generated by encoding processing units into which three-dimensional points included in point cloud data are divided and each of which includes one or more of the three-dimensional points, the three-dimensional points including the current three-dimensional point, and
three-dimensional points included in each of the processing units are decoded, using a same prediction mode.
6. The three-dimensional data decoding method according to claim claim 5 ,
wherein the bitstream includes information indicating a total number of three-dimensional points included in each of the processing units.
7. The three-dimensional data decoding method according to claim claim 4 ,
wherein in the decoding of the attribute information of the current three-dimensional point, when the information indicating a prediction mode used for encoding the current processing unit is not appended to the bitstream, the attribute information of the current three-dimensional point is decoded using a predetermined prediction mode among prediction modes.
8. A three-dimensional data encoding device, comprising:
a processor; and
memory,
wherein using the memory, the processor:
encodes attribute information of a current three-dimensional point and
generates a bitstream, wherein
when a difference between pieces of referable attribute information is less than a predetermined value or a total number of available prediction modes is 1, information indicating a prediction mode used for encoding the current three-dimensional point is not appended to the bitstream, and
when the difference between the pieces of referable attribute information is greater than the predetermined value and the total number of the available prediction modes is greater than 1, the information indicating the prediction mode used for encoding the current three-dimensional point is appended to the bitstream.
9. A three-dimensional data decoding device, comprising:
a processor; and
memory,
wherein using the memory, the processor:
obtains a bitstream; and
decodes, from the bitstream, attribute information of a current three-dimensional point, wherein
when a difference between pieces of referable attribute information is less than a predetermined value or a total number of available prediction modes is 1, the bitstream does not include information indicating a prediction mode used for encoding the current three-dimensional point, and
when the difference between the pieces of referable attribute information is greater than the predetermined value and the total number of the available prediction modes is greater than 1, the bitstream includes the information indicating the prediction mode used for encoding the current three-dimensional point.