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 of encoding three-dimensional points includes: calculating a new predicted value as a predicted value, using attribute information items of one or more second three-dimensional points neighboring a first three-dimensional point, and assigning the predicted value to at least one prediction mode among two or more prediction modes, the new predicted value being used for calculating an attribute information item of the first three-dimensional point; selecting one prediction mode from the two or more prediction modes; calculating a prediction residual which is a difference between the attribute information item of the first three-dimensional point and the predicted value of the one prediction mode selected; and generating a bitstream including the one prediction mode and the prediction residual.
1. A three-dimensional data encoding method comprising:
determining whether a prediction mode to which a predicted value of information to be encoded is not assigned is present within a plurality of prediction modes;
identifying, when a prediction mode to which the predicted value is not assigned is present, a new predicted value to be assigned to the prediction mode to which the predicted value is not assigned;
calculating a prediction residual which is a difference between the information to be encoded and a predicted value corresponding to a prediction mode selected from among the plurality of prediction modes; and
generating a bitstream including a value indicating the prediction mode selected and the prediction residual.
2. The three-dimensional data encoding method according to claim 1 , wherein
one prediction mode of the plurality of prediction modes is a mode that uses an average value of a plurality of three-dimensional points to be referred in a prediction process.
3. The three-dimensional data encoding method according to claim 1 , wherein
the new predicted value is a median or a maximum value of a plurality of three-dimensional points to be referred in a prediction process.
4. The three-dimensional data encoding method according to claim 1 , wherein
the bitstream includes a value indicating a total number of the plurality of prediction modes.
5. A three-dimensional data decoding method comprising:
determining whether a prediction mode to which a predicted value of information to be encoded is not assigned is present within a plurality of prediction modes;
identifying, when a prediction mode to which the predicted value is not assigned is present, a new predicted value to be assigned to the prediction mode to which the predicted value is not assigned;
obtaining a bitstream including a value indicating a prediction mode selected from among the plurality of prediction modes and a prediction residual; and
calculating the information to be encoded which is a sum of the prediction residual and a predicted value corresponding to the prediction mode selected.
6. The three-dimensional data decoding method according to claim 5 , wherein
one prediction mode of the plurality of prediction modes is a mode that uses an average value of a plurality of three-dimensional points to be referred in a prediction process.
7. The three-dimensional data decoding method according to claim 5 , wherein
the new predicted value is a median or a maximum value of a plurality of three-dimensional points to be referred in a prediction process.
8. The three-dimensional data decoding method according to claim 5 , wherein
the bitstream includes a value indicating a total number of the plurality of prediction modes.
9. A three-dimensional data encoding device comprising:
a processor; and
a memory, wherein
by using the memory, the processor performs:
determining whether a prediction mode to which a predicted value of information to be encoded is not assigned is present within a plurality of prediction modes;
identifying, when a prediction mode to which the predicted value is not assigned is present, a new predicted value to be assigned to the prediction mode to which the predicted value is not assigned;
calculating a prediction residual which is a difference between the information to be encoded and a predicted value corresponding to a prediction mode selected from among the plurality of prediction modes; and
generating a bitstream including a value indicating the prediction mode selected and the prediction residual.
10. The three-dimensional data encoding device according to claim 9 , wherein
one prediction mode of the plurality of prediction modes is a mode that uses an average value of a plurality of three-dimensional points to be referred in a prediction process.
11. The three-dimensional data encoding device according to claim 9 , wherein
the new predicted value is a median or a maximum value of a plurality of three-dimensional points to be referred in a prediction process.
12. The three-dimensional data encoding device according to claim 9 , wherein
the bitstream includes a value indicating a total number of the plurality of prediction modes.
13. A three-dimensional data decoding device comprising:
a processor; and
a memory, wherein
by using the memory, the processor performs:
determining whether a prediction mode to which a predicted value of information to be encoded is not assigned is present within a plurality of prediction modes;
identifying, when a prediction mode to which the predicted value is not assigned is present, a new predicted value to be assigned to the prediction mode to which the predicted value is not assigned;
obtaining a bitstream including a value indicating a prediction mode selected from among the plurality of prediction modes and a prediction residual; and
calculating the information to be encoded which is a sum of the prediction residual and a predicted value corresponding to the prediction mode selected.
14. The three-dimensional data decoding device according to claim 13 , wherein
one prediction mode of the plurality of prediction modes is a mode that uses an average value of a plurality of three-dimensional points to be referred in a prediction process.
15. The three-dimensional data decoding device according to claim 13 , wherein
the new predicted value is a median or a maximum value of a plurality of three-dimensional points to be referred in a prediction process.
16. The three-dimensional data decoding device according to claim 13 , wherein
the bitstream includes a value indicating a total number of the plurality of prediction modes.