CN102724493A - Coding and decoding methods of intra-frame prediction modes based on image blocks and codec - Google Patents

Coding and decoding methods of intra-frame prediction modes based on image blocks and codec Download PDF

Info

Publication number
CN102724493A
CN102724493A CN2011100206689A CN201110020668A CN102724493A CN 102724493 A CN102724493 A CN 102724493A CN 2011100206689 A CN2011100206689 A CN 2011100206689A CN 201110020668 A CN201110020668 A CN 201110020668A CN 102724493 A CN102724493 A CN 102724493A
Authority
CN
China
Prior art keywords
sub
piece
predictive mode
block
probable
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.)
Granted
Application number
CN2011100206689A
Other languages
Chinese (zh)
Other versions
CN102724493B (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.)
Tsinghua University
Huawei Technologies Co Ltd
Original Assignee
Tsinghua University
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 Tsinghua University, Huawei Technologies Co Ltd filed Critical Tsinghua University
Priority to CN201110020668.9A priority Critical patent/CN102724493B/en
Priority to PCT/CN2011/085195 priority patent/WO2012097675A1/en
Publication of CN102724493A publication Critical patent/CN102724493A/en
Application granted granted Critical
Publication of CN102724493B publication Critical patent/CN102724493B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/11Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/13Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/593Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

An embodiment of the invention discloses coding and decoding methods of intra-frame prediction modes based on image blocks and a codec. One of the coding and decoding methods comprises: acquiring a prediction mode of a first subblock of a current image block and a prediction mode of a second subblock of the current image block, the first subblock and the second subblock being adjacent to each other and arranged in a horizontal or vertical direction; taking the prediction mode of the first subblock as a most probable prediction mode of the second subblock; and determining an identification for indicating the prediction mode of the second subblock based on the prediction mode of the second subblock and the most probable prediction mode of the second subblock, and writing the identification into a code stream. By adopting the technical scheme, the most probable prediction modes of the image blocks can be predicted effectively and the overhead of the code stream can be saved.

Description

