Three-dimensional point cloud transmission method and apparatus, three-dimensional point cloud receiving method and apparatus, and storage medium
Provided are a three-dimensional point cloud transmission method and apparatus, a three-dimensional point cloud receiving method and apparatus, and a medium. The transmission method includes the following steps. The point cloud data of an original point cloud is parsed. The quality level of the space region of a to-be-transmitted point cloud is determined. The point cloud data in the space region of the to-be-transmitted point cloud is selected according to the quality level of the space region of the to-be-transmitted point cloud to generate a media code stream. The quality indication information of the space region of the to-be-transmitted point cloud is determined according to the selected point cloud data in the space region of the to-be-transmitted point cloud. The quality indication information of the space region of the to-be-transmitted point cloud is written into the media code stream. The media code stream is transmitted.
1 . A three-dimensional point cloud transmission method, comprising:
parsing point cloud data of an original point cloud and determining a quality level of a space region of a to-be-transmitted point cloud;
selecting point cloud data in the space region of the to-be-transmitted point cloud according to the quality level of the space region of the to-be-transmitted point cloud to generate a media code stream;
determining quality indication information of the space region of the to-be-transmitted point cloud according to the selected point cloud data in the space region of the to-be-transmitted point cloud and writing the quality indication information of the space region of the to-be-transmitted point cloud into the media code stream; and
transmitting the media code stream,
wherein the original point cloud is composed of point cloud data of different space regions and different quality levels, at least one space region of the to-be-transmitted point cloud is configured, each space region of the at least one space region comprises point cloud data of at least one quality level, and the quality indication information of the space region of the to-be-transmitted point cloud comprises the quality level of the space region of the to-be-transmitted point cloud;
wherein the each space region comprises at least one component track group, a component track group of the at least one component track group comprises at least one component track, each component track of the at least one component track comprises at least one type of point cloud data, each type of at least one type of point cloud data comprises at least one quality level, and determining the quality level of the space region of the to-be-transmitted point cloud comprises: determining a quality level of each component track in each component track group of the each space region of the to-be-transmitted point cloud; and determining a joint quality level of the each component track group in the each space region of the to-be-transmitted point cloud;
wherein the joint quality level of the each component track group is determined by the quality level of each component track comprised in the each component track group, and the quality level of the each component track is determined according to a quality level of the at least one type of point cloud data comprised in the each component track; and
wherein selecting the point cloud data in the space region of the to-be-transmitted point cloud according to the quality level of the space region of the to-be-transmitted point cloud to generate the media code stream comprises:
selecting point cloud data of the component track comprised in the each component track group in the space region of the to-be-transmitted point cloud according to the joint quality level of the each component track group in the space region of the to-be-transmitted point cloud to form point cloud data of the each component track group in the space region of the to-be-transmitted point cloud to generate the media code stream.
2 . The method according to claim 1 , after determining the quality indication information of the space region of the to-be-transmitted point cloud, further comprising:
determining an indication attribute identifier of the to-be-transmitted point cloud according to the quality indication information of the space region of the to-be-transmitted point cloud; and
writing the indication attribute identifier of the to-be-transmitted point cloud into the media code stream,
wherein the indication attribute identifier of the to-be-transmitted point cloud is configured to refer to at least one of the following: whether the to-be-transmitted point cloud is composed of point cloud data of different space regions and different quality levels, or the space region comprised in the to-be-transmitted point cloud.
3 . The method according to claim 1 , wherein the quality indication information of the space region of the to-be-transmitted point cloud further comprises at least one of the following:
a number of space regions, an identifier of the space region, a position of the space region, a dimension of the space region, a size of the space region, a number of component tracks of the space region, an identifier of a component track of the space region, a type of a component track group of the space region, a number of component track groups of the space region, or an identifier of the component track group of the space region.
4 . A three-dimensional point cloud receiving method, comprising:
parsing quality indication information of a space region of a received point cloud from a received media code stream;
decoding the media code stream according to the quality indication information of the space region of the received point cloud to obtain point cloud data of the received point cloud; and
rendering the point cloud data of the received point cloud,
wherein the point cloud data is point cloud data of different space regions and different quality levels of the received point cloud, and the quality indication information of the space region comprises a quality level of the space region;
wherein each space region of the received point cloud comprises at least one component track group, a component track group of the at least one component track group comprises at least one component track, each component track of the at least one component track comprises at least one type of point cloud data, each type of at least one type of point cloud data comprises at least one quality level, and the quality level of the space region of the received point cloud comprises: a quality level of each component track in each component track group of the each space region of the received point cloud and a joint quality level of the each component track group in the each space region of the received point cloud;
wherein the joint quality level of the each component track group is determined by the quality level of the each component track comprised in the each component track group, and the quality level of the each component track is determined according to a quality level of the at least one type of point cloud data comprised in the each component track; and
wherein the media code stream is generated by selecting point cloud data of the component track comprised in the each component track group in the each space region of the received point cloud according to the joint quality level of the each component track group in the each space region of the received point cloud to form point cloud data of the each component track group in the each space region of the received point cloud.
5 . The method according to claim 4 , before parsing the quality indication information of the space region of the received point cloud from the received media code stream, further comprising:
parsing an indication attribute identifier of the received point cloud from the received media code stream and determining whether the received point cloud is composed of the point cloud data of the different space regions according to the indication attribute identifier of the received point cloud.
6 . A three-dimensional point cloud transmission apparatus, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to cause the at least one processor to perform the following steps:
parsing point cloud data of an original point cloud;
determining a quality level of a space region of a to-be-transmitted point cloud;
selecting point cloud data in the space region of the to-be-transmitted point cloud according to the quality level of the space region of the to-be-transmitted point cloud to generate a media code stream;
determining quality indication information of the space region of the to-be-transmitted point cloud according to the selected point cloud data in the space region of the to-be-transmitted point cloud;
writing the quality indication information of the space region of the to-be-transmitted point cloud into the media code stream; and
transmitting the media code stream,
wherein the original point cloud is composed of point cloud data of different space regions and different quality levels, at least one space region of the to-be-transmitted point cloud is configured, each space region of the at least one space region comprises point cloud data of at least one quality level, and the quality indication information of the space region of the to-be-transmitted point cloud comprises the quality level of the space region of the to-be-transmitted point cloud;
wherein the each space region comprises at least one component track group, a component track group of the at least one component track group comprises at least one component track, each component track of the at least one component track comprises at least one type of point cloud data, each type of at least one type of point cloud data comprises at least one quality level, and determining the quality level of the space region of the to-be-transmitted point cloud comprises: determining a quality level of each component track in each component track group of the each space region of the to-be-transmitted point cloud; and determining a joint quality level of the each component track group in the each space region of the to-be-transmitted point cloud;
wherein the joint quality level of the each component track group is determined by the quality level of each component track comprised in the each component track group, and the quality level of the each component track is determined according to a quality level of the at least one type of point cloud data comprised in the each component track; and
wherein selecting the point cloud data in the space region of the to-be-transmitted point cloud according to the quality level of the space region of the to-be-transmitted point cloud to generate the media code stream comprises:
selecting point cloud data of the component track comprised in the each component track group in the space region of the to-be-transmitted point cloud according to the joint quality level of the each component track group in the space region of the to-be-transmitted point cloud to form point cloud data of the each component track group in the space region of the to-be-transmitted point cloud to generate the media code stream.
7 . The apparatus according to claim 6 , wherein the instructions are further executed by the at least one processor to cause the at least one processor to perform, after determining the quality indication information of the space region of the to-be-transmitted point cloud, the following steps:
determining an indication attribute identifier of the to-be-transmitted point cloud according to the quality indication information of the space region of the to-be-transmitted point cloud; and
writing the indication attribute identifier of the to-be-transmitted point cloud into the media code stream,
wherein the indication attribute identifier of the to-be-transmitted point cloud is configured to refer to at least one of the following: whether the to-be-transmitted point cloud is composed of point cloud data of different space regions and different quality levels, or the space region comprised in the to-be-transmitted point cloud.
8 . The apparatus according to claim 6 , wherein the quality indication information of the space region of the to-be-transmitted point cloud further comprises at least one of the following:
a number of space regions, an identifier of the space region, a position of the space region, a dimension of the space region, a size of the space region, a number of component tracks of the space region, an identifier of a component track of the space region, a type of a component track group of the space region, a number of component track groups of the space region, or an identifier of the component track group of the space region.
9 . A three-dimensional point cloud receiving apparatus, comprising:
at least one processor; and
a memory communicatively connected to the at least one processor;
wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to cause the at least one processor to perform the method of claim 4 .
10 . The apparatus according to claim 9 , wherein the instructions are further executed by the at least one processor to cause the at least one processor to, before parsing the quality indication information of the space region of the received point cloud from the received media code stream, parse an indication attribute identifier of the received point cloud from the received media code stream and determine whether the received point cloud is composed of the point cloud data of the different space regions according to the indication attribute identifier of the received point cloud.
11 . A non-transitory computer-readable storage medium, storing a computer program, wherein when executing the computer program, a processor performs the transmission method according to claim 1 .
12 . A non-transitory computer-readable storage medium, storing a computer program, wherein when executing the computer program, a processor performs the receiving method according to claim 4 .