Methods and apparatuses for coding and decoding depth map
First Claim
1. A method for coding a depth map provided by an apparatus executing instructions stored in a non-transitory, computer-readable storage medium so as to configure the apparatus to provide the method of:
- obtaining, by the apparatus, prediction data of a current image block of the depth map;
determining, by the apparatus, according to an intra-frame prediction mode of the current image block, whether the intra-frame prediction mode belongs to a preset intra-frame prediction mode set, wherein in the case that the intra-frame prediction mode belongs to the preset intra-frame prediction mode set, determining a predicted pixel value from the obtained prediction data according to a preset step;
obtaining, by the apparatus, a first average value of the prediction data according to the predicted pixel value, wherein the preset step is determined based on a size of the current image block;
obtaining, by the apparatus, 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, by the apparatus, the residual of the current image block.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and apparatuses for coding and decoding a depth map are provided. 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.
-
Citations
17 Claims
-
1. A method for coding a depth map provided by an apparatus executing instructions stored in a non-transitory, computer-readable storage medium so as to configure the apparatus to provide the method of:
-
obtaining, by the apparatus, prediction data of a current image block of the depth map; determining, by the apparatus, according to an intra-frame prediction mode of the current image block, whether the intra-frame prediction mode belongs to a preset intra-frame prediction mode set, wherein in the case that the intra-frame prediction mode belongs to the preset intra-frame prediction mode set, determining a predicted pixel value from the obtained prediction data according to a preset step; obtaining, by the apparatus, a first average value of the prediction data according to the predicted pixel value, wherein the preset step is determined based on a size of the current image block; obtaining, by the apparatus, 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, by the apparatus, the residual of the current image block. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for decoding a depth map provided by an apparatus executing instructions stored in a non-transitory, computer-readable storage medium so as to configure a processor to provide the method of:
-
obtaining prediction data of a current image block of the depth map; determining according to an intra-frame prediction mode of the current image block, whether the intra-frame prediction mode belongs to a preset intra-frame prediction mode set, wherein in the case that the intra-frame prediction mode belongs to the preset intra-frame prediction mode set, determining a predicted pixel value from the obtained prediction data according to a preset step; obtaining a first average value of the prediction data according to the predicted pixel value, wherein the preset step is determined based on a size of the current image block; 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. - View Dependent Claims (7, 8, 9, 10, 11)
-
-
12. An apparatus for decoding a depth map comprising a processor and a memory with stored instructions which when executed by the processor cause the processor to:
-
obtain prediction data of a current image block of the depth map; determine, according to an intra-frame prediction mode of the current image block, whether the intra-frame prediction mode belongs to a preset intra-frame prediction mode set, wherein in the case the intra-frame prediction mode belongs to the preset intra-frame prediction mode set, determine a predicted pixel value from the obtained prediction data according to a preset step; obtain a first average value of the prediction data according to the predicted pixel value, wherein the preset step is determined based on a size of the current image block, and 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. - View Dependent Claims (13, 14, 15, 16, 17)
-
Specification