Decoding method and codec based on the intra prediction mode of image block
Technical field
The present invention relates to technical field of image processing, relate in particular to a kind of decoding method and codec of the intra prediction mode based on image block.
Background technology
In the video coding processed compressed, the basic principle of a kind of intraframe coding (Intra coding) is to utilize spatial correlation, such as using infra-frame prediction (Intra prediction), removes the spatial domain redundancy.Intraframe coding need not reference frame, does not relate to reference frame is carried out interpolation.When encoding in the conducting frame, can carry out the prediction under this dividing mode, thereby obtain the corresponding residual block of dividing size, and residual block is carried out conversion, quantification and entropy coding according to certain dividing mode.In decoding, at first obtain the dividing mode of present encoding object and corresponding division size, the coefficient in the decoded bit stream then, carry out the corresponding blocks dividing mode under prediction and reconstruct, generate decoded picture.When carrying out above-mentioned prediction to image block; Need at first obtain the prediction direction (also can be described as predictive mode) of current block; From the pixel of adjacent block, obtain reference pixel according to the prediction direction that is obtained then, as the predicted pixel values of current block under this prediction direction.
Fig. 1 is the sketch map that a kind of 16x16 image block neutron piece is divided.In current 16x16 piece, comprise 16 4x4 pieces altogether, each piece in said 16 4x4 pieces all is a sub-block of current 16x16 piece.Be appreciated that piece and sub-piece are relative notions, a sub-block is as an independent piece, and its inside also can comprise other sub-piece; The zoned format of sub-piece also can be flexibly in piece, and for example sub-piece can be horizontal rectangle or vertical rectangle, and is not limited only to square.
Fig. 2 is a kind of sketch map of intra prediction direction of image block, and one of them 8x8 piece identifies with thick line, the sketch map of the prediction direction that a sub-block is possible in this 8x8 piece of arrow points among the figure.Usually; When current sub-block is carried out infra-frame prediction; Can from a plurality of possible prediction direction, confirm the predictive mode of the prediction direction of an optimum as current sub-block; According to said predictive mode current sub-block is carried out predictive coding, and in code stream, write said predictive mode, and coded residual etc.
In order to reduce predictive mode shared bit in code stream, prior art has been introduced a kind of most probable predictive mode (MPM, most probable mode also is the most probable prediction direction).In code stream, the do not write direct actual prediction pattern of sub-piece; But obtain the most probable predictive mode of current sub-block earlier; Again the actual prediction pattern of said sub-piece and the most probable predictive mode of said sub-piece are done comparison, and obtain the identification information that needs write code stream according to the magnitude relationship that relatively draws; If the actual prediction pattern of said sub-piece is identical with the most probable predictive mode of said sub-piece, then can save the said bit that takies in the code stream that is identified at.Therefore, how to confirm the most probable predictive mode of image block, make it, just become a problem as far as possible near the actual prediction pattern of this image block.
In traditional coding structure based on square; When the most probable predictive mode of prediction current block; With the actual prediction pattern of that minimum adjacent block of predictive mode value in the last adjacent block of current block and the left adjacent block most probable predictive mode as current block; So just can utilize current block adjacent block left to reach the correlation that goes up adjacent block, improve the accuracy of the most probable predictive mode of the current square of prediction with it.Yet for the piece that adopts irregular division; The sub-piece of a piece possibly not be a square; But rectangular block etc.; Therefore the left adjacent block of current block and go up adjacent block and have different divisions, if still with the actual prediction pattern of that minimum adjacent block of the predictive mode value most probable predictive mode as current block, the most probable predictive mode that obtains may not be accurately.Therefore how can effectively predict the most probable predictive mode of a piece, and make this Forecasting Methodology not be only applicable to the division that the square division also can be applicable to irregular block, just become a problem.
Summary of the invention
The embodiment of the invention provides a kind of decoding method and codec of the intra prediction mode based on image block, with the most probable predictive mode of effective predicted picture piece.
According to one embodiment of the invention, a kind of coding method of the intra prediction mode based on image block is provided, comprising:
Obtain the predictive mode of the second sub-piece in predictive mode and the said current image block of the first sub-piece in the current image block, the said first sub-piece and along continuous straight runs adjacent with the said second sub-piece or vertical direction are arranged;
With the predictive mode of the said first sub-piece most probable predictive mode as the second sub-piece;
Based on the predictive mode of the second sub-piece and the most probable predictive mode of the second sub-piece, confirm to be used to indicate the sign of the predictive mode of the second sub-piece, and said sign is write in the code stream.
According to another embodiment of the present invention, a kind of coding/decoding method of the intra prediction mode based on image block is provided, comprises:
From code stream, obtain the sign of the predictive mode that is used for indicating the current image block second sub-piece;
With the predictive mode of the first sub-piece in the said current image block most probable predictive mode as the second sub-piece, the said first sub-piece and along continuous straight runs adjacent with the said second sub-piece or vertical direction are arranged;
Based on the most probable predictive mode of said sign and the said second sub-piece, confirm the predictive mode of the second sub-piece.
According to another embodiment of the present invention, a kind of encoder is provided, comprises:
Acquiring unit is used for obtaining the predictive mode of the second sub-piece in predictive mode and the said current image block of the current image block first sub-piece, and the said first sub-piece and along continuous straight runs adjacent with the said second sub-piece or vertical direction are arranged;
Confirm the unit, be used for the predictive mode of the said first sub-piece most probable predictive mode as the second sub-piece;
The code stream writing unit is used for based on the predictive mode of the second sub-piece and the most probable predictive mode of the second sub-piece, confirms to be used to indicate the sign of the predictive mode of the second sub-piece, and said sign is write in the code stream.
According to another embodiment of the present invention, a kind of decoder is provided, comprises:
The code stream sensing element is used for obtaining from code stream the sign of the predictive mode that is used for indicating the current image block second sub-piece;
Confirm the unit, be used for that the said first sub-piece and along continuous straight runs adjacent with the said second sub-piece or vertical direction are arranged with the predictive mode of the current image block first sub-piece most probable predictive mode as the second sub-piece;
Decoding unit is used for the most probable predictive mode based on said sign and the said second sub-piece, confirms the predictive mode of the second sub-piece.
Through adopting technique scheme; The embodiment of the invention can be utilized the most probable prediction direction of predicting a piece that obtains along the correlation between the different adjacent blocks of certain orientation arrangement preferably; Make the most probable prediction direction of this piece near its actual prediction direction; Help saving the shared bit number of sign of the actual prediction direction that is used for indicator collet, thereby save the code stream expense.
According to another embodiment of the present invention, a kind of coding method of the intra prediction mode based on image block is provided, comprises:
Obtain the predictive mode of the first sub-piece in the current image block, the said first sub-piece comprises many sub-block that along continuous straight runs or vertical direction are arranged;
Confirm the second sub-piece, with the predictive mode of the second sub-piece most probable predictive mode as the said first sub-piece, the said second sub-piece is adjacent with the first sub-piece and comprise many sub-block that along continuous straight runs or vertical direction are arranged;
Based on the predictive mode of the first sub-piece and the most probable predictive mode of the first sub-piece, confirm to be used to indicate the sign of the predictive mode of the first sub-piece, and said sign is write in the code stream.
According to another embodiment of the present invention, a kind of coding/decoding method of the intra prediction mode based on image block is provided, comprises:
From code stream, obtain the sign of the predictive mode that is used for indicating the current image block first sub-piece, the said first sub-piece comprises many sub-block that along continuous straight runs or vertical direction are arranged;
Confirm the second sub-piece, with the predictive mode of the second sub-piece most probable predictive mode as the said first sub-piece, the said second sub-piece is adjacent with the first sub-piece and comprise many sub-block that along continuous straight runs or vertical direction are arranged;
Based on the most probable predictive mode of said sign and the said first sub-piece, confirm the predictive mode of the first sub-piece.
According to another embodiment of the present invention, a kind of encoder is provided, comprises:
Acquiring unit is used for obtaining the predictive mode of the current image block first sub-piece, and the said first sub-piece comprises many sub-block that along continuous straight runs or vertical direction are arranged;
Determining unit is used for confirming the second sub-piece, and with the predictive mode of the second sub-piece most probable predictive mode as the said first sub-piece, the said second sub-piece is adjacent with the first sub-piece and comprise many sub-block of along continuous straight runs or vertical direction arrangement;
The code stream writing unit is used for based on the predictive mode of the first sub-piece and the most probable predictive mode of the first sub-piece, confirms to be used to indicate the sign of the predictive mode of the first sub-piece, and said sign is write in the code stream.
According to another embodiment of the present invention, a kind of decoder is provided, comprises:
The code stream sensing element is used for obtaining from code stream the sign of the predictive mode that is used for indicating the current image block first sub-piece, and the said first sub-piece comprises many sub-block that along continuous straight runs or vertical direction are arranged;
Determining unit is used for confirming the second sub-piece, and with the predictive mode of the second sub-piece most probable predictive mode as the said first sub-piece, the said second sub-piece is adjacent with the first sub-piece and comprise many sub-block of along continuous straight runs or vertical direction arrangement;
Decoding unit is used for the most probable predictive mode based on said sign and the said first sub-piece, confirms the predictive mode of the first sub-piece.
The embodiment of the invention is used for confirming the most probable predictive mode of the adjacent and sub-piece that similar sub-piece dividing mode is arranged of 2 of image blocks; Make the actual prediction pattern of a sub-block as the most probable predictive mode of all sub-pieces in another sub-block; Can effectively predict said most probable predictive mode; Help saving the shared bit number of sign of the actual prediction direction that is used for indicator collet, thereby save the code stream expense.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention; To do to introduce simply to the accompanying drawing that embodiment need use below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the sketch map that a kind of 16x16 image block neutron piece is divided;
Fig. 2 is a kind of sketch map of intra prediction direction of image block;
Fig. 3 a is the sketch map of the coding method of a kind of intra prediction mode based on image block of providing of the embodiment of the invention;
Fig. 3 b is the sketch map of the coding/decoding method of a kind of intra prediction mode based on image block of providing of the embodiment of the invention;
Fig. 3 c is the schematic flow sheet that the embodiment of the invention provides a kind of method of encoding and decoding image block prediction direction;
The sketch map of a kind of image block partition structure that Fig. 4 provides for the embodiment of the invention;
The sketch map of the another kind of image block partition structure that Fig. 5 provides for the embodiment of the invention;
The another kind that Fig. 6 provides for the embodiment of the invention is based on the sketch map of the coding method of the intra prediction mode of image block;
The sketch map that sub-piece is divided in a kind of 8x8 square that Fig. 7 provides for the embodiment of the invention;
The another kind that Fig. 8 provides for the embodiment of the invention is based on the sketch map of the coding/decoding method of the intra prediction mode of image block;
The structural representation of a kind of encoder that Fig. 9 provides for the embodiment of the invention;
The structural representation of a kind of decoder that Figure 10 provides for the embodiment of the invention;
The structural representation of the another kind of encoder that Figure 11 provides for the embodiment of the invention;
The structural representation of the another kind of decoder that Figure 12 provides for the embodiment of the invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Fig. 3 a is the sketch map of the coding method of a kind of intra prediction mode based on image block of providing of embodiments of the invention, and this method comprises:
S31a: obtain the predictive mode of the second sub-piece in predictive mode and the said current image block of the first sub-piece in the current image block, the said first sub-piece and along continuous straight runs adjacent with the said second sub-piece or vertical direction are arranged.
S32a: with the predictive mode of the said first sub-piece most probable predictive mode as the second sub-piece.
S33a: based on the predictive mode of the second sub-piece and the most probable predictive mode of the second sub-piece, confirm to be used to indicate the sign of the predictive mode of the second sub-piece, and said sign is write in the code stream.
In present embodiment and subsequent implementation example, predictive mode is also referred to as prediction direction, and the two expresses the different but implications of TYP.The method that the foregoing description provides is the most probable prediction direction of predicted picture piece effectively, thereby confirms to write the value of the identifier of code stream.This method is not only applicable to the direction prediction that square is divided, and is applicable to the direction prediction of non-square such as horizontal rectangle or vertical rectangular block yet.With in left adjacent block and last adjacent block, select a piece as a reference piece predict that the most probable prediction direction of current block is different; Present embodiment only adopts an adjacent block of current block to predict the most probable prediction direction of current block; The adjacent block and the current block that are used to predict the most probable prediction direction of current block are arranged along level or vertical direction; Can utilize preferably along the correlation between the different adjacent blocks of certain orientation arrangement, make the most probable prediction direction of predicting the current block that obtains near its actual prediction direction, and can be applicable to the irregular scene of image block neutron piece dividing mode; Help saving the bit number of the sign of the actual prediction direction that is used to indicate current block; When the method for utilizing present embodiment to provide when coding side is carried out the transmission of coded message, can save the code stream expense as far as possible, improve the binary encoding performance.
Fig. 3 b is the sketch map of the coding/decoding method of a kind of intra prediction mode based on image block of providing of embodiments of the invention, and this method comprises:
S31b: the sign of from code stream, obtaining the predictive mode that is used for indicating the current image block second sub-piece;
S32b: with the predictive mode of the first sub-piece in the said current image block most probable predictive mode as the second sub-piece, the said first sub-piece and along continuous straight runs adjacent with the said second sub-piece or vertical direction are arranged;
S33b:, confirm the predictive mode of the second sub-piece based on the most probable predictive mode of said sign and the said second sub-piece.
The method that present embodiment provides is applicable to decoding end, and the effective most probable prediction direction of predicted picture piece obtaining the actual prediction direction of image block in view of the above, and is carried out prediction decoding according to said prediction direction to image block, obtains decoded picture accurately.
For ease of understanding, the present invention also provides a kind of embodiment of method of encoding and decoding image block prediction direction, and shown in Fig. 3 c, this method comprises:
S31c: current image block is divided, obtain a plurality of subimage blocks, and the dividing mode information of current image block is write in the code stream.Wherein, said a plurality of subimage blocks are arranged in order along level or vertical direction, and comprise first subimage block that is in said present image block boundary at least in said a plurality of subimage block, and second subimage block adjacent with said first subimage block.
The sketch map of a kind of concrete image block partition structure that the embodiment of the invention provides is as shown in Figure 4, for the 32x32 piece, can mark off 4 16x16 pieces; Each 16x16 piece can mark off 4 8x8 pieces; Can certainly not be divided into square, be divided into 4 4x16 pieces like the 16x16 piece of scheming lower left corner square, same 8x8 piece can further be divided into 4x4 piece or 2x8 piece etc.; Those skilled in the art can carry out various flexible divisions to image block according to actual needs; Obtain various with different size and shape, these pieces can be the rectangles of square or other shape, and a 4x16 piece among Fig. 4 is vertically disposed rectangle; But in practical application, also can mark off the rectangle that along continuous straight runs is arranged, can be divided into 4 vertical 16x4 pieces like a 16x16 piece.Rectangular block can comprise various ways, is appreciated that linear such as 1x16 or 16x1 also is a kind of of rectangular block.
S32c: from predefined a plurality of prediction direction; Adjacent image piece according to said current image block is predicted said first subimage block and second subimage block, obtains the prediction direction of said first subimage block and the prediction direction of second subimage block respectively.The concrete grammar of predicting the prediction direction that obtains an image block can be referring to prior art, and present embodiment is not done specific descriptions to this.
S33c:, confirm the most probable prediction direction of said first subimage block according to the prediction direction of the adjacent image piece of said current image block.
This process can adopt the way of prior art, promptly on current image block, selects the minimum piece of predictive mode value in adjacent block and the left adjacent block, with the prediction direction of the piece of this selection most probable prediction direction as first subimage block described in the current image block.In practical application, each predictive mode can corresponding value, and promptly each pattern can corresponding numbering, is used to reflect the size of this mode value, when the selection of carrying out said, can select the minimum piece of predictive mode value according to said numbering.Here, when an image block had 2 adjacent blocks, can select the minimum piece of predictive mode value was the most probable prediction direction that benchmark is predicted current block or current block neutron piece.Certainly, if having only a piece available in the left adjacent block of current block and the last adjacent block, the prediction direction of then using this available adjacent block is as said most probable prediction direction.If said left adjacent block and last adjacent block are all unavailable, then use predefined default value as said most probable predictive mode.
S34c: the most probable prediction direction of the prediction direction of said first subimage block being confirmed as said second subimage block.
S35c: according to the prediction direction of said first subimage block and the most probable prediction direction of said first subimage block, definite value that need write the prediction direction of said first subimage block of sign in the code stream; And, according to the prediction direction of said second subimage block and the most probable prediction direction of said second subimage block, definite value that need write the prediction direction of said second subimage block of sign in the code stream.
Do in the face of the process that how in code stream, to write the sign of an image block down and briefly introduce.The predictive mode of supposing current sub-block is iIntraDirLuma, and the most probable predictive mode of current sub-block is iMostProbable.Then, if iIntraDirLuma equals iMostProbable, then in code stream, write the identifier of a bit, for example available identifiers " 1 " is represented, the predictive mode of indication current sub-block is the most probable predictive mode.If iIntraDirLuma is not equal to iMostProbable, the value with above-mentioned identifier is designated " 0 " earlier, and promptly the predictive mode of current sub-block is not equal to the most probable predictive mode, and does further judgement.If the most probable prediction direction that the actual prediction direction of current sub-block obtains less than prediction; Then in code stream, write the actual prediction direction value iIntraDirLuma of current sub-block; If the most probable prediction direction that the actual prediction direction of current sub-block obtains greater than prediction then writes iIntraDirLuma-1 in code stream.
Method in the present embodiment can be used for 4x16 piece or the 16x4 piece of 16x16 square in dividing, and perhaps is applied to 2x8 piece or the 8x2 piece of 8x8 square in dividing etc.Certainly, divide for 8x32 in the 32x32 square or 32x8, and the division of the 1x16 among the 4x16, perhaps the 16x1 among the 16x4 divides the method in the present embodiment of also can using.
S36c: decoding end resolve to obtain the identification information of prediction direction of identification information and said second subimage block of the prediction direction of the dividing mode information of said present image, said first subimage block from code stream after receiving code stream.
S37c: according to said dividing mode information, said current image block is divided, obtain said a plurality of subimage block.
S38c:, confirm the most probable prediction direction of said first subimage block according to the prediction direction of the adjacent image piece of said current image block.The implementation of this step can be referring to S33.
S39c:, obtain the prediction direction of said first subimage block from the said identification information of the prediction direction of said first subimage block and the most probable prediction direction of said first subimage block.
S310c: with the prediction direction of said first subimage block most probable prediction direction as said second subimage block.
S311c:, obtain the prediction direction of said second subimage block from the said identification information of the prediction direction of said second subimage block and the said most probable prediction direction of said second subimage block.
Confirm that according to identifier the process of the prediction direction of image block is the inverse process of S35c among S39c and the S311c.Particularly, obtain the most probable prediction direction of current sub-block earlier, whether the prediction direction of resolving sign current sub-block in the code stream is the identifier of most probable prediction direction.Such as, if said identifier is designated as " 1 ", then the prediction direction of current sub-block is the most probable prediction direction of current sub-block.If said identifier is designated as " 0 "; Further resolve code stream; Obtain the value of the prediction direction identifier of current sub-block; The relation of the value of the most probable prediction direction of the value of more said prediction direction identifier and said current sub-block, if the value of said identifier more than or equal to the value of said most probable prediction direction, then the prediction direction of the reality of said current sub-block is that the value of said identifier adds 1; If the value of said identifier is less than the value of said most probable prediction direction, the value of the prediction direction of the reality of said current sub-block just is the corresponding value of said identifier.
Be appreciated that the sequencing between some steps of the embodiment of the invention can make accommodation, for example, the execution of step S33c can be after step S34c.Through adopting the method for the embodiment of the invention; Can effectively predict the most probable prediction direction of a piece; Thereby confirm to write the sign of prediction direction that is used to indicate this image block of code stream, when the actual prediction direction of image block equals its most probable prediction direction, only need in code stream, write the sign of a bit; Therefore the most probable prediction direction of working as a piece will more help saving code stream more near the actual prediction direction of this piece.When a current image block and its neighbours' piece along continuous straight runs or vertical direction arrangement; Can only utilize the most probable predictive mode of the actual prediction pattern of neighbours' piece as current image block; And needn't compare the predictive mode value of 2 neighbours' pieces of current image block, thereby realize simple and effective prediction.Particularly when image block neutron piece exists multiple shape to divide; The left adjacent block and the last adjacent block of one sub-block exist than big-difference on dividing mode, utilize the different sub piece in the approaching or identical piece of dividing mode to predict that the most probable predictive mode can reach than the better effect of prior art.The sketch map of the another kind of image block partition structure that Fig. 5 provides for the embodiment of the invention.Suppose that current image block 50 is a 8x8 piece, it comprises 4 8x2 that the edge is transversely arranged pieces, is respectively sub-piece 51, sub-piece 52, sub-piece 53 and sub-piece 54.Sub-piece 51 is positioned at current image block 50 borders; Its most probable predictive mode is obtained through prior art, promptly from the left adjacent block of current image block 50 and last adjacent block (not shown to said left adjacent block and last adjacent block), selects the predictive mode of the minimum piece of predictive mode value to be used as the most probable predictive mode of sub-piece 51; The most probable predictive mode of sub-piece 52 then is the predictive mode of sub-piece 51; The most probable predictive mode of sub-piece 53 then is the predictive mode of sub-piece 52; The most probable predictive mode of sub-piece 54 then is the predictive mode of sub-piece 53.Owing to certain correlation is arranged between said 4 sub-block, therefore the predictive mode of sub-piece adjacent one another are might have identical predictive mode to a certain extent, therefore just with the predictive mode of the adjacent sub-blocks most probable predictive mode as current sub-block.
The another kind that Fig. 6 provides for the embodiment of the invention is based on the sketch map of the coding method of the intra prediction mode of image block, and said method comprises:
S61: obtain the predictive mode of the first sub-piece in the current image block, the said first sub-piece comprises many sub-block that along continuous straight runs or vertical direction are arranged;
S62: confirm the second sub-piece, with the predictive mode of the second sub-piece most probable predictive mode as the said first sub-piece, the said second sub-piece is adjacent with the first sub-piece and comprise many sub-block that along continuous straight runs or vertical direction are arranged;
S63: based on the predictive mode of the first sub-piece and the most probable predictive mode of the first sub-piece, confirm to be used to indicate the sign of the predictive mode of the first sub-piece, and said sign is write in the code stream.
In embodiments of the present invention; Current image block comprises many sub-block; If every sub-block all comprises many sub-block that along continuous straight runs or vertical direction are arranged; Then can utilize the most probable predictive mode of the predictive mode of one of them sub-piece as its adjacent sub-blocks, the most probable predictive mode of this adjacent sub-blocks is applicable to all sub-pieces in this adjacent sub-blocks, and needn't solve a most probable predictive mode separately to every sub-block in this adjacent sub-blocks.The order that is appreciated that S61 and S12 is not fixed, and can adjust flexibly.
Under normal conditions; If similar sub-piece dividing mode is arranged between 2 adjacent blocks; Then can be with the prediction direction of one of them piece most probable prediction direction as another piece; And with the most probable prediction direction of this most probable prediction direction as all sub-pieces in said another piece, the most probable prediction direction that can make all sub-pieces in said another piece is near real prediction direction, thereby the sign figure place of the indication prediction direction of transmitting in the minimizing code stream.The dividing mode of 2 pieces is similar, can be that dividing mode is identical, also can be that the size and the shape of the interior sub-piece of sub-piece and another piece in the piece is identical, but sub-piece orientation is different.Usually, as long as 2 pieces all comprise many sub-block that along continuous straight runs or vertical direction are arranged, can think that then these 2 piece arrangement modes are similar.These 2 adjacent blocks can be square, and the sub-piece in each square can be the rectangular block of non-box-shaped, and can arrange along level or vertical direction, shown in accompanying drawing 7.
In the present embodiment, the second sub-piece and the first sub-piece can all be positioned at current image block, also do not get rid of the second sub-piece certainly and are positioned at the outer situation of current image block.The second sub-piece can be the last adjacent block or the left adjacent block of the first sub-piece, and perhaps the second sub-piece can be the minimum piece of predictive mode value in last adjacent block and the left adjacent block of the first sub-piece.That is to say, can be only with one of the first sub-piece with the similar adjacent block of the first sub-piece dividing mode as the reference of confirming the first sub-piece most probable predictive mode.Certainly; If the left adjacent block of the first sub-piece and last adjacent block all have and the similar dividing mode of the first sub-piece; Promptly all comprise many sub-block that along continuous straight runs or vertical direction are arranged, then can select the wherein minimum piece conduct of predictive mode value to confirm the reference of the first sub-piece most probable predictive mode.
For ease of understanding, the Forecasting Methodology that for example present embodiment is provided below describes, and accompanying drawing only is for the ease of understanding, being not used in qualification the present invention with explanation.The sketch map that sub-piece is divided in a kind of 8x8 square that Fig. 7 provides for the embodiment of the invention, this 8x8 piece is divided into 4 4x4 pieces, identifies with label 1,2,3 and 4 respectively.Can further mark off a plurality of 1x4 pieces or 4x1 piece in each 4x4 piece, its neutron piece 1 is identical with the arrangement of sub-piece in the sub-piece 4, and sub-piece 2 is identical with the arrangement of sub-piece in the sub-piece 3.Wherein each 4x4 piece needs a prediction direction, and each 1x4 piece in the 4x4 piece or 4x1 piece be the coded prediction direction separately, and promptly prediction direction is that unit encodes with 4x4 piece.And before the prediction direction of coding 4x4 piece, need to obtain the most probable prediction direction of each 4x4 piece.
For first sub-block 1, the prediction direction value is minimum prediction direction in the left adjacent block of the current image block at desirable its place and the last adjacent block, as the most probable prediction direction of first sub-block 1;
For second sub-block 2, its most probable prediction direction is the prediction direction of first sub-block 1; Optional, if the last adjacent block (not shown) of second sub-block 2 also is made up of 1x4 or 4x1 piece, then gets its left adjacent block and go up in the adjacent block prediction direction value for minimum prediction direction, as the most probable prediction direction of second sub-block 2;
For the 3rd sub-block 3, its most probable prediction direction is the prediction direction of first sub-block 1; Optional, if the left adjacent block (not shown) of the 3rd sub-block 3 also is made up of 1x4 or 4x1 piece, then gets its left adjacent block and go up in the adjacent block prediction direction value for minimum prediction direction, as the most probable prediction direction of the 3rd sub-block 3;
For the 4th sub-block 4, the prediction direction value is minimum prediction direction in desirable its left adjacent block 3 and the last adjacent block 2, as the most probable prediction direction of the 4th sub-block 4.
Corresponding with Fig. 6 embodiment, the another kind that Fig. 8 provides for the embodiment of the invention is based on the sketch map of the coding/decoding method of the intra prediction mode of image block, and said method comprises:
S81: from code stream, obtain the sign of the predictive mode that is used for indicating the current image block first sub-piece, the said first sub-piece comprises many sub-block that along continuous straight runs or vertical direction are arranged;
S82: confirm the second sub-piece, with the predictive mode of the second sub-piece most probable predictive mode as the said first sub-piece, the said second sub-piece is adjacent with the first sub-piece and comprise many sub-block that along continuous straight runs or vertical direction are arranged;
S83:, confirm the predictive mode of the first sub-piece based on the most probable predictive mode of said sign and the said first sub-piece.
Similarly can not only transmit the sign of the predictive mode of image block in the code stream with embodiment illustrated in fig. 3 before, also can transmit the dividing mode information of image block, make decoding end can learn how coding side divides said image block.
The equipment that the method for embodiment was carried out encoding and decoding to code stream before the embodiment of the invention also further provided and to have utilized, particularly, the structural representation of a kind of encoder that Fig. 9 provides for the embodiment of the invention comprises:
Acquiring unit 91 is used for obtaining the predictive mode of the second sub-piece in predictive mode and the said current image block of the current image block first sub-piece, and the said first sub-piece and along continuous straight runs adjacent with the said second sub-piece or vertical direction are arranged;
Confirm unit 92, be used for the predictive mode of the said first sub-piece most probable predictive mode as the second sub-piece;
Code stream writing unit 93 is used for based on the predictive mode of the second sub-piece and the most probable predictive mode of the second sub-piece, confirms to be used to indicate the sign of the predictive mode of the second sub-piece, and said sign is write in the code stream.
If the said first sub-piece is positioned at said present image block boundary; Then said definite unit 92 also is used for the most probable predictive mode of the predictive mode of the piece that predictive mode value among the last adjacent block of said current image block and the left adjacent block is minimum as the first sub-piece; Said code stream writing unit 93 also is used for confirming to be used to indicate according to the most probable predictive mode of the predictive mode of the first sub-piece and the first sub-piece one other identification of the predictive mode of the first sub-piece, and said one other identification is write in the said code stream.
Further, said encoder also can comprise piece division unit 94, is used for said current image block is divided, and obtains comprising the many sub-block said first sub-piece and the said second sub-piece, that along continuous straight runs or vertical direction are arranged; Said code stream writing unit 93 also is used for the dividing mode information of current image block is write said code stream.
The structural representation of a kind of decoder that Figure 10 provides for the embodiment of the invention comprises:
Code stream sensing element 101 is used for obtaining from code stream the sign of the predictive mode that is used for indicating the current image block second sub-piece;
Confirm unit 102, be used for that the said first sub-piece and along continuous straight runs adjacent with the said second sub-piece or vertical direction are arranged with the predictive mode of the current image block first sub-piece most probable predictive mode as the second sub-piece;
Decoding unit 103 is used for the most probable predictive mode according to said sign and the said second sub-piece, confirms the predictive mode of the second sub-piece.
If the said first sub-piece is positioned at said present image block boundary, then said code stream sensing element 101 also is used for obtaining from said code stream the one other identification of the predictive mode that is used to indicate the first sub-piece;
Said definite unit 102 also is used for the most probable predictive mode of the predictive mode of the piece that predictive mode value among the last adjacent block of said current image block and the left adjacent block is minimum as the first sub-piece;
Said decoding unit 103 also is used for the most probable predictive mode according to said one other identification and the said first sub-piece, confirms the predictive mode of the first sub-piece.
Further, said code stream sensing element 101 also is used for obtaining from said code stream the dividing mode information of current image block; Said decoder also comprises piece division unit 104, is used for according to said dividing mode said current image block being divided, and obtains comprising the many sub-block said first sub-piece and the said second sub-piece, that along continuous straight runs or vertical direction are arranged.
The structural representation of the another kind of encoder that Figure 11 provides for the embodiment of the invention, said encoder comprises:
Acquiring unit 111 is used for obtaining the predictive mode of the current image block first sub-piece, and the said first sub-piece comprises many sub-block that along continuous straight runs or vertical direction are arranged;
Determining unit 112 is used for confirming the second sub-piece, and with the predictive mode of the second sub-piece most probable predictive mode as the said first sub-piece, the said second sub-piece is adjacent with the first sub-piece and comprise many sub-block of along continuous straight runs or vertical direction arrangement;
Code stream writing unit 113 is used for based on the predictive mode of the first sub-piece and the most probable predictive mode of the first sub-piece, confirms to be used to indicate the sign of the predictive mode of the first sub-piece, and said sign is write in the code stream.
For said determining unit 112,, then the said adjacent block of going up is confirmed as the said second sub-piece if the last adjacent block of the said first sub-piece comprises many sub-block that along continuous straight runs or vertical direction are arranged; Perhaps, if the left adjacent block of the said first sub-piece comprises many sub-block that along continuous straight runs or vertical direction are arranged, said left adjacent block is confirmed as the said second sub-piece; Perhaps, if the last adjacent block of the said first sub-piece and left adjacent block include many sub-block of along continuous straight runs or vertical direction arrangement, then the minimum piece of predictive mode value among said upward adjacent block and the said left adjacent block is confirmed as the said second sub-piece.
If the said second sub-piece is positioned at said present image block boundary; Then said definite unit 112 also is used for the most probable predictive mode of the predictive mode of the piece that predictive mode value among the last adjacent block of said current image block and the left adjacent block is minimum as the second sub-piece; Said code stream writing unit 113 also is used for based on the predictive mode of the second sub-piece and the most probable predictive mode of the second sub-piece, confirms to be used to indicate the one other identification of the predictive mode of the second sub-piece, and said one other identification is write in the said code stream.
The structural representation of the another kind of decoder that Figure 12 provides for the embodiment of the invention, said decoder comprises:
Code stream sensing element 121 is used for obtaining from code stream the sign of the predictive mode that is used for indicating the current image block first sub-piece, and the said first sub-piece comprises many sub-block that along continuous straight runs or vertical direction are arranged;
Determining unit 122 is used for confirming the second sub-piece, and with the predictive mode of the second sub-piece most probable predictive mode as the said first sub-piece, the said second sub-piece is adjacent with the first sub-piece and comprise many sub-block of along continuous straight runs or vertical direction arrangement;
Decoding unit 123 is used for the most probable predictive mode according to said sign and the said first sub-piece, confirms the predictive mode of the first sub-piece.
For said definite unit 122,, the said adjacent block of going up is confirmed as the said second sub-piece if the last adjacent block of the said first sub-piece comprises many sub-block that along continuous straight runs or vertical direction are arranged; Perhaps, if the left adjacent block of the said first sub-piece comprises many sub-block that along continuous straight runs or vertical direction are arranged, said left adjacent block is confirmed as the said second sub-piece; Perhaps, if the last adjacent block of the said first sub-piece and left adjacent block include many sub-block of along continuous straight runs or vertical direction arrangement, then the minimum piece of predictive mode value among said upward adjacent block and the said left adjacent block is confirmed as the said second sub-piece.
If the said second sub-piece is positioned at said present image block boundary, then said code stream sensing element 121 also is used for obtaining from said code stream the one other identification of the predictive mode that is used to indicate the second sub-piece; Said definite unit 122 also is used for the most probable predictive mode of the predictive mode of the piece that predictive mode value among the last adjacent block of said current image block and the left adjacent block is minimum as the second sub-piece; Said decoding unit 123 also is used for the most probable predictive mode according to said one other identification and the said second sub-piece, confirms the predictive mode of the second sub-piece.
The codec that the embodiment of the invention provides lays respectively at coding side and decoding end is used for code stream is carried out encoding and decoding; Most probable predictive mode through effective predicted picture piece; Make the most probable predictive mode of an image block more near its actual predictive mode; Minimizing improves the encoding and decoding performance at the bit number of the reflection image block predictive mode of code stream transmission.
One of ordinary skill in the art will appreciate that all or part of flow process among the said method embodiment; Can instruct related hardware to accomplish through computer program; Described program can be stored in the computer read/write memory medium; This program can comprise the flow process like the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
The above is merely several embodiments of the present invention, and those skilled in the art can carry out various changes or modification to the present invention according to the disclosed content of application documents and not break away from the spirit and scope of the present invention.One of ordinary skill in the art will appreciate that between said embodiment or under situation about not clashing, can interosculate between the characteristic of different embodiment and form new embodiment.

