WO2012097675A1 - Procédé de codage et de décodage, et codec, basés sur un mode de prédiction intra d'un bloc d'image - Google Patents

Procédé de codage et de décodage, et codec, basés sur un mode de prédiction intra d'un bloc d'image Download PDF

Info

Publication number
WO2012097675A1
WO2012097675A1 PCT/CN2011/085195 CN2011085195W WO2012097675A1 WO 2012097675 A1 WO2012097675 A1 WO 2012097675A1 CN 2011085195 W CN2011085195 W CN 2011085195W WO 2012097675 A1 WO2012097675 A1 WO 2012097675A1
Authority
WO
WIPO (PCT)
Prior art keywords
block
sub
prediction mode
probable
current image
Prior art date
Application number
PCT/CN2011/085195
Other languages
English (en)
Chinese (zh)
Inventor
曹潇然
赖昌材
何芸
Original Assignee
华为技术有限公司
清华大学
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 华为技术有限公司, 清华大学 filed Critical 华为技术有限公司
Publication of WO2012097675A1 publication Critical patent/WO2012097675A1/fr

Links

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

Definitions

  • the present invention relates to the field of image processing technologies, and in particular, to a codec method and a codec based on an intra block prediction mode of an image block. Background technique
  • Intra coding does not require a reference frame and does not involve interpolating the reference frame.
  • the prediction in the division mode may be performed according to a certain division manner, thereby obtaining a residual block corresponding to the division size, and transforming, quantizing, and entropy coding the residual block.
  • the division mode of the current coding object and the corresponding division size are first obtained, and then the coefficients in the code stream are decoded, and the prediction and reconstruction under the corresponding block division mode are performed to generate a decoded image.
  • the prediction direction of the current block also referred to as a prediction mode
  • the prediction direction of the current block also referred to as a prediction mode
  • Figure 1 is a schematic diagram of sub-block partitioning in a 16x16 image block.
  • a total of 16 4x4 blocks are included in the current 16x16 block, and each of the 16 4x4 blocks is a sub-block of the current 16x16 block.
  • a block and a sub-block are a relative concept.
  • a sub-block may also include other sub-blocks therein; the sub-blocks within a block may also be flexible, for example, sub-blocks may be It is a horizontal rectangle or a vertical rectangle, not just a square.
  • FIG. 2 is a schematic diagram of an intra prediction direction of an image block, in which an 8x8 block is identified by a thick line, and the arrow in the figure points to a possible prediction direction of one of the 8x8 blocks.
  • an optimal prediction direction is determined from a plurality of possible prediction directions as a prediction mode of the current sub-block, and the current sub-block is predictively coded according to the prediction mode, and The prediction mode is written in the code stream, and the residual is encoded.
  • the prior art introduces a most probable mode (MPM), also called the most probable prediction direction.
  • MPM most probable mode
  • the actual prediction mode of the sub-block is not directly written in the code stream, but the most probable prediction mode of the current sub-block is obtained first, and then the actual prediction mode of the sub-block is compared with the most probable prediction mode of the sub-block. And obtaining identification information that needs to be written into the code stream according to the obtained size relationship; if the actual prediction mode of the sub-block is the same as the most probable prediction mode of the sub-block, the identifier can be saved in the code stream. Occupied bits.
  • the most probable prediction mode of an image block as close as possible to the actual prediction mode of the image block becomes a problem.
  • the actual prediction mode of the neighboring block with the smallest prediction mode value in the upper neighboring block and the left neighboring block of the current block is used as The most probable prediction mode of the current block, so that the correlation between the current block and its left neighboring block and the upper neighboring block can be utilized to improve the accuracy of predicting the most probable prediction mode of the current block.
  • a sub-block of one block may not be a block, but a rectangular block or the like, so the left adjacent block and the upper adjacent block of the current block may have different divisions, if still in prediction mode.
  • the actual prediction mode of the neighboring block with the smallest value is the most probable prediction mode of the current block, and the most probable prediction mode obtained is not necessarily accurate. Therefore, how to effectively predict the most probable prediction mode of a block and make this prediction method applicable not only to block division but also to irregular block division becomes a problem.
  • Embodiments of the present invention provide a codec method and a codec based on an intra prediction mode of an image block to effectively predict a most probable prediction mode of an image block.
  • an encoding method based on an intra block prediction mode of an image block including:
  • a decoding method based on an intra block prediction mode of an image block including:
  • the first sub-block is adjacent to the second sub-block and arranged in a horizontal direction or a vertical direction;
  • a prediction mode of the second sub-block is determined based on the identification and a most probable prediction mode of the second sub-block.
  • an encoder including:
  • An acquiring unit configured to acquire a prediction mode of a first sub-block in a current image block and a prediction mode of a second sub-block in the current image block, where the first sub-block is adjacent to the second sub-block and is horizontal Arranged in the direction or in the vertical direction;
  • a determining unit configured to use a prediction mode of the first sub-block as a most probable prediction mode of the second sub-block
  • a code stream writing unit configured to determine, according to a prediction mode of the second sub-block and a most probable prediction mode of the second sub-block, an identifier for indicating a prediction mode of the second sub-block, and write the identifier into the code stream in.
  • a decoder including:
  • a code stream reading unit configured to acquire, from the code stream, an identifier for indicating a prediction mode of the second sub-block in the current image block
  • a determining unit configured to use a prediction mode of the first sub-block in the current image block as a most probable prediction mode of the second sub-block, where the first sub-block is adjacent to the second sub-block and is horizontal or vertical Straight in the direction;
  • a decoding unit configured to determine, according to the identifier and a most probable prediction mode of the second sub-block The prediction mode of the two sub-blocks.
  • the embodiment of the present invention can better utilize the correlation between different neighboring blocks arranged in a certain direction to predict the most probable prediction direction of a block, so that the most probable prediction direction of the block is close.
  • the actual prediction direction is beneficial to save the number of bits occupied by the identifier for indicating the actual prediction direction of the block, thereby saving code stream overhead.
  • an encoding method based on an intra block prediction mode of an image block including:
  • the prediction mode of the second sub-block as a most probable prediction mode of the first sub-block, the second sub-block being adjacent to the first sub-block and including horizontally or vertically Arranging multiple sub-blocks;
  • a decoding method based on an intra block prediction mode of an image block including:
  • the prediction mode of the second sub-block as a most probable prediction mode of the first sub-block, the second sub-block being adjacent to the first sub-block and including horizontally or vertically Arranging multiple sub-blocks;
  • an encoder including:
  • An obtaining unit configured to acquire a prediction mode of a first sub-block in a current image block, where the first sub-block a plurality of sub-blocks arranged in a horizontal direction or a vertical direction;
  • a determining unit configured to determine a second sub-block, the prediction mode of the second sub-block as a most probable prediction mode of the first sub-block, the second sub-block being adjacent to the first sub-block and including horizontally a plurality of sub-blocks arranged in a direction or a vertical direction;
  • a code stream writing unit configured to determine, according to a prediction mode of the first sub-block and a most probable prediction mode of the first sub-block, an identifier for indicating a prediction mode of the first sub-block, and write the identifier into the code stream in.
  • a decoder including:
  • a code stream reading unit configured to acquire, from the code stream, an identifier for indicating a prediction mode of the first sub-block in the current image block, where the first sub-block includes a plurality of sub-blocks arranged in a horizontal direction or a vertical direction; a determining unit, configured to determine a second sub-block, the prediction mode of the second sub-block as a most probable prediction mode of the first sub-block, the second sub-block being adjacent to the first sub-block and including horizontally a plurality of sub-blocks arranged in a direction or a vertical direction;
  • a decoding unit configured to determine a prediction mode of the first sub-block according to the identifier and a most probable prediction mode of the first sub-block.
  • the embodiment of the present invention is used to determine the most probable prediction mode of two adjacent sub-blocks with similar sub-block division manner in an image block, so that the actual prediction mode of one sub-block is the most of all sub-blocks in another sub-block.
  • the possible prediction mode can effectively predict the most probable prediction mode, which is beneficial to save the number of bits occupied by the identifier for indicating the actual prediction direction of the block, thereby saving code stream overhead.
  • 1 is a schematic diagram of sub-block partitioning in a 16x16 image block
  • FIG. 2 is a schematic diagram of an intra prediction direction of an image block
  • FIG. 3 is a schematic diagram of an encoding method of an intra block prediction mode based on an image block according to an embodiment of the present invention
  • FIG. 3b is a schematic diagram of a decoding method of an intra block prediction mode based on an image block according to an embodiment of the present invention
  • FIG. 3c is a schematic flow chart of a method for encoding and decoding an image block prediction direction according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of an image block division structure according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of another image block division structure according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic diagram of another encoding method of an intra block based intra prediction mode according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of an 8 ⁇ 8 intra-subblock partitioning according to an embodiment of the present invention
  • FIG. 8 is a schematic diagram of another image block-based intra prediction mode decoding method according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of an encoder according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of a decoder according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of another encoder according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic structural diagram of another decoder according to an embodiment of the present invention.
  • FIG. 3a is a schematic diagram of an encoding method of an image block-based intra prediction mode according to an embodiment of the present invention, where the method includes:
  • S3 la acquiring a prediction mode of the first sub-block in the current image block and a second sub-module in the current image block a prediction mode of the block, the first sub-block being adjacent to the second sub-block and arranged in a horizontal direction or a vertical direction.
  • S32a The prediction mode of the first sub-block is taken as the most probable prediction mode of the second sub-block.
  • S33a Determine an identifier for indicating a prediction mode of the second sub-block according to a prediction mode of the second sub-block and a most probable prediction mode of the second sub-block, and write the identifier into the code stream.
  • the prediction mode is also referred to as the prediction direction, and the two expressions are different but represent the same meaning.
  • the method provided by the above embodiments can effectively predict the most probable prediction direction of an image block, thereby determining the value of the identifier of the write code stream.
  • This method is not only suitable for direction prediction of block division, but also for direction prediction of non-blocks such as horizontal rectangles or vertical rectangle blocks.
  • the present embodiment only uses one neighboring block of the current block to predict the most probable prediction direction of the current block.
  • the adjacent block for predicting the most probable prediction direction of the current block is arranged horizontally or vertically with the current block, and the correlation between different adjacent blocks arranged in a certain direction can be better utilized, so that the predicted result is obtained.
  • the most probable prediction direction of the current block is close to its actual prediction direction, and can be applied to the scene in which the sub-block division manner is irregular in the image block, which is advantageous for saving the number of bits for indicating the actual prediction direction of the current block, when the coding end
  • the code stream overhead can be saved as much as possible, and the overall coding performance is improved.
  • FIG. 3b is a schematic diagram of a decoding method of an intra block based intra prediction mode according to an embodiment of the present invention, where the method includes:
  • S31b Obtain an identifier for indicating a prediction mode of the second sub-block in the current image block from the code stream;
  • the prediction mode of the first sub-block in the current image block is regarded as the most probable prediction mode of the second sub-block, where the first sub-block is adjacent to the second sub-block and is horizontal or vertical Arrange in direction
  • S33b Determine a prediction mode of the second sub-block according to the identifier and a most probable prediction mode of the second sub-block.
  • the method provided in this embodiment can be applied to the decoding end, and can effectively predict the most probable prediction of the image block.
  • Direction in order to obtain an actual prediction direction of the image block, and predictively decode the image block according to the prediction direction, and accurately obtain the decoded image.
  • the present invention also provides an embodiment of a method for encoding and decoding an image block prediction direction, as shown in Figure 3c, the method includes:
  • S31c Dividing the current image block to obtain a plurality of sub-image blocks, and writing the division mode information of the current image block into the code stream.
  • the plurality of sub-image blocks are sequentially arranged in a horizontal or vertical direction, and the plurality of sub-image blocks include at least a first sub-image block at a boundary of the current image block, and the first sub-image block Adjacent second sub-image block.
  • FIG. 4 A schematic diagram of a specific image block partitioning structure provided by an embodiment of the present invention is shown in FIG. 4.
  • a specific image block partitioning structure provided by an embodiment of the present invention is shown in FIG. 4.
  • four 16x16 blocks can be divided, and each 16x16 block can be divided into four 8x8 blocks.
  • the 16x16 block in the lower left corner of the block is divided into four 4x16 blocks, and the same 8x8 block can be further divided into 4x4 blocks or 2x8 blocks, etc., and those skilled in the art can perform various kinds of image blocks according to actual needs.
  • a 4x16 block in Figure 4 is a vertically arranged rectangle, but in practice can also be divided into horizontal directions
  • Arranged rectangles, such as a 16x16 block can be divided into 4 vertical 16x4 blocks.
  • the rectangular block may include various forms, and it is understood that a linear block such as 1x16 or 16x1 is also a type of rectangular block.
  • S32c predicting the first sub-image block and the second sub-image block according to adjacent image blocks of the current image block from a plurality of predefined prediction directions, respectively obtaining the first sub-image block The prediction direction and the prediction direction of the second sub-image block.
  • S33c Determine a most probable prediction direction of the first sub-image block according to a prediction direction of a neighboring image block of the current image block.
  • the process may adopt a prior art method of selecting a block with the smallest prediction mode value among the upper neighboring block and the left neighboring block of the current image block, and the prediction direction of the selected block is taken as the first in the current image block.
  • each prediction mode may correspond to a value, that is, each mode may correspond to a number, which is used to reflect the size of the mode value, and when the block is selected, the prediction mode may be selected according to the number.
  • the block with the smallest value when one image block has 2 neighboring blocks, the block with the smallest prediction mode value may be selected as a reference to predict the most probable prediction direction of the current block or the subblock in the current block.
  • the predicted direction of the available neighboring block is used as the most probable prediction direction. If the left neighboring block and the upper neighboring block are not available, a predefined default value is used as the most probable prediction mode.
  • S34c Determine a prediction direction of the first sub-image block as a most probable prediction direction of the second sub-image block.
  • S35c determining, according to a prediction direction of the first sub-image block and a most probable prediction direction of the first sub-image block, a value that is required to be written into the code stream to identify a prediction direction of the first sub-image block; Determining, according to a prediction direction of the second sub-image block and a most probable prediction direction of the second sub-image block, a value of a prediction direction of the second sub-image block that needs to be written into the code stream.
  • the prediction mode of the current sub-block is ilntraDirLuma
  • the most probable prediction mode of the current sub-block is iMostProbable.
  • ilntraDirLuma is equal to iMostProbable
  • a bit of the identifier is written in the code stream, for example, the identifier "1" can be used to indicate that the prediction mode of the current sub-block is the most probable prediction mode.
  • ilntraDirLuma is not equal to iMostProbable, the value of the above identifier is first identified as "0", that is, the prediction mode of the current sub-block is not equal to the most probable prediction mode, and further judgment is made. If the actual prediction direction of the current sub-block is smaller than the predicted most probable prediction direction, the actual prediction direction value ilntraDirLuma of the current sub-block is written in the code stream, if the actual prediction direction of the current sub-block is greater than the predicted most probable prediction direction. , then write ilntraDirLuma - 1 in the stream.
  • the method in this embodiment can be used for 4x16 blocks or 16x4 blocks in 16x16 block partitioning, or 2x8 blocks or 8x2 blocks in 8x8 block partitioning, and the like.
  • the 32x8 partition and the 1x16 partition in 4x16, or the 16x1 partition in 16x4 can also use the method in this embodiment.
  • the decoding end After receiving the code stream, the decoding end parses and obtains the division mode information of the current image, the identification information of the prediction direction of the first sub-image block, and the prediction direction of the second sub-image block from the code stream. Identification information.
  • S37c Divide the current image block according to the division mode information to obtain the plurality of sub image blocks.
  • S38c Determine a most probable prediction direction of the first sub-image block according to a prediction direction of a neighboring image block of the current image block. The execution process of this step can be seen in S33.
  • S39c obtaining, from the identification information of the prediction direction of the first sub-image block and the most likely prediction direction of the first sub-image block, a prediction direction of the first sub-image block.
  • S310c Use a prediction direction of the first sub-image block as a most probable prediction direction of the second sub-image block.
  • S311 c obtaining a prediction direction of the second sub-image block from the identification information of the prediction direction of the second sub-image block and the most probable prediction direction of the second sub-image block.
  • the process of determining the prediction direction of the image block based on the identifier in S39c and S311c is the inverse of S35c. Specifically, the most probable prediction direction of the current sub-block is obtained first, and an identifier that identifies whether the prediction direction of the current sub-block is the most likely prediction direction is parsed in the code stream. For example, if the identifier is indicated as "1", the prediction direction of the current sub-block is the most probable prediction direction of the current sub-block.
  • step S33c may be after step S34c.
  • the most probable prediction direction of a block can be effectively predicted, thereby determining an identifier of the write code stream for indicating the prediction direction of the image block, when the actual prediction direction of the image block is equal to its most likely
  • only one bit of the indication flag needs to be written in the code stream, so when the most probable prediction direction of a block is closer to the actual prediction direction of the block, it will be more advantageous to save the code stream.
  • only the actual prediction mode of the neighboring block may be utilized as the most probable prediction mode of the current image block, without having to compare the predictions of the two neighboring blocks of the current image block.
  • FIG. 5 is a schematic diagram of another image block division structure according to an embodiment of the present invention. It is assumed that the current image block 50 is an 8x8 block including four 8x2 sub-blocks arranged in the horizontal direction, which are sub-block 51, sub-block 52, sub-block 53, and sub-block 54, respectively.
  • the sub-block 51 is located at the boundary of the current image block 50, and its most probable prediction mode is obtained by the prior art, that is, from the left adjacent block of the current image block 50 and the upper adjacent block (for the left adjacent block and the upper adjacent
  • the prediction mode of the block with the smallest prediction mode value is selected as the most probable prediction mode of the sub-block 51 in the block diagram;
  • the most probable prediction mode of the sub-block 52 is the prediction mode of the sub-block 51;
  • the most probable prediction mode is the prediction mode of sub-block 52;
  • the most probable prediction mode of sub-block 54 is the prediction mode of sub-block 53. Since there is a certain correlation between the four sub-blocks, the prediction modes of the sub-blocks adjacent to each other may have the same prediction mode to some extent, so the prediction mode of the adjacent sub-block is taken as the current sub-block.
  • the most likely prediction mode is obtained by the prior art, that is, from the left adjacent block of the current image block 50 and the upper adjacent block (for the left adjacent block and the
  • FIG. 6 is a schematic diagram of another encoding method of an intra block based intra prediction mode according to an embodiment of the present invention, where the method includes:
  • S61 Obtain a prediction mode of a first sub-block in a current image block, where the first sub-block includes a plurality of sub-blocks arranged in a horizontal direction or a vertical direction;
  • S62 determining a second sub-block, and using the prediction mode of the second sub-block as the most likely of the first sub-block a prediction mode, the second sub-block is adjacent to the first sub-block and includes a plurality of sub-blocks arranged in a horizontal direction or a vertical direction;
  • S63 Determine, according to the prediction mode of the first sub-block and the most probable prediction mode of the first sub-block, an identifier for indicating a prediction mode of the first sub-block, and write the identifier into the code stream.
  • the current image block includes a plurality of sub-blocks. If each sub-block includes a plurality of sub-blocks arranged in a horizontal direction or a vertical direction, the prediction mode of one of the sub-blocks may be used as the adjacent sub-block.
  • the most probable prediction mode of the block, the most probable prediction mode of the adjacent sub-block is applicable to all sub-blocks in the adjacent sub-block, and it is not necessary to separately solve one most probable prediction mode for each sub-block in the adjacent sub-block. It can be understood that the order of S61 and S12 is not fixed and can be flexibly adjusted.
  • the prediction direction of one of the blocks can be regarded as the most probable prediction direction of the other block, and the most probable prediction direction is used as the The most probable prediction direction of all sub-blocks in another block may cause the most probable prediction direction of all sub-blocks in the other block to be close to the true prediction direction, thereby reducing the number of identification bits indicating the prediction direction transmitted in the code stream.
  • the division of the two blocks is similar, and the division manners may be identical, or the sub-blocks within one block may be the same size and shape as the sub-blocks in another block, but the sub-blocks are arranged in different directions.
  • two blocks include a plurality of sub-blocks arranged in the horizontal direction or the vertical direction
  • the two blocks can be considered to be arranged in a similar manner.
  • the two adjacent blocks may each be a square, and the sub-blocks in each block may be non-square rectangular blocks and may be arranged in a horizontal or vertical direction, as shown in FIG.
  • the second sub-block and the first sub-block may both be located in the current image block, and of course, the second sub-block is not located outside the current image block.
  • the second sub-block may be an upper neighboring block or a left neighboring block of the first sub-block, or the second sub-block may be the block of the upper neighboring block and the left neighboring block of the first sub-block having the smallest prediction mode value. That is, only one neighboring block of the first sub-block that is similar to the first sub-block partitioning manner may be used as a reference for determining the most probable prediction mode of the first sub-block.
  • the prediction may be selected.
  • the block with the smallest mode value is used to determine the first sub-block A reference to the possible prediction mode.
  • FIG. 7 is a schematic diagram of sub-block partitioning within 8 ⁇ 8 blocks according to an embodiment of the present invention.
  • the 8 ⁇ 8 block is divided into four 4 ⁇ 4 sub-blocks, which are identified by labels 1, 2, 3, and 4, respectively.
  • a plurality of 1x4 blocks or 4x1 blocks may be further divided in each 4x4 block, wherein the sub-blocks 1 and the sub-blocks 4 have the same arrangement, and the sub-block 2 and the sub-block 3 have the same arrangement.
  • Each of the 4x4 blocks needs to have a prediction direction, and each 1x4 block or 4x1 block in the 4x4 block does not have to separately encode the prediction direction, that is, the prediction direction is encoded in units of 4x4 sub-blocks. Before encoding the prediction direction of 4x4 blocks, it is necessary to obtain the most probable prediction direction for each 4x4 block.
  • the prediction direction in which the prediction direction value is the smallest in the left adjacent block and the upper adjacent block of the current image block in which it is located may be taken as the most probable prediction direction of the first sub-block 1;
  • the most likely prediction direction is the prediction direction of the first sub-block 1; optionally, if the upper adjacent block of the second sub-block 2 (not shown) is also 1x4 or 4x1
  • the block composition is taken as the prediction direction with the smallest prediction direction value in the left adjacent block and the upper adjacent block as the most probable prediction direction of the second sub-block 2;
  • the most likely prediction direction is the prediction direction of the first sub-block 1; optionally, if the left adjacent block of the third sub-block 3 (not shown) is also 1x4 or 4x1
  • the block composition is taken as the prediction direction with the smallest prediction direction value in the left adjacent block and the upper adjacent block as the most probable prediction direction of the third sub-block 3; the small prediction direction is the most the fourth sub-block 4 It is possible to predict the direction.
  • FIG. 8 is a schematic diagram of another decoding method of an intra block prediction mode based on an image block according to an embodiment of the present invention, where the method includes:
  • S81 Obtain an identifier for indicating a prediction mode of the first sub-block in the current image block from the code stream, where the first sub-block includes a plurality of sub-blocks arranged in a horizontal direction or a vertical direction; S82: determining a second sub-block, using a prediction mode of the second sub-block as a most probable prediction mode of the first sub-block, where the second sub-block is adjacent to the first sub-block and includes horizontally or vertically Multiple sub-blocks arranged in a straight direction;
  • S83 Determine a prediction mode of the first sub-block according to the identifier and a most probable prediction mode of the first sub-block.
  • the code stream can not only convey the identification of the prediction mode of the image block, but also the division mode information of the image block, so that the decoding end can know how the coding end divides the image block.
  • FIG. 9 is a schematic structural diagram of an encoder according to an embodiment of the present invention, including: an obtaining unit 91, And acquiring a prediction mode of the first sub-block in the current image block and a prediction mode of the second sub-block in the current image block, the first sub-block being adjacent to the second sub-block and horizontally or vertically Arrange in direction
  • a determining unit 92 configured to use a prediction mode of the first sub-block as a most probable prediction mode of the second sub-block;
  • a code stream writing unit 93 configured to determine, according to a prediction mode of the second sub-block and a most probable prediction mode of the second sub-block, an identifier for indicating a prediction mode of the second sub-block, and write the identifier into the code In the stream.
  • the determining unit 92 is further configured to predict a block with the smallest prediction mode value among the upper adjacent block and the left adjacent block of the current image block.
  • the mode is used as the most probable prediction mode of the first sub-block
  • the code stream writing unit 93 is further configured to determine, according to the prediction mode of the first sub-block and the most probable prediction mode of the first sub-block, for indicating the first sub-block. Another identifier of the prediction mode is written and written into the code stream.
  • the encoder may further include a block dividing unit 94, configured to divide the current image block to obtain a horizontal direction or a vertical direction including the first sub-block and the second sub-block. a plurality of sub-blocks arranged in a straight direction; the code stream writing unit 93 is further configured to divide a current image block The information is written into the code stream.
  • a block dividing unit 94 configured to divide the current image block to obtain a horizontal direction or a vertical direction including the first sub-block and the second sub-block. a plurality of sub-blocks arranged in a straight direction; the code stream writing unit 93 is further configured to divide a current image block The information is written into the code stream.
  • FIG. 10 is a schematic structural diagram of a decoder according to an embodiment of the present invention, including:
  • a code stream reading unit 101 configured to acquire, from the code stream, an identifier for indicating a prediction mode of the second sub-block in the current image block;
  • a determining unit 102 configured to use a prediction mode of the first sub-block in the current image block as a most probable prediction mode of the second sub-block, where the first sub-block is adjacent to the second sub-block and in a horizontal direction or Arranged in the vertical direction;
  • the decoding unit 103 is configured to determine a prediction mode of the second sub-block according to the identifier and a most probable prediction mode of the second sub-block.
  • the code stream readout unit 101 is further configured to acquire another identifier for indicating a prediction mode of the first sub-block from the code stream;
  • the determining unit 102 is further configured to use, as a most probable prediction mode of the first sub-block, a prediction mode of a block in which a prediction mode value is the smallest among the upper neighboring block and the left neighboring block of the current image block;
  • the decoding unit 103 is further configured to determine a prediction mode of the first sub-block according to the another identifier and a most probable prediction mode of the first sub-block.
  • the code stream readout unit 101 is further configured to acquire, by using the code stream, the split mode information of the current image block.
  • the decoder further includes a block partitioning unit 104, configured to perform the partitioning manner according to the partitioning manner.
  • the current image block is divided to obtain a plurality of sub-blocks arranged in the horizontal direction or the vertical direction including the first sub-block and the second sub-block.
  • FIG. 11 is a schematic structural diagram of another encoder according to an embodiment of the present disclosure, where the encoder includes:
  • the obtaining unit 111 is configured to acquire a prediction mode of the first sub-block in the current image block, where the first sub-block includes a plurality of sub-blocks arranged in a horizontal direction or a vertical direction;
  • a determining unit 112 configured to determine a second sub-block, using a prediction mode of the second sub-block as a most probable prediction mode of the first sub-block, where the second sub-block is adjacent to the first sub-block and includes an edge Horizontal or vertical Multiple sub-blocks arranged in a straight direction;
  • a code stream writing unit 113 configured to determine, according to a prediction mode of the first sub-block and a most probable prediction mode of the first sub-block, an identifier for indicating a prediction mode of the first sub-block, and write the identifier into the code In the stream.
  • the determining unit 112 if the upper adjacent block of the first sub-block includes a plurality of sub-blocks arranged in a horizontal direction or a vertical direction, determining the upper adjacent block as the second sub-block Block; or, the left neighboring block is determined to be the second sub-block; or if the upper neighboring block and the left neighboring block of the first sub-block both include a plurality of horizontally or vertically arranged a sub-block, the block having the smallest prediction mode value among the upper neighboring block and the left neighboring block is determined as the second sub-block.
  • the determining unit 112 is further configured to: use a block that minimizes a prediction mode value among the upper adjacent block and the left adjacent block of the current image block.
  • the prediction mode is used as the most probable prediction mode of the second sub-block;
  • the code stream writing unit 113 is further configured to determine, according to the prediction mode of the second sub-block and the most probable prediction mode of the second sub-block, Another identification of the prediction mode of the sub-block and writing the other identification into the code stream.
  • FIG. 12 is a schematic structural diagram of another decoder according to an embodiment of the present disclosure, where the decoder includes:
  • the code stream reading unit 121 is configured to acquire, from the code stream, an identifier for indicating a prediction mode of the first sub-block in the current image block, where the first sub-block includes a plurality of sub-blocks arranged in a horizontal direction or a vertical direction.
  • a determining unit 122 configured to determine a second sub-block, using a prediction mode of the second sub-block as a most probable prediction mode of the first sub-block, where the second sub-block is adjacent to the first sub-block and includes a plurality of sub-blocks arranged in a horizontal direction or a vertical direction;
  • the decoding unit 123 is configured to determine a prediction mode of the first sub-block according to the identifier and a most probable prediction mode of the first sub-block.
  • the upper adjacent block of the first sub-block includes a plurality of sub-blocks arranged in a horizontal direction or a vertical direction
  • the upper adjacent block is determined as the second sub-block
  • the left adjacent block is determined as the second sub-block; or, if the upper adjacent block and the left adjacent block of the first sub-block each include a plurality of sub-blocks arranged in a horizontal direction or a vertical direction, A block having the smallest prediction mode value among the upper neighboring block and the left neighboring block is determined as the second sub-block.
  • the code stream readout unit 121 is further configured to acquire another identifier for indicating a prediction mode of the second sub-block from the code stream;
  • the determining unit 122 is further configured to use, as a most probable prediction mode of the second sub-block, a prediction mode of a block that is the smallest prediction mode value among the upper neighboring block and the left neighboring block of the current image block;
  • the unit 123 is further configured to determine a prediction mode of the second sub-block according to the another identifier and a most probable prediction mode of the second sub-block.
  • the codec provided by the embodiment of the present invention is respectively located at the encoding end and the decoding end for encoding and decoding the code stream, and by effectively predicting the most probable prediction mode of the image block, the most probable prediction mode of an image block is closer to its actual prediction.
  • the mode reduces the number of bits in the image block prediction mode reflected in the code stream, and improves the codec performance.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Abstract

La présente invention se rapporte à un procédé de codage et de décodage, ainsi qu'à un codec, basés sur un mode de prédiction Intra d'un bloc d'image. Le procédé selon l'invention consiste : à obtenir un mode de prédiction d'un premier sous-bloc dans un bloc d'image actuel et un mode de prédiction d'un second sous-bloc dans le bloc d'image actuel, le premier sous-bloc et le second sous-bloc étant adjacents l'un à l'autre et étant agencés dans la direction horizontale ou dans la direction verticale ; à considérer le mode de prédiction du premier sous-bloc comme le mode de prédiction le plus probable du second sous-bloc ; à déterminer un identifiant pour indiquer le mode de prédiction du second sous-bloc ; et à écrire cet identifiant dans un flux de code, sur la base du mode de prédiction du second sous-bloc et du mode de prédiction le plus probable du second sous-bloc. La solution technique de la présente invention permet de prédire efficacement le mode de prédiction le plus probable du bloc d'image. Il est ainsi possible d'économiser la charge de données utiles du flux de code.
PCT/CN2011/085195 2011-01-18 2011-12-31 Procédé de codage et de décodage, et codec, basés sur un mode de prédiction intra d'un bloc d'image WO2012097675A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110020668.9 2011-01-18
CN201110020668.9A CN102724493B (zh) 2011-01-18 2011-01-18 基于图像块的帧内预测模式的编解码方法和编解码器

Publications (1)

Publication Number Publication Date
WO2012097675A1 true WO2012097675A1 (fr) 2012-07-26

Family

ID=46515139

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/085195 WO2012097675A1 (fr) 2011-01-18 2011-12-31 Procédé de codage et de décodage, et codec, basés sur un mode de prédiction intra d'un bloc d'image

Country Status (2)

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

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109743577A (zh) * 2013-10-18 2019-05-10 华为技术有限公司 视频编解码中的块分割方式确定方法及相关装置
CN105120292B (zh) * 2015-09-09 2018-11-23 厦门大学 一种基于图像纹理特征的视频编码帧内预测方法
CN112514384A (zh) * 2019-01-28 2021-03-16 株式会社 Xris 视频信号编码/解码方法及其装置
CN110213581B (zh) * 2019-05-20 2023-03-07 广州市数字视频编解码技术国家工程实验室研究开发与产业化中心 一种基于块划分模式跳过的编码方法、装置及存储介质
CN112019841A (zh) * 2019-05-31 2020-12-01 富士通株式会社 视频编码方法及装置、电子设备
CN114303380B (zh) * 2019-08-27 2024-04-09 华为技术有限公司 用于几何划分标志的索引的cabac译码的编码器、解码器及对应方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1558039A1 (fr) * 2004-01-21 2005-07-27 Deutsche Thomson-Brandt Gmbh Procédé et dispositif de génération/évaluation d'information de prédiction dans le codage/décodage de signaux d'image
CN1656818A (zh) * 2002-05-28 2005-08-17 夏普株式会社 图像内预测模式估计、通信和组织的方法和系统
US20090161757A1 (en) * 2007-12-21 2009-06-25 General Instrument Corporation Method and Apparatus for Selecting a Coding Mode for a Block
CN101668202A (zh) * 2008-09-01 2010-03-10 中兴通讯股份有限公司 帧内预测模式的选择方法和装置
CN101790096A (zh) * 2009-01-24 2010-07-28 华为技术有限公司 基于二重预测的编解码方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100348051C (zh) * 2005-03-31 2007-11-07 华中科技大学 一种增强型帧内预测模式编码方法
CN101854551B (zh) * 2010-06-08 2012-08-15 浙江大学 帧内预测模式编解码方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1656818A (zh) * 2002-05-28 2005-08-17 夏普株式会社 图像内预测模式估计、通信和组织的方法和系统
EP1558039A1 (fr) * 2004-01-21 2005-07-27 Deutsche Thomson-Brandt Gmbh Procédé et dispositif de génération/évaluation d'information de prédiction dans le codage/décodage de signaux d'image
US20090161757A1 (en) * 2007-12-21 2009-06-25 General Instrument Corporation Method and Apparatus for Selecting a Coding Mode for a Block
CN101668202A (zh) * 2008-09-01 2010-03-10 中兴通讯股份有限公司 帧内预测模式的选择方法和装置
CN101790096A (zh) * 2009-01-24 2010-07-28 华为技术有限公司 基于二重预测的编解码方法及装置

Also Published As

Publication number Publication date
CN102724493A (zh) 2012-10-10
CN102724493B (zh) 2014-06-25

Similar Documents

Publication Publication Date Title
US11750809B2 (en) Encoding and decoding methods and apparatuses with multiple image block division manners
US20220385920A1 (en) Intra-Frame Prediction and Decoding Methods and Apparatuses for Image Signal
TW202106004A (zh) 核心轉換和次級轉換間之交互作用
JP5096561B2 (ja) イントラコーディングのためのモード一様性シグナリング
WO2018177300A1 (fr) Prédiction de transformations multiples
WO2020253828A1 (fr) Procédé et dispositif de codage et de décodage et support de stockage
US11778235B2 (en) Signaling coding of transform-skipped blocks
CN110546954A (zh) 二次转换核心尺寸选择
KR100587698B1 (ko) 선택적 예측 부호화/복호화 방법 및 장치
KR100624426B1 (ko) 파이프 라인 방식의 복호화 장치 및 방법과, 이 장치를제어하는 컴퓨터 프로그램을 저장하는 컴퓨터로 읽을 수있는 기록 매체
WO2012097675A1 (fr) Procédé de codage et de décodage, et codec, basés sur un mode de prédiction intra d'un bloc d'image
WO2015124058A1 (fr) Méthode et dispositif de codage et de décodage
JP2010515310A (ja) イントラフレーム予測符号化/復号化のための方法および装置
JP2009545919A5 (fr)
US11284077B2 (en) Signaling of subpicture structures
WO2010041856A2 (fr) Procédé et appareil permettant de traiter un signal video
WO2012167539A1 (fr) Procédé et dispositif de traitement de modes de prédiction intra-trame
TWI785502B (zh) 在分塊中指明切片之切片組塊的視訊編解碼方法及電子裝置
MX2012013263A (es) Metodos y aparatos para intracodificar un bloque que tiene pixeles asignados a grupos.
JP2023090929A (ja) ビデオ復号化方法、ビデオ復号化装置及び記憶媒体
TWI719612B (zh) 圖像和視訊處理中產生mpm 以進行幀內預測的方法和裝置
WO2012095037A1 (fr) Procédé et dispositif de codage et de décodage
JP2017212554A (ja) 符号化装置、復号装置及びプログラム
WO2023193260A1 (fr) Procédé de codage/décodage, flux de codes, codeur, décodeur et support de stockage
US20230403392A1 (en) Intra prediction method and decoder

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11856201

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11856201

Country of ref document: EP

Kind code of ref document: A1