JP3057966B2 - Motion compensation prediction device for interlaced video - Google Patents
Motion compensation prediction device for interlaced videoInfo
- Publication number
- JP3057966B2 JP3057966B2 JP19165393A JP19165393A JP3057966B2 JP 3057966 B2 JP3057966 B2 JP 3057966B2 JP 19165393 A JP19165393 A JP 19165393A JP 19165393 A JP19165393 A JP 19165393A JP 3057966 B2 JP3057966 B2 JP 3057966B2
- Authority
- JP
- Japan
- Prior art keywords
- motion
- prediction
- prediction error
- vector
- motion compensation
- 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
Links
- 239000013598 vector Substances 0.000 claims description 100
- 238000001514 detection method Methods 0.000 claims description 24
- 238000000034 method Methods 0.000 claims description 6
- 238000007781 pre-processing Methods 0.000 claims description 4
- 238000013139 quantization Methods 0.000 claims description 4
- 230000001186 cumulative effect Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 6
- 230000007423 decrease Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Color Television Systems (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Image Analysis (AREA)
Description
【0001】[0001]
【発明の属する技術分野】本発明は、インタレース動画
像の符号化における動き補償予測装置に関する。[0001] 1. Field of the Invention [0002] The present invention relates to a motion compensation prediction apparatus for coding an interlaced moving image.
【0002】[0002]
【従来の技術】テレビ会議等の動画像通信やCD−RO
M等への動画像蓄積を目的とした動画像の高能率符号化
方式においてはフレームもしくはフィールドの画面で、
各画面を例えば16画素×16ラインのブロックに分割
して面内符号化、又は動き補償による参照画面と現画面
の差分を符号化する面間符号化を用いて高能率符号化を
行っている。2. Description of the Related Art Moving picture communication such as a video conference and CD-RO
In a high-efficiency video coding scheme for storing video in M or the like, a frame or field screen is used.
Each screen is divided into blocks of, for example, 16 pixels × 16 lines, and high-efficiency coding is performed using intra-frame coding or inter-plane coding for coding a difference between a reference screen and a current screen by motion compensation. .
【0003】図4に一般的な符号化装置の構成を示す。
ここで、41は減算器であり、入力画面X1と予測画面
X2の差分を求めて予測誤差画面X3を生ずる。42は
離散コサイン変換(DCT)やベクトル量子化器等の符
号化器、43は量子化器、44は逆量子化器、45は逆
離散コサイン変換(IDCT)や逆ベクトル量子化器等
の復号器、46は加算器で復号器によって復元された予
測誤差画面X5と予測画面X2を加算して局部復号画面
X6を発生する。予測画面についてはフレームメモリ4
7に格納された参照画面に対する入力画面の動き量を動
き検出部48で求め、得られた動き量に対する参照画面
を動き補償器49で作成し、予測画面として用いる。量
子化器43の出力は50の可変長符号化器で符号化さ
れ、51の多重化器で48の動き検出部で得られた動き
ベクトル等のデータと共に多重化され、符号化情報CI
として出力される。FIG. 4 shows a configuration of a general encoding apparatus.
Here, reference numeral 41 denotes a subtractor, which obtains a difference between the input screen X1 and the prediction screen X2 to generate a prediction error screen X3. 42 is an encoder such as a discrete cosine transform (DCT) or a vector quantizer, 43 is a quantizer, 44 is an inverse quantizer, and 45 is a decoding such as an inverse discrete cosine transform (IDCT) or an inverse vector quantizer. The adder 46 is an adder that adds the prediction error screen X5 and the prediction screen X2 restored by the decoder to generate a local decoding screen X6. Frame memory 4 for prediction screen
The motion detector 48 calculates the amount of motion of the input screen with respect to the reference screen stored in 7, and creates a reference screen for the obtained amount of motion with the motion compensator 49 and uses it as a prediction screen. The output of the quantizer 43 is encoded by 50 variable length encoders, multiplexed by 51 multiplexers together with data such as motion vectors obtained by 48 motion detectors, and encoded information CI
Is output as
【0004】図3は動き検出部を示したものである。こ
の動き検出では21の1ベクトル動き検出による予測誤
差信号E1、22の2ベクトル動き検出による予測誤差
信号E2,…,2nのnベクトル動き検出による予測誤
差信号Enとを12の比較器で比較して、誤差信号が小
さい方の動き検出を13の選択器で選択して動き補償を
行い符号化効率の向上を図っている。FIG. 3 shows a motion detecting section. In this motion detection, twelve comparators are used to compare 21 prediction error signals E1 based on one-vector motion detection, 22 prediction error signals E2,..., 2n based on n-vector motion detection with two comparators. Thus, the motion detection with the smaller error signal is selected by the 13 selectors to perform motion compensation to improve the coding efficiency.
【0005】[0005]
【発明が解決しようとする課題】上述した符号化装置で
は、フレーム画面やフィールド画面によるインタレース
画面に対して動き検出を行い、予測誤差結果にもとづい
て適応的に予測方式を選択して動き補償を行っている。
この場合、 (1)nベクトル動き検出(n=2,3,4,…)の場
合は1ベクトル動き検出の場合に比べn倍の動きベクト
ル個数が必要になる。従って、両者ともに予測誤差があ
まり大きくなくいずれの場合を用いても予測効率の差が
小さい場合でも、nベクトル動き検出の場合の予測誤差
の方が小さい場合には、nベクトル動き補償が選択され
るため、結果的に送出する動きベクトル量が多くなり、
符号化効率が低下する。 (2)予測誤差が大きい場合でも、1ベクトル動き検出
の場合とnベクトル動き検出の場合であまり差がない場
合、nベクトル動き検出の場合の予測誤差のほうがやや
小さい場合には、nベクトル動き検出が選択されるた
め、送出する動きベクトル量が多くなり、符号化効率が
低下する。In the above-described coding apparatus, motion detection is performed on an interlaced picture composed of a frame picture and a field picture, and a prediction method is adaptively selected on the basis of a prediction error result. It is carried out.
In this case, (1) In the case of n-vector motion detection (n = 2, 3, 4,...), N times as many motion vectors are required as in the case of one-vector motion detection. Therefore, even when the prediction error is small and the difference between the prediction efficiencies is small even if either case is used, if the prediction error in the case of n-vector motion detection is smaller, n-vector motion compensation is selected. As a result, the amount of motion vectors to be transmitted increases,
The coding efficiency decreases. (2) Even when the prediction error is large, if there is not much difference between the case of 1-vector motion detection and the case of n-vector motion detection, and if the prediction error in the case of n-vector motion detection is slightly smaller, Since detection is selected, the amount of motion vectors to be transmitted increases, and the coding efficiency decreases.
【0006】よって本発明の目的は上述従来方式の欠点
である動きベクトル量の不必要な増加による符号化効率
の低下を改善することにある。SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to improve the disadvantage of the above-mentioned conventional system, that is, the decrease in the coding efficiency due to the unnecessary increase of the motion vector amount.
【0007】[0007]
【課題を解決するための手段】本発明によれば、入力画
面及び参照画面を用いブロック単位でブロックの動きベ
クトルの予測とこの予測に対する誤差により動き補償を
行うインタレース動画像の動き補償予測装置において、
ブロックに対し参照画面を用いて、互いに異なる数の動
きベクトルをそれぞれ出力すると共に予測誤差信号を出
力する複数個の動き検出手段と、各動き検出手段から出
力された予測誤差信号の予測誤差値に、動きベクトルの
数、累積符号量、量子化係数及び予測画像の種類のうち
の少なくとも一つを含む符号化情報に応じて決定される
ハンディ値を付加する前処理手段と、前処理手段から出
力された各予測誤差値を比較し、最小の予測誤差値を示
す選択フラグ及び最小の予測誤差値を出力した動き検出
手段からの動きベクトルを選択する手段とを具備し、符
号化された予測誤差に、いずれの動き検出手段からの出
力を選択したかを示す選択フラグ及び選択フラグに対応
した動きベクトルを付加して伝送するようにしたインタ
レース動画像の動き補償予測装置が提供される。According to the present invention, there is provided a motion compensation prediction apparatus for interlaced moving pictures, wherein a motion vector of a block is predicted in units of blocks using an input screen and a reference screen, and motion is compensated by an error with respect to the prediction. At
Using a reference screen for the block, a plurality of motion estimating means for respectively outputting a different number of motion vectors and outputting a prediction error signal, and a prediction error value of the prediction error signal output from each motion estimating means. A preprocessing means for adding a handy value determined according to coding information including at least one of the number of motion vectors, the accumulated code amount, the quantization coefficient, and the type of the predicted image; and an output from the preprocessing means. Comparing the calculated prediction error values, and selecting a motion vector from a motion detection unit that outputs the minimum prediction error value and a selection flag indicating the minimum prediction error value. And a selection flag indicating which of the motion detection means has selected the output, and a motion vector corresponding to the selection flag. Compensation prediction apparatus is provided.
【0008】このように、本発明では、インタレース動
画像の高能率符号化装置等の画像伝送や蓄積装置におけ
るブロック単位での動き補償予測において、ブロック当
り1個又は複数個の動きベクトルを用いる際に、予測方
式間でハンディ値をもたせて、少ないベクトル数の予測
方式を優先的に選択する。これによって情報量の効率的
な削減をおこない、符号化効率の向上を図ることができ
る。As described above, according to the present invention, one or a plurality of motion vectors are used per block in motion compensation prediction in units of blocks in an image transmission such as a high-efficiency encoder for interlaced moving images or a storage device. At this time, a handy value is given between prediction methods, and a prediction method with a small number of vectors is preferentially selected. As a result, the amount of information can be efficiently reduced, and the coding efficiency can be improved.
【0009】ハンディ値は、動きベクトルの数に応じて
決定され、動きベクトルの数が多くなるに従い大きくな
るようにすることが好ましい。[0009] The handy value is determined according to the number of motion vectors, and preferably increases as the number of motion vectors increases.
【0010】予測誤差値が予め定められたスレッショル
ド値より小さい場合は、最小の動きベクトル数を出力す
る動き検出手段からの動きベクトルによる動き補償を優
先的に選択するようにしたことが好ましい。その場合、
動き検出手段が1個の動きベクトルを出力すると共に予
測誤差信号を出力する動き検出手段を含んでおり、予測
誤差値が予め定められたスレッショルド値より小さい場
合は、1個の動きベクトルを出力する動き検出手段から
の動きベクトルによる動き補償を優先的に選択すること
がより好ましい。これにより、従来の動きベクトル個数
の多いフィールド動き補償の多用による符号化効率の低
下を防ぎ、符号化情報量の削減を実現することが可能で
ある。When the prediction error value is smaller than a predetermined threshold value, it is preferable to preferentially select the motion compensation based on the motion vector from the motion detecting means that outputs the minimum number of motion vectors. In that case,
The motion detecting means includes a motion detecting means for outputting one motion vector and outputting a prediction error signal, and outputs one motion vector when the prediction error value is smaller than a predetermined threshold value. More preferably, the motion compensation based on the motion vector from the motion detecting means is preferentially selected. As a result, it is possible to prevent a decrease in coding efficiency due to the conventional heavy use of the field motion compensation having a large number of motion vectors, and to reduce the amount of coded information.
【0011】[0011]
【発明の実施の形態】以下、本発明の一実施形態の構成
を示す図1のブロック図を参照して説明する。同図にお
いて、10は入力ブロックデータ、11は参照ブロック
データであり、共にインタレース画面となっている。入
力画面及び参照画面のブロック信号は1ベクトル動き検
出器21で動き検出が行われ、動きベクトルV1とブロ
ックの予測誤差E1が出力される。また2ベクトル動き
検出器22でも動き検出が行われ、動きベクトルV2及
び予測誤差のE2が出力される。同様にnベクトル動き
検出器2nでも動き検出が行われ、動きベクトルVn及
び予測誤差のEnが出力される。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In the figure, 10 is input block data, 11 is reference block data, and both are interlaced screens. Motion detection is performed on the block signals of the input screen and the reference screen by the one-vector motion detector 21, and the motion vector V1 and the prediction error E1 of the block are output. The two-vector motion detector 22 also performs motion detection, and outputs a motion vector V2 and a prediction error E2. Similarly, the n-vector motion detector 2n also performs motion detection, and outputs a motion vector Vn and a prediction error En.
【0012】1ベクトル動き検出器21は、1つ以上の
参照画面を用いて入力画面のブロックと参照画面のブロ
ックの間の動きを予測した動きベクトルと、予測画面と
入力画面との誤差を出力する。同様に、2ベクトル動き
検出器22は、2つ以上の参照画面を用いて一つの画面
を予測し、nベクトル動き検出器2nはn個以上の参照
画面からひとつの画面を予測する。The one-vector motion detector 21 outputs a motion vector obtained by predicting a motion between an input screen block and a reference screen block using one or more reference screens, and an error between the predicted screen and the input screen. I do. Similarly, the two-vector motion detector 22 predicts one screen using two or more reference screens, and the n-vector motion detector 2n predicts one screen from n or more reference screens.
【0013】1ベクトル動き検出器21、2ベクトル動
き検出器22,…,nベクトル動き検出器2nから出力
された予測誤差E1,E2,…,Enは前処理器14に
入力され、符号化情報CIを元にそれぞれの予測誤差信
号はベクトル数に応じたハンディ値を付加される。該ハ
ンディ値を付加された各信号は比較器12で比較され、
ブロックごとにいずれかを選択し、いずれを選択したか
の信号として選択フラグZMを出力する。選択器13で
比較器12の結果をもとに動きベクトルの選択が行わ
れ、動きベクトルZVとして出力される。The prediction errors E1, E2,..., En output from the one-vector motion detector 21, the two-vector motion detector 22,. A handy value corresponding to the number of vectors is added to each prediction error signal based on the CI. Each signal to which the handy value is added is compared by the comparator 12, and
One is selected for each block, and a selection flag ZM is output as a signal indicating which one is selected. The selector 13 selects a motion vector based on the result of the comparator 12, and outputs the selected motion vector as a motion vector ZV.
【0014】以下に、本実施形態の主要部の構成につい
て、詳細に説明する。Hereinafter, a configuration of a main part of the present embodiment will be described in detail.
【0015】まず、図2を参照して、入力画面のブロッ
クデータの構成を詳細に説明する。入力ブロックの大き
さについては、輝度信号は16画素×16ライン、2つ
の色差信号についてはそれぞれ8画素×16ラインと
し、これらをまとめてマクロブロックと呼ぶ。符号化の
一連の処理はこのマクロブロックごとに行われる。First, referring to FIG. 2, the configuration of block data of an input screen will be described in detail. Regarding the size of the input block, the luminance signal is 16 pixels × 16 lines, and the two chrominance signals are each 8 pixels × 16 lines. These are collectively called a macroblock. A series of encoding processes is performed for each macroblock.
【0016】同図に示されているように、前記ブロック
は、奇数ラインに存在する奇数フィールドのデータ
(○)と、偶数ラインに存在する偶数フィールドのデー
タ(□)とから構成されている。フレームブロックは、
奇数ラインと偶数ラインが交互に現れるデータから構成
され、フィールドブロックは、奇数ラインのデータのみ
を集めたデータ、あるいは偶数ラインのデータのみを集
めたデータから構成される。As shown in the figure, the block is composed of data of an odd field present on an odd line (偶) and data of an even field present on an even line (□). The frame block is
The field block is composed of data in which odd-numbered lines and even-numbered lines appear alternately, and the field block is composed of data in which only data of odd-numbered lines are collected or data in which only data of even-numbered lines are collected.
【0017】動き検出に用いる参照ブロックについて
は、輝度信号のみを用いる。ブロックの大きさは検索す
る範囲に応じて変化する。例えば、検索範囲が主及び副
走査方向に±7画素の場合は30画素×30ラインとな
る。なお、動き補償後に得られる予測誤差データのサイ
ズは、輝度信号、色差信号ともに図2の入力ブロックと
同様の構成となる。For a reference block used for motion detection, only a luminance signal is used. The size of the block changes according to the search range. For example, if the search range is ± 7 pixels in the main and sub-scanning directions, the size is 30 pixels × 30 lines. The size of the prediction error data obtained after the motion compensation has the same configuration as that of the input block in FIG. 2 for both the luminance signal and the color difference signal.
【0018】1ベクトル動き検出器21、2ベクトル動
き検出器22,…,及びnベクトル動き検出器2nに入
力された16画素×16ラインのブロック信号は、参照
画面に対して、それぞれ、1個、2個、…、及びn個の
ベクトルを用いて検索を行う。この場合、参照画面は、
時間的に前の画面あるいは後の画面を用いることができ
る。さらに、1個、2個、…、及びn個のベクトルで表
せる限り、時間的に前後の2つ以上の画面を参照するこ
とが可能である。Each of the 16-pixel × 16-line block signals input to the one-vector motion detector 21, the two-vector motion detector 22,... ,..., And n vectors. In this case, the reference screen is
The screen before or after the time can be used. Furthermore, as long as it can be represented by one, two,..., And n vectors, it is possible to refer to two or more screens before and after in time.
【0019】次に、1ベクトル動き検出器21、2ベク
トル動き検出器22,…,及びnベクトル動き検出器2
nの内部の構成を図5に示す。なお、図5には、これら
の動き検出器21,22,…,2nのうちの一つが代表
として示されている。入力画面及び参照画面はそれぞれ
入力ブロックメモリ20a及び参照ブロックメモリ20
bに一旦記憶される。アドレス発生回路55からのアド
レスにより動き検出を行う入力画面データと参照画面デ
ータが取り出される。Next, a one-vector motion detector 21, a two-vector motion detector 22,...
FIG. 5 shows the internal configuration of n. In FIG. 5, one of the motion detectors 21, 22,..., 2n is shown as a representative. The input screen and the reference screen are input block memory 20a and reference block memory 20 respectively.
b. The input screen data and the reference screen data for performing the motion detection based on the address from the address generation circuit 55 are extracted.
【0020】次いで、1ベクトル動き検出器21の場合
には、参照画面データは必要に応じて時間/空間フィル
タ52にてフィルタリングされ、予測誤差演算回路53
にて、入力画面と参照画面との誤差が計算される。2ベ
クトル動き検出器22の場合には、2個のベクトルに応
じた参照画面データは時間/空間フィルタ52にてフィ
ルタリングされ、1つの予測画面に合成され、予測誤差
演算回路53にて、入力画面と参照画面との誤差が計算
される。また、nベクトル動き検出器2nの場合には、
n個のベクトルに応じた参照画面データは時間/空間フ
ィルタ52にてフィルタリングされ、1つの予測画面に
合成され、予測誤差演算回路53にて、入力画面と参照
画面との誤差が計算される。Next, in the case of the one-vector motion detector 21, the reference screen data is filtered by a time / spatial filter 52 if necessary, and a prediction error calculation circuit 53
, An error between the input screen and the reference screen is calculated. In the case of the two-vector motion detector 22, the reference screen data corresponding to the two vectors is filtered by the time / spatial filter 52 and synthesized into one prediction screen. The error between the reference and the reference screen is calculated. In the case of the n-vector motion detector 2n,
The reference screen data corresponding to the n vectors is filtered by the time / spatial filter 52, combined into one prediction screen, and the prediction error calculation circuit 53 calculates the error between the input screen and the reference screen.
【0021】最適ベクトル判定回路54は、各サーチポ
イントでの予測誤差信号を比較して、最小となる位置を
求め、それぞれ、1個,2個,…,n個のベクトルから
なる動きベクトルV1と予測誤差E1、動きベクトルV
2と予測誤差E2,…,動きベクトルVnと予測誤差E
nを出力する。予測誤差信号としては、差分絶対値の累
積和あるいは差分二乗値の累積和等が利用できる。The optimum vector determination circuit 54 compares the prediction error signals at each search point to determine the minimum position, and calculates a motion vector V1 consisting of one, two,... Prediction error E1, motion vector V
, Motion vector Vn and prediction error E
Output n. As the prediction error signal, a cumulative sum of absolute difference values or a cumulative sum of squared difference values can be used.
【0022】各動き検出器21,22,…,2nからの
予測誤差値E1,E2,…,Enは比較器12で比較さ
れ予測誤差の小さい方の動き検出を選択し、決定された
選択フラグZMを出力する。この際、以下のような判定
条件を用いる。The prediction error values E1, E2,..., En from the motion detectors 21, 22,..., 2n are compared by the comparator 12, and the motion detection with the smaller prediction error is selected. Output ZM. At this time, the following determination conditions are used.
【0023】(1)if(E1<T1)then ZV
=V1 (2)else ZV=Vx ここで、Vxはmin(E1,E2′,…,En′)を
与える動きベクトル ただし、E2′=E2+T2, ………………………… En′=En+Tnである。(1) if (E1 <T1) then ZV
= V1 (2) else ZV = Vx Here, Vx is a motion vector giving min (E1, E2 ',..., En'), where E2 '= E2 + T2,... En + Tn.
【0024】T1はスレショルド値であり、またT2,
…,Tnはハンディ値で、一般にT2<T3<……<T
nである。これらの値は、動きベクトルの個数、累積符
号量、量子化係数、予測画像の種類等の符号化情報CI
に応じて決定する。例えば、累積符号化量や量子化係数
が大きな場合、スレショルド値T1を大きくとり、また
ハンディ値T2,T3,…も大きくとることにより、ベ
クトル数の増大に伴う符号化量の増大による符号化効率
の低下を防ぐ。逆に、これらの値が小さい場合は比較的
小さなT1,…,Tnをとることが可能である。T1 is a threshold value, and T2,
, Tn are handy values and generally T2 <T3 <... <T
n. These values correspond to coding information CI such as the number of motion vectors, the accumulated code amount, the quantization coefficient, and the type of predicted image.
Determined according to. For example, when the accumulated coding amount and the quantization coefficient are large, the threshold value T1 is set to be large, and the handy values T2, T3,... Are also set to be large, so that the coding efficiency due to the increase in the coding amount with the number of vectors is increased. To prevent the decline. Conversely, when these values are small, it is possible to take relatively small values of T1,..., Tn.
【0025】また、許容動きベクトルの個数が2程度と
少ない場合のスレショルド値T1は、許容動きベクトル
の個数が多い場合におけるT1より大きな値をとること
によって、各動きベクトルの個数に対する選択率を変更
して、許容動きベクトルの個数に応じたバランスポイン
トを設定することが可能となる。さらに、予測画像の種
類については、例えば時間的に離れた画像から予測する
場合、動きの精度はあまり高くないため、許容動きベク
トルの個数を少なめに設定すること、及びT1,…,T
nの値を高くして、動きベクトルの符号量を少なくし
て、残りの情報量を変換符号化等の他の符号化へ配分す
ることが可能である。逆に、時間的に近い画像からの予
測の場合、予測精度が高いため、T1,…,Tnの値を
小さめに設定することが可能である。The threshold value T1 when the number of allowable motion vectors is as small as about 2 is larger than T1 when the number of allowable motion vectors is large, thereby changing the selectivity for the number of each motion vector. Thus, it is possible to set a balance point according to the number of allowable motion vectors. Further, regarding the type of the predicted image, for example, in the case of predicting from a temporally distant image, the accuracy of the motion is not so high, so that the number of allowable motion vectors is set to be small, and T1,.
It is possible to increase the value of n and reduce the code amount of the motion vector, and allocate the remaining information amount to other coding such as transform coding. Conversely, in the case of prediction from images that are close in time, since the prediction accuracy is high, the values of T1,..., Tn can be set smaller.
【0026】ただし、同じ個数のベクトルを用いる動き
補償が複数個ある場合は、それぞれにハンディ値を与え
る。例えば、ベクトルの個数が2で、フレームベクトル
やフィールドベクトル等で複数個の動き補償が可能な時
には、(2)式の動きベクトルVxとして、min(E
1,E21′,E22′……,En′)を与える。 ただし、E21′=E21+T21, E22′=E22+T22, ………………………… En′=En+TnHowever, when there are a plurality of motion compensations using the same number of vectors, a handy value is given to each. For example, when the number of vectors is two and a plurality of motion compensations can be performed using a frame vector, a field vector, or the like, the motion vector Vx in Expression (2) is defined as min (E
1, E21 ', E22'..., En '). However, E21 ′ = E21 + T21, E22 ′ = E22 + T22,...... En ′ = En + Tn
【0027】ここに、E21,E22,…は各動き検出
器21,22,…の予測誤差、T21,T22,…はそ
れぞれのハンディ値である。Are the prediction errors of the motion detectors 21, 22,..., And T21, T22,.
【0028】この場合、時間的に前後の参照画面からそ
れぞれ1個の動きベクトルを用いて予測を行うフレーム
ベクトルで求めた予測誤差E21と、時間的に前または
後ろのいずれかの参照画面から2個の動きベクトルを用
いて予測を行うフィールドベクトルとで求めた予測誤差
E22に対して、異なる値のハンディ値T21,T22
を与えることにより、フレームベクトルとフィールドベ
クトルとのどちらかに優先度を与えることが可能であ
る。In this case, a prediction error E21 obtained from a frame vector for which prediction is performed using one motion vector from each of the temporally preceding and succeeding reference screens, and two prediction errors from the temporally preceding or succeeding reference screen. The handy values T21 and T22 having different values are different from the prediction error E22 obtained from the field vector for performing prediction using the number of motion vectors.
, It is possible to give priority to either the frame vector or the field vector.
【0029】本発明の実施にあたっては種々の変形形態
が可能である。例えばブロックのサイズは、16画素×
16ラインに限らず、32画素×32ライン等種々のサ
イズが適用可能である。In carrying out the present invention, various modifications are possible. For example, the size of a block is 16 pixels ×
Not limited to 16 lines, various sizes such as 32 pixels × 32 lines can be applied.
【0030】また、E2′,…,En′に関しては、 E2′=C2×E2+T2, ………………………… En′=CnXEn+Tn のように、ある係数C2,…,CnをE2,…,Enに
対して掛けて、その後ハンディ値T2,…,Tnを加算
することにより、より細かい制御を行うことが可能であ
る。For E2 ',..., En', certain coefficients C2,..., Cn are E2, such as E2 '= C2.times.E2 + T2,. , En, and then adding the handy values T2,..., Tn, it is possible to perform finer control.
【0031】[0031]
【発明の効果】本発明では、複数の動き検出のそれぞれ
の予測誤差にスレッショルド値またはハンディ値をもた
せ、同程度の予測誤差を持つ動き予測に対してはベクト
ルの個数が少ない動き補償予測を優先的に選択するよう
にしたので、従来の予測誤差値の大小のみによるベクト
ル個数の多い動き補償方式に比べて、符号化量を削減で
き、符号化効率の向上を実現することが可能である。According to the present invention, a threshold value or a handy value is given to each prediction error of a plurality of motion detections, and a motion compensation prediction having a small number of vectors is prioritized for a motion prediction having a similar prediction error. In this case, the amount of coding can be reduced and the coding efficiency can be improved as compared with the conventional motion compensation method having a large number of vectors based only on the magnitude of the prediction error value.
【0032】効果の一例として、ISOテスト動画像
(Flower Garden,Bicycle)を、
CCIR601画像フォーマットの条件において、4M
bit/sのビットレートで符号化を行った際の画質
(S/N比)は、フレーム動き補償とフィールド動き補
償を適応的に用いた方式に比較して、0.5〜1.0d
B向上でき、動きベクトル情報伝送量は30〜60%削
減できた。As an example of the effect, an ISO test moving image (Flower Garden, Bicycle) is
Under the conditions of CCIR601 image format, 4M
The image quality (S / N ratio) at the time of encoding at a bit rate of bit / s is 0.5 to 1.0 d as compared with a scheme adaptively using frame motion compensation and field motion compensation.
B was improved, and the amount of motion vector information transmission was reduced by 30 to 60%.
【図1】本発明の実施形態における動き検出装置を説明
するための構成図である。FIG. 1 is a configuration diagram illustrating a motion detection device according to an embodiment of the present invention.
【図2】ブロックデータの構成を示す図である。FIG. 2 is a diagram showing a configuration of block data.
【図3】従来の動き検出器を示す図である。FIG. 3 is a diagram showing a conventional motion detector.
【図4】符号化装置の構成図である。FIG. 4 is a configuration diagram of an encoding device.
【図5】動きベクトル検出器の構成を示す図である。FIG. 5 is a diagram illustrating a configuration of a motion vector detector.
10 入力画面 11 参照画面 12 比較器 13 選択器 14 前処理器 21 1ベクトル動き検出器 22 2ベクトル動き検出器 2n nベクトル動き検出器 41 減算器 42 符号化器 43 量子化器 44 逆量子化器 45 復号器 46 加算器 47 フレームメモリ 48 動き検出部 49 動き補償器 50 可変長符号化器 51 多重化器 10 Input Screen 11 Reference Screen 12 Comparator 13 Selector 14 Preprocessor 21 1 Vector Motion Detector 22 2 Vector Motion Detector 2n n Vector Motion Detector 41 Subtractor 42 Encoder 43 Quantizer 44 Dequantizer 45 Decoder 46 Adder 47 Frame Memory 48 Motion Detector 49 Motion Compensator 50 Variable Length Encoder 51 Multiplexer
フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 7/24 - 7/68 H04N 11/04 G06T 7/20 Continued on the front page (58) Fields surveyed (Int.Cl. 7 , DB name) H04N 7 /24-7/68 H04N 11/04 G06T 7/20
Claims (4)
位でブロックの動きベクトルの予測と該予測に対する誤
差により動き補償を行うインタレース動画像の動き補償
予測装置において、 該ブロックに対し参照画面を用いて、互いに異なる数の
動きベクトルをそれぞれ出力すると共に予測誤差信号を
出力する複数個の動き検出手段と、 前記各動き検出手段から出力された予測誤差信号の予測
誤差値に、前記動きベクトルの数、累積符号量、量子化
係数及び予測画像の種類のうちの少なくとも1つを含む
符号化情報に応じて決定されるハンディ値を付加する前
処理手段と、 該前処理手段から出力された各予測誤差値を比較し、最
小の予測誤差値を示す選択フラグ及び該最小の予測誤差
値を出力した動き検出手段からの動きベクトルを選択す
る手段とを具備し、 符号化された予測誤差に、いずれの動き検出手段からの
出力を選択したかを示す選択フラグ及び該選択フラグに
対応した動きベクトルを付加して伝送するようにしたこ
とを特徴とするインタレース動画像の動き補償予測装
置。1. An interlaced video motion compensation prediction apparatus for predicting a motion vector of a block in units of blocks using an input screen and a reference screen and performing motion compensation based on an error with respect to the prediction, wherein a reference screen is used for the block. A plurality of motion detecting means for respectively outputting a different number of motion vectors and outputting a prediction error signal; and a prediction error value of the prediction error signal output from each of the motion detecting means, Preprocessing means for adding a handy value determined according to coding information including at least one of a cumulative code amount, a quantization coefficient, and a type of a predicted image; and each prediction output from the preprocessing means. Comparing the error values and selecting a selection flag indicating the minimum prediction error value and a motion vector from the motion detection means that has output the minimum prediction error value. And a step of adding to the encoded prediction error a selection flag indicating which of the motion detection means has selected an output and a motion vector corresponding to the selection flag, and transmitting the selected prediction error. A motion compensation prediction device for interlaced moving images, which is a feature of the present invention.
応じて決定され、該動きベクトルの数が多くなるに従い
大きくなることを特徴とする請求項1に記載のインタレ
ース動画像の動き補償予測装置。2. The motion compensation prediction of an interlaced moving image according to claim 1, wherein the handy value is determined according to the number of motion vectors, and increases as the number of motion vectors increases. apparatus.
ショルド値より小さい場合は、最小の動きベクトル数を
出力する動き検出手段からの動きベクトルによる動き補
償を優先的に選択するようにしたことを特徴とする請求
項1又は2に記載のインタレース動画像の動き補償予測
装置。3. The method according to claim 2, wherein when the prediction error value is smaller than a predetermined threshold value, the motion compensation based on the motion vector from the motion detecting means that outputs the minimum number of motion vectors is preferentially selected. The motion compensation prediction apparatus for an interlaced moving image according to claim 1 or 2, wherein
を出力すると共に予測誤差信号を出力する動き検出手段
を含んでおり、前記予測誤差値が予め定められたスレッ
ショルド値より小さい場合は、該1個の動きベクトルを
出力する動き検出手段からの動きベクトルによる動き補
償を優先的に選択するようにしたことを特徴とする請求
項3に記載のインタレース動画像の動き補償予測装置。4. The motion detecting means includes a motion detecting means for outputting one motion vector and outputting a prediction error signal, and when the prediction error value is smaller than a predetermined threshold value, 4. The motion compensation prediction apparatus for an interlaced moving image according to claim 3, wherein the motion compensation based on the motion vector from the motion detecting means that outputs one motion vector is preferentially selected.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP19165393A JP3057966B2 (en) | 1992-11-27 | 1993-07-06 | Motion compensation prediction device for interlaced video |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP33952092 | 1992-11-27 | ||
| JP4-339520 | 1992-11-27 | ||
| JP19165393A JP3057966B2 (en) | 1992-11-27 | 1993-07-06 | Motion compensation prediction device for interlaced video |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH06217295A JPH06217295A (en) | 1994-08-05 |
| JP3057966B2 true JP3057966B2 (en) | 2000-07-04 |
Family
ID=26506827
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP19165393A Expired - Fee Related JP3057966B2 (en) | 1992-11-27 | 1993-07-06 | Motion compensation prediction device for interlaced video |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3057966B2 (en) |
-
1993
- 1993-07-06 JP JP19165393A patent/JP3057966B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH06217295A (en) | 1994-08-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3263960B2 (en) | Motion vector encoder and decoder | |
| US5412435A (en) | Interlaced video signal motion compensation prediction system | |
| JP2924431B2 (en) | Coding method | |
| US5173772A (en) | Method for detecting motion vector | |
| JPH0537915A (en) | Image signal encoding method and image signal encoding apparatus | |
| JPH07162869A (en) | Video coding device | |
| JP2000278688A (en) | Motion vector detecting device and method and image processing device | |
| US20080002769A1 (en) | Motion picture coding apparatus and method of coding motion pictures | |
| JP3201079B2 (en) | Motion compensated prediction method, coding method and apparatus for interlaced video signal | |
| WO2000005899A1 (en) | Image encoding system | |
| JP3240024B2 (en) | Image processing method | |
| JP3057966B2 (en) | Motion compensation prediction device for interlaced video | |
| JP3362463B2 (en) | Frame interpolation device | |
| US6061401A (en) | Method and apparatus for selectively encoding/decoding a video signal | |
| JP3063380B2 (en) | High efficiency coding device | |
| JP3201343B2 (en) | Motion compensation prediction device for interlaced video | |
| JP2925046B2 (en) | Motion compensation prediction method for moving images | |
| JPH07184206A (en) | Image coding device | |
| JP3201344B2 (en) | Motion compensated prediction method and coding apparatus for interlaced video signal | |
| JPH09182081A (en) | Motion compensation predictive coding device | |
| JP3653287B2 (en) | Image information conversion apparatus and image information conversion method | |
| JPH10164596A (en) | Motion detection device | |
| JP2000013802A (en) | Video signal encoding device using inter-frame prediction | |
| JPH10304373A (en) | Moving image decoding method and moving image decoding device | |
| JPH05236456A (en) | Method and device for encoding moving image |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20000321 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120421 Year of fee payment: 12 |
|
| LAPS | Cancellation because of no payment of annual fees |