Intra-frame depth map block encoding and decoding methods, and apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorsXu Chen, Xiaozhen Zheng
Life of this patent
Estimating the term…
Abstract
The present invention discloses an intra-frame depth map block encoding method, including: acquiring a depth map block to be encoded; when a depth modeling mode (DMM) is applied to a recursive quadtree (RQT) or simplified depth coding (SDC) to encode the depth map block, separately detecting the depth map block by using a DMM1 mode and a DMM4 mode in the DMM, to obtain rate-distortion results of the depth map block in the DMM1 mode and in the DMM4 mode; and determining that a DMM with a smallest rate-distortion result in the DMM1 and the DMM4 is a DMM used during encoding, applying the used mode to the RQT or the SDC to encode the depth map block, and writing the used DMM to a bitstream.
Claims16
An intra-frame depth map block encoding method, comprising:
- acquiring a depth map block to be encoded;
- when a depth modeling mode (DMM) is applied to a recursive quadtree (RQT) or simplified depth coding (SDC) to encode the depth map block, separately detecting the depth map block by using a DMM1 mode and a DMM4 mode in the DMM, to obtain a rate-distortion result of the depth map block in the DMM1 mode and a rate-distortion result of the depth map block in the DMM4 mode;
- and
- determining that a DMM with a smallest rate-distortion result in the DMM1 and the DMM4 is a DMM used during encoding, applying the used mode to the RQT or the SDC to encode the depth map block, and writing the used DMM to a bitstream.
An intra-frame depth map block decoding method, comprising:
- acquiring, from a bitstream, a depth modeling mode (DMM) used during encoding a depth map block to be decoded;
- applying the DMM used during encoding to a recursive quadtree (RQT) or simplified depth coding (SDC) to decode the depth map block;
- obtaining the decoded depth map block;
- and
- wherein applying the DMM used during encoding to a recursive quadtree (RQT) or simplified depth coding (SDC) to decode the depth map block comprises:
- obtaining a block predicted value and a block offset value of a depth map subblock obtained through segmentation in the DMM used during encoding, and residual information of each pixel in the depth map subblock according to the DMM used during encoding, wherein the block predicted value is obtained according to a predefined prediction rule by using a depth map block adjacent to the depth map subblock, the block offset value is obtained by mapping a difference between a block original pixel value of the depth map block and the block predicted value according to a preset mapping relationship, and the residual information of each pixel in the depth map subblock is a difference between an original pixel value of each pixel in the depth map subblock and a sum of the block predicted value and the block offset value.
An encoding apparatus, comprising:
- an acquiring, configured to acquire a depth map block to be encoded;
- a detection unit, configured to:
- when a depth modeling mode (DMM) is applied to a recursive quadtree (RQT) or simplified depth coding (SDC) to encode the depth map block acquired by the acquiring unit, separately detect the depth map block by using a DMM1 mode and a DMM4 mode in the DMM, to obtain a rate-distortion result of the depth map block in the DMM1 mode and a rate-distortion result of the depth map block in the DMM4 mode;
- and
- an encoding unit, configured to:
- determine that a DMM, whose rate-distortion result is the smallest in the rate-distortion results of the DMM1 and the DMM4 that are obtained through detection by the detection unit, is a DMM used during encoding,
- apply the used mode to the RQT or the SDC to encode the depth map block, and
- write the used DMM to a bitstream.
A decoding apparatus, comprising:
- an acquiring unit, configured to acquire, from a bitstream, a depth modeling mode (DMM) used during encoding a depth map block to be decoded;
- a decoding unit, configured to:
- apply the DMM used during encoding to a recursive quadtree (RQT) or simplified depth coding (SDC) to decode the depth map block acquired by the acquiring unit, and
- obtain a block predicted value and a block offset value of a depth map subblock obtained through segmentation in the DMM used during encoding, and residual information of each pixel in the depth map subblock according to the DMM used during encoding, wherein the block predicted value is obtained according to a predefined prediction rule by using a depth map block adjacent to the depth map subblock, the block offset value is obtained by mapping a difference between a block original pixel value of the depth map block and the block predicted value according to a preset mapping relationship, and the residual information of each pixel in the depth map subblock is a difference between an original pixel value of each pixel in the depth map subblock and a sum of the block predicted value and the block offset value;
- and
- an obtaining unit, configured to obtain the depth map block decoded by the decoding unit.
Dependencies are inferred from the claim text.