Methods and apparatuses for coding and decoding depth map
First Claim
1. A method for coding a depth map provided by one or more processing modules and a coding module executing instructions stored in a non-transitory, computer-readable storage medium so as to configure the modules to provide the method of:
- obtaining, by a first processing module, prediction data of a current image block of the depth map;
determining, by the first processing module, according to an intra-frame prediction mode of the current image block, that the intra-frame prediction mode belongs to a preset intra-frame prediction mode set;
obtaining, by the first processing module, a predicted pixel value from the prediction data according to a preset step;
calculating, by the first processing module, 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 a second processing module, 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 a coding module, the residual of the current image block.
1 Assignment
0 Petitions
Accused Products
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.
12 Citations
24 Claims
-
1. A method for coding a depth map provided by one or more processing modules and a coding module executing instructions stored in a non-transitory, computer-readable storage medium so as to configure the modules to provide the method of:
-
obtaining, by a first processing module, prediction data of a current image block of the depth map; determining, by the first processing module, according to an intra-frame prediction mode of the current image block, that the intra-frame prediction mode belongs to a preset intra-frame prediction mode set; obtaining, by the first processing module, a predicted pixel value from the prediction data according to a preset step; calculating, by the first processing module, 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 a second processing module, 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 a coding module, the residual of the current image block. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for decoding a depth map provided by processing and decoding modules executing instructions stored in a non-transitory, computer-readable storage medium so as to configure the modules to provide the method of:
-
obtaining, by a processing module, prediction data of a current image block of the depth map; determining, by the processing module, according to an intra-frame prediction mode of the current image block, that the intra-frame prediction mode belongs to a preset intra-frame prediction mode set; obtaining, by the processing module, a predicted pixel value from the prediction data according to a preset step; calculating, by the processing module, 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 a decoding module, a residual of the current image block; and obtaining, by the decoding module, 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 (8, 9, 10, 11, 12)
-
-
13. An apparatus for coding a depth map comprising a processor and memory with stored instructions such that when the instructions are executed by the processor, the processor is configured 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, that the intra-frame prediction mode belongs to a preset intra-frame prediction mode set; obtain a predicted pixel value from the prediction data according to a preset step; calculate 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; 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 code the residual of the current image block. - View Dependent Claims (14, 15, 16, 17, 18)
-
-
19. An apparatus for decoding a depth map comprising a processor and a memory with stored instructions such that when the instructions are executed by the processor, the processor is configured 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, that the intra-frame prediction mode belongs to a preset intra-frame prediction mode set; obtain a predicted pixel value from the prediction data according to a preset step; calculate 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 (20, 21, 22, 23, 24)
-
Specification