WO2012119571A1 - Procédé de prédiction intra-trames et dispositif - Google Patents
Procédé de prédiction intra-trames et dispositif Download PDFInfo
- Publication number
- WO2012119571A1 WO2012119571A1 PCT/CN2012/072204 CN2012072204W WO2012119571A1 WO 2012119571 A1 WO2012119571 A1 WO 2012119571A1 CN 2012072204 W CN2012072204 W CN 2012072204W WO 2012119571 A1 WO2012119571 A1 WO 2012119571A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- edge
- pixel
- reference edge
- current block
- reference pixel
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/61—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/593—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
Definitions
- the present invention relates to video codec technology, and more particularly to an intra prediction method and apparatus in video codec technology.
- the basic principle of video coding compression is to use the correlation between airspace, time domain and codewords to remove redundancy as much as possible.
- a popular block-based hybrid video coding framework is adopted, that is, video coding compression is implemented at the encoding end by steps of prediction, transformation, quantization, entropy coding, etc., and at the decoding end, these steps are performed correspondingly to restore the pixels of the image. value.
- the prediction is that the pixel value of the adjacent image block of the current block to be coded is used as the reference pixel value of the current block, and the pixel value of the current block is predicted according to the reference pixel value.
- FIG. 1 is a schematic diagram of a codec method existing in the industry.
- 33 prediction directions are given.
- a reference pixel is obtained in the neighboring block for prediction.
- the unavailability of such neighboring blocks includes: the neighboring block is outside the boundary of the image in which the current block is located; the neighboring block is in a different slice from the current block; and adjacent to the encoding end The block has not been encoded or the neighboring block has not yet been decoded at the decoding end.
- the present invention provides an intra prediction method, including: obtaining a prediction direction of a current block, and obtaining reference pixels in a first reference edge and a second reference edge of the current block, where the prediction direction is from the The first reference edge points to the second reference edge; the current block is predicted according to the reference pixels in the first reference edge and the second reference edge of the current block, and the prediction direction.
- the obtaining the reference pixels in the first reference side and the second reference side of the current block includes starting from each reference pixel point on the first reference edge, along the prediction direction, from the second A reference point of each reference pixel on the first reference edge is obtained in the reference edge, and a pixel value of the reference point is used as a reference pixel of the first reference edge.
- the first reference edge includes a reference pixel point in an upper adjacent block or an upper right adjacent block of the current block
- the second reference edge includes a left adjacent block or a lower left of the current block a reference pixel in a neighboring block
- the first reference edge includes a reference pixel in a left neighboring block or a lower left neighboring block of the current block
- the second reference edge includes the The reference pixel in the upper adjacent block or the upper right adjacent block of the current block.
- the present invention also provides an intra prediction apparatus, including: a prediction direction obtaining module, configured to obtain a prediction direction of a current block; and a reference pixel obtaining module, configured to obtain a first reference edge and a second reference edge of the current block a reference pixel; and a prediction module, configured to predict the current block according to a reference pixel in the first reference side and the second reference side of the current block, and the prediction direction, wherein the prediction direction Pointing to the second reference edge from the first reference edge.
- a prediction direction obtaining module configured to obtain a prediction direction of a current block
- a reference pixel obtaining module configured to obtain a first reference edge and a second reference edge of the current block a reference pixel
- a prediction module configured to predict the current block according to a reference pixel in the first reference side and the second reference side of the current block, and the prediction direction, wherein the prediction direction Pointing to the second reference edge from the first reference edge.
- the reference pixel obtaining module includes: a reference pixel obtaining submodule, configured to obtain a first reference from the second reference edge along the prediction direction, starting from each reference pixel point on the first reference edge a reference point of each reference pixel on the side, and the pixel value of the reference point is used as a reference pixel of the first reference edge.
- the prediction method provided by the embodiment of the present invention when a neighboring block is unavailable, unreferenced, or the current block is a non-square block having different lengths and widths, a phase with higher similarity to the current block is obtained according to the prediction direction.
- the reference pixel value is obtained in the neighboring block. Due to the correlation between the prediction direction and the pixel distribution in the image, the prediction method provided by the embodiment of the present invention can obtain a better codec effect than the "fixed value" method in the prior art.
- FIG. 1 is a schematic diagram of a codec method in the prior art.
- FIG. 2 is a schematic diagram of an intra prediction method according to an embodiment of the present invention.
- FIG. 3 is a schematic diagram of an intra prediction method provided by a preferred embodiment of the present invention.
- FIG. 4 is a diagram showing an application of an intra prediction method according to an embodiment of the present invention.
- FIG. 5 is still another application diagram of an intra prediction method according to an embodiment of the present invention.
- FIG. 6 is a schematic diagram of an intra prediction apparatus according to an embodiment of the present invention.
- FIG. 7 is a schematic diagram of an intra prediction apparatus according to a preferred embodiment of the present invention.
- FIG. 8 is a schematic diagram of an intra prediction apparatus according to still another preferred embodiment of the present invention.
- FIG. 2 is a schematic diagram of a prediction method according to an embodiment of the present invention.
- the intra prediction method provided by the embodiment of the present invention includes:
- Step 201 Obtain a prediction direction of a current block, and reference pixels in a first reference edge and a second reference edge of the current block, where the prediction direction is from the first reference edge to the second reference side;
- Step 202 Perform prediction on the current block according to the reference pixels in the first reference edge and the second reference edge of the current block, and the prediction direction.
- the first reference edge may be a set of reference pixel points in an upper adjacent block or an upper right adjacent block of the current block, or may be the upper adjacent block.
- a set of reference pixel points in the upper right neighboring block, and the second reference side may be a set of reference pixel points in the left neighboring block or the lower left neighboring block of the current block, or may be A collection of reference pixel points for the left neighboring block and the lower left neighboring block.
- the first reference edge may also be a set of reference pixel points of a left neighboring block or a lower left neighboring block, or a set of reference pixel points of a left neighboring block and a lower left neighboring block.
- the second reference edge is correspondingly a set of reference pixel points of the upper adjacent block or the upper right adjacent block, or a set of reference pixel points of the upper adjacent block and the upper right adjacent block.
- the pixel prediction method provided by the embodiment of the present invention is to obtain reference pixels of reference pixel points of adjacent blocks that are not available according to the current prediction direction of the current block.
- the first reference edge is a set of reference pixel points of an upper neighboring block
- the second reference edge is a set of reference pixel points of a left neighboring block
- the prediction direction is from The first reference edge points to the second reference edge, that is, from the upper right to the lower left direction.
- the reference point corresponding to each reference pixel point of the upper neighboring block may be obtained from the left neighboring block according to the prediction direction.
- the pixel value is used as the reference pixel value of the upper adjacent block.
- the corresponding reference point of the lower left adjacent block may also be used.
- the pixel value is used as the reference pixel of the upper adjacent block.
- the reference pixels are also obtained from the left neighboring block and the lower left neighboring block of the current block according to the prediction direction.
- the prediction direction is from the lower left to the upper right. If the neighboring block is not available to the current block, the pixel value of the corresponding reference point is obtained from the upper neighboring block along the prediction direction starting from the reference pixel point of the left neighboring block. Comes as the reference pixel of the left neighboring block.
- the first reference side is a set of reference pixel points of the upper adjacent block
- the second reference side is a set of reference pixel points of the left adjacent block as an example.
- the first reference edge may also be a set of reference pixel points of the lower left adjacent block, a set of reference pixel points of the upper right adjacent block, a reference pixel point of the left adjacent block and the lower left adjacent block.
- the obtaining the reference pixels in the first reference edge and the second reference edge of the current block in the step 202 further includes:
- Step 2021 Starting from each reference pixel point on the first reference edge, obtaining, according to the prediction direction, a reference point of each reference pixel on the first reference edge from the second reference edge, and The pixel value of the reference point serves as a reference pixel of the first reference side.
- the step 202 may further include a step 2022: if the first reference pixel on the first reference edge cannot be from the second reference edge along the prediction direction.
- the reference pixel of the second reference pixel adjacent to the first reference pixel on the first reference edge is used as the reference pixel of the first reference pixel. That is, if the first reference pixel on the first reference edge cannot obtain a reference point from the second reference edge along the prediction direction, then the first reference edge is A reference pixel of a second reference pixel adjacent to the first reference pixel is used as a reference pixel of the first reference pixel.
- the intra-frame pixel prediction method provided by the present invention can also obtain a good effect.
- the adjacent block corresponding to the first reference edge includes an inter block (inter block), and the adjacent block corresponding to the second reference edge does not include an inter block.
- inter block should not be referred to to improve the ability to resist error expansion.
- the inter block is all Intra blocks, and the second reference edge can be referred to.
- the method proposed by the present invention can also be fully applied. The specific process is similar and will not be described again.
- the invention can be applied in certain special occasions even in the case where both the first reference side and the second reference side are available.
- the intra prediction method provided by the embodiment of the present invention may also be used. It is assumed that the length of the current block in the direction in which the first reference edge extends is smaller than the length of the current block in the direction in which the second reference edge extends. In this case, the difference between the pixel distribution of the current block and the upper adjacent block is greater than the current block. The difference in pixel distribution from the left neighboring block, therefore, prediction by the left neighboring block may result in better prediction. That is to say, in this case, the correlation between the current block and the second reference edge is greater than its correlation with the first reference edge, so that the current rectangular block can be utilized with the second reference edge based on the method proposed by the present invention. Make predictions.
- the prediction method provided by the embodiment of the present invention when a neighboring block is unavailable, unreferenced, or the current block is a non-square block having different lengths and widths, a phase with higher similarity to the current block is obtained according to the prediction direction.
- the reference pixel value is obtained in the neighboring block. Due to the correlation between the prediction direction and the pixel distribution in the image, the prediction method provided by the embodiment of the present invention can obtain a better codec effect than the "fixed value" method in the prior art.
- FIG. 6 is a schematic diagram of an intra prediction apparatus for performing an intra prediction method according to an embodiment of the present invention.
- the pixel prediction apparatus provided in the embodiment of the present invention includes:
- a prediction direction obtaining module 401 configured to obtain a prediction direction of the current block
- a reference pixel obtaining module 402 configured to obtain a reference pixel in the first reference side and the second reference side of the current block
- the prediction module 403 is configured to predict the current block according to the reference pixels in the first reference edge and the second reference edge of the current block, and the prediction direction,
- the reference pixel obtaining module 402 further includes:
- the reference pixel obtaining sub-module 4021 is configured to obtain, according to each prediction pixel on the first reference edge, a reference pixel point on the first reference edge from the second reference edge along the prediction direction. a reference point, and the pixel value of the reference point is used as a reference pixel of the first reference edge.
- the reference pixel obtaining module 402 may further include an adjacent reference pixel obtaining submodule 4022, if the first reference pixel edge on the first reference edge When the prediction direction cannot obtain a reference point from the second reference edge, the reference pixel of the second reference pixel adjacent to the first reference pixel on the first reference edge is used as the The reference pixel of the first reference pixel.
- the reference pixel obtaining module may further include a determining sub-module 4023, configured to determine whether a preset condition is met, where the preset condition includes: the first reference edge is unavailable, The second reference edge is available; or, the inter-block (inter block) exists in the neighboring block corresponding to the first reference edge, and the adjacent fast cell corresponding to the second reference edge does not exist (inter block) Or; the length of the current block along the extending direction of the first reference edge is smaller than the length of the current block along the extending direction of the second reference edge,
- the reference pixel obtaining sub-module takes a reference pixel point on the first reference edge as a starting point, and obtains a second direction from the second reference edge along the prediction direction.
- a reference point of each reference pixel on the reference edge, and the pixel value of the reference point is used as a reference pixel of the first reference edge.
- the present invention can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is a better implementation. the way.
- the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product, which may be stored in a storage medium such as a ROM/RAM or a disk. , an optical disk, etc., includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention or portions of the embodiments.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
La présente invention porte sur un procédé de prédiction intra-trames comprenant : l'obtention de la direction de prédiction du bloc courant et l'obtention des pixels de référence à un premier bord de référence et à un deuxième bord de référence du bloc courant, et la prédiction du bloc courant selon les pixels de référence au niveau du premier bord de référence et du deuxième bord de référence du bloc courant et de la direction de prédiction. L'opération d'obtention des pixels de référence à un premier bord de référence et à un deuxième bord de référence du bloc courant comprend : au moyen de chaque point de pixel de référence au niveau du premier bord de référence en tant que point de départ, l'obtention du point de référence de chaque point de pixel de référence au niveau du premier bord de référence à partir du deuxième bord de référence le long de la direction de prédiction, et l'utilisation de la valeur de pixel du point de référence en tant que pixel de référence du premier bord de référence. Dans le procédé de prédiction décrit dans les modes de réalisation de la présente invention, en raison de la corrélation entre la direction de prédiction et la distribution de pixels dans les images, des pixels de référence peuvent être obtenus à partir de blocs adjacents disponibles ou présentant une plus grande similarité avec le bloc courant selon la direction de prédiction, et des résultats de codage et de décodage relativement bons peuvent être obtenus.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201110057676.0A CN102685473B (zh) | 2011-03-10 | 2011-03-10 | 一种帧内预测方法和装置 |
| CN201110057676.0 | 2011-03-10 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2012119571A1 true WO2012119571A1 (fr) | 2012-09-13 |
Family
ID=46797512
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2012/072204 Ceased WO2012119571A1 (fr) | 2011-03-10 | 2012-03-12 | Procédé de prédiction intra-trames et dispositif |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN102685473B (fr) |
| WO (1) | WO2012119571A1 (fr) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106060564B (zh) * | 2016-06-16 | 2019-02-12 | 北京大学深圳研究生院 | 帧内预测参考像素点滤波控制方法、装置及编码器 |
| CN110876057B (zh) * | 2018-08-29 | 2023-04-18 | 华为技术有限公司 | 一种帧间预测的方法及装置 |
| CN110072112B (zh) | 2019-03-12 | 2023-05-12 | 浙江大华技术股份有限公司 | 帧内预测方法、编码器及存储装置 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1812582A (zh) * | 2005-01-25 | 2006-08-02 | 中国科学院计算技术研究所 | 一种帧内图像的亮度预测编码方法 |
| CN101133650A (zh) * | 2005-04-01 | 2008-02-27 | 松下电器产业株式会社 | 图像解码装置以及图像解码方法 |
| US20090201991A1 (en) * | 2008-02-13 | 2009-08-13 | Yong-Hyun Lim | Method for intra prediction coding of image data |
| CN101682781A (zh) * | 2008-01-18 | 2010-03-24 | 松下电器产业株式会社 | 图像编码方法以及图像解码方法 |
-
2011
- 2011-03-10 CN CN201110057676.0A patent/CN102685473B/zh active Active
-
2012
- 2012-03-12 WO PCT/CN2012/072204 patent/WO2012119571A1/fr not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1812582A (zh) * | 2005-01-25 | 2006-08-02 | 中国科学院计算技术研究所 | 一种帧内图像的亮度预测编码方法 |
| CN101133650A (zh) * | 2005-04-01 | 2008-02-27 | 松下电器产业株式会社 | 图像解码装置以及图像解码方法 |
| CN101682781A (zh) * | 2008-01-18 | 2010-03-24 | 松下电器产业株式会社 | 图像编码方法以及图像解码方法 |
| US20090201991A1 (en) * | 2008-02-13 | 2009-08-13 | Yong-Hyun Lim | Method for intra prediction coding of image data |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102685473A (zh) | 2012-09-19 |
| CN102685473B (zh) | 2015-03-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7650526B2 (ja) | 非直線の非長方形分割を用いた幾何学的分割におけるインター予測 | |
| CN102685477B (zh) | 获取用于合并模式的图像块的方法和设备 | |
| WO2011052897A2 (fr) | Procédé et appareil de codage/décodage de vecteurs de mouvement par segmentation spatiale, et procédé et appareil pour le codage/décodage d'images au moyen de ceux-ci | |
| US8204120B2 (en) | Method for intra prediction coding of image data | |
| WO2012097743A1 (fr) | Procédé et dispositif de codage et de décodage d'image | |
| CN117729327A (zh) | 用于帧内预测的方法和装置 | |
| JP2022523697A (ja) | 適応的な数の領域を伴う幾何学的分割におけるインター予測 | |
| US20130301730A1 (en) | Spatial domain prediction encoding method, decoding method, apparatus, and system | |
| WO2017005096A2 (fr) | Procédé et dispositif de codage de multiples flux vidéo | |
| WO2012122948A1 (fr) | Procédé de codage et de décodage d'images, dispositif de codage et de décodage d'images, et système de réseau | |
| WO2012097746A1 (fr) | Méthode et dispositif de codage-décodage | |
| CN102685505B (zh) | 帧内预测的方法和预测装置 | |
| CN120499377A (zh) | 具有区域数自适应的几何划分的形状自适应离散余弦变换 | |
| JP2022526547A (ja) | 画像処理方法および電子デバイス | |
| CN103327327A (zh) | 用于高性能视频编码hevc的帧间预测编码单元选择方法 | |
| WO2013056577A1 (fr) | Encodeur et décodeur de mode de prédiction de trames intra, procédé correspondant et dispositif électronique associé | |
| UA129306C2 (uk) | Кодер, декодер і відповідні способи адаптивного контурного фільтрування | |
| WO2018038316A1 (fr) | Procédé et dispositif de transmission d'informations de division de bloc dans un codec d'image pour caméra de sécurité | |
| WO2012119571A1 (fr) | Procédé de prédiction intra-trames et dispositif | |
| JP4922101B2 (ja) | 情報処理装置およびインター予測モード判定方法 | |
| CN103237223B (zh) | 基于熵的lcu快速划分 | |
| KR100644620B1 (ko) | 포스트 필터링을 적용한 동영상 디코딩 방법 및 그 장치 | |
| WO2010047492A2 (fr) | Codeur d'images animées, dispositif et procédé de transformation d'alignement 2d de signal d'image pour ledit codeur et support d'enregistrement s'y rapportant | |
| WO2008020470A1 (fr) | Procédé et dispositif de décodage | |
| CN118301365A (zh) | 基于二次运动搜索的视频编码方法、装置和电子设备 |
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: 12755223 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: 12755223 Country of ref document: EP Kind code of ref document: A1 |