Methods and apparatuses for coding and decoding depth map
First Claim
Patent Images
1. A method for simplified depth decoding, the method comprising:
- obtaining a flag of simplified depth coding (SDC), wherein a value of the flag indicates that SDC decoding is used for an image block;
determining a size of the image block and a maximum prediction size, wherein the image block is a transform block, wherein the size of the image block is a size of the transform block, and wherein the maximum prediction size is a maximum transform size;
determining an intra prediction mode of the image block;
comparing the size of the image block with the maximum prediction size;
splitting the image block to obtain N split image blocks when the size of the image block is greater than the maximum prediction size, wherein a size of each of the N split image blocks is the same as the maximum prediction size and the N split image blocks are all transform blocks;
obtaining a residual by means of decoding when performing the SDC decoding on an ith split image block of the N split image blocks;
obtaining prediction data of the ith split image block using the intra prediction mode that is used when the SDC is performed on the image block;
determining an average value of the prediction data of the ith split image block based on a plurality of pixel values in the prediction data of the ith split image block and a number of pixels in the ith split image block; and
determining a reconstruction value of the ith split image block according to the average value of the prediction data of the ith split image block and the residual, so as to complete performing the SDC decoding on the ith split image block.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the present invention provide methods and devices for coding and decoding a depth map, including: determining to perform simplified depth coding (SDC) decoding according to a flag of an SDC mode; determining a size of an image block and a maximum prediction size; determining an intra-frame prediction mode; in a case in which the size of the image block is greater than the maximum prediction size, splitting the image block to obtain N split image blocks; and performing the SDC decoding on the N split image blocks by using the intra-frame prediction mode. In this way, processing efficiency of coding and decoding a depth map can be improved.
4 Citations
26 Claims
-
1. A method for simplified depth decoding, the method comprising:
-
obtaining a flag of simplified depth coding (SDC), wherein a value of the flag indicates that SDC decoding is used for an image block; determining a size of the image block and a maximum prediction size, wherein the image block is a transform block, wherein the size of the image block is a size of the transform block, and wherein the maximum prediction size is a maximum transform size; determining an intra prediction mode of the image block; comparing the size of the image block with the maximum prediction size; splitting the image block to obtain N split image blocks when the size of the image block is greater than the maximum prediction size, wherein a size of each of the N split image blocks is the same as the maximum prediction size and the N split image blocks are all transform blocks; obtaining a residual by means of decoding when performing the SDC decoding on an ith split image block of the N split image blocks; obtaining prediction data of the ith split image block using the intra prediction mode that is used when the SDC is performed on the image block; determining an average value of the prediction data of the ith split image block based on a plurality of pixel values in the prediction data of the ith split image block and a number of pixels in the ith split image block; and determining a reconstruction value of the ith split image block according to the average value of the prediction data of the ith split image block and the residual, so as to complete performing the SDC decoding on the ith split image block. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for simplified depth coding (SDC), the method comprising:
-
determining a size of an image block and a maximum prediction size, wherein the image block is a transform block, wherein the size of the image block is a size of the transform block, and wherein the maximum prediction size is a maximum transform size; determining an intra prediction mode; comparing the size of the image block with the maximum prediction size; splitting the image block to obtain N split image blocks when the size of the image block is greater than the maximum prediction size, wherein a size of the N split image blocks is the same as the maximum prediction size, and wherein the N split image blocks are all transform blocks; and determining prediction data of the ith split image block of the N split image blocks by using the intra prediction mode; determining an average value of the prediction data of the ith split image block based on a plurality of pixel values in the prediction data of the ith split image block and a number of pixels in the ith split image block; determining an average value of raw data of the ith split image block of the N split image blocks; determining a residual of the ith split image block according to the average value of the prediction data of the ith split image block and the average value of the raw data of the ith split image block; and coding the residual of the ith split image block, so as to complete performing SDC on the ith split image block. - View Dependent Claims (7, 8, 9, 10, 11, 12)
-
-
13. A method for simplified depth decoding, the method comprising:
-
determining a size of an image block and a maximum prediction size; when the size of the image block is greater than the maximum prediction size, determining that a signaling bit has N bits, and determining, according to the signaling bits, a first intra prediction mode that is used when simplified depth coding (SDC) is performed on the image block, wherein the first intra prediction mode is one mode among a first set of modes; and when the size of the image block is less than or equal to the maximum prediction size, determining that signaling bits have M bits, and determining, according to the signaling bits, a second intra prediction mode that is used when the SDC is performed on the image block, wherein the second intra prediction mode is one mode among a second set of modes, wherein a depth modeling mode (DMM) is included in the second set of modes but not included in the first set of modes, and wherein a value of M is greater than that of N. - View Dependent Claims (14)
-
-
15. A simplified depth coding method, the method comprising:
-
determining a size of an image block and a maximum prediction size; selecting a first intra prediction mode; when the size of the image block is greater than the maximum prediction size and when simplified depth coding (SDC) is performed on the image block, determining that N bits are used as a signaling bit that identifies the first intra prediction mode, wherein the first intra prediction mode is one mode among a first set of modes; and when the size of the image block is less than or equal to the maximum prediction size and when the SDC is performed on the image block, determining that M bits are used as signaling bits that identify a second intra prediction mode, wherein the second intra prediction mode is one mode among a second set of modes, wherein a depth modeling mode (DMM) is included in the second set of modes but not included in the first set of modes, and wherein a value of M is greater than that of N. - View Dependent Claims (16)
-
-
17. A decoding apparatus for simplified depth decoding, the decoding apparatus comprising:
-
a memory storing instructions; and a processor configured to execute the instructions such that when executed, the instructions cause the processor to be configured to; determine, according to a flag of simplified depth coding (SDC), to use SDC decoding, determine a size of an image block and a maximum prediction size, wherein the image block is a transform block, the size of the image block is a size of the transform block, and the maximum prediction size is a maximum transform size; determine an intra prediction mode that is used when SDC is performed on the image block, compare the size of the image block with the maximum prediction size; split the image block to obtain N split image blocks when the size of the image block is greater than the maximum prediction size, wherein a size of the N split image blocks is the same as the maximum prediction size and the N split image blocks are all transform blocks; obtain a residual by means of decoding when performing the SDC decoding on an ith split image block of the N split image blocks; obtain prediction data of the ith split image block by using the intra prediction mode that is used when the SDC is performed on the image block; determine an average value of the prediction data of the ith split image block based on a plurality of pixel values in the prediction data of the ith split image block and a number of pixels in the ith split image block; and determine a reconstruction value of the ith split image block according to the average value of the prediction data of the ith split image block and the residual, so as to complete performing the SDC decoding on the ith split image block. - View Dependent Claims (18, 19, 20)
-
-
21. A coding apparatus for simplified depth coding (SDC), the coding apparatus comprising:
-
a memory storing instructions; and a processor configured to execute the instructions such that when executed, the instructions cause the processor to be configured to; determine a size of an image block and a maximum prediction size, wherein the image block is a transform block, the size of the image block is a size of the transform block, and the maximum prediction size is a maximum transform size; determine an intra prediction mode; compare the size of the image block with the maximum prediction size; split the image block to obtain N split image blocks when the size of the image block is greater than the maximum prediction size, wherein a size of the N split image blocks is the same as the maximum prediction size, and wherein the N split image blocks are all transform blocks; determine prediction data of an ith split image block of the N split image blocks by using the intra prediction mode; determine an average value of the prediction data of the ith split image block based on a plurality of pixel values in the prediction data of the ith split image block and a number of pixels in the ith split image block; determine an average value of raw data of the ith split image block of the N split image blocks; determine a residual of the ith split image block according to the average value of the prediction data of the ith split image block and the average value of the raw data of the ith split image block; and code the residual of the ith split image block, so as to complete performing SDC on the ith split image block. - View Dependent Claims (22, 23, 24, 25, 26)
-
Specification