The invention discloses a
point cloud compression method and device based on a multi-scale
octree attention mechanism, and relates to the field of
image processing, and the method comprises the steps: an
encoder network receives
point cloud data, carries out the down-sampling and
feature extraction of a
point cloud through a
downscaling feature extractor, obtains a downscaled deep feature point cloud, and carries out the
feature extraction of the point cloud; the method comprises the following steps of: firstly, encoding the data into an
octree in a recursive manner, constructing a
context window according to a relationship among
octree nodes, introducing a multi-head attention mechanism to perform
feature fusion on the octree nodes to obtain an occupancy probability of the octree nodes, and compressing the occupancy probability into a bit
stream by using arithmetic encoding; and the decoder network decompresses the bit
stream to obtain a reconstructed point cloud,
upsampling and feature reconstruction are performed on the reconstructed point cloud by using an upscaling feature reconstruction device, and finally a reconstructed point cloud with the same resolution as the
initial point cloud is obtained. According to the invention, on the premise of ensuring the quality of the same point cloud, the point cloud compression efficiency is effectively improved, and the bit overhead is reduced.