JP3324548B2 - Motion compensation prediction decision circuit - Google Patents

Motion compensation prediction decision circuit

Info

Publication number
JP3324548B2
JP3324548B2 JP6720999A JP6720999A JP3324548B2 JP 3324548 B2 JP3324548 B2 JP 3324548B2 JP 6720999 A JP6720999 A JP 6720999A JP 6720999 A JP6720999 A JP 6720999A JP 3324548 B2 JP3324548 B2 JP 3324548B2
Authority
JP
Japan
Prior art keywords
prediction
sum
absolute differences
motion compensation
mode
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.)
Expired - Fee Related
Application number
JP6720999A
Other languages
Japanese (ja)
Other versions
JP2000270327A (en
Inventor
祐和 亀山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP6720999A priority Critical patent/JP3324548B2/en
Publication of JP2000270327A publication Critical patent/JP2000270327A/en
Application granted granted Critical
Publication of JP3324548B2 publication Critical patent/JP3324548B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、特にAE(差分絶
対値和)をもとに予測モードを選択する動き補償予測決
定回路に属する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention particularly relates to a motion compensation prediction decision circuit for selecting a prediction mode based on AE (sum of absolute differences).

【0002】[0002]

【従来の技術】従来、動画像圧縮方式の国際標準規格I
TU−T H.262/MPEG2のTM5(テストモ
デル5)において、動き補償は図6のように各予測モー
ドをすべて候補として扱い、AE(Absolute
Error:差分絶対値和)が最も小さい予測モードが
選択されている。
2. Description of the Related Art Conventionally, an international standard I of moving picture compression
TU-TH. In TM5 (test model 5) of H.262 / MPEG2, motion compensation treats all prediction modes as candidates as shown in FIG. 6 and performs AE (Absolute).
Error: the prediction mode with the smallest absolute difference value) is selected.

【0003】図6を参照されたい。まず、AEの算出ま
でを説明する。MB平均501は、予測画像信号Int
ra入力のマクロブロック(256サンプル)平均を出
力する。AE器503は、MB平均501と接続され、
予測画像信号IntraからIntraのマクロブロッ
ク平均を減算し、絶対値計算をし、マクロブロック単位
で累積し、IP(Intra予測のAE)を出力する。
FP(Forward予測のAE)、BP(Backw
ard予測のAE)、IPP(Inter Polat
ion予測のAE)についても同様な構成となってい
る。(F+B)/2器502には、予測画像信号For
ward入力と予測画像信号Backward入力の1
サンプル毎の平均値(=Inter Polation
予測)を計算し、AE器506へ出力する。
[0003] Please refer to FIG. First, the process up to the calculation of the AE will be described. The MB average 501 is equal to the predicted image signal Int.
The average of the macroblock (256 samples) of the ra input is output. The AE device 503 is connected to the MB average 501,
The Intra macroblock average is subtracted from the predicted image signal Intra, the absolute value is calculated, the result is accumulated for each macroblock, and IP (AE of Intra prediction) is output.
FP (Forward prediction AE), BP (Backw
AE) and IPP (Inter Polat)
AE of ion prediction has the same configuration. The (F + B) / 2 unit 502 has a predicted image signal For
Ward input and predicted image signal Backward input 1
Average value for each sample (= Inter Polation)
Prediction) is calculated and output to the AE unit 506.

【0004】こうして、4つのAEが求められる。比較
器507はAE器503、504、505、506と接
続され、IP,FP,BP,IPPの中で最小のAEを
求め、該最小のAEに対応した予測モードを出力する。
Thus, four AEs are required. The comparator 507 is connected to the AE units 503, 504, 505, and 506, finds the minimum AE among IP, FP, BP, and IPP, and outputs a prediction mode corresponding to the minimum AE.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来技
術には以下に掲げる問題点があった。前述した従来の予
測モード決定回路では、DCT(Discrete C
osine Transform)係数に対しては最適
なモード選択が行われるが、この選択では、符号化対象
である動きベクトルの情報量がモード選択条件に変数と
して入っていないため、符号化情報全体に対して最適な
モード決定を行えないという問題点があった。つまり、
この各予測モードをすべて候補として扱うモード選択で
は、DCTの符号量は少なくなるように選択されるが、
動きベクトル情報の符号量が多くなる場合があり、従っ
て、符号化情報全体に対しては必ずしも最適な選択を行
なう保証は無い。
However, the prior art has the following problems. In the conventional prediction mode determination circuit described above, DCT (Discrete C
The optimal mode selection is performed on the “Osine Transform” coefficient. In this selection, since the information amount of the motion vector to be encoded is not included in the mode selection condition as a variable, the entire encoded information is There was a problem that the optimum mode could not be determined. That is,
In the mode selection in which all the prediction modes are treated as candidates, the code amount of DCT is selected so as to be small.
There is a case where the code amount of the motion vector information increases, and therefore, there is no guarantee that an optimal selection is made for the entire coded information.

【0006】本発明は斯かる問題点を鑑みてなされたも
のであり、その目的とするところは、FP(Forwa
rd予測のAE),BP(Backward予測のA
E),IPP(Inter Polation予測のA
E(Absolute Error))の値が大きくな
ると、動きベクトル情報が多くなる傾向にあるという特
徴を利用して、AE値がある閾値以上となる場合、符号
化対象となる動きベクトル数が最も多いI・P(Int
er・Polation)予測を選択対象から除き、モ
ード選択を行う事で符号情報全体に対して最適なモード
決定を行える構成を提供する点にある。
[0006] The present invention has been made in view of such a problem, and an object thereof is to provide an FP (Forwa).
RD prediction AE), BP (Backward prediction A
E), IPP (interpolation prediction A)
If the value of E (Absolute Error) increases, the motion vector information tends to increase. If the AE value is equal to or greater than a certain threshold, the number of motion vectors to be encoded is the largest.・ P (Int
It is an object of the present invention to provide a configuration in which an optimal mode can be determined for the entire code information by performing mode selection by excluding (er / Polation) prediction from selection targets.

【0007】[0007]

【課題を解決するための手段】本発明は上記課題を解決
すべく、以下に掲げる構成とした。請求項1記載の発明
の要旨は、差分絶対値和をもとに画像の予測モードを選
択する動き補償予測決定回路であって、Forward
予測の差分絶対値和(FP)を算出して出力するFP算
出手段と、Backward予測の差分絶対値和(B
P)を算出して出力するBP算出手段と、Inter
Polation予測の差分絶対値和(IPP)を算出
して出力するIPP算出手段と、前記Forward予
測の差分絶対値和(FP)と前記Backward予測
の差分絶対値和(BP)が入力され、入力された前記差
分絶対値和(FP、BP)のうち最小の差分絶対値和が
スレッショルドより大きい場合には、前記Inter
Polation予測の差分絶対値和(IPP)に対応
する予測モード(Inter Polation予測)
を、予測モード選択の対象から除外するモード選択制限
手段とを備えることを特徴とする動き補償予測決定回路
に存する。請求項2記載の発明の要旨は、前記モード選
択制限手段は、前記InterPolation予測の
差分絶対値和(IPP)が入力されることを特徴とする
請求項1記載の動き補償予測決定回路に存する。請求項
3記載の発明の要旨は、Intra予測の差分絶対値和
(IP)を算出して出力するIP算出手段を備えること
を特徴とする請求項1又は2に記載の動き補償予測決定
回路に存する。請求項4記載の発明の要旨は、前記In
tra予測の差分絶対値和(IP)と、前記Forwa
rd予測の差分絶対値和(FP)と、前記Backwa
rd予測の差分絶対値和(BP)と、前記Inter
Polation予測の差分絶対値和(IPP)のうち
最小の差分絶対値和に対応する予測モードを選択して出
力する第1モード選択手段を備えることを特徴とする請
求項1〜3のいずれかに記載の動き補償予測決定回路に
存する。請求項5記載の発明の要旨は、前記Intra
予測の差分絶対値和(IP)と、前記Forward予
測の差分絶対値和(FP)と、前記Backward予
測の差分絶対値和(BP)のうち最小の差分絶対値和に
対応する予測モードを選択して出力する第2モード選択
手段を備えることを特徴とする請求項1〜4のいずれか
に記載の動き補償予測決定回路に存する。請求項6記載
の発明の要旨は、前記モード選択制限手段は、入力され
た前記差分絶対値和のうち最小の差分絶対値和がスレッ
ショルドより大きい場合には、前記第2モード選択手段
の出力を選択することにより、前記Inter Pol
ation予測の差分絶対値和(IPP)に対応する予
測モード(Inter Polation予測)を、予
測モード選択の対象から除外することを特徴とする請求
項4または5に記載の動き補償予測決定回路に存する。
請求項7記載の発明の要旨は、前記モード選択制限手段
は、入力された前記差分絶対値和のうち最小の差分絶対
値和がスレッショルドより小さい場合には、前記第1モ
ード選択手段の出力を選択することを特徴とする請求項
6記載の動き補償予測決定回路に存する。請求項8記載
の発明の要旨は、前記モード選択制限手段は、入力され
た前記差分絶対値和のうち最小の差分絶対値和を選択
し、該最小の差分絶対値和とスレッショルドを比較し、
その結果を出力する比較手段と、前記比較手段の出力に
応じて、前記第1モード選択手段の出力と前記第2モー
ド選択手段の出力のうちいずれかを選択して出力するセ
レクタとを備えることを特徴とする請求項7記載の動き
補償予測決定回路に存する。請求項9記載の発明の要旨
は、前記モード選択制限手段は、論理回路により構成さ
れることを特徴とする請求項1〜8のいずれかに記載の
動き補償予測決定回路に存する。請求項10記載の発明
の要旨は、前記スレッショルドは、可変であることを特
徴とする請求項1〜9のいずれかに記載の動き補償予測
決定回路に存する。請求項11記載の発明の要旨は、請
求項1〜10のいずれかに記載の動き補償予測決定回路
を備えたコンピュータ基盤に存する。請求項12記載の
発明の要旨は、請求項1〜10のいずれかに記載の動き
補償予測決定回路を備えた画像処理装置に存する。請求
項13記載の発明の要旨は、差分絶対値和をもとに画像
予測モードを選択する動き補償予測決定方法であって、
Forward予測の差分絶対値和(FP)を算出し、
Backward予測の差分絶対値和(BP)を算出
し、Inter Polation予測の差分絶対値和
(IPP)を算出し、前記Forward予測の差分絶
対値和(FP)と前記Backward予測の差分絶対
値和(BP)のうち最小の差分絶対値和がスレッショル
ドより大きい場合には、前記Inter Polati
on予測の差分絶対値和(IPP)に対応する予測モー
ド(Inter Polation予測)を、予測モー
ド選択の対象から除外する動き補償予測決定方法に存す
る。請求項14記載の発明の要旨は、差分絶対値和をも
とに画像予測モードを選択する動き補償予測決定方法で
あって、Forward予測の差分絶対値和(FP)を
算出し、Backward予測の差分絶対値和(BP)
を算出し、Inter Polation予測の差分絶
対値和(IPP)を算出し、前記Forward予測の
差分絶対値和(FP)と前記Backward予測の差
分絶対値和(BP)とInter Polation予
測の差分絶対値和(IPP)のうち最小の差分絶対値和
がスレッショルドより大きい場合には、前記Inter
Polation予測の差分絶対値和(IPP)に対
応する予測モード(Inter Polation予
測)を、予測モード選択の対象から除外する動き補償予
測決定方法に存する。
Means for Solving the Problems In order to solve the above problems, the present invention has the following constitution. The gist of the present invention is a motion compensation prediction determination circuit for selecting a prediction mode of an image based on a sum of absolute differences,
FP calculating means for calculating and outputting the sum of absolute differences (FP) of the prediction, and the sum of absolute differences (B
BP calculating means for calculating and outputting P);
IPP calculating means for calculating and outputting the sum of absolute differences (IPP) in the Position prediction, and the sum of absolute differences (FP) in the forward prediction and the sum of absolute differences (BP) in the backward prediction are input and input. If the smallest sum of the absolute differences of the differences (FP, BP) is larger than the threshold,
Prediction mode corresponding to sum of absolute differences (IPP) of Position prediction (Inter Poll prediction)
And a mode selection restricting means for excluding from the target of the prediction mode selection. The gist of the present invention resides in the motion compensation prediction determining circuit according to claim 1, wherein the mode selection restricting means receives a sum of absolute differences (IPP) of the InterPollation prediction. The gist of the invention according to claim 3 is that the motion compensation prediction determination circuit according to claim 1 or 2, further comprising IP calculation means for calculating and outputting the sum of absolute differences (IP) of the intra prediction. Exist. The gist of the invention according to claim 4 is that the In
The sum of absolute differences (IP) of the tra prediction and the Forwa
rd prediction sum of absolute difference (FP) and the Backwa
The sum of absolute differences (BP) of rd prediction and the Inter
4. The method according to claim 1, further comprising a first mode selection unit that selects and outputs a prediction mode corresponding to a minimum sum of absolute differences between the IPPs of the Position prediction. In the motion compensation prediction determining circuit described above. The gist of the invention described in claim 5 is that the Intra
A prediction mode corresponding to the smallest sum of absolute differences of prediction (IP), the sum of absolute differences of forward prediction (FP), and the sum of absolute differences of backward prediction (BP) is selected. The motion compensation prediction determining circuit according to any one of claims 1 to 4, further comprising a second mode selecting means for outputting the result. The gist of the invention according to claim 6 is that, when the smallest sum of absolute differences among the input sums of absolute differences is larger than a threshold, the mode selection restricting means outputs the output of the second mode selecting means. By selecting, the Inter Pol
The motion compensation prediction determination circuit according to claim 4 or 5, wherein a prediction mode (Inter Pollation prediction) corresponding to the sum of absolute differences (IPP) of the prediction of the prediction is excluded from the target of the prediction mode selection. .
The gist of the invention according to claim 7 is that, when the smallest sum of absolute differences among the input sums of difference absolute values is smaller than a threshold, the mode selection restricting means outputs the output of the first mode selection means. 7. The motion compensation prediction determining circuit according to claim 6, wherein The gist of the invention according to claim 8 is that the mode selection restricting means selects a minimum sum of absolute differences among the input sums of absolute differences, and compares the minimum sum of absolute differences with a threshold.
Comparing means for outputting the result, and a selector for selecting and outputting one of the output of the first mode selecting means and the output of the second mode selecting means according to the output of the comparing means The motion compensation prediction determining circuit according to claim 7, wherein The gist of the present invention resides in a motion compensation prediction determining circuit according to any one of claims 1 to 8, wherein the mode selection restricting means is constituted by a logic circuit. According to a tenth aspect of the present invention, there is provided the motion compensation prediction determining circuit according to any one of the first to ninth aspects, wherein the threshold is variable. The gist of the present invention resides in a computer base including the motion compensation prediction determining circuit according to any one of claims 1 to 10. The gist of the present invention resides in an image processing apparatus provided with the motion compensation prediction determining circuit according to any one of claims 1 to 10. The gist of the invention according to claim 13 is a motion compensation prediction determination method for selecting an image prediction mode based on a sum of absolute differences,
Calculate the sum of absolute differences (FP) of the forward prediction,
The difference absolute value sum (BP) of the Backward prediction is calculated, the difference absolute value sum (IPP) of the Inter Position prediction is calculated, and the difference absolute value sum (FP) of the Forward prediction and the difference absolute value sum (FP) of the Backward prediction are calculated. BP), when the smallest sum of absolute differences is larger than the threshold, the Inter Polati
There is a motion compensation prediction determination method for excluding a prediction mode (Inter Position prediction) corresponding to the sum of absolute differences (IPP) of on prediction from selection of a prediction mode. The gist of the invention according to claim 14 is a motion compensation prediction determining method for selecting an image prediction mode based on a sum of absolute differences, wherein a sum of absolute differences (FP) of forward prediction is calculated, and Sum of absolute differences (BP)
Is calculated, and the sum of absolute differences (IPP) of the Inter Poll prediction is calculated, and the sum of absolute differences (FP) of the Forward prediction, the sum of the absolute differences of the Backward prediction (BP), and the difference absolute value of the Inter Poll prediction are calculated. If the smallest sum of absolute differences is greater than the threshold value of the sum (IPP),
There is a motion compensation prediction determination method for excluding a prediction mode (Inter Position prediction) corresponding to the sum of absolute differences (IPP) of the Position prediction from the target of the prediction mode selection.

【0008】[0008]

【発明の実施の形態】図1は、本発明の第1の実施の形
態に係る動き補償予測決定回路を表すブロック図であ
る。図1に示すように、第1の実施の形態に係る動き補
償予測決定回路は、設定されたスレッショルド値(スレ
ッショルドのレベルは、外部より調節が可能である)よ
りFP,BPの値が大きくなる場合、I・P予測が選択
対象から除かれ、残りの予測モードが比較器108に入
力され、比較器108で最小のAEが求められ、その最
小のAEに対応した予測モードが選択されることにより
画質の向上が可能となる。一方、設定されたスレッショ
ルド値よりFP,BPの値が小さい場合は、TM5の処
理を行う。
FIG. 1 is a block diagram showing a motion compensation prediction determining circuit according to a first embodiment of the present invention. As shown in FIG. 1, in the motion compensation prediction determining circuit according to the first embodiment, the values of FP and BP are larger than a set threshold value (the threshold level can be adjusted from the outside). In this case, the IP prediction is removed from the selection targets, the remaining prediction modes are input to the comparator 108, the minimum AE is obtained by the comparator 108, and the prediction mode corresponding to the minimum AE is selected. Thereby, the image quality can be improved. On the other hand, when the values of FP and BP are smaller than the set threshold values, the processing of TM5 is performed.

【0009】以下、本発明の第1の実施の形態を図面に
基づいて詳細に説明する。
Hereinafter, a first embodiment of the present invention will be described in detail with reference to the drawings.

【0010】図1を参照されたい。まず、AEの算出ま
でを説明する。MB平均101は、予測画像信号Int
ra入力のマクロブロック(256サンプル)平均を出
力する。AE器103は、MB平均101と接続され、
予測画像信号IntraからIntraのマクロブロッ
ク平均を減算し、絶対値計算をし、マクロブロック単位
で累積し、IP(Intra予測のAE)を出力する。
FP(Forward予測のAE)、BP(Backw
ard予測のAE)、IPP(Inter Polat
ion予測のAE)についても同様な構成となってい
る。(F+B)/2器102には、予測画像信号For
ward入力と予測画像信号Backward入力の1
サンプル毎の平均値(=Inter Polation
予測)を計算し、AE器106へ出力する。
Please refer to FIG. First, the process up to the calculation of the AE will be described. MB average 101 is equal to predicted image signal Int.
The average of the macroblock (256 samples) of the ra input is output. The AE device 103 is connected to the MB average 101,
The Intra macroblock average is subtracted from the predicted image signal Intra, the absolute value is calculated, the result is accumulated for each macroblock, and IP (AE of Intra prediction) is output.
FP (Forward prediction AE), BP (Backw
AE) and IPP (Inter Polat)
AE of ion prediction has the same configuration. The (F + B) / 2 unit 102 has a predicted image signal For
Ward input and predicted image signal Backward input 1
Average value for each sample (= Inter Polation)
Prediction) is calculated and output to the AE unit 106.

【0011】こうして、4つのAEが求められる。比較
器107はAE器103、104、105、106と接
続され、IP,FP,BP,IPPの中で最小のAEを
求め、該最小のAEに対応した予測モードを出力する。
比較器108はAE器103、104、105と接続さ
れ、IP,FP,BPの中で最小のAEを求め、該最小
のAEに対応した予測モードを出力する。MIN器10
9はAE器104、105と接続され、スレッショルド
が基準値として外部より入力される。MIN器109
は、FP,BPが共にスレッショルドより大きい場合
は、比較器108出力を選択する制御信号SELを出力
する。しかし、FP,BPが共にスレッショルドより小
さい場合は、比較器107出力を選択する制御信号SE
Lを出力する。セレクタ110は比較器107,108
に接続され、MIN器109から出力された制御信号S
ELに従って比較器107,108から与えられた予測
モードのいずれかを出力する。
Thus, four AEs are obtained. The comparator 107 is connected to the AE units 103, 104, 105, and 106, finds the minimum AE among IP, FP, BP, and IPP, and outputs a prediction mode corresponding to the minimum AE.
The comparator 108 is connected to the AE units 103, 104, and 105, finds the smallest AE among IP, FP, and BP, and outputs a prediction mode corresponding to the smallest AE. MIN device 10
Reference numeral 9 is connected to the AE devices 104 and 105, and the threshold is externally input as a reference value. MIN device 109
Outputs a control signal SEL for selecting the output of the comparator 108 when both FP and BP are larger than the threshold. However, when FP and BP are both smaller than the threshold, the control signal SE for selecting the output of the comparator 107 is set.
L is output. The selector 110 includes comparators 107 and 108
And the control signal S output from the MIN unit 109
Either of the prediction modes given from the comparators 107 and 108 is output according to EL.

【0012】図2は、図1に示したMIN器109の構
成を示すブロック図である。図2において、MIN器1
09は比較器201、比較器202から構成されてい
る。比較器201にはFPとBPが入力され、比較器2
01はこの2つの入力値を比較し、値の小さい方を出力
する。比較器202は比較器201と接続され、スレッ
ショルドに設定された値と比較器201から出力された
値との比較を行ない、スレッショルド値よりも比較器2
01から与えられた値が大きい場合、比較器108(図
1)の出力を選択する制御信号SELを出力し、スレッ
ショルド値よりも比較器201から与えられた値が小さ
い場合、比較器107(図1)の出力を選択する制御信
号SELを出力する。次に、図1に示した動き補償予測
決定回路の動作について、図を参照して説明する。予測
決定ブロックは、マクロブロック(256サンプル)を
処理単位にしているものとして説明する。まず、IP、
FP、BP、IPPの算出までを説明する。
FIG. 2 is a block diagram showing the configuration of the MIN unit 109 shown in FIG. In FIG. 2, the MIN device 1
Reference numeral 09 includes a comparator 201 and a comparator 202. FP and BP are input to the comparator 201 and the comparator 2
01 compares these two input values and outputs the smaller one. The comparator 202 is connected to the comparator 201, compares the value set in the threshold with the value output from the comparator 201, and compares the threshold value with the value of the comparator 2
When the value given from the comparator 201 is large, the control signal SEL for selecting the output of the comparator 108 (FIG. 1) is output. When the value given from the comparator 201 is smaller than the threshold value, the comparator 107 (FIG. The control signal SEL for selecting the output of 1) is output. Next, the operation of the motion compensation prediction determination circuit shown in FIG. 1 will be described with reference to the drawings. The prediction determination block will be described assuming that a macroblock (256 samples) is used as a processing unit. First, IP,
The process up to the calculation of FP, BP, and IPP will be described.

【0013】図1に示した動き補償予測決定回路には、
Intra、Forward、Backward、Fo
rwardとBackwardの1サンプル毎の平均値
が予測候補として入力される。ここで、IPの求め方に
ついてのみ説明するが、FP、BP、IPP、について
も同様である。まず、Intraと、MB平均101に
より求められたIntraのマクロブロックの平均値
が、AE器103に与えられ差分絶対値和(=Intr
a予測のAE)IPが求められる。同様にして合計4つ
の候補のAE値、IP、FP、BP、IPPを求める。
ただし、AE器内部の減算処理についてはIPのみがM
B平均との減算を行なうが、その他はIntraと減算
処理を行なうことが異なる。
The motion compensation prediction decision circuit shown in FIG.
Intra, Forward, Backward, Fo
The average value of rward and Backward for each sample is input as a prediction candidate. Here, only the method of obtaining the IP will be described, but the same applies to FP, BP, and IPP. First, the Intra and the average value of the Intra macroblock obtained by the MB average 101 are given to the AE unit 103, and the sum of absolute differences (= Intr
AE) IP of a prediction is calculated. Similarly, AE values, IP, FP, BP, and IPP of a total of four candidates are obtained.
However, regarding the subtraction processing inside the AE unit, only IP is M
The difference is that the subtraction with the B average is performed, but the subtraction process is performed with the Intra in other respects.

【0014】図3を参照されたい。図3は、図1に示し
た動き補償予測決定回路のタイミングチャートである。
前述のようにAE器103、104,105,106に
より求められた4つの候補のAE値IP,FP,BP,
IPPが比較器107、108、MIN器109にそれ
ぞれ入力される。この瞬間においては、スレッショルド
は固定値になっているものとする。
Please refer to FIG. FIG. 3 is a timing chart of the motion compensation prediction determination circuit shown in FIG.
As described above, the AE values of the four candidates obtained by the AE units 103, 104, 105, and 106 are IP, FP, BP,
The IPP is input to the comparators 107 and 108 and the MIN unit 109, respectively. At this moment, the threshold is assumed to be a fixed value.

【0015】図3のタイミングチャートの前半では、F
P,BP共に、スレッショルド値よりも小さいので、M
IN器109は比較器107を選択する制御信号をセレ
クタ110に与え、セレクタ110からはTM5と同様
にAEが最小となっているInter Polatio
n予測がModeとして出力されている。しかし、後半
では、FP,BP共に、スレッショルド値よりも大きい
ので、IPPが最小にも関わらず、MIN器109は比
較器108を選択する制御信号を比較器110に与え、
IPPを除いた最小のFPつまりForward予測が
比較器110からModeとして選択されている。
In the first half of the timing chart of FIG.
Since both P and BP are smaller than the threshold value, M
The IN unit 109 supplies a control signal for selecting the comparator 107 to the selector 110, and the selector 110 outputs an Inter Patio having the minimum AE similarly to the TM5.
The n prediction is output as Mode. However, in the latter half, since both FP and BP are larger than the threshold value, the MIN unit 109 supplies a control signal for selecting the comparator 108 to the comparator 110 irrespective of the minimum IPP.
The smallest FP excluding the IPP, that is, the forward prediction, is selected as the mode from the comparator 110.

【0016】尚、スレッショルドは1080I、720
Pなどの画像フォーマットなどさまざまな条件に対応す
るため、この補正を行なうためのパラメータとしてMI
N器109に入力されるものである。
Note that the threshold is 1080I, 720
To cope with various conditions such as an image format such as P, MI
This is input to the N unit 109.

【0017】次に、本発明の第2の実施の形態について
図面を参照して詳細に説明する。図4に本発明の第2の
実施の形態の動き補償予測決定回路を示す。図4を参照
し、図1に示した本発明の第1の実施の形態と図4に示
した本発明の第2の実施の形態との異なる項目のみ説明
する。
Next, a second embodiment of the present invention will be described in detail with reference to the drawings. FIG. 4 shows a motion compensation prediction determining circuit according to the second embodiment of the present invention. Referring to FIG. 4, only items different from the first embodiment of the present invention shown in FIG. 1 and the second embodiment of the present invention shown in FIG. 4 will be described.

【0018】まず、AEの算出までは、IP(Intr
a予測のAE)、FP(Forward予測のAE)、
BP(Backward予測のAE)、IPP(Int
erPolation予測のAE)を図1に示した本発
明の第1の実施の形態と同様に出力する。そして、MI
N器409には、図1に示した本発明の第1の実施の形
態と比較すると、AE器404,405からの出力に加
えAE器406からの出力が新たに接続される。
First, until the calculation of the AE, the IP (Intr
a AE for prediction), FP (AE for forward prediction),
BP (backward prediction AE), IPP (Int
ERPolation prediction AE) is output in the same manner as in the first embodiment of the present invention shown in FIG. And MI
Compared to the first embodiment of the present invention shown in FIG. 1, the output from the AE unit 406 is newly connected to the N unit 409 in addition to the outputs from the AE units 404 and 405.

【0019】図5は、図4に示したMIN1器409の
構成を示すブロック図である。図5において、MIN器
409は比較器301、比較器302、比較器303か
ら構成されている。比較器301にはFPとBPが入力
され、比較器301は2つの入力値を比較し、値の小さ
い方を出力する。比較器302には比較器301の出力
とIPPが入力され、比較器302は2つの入力値を比
較し、値の小さい方を出力する。比較器303は比較器
302と接続され、スレッショルドに設定された値と比
較器302から出力された値との比較を行ない、スレッ
ショルド値よりも比較器302から与えられた値が大き
い場合、比較器408(図4)の出力を選択する制御信
号SELを出力し、スレッショルド値よりも比較器30
1から与えられた値が小さい場合、比較器407(図
4)の出力を選択する制御信号SELを出力する。これ
により、IPPが大きい場合もI・P予測が選択されな
いようになるという新たな効果を有する。
FIG. 5 is a block diagram showing a configuration of the MIN1 unit 409 shown in FIG. In FIG. 5, the MIN unit 409 includes a comparator 301, a comparator 302, and a comparator 303. FP and BP are input to the comparator 301, and the comparator 301 compares the two input values and outputs the smaller one. The output of the comparator 301 and the IPP are input to the comparator 302. The comparator 302 compares the two input values and outputs the smaller one. The comparator 303 is connected to the comparator 302 and compares the value set in the threshold with the value output from the comparator 302. When the value given from the comparator 302 is larger than the threshold value, the comparator 303 408 (FIG. 4), and outputs a control signal SEL to select the output of the comparator 30 from the threshold value.
When the value given from 1 is small, the control signal SEL for selecting the output of the comparator 407 (FIG. 4) is output. This has a new effect that the IP prediction is not selected even when the IPP is large.

【0020】これら実施の形態に係る動き補償予測決定
回路は上記の如く構成されているので、以下に掲げる効
果を奏する。
Since the motion compensation prediction determining circuit according to these embodiments is configured as described above, the following effects can be obtained.

【0021】FP,BP(第2の実施の形態においては
さらにIPP)の値がスレッショルドより大きい場合に
は、動きベクトル情報の符号量の多い予測モードIPP
をモード選択の対象から除外することにより、DCT係
数だけでなく、動きベクトル情報においても最適なモー
ド選択が可能となる。
When the values of FP and BP (and IPP in the second embodiment) are larger than the threshold, the prediction mode IPP having a large code amount of the motion vector information is used.
Is excluded from the targets of mode selection, it is possible to select an optimal mode not only in DCT coefficients but also in motion vector information.

【0022】なお、本実施の形態においては、本発明は
それに限定されず、本発明を適用する上で好適な形態に
適用することができる。
In the present embodiment, the present invention is not limited to this, and can be applied to a mode suitable for applying the present invention.

【0023】また、上記構成部材の数、位置、形状等は
上記実施の形態に限定されず、本発明を実施する上で好
適な数、位置、形状等にすることができる。
Further, the number, position, shape, etc. of the above-mentioned constituent members are not limited to the above-mentioned embodiment, but can be set to a suitable number, position, shape, etc. for carrying out the present invention.

【0024】なお、各図において、同一構成要素には同
一符号を付している。
In each of the drawings, the same components are denoted by the same reference numerals.

【0025】[0025]

【発明の効果】本発明は以上のように構成されているの
で、以下に掲げる効果を奏する。TM5の動き補償予測
決定方式に加え、AEの値が大きい場合にI・P(In
ter Polation)予測モードを選択しない事
で符号情報全体に対して最適なモード決定を行うことが
可能となる。その理由は、AEの値が大きい場合には、
動きベクトルの情報量が多いという傾向があるので、扱
う動きベクトルの数が多いI・P予測モード信号をモー
ドを選択対象から除くという回路を備えたためである。
Since the present invention is configured as described above, the following effects can be obtained. In addition to the motion compensation prediction determination method of TM5, when the value of AE is large, IP (In)
By not selecting a prediction mode, it is possible to determine an optimal mode for the entire code information. The reason is that if the value of AE is large,
This is because there is a circuit that excludes the I / P prediction mode signal, which has a large number of motion vectors to be handled, from the selection target because the information amount of the motion vector tends to be large.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施の形態に係る動き補償予測
決定回路を表すブロック図である。
FIG. 1 is a block diagram illustrating a motion compensation prediction determination circuit according to a first embodiment of the present invention.

【図2】図1に示したMIN器109の構成を示すブロ
ック図である。
FIG. 2 is a block diagram showing a configuration of a MIN unit 109 shown in FIG.

【図3】図1に示した動き補償予測決定回路のタイミン
グチャートである。
FIG. 3 is a timing chart of the motion compensation prediction determination circuit shown in FIG.

【図4】本発明の第2の実施の形態の動き補償予測決定
回路を表すブロック図である。
FIG. 4 is a block diagram illustrating a motion compensation prediction determination circuit according to a second embodiment of this invention.

【図5】図4に示したMIN器409の構成を示すブロ
ック図である。
FIG. 5 is a block diagram showing a configuration of a MIN unit 409 shown in FIG.

【図6】従来の動き補償を行う電気回路を表すブロック
図である。
FIG. 6 is a block diagram showing a conventional electric circuit for performing motion compensation.

【符号の説明】[Explanation of symbols]

101 MB平均 102 (F+B)/2器 103,104,105,106 AE器 107,108 比較器 109 MIN器 110 セレクタ 201,202 比較器 301,302,303 比較器 401 MB平均 402 (F+B)/2器 403,404,405,406 AE器 407,408 比較器 409 MIN器 410 セレクタ 501 MB平均 502 (F+B)/2器 503,504,505,506 AE器 507 比較器 101 MB average 102 (F + B) / 2 unit 103, 104, 105, 106 AE unit 107, 108 Comparator 109 MIN unit 110 Selector 201, 202 Comparator 301, 302, 303 Comparator 401 MB average 402 (F + B) / 2 403, 404, 405, 406 AE unit 407, 408 Comparator 409 MIN unit 410 Selector 501 MB average 502 (F + B) / 2 unit 503, 504, 505, 506 AE unit 507 Comparator

Claims (14)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 差分絶対値和をもとに画像の予測モード
を選択する動き補償予測決定回路であって、 Forward予測の差分絶対値和(FP)を算出して
出力するFP算出手段と、 Backward予測の差分絶対値和(BP)を算出し
て出力するBP算出手段と、 Inter Polation予測の差分絶対値和(I
PP)を算出して出力するIPP算出手段と、 前記Forward予測の差分絶対値和(FP)と前記
Backward予測の差分絶対値和(BP)が入力さ
れ、入力された前記差分絶対値和(FP、BP)のうち
最小の差分絶対値和がスレッショルドより大きい場合に
は、前記Inter Polation予測の差分絶対
値和(IPP)に対応する予測モード(Inter P
olation予測)を、予測モード選択の対象から除
外するモード選択制限手段とを備えることを特徴とする
動き補償予測決定回路。
1. A motion compensation prediction determining circuit for selecting a prediction mode of an image based on a sum of absolute differences, FP calculating means for calculating and outputting a sum of absolute differences (FP) of Forward prediction, BP calculating means for calculating and outputting the sum of absolute differences (BP) of Backward prediction, and the sum of absolute differences (I
IPP calculating means for calculating and outputting the sum of absolute differences (FP) of the forward prediction and the sum of absolute differences (BP) of the backward prediction, and inputting the sum of absolute differences (FP) , BP) is larger than the threshold, the prediction mode (Inter P) corresponding to the sum of absolute differences (IPP) of the Inter Poll prediction.
motion prediction prediction determination circuit, comprising: a mode selection restricting unit that excludes the prediction prediction from the prediction mode selection.
【請求項2】 前記モード選択制限手段は、前記Int
er Polation予測の差分絶対値和(IPP)
が入力されることを特徴とする請求項1記載の動き補償
予測決定回路。
2. The method according to claim 1, wherein the mode selection restricting means includes:
sum of absolute difference (IPP) of er Position prediction
2. The motion compensation prediction determining circuit according to claim 1, wherein the following is input.
【請求項3】 Intra予測の差分絶対値和(IP)
を算出して出力するIP算出手段を備えることを特徴と
する請求項1又は2に記載の動き補償予測決定回路。
3. Intra prediction sum of absolute differences (IP)
The motion compensation prediction determination circuit according to claim 1, further comprising an IP calculation unit that calculates and outputs the calculation result.
【請求項4】 前記Intra予測の差分絶対値和(I
P)と、前記Forward予測の差分絶対値和(F
P)と、前記Backward予測の差分絶対値和(B
P)と、前記Inter Polation予測の差分
絶対値和(IPP)のうち最小の差分絶対値和に対応す
る予測モードを選択して出力する第1モード選択手段を
備えることを特徴とする請求項1〜3のいずれかに記載
の動き補償予測決定回路。
4. The sum of absolute differences (I
P) and the sum of absolute differences (F
P) and the sum of absolute differences (B
P) and a first mode selecting means for selecting and outputting a prediction mode corresponding to a minimum sum of absolute differences (IPP) of the Inter Position prediction. 4. The motion compensation prediction determination circuit according to any one of claims 1 to 3.
【請求項5】 前記Intra予測の差分絶対値和(I
P)と、前記Forward予測の差分絶対値和(F
P)と、前記Backward予測の差分絶対値和(B
P)のうち最小の差分絶対値和に対応する予測モードを
選択して出力する第2モード選択手段を備えることを特
徴とする請求項1〜4のいずれかに記載の動き補償予測
決定回路。
5. The sum of absolute differences (I
P) and the sum of absolute differences (F
P) and the sum of absolute differences (B
The motion compensation prediction determination circuit according to any one of claims 1 to 4, further comprising a second mode selection means for selecting and outputting a prediction mode corresponding to the smallest sum of absolute differences among P).
【請求項6】 前記モード選択制限手段は、入力された
前記差分絶対値和のうち最小の差分絶対値和がスレッシ
ョルドより大きい場合には、前記第2モード選択手段の
出力を選択することにより、前記Inter Pola
tion予測の差分絶対値和(IPP)に対応する予測
モード(Inter Polation予測)を、予測
モード選択の対象から除外することを特徴とする請求項
4または5に記載の動き補償予測決定回路。
6. The mode selection limiting means selects an output of the second mode selection means when a minimum sum of absolute differences among the input sums of absolute differences is larger than a threshold. The Inter Pola
The motion compensation prediction determination circuit according to claim 4, wherein a prediction mode (Inter Position prediction) corresponding to a sum of absolute differences (IPP) of the tion prediction is excluded from prediction mode selection targets.
【請求項7】 前記モード選択制限手段は、入力された
前記差分絶対値和のうち最小の差分絶対値和がスレッシ
ョルドより小さい場合には、前記第1モード選択手段の
出力を選択することを特徴とする請求項6記載の動き補
償予測決定回路。
7. The mode selection restricting means selects an output of the first mode selecting means when a minimum difference absolute value sum of the input difference absolute value sums is smaller than a threshold. The motion compensation prediction determination circuit according to claim 6, wherein
【請求項8】 前記モード選択制限手段は、 入力された前記差分絶対値和のうち最小の差分絶対値和
を選択し、該最小の差分絶対値和とスレッショルドを比
較し、その結果を出力する比較手段と、 前記比較手段の出力に応じて、前記第1モード選択手段
の出力と前記第2モード選択手段の出力のうちいずれか
を選択して出力するセレクタとを備えることを特徴とす
る請求項7記載の動き補償予測決定回路。
8. The mode selection restricting means selects a minimum sum of absolute differences among the input sums of absolute differences, compares the minimum sum of absolute differences with a threshold, and outputs the result. And a selector for selecting and outputting one of an output of the first mode selecting means and an output of the second mode selecting means in accordance with an output of the comparing means. Item 7. The motion compensation prediction determination circuit according to Item 7.
【請求項9】 前記モード選択制限手段は、論理回路に
より構成されることを特徴とする請求項1〜8のいずれ
かに記載の動き補償予測決定回路。
9. The motion compensation prediction determining circuit according to claim 1, wherein said mode selection restricting means is constituted by a logic circuit.
【請求項10】 前記スレッショルドは、可変であるこ
とを特徴とする請求項1〜9のいずれかに記載の動き補
償予測決定回路。
10. The motion compensation prediction determination circuit according to claim 1, wherein the threshold is variable.
【請求項11】 請求項1〜10のいずれかに記載の動
き補償予測決定回路を備えたコンピュータ基盤。
11. A computer base comprising the motion compensation prediction determining circuit according to claim 1.
【請求項12】 請求項1〜10のいずれかに記載の動
き補償予測決定回路を備えた画像処理装置。
12. An image processing apparatus comprising the motion compensation prediction determination circuit according to claim 1.
【請求項13】 差分絶対値和をもとに画像予測モード
を選択する動き補償予測決定方法であって、 Forward予測の差分絶対値和(FP)を算出し、
Backward予測の差分絶対値和(BP)を算出
し、Inter Polation予測の差分絶対値和
(IPP)を算出し、 前記Forward予測の差分絶対値和(FP)と前記
Backward予測の差分絶対値和(BP)のうち最
小の差分絶対値和がスレッショルドより大きい場合に
は、前記Inter Polation予測の差分絶対
値和(IPP)に対応する予測モード(Inter P
olation予測)を、予測モード選択の対象から除
外する動き補償予測決定方法。
13. A motion compensation prediction determining method for selecting an image prediction mode based on a sum of absolute differences, comprising: calculating a sum of absolute differences (FP) of forward prediction;
The difference absolute value sum (BP) of the Backward prediction is calculated, the difference absolute value sum (IPP) of the Inter Position prediction is calculated, and the difference absolute value sum (FP) of the forward prediction and the difference absolute value sum ( BP), the smallest difference absolute value sum is larger than the threshold, the prediction mode (Inter P) corresponding to the difference absolute value sum (IPP) of the Inter Position prediction.
motion prediction), which excludes the prediction from the prediction mode selection.
【請求項14】 差分絶対値和をもとに画像予測モード
を選択する動き補償予測決定方法であって、 Forward予測の差分絶対値和(FP)を算出し、
Backward予測の差分絶対値和(BP)を算出
し、Inter Polation予測の差分絶対値和
(IPP)を算出し、 前記Forward予測の差分絶対値和(FP)と前記
Backward予測の差分絶対値和(BP)とInt
er Polation予測の差分絶対値和(IPP)
のうち最小の差分絶対値和がスレッショルドより大きい
場合には、前記Inter Polation予測の差
分絶対値和(IPP)に対応する予測モード(Inte
r Polation予測)を、予測モード選択の対象
から除外する動き補償予測決定方法。
14. A motion compensation prediction determining method for selecting an image prediction mode based on a difference absolute value sum, comprising: calculating a difference absolute value sum (FP) of forward prediction;
The difference absolute value sum (BP) of the Backward prediction is calculated, the difference absolute value sum (IPP) of the Inter Position prediction is calculated, and the difference absolute value sum (FP) of the forward prediction and the difference absolute value sum ( BP) and Int
sum of absolute difference (IPP) of er Position prediction
If the smallest sum of absolute differences is larger than the threshold, the prediction mode (Intele) corresponding to the sum of absolute differences (IPP) of the Inter Position prediction is calculated.
r Position prediction) from the prediction mode selection.
JP6720999A 1999-03-12 1999-03-12 Motion compensation prediction decision circuit Expired - Fee Related JP3324548B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6720999A JP3324548B2 (en) 1999-03-12 1999-03-12 Motion compensation prediction decision circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6720999A JP3324548B2 (en) 1999-03-12 1999-03-12 Motion compensation prediction decision circuit

Publications (2)

Publication Number Publication Date
JP2000270327A JP2000270327A (en) 2000-09-29
JP3324548B2 true JP3324548B2 (en) 2002-09-17

Family

ID=13338302

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6720999A Expired - Fee Related JP3324548B2 (en) 1999-03-12 1999-03-12 Motion compensation prediction decision circuit

Country Status (1)

Country Link
JP (1) JP3324548B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100713400B1 (en) 2004-04-30 2007-05-04 삼성전자주식회사 H.263/mpeg video encoder for controlling using average histogram difference formula and its control method
KR100692600B1 (en) 2005-02-22 2007-03-13 삼성전자주식회사 Apparatus and method for estimating motion

Also Published As

Publication number Publication date
JP2000270327A (en) 2000-09-29

Similar Documents

Publication Publication Date Title
US8204114B2 (en) Direction detection algorithms for H.264/AVC intra prediction
US20060045186A1 (en) Apparatus and method for coding moving picture
US7023921B2 (en) Method and apparatus for determining block match quality
US8040948B2 (en) Method and system for coding moving image signals, corresponding computer program product
US9560368B2 (en) Moving picture decoding method and moving picture encoding method
JP4224473B2 (en) Motion prediction method by adaptive mode decision
JP4987080B2 (en) Video encoding apparatus and method, video encoding program, and recording medium recording the program
JP2002532026A (en) Improvement of motion estimation and block matching pattern
US20060282237A1 (en) Fixed point integer division techniques for AC/DC prediction in video coding devices
TW200934222A (en) Method and integrated circuit for video processing
JPH11289544A (en) Motion detector and its method
JP2006270435A (en) Dynamic image encoder
JP3324548B2 (en) Motion compensation prediction decision circuit
JP3355964B2 (en) Adaptive orthogonal transform mode determination method
JP2009055143A (en) Motion evaluation device, method, and program when encoding animation, and recording medium of program
JP2000106675A (en) Video coding method, video coder and motion vector detector
JP4490353B2 (en) Quantization distortion estimation method, quantization distortion estimation apparatus, quantization distortion estimation program, and recording medium thereof
US6931066B2 (en) Motion vector selection based on a preferred point
JP2017050744A (en) Image encoding apparatus, image encoding method and program
JP3473750B2 (en) High-speed motion search device
KR0180171B1 (en) Block motion estimation method
JP3941900B2 (en) Motion vector detection device
JPH11243546A (en) Image coder and method
JP2005328383A (en) Dynamic image encoding device and program
JPH10191347A (en) Motion detector, motion detecting method and storage medium

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070705

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080705

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090705

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100705

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110705

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110705

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120705

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees