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 encodes a plurality of three-dimensional points, and includes: selecting one prediction mode from two or more prediction modes for calculating a predicted value of an attribute information item of a first three-dimensional point, in accordance with attribute information items of one or more second three-dimensional points in vicinity of the first three-dimensional point; calculating the predicted value by the selected prediction mode; calculating, as a prediction residual, a difference between a value of the attribute information item of the first three-dimensional point and the calculated predicted value; and generating a first bit stream that includes the selected prediction mode, the prediction residual, and a number of the two or more prediction modes.
1. A three-dimensional data encoding method of encoding a plurality of three-dimensional points, the method comprising:
selecting one prediction mode from two or more prediction modes, the two or more prediction modes each being for selecting a three-dimensional point which is to be referenced when a predicted value of an attribute information item of a first three-dimensional point is calculated; and
binarizing the selected one prediction mode, based on a total number of the two or more prediction modes, wherein
the total number of the two or more prediction modes is determined in response to a number of one or more second three-dimensional points provided in vicinity of the first three-dimensional point, and
the one or more second three-dimensional points include the three-dimensional point, and the one or more second three-dimensional points are available to be referenced when the predicted value is calculated.
2. The three-dimensional data encoding method according to claim 1 , wherein
the selected one prediction mode is binarized by truncated unary coding.
3. The three-dimensional data encoding method according to claim 1 , wherein
in the binarizing of the selected one prediction mode, a multivalued signal indicating the total number is generated, and when the multivalued signal indicates a maximum number of the two or more prediction modes, the multivalued signal does not have 0 at the end.
4. The three-dimensional data encoding method according to claim 1 , wherein
in the binarizing of the selected one prediction mode, a signal is generated having the same number of is as the total number of the two or more prediction modes minus 1.
5. The three-dimensional data encoding method according to claim 1 , wherein
the total number of the two or more prediction modes is variable and greater than or equal to 2.
6. A three-dimensional data decoding method of decoding a plurality of encoded three-dimensional points, the method comprising:
obtaining one prediction mode from two or more prediction modes, the two or more prediction modes each being for selecting a three-dimensional point which is to be referenced when a predicted value of an attribute information item of a first three-dimensional point is calculated, wherein
the obtained one prediction mode is binarized, based on a total number of the two or more prediction modes,
the total number of the two or more prediction modes is determined in response to a number of one or more second three-dimensional points provided in vicinity of the first three-dimensional point, and
the one or more second three-dimensional points include the three-dimensional point, and the one or more second three-dimensional points are available to be referenced when the predicted value is calculated.
7. The three-dimensional data decoding method according to claim 6 , wherein
the selected one prediction mode is binarized by truncated unary coding.
8. The three-dimensional data decoding method according to claim 6 , wherein
in the binarizing of the selected one prediction mode, a multivalued signal indicating the total number is generated, and when the multivalued signal indicates a maximum number of the two or more prediction modes, the multivalued signal does not have 0 at the end.
9. The three-dimensional data decoding method according to claim 6 , wherein
in the binarizing of the selected one prediction mode, a signal is generated having the same number of is as the total number of the two or more prediction modes minus 1.
10. The three-dimensional data decoding method according to claim 6 , wherein
the total number of the two or more prediction modes is variable and greater than or equal to 2.
11. A three-dimensional data encoding device that encodes a plurality of three-dimensional points, the device comprising:
a processor; and
a memory, wherein
by using the memory, the processor performs:
selecting one prediction mode from two or more prediction modes, the two or more prediction modes each being for selecting a three-dimensional point which is to be referenced when a predicted value of an attribute information item of a first three-dimensional point is calculated; and
binarizing the selected one prediction mode, based on a total number of the two or more prediction modes,
the total number of the two or more prediction modes is determined in response to a number of one or more second three-dimensional points provided in vicinity of the first three-dimensional point, and
the one or more second three-dimensional points include the three-dimensional point, and the one or more second three-dimensional points are available to be referenced when the predicted value is calculated.
12. A three-dimensional data decoding device that decodes a plurality of encoded three-dimensional points, the device comprising:
a processor; and
a memory, wherein
by using the memory, the processor performs:
obtaining one prediction mode from two or more prediction modes, the two or more prediction modes each being for selecting a three-dimensional point which is to be referenced when a predicted value of an attribute information item of a first three-dimensional point is calculated,
the obtained one prediction mode is binarized, based on a total number of the two or more prediction modes,
the total number of the two or more prediction modes is determined in response to a number of one or more second three-dimensional points provided in vicinity of the first three-dimensional point, and
the one or more second three-dimensional points include the three-dimensional point, and the one or more second three-dimensional points are available to be referenced when the predicted value is calculated.