Point-cloud decoding device, point-cloud decoding method, and program
A point-cloud decoding device according to the present invention includes: a tree synthesizing unit configured to decode position information on each point of point-cloud data as a decoding target, and give, in ascending order in order of decoding of the position information, an index to each point of the point-cloud data.
1 . A point-cloud decoding device comprising:
a tree synthesizing unit configured to receive an encoded bitstream comprising occupancy-code syntax, decode position information from the bitstream on each point of point-cloud data as a decoding target, and give, in ascending order in order of decoding of the position information, an index to each point of the point-cloud data.
2 . The point-cloud decoding device according to claim 1 , wherein
the tree synthesizing unit is configured to store the index in a one-dimensional array.
3 . The point-cloud decoding device according to claim 1 , wherein
the tree synthesizing unit is configured to decode, with Predictive coding, the position information, and give the index to each point of the point-cloud data based on order of decoding of the position information in the Predictive coding.
4 . The point-cloud decoding device according to claim 3 , further comprising:
a geometry information decoding unit configured to decode a flag for control of whether or not the Predictive coding is applicable; and
an attribute-information decoding unit configured to decode, before decoding of attribute information of each point of the point-cloud data, a flag for control of whether or not a process of sorting each point of the point-cloud data based on the position information is to be carried out, wherein
in a case where a value of the flag for control of whether or not the Predictive coding is applicable indicates that the Predictive coding is not applicable, a value of the flag for control of whether or not the process of sorting is to be carried out is set as a value indicating that the process of sorting is to be carried out.
5 . The point-cloud decoding device according to claim 4 , further comprising:
a LoD calculation unit configured to carry out, in a case where the process of sorting is not carried out based on the value of the flag for control of whether or not the process of sorting is to be carried out, the decoding of the attribute information based on order of the index.
6 . The point-cloud decoding device according to claim 1 , further comprising:
a LoD calculation unit configured to determine, before decoding of attribute information of each point of the point-cloud data, whether or not a process of sorting each point of the point-cloud data based on the position information is to be carried out, and carry out, in a case where the process of sorting is not carried out, the decoding of the attribute information based on order of the index.
7 . A point-cloud decoding method comprising:
decoding, from an encoded bitstream comprising occupancy code syntax, position information from the bitstream on each point of point-cloud data as a decoding target;
giving, in ascending order in order of decoding of the position information, an index to each point of the point-cloud data; and
storing the index in a one-dimensional array.
8 . A computer program product comprising a non-transitory computer readable medium encoded with an information processing program for use in an information processing device, the program when executed performs operations comprising:
decoding, from an encoded bitstream comprising occupancy code syntax, position information from the bitstream on each point of point-cloud data as a decoding target;
giving, in ascending order in order of decoding of the position information, an index to each point of the point-cloud data; and
storing the index in a one-dimensional array.