CN103533331B - Encoding and decoding method and device for image - Google Patents

Encoding and decoding method and device for image Download PDF

Info

Publication number
CN103533331B
CN103533331B CN201310495231.XA CN201310495231A CN103533331B CN 103533331 B CN103533331 B CN 103533331B CN 201310495231 A CN201310495231 A CN 201310495231A CN 103533331 B CN103533331 B CN 103533331B
Authority
CN
China
Prior art keywords
block
prediction data
current image
image block
size
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310495231.XA
Other languages
Chinese (zh)
Other versions
CN103533331A (en
Inventor
郑萧桢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310495231.XA priority Critical patent/CN103533331B/en
Publication of CN103533331A publication Critical patent/CN103533331A/en
Application granted granted Critical
Publication of CN103533331B publication Critical patent/CN103533331B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention provides an encoding and decoding method and an encoding and decoding device for an image. The invention is implemented through determining the size and the maximum prediction size of a current image block, when the size of the current image block is greater than the maximum prediction size, the first prediction data of the current image block are obtained from the adjacent data of the current image block through the down sampling manner, the first prediction data block of the current image block is obtained according to the intra-frame prediction mode and the first prediction data, encoding is carried out according to the first prediction data block, as the first prediction data of the first prediction data block are obtained from the adjacent data of the current image block through the down sampling manner, namely the number of sample points obtained from the prediction data of the first prediction data block is reduced, the size of the obtained first prediction data block is reduced, accordingly, the size of the first prediction data block is enabled to be equal to the maximum prediction size, the requirement of the maximum prediction size permitted by the system is met, and the design cost is not increased.

Description

The decoding method of image and device
Technical field
The present embodiments relate to image processing techniques, particularly relate to decoding method and the device of a kind of image.
Background technology
Including visible image and the two kinds of image of depth image in 3 d video images system, visible image comprises image The information of itself, such as colour information, depth image comprises the depth information of visible image, such as profile information.To 3 D video figure In being transmitted, in order to reduce the bandwidth shared by transmission of video, need video image is carried out coded treatment, including to regarding Image and the coded treatment of depth image, to reduce the size of transmission 3 d video images data.
Simplifying depth coding pattern (Simplified Depth Coding, hereinafter referred to as: SDC) is to pass through infra-frame prediction After pattern obtains prediction data block, obtain a steady state value according to prediction data block, according to the sample of current image block initial data This value obtains a steady state value, when current image block encode, and residual as current image block of difference of two steady state values of employing Difference encodes;Decoding section obtains residual values, according to the intra prediction mode identical with coding side obtain prediction data block it Obtain a steady state value according to prediction data block afterwards, above-mentioned residual values is added with the steady state value obtained according to prediction data block and obtains Obtain the reconstructed value of current image block;Or, after decoding end obtains above-mentioned parameter value, according to the infra-frame prediction identical with coding side After pattern obtains prediction data block, prediction data block is added with above-mentioned parameter value the reconstructed value obtaining current image block, can To find out, when using the code encoding/decoding mode of SDC, it is desirable to the size of the prediction data block obtained by intra prediction mode is necessary Equivalently-sized with current image block.
But, in existing coding/decoding system, restricted to the full-size of prediction data block, when current image block When size exceedes the full-size of the prediction data block that system allows, then need to design new encoding and decoding structure, increase design and open Pin.
Summary of the invention
The embodiment of the present invention provides decoding method and the device of a kind of image, to avoid increasing design overhead.
Embodiment of the present invention first aspect provides the coding/decoding method of a kind of image, including:
Determine size and the maximum predicted size of current image block;
When described current image block size more than described maximum predicted size time, by down-sampling mode from described currently The adjacent data of image block obtains the first prediction data of described current image block;
Intra prediction mode and described first prediction data according to described current image block obtain described current image block The first prediction data block;
The first prediction data block according to described current image block is decoded.
In conjunction with first aspect, in the implementation that the first is possible, described by down-sampling mode from described current figure As the adjacent data of block obtains the first prediction data of described current image block, including:
From the adjacent data of described current image block, R sample data of acquisition is as the first prediction data, and wherein, R is The integer of the size more than or equal to 1 and less than described current image block.
In conjunction with the implementation that the first is possible, in the implementation that the second is possible, described according to described current figure The intra prediction mode of picture block and described first prediction data obtain the first prediction data block of described current image block, including:
When intra prediction mode is plane mode, first according to plane mode and the R described current image block of acquisition is pre- Survey data block.
In conjunction with first aspect, in the implementation that the third is possible, described by down-sampling mode from described current figure As the adjacent data of block obtains the first prediction data of described current image block, including:
From the adjacent data of described current image block, the first prediction number of described current image block is obtained with default step-length According to, wherein, described default step-length be N, N be the integer more than or equal to 2.
In conjunction with the implementation that the third is possible, in the 4th kind of possible implementation, described first prediction data block Size equal to the ratio of size and the described default step-length of described current image block.
In conjunction with the third or the 4th kind of possible implementation, in the 5th kind of possible implementation, described according to institute State intra prediction mode and first prediction data of the described first prediction data described current image block of acquisition of current image block Block, including:
The first prediction data block of described current image block is obtained according to plane mode and described first prediction data.
In conjunction with the 5th kind of possible implementation, in the 6th kind of possible implementation, described according to plane mode and Described first prediction data obtains the first prediction data block of described current image block, including:
Size according to described current image block obtains the first of described current image block with the ratio of described default step-length Prediction data block.
In conjunction with the first of first aspect or first aspect to any one possible reality in the 6th kind of possible implementation Existing mode, in the 7th kind of possible implementation, described the first prediction data block according to described current image block solves Code, including:
Described first prediction data block is carried out up-sampling and obtains the second prediction data block;
Residual values according to described second prediction data block and described current image block obtains the first image reconstruction block, described The size of the first image reconstruction block is equal to the size of described current image block.
In conjunction with the third of first aspect to any one possible implementation in the 6th kind of possible implementation, In eight kinds of possible implementations, described the first prediction data block according to described current image block is decoded, including:
The first prediction data block according to described current image block obtains the second prediction data block, wherein, described second pre- Survey the sample value that coordinate figure in data block be the sample point of (N × x, N × y) to (N × x+N-1, N × y+N-1) and be equal to described the In one prediction block, coordinate figure is that (wherein, N is the value of described default step-length for x, the sample value of sample point y);
Residual values according to described second prediction data block and described current image block obtains the first image reconstruction block, described The size of the first image reconstruction block is equal to the size of described current image block.
In conjunction with the third of first aspect to any one possible implementation in the 6th kind of possible implementation, In nine kinds of possible implementations, described the first prediction data block according to described current image block is decoded, including:
Obtaining the second prediction data block according to the first prediction data block, wherein, described first prediction data block is by M sample Point composition, described second prediction block is made up of M the 3rd prediction data block, and the M in described second prediction data block the 3rd pre- Survey data block according to the series arrangement identical with M sample point in described first prediction data block, each 3rd prediction data Block is made up of N × N number of sample point, and the sample value of the N × N number of sample point in described 3rd prediction data block is the first prediction data The sample value of sample point identical with described 3rd prediction data block arrangement sequence number in block;
Residual values according to described second prediction data block and described current image block obtains the first image reconstruction block, described The size of the first image reconstruction block is equal to the size of described current image block.
In conjunction with the first of first aspect or first aspect to any one possible reality in the 6th kind of possible implementation Existing mode, in the tenth kind of possible implementation, described the first prediction data block according to described current image block solves Code, including:
The first prediction data block and the residual values of described current image block according to described current image block obtain the second figure As reconstructed blocks;
Described second image reconstruction block is carried out up-sampling and obtains the 3rd image reconstruction block, wherein, described 3rd image weight The size of building block is equivalently-sized with described current image block.
In conjunction with the third of first aspect to any one possible implementation in the 6th kind of possible implementation, In 11 kinds of possible implementations, described the first prediction data block according to described current image block is decoded, including:
The first prediction data block and the residual values of described current image block according to described current image block obtain the second figure As reconstructed blocks;
Obtain the 3rd image reconstruction block according to described second image reconstruction block, wherein, described 3rd image reconstruction block is sat Scale value is that the sample value of the sample point of (N × x, N × y) to (N × x+N-1, N × y+N-1) is sat equal in the second image reconstruction block Scale value is that (wherein, N is the value of described default step-length, the size of described 3rd image reconstruction block for x, the sample value of sample point y) Equivalently-sized with described current image block.
In conjunction with the third of first aspect to any one possible implementation in the 6th kind of possible implementation, In 12 kinds of possible implementations, described the first prediction data block according to described current image block is decoded, including:
The first prediction data block and the residual values of described current image block according to described current image block obtain the second figure As reconstructed blocks;
Obtaining the 3rd image reconstruction block according to described second image reconstruction block, wherein, described second image reconstruction block is by M Sample point forms, and described 3rd image reconstruction block is made up of M the 4th image reconstruction block, the M in described 3rd image reconstruction block Individual 4th image reconstruction block according to the series arrangement identical with M sample point in described second image reconstruction block, each 4th Image reconstruction block is made up of N × N number of sample point, and the sample value of the N × N number of sample point in described 4th image reconstruction block is second The sample value of sample point identical with described 4th image reconstruction block arrangement sequence number in image reconstruction block, wherein said 3rd image The size of reconstructed blocks is equivalently-sized with described current image block.
In conjunction with the third of first aspect to any one possible implementation in the 6th kind of possible implementation, In 13 kinds of possible implementations, the size of described current image block and described maximum predicted chi according to described default step-length Very little ratio determines.
In conjunction with the third of first aspect to any one possible implementation in the 6th kind of possible implementation, In 14 kinds of possible implementations, described default step-length is the default step-length obtained from code stream.
In conjunction with the third of first aspect to any one possible implementation in the 6th kind of possible implementation, In 15 kinds of possible implementations, described default step-length is the step-length that decoding end is preset.
In conjunction with the first of first aspect or first aspect to any one is possible in the 15th kind of possible implementation Implementation, in the 16th kind of possible implementation, described maximum predicted a size of obtains from code stream, or for decoding The numerical value that end is preset.
In conjunction with the first of first aspect or first aspect to any one is possible in the 16th kind of possible implementation Implementation, in the 17th kind of possible implementation, the described size determining current image block and maximum predicted size it Before, also include:
Determine that employing simplifies depth coding Mode S DC and is decoded.
Embodiment of the present invention second aspect provides the coded method of a kind of image, including:
Determine size and the maximum predicted size of current image block;
When described current image block size more than described maximum predicted size time, by down-sampling mode from described currently The adjacent data of image block obtains the first prediction data of described current image block;
Intra prediction mode and described first prediction data according to described current image block obtain described current image block The first prediction data block;
The first prediction data block according to described current image block encodes.
In conjunction with second aspect, in the implementation that the first is possible, described by down-sampling mode from described current figure As the adjacent data of block obtains the first prediction data of described current image block, including:
From the adjacent data of described current image block, R sample data of acquisition is as the first prediction data, and wherein, R is The integer of the size more than or equal to 1 and less than described current image block.
In conjunction with the implementation that the first is possible, in the implementation that the second is possible, described according to described current figure The intra prediction mode of picture block and described first prediction data obtain the first prediction data block of described current image block, including:
When intra prediction mode is plane mode, first according to plane mode and the R described current image block of acquisition is pre- Survey data block.
In conjunction with second aspect, in the implementation that the third is possible, described by down-sampling mode from described current figure As the adjacent data of block obtains the first prediction data of described current image block, including:
From the adjacent data of described current image block, the first prediction number of described current image block is obtained with default step-length According to, wherein, described default step-length be N, N be the integer more than or equal to 2.
In conjunction with the implementation that the third is possible, in the 4th kind of possible implementation, described first prediction data block Size equal to the ratio of size and the described default step-length of described current image block.
In conjunction with the third or the 4th kind of possible implementation, in the 5th kind of possible implementation, described according to institute State intra prediction mode and first prediction data of the described first prediction data described current image block of acquisition of current image block Block, including:
The first prediction data block of described current image block is obtained according to plane mode and described first prediction data.
In conjunction with the 5th kind of possible implementation, in the 6th kind of possible implementation, described according to plane mode and Described first prediction data obtains the first prediction data block of described current image block, including:
Size according to described current image block obtains the first of described current image block with the ratio of described default step-length Prediction data block.
In conjunction with the first of second aspect or second aspect to any one possible reality in the 6th kind of possible implementation Existing mode, in the 7th kind of possible implementation, described the first prediction data block according to described current image block is compiled Code, including:
Described first prediction data block is carried out up-sampling and obtains the second prediction data block, described second prediction data block Size is equal to the size of described current image block;
The residual values of described current image block is obtained according to described current image block and described second prediction data block;
Encode the residual values of described current image block.
In conjunction with the third of second aspect to any one possible implementation in the 6th kind of possible implementation, In eight kinds of possible implementations, described the first prediction data block according to described current image block encodes, including:
The first prediction data block according to described current image block obtains the second prediction data block, wherein, described second pre- Survey the sample value that coordinate figure in data block be the sample point of (N × x, N × y) to (N × x+N-1, N × y+N-1) and be equal to described the In one prediction block, coordinate figure is that (wherein, N is the value of described default step-length for x, the sample value of sample point y);
The residual values of described current image block is obtained according to described current image block and described second prediction data block;
Encode the residual values of described current image block.
In conjunction with the third of second aspect to any one possible implementation in the 6th kind of possible implementation, In nine kinds of possible implementations, described the first prediction data block according to described current image block encodes, including:
Obtaining the second prediction data block according to the first prediction data block, wherein, described first prediction data block is by M sample Point composition, described second prediction block is made up of M the 3rd prediction data block, and the M in described second prediction data block the 3rd pre- Survey data block according to the series arrangement identical with M sample point in described first prediction data block, each 3rd prediction data Block is made up of N × N number of sample point, and the sample value of the N × N number of sample point in described 3rd prediction data block is the first prediction data The sample value of sample point identical with described 3rd prediction data block arrangement sequence number in block;
The residual values of described current image block is obtained according to described current image block and described second prediction data block;
Encode the residual values of described current image block.
In conjunction with the third of second aspect to any one possible implementation in the 6th kind of possible implementation, In ten kinds of possible implementations, the size of described current image block and described maximum predicted size according to described default step-length Ratio determine.
In conjunction with the third of second aspect to any one possible implementation in the 6th kind of possible implementation, In 11 kinds of possible implementations, described default step-length is that coding side determines according to preset rules;
Described method also includes: encode described default step-length.
In conjunction with the third of second aspect to any one possible implementation in the 6th kind of possible implementation, In 12 kinds of possible implementations, described default step-length is the step-length that coding side is preset.
In conjunction with the first of second aspect or second aspect to any one is possible in the 12nd kind of possible implementation Implementation, in the 13rd kind of possible implementation, encodes described maximum predicted size.
In conjunction with the first of second aspect or second aspect to any one is possible in the 13rd kind of possible implementation Implementation, in the 14th kind of possible implementation, the described size determining current image block and maximum predicted size it Before, also include:
Determine that employing simplifies depth coding Mode S DC and encodes.
The embodiment of the present invention third aspect provides the decoding apparatus of a kind of image, including:
Determine module, for determining size and the maximum predicted size of current image block;
Acquisition module, for when the size of described current image block is more than described maximum predicted size, passing through down-sampling Mode obtains the first prediction data of described current image block from the adjacent data of described current image block;
Processing module, obtains institute for the intra prediction mode according to described current image block and described first prediction data State the first prediction data block of current image block;
Decoder module, for being decoded according to the first prediction data block of described current image block.
In conjunction with the third aspect, in the implementation that the first is possible, described acquisition module specifically for from described currently In the adjacent data of image block, R sample data of acquisition is as the first prediction data, and wherein, R is more than or equal to 1 and less than described The integer of the size of current image block.
In conjunction with the implementation that the first is possible, in the implementation that the second is possible, described acquisition module is specifically used In when intra prediction mode is plane mode, obtain the first prediction data of described current image block according to plane mode and R Block.
In conjunction with the third aspect, in the implementation that the third is possible, described acquisition module is specifically for default step-length The first prediction data of described current image block, wherein, described default step is obtained from the adjacent data of described current image block A length of N, N are the integer more than or equal to 2.
In conjunction with the implementation that the third is possible, in the 4th kind of possible implementation, described first prediction data block Size equal to the ratio of size and the described default step-length of described current image block.
In conjunction with the third or the 4th kind of possible implementation, in the 5th kind of possible implementation, described process mould Block specifically for obtaining the first prediction data block of described current image block according to plane mode and described first prediction data.
In conjunction with the 5th kind of possible implementation, in the 6th kind of possible implementation, described processing module is specifically used Ratio in the size according to described current image block with described default step-length obtains the first prediction number of described current image block According to block.
In conjunction with the first of the third aspect or the third aspect to any one possible reality in the 6th kind of possible implementation Existing mode, in the 7th kind of possible implementation, described decoder module is specifically for carrying out described first prediction data block Up-sampling obtains the second prediction data block;Residual values according to described second prediction data block and described current image block obtains the One image reconstruction block, the size of described first image reconstruction block is equal to the size of described current image block.
In conjunction with the third of the third aspect to any one possible implementation in the 6th kind of possible implementation, In eight kinds of possible implementations, described decoder module obtains specifically for the first prediction data block according to described current image block Obtaining the second prediction data block, wherein, in described second prediction data block, coordinate figure is that (N × x, N × y) arrives (N × x+N-1, N × y + N-1) sample point sample value equal to described first prediction block in coordinate figure be (x, the sample value of sample point y), wherein, N Value for described default step-length;Residual values according to described second prediction data block and described current image block obtains the first image Reconstructed blocks, the size of described first image reconstruction block is equal to the size of described current image block.
In conjunction with the third of the third aspect to any one possible implementation in the 6th kind of possible implementation, In nine kinds of possible implementations, described decoder module is specifically for obtaining the second prediction data according to the first prediction data block Block, wherein, described first prediction data block is made up of M sample point, and described second prediction block is by M the 3rd prediction data block group Become, the 3rd prediction data block of the M in described second prediction data block according to M sample in described first prediction data block The series arrangement that point is identical, each 3rd prediction data block is made up of N × N number of sample point, the N in described 3rd prediction data block The sample value of × N number of sample point is sample point identical with described 3rd prediction data block arrangement sequence number in the first prediction data block Sample value;Residual values according to described second prediction data block and described current image block obtains the first image reconstruction block, institute State the size size equal to described current image block of the first image reconstruction block.
In conjunction with the first of the third aspect or the third aspect to any one possible reality in the 6th kind of possible implementation Existing mode, in the tenth kind of possible implementation, described decoder module is specifically for first according to described current image block The residual values of prediction data block and described current image block obtains the second image reconstruction block;Described second image reconstruction block is carried out Up-sampling obtains the 3rd image reconstruction block, wherein, the size of described 3rd image reconstruction block and the size of described current image block Identical.
In conjunction with the third of the third aspect to any one possible implementation in the 6th kind of possible implementation, In 11 kinds of possible implementations, described decoder module is specifically for the first prediction data block according to described current image block The second image reconstruction block is obtained with the residual values of described current image block;The 3rd image is obtained according to described second image reconstruction block Reconstructed blocks, wherein, in described 3rd image reconstruction block, coordinate figure is the sample of (N × x, N × y) to (N × x+N-1, N × y+N-1) The sample value of this point is that (wherein, N is described pre-for x, the sample value of sample point y) equal to coordinate figure in the second image reconstruction block If the value of step-length, the size of described 3rd image reconstruction block is equivalently-sized with described current image block.
In conjunction with the third of the third aspect to any one possible implementation in the 6th kind of possible implementation, In 12 kinds of possible implementations, described decoder module is specifically for the first prediction data block according to described current image block The second image reconstruction block is obtained with the residual values of described current image block;The 3rd image is obtained according to described second image reconstruction block Reconstructed blocks, wherein, described second image reconstruction block is made up of M sample point, and described 3rd image reconstruction block is by M the 4th image Reconstructed blocks forms, the 4th image reconstruction block of the M in described 3rd image reconstruction block according to in described second image reconstruction block The identical series arrangement of M sample point, each 4th image reconstruction block is made up of N × N number of sample point, described 4th image weight The sample value of the N in building block × N number of sample point is to arrange sequence number phase with described 4th image reconstruction block in the second image reconstruction block The sample value of same sample point, the size of wherein said 3rd image reconstruction block is equivalently-sized with described current image block.
In conjunction with the third of the third aspect to any one possible implementation in the 6th kind of possible implementation, In 13 kinds of possible implementations, the size of described current image block and described maximum predicted chi according to described default step-length Very little ratio determines.
In conjunction with the third of the third aspect to any one possible implementation in the 6th kind of possible implementation, In 14 kinds of possible implementations, described default step-length is the default step-length obtained from code stream.
In conjunction with the third of the third aspect to any one possible implementation in the 6th kind of possible implementation, In 15 kinds of possible implementations, described default step-length is the step-length that decoding end is preset.
In conjunction with the first of the third aspect or the third aspect to any one is possible in the 15th kind of possible implementation Implementation, in the 16th kind of possible implementation, described maximum predicted a size of obtains from code stream, or for decoding The numerical value that end is preset.
In conjunction with the first of the third aspect or the third aspect to any one is possible in the 16th kind of possible implementation Implementation, in the 17th kind of possible implementation, described determines module, be additionally operable to determine the size of current image block and Before maximum predicted size, determine that employing simplifies depth coding Mode S DC and is decoded.
Embodiment of the present invention fourth aspect provides the code device of a kind of image, including:
Determine module, for determining size and the maximum predicted size of current image block;
Acquisition module, for when the size of described current image block is more than described maximum predicted size, passing through down-sampling Mode obtains the first prediction data of described current image block from the adjacent data of described current image block;
Processing module, obtains institute for the intra prediction mode according to described current image block and described first prediction data State the first prediction data block of current image block;
Coding module, for encoding according to the first prediction data block of described current image block.
In conjunction with fourth aspect, in the implementation that the first is possible, described acquisition module specifically for from described currently In the adjacent data of image block, R sample data of acquisition is as the first prediction data, and wherein, R is more than or equal to 1 and less than described The integer of the size of current image block.
In conjunction with the implementation that the first is possible, in the implementation that the second is possible, described acquisition module is specifically used In when intra prediction mode is plane mode, obtain the first prediction data of described current image block according to plane mode and R Block.
In conjunction with fourth aspect, in the implementation that the third is possible, described acquisition module is specifically for default step-length The first prediction data of described current image block, wherein, described default step is obtained from the adjacent data of described current image block A length of N, N are the integer more than or equal to 2.
In conjunction with the implementation that the third is possible, in the 4th kind of possible implementation, described first prediction data block Size equal to the ratio of size and the described default step-length of described current image block.
In conjunction with the third or the 4th kind of possible implementation, in the 5th kind of possible implementation, described process mould Block specifically for obtaining the first prediction data block of described current image block according to plane mode and described first prediction data.
In conjunction with the 5th kind of possible implementation, in the 6th kind of possible implementation, described processing module is specifically used Ratio in the size according to described current image block with described default step-length obtains the first prediction number of described current image block According to block.
In conjunction with the first of fourth aspect or fourth aspect to any one possible reality in the 6th kind of possible implementation Existing mode, in the 7th kind of possible implementation, described coding module is specifically for carrying out described first prediction data block Up-sampling obtains the second prediction data block, and the size of described second prediction data block is equal to the size of described current image block;Root The residual values of described current image block is obtained according to described current image block and described second prediction data block;Encode described current figure Residual values as block.
In conjunction with the third of fourth aspect to any one possible implementation in the 6th kind of possible implementation, In eight kinds of possible implementations, described coding module obtains specifically for the first prediction data block according to described current image block Obtaining the second prediction data block, wherein, in described second prediction data block, coordinate figure is that (N × x, N × y) arrives (N × x+N-1, N × y + N-1) sample point sample value equal to described first prediction block in coordinate figure be (x, the sample value of sample point y), wherein, N Value for described default step-length;Described current image block is obtained according to described current image block and described second prediction data block Residual values;Encode the residual values of described current image block.
In conjunction with the third of fourth aspect to any one possible implementation in the 6th kind of possible implementation, In nine kinds of possible implementations, described coding module is specifically for obtaining the second prediction data according to the first prediction data block Block, wherein, described first prediction data block is made up of M sample point, and described second prediction block is by M the 3rd prediction data block group Become, the 3rd prediction data block of the M in described second prediction data block according to M sample in described first prediction data block The series arrangement that point is identical, each 3rd prediction data block is made up of N × N number of sample point, the N in described 3rd prediction data block The sample value of × N number of sample point is sample point identical with described 3rd prediction data block arrangement sequence number in the first prediction data block Sample value;The residual values of described current image block is obtained according to described current image block and described second prediction data block;
Encode the residual values of described current image block.
In conjunction with the third of fourth aspect to any one possible implementation in the 6th kind of possible implementation, In ten kinds of possible implementations, the size of described current image block and described maximum predicted size according to described default step-length Ratio determine.
In conjunction with the third of fourth aspect to any one possible implementation in the 6th kind of possible implementation, In 11 kinds of possible implementations, described default step-length is that coding side determines according to preset rules;
Described coding module is additionally operable to encode described default step-length.
In conjunction with the third of fourth aspect to any one possible implementation in the 6th kind of possible implementation, In 12 kinds of possible implementations, described default step-length is the step-length that coding side is preset.
In conjunction with the first of fourth aspect or fourth aspect to any one is possible in the 12nd kind of possible implementation Implementation, in the 13rd kind of possible implementation, described coding module is additionally operable to encode described maximum predicted size.
In conjunction with the first of fourth aspect or fourth aspect to any one is possible in the 13rd kind of possible implementation Implementation, in the 14th kind of possible implementation, described determines module, be additionally operable to determine the size of current image block and Before maximum predicted size, determine that employing simplifies depth coding Mode S DC and encodes.
The decoding method of image that the embodiment of the present invention provides and device, be determined by the size and of current image block Big predicted size, when the size of current image block is more than maximum predicted size, by down-sampling mode from current image block Adjacent data obtains the first prediction data of described current image block, according to the intra prediction mode and first of current image block Prediction data obtains the first prediction data block of described current image block, encodes according to the first prediction data block, owing to obtaining First prediction data of the first prediction data block of described current image block by down-sampling mode from current image block Adjacent data obtains, i.e. be equivalent to decrease the prediction data of the first prediction data block obtaining described current image block The number of middle sample point, therefore, it is thus achieved that the size of the first prediction data block diminish, so that the chi of the first prediction data block Very little equal to maximum predicted size, meet the requirement of the maximum predicted size that system allows, it is not necessary to increase design overhead.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, also may be used To obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the coded method embodiment one of image of the present invention;
Fig. 2 is the schematic flow sheet of the coding/decoding method embodiment one of image of the present invention;
Fig. 3 is the structural representation of the decoding apparatus embodiment one of image of the present invention;
Fig. 4 is the structural representation of the code device embodiment one of image of the present invention;
Fig. 5 is the schematic block diagram of the equipment of the decoding for image according to another embodiment of the present invention;
Fig. 6 is the schematic block diagram of the equipment of the coding for image according to another embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise Embodiment, broadly falls into the scope of protection of the invention.
When main idea is that the size for current image block more than maximum predicted size, obtaining prediction number According to time, by the way of down-sampling from the adjacent data of current image block obtain prediction data so that according to obtain prediction Data obtain prediction data block size system allow in the range of, then, to obtain prediction data block carry out on adopt Sample, so that size and the current image block of the prediction data after conversion is equivalently-sized, can use SDC to carry out compiling solution Code thus without increasing design overhead;Or, the prediction data block obtained is carried out SDC encoding and decoding, then to the image obtained Reconstructed blocks carries out up-sampling the equivalently-sized image reconstruction block obtained with current image block thus without increasing design overhead.This Current image block described in invention refers to image block the most to be encoded or to be decoded.Additionally, above-mentioned maximum predicted chi Very little is maximum infra-frame prediction size.Wherein, down-sampling refers to obtain the second set, institute with certain rule from the first set State the data element of the second set less than the data element in the first set.Up-sampling refers to from the 3rd set with certain rule Obtaining the 4th set, the data element of described 3rd set is more than the data element in the 4th set.
With specifically embodiment, technical scheme is described in detail below.
Fig. 1 is the schematic flow sheet of the coded method embodiment one of image of the present invention, and the executive agent of the present embodiment is to compile Code device, the method for the present embodiment is as follows:
S101: determine size and the maximum predicted size of current image block.
Wherein, maximum predicted size refers to the size of maximum predicted data block that coding/decoding system allows.
S102: when the size of current image block is more than maximum predicted size, by down-sampling mode from current image block Adjacent data in obtain the first prediction data of current image block.
As the first implementation, from the adjacent data of current image block, obtain R sample data pre-as first Surveying data, wherein, R is the integer of the size more than or equal to 1 and less than described current image block.From the consecutive number of current image block Obtain R sample data as the first prediction data according to middle, refer to each limit of encoded adjacent edge from current image block R sample data of upper acquisition, the size of current image block refers to the number of the sample point on each limit, such as: the image of 4 × 4 The size of block is 4.As the second implementation, with default step-length obtain from the adjacent data of current image block described currently First prediction data of image block.Wherein, default step-length be N, N be the integer more than or equal to 2.The value of N can be according to currently The size of image block determines with the ratio of maximum predicted size;Or, it is identical pre-that system is that coding side configures with decoding end If step-length, when coding, default step-length can be obtained from the configuration parameter of coding side;Or, coding side is according to presetting rule The default step-length then determined, when coding, in addition it is also necessary to encode this default step-length, so that decoding end can know that coding side is used Default step-length;For the determination method of N value, the invention is not limited in this regard.The adjacent data of current image block is encoded Data.
S103: obtain the first pre-of current image block according to the intra prediction mode of current image block and the first prediction data Survey data block.
Wherein, intra prediction mode can be plane (Planar) pattern, when using the first implementation in S102 When obtaining the first prediction data of described current image block, when intra prediction mode is plane mode, according to plane mode and It can be to obtain described working as according to plane mode and R that first prediction data obtains the first prediction data block of described current image block First prediction data block of front image block.
When the first prediction data using the first implementation in S102 to obtain described current image block, according to flat It is the size according to current image block that surface model and the first prediction data obtain the first prediction data block of described current image block With the first prediction data block that the ratio of default step-length obtains described current image block, the size of the first prediction data block is equal to working as The size of front image block and the ratio of default step-length.
The size assuming current image block is S × S, the first prediction data block obtained in conjunction with the step of S102 and S103 A size of (S/N) × (S/N).With a specific example, the step combining S102 and S103 is obtained described current figure below As the method for the first prediction data block of block illustrates, current image block uses the coded method of SDC, uses the frame of Planar Inner estimation mode, if the size of current image block is 64 × 64, the size of the maximum intra-frame prediction block that system allows is 32 × 32, Current image block uses the coded method of SDC, determines that default step-length is 2(64/32=2), with default step-length 2 from current image block Adjacent data blocks in obtain the first prediction data of described current image block, be i.e. 2 tops from current image block with step-length The adjacent data of row and left-hand column obtains the first prediction data of described current image block, according to the infra-frame prediction mould of Planar Formula, uses the first prediction data to obtain the first prediction data block of described current image block, owing to the first prediction data is with in advance If step-length 2 obtains from the adjacent data of current image block, be equivalent to the first prediction number obtaining described current image block Down-sampling process, therefore, the size of the first prediction data block obtained and maximum predicted chi has been carried out according to the prediction data of block Very little identical, i.e. 32 × 32.Specifically, following code can be used to realize this process:
Wherein, predSamples [x] [y] be in the first prediction data block abscissa be x vertical coordinate be the sample point of y Sample value, p [x] [y] represent in adjacent data abscissa be x vertical coordinate be the sample value of y, x and y represents various kinds in adjacent data The position of this point, the coordinate figure of x and y is incremented by with step-length 2, thus realizes sampling process, i.e. reduces obtaining described current image block The number of sample point of prediction data of the first prediction data block.Owing to have passed through at sampling when the first prediction data block obtains Reason, its block size becomes 32 × 32, and therefore, the value of nT is become 32 from 64, and the value of Log2 (nT) is become 5 from 6.
S104: encode according to the first prediction data block.
Including following several implementations, the first implementation, the first prediction data block is carried out up-sampling and obtains Two prediction data blocks, up-sampling can be to up-sample with 1:N, can be real by the up-sampling filter in image procossing Existing, the size of the second prediction data block is equal to the size of current image block.Obtain according to current image block and the second prediction data block Take the residual values of current image block;The residual values of coding current image block.
The second implementation, obtains the second prediction data block according to the first prediction data block, in the second prediction data block Coordinate figure is that the sample value of the sample point of (N × x, N × y) to (N × x+N-1, N × y+N-1) is equal to coordinate in the first prediction block Value is for (wherein, N is the value presetting step-length for x, the sample value of sample point y);According to current image block and the second prediction data block Obtain the residual values of current image block;The residual values of coding current image block.
The third implementation, obtains the second prediction data block, wherein, the first prediction data according to the first prediction data block Block is made up of M sample point, and the second prediction block is made up of M the 3rd prediction data block, the M in the second prediction data block the 3rd Prediction data block is according to the series arrangement identical with M sample point in the first prediction data block, each 3rd prediction data block Be made up of N × N number of sample point, the sample value of the N in the 3rd prediction data block × N number of sample point be in the first prediction data block with The sample value of the sample point that the 3rd prediction data block arrangement sequence number is identical.For example, the first prediction data block is by 9 sample points Composition, putting in order of 9 sample points is as follows: wherein, and 1,2,3,4,5,6,7,8,9 represent the row of each sample point respectively Row sequence number;
1 2 3
4 5 6
7 8 9
Second prediction data block is made up of 9 the 3rd prediction data blocks, and each 3rd prediction data block is identical by 2*2 Sample point forms, as follows:
1 1 2 2 3 3
1 1 2 2 3 3
4 4 5 5 6 6
4 4 5 5 6 6
7 7 8 8 9 9
7 7 8 8 9 9
The sample value of 2 × 2 identical sample points in the 3rd prediction data block is with the 3rd in first prediction data block The sample value of the sample point that prediction data block arrangement sequence number is identical;Such as, the first prediction data block arranges the sample of serial number 1 The sample value of point is A, then arrange the 3rd prediction data block of serial number 1 in the second prediction data block
1 1
1 1
In the sample value of each sample point be also A.The process obtaining the second prediction data block according to the first prediction data block can To be realized by the method for up-sampling, will the sample value in the first prediction data block be filled in the second prediction data block accordingly The 3rd prediction data block in, or, realized by up-sampling filter conventional in image procossing.
After obtaining the second prediction data block, use SDC coded method to carry out coded treatment, i.e. according to current image block and Second prediction data block obtains residual values, encodes above-mentioned residual values, works as so that decoding end obtains according to above-mentioned residual values The reconstruct image block of front image block.The method that one of which obtains residual values according to current image block and the second prediction data block is Initial data according to current image block obtains a steady state value, obtains according to the sample value of each sample point of the second prediction data block Take a steady state value, using the difference of two steady state values as residual values.
In the present embodiment, it is determined by size and the maximum predicted size of current image block, when the size of current image block During more than maximum predicted size, from the adjacent data of current image block, obtain described current image block by down-sampling mode First prediction data, obtains the of described current image block according to the intra prediction mode of current image block and the first prediction data One prediction data block, encodes according to the first prediction data block, owing to obtaining the first prediction data of described current image block First prediction data of block is to be obtained from the adjacent data of current image block by down-sampling mode, i.e. be equivalent to reduce The number of sample point in the prediction data of the first prediction data block of the described current image block of acquisition, therefore, it is thus achieved that first The size of prediction data block diminishes, so that the size of the first prediction data block is equal to maximum predicted size, meets system and permits The requirement of the maximum predicted size permitted, it is not necessary to increase design overhead.
Alternatively, the most also include encoding maximum predicted size.
When the embodiment of the present invention is applied to use SDC coding mode, therefore, when system uses multiple coding mode, holding Before row S101, also comprise determining that employing SDC encodes.
Fig. 2 is the schematic flow sheet of the coding/decoding method embodiment one of image of the present invention, and the executive agent of the present embodiment is to solve Code device, the method for the present embodiment is as follows:
S201: determine size and the maximum predicted size of current image block.
Decoding end can obtain from default numerical value and most beat predicted size.
If coding side encodes maximum predicted size, decoding end can also obtain maximum predicted size from code stream.
S202: when the size of current image block is more than maximum predicted size, by down-sampling mode from current image block Adjacent data in obtain the first prediction data of current image block.
As the first implementation, from the adjacent data of current image block, obtain R sample data pre-as first Surveying data, wherein, R is the integer of the size more than or equal to 1 and less than described current image block.
As the second implementation, from the adjacent data of current image block, obtain described present image with default step-length First prediction data of block.Wherein, default step-length be N, N be the integer more than or equal to 2.The value of N can be according to present image The size of block determines with the ratio of maximum predicted size;Or, system is the identical step-length preset of coding and decoding end configuration, When decoding, default step-length can be obtained from the configuration parameter of decoding end;Or, the default step-length obtained from code stream;To N The determination method of value, the invention is not limited in this regard.
The size of the first prediction data block is equal to the size of current image block and the ratio of default step-length.
S203: obtain the first pre-of current image block according to the intra prediction mode of current image block and the first prediction data Survey data block.
Wherein, the intra prediction mode of current image block is plane mode, when using the first implementation in S202 When obtaining the first prediction data of described current image block, when intra prediction mode is plane mode, according to plane mode and It can be to obtain described working as according to plane mode and R that first prediction data obtains the first prediction data block of described current image block First prediction data block of front image block.
When the first prediction data using the first implementation in S202 to obtain described current image block, according to flat Surface model and the first prediction data obtain the first prediction data block of described current image block and refer to the chi according to current image block The very little ratio with default step-length obtains the first prediction data block of described current image block.
The step of S202 with S203 is identical with step S102 in embodiment illustrated in fig. 1 and step S103, sees in Fig. 1 The detailed description of S102 and S103, does not repeats them here.
S204: be decoded according to the first prediction data block.
This step includes following several implementation, the first implementation, up-samples the first prediction data block Obtaining the second prediction data block, up-sampling can be to up-sample with 1:N, can be filtered by the up-sampling in image procossing Ripple device realizes, and the size of the second prediction data block is equal to the size of current image block.According to the second prediction data block and current figure As the residual values of block obtains the first image reconstruction block, the size of the first image reconstruction block is equal to the size of current image block.
The second implementation, obtains the second prediction data block, wherein, the second prediction data according to the first prediction data block In block, coordinate figure is that the sample value of the sample point of (N × x, N × y) to (N × x+N-1, N × y+N-1) is equal in the first prediction block Coordinate figure is that (wherein, N is the value presetting step-length for x, the sample value of sample point y);According to the second prediction data block and current figure As the residual values of block obtains the first image reconstruction block, the size of the first image reconstruction block is equal to the size of current image block.
The third implementation, obtains the second prediction data block, wherein, the first prediction data according to the first prediction data block Block is made up of M sample point, and the second prediction block is made up of M the 3rd prediction data block, the M in the second prediction data block the 3rd Prediction data block is according to the series arrangement identical with M sample point in the first prediction data block, each 3rd prediction data block Be made up of N × N number of sample point, the sample value of the N in the 3rd prediction data block × N number of sample point be in the first prediction data block with The sample value of the sample point that described 3rd prediction data block arrangement sequence number is identical;The size of the second prediction data block and present image Block equivalently-sized, the process obtaining the second prediction data block according to the first prediction data block also can be found in embodiment illustrated in fig. 1 In corresponding description, no longer describe in detail secondary.Residual values according to the second prediction data block and current image block obtains the first image Reconstructed blocks.
4th kind of implementation, obtains the second image reconstruction according to the residual values of the first prediction data block and current image block Block;Second image reconstruction block is carried out up-sampling and obtains the 3rd image reconstruction block, up-sampling can be with 1:N carry out on adopt Sample, can be realized by the up-sampling filter in image procossing, the size of the 3rd image reconstruction block and the chi of current image block Very little identical.
5th kind of implementation, obtains the second image reconstruction according to the residual values of the first prediction data block and current image block Block;Obtaining the 3rd image reconstruction block according to the second image reconstruction block, wherein, in the 3rd image reconstruction block, coordinate figure is (N × x, N × y) to (N × x+N-1, N × y+N-1) sample point sample value equal to coordinate figure in the second image reconstruction block be (x, y) The sample value of sample point, wherein, N is the value of described default step-length, the size of the 3rd image reconstruction block and the chi of current image block Very little identical.
6th kind of implementation, obtains the second image reconstruction block according to the residual values of the first prediction block and current image block, The size of the second image reconstruction block is equivalently-sized with the first prediction data block, it is thus achieved that after the second image reconstruction block, according to Two image reconstruction blocks obtain the 3rd image reconstruction block, and wherein, the second image reconstruction block is made up of M sample point, the 3rd image weight Building block is made up of M the 4th image reconstruction block, M fourth reconstructed block in the 3rd image reconstruction block according to the second image reconstruction The series arrangement that M sample point in block is identical, each 4th image reconstruction block is made up of N × N number of sample point, the 4th image weight The sample value of the N in building block × N number of sample point is identical with the 4th image reconstruction block arrangement sequence number in the second image reconstruction block The sample value of sample point.The size of the 3rd image reconstruction block is equivalently-sized with current image block.Obtain according to the second image block The process of the 3rd image reconstruction block and embodiment illustrated in fig. 1 obtain the mistake of the second prediction data block according to the first prediction data block Journey is similar to, and no longer illustrates at this.
In the present embodiment, it is determined by size and the maximum predicted size of current image block, when the size of current image block During more than maximum predicted size, from the adjacent data of current image block, obtain described current image block by down-sampling mode First prediction data, obtains the of described current image block according to the intra prediction mode of current image block and the first prediction data One prediction data block, is decoded according to the first prediction data block, owing to obtaining the first prediction data of described current image block First prediction data of block is to be obtained from the adjacent data of current image block by down-sampling mode, i.e. be equivalent to reduce The number of sample point in the prediction data of the first prediction data block of the described current image block of acquisition, therefore, it is thus achieved that first The size of prediction data block diminishes, so that the size of the first prediction data block is equal to maximum predicted size, meets system and permits The requirement of the maximum predicted size permitted, it is not necessary to increase design overhead.
When the embodiment of the present invention is applied to use SDC encoding/decoding mode, therefore, when system uses multiple encoding/decoding mode, Before performing S201, also comprise determining that employing SDC is decoded.
Fig. 3 is the structural representation of the decoding apparatus embodiment one of image of the present invention, and the device of the present embodiment includes determining Module 301, acquisition module 302, processing module 303 and decoder module 304, wherein it is determined that module 301 is used for determining present image The size of block and maximum predicted size;Acquisition module 302 is more than described maximum predicted for the size when described current image block During size, from the adjacent data of described current image block, obtained the first prediction of described current image block by down-sampling mode Data;Processing module 303 obtains institute for the intra prediction mode according to described current image block and described first prediction data State the first prediction data block of current image block;Decoder module 304 is for the first prediction data according to described current image block Block is decoded.
In the above-described embodiments, described acquisition module 302 is specifically for obtaining from the adjacent data of described current image block Taking R sample data as the first prediction data, wherein, R is whole more than or equal to 1 and less than the size of described current image block Number.
In the above-described embodiments, described acquisition module 302 specifically for when intra prediction mode is plane mode, according to Plane mode and R obtain the first prediction data block of described current image block.
In the above-described embodiments, described acquisition module 302 specifically for default step-length from the phase of described current image block Adjacent data obtain the first prediction data of described current image block, wherein, described default step-length be N, N be more than or equal to 2 Integer.
In the above-described embodiments, the size of described first prediction data block is equal to the size of described current image block with described Preset the ratio of step-length.
In the above-described embodiments, described processing module 303 is specifically for according to plane mode and described first prediction data Obtain the first prediction data block of described current image block.
In the above-described embodiments, described processing module 303 specifically for the size according to described current image block with described The ratio presetting step-length obtains the first prediction data block of described current image block.
In the above-described embodiments, described decoder module 304 is specifically for up-sampling described first prediction data block Obtain the second prediction data block;Residual values according to described second prediction data block and described current image block obtains the first image Reconstructed blocks, the size of described first image reconstruction block is equal to the size of described current image block.
In the above-described embodiments, described decoder module 304 is specifically for the first prediction number according to described current image block Obtaining the second prediction data block according to block, wherein, in described second prediction data block, coordinate figure is that (N × x, N × y) arrives (N × x+N- 1, N × y+N-1) sample point sample value equal to described first prediction block in coordinate figure be (x, the sample value of sample point y), Wherein, N is the value of described default step-length;Residual values according to described second prediction data block and described current image block obtains the One image reconstruction block, the size of described first image reconstruction block is equal to the size of described current image block.
In the above-described embodiments, described decoder module 304 is specifically for obtaining the second prediction according to the first prediction data block Data block, wherein, described first prediction data block is made up of M sample point, and described second prediction block is by M the 3rd prediction data Block forms, and the M in described second prediction data block the 3rd prediction data block is according to individual with the M in described first prediction data block The series arrangement that sample point is identical, each 3rd prediction data block is made up of N × N number of sample point, described 3rd prediction data block In the sample value of N × N number of sample point be identical with described 3rd prediction data block arrangement sequence number in the first prediction data block The sample value of sample point;Residual values according to described second prediction data block and described current image block obtains the first image reconstruction Block, the size of described first image reconstruction block is equal to the size of described current image block.
In the above-described embodiments, described decoder module 304 is specifically for the first prediction number according to described current image block The second image reconstruction block is obtained according to the residual values of block and described current image block;Described second image reconstruction block is up-sampled Obtaining the 3rd image reconstruction block, wherein, the size of described 3rd image reconstruction block is equivalently-sized with described current image block.
In the above-described embodiments, described decoder module 304 is specifically for the first prediction number according to described current image block The second image reconstruction block is obtained according to the residual values of block and described current image block;The 3rd is obtained according to described second image reconstruction block Image reconstruction block, wherein, in described 3rd image reconstruction block, coordinate figure is (N × x, N × y) to (N × x+N-1, N × y+N-1) The sample value of sample point be that (wherein, N is institute for x, the sample value of sample point y) equal to coordinate figure in the second image reconstruction block Stating the value of default step-length, the size of described 3rd image reconstruction block is equivalently-sized with described current image block.
In the above-described embodiments, described decoder module 304 is specifically for the first prediction number according to described current image block The second image reconstruction block is obtained according to the residual values of block and described current image block;The 3rd is obtained according to described second image reconstruction block Image reconstruction block, wherein, described second image reconstruction block is made up of M sample point, and described 3rd image reconstruction block is by M the 4th Image reconstruction block forms, the 4th image reconstruction block of the M in described 3rd image reconstruction block according to described second image reconstruction The series arrangement that M sample point in block is identical, each 4th image reconstruction block is made up of N × N number of sample point, described 4th figure As the sample value of the N × N number of sample point in reconstructed blocks is to arrange sequence with described 4th image reconstruction block in the second image reconstruction block The sample value of number identical sample point, the size of wherein said 3rd image reconstruction block and the size phase of described current image block With.
In the above-described embodiments, the size of described current image block and described maximum predicted chi according to described default step-length Very little ratio determines.
In the above-described embodiments, described default step-length is the default step-length obtained from code stream.
In the above-described embodiments, described default step-length is the step-length that decoding end is preset.
In the above-described embodiments, described maximum predicted a size of obtains from code stream, or the numerical value preset for decoding end.
In the above-described embodiments, described determine that module 301 is additionally operable to determine size and the maximum predicted chi of current image block Before very little, determine that employing simplifies depth coding Mode S DC and is decoded.
The device of above-described embodiment, the technical scheme of embodiment of the method shown in corresponding performed Fig. 2, its realize principle and Technique effect is similar to, and here is omitted.
Fig. 4 is the structural representation of the code device embodiment one of image of the present invention, as shown in Figure 4, the dress of the present embodiment Put and include determining module 401, acquisition module 402, processing module 403 and coding module 404, wherein it is determined that module 401 is for really Determine size and the maximum predicted size of current image block;Acquisition module 402 is more than institute for the size when described current image block When stating maximum predicted size, from the adjacent data of described current image block, obtain described current image block by down-sampling mode The first prediction data;Processing module 403 is for the intra prediction mode according to described current image block and described first prediction Data obtain the first prediction data block of described current image block;Coding module 404 is for the according to described current image block One prediction data block encodes.
In the above-described embodiments, described acquisition module 402 is specifically for obtaining from the adjacent data of described current image block Taking R sample data as the first prediction data, wherein, R is whole more than or equal to 1 and less than the size of described current image block Number.
In the above-described embodiments, described acquisition module 402 specifically for when intra prediction mode is plane mode, according to Plane mode and R obtain the first prediction data block of described current image block.
In the above-described embodiments, described acquisition module 402 specifically for default step-length from the phase of described current image block Adjacent data obtain the first prediction data of described current image block, wherein, described default step-length be N, N be more than or equal to 2 Integer.
In the above-described embodiments, the size of described first prediction data block is equal to the size of described current image block with described Preset the ratio of step-length.
In the above-described embodiments, described processing module 403 is specifically for according to plane mode and described first prediction data Obtain the first prediction data block of described current image block.
In the above-described embodiments, described processing module 403 specifically for the size according to described current image block with described The ratio presetting step-length obtains the first prediction data block of described current image block.
In the above-described embodiments, described coding module 404 is specifically for up-sampling described first prediction data block Obtaining the second prediction data block, the size of described second prediction data block is equal to the size of described current image block;According to described Current image block and described second prediction data block obtain the residual values of described current image block;Encode described current image block Residual values.
In the above-described embodiments, described coding module 404 is specifically for the first prediction number according to described current image block Obtaining the second prediction data block according to block, wherein, in described second prediction data block, coordinate figure is that (N × x, N × y) arrives (N × x+N- 1, N × y+N-1) sample point sample value equal to described first prediction block in coordinate figure be (x, the sample value of sample point y), Wherein, N is the value of described default step-length;Described current figure is obtained according to described current image block and described second prediction data block Residual values as block;Encode the residual values of described current image block.
In the above-described embodiments, described coding module 404 is specifically for obtaining the second prediction according to the first prediction data block Data block, wherein, described first prediction data block is made up of M sample point, and described second prediction block is by M the 3rd prediction data Block forms, and the M in described second prediction data block the 3rd prediction data block is according to individual with the M in described first prediction data block The series arrangement that sample point is identical, each 3rd prediction data block is made up of N × N number of sample point, described 3rd prediction data block In the sample value of N × N number of sample point be identical with described 3rd prediction data block arrangement sequence number in the first prediction data block The sample value of sample point;The residual error of described current image block is obtained according to described current image block and described second prediction data block Value;Encode the residual values of described current image block.
In the above-described embodiments, the size of described current image block and described maximum predicted chi according to described default step-length Very little ratio determines.
In the above-described embodiments, described default step-length is that coding side determines according to preset rules;Described coding module 404 It is additionally operable to encode described default step-length.
In the above-described embodiments, described default step-length is the step-length that coding side is preset.
In the above-described embodiments, described coding module 404 is additionally operable to encode described maximum predicted size.
In the above-described embodiments, described determine that module 401 is additionally operable to determine size and the maximum predicted chi of current image block Before very little, determine that employing simplifies depth coding Mode S DC and encodes.
The device of above-described embodiment, can be used for performing the technical scheme of embodiment of the method shown in Fig. 1 accordingly, and it realizes former Managing similar with technique effect, here is omitted.
Fig. 5 is the schematic block diagram of the equipment of the decoding for image according to another embodiment of the present invention.The equipment of Fig. 5 One example of 400 is decoder.Equipment 400 includes memorizer 410 and processor 420.Memorizer 410 can include depositing at random Reservoir, flash memory, read only memory, programmable read only memory, nonvolatile memory or depositor etc..Processor 420 is permissible It is central processing unit (Central Processing Unit, CPU).Memorizer 410 is used for storing executable instruction.Processor 420 can perform the executable instruction of storage in memorizer 410, and such as, processor 420 can be used for determining the chi of current image block Very little and maximum predicted size;When the size of described current image block is more than described maximum predicted size, by down-sampling mode The first prediction data of described current image block is obtained from the adjacent data of described current image block;According to described present image The intra prediction mode of block and described first prediction data obtain the first prediction data block of described current image block;According to described First prediction data block of current image block is decoded.
Alternatively, as an embodiment, processor 420 can be used for obtaining from the adjacent data of described current image block R sample data is as the first prediction data, and wherein, R is more than or equal to 1 and less than size whole of described current image block Number.
Alternatively, as another embodiment, processor 420 can be used for from default step-length from the phase of described current image block Adjacent data obtain the first prediction data of described current image block, wherein, described default step-length be N, N be more than or equal to 2 Integer.
Other function of the equipment 400 of Fig. 5 and operation are referred to the process of the embodiment of the method for above figure 2, in order to keep away Exempting to repeat, here is omitted.
Fig. 6 is the schematic block diagram of the equipment of the coding for image according to another embodiment of the present invention.The equipment of Fig. 6 One example of 500 is encoder.Equipment 500 includes memorizer 510 and processor 420.Memorizer 410 can include depositing at random Reservoir, flash memory, read only memory, programmable read only memory, nonvolatile memory or depositor etc..Processor 520 is permissible It is central processing unit (Central Processing Unit, CPU).Memorizer 510 is used for storing executable instruction.Processor 520 can perform the executable instruction of storage in memorizer 510, and such as, processor 520 can be used for determining the chi of current image block Very little and maximum predicted size;When the size of described current image block is more than described maximum predicted size, by down-sampling mode The first prediction data of described current image block is obtained from the adjacent data of described current image block;According to described present image The intra prediction mode of block and described first prediction data obtain the first prediction data block of described current image block;According to described First prediction data block of current image block encodes.
Alternatively, as an embodiment, processor 520 can be used for obtaining from the adjacent data of described current image block R sample data is as the first prediction data, and wherein, R is more than or equal to 1 and less than size whole of described current image block Number.
Alternatively, as another embodiment, processor 520 can be used for adjacent from described current image block of default step-length Data obtain the first prediction data of described current image block, wherein, described default step-length be N, N be whole more than or equal to 2 Number.
Other function of the equipment 500 of Fig. 6 and operation are referred to the process of the embodiment of the method for above figure 1, in order to keep away Exempting to repeat, here is omitted.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each method embodiment can be led to The hardware crossing programmed instruction relevant completes.Aforesaid program can be stored in a computer read/write memory medium.This journey Sequence upon execution, performs to include the step of above-mentioned each method embodiment;And aforesaid storage medium includes: ROM, RAM, magnetic disc or The various media that can store program code such as person's CD.
Last it is noted that various embodiments above is only in order to illustrate technical scheme, it is not intended to limit;To the greatest extent The present invention has been described in detail by pipe with reference to foregoing embodiments, it will be understood by those within the art that: it depends on So the technical scheme described in foregoing embodiments can be modified, or the most some or all of technical characteristic is entered Row equivalent;And these amendments or replacement, do not make the essence of appropriate technical solution depart from various embodiments of the present invention technology The scope of scheme.

Claims (74)

1. the coding/decoding method of an image, it is characterised in that including:
Determine size and the maximum predicted size of current image block;
When the size of described current image block is more than described maximum predicted size, by down-sampling mode from described present image The adjacent data of block obtains the first prediction data of described current image block;
Intra prediction mode according to described current image block and described first prediction data obtain the of described current image block One prediction data block;
The first prediction data block according to described current image block is decoded.
Method the most according to claim 1, it is characterised in that described by down-sampling mode from described current image block Adjacent data obtains the first prediction data of described current image block, including:
From the adjacent data of described current image block, R sample data of acquisition is as the first prediction data, and wherein, R is for being more than The integer of the size equal to 1 and less than described current image block.
Method the most according to claim 2, it is characterised in that the described intra prediction mode according to described current image block With described first prediction data obtain described current image block the first prediction data block, including:
When intra prediction mode is plane mode, obtain the first prediction number of described current image block according to plane mode and R According to block.
Method the most according to claim 1, it is characterised in that described by down-sampling mode from described current image block Adjacent data obtains the first prediction data of described current image block, including:
From the adjacent data of described current image block, the first prediction data of described current image block is obtained with default step-length, its In, described default step-length be N, N be the integer more than or equal to 2.
Method the most according to claim 4, it is characterised in that the size of described first prediction data block equal to described currently The size of image block and the ratio of described default step-length.
Method the most according to claim 4, it is characterised in that the described intra prediction mode according to described current image block With described first prediction data obtain described current image block the first prediction data block, including:
The first prediction data block of described current image block is obtained according to plane mode and described first prediction data.
Method the most according to claim 5, it is characterised in that the described intra prediction mode according to described current image block With described first prediction data obtain described current image block the first prediction data block, including:
The first prediction data block of described current image block is obtained according to plane mode and described first prediction data.
Method the most according to claim 6, it is characterised in that described obtain with described first prediction data according to plane mode Obtain the first prediction data block of described current image block, including:
The ratio of the size according to described current image block and described default step-length obtains the first prediction of described current image block Data block.
Method the most according to claim 7, it is characterised in that described obtain with described first prediction data according to plane mode Obtain the first prediction data block of described current image block, including:
The ratio of the size according to described current image block and described default step-length obtains the first prediction of described current image block Data block.
10. according to the method described in any one of claim 1~9, it is characterised in that described according to the of described current image block One prediction data block is decoded, including:
Described first prediction data block is carried out up-sampling and obtains the second prediction data block;
Residual values according to described second prediction data block and described current image block obtains the first image reconstruction block, and described first The size of image reconstruction block is equal to the size of described current image block.
11. according to the method described in any one of claim 4~9, it is characterised in that described according to the of described current image block One prediction data block is decoded, including:
The first prediction data block according to described current image block obtains the second prediction data block, wherein, described second prediction number It is (N × x, N × y) according to coordinate figure in block first pre-equal to described to the sample value of sample point of (N × x+N-1, N × y+N-1) Surveying coordinate figure in block is that (wherein, N is the value of described default step-length for x, the sample value of sample point y);
Residual values according to described second prediction data block and described current image block obtains the first image reconstruction block, and described first The size of image reconstruction block is equal to the size of described current image block.
12. according to the method described in any one of claim 4~9, it is characterised in that described according to the of described current image block One prediction data block is decoded, including:
Obtaining the second prediction data block according to the first prediction data block, wherein, described first prediction data block is by M sample Becoming, described second prediction block is made up of M the 3rd prediction data block, the M in described second prediction data block the 3rd prediction number According to block according to the series arrangement identical with M sample point in described first prediction data block, each 3rd prediction data block is by N × N number of sample point forms, and the sample value of the N × N number of sample point in described 3rd prediction data block is in the first prediction data block The sample value of the sample point identical with described 3rd prediction data block arrangement sequence number;
Residual values according to described second prediction data block and described current image block obtains the first image reconstruction block, and described first The size of image reconstruction block is equal to the size of described current image block.
13. according to the method described in any one of claim 1~9, it is characterised in that described according to the of described current image block One prediction data block is decoded, including:
The first prediction data block and the residual values of described current image block according to described current image block obtain the second image weight Building block;
Described second image reconstruction block is carried out up-sampling and obtains the 3rd image reconstruction block, wherein, described 3rd image reconstruction block Size and described current image block equivalently-sized.
14. according to the method described in any one of claim 4~9, it is characterised in that described according to the of described current image block One prediction data block is decoded, including:
The first prediction data block and the residual values of described current image block according to described current image block obtain the second image weight Building block;
The 3rd image reconstruction block, wherein, coordinate figure in described 3rd image reconstruction block is obtained according to described second image reconstruction block Sample value for the sample point of (N × x, N × y) to (N × x+N-1, N × y+N-1) is equal to coordinate figure in the second image reconstruction block For (wherein, N is the value of described default step-length, the size of described 3rd image reconstruction block and institute for x, the sample value of sample point y) State the equivalently-sized of current image block.
15. according to the method described in any one of claim 4~9, it is characterised in that described according to the of described current image block One prediction data block is decoded, including:
The first prediction data block and the residual values of described current image block according to described current image block obtain the second image weight Building block;
Obtaining the 3rd image reconstruction block according to described second image reconstruction block, wherein, described second image reconstruction block is by M sample Point composition, described 3rd image reconstruction block is made up of M the 4th image reconstruction block, the M in described 3rd image reconstruction block the Four image reconstruction blocks are according to the series arrangement identical with M sample point in described second image reconstruction block, each 4th image Reconstructed blocks is made up of N × N number of sample point, and the sample value of the N × N number of sample point in described 4th image reconstruction block is the second image The sample value of sample point identical with described 4th image reconstruction block arrangement sequence number in reconstructed blocks, wherein said 3rd image reconstruction The size of block is equivalently-sized with described current image block.
16. according to the method described in any one of claim 4~9, it is characterised in that according to described default step-length described currently The ratio of the size of image block and described maximum predicted size determines.
17. according to the method described in any one of claim 4~9, it is characterised in that described default step-length is to obtain from code stream Default step-length.
18. according to the method described in any one of claim 4~9, it is characterised in that described default step-length is that decoding end is preset Step-length.
19. according to the method described in any one of claim 1~9, it is characterised in that described maximum predicted is a size of from code stream Obtain, or the numerical value preset for decoding end.
20. according to the method described in any one of claim 1~9, it is characterised in that the described size determining current image block and Before maximum predicted size, also include:
Determine that employing simplifies depth coding Mode S DC and is decoded.
The coded method of 21. 1 kinds of images, it is characterised in that including:
Determine size and the maximum predicted size of current image block;
When the size of described current image block is more than described maximum predicted size, by down-sampling mode from described present image The adjacent data of block obtains the first prediction data of described current image block;
Intra prediction mode according to described current image block and described first prediction data obtain the of described current image block One prediction data block;
The first prediction data block according to described current image block encodes.
22. methods according to claim 21, it is characterised in that described by down-sampling mode from described current image block Adjacent data in obtain the first prediction data of described current image block, including:
From the adjacent data of described current image block, R sample data of acquisition is as the first prediction data, and wherein, R is for being more than The integer of the size equal to 1 and less than described current image block.
23. methods according to claim 22, it is characterised in that the described infra-frame prediction mould according to described current image block Formula and described first prediction data obtain the first prediction data block of described current image block, including:
When intra prediction mode is plane mode, obtain the first prediction number of described current image block according to plane mode and R According to block.
24. methods according to claim 21, it is characterised in that described by down-sampling mode from described current image block Adjacent data in obtain the first prediction data of described current image block, including:
From the adjacent data of described current image block, the first prediction data of described current image block is obtained with default step-length, its In, described default step-length be N, N be the integer more than or equal to 2.
25. methods according to claim 24, it is characterised in that the size of described first prediction data block is worked as equal to described The size of front image block and the ratio of described default step-length.
26. methods according to claim 24, it is characterised in that the described infra-frame prediction mould according to described current image block Formula and described first prediction data obtain the first prediction data block of described current image block, including:
The first prediction data block of described current image block is obtained according to plane mode and described first prediction data.
27. methods according to claim 25, it is characterised in that the described infra-frame prediction mould according to described current image block Formula and described first prediction data obtain the first prediction data block of described current image block, including:
The first prediction data block of described current image block is obtained according to plane mode and described first prediction data.
28. methods according to claim 26, it is characterised in that described according to plane mode with described first prediction data Obtain the first prediction data block of described current image block, including:
The ratio of the size according to described current image block and described default step-length obtains the first prediction of described current image block Data block.
29. methods according to claim 27, it is characterised in that described according to plane mode with described first prediction data Obtain the first prediction data block of described current image block, including:
The ratio of the size according to described current image block and described default step-length obtains the first prediction of described current image block Data block.
30. according to the method described in any one of claim 21~29, it is characterised in that described according to described current image block First prediction data block encodes, including:
Described first prediction data block is carried out up-sampling and obtains the second prediction data block, the size of described second prediction data block Size equal to described current image block;
The residual values of described current image block is obtained according to described current image block and described second prediction data block;
Encode the residual values of described current image block.
31. according to the method described in any one of claim 24~29, it is characterised in that described according to described current image block First prediction data block encodes, including:
The first prediction data block according to described current image block obtains the second prediction data block, wherein, described second prediction number It is (N × x, N × y) according to coordinate figure in block first pre-equal to described to the sample value of sample point of (N × x+N-1, N × y+N-1) Surveying coordinate figure in block is that (wherein, N is the value of described default step-length for x, the sample value of sample point y);
The residual values of described current image block is obtained according to described current image block and described second prediction data block;
Encode the residual values of described current image block.
32. according to the method described in any one of claim 24~29, it is characterised in that described according to described current image block First prediction data block encodes, including:
Obtaining the second prediction data block according to the first prediction data block, wherein, described first prediction data block is by M sample Becoming, described second prediction block is made up of M the 3rd prediction data block, the M in described second prediction data block the 3rd prediction number According to block according to the series arrangement identical with M sample point in described first prediction data block, each 3rd prediction data block is by N × N number of sample point forms, and the sample value of the N × N number of sample point in described 3rd prediction data block is in the first prediction data block The sample value of the sample point identical with described 3rd prediction data block arrangement sequence number;
The residual values of described current image block is obtained according to described current image block and described second prediction data block;
Encode the residual values of described current image block.
33. according to the method described in any one of claim 24~29, it is characterised in that work as described according to described default step-length The ratio of the size of front image block and described maximum predicted size determines.
34. according to the method described in any one of claim 24~29, it is characterised in that described default step-length be coding side according to Preset rules determines;
Described method also includes: encode described default step-length.
35. according to the method described in any one of claim 24~29, it is characterised in that described default step-length is that coding side is preset Step-length.
36. according to the method described in any one of claim 21~29, it is characterised in that described method also includes: coding is described Maximum predicted size.
37. according to the method described in any one of claim 21~29, it is characterised in that the described size determining current image block Before maximum predicted size, also include:
Determine that employing simplifies depth coding Mode S DC and encodes.
The decoding apparatus of 38. 1 kinds of images, it is characterised in that including:
Determine module, for determining size and the maximum predicted size of current image block;
Acquisition module, for when the size of described current image block is more than described maximum predicted size, by down-sampling mode The first prediction data of described current image block is obtained from the adjacent data of described current image block;
Processing module, obtains described working as the intra prediction mode according to described current image block and described first prediction data First prediction data block of front image block;
Decoder module, for being decoded according to the first prediction data block of described current image block.
39. according to the device described in claim 38, it is characterised in that described acquisition module is specifically for from described present image In the adjacent data of block obtain R sample data as the first prediction data, wherein, R be more than or equal to 1 and be less than described currently The integer of the size of image block.
40. according to the device described in claim 39, it is characterised in that described acquisition module is specifically for working as intra prediction mode During for plane mode, obtain the first prediction data block of described current image block according to plane mode and R.
41. according to the device described in claim 38, it is characterised in that described acquisition module specifically for default step-length from institute Stating the first prediction data obtaining described current image block in the adjacent data of current image block, wherein, described default step-length is N, N are the integer more than or equal to 2.
42. devices according to claim 41, it is characterised in that the size of described first prediction data block is worked as equal to described The size of front image block and the ratio of described default step-length.
43. devices according to claim 41, it is characterised in that described processing module specifically for according to plane mode and Described first prediction data obtains the first prediction data block of described current image block.
44. devices according to claim 42, it is characterised in that described processing module specifically for according to plane mode and Described first prediction data obtains the first prediction data block of described current image block.
45. devices according to claim 43, it is characterised in that described processing module is specifically for according to described current figure As the size of block and the ratio of described default step-length obtain the first prediction data block of described current image block.
46. devices according to claim 44, it is characterised in that described processing module is specifically for according to described current figure As the size of block and the ratio of described default step-length obtain the first prediction data block of described current image block.
47. according to the device described in any one of claim 38~46, it is characterised in that described decoder module is specifically for institute State the first prediction data block to carry out up-sampling and obtain the second prediction data block;According to described second prediction data block and described currently The residual values of image block obtains the first image reconstruction block, and the size of described first image reconstruction block is equal to described current image block Size.
48. according to the device described in any one of claim 41~46, it is characterised in that described decoder module is specifically for basis First prediction data block of described current image block obtains the second prediction data block, wherein, sits in described second prediction data block Scale value is that the sample value of the sample point of (N × x, N × y) to (N × x+N-1, N × y+N-1) is sat equal in described first prediction block Scale value is that (wherein, N is the value of described default step-length for x, the sample value of sample point y);According to described second prediction data block and The residual values of described current image block obtains the first image reconstruction block, the size of described first image reconstruction block equal to described currently The size of image block.
49. according to the device described in any one of claim 41~46, it is characterised in that described decoder module is specifically for basis First prediction data block obtains the second prediction data block, and wherein, described first prediction data block is made up of M sample point, described Second prediction block is made up of M the 3rd prediction data block, the M in described second prediction data block the 3rd prediction data block according to The series arrangement identical with M sample point in described first prediction data block, each 3rd prediction data block is by N × N number of sample This point forms, and the sample value of the N × N number of sample point in described 3rd prediction data block is with described the in first prediction data block The sample value of the sample point that three prediction data block arrangement sequence numbers are identical;According to described second prediction data block and described present image The residual values of block obtains the first image reconstruction block, and the size of described first image reconstruction block is equal to the chi of described current image block Very little.
50. according to the device described in any one of claim 38~46, it is characterised in that described decoder module is specifically for basis First prediction data block of described current image block and the residual values of described current image block obtain the second image reconstruction block;To institute State the second image reconstruction block to carry out up-sampling and obtain the 3rd image reconstruction block, wherein, the size of described 3rd image reconstruction block with Described current image block equivalently-sized.
51. according to the device described in any one of claim 41~46, it is characterised in that described decoder module is specifically for basis First prediction data block of described current image block and the residual values of described current image block obtain the second image reconstruction block;According to Described second image reconstruction block obtains the 3rd image reconstruction block, and wherein, in described 3rd image reconstruction block, coordinate figure is (N × x, N × y) to (N × x+N-1, N × y+N-1) sample point sample value equal to coordinate figure in the second image reconstruction block be (x, y) The sample value of sample point, wherein, N is the value of described default step-length, the size of described 3rd image reconstruction block and described current figure Equivalently-sized as block.
52. according to the device described in any one of claim 41~46, it is characterised in that described decoder module is specifically for basis First prediction data block of described current image block and the residual values of described current image block obtain the second image reconstruction block;According to Described second image reconstruction block obtains the 3rd image reconstruction block, and wherein, described second image reconstruction block is made up of M sample point, Described 3rd image reconstruction block is made up of M the 4th image reconstruction block, the M in described 3rd image reconstruction block the 4th image weight Building block is according to the series arrangement identical with M sample point in described second image reconstruction block, and each 4th image reconstruction block is by N × N number of sample point forms, and the sample value of the N × N number of sample point in described 4th image reconstruction block is in the second image reconstruction block The sample value of the sample point identical with described 4th image reconstruction block arrangement sequence number, the size of wherein said 3rd image reconstruction block Equivalently-sized with described current image block.
53. according to the device described in any one of claim 41~46, it is characterised in that work as described according to described default step-length The ratio of the size of front image block and described maximum predicted size determines.
54. according to the device described in any one of claim 41~46, it is characterised in that described default step-length is for obtain from code stream The default step-length taken.
55. according to the device described in any one of claim 41~46, it is characterised in that described default step-length is that decoding end is preset Step-length.
56. according to the device described in any one of claim 38~46, it is characterised in that described maximum predicted is a size of from code stream Middle acquisition, or the numerical value preset for decoding end.
57. according to the device described in any one of claim 38~46, it is characterised in that described determine module, is additionally operable to determine Before the size of current image block and maximum predicted size, determine that employing simplifies depth coding Mode S DC and is decoded.
The code device of 58. 1 kinds of images, it is characterised in that including:
Determine module, for determining size and the maximum predicted size of current image block;
Acquisition module, for when the size of described current image block is more than described maximum predicted size, by down-sampling mode The first prediction data of described current image block is obtained from the adjacent data of described current image block;
Processing module, obtains described working as the intra prediction mode according to described current image block and described first prediction data First prediction data block of front image block;
Coding module, for encoding according to the first prediction data block of described current image block.
59. devices according to claim 58, it is characterised in that described acquisition module is specifically for from described present image In the adjacent data of block obtain R sample data as the first prediction data, wherein, R be more than or equal to 1 and be less than described currently The integer of the size of image block.
60. devices according to claim 59, it is characterised in that described acquisition module is specifically for working as intra prediction mode During for plane mode, obtain the first prediction data block of described current image block according to plane mode and R.
61. devices according to claim 58, it is characterised in that described acquisition module specifically for default step-length from institute Stating the first prediction data obtaining described current image block in the adjacent data of current image block, wherein, described default step-length is N, N are the integer more than or equal to 2.
62. devices according to claim 61, it is characterised in that the size of described first prediction data block is worked as equal to described The size of front image block and the ratio of described default step-length.
63. devices according to claim 61, it is characterised in that described processing module specifically for according to plane mode and Described first prediction data obtains the first prediction data block of described current image block.
64. devices according to claim 62, it is characterised in that described processing module specifically for according to plane mode and Described first prediction data obtains the first prediction data block of described current image block.
65. devices according to claim 63, it is characterised in that described processing module is specifically for according to described current figure As the size of block and the ratio of described default step-length obtain the first prediction data block of described current image block.
66. devices according to claim 64, it is characterised in that described processing module is specifically for according to described current figure As the size of block and the ratio of described default step-length obtain the first prediction data block of described current image block.
67. according to the device described in any one of claim 58~66, it is characterised in that described coding module is specifically for institute Stating the first prediction data block to carry out up-sampling and obtain the second prediction data block, the size of described second prediction data block is equal to described The size of current image block;The residual of described current image block is obtained according to described current image block and described second prediction data block Difference;Encode the residual values of described current image block.
68. according to the device described in any one of claim 61~66, it is characterised in that described coding module is specifically for basis First prediction data block of described current image block obtains the second prediction data block, wherein, sits in described second prediction data block Scale value is that the sample value of the sample point of (N × x, N × y) to (N × x+N-1, N × y+N-1) is sat equal in described first prediction block Scale value is that (wherein, N is the value of described default step-length for x, the sample value of sample point y);According to described current image block and described Second prediction data block obtains the residual values of described current image block;Encode the residual values of described current image block.
69. according to the device described in any one of claim 61~66, it is characterised in that described coding module is specifically for basis First prediction data block obtains the second prediction data block, and wherein, described first prediction data block is made up of M sample point, described Second prediction block is made up of M the 3rd prediction data block, the M in described second prediction data block the 3rd prediction data block according to The series arrangement identical with M sample point in described first prediction data block, each 3rd prediction data block is by N × N number of sample This point forms, and the sample value of the N × N number of sample point in described 3rd prediction data block is with described the in first prediction data block The sample value of the sample point that three prediction data block arrangement sequence numbers are identical;According to described current image block and described second prediction data Block obtains the residual values of described current image block;
Encode the residual values of described current image block.
70. according to the device described in any one of claim 61~66, it is characterised in that work as described according to described default step-length The ratio of the size of front image block and described maximum predicted size determines.
71. according to the device described in any one of claim 61~66, it is characterised in that described default step-length be coding side according to Preset rules determines;
Described coding module is additionally operable to encode described default step-length.
72. according to the device described in any one of claim 61~66, it is characterised in that described default step-length is that coding side is preset Step-length.
73. according to the device described in any one of claim 58~66, it is characterised in that described coding module is additionally operable to encode institute State maximum predicted size.
74. according to the device described in any one of claim 58~66, it is characterised in that described determine module, is additionally operable to determine Before the size of current image block and maximum predicted size, determine that employing simplifies depth coding Mode S DC and encodes.
CN201310495231.XA 2013-10-18 2013-10-18 Encoding and decoding method and device for image Active CN103533331B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310495231.XA CN103533331B (en) 2013-10-18 2013-10-18 Encoding and decoding method and device for image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310495231.XA CN103533331B (en) 2013-10-18 2013-10-18 Encoding and decoding method and device for image

Publications (2)

Publication Number Publication Date
CN103533331A CN103533331A (en) 2014-01-22
CN103533331B true CN103533331B (en) 2017-01-11

Family

ID=49934949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310495231.XA Active CN103533331B (en) 2013-10-18 2013-10-18 Encoding and decoding method and device for image

Country Status (1)

Country Link
CN (1) CN103533331B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306940B (en) * 2015-10-27 2019-10-18 中星技术股份有限公司 A kind of boundary compensation mode treatment method in coding and decoding video sample value migration
CN107909026B (en) * 2016-11-30 2021-08-13 深圳奥瞳科技有限责任公司 Small-scale convolutional neural network based age and/or gender assessment method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101394565A (en) * 2008-10-20 2009-03-25 成都九洲电子信息系统有限责任公司 Intra-frame prediction method
CN101710990A (en) * 2009-11-10 2010-05-19 华为技术有限公司 Video image encoding and decoding method, device and encoding and decoding system
CN103067716A (en) * 2013-01-10 2013-04-24 华为技术有限公司 Encoding and decoding methods and encoding and decoding device of range image
CN103237216A (en) * 2013-04-12 2013-08-07 华为技术有限公司 Encoding and decoding method and encoding and decoding device for depth image

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130046534A (en) * 2011-10-28 2013-05-08 삼성전자주식회사 Method and apparatus for encoding image and method and apparatus for decoding image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101394565A (en) * 2008-10-20 2009-03-25 成都九洲电子信息系统有限责任公司 Intra-frame prediction method
CN101710990A (en) * 2009-11-10 2010-05-19 华为技术有限公司 Video image encoding and decoding method, device and encoding and decoding system
CN103067716A (en) * 2013-01-10 2013-04-24 华为技术有限公司 Encoding and decoding methods and encoding and decoding device of range image
CN103237216A (en) * 2013-04-12 2013-08-07 华为技术有限公司 Encoding and decoding method and encoding and decoding device for depth image

Also Published As

Publication number Publication date
CN103533331A (en) 2014-01-22

Similar Documents

Publication Publication Date Title
EP2795581B1 (en) Method and apparatus for compressing and decompressing data
CN106664414A (en) Method and apparatus of candidate generation for single sample mode in video coding
JP2018523372A5 (en)
JP2005514872A5 (en)
CN106162178A (en) Perform the equipment that video is decoded of block elimination filtering
CN103067716A (en) Encoding and decoding methods and encoding and decoding device of range image
CN105721876A (en) Method For Image Coding And Decoding
CN107517385A (en) The decoding method and device of a kind of video image
CN109891886A (en) The method for video coding and device divided using any type of piece
CN103200406B (en) The decoding method of depth image and coding and decoding device
CN103237214A (en) Method and device for coding and decoding depth images
KR20100112848A (en) Methods for compressing and decompressing three-dimensional mesh
CN103533331B (en) Encoding and decoding method and device for image
CN103716629B (en) Image processing method, device, coder and decoder
US8942474B2 (en) Method and system for interpolating index values of associated tiles in an image
CN103974069B (en) Reusable method for video coding and encoder
CN106358041A (en) Inter-frame predictive encoding method and device
CN105915925A (en) Coding unit construction method based on HEVC and coding unit construction device thereof
CN102469310B (en) Sub-pixel interpolation method and system
CN103248885B (en) Intra-frame image prediction decoding method and Video Codec
CN101977320B (en) Video coding method in accordance with multi-view video standard
CN109450460A (en) A kind of parameter identification method of RS code and the concatenated code of convolutional code
US10748307B2 (en) Coding of images using generalized tree structure supporting multiple pattern types
CN104904199A (en) Method and apparatus for efficient coding of depth lookup table
CN106663328A (en) Extension of the mpeg/sc3dmc standard to polygon meshes

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant