摘要 |
A method and system for encoding three-dimensional (3D) video are provided. The method includes: obtaining a depth map of the 3D video, wherein the depth map includes multiple pixels and each of the pixels has a depth value; identifying a first contour of an object in the depth map; changing the depth values according to whether the pixels are located on the first contour to generate a contour bit map; compressing the contour bit map to generate a first bit stream, and decompressing the first bit stream to generate a reconstructed contour bit map; obtaining multiple sampling pixels of the pixels in the object according to a second contour corresponding to the object in the reconstructed contour bit map; and, encoding locations and the depth values of the sampling pixels. Therefore, a compression ratio of the 3D video is increased. |