CN1784016A - Intra prediction apparatus - Google Patents

Intra prediction apparatus Download PDF

Info

Publication number
CN1784016A
CN1784016A CN 200510127574 CN200510127574A CN1784016A CN 1784016 A CN1784016 A CN 1784016A CN 200510127574 CN200510127574 CN 200510127574 CN 200510127574 A CN200510127574 A CN 200510127574A CN 1784016 A CN1784016 A CN 1784016A
Authority
CN
China
Prior art keywords
intra prediction
prediction
intra
picture
candidates
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.)
Pending
Application number
CN 200510127574
Other languages
Chinese (zh)
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Publication of CN1784016A publication Critical patent/CN1784016A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

本发明提供了一种有助于提高画面质量和编码效率、并能够减轻计算负荷的内部预测装置。内部预测装置(11)包括用来通过适应图像数据的特征从多个内部预测方向中限定适用于构成该图像数据的多个像素块的内部预测方向候补的候补限定单元(111),和使用通过候补限定单元(111)所限定的内部预测方向来执行内部预测的内部预测执行单元(112)。由此,在有助于提供画面质量和编码效率的同时,能够减轻计算负荷。

Figure 200510127574

The present invention provides an intra-prediction device that helps to improve picture quality and coding efficiency, and can reduce calculation load. The intra prediction means (11) includes a candidate limiting unit (111) for defining candidates of intra prediction directions applicable to a plurality of pixel blocks constituting the image data from among a plurality of intra prediction directions by adapting to a feature of the image data, and using An intra prediction execution unit (112) that performs intra prediction based on the intra prediction direction defined by the candidate definition unit (111). Thereby, while contributing to improvement of image quality and coding efficiency, calculation load can be reduced.

Figure 200510127574

Description

内部预测装置internal predictor

技术领域technical field

本发明涉及一种可用于动画压缩等的内部预测装置,还涉及作为一种动画压缩方法的用来减少内部预测计算量的技术。The present invention relates to an internal prediction device that can be used for animation compression, etc., and also relates to a technology for reducing the calculation amount of internal prediction as an animation compression method.

背景技术Background technique

近年来,随着宽带等通信基础设施的普及和以个人计算机、HDD和DVD等为首的大容量存储装置、存储卡等价格的走低,普通消费者对图像进行编辑、存储、传送、携带的环境已经具备,使用者越来越多。In recent years, with the popularization of communication infrastructure such as broadband and the decline in the prices of large-capacity storage devices such as personal computers, HDDs, and DVDs, memory cards, etc., the environment where ordinary consumers edit, store, transmit, and carry images Already available, more and more users.

如此,一方面普通消费者处理图像的场景在增加,但是另一方面,即使现在个人计算机不断提高性能,还是不能在图像处理方面获得更好的性能。例如,如果图像信息量非常多,那么即使使用高性能的个人计算机进行动画压缩还是需要很多时间。作为解决该问题的策略,可以考虑以更少的计算量来处理相同编码性能的高效率计算方法。另外,如果执行高效率的计算,由于减少了耗电量,所以能够缓解便携式摄影器材电池寿命对于摄影时间的制约。以此为背景,从而可以不断寻求更高效率的动画压缩技术。In this way, on the one hand, the scenes of image processing by ordinary consumers are increasing, but on the other hand, even if the performance of personal computers is continuously improved, better performance in image processing cannot be obtained. For example, if the amount of image information is very large, it takes a lot of time to compress a movie even with a high-performance personal computer. As a strategy to solve this problem, high-efficiency computation methods that can handle the same encoding performance with less computation can be considered. In addition, if high-efficiency calculations are performed, the restriction of the battery life of portable photographic equipment on the photographing time can be alleviated due to the reduction of power consumption. Based on this background, more efficient animation compression techniques can be continuously sought.

其中,新产生的国际标准动画压缩规格H.264(例如,参考非专利文献1)以提高图像质量和编码效率为目的,采用了多种动画压缩方法。另外,H.264具有通过依次比较多种预测方法,并选择编码效率最好的预测方法进行编码的特征。Among them, the newly-produced international standard animation compression standard H.264 (for example, refer to Non-Patent Document 1) aims at improving image quality and coding efficiency, and adopts various animation compression methods. In addition, H.264 has the feature of sequentially comparing multiple prediction methods and selecting the prediction method with the best coding efficiency for encoding.

例如,在对图1所示图片I中包含的16×16像素宏块进行编码的情况下,对通过16份分割宏块得到的4×4像素的各个块从多个方向进行内部预测,同时,对宏块从多个方向上进行内部预测。For example, in the case of encoding a 16×16-pixel macroblock included in picture I shown in FIG. , perform intra-prediction on the macroblock from multiple directions.

作为其代表性的例子,4×4内部预测通过比较多种预测方法,选择编码效率最好的预测方法。As a typical example, 4×4 intra prediction compares multiple prediction methods and selects the prediction method with the best coding efficiency.

在该预测方法中,如图2所示那样,存在根据上部MB(宏块)计算预测像素值并预测垂直方向像素值的预测模式0(垂直)、根据相邻MB计算预测像素值并预测水平方向像素值的预测模式1(水平)、根据邻接MB计算预测像素值并预测在偏离水平方向±22.5-44.5度的方向上进行预测的预测模式8(水平-上)、预测模式6(水平-下)、预测模式4(对角-下-右)、根据邻接MB计算预测像素值来预测偏离垂直方向±22.5-44.5度的方向上进行预测的预测模式5(垂直-右)、预测模式7(垂直-左)、预测模式3(对角-下-左)的8个方向的预测处理,加上通过对根据邻接MB像素值平均进行预测的预测模式2(平均),总共9种。In this prediction method, as shown in FIG. 2, there are prediction mode 0 (vertical) which calculates the predicted pixel value from the upper MB (macroblock) and predicts the pixel value in the vertical direction, and calculates the predicted pixel value from the adjacent MB and predicts the horizontal direction. Prediction mode 1 (horizontal) for directional pixel values, prediction mode 8 (horizontal-up), prediction mode 6 (horizontal- Bottom), Prediction Mode 4 (Diagonal-Bottom-Right), Prediction Mode 5 (Vertical-Right), Prediction Mode 7 in which predictions are made in directions ±22.5-44.5 degrees off vertical by calculating predicted pixel values from adjacent MBs (Vertical-left), prediction processing in 8 directions of prediction mode 3 (diagonal-bottom-left), plus prediction mode 2 (average) which performs prediction based on the average of adjacent MB pixel values, a total of 9 types.

同样,16×16内部预测也具有多种预测方法。在这种16×16内部预测中具有相同种类上的4种的预测方法。Likewise, 16×16 intra prediction also has multiple prediction methods. There are four prediction methods of the same type in this 16×16 intra prediction.

对于16×16内部预测,如图3所示的那样,存在预测模式0(垂直)、预测模式1(水平)、预测模式2(平均)、预测模式3(平面)的预测方法。For 16×16 intra prediction, as shown in FIG. 3 , there are prediction methods of prediction mode 0 (vertical), prediction mode 1 (horizontal), prediction mode 2 (average), and prediction mode 3 (planar).

因此,在现有的内部预测装置中,如图4所示那样,如果输入图片I,那么就对块0计算有关9种预测模式的预测误差(绝对值差分和)。也就是,对于9种的预测模式,全部计算出参照像素和编码对象像素的差分值和绝对值差分和。从而,内部预测装置使用预测误差最小的预测作为内部预测。Therefore, in the conventional intra prediction apparatus, as shown in FIG. 4 , when picture I is input, prediction errors (absolute value difference sums) related to nine prediction modes are calculated for block 0 . That is, for all nine kinds of prediction modes, the difference value and the sum of absolute value differences between the reference pixel and the pixel to be encoded are calculated. Thus, the intra prediction means uses the prediction with the smallest prediction error as the internal prediction.

一旦结束块0的内部预测,内部预测装置就返回到上述相同的处理,并执行块1~块15的内部预测。Once the intra prediction of block 0 is finished, the intra prediction means returns to the same processing as described above, and performs intra prediction of blocks 1 to 15 .

一旦结束块15的内部预测,就对该宏块在4种预测模式上全部计算出参照像素和编码对象像素之间的差分值和绝对值差分和。从而,内部预测装置使用预测误差最小,也就是,使用例如在各个块的绝对值差分和的总数和宏块的绝对值差分和较小的一个作为内部预测。即,在各个块的绝对值差分和的总数小的情况下,内部预测装置输出有关各个块的差分值。与此相反,在宏块的绝对值差分和小的情况下,内部预测装置输出有关宏块的差分值。Once the intra prediction of the block 15 is completed, the difference value and the absolute value difference sum between the reference pixel and the pixel to be encoded are calculated in all four prediction modes for the macroblock. Thus, the intra prediction means uses the smallest prediction error, that is, uses, for example, the smaller one of the sum of absolute value difference sums at respective blocks and the absolute value difference sum of macroblocks as intra prediction. That is, in the case where the total sum of absolute value differences for each block is small, the intra prediction means outputs the difference value for each block. On the contrary, when the absolute value difference sum of the macroblocks is small, the intra prediction device outputs the difference value of the relevant macroblocks.

如此来对图片I进行数据压缩。In this way, data compression is performed on the picture I.

但是,如在上述例子中所示的那样,在现有的内部预测装置中,在作为现在所公开的国际标准、动画压缩方式H.264的内部预测中,通过用于提高画面质量的多种预测方法(4×4内部预测中为9种,16×16内部预测中为4种)来制作预测图像,由于从各种预测方法中选择最合适的预测方法,也就是由于根据编码时的结果选择了编码效率最高的处理,所以不能避免画质提高、编码效率提高而导致的编码计算量的增加,从而增大了开销和计算负荷。However, as shown in the above example, in the conventional intra prediction device, in the intra prediction of H.264, which is the international standard currently disclosed, the video compression method H.264 adopts various methods for improving picture quality. Prediction methods (9 types in 4×4 intra prediction, 4 types in 16×16 intra prediction) are used to create a predicted image. Since the most suitable prediction method is selected from various prediction methods, that is, due to the result of encoding The process with the highest encoding efficiency is selected, so the increase in the amount of encoding calculations caused by the improvement of image quality and the improvement of encoding efficiency cannot be avoided, thereby increasing the overhead and calculation load.

因此,现在为了实现高画质高效率的动画压缩技术,需要降低优化图像质量的H.264的编码计算量。Therefore, in order to realize high-quality and high-efficiency video compression technology, it is necessary to reduce the amount of H.264 encoding calculations that optimize image quality.

【非专利文献】《H.264用于普通视听服务的高级视频编码》(“H.264Advanced video coding for generic audiovisual services”,トリケツプス出版社发行)。[Non-patent literature] "H.264 Advanced Video Coding for Generic Audiovisual Services" ("H.264Advanced video coding for generic audiovisual services", published by トリケツプスPublishing House).

发明内容Contents of the invention

在此,本发明目的在于提供一种在有助于提高画质、编码效率的同时,能够减少计算负荷的内部预测装置。Here, an object of the present invention is to provide an intra prediction device capable of reducing calculation load while contributing to improvement of image quality and coding efficiency.

为了实现有关的目的,本发明人经过研究后发现:在通常使用邻接宏块(下面简略为MB)的像素进行预测的情况下,与邻接MB的像素的距离相比,像素间的相关性变得更低。在不考虑像素间的相关性,使用所有预测方向进行内部预测的情况下,本发明人注意到使用对编码效率没有帮助的预测方向进行内部预测会产生无用的处理。另外,本发明人还注意到如果在不对照图像特性而一意地进行内部预测的话,存在执行对于编码效率没有帮助的预测方向处理等不必要处理的问题。In order to achieve the related object, the present inventors have found after research that: in the case of usually using pixels of adjacent macroblocks (abbreviated as MB hereinafter) for prediction, the correlation between pixels becomes smaller than the distance between pixels of adjacent MBs. get lower. In the case of intra-prediction using all prediction directions regardless of inter-pixel correlation, the present inventors noticed that intra-prediction using prediction directions that do not contribute to coding efficiency would result in useless processing. Also, the present inventors have noticed that if intra prediction is performed without checking image characteristics, unnecessary processing such as prediction direction processing that does not contribute to coding efficiency is performed.

另外,在系统地处理预测方向以减少内部预测处理的方法来说,存在下面的问题。例如,在4×4内部预测中,首先评价通过水平方向和垂直方向的预测,根据该结果,决定进行下次评价的预测方向。在该方案中,本发明人注意到,即使在事先知道垂直方向的预测对编码效率没有帮助的情况下,也需要通过垂直方向进行再次评价,从而存在通过不需要的垂直方向执行预测的问题。In addition, there are the following problems in the method of systematically handling prediction directions to reduce internal prediction processing. For example, in 4×4 intra prediction, the prediction in the horizontal direction and the vertical direction is first evaluated, and based on the result, the prediction direction for the next evaluation is determined. In this scheme, the inventors noticed that even if it is known in advance that the prediction in the vertical direction does not contribute to the coding efficiency, re-evaluation in the vertical direction is required, so there is a problem of performing prediction in the unnecessary vertical direction.

根据这些注意点,想到了本发明。Based on these points of attention, the present invention was conceived.

为了解决上述问题,有关本发明的内部预测装置的特征在于包括:用来从适应于图像数据的特征的多个内部预测方向中限定适用于构成该图像数据的多个像素块的内部预测方向候补的候补限定装置,和使用通过所述候补限定装置所限定的内部预测方向执行内部预测的内部预测执行装置。In order to solve the above-mentioned problems, the intra prediction device according to the present invention is characterized in that it includes a method for limiting candidate intra prediction directions suitable for a plurality of pixel blocks constituting the image data from among a plurality of intra prediction directions adapted to the characteristics of the image data. candidate defining means, and intra prediction performing means for performing intra prediction using the intra prediction direction defined by said candidate defining means.

也就是,本发明在执行内部预测时,根据图像的特点,事先省略了对于编码效率有害的处理和在编码效率上不产生差别的处理。That is, the present invention omits in advance processes that are harmful to encoding efficiency and processes that do not make a difference in encoding efficiency according to the characteristics of images when performing intra prediction.

由此,在有助于提高画质和编码效率的同时,可以减轻计算负荷。Thus, while contributing to the improvement of image quality and coding efficiency, the calculation load can be reduced.

在有关本发明的内部预测装置中,所述候补限定装置的特征在于能够根据作为所述图像特征的像素纵横比限定内部预测方向的候补。In the intra prediction device according to the present invention, the candidate limiting means can limit candidates for an intra prediction direction based on a pixel aspect ratio that is a feature of the image.

另外,在有关本发明的内部预测装置中,所述纵横比的特征在于可以从图像信号输入机器和来自视频流内外所得到的信息的任何一个中获得。In addition, in the intra prediction device related to the present invention, the aspect ratio characteristic can be obtained from any one of image signal input equipment and information obtained from inside and outside of the video stream.

另外,在有关本发明的内部预测装置中,所述候补限定装置的特征在于使用根据所述像素纵横比在原始图像中的邻接像素间的水平和垂直距离作为内部预测的水平方向和垂直方向的预测的可信度,来限定内部预测方向候补。Also, in the intra prediction device according to the present invention, the candidate limiting means is characterized by using the horizontal and vertical distances between adjacent pixels in the original image according to the pixel aspect ratio as the horizontal and vertical distances of the intra prediction. Confidence of predictions to limit candidates for internal prediction directions.

另外,在有关本发明的内部预测装置中,所述候补限定装置的特征在于可以通过表示是否是隔行扫描和逐行扫描的任何一种来根据作为所述图像数据特点的图片构造信息限定内部预测方向的候补。In addition, in the intra prediction device according to the present invention, the candidate limiting means is characterized in that the intra prediction can be limited based on picture structure information characteristic of the image data by indicating whether it is either interlaced scanning or progressive scanning. alternate direction.

另外,在有关本发明的内部预测装置中,所述图片构造信息的特征在于能够从图像信号输入机器和来自视频流内外所得到的信息的任何一方获得。In addition, in the intra prediction device according to the present invention, the picture structure information is characterized in that it can be obtained from any one of the image signal input device and information obtained from inside or outside the video stream.

另外,在有关本发明的内部预测装置中,所述候补限定装置的特征在于,在所述图片构造信息表示隔行扫描的情况下,能够从候补中优先排除包含在所述内部预测方向中的垂直-右方向和垂直-左方向。In addition, in the intra prediction device according to the present invention, the candidate limiting means is characterized in that, when the picture structure information indicates interlaced scanning, the vertical direction included in the intra prediction direction can be preferentially excluded from the candidates. -right direction and vertically-left direction.

另外,在有关本发明的内部预测装置中,所述候补限定装置的特征在于,在所述图片构造信息表示隔行扫描的情况下,能够从候补中优先排除包含在所述内部预测方向中的垂直-右方向、垂直-左方向、以及对角-下-右方向和对角-下-左方向。In addition, in the intra prediction device according to the present invention, the candidate limiting means is characterized in that, when the picture structure information indicates interlaced scanning, the vertical direction included in the intra prediction direction can be preferentially excluded from the candidates. - right direction, vertical-left direction, and diagonal-bottom-right direction and diagonal-bottom-left direction.

另外,在有关本发明的内部预测装置中,所述候补限定装置的特征在于,在所述图片构造信息表示隔行扫描的情况下,能够从候补中优先排除包含在所述内部预测方向中的平均方向。In addition, in the intra prediction device according to the present invention, the candidate limiting means is characterized in that, when the picture structure information indicates interlaced scanning, an average value included in the intra prediction direction can be preferentially excluded from the candidates. direction.

另外,在有关本发明的内部预测装置中,所述候补限定装置的特征在于,在所述图片构造信息表示隔行扫描的情况下,能够从候补中优先排除包含在所述内部预测方向的平均方向和垂直方向。In addition, in the intra prediction device according to the present invention, the candidate limiting means can preferentially exclude an average direction included in the intra prediction direction from the candidates when the picture structure information indicates interlaced scanning. and vertical direction.

另外,在有关本发明的内部预测装置中,所述候补限定装置的特征在于,在使用有关动画压缩方式的图片级自适应(Pict-Level Adaptive)进行编码时,可以限定相应于图片构造信息的内部预测方向候补。In addition, in the intra prediction device according to the present invention, the candidate limiting means is characterized in that when encoding is performed using a picture-level adaptive (Pict-Level Adaptive) related to a moving picture compression method, it is possible to limit Candidates for the internal forecast direction.

另外,在有关本发明的内部预测装置中,所述图片构造信息是场构造和帧构造中的任意一个,所述候补限定装置的特征在于,在使用有关动画压缩方式的宏块级自适应(MB-Level Adaptive)进行编码时,当通过切换场构造上的一对宏块对和帧构造上的一对宏块对进行预测时,可以相应于该宏块对是场构造还是帧构造的信息限定内部预测候补。In addition, in the intra prediction device according to the present invention, the picture structure information is any one of field structure and frame structure, and the candidate limiting means is characterized in that it uses macroblock-level adaptive ( MB-Level Adaptive) encoding, when predicting by switching a pair of macroblock pairs on the field structure and a pair of macroblock pairs on the frame structure, it can correspond to the information of whether the macroblock pair is a field structure or a frame structure Limit internal forecast candidates.

另外,在有关本发明的内部预测装置中,所述候补限定装置的特征在于,能够基于对编码顺序在先的原始图像或编码图像所得到的结果,限定内部预测方向的候补。In addition, in the intra prediction device according to the present invention, the candidate limiting means can limit candidates for an intra prediction direction based on a result obtained for an original picture or a coded picture having a preceding encoding order.

根据上述,能够容易地限定内部预测方向的候补。According to the above, candidates for intra prediction directions can be easily limited.

另外,在有关本发明内部预测装置中,特征在于可以使用编码对象的图像的前1个原始图像或编码图像作为编码顺序在先的原始图像或编码图像。Also, in the intra prediction device according to the present invention, it is possible to use an original picture or a coded picture immediately preceding a picture to be coded as an original picture or a coded picture preceding in coding order.

由此,该在先原始图像或编码图像与编码对象的图像之间的相关性能够变高,并能够精确地限定内部预测方向。As a result, the correlation between the preceding original image or encoded image and the image to be encoded can be increased, and the intra prediction direction can be precisely defined.

另外,在有关本发明的内部预测装置中,特征在于所述结果是从编码顺序在先的编码图像所得到的动态向量,所述候补限定装置可以基于所述动态向量的方向限定内部预测方向的候补。In addition, in the intra prediction device according to the present invention, the result is a motion vector obtained from a coded picture preceding in coding order, and the candidate limiting means can limit the direction of the intra prediction based on the direction of the motion vector. alternate.

由此,在图像中存在动画的情况下,能够精确并高效地从已知动态向量中排除相关性低的内部预测方向候补。As a result, when a moving image exists in an image, it is possible to accurately and efficiently exclude intra-prediction direction candidates with low correlation from known motion vectors.

另外,在有关本发明的内部预测装置中,特征在于,作为所述动态向量,可以使用有关表示与编码对象的宏块的空间相同的位置、包含该空间相同位置周围的位置和图像整体的任何一个单位区域的动态向量。In addition, in the intra prediction device according to the present invention, it is characterized in that, as the motion vector, any data representing the spatial same position as the macroblock to be coded, positions including the surroundings of the spatial same position, and the entire image can be used. A motion vector for a unit area.

由此,能够提高对于编码对象宏块的动态向量的精度,并能够精确有效地从该动态向量中排除相关性低的内部预测方向候补。As a result, the accuracy of the motion vector for the macroblock to be coded can be improved, and intra prediction direction candidates with low correlation can be accurately and efficiently excluded from the motion vector.

另外,在有关本发明的内部预测装置中,特征在于所述结果是可以从编码顺序在先的编码图像所得到的内部预测方向,所述候补限定装置可以基于所述内部预测方向限定内部预测方向的候补。In addition, in the intra prediction device according to the present invention, the result is an intra prediction direction obtained from a coded picture preceding in coding order, and the candidate limiting means can limit the intra prediction direction based on the intra prediction direction. alternate.

由此,不受图像活动情况的约束,能够精确并有效地从已知内部预测方向中排除相关性低的内部预测方向候补。As a result, it is possible to accurately and efficiently exclude intra prediction direction candidates with low correlation from known intra prediction directions without being restricted by image motion conditions.

另外,在本发明的内部预测装置中,特征在于,作为所述内部预测方向,可以使用有关与编码对象宏块的空间相同的位置和包含该空间相同位置周围的位置的宏块的内部预测方向。In addition, in the intra prediction device of the present invention, it is characterized in that, as the intra prediction direction, an intra prediction direction related to a macroblock at the same spatial position as the current macroblock and a position including the surroundings of the spatial same position can be used. .

由此,能够提高对编码对象宏块的内部预测方向的精度,并能够精确并有效地从该内部预测方向排除相关性低的内部预测方向候补。As a result, the accuracy of the intra prediction direction for the current macroblock can be improved, and intra prediction direction candidates with low correlation can be accurately and efficiently excluded from the intra prediction direction.

另外,在有关本发明的内部预测装置中,特征在于所述结果是所述编码顺序在先的原始图像或编码图像的邻接像素差分,所述候补限定装置能够基于所述邻接像素差分限定内部预测方向候补。In addition, in the intra prediction device according to the present invention, the result is an adjacent pixel difference of the original image or encoded image preceding the encoding order, and the candidate limiting means can limit the intra prediction based on the adjacent pixel difference. direction alternate.

由此,在图像活动较少的情况下,能够精确并有效地从已知的像素差分中排除相关性较低的内部预测方向候补。Accordingly, when there is little image motion, it is possible to accurately and efficiently exclude intra-prediction direction candidates with low correlation from known pixel differences.

在本发明所涉及的内部预测装置中,其特征在于能够根据所述内部预测装置的处理性能,所述候补限定装置从所述内部预测方向的候补中调整限定数。In the intra prediction device according to the present invention, it is characterized in that the candidate limiting means can adjust the limited number of candidates for the intra prediction direction according to the processing performance of the intra prediction device.

再有,本发明并不仅仅能够作为这样的内部预测装置来实现,还可以将这种内部预测装置所具备的特征以步骤作为内部预测方法来实现,还可以将这些步骤作为在计算机中可以执行的程序来实现。因此,不言而喻,这种程序可以通过CD-ROM等记录介质和因特网等传送媒介进行传送。而且,还可以作为具备上述内部预测装置的图像编码装置来实现。In addition, the present invention can not only be realized as such an internal prediction device, but also can realize the characteristics of this internal prediction device as an internal prediction method in steps, and these steps can also be implemented as a method that can be executed in a computer. program to achieve. Therefore, it goes without saying that such a program can be delivered via a recording medium such as a CD-ROM and a transmission medium such as the Internet. Furthermore, it can also be realized as an image coding device including the above-mentioned intra prediction device.

如从上述描述可以看出的那样,根据有关本发明的内部预测装置,仍然可以维持高画质和高编码效率,并能够减轻内部预测的计算处理。As can be seen from the above description, according to the intra prediction device related to the present invention, high image quality and high encoding efficiency can be maintained, and calculation processing for intra prediction can be reduced.

也就是,虽然内部预测是通过从周围像素复制像素值来形成预测图像的处理,但是在内部预测中,因为使用多个预测方向来选择高的编码效率,结果没有选择的预测方向的计算变得冗长。因此,由于对于编码效率没有帮助,所以就减少编码计算量来说,省略对编码效率不太产生差别的内部预测是有效的。另外,在隔行扫描方式的场图像中,为了减少该冗长,通过不使用事先在编码效率上没有产生差别的预测方式,能够减轻有关内部预测的负荷。另外,通过使用图像的特点,从而可以减少相应于图像的内部预测处理,并且与现有方法相比,处理效率更高。That is, although intra prediction is a process of forming a predicted image by copying pixel values from surrounding pixels, in intra prediction, since a plurality of prediction directions are used to select high encoding efficiency, the calculation of the non-selected prediction direction becomes lengthy. Therefore, since it does not contribute to encoding efficiency, it is effective to omit the intra prediction that does not make much difference in encoding efficiency in terms of reducing the amount of encoding calculation. Also, in order to reduce this redundancy in field images of the interlaced scanning method, it is possible to reduce the load on intra prediction by not using a prediction method that does not cause a difference in coding efficiency in advance. In addition, by using the characteristics of the image, the internal prediction processing corresponding to the image can be reduced, and the processing efficiency is higher compared with the existing method.

因此,在数码相机和具有照相机的移动电话等广泛普及的今天,本发明的实用价值极高。Therefore, the practical value of the present invention is extremely high in today's widespread use of digital cameras and mobile phones with cameras.

附图说明Description of drawings

图1是表示包含在图片I中的16×16像素的宏块和4×4像素的各块之间的关系的图。FIG. 1 is a diagram showing the relationship between a macroblock of 16×16 pixels included in a picture I and each block of 4×4 pixels.

图2是表示4×4内部预测方向的图。FIG. 2 is a diagram showing directions of 4×4 intra prediction.

图3是表示16×16内部预测方向的图。FIG. 3 is a diagram showing directions of 16×16 intra prediction.

图4是表示现有内部预测装置执行的预测处理的顺序图。FIG. 4 is a sequence diagram showing prediction processing performed by a conventional intra prediction device.

图5是表示适用于有关本发明实施例的内部预测装置的图像编码装置1的整体结构的功能方框图。FIG. 5 is a functional block diagram showing the overall structure of an image encoding device 1 applied to the intra prediction device according to the embodiment of the present invention.

图6是表示使用图像特征量的内部预测装置11的功能结构的方框图。FIG. 6 is a block diagram showing the functional configuration of the intra prediction device 11 using image feature quantities.

图7是表示内部预测装置11的各部分执行的详细处理的顺序图。FIG. 7 is a sequence diagram showing detailed processing performed by each part of the intra prediction device 11 .

图8是表示使用图片构造情况的内部预测装置11的功能结构的方框图。FIG. 8 is a block diagram showing the functional configuration of the intra prediction device 11 using a picture structure.

图9是表示使用纵横比情况的内部预测装置11的功能结构的方框图。FIG. 9 is a block diagram showing the functional structure of the intra prediction means 11 using the aspect ratio.

图10是表示有关4×4内部预测在原始图像和场之间的角度偏离的图。Fig. 10 is a diagram showing the angular deviation between the original picture and the field for 4x4 intra prediction.

图11是表示有关16×16内部预测在场的像素位置和原始图像的像素位置之间的距离关系的图。FIG. 11 is a diagram showing the distance relationship between the pixel position of the 16×16 intra prediction field and the pixel position of the original image.

图12是表示使用动态向量、预测模式和像素计算信息的内部预测装置11的功能结构的方框图。FIG. 12 is a block diagram showing the functional structure of the intra prediction means 11 using motion vectors, prediction modes, and pixel calculation information.

图13是用于说明通过动态向量进行预测方向候补决定的图。特别是,图13(a)是表示按照编码顺序排列的原始图像的图,图13(b)是表示按照编码顺序排列的编码图像的图,图13(c)是表示编码顺序在先的编码图像和编码对象的图像之间的关系的图。FIG. 13 is a diagram for explaining determination of prediction direction candidates using motion vectors. In particular, Fig. 13(a) is a diagram showing the original images arranged in the coding order, Fig. 13(b) is a diagram showing the coded images arranged in the coding order, and Fig. 13(c) is a diagram showing the coded images in the coding order first A graph of the relationship between images and images of encoded objects.

图14是用于说明通过预测模式进行预测方向候补决定的图。特别是,图14(a)是表示按照编码顺序排列的原始图像的图,图14(b)是表示按照编码顺序排列的编码图像的图,图14(c)是表示编码顺序在先的编码图像和编码对象图像之间的关系的图。FIG. 14 is a diagram for explaining determination of prediction direction candidates by prediction mode. In particular, Fig. 14(a) is a diagram showing original images arranged in coding order, Fig. 14(b) is a diagram showing coded images arranged in coding order, and Fig. 14(c) is a diagram showing coded images arranged in coding order first. A diagram of the relationship between an image and an encoding target image.

图15是表示候补限定单元111使用已知结果、内部预测限定内部预测候补的内部预测候补限定处理操作的流程图。FIG. 15 is a flowchart showing the operation of the intra-prediction candidate limiting process in which the candidate limiting unit 111 limits intra-prediction candidates using known results, intra-prediction.

具体实施方式Detailed ways

下面,参照附图对有关本发明实施例的内部预测装置加以说明。Next, an intra prediction device according to an embodiment of the present invention will be described with reference to the drawings.

图5是表示适用于有关本发明实施例的内部预测装置的编码装置1的整体结构的功能方框图。FIG. 5 is a functional block diagram showing the overall configuration of an encoding device 1 applied to an intra prediction device according to an embodiment of the present invention.

编码装置1用来对图片I进行内部(画面内)预测编码、对图片P和图片B进行外部(画面间)编码的装置,如图1所示那样,其包括内部预测装置11、减法器12、模式切换开关13、变换单元14、量化单元15、熵编码单元16、外部预测单元17和编码控制单元18等。另外,外部预测单元17可以由模式切换开关170、逆量化单元171、逆变换单元172、加法器173、环形滤波器174、帧存储器175、动态预测单元176和动态补充单元177等构成。Encoding device 1 is used to perform internal (intra-picture) predictive coding on picture I, and external (inter-picture) coding on picture P and picture B. As shown in FIG. , a mode switch 13, a transform unit 14, a quantization unit 15, an entropy encoding unit 16, an external prediction unit 17, an encoding control unit 18, and the like. In addition, the external prediction unit 17 can be composed of a mode switch 170, an inverse quantization unit 171, an inverse transformation unit 172, an adder 173, a loop filter 174, a frame memory 175, a dynamic prediction unit 176, and a dynamic supplementary unit 177.

就要被外部编码的图片来说,成为该编码对象的图片被分割成称作宏块的例如水平16×垂直16像素的块(宏块),并被以块为单元执行以下的处理。Regarding a picture to be externally coded, the picture to be coded is divided into blocks (macroblocks) of, for example, 16 horizontal by 16 pixels called macroblocks, and the following processing is performed in units of blocks.

对于作为编码对象的图片,通过在减法器12中取得作为动态补偿单元177的输出的预测图像信号之间的差分,可以变换成差分图像。差分图像被通过模式切换开关13输出到变换单元14。A picture to be coded can be converted into a difference image by obtaining the difference between predicted image signals output from motion compensation section 177 in subtracter 12 . The differential image is output to the transformation unit 14 through the mode switching switch 13 .

通过变换单元14将差分图像从时间轴变换成频率轴,并由量化单元15进一步执行量化,生成由变换系数构成的残差信号。The difference image is transformed from the time axis to the frequency axis by the transform unit 14, and quantization is further performed by the quantization unit 15, generating a residual signal composed of transform coefficients.

该残差信号通过外部预测单元17被本地解码。即,残差信号在逆量化单元171中被逆量化。从而,逆变换单元172通过进行逆频率变换等图像解码处理,生成残差解码信号。加法器173通过相加残差解码信号和预测图像信号,生成重构图像信号。所得到的重构图像信号在通过环形滤波器174除去块失真后,被存储在帧存储器175中。This residual signal is locally decoded by the outer prediction unit 17 . That is, the residual signal is inversely quantized in the inverse quantization unit 171 . Accordingly, inverse transform section 172 generates a residual decoded signal by performing image decoding processing such as inverse frequency transform. The adder 173 generates a reconstructed image signal by adding the residual decoded signal and the predicted image signal. The obtained reconstructed image signal is stored in the frame memory 175 after the block distortion is removed by the loop filter 174 .

另一方面,从帧存储器175中读出的宏块单位的输入图像信号被输入到动态预测单元176。在此,以存储在帧存储器175中的1个或多个编码完毕的图片为探索对象,通过检测最接近输入图像信号的图像区域来确定指示该位置的动态向量和参照图片索引,该索引指示了此时所选择的图片。动态向量的检测是以进一步分割成宏块的单位来执行的。动态预测单元176使用所得到的动态向量和参照图片索引,从存储在帧存储器175中编码完毕的图片中取出最合适的图像区域,并生成预测图像。On the other hand, the input image signal in units of macroblocks read from frame memory 175 is input to motion prediction section 176 . Here, one or more coded pictures stored in the frame memory 175 are searched for, and the image region closest to the input image signal is detected to determine a motion vector indicating the position and a reference picture index. The index indicates The picture selected at this time is displayed. Detection of motion vectors is performed in units that are further divided into macroblocks. Motion prediction section 176 uses the obtained motion vector and reference picture index to extract the most suitable image area from the coded pictures stored in frame memory 175 to generate a predicted image.

对于通过上述一连串处理所输出的动态向量、参照图片索引、残差编码信号等编码信息,通过在熵编码单元16中实施可变长编码,可以通过该编码处理输出数据量较少的比特流。Entropy coding section 16 performs variable-length coding on coded information such as motion vectors, reference picture indexes, and residual coded signals output through the series of processes described above, so that a bit stream with a small amount of data can be output through the coding process.

以上处理的流程虽然是在执行画面间预测编码情况下的操作,但是也可以通过开关114和开关115切换到画面内预测编码。Although the flow of the above processing is the operation in the case of performing inter-picture predictive coding, it can also be switched to intra-picture predictive coding through the switch 114 and switch 115 .

执行内部编码的情况并不通过动态补偿生成预测图像,在内部预测装置11中,根据同一画面内编码完毕的区域生成编码对象区域的预测图像,并通过取差分生成差分图像信号。另外,在后面对此进行详细描述。与外部编码的情况相同,该差分图像信号在变换单元14和量化单元15中被变换成残差编码信号,并在熵编码单元16中实施可变长编码,从而输出数据量较少的比特流。When performing intra coding, instead of generating a predicted image by motion compensation, the intra prediction device 11 generates a predicted image of the coding target region from coded regions in the same frame, and generates a difference image signal by taking a difference. In addition, this will be described in detail later. As in the case of external encoding, this difference image signal is converted into a residual coded signal in the transform unit 14 and the quantization unit 15, and variable-length coding is performed in the entropy coding unit 16, thereby outputting a bit stream with a small amount of data .

下面,对图5所示内部预测装置11的详细结构进行说明。Next, a detailed configuration of the intra prediction device 11 shown in FIG. 5 will be described.

图6是表示使用图像特征量的内部预测装置11的功能结构的方框图。另外,还在该图中显示了包括编码控制单元18的图像特征量输入单元181。FIG. 6 is a block diagram showing the functional configuration of the intra prediction device 11 using image feature quantities. In addition, the figure also shows an image feature quantity input unit 181 including the encoding control unit 18 .

编码控制单元18的图像特征量输入单元181取得添加到视频流内外的信息和图像输入机器所具有的信息作为图像特征量,并向内部预测装置11输出所取得的图像特征量。The image feature input unit 181 of the encoding control unit 18 acquires information added to and from the video stream and information possessed by the image input device as image features, and outputs the acquired image features to the intra prediction device 11 .

内部预测装置11具有用来从合并到该图像特征的多个中限定适用于构成图像的多个像素的每个块的内部预测方向候补的候补限定单元111,和对通过候补限定单元111所限定的内部预测方向执行内部预测的内部预测执行单元112。另外,内部预测执行单元112具有用来计算有关各预测模式的参照像素和编码对象像素的差分值、计算出绝对值差分值的预测误差计算单元,与变换单元14相同功能的变换单元,与量化单元15相同功能的量化单元,与逆量化单元171相同功能的逆量化单元,与逆变换单元172相同功能的逆变换单元,和从参照像素的像素值和差分值复原出复原图像的像素值的逆预测单元。The intra prediction means 11 has a candidate defining unit 111 for defining an intra prediction direction candidate applicable to each block of a plurality of pixels constituting an image from among a plurality of features incorporated into the image, and the candidate defining unit 111 defines The intra prediction execution unit 112 performs intra prediction for the intra prediction direction. In addition, the intra-prediction execution unit 112 has a prediction error calculation unit for calculating the difference value between the reference pixel and the coding target pixel for each prediction mode, and calculates the absolute value difference value, a transformation unit with the same function as the transformation unit 14, and a quantization A quantization unit with the same function as unit 15, an inverse quantization unit with the same function as the inverse quantization unit 171, an inverse transformation unit with the same function as the inverse transformation unit 172, and a method for restoring the pixel value of the restored image from the pixel value and difference value of the reference pixel Inverse prediction unit.

候补限定单元111首先根据来自图像特征量输入单元181的图像特征量限定内部预测方向候补。Candidate limiting section 111 first limits intra prediction direction candidates based on image feature quantities from image feature quantity input section 181 .

接着,内部预测执行单元112对通过候补限定单元111所限定的内部预测方向执行内部预测。也就是,计算预测误差,并使用最小的预测误差作为内部预测。Next, the intra prediction performing unit 112 performs intra prediction on the intra prediction directions defined by the candidate defining unit 111 . That is, the forecast error is calculated and the smallest forecast error is used as the inner forecast.

在内部预测中,在图像的特征量和内部预测方向的预测精度之间存在相关性。In intra prediction, there is a correlation between the feature amount of an image and the prediction accuracy of the intra prediction direction.

通过使用从图像特征量类推出的高预测精度的预测方向作为预测方向候补,能够优先省略预测精度低的预测方向和预测精度没有变为其它的预测方向,并能够减轻内部预测处理的负荷。在此所述的图像特征量包含通过对图像和像素计算求得的特征量和摄像元件等图像输入机器所具有的特性等其它外部因素。By using prediction directions with high prediction accuracy derived from image feature classes as prediction direction candidates, it is possible to preferentially omit prediction directions with low prediction accuracy and other prediction directions with no change in prediction accuracy, and reduce the load of intra-prediction processing. The image feature amount mentioned here includes other external factors such as feature amount obtained by calculating images and pixels, and characteristics of image input devices such as imaging devices.

例如,摄影时,使用将照相机在水平方向旋转的摄影镜头。该摄影镜头可以通过设置在例如照相机中的陀螺传感器来检测。另外,根据该图像的前后动态向量也可以检测摄影镜头。一旦取出该摄影镜头旁的图像的1个帧,就在横向方向上形成像素间相关性很强的帧。根据该像素间的相关性,可以估计内部预测方向的预测精度,并能够预先减去预测精度低的内部预测方向候补。For example, in photography, a photographic lens that rotates the camera horizontally is used. The photographic lens can be detected by a gyro sensor provided in, for example, a camera. In addition, the camera lens can also be detected based on the front and rear motion vectors of the image. Once one frame of the image next to the photographing lens is taken out, a frame with strong inter-pixel correlation is formed in the lateral direction. Based on the correlation between pixels, the prediction accuracy of the intra prediction direction can be estimated, and intra prediction direction candidates with low prediction accuracy can be subtracted in advance.

另外,在机器设定以低比特率进行编码的情况下,以低分辨率进行编码的情况下,和在使用预测方向相近的例如预测模式0(水平)和预测模式6(水平-下)的情况下,两种模式的预测误差没有差别,并且编码性能也没有差别。在此,优先预测候补预测方向的方向大不相同的预测模式0(水平)等。也就是,优先删掉预测模式6。In addition, when the machine is set to encode at a low bit rate, in the case of encoding at a low resolution, and when using a similar prediction direction such as prediction mode 0 (horizontal) and prediction mode 6 (horizontal-down) case, there is no difference in prediction error between the two modes, and no difference in coding performance. Here, the prediction mode 0 (horizontal) and the like in which the directions of the candidate prediction directions are greatly different are preferentially predicted. That is, prediction mode 6 is preferentially deleted.

另外,根据动态向量可以确定预测方向。也就是,在执行内部预测时,使用过去或未来帧的动态向量作为图像特征量。在该动态向量方向上存在高相关性像素值的可能性很大。从而,能够省略大大偏离该动态向量方向的内部预测方向。在此,作为过去或未来帧动态向量,即可以是画面整体的动态向量,也可以是画面内特定区域的动态向量。In addition, the prediction direction can be determined according to the motion vector. That is, when intra prediction is performed, motion vectors of past or future frames are used as image feature quantities. There is a high probability of highly correlated pixel values in the direction of this motion vector. Thus, intra-prediction directions that greatly deviate from the direction of the motion vectors can be omitted. Here, the past or future frame motion vector may be a motion vector of the entire screen, or may be a motion vector of a specific area within the screen.

另外,能够从编码MB的内部预测方向候补中省略大大偏离编码MB邻接MB附近动态向量方向的内部预测方向。In addition, it is possible to omit an intra prediction direction that greatly deviates from the direction of the motion vector near the adjacent MB of the coded MB from the intra prediction direction candidates of the coded MB.

而且,在编码MB中,在已经求出动态向量时,如果将该动态向量作为特征量,那么能够进一步选定高精度的内部预测方向候补。Furthermore, in coding MB, when a motion vector has already been obtained, if the motion vector is used as a feature quantity, it is possible to further select high-precision intra prediction direction candidates.

在H.264中,对图片I仅执行内部预测,对P或B图片实施内部预测/外部预测两种预测,从而以残差信号少的编码模式执行编码。因此,可以在全部的图片中实施内部预测。In H.264, only intra prediction is performed on a picture I, and both intra prediction and extrinsic prediction are performed on a P or B picture, thereby performing encoding in a coding mode with few residual signals. Therefore, intra prediction can be performed on all pictures.

由于使用了这些,所以限制了对编码对象图片预测方向的候补。也就是,候补限定单元111基于从编码顺序在先的原始图像或编码图像得到的结果,能够限定内部预测方向候补。据此,也能够容易地限定内部预测方向候补。By using these, the candidates for the prediction direction of the coding target picture are limited. That is, candidate limiting section 111 can limit candidates for intra prediction directions based on results obtained from original images or encoded images that are encoded earlier in order. Accordingly, it is also possible to easily limit candidates for intra-prediction directions.

具体来说,首先,预先在存储器中记录首先编码的图片内部预测的预测方向和图片内的MB位置。接着,使用记录在所述存储器的图片内MB位置和预测方向执行与编码处理图片相同的MB位置的内部预测。例如,在画面整体不动的情况下,相对空间位置MB的内部预测的预测方向,显示顺序连续的图片在同一方向的可能性很高。例如,在以显示顺序I、B1、B2、P...构造进行编码的情况下,B1图片内某个MB的预测方向作为与图片I或图片P相同位置的MB的编码结果的相同位置的可能性很高。因此,将作为图片I编码结果和图片P的编码结果的预测方向作为图片B1的内部预测方向候补。同样,图片B2将图片B1和图片P的内部预测方向作为候补。在选择图片B1和图片P共同的外部预测的情况下,将图片B2的预测候补置为0,并且还可以只执行外部预测。Specifically, first, the prediction direction of intra-picture prediction and the MB position in the picture encoded first are recorded in memory in advance. Next, intra prediction of the same MB position as that of the encoding-processed picture is performed using the intra-picture MB position and prediction direction recorded in the memory. For example, when the entire screen does not move, there is a high possibility that consecutive pictures in display order are in the same direction with respect to the prediction direction of the intra prediction of the spatial position MB. For example, in the case of encoding in the display order I, B1, B2, P... structure, the prediction direction of a certain MB in the B1 picture is the same as the encoding result of the MB at the same position as the picture I or picture P. The odds are high. Therefore, the prediction directions that are the coding results of the picture I and the coding results of the picture P are taken as candidates for the intra prediction direction of the picture B1. Similarly, picture B2 has the intra prediction directions of picture B1 and picture P as candidates. In the case of selecting the common extrinsic prediction of the picture B1 and the picture P, the prediction candidate of the picture B2 is set to 0, and only the extrinsic prediction may be performed.

在此,虽然言及图片内相同位置的MB,但是也可以将邻接MB的预测方向包含在候补内。也就是,在上述例子中,作为图片B2的预测候补,通过添加到图片B1或图片P相同位置MB,可以将上下左右的MB预测方向作为候补。Here, although MBs at the same position in a picture are mentioned, the prediction directions of adjacent MBs may be included in the candidates. That is, in the above example, by adding MBs at the same position as the picture B1 or the picture P as the prediction candidates of the picture B2, the MB prediction directions of up, down, left, and right can be used as candidates.

图7是表示内部预测装置11的各单元执行的详细处理的顺序图。FIG. 7 is a sequence diagram showing detailed processing performed by each unit of the intra prediction device 11 .

一旦输入图片I,候补限定单元111首先根据来自图像特征量输入单元181的图像特征量限定内部预测方向的候补。该限定能够适用于块和宏块任何一个或两者。Once the picture I is input, the candidate limiting unit 111 first limits the candidates for the intra prediction direction based on the image feature quantity from the image feature quantity input unit 181 . This definition can apply to either or both blocks and macroblocks.

接着,内部预测执行单元112对于通过候补限定单元111所限定的内部预测方向执行内部预测。更具体地说,对为块0限定的预测模式计算预测误差(绝对值差分和)。也就是,仅仅对所限定的预测模式计算参照像素和编码对象的像素之间的差分值以及绝对值差分和。从而,内部预测执行单元112使用预测误差最小的作为内部预测。也就是,在绝对值差分和最小的预测模式0的情况下,通过变换、量化、逆量化、逆变换、逆预测与预测模式1相关的块0的参照像素和编码对象的像素的差分值,根据参照像素的像素值和差分值复原块0的复原图像的像素值。Next, the intra prediction performing unit 112 performs intra prediction for the intra prediction directions defined by the candidate defining unit 111 . More specifically, the prediction error (sum of absolute value differences) is calculated for the prediction mode defined for block 0 . That is, only the difference value and the absolute value difference sum between the reference pixel and the coding target pixel are calculated for the limited prediction mode. Thus, the intra prediction performing unit 112 uses the one with the smallest prediction error as the intra prediction. That is, in the case of the absolute value difference and the minimum prediction mode 0, by transforming, quantizing, inverse quantizing, inverse transforming, and inversely predicting the difference value between the reference pixel of the block 0 related to the prediction mode 1 and the pixel to be encoded, The pixel value of the restored image of block 0 is restored from the pixel value of the reference pixel and the difference value.

一旦复原出块0的复原图像的像素值,内部预测执行单元112就重复与上述相同的处理,从而复原出块1~块15的复原图像的像素值。Once the pixel values of the restored image of block 0 are restored, the intra prediction execution unit 112 repeats the same processing as above, thereby restoring the pixel values of the restored images of blocks 1 to 15 .

一旦复原出块15的复原图像,就对该宏块,仅仅以引入的预测模式计算参照像素和编码对象像素的差分值和绝对值差分和。从而,内部预测执行单元112使用预测误差最小的,也就是,例如使用各块的绝对值差分和的总数和宏块的较小绝对值差分和作为内部预测。即,在各块的绝对值差分和的总数较小的情况下,内部预测执行单元112输出有关各块的差分值。与此相反,在宏块的绝对值差分和较小的情况下,内部预测执行单元112输出有关宏块的差分值。Once the restored image of the block 15 is restored, only the difference value and the absolute value difference sum of the reference pixel and the pixel to be encoded are calculated in the imported prediction mode for the macroblock. Thus, the intra prediction performing unit 112 uses the one with the smallest prediction error, that is, for example, the total number of absolute value difference sums of the respective blocks and the smaller absolute value difference sum of the macroblocks as the intra prediction. That is, in the case where the total number of absolute value difference sums for each block is small, the intra prediction performing unit 112 outputs the difference value for each block. On the contrary, in the case where the absolute value difference sum of the macroblock is small, the intra prediction performing unit 112 outputs the difference value for the macroblock.

从而,在限定预测模式时,能够大幅度减轻内部预测执行单元112的负荷,并能够提高内部预测的计算性能。Therefore, when the prediction mode is limited, the load on the intra-prediction execution unit 112 can be greatly reduced, and the calculation performance of the intra-prediction can be improved.

另外,这种内部预测装置11不仅是硬件结构,还可以通过CPU、存储器、程序等手段来实现。In addition, such an internal prediction device 11 is not only a hardware configuration, but can also be realized by means such as a CPU, a memory, and a program.

下面,依次说明通过合并图像特征量限定候补的情况。Next, the case where candidates are limited by combining image feature values will be described in order.

首先,对图像特征量为像素纵横比的情况进行说明。First, a case where the image feature quantity is the pixel aspect ratio will be described.

图8是表示使用像素纵横比作为图像特征量的内部预测装置11的功能结构的方框图。另外,在该图中,还显示了合并了编码控制单元18的图像特征量输入单元181所具备的像素纵横比检测单元183。另外,对于与图6的情况对应的结构部分给予相同的序号,并省略其详细描述。FIG. 8 is a block diagram showing the functional configuration of the intra prediction device 11 using the pixel aspect ratio as an image feature quantity. In addition, in this figure, the pixel aspect ratio detection section 183 included in the image feature quantity input section 181 incorporating the encoding control section 18 is also shown. In addition, the same reference numerals are given to the structural parts corresponding to the case of FIG. 6, and their detailed descriptions are omitted.

在场结构中,能够使用每隔一像素记录水平像素的图像。由此,在场上的方向和原始图像的方向上产生变化。同样,一旦使表示邻接像素间的水平和垂直距离比的像素纵横比变化,那么原始图像方向和像素纵横比的图像方向上产生变化。像素纵横比检测单元183检测出该变化。相应于通过该像素纵横比在原始图像方向上的变化,候补限定单元111能够限定恰当的预测方向候补,从而能够提高内部预测的计算性能。In the field structure, it is possible to record images of horizontal pixels using every other pixel. Thereby, a change occurs in the direction on the field and the direction of the original image. Likewise, when the pixel aspect ratio representing the horizontal and vertical distance ratio between adjacent pixels is changed, the original image direction and the image direction of the pixel aspect ratio are changed. The pixel aspect ratio detection unit 183 detects this change. Corresponding to the change of the pixel aspect ratio in the direction of the original image, the candidate limiting unit 111 can define appropriate prediction direction candidates, thereby improving the calculation performance of the intra prediction.

下面描述改变像素纵横比情况下的具体例子。由于half D1的图像在水平方向上像素保持着间隔,所以在half D1上的方向和原始图像上的方向产生变化。因此,存在如同场结构情况那样,对于编码效率没有帮助的预测方向。具体来说,是图2所示的预测模式6和预测模式8。这些一旦恢复到原始图像的方向上,就靠近预测模式0的水平方向,并且在编码效率上不会产生差别。从而,通过省略该预测方向,能够减轻计算处理。另外,能够在相应于像素纵横比的预测方向上修正内部预测的预测方向,从而还可以提高所有预测方向上的性能。A specific example in the case of changing the pixel aspect ratio is described below. Since the image of half D1 maintains an interval between pixels in the horizontal direction, the direction on half D1 and the direction on the original image change. Therefore, there are prediction directions that do not contribute to coding efficiency as in the case of the field structure. Specifically, they are prediction mode 6 and prediction mode 8 shown in FIG. 2 . These, once restored to the orientation of the original image, are close to the horizontal orientation of prediction mode 0, and make no difference in coding efficiency. Therefore, by omitting the prediction direction, it is possible to reduce calculation processing. In addition, the prediction direction of the intra prediction can be corrected in the prediction direction corresponding to the pixel aspect ratio, so that the performance in all prediction directions can also be improved.

另外,这种内部预测装置11不仅仅是由硬件构成,还可以通过CPU、存储器、程序等手段来实现。In addition, such an internal prediction device 11 is not only constituted by hardware, but may be realized by means such as a CPU, a memory, and a program.

另外,在内部预测装置11中,相应于像素纵横比,作为限定恰当的预测方向候补方法,可以使用原始图像上的水平、垂直距离。In addition, in the intra prediction device 11, horizontal and vertical distances on the original image can be used as a method of defining appropriate prediction direction candidates according to the pixel aspect ratio.

将各个距离的倒数作为预测的可信度。例如,在场结构中,原始图像上的距离将水平距离置为“1”,将垂直距离置为水平距离的2倍,为“2”。如此,可信度为“1”和“1/2”。Take the reciprocal of each distance as the confidence of the prediction. For example, in the field structure, the distance on the original image sets the horizontal distance to "1", and sets the vertical distance to "2", which is twice the horizontal distance. Thus, the reliability levels are "1" and "1/2".

由于这种情况、垂直方向的确定比水平方向的确定更大,因此预测结果是沿着这个倾向的。因而,作为预测方向的候补,优先采用接近水平方向的候补。也就是,通过优先删除垂直方向和近似该方向的方向,从而能够减轻负荷。Since this is the case, the determination of the vertical direction is greater than that of the horizontal direction, so the prediction results are along this tendency. Therefore, as candidates for the predicted direction, candidates close to the horizontal direction are preferentially adopted. That is, the load can be reduced by preferentially deleting the vertical direction and directions close to this direction.

另外,在此所记载并不仅是装置,还可以是通过程序等手段来实现。In addition, what is described here is not limited to a device, but may be realized by means such as a program.

另外,对于像素纵横比信息,可以从摄影机器、录像机器取得,并使用该信息执行内部预测。In addition, pixel aspect ratio information can be acquired from a camera or video recorder, and intra prediction can be performed using the information.

例如,在摄影机器的摄像元件不是正方形的情况下,在原始图像上的垂直距离和水平距离上会产生差值。另外,通过改变在录像机器等中的画面纵横比,在进行记录的情况下,在原始图像的垂直距离和水平距离上也产生差值。For example, in the case where the imaging element of the camera is not square, there will be a difference in the vertical distance and the horizontal distance on the original image. In addition, by changing the screen aspect ratio in a video recorder or the like, a difference is also generated in the vertical distance and the horizontal distance of the original image in the case of recording.

另外,如从H.264的VUI参数aspect ratio idc中得到信息等那样,某些编码方式通过添加到视频流内外的信息进行内部预测。In addition, some encoding methods perform internal prediction by adding information inside and outside the video stream, such as obtaining information from the VUI parameter aspect ratio idc of H.264.

另外,在此所记载并不仅仅是装置,还可以通过程序等手段来实现。In addition, what is described here is not limited to a device, but may be realized by means such as a program.

下面,对图像特征量为图片构造的情况进行说明。Next, a case where the image feature quantity is a picture structure will be described.

图9是表示使用图片构造作为图像特征量的内部预测装置11的功能结构的方框图。其中,在该图中还图示了编码控制单元18的图像特征量输入单元181所具备的图片构造判定单元182。另外,对于与图6情况相对应的构成部分给予相同的序号,并省略其详细描述。FIG. 9 is a block diagram showing the functional configuration of the intra prediction device 11 using a picture structure as an image feature value. However, this figure also shows a picture structure determination unit 182 included in the image feature value input unit 181 of the encoding control unit 18 . In addition, the same reference numerals are assigned to the components corresponding to those in the case of FIG. 6 , and their detailed descriptions are omitted.

隔行扫描方式的场图像是通过在垂直方向上由保持间隔一个原始图像的像素间隔来构成的。因此,虽然水平方向像素的连续性与逐行扫描方式的帧图像相比没有变化,但是垂直方向像素的连续性比帧图像低。该连续性的高低由图片构造判定单元182判定。The field image of the interlaced scanning method is formed by maintaining a pixel interval of one original image in the vertical direction. Therefore, although the continuity of pixels in the horizontal direction does not change compared with the frame image of the progressive scan method, the continuity of pixels in the vertical direction is lower than that of the frame image. The level of continuity is determined by the picture structure determination unit 182 .

通过使用该特性,与垂直方向的预测相比,候补限定单元111更容易选择水平方向的预测。也就是,从候补中优先排除垂直方向的预测(4×4预测模式0和16×16预测模式0)。By using this characteristic, it is easier for candidate limiting section 111 to select prediction in the horizontal direction than prediction in the vertical direction. That is, prediction in the vertical direction (4×4 prediction mode 0 and 16×16 prediction mode 0) is preferentially excluded from candidates.

其中,在此所记载的并不仅仅是装置,还可以通过程序等手段来实现。However, what is described here is not limited to a device, but may be realized by means such as a program.

另外,在隔行扫描方式中,一旦将4×4内部预测方向换算成原始图像上的方向,那么就如图10所示的那样,在预测方式不会产生差值。In addition, in the interlaced scanning method, once the 4×4 intra prediction direction is converted into the direction on the original image, as shown in FIG. 10 , no difference occurs in the prediction method.

在隔行扫描方式的某场图像中,引入如图10所示的8个方向的直线。In a certain field image in the interlaced scanning mode, straight lines in 8 directions as shown in FIG. 10 are introduced.

隔行扫描方式的场图像,如图10(a)所示那样,是每1行保持像素间隔的结构的图像,并且在垂直方向上将距离压缩成1/2的状态。相反,如图10(b)所示的那样,一旦重新将其放置在原始图像上的像素位置上,垂直距离就成为没有拉长间隔的水平距离的2倍。因此,在原始图像上,8个方向的直线角度分别变化。As shown in FIG. 10( a ), an interlaced field image has a structure in which pixel intervals are maintained for each line, and the distance is compressed to 1/2 in the vertical direction. On the contrary, once it is repositioned at the pixel position on the original image as shown in Fig. 10(b), the vertical distance becomes twice the horizontal distance without stretching the spacing. Therefore, on the original image, the angles of the straight lines in the 8 directions vary respectively.

特别应该注意的是预测模式5(垂直-右)、预测模式7(垂直-左)的方向。这些方向非常接近于预测模式0(垂直)的方向。Particular attention should be paid to the direction of prediction mode 5 (vertical-right), prediction mode 7 (vertical-left). These directions are very close to those of prediction mode 0 (vertical).

因此,在4×4内部预测中,在预测模式5(垂直-右)、预测模式7(垂直-左)、预测模式0(垂直)的方向上预测的像素值非常近似,从而在作为与原始图像的差的预测误差中不太会产生差值。同样,对于预测模式3(对角-下-左)、预测模式4(对角-下-右)的方向上,会出现同样的倾向。Therefore, in 4×4 intra prediction, the pixel values predicted in the direction of prediction mode 5 (vertical-right), prediction mode 7 (vertical-left), prediction mode 0 (vertical) are very similar, so as to be compared with the original Differences are less likely to occur in poor prediction errors of images. Similarly, the same tendency appears in the directions of prediction mode 3 (diagonal-bottom-left) and prediction mode 4 (diagonal-bottom-right).

使用这种特性,如果预先限制预测候补,不会降低画质并能够简化内部预测处理。Using this feature, if the prediction candidates are limited in advance, the internal prediction process can be simplified without degrading the image quality.

该情况下,在图片构造判定单元182中,通过判断图片构造是隔行扫描方式的场图像,还是逐行扫描方式的帧图像,向内部预测装置11输出判断结果。In this case, the picture structure judging section 182 judges whether the picture structure is an interlaced field image or a progressive frame image, and outputs the judgment result to the intra prediction device 11 .

如果是场图像,内部预测装置11的候补限定单元111就把场用内部预测候补例传送到内部预测执行单元112,所述场用内部预测候补例是省略图9所示那样几个预测候补的场用内部预测候补例。内部预测执行单元112通过对所限定的内部预测方向候补进行预测计算处理,确定预测方向。If it is a field image, the candidate limiting unit 111 of the intra prediction device 11 sends the intra prediction candidates for the field to the intra prediction execution unit 112, and the intra prediction candidates for the field omit several prediction candidates as shown in FIG. 9 Candidates for intra-field prediction. The intra prediction execution unit 112 determines the prediction direction by performing prediction calculation processing on the limited intra prediction direction candidates.

另外,在此所记载的并不仅仅是装置,还可以通过程序等手段来实现。In addition, what is described here is not limited to a device, and may be realized by means such as a program.

进而,一般在使用邻接MB的像素进行预测的情况下,与离开邻接MB的距离相比,像素间的相关性变得更低。Furthermore, generally, when prediction is performed using pixels of adjacent MBs, the correlation between pixels becomes lower than the distance from the adjacent MBs.

因此,原始图像上像素间的距离变长时预测误差变大的可能性增加。Therefore, as the distance between pixels on the original image becomes longer, there is a greater possibility that the prediction error will become larger.

在水平距离和垂直距离之间存在差值的情况下,在有关内部16×16预测的预测模式0(垂直)和通过预测模式1(水平)的预测方向的预测误差之间也存在差值。Where there is a difference between the horizontal distance and the vertical distance, there is also a difference between the prediction error for prediction mode 0 (vertical) and the prediction direction through prediction mode 1 (horizontal) for the intra 16x16 prediction.

在图片构造为隔行扫描的情况下,如图11所示那样,原始图像上的像素间隔的垂直距离成为水平距离的两倍,垂直方向的像素相关性变低,预测误差变大。When the picture structure is interlaced, as shown in FIG. 11 , the vertical distance between pixels on the original image is twice the horizontal distance, the pixel correlation in the vertical direction becomes low, and the prediction error increases.

在隔行扫描方式的场图像中,可以优先省略与16×16内部预测相关的预测模式0(垂直)预测。In interlaced field images, prediction mode 0 (vertical) prediction related to 16×16 intra prediction can be preferentially omitted.

同样,在通过邻接的右侧MB的右端像素值和邻接的上部的MB的下端像素值的平均预测的预测模式2(平均)的预测中,将垂直相关性低的像素用于预测像素计算从而预测误差变大,能够优先省略有关16×16内部预测的预测模式2(平均)。Likewise, in the prediction of prediction mode 2 (average) based on the average prediction of the right end pixel value of the adjacent right MB and the lower end pixel value of the adjacent upper MB, pixels with low vertical correlation are used for prediction pixel calculation so that The prediction error becomes large, and the prediction mode 2 (average) related to 16×16 intra prediction can be preferentially omitted.

另外,在此所记载的并不仅仅是装置,还可以通过程序等手段来实现。In addition, what is described here is not limited to a device, and may be realized by means such as a program.

另外,图像记录方式为隔行扫描方式还是逐行扫描方式的确定可以想到下面的情况。下面,在通过指定隔行扫描方式、逐行扫描方式进行记录时,记录方式和再现时间被称作再现方式。In addition, the determination of whether the image recording method is the interlaced scanning method or the progressive scanning method may be as follows. Hereinafter, when recording is performed by designating an interlaced scanning method or a progressive scanning method, the recording method and reproduction time are referred to as a reproduction method.

存在通过用户选择的情况和通过摄影机器、录像机器、显示机器等的规格参数确定的情况。There are cases selected by the user and cases determined by specification parameters of the camera, video recorder, display device, and the like.

例如,考虑通过用户进行选择的情况,在摄影机器相应于隔行扫描方式、逐行扫描方式两种方式的情况下,用户通过合并自身配置的显示机器、再现装置等再现环境来选择记录方式。作为该显示机器的电视机如果是隔行扫描方式,那么通过在作为摄影机器的录像机中编码时选择隔行扫描方式,就可以省略对于编码效率没有帮助的内部预测方向。For example, considering the selection by the user, if the camera supports both interlaced scanning and progressive scanning, the user selects the recording method by combining the playback environment such as a display device and a playback device configured by the user. If the television as the display device is an interlaced scanning method, by selecting the interlaced scanning method at the time of encoding in a video recorder as a camera device, the intra prediction direction which does not contribute to the encoding efficiency can be omitted.

例如,考虑通过摄影机器的规格参数进行确定的情况,如果摄影机器只对应于隔行扫描方式,那么通过省略以隔行扫描方式摄影时的内部预测方向,就可以提高编码效率。For example, considering the case of determining by the specification parameters of the camera, if the camera supports only the interlaced scanning method, the encoding efficiency can be improved by omitting the intra prediction direction when shooting in the interlaced scanning method.

另外,考虑通过录像机器的规格参数进行确定的情况,在来自其它图像输入机器在录像装置等中进行编码时,如果判断出图像机器的输入为隔行扫描方式,那么通过省略内部预测方向,就可以提高编码效率。In addition, considering the situation determined by the specification parameters of the video recorder, when encoding from another image input device in a video recorder, etc., if it is judged that the input of the image device is an interlaced scanning method, then by omitting the intra prediction direction, it is possible Improve coding efficiency.

下面对于在此所述的来自其它图像输入机器的输入进行补充。The inputs from other image input machines described here are supplemented below.

在使用其它编码方式进行编码的情况下,以基于该编码方式的规则可以判断是否是隔行扫描方式。也就是,可以根据报头信息等进行该判断。In the case of encoding using another encoding method, it can be determined whether it is an interlaced scanning method based on the rules of the encoding method. That is, the determination may be made based on header information or the like.

而且,考虑以显示机器的规格参数进行确定的情况,通过合并连接录像机器的显示机器的再现方式,并在以隔行扫描方式进行录像的时省略内部预测,能够提高编码效率。Furthermore, considering the fact that it is determined by the specification parameters of the display device, the encoding efficiency can be improved by combining the playback method of the display device connected to the video recording device and omitting intra prediction when recording in the interlaced scanning method.

另外,在此所记载的并不仅仅是装置,还可以通过程序等手段来实现。In addition, what is described here is not limited to a device, and may be realized by means such as a program.

另外,所谓H.264内部预测图片级自适应是指对于每个图片来说,通过比较有关帧构造的内部预测结果和有关场构造的内部预测结果,将编码性能最佳的一方作为预测结果的方式。在作为其场构造进行预测时,使用在图片构造中限定预测方向候补的候补限定单元111。In addition, the so-called H.264 intra-prediction picture-level adaptive means that for each picture, by comparing the intra-prediction results of the relevant frame structure and the intra-prediction results of the relevant field structure, the one with the best coding performance is used as the prediction result. Way. When performing prediction as the field structure, the candidate limiting section 111 that limits candidates for the prediction direction in the picture structure is used.

由于已经知道图片构造判断单元182在编码时使用图片级自适应,所以在使用该方式的情况下,在以场构造进行编码,即,以隔行扫描方式进行编码时,候补限定单元111能够减少预测方向的候补。Since it is already known that the picture structure judging unit 182 uses picture-level adaptation in encoding, in the case of using this method, the candidate limiting unit 111 can reduce the number of predictors when encoding with a field structure, that is, encoding with an interlaced scanning method. alternate direction.

另外,所谓H.264内部预测宏块级自适应是指以MB为单位,通过比较有关帧构造的内部预测结果和有关场构造的内部预测结果,将编码性能最佳的一方作为预测结果的方式。在预测作为场构造时,使用在图片构造中限定预测方向候补的候补限定单元111。由于已经知道图片构造判断单元182在编码时使用宏块级自适应,所以在使用该方式的情况下,在以场构造进行编码,即以隔行扫描方式进行编码时,候补限定单元111能够减少预测方向的候补。In addition, the so-called H.264 intra-prediction macroblock-level adaptation refers to the method of comparing the intra-prediction results related to the frame structure and the intra-prediction results related to the field structure in units of MB, and taking the one with the best coding performance as the prediction result. . When the field structure is predicted, the candidate limiting section 111 for limiting candidates of the prediction direction in the picture structure is used. Since it is already known that the picture structure judging unit 182 uses macroblock-level adaptation in encoding, when this method is used, when encoding is performed with a field structure, that is, when encoding is performed in an interlaced scanning manner, the candidate limiting unit 111 can reduce the number of predictions. alternate direction.

另外,在此所记载的并不仅仅是装置,还可以通过程序等手段来实现。In addition, what is described here is not limited to a device, and may be realized by means such as a program.

下面,对于图像特征量为根据编码顺序在先的原始图像或编码图像得到的结果的情况进行说明。Next, a case will be described where the image feature value is obtained from an original image or an encoded image earlier in the encoding order.

图12是表示使用动态向量、预测模式和像素计算信息作为上述结果的内部预测装置11的功能结构的方框图。另外,在该图中,一并示出了编码控制单元18的图像特征量输入单元181所具备的动态向量输入单元184、预测模式输入单元185、像素计算信息输入单元186。另外,对于与图6情况对应的构成部分给予相同的序号,并省略其详细描述。FIG. 12 is a block diagram showing the functional structure of the intra prediction means 11 using motion vectors, prediction modes, and pixel calculation information as the above results. In addition, in this figure, motion vector input section 184 , prediction mode input section 185 , and pixel calculation information input section 186 included in image feature quantity input section 181 of encoding control section 18 are also shown. In addition, the same reference numerals are assigned to components corresponding to those in the case of FIG. 6 , and detailed descriptions thereof are omitted.

如上所述,H.264对图片I只进行内部预测,而对于图片P或B实施内部预测/外部预测两种方式预测,并以残差信号少的编码模式进行编码。As mentioned above, H.264 only performs intra-prediction on picture I, and implements intra-prediction/external prediction on picture P or B, and encodes in a coding mode with less residual signal.

因此,对于编码顺序在先的原始图像或编码图像来说,邻接像素差分和内部预测方向等结果是已知的。另外,在编码顺序在先的编码图像为图片P和图片B的情况下,各宏块的动态向量是已知的。而且,根据图像的特性,编码顺序在先的原始图像或编码图像与编码对象图像之间的相关性极高的情况很多。Therefore, for an original image or an encoded image whose encoding order is earlier, results such as adjacent pixel difference and intra prediction direction are known. In addition, when the encoded pictures preceding in the encoding order are the picture P and the picture B, the motion vectors of the respective macroblocks are known. Furthermore, depending on the characteristics of images, there are many cases in which the correlation between an original image or an encoded image and an encoding target image is extremely high.

从而,即使通过使用对于编码顺序在先的原始图像或编码图像得到的结果,也就是说,即使使用已知的动态向量、内部预测和和邻接像素差分来限定内部预测方向的候补,也能够提前省略编码效率不良的处理和在编码效率上不产生差别的处理。Thus, even by using the result obtained for the original picture or the coded picture that is earlier in the coding order, that is, even if the candidates for the intra prediction direction are defined using known motion vectors, intra prediction sums, and adjacent pixel differences, it is possible to advance Processing with poor coding efficiency and processing with no difference in coding efficiency is omitted.

因此,在该实施例中,如图12所示那样,在图像特征量输入单元181中可以设置分别用来输入作为对编码顺序在先的原始图像或编码图像得到的结果的动态向量、预测模式的方向和邻接像素差分(也称作像素计算信息)的动态向量输入单元184、预测模式输入单元185和像素计算信息输入单元186。因此,图像特征量输入单元181可以由将来自动态向量输入单元184、预测模式输入单元185和像素计算信息输入单元186的动态向量、预测模式方向和邻接像素差分选择性地输出到候补限定单元111来构成。Therefore, in this embodiment, as shown in FIG. 12 , in the image feature quantity input unit 181, a motion vector, a prediction mode, and a prediction mode respectively used to input a result obtained for an original image or an encoded image earlier in the encoding order can be set. A motion vector input unit 184 , a prediction mode input unit 185 , and a pixel calculation information input unit 186 for the direction of and adjacent pixel differences (also referred to as pixel calculation information). Therefore, image feature quantity input section 181 can selectively output the motion vector, prediction mode direction, and adjacent pixel difference from motion vector input section 184, prediction mode input section 185, and pixel calculation information input section 186 to candidate definition section 111. to form.

下面,对于有关从动态向量输入单元184输出动态向量的情况,通过动态向量进行预测方向候补的决定进行说明。Next, when a motion vector is output from the motion vector input section 184, determination of prediction direction candidates based on the motion vector will be described.

图13是用来描述通过动态向量进行预测方向候补决定的图。特别地,图13(a)是表示按照编码顺序排列的原始图像的图,图13(b)是表示按照编码顺序排列的编码图像的图,图13(c)是表示编码顺序在先的编码图像和编码对象图像之间的关系的图。Fig. 13 is a diagram for describing the determination of prediction direction candidates by motion vectors. In particular, Fig. 13(a) is a diagram showing the original images arranged in the coding order, Fig. 13(b) is a diagram showing the coded images arranged in the coding order, and Fig. 13(c) is a diagram showing the coded images arranged in the coding order first. A diagram of the relationship between an image and an encoding target image.

在此,图示了使用编码对象图像的前一个编码图像作为编码顺序在先的编码图像。这是因为,在先的原始图像或编码图像与编码对象图像之间的相关性变高,并能够精确地限定内部预测方向候补。Here, it is shown that a coded picture immediately preceding a coding target picture is used as a coded picture having an earlier coding order. This is because the correlation between the previous original picture or coded picture and the picture to be coded becomes high, and it is possible to precisely define intra prediction direction candidates.

因此,该编码图像如图示那样,由宏块MB1~MB9构成,并以各宏块MB1~MB9的动态向量为MV1~MV9进行描述。另外,以编码对象宏块为图中所示的α为例进行描述。Therefore, this coded image is composed of macroblocks MB1 to MB9 as shown in the figure, and the motion vectors of the respective macroblocks MB1 to MB9 are described as MV1 to MV9. In addition, the description will be made by taking the encoding target macroblock as α shown in the figure as an example.

在对宏块α进行内部预测的情况下,候补限定单元111以前一个编码图像的空间位置相同的宏块MB9为单位区域,参照该单位区域的动态向量MV9,并基于该动态向量MV9的方向,限定内部预测方向候补。In the case of performing intra-prediction on macroblock α, the candidate limiting unit 111 uses the macroblock MB9 having the same spatial position in the previous coded picture as a unit area, refers to the motion vector MV9 of the unit area, and based on the direction of the motion vector MV9, Candidates for the internal prediction direction are limited.

具体来说,动态向量MV9水平方向的成分多,垂直方向的成分极少。即,动态向量MV9方向上的水平方向成分是主要的,并且与编码对象宏块α之间的水平方向的相关性较高。因此,候补限定单元111垂直方向的预测方向排除在候补对象外。也就是,候补限定单元111从动态向量MV9中省略0、5、7模式。Specifically, the motion vector MV9 has many components in the horizontal direction and very few components in the vertical direction. That is, the horizontal component in the direction of the motion vector MV9 is dominant, and has a high correlation with the horizontal direction of the current macroblock α. Therefore, the prediction direction in the vertical direction by candidate limiting section 111 is excluded from the candidates. That is, candidate limiting section 111 omits patterns 0, 5, and 7 from motion vector MV9.

从而,在图像存在动画的情况下,能够提高对编码对象宏块的动态向量的精度,并能够精确有效地从已知动态向量中排除相关性低的内部预测方向候补。Therefore, in the case of moving images, the accuracy of the motion vector of the macroblock to be coded can be improved, and intra prediction direction candidates with low correlation can be accurately and effectively excluded from known motion vectors.

另外,将包含该宏块MB9的周围,也就是宏块MB5、MB6、MB8的区域作为单元区域,基于该单位区域的动态向量方向,可以确定内部预测方向的候补。即,基于合成动态向量MV5、MV6、MV8、MV9的动态向量的方向,也可以限定内部预测方向的候补。即便在此情况下,由于合成动态向量的方向是通过将动态向量MV5、MV6、MV8、MV9分别分解成水平方向和垂直方向相加计算得到的,所以水平方向成分是主要的。因此,候补限定单元111能够将垂直方向的预测方向排除在候补对象之外。也就是,候补限定单元111从动态向量MV5、MV6、MV8、MV9中省略了0、5、7模式。In addition, by using the area around the macroblock MB9, that is, the macroblocks MB5, MB6, and MB8 as a unit area, candidates for the intra prediction direction can be specified based on the motion vector directions of the unit area. That is, candidates for the direction of intra prediction may be limited based on the directions of the motion vectors of the synthesized motion vectors MV5 , MV6 , MV8 , and MV9 . Even in this case, since the directions of the composite motion vectors are obtained by decomposing and adding the motion vectors MV5, MV6, MV8, and MV9 into horizontal and vertical directions, respectively, the horizontal direction component is dominant. Therefore, candidate limiting section 111 can exclude the prediction direction in the vertical direction from the candidates. That is, candidate limiting section 111 omits patterns 0, 5, and 7 from motion vectors MV5, MV6, MV8, and MV9.

另外,参照前一个编码图像整体的动态向量朝向哪边,也可以确定内部预测候补。即,将宏块MB1~MB9整体作为单元区域,基于该单位区域的动态向量方向,也可以确定内部预测方向。In addition, it is also possible to specify intra-prediction candidates by referring to which direction the motion vector of the entire preceding coded picture is directed. That is, the entire macroblocks MB1 to MB9 may be used as a unit area, and the intra prediction direction may be determined based on the motion vector direction of the unit area.

下面,对于有关从预测模式输入单元185输出预测模式情况,通过预测模式确定预测方向候补进行描述。Next, a description will be given regarding the case where the prediction mode is output from the prediction mode input unit 185 and the prediction direction candidates are determined by the prediction mode.

图14是用于描述通过预测模式进行确定预测方向候补的图。尤其图14(a)是表示按照编码顺序排列的原始图像,图14(b)是表示按照编码顺序排列的编码图像,图14(c)是表示编码顺序在先的编码图像和编码对象图像之间的关系的图。而且,该编码图像如图所示那样,以由宏块MB1~MB9构成来进行描述。另外,以编码对象宏块为图中所示α进行描述。FIG. 14 is a diagram for describing determination of prediction direction candidates by prediction mode. In particular, Fig. 14(a) shows the original images arranged according to the coding order, Fig. 14(b) shows the coded pictures arranged according to the coding order, and Fig. 14(c) shows the coded pictures arranged in the coding order first and the coding target picture. diagram of the relationship between. Furthermore, as shown in the figure, this coded image is described as being composed of macroblocks MB1 to MB9. In addition, the coding target macroblock is described as α shown in the figure.

在此,在编码图像为图片I的情况中,对于在内部预测中采用的宏块,保留了所限定预测模式的结果。从而,在该情况下,可以使用所限定的预测模式的方向。与此相对,在编码图像为图片P或B的情况下,内部预测时的结果、预测模式通常被废弃。但是,在本实施例中,内部预测时的结果、预测模式以暂时保留在存储器中那样构成的结果来进行描述。Here, in the case where the encoded image is the picture I, for the macroblocks employed in the intra prediction, the results of the defined prediction modes are preserved. Thus, in this case the direction of the defined prediction mode can be used. On the other hand, when the coded image is the picture P or B, the result of intra prediction and the prediction mode are usually discarded. However, in this embodiment, the results and prediction modes at the time of intra prediction are described as the results configured to be temporarily stored in the memory.

图15是表示候补限定单元111使用已知结果、内部预测限定内部预测候补的内部预测候补限定处理操作的流程图。FIG. 15 is a flowchart showing the operation of the intra-prediction candidate limiting process in which the candidate limiting unit 111 limits intra-prediction candidates using known results, intra-prediction.

在对宏块α进行内部预测的情况下,候补限定单元111首先判断编码顺序在先的参照编码图像是否是图片I(S11)。另外,可以使用编码对象图像的前一个编码图像作为编码顺序在先的编码图像。这是因为在先的原始图像或编码图像与编码对象的图像之间的相关性变高,能够精确限定内部预测方向候补。When intra prediction is performed on macroblock α, candidate limiting section 111 first judges whether or not a reference coded picture preceding in coding order is picture I (S11). In addition, a coded picture preceding the coding target picture may be used as a coded picture having a preceding coded picture. This is because the correlation between the previous original picture or coded picture and the picture to be coded becomes high, and the intra prediction direction candidates can be precisely limited.

在判断结果为图片I的情况下(S11中是),候补限定单元111使用图片I的预测结果,限定内部预测候补(S12),并结束内部预测候补限定处理。即,候补限定单元111将前一个编码图像的空间位置相同的宏块MB9作为单位区域,参照该单位区域的内部预测模式的方向,对在该内部预测中采用的宏块,基于所限定的预测模式方向的方面,限定内部预测方向的候补。具体来说,如果所限定的预测模式的方向例如为水平方向,那么编码对象宏块α的内部预测方向为水平方向的概率就变高。因此,候补限定单元111将垂直方向的预测方向排除在候补对象之外。When the determination result is picture I (Yes in S11), candidate limiting section 111 limits intra prediction candidates using the prediction result of picture I (S12), and ends the intra prediction candidate limiting process. That is, the candidate limiting section 111 takes the macroblock MB9 having the same spatial position in the previous coded image as a unit area, refers to the direction of the intra prediction mode of the unit area, and predicts the macroblock used for the intra prediction based on the limited prediction In terms of the mode direction, candidates for the intra-prediction direction are limited. Specifically, if the direction of the limited prediction mode is, for example, the horizontal direction, the probability that the intra prediction direction of the macroblock α to be coded is the horizontal direction is high. Therefore, candidate limiting section 111 excludes the prediction direction in the vertical direction from the candidates.

从而,即使在图像中存在动画的情况的其他方面,在图像动画较少的情况中,能够提高对编码对象宏块的预测方向的精度,并能够从已知的预测模式的方向中精确有效地排除相关性较低的内部预测方向候补。Therefore, even if there is motion in the image, in the case of less motion in the image, the accuracy of the prediction direction of the macroblock to be coded can be improved, and the direction of the known prediction mode can be accurately and efficiently Candidates for internal prediction directions with low correlation are excluded.

另外,通过将包含对应于该编码对象宏块α的宏块MB9的周围,即,宏块MB5、MB6、MB8的区域作为单位区域,基于该单位区域的预测模式方向,也可以确定内部预测方向的候补。Also, by using the area around the macroblock MB9 corresponding to the current macroblock α, that is, the macroblocks MB5, MB6, and MB8 as the unit area, the intra prediction direction can also be determined based on the prediction mode direction of the unit area. alternate.

与此相对,在不是图片I的情况下(S11中的否),候补限定单元111使用内部编码情况下的预测结果限定内部预测候补(S13),并结束内部预测候补引入处理。On the other hand, when it is not the picture I (No in S11), the candidate limiting section 111 limits the intra prediction candidates using the prediction result in the case of intra encoding (S13), and ends the intra prediction candidate introduction process.

从而,即使是在编码顺序在先的编码图像不是图片I的情况下,不管图像如何动,都能够精确容易有效地从已知的内部预测方向中排除相关性较低的内部预测方向候补。Therefore, even when the picture to be coded earlier in the coding order is not the picture I, no matter how the picture moves, it is possible to accurately, easily and efficiently exclude candidates for intra prediction directions with low correlation from known intra prediction directions.

下面,就有关从像素计算信息输入单元186输出邻接像素差分,即像素计算信息的情况,对通过像素计算信息进行确定预测方向候补加以说明。Next, regarding the case where the difference between adjacent pixels, that is, the pixel calculation information is output from the pixel calculation information input section 186, the determination of the prediction direction candidates by the pixel calculation information will be described.

这里,所谓像素计算信息意味着是包含在图像特征中的编码顺序在先的原始图像像素邻接差分和编码图像邻接像素差分中的任何其中一个。这种像素计算信息是事先计算完毕已知的。因而,通过预先暂时将该结果保持在存储器中以便能够再使用或再计算,从而可以减轻候补限定单元111的负荷。另外,在此,以内部预测时的结果、像素计算信息被暂时保留在存储器中这样的结构进行描述。Here, the so-called pixel calculation information means any one of the adjacent pixel difference of the original image and the adjacent pixel difference of the coded image included in the image feature, which is encoded first. Such pixel calculation information is calculated and known in advance. Therefore, by temporarily storing the result in the memory so that it can be reused or recalculated, the load on the candidate limiting unit 111 can be reduced. In addition, here, the description will be made with a structure in which the result of the intra prediction and the pixel calculation information are temporarily held in the memory.

候补限定单元111根据包含在所述图像特征中的编码顺序在先的原始图像或编码图像的邻接像素差分限定内部预测候补。另外,可以使用编码对象图像前一个的原始图像或编码图像作为编码顺序在先的原始图像或编码图像。这是因为在先的原始图像或编码图像与编码对象图像之间的相关性变高,从而能够精确限定内部预测方向候补。Candidate limiting section 111 limits intra-prediction candidates based on adjacent pixel differences of an original image or encoded image that is included in the image feature and is encoded earlier. In addition, an original image or a coded image preceding the encoding target image may be used as an original image or an encoded image preceding the encoding order. This is because the correlation between the previous original picture or coded picture and the picture to be coded increases, so that candidates for the intra prediction direction can be precisely defined.

而且,候补限定单元111以前一个原始图像或编码图像的空间位置相同的宏块为单位区域,参照该单位区域的像素计算信息,基于在该内部预测中所采用的宏块的像素计算信息,对编码对象图像的宏块α限定内部预测方向候补。具体来说,根据单位区域水平方向的邻接像素差分与垂直成分邻接像素差分之间的比,限定内部预测候补。由此,可以知道水平方向和垂直方向哪一个的相关性高,即,相关性高的方向。从而,在图像的移动量较少的情况下,能够从已知像素计算信息中精确有效地排除相关性低的内部预测方向候补。Furthermore, the candidate limiting unit 111 uses a macroblock with the same spatial position in the previous original image or coded image as a unit area, refers to the pixel calculation information of the unit area, and based on the pixel calculation information of the macroblock used in the intra prediction, The macroblock α of the encoding target image defines candidates for intra prediction directions. Specifically, intra-prediction candidates are limited based on the ratio of the difference between adjacent pixels in the horizontal direction of the unit area and the difference between adjacent pixels in the vertical component. Thereby, it can be known which of the horizontal direction and the vertical direction has the highest correlation, that is, the direction with the highest correlation. Therefore, when the amount of motion of the image is small, it is possible to accurately and efficiently exclude intra-prediction direction candidates with low correlation from the known pixel calculation information.

在上述实施例中,候选限定单元依据和图像数据的特征不同的要因,可以从内部预测方向候补中调整限定数。例如,根据内部预测装置的处理性能,能够从内部预测方向候补中调整限定数。In the above-described embodiment, the candidate limiting unit may adjust the limited number of intra prediction direction candidates according to factors different from the characteristics of the image data. For example, the limited number can be adjusted from intra prediction direction candidates according to the processing performance of the intra prediction device.

另外,在此所记载的并不仅仅是装置,还可以通过程序等手段来实现。In addition, what is described here is not limited to a device, and may be realized by means such as a program.

另外,虽然在上述实施例中对于图像为动画的情况进行了描述,但是内部预测的对象也可以是图片I,对JPEG等静止图像也可以适用根据本发明的内部预测,并且还可以进一步压缩编码数据。In addition, although the above-mentioned embodiment has described the case where the image is a moving image, the object of the intra prediction can also be the picture I, and the intra prediction according to the present invention can also be applied to still images such as JPEG, and further compression coding can be performed. data.

如果使用根据本发明的内部预测装置,能够以更少的计算负荷实现H.264的图像编码,并能够适用于除了个人计算机和HDD录像机、DVD录像机等之外带有摄像机、照相机的便携式电话机。另外,还能够适用于具备该内部预测装置的编码装置。If the intra-prediction device according to the present invention is used, the image encoding of H.264 can be realized with less calculation load, and it can be applied to portable telephones equipped with video cameras and cameras in addition to personal computers, HDD recorders, DVD recorders, etc. . In addition, it is also applicable to an encoding device including the intra prediction device.

Claims (24)

1、一种内部预测装置,其特征在于,包括:1. An internal forecasting device, characterized in that it comprises: 用来通过适应图像数据的特征从多个内部预测方向中限定适用于构成该图像数据的多个像素块的内部预测方向候补的候补限定装置,和candidate limiting means for defining candidates of intra-prediction directions suitable for a plurality of pixel blocks constituting the image data from among a plurality of intra-prediction directions by adapting to a characteristic of the image data, and 使用通过所述候补限定装置所限定的内部预测方向来执行内部预测的内部预测执行装置。intra-prediction performing means for performing intra-prediction using the intra-prediction direction defined by the candidate defining means. 2、根据权利要求1所记载的内部预测装置,其特征在于,所述候补限定装置根据作为所述图像数据特征的像素纵横比限定内部预测方向候补。2. The intra-prediction device according to claim 1, wherein said candidate limiting means limits candidates for an intra-prediction direction based on a pixel aspect ratio characteristic of said image data. 3、根据权利要求2所记载的内部预测装置,其特征在于,所述纵横比是从图像信号输入机器和来自视频流内外所得到的信息中的任何一个获得的。3. The intra prediction device according to claim 2, wherein the aspect ratio is obtained from any one of an image signal input device and information obtained from inside or outside the video stream. 4、根据权利要求2所记载的内部预测装置,其特征在于,所述候补限定装置通过使用根据所述像素纵横比在原始图像中的邻接像素间的水平和垂直距离作为内部预测的水平方向和垂直方向的预测的可信度,来限定内部预测方向候补。4. The intra prediction device according to claim 2, wherein the candidate limiting means uses the horizontal and vertical distances between adjacent pixels in the original image according to the pixel aspect ratio as the horizontal and vertical distances of the intra prediction. The reliability of the prediction in the vertical direction is used to limit the candidates for the internal prediction direction. 5、根据权利要求1记载的内部预测装置,其特征在于,所述候补限定装置通过显示是隔行扫描和逐行扫描中的哪一种,根据作为所述图像特征的图片构造信息,限定内部预测方向候补。5. The intra-prediction device according to claim 1, wherein said candidate limiting means limits intra-prediction based on picture structure information that is characteristic of said image by indicating which one is interlaced scanning and progressive scanning. direction alternate. 6、根据权利要求5所记载的内部预测装置,其特征在于,所述图片构造信息是从图像信号输入机器和来自视频流内外所得到信息中的任意一个获得的。6. The intra-prediction device according to claim 5, wherein the picture structure information is obtained from any one of image signal input equipment and information obtained from inside or outside the video stream. 7、根据权利要求5所记载的内部预测装置,其特征在于,在所述图片构造信息显示隔行扫描的情况下,所述候补限定装置从候补中优先排除包含在所述内部预测方向中的垂直-右方向和垂直-左方向。7. The intra prediction device according to claim 5, wherein when the picture structure information indicates interlaced scanning, the candidate limiting means preferentially excludes the vertical direction included in the intra prediction direction from the candidates. -right direction and vertically-left direction. 8、根据权利要求5所记载的内部预测装置,其特征在于,在所述图片构造信息显示隔行扫描的情况下,所述候补限定装置优先从候补中排除包含在所述内部预测方向的垂直-右方向、垂直-左方向、对角-下-右方向和对角-下-左方向。8. The intra prediction device according to claim 5, wherein when said picture structure information indicates interlaced scanning, said candidate limiting means preferentially excludes vertical- Right Direction, Vertical-Left Direction, Diagonal-Down-Right Direction, and Diagonal-Down-Left Direction. 9、根据权利要求5所记载的内部预测装置,其特征在于,在所述图片构造信息显示隔行扫描的情况下,所述候补限定装置优先从候补中排除包含在所述内部预测方向中的平均方向。9. The intra prediction device according to claim 5, wherein when the picture structure information indicates interlaced scanning, the candidate limiting means preferentially excludes the average value included in the intra prediction direction from the candidates. direction. 10、根据权利要求5所记载的内部预测装置,其特征在于,在所述图片构造信息显示隔行扫描的情况下,所述候补限定装置优先从候补中排除包含在所述内部预测方向中的平均方向和垂直方向。10. The intra prediction device according to claim 5, wherein when the picture structure information indicates interlaced scanning, the candidate limiting means preferentially excludes the average value included in the intra prediction direction from the candidates. direction and vertical direction. 11、根据权利要求5所记载的内部预测装置,其特征在于,在通过有关动画压缩方式的图片级自适应进行编码时,所述候补限定装置根据图片构造信息限定内部预测方向候补。11. The intra-prediction device according to claim 5, wherein said candidate limiting means limits candidates for intra-prediction directions based on picture structure information when encoding is performed by picture-level adaptation related to a video compression method. 12、根据权利要求5所记载的内部预测装置,其特征在于,所述图片构造信息是场构造和帧构造中的任意一个,在通过有关动画压缩方式的宏块级自适应进行编码时,在通过切换场构造上的一对宏块对和帧构造上的一对宏块对并进行预测时,所述候补限定装置根据该宏块对是场构造还是帧构造的信息限定内部预测候补。12. The intra-prediction device according to claim 5, wherein the picture structure information is any one of field structure and frame structure, and when encoding is performed by macroblock-level adaptive coding related to a moving picture compression method, in When performing prediction by switching between a pair of macroblocks in a field structure and a pair of macroblocks in a frame structure, the candidate limiting means limits candidates for intra prediction based on information on whether the macroblock pair has a field structure or a frame structure. 13、根据权利要求1所记载的内部预测装置,其特征在于,所述候补限定装置基于根据编码顺序在先的原始图像或编码图像得到的结果限定内部预测方向候补。13. The intra prediction device according to claim 1, wherein said candidate limiting means limits candidates for an intra prediction direction based on a result obtained from an original picture or a coded picture having a preceding encoding order. 14、根据权利要求13所记载的内部预测装置,其特征在于,可以使用编码对象图像前一个的原始图像或编码图像作为所述编码顺序在先的原始图像或编码图像。14. The intra prediction device according to claim 13, wherein an original picture or a coded picture preceding the picture to be coded can be used as the original picture or coded picture preceding the coding order. 15、根据权利要求13所记载的内部预测装置,其特征在于,所述结果是从编码顺序在先的编码图像所得到的动态向量,所述候补限定装置基于所述动态向量的方向限定内部预测方向候补。15. The intra-prediction device according to claim 13, wherein the result is a motion vector obtained from a coded picture earlier in coding order, and the candidate limiting means limits the intra-prediction based on the direction of the motion vector direction alternate. 16、根据权利要求15所记载的内部预测装置,其特征在于,作为所述动态向量,可以使用对于表示与编码对象的宏块相同空间的位置、包含该空间相同位置周围的位置以及图像整体中的任何一个的单位领域的动态向量。16. The intra prediction device according to claim 15, wherein, as the motion vector, a position indicating the same space as the macroblock to be coded, a position including the surrounding of the same space position, and an entire picture can be used. Any one of the dynamic vectors of the unit field. 17、根据权利要求13所记载的内部预测装置,其特征在于,所述结果是从编码顺序在先的编码图像所得到的内部预测方向,所述候补限定装置基于所述内部预测方向限定内部预测方向候补。17. The intra prediction device according to claim 13, wherein said result is an intra prediction direction obtained from a coded picture earlier in coding order, and said candidate limiting means limits intra prediction based on said intra prediction direction direction alternate. 18、根据权利要求17所记载的内部预测装置,其特征在于,作为所述内部预测方向,可以使用对于与编码对象的宏块相同空间的位置和包含该空间相同位置周围的位置的宏块的内部预测方向。18. The intra prediction device according to claim 17, wherein as the intra prediction direction, a macroblock at the same spatial position as the macroblock to be coded and a macroblock including a position around the same spatial position can be used. Internal forecast direction. 19、根据权利要求13所记载的内部预测装置,其特征在于,所述结果是所述编码顺序在先的原始图像或编码图像的邻接像素差分,所述候补限定装置基于所述邻接像素差分限定内部预测方向候补。19. The intra-prediction device according to claim 13, wherein said result is an adjacent pixel difference of said original image or encoded image earlier in encoding order, and said candidate limiting means defines Internal prediction direction candidate. 20、根据权利要求1所记载的内部预测装置,其特征在于,根据所述内部预测装置的处理性能,所述候补限定装置从所述内部预测方向的候补中调整限定数。20. The intra prediction device according to claim 1, wherein said candidate limiting means adjusts the limited number of candidates for said intra prediction direction according to the processing performance of said intra prediction device. 21、一种内部预测方法,其特征在于,包含:21. An internal forecasting method, characterized by comprising: 通过适应图像数据的特征从多个内部预测方向中限定适用于构成该图像数据的多个像素块的内部预测方向候补的候补限定步骤,和a candidate defining step of defining candidates of intra prediction directions suitable for a plurality of pixel blocks constituting the image data from a plurality of intra prediction directions by adapting to characteristics of the image data, and 使用通过所述候补限定步骤所限定的内部预测方向候补来执行内部预测的内部预测执行步骤。An intra prediction executing step of executing intra prediction using the intra prediction direction candidates defined in the candidate defining step. 22、根据权利要求21所记载的内部预测装置,其特征在于,根据执行所述内部预测方法的内部预测装置的处理性能,从所述内部预测方向候补中调整限定数。22. The intra prediction device according to claim 21, wherein the limited number is adjusted from the intra prediction direction candidates according to the processing performance of the intra prediction device executing the intra prediction method. 23、一种计算机程序,其特征在于,它是用于在计算机中执行内部预测的、记录在计算机可读取介质上的计算机程序,包括:23. A computer program, characterized in that it is a computer program recorded on a computer-readable medium for performing internal prediction in a computer, comprising: 在计算机中执行候补限定步骤的计算机可执行程序代码,所述候补限定步骤是通过适应图像数据的特征从多个内部预测方向中限定适用于构成该图像数据的多个像素块的内部预测方向候补,和A computer-executable program code for executing, in a computer, a candidate defining step of defining candidates of intra prediction directions applicable to a plurality of pixel blocks constituting the image data from among a plurality of intra prediction directions by adapting to characteristics of the image data ,and 在计算机中执行内部预测执行步骤的计算机可执行程序代码,所述内部预测执行步骤是通过使用由所述候补限定步骤所限定的内部预测方向候补来执行内部预测。A computer-executable program code for executing in a computer an intra prediction performing step of performing intra prediction by using the intra prediction direction candidates defined by the candidate defining step. 24、根据权利要求23所记载的计算机程序,其特征在于,根据计算机的处理性能,从所述内部预测方向的候补中调整限定数。24. The computer program according to claim 23, wherein the limited number is adjusted from the candidates of the intra prediction direction according to the processing performance of the computer.
CN 200510127574 2004-12-03 2005-12-05 Intra prediction apparatus Pending CN1784016A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2004350928 2004-12-03
JP2004350928 2004-12-03
JP2005321566 2005-11-04

Publications (1)

Publication Number Publication Date
CN1784016A true CN1784016A (en) 2006-06-07

Family

ID=36773689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510127574 Pending CN1784016A (en) 2004-12-03 2005-12-05 Intra prediction apparatus

Country Status (1)

Country Link
CN (1) CN1784016A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103338366A (en) * 2007-06-29 2013-10-02 夏普株式会社 Image encoding device, image encoding method, image decoding device, image decoding method
CN102187668B (en) * 2008-10-14 2013-10-30 法国电信公司 Method and device for encoding image or image sequence and decoding method and device
TWI642298B (en) * 2011-06-17 2018-11-21 日商Jvc建伍股份有限公司 Image decoding device, image decoding method, image decoding program
CN114868394A (en) * 2020-06-30 2022-08-05 谷歌有限责任公司 Gradient predictor for image compression

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103338366A (en) * 2007-06-29 2013-10-02 夏普株式会社 Image encoding device, image encoding method, image decoding device, image decoding method
CN103338366B (en) * 2007-06-29 2016-08-24 夏普株式会社 Picture coding device, method for encoding images, image decoder, image decoding method
CN102187668B (en) * 2008-10-14 2013-10-30 法国电信公司 Method and device for encoding image or image sequence and decoding method and device
TWI642298B (en) * 2011-06-17 2018-11-21 日商Jvc建伍股份有限公司 Image decoding device, image decoding method, image decoding program
CN114868394A (en) * 2020-06-30 2022-08-05 谷歌有限责任公司 Gradient predictor for image compression

Similar Documents

Publication Publication Date Title
CN100352287C (en) Picture encoding device, image decoding device and their methods
CN1202650C (en) Image processing method, image processing device, and data storage medium
CN1671209A (en) moving picture encoding device
CN1254113C (en) Image encoding device, image encoding method, image decoding device, image decoding method, and communication device
CN1295934C (en) Motion vector coding method and motion vector decoding method
CN1187988C (en) Motion compensating apparatus, moving image coding apparatus and method
CN1956546A (en) image coding device
CN1163077C (en) Video image signal encoding method and device for predicting macroblock code length
CN1703096A (en) Prediction encoder/decoder, prediction encoding/decoding method, and recording medium
CN1910933A (en) Image information encoding device and image information encoding method
CN1717058A (en) Image encoding method and device, and image decoding method and device
WO2010001916A1 (en) Image processing device and method
CN1535027A (en) A Method of Intra-frame Prediction for Video Coding
CN1751511A (en) Image encoding method and image decoding method
CN1493157A (en) Image encoding method and image decoding method
CN1666429A (en) Method and system for selecting interpolation filter type in video coding
CN1685732A (en) Dynamic image coding method and dynamic image decoding method
CN1910931A (en) Video encoding method and device, video decoding method and device, program thereof, and recording medium containing the program
CN1929608A (en) Picture coding method
CN101035292A (en) Moving image coding method and moving image decoding method
CN1909666A (en) Motion estimation apparatus
CN1612614A (en) Intra-picture prediction coding method
CN1578477A (en) Video encoding/decoding apparatus and method for color image
CN1784011A (en) Image coding apparatus and image coding method
CN1615645A (en) Coding dynamic filters

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication