Methods and apparatuses for coding and decoding depth map
AssigneeHuawei Technologies Co., Ltd.
InventorXiaozhen ZHENG
Life of this patent
Estimating the term…
Abstract
Embodiments of the present invention provide methods and apparatuses for coding and decoding a depth map. The coding method includes: obtaining prediction data corresponding to a current image block of the depth map, obtaining a predicted pixel value from the prediction data according to a preset step, and calculating a first average value of the prediction data according to the predicted pixel value, where the preset step is a positive integer except 1; obtaining a residual of the current image block according to the first average value of the prediction data and a pixel value of a pixel of the current image block; and coding the residual of the current image block. In this way, coding and decoding efficiency can be improved.
Claims44
A method for coding a depth map, comprising:
- obtaining prediction data of a current image block of the depth map, obtaining a predicted pixel value from the prediction data according to a preset step, and calculating a first average value of the prediction data according to the predicted pixel value, wherein the preset step is a positive integer except 1;
- obtaining a residual of the current image block according to the first average value of the prediction data and a pixel value of a pixel of the current image block;
- and
- coding the residual of the current image block.
A method for decoding a depth map, comprising:
- obtaining prediction data of a current image block of the depth map, obtaining a predicted pixel value from the prediction data according to a preset step, and calculating a first average value of the prediction data according to the predicted pixel value, wherein the preset step is a positive integer except 1;
- obtaining a residual of the current image block;
- and
- obtaining a pixel value of a pixel of the current image block according to the first average value of the prediction data and the residual of the current image block.
An apparatus for coding a depth map, comprising:
- a first processing module, configured to obtain prediction data of a current image block of the depth map, obtain a predicted pixel value from the prediction data according to a preset step, and calculate a first average value of the prediction data according to the predicted pixel value, wherein the preset step is a positive integer except 1;
- a second processing module, configured to obtain a residual of the current image block according to the first average value of the prediction data and a pixel value of a pixel of the current image block;
- and
- a coding module, configured to code the residual of the current image block.
An apparatus for decoding a depth map, comprising:
- a processing module, configured to obtain prediction data of a current image block of the depth map, obtain a predicted pixel value from the prediction data according to a preset step, and calculate a first average value of the prediction data according to the predicted pixel value, wherein the preset step is a positive integer except 1;
- a decoding module, configured to obtain a residual of the current image block, and obtain a pixel value of a pixel of the current image block according to the first average value of the prediction data and the residual of the current image block.
A method for coding a depth map, comprising:
- obtaining prediction data of a current image block of the depth map, performing an arithmetic operation on every N pixels among pixels in the prediction data to obtain an arithmetic value of corresponding pixel values, and calculating a first average value of the prediction data according to the arithmetic value of the corresponding pixel values;
- obtaining a residual of the current image block according to the first average value of the prediction data and a pixel value of a pixel of the current image block;
- and
- coding the residual of the current image block.
A method for decoding a depth map, comprising:
- obtaining prediction data of a current image block of the depth map, performing an arithmetic operation on every N pixels among pixels in the prediction data to obtain an arithmetic value of corresponding pixel values, and calculating a first average value of the prediction data according to the arithmetic value of the corresponding pixel values;
- obtaining a residual of the current image block;
- and
- obtaining a pixel value of a pixel of the current image block according to the first average value of the prediction data and the residual of the current image block.
An apparatus for coding a depth map, comprising:
- a first processing module, configured to obtain prediction data of a current image block of the depth map, perform an arithmetic operation on every N pixels among pixels in the prediction data to obtain an arithmetic value of corresponding pixel values, and calculate a first average value of the prediction data according to the arithmetic value of the corresponding pixel values;
- a second processing module, configured to obtain a residual of the current image block according to the first average value of the prediction data and a pixel value of a pixel of the current image block;
- and
- a coding module, configured to code the residual of the current image block.
An apparatus for decoding a depth map, comprising:
- a processing module, configured to obtain prediction data of a current image block of the depth map, perform an arithmetic operation on every N pixels among pixels in the prediction data to obtain an arithmetic value of corresponding pixel values, and calculate a first average value of the prediction data according to the arithmetic value of the corresponding pixel values;
- and
- a decoding module, configured to obtain a residual of the current image block, and obtain a pixel value of a pixel of the current image block according to the first average value of the prediction data and the residual of the current image block.
Dependencies are inferred from the claim text.