Claims (30)

1. the coding method based on the intra prediction mode of image block is characterized in that, comprising:
Obtain the predictive mode of the second sub-piece in predictive mode and the said current image block of the first sub-piece in the current image block, the said first sub-piece and along continuous straight runs adjacent with the said second sub-piece or vertical direction are arranged;
With the predictive mode of the said first sub-piece most probable predictive mode as the second sub-piece;
Based on the predictive mode of the second sub-piece and the most probable predictive mode of the second sub-piece, confirm to be used to indicate the sign of the predictive mode of the second sub-piece, and said sign is write in the code stream.
2. the method for claim 1 is characterized in that, the said first sub-piece is positioned at said present image block boundary, and said method also comprises:
The predictive mode of the piece that predictive mode value among the last adjacent block of said current image block and the left adjacent block is minimum is as the most probable predictive mode of the first sub-piece;
According to the predictive mode of the first sub-piece and the most probable predictive mode of the first sub-piece, confirm to be used to indicate the one other identification of the predictive mode of the first sub-piece, and said one other identification is write in the said code stream.
3. according to claim 1 or claim 2 method is characterized in that, also comprises:
Said current image block is divided, obtain comprising the many sub-block said first sub-piece and the said second sub-piece, that along continuous straight runs or vertical direction are arranged;
The dividing mode information of current image block is write in the said code stream.
4. method as claimed in claim 3 is characterized in that, the said first sub-piece and the said second sub-piece are the rectangular block of non-box-shaped.
5. the coding/decoding method based on the intra prediction mode of image block is characterized in that, comprising:
From code stream, obtain the sign of the predictive mode that is used for indicating the current image block second sub-piece;
With the predictive mode of the first sub-piece in the said current image block most probable predictive mode as the second sub-piece, the said first sub-piece and along continuous straight runs adjacent with the said second sub-piece or vertical direction are arranged;
Based on the most probable predictive mode of said sign and the said second sub-piece, confirm the predictive mode of the second sub-piece.
6. method as claimed in claim 5 is characterized in that, the said first sub-piece is positioned at said present image block boundary, and said method also comprises:
From said code stream, obtain the one other identification of the predictive mode that is used to indicate the first sub-piece;
The predictive mode of the piece that predictive mode value among the last adjacent block of said current image block and the left adjacent block is minimum is as the most probable predictive mode of the first sub-piece;
Based on the most probable predictive mode of said one other identification and the said first sub-piece, confirm the predictive mode of the first sub-piece.
7. like claim 5 or 6 described methods, it is characterized in that, also comprise:
From said code stream, obtain the dividing mode information of current image block;
According to said dividing mode said current image block is divided, obtain comprising the many sub-block said first sub-piece and the said second sub-piece, that along continuous straight runs or vertical direction are arranged.
8. method as claimed in claim 7 is characterized in that, the said first sub-piece and the said second sub-piece are the rectangular block of non-box-shaped.
9. the coding method based on the intra prediction mode of image block is characterized in that, comprising:
Obtain the predictive mode of the first sub-piece in the current image block, the said first sub-piece comprises many sub-block that along continuous straight runs or vertical direction are arranged;
Confirm the second sub-piece, with the predictive mode of the second sub-piece most probable predictive mode as the said first sub-piece, the said second sub-piece is adjacent with the first sub-piece and comprise many sub-block that along continuous straight runs or vertical direction are arranged;
Based on the predictive mode of the first sub-piece and the most probable predictive mode of the first sub-piece, confirm to be used to indicate the sign of the predictive mode of the first sub-piece, and said sign is write in the code stream.
10. method as claimed in claim 9 is characterized in that, said definite second sub-piece comprises:
If the last adjacent block of the said first sub-piece comprises many sub-block that along continuous straight runs or vertical direction are arranged, the said adjacent block of going up is confirmed as the said second sub-piece; Perhaps
If the left adjacent block of the said first sub-piece comprises many sub-block that along continuous straight runs or vertical direction are arranged, said left adjacent block is confirmed as the said second sub-piece; Perhaps
If the last adjacent block of the said first sub-piece and left adjacent block include many sub-block of along continuous straight runs or vertical direction arrangement, then the minimum piece of predictive mode value among said upward adjacent block and the said left adjacent block is confirmed as the said second sub-piece.
11. method as claimed in claim 9 is characterized in that, the said first sub-piece and the second sub-piece are square.
12. method as claimed in claim 9 is characterized in that, many sub-block in the said second sub-piece and the many sub-block in the said first sub-piece are the rectangular block of non-box-shaped.
13., it is characterized in that the said second sub-piece is positioned at said present image block boundary like each described method among the claim 9-12, said method also comprises:
The predictive mode of the piece that predictive mode value among the last adjacent block of said current image block and the left adjacent block is minimum is as the most probable predictive mode of the second sub-piece;
According to the predictive mode of the second sub-piece and the most probable predictive mode of the second sub-piece, confirm to be used to indicate the one other identification of the predictive mode of the second sub-piece, and said one other identification is write in the said code stream.
14. the coding/decoding method based on the intra prediction mode of image block is characterized in that, comprising:
From code stream, obtain the sign of the predictive mode that is used for indicating the current image block first sub-piece, the said first sub-piece comprises many sub-block that along continuous straight runs or vertical direction are arranged;
Confirm the second sub-piece, with the predictive mode of the second sub-piece most probable predictive mode as the said first sub-piece, the said second sub-piece is adjacent with the first sub-piece and comprise many sub-block that along continuous straight runs or vertical direction are arranged;
Based on the most probable predictive mode of said sign and the said first sub-piece, confirm the predictive mode of the first sub-piece.
15. method as claimed in claim 14 is characterized in that, said definite second sub-piece comprises:
If the last adjacent block of the said first sub-piece comprises many sub-block that along continuous straight runs or vertical direction are arranged, the said adjacent block of going up is confirmed as the said second sub-piece; Perhaps
If the left adjacent block of the said first sub-piece comprises many sub-block that along continuous straight runs or vertical direction are arranged, said left adjacent block is confirmed as the said second sub-piece; Perhaps
If the last adjacent block of the said first sub-piece and left adjacent block include many sub-block of along continuous straight runs or vertical direction arrangement, then the minimum piece of predictive mode value among said upward adjacent block and the said left adjacent block is confirmed as the said second sub-piece.
16. method as claimed in claim 14 is characterized in that, the said first sub-piece and the second sub-piece are square.
17. method as claimed in claim 14 is characterized in that, many sub-block in the said second sub-piece and the many sub-block in the said first sub-piece are the rectangular block of non-box-shaped.
18., it is characterized in that the said second sub-piece is positioned at said present image block boundary like each described method among the claim 14-17, said method also comprises:
From said code stream, obtain the one other identification of the predictive mode that is used to indicate the second sub-piece;
The predictive mode of the piece that predictive mode value among the last adjacent block of said current image block and the left adjacent block is minimum is as the most probable predictive mode of the second sub-piece;
Based on the most probable predictive mode of the said one other identification and the second sub-piece, confirm the predictive mode of the second sub-piece.
19. an encoder is characterized in that, comprising:
Acquiring unit is used for obtaining the predictive mode of the second sub-piece in predictive mode and the said current image block of the current image block first sub-piece, and the said first sub-piece and along continuous straight runs adjacent with the said second sub-piece or vertical direction are arranged;
Confirm the unit, be used for the predictive mode of the said first sub-piece most probable predictive mode as the second sub-piece;
The code stream writing unit is used for based on the predictive mode of the second sub-piece and the most probable predictive mode of the second sub-piece, confirms to be used to indicate the sign of the predictive mode of the second sub-piece, and said sign is write in the code stream.
20. encoder as claimed in claim 19 is characterized in that, the said first sub-piece is positioned at said present image block boundary;
Said definite unit also is used for the most probable predictive mode of the predictive mode of the piece that predictive mode value among the last adjacent block of said current image block and the left adjacent block is minimum as the first sub-piece;
Said code stream writing unit also is used for according to the predictive mode of the first sub-piece and the most probable predictive mode of the first sub-piece, confirms to be used to indicate the one other identification of the predictive mode of the first sub-piece, and said one other identification is write in the said code stream.
21. like claim 19 or 20 described encoders, it is characterized in that, also comprise:
The piece division unit is used for said current image block is divided, and obtains comprising the many sub-block said first sub-piece and the said second sub-piece, that along continuous straight runs or vertical direction are arranged;
Said code stream writing unit also is used for the dividing mode information of current image block is write said code stream.
22. a decoder is characterized in that, comprising:
The code stream sensing element is used for obtaining from code stream the sign of the predictive mode that is used for indicating the current image block second sub-piece;
Confirm the unit, be used for that the said first sub-piece and along continuous straight runs adjacent with the said second sub-piece or vertical direction are arranged with the predictive mode of the current image block first sub-piece most probable predictive mode as the second sub-piece;
Decoding unit is used for the most probable predictive mode based on said sign and the said second sub-piece, confirms the predictive mode of the second sub-piece.
23. decoder as claimed in claim 22 is characterized in that, the said first sub-piece is positioned at said present image block boundary;
Said code stream sensing element also is used for obtaining from said code stream the one other identification of the predictive mode that is used to indicate the first sub-piece;
Said definite unit also is used for the most probable predictive mode of the predictive mode of the piece that predictive mode value among the last adjacent block of said current image block and the left adjacent block is minimum as the first sub-piece;
Said decoding unit also is used for the most probable predictive mode according to said one other identification and the said first sub-piece, confirms the predictive mode of the first sub-piece.
24., it is characterized in that said code stream sensing element also is used for obtaining from said code stream the dividing mode information of current image block like claim 22 or 23 described decoders;
Said decoder also comprises: the piece division unit, be used for said current image block being divided according to said dividing mode, and obtain comprising the many sub-block said first sub-piece and the said second sub-piece, that along continuous straight runs or vertical direction are arranged.
25. an encoder is characterized in that, comprising:
Acquiring unit is used for obtaining the predictive mode of the current image block first sub-piece, and the said first sub-piece comprises many sub-block that along continuous straight runs or vertical direction are arranged;
Determining unit is used for confirming the second sub-piece, and with the predictive mode of the second sub-piece most probable predictive mode as the said first sub-piece, the said second sub-piece is adjacent with the first sub-piece and comprise many sub-block of along continuous straight runs or vertical direction arrangement;
The code stream writing unit is used for based on the predictive mode of the first sub-piece and the most probable predictive mode of the first sub-piece, confirms to be used to indicate the sign of the predictive mode of the first sub-piece, and said sign is write in the code stream.
26. decoder as claimed in claim 25 is characterized in that, said definite unit specifically is used for:
If the last adjacent block of the said first sub-piece comprises many sub-block that along continuous straight runs or vertical direction are arranged, the said adjacent block of going up is confirmed as the said second sub-piece; Perhaps
If the left adjacent block of the said first sub-piece comprises many sub-block that along continuous straight runs or vertical direction are arranged, said left adjacent block is confirmed as the said second sub-piece; Perhaps
If the last adjacent block of the said first sub-piece and left adjacent block include many sub-block of along continuous straight runs or vertical direction arrangement, then the minimum piece of predictive mode value among said upward adjacent block and the said left adjacent block is confirmed as the said second sub-piece.
27., it is characterized in that the said second sub-piece is positioned at said present image block boundary like claim 25 or 26 described decoders;
Said definite unit also is used for the most probable predictive mode of the predictive mode of the piece that predictive mode value among the last adjacent block of said current image block and the left adjacent block is minimum as the second sub-piece;
Said code stream writing unit also is used for according to the predictive mode of the second sub-piece and the most probable predictive mode of the second sub-piece, confirms to be used to indicate the one other identification of the predictive mode of the second sub-piece, and said one other identification is write in the said code stream.
28. a decoder is characterized in that, comprising:
The code stream sensing element is used for obtaining from code stream the sign of the predictive mode that is used for indicating the current image block first sub-piece, and the said first sub-piece comprises many sub-block that along continuous straight runs or vertical direction are arranged;
Determining unit is used for confirming the second sub-piece, and with the predictive mode of the second sub-piece most probable predictive mode as the said first sub-piece, the said second sub-piece is adjacent with the first sub-piece and comprise many sub-block of along continuous straight runs or vertical direction arrangement;
Decoding unit is used for the most probable predictive mode based on said sign and the said first sub-piece, confirms the predictive mode of the first sub-piece.
29. decoder as claimed in claim 28 is characterized in that, said definite unit specifically is used for:
If the last adjacent block of the said first sub-piece comprises many sub-block that along continuous straight runs or vertical direction are arranged, the said adjacent block of going up is confirmed as the said second sub-piece; Perhaps
If the left adjacent block of the said first sub-piece comprises many sub-block that along continuous straight runs or vertical direction are arranged, said left adjacent block is confirmed as the said second sub-piece; Perhaps
If the last adjacent block of the said first sub-piece and left adjacent block include many sub-block of along continuous straight runs or vertical direction arrangement, then the minimum piece of predictive mode value among said upward adjacent block and the said left adjacent block is confirmed as the said second sub-piece.
30., it is characterized in that the said second sub-piece is positioned at said present image block boundary like claim 28 or 29 described decoders;
Said code stream sensing element also is used for obtaining from said code stream the one other identification of the predictive mode that is used to indicate the second sub-piece;
Said definite unit also is used for the most probable predictive mode of the predictive mode of the piece that predictive mode value among the last adjacent block of said current image block and the left adjacent block is minimum as the second sub-piece;
Said decoding unit also is used for the most probable predictive mode according to said one other identification and the said second sub-piece, confirms the predictive mode of the second sub-piece.
CN201110020668.9A 2011-01-18 2011-01-18 Coding and decoding methods of intra-frame prediction modes based on image blocks and codec Active CN102724493B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110020668.9A CN102724493B (en) 2011-01-18 2011-01-18 Coding and decoding methods of intra-frame prediction modes based on image blocks and codec
PCT/CN2011/085195 WO2012097675A1 (en) 2011-01-18 2011-12-31 Encoding/decoding method and codec based on intra-prediction mode of image block

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110020668.9A CN102724493B (en) 2011-01-18 2011-01-18 Coding and decoding methods of intra-frame prediction modes based on image blocks and codec

Publications (2)

Publication Number Publication Date
CN102724493A true CN102724493A (en) 2012-10-10
CN102724493B CN102724493B (en) 2014-06-25

Family

ID=46515139

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110020668.9A Active CN102724493B (en) 2011-01-18 2011-01-18 Coding and decoding methods of intra-frame prediction modes based on image blocks and codec

Country Status (2)

Country Link
CN (1) CN102724493B (en)
WO (1) WO2012097675A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105120292A (en) * 2015-09-09 2015-12-02 厦门大学 Video coding intra-frame prediction method based on image texture features
CN109743577A (en) * 2013-10-18 2019-05-10 华为技术有限公司 Block partitioning scheme in coding and decoding video determines method and relevant apparatus
CN110213581A (en) * 2019-05-20 2019-09-06 广州市数字视频编解码技术国家工程实验室研究开发与产业化中心 A kind of coding method skipped based on block partition mode, device and storage medium
CN112019841A (en) * 2019-05-31 2020-12-01 富士通株式会社 Video coding method and device and electronic equipment
WO2021037053A1 (en) * 2019-08-27 2021-03-04 Huawei Technologies Co., Ltd. An encoder, a decoder and corresponding methods of cabac coding for the indices of geometric partition flag
CN112514384A (en) * 2019-01-28 2021-03-16 株式会社 Xris Video signal encoding/decoding method and apparatus thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1558039A1 (en) * 2004-01-21 2005-07-27 Deutsche Thomson-Brandt Gmbh Method and apparatus for generating/evaluating prediction information in picture signal encoding/decoding
CN1656818A (en) * 2002-05-28 2005-08-17 夏普株式会社 Methods and systems for image intra-prediction mode estimation, communication, and organization
CN1674680A (en) * 2005-03-31 2005-09-28 华中科技大学 An enhanced in-frame predictive mode coding method
US20090161757A1 (en) * 2007-12-21 2009-06-25 General Instrument Corporation Method and Apparatus for Selecting a Coding Mode for a Block
CN101668202A (en) * 2008-09-01 2010-03-10 中兴通讯股份有限公司 Method and device for selecting intra-frame prediction mode
CN101854551A (en) * 2010-06-08 2010-10-06 浙江大学 Intra-frame prediction mode coding and decoding method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101790096B (en) * 2009-01-24 2013-03-13 华为技术有限公司 Encoding and decoding method and device based on double prediction

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1656818A (en) * 2002-05-28 2005-08-17 夏普株式会社 Methods and systems for image intra-prediction mode estimation, communication, and organization
EP1558039A1 (en) * 2004-01-21 2005-07-27 Deutsche Thomson-Brandt Gmbh Method and apparatus for generating/evaluating prediction information in picture signal encoding/decoding
CN1674680A (en) * 2005-03-31 2005-09-28 华中科技大学 An enhanced in-frame predictive mode coding method
US20090161757A1 (en) * 2007-12-21 2009-06-25 General Instrument Corporation Method and Apparatus for Selecting a Coding Mode for a Block
CN101668202A (en) * 2008-09-01 2010-03-10 中兴通讯股份有限公司 Method and device for selecting intra-frame prediction mode
CN101854551A (en) * 2010-06-08 2010-10-06 浙江大学 Intra-frame prediction mode coding and decoding method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109743577A (en) * 2013-10-18 2019-05-10 华为技术有限公司 Block partitioning scheme in coding and decoding video determines method and relevant apparatus
CN105120292A (en) * 2015-09-09 2015-12-02 厦门大学 Video coding intra-frame prediction method based on image texture features
CN105120292B (en) * 2015-09-09 2018-11-23 厦门大学 A kind of coding intra-frame prediction method based on image texture characteristic
CN112514384A (en) * 2019-01-28 2021-03-16 株式会社 Xris Video signal encoding/decoding method and apparatus thereof
CN110213581A (en) * 2019-05-20 2019-09-06 广州市数字视频编解码技术国家工程实验室研究开发与产业化中心 A kind of coding method skipped based on block partition mode, device and storage medium
CN110213581B (en) * 2019-05-20 2023-03-07 广州市数字视频编解码技术国家工程实验室研究开发与产业化中心 Encoding method, device and storage medium based on block division mode skipping
CN112019841A (en) * 2019-05-31 2020-12-01 富士通株式会社 Video coding method and device and electronic equipment
WO2021037053A1 (en) * 2019-08-27 2021-03-04 Huawei Technologies Co., Ltd. An encoder, a decoder and corresponding methods of cabac coding for the indices of geometric partition flag

Also Published As

Publication number Publication date
CN102724493B (en) 2014-06-25
WO2012097675A1 (en) 2012-07-26

Similar Documents

Publication Publication Date Title
CN102724493B (en) Coding and decoding methods of intra-frame prediction modes based on image blocks and codec
HRP20171767T1 (en) Apparatus for decoding an image by using large transformation units
EP2147556B1 (en) Mode uniformity signaling for intra-coding
JP6530467B2 (en) Method and apparatus for encoding and decoding
CN105472387B (en) The method and apparatus for handling video data
EP3157256B1 (en) Method for coding an image comprising determining transform block size
EP2658254A1 (en) Encoding and decoding method and device for dividing multi-image block
KR102102600B1 (en) Picture coding supporting block partitioning and block merging
CN100527838C (en) Image coding method and device
EP3142364A1 (en) Method and module for acquiring position information of transform block
JP2018506908A5 (en)
CN103067716A (en) Encoding and decoding methods and encoding and decoding device of range image
CN103067715A (en) Encoding and decoding methods and encoding and decoding device of range image
US10397570B2 (en) Method for encoding and decoding images, device for encoding and decoding images and corresponding computer programs
PL231066B1 (en) Method and the device for intra-prediction on the monitor screen
CN103563389A (en) Intra prediction mode coding with directional partitions
EP3748970A1 (en) Method for encoding video using buffer compression for motion vector competition
CN103200406A (en) Encoding method, decoding method, encoding device and decoding device of depth image
EP2750386A1 (en) Image coding and decoding method and device
JP7217784B2 (en) Determining device, encoding device, decoding device and program
CN103248885A (en) Intra frame image prediction coding and decoding methods, video coder and video decoder
CN112135147B (en) Encoding method, decoding method and device
EP3941043A1 (en) Image decoding device, image decoding method, and program
JPWO2021026334A5 (en)
KR101613212B1 (en) Space Prediction System for High Efficiency Video Coding and Method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant