JP2007251923A - Image encoding device and image coding method - Google Patents

Image encoding device and image coding method Download PDF

Info

Publication number
JP2007251923A
JP2007251923A JP2007002399A JP2007002399A JP2007251923A JP 2007251923 A JP2007251923 A JP 2007251923A JP 2007002399 A JP2007002399 A JP 2007002399A JP 2007002399 A JP2007002399 A JP 2007002399A JP 2007251923 A JP2007251923 A JP 2007251923A
Authority
JP
Japan
Prior art keywords
prediction
prediction direction
evaluation value
directions
calculated
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
JP2007002399A
Other languages
Japanese (ja)
Inventor
Norimichi Hiwasa
憲道 日和佐
Kanji Sakate
寛治 坂手
Toshiaki Shimada
敏明 嶋田
Hideki Inomata
英樹 猪股
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2007002399A priority Critical patent/JP2007251923A/en
Publication of JP2007251923A publication Critical patent/JP2007251923A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image encoding device capable of limiting the number of objects in a prediction direction for prediction evaluation value calculation at prediction encoding to derive the optimal prediction direction from the obtained prediction direction evaluation values and efficiently reducing the quantity of calculations by limiting the prediction direction. <P>SOLUTION: This image encoding device comprises a prediction direction designation means 101 for designating a prediction direction for a target encoding block, a first prediction evaluation value calculation means 102 for calculating a prediction evaluation value in the designated prediction direction, a prediction direction extraction means 103 for determining a preferred prediction direction based on the calculated prediction evaluation value and extracting the related prediction direction, a second prediction evaluation value calculation means 104 for calculating the prediction evaluation value in each extracted prediction direction, a prediction direction determination means 105 for determining the best prediction direction based on the calculated prediction evaluation value in each prediction direction and a prediction mode conversion means 106 for converting this best prediction direction to a prediction mode. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

この発明は、画像符号化装置および画像符号化方法に関するものである。 The present invention relates to an image encoding device and an image encoding method.

従来の画像符号化装置において適用される予測符号化として、例えばフレーム内で予測を行うイントラ予測符号化や、動画像で連続するフレーム間で予測を行うインター予測符号化などがあり、画像符号化方式の国際標準・規格にも採用されている。   Predictive coding applied in a conventional image coding apparatus includes, for example, intra-prediction coding that performs prediction within a frame, and inter-prediction coding that performs prediction between consecutive frames in a moving image. It is also used in international standards and standards.

図11は、例えば非特許文献1(以下、H.264方式という。なお、MPEG-4AVC方式と称することもある。)に記載されている4画素×4ラインのブロックを単位とするイントラ予測符号化の予測モードを示したものである。画像符号化の国際標準であるH.264方式では、図11に示した予測モード以外にもDC予測と呼ばれる予測モードがあるが、本願発明と直接関連しないDC予測の説明は省略する。ここで、図中の予測モードを示す番号は、非特許文献1の記載値とは異なる値0から7を割り振っており、以下、矢印の向きを予測方向と称して基本的に予測モードと対応させて説明する。   FIG. 11 shows an intra prediction code having a block of 4 pixels × 4 lines described in, for example, Non-Patent Document 1 (hereinafter referred to as H.264 system, which may be referred to as MPEG-4AVC system). This shows the prediction mode of conversion. In the H.264 system, which is an international standard for image coding, there is a prediction mode called DC prediction in addition to the prediction mode shown in FIG. 11, but description of DC prediction not directly related to the present invention will be omitted. Here, the numbers indicating the prediction modes in the figure are assigned values 0 to 7, which are different from the values described in Non-Patent Document 1. Hereinafter, the direction of the arrow is referred to as a prediction direction and basically corresponds to the prediction mode. Let me explain.

H.264方式は、同様に画像符号化の国際標準であるMPEG-2方式と比較して、画質の面において2倍の性能を有しているが、同一のフレームレートで符号化処理するためには、10倍以上の演算量が必要であると言われている。H.264方式がMPEG-2方式と比較して演算量が多くなる理由の1つに、このイントラ符号化で行われる予測符号化が挙げられる。   Similarly, the H.264 method has twice the performance in terms of image quality compared to the MPEG-2 method, which is an international standard for image coding, but because it performs coding processing at the same frame rate. Is said to require a calculation amount of 10 times or more. One of the reasons why the calculation amount of the H.264 system is larger than that of the MPEG-2 system is predictive encoding performed by this intra encoding.

H.264方式では、図12に示すように、符号化は16画素×16ラインの画素で構成されるマクロブロックと呼ばれる単位で行われる。さらに、イントラ予測は、そのマクロブロックを16個の4画素×4ライン、あるいは、4個の8画素×8ラインに分割したブロック単位(以下、符号化対象ブロックという。)で行われる。以下、4画素×4ラインの符号化対象ブロックを4×4ブロック、8画素×8ラインの符号化対象ブロックを8×8ブロックと記す。   In the H.264 system, as shown in FIG. 12, encoding is performed in units called macroblocks composed of 16 pixels × 16 lines of pixels. Further, intra prediction is performed in block units (hereinafter referred to as encoding target blocks) in which the macroblock is divided into 16 4 pixels × 4 lines or 4 8 pixels × 8 lines. Hereinafter, an encoding target block of 4 pixels × 4 lines is referred to as a 4 × 4 block, and an encoding target block of 8 pixels × 8 lines is referred to as an 8 × 8 block.

H.264方式では、イントラ符号化における符号化対象ブロックに対して、符号化の終了した近隣の画素を使用して予測値を求め、その予測値との誤差信号の符号化、いわゆる、予測符号化を行う。MPEG-2方式においてもイントラ符号化を行うが、MPEG-2方式では符号化対象ブロックの画素に対して予測を使用せずにそのまま符号化を実施する。   In the H.264 scheme, a prediction value is obtained for a block to be encoded in intra coding by using neighboring pixels that have been encoded, and an error signal is encoded with the prediction value, so-called prediction code. Do. In the MPEG-2 system, intra encoding is performed, but in the MPEG-2 system, encoding is performed as it is without using prediction for pixels of an encoding target block.

H.264方式において、4画素×4ラインの符号化対象ブロックの場合におけるイントラ予測符号化について説明する。図11における英大文字A〜Pで示した画素からなる4×4ブロックにおいて、符号化の終了した周辺の画素(図中の英小文字a〜mで示した画素)を使用して予測方向の予測画素の値(予測値)を演算し、符号化対象画素と予測画素との予測誤差信号を符号化する。例えば、図中の予測方向1と5の場合の予測画素を図13に示す。   In the H.264 system, intra prediction encoding in the case of a 4-pixel × 4-line encoding target block will be described. In the 4 × 4 block composed of pixels indicated by uppercase letters A to P in FIG. 11, prediction of the prediction direction is performed using peripheral pixels (pixels indicated by lowercase letters a to m in the figure) that have been encoded. A pixel value (prediction value) is calculated, and a prediction error signal between the encoding target pixel and the prediction pixel is encoded. For example, prediction pixels in the case of prediction directions 1 and 5 in the figure are shown in FIG.

予測方向1と5以外の予測方向の予測値は、符号化対象画素ごとに符号化の終了した周辺の画素a〜mから演算する。また、これらは8×8ブロックの場合においても、同様に予測方向と符号化の終了した周辺の画素を対応させ、予測方向の予測画素をその周辺の画素から演算することができる。   The prediction values in the prediction directions other than the prediction directions 1 and 5 are calculated from the surrounding pixels a to m that have been encoded for each encoding target pixel. Similarly, in the case of an 8 × 8 block, the prediction direction can be made to correspond to the surrounding pixels that have been encoded, and the prediction pixel in the prediction direction can be calculated from the surrounding pixels.

イントラ予測において最適な予測方向を求める方法について示す。一般に行われている方法としては、各予測方向の予測評価値を演算し、その予測評価値が最小となる予測方向を最適な予測方向として符号化に使用する方法がある。このとき、予測評価値としては、符号化対象ブロック内のすべての符号化対象画素とその予測画素(予測値)との差分絶対値あるいは差分二乗値を加算して得た総和値を使用することが多い。このような予測評価値の演算をすべての予測方向について行うためには、多くの演算量が必要とされる。   A method for obtaining an optimal prediction direction in intra prediction will be described. As a generally performed method, there is a method in which a prediction evaluation value in each prediction direction is calculated, and a prediction direction that minimizes the prediction evaluation value is used for encoding as an optimal prediction direction. At this time, as the prediction evaluation value, a sum value obtained by adding the absolute difference value or the square difference value between all the encoding target pixels in the encoding target block and the prediction pixel (prediction value) is used. There are many. In order to perform such calculation of the prediction evaluation value for all prediction directions, a large amount of calculation is required.

図14は、イントラ予測符号化の予測方向の予測評価値に基づく予測モード選択処理手順を示すフローチャートである。予測方向の番号をnとしたときに、その予測方向の予測評価値をEnとすると、図14においては、ステップST101ですべての予測方向の予測評価値(E0〜E7)を演算し、ステップST102でそのすべての予測方向の予測評価値に基づき最適な予測方向を決定し、ステップST103で最適な予測方向を対応する予測モードに変換する手順を示している。   FIG. 14 is a flowchart illustrating a prediction mode selection processing procedure based on the prediction evaluation value in the prediction direction of intra prediction encoding. If the prediction direction number is n and the prediction evaluation value of the prediction direction is En, in FIG. 14, the prediction evaluation values (E0 to E7) of all prediction directions are calculated in step ST101, and step ST102. The procedure for determining the optimum prediction direction based on the prediction evaluation values of all the prediction directions and converting the optimum prediction direction to the corresponding prediction mode in step ST103 is shown.

以上説明したように、H.264方式ではイントラ符号化において予測符号化を行うが、DC予測を除くと、8種類の予測方向の中から最適な予測モードを選択する。選択をするための予測評価値の演算は、1マクロブロックあたり4×4ブロックの場合には16個、8×8ブロックの場合には4個分を行うことになり、各ブロックですべての予測方向に対して予測評価値を演算することになるため、その演算量は膨大になる。   As described above, predictive coding is performed in intra coding in the H.264 scheme, but an optimal prediction mode is selected from eight types of prediction directions except for DC prediction. The calculation of prediction evaluation values for selection is performed for 16 blocks in the case of 4 × 4 blocks per macroblock and 4 blocks in the case of 8 × 8 blocks, and all predictions are performed in each block. Since the predicted evaluation value is calculated with respect to the direction, the calculation amount is enormous.

ITU-T Recommendation H.264勧告書Advanced video coding for generic audiovisual services8.3 Intra prediction process, Figure 8-1 (2005/3)ITU-T Recommendation H.264 Recommendation Advanced video coding for generic audiovisual services 8.3 Intra prediction process, Figure 8-1 (2005/3)

従来の画像符号化装置では、従来の技術の項で説明したように、イントラ符号化において予測符号化を行うが、すべての予測方向に対して予測評価値を演算しているため、その演算量は膨大になるという問題点がある。   In the conventional image coding apparatus, as described in the section of the prior art, prediction coding is performed in intra coding. However, since the prediction evaluation values are calculated in all prediction directions, the amount of calculation is large. Has the problem of becoming enormous.

この発明は、上述のような課題を解決するためになされたもので、予測符号化を行う際に、定義された複数の予測方向について、予測評価値を演算する予測方向の対象数を限定するための事前判定に用いる予測方向およびその判定により抽出された予測方向に限定した予測方向の予測評価値を演算するだけで最適な予測方向を決定することを目的とする。また、その予測評価値を演算する予測方向を限定することで、効率よく演算量を削減することを目的とする。   The present invention has been made to solve the above-described problems. When predictive coding is performed, the number of prediction direction targets for calculating a prediction evaluation value is limited for a plurality of defined prediction directions. It is an object to determine an optimal prediction direction only by calculating a prediction evaluation value of a prediction direction limited to a prediction direction used for prior determination for the purpose and a prediction direction extracted by the determination. It is another object of the present invention to efficiently reduce the amount of calculation by limiting the prediction direction in which the prediction evaluation value is calculated.

この発明に係る画像符号化装置は、予測符号化を行う画像符号化装置であって、符号化対象ブロックに対して少なくとも2つの予測方向を設定する予測方向設定手段と、この予測方向設定手段が設定した少なくとも2つの予測方向の予測評価値を演算する第1の予測評価値演算手段と、この第1の予測評価値演算手段が演算した各予測方向の予測評価値に基づいて優位な予測方向を決定し、その優位な方向に関係する1つまたは複数の予測方向を抽出する予測方向抽出手段と、この予測方向抽出手段が抽出した各予測方向の予測評価値を演算する第2の予測評価値演算手段と、前記第1、第2の予測評価値演算手段が演算した各予測方向の予測評価値に基づいて最適な予測方向を決定する予測方向決定手段と、この予測方向決定手段が決定した最適な予測方向をその予測方向に対応する予測モードに変換する予測モード変換手段とを備えたものである。   An image encoding apparatus according to the present invention is an image encoding apparatus that performs predictive encoding, and includes a prediction direction setting unit that sets at least two prediction directions for an encoding target block, and the prediction direction setting unit. A first prediction evaluation value calculation means for calculating a prediction evaluation value in at least two set prediction directions, and a prediction direction superior based on the prediction evaluation value for each prediction direction calculated by the first prediction evaluation value calculation means. A prediction direction extraction unit that extracts one or a plurality of prediction directions related to the dominant direction, and a second prediction evaluation that calculates a prediction evaluation value of each prediction direction extracted by the prediction direction extraction unit A value calculation unit, a prediction direction determination unit that determines an optimal prediction direction based on the prediction evaluation value of each prediction direction calculated by the first and second prediction evaluation value calculation units, and the prediction direction determination unit determines Shi Is obtained by a prediction mode conversion means for converting an optimum prediction direction to prediction mode corresponding to the prediction direction.

この発明によれば、予測符号化を行う際に、定義された複数の予測方向について、すべての予測評価値を演算することなく、予測評価値を演算する予測方向の対象数を限定するための事前判定に用いる予測方向およびその判定により抽出された予測方向に限定した予測方向の予測評価値を演算するだけで最適な予測方向を決定することができる。また、その予測評価値を演算する予測方向を限定することで、効率よく演算量を削減することができる効果がある。   According to the present invention, when performing predictive encoding, without calculating all prediction evaluation values for a plurality of defined prediction directions, the number of prediction direction targets for calculating prediction evaluation values is limited. An optimal prediction direction can be determined only by calculating the prediction direction used for the prior determination and the prediction evaluation value of the prediction direction limited to the prediction direction extracted by the determination. Moreover, there is an effect that the amount of calculation can be efficiently reduced by limiting the prediction direction in which the prediction evaluation value is calculated.

この発明に係る画像符号化装置におけるイントラ予測符号化の予測方向の予測評価値に基づく予測モード選択処理について説明する。ここでは、予測評価値として、従来の技術でも説明したように、符号化対象ブロック内のすべての符号化対象画素とその予測画素(予測値)との差分絶対値あるいは差分二乗値を加算して得た総和値を使用する。そして、予測評価値を演算した予測方向における最小の予測評価値をとる予測方向を最適な予測方向とするものとする。以下、この発明の実施の形態について、詳細な説明を行う。   A prediction mode selection process based on the prediction evaluation value in the prediction direction of intra prediction encoding in the image encoding device according to the present invention will be described. Here, as described in the prior art, as the prediction evaluation value, the difference absolute value or the difference square value between all the encoding target pixels in the encoding target block and the prediction pixel (prediction value) is added. Use the total value obtained. And the prediction direction which takes the minimum prediction evaluation value in the prediction direction which calculated the prediction evaluation value shall be an optimal prediction direction. Hereinafter, embodiments of the present invention will be described in detail.

実施の形態1.
この発明の実施の形態1では、最初に設定された少なくとも2つの予測方向の予測評価値の比率に基づいて推定した優位な予測方向の近傍の予測方向を抽出して予測評価値を演算し、演算された予測方向の予測評価値の中から最適な予測方向となる予測モードを選択する画像符号化装置について説明する。
Embodiment 1 FIG.
In Embodiment 1 of the present invention, a prediction evaluation value is calculated by extracting a prediction direction in the vicinity of a superior prediction direction estimated based on a ratio between prediction evaluation values of at least two prediction directions set at first, An image coding apparatus that selects a prediction mode that provides an optimal prediction direction from the calculated prediction evaluation values of the prediction direction will be described.

図1は、この発明の実施の形態1における画像符号化装置を示すブロック図である。また、図2は、この発明の実施の形態1における画像符号化装置に係るイントラ予測符号化の予測方向の予測評価値に基づく予測モード選択処理手順の一例を示すフローチャート図である。図1のブロック構成を図2の処理ステップに対応付けて説明する。   FIG. 1 is a block diagram showing an image coding apparatus according to Embodiment 1 of the present invention. FIG. 2 is a flowchart showing an example of a prediction mode selection processing procedure based on the prediction evaluation value in the prediction direction of intra prediction encoding according to the image encoding device in Embodiment 1 of the present invention. The block configuration of FIG. 1 will be described in association with the processing steps of FIG.

図1において、予測方向設定手段101Aは、予測評価値を演算する少なくとも2つの予測方向を設定する(ステップST201)。第1の予測評価値演算手段102は、画像データと予測方向設定手段101Aが設定した予測方向を入力として、その予測方向の予測評価値を演算して出力する(ステップST202)。予測方向抽出手段103は、第1の予測評価値演算手段102が出力した予測評価値を入力として、その予測評価値に基づいて(ステップST203)、他の予測評価値を演算する予測方向を抽出する(ステップST204およびステップST208)。第2の予測評価値演算手段104は、画像データと予測方向抽出手段103が抽出した予測方向を入力として、その予測方向の予測評価値を演算して出力する(ステップST205およびステップST209)。予測方向決定手段105は、第1の予測評価値演算手段102および第2の予測評価値演算手段104が出力した予測評価値を入力として、最適な予測方向を決定する(ステップST206)。予測モード変換手段106は、予測方向決定手段105が出力した予測方向を入力として、その予測方向に対応する予測モードを出力する(ステップST207)。   In FIG. 1, the prediction direction setting unit 101A sets at least two prediction directions for calculating a prediction evaluation value (step ST201). The first prediction evaluation value calculation means 102 receives the image data and the prediction direction set by the prediction direction setting means 101A as inputs, calculates and outputs a prediction evaluation value in the prediction direction (step ST202). The prediction direction extraction unit 103 receives the prediction evaluation value output from the first prediction evaluation value calculation unit 102 and extracts a prediction direction for calculating another prediction evaluation value based on the prediction evaluation value (step ST203). (Step ST204 and Step ST208). The second prediction evaluation value calculation means 104 receives the image data and the prediction direction extracted by the prediction direction extraction means 103, and calculates and outputs a prediction evaluation value in the prediction direction (step ST205 and step ST209). The prediction direction determination means 105 receives the prediction evaluation values output from the first prediction evaluation value calculation means 102 and the second prediction evaluation value calculation means 104 as input, and determines an optimal prediction direction (step ST206). The prediction mode conversion means 106 receives the prediction direction output from the prediction direction determination means 105, and outputs a prediction mode corresponding to the prediction direction (step ST207).

なお、第1の予測評価値演算手段102と第2の予測評価値演算手段104は、予測評価値と予測方向を対応付けて出力するものとする。また、第1の予測評価値演算手段102と第2の予測評価値演算手段104は、説明上独立した手段としているが、入力された予測方向に対して、その予測評価値を出力する1つの予測評価値演算部151として構成されても構わない。   In addition, the 1st prediction evaluation value calculation means 102 and the 2nd prediction evaluation value calculation means 104 shall match | combine and output a prediction evaluation value and a prediction direction. In addition, the first prediction evaluation value calculation means 102 and the second prediction evaluation value calculation means 104 are independent means for explanation, but one prediction evaluation value is output for the input prediction direction. The prediction evaluation value calculation unit 151 may be configured.

また、予測方向決定手段105と予測モード変換手段106は、説明上独立した手段としているが、非特許文献1のようにDC予測などのように予測方向以外を用いた予測評価値を加えて予測モードを決定する場合などにおいて、図11で示される予測方向と非特許文献で示される予測モードが並べ替えられているときの対応付けを明示したものであって、予測モードを予測方向のみによって、また並べ替えずに決定できるのであれば一体に構成された予測モード決定部152Aとしても構わない。   Further, although the prediction direction determination unit 105 and the prediction mode conversion unit 106 are independent units for explanation, prediction is performed by adding a prediction evaluation value using a direction other than the prediction direction such as DC prediction as in Non-Patent Document 1. In the case of determining the mode, etc., the correlation between the prediction direction shown in FIG. 11 and the prediction mode shown in the non-patent document is clearly specified, and the prediction mode is determined only by the prediction direction. Moreover, as long as it can determine without rearranging, it is good also as the prediction mode determination part 152A comprised integrally.

また、予測方向抽出手段103が抽出する予測方向は、1つに限らず複数であっても構わない。   The prediction direction extracted by the prediction direction extraction unit 103 is not limited to one and may be a plurality.

図2のフローチャート図に示されるこの発明の実施の形態1における予測モード選択処理手順を説明する。図11に記載した番号nで示される予測方向の予測評価値をEnとする。判定閾値Th0は、1以上の値とするが、ここでは1をとるものとして説明する。   A prediction mode selection processing procedure in the first embodiment of the present invention shown in the flowchart of FIG. 2 will be described. The prediction evaluation value in the prediction direction indicated by the number n shown in FIG. The determination threshold Th0 is set to a value of 1 or more, but will be described as being 1 here.

まず、ステップST201で、2つの予測方向1と5、すなわち、水平方向と垂直方向の予測評価値を演算するように設定する。ステップST202で、その設定された2つの予測方向の予測評価値E1、E5を演算する。   First, in step ST201, two prediction directions 1 and 5, that is, prediction evaluation values in the horizontal direction and the vertical direction are set to be calculated. In step ST202, prediction evaluation values E1 and E5 in the two set prediction directions are calculated.

次に、ステップST203の判定1において、予測評価値E1、E5の比率E5/E1に応じて優位な予測方向を推定する。ここでは、Th0=1から予測評価値E1、E5の単純比較となる。なお、判定1において、Th0>1であればE1とE5の単純比較ではなくなるため、ステップST203の不等式の関係により判定するものとする。   Next, in the determination 1 of step ST203, a dominant prediction direction is estimated according to the ratio E5 / E1 of the prediction evaluation values E1 and E5. Here, a simple comparison is made between the predicted evaluation values E1 and E5 from Th0 = 1. In the determination 1, if Th0> 1, it is not a simple comparison between E1 and E5, so it is determined based on the relationship of the inequality in step ST203.

判定1の判定閾値Th0=1との比較によって、E1がE5未満と判定される「Yes」の分岐において、ステップST204で、予測方向1が優位な予測方向とされ、予測方向1近傍の予測方向7、0、2、3を抽出する。そして、ステップST205で、抽出された予測方向の各予測評価値E7、E0、E2、E3を演算する。ステップST206で、演算された予測評価値E7、E0、E1、E2、E3の最小値をとる予測方向を最適な予測方向として決定する。ステップST207で、決定された最適な予測方向を対応する予測モードに変換する。   In the branch of “Yes” in which E1 is determined to be less than E5 by comparison with the determination threshold Th0 = 1 of determination 1, in step ST204, the prediction direction 1 becomes the dominant prediction direction, and the prediction direction near the prediction direction 1 Extract 7, 0, 2, 3. In step ST205, the prediction evaluation values E7, E0, E2, and E3 in the extracted prediction direction are calculated. In step ST206, the prediction direction that takes the minimum value of the calculated prediction evaluation values E7, E0, E1, E2, and E3 is determined as the optimal prediction direction. In step ST207, the determined optimal prediction direction is converted into a corresponding prediction mode.

また、判定1の判定閾値Th0=1との比較によって、E1がE5以上と判定される「No」の分岐において、ステップST208で、予測方向5が優位な予測方向とされ、予測方向5近傍の予測方向3、4、6、7を抽出する。そして、ステップST209で、抽出された予測方向の各予測評価値E3、E4、E6、E7を演算する。ステップST206で、演算された予測評価値E3、E4、E5、E6、E7の最小値をとる予測方向を最適な予測方向として決定する。ステップST207で、決定された最適な予測方向を対応する予測モードに変換する。   Further, in the “No” branch in which E1 is determined to be equal to or greater than E5 by comparison with the determination threshold Th0 = 1 in determination 1, in step ST208, the prediction direction 5 becomes the dominant prediction direction, and the vicinity of the prediction direction 5 Prediction directions 3, 4, 6, and 7 are extracted. In step ST209, the prediction evaluation values E3, E4, E6, and E7 in the extracted prediction direction are calculated. In step ST206, the prediction direction that takes the minimum value of the calculated prediction evaluation values E3, E4, E5, E6, and E7 is determined as the optimal prediction direction. In step ST207, the determined optimal prediction direction is converted into a corresponding prediction mode.

ここで、ステップST203の判定1の「No」の分岐において、判定閾値Th0=1とすれば、E1=E5となることはあるがE1<E5となることはない。判定1の「Yes」の分岐側が予測方向1をとるため、「No」の分岐側では予測方向5を優先し、予測評価値E1を加えた6つとせずに、予測評価値E3、E4、E5、E6、E7の5つにしている。なお、判定閾値Th0>1とすれば、Th0≧E5/E1>1の範囲では、E1<E5となるため、演算された予測評価値E1、E3、E4、E6、E7の5つから最適な予測方向を決定しても構わない。ただし、判定閾値Th0は1に近い値とすれば、E1とE5の差は小さいため、例外的にE5をとるように決定しても構わない。   Here, in the “No” branch of determination 1 in step ST203, if the determination threshold Th0 = 1, E1 = E5 may be satisfied, but E1 <E5 is not satisfied. Since the branch side of “Yes” in determination 1 takes the prediction direction 1, the branch direction of “No” gives priority to the prediction direction 5 and does not have six prediction evaluation values E1, but prediction evaluation values E3, E4, E5, E6, and E7 are used. Note that if the threshold value Th0> 1, then in the range of Th0 ≧ E5 / E1> 1, E1 <E5, so the optimal value is calculated from the five predicted evaluation values E1, E3, E4, E6, and E7. The prediction direction may be determined. However, if the determination threshold Th0 is a value close to 1, the difference between E1 and E5 is small, so that it may be determined to take E5 exceptionally.

ここでは、判定1で推定された優位な予測方向を基準として、図11において時計回りおよび反時計回りの両方向に各2つの予測方向を抽出した結果、予測方向3および7が重複しているが、時計回りおよび反時計回りに均等に抽出しないで、例えば、ステップST204で、予測方向0、2、3、ステップST208で、予測方向4、6、7を抽出することで重複させないようにしても構わない。   Here, as a result of extracting two prediction directions in both the clockwise direction and the counterclockwise direction in FIG. 11 with the dominant prediction direction estimated in the determination 1 as a reference, the prediction directions 3 and 7 overlap. For example, the prediction directions 0, 2, and 3 are extracted in step ST204, and the prediction directions 4, 6, and 7 are extracted in step ST208 so as not to overlap. I do not care.

この発明の実施の形態1においては、最初に設定する予測方向、その後に抽出される予測方向の数や向きを任意に変更しても構わない。ここでは、最初に設定する予測方向は、水平方向および垂直方向としたが、予測方向1、5以外の組合せで直交する予測方向、あるいは直交しない予測方向を設定しても構わない。   In the first embodiment of the present invention, the number of prediction directions to be set first and the number and directions of prediction directions extracted thereafter may be arbitrarily changed. Here, although the prediction direction set first is the horizontal direction and the vertical direction, a prediction direction that is orthogonal or a prediction direction that is not orthogonal may be set by a combination other than the prediction directions 1 and 5.

以上のように、この発明の実施の形態1によれば、すべての予測方向の予測評価値を演算する代わりに、より少ない予測方向の予測評価値を演算するだけで最適な予測方向を求めることができ、演算量の削減を図ることができる。   As described above, according to the first embodiment of the present invention, instead of calculating prediction evaluation values for all prediction directions, an optimal prediction direction can be obtained by calculating prediction evaluation values for fewer prediction directions. And the amount of calculation can be reduced.

実施の形態2.
この発明の実施の形態2では、最初に設定された少なくとも2つの予測方向ですべての予測方向を複数に区分し、その少なくとも2つの予測方向の予測評価値の比率に基づいて優位な予測方向と推定される区分の予測方向を抽出して予測評価値を演算し、演算された予測方向の予測評価値の中から最適な予測方向となる予測モードを選択する画像符号化装置について説明する。
Embodiment 2. FIG.
In Embodiment 2 of the present invention, all the prediction directions are divided into a plurality of at least two prediction directions that are initially set, and the prediction direction that is superior based on the ratio of the prediction evaluation values of the at least two prediction directions is An image coding apparatus that extracts a prediction direction of an estimated segment, calculates a prediction evaluation value, and selects a prediction mode that provides an optimal prediction direction from the prediction evaluation values of the calculated prediction direction will be described.

この発明の実施の形態2における画像符号化装置を示すブロック図は、この発明の実施の形態1で示した図1のブロック図と同一構成で説明される。また、図3は、この発明の実施の形態2における画像符号化装置に係るイントラ予測符号化の予測方向の予測評価値に基づく予測モード選択処理手順の一例を示すフローチャート図である。図1のブロック構成を図3の処理ステップに対応付けて説明する。   A block diagram showing an image coding apparatus according to Embodiment 2 of the present invention will be described with the same configuration as the block diagram of FIG. 1 shown in Embodiment 1 of the present invention. FIG. 3 is a flowchart showing an example of a prediction mode selection processing procedure based on the prediction evaluation value in the prediction direction of intra prediction encoding according to the image encoding device in Embodiment 2 of the present invention. The block configuration of FIG. 1 will be described in association with the processing steps of FIG.

図1において、予測方向設定手段101Aは、予測評価値を演算する少なくとも2つの予測方向を設定する(ステップST301)。第1の予測評価値演算手段102は、画像データと予測方向設定手段101Aが設定した予測方向を入力として、その予測方向の予測評価値を演算して出力する(ステップST302)。予測方向抽出手段103は、第1の予測評価値演算手段102が出力した予測評価値を入力として、その予測評価値に基づいて(ステップST303およびステップST308)、他の予測評価値を演算する予測方向を抽出する(ステップST304、ステップST309およびステップST311)。第2の予測評価値演算手段104は、画像データと予測方向抽出手段103が抽出した予測方向を入力として、その予測方向の予測評価値を演算して出力する(ステップST305、ステップST310およびステップST312)。予測方向決定手段105は、第1の予測評価値演算手段102および第2の予測評価値演算手段104が出力した予測評価値を入力として、最適な予測方向を決定する(ステップST306)。予測モード変換手段106は、予測方向決定手段105が出力した予測方向を入力として、その予測方向に対応する予測モードを出力する(ステップST307)。   In FIG. 1, the prediction direction setting means 101A sets at least two prediction directions for calculating a prediction evaluation value (step ST301). The first prediction evaluation value calculation means 102 receives the image data and the prediction direction set by the prediction direction setting means 101A as inputs, calculates and outputs a prediction evaluation value in the prediction direction (step ST302). The prediction direction extraction unit 103 receives the prediction evaluation value output from the first prediction evaluation value calculation unit 102 as an input, and performs prediction based on the prediction evaluation value (step ST303 and step ST308) to calculate another prediction evaluation value. The direction is extracted (step ST304, step ST309 and step ST311). The second prediction evaluation value calculation means 104 receives the image data and the prediction direction extracted by the prediction direction extraction means 103, and calculates and outputs a prediction evaluation value in the prediction direction (step ST305, step ST310 and step ST312). ). The prediction direction determination means 105 receives the prediction evaluation values output from the first prediction evaluation value calculation means 102 and the second prediction evaluation value calculation means 104 as input, and determines an optimal prediction direction (step ST306). The prediction mode conversion means 106 receives the prediction direction output from the prediction direction determination means 105, and outputs a prediction mode corresponding to the prediction direction (step ST307).

図3のフローチャート図に示されるこの発明の実施の形態2における予測モード選択処理手順を説明する。図11に記載した番号nで示される予測方向の予測評価値をEnとする。判定閾値Th0、Th1は、Th0>Th1≧1を満たす値として説明する。   A prediction mode selection processing procedure in the second embodiment of the present invention shown in the flowchart of FIG. 3 will be described. The prediction evaluation value in the prediction direction indicated by the number n shown in FIG. The determination thresholds Th0 and Th1 will be described as values satisfying Th0> Th1 ≧ 1.

まず、この発明の実施の形態1と同様に、ステップST301で、2つの予測方向1と5、すなわち、水平方向と垂直方向の予測評価値を演算するように設定する。ステップST302で、その設定された2つの予測方向の予測評価値E1、E5を演算する。   First, similarly to the first embodiment of the present invention, in step ST301, two prediction directions 1 and 5, that is, prediction evaluation values in the horizontal direction and the vertical direction are set to be calculated. In step ST302, prediction evaluation values E1 and E5 in the two set prediction directions are calculated.

次に、ステップST303の判定1、ステップST308の判定2において、予測評価値E1、E5の比率E5/E1に応じて、判定閾値Th0ではE1とE5に十分な差があるか、判定閾値Th1ではある比率以上の相対的な差があるかを判定する。2つの判定から、E5/E1>Th0、Th0≧E5/E1>Th1、E5/E1≦Th1の3つに区分する。E5/E1>Th0では、Th0>1からE1がE5より十分小さい関係の区分となる。Th0≧E5/E1>Th1では、Th1≧1からE1がE5より少し小さい関係の区分となる。E5/E1≦Th1では、Th1≧1からE1がE5よりほとんど等しい関係(Th1>1のとき)またはE1がE5以上の関係の区分となる。   Next, in determination 1 in step ST303 and determination 2 in step ST308, according to the ratio E5 / E1 of the predicted evaluation values E1 and E5, is there a sufficient difference between E1 and E5 at the determination threshold Th0, or at the determination threshold Th1? Determine if there is a relative difference greater than a certain ratio. From the two determinations, E5 / E1> Th0, Th0 ≧ E5 / E1> Th1, and E5 / E1 ≦ Th1 are classified. In E5 / E1> Th0, the relationship is such that Th0> 1 to E1 is sufficiently smaller than E5. In the case of Th0 ≧ E5 / E1> Th1, the relationship is such that Th1 ≧ 1 and E1 is slightly smaller than E5. In E5 / E1 ≦ Th1, the relationship is such that Th1 ≧ 1 and E1 is almost equal to E5 (when Th1> 1) or E1 is greater than or equal to E5.

判定1の判定閾値Th0>1との比較によって、E5/E1>Th0でE1がE5より十分小さいと判定される「Yes」の分岐において、ステップST304で、予測方向1を優位な予測方向とし、予測方向1近傍の予測方向0、2を抽出する。そして、ステップST305で、抽出された予測方向の各予測評価値E0、E2を演算する。ステップST306で、演算された予測評価値E0、E1、E2の最小値をとる予測方向を最適な予測方向として決定する。ステップST307で、決定された最適な予測方向を対応する予測モードに変換する。   In the branch of “Yes” where E5 / E1> Th0 and E1 is determined to be sufficiently smaller than E5 by comparison with the determination threshold Th0> 1 of determination 1, in step ST304, the prediction direction 1 is set as the dominant prediction direction, Prediction directions 0 and 2 near the prediction direction 1 are extracted. In step ST305, the prediction evaluation values E0 and E2 in the extracted prediction direction are calculated. In step ST306, the prediction direction that takes the minimum value of the calculated prediction evaluation values E0, E1, and E2 is determined as the optimal prediction direction. In step ST307, the determined optimal prediction direction is converted into a corresponding prediction mode.

判定1で「No」と判定された後、判定2の判定閾値Th1≧1との比較によって、Th0≧E5/E1>Th1でE1がE5より少し小さいと判定される「Yes」の分岐において、ステップST309で、予測方向1を優位な予測方向とし、予測方向1、5に挟まれた予測方向3、4を抽出する。そして、ステップST310で、抽出された予測方向の各予測評価値E3、E4を演算する。ステップST306で、演算された予測評価値E1、E3、E4の最小値をとる予測方向を最適な予測方向として決定する。ステップST307で、決定された最適な予測方向を対応する予測モードに変換する。   In the branch of “Yes” in which E1 is determined to be slightly smaller than E5 by Th0 ≧ E5 / E1> Th1 by comparison with the determination threshold Th1 ≧ 1 in determination 2 after “No” is determined in determination 1. In step ST309, the prediction direction 1 is set as the dominant prediction direction, and prediction directions 3 and 4 sandwiched between the prediction directions 1 and 5 are extracted. In step ST310, the prediction evaluation values E3 and E4 in the extracted prediction direction are calculated. In step ST306, the prediction direction that takes the minimum value of the calculated prediction evaluation values E1, E3, and E4 is determined as the optimal prediction direction. In step ST307, the determined optimal prediction direction is converted into a corresponding prediction mode.

判定1で「No」と判定された後、判定2の判定閾値Th1≧1との比較によって、E5/E1≦Th1でE1がE5よりほとんど等しい(Th1>1のとき)またはE1がE5以上と判定される「No」の分岐において、ステップST311で、予測方向5を優位な予測方向とし、予測方向6、7を抽出する。そして、ステップST312で、抽出された予測方向の各予測評価値E6、E7を演算する。ステップST306で、演算された予測評価値E5、E6、E7の最小値をとる予測方向を最適な予測方向として決定する。ステップST307で、決定された最適な予測方向を対応する予測モードに変換する。   After judging “No” in judgment 1, by comparison with judgment threshold Th1 ≧ 1 in judgment 2, E1 is almost equal to E5 when E5 / E1 ≦ Th1 (when Th1> 1) or E1 is equal to or greater than E5. In the “No” branch to be determined, in step ST311, the prediction direction 5 is set as the dominant prediction direction, and the prediction directions 6 and 7 are extracted. In step ST312, the prediction evaluation values E6 and E7 in the extracted prediction direction are calculated. In step ST306, the prediction direction that takes the minimum value of the calculated prediction evaluation values E5, E6, and E7 is determined as the optimal prediction direction. In step ST307, the determined optimal prediction direction is converted into a corresponding prediction mode.

ここで、ステップST308の判定2の「No」の分岐において、判定閾値Th1=1とすれば、E1=E5となることはあるがE1<E5となることはない。ステップST303の判定1の「Yes」、判定2の「Yes」の分岐側がともに予測方向1をとるため、判定2の「No」の分岐側では予測方向5を優先し、予測評価値E1を加えた4つとせずに、予測評価値E5、E6、E7の3つにしている。なお、判定閾値Th1>1とすれば、Th1≧E5/E1>1の範囲では、E1<E5となるため、演算された予測評価値E1、E6、E7の3つから最適な予測方向を決定しても構わない。ただし、判定閾値Th1が1に近い値とすれば、E1とE5の差は小さいため、例外的にE5をとるように決定しても構わない。   Here, in the “No” branch of determination 2 in step ST308, if the determination threshold Th1 = 1, E1 = E5 may be obtained, but E1 <E5 is not satisfied. Since both the branch of “Yes” of decision 1 in step ST303 and the branch of “Yes” in decision 2 take the prediction direction 1, the branch of “No” in decision 2 gives priority to the prediction direction 5 and adds the prediction evaluation value E1. The predicted evaluation values E5, E6, and E7 are set to three instead of four. If the determination threshold value Th1> 1, then in the range of Th1 ≧ E5 / E1> 1, E1 <E5, so the optimum prediction direction is determined from the three calculated prediction evaluation values E1, E6, and E7. It doesn't matter. However, if the determination threshold Th1 is a value close to 1, the difference between E1 and E5 is small, so that it may be determined to take E5 exceptionally.

この発明の実施の形態2において、予測評価値の比率E1/E5に応じて予測方向を抽出し、その抽出された予測方向の予測評価値を演算して、最適な予測方向を決定する考え方は、この発明の実施の形態1と基本的に同様である。   In the second embodiment of the present invention, the concept of extracting a prediction direction according to a ratio E1 / E5 of prediction evaluation values, calculating a prediction evaluation value of the extracted prediction direction, and determining an optimal prediction direction is as follows. This is basically the same as Embodiment 1 of the present invention.

また、この発明の実施の形態2では、判定閾値Th0、Th1の関係をTh0>Th1≧1として説明したが、Th0>1>Th1>0とすることで、図3において、E5/E1の比率が判定1の「Yes」の分岐では1より十分大きい予測方向1が優位なとき、判定1の「No」の分岐後、判定2の「Yes」の分岐では1近傍のとき、判定2の「No」の分岐では1より十分小さい予測方向5が優位なときの3つに区分しても構わない。また、E5/E1の比率をTh1=1/Th0とした3区分としてE1、E5に関して対称に判定することもできる。   In the second embodiment of the present invention, the relationship between the determination thresholds Th0 and Th1 has been described as Th0> Th1 ≧ 1, but by setting Th0> 1> Th1> 0, the ratio of E5 / E1 in FIG. When the prediction direction 1 that is sufficiently larger than 1 is dominant in the “Yes” branch of the determination 1, after the “No” branch of the determination 1, and in the vicinity of 1 in the “Yes” branch of the determination 2, The branch of “No” may be divided into three when the prediction direction 5 sufficiently smaller than 1 is dominant. Further, it can be determined symmetrically with respect to E1 and E5 as three sections where the ratio of E5 / E1 is Th1 = 1 / Th0.

この発明の実施の形態2においては、この発明の実施の形態1と同様に、最初に設定する予測方向、その後に抽出される予測方向の数や向きを任意に変更しても構わない。ここでは、最初に設定する予測方向は、水平方向および垂直方向としたが、予測方向1、5以外の組合せで直交する予測方向、あるいは直交しない予測方向を設定しても構わない。   In the second embodiment of the present invention, similarly to the first embodiment of the present invention, the prediction direction to be initially set and the number and direction of the prediction directions extracted thereafter may be arbitrarily changed. Here, although the prediction direction set first is the horizontal direction and the vertical direction, a prediction direction that is orthogonal or a prediction direction that is not orthogonal may be set by a combination other than the prediction directions 1 and 5.

以上のように、この発明の実施の形態2によれば、すべての予測方向の予測評価値を演算する代わりに、より少ない予測方向の予測評価値を演算するだけで最適な予測方向を求めることができ、演算量の削減を図ることができる。   As described above, according to the second embodiment of the present invention, instead of calculating prediction evaluation values for all prediction directions, an optimal prediction direction can be obtained by calculating prediction evaluation values for fewer prediction directions. And the amount of calculation can be reduced.

実施の形態3.
この発明の実施の形態3では、最初に設定された少なくとも2つの予測方向の予測評価値の比率に基づいて他の予測方向を指定し、その指定した予測方向の予測評価値を加えた他の組合せの比率から推定した予測方向を抽出して予測評価値を演算し、演算された予測方向の予測評価値の中から最適な予測方向となる予測モードを選択する画像符号化装置について説明する。この発明の実施の形態3では、最終的に予測評価値を演算すべき予測方向を抽出するまで、予測方向を1回または複数回の追加指定を行い、また1回に指定する予測方向も1つまたは複数とする。
Embodiment 3 FIG.
In the third embodiment of the present invention, another prediction direction is designated based on the ratio of the prediction evaluation values of at least two prediction directions set at first, and the prediction evaluation value of the designated prediction direction is added. An image coding apparatus that extracts a prediction direction estimated from a combination ratio, calculates a prediction evaluation value, and selects a prediction mode that provides an optimal prediction direction from the calculated prediction evaluation values of the prediction direction will be described. In Embodiment 3 of the present invention, the prediction direction is additionally specified once or plural times until the prediction direction in which the prediction evaluation value is to be calculated is finally extracted, and the prediction direction specified at one time is also 1 One or more.

図4は、この発明の実施の形態3における画像符号化装置を示すブロック図である。また、図5は、この発明の実施の形態3における画像符号化装置に係るイントラ予測符号化の予測方向の予測評価値に基づく予測モード選択処理手順の一例を示すフローチャート図である。図4のブロック構成を図5の処理ステップに対応付けて説明する。   FIG. 4 is a block diagram showing an image coding apparatus according to Embodiment 3 of the present invention. FIG. 5 is a flowchart showing an example of a prediction mode selection processing procedure based on the prediction evaluation value in the prediction direction of intra prediction encoding according to the image encoding device in Embodiment 3 of the present invention. The block configuration of FIG. 4 will be described in association with the processing steps of FIG.

図4において、予測方向設定手段201Aは、予測評価値を演算する少なくとも2つの予測方向を設定する(ステップST401)。第1の予測評価値演算手段202は、画像データと予測方向設定手段201Aが設定した予測方向を入力として、その予測方向の予測評価値を演算して出力する(ステップST402)。予測方向指定手段203は、第1の予測評価値演算手段202が出力した予測評価値を入力として、その予測評価値に基づいて(ステップST403)、他の予測評価値を演算する予測方向を指定する(ステップST404およびステップST413)。第2の予測評価値演算手段204は、画像データと予測方向指定手段203が抽出した予測方向を入力として、その予測方向の予測評価値を演算して出力する(ステップST405およびステップST414)。予測方向抽出手段205は、第1の予測評価値演算手段202および第2の予測評価値演算手段204が出力した予測評価値を入力として、その予測評価値に基づいて(ステップST406およびステップST415)、他の予測評価値を演算する予測方向を抽出する(ステップST407、ステップST411、ステップST416およびステップST418)。第3の予測評価値演算手段206は、画像データと予測方向抽出手段205が抽出した予測方向を入力として、その予測方向の予測評価値を演算して出力する(ステップST408、ステップST412、ステップST417およびステップST419)。予測方向決定手段207は、第1の予測評価値演算手段202、第2の予測評価値演算手段204および第3の予測評価値演算手段206が出力した予測評価値を入力として、最適な予測方向を決定する(ステップST409)。予測モード変換手段208は、予測方向決定手段207が出力した予測方向を入力として、その予測方向に対応する予測モードを出力する(ステップST410)。   In FIG. 4, the prediction direction setting means 201A sets at least two prediction directions for calculating a prediction evaluation value (step ST401). First prediction evaluation value calculation means 202 receives the prediction direction set by image data and prediction direction setting means 201A as input, and calculates and outputs a prediction evaluation value in that prediction direction (step ST402). The prediction direction designation unit 203 receives the prediction evaluation value output from the first prediction evaluation value calculation unit 202 as an input, and specifies a prediction direction for calculating another prediction evaluation value based on the prediction evaluation value (step ST403). (Step ST404 and Step ST413). The second prediction evaluation value calculating means 204 receives the image data and the prediction direction extracted by the prediction direction designating means 203, calculates and outputs a prediction evaluation value in the prediction direction (step ST405 and step ST414). The prediction direction extraction unit 205 receives the prediction evaluation values output from the first prediction evaluation value calculation unit 202 and the second prediction evaluation value calculation unit 204 as input, and based on the prediction evaluation values (step ST406 and step ST415). Then, a prediction direction for calculating another prediction evaluation value is extracted (step ST407, step ST411, step ST416, and step ST418). The third prediction evaluation value calculation means 206 receives the image data and the prediction direction extracted by the prediction direction extraction means 205, and calculates and outputs a prediction evaluation value in the prediction direction (step ST408, step ST412, step ST417). And step ST419). The prediction direction determination means 207 receives the prediction evaluation values output from the first prediction evaluation value calculation means 202, the second prediction evaluation value calculation means 204, and the third prediction evaluation value calculation means 206 as an input, and the optimal prediction direction. Is determined (step ST409). The prediction mode conversion means 208 receives the prediction direction output from the prediction direction determination means 207 and outputs a prediction mode corresponding to the prediction direction (step ST410).

なお、第1の予測評価値演算手段202、第2の予測評価値演算手段204および第3の予測評価値演算手段206は、予測評価値と予測方向を対応付けて出力するものとする。また、第1の予測評価値演算手段202、第2の予測評価値演算手段204および第3の予測評価値演算手段206は、説明上独立した手段としているが、所望の予測方向に対してその予測評価値を出力する1つの予測評価値演算部251として構成されても構わない。   Note that the first prediction evaluation value calculation unit 202, the second prediction evaluation value calculation unit 204, and the third prediction evaluation value calculation unit 206 output the prediction evaluation value and the prediction direction in association with each other. In addition, the first predicted evaluation value calculating means 202, the second predicted evaluation value calculating means 204, and the third predicted evaluation value calculating means 206 are independent means for explanation, but the desired prediction direction is You may comprise as one prediction evaluation value calculating part 251 which outputs a prediction evaluation value.

また、予測方向決定手段207と予測モード変換手段208は、説明上独立した手段としているが、非特許文献1のようにDC予測などのように予測方向以外を用いた予測評価値を加えて予測モードを決定する場合などにおいて、図11で示される予測方向と非特許文献で示される予測モードが並べ替えられているときの対応付けを明示したものであって、予測モードを予測方向のみによって、また並べ替えずに決定できるのであれば一体に構成された予測モード決定部252Aとしても構わない。   Moreover, although the prediction direction determination means 207 and the prediction mode conversion means 208 are independent means for explanation, prediction is performed by adding a prediction evaluation value using a direction other than the prediction direction such as DC prediction as in Non-Patent Document 1. In the case of determining the mode, etc., the correlation between the prediction direction shown in FIG. 11 and the prediction mode shown in the non-patent document is clearly specified, and the prediction mode is determined only by the prediction direction. Moreover, as long as it can determine without rearranging, it is good also as the prediction mode determination part 252A comprised integrally.

また、予測方向指定手段203が指定する予測方向、予測方向抽出手段205が抽出する予測方向は、1つに限らず複数であっても構わない。   Further, the prediction direction designated by the prediction direction designation unit 203 and the prediction directions extracted by the prediction direction extraction unit 205 are not limited to one and may be plural.

図5のフローチャート図に示されるこの発明の実施の形態3における予測モード選択処理手順を説明する。図11に記載した番号nで示される予測方向の予測評価値をEnとする。判定閾値Th0、Th1、Th2は、1以上の値とするが、ここではすべて1をとるものとして説明する。   A prediction mode selection processing procedure in the third embodiment of the present invention shown in the flowchart of FIG. 5 will be described. The prediction evaluation value in the prediction direction indicated by the number n shown in FIG. The determination threshold values Th0, Th1, and Th2 are set to values of 1 or more, but here, description will be made assuming that all are 1.

まず、この発明の実施の形態1とは最初に設定される予測方向が異なり、ステップST401で、2つの予測方向3と4(図11参照)の予測評価値を演算するように設定する。ステップST402で、その設定された2つの予測方向の予測評価値E3、E4を演算する。   First, the prediction direction initially set is different from that of the first embodiment of the present invention, and in step ST401, the prediction evaluation values in the two prediction directions 3 and 4 (see FIG. 11) are set to be calculated. In step ST402, prediction evaluation values E3 and E4 in the two set prediction directions are calculated.

次に、ステップST403の判定1において、予測評価値E3、E4の比率E4/E3に応じて、優位な予測方向を推定し、さらに、予測方向3に対して予測方向1、予測方向4に対して予測方向6を追加指定することで、その予測評価値の比率に応じて、より優位な予測方向を推定し、他の予測方向を抽出していく。   Next, in determination 1 of step ST403, a preferential prediction direction is estimated according to the ratio E4 / E3 of the prediction evaluation values E3 and E4, and further, with respect to the prediction direction 3, the prediction direction 1 and the prediction direction 4 By additionally specifying the prediction direction 6, a more preferential prediction direction is estimated according to the ratio of the prediction evaluation values, and other prediction directions are extracted.

判定1の判定閾値Th0=1との比較によって、E4/E3>Th0でE3<E4と判定される「Yes」の分岐において、ステップST404で、予測方向3を優位な予測方向とし、例えば予測方向3から1つおいた予測方向1を追加指定する。そして、ステップST405で、指定された予測方向1の予測評価値E1を演算する。   In the branch of “Yes” where E4 / E3> Th0 and E3 <E4 is determined by comparison with the determination threshold Th0 = 1 of determination 1, in step ST404, the prediction direction 3 is set as the dominant prediction direction. For example, the prediction direction Specify one additional prediction direction 1 from 3. In step ST405, the prediction evaluation value E1 in the designated prediction direction 1 is calculated.

次に、ステップST406の判定2において、予測方向3と追加指定した予測方向1の予測評価値E3、E1の比率E4/E3に応じて、より優位な予測方向を推定する。判定2の判定閾値Th1=1との比較によって、E3/E1>Th1でE1<E3と判定される「Yes」の分岐において、ステップST407で、このとき優位な予測方向1に対して例えばその近傍にある予測方向0を抽出し、ステップST408で、その予測方向0の予測評価値E0を演算する。ステップST409で、これまでの判定で予測評価値が最も小さい予測方向1の予測評価値E1と最後に抽出された予測方向0の予測評価値E0からより小さな値をとる予測方向を最適な予測方向として決定する。ステップST410で、決定された最適な予測方向を対応する予測モードに変換する。   Next, in decision 2 of step ST406, a more dominant prediction direction is estimated according to the prediction direction 3 and the ratio E4 / E3 of the prediction evaluation values E3 and E1 of the additionally specified prediction direction 1. In the branch of “Yes” where E3 / E1> Th1 and E1 <E3 are determined by comparison with the determination threshold Th1 = 1 in determination 2, in step ST407, for example, the vicinity of the dominant prediction direction 1 at this time In step ST408, a prediction evaluation value E0 in the prediction direction 0 is calculated. In step ST409, the prediction direction having a smaller value from the prediction evaluation value E1 of the prediction direction 1 having the smallest prediction evaluation value and the prediction evaluation value E0 of the prediction direction 0 extracted last is determined as the optimum prediction direction. Determine as. In step ST410, the determined optimal prediction direction is converted into a corresponding prediction mode.

また、判定2の判定閾値Th1=1との比較によって、E3/E1≦Th1でE1≧E3と判定される「No」の分岐において、ステップST411で、このとき優位な予測方向3に対して例えばその近傍にある予測方向2を抽出し、ステップST412で、その予測方向2の予測評価値E2を演算する。ステップST409で、これまでの判定で予測評価値が最も小さい予測方向3の予測評価値E3と最後に抽出された予測方向2の予測評価値E2からより小さな値をとる予測方向を最適な予測方向として決定する。ステップST410で、決定された最適な予測方向を対応する予測モードに変換する。なお、判定閾値Th1=1ではE3=E1となる場合もあるが、E1<E3と判定される判定2の「Yes」の分岐において予測方向1を使用するため、予測方向3を優先するものとした。   Further, in the “No” branch in which E3 / E1 ≦ Th1 and E1 ≧ E3 is determined by comparison with the determination threshold Th1 = 1 in determination 2, in step ST411, for example, with respect to the dominant prediction direction 3 at this time A prediction direction 2 in the vicinity thereof is extracted, and a prediction evaluation value E2 in the prediction direction 2 is calculated in step ST412. In step ST409, the prediction direction having a smaller value from the prediction evaluation value E3 in the prediction direction 3 having the smallest prediction evaluation value and the prediction evaluation value E2 in the prediction direction 2 extracted last is determined as the optimum prediction direction. Determine as. In step ST410, the determined optimal prediction direction is converted into a corresponding prediction mode. Note that although E3 = E1 may be obtained when the determination threshold Th1 = 1, the prediction direction 1 is used in the “Yes” branch of the determination 2 in which it is determined that E1 <E3, and therefore the prediction direction 3 has priority. did.

判定1の判定閾値Th0=1との比較によって、E4/E3≦Th0でE3≧E4と判定される「No」の分岐において、ステップST413で、予測方向4を優位な予測方向とし、例えば予測方向4から1つおいた予測方向6を追加指定する。そして、ステップST414で、指定された予測方向6の予測評価値E6を演算する。なお、判定閾値Th0=1ではE3=E4となる場合もあるが、E3<E4と判定される判定1の「Yes」の分岐において予測方向3を使用するため、予測方向4を優先するものとした。   In the branch of “No” where E4 / E3 ≦ Th0 and E3 ≧ E4 is determined by comparison with the determination threshold Th0 = 1 of determination 1, in step ST413, the prediction direction 4 is set as the dominant prediction direction. 4. Specify one additional prediction direction 6 from 4. In step ST414, the prediction evaluation value E6 in the designated prediction direction 6 is calculated. Note that E3 = E4 may be obtained when the determination threshold Th0 = 1, but since the prediction direction 3 is used in the “Yes” branch of determination 1 in which it is determined that E3 <E4, the prediction direction 4 is given priority. did.

次に、ステップST415の判定3において、予測方向4と追加指定した予測方向6の予測評価値E4、E6の比率E4/E6に応じて、より優位な予測方向を推定する。判定3の判定閾値Th2=1との比較によって、E4/E6>Th2でE6<E4と判定される「Yes」の分岐において、ステップST416で、このとき優位な予測方向6に対して例えばその近傍にある予測方向7を抽出し、ステップST417で、その予測方向7の予測評価値E7を演算する。ステップST409で、これまでの判定で予測評価値が最も小さい予測方向6の予測評価値E6と最後に抽出された予測方向7の予測評価値E7からより小さな値をとる予測方向を最適な予測方向として決定する。ステップST410で、決定された最適な予測方向を対応する予測モードに変換する。   Next, in decision 3 of step ST415, a more preferential prediction direction is estimated according to the prediction evaluation values E4 and E6 ratio E4 / E6 of the prediction direction 6 additionally specified. In the branch of “Yes” where E4 / E6> Th2 and E6 <E4 is determined by comparison with the determination threshold Th2 = 1 in determination 3, in step ST416, for example, in the vicinity of the dominant prediction direction 6 at this time In step ST417, a prediction evaluation value E7 in the prediction direction 7 is calculated. In step ST409, the prediction direction having a smaller value from the prediction evaluation value E6 in the prediction direction 6 having the smallest prediction evaluation value and the prediction evaluation value E7 in the prediction direction 7 extracted last is determined as the optimum prediction direction. Determine as. In step ST410, the determined optimal prediction direction is converted into a corresponding prediction mode.

また、判定3の判定閾値Th2=1との比較によって、E4/E6≦Th2でE6≧E4と判定される「No」の分岐において、ステップST418で、このとき優位な予測方向4に対して例えばその近傍にある予測方向5を抽出し、ステップST419で、その予測方向5の予測評価値E5を演算する。ステップST409で、これまでの判定で予測評価値が最も小さい予測方向4の予測評価値E4と最後に抽出された予測方向5の予測評価値E5からより小さな値をとる予測方向を最適な予測方向として決定する。ステップST410で、決定された最適な予測方向を対応する予測モードに変換する。なお、判定閾値Th2=1ではE4=E6となる場合もあるが、E6<E4と判定される判定3の「Yes」の分岐において予測方向6を使用するため、予測方向4を優先するものとした。   Further, in the branch of “No” where E4 / E6 ≦ Th2 and E6 ≧ E4 is determined by comparison with the determination threshold Th2 = 1 in determination 3, in step ST418, for example, for the prevailing prediction direction 4, A prediction direction 5 in the vicinity thereof is extracted, and a prediction evaluation value E5 in the prediction direction 5 is calculated in step ST419. In step ST409, the prediction direction that has a smaller value from the prediction evaluation value E4 of the prediction direction 4 having the smallest prediction evaluation value and the prediction evaluation value E5 of the prediction direction 5 extracted last is determined as the optimum prediction direction. Determine as. In step ST410, the determined optimal prediction direction is converted into a corresponding prediction mode. Note that E4 = E6 may be obtained when the determination threshold Th2 = 1, but since the prediction direction 6 is used in the “Yes” branch of the determination 3 in which E6 <E4 is determined, the prediction direction 4 is given priority. did.

ここで、判定1から判定3の判定閾値Th0からTh2において、1より大きい値をとるときには、例えば、この発明の実施の形態1における図2の判定1のように、その判定閾値の比較対象である予測評価値の予測方向に優先的な扱いや例外的扱いを行うものとする。   Here, when the determination threshold values Th0 to Th2 of the determinations 1 to 3 are larger than 1, for example, as the determination 1 of FIG. Preferential treatment or exceptional treatment is performed in the prediction direction of a certain prediction evaluation value.

なお、判定1の分岐後に、他に予測評価値を演算すべき予測方向は1つでなくても構わない。また、その予測方向の予測評価値の演算後、判定2または判定3により再分岐させているが、この判定後に再度他の予測方向の予測評価値を演算し、判定を繰り返しても構わない。さらに、後段の判定で用いる予測方向の予測評価値は、上段の判定で用いた予測方向の予測評価値の一部を共通で用いなくても構わない。また、異なる判定閾値を適用して共通の予測方向の予測評価値を用いても構わない。   It should be noted that after the decision 1 branch, there may be no other prediction direction in which the prediction evaluation value is to be calculated. Further, after the calculation of the prediction evaluation value in the prediction direction, the process is re-branched by the determination 2 or the determination 3. However, after this determination, the prediction evaluation value in another prediction direction may be calculated again and the determination may be repeated. Furthermore, as the prediction evaluation value in the prediction direction used in the subsequent determination, a part of the prediction evaluation value in the prediction direction used in the upper determination may not be used in common. Further, different judgment thresholds may be applied to use a prediction evaluation value in a common prediction direction.

この発明の実施の形態3においては、この発明の実施の形態1と同様に、最初に設定する予測方向、その後に抽出される予測方向の数や向きを任意に変更しても構わない。ここでは、最初に設定する予測方向は、いずれも水平方向または垂直方向としていないが、水平方向および垂直方向の組合せに限らず、直交する予測方向を設定しても構わない。   In the third embodiment of the present invention, as in the first embodiment of the present invention, the prediction direction initially set and the number and direction of the prediction directions extracted thereafter may be arbitrarily changed. Here, the prediction direction initially set is not the horizontal direction or the vertical direction, but is not limited to the combination of the horizontal direction and the vertical direction, and an orthogonal prediction direction may be set.

以上のように、この発明の実施の形態3によれば、すべての予測方向の予測評価値を演算する代わりに、より少ない予測方向の予測評価値を演算するだけで最適な予測方向を求めることができ、演算量の削減を図ることができる。   As described above, according to the third embodiment of the present invention, instead of calculating prediction evaluation values for all prediction directions, an optimal prediction direction can be obtained only by calculating prediction evaluation values for fewer prediction directions. And the amount of calculation can be reduced.

実施の形態4.
この発明の実施の形態4では、最初に設定された少なくとも2つの予測方向の予測評価値の比率に基づいて推定した他の予測方向を抽出して予測評価値を演算し、演算された予測方向の予測評価値の中から最適な予測方向となる予測モードを選択する画像符号化装置について説明する。この発明の実施の形態1では少なくとも2つの予測方向の中で優位な予測方向の近傍、この発明の実施の形態2では少なくとも2つの予測方向で区分された中で優位な予測方向と含むと推定される区分に最適な予測方向が存在するものとして予測方向を抽出したが、この発明の実施の形態4では、少なくとも2つの予測方向の予測評価値の比率に基づいて予測方向を近傍に限らずより少数に絞り込んで抽出するものとする。
Embodiment 4 FIG.
In Embodiment 4 of the present invention, the prediction evaluation value is calculated by extracting another prediction direction estimated based on the ratio of the prediction evaluation values of at least two prediction directions set at first, and the calculated prediction direction An image encoding apparatus that selects a prediction mode that provides an optimal prediction direction from among the prediction evaluation values will be described. In the first embodiment of the present invention, it is estimated that the prediction direction includes the vicinity of the dominant prediction direction in at least two prediction directions, and in the second embodiment of the present invention, the prediction direction that is dominant in at least two prediction directions is included. In the fourth embodiment of the present invention, the prediction direction is not limited to the vicinity based on the ratio of the prediction evaluation values of at least two prediction directions. It shall be extracted by narrowing down to a smaller number.

この発明の実施の形態4における画像符号化装置を示すブロック図は、この発明の実施の形態1で示した図1のブロック図と同一構成で説明される。また、図6は、この発明の実施の形態4における画像符号化装置に係るイントラ予測符号化の予測方向の予測評価値に基づく予測モード選択処理手順の一例を示すフローチャート図である。図1のブロック構成を図6の処理ステップに対応付けて説明する。   A block diagram showing an image coding apparatus according to Embodiment 4 of the present invention will be described with the same configuration as the block diagram of FIG. 1 shown in Embodiment 1 of the present invention. FIG. 6 is a flowchart showing an example of a prediction mode selection processing procedure based on the prediction evaluation value in the prediction direction of intra prediction encoding according to the image encoding device in Embodiment 4 of the present invention. The block configuration of FIG. 1 will be described in association with the processing steps of FIG.

図1において、予測方向設定手段101Aは、予測評価値を演算する少なくとも2つの予測方向を設定する(ステップST501)。第1の予測評価値演算手段102は、画像データと予測方向設定手段101Aが設定した予測方向を入力として、その予測方向の予測評価値を演算して出力する(ステップST502)。予測方向抽出手段103は、第1の予測評価値演算手段102が出力した予測評価値を入力として、その予測評価値に基づいて(ステップST503、ステップST504、ステップST509、ステップST514およびステップST517)、他の予測評価値を演算する予測方向を抽出する(ステップST505、ステップST510、ステップST512、ステップST515、ステップST518およびステップST520)。第2の予測評価値演算手段104は、画像データと予測方向抽出手段103が抽出した予測方向を入力として、その予測方向の予測評価値を演算して出力する(ステップST506、ステップST511、ステップST513、ステップST516、ステップST519およびステップST521)。予測方向決定手段105は、第1の予測評価値演算手段102および第2の予測評価値演算手段104が出力した予測評価値を入力として、最適な予測方向を決定する(ステップST507)。予測モード変換手段106は、予測方向決定手段105が出力した予測方向を入力として、その予測方向に対応する予測モードを出力する(ステップST508)。   In FIG. 1, the prediction direction setting means 101A sets at least two prediction directions for calculating a prediction evaluation value (step ST501). First prediction evaluation value calculation means 102 receives the image data and the prediction direction set by prediction direction setting means 101A as inputs, and calculates and outputs a prediction evaluation value in the prediction direction (step ST502). The prediction direction extraction unit 103 receives the prediction evaluation value output from the first prediction evaluation value calculation unit 102, and based on the prediction evaluation value (step ST503, step ST504, step ST509, step ST514 and step ST517), Prediction directions for calculating other prediction evaluation values are extracted (step ST505, step ST510, step ST512, step ST515, step ST518 and step ST520). The second prediction evaluation value calculation means 104 receives the image data and the prediction direction extracted by the prediction direction extraction means 103, and calculates and outputs a prediction evaluation value in the prediction direction (step ST506, step ST511, step ST513). Step ST516, Step ST519 and Step ST521). The prediction direction determination means 105 receives the prediction evaluation values output from the first prediction evaluation value calculation means 102 and the second prediction evaluation value calculation means 104 as input, and determines an optimal prediction direction (step ST507). The prediction mode conversion means 106 receives the prediction direction output from the prediction direction determination means 105, and outputs a prediction mode corresponding to the prediction direction (step ST508).

図6のフローチャート図に示されるこの発明の実施の形態4における予測モード選択処理手順を説明する。図11に記載した番号nで示される予測方向の予測評価値をEnとする。判定閾値Th0、Th1、Th2、Th3、Th4は、Th0>Th1>Th2>=1>Th3>Th4>0を満たす値とする。   A prediction mode selection processing procedure according to the fourth embodiment of the present invention shown in the flowchart of FIG. 6 will be described. The prediction evaluation value in the prediction direction indicated by the number n shown in FIG. The determination threshold values Th0, Th1, Th2, Th3, and Th4 are values that satisfy Th0> Th1> Th2> = 1> Th3> Th4> 0.

まず、この発明の実施の形態1と同様に、ステップST501で、2つの予測方向1と5、すなわち、水平方向と垂直方向の予測評価値を演算するように設定する。ステップST502で、その設定された2つの予測方向の予測評価値E1、E5を演算する。   First, similarly to Embodiment 1 of the present invention, in step ST501, two prediction directions 1 and 5, that is, prediction evaluation values in the horizontal direction and the vertical direction are set to be calculated. In step ST502, prediction evaluation values E1 and E5 in the two set prediction directions are calculated.

次に、判定1から判定5において、E1とE5の比率E5/E1を5つの判定閾値Th0からTh4に基づいて6つに区分し、予測評価値の演算を行う予測方向を決定する。すなわち、E1がE5よりも非常に小さい場合からE1がE5よりも非常に大きい場合までを判定閾値により段階的に条件分けし、各条件に応じて、E0、E2、E3、E4、E6、E7のいずれか1つの予測方向の予測評価値を演算する。ここでは、E1がE5よりも非常に小さい場合から順に大きくなるように判定閾値Th0からTh4まで比較してもよいが、E1がE5よりも非常に大きい場合までの判定回数が多くなるため、判定1で判定閾値Th2に対する大小関係を最初に判定し、分岐後に判定閾値Th0からTh1まで、Th3からTh4までの比較手順によって予測方向を抽出するまでの最多の判定回数を削減したフローチャート図を示している。   Next, in determinations 1 to 5, the ratio E5 / E1 of E1 and E5 is divided into six based on the five determination thresholds Th0 to Th4, and the prediction direction for calculating the prediction evaluation value is determined. That is, the conditions from the case where E1 is much smaller than E5 to the case where E1 is much larger than E5 are stepwise classified according to the determination threshold, and E0, E2, E3, E4, E6, E7 according to each condition. The prediction evaluation value in any one of the prediction directions is calculated. Here, the determination thresholds Th0 to Th4 may be compared so that E1 is very small from E5 in order, but the number of determinations until E1 is very large than E5 increases. 1 shows a flowchart in which the magnitude relation with respect to the determination threshold Th2 is first determined at 1, and the maximum number of determinations is reduced until the prediction direction is extracted by the comparison procedure from the determination threshold Th0 to Th1 and from Th3 to Th4 after branching. Yes.

判定1の判定閾値Th2≧1との比較によって、E5/E1>Th2と判定される「Yes」の分岐後の処理について説明する。ステップST504の判定2で、E5/E1>Th0と判定される「Yes」の分岐において、ステップST505で、このとき優位な予測方向1に対して例えば予測方向0を抽出し、ステップST506で、その予測方向0の予測評価値E0を演算する。ステップST507で、これまでの判定で予測評価値が小さい予測方向1の予測評価値E1と抽出された予測方向0の予測評価値E0からより小さな値をとる予測方向を最適な予測方向として決定する。ステップST508で、決定された最適な予測方向を対応する予測モードに変換する。   Processing after the branch of “Yes” in which E5 / E1> Th2 is determined by comparison with the determination threshold Th2 ≧ 1 of determination 1 will be described. In the branch of “Yes” determined as E5 / E1> Th0 in the determination 2 of step ST504, in step ST505, for example, the prediction direction 0 is extracted with respect to the dominant prediction direction 1, and in step ST506, the prediction direction 0 is extracted. A prediction evaluation value E0 in the prediction direction 0 is calculated. In step ST507, a prediction direction having a smaller value is determined as the optimal prediction direction from the prediction evaluation value E1 in the prediction direction 1 having a small prediction evaluation value and the extracted prediction evaluation value E0 in the prediction direction 0 in the determination so far. . In step ST508, the determined optimal prediction direction is converted into a corresponding prediction mode.

また、ステップST504の判定2で、Th0≧E5/E1>Th2でと判定される「No」の分岐後の処理について説明する。ステップST509の判定3で、Th0≧E5/E1>Th1と判定される「Yes」の分岐において、ステップST510で、このとき優位な予測方向1に対して例えば予測方向2を抽出し、ステップST511で、その予測方向2の予測評価値E2を演算する。ステップST507で、これまでの判定で予測評価値が小さい予測方向1の予測評価値E1と抽出された予測方向2の予測評価値E2からより小さな値をとる予測方向を最適な予測方向として決定する。ステップST508で、決定された最適な予測方向を対応する予測モードに変換する。   Further, the processing after the branch of “No” determined as Th0 ≧ E5 / E1> Th2 in the determination 2 of step ST504 will be described. In the branch of “Yes” where Th0 ≧ E5 / E1> Th1 is determined in the determination 3 of step ST509, in step ST510, for example, the prediction direction 2 is extracted with respect to the prediction direction 1 that is dominant at this time, and in step ST511 Then, the prediction evaluation value E2 in the prediction direction 2 is calculated. In step ST507, a prediction direction having a smaller value is determined as an optimal prediction direction from the prediction evaluation value E1 in the prediction direction 1 having a small prediction evaluation value and the extracted prediction evaluation value E2 in the prediction direction 2 in the determination so far. . In step ST508, the determined optimal prediction direction is converted into a corresponding prediction mode.

また、ステップST509の判定3で、Th1≧E5/E1>Th2と判定される「No」の分岐において、ステップST512で、このとき優位な予測方向1に対して例えば予測方向3を抽出し、ステップST513で、その予測方向3の予測評価値E3を演算する。ステップST507で、これまでの判定で予測評価値が小さい予測方向1の予測評価値E1と抽出された予測方向3の予測評価値E3からより小さな値をとる予測方向を最適な予測方向として決定する。ステップST508で、決定された最適な予測方向を対応する予測モードに変換する。   Further, in the “No” branch in which it is determined that Th1 ≧ E5 / E1> Th2 in the determination 3 in step ST509, in step ST512, for example, the prediction direction 3 is extracted with respect to the dominant prediction direction 1, and the step In ST513, a prediction evaluation value E3 in the prediction direction 3 is calculated. In step ST507, a prediction direction having a smaller value is determined as an optimal prediction direction from the prediction evaluation value E1 in the prediction direction 1 having a small prediction evaluation value and the extracted prediction evaluation value E3 in the prediction direction 3 in the determination so far. . In step ST508, the determined optimal prediction direction is converted into a corresponding prediction mode.

一方、判定1の判定閾値Th2≧1との比較によって、E5/E1≦Th2と判定される「No」の分岐後の処理について説明する。ステップST514の判定4で、Th2≧E5/E1>Th3と判定される「Yes」の分岐において、ステップST515で、このとき優位な予測方向5に対して例えば予測方向4を抽出し、ステップST516で、その予測方向4の予測評価値E4を演算する。ステップST507で、これまでの判定で予測評価値が小さい予測方向5の予測評価値E5と抽出された予測方向4の予測評価値E4からより小さな値をとる予測方向を最適な予測方向として決定する。ステップST508で、決定された最適な予測方向を対応する予測モードに変換する。   On the other hand, the processing after the branch of “No” determined as E5 / E1 ≦ Th2 by comparison with the determination threshold Th2 ≧ 1 of determination 1 will be described. In the branch of “Yes” in which it is determined that Th2 ≧ E5 / E1> Th3 in the determination 4 in step ST514, in step ST515, for example, the prediction direction 4 is extracted with respect to the dominant prediction direction 5, and in step ST516. The prediction evaluation value E4 in the prediction direction 4 is calculated. In step ST507, a prediction direction having a smaller value is determined as an optimal prediction direction from the prediction evaluation value E5 in the prediction direction 5 having a small prediction evaluation value and the extracted prediction evaluation value E4 in the prediction direction 4 in the determination so far. . In step ST508, the determined optimal prediction direction is converted into a corresponding prediction mode.

ここで、ステップST514の判定4の「Yes」の分岐において、判定閾値Th2=1とすれば、E1=E5となることはあるがE1<E5となることはない。ステップST503の判定1の「Yes」の分岐側が予測方向1をとるため、判定1の「No」の分岐側では予測方向5を優先し、予測評価値E1を加えた3つとせずに、予測評価値E4、E5の2つにしている。なお、判定閾値Th2>1とすれば、Th2≧E5/E1>1の範囲では、E1<E5となるため、演算された予測評価値E1、E4の2つから最適な予測方向を決定しても構わない。ただし、判定閾値Th2は1に近い値とすれば、E1とE5の差は小さいため、例外的にE5をとるように決定しても構わない。   Here, in the “Yes” branch of the determination 4 in step ST514, if the determination threshold Th2 = 1, E1 = E5 may be obtained, but E1 <E5 is not satisfied. Since the “Yes” branch side of determination 1 in step ST503 takes the prediction direction 1, the prediction direction 5 is given priority on the “No” branch side of determination 1, and the prediction evaluation value E1 is not added to the three predictions. Two evaluation values E4 and E5 are provided. Note that if the determination threshold Th2> 1, then in the range of Th2 ≧ E5 / E1> 1, E1 <E5, so the optimum prediction direction is determined from the two calculated prediction evaluation values E1 and E4. It doesn't matter. However, if the determination threshold Th2 is a value close to 1, the difference between E1 and E5 is small, so that it may be determined to take E5 exceptionally.

また、ステップST514の判定4で、E5/E1≦Th3でと判定される「No」の分岐後の処理について説明する。ステップST517の判定5で、Th3≧E5/E1>Th4と判定される「Yes」の分岐において、ステップST518で、このとき優位な予測方向5に対して例えば予測方向6を抽出し、ステップST519で、その予測方向6の予測評価値E6を演算する。ステップST507で、これまでの判定で予測評価値が小さい予測方向5の予測評価値E5と抽出された予測方向6の予測評価値E6からより小さな値をとる予測方向を最適な予測方向として決定する。ステップST508で、決定された最適な予測方向を対応する予測モードに変換する。   In addition, the process after the branch of “No” determined as E5 / E1 ≦ Th3 in the determination 4 of step ST514 will be described. In the branch of “Yes” determined as Th3 ≧ E5 / E1> Th4 in the determination 5 of step ST517, in step ST518, for example, the prediction direction 6 is extracted with respect to the dominant prediction direction 5, and in step ST519 Then, the prediction evaluation value E6 in the prediction direction 6 is calculated. In step ST507, a prediction direction having a smaller value is determined as the optimum prediction direction from the prediction evaluation value E5 in the prediction direction 5 having a small prediction evaluation value and the extracted prediction evaluation value E6 in the prediction direction 6 in the determination so far. . In step ST508, the determined optimal prediction direction is converted into a corresponding prediction mode.

また、ステップST517の判定5で、Th4≧E5/E1と判定される「No」の分岐において、ステップST520で、このとき優位な予測方向5に対して例えば予測方向7を抽出し、ステップST521で、その予測方向7の予測評価値E7を演算する。ステップST507で、これまでの判定で予測評価値が小さい予測方向5の予測評価値E5と抽出された予測方向7の予測評価値E7からより小さな値をとる予測方向を最適な予測方向として決定する。ステップST508で、決定された最適な予測方向を対応する予測モードに変換する。   Further, in the “No” branch in which it is determined that Th4 ≧ E5 / E1 in the determination 5 of step ST517, in step ST520, for example, the prediction direction 7 is extracted with respect to the dominant prediction direction 5, and in step ST521 The prediction evaluation value E7 in the prediction direction 7 is calculated. In step ST507, a prediction direction having a smaller value is determined as the optimum prediction direction from the prediction evaluation value E5 in the prediction direction 5 having a small prediction evaluation value and the extracted prediction evaluation value E7 in the prediction direction 7 in the determination so far. . In step ST508, the determined optimal prediction direction is converted into a corresponding prediction mode.

また、この発明の実施の形態4では、判定閾値Th0、Th1、Th2、Th3、Th4の関係をTh0>Th1>Th2>=1>Th3>Th4>0として説明したが、E5/E1の比率をTh2=1、Th3=1/Th1、Th4=1/Th0とした6区分としてE1、E5に関して対称に判定することもできる。   In the fourth embodiment of the present invention, the relationship between the determination threshold values Th0, Th1, Th2, Th3, and Th4 has been described as Th0> Th1> Th2> = 1> Th3> Th4> 0, but the ratio of E5 / E1 is It is also possible to determine symmetrically with respect to E1 and E5 as six sections with Th2 = 1, Th3 = 1 / Th1, and Th4 = 1 / Th0.

この発明の実施の形態4においては、この発明の実施の形態1と同様に、最初に設定する予測方向、その後に抽出される予測方向の数や向きを任意に変更しても構わない。ここでは、最初に設定する予測方向は、水平方向および垂直方向としたが、予測方向1、5以外の組合せで直交する予測方向、あるいは直交しない予測方向を設定しても構わない。   In the fourth embodiment of the present invention, as in the first embodiment of the present invention, the prediction direction initially set and the number and direction of the prediction directions extracted thereafter may be arbitrarily changed. Here, although the prediction direction set first is the horizontal direction and the vertical direction, a prediction direction that is orthogonal or a prediction direction that is not orthogonal may be set by a combination other than the prediction directions 1 and 5.

以上のように、この発明の実施の形態4によれば、すべての予測方向の予測評価値を演算する代わりに、候補として絞られた3個の予測方向の予測評価値を演算するだけで最適な予測方向を求めることができ、演算量の削減を図ることができる。   As described above, according to the fourth embodiment of the present invention, instead of calculating prediction evaluation values in all prediction directions, it is optimal only to calculate prediction evaluation values in three prediction directions selected as candidates. A correct prediction direction can be obtained, and the amount of calculation can be reduced.

実施の形態5.
この発明の実施の形態5では、この発明の実施の形態1、実施の形態2、実施の形態4に対して、最初に設定する少なくとも2つの予測方向として水平方向および垂直方向に固定せず、交差する位置関係は保持したまま回転対称に指定することができる画像符号化装置について説明する。隣接する符号化対象ブロックを予測符号化するために適用される予測方向は、相関が強いことが見込まれることから、符号化済みブロックで適用した予測方向を記憶しておき、その記憶された予測方向に基づいて符号化しようとする符号化対象ブロックに適用する予測方向を指定するものとする。
Embodiment 5 FIG.
In the fifth embodiment of the present invention, at least two prediction directions to be initially set are not fixed in the horizontal direction and the vertical direction with respect to the first embodiment, the second embodiment, and the fourth embodiment of the present invention. An image coding apparatus capable of specifying rotational symmetry while maintaining the crossing positional relationship will be described. Since the prediction direction applied to predictively encode the adjacent encoding target block is expected to have a strong correlation, the prediction direction applied in the encoded block is stored, and the stored prediction is stored. A prediction direction to be applied to an encoding target block to be encoded based on the direction is designated.

図7は、この発明の実施の形態5における画像符号化装置を示すブロック図である。この発明の実施の形態1における図1で示される画像符号化装置に対して、予測方向記憶手段107が追加された構成となっている。   FIG. 7 is a block diagram showing an image coding apparatus according to Embodiment 5 of the present invention. The prediction direction storage means 107 is added to the image coding apparatus shown in FIG. 1 according to Embodiment 1 of the present invention.

図7において、予測方向記憶手段107は、符号化対象ブロックごとに予測方向決定手段105が決定した最適な予測方向を記憶している。予測方向設定手段101Bは、予測方向記憶手段107が記憶した符号化済みブロックに適用した予測方向を参照して基準となる予測方向を推定し、符号化対象ブロックに対する少なくとも2つの予測方向を設定する。このように設定された符号化方向に基づいて、この発明の実施の形態1、実施の形態2、実施の形態3で説明した各動作を通して、予測方向決定手段105は、最適な予測方向を決定する。この決定された最適な予測方向を、予測方向記憶手段107は記憶し、また、予測モード決定手段106は予測モードに変換する。   In FIG. 7, the prediction direction storage unit 107 stores the optimum prediction direction determined by the prediction direction determination unit 105 for each encoding target block. The prediction direction setting unit 101B estimates the reference prediction direction with reference to the prediction direction applied to the encoded block stored in the prediction direction storage unit 107, and sets at least two prediction directions for the encoding target block. . Based on the encoding direction set in this way, the prediction direction determining means 105 determines the optimal prediction direction through the operations described in the first embodiment, the second embodiment, and the third embodiment of the present invention. To do. The determined optimal prediction direction is stored in the prediction direction storage unit 107, and the prediction mode determination unit 106 converts the prediction direction into the prediction mode.

第1の予測評価値演算手段102、第2の予測評価値演算手段104は、この発明の実施の形態1で説明したように予測評価値と予測方向を対応付けて出力しているので、その出力を受ける予測方向抽出手段103、予測方向決定手段105は、予測方向設定手段101Bが設定した少なくとも2つの予測方向に対して相対的な位置関係にある予測方向を回転対称に保持したまま処理できることになる。なお、予測画素は、図11の予測方向に対応して定義された演算式から演算される。   Since the first prediction evaluation value calculation means 102 and the second prediction evaluation value calculation means 104 output the prediction evaluation value and the prediction direction in association with each other as described in the first embodiment of the present invention, The prediction direction extraction unit 103 and the prediction direction determination unit 105 that receive the output can perform processing while maintaining a rotationally symmetrical prediction direction having a relative positional relationship with respect to at least two prediction directions set by the prediction direction setting unit 101B. become. Note that the prediction pixel is calculated from an arithmetic expression defined corresponding to the prediction direction in FIG.

予測方向設定手段101Bが予測方向記憶手段107から参照した予測方向から推定する基準となる予測方向は、例えば、符号化対象ブロックに隣接するブロックに適用された予測方向を参照することで基準としてもよいし、動画像であれば1フレーム前の同一位置のブロックに適用された予測方向としてもよい。また、同一の画像フレームであれば、隣接する真上のブロックや直前(左)のブロックに適用された予測方向としたり、あるいは、隣接する真上のブロックと直前(左)のブロックに適用された予測方向の中間の予測方向としてもよい。   For example, the prediction direction which is a reference estimated by the prediction direction setting unit 101B from the prediction direction referred from the prediction direction storage unit 107 may be used as a reference by referring to the prediction direction applied to the block adjacent to the encoding target block. Alternatively, in the case of a moving image, the prediction direction applied to the block at the same position one frame before may be used. For the same image frame, the prediction direction is applied to the immediately adjacent block and the immediately preceding (left) block, or is applied to the immediately adjacent block and the immediately preceding (left) block. The prediction direction may be an intermediate prediction direction.

予測方向設定手段101Bによって予測方向記憶手段107から参照した予測方向から基準となる予測方向が推定された場合の動作を説明する。ここでは、一例として、この発明の実施の形態1における予測方向と予測モードの決定手順を回転対称に考える。まず、図11における予測方向0から7は、時計周りに8方向に番号付けられている。水平方向、垂直方向が予測方向1、5に対応し、直交する予測方向の数値は4離れている。   The operation when the prediction direction serving as a reference is estimated from the prediction direction referred from the prediction direction storage unit 107 by the prediction direction setting unit 101B will be described. Here, as an example, the procedure for determining the prediction direction and the prediction mode in Embodiment 1 of the present invention is considered to be rotationally symmetric. First, prediction directions 0 to 7 in FIG. 11 are numbered in eight directions clockwise. The horizontal direction and the vertical direction correspond to the prediction directions 1 and 5, and the numerical values of the orthogonal prediction directions are separated by 4.

図2のフローチャート図において、推定された基準となる予測方向nを最初に設定される予測方向の1つとし、予測方向1、5のいずれでも構わないが、ここでは予測方向1に対応させて説明する。以下、各ステップで処理される予測方向mは、ここで予測方向nに置き換えた予測方向1との数値差d=m−1を反映させた予測方向(n+d)として相対的に扱う。ここで、(n+d)が7を超えるときは、8を減じて、0から7に正規化すればよい。また、(n+d)が負数になるときは、予測方向の総数8を加えて、0から7に正規化すればよい。   In the flowchart of FIG. 2, the estimated reference direction n is assumed to be one of the initially set prediction directions, and any of the prediction directions 1 and 5 may be used. explain. Hereinafter, the prediction direction m processed in each step is relatively treated as a prediction direction (n + d) reflecting a numerical difference d = m−1 from the prediction direction 1 replaced with the prediction direction n. Here, when (n + d) exceeds 7, it is sufficient to subtract 8 and normalize from 0 to 7. When (n + d) becomes a negative number, the total number 8 in the prediction direction may be added and normalized from 0 to 7.

なお、図11における予測方向の番号付けのように時計周りや反時計周りでなく、規則的に行われていないような場合には、例えば、図11における予測方向の番号付けから例えば非特許文献1おける予測方向または予測モードの番号付けに変換する対応表を用意して適用すればよい。   When the prediction direction numbering in FIG. 11 is not performed clockwise or counterclockwise and is not performed regularly, for example, the prediction direction numbering in FIG. What is necessary is just to prepare and apply the correspondence table | surface converted into the numbering of the prediction direction in 1 or prediction mode.

ステップST201で、予測方向n、(n+4)を設定し、ステップST202で、その予測評価値En、E(n+4)を演算する。ステップST203の判定1でE(n+4)/En>Th0となる「Yes」の分岐では、ステップST204で、予測方向(n−2)、(n−1)、(n+1)、(n+2)を抽出し、ステップST205で、その予測評価値E(n−2)、E(n−1)、E(n+1)、E(n+2)を演算する。ステップST206で、予測方向(n−2)、(n−1)、n、(n+1)、(n+2)の予測評価値に基づいて最適となる予測方向を決定し、ステップST207で、対応する予測モードに変換する。ここで、図2のフローチャート図には示されていないが、ステップST206で決定された最適な予測方向を記憶手段に記憶する。   In step ST201, prediction directions n and (n + 4) are set, and in step ST202, prediction evaluation values En and E (n + 4) are calculated. In the branch of “Yes” where E (n + 4) / En> Th0 is satisfied in the determination 1 of step ST203, the prediction directions (n−2), (n−1), (n + 1), and (n + 2) are extracted in step ST204. In step ST205, the predicted evaluation values E (n-2), E (n-1), E (n + 1), and E (n + 2) are calculated. In step ST206, the optimal prediction direction is determined based on the prediction evaluation values of the prediction directions (n-2), (n-1), n, (n + 1), and (n + 2), and in step ST207, the corresponding prediction is performed. Convert to mode. Here, although not shown in the flowchart of FIG. 2, the optimal prediction direction determined in step ST206 is stored in the storage means.

また、ステップST203の判定1でE(n+4)/En≦Th0となる「No」の分岐では、ステップST208で、予測方向(n+2)、(n+3)、(n+5)、(n+6)を抽出し、ステップST209で、その予測評価値E(n+2)、E(n+3)、E(n+5)、E(n+6)を演算する。ステップST206で、予測方向(n+2)、(n+3)、(n+4)、(n+5)、(n+6)の予測評価値に基づいて最適となる予測方向を決定し、ステップST207で、対応する予測モードに変換する。   Further, in the branch of “No” in which E (n + 4) / En ≦ Th0 is satisfied in the determination 1 of step ST203, the prediction directions (n + 2), (n + 3), (n + 5), and (n + 6) are extracted in step ST208. In step ST209, the predicted evaluation values E (n + 2), E (n + 3), E (n + 5), and E (n + 6) are calculated. In step ST206, the optimum prediction direction is determined based on the prediction evaluation values of prediction directions (n + 2), (n + 3), (n + 4), (n + 5), and (n + 6), and in step ST207, the corresponding prediction mode is set. Convert.

なお、この発明の実施の形態1では各4つの予測方向を抽出しているが、この発明の実施の形態5では、ステップST204で、予測方向(n−1)、(n+1)、ステップST208で、(n+3)、(n+5)の2方向のみに限定しても、回転対称に予測方向を抽出するため、基準となる予測方向によって8方向すべての予測方向に抽出される可能性がある。   In the first embodiment of the present invention, four prediction directions are extracted. However, in the fifth embodiment of the present invention, in step ST204, the prediction directions (n−1), (n + 1), and step ST208 are extracted. , (N + 3) and (n + 5) are limited to only two directions, the prediction directions are extracted in a rotationally symmetrical manner, so that there is a possibility that all eight prediction directions are extracted depending on the reference prediction direction.

ここでは、推定された基準となる予測方向nを最初に設定する予測方向の1つに加えたが、例えば、図2のフローチャート図のステップST201で設定される予測方向を、例えば、予測方向nを中間に位置させた直交する予測方向(n−2)、(n+2)としても構わない。   Here, the estimated reference direction n as an estimated reference is added to one of the prediction directions initially set. For example, the prediction direction set in step ST201 in the flowchart of FIG. May be used as orthogonal prediction directions (n−2) and (n + 2).

また、この発明の実施の形態2における図3およびこの発明の実施の形態4における図6の各フローチャート図についても、同様に予測方向nを基準に回転対称とした予測方向に対応した処理を行うことで説明できる。   Similarly, each flowchart in FIG. 3 according to the second embodiment of the present invention and FIG. 6 according to the fourth embodiment of the present invention similarly performs processing corresponding to the prediction direction that is rotationally symmetric with respect to the prediction direction n. Can be explained.

この発明の実施の形態5では、符号化対象ブロックと相関の高いブロックで適用された予測方向を参照して基準となる予測方向の指定を可能とし、指定された基準の予測方向に基づいて処理する予測方向を回転対称に変更可能とした。これにより、より好ましい予測方向が抽出され、それらの予測方向の各予測評価値に基づいてより最適な予測方向を決定できるようになる。   In the fifth embodiment of the present invention, it is possible to specify a prediction direction as a reference with reference to a prediction direction applied in a block having a high correlation with the encoding target block, and processing based on the specified prediction direction of the reference The prediction direction can be changed to rotational symmetry. Thereby, a more preferable prediction direction is extracted, and a more optimal prediction direction can be determined based on each prediction evaluation value in the prediction direction.

以上のように、この発明の実施の形態5によれば、すべての予測方向の予測評価値を演算する代わりに、より少ない予測方向の予測評価値を演算するだけで最適な予測方向を求めることができ、演算量の削減を図ることができる。   As described above, according to the fifth embodiment of the present invention, instead of calculating prediction evaluation values for all prediction directions, an optimum prediction direction can be obtained by calculating prediction evaluation values for fewer prediction directions. And the amount of calculation can be reduced.

実施の形態6.
この発明の実施の形態6では、この発明の実施の形態3に対して、最初に設定する予測方向を固定せず、交差する位置関係は保持したまま回転対称に指定することができる画像符号化装置について説明する。隣接する符号化対象ブロックを予測符号化するために適用される予測方向は、相関が強いことが見込まれることから、この発明の実施の形態5と同様に、符号化済みブロックで適用した予測方向を記憶しておき、その記憶された予測方向に基づいて符号化しようとする符号化対象ブロックに適用する予測方向を指定するものとする。
Embodiment 6 FIG.
In the sixth embodiment of the present invention, compared to the third embodiment of the present invention, the prediction direction to be initially set is not fixed, and the image coding that can be specified rotationally symmetric while maintaining the crossing positional relationship is maintained. The apparatus will be described. Since the prediction direction applied to predictively encode the adjacent encoding target block is expected to have a strong correlation, the prediction direction applied to the encoded block is the same as in the fifth embodiment of the present invention. , And the prediction direction to be applied to the encoding target block to be encoded based on the stored prediction direction is designated.

図8は、この発明の実施の形態6における画像符号化装置を示すブロック図である。この発明の実施の形態3における図4で示される画像符号化装置に対して、予測方向記憶手段209が追加された構成となっている。   FIG. 8 is a block diagram showing an image coding apparatus according to Embodiment 6 of the present invention. A prediction direction storage unit 209 is added to the image coding apparatus shown in FIG. 4 according to Embodiment 3 of the present invention.

図8において、予測方向記憶手段209は、符号化対象ブロックごとに予測方向決定手段207が決定した最適な予測方向を記憶している。予測方向設定手段201Bは、予測方向記憶手段209が記憶した符号化済みブロックに適用した予測方向を参照して基準となる予測方向を推定し、符号化対象ブロックに対する少なくとも2つの予測方向を設定する。このように設定された符号化方向に基づいて、この発明の実施の形態3で説明した各動作を通して、予測方向決定手段207は、最適な予測方向を決定する。この決定された最適な予測方向を、予測方向記憶手段209は記憶し、また、予測モード決定手段208は予測モードに変換する。   In FIG. 8, the prediction direction storage unit 209 stores the optimal prediction direction determined by the prediction direction determination unit 207 for each encoding target block. The prediction direction setting unit 201B estimates a reference prediction direction with reference to the prediction direction applied to the encoded block stored in the prediction direction storage unit 209, and sets at least two prediction directions for the encoding target block. . Based on the encoding direction set in this way, the prediction direction determining means 207 determines the optimal prediction direction through the operations described in the third embodiment of the present invention. The prediction direction storage unit 209 stores the determined optimum prediction direction, and the prediction mode determination unit 208 converts the prediction direction into a prediction mode.

第1の予測評価値演算手段202、第2の予測評価値演算手段204、第3の予測評価値演算手段206は、この発明の実施の形態3で説明したように予測評価値と予測方向を対応付けて出力しているので、その出力を受ける予測方向指定手段203、予測方向抽出手段205、予測方向決定手段207は、予測方向設定手段201Bが設定した少なくとも2つの予測方向に対して相対的な位置関係にある予測方向を回転対称に保持したまま処理できることになる。なお、予測画素は、図11の予測方向に対応して定義された演算式から演算される。   As described in the third embodiment of the present invention, the first predicted evaluation value calculating unit 202, the second predicted evaluation value calculating unit 204, and the third predicted evaluation value calculating unit 206 set the predicted evaluation value and the prediction direction. Since these are output in association with each other, the prediction direction specifying unit 203, the prediction direction extracting unit 205, and the prediction direction determining unit 207 that receive the output are relative to at least two prediction directions set by the prediction direction setting unit 201B. Therefore, it is possible to perform processing while maintaining the predicted directions having a proper positional relationship in rotational symmetry. Note that the prediction pixel is calculated from an arithmetic expression defined corresponding to the prediction direction in FIG.

予測方向設定手段201Bが予測方向記憶手段209から参照した予測方向から推定する基準となる予測方向は、この発明の実施の形態5と同様に決定すればよい。   The prediction direction serving as a reference estimated by the prediction direction setting unit 201B from the prediction direction referenced from the prediction direction storage unit 209 may be determined in the same manner as in the fifth embodiment of the present invention.

予測方向設定手段201Bによって予測方向記憶手段209から参照した予測方向から基準となる予測方向が推定された場合の動作は、この発明の実施の形態5で説明したのと同様に、図5のフローチャート図において予測方向nを基準に回転対称とした予測方向に対応した処理を行うことで説明できる。   The operation when the prediction direction serving as the reference is estimated from the prediction direction referenced from the prediction direction storage unit 209 by the prediction direction setting unit 201B is the same as that described in the fifth embodiment of the present invention, as shown in the flowchart of FIG. This can be explained by performing processing corresponding to the prediction direction that is rotationally symmetric with respect to the prediction direction n in the figure.

指定された基準となる予測方向nは、例えば、図5のフローチャート図のステップST401およびステップST402で予測評価値を演算する予測方向の1つとして、他方の隣接する予測方向としては予測方向(n−1)または予測方向(n+1)のいずれとしても構わない。   The designated reference prediction direction n is, for example, one of the prediction directions for calculating the prediction evaluation value in step ST401 and step ST402 in the flowchart of FIG. 5, and the other adjacent prediction direction is the prediction direction (n -1) or prediction direction (n + 1).

この発明の実施の形態6では、グループの判別において、符号化対象ブロックと相関の高いブロックで適用された予測方向を参照して基準となる予測方向の指定を可能とし、指定された基準の予測方向に基づいて予測評価値の演算を行う予測方向を回転対称に変更可能とし、判別されるグループの予測評価値を演算する予測方向の候補もそれに応じて変更可能とした。これにより、より好ましい予測方向の候補を抽出し、それらの予測方向の各予測評価値に基づいてより最適な予測方向を決定できるようになる。   In Embodiment 6 of the present invention, it is possible to specify a reference prediction direction by referring to a prediction direction applied in a block having a high correlation with the encoding target block in the group determination, and the prediction of the specified reference The prediction direction for calculating the prediction evaluation value based on the direction can be changed to be rotationally symmetric, and the prediction direction candidate for calculating the prediction evaluation value of the group to be discriminated can be changed accordingly. Thereby, more preferable prediction direction candidates can be extracted, and a more optimal prediction direction can be determined based on each prediction evaluation value in the prediction direction.

以上のように、この発明の実施の形態6によれば、すべての予測方向の予測評価値を演算する代わりに、より少ない予測方向の予測評価値を演算するだけで最適な予測方向を求めることができ、演算量の削減を図ることができる。   As described above, according to the sixth embodiment of the present invention, instead of calculating prediction evaluation values for all prediction directions, an optimum prediction direction can be obtained only by calculating prediction evaluation values for fewer prediction directions. And the amount of calculation can be reduced.

実施の形態7.
この発明の実施の形態7では、実施の形態1において説明した、最初に設定された少なくとも2つの予測方向の予測評価値の比率に基づいて推定した優位な予測方向の近傍の予測方向を抽出して予測評価値を演算し、演算された予測方向の予測評価値の中から最適な予測方向となる予測モードを選択する機能に加えて、最初に設定された少なくとも2つの予測方向の予測評価値によっては、その最初に設定された少なくとも2つの予測方向の予測評価値の中から最適な予測方向となる予測モードを選択する機能を有する画像符号化装置について説明する。
Embodiment 7 FIG.
In the seventh embodiment of the present invention, the prediction direction in the vicinity of the superior prediction direction estimated based on the ratio of the prediction evaluation values of the at least two prediction directions set at the beginning set in the first embodiment is extracted. In addition to the function of calculating the prediction evaluation value and selecting the prediction mode that provides the optimal prediction direction from the prediction evaluation values of the calculated prediction direction, the prediction evaluation values of at least two prediction directions that are initially set In some cases, an image coding apparatus having a function of selecting a prediction mode that provides an optimum prediction direction from prediction evaluation values of at least two prediction directions set at the beginning will be described.

図9は、この発明の実施の形態7における画像符号化装置を示すブロック図であり、この発明の実施の形態1における画像符号化装置を示すブロック図(図1)に演算中止判定手段108を加えた構成である。また、図10は、この発明の実施の形態7における画像符号化装置に係るイントラ予測符号化の予測方向の予測評価値に基づく予測モード選択処理手順の一例を示すフローチャート図であり、この発明の実施の形態1における画像符号化装置に係るイントラ予測符号化の予測方向の予測評価値に基づく予測モード選択処理手順の一例を示すフローチャート図(図2)にステップST210およびステップST211の判定を加えている。図9のブロック構成を図10の処理ステップに対応付けて説明する。   FIG. 9 is a block diagram showing an image coding apparatus according to the seventh embodiment of the present invention. The block diagram (FIG. 1) showing the image coding apparatus according to the first embodiment of the present invention is provided with the operation stop determination means 108. This is an added configuration. FIG. 10 is a flowchart showing an example of a prediction mode selection processing procedure based on the prediction evaluation value in the prediction direction of the intra prediction encoding according to the image encoding device in Embodiment 7 of the present invention. FIG. 2 is a flowchart showing an example of a prediction mode selection processing procedure based on a prediction evaluation value in the prediction direction of intra prediction coding according to the image coding apparatus in Embodiment 1 (step ST210 and step ST211). Yes. The block configuration of FIG. 9 will be described in association with the processing steps of FIG.

図9において、予測方向設定手段101Cは、予測評価値を演算する少なくとも2つの予測方向を設定する(ステップST201)。第1の予測評価値演算手段102は、画像データと予測方向設定手段101Cが設定した予測方向を入力として、その予測方向の予測評価値を演算して出力する(ステップST202)。演算中止判定手段108は、予測方向設定手段101Cから演算中止判定閾値が設定され、第1の予測評価値演算手段により演算された評価値のうち少なくとも一つが、設定された閾値以下か否かを判定する(ステップST210およびステップST211)。予測方向抽出手段103は、第1の予測評価値演算手段102が出力した予測評価値を入力として、その予測評価値に基づいて(ステップST203)、他の予測評価値を演算する予測方向を抽出する(ステップST204およびステップST208)。第2の予測評価値演算手段104は、画像データと予測方向抽出手段103が抽出した予測方向を入力として、その予測方向の予測評価値を演算して出力する(ステップST205およびステップST209)。予測方向決定手段105Bは、第1の予測評価値演算手段102および第2の予測評価値演算手段104が出力した予測評価値および演算中止判定手段108の判定結果を入力として、最適な予測方向を決定する(ステップST206)。予測モード変換手段106は、予測方向決定手段105Bが出力した予測方向を入力として、その予測方向に対応する予測モードを出力する(ステップST207)。   In FIG. 9, the prediction direction setting means 101C sets at least two prediction directions for calculating a prediction evaluation value (step ST201). The first prediction evaluation value calculation means 102 receives the image data and the prediction direction set by the prediction direction setting means 101C as inputs, calculates and outputs a prediction evaluation value in the prediction direction (step ST202). The calculation stop determination unit 108 sets the calculation stop determination threshold value from the prediction direction setting unit 101C, and determines whether at least one of the evaluation values calculated by the first prediction evaluation value calculation unit is equal to or less than the set threshold value. Determination is made (step ST210 and step ST211). The prediction direction extraction unit 103 receives the prediction evaluation value output from the first prediction evaluation value calculation unit 102 and extracts a prediction direction for calculating another prediction evaluation value based on the prediction evaluation value (step ST203). (Step ST204 and Step ST208). The second prediction evaluation value calculation means 104 receives the image data and the prediction direction extracted by the prediction direction extraction means 103, and calculates and outputs a prediction evaluation value in the prediction direction (step ST205 and step ST209). The prediction direction determination unit 105B receives the prediction evaluation value output from the first prediction evaluation value calculation unit 102 and the second prediction evaluation value calculation unit 104 and the determination result of the calculation stop determination unit 108 as an input, and determines an optimal prediction direction. Determine (step ST206). The prediction mode conversion means 106 receives the prediction direction output by the prediction direction determination means 105B and outputs a prediction mode corresponding to the prediction direction (step ST207).

なお、演算中止判定手段108に設定される演算中止判定閾値は、予測方向設定手段101Cが第1の予測評価値演算手段102に設定する予測方向の予測評価値に対応する閾値とする。   The calculation stop determination threshold value set in the calculation stop determination unit 108 is a threshold value corresponding to the prediction evaluation value in the prediction direction set in the first prediction evaluation value calculation unit 102 by the prediction direction setting unit 101C.

また、演算中止判定閾値に基づいて演算中止判定手段108が判定した結果は、図9のように、予測方向決定手段105Bに向けて通知し、第1の予測評価値演算手段により演算された評価値のうち少なくとも一つが、設定された閾値以下であれば、予測方向決定手段105Bは、第2の予測評価値演算手段104からの予測評価値が出力されたとしても無視して、第1の予測評価値演算手段102からの予測評価値のみに基づいて最適な予測方向を決定してもよい。また、破線で示したように、演算中止判定手段108による判定結果を第2の予測評価値演算手段104に直接通知し、あるいは予測方向抽出手段103を介して間接的に通知することで、第1の予測評価値演算手段により演算された評価値のうち少なくとも一つが、設定された閾値以下であれば、第2の予測評価値演算手段104における予測評価値の算出が不要であることを知らせ、予測方向決定手段105Bに第1の予測評価値演算手段102からの予測評価値のみが入力されるようにして最適な予測方向を決定することもできる。   Further, as shown in FIG. 9, the result determined by the calculation stop determination means 108 based on the calculation stop determination threshold is notified to the prediction direction determination means 105B, and the evaluation calculated by the first prediction evaluation value calculation means. If at least one of the values is less than or equal to the set threshold value, the prediction direction determination unit 105B ignores the prediction evaluation value from the second prediction evaluation value calculation unit 104 and outputs the first evaluation value. An optimal prediction direction may be determined based only on the prediction evaluation value from the prediction evaluation value calculation unit 102. Further, as indicated by a broken line, the determination result by the calculation stop determination unit 108 is directly notified to the second prediction evaluation value calculation unit 104 or indirectly notified via the prediction direction extraction unit 103, thereby If at least one of the evaluation values calculated by one prediction evaluation value calculation means is equal to or less than the set threshold value, it is notified that the calculation of the prediction evaluation value in the second prediction evaluation value calculation means 104 is unnecessary. It is also possible to determine the optimum prediction direction by inputting only the prediction evaluation value from the first prediction evaluation value calculation means 102 to the prediction direction determination means 105B.

また、予測方向決定手段105Bと予測モード変換手段106は、説明上独立した手段としているが、非特許文献1のようにDC予測などのように予測方向以外を用いた予測評価値を加えて予測モードを決定する場合などにおいて、図11で示される予測方向と非特許文献で示される予測モードが並べ替えられているときの対応付けを明示したものであって、予測モードを予測方向のみによって、また並べ替えずに決定できるのであれば一体に構成された予測モード決定部152Cとしても構わない。   Further, although the prediction direction determination unit 105B and the prediction mode conversion unit 106 are independent units for explanation, prediction is performed by adding a prediction evaluation value using a direction other than the prediction direction such as DC prediction as in Non-Patent Document 1. In the case of determining the mode, etc., the correlation between the prediction direction shown in FIG. 11 and the prediction mode shown in the non-patent document is clearly specified, and the prediction mode is determined only by the prediction direction. Moreover, as long as it can determine without rearranging, it is good also as the prediction mode determination part 152C comprised integrally.

図10のフローチャート図に示されるこの発明の実施の形態7における予測モード選択処理手順を説明する。図11に記載した番号nで示される予測方向の予測評価値をEnとする。判定閾値Th0は、1以上の値とするが、ここでは1をとるものとして説明する。   A prediction mode selection processing procedure according to the seventh embodiment of the present invention shown in the flowchart of FIG. 10 will be described. The prediction evaluation value in the prediction direction indicated by the number n shown in FIG. The determination threshold Th0 is set to a value of 1 or more, but will be described as being 1 here.

まず、ステップST201で、2つの予測方向1と5、すなわち、水平方向と垂直方向の予測評価値を演算するように設定する。ステップST202で、その設定された2つの予測方向の予測評価値E1、E5を演算する。   First, in step ST201, two prediction directions 1 and 5, that is, prediction evaluation values in the horizontal direction and the vertical direction are set to be calculated. In step ST202, prediction evaluation values E1 and E5 in the two set prediction directions are calculated.

次に、ステップST210の判定1において、予測評価値E1と外部より設定された演算中止判定閾値αとの比較を行う。予測評価値E1がα以下の場合には「Yes」の分岐により、ステップST211の判定2、ステップST203の判定3、ステップST204の予測方向抽出、ステップST205の評価値演算、ステップST208の予測方向抽出、ステップST209の評価値演算を行わず、ステップST206で、演算された予測評価値E1、E5の最小値をとる予測方向を最適な予測方向として決定する。ステップST207で、決定された最適な予測方向を対応する予測モードに変換する。   Next, in the determination 1 of step ST210, the predicted evaluation value E1 is compared with the calculation stop determination threshold value α set from the outside. When the predicted evaluation value E1 is less than or equal to α, the branch of “Yes” causes a decision 2 in step ST211, a decision 3 in step ST203, a prediction direction extraction in step ST204, an evaluation value calculation in step ST205, and a prediction direction extraction in step ST208. The evaluation value calculation in step ST209 is not performed, and in step ST206, the prediction direction that takes the minimum value of the calculated prediction evaluation values E1 and E5 is determined as the optimal prediction direction. In step ST207, the determined optimal prediction direction is converted into a corresponding prediction mode.

予測評価値E1がαよりも大きい場合は、「No」の分岐により、ステップST211の判定2において、予測評価値E5と外部より設定された演算中止判定閾値βとの比較を行う。予測評価値E5がβ以下の場合「Yes」の分岐により、ステップST203の判定3、ステップST204の予測方向抽出、ステップST205の評価値演算、ステップST208の予測方向抽出、ステップST209の評価値演算を行わず、ステップST206で、演算された予測評価値E1、E5の最小値をとる予測方向を最適な予測方向として決定する。ステップST207で、決定された最適な予測方向を対応する予測モードに変換する。   When the predicted evaluation value E1 is larger than α, the “No” branch is used to compare the predicted evaluation value E5 with the operation stop determination threshold value β set from the outside in the determination 2 of step ST211. When the predicted evaluation value E5 is less than or equal to β, the branch of “Yes” causes the decision 3 in step ST203, extraction of the prediction direction in step ST204, calculation of the evaluation value in step ST205, extraction of the prediction direction in step ST208, and calculation of the evaluation value in step ST209. In step ST206, the prediction direction that takes the minimum value of the calculated prediction evaluation values E1 and E5 is determined as the optimal prediction direction. In step ST207, the determined optimal prediction direction is converted into a corresponding prediction mode.

予測評価値E5がβよりも大きい場合は、「No」の分岐により、ステップST203の判定3において、予測評価値E1、E5の比率E5/E1に応じて優位な予測方向を推定する。以下、このステップST203の判定3を含め、ここから分岐した後のステップST204の予測方向抽出、ステップST205の評価値演算、ステップST208の予測方向抽出、ステップST209の評価値演算、および再び合流した後のステップST206の予測方向決定、ステップST207の予測モード変換の各ステップの処理は、この発明の実施の形態1における図2のフローチャート図で説明したステップST203(判定1)からステップST209の同一ステップに対応した各処理を行うものとする。   When the predicted evaluation value E5 is larger than β, a superior prediction direction is estimated according to the ratio E5 / E1 of the predicted evaluation values E1 and E5 in the determination 3 of step ST203 by branching “No”. Hereinafter, including the determination 3 in step ST203, after extracting from the prediction direction in step ST204, calculating the evaluation value in step ST205, extracting the prediction direction in step ST208, calculating the evaluation value in step ST209, and after joining again The processing of each step of the prediction direction determination of step ST206 and the prediction mode conversion of step ST207 is the same as step ST209 from step ST203 (determination 1) described in the flowchart of FIG. 2 in the first embodiment of the present invention. Each corresponding process shall be performed.

なお、ステップST210およびステップST211の判定は、ステップST211、ステップST210の順に行い、あるいは並列に行って、ステップST203の判定に進むか否かを決定しても構わない。   Note that the determinations of step ST210 and step ST211 may be performed in the order of step ST211 and step ST210, or in parallel, and it may be determined whether or not to proceed to the determination of step ST203.

以上のように、この発明の実施の形態7によれば、第1の予測評価値演算手段において演算された予測評価値のうち少なくとも一つが、予め設定された演算中止判定閾値以下の場合に、第1の予測評価値演算手段における予測評価値の中から最適な予測方向を選択するようにしたため、予測方向決定手段は、演算中止判定手段から通知を受けることで、第2の予測評価値演算手段により出力される予測評価値が揃うまで待つ必要がなくなり、実施の形態1に係る画像符号化装置よりも、演算処理時間の短縮を図ることができる。   As described above, according to the seventh embodiment of the present invention, when at least one of the predicted evaluation values calculated by the first predicted evaluation value calculating means is equal to or less than a preset calculation stop determination threshold value, Since the optimum prediction direction is selected from the prediction evaluation values in the first prediction evaluation value calculation means, the prediction direction determination means receives the notification from the calculation stop determination means, so that the second prediction evaluation value calculation is performed. It is not necessary to wait until the prediction evaluation values output by the means are complete, and the calculation processing time can be shortened as compared with the image coding apparatus according to the first embodiment.

また、この発明の実施の形態7によれば、同様に、第1の予測評価値演算手段における予測評価値の中から最適な予測方向を選択するようにしたため、第2の予測評価値演算手段は、演算中止判定手段から直接または予測方向抽出手段を介して通知を受けることで、予測評価値の算出を実行しないようにすることができるため、実施の形態1に係る画像符号化装置よりも、低消費電力化を図ることができる。   Further, according to the seventh embodiment of the present invention, similarly, since the optimum prediction direction is selected from the prediction evaluation values in the first prediction evaluation value calculation means, the second prediction evaluation value calculation means. Since it is possible to prevent the calculation of the prediction evaluation value from being executed by receiving the notification directly from the calculation stop determination unit or through the prediction direction extraction unit, the image encoding apparatus according to the first embodiment is more suitable. , Low power consumption can be achieved.

また、演算中止判定手段に設定する演算中止判定閾値は、固定値であっても、可変値であっても構わない。演算中止判定閾値を適宜変更することにより、第1の予測評価値演算手段において同一の予測評価値が算出されても、第2の予測評価値演算手段における予測評価値の算出の要否を細かく判定することができるため、演算処理時間、消費電力を任意に制御することが可能である。   The calculation stop determination threshold set in the calculation stop determination means may be a fixed value or a variable value. By appropriately changing the calculation stop determination threshold, even if the same predicted evaluation value is calculated in the first predicted evaluation value calculating means, the necessity of calculating the predicted evaluation value in the second predicted evaluation value calculating means is detailed. Since the determination can be made, it is possible to arbitrarily control the calculation processing time and the power consumption.

また、この発明の実施の形態7では、実施の形態1において説明した画像符号化装置に、最初に設定された少なくとも2つの予測方向の予測評価値によっては、その最初に設定された予測方向の予測評価値の中から最適な予測方向となる予測モードを選択する機能を加えた構成と動作について説明したが、ここまでに示した実施の形態2から実施の形態6においても適用することが可能である。   Further, in the seventh embodiment of the present invention, depending on the prediction evaluation values of at least two prediction directions initially set in the image coding apparatus described in the first embodiment, The configuration and operation have been described in which the function of selecting the prediction mode that provides the optimal prediction direction from the prediction evaluation values has been described, but the present invention can also be applied to the second to sixth embodiments described so far. It is.

なお、実施の形態3および実施の形態6に適用する場合には、演算中止判定手段の判定結果は、第2の予測評価値演算手段、第3の予測評価値演算手段に直接通知し、その予測評価値の算出を実行しないようにしてもよい。あるいは、演算中止判定手段の判定結果は、予測方向指定手段、予測方向抽出手段を介して第2の予測評価値演算手段、第3の予測評価値演算手段に間接的に通知し、第2の予測評価値演算手段、第3の予測評価値演算手段に対して予測評価値の算出の制御を行っても構わない。   When applied to the third and sixth embodiments, the determination result of the calculation stop determination unit is directly notified to the second prediction evaluation value calculation unit and the third prediction evaluation value calculation unit, The calculation of the predicted evaluation value may not be executed. Alternatively, the determination result of the calculation stop determination unit is indirectly notified to the second prediction evaluation value calculation unit and the third prediction evaluation value calculation unit via the prediction direction designation unit and the prediction direction extraction unit, and the second You may control calculation of a prediction evaluation value with respect to a prediction evaluation value calculating means and a 3rd prediction evaluation value calculating means.

これまで説明してきたこの発明の実施の形態では、動画像を対象とする画像符号化装置の一例であるH.264方式のイントラ符号化で適用される予測符号化について説明を行ったが、符号化対象となる画像フレーム単独で行うものであることから、静止画像を対象とする画像符号化装置にも適用できることは明らかである。   In the embodiments of the present invention described so far, the prediction coding applied in the H.264 intra coding, which is an example of the image coding device for moving images, has been described. It is obvious that the present invention can be applied to an image coding apparatus for still images as well, since it is performed by using only an image frame to be converted.

また、この発明の実施の形態では、8画素×8ラインのブロックにおいては、4画素×4ラインのブロックより多くの予測方向を定義し、それらの予測評価値の中から判定閾値によって最適な予測方向を選択することができる。ブロックが大きくなることで、定義できる予測方向の総数も多くなり、また構成画素の数も増加するため、予測評価値を演算する予測方向が効率よく限定できることで演算量が格段に削減できる。   In the embodiment of the present invention, more prediction directions are defined in a block of 8 pixels × 8 lines than in a block of 4 pixels × 4 lines, and an optimal prediction is made based on a determination threshold value among these prediction evaluation values. The direction can be selected. By increasing the size of the block, the total number of prediction directions that can be defined increases, and the number of constituent pixels also increases. Therefore, the amount of calculation can be significantly reduced by efficiently limiting the prediction directions for calculating the prediction evaluation value.

なお、この発明の実施の形態1から実施の形態4、および実施の形態7で示した図2、図3、図5、図6、図10のフローチャート図において、2つの予測方向の予測評価値の判定には、比率を用いて説明しているが、2つの予測方向の予測評価値の比率を判定閾値と大小比較判定する際に、判定閾値を境界として定義される区間に対して、等号を上界値側に含めているが下界値側に含めるようにしても構わない。   In the flowcharts of FIGS. 2, 3, 5, 6, and 10 shown in the first to fourth embodiments and the seventh embodiment of the present invention, prediction evaluation values in two prediction directions are used. In the determination, the ratio is used for the explanation. However, when the ratio of the prediction evaluation values in the two prediction directions is compared with the determination threshold, the section defined with the determination threshold as a boundary, etc. The number is included on the upper bound side, but may be included on the lower bound side.

また、この発明の実施の形態7で示した図10のフローチャート図において、2つの予測方向の予測評価値を演算中止判定閾値と大小比較判定する際に、判定閾値を境界として定義される区間に対して、等号を下界値側に含めているが上界値側に含めるようにしても構わない。   Further, in the flowchart of FIG. 10 shown in the seventh embodiment of the present invention, when the prediction evaluation values in the two prediction directions are compared with the calculation stop determination threshold, the interval defined as the determination threshold is used as a section. On the other hand, the equal sign is included on the lower bound side, but it may be included on the upper bound side.

また、この発明の実施の形態1から実施の形態4、および実施の形態7で示した図2、図3、図5、図6、図10のフローチャート図において、最終的に抽出される予測方向の数は、一例である各フローチャート図に示した候補数より増減させても構わない。また、抽出される予測方向も各フローチャート図に示したものに限らない。   Further, in the flowcharts of FIGS. 2, 3, 5, 6, and 10 shown in the first to fourth embodiments and the seventh embodiment of the present invention, the prediction direction finally extracted The number may be increased or decreased from the number of candidates shown in each flowchart diagram as an example. Further, the extracted prediction direction is not limited to that shown in each flowchart.

また、この発明の実施の形態1から実施の形態4、および実施の形態7で示した図2、図3、図5、図6、図10のフローチャート図において、抽出される予測方向の一例を示したが、これらは任意に定義して構わない。抽出される予測方向は、抽出以前の判定によって得られた優位な予測方向に関連する予測方向とする。例えば、図11に示される予測方向に対して、優位な予測方向を得て、適当な範囲の近傍の予測方向あるいは適当な間隔を空けた予測方向を定義し、抽出ごとに定義に該当する予測方向を拾い上げてもよい。また、その定義に基づいて、優位な予測方向に対して抽出される予測方向の一覧表をあらかじめ作成しておいて拾い上げても構わない。なお、抽出された予測方向の予測評価値が、抽出以前の判定の際に演算済みであれば、再度演算する必要はなく、判定時の予測評価値を使用して構わない。   Further, in the flowcharts of FIGS. 2, 3, 5, 6, and 10 shown in the first to fourth embodiments and the seventh embodiment of the present invention, an example of the extracted prediction direction is shown. Although shown, these may be defined arbitrarily. The extracted prediction direction is assumed to be a prediction direction related to the dominant prediction direction obtained by the determination before extraction. For example, a prediction direction superior to the prediction direction shown in FIG. 11 is obtained, a prediction direction in the vicinity of an appropriate range or a prediction direction with an appropriate interval is defined, and a prediction corresponding to the definition for each extraction You may pick up the direction. Further, based on the definition, a list of prediction directions extracted for the dominant prediction directions may be created in advance and picked up. Note that if the extracted prediction evaluation value in the prediction direction has been calculated at the time of determination before extraction, there is no need to calculate again, and the prediction evaluation value at the time of determination may be used.

また、この発明の実施の形態1、実施の形態2、実施の形態4、実施の形態5および実施の形態7で示した図1、図7、図9のブロック構成図において、第1の予測評価値演算手段が演算した予測評価値は、予測方向決定手段に直接入力しているが、予測方向抽出手段を介して第2の予測評価値演算手段を経て、予測方向決定手段に入力するようにしても構わない。このとき、実施の形態7においては、第2の予測評価値演算手段が予測評価値を演算しない場合でも、第1の予測評価値演算手段が演算した予測評価値を、第2の予測評価値演算手段を経て予測方向決定手段に入力するものとする。   In the block configuration diagrams of FIGS. 1, 7, and 9 shown in the first embodiment, the second embodiment, the fourth embodiment, the fifth embodiment, and the seventh embodiment of the present invention, the first prediction The prediction evaluation value calculated by the evaluation value calculation means is directly input to the prediction direction determination means, but is input to the prediction direction determination means via the second prediction evaluation value calculation means via the prediction direction extraction means. It doesn't matter. At this time, in the seventh embodiment, even when the second prediction evaluation value calculation means does not calculate the prediction evaluation value, the prediction evaluation value calculated by the first prediction evaluation value calculation means is used as the second prediction evaluation value. It is assumed that the calculation direction is input to the prediction direction determination unit.

また、この発明の実施の形態3および実施の形態6で示した図4、図8のブロック構成図において、第1の予測評価値演算手段が演算した予測評価値は、予測方向決定手段に直接入力しているが、予測方向指定手段を介して第2の予測評価値演算手段を経て、予測方向決定手段に入力してもよく、あるいは、さらに予測方向抽出手段を介して第3の予測評価値演算手段を経て、予測方向決定手段に入力するようにしても構わない。同様に、第2の予測評価値演算手段が演算した予測評価値は、予測方向決定手段に直接入力しているが、予測方向抽出手段を介して第3の予測評価値演算手段を経て、予測方向決定手段に入力するようにしても構わない。   Further, in the block configuration diagrams of FIGS. 4 and 8 shown in the third and sixth embodiments of the present invention, the predicted evaluation value calculated by the first predicted evaluation value calculating means is directly input to the prediction direction determining means. Although it is input, it may be input to the prediction direction determining means via the second prediction evaluation value calculating means via the prediction direction specifying means, or may be further input to the third prediction evaluation via the prediction direction extracting means. You may make it input into a prediction direction determination means through a value calculation means. Similarly, the prediction evaluation value calculated by the second prediction evaluation value calculation means is directly input to the prediction direction determination means, but is predicted via the third prediction evaluation value calculation means via the prediction direction extraction means. You may make it input into a direction determination means.

以上のように、この発明の実施の形態によれば、定義された複数の予測方向についてすべての予測評価値を演算することなく、判定に用いる予測方向およびその判定により抽出された予測方向からなる一部の予測方向の予測評価値を演算するだけで最適な予測方向を決定することができるので、予測方向の総数が多くなるほど効率よく演算量の削減を図ることができる。   As described above, according to the embodiment of the present invention, the prediction direction used for determination and the prediction direction extracted by the determination are calculated without calculating all prediction evaluation values for the plurality of defined prediction directions. Since the optimal prediction direction can be determined only by calculating the prediction evaluation values of some prediction directions, the amount of calculation can be efficiently reduced as the total number of prediction directions increases.

また、この発明の実施の形態によれば、画像符号化装置をハードウェアで構成した場合には、回路規模、消費電力を小さくするなどの効果が得られる。また、画像符号化装置をソフトウェアで構成した場合には、処理時間を短くすることができるなどの効果が得られる。また、汎用計算機などで処理する場合には、処理能力の低い演算処理ユニットで構成して動作させたとしても、より快適に実行できるようになる。   Further, according to the embodiment of the present invention, when the image encoding device is configured by hardware, effects such as reduction in circuit scale and power consumption can be obtained. Further, when the image encoding device is configured by software, an effect such as shortening the processing time can be obtained. Further, when processing is performed by a general-purpose computer or the like, even if it is configured and operated by an arithmetic processing unit having a low processing capability, it can be executed more comfortably.

この発明の実施の形態1、実施の形態2および実施の形態4における画像符号化装置に係るブロック構成図である。It is a block block diagram which concerns on the image coding apparatus in Embodiment 1, Embodiment 2 and Embodiment 4 of this invention. この発明の実施の形態1における画像符号化装置に係るイントラ予測符号化の予測方向の予測評価値に基づく予測モード選択処理手順の一例を示すフローチャート図である。It is a flowchart figure which shows an example of the prediction mode selection processing procedure based on the prediction evaluation value of the prediction direction of the intra prediction encoding which concerns on the image coding apparatus in Embodiment 1 of this invention. この発明の実施の形態2における画像符号化装置に係るイントラ予測符号化の予測方向の予測評価値に基づく予測モード選択処理手順の一例を示すフローチャート図である。It is a flowchart figure which shows an example of the prediction mode selection processing procedure based on the prediction evaluation value of the prediction direction of the intra prediction encoding which concerns on the image coding apparatus in Embodiment 2 of this invention. この発明の実施の形態3における画像符号化装置に係るブロック構成図である。It is a block block diagram which concerns on the image coding apparatus in Embodiment 3 of this invention. この発明の実施の形態3における画像符号化装置に係るイントラ予測符号化の予測方向の予測評価値に基づく予測モード選択処理手順の一例を示すフローチャート図である。It is a flowchart figure which shows an example of the prediction mode selection process sequence based on the prediction evaluation value of the prediction direction of the intra prediction encoding which concerns on the image coding apparatus in Embodiment 3 of this invention. この発明の実施の形態4における画像符号化装置に係るイントラ予測符号化の予測方向の予測評価値に基づく予測モード選択処理手順の一例を示すフローチャート図である。It is a flowchart figure which shows an example of the prediction mode selection processing procedure based on the prediction evaluation value of the prediction direction of the intra prediction encoding which concerns on the image coding apparatus in Embodiment 4 of this invention. この発明の実施の形態5における画像符号化装置に係るブロック構成図である。It is a block block diagram which concerns on the image coding apparatus in Embodiment 5 of this invention. この発明の実施の形態6における画像符号化装置に係るブロック構成図である。It is a block block diagram which concerns on the image coding apparatus in Embodiment 6 of this invention. この発明の実施の形態7における画像符号化装置に係るブロック構成図である。It is a block block diagram which concerns on the image coding apparatus in Embodiment 7 of this invention. この発明の実施の形態7における画像符号化装置に係るイントラ予測符号化の予測方向の予測評価値に基づく予測モード選択処理手順の一例を示すフローチャート図である。It is a flowchart figure which shows an example of the prediction mode selection processing procedure based on the prediction evaluation value of the prediction direction of the intra prediction encoding which concerns on the image coding apparatus in Embodiment 7 of this invention. 従来技術におけるイントラ予測の予測モードを示す説明図である。It is explanatory drawing which shows the prediction mode of the intra prediction in a prior art. 従来技術におけるイントラ予測のマクロブロックとブロックを示す説明図である。It is explanatory drawing which shows the macroblock and block of intra prediction in a prior art. 従来技術における予測方向の符号化対象画素と予測値を示す説明図である。It is explanatory drawing which shows the encoding object pixel and prediction value of the prediction direction in a prior art. 従来技術における画像符号化装置に係るイントラ予測符号化の予測方向の予測評価値に基づく予測モード選択処理手順を示すフローチャート図である。It is a flowchart figure which shows the prediction mode selection processing procedure based on the prediction evaluation value of the prediction direction of the intra prediction encoding which concerns on the image coding apparatus in a prior art.

符号の説明Explanation of symbols

101A、101B 予測方向設定手段
102 第1の予測評価値演算手段
103 予測方向抽出手段
104 第2の予測評価値演算手段
105、105B 予測方向決定手段
106 予測モード変換手段
107 予測モード記憶手段
108 演算中止判定手段
151 予測評価値演算部
152A、152B、152C 予測モード決定部
201A、201B 予測方向設定手段
202 第1の予測評価値演算手段
203 予測方向抽出手段
204 第2の予測評価値演算手段
205 予測方向指定手段
206 第3の予測評価値演算手段
207 予測方向決定手段
208 予測モード変換手段
209 予測モード記憶手段
251 予測評価値演算部
252A、252B 予測モード決定部
101A, 101B Prediction direction setting means 102 First prediction evaluation value calculation means 103 Prediction direction extraction means 104 Second prediction evaluation value calculation means 105, 105B Prediction direction determination means 106 Prediction mode conversion means 107 Prediction mode storage means 108 Computation stop Determination unit 151 Prediction evaluation value calculation unit 152A, 152B, 152C Prediction mode determination unit 201A, 201B Prediction direction setting unit 202 First prediction evaluation value calculation unit 203 Prediction direction extraction unit 204 Second prediction evaluation value calculation unit 205 Prediction direction Designating means 206 Third predictive evaluation value calculating means 207 Predicting direction determining means 208 Predictive mode converting means 209 Predictive mode storage means 251 Predictive evaluation value calculating parts 252A, 252B Predictive mode determining part

Claims (11)

予測符号化を行う画像符号化装置であって、
符号化対象ブロックに対して少なくとも2つの予測方向を設定する予測方向設定手段と、
この予測方向設定手段が設定した少なくとも2つの予測方向の予測評価値を演算する第1の予測評価値演算手段と、
この第1の予測評価値演算手段が演算した各予測方向の予測評価値に基づいて優位な予測方向を決定し、その優位な方向に関係する1つまたは複数の予測方向を抽出する予測方向抽出手段と、
この予測方向抽出手段が抽出した各予測方向の予測評価値を演算する第2の予測評価値演算手段と、
前記第2の予測評価値演算手段が演算した各予測方向の予測評価値に基づいて最適な予測方向を決定する予測方向決定手段と、
この予測方向決定手段が決定した最適な予測方向をその予測方向に対応する予測モードに変換する予測モード変換手段と
を備えることを特徴とする画像符号化装置。
An image encoding device that performs predictive encoding,
Prediction direction setting means for setting at least two prediction directions for the encoding target block;
First prediction evaluation value calculating means for calculating prediction evaluation values in at least two prediction directions set by the prediction direction setting means;
Prediction direction extraction for determining a superior prediction direction based on the prediction evaluation value of each prediction direction calculated by the first prediction evaluation value calculation means, and extracting one or a plurality of prediction directions related to the dominant direction. Means,
Second prediction evaluation value calculating means for calculating a prediction evaluation value in each prediction direction extracted by the prediction direction extracting means;
A prediction direction determination unit that determines an optimal prediction direction based on the prediction evaluation value of each prediction direction calculated by the second prediction evaluation value calculation unit;
An image coding apparatus comprising: a prediction mode conversion unit that converts an optimal prediction direction determined by the prediction direction determination unit into a prediction mode corresponding to the prediction direction.
予測符号化を行う画像符号化装置であって、
符号化対象ブロックに対して少なくとも2つの予測方向を設定する予測方向設定手段と、
この予測方向設定手段が設定した少なくとも2つの予測方向の予測評価値を演算する第1の予測評価値演算手段と、
この第1の予測評価値演算手段が演算した各予測方向の予測評価値に基づいて他に予測評価値を演算すべき1つまたは複数の予測方向を指定する予測方向指定手段と、
この予測方向指定手段が指定した各予測方向の予測評価値を演算する第2の予測評価値演算手段と、
前記第2の予測評価値演算手段が演算した各予測方向の予測評価値に基づいて優位な予測方向を決定し、その優位な方向に関係する1つまたは複数の予測方向を抽出する予測方向抽出手段と、
この予測方向抽出手段が抽出した各予測方向の予測評価値を演算する第3の予測評価値演算手段と、
前記第3の予測評価値演算手段が演算した各予測方向の予測評価値に基づいて最適な予測方向を決定する予測方向決定手段と、
この予測方向決定手段が決定した最適な予測方向をその予測方向に対応する予測モードに変換する予測モード変換手段と
を備えることを特徴とする画像符号化装置。
An image encoding device that performs predictive encoding,
Prediction direction setting means for setting at least two prediction directions for the encoding target block;
First prediction evaluation value calculating means for calculating prediction evaluation values in at least two prediction directions set by the prediction direction setting means;
A prediction direction designating unit for designating one or more prediction directions in which a prediction evaluation value is to be calculated based on the prediction evaluation value of each prediction direction calculated by the first prediction evaluation value calculating unit;
Second prediction evaluation value calculating means for calculating a prediction evaluation value in each prediction direction designated by the prediction direction designating means;
Prediction direction extraction for determining a superior prediction direction based on the prediction evaluation value of each prediction direction calculated by the second prediction evaluation value calculation means, and extracting one or a plurality of prediction directions related to the dominant direction Means,
Third prediction evaluation value calculating means for calculating a prediction evaluation value in each prediction direction extracted by the prediction direction extracting means;
A prediction direction determination unit that determines an optimal prediction direction based on the prediction evaluation value of each prediction direction calculated by the third prediction evaluation value calculation unit;
An image coding apparatus comprising: a prediction mode conversion unit that converts an optimal prediction direction determined by the prediction direction determination unit into a prediction mode corresponding to the prediction direction.
前記予測方向設定手段が設定する予測方向は、相互に直交する予測方向であることを特徴とする請求項1または請求項2に記載の画像符号化装置。 The image encoding apparatus according to claim 1, wherein the prediction directions set by the prediction direction setting unit are prediction directions orthogonal to each other. 上記予測方向決定手段が決定した最適な予測方向を符号化対象ブロックごとに記憶する予測方向記憶手段を備え、
上記予測方向設定手段は、前記予測方向記憶手段が記憶した1つまたは複数の予測方向に基づいて前記少なくとも2つの予測方向を設定することを特徴とする請求項1または請求項2に記載の画像符号化装置。
A prediction direction storage unit that stores the optimum prediction direction determined by the prediction direction determination unit for each encoding target block;
The image according to claim 1, wherein the prediction direction setting unit sets the at least two prediction directions based on one or more prediction directions stored by the prediction direction storage unit. Encoding device.
上記予測方向設定手段は、上記予測方向記憶手段から符号化対象ブロックに対して真上および/または左に位置する符号化済みブロックで適用された予測方向を参照し、その予測方向に基づいて推定した前記少なくとも2つの予測方向を設定することを特徴とする請求項4に記載の画像符号化装置。 The prediction direction setting means refers to the prediction direction applied to the encoded block located directly above and / or to the left of the encoding target block from the prediction direction storage means, and estimates based on the prediction direction 5. The image encoding apparatus according to claim 4, wherein the at least two prediction directions are set. 上記予測方向設定手段は、上記予測方向記憶手段から符号化対象ブロックに対して1フレーム前の画像の同一位置における符号化済みブロックで適用された予測方向を参照し、その予測方向に基づいて推定した前記少なくとも2つの予測方向を設定することを特徴とする請求項4に記載の画像符号化装置。 The prediction direction setting means refers to the prediction direction applied by the encoded block at the same position of the image one frame before the encoding target block from the prediction direction storage means, and estimates based on the prediction direction 5. The image encoding apparatus according to claim 4, wherein the at least two prediction directions are set. 予測符号化を行う画像符号化方法であって、
符号化対象ブロックに対して少なくとも2つの予測方向を設定する予測方向設定ステップと、
この予測方向設定ステップが設定した少なくとも2つの予測方向の予測評価値を演算する第1の予測評価値演算ステップと、
この第1の予測評価値演算ステップが演算した各予測方向の予測評価値に基づいて優位な予測方向を決定し、その優位な方向に関係する1つまたは複数の予測方向を抽出する予測方向抽出ステップと、
この予測方向抽出ステップが抽出した各予測方向の予測評価値を演算する第2の予測評価値演算ステップと、
前記第2の予測評価値演算ステップが演算した各予測方向の予測評価値に基づいて最適な予測方向を決定する予測方向決定ステップと、
この予測方向決定ステップが決定した最適な予測方向をその予測方向に対応する予測モードに変換する予測モード変換ステップと
を有することを特徴とする画像符号化方法。
An image encoding method for performing predictive encoding,
A prediction direction setting step of setting at least two prediction directions for the encoding target block;
A first prediction evaluation value calculation step for calculating prediction evaluation values in at least two prediction directions set by the prediction direction setting step;
Prediction direction extraction that determines a superior prediction direction based on the prediction evaluation value of each prediction direction calculated by the first prediction evaluation value calculation step, and extracts one or more prediction directions related to the superior direction. Steps,
A second prediction evaluation value calculation step for calculating a prediction evaluation value in each prediction direction extracted by the prediction direction extraction step;
A prediction direction determination step of determining an optimal prediction direction based on the prediction evaluation value of each prediction direction calculated by the second prediction evaluation value calculation step;
An image encoding method comprising: a prediction mode conversion step of converting the optimal prediction direction determined in the prediction direction determination step into a prediction mode corresponding to the prediction direction.
予測符号化を行う画像符号化方法であって、
符号化対象ブロックに対して少なくとも2つの予測方向を設定する予測方向設定ステップと、
この予測方向設定ステップが設定した少なくとも2つの予測方向の予測評価値を演算する第1の予測評価値演算ステップと、
この第1の予測評価値演算ステップが演算した各予測方向の予測評価値に基づいて他に予測評価値を演算すべき1つまたは複数の予測方向を指定する予測方向指定ステップと、
この予測方向指定ステップが指定した各予測方向の予測評価値を演算する第2の予測評価値演算ステップと、
前記第2の予測評価値演算ステップが演算した各予測方向の予測評価値に基づいて優位な予測方向を決定し、その優位な方向に関係する1つまたは複数の予測方向を抽出する予測方向抽出ステップと、
この予測方向抽出ステップが抽出した各予測方向の予測評価値を演算する第3の予測評価値演算ステップと、
前記第3の予測評価値演算ステップが演算した各予測方向の予測評価値に基づいて最適な予測方向を決定する予測方向決定ステップと、
この予測方向決定ステップが決定した最適な予測方向をその予測方向に対応する予測モードに変換する予測モード変換ステップと
を有することを特徴とする画像符号化方法。
An image encoding method for performing predictive encoding,
A prediction direction setting step of setting at least two prediction directions for the encoding target block;
A first prediction evaluation value calculation step for calculating prediction evaluation values in at least two prediction directions set by the prediction direction setting step;
A prediction direction designating step for designating one or a plurality of prediction directions in which a prediction evaluation value is to be calculated based on the prediction evaluation value of each prediction direction calculated by the first prediction evaluation value calculating step;
A second prediction evaluation value calculating step for calculating a prediction evaluation value in each prediction direction specified by the prediction direction specifying step;
Prediction direction extraction that determines a superior prediction direction based on the prediction evaluation value of each prediction direction calculated in the second prediction evaluation value calculation step, and extracts one or more prediction directions related to the superior direction. Steps,
A third prediction evaluation value calculation step for calculating a prediction evaluation value in each prediction direction extracted by the prediction direction extraction step;
A prediction direction determination step of determining an optimal prediction direction based on the prediction evaluation value of each prediction direction calculated by the third prediction evaluation value calculation step;
An image encoding method comprising: a prediction mode conversion step of converting the optimal prediction direction determined in the prediction direction determination step into a prediction mode corresponding to the prediction direction.
上記予測方向決定ステップが決定した最適な予測方向を符号化対象ブロックごとに記憶する予測方向記憶ステップを有し、
上記予測方向設定ステップは、前記予測方向記憶ステップが記憶した1つまたは複数の予測方向に基づいて前記少なくとも2つの予測方向を設定することを特徴とする請求項7または請求項8に記載の画像符号化方法。
A prediction direction storage step for storing the optimum prediction direction determined by the prediction direction determination step for each encoding target block;
The image according to claim 7 or 8, wherein the prediction direction setting step sets the at least two prediction directions based on one or more prediction directions stored in the prediction direction storage step. Encoding method.
上記第1の予測評価値演算手段が演算した予測評価値と演算中止判定閾値を比較して、上記第1の予測評価値演算手段が演算した予測評価値に対応した予測方向を除く他の予測方向について予測評価値の演算を実行するか否かを判定する演算中止判定手段を備え、
上記予測方向決定手段は、上記演算中止判定手段が上記他の予測方向については予測評価値の演算を実行しないと判定したとき、上記第1の予測評価値演算手段が演算した各予測方向の予測評価値のみに基づいて最適な予測方向を決定することを特徴とする請求項1または請求項2に記載の画像符号化装置。
Other predictions except the prediction direction corresponding to the prediction evaluation value calculated by the first prediction evaluation value calculating means by comparing the prediction evaluation value calculated by the first prediction evaluation value calculating means with the calculation stop determination threshold value Computation stop determination means for determining whether or not to execute the prediction evaluation value calculation for the direction,
The prediction direction determination means predicts each prediction direction calculated by the first prediction evaluation value calculation means when the calculation stop determination means determines that the prediction evaluation value is not calculated for the other prediction directions. The image encoding apparatus according to claim 1, wherein an optimal prediction direction is determined based only on the evaluation value.
上記第1の予測評価値演算ステップが演算した予測評価値と演算中止判定閾値を比較して、上記第1の予測評価値演算ステップが演算した予測評価値に対応した予測方向を除く他の予測方向について予測評価値の演算を実行するか否かを判定する演算中止判定ステップを有し、
上記予測方向決定ステップは、上記演算中止判定ステップが上記他の予測方向については予測評価値の演算を実行しないと判定したとき、上記第1の予測評価値演算ステップが演算した各予測方向の予測評価値のみに基づいて最適な予測方向を決定することを特徴とする請求項7または請求項8に記載の画像符号化方法。
Other predictions except the prediction direction corresponding to the prediction evaluation value calculated by the first prediction evaluation value calculation step by comparing the prediction evaluation value calculated by the first prediction evaluation value calculation step and the calculation stop determination threshold value A calculation stop determination step for determining whether or not to execute a calculation of a predicted evaluation value for a direction,
In the prediction direction determination step, when the calculation stop determination step determines that the prediction evaluation value is not calculated for the other prediction directions, the prediction of each prediction direction calculated by the first prediction evaluation value calculation step is performed. 9. The image encoding method according to claim 7, wherein an optimal prediction direction is determined based only on the evaluation value.
JP2007002399A 2006-02-15 2007-01-10 Image encoding device and image coding method Pending JP2007251923A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007002399A JP2007251923A (en) 2006-02-15 2007-01-10 Image encoding device and image coding method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2006038170 2006-02-15
JP2007002399A JP2007251923A (en) 2006-02-15 2007-01-10 Image encoding device and image coding method

Publications (1)

Publication Number Publication Date
JP2007251923A true JP2007251923A (en) 2007-09-27

Family

ID=38595690

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007002399A Pending JP2007251923A (en) 2006-02-15 2007-01-10 Image encoding device and image coding method

Country Status (1)

Country Link
JP (1) JP2007251923A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010263301A (en) * 2009-04-30 2010-11-18 Mega Chips Corp Method of generating image data
JP2011151655A (en) * 2010-01-22 2011-08-04 Mitsubishi Electric Corp Apparatus, method and program for encoding of moving picture
WO2013175732A1 (en) * 2012-05-24 2013-11-28 パナソニック株式会社 Image coding device, image coding method, and integrated circuit
JP2015179944A (en) * 2014-03-19 2015-10-08 日本電信電話株式会社 Method and program for determining intra-prediction direction

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004304724A (en) * 2003-04-01 2004-10-28 Sony Corp Image processing apparatus, its method and encoder
WO2005004491A1 (en) * 2003-06-25 2005-01-13 Thomson Licensing S.A. Fast mode-decision encoding for interframes
JP2005151017A (en) * 2003-11-13 2005-06-09 Sharp Corp Image coding apparatus
JP2005176073A (en) * 2003-12-12 2005-06-30 Ntt Docomo Inc Device, method, and program for motion picture coding
JP2005348280A (en) * 2004-06-07 2005-12-15 Nippon Telegr & Teleph Corp <Ntt> Image encoding method, image encoding apparatus, image encoding program, and computer readable recording medium recorded with the program
JP2005348008A (en) * 2004-06-02 2005-12-15 Nippon Telegr & Teleph Corp <Ntt> Moving picture coding method, moving picture coder, moving picture coding program and computer-readable recording medium with record of the program
JP2006014342A (en) * 2004-06-27 2006-01-12 Apple Computer Inc Selection of coding type for coding video data and of predictive mode

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004304724A (en) * 2003-04-01 2004-10-28 Sony Corp Image processing apparatus, its method and encoder
WO2005004491A1 (en) * 2003-06-25 2005-01-13 Thomson Licensing S.A. Fast mode-decision encoding for interframes
JP2005151017A (en) * 2003-11-13 2005-06-09 Sharp Corp Image coding apparatus
JP2005176073A (en) * 2003-12-12 2005-06-30 Ntt Docomo Inc Device, method, and program for motion picture coding
JP2005348008A (en) * 2004-06-02 2005-12-15 Nippon Telegr & Teleph Corp <Ntt> Moving picture coding method, moving picture coder, moving picture coding program and computer-readable recording medium with record of the program
JP2005348280A (en) * 2004-06-07 2005-12-15 Nippon Telegr & Teleph Corp <Ntt> Image encoding method, image encoding apparatus, image encoding program, and computer readable recording medium recorded with the program
JP2006014342A (en) * 2004-06-27 2006-01-12 Apple Computer Inc Selection of coding type for coding video data and of predictive mode

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010263301A (en) * 2009-04-30 2010-11-18 Mega Chips Corp Method of generating image data
US9516320B2 (en) 2009-04-30 2016-12-06 Megachips Corporation Method of generating image data
JP2011151655A (en) * 2010-01-22 2011-08-04 Mitsubishi Electric Corp Apparatus, method and program for encoding of moving picture
WO2013175732A1 (en) * 2012-05-24 2013-11-28 パナソニック株式会社 Image coding device, image coding method, and integrated circuit
JP2015179944A (en) * 2014-03-19 2015-10-08 日本電信電話株式会社 Method and program for determining intra-prediction direction

Similar Documents

Publication Publication Date Title
RU2731026C1 (en) Predictive coding method, predictive coding device and predictive coding method of motion vector and predictive decoding method, predictive decoding device and motion vector prediction decoding program
JP4338654B2 (en) Motion vector detection apparatus and method, and image coding apparatus capable of using the motion vector detection apparatus
CN105530516A (en) Methods for deriving decoder-side motion vector derivation
JP2011114572A (en) Image encoding apparatus, image decoding apparatus, image encoding method, and image decoding method
CN102131091A (en) Methods for decoder-side motion vector derivation
KR20140120887A (en) Method and device for encoding a block of an image and corresponding reconstructing method and device
JP2011503991A (en) Method and device for motion estimation and compensation
JP2007251923A (en) Image encoding device and image coding method
KR100373331B1 (en) Scalable shape encoding/decoding system and method using scan interleaving method
JP6341756B2 (en) Image processing apparatus and image processing apparatus control method
JP5759588B1 (en) Intra prediction direction determination method and intra prediction direction determination program
JP5272966B2 (en) Predictive coding apparatus, predictive coding method, and predictive coding program

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20080416

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091028

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110302

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110329

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110525

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111018

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120424