JPH11205816A - Moving vector detection device - Google Patents

Moving vector detection device

Info

Publication number
JPH11205816A
JPH11205816A JP377198A JP377198A JPH11205816A JP H11205816 A JPH11205816 A JP H11205816A JP 377198 A JP377198 A JP 377198A JP 377198 A JP377198 A JP 377198A JP H11205816 A JPH11205816 A JP H11205816A
Authority
JP
Japan
Prior art keywords
motion vector
signal
prediction error
weighting
color difference
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.)
Granted
Application number
JP377198A
Other languages
Japanese (ja)
Other versions
JP3941900B2 (en
Inventor
Shinichi Okada
信一 岡田
Koichi Tanno
興一 丹野
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 JP377198A priority Critical patent/JP3941900B2/en
Publication of JPH11205816A publication Critical patent/JPH11205816A/en
Application granted granted Critical
Publication of JP3941900B2 publication Critical patent/JP3941900B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Color Television Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent mis-detection and to improve the detection accuracy in detecting a moving vector while considering color information by selecting the final moving vector from the outputs of respective moving vector search means, based on a prediction error calculation. SOLUTION: Moving vector search parts 30-32 obtain the moving vectors on a luminance signal Y and color difference signals CB and CR. A movement compensation prediction error, when the moving vector of previous frame detection is allocated in prediction error operation parts 51-53 on the respective blocks of the luminance signal Y, and the color difference signals CB and CR of a present frame is calculated from the respective moving vectors. A moving vector memory 50 stores the moving vector of the previous frame. A moving vector selection part 33 executes different processings, in accordance with the fact that which one among the luminance signal Y and the color difference signals CB and CR is at the selection mode of the previous frame. Then, it is adjusted to the screen sizes of luminance and color difference. In this way, the vector of the luminance signal Y and the color difference signals CB and CR is selected according to a previous frame movement compensation prediction error operation result so as to use it.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、動画像を所定の
水平画素数と所定の垂直ライン数から成るブロックに分
割し、ブロック毎に動画像の動きベクトルを検出する動
きベクトル検出装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a motion vector detecting device for dividing a moving image into blocks each having a predetermined number of horizontal pixels and a predetermined number of vertical lines, and detecting a motion vector of the moving image for each block. is there.

【0002】[0002]

【従来の技術】画像などを圧縮して伝送する技術として
動き補償予測を用いたものがある。動き補償予測を行う
ためには動きベクトルの検出が必要であるが、この方法
には輝度信号Yのみを用いて行う方法と、輝度信号Yの
他に色差信号CB、CRも用いて行うように拡張された
方法とがある。後者のものとして、例えば特開平5−2
19529号公報に示すものがある。
2. Description of the Related Art As a technique for compressing and transmitting an image or the like, there is a technique using motion compensation prediction. In order to perform motion compensation prediction, it is necessary to detect a motion vector. This method includes a method using only the luminance signal Y and a method using the color difference signals CB and CR in addition to the luminance signal Y. There are extended ways. As the latter, for example, Japanese Patent Laid-Open No. 5-2
There is one shown in Japanese Patent Application Laid-Open No. 19529.

【0003】図5は特開平5−219529号公報に示
されたものと同様な動きベクトル検出器による動き補償
予測を用いた画像圧縮装置を示す構成図である。図5に
おいて、1は入力画像輝度信号Y、2は入力画像色差信
号CB、3は入力画像色差信号CR、4は輝度信号Y、
色差信号CB、色差信号CRを入力し、これを例えば輝
度信号Y、色差信号CB、色差信号CRの順の順次信号
a(Y/CB/CR)として出力するバッファ回路、1
0は減算器、11は直交変換部、12は量子化部、13
は入力信号に符号を割り当てる可変長符号化部、14は
多重化部、15はデータを一時蓄え出力するバッファ回
路、16は符号化データ、20は逆量子化部、21は直
交変換されたデータに逆変換を施す逆直交変換部、22
は加算器、23は画像メモリ、24は動きベクトル検出
器100の検出した動きベクトルに従って動き補償予測
を行う動き補償部、30、31、32は表色の形態に基
づく各入力信号に対して現フレームと参照フレームより
動きベクトルをそれぞれ探索する動きベクトル探索部、
33は各々の動きベクトル探索部の出力から最終的な動
きベクトルを選択する動きベクトル選択部、40、4
1、42は平坦判定部、100は動きベクトル検出器で
ある。
FIG. 5 is a block diagram showing an image compression apparatus using motion compensation prediction by a motion vector detector similar to that disclosed in Japanese Patent Application Laid-Open No. 5-219529. In FIG. 5, 1 is an input image luminance signal Y, 2 is an input image color difference signal CB, 3 is an input image color difference signal CR, 4 is a luminance signal Y,
A buffer circuit which receives a color difference signal CB and a color difference signal CR and outputs them as a sequential signal a (Y / CB / CR) in the order of, for example, a luminance signal Y, a color difference signal CB, and a color difference signal CR;
0 is a subtractor, 11 is an orthogonal transformer, 12 is a quantizer, 13
Is a variable length encoding unit that assigns codes to input signals, 14 is a multiplexing unit, 15 is a buffer circuit that temporarily stores and outputs data, 16 is encoded data, 20 is an inverse quantization unit, and 21 is orthogonally transformed data. Orthogonal transform unit for performing an inverse transform on
Is an adder, 23 is an image memory, 24 is a motion compensator for performing motion compensation prediction according to the motion vector detected by the motion vector detector 100, 30, 31, and 32 are current color signals for each input signal based on the form of color specification. A motion vector search unit that searches for a motion vector from the frame and the reference frame,
33 is a motion vector selection unit for selecting a final motion vector from the output of each motion vector search unit;
Reference numerals 1 and 42 denote flatness determination units, and 100 denotes a motion vector detector.

【0004】次に上記構成に係る動き補償予測を用いた
画像圧縮装置の動作の説明をする。入力画像輝度信号Y
1、入力画像色差信号CB2、入力画像色差信号CR3
は、バッファ回路4に入力され、例えば輝度信号Y、色
差信号CB、色差信号CRの順の順次信号に変換され
る。順次化された画像信号aは、減算器10で動き補償
予測画像信号bとの差分がとられ、動き補償予測誤差信
号cとして出力される。動き補償予測誤差信号cは、直
交変換部11で直交変換された後、量子化部12で量子
化され、可変長符号化部13で符号が割り当てられた
後、多重化部14で動きベクトルデータと多重され、バ
ッファ回路15を介して符号化データ16として出力さ
れる。
Next, the operation of the image compression apparatus using the motion compensated prediction according to the above configuration will be described. Input image luminance signal Y
1, input image color difference signal CB2, input image color difference signal CR3
Is input to the buffer circuit 4 and is converted into a sequential signal of, for example, a luminance signal Y, a color difference signal CB, and a color difference signal CR. The difference between the serialized image signal a and the motion-compensated predicted image signal b is calculated by the subtracter 10 and output as a motion-compensated predicted error signal c. The motion-compensated prediction error signal c is orthogonally transformed by the orthogonal transformation unit 11, quantized by the quantization unit 12, assigned with a code by the variable-length encoding unit 13, and then, by the multiplexing unit 14. And output as encoded data 16 via the buffer circuit 15.

【0005】ここで、動き補償予測画像信号bの生成に
ついては以下のように行う。量子化部12の出力は、逆
量子化部20において逆量子化され、続いて、逆直交変
換部21において逆直交変換された後、さらに、加算器
22において動き補償予測画像信号bと加算されて画像
メモリ23に蓄積される。
Here, generation of the motion-compensated predicted image signal b is performed as follows. The output of the quantization unit 12 is inversely quantized by the inverse quantization unit 20, subsequently, inversely orthogonally transformed by the inverse orthogonal transformation unit 21, and further added to the motion compensated prediction image signal b by the adder 22. And stored in the image memory 23.

【0006】画像メモリ23より出力される参照フレー
ムの画像信号と現フレームの画像信号を用いて動きベク
トル検出器100が動きベクトルの検出を行う。動きベ
クトル検出器100による動きベクトル検出については
後述する。この動きベクトルデータを受けて動き補償部
24では動き補償予測画像信号bが生成され、出力され
る。また、動き補償部24では動き補償予測画像信号b
の生成に用いた動きベクトルデータの符号化も行い、多
重化部14に出力する。
The motion vector detector 100 detects a motion vector using the image signal of the reference frame output from the image memory 23 and the image signal of the current frame. The detection of the motion vector by the motion vector detector 100 will be described later. In response to the motion vector data, the motion compensation unit 24 generates and outputs a motion-compensated predicted image signal b. Further, the motion compensating unit 24 calculates the motion compensated prediction image signal b
Is also encoded and output to the multiplexing unit 14.

【0007】次に動きベクトル検出器100における動
きベクトルの検出について説明する。前述のように、特
開平5−219529号公報に示される動きベクトル検
出器では輝度信号Yの他に色差信号CB、CRも用いて
動きベクトルの検出を行う。まず、3つの動きベクトル
探索部30、31、32がそれぞれ輝度信号Y、色差信
号CB、CRの各々についての動きベクトルを例えばブ
ロックマッチング法を用いて求める。ブロックマッチン
グ法とは周知のように例えば現フレームをブロック(例
えば輝度で16画素×16ライン、色差は全画面とブロ
ックの割合が輝度と等しくなる大きさとする)に分割
し、差分絶対値総和などの誤差評価基準を用いて当該ブ
ロックに対して最も近いブロックを参照フレームから求
め、当該ブロックの動きベクトルとする方法である。
Next, detection of a motion vector in the motion vector detector 100 will be described. As described above, the motion vector detector disclosed in Japanese Patent Application Laid-Open No. 5-219529 detects a motion vector using the color difference signals CB and CR in addition to the luminance signal Y. First, the three motion vector search units 30, 31, and 32 determine the motion vector for each of the luminance signal Y and the color difference signals CB and CR using, for example, a block matching method. As is well known, for example, the block matching method divides the current frame into blocks (for example, 16 pixels × 16 lines in luminance, and the chrominance has a size such that the ratio of the entire screen to the block is equal to the luminance), and sums the absolute values of the differences. In this method, a block closest to the block is obtained from the reference frame by using the error evaluation criterion described above, and is used as a motion vector of the block.

【0008】このようして求まった輝度信号Y、色差信
号CB、CRの各々についての動きベクトルから動きベ
クトル選択部33が以下のようにして1つを選択する。
まず、現フレームの輝度信号Y、色差信号CB、CRの
各々のブロックについて平坦判定部40、41、42が
標準偏差や分散などの評価基準と予め設定された閾値と
の比較を行い平坦か否かを判定する。輝度ブロックが平
坦でなければ輝度の動きベクトルが選択される。輝度ブ
ロックが平坦であった場合、色差CBブロックが平坦か
否かで処理が分かれる。色差CBブロックが平坦でなけ
れば色差CBの動きベクトルが選択される。色差CBブ
ロックが平坦であった場合、色差CRブロックが平坦か
否かで処理が分かれる。色差CRブロックが平坦でなけ
れば色差CRの動きベクトルが選択される。色差CRブ
ロックが平坦であった場合、すなわち輝度ブロック、色
差CBブロック、色差CRブロックの全てが平坦であっ
た場合は輝度の動きベクトルが選択される。このようし
て選択された動きベクトルは、輝度、色差の画面サイズ
に合わせて拡大、縮小して使用される。
The motion vector selection unit 33 selects one of the motion vectors for the luminance signal Y and the color difference signals CB and CR obtained in this manner as follows.
First, for each block of the luminance signal Y and the color difference signals CB and CR of the current frame, the flatness determination units 40, 41, and 42 compare evaluation criteria such as standard deviation and variance with predetermined thresholds, and determine whether the block is flat. Is determined. If the luminance block is not flat, a luminance motion vector is selected. When the luminance block is flat, the processing is divided depending on whether the color difference CB block is flat. If the color difference CB block is not flat, a motion vector of the color difference CB is selected. When the chrominance CB block is flat, the processing is divided depending on whether or not the chrominance CR block is flat. If the color difference CR block is not flat, a motion vector of the color difference CR is selected. If the chrominance CR block is flat, that is, if all of the luminance block, chrominance CB block, and chrominance CR block are flat, a luminance motion vector is selected. The motion vector selected in this manner is used after being enlarged or reduced according to the screen size of luminance and color difference.

【0009】次に、図6を用いて画像からベクトルを検
出する動作を説明する。図6は輝度は等しいが色の違う
縞が右から左に向かって移動している例である。図6に
おいて、模様のついてある部分は白い部分と大きく値が
異なるものとする。輝度信号Yは全画面にわたって平坦
であるが、色差信号CB、CRは縞の境にエッジが存在
する。図示したブロック位置では、輝度ブロックは平坦
であるため色差CBブロックを用いて動きベクトル検出
が行われ、動きベクトルが検出できる。
Next, the operation of detecting a vector from an image will be described with reference to FIG. FIG. 6 shows an example in which stripes having the same luminance but different colors move from right to left. In FIG. 6, it is assumed that a portion with a pattern greatly differs from a white portion in value. The luminance signal Y is flat over the entire screen, but the color difference signals CB and CR have edges at the boundaries of the stripes. At the illustrated block positions, since the luminance block is flat, the motion vector detection is performed using the color difference CB block, and the motion vector can be detected.

【0010】[0010]

【発明が解決しようとする課題】上述した従来の動きベ
クトル検出方法では、例えば図7に示すような場合、動
きベクトルの検出誤りが発生する可能性がある。すなわ
ち、図7の場合、色差は図6と同じである。ただし、輝
度にも縞があるのが異なっている。色差の縞の1周期の
中に輝度の縞が2周期含まれている。従来の動きベクト
ル検出方法では、図7に示したブロック位置では輝度ブ
ロックは平坦ではないので輝度の動きベクトルが選択さ
れてしまい、参照フレーム(時刻t−1)のブロック
1、ブロック2のどちらが正しい動きベクトルか判定で
きないため、動きベクトルの検出誤りが発生するという
問題があった。
In the above-described conventional motion vector detection method, for example, in the case shown in FIG. 7, there is a possibility that a motion vector detection error occurs. That is, in the case of FIG. 7, the color difference is the same as in FIG. However, the difference is that there are stripes in the luminance. One cycle of the color difference stripes includes two cycles of luminance stripes. In the conventional motion vector detection method, since the luminance block is not flat at the block position shown in FIG. 7, a luminance motion vector is selected, and which of block 1 and block 2 of the reference frame (time t-1) is correct. Since it cannot be determined that the motion vector is a motion vector, there has been a problem that a motion vector detection error occurs.

【0011】この発明は上記のような従来例に係る問題
点を解消するためになされたもので、色情報を考慮して
動きベクトルの検出を行う際、動きベクトルの検出誤り
を防ぎ、正しい動きベクトルを精度よく検出することが
できる動きベクトル検出装置を得ることを目的としてい
る。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems of the prior art, and when detecting a motion vector in consideration of color information, it is possible to prevent a detection error of the motion vector and to obtain a correct motion. It is an object of the present invention to obtain a motion vector detecting device capable of detecting a vector with high accuracy.

【0012】[0012]

【課題を解決するための手段】この発明に係る動きベク
トル検出装置は、画像を複数のブロックに分割し、該ブ
ロック毎に動きベクトルを求める動きベクトル検出装置
において、表色の形態に基づく複数の入力信号に対して
現フレームと参照フレームより動きベクトルをそれぞれ
探索する複数の動きベクトル探索手段と、上記複数の動
きベクトル探索手段からそれぞれ出力される動きベクト
ルのうちいずれか1つを選択するベクトル選択手段と、
上記ベクトル選択手段により前フレームで選択した動き
ベクトルを記憶する動きベクトル記憶手段と、上記ベク
トル記憶手段に記憶されている前フレームで選択された
動きベクトルを用いた場合の現フレームでの各々の入力
信号についての予測誤差をそれぞれ算出する複数の予測
誤差演算手段とを備え、上記ベクトル選択部は、上記複
数の予測誤差演算手段から出力される予測誤差演算値に
基づいて各々の動きベクトル探索手段の出力から最終的
な動きベクトルを選択することを特徴とするものであ
る。
A motion vector detecting device according to the present invention divides an image into a plurality of blocks, and obtains a motion vector for each block. A plurality of motion vector searching means for respectively searching the input signal for a motion vector from a current frame and a reference frame; and a vector selection means for selecting any one of the motion vectors respectively output from the plurality of motion vector searching means. Means,
A motion vector storage means for storing a motion vector selected in the previous frame by the vector selection means, and respective inputs in the current frame when using the motion vector selected in the previous frame stored in the vector storage means A plurality of prediction error calculation means for respectively calculating a prediction error for the signal, wherein the vector selection unit includes a plurality of prediction error calculation values output from the plurality of prediction error calculation means. A final motion vector is selected from the output.

【0013】また、他の発明に係る動きベクトル検出装
置は、画像を複数のブロックに分割し、該ブロック毎に
動きベクトルを求める動きベクトル検出装置において、
表色の形態に基づく複数の入力信号に対して現フレーム
と参照フレームより複数の入力信号のうちいずれか1つ
を選択する信号選択手段と、上記信号選択手段によって
選択した入力信号に基づき現フレームと参照フレームよ
り動きベクトルを探索する動きベクトル探索手段と、上
記動きベクトル探索部により前フレームで探索された動
きベクトルを記憶する動きベクトル記憶手段と、上記動
きベクトル記憶手段により記憶されている前フレームで
探索された動きベクトルを用いた場合の現フレームでの
各々の入力信号についての予測誤差をそれぞれ算出する
複数の予測誤差演算手段とを備え、上記信号選択手段
は、上記複数の予測誤差演算手段から出力される予測誤
差演算値に基づいて複数の入力信号から1つを選択する
ことを特徴とするものである。
According to another aspect of the present invention, there is provided a motion vector detecting apparatus for dividing an image into a plurality of blocks and obtaining a motion vector for each of the blocks.
Signal selecting means for selecting one of a plurality of input signals from a current frame and a reference frame for a plurality of input signals based on a color specification form; and a current frame based on the input signal selected by the signal selecting means. Motion vector search means for searching for a motion vector from a reference frame, a motion vector storage means for storing a motion vector searched for in a previous frame by the motion vector search unit, and a previous frame stored in the motion vector storage means. A plurality of prediction error calculation means for respectively calculating a prediction error for each input signal in the current frame when the motion vector searched for in the current frame is used, and the signal selection means includes a plurality of the prediction error calculation means. Selecting one of a plurality of input signals based on a prediction error operation value output from the It is.

【0014】また、上記動きベクトル検出装置におい
て、表色の形態に基づく複数の入力信号を、輝度信号
Y、色差信号CB、色差信号CRとしたことを特徴とす
るものである。
Further, in the above motion vector detecting apparatus, the plurality of input signals based on the color specification form are a luminance signal Y, a color difference signal CB, and a color difference signal CR.

【0015】また、他の発明に係る動きベクトル検出装
置は、画像を複数のブロックに分割し、該ブロック毎に
動きベクトルを求める動きベクトル検出装置において、
入力される輝度信号Y、色差信号CB、色差信号CRに
対し所定の重み付け演算を行いY/CB/CR重み付け
信号を得るY/CB/CR重み付け演算手段と、前フレ
ームのY/CB/CR重み付け信号を記憶する動き検出
用Y/CB/CR重み付け信号記憶手段と、輝度信号Y
とY/CB/CR重み付け信号との各々に対して現フレ
ームと参照フレームより動きベクトルを探索する動きベ
クトル探索手段と、輝度信号YとY/CB/CR重み付
け信号に対し前記ブロック毎に平坦か否かを判定する平
坦判定手段と、前フレームで検出した動きベクトルを記
憶する動きベクトル記憶手段と、入力される輝度信号Y
と、前記Y/CB/CR重み付け演算手段からのY/C
B/CR重み付け信号と、前記動きベクトル記憶手段に
記憶された前フレームで検出した動きベクトル、及び前
記動き検出用Y/CB/CR重み付け信号記憶手段に記
憶されたY/CB/CR重み付け信号に基づいて現フレ
ームでの予測誤差を算出する予測誤差演算手段と、前フ
レームで検出した動きベクトルを用いた場合の前記予測
誤差演算手段から出力される現フレームでの予測誤差演
算値及び前記平坦判定手段の出力に基づいて前記動きベ
クトル探索手段の出力から最終的な動きベクトルを選択
する動きベクトル選択手段とを備えたことを特徴とする
ものである。
According to another aspect of the present invention, there is provided a motion vector detecting apparatus for dividing an image into a plurality of blocks and obtaining a motion vector for each of the blocks.
Y / CB / CR weighting means for performing a predetermined weighting operation on the input luminance signal Y, color difference signal CB, and color difference signal CR to obtain a Y / CB / CR weighting signal, and Y / CB / CR weighting of the previous frame A motion detection Y / CB / CR weighting signal storage means for storing a signal;
Motion vector searching means for searching for a motion vector from the current frame and the reference frame for each of the Y and CB / CR weighting signals, and determining whether the luminance signal Y and the Y / CB / CR weighting signal are flat for each block. Flatness determining means for determining whether or not the motion vector is detected, a motion vector storing means for storing a motion vector detected in the previous frame,
And Y / C from the Y / CB / CR weighting means.
A B / CR weighting signal, a motion vector detected in the previous frame stored in the motion vector storage means, and a Y / CB / CR weighting signal stored in the motion detection Y / CB / CR weighting signal storage means. Prediction error calculation means for calculating a prediction error in the current frame based on the prediction error calculation value in the current frame output from the prediction error calculation means when the motion vector detected in the previous frame is used, and the flatness determination Motion vector selecting means for selecting a final motion vector from the output of the motion vector searching means based on the output of the means.

【0016】さらに、さらに他の発明に係る動きベクト
ル検出装置は、画像を複数のブロックに分割し、該ブロ
ック毎に動きベクトルを求める動きベクトル検出装置に
おいて、入力される輝度信号Y、色差信号CB、色差信
号CRに対し所定の重み付け演算を行いY/CB/CR
重み付け信号を得るY/CB/CR重み付け演算手段
と、前フレームのY/CB/CR重み付け信号を記憶す
る動き検出用Y/CB/CR重み付け信号記憶手段と、
輝度信号YとY/CB/CR重み付け信号に対し前記ブ
ロック毎に平坦か否かを判定する平坦判定手段と、前フ
レームで検出した動きベクトルを記憶する動きベクトル
記憶手段と、入力される輝度信号Yと、前記Y/CB/
CR重み付け演算手段からのY/CB/CR重み付け信
号と、前記動きベクトル記憶手段に記憶された前フレー
ムで検出した動きベクトル、及び前記動き検出用Y/C
B/CR重み付け信号記憶手段に記憶されたY/CB/
CR重み付け信号に基づいて現フレームでの予測誤差を
算出する予測誤差演算手段と、前フレームで検出した動
きベクトルを用いた場合の現フレームでの予測誤差を算
出する予測誤差演算手段の出力する予測誤差演算値及び
前記平坦判定手段の出力に基づいて輝度信号Yと、前記
Y/CB/CR重み付け演算手段の出力から1つを選択す
る信号選択手段と、前記信号選択手段の選択した入力信
号に基づき現フレームと参照フレームより動きベクトル
を探索する動きベクトル探索手段とを備えたことを特徴
とするものである。
A motion vector detecting apparatus according to still another aspect of the present invention is a motion vector detecting apparatus which divides an image into a plurality of blocks and obtains a motion vector for each of the blocks. , Y / CB / CR by performing a predetermined weighting operation on the color difference signal CR
Y / CB / CR weight calculation means for obtaining a weight signal, Y / CB / CR weight signal storage means for motion detection for storing the Y / CB / CR weight signal of the previous frame,
Flatness determining means for determining whether or not the luminance signal Y and the Y / CB / CR weighting signal are flat for each block; motion vector storing means for storing a motion vector detected in the previous frame; Y and the Y / CB /
A Y / CB / CR weighting signal from the CR weighting means, a motion vector detected in the previous frame stored in the motion vector storage means, and the Y / C for motion detection
Y / CB / B / CR stored in the B / CR weight signal storage means
Prediction error calculating means for calculating a prediction error in the current frame based on the CR weighting signal, and prediction output from the prediction error calculating means for calculating a prediction error in the current frame when a motion vector detected in the previous frame is used A signal selecting means for selecting one of the luminance signal Y and an output of the Y / CB / CR weighting calculating means based on an error calculation value and an output of the flatness determining means; and an input signal selected by the signal selecting means. And a motion vector searching means for searching for a motion vector from the current frame and the reference frame based on the current frame and the reference frame.

【0017】[0017]

【発明の実施の形態】実施の形態1.図1はこの発明の
実施の形態1に係る動きベクトル検出装置を用いた画像
圧縮装置の構成図である。図1において、基本的な構成
は図5に示す従来例と同様であり、動きベクトル検出器
100の構成のみが異なる。以下、動きベクトル検出器
100のみを説明し、図4と同一部分は同一符号を付し
てその説明は省略する。新たな符号として、50は前フ
レームで検出した動きベクトル、つまりベクトル選択部
33により選択された動きベクトルを記憶する動きベク
トルメモリ、51、52、53は前フレームで検出した
動きベクトルを用いた場合の現フレームでの予測誤差を
それぞれ算出する予測誤差演算部であり、動きベクトル
選択部33は、動きベクトル探索部30、31、32か
らそれぞれ出力される動きベクトルのうちいずれか1つ
を選択する際、上記予測誤差演算部51、52、53か
ら出力される予測誤差演算値に基づいて各々の動きベク
トル探索部30、31、32から出力される最終的な動
きベクトルを選択する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1 FIG. 1 is a configuration diagram of an image compression device using a motion vector detection device according to Embodiment 1 of the present invention. 1, the basic configuration is the same as the conventional example shown in FIG. 5, and only the configuration of the motion vector detector 100 is different. Hereinafter, only the motion vector detector 100 will be described, and the same portions as those in FIG. 4 will be denoted by the same reference numerals and description thereof will be omitted. As a new code, 50 is a motion vector detected in the previous frame, that is, a motion vector memory storing the motion vector selected by the vector selection unit 33, and 51, 52, and 53 are motion vectors detected in the previous frame. Is a prediction error calculation unit that calculates a prediction error in the current frame, and the motion vector selection unit 33 selects one of the motion vectors output from the motion vector search units 30, 31, and 32, respectively. At this time, the final motion vectors output from the respective motion vector search units 30, 31, 32 are selected based on the prediction error operation values output from the prediction error operation units 51, 52, 53.

【0018】次に動作について説明する。まず、3つの
動きベクトル探索部30、31、32がそれぞれ輝度信
号Y、色差信号CB、CRの各々についての動きベクト
ルを求める。動きベクトル探索部30、31、32で求
まった輝度信号Y、色差信号CB、CRの各々について
の動きベクトルから動きベクトル選択部33が以下のよ
うにして1つを選択する。始めに、現フレームの輝度信
号Y、色差信号CB、CRの各々のブロックについて予
測誤差演算部51、52、53により前フレームで検出
された動きベクトルを当てはめた場合の動き補償予測誤
差(以下、前フレーム動き補償予測誤差と呼ぶ)を算出
する。前フレームの動きベクトルは動きベクトルメモリ
50が記憶している。
Next, the operation will be described. First, the three motion vector search units 30, 31, and 32 determine a motion vector for each of the luminance signal Y and the color difference signals CB and CR. The motion vector selection unit 33 selects one from the motion vectors for the luminance signal Y and the color difference signals CB and CR obtained by the motion vector search units 30, 31, and 32 as follows. First, a motion compensation prediction error (hereinafter, referred to as the following) when the motion vector detected in the previous frame by the prediction error calculation units 51, 52, and 53 is applied to each block of the luminance signal Y and the color difference signals CB and CR of the current frame. (Referred to as a previous frame motion compensation prediction error). The motion vector of the previous frame is stored in the motion vector memory 50.

【0019】動きベクトル選択部33の選択は、前フレ
ームの選択モードが輝度信号Y、色差信号CB、CRの
何れであったかにより処理が異なる。例えば前フレーム
の選択モードが輝度信号Yであった場合、すなわち前フ
レームで輝度信号Yの動きベクトルが選択されていた場
合は、まず、予測誤差演算部53による色差信号CRの
前フレーム動き補償予測誤差演算結果と予め設定された
閾値との比較を行い、その結果により処理が分かれる。
演算結果が予め設定された閾値より大きかった場合は動
きベクトル探索部32による色差信号CRの動きベクト
ルが選択される。演算結果が予め設定された閾値以下で
あった場合、予測誤差演算部52による色差信号CBの
前フレーム動き補償予測誤差演算結果と予め設定された
閾値との比較を行い、その結果により処理が分かれる。
演算結果が予め設定された閾値より大きかった場合は動
きベクトル探索部31による色差信号CBの動きベクト
ルが選択される。演算結果が予め設定された閾値以下で
あった場合は動きベクトル探索部30による輝度信号Y
の動きベクトルが選択される。
The process of selecting the motion vector selecting section 33 is different depending on whether the selection mode of the previous frame is the luminance signal Y or the color difference signals CB or CR. For example, when the selection mode of the previous frame is the luminance signal Y, that is, when the motion vector of the luminance signal Y has been selected in the previous frame, first, the prediction error calculation unit 53 performs the previous frame motion compensation prediction of the color difference signal CR. The error calculation result is compared with a preset threshold value, and the processing is divided depending on the result.
If the calculation result is larger than the preset threshold, the motion vector of the color difference signal CR by the motion vector search unit 32 is selected. If the calculation result is equal to or less than the preset threshold value, the prediction error calculation unit 52 compares the previous frame motion compensation prediction error calculation result of the chrominance signal CB with the preset threshold value, and the processing is divided depending on the result. .
If the calculation result is larger than the preset threshold, the motion vector of the color difference signal CB is selected by the motion vector search unit 31. If the calculation result is equal to or less than the preset threshold, the luminance signal Y
Are selected.

【0020】また、前フレームの選択モードが色差信号
CRであった場合、すなわち前フレームで色差信号CR
の動きベクトルが選択されていた場合は、まず、予測誤
差演算部51による輝度信号Yの前フレーム動き補償予
測誤差演算結果と予め設定された閾値との比較を行い、
その結果により処理が分かれる。演算結果が予め設定さ
れた閾値より大きかった場合は動きベクトル探索部30
による輝度信号Yの動きベクトルが選択される。演算結
果が予め設定された閾値以下であった場合、予測誤差演
算部52による色差信号CBの前フレーム動き補償予測
誤差演算結果と予め設定された閾値との比較を行い、そ
の結果により処理が分かれる。演算結果が予め設定され
た閾値より大きかった場合は動きベクトル探索部31に
よる色差信号CBの動きベクトルが選択される。演算結
果が予め設定された閾値以下であった場合は、動きベク
トル探索部32による色差信号CRの動きベクトルが選
択される。
If the selection mode of the previous frame is the color difference signal CR, that is, the color difference signal CR
Is selected, first, the result of the previous frame motion compensation prediction error calculation of the luminance signal Y by the prediction error calculation unit 51 is compared with a preset threshold value.
Processing is divided depending on the result. If the calculation result is larger than a preset threshold, the motion vector search unit 30
, A motion vector of the luminance signal Y is selected. If the calculation result is equal to or less than the preset threshold value, the prediction error calculation unit 52 compares the previous frame motion compensation prediction error calculation result of the chrominance signal CB with the preset threshold value, and the processing is divided depending on the result. . If the calculation result is larger than the preset threshold, the motion vector of the color difference signal CB is selected by the motion vector search unit 31. If the calculation result is equal to or less than the preset threshold, the motion vector of the color difference signal CR is selected by the motion vector search unit 32.

【0021】さらに、前フレームの選択モードが色差信
号CBであった場合、すなわち前フレームで色差信号C
Bの動きベクトルが選択されていた場合は、まず、予測
誤差演算部51による輝度信号Yの前フレーム動き補償
予測誤差演算結果と予め設定された閾値との比較を行
い、その結果により処理が分かれる。演算結果が予め設
定された閾値より大きかった場合は、動きベクトル探索
部30による輝度信号Yの動きベクトルが選択される。
演算結果が予め設定された閾値以下であった場合、予測
誤差演算部53による色差信号CRの前フレーム動き補
償予測誤差演算結果と予め設定された閾値との比較を行
い、その結果により処理が分かれる。演算結果が予め設
定された閾値より大きかった場合は動きベクトル探索部
32による色差信号CRの動きベクトルが選択される。
演算結果が予め設定された閾値以下であった場合は、動
きベクトル探索部31による色差信号CBの動きベクト
ルが選択される。
Further, when the selection mode of the previous frame is the color difference signal CB, that is, the color difference signal C
When the B motion vector is selected, first, the result of the previous frame motion compensation prediction error calculation of the luminance signal Y by the prediction error calculation unit 51 is compared with a preset threshold value, and the processing is divided depending on the result. . If the calculation result is larger than the preset threshold, the motion vector of the luminance signal Y is selected by the motion vector search unit 30.
If the calculation result is equal to or less than the preset threshold value, the prediction error calculation unit 53 compares the previous frame motion compensation prediction error calculation result of the color difference signal CR with a preset threshold value, and the processing is divided according to the result. . If the calculation result is larger than the preset threshold, the motion vector of the color difference signal CR by the motion vector search unit 32 is selected.
If the calculation result is equal to or smaller than the preset threshold, the motion vector of the color difference signal CB is selected by the motion vector search unit 31.

【0022】このようして、動きベクトル選択部33に
より選択された動きベクトルは、輝度、色差の画面サイ
ズに合わせて拡大、縮小して使用される。また、動きベ
クトルメモリ50は選択された動きベクトル及び選択モ
ードを記憶する。
The motion vector selected by the motion vector selecting section 33 is used after being enlarged or reduced according to the screen size of luminance and color difference. The motion vector memory 50 stores the selected motion vector and the selection mode.

【0023】以上のように、この実施の形態1によれ
ば、前フレーム動き補償予測誤差演算結果に基づいて、
輝度信号Y、色差信号CB、CRのベクトルを選択して
用いるため、例えば図6に示すように輝度ブロックが平
坦ではなくとも、色差信号の動きベクトルを選択した方
が好適な場合には色差信号の動きベクトルが選択され
る。
As described above, according to the first embodiment, based on the previous frame motion compensation prediction error calculation result,
Since the vectors of the luminance signal Y and the color difference signals CB and CR are selected and used, for example, even if the luminance block is not flat as shown in FIG. Are selected.

【0024】実施の形態2.図2はこの発明の実施の形
態2に係る動きベクトル検出装置を用いた画像圧縮装置
を示す構成図であり、基本的な構成は図1と同様である
が、動きベクトル検出器100の構成のみが異なる。以
下、動きベクトル検出器100のみを説明し、図1と同
一部分は同一符号を付してその説明は省略する。新たな
符号として、60は表色の形態に基づく各入力信号に対
して現フレームと参照フレームより輝度信号Y、色差信
号CB、CRのいずれか1つを選択する信号選択部であ
り、この信号選択部60は、予測誤差演算部51、5
2、53から出力される予測誤差演算値に基づいて信号
選択を行う。34は信号選択部60により選択した入力
信号に基づいて現フレームと参照フレームより動きベク
トルを探索する動きベクトル探索部である。
Embodiment 2 FIG. FIG. 2 is a configuration diagram showing an image compression device using a motion vector detection device according to Embodiment 2 of the present invention. The basic configuration is the same as that of FIG. Are different. Hereinafter, only the motion vector detector 100 will be described, and the same parts as those in FIG. 1 will be denoted by the same reference numerals and description thereof will be omitted. As a new code, reference numeral 60 denotes a signal selection unit for selecting one of the luminance signal Y and the color difference signals CB and CR from the current frame and the reference frame for each input signal based on the color specification. The selection unit 60 includes prediction error calculation units 51, 5
Signal selection is performed based on the prediction error calculation values output from 2, 53. Reference numeral 34 denotes a motion vector search unit that searches for a motion vector from the current frame and the reference frame based on the input signal selected by the signal selection unit 60.

【0025】次に動作について、実施の形態1と異なる
部分に絞って説明を行う。動きベクトル探索部34、予
測誤差演算部51、52、53及び動きベクトルメモリ
50については図1と同じものであるので説明を省略す
る。既述した実施の形態1では、3つの動きベクトル探
索部の出力結果から1つを選択したが、この実施の形態
2では、動きベクトル探索部は1つしか持たず、動きベ
クトル探索部34への入力を信号選択部60が以下のよ
うに選択する。
Next, the operation will be described focusing on the parts different from the first embodiment. The motion vector search unit 34, the prediction error calculation units 51, 52, 53 and the motion vector memory 50 are the same as those in FIG. In Embodiment 1 described above, one is selected from the output results of the three motion vector search units. In Embodiment 2, however, only one motion vector search unit is provided. Is selected by the signal selection unit 60 as follows.

【0026】信号選択部60の選択は、前フレームの選
択モードが輝度信号Y、色差信号CB、CRの何れであ
ったかにより処理が異なる。前フレームの選択モードが
輝度信号Yであった場合、すなわち前フレームで動きベ
クトル探索部34への入力として輝度信号Yが選択され
ていた場合は、まず、予測誤差演算部53による色差信
号CRの前フレームの動き補償予測誤差演算結果と予め
設定された閾値との比較を行い、その結果により処理が
分かれる。演算結果が予め設定された閾値より大きかっ
た場合は動きベクトル探索部34への入力として色差信
号CRが選択される。演算結果が予め設定された閾値以
下であった場合は予測誤差演算部52による色差信号C
Bの前フレーム動き補償予測誤差演算結果と予め設定さ
れた閾値との比較を行い、その結果により処理が分かれ
る。演算結果が予め設定された閾値より大きかった場合
は動きベクトル探索部34への入力として色差信号CB
が選択される。演算結果が予め設定された閾値以下であ
った場合、動きベクトル探索部34への入力として輝度
信号Yが選択される。
The process of selecting the signal selecting section 60 differs depending on whether the selection mode of the previous frame is the luminance signal Y or the color difference signals CB or CR. If the selection mode of the previous frame is the luminance signal Y, that is, if the luminance signal Y has been selected as an input to the motion vector search unit 34 in the previous frame, first, the prediction error calculation unit 53 calculates the color difference signal CR. The calculation result of the motion compensation prediction error of the previous frame is compared with a preset threshold value, and the processing is divided depending on the result. If the calculation result is larger than a preset threshold, the color difference signal CR is selected as an input to the motion vector search unit 34. If the calculation result is equal to or smaller than the preset threshold value, the color difference signal C
The result of the previous frame motion compensation prediction error calculation for B is compared with a preset threshold value, and processing is divided depending on the result. If the calculation result is larger than the preset threshold, the color difference signal CB is input to the motion vector search unit 34.
Is selected. If the calculation result is equal to or smaller than the preset threshold, the luminance signal Y is selected as an input to the motion vector search unit 34.

【0027】前フレームの選択モードが色差信号CRで
あった場合、すなわち前フレームで動きベクトル探索部
34への入力として色差信号CRが選択されていた場合
は、まず、予測誤差演算部51による輝度信号Yの前フ
レーム動き補償予測誤差演算結果と予め設定された閾値
との比較を行い、その結果により処理が分かれる。演算
結果が予め設定された閾値より大きかった場合は動きベ
クトル探索部34への入力として輝度信号Yが選択され
る。演算結果が予め設定された閾値以下であった場合は
予測誤差演算部52による色差信号CBの前フレーム動
き補償予測誤差演算結果と予め設定された閾値との比較
を行い、その結果により処理が分かれる。演算結果が予
め設定された閾値より大きかった場合は動きベクトル探
索部34への入力として色差信号CBが選択される。演
算結果が予め設定された閾値以下であった場合は動きベ
クトル探索部34への入力として色差信号CRが選択さ
れる。
When the selection mode of the previous frame is the chrominance signal CR, that is, when the chrominance signal CR is selected as the input to the motion vector search unit 34 in the previous frame, first, the luminance by the prediction error calculation unit 51 The result of the previous frame motion compensation prediction error calculation of the signal Y is compared with a preset threshold value, and processing is divided depending on the result. If the calculation result is larger than a preset threshold, the luminance signal Y is selected as an input to the motion vector search unit 34. If the calculation result is equal to or smaller than the preset threshold value, the prediction error calculation unit 52 compares the previous frame motion compensation prediction error calculation result of the chrominance signal CB with the preset threshold value, and the processing is divided depending on the result. . If the calculation result is larger than a preset threshold, the color difference signal CB is selected as an input to the motion vector search unit 34. When the calculation result is equal to or smaller than the preset threshold, the color difference signal CR is selected as an input to the motion vector search unit 34.

【0028】前フレームの選択モードが色差信号CBで
あった場合、すなわち前フレームで動きベクトル探索部
34への入力として色差信号CBが選択されていた場
合、まず、予測誤差演算部51による輝度信号Yの前フ
レーム動き補償予測誤差演算結果と予め設定された閾値
との比較を行い、その結果により処理が分かれる。演算
結果が予め設定された閾値より大きかった場合は動きベ
クトル探索部34への入力として輝度信号Yが選択され
る。演算結果が予め設定された閾値以下であった場合は
予測誤差演算部53による色差信号CRの前フレーム動
き補償予測誤差演算結果と予め設定された閾値との比較
を行い、その結果により処理が分かれる。演算結果が予
め設定された閾値より大きかった場合は動きベクトル探
索部34への入力として色差信号CRが選択される。演
算結果が予め設定された閾値以下であった場合は動きベ
クトル探索部34への入力として色差信号CBが選択さ
れる。
If the selection mode of the previous frame is the chrominance signal CB, that is, if the chrominance signal CB has been selected as an input to the motion vector search unit 34 in the previous frame, first, the prediction error calculation unit 51 The result of the motion compensation prediction error calculation for the previous frame of Y is compared with a preset threshold value, and the processing is divided depending on the result. If the calculation result is larger than a preset threshold, the luminance signal Y is selected as an input to the motion vector search unit 34. If the calculation result is equal to or smaller than the preset threshold value, the prediction error calculation unit 53 compares the previous frame motion compensation prediction error calculation result of the color difference signal CR with a preset threshold value, and the processing is divided according to the result. . If the calculation result is larger than a preset threshold, the color difference signal CR is selected as an input to the motion vector search unit 34. If the calculation result is equal to or smaller than the preset threshold, the color difference signal CB is selected as an input to the motion vector search unit 34.

【0029】このようして選択された動きベクトルは、
輝度、色差の画面サイズに合わせて拡大、縮小して使用
される。また、動きベクトルメモリ50は選択された動
きベクトル及び選択モードを記憶する。
The motion vector selected in this way is
It is enlarged and reduced according to the screen size of luminance and color difference. The motion vector memory 50 stores the selected motion vector and the selection mode.

【0030】以上のようにして、この実施の形態によれ
ば、実施の形態1と同様の効果を得ることができ、さら
により簡単な装置とすることができる。
As described above, according to this embodiment, the same effects as those of the first embodiment can be obtained, and an even simpler apparatus can be obtained.

【0031】また、実施の形態1、2では、入力信号を
輝度信号Y、色差信号CB、CRの3信号を用いたが、
3信号のうちの2信号のみを用いるようにして処理を簡
略化してもよい。
Further, in the first and second embodiments, three signals of the luminance signal Y and the color difference signals CB and CR are used as the input signals.
The processing may be simplified by using only two of the three signals.

【0032】実施の形態3.図3はこの発明の実施の形
態3に係る動きベクトル検出装置を用いた画像圧縮装置
の構成図である。図3において、基本的な構成は図1と
同様であるが、動きベクトル検出器100の構成のみが
異なる。以下、動きベクトル検出器100のみを説明
し、図2及び図7と同一部分は同一符号を付してその説
明は省略する。新たな符号として、70、71は輝度信
号Y、色差信号CB、CRに対して所定の演算を行うY
/CB/CR重み付け演算部、72は前フレームのY/
CB/CR重み付け演算部71からの信号(以下、Y/
CB/CR重み付け信号)を記憶しておく動き補償用フ
レームメモリである。
Embodiment 3 FIG. FIG. 3 is a configuration diagram of an image compression device using a motion vector detection device according to Embodiment 3 of the present invention. 3, the basic configuration is the same as that of FIG. 1, but only the configuration of the motion vector detector 100 is different. Hereinafter, only the motion vector detector 100 will be described, and the same portions as those in FIGS. 2 and 7 will be denoted by the same reference numerals and description thereof will be omitted. As new codes, 70 and 71 are used for performing predetermined operations on the luminance signal Y and the color difference signals CB and CR.
/ CB / CR weighting operation unit, 72 is the Y /
A signal from the CB / CR weighting operation unit 71 (hereinafter, Y /
This is a motion compensation frame memory for storing CB / CR weighting signals).

【0033】次に動作について、実施の形態1と異なる
部分に絞って説明を行う。動きベクトル探索部30、3
1、予測誤差演算部51、52及び動きベクトルメモリ
50については図2と同じものであるので説明を省略す
る。まず、Y/CB/CR重み付け演算部70、71
は、輝度信号Y、色差信号CB、CRに対して例えば下
式で表される演算を行い、Y/CB/CR重み付け信号
を生成する。 I=αY+βCb+γCr ただし、 Y :輝度信号 Cb :色差(CB)信号 Cr :色差(CR)信号 α、β、γ :定数(ただし、α+β+γ ≦1.0)
Next, the operation will be described focusing on the parts different from the first embodiment. Motion vector search units 30, 3
1. The prediction error calculation units 51 and 52 and the motion vector memory 50 are the same as those in FIG. First, the Y / CB / CR weighting calculation units 70 and 71
Performs an operation represented by, for example, the following equation on the luminance signal Y and the color difference signals CB and CR to generate a Y / CB / CR weighted signal. I = αY + βCb + γCr, where Y: luminance signal Cb: color difference (CB) signal Cr: color difference (CR) signal α, β, γ: constant (where α + β + γ ≦ 1.0)

【0034】実施の形態1では、最終的な動きベクトル
をベクトル探索部33が予測誤差演算部51、52、5
3の出力に従って動きベクトル探索部30、31、32
の出力から選択したが、実施の形態3では、予測誤差演
算部51、52及び平坦判定部40、41の出力に従っ
て最終的な動きベクトルを動きベクトル選択部33が輝
度信号Yの動きベクトル、Y/CB/CR重み付け信号
の動きベクトルから以下のようにして選択する。
In the first embodiment, the vector search unit 33 determines the final motion vector by using the prediction error calculation units 51, 52, 5
3, the motion vector search units 30, 31, 32
In the third embodiment, the motion vector selection unit 33 selects the final motion vector according to the outputs of the prediction error calculation units 51 and 52 and the flatness determination units 40 and 41. The selection is made as follows from the motion vector of the / CB / CR weight signal.

【0035】まず、現フレームの輝度信号Y、Y/CB
/CR重み付け信号の各々のブロックについて、平坦判
定部40、41が標準偏差や分散などの評価基準と予め
設定された閾値との比較を行い平坦か否かを判定する。
前フレームの選択モードが輝度信号Y、Y/CB/CR
重み付け信号の何れであったかにより以下のように処理
が異なる。
First, the luminance signals Y, Y / CB of the current frame
For each block of the / CR weighting signal, the flatness determination units 40 and 41 compare evaluation criteria such as standard deviation and variance with a preset threshold value to determine whether or not the block is flat.
The selection mode of the previous frame is the luminance signal Y, Y / CB / CR
The processing differs as follows depending on which of the weighting signals it is.

【0036】動きベクトル選択部33は、前フレームの
選択モードが輝度信号Yであった場合、すなわち前フレ
ームで動きベクトル探索部への入力として輝度信号Yが
選択されていた場合、まず、予測誤差演算部52による
Y/CB/CR重み付け信号の前フレーム動き補償予測
誤差演算結果と予め設定された閾値との比較を行い、そ
の結果により処理が分かれる。演算結果が予め設定され
た閾値より大きかった場合は動きベクトル探索部31に
よるY/CB/CR重み付け信号の動きベクトルが選択
される。演算結果が予め設定された閾値以下であった場
合、平坦判定部40及び41による輝度ブロック及びY
/CB/CR重み付け信号ブロックが平坦か否かの判定
により処理が分かれる。輝度ブロックが平坦でY/CB
/CR重み付け信号ブロックが平坦でなかった場合、動
きベクトル探索部31によるY/CB/CR重み付け信
号の動きベクトルが選択される。それ以外は動きベクト
ル探索部30による輝度信号Yの動きベクトルが選択さ
れる。
When the selection mode of the previous frame is the luminance signal Y, that is, when the luminance signal Y is selected as the input to the motion vector search unit in the previous frame, the motion vector The result of the previous frame motion compensation prediction error calculation of the Y / CB / CR weighted signal by the calculation unit 52 is compared with a preset threshold value, and the processing is divided depending on the result. If the calculation result is larger than the preset threshold, the motion vector of the Y / CB / CR weighted signal by the motion vector search unit 31 is selected. If the calculation result is equal to or less than a preset threshold, the luminance block and Y
The processing is divided depending on whether the / CB / CR weighted signal block is flat or not. Brightness block is flat and Y / CB
If the / CR weighted signal block is not flat, the motion vector of the Y / CB / CR weighted signal by the motion vector search unit 31 is selected. Otherwise, the motion vector of the luminance signal Y by the motion vector search unit 30 is selected.

【0037】前フレームの選択モードがY/CB/CR
重み付け信号であった場合、すなわち前フレームでY/
CB/CR重み付け信号の動きベクトルが選択されてい
た場合は、まず、予測誤差演算部51による輝度信号Y
の前フレーム動き補償予測誤差演算結果と予め設定され
た閾値との比較を行い、その結果により処理が分かれ
る。演算結果が予め設定された閾値より大きかった場合
は動きベクトル探索部30による輝度信号Yの動きベク
トルが選択される。演算結果が予め設定された閾値以下
であった場合、平坦判定部41によるY/CB/CR重
み付け信号ブロックが平坦か否かの判定により処理が分
かれる。Y/CB/CR重み付け信号ブロックが平坦で
あった場合、動きベクトル探索部30による輝度信号Y
の動きベクトルが選択される。それ以外は動きベクトル
探索部31によるY/CB/CR重み付け信号の動きベ
クトルが選択される。
The selection mode of the previous frame is Y / CB / CR
If the signal is a weighted signal, that is, Y /
If the motion vector of the CB / CR weighting signal has been selected, first, the luminance signal Y
The result of the previous frame motion compensation prediction error calculation is compared with a preset threshold value, and processing is divided depending on the result. If the calculation result is larger than a preset threshold, the motion vector of the luminance signal Y is selected by the motion vector search unit 30. If the calculation result is equal to or smaller than the preset threshold value, the processing is divided depending on whether or not the Y / CB / CR weighted signal block is flat by the flatness determination unit 41. If the Y / CB / CR weighted signal block is flat, the luminance signal Y
Are selected. Otherwise, the motion vector of the Y / CB / CR weighting signal by the motion vector search unit 31 is selected.

【0038】このようして選択された動きベクトルは、
輝度、色差の画面サイズに合わせて拡大、縮小して使用
される。また、動きベクトルメモリ50は選択された動
きベクトル及び選択モードを記憶する。
The motion vector selected in this way is
It is enlarged and reduced according to the screen size of luminance and color difference. The motion vector memory 50 stores the selected motion vector and the selection mode.

【0039】以上のようにして、この実施の形態によれ
ば、実施の形態1と同様の効果を得ることができ、さら
により簡単な装置とすることができる。
As described above, according to this embodiment, the same effects as those of the first embodiment can be obtained, and an even simpler apparatus can be obtained.

【0040】また、実施の形態3では、輝度信号YとY
/CB/CR重み付け信号の2信号からの選択とした
が、Y/CB/CR重み付け信号を演算内容の異なる複
数通り用意して、N信号(N>2)からの選択としても
よい。
In the third embodiment, the luminance signals Y and Y
Although the selection is made from two signals of the / CB / CR weighting signal, a plurality of Y / CB / CR weighting signals having different calculation contents may be prepared, and the selection may be made from N signals (N> 2).

【0041】実施の形態4.図4はこの発明の実施の形
態4に係る動きベクトル検出装置を用いた画像圧縮装置
の構成図である。図4において、基本的な構成は図2及
び図3と同様であるが、動きベクトル検出器100の構
成のみが異なる。以下、動きベクトル検出器100のみ
を説明し、図2及び図3と同一部分は同一符号を付して
その説明は省略する。
Embodiment 4 FIG. FIG. 4 is a configuration diagram of an image compression device using a motion vector detection device according to Embodiment 4 of the present invention. In FIG. 4, the basic configuration is the same as in FIGS. 2 and 3, except for the configuration of the motion vector detector 100. Hereinafter, only the motion vector detector 100 will be described, and the same portions as those in FIGS. 2 and 3 will be denoted by the same reference numerals and description thereof will be omitted.

【0042】次に動作について、実施の形態2と異なる
部分に絞って説明を行う。動きベクトル探索部34、予
測誤差演算部51、52及び動きベクトルメモリ50に
ついては図2と同じものであるので説明を省略する。ま
ず、Y/CB/CR重み付け演算部70、71は、輝度
信号Y、色差信号CB、CRに対して例えば実施の形態
3で示された式で表される演算を行い、Y/CB/CR
重み付け信号を生成する。
Next, the operation will be described focusing on the parts different from the second embodiment. The motion vector search unit 34, the prediction error calculation units 51 and 52, and the motion vector memory 50 are the same as those in FIG. First, the Y / CB / CR weighting calculation units 70 and 71 perform the calculation represented by, for example, the expression shown in the third embodiment on the luminance signal Y, the color difference signals CB and CR, and perform Y / CB / CR.
Generate a weighting signal.

【0043】実施の形態2では、動きベクトル探索部3
4への入力を信号選択部60が予測誤差演算部51、5
2、53の出力に従って輝度信号Y、色差信号CB、C
Rから選択したが、この実施の形態3では、予測誤差演
算部51、52及び平坦判定部40、41の出力に従っ
て動きベクトル探索部34への入力を信号選択部60が
輝度信号Y、Y/CB/CR重み付け信号の何れかを以
下のようにして選択する。
In the second embodiment, the motion vector search unit 3
The signal selection unit 60 inputs the input to 4 into the prediction error calculation units 51 and 5.
2, 53, the luminance signal Y and the color difference signals CB, C
However, in the third embodiment, the signal selection unit 60 inputs the input to the motion vector search unit 34 according to the outputs of the prediction error calculation units 51 and 52 and the flatness determination units 40 and 41. One of the CB / CR weighting signals is selected as follows.

【0044】まず、現フレームの輝度信号Y、Y/CB
/CR重み付け信号の各々のブロックについて平坦判定
部40、41が標準偏差や分散などの評価基準と予め設
定された閾値との比較を行い平坦か否かを判定する。前
フレームの選択モードが輝度信号Y、Y/CB/CR重
み付け信号の何れであったかにより以下のように処理が
異なる。
First, the luminance signals Y, Y / CB of the current frame
For each block of the / CR weighting signal, the flatness determination units 40 and 41 compare evaluation criteria such as standard deviation and variance with a preset threshold to determine whether or not the block is flat. The processing differs as follows depending on whether the selection mode of the previous frame is the luminance signal Y or the Y / CB / CR weighting signal.

【0045】信号選択部60は、前フレームの選択モー
ドが輝度信号Yであった場合、すなわち前フレームで動
きベクトル探索部34への入力として輝度信号Yが選択
されていた場合、まず、予測誤差演算部52によるY/
CB/CR重み付け信号の前フレーム動き補償予測誤差
演算結果と予め設定された閾値との比較を行い、その結
果により処理が分かれる。演算結果が予め設定された閾
値より大きかった場合は動きベクトル探索部34への入
力としてY/CB/CR重み付け信号が選択される。演
算結果が予め設定された閾値以下であった場合、平坦判
定部40及び41による輝度ブロック及びY/CB/C
R重み付け信号ブロックが平坦か否かの判定で処理が分
かれる。輝度ブロックが平坦でY/CB/CR重み付け
信号ブロックが平坦でなかった場合、動きベクトル探索
部34への入力としてY/CB/CR重み付け信号が選
択される。それ以外は動きベクトル探索部34への入力
として輝度信号Yが選択される。
When the selection mode of the previous frame is the luminance signal Y, that is, when the luminance signal Y is selected as the input to the motion vector search unit 34 in the previous frame, the signal selection unit 60 Y /
The result of the previous frame motion compensation prediction error calculation of the CB / CR weighted signal is compared with a preset threshold value, and processing is divided depending on the result. If the calculation result is larger than a preset threshold, a Y / CB / CR weighting signal is selected as an input to the motion vector search unit 34. If the calculation result is equal to or smaller than the preset threshold, the luminance blocks and Y / CB / C
The process is divided depending on whether the R-weighted signal block is flat or not. If the luminance block is flat and the Y / CB / CR weighted signal block is not flat, the Y / CB / CR weighted signal is selected as an input to the motion vector search unit 34. Otherwise, the luminance signal Y is selected as an input to the motion vector search unit 34.

【0046】前フレームの選択モードがY/CB/CR
重み付け信号であった場合、すなわち前フレームで動き
ベクトル探索部への入力としてY/CB/CR重み付け
信号が選択されていた場合は、まず、予測誤差演算部5
1による輝度信号Yの前フレーム動き補償予測誤差演算
結果と予め設定された閾値との比較を行い、その結果に
より処理が分かれる。演算結果が予め設定された閾値よ
り大きかった場合は動きベクトル探索部34への入力と
して輝度信号Yが選択される。演算結果が予め設定され
た閾値以下であった場合、Y/CB/CR重み付け信号
ブロックが平坦か否かで処理が分かれる。Y/CB/C
R重み付け信号ブロックが平坦であった場合、動きベク
トル探索部34への入力として輝度信号Yが選択され
る。それ以外は動きベクトル探索部34への入力として
Y/CB/CR重み付け信号が選択される。
The selection mode of the previous frame is Y / CB / CR
If the signal is a weighted signal, that is, if the Y / CB / CR weighted signal has been selected as an input to the motion vector search unit in the previous frame, the prediction error calculation unit 5
The result of the previous frame motion compensation prediction error calculation of the luminance signal Y by 1 is compared with a preset threshold value, and the processing is divided depending on the result. If the calculation result is larger than a preset threshold, the luminance signal Y is selected as an input to the motion vector search unit 34. If the calculation result is equal to or less than the preset threshold, the processing is divided depending on whether the Y / CB / CR weighted signal block is flat or not. Y / CB / C
When the R-weighted signal block is flat, the luminance signal Y is selected as an input to the motion vector search unit 34. Otherwise, the Y / CB / CR weighting signal is selected as an input to the motion vector search unit 34.

【0047】このようして選択された動きベクトルは、
輝度、色差の画面サイズに合わせて拡大、縮小して使用
される。また、動きベクトルメモリ50は選択された動
きベクトル及び選択モードを記憶する。
The motion vector selected in this way is
It is enlarged and reduced according to the screen size of luminance and color difference. The motion vector memory 50 stores the selected motion vector and the selection mode.

【0048】以上のようにしてこの実施の形態によれ
ば、実施の形態2と同様の効果を得ることができ、さら
により簡単な装置とすることができる。
As described above, according to this embodiment, the same effects as those of the second embodiment can be obtained, and an even simpler device can be obtained.

【0049】また、実施の形態4では輝度信号YとY/
CB/CR重み付け信号の2信号からの選択としたが、
Y/CB/CR重み付け信号を演算内容の異なる複数通
り用意して、N信号(N>2)からの選択としてもよ
い。
In the fourth embodiment, the luminance signals Y and Y /
Although the selection was made from two signals of the CB / CR weighting signal,
A plurality of Y / CB / CR weighting signals having different calculation contents may be prepared and selected from N signals (N> 2).

【0050】また、上述した全ての実施の形態では輝度
信号Y、色差信号CB、CRの3信号を用いたが、R、
G、B信号や、Y、I、Q信号等の他の表色系の信号を
用いてもよい。
In all of the above embodiments, the three signals of the luminance signal Y and the color difference signals CB and CR are used.
Other color system signals such as G and B signals and Y, I and Q signals may be used.

【0051】また、上述した全ての実施の形態ではフレ
ームを基準とした動きベクトル検出を示したが、これを
フィールドを基準としても実施できることは明らかであ
ろう。
Further, in all the above-described embodiments, the motion vector detection based on the frame has been described. However, it is apparent that the detection can be performed based on the field.

【0052】尚、上述した全ての実施の形態で、動きベ
クトル探索部30、31、32の行う処理は、矩形ブロ
ック毎に動きベクトルを求めるためのどんな処理でもよ
い。
In all the above-described embodiments, the processing performed by the motion vector search units 30, 31, and 32 may be any processing for obtaining a motion vector for each rectangular block.

【0053】[0053]

【発明の効果】以上のように、この発明によれば、前フ
レームの動き補償予測誤差演算結果に基づいて、輝度信
号Y、色差信号CB、CRのベクトルを選択して用いる
ため、輝度ブロックが平坦ではなくとも、色差信号のベ
クトルを選択した方が好適な場合には色差信号のベクト
ルが選択されることになり、色情報を考慮して動きベク
トルの検出を行う際、動きベクトルの検出誤りを防ぎ、
正しい動きベクトルを精度よく検出することができる。
また、動きベクトル検出手段そのものは、従来のものを
そのまま用いることができるため、装置規模及び構成の
変更は比較的小規模である。
As described above, according to the present invention, since the luminance signal Y and the color difference signals CB and CR are selected and used based on the result of the motion compensation prediction error calculation of the previous frame, the luminance block Even if it is not flat, if it is preferable to select the color difference signal vector, the color difference signal vector is selected.When detecting the motion vector in consideration of the color information, the motion vector detection error Prevent
A correct motion vector can be accurately detected.
Further, since the conventional motion vector detecting means itself can be used as it is, changes in the apparatus scale and configuration are relatively small.

【0054】また、動きベクトル探索部の数を1つと
し、予測誤差演算部の出力と前フレームで選択された動
きベクトルが輝度信号Y、色差信号CB、CRの内のど
の信号により探索されたものかという情報に基づき、動
きベクトル探索部の入力を輝度信号Y、色差信号CB、
CRの内から選択するようにしたので、装置規模及び構
成の変更を比較的小規模なものとして小型化できる。
Further, assuming that the number of motion vector search units is one, the output of the prediction error calculation unit and the motion vector selected in the previous frame are searched by any one of the luminance signal Y and the color difference signals CB and CR. Based on the information as to whether the input signal is a motion vector search unit, a luminance signal Y, a color difference signal CB,
Since the selection is made from the CR, the change of the apparatus scale and the configuration can be made relatively small and downsized.

【0055】さらに、輝度信号と、Y/CB/CR重み
付け信号の各々のブロックについて平坦か否かの判定に
基づいて動きベクトルを選択するようにしたので、選択
された動きベクトルは輝度、色差の画面サイズに合わせ
て拡大、縮小して使用されるのに好適なものとなり、動
きベクトルの検出誤りを防ぎ、正しい動きベクトルを精
度よく検出することができる。
Further, since the motion vector is selected based on the determination as to whether or not each block of the luminance signal and the Y / CB / CR weighting signal is flat, the selected motion vector has the luminance and the chrominance. It is suitable to be used after being enlarged or reduced in accordance with the screen size, and it is possible to prevent a detection error of a motion vector and accurately detect a correct motion vector.

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

【図1】 この発明の実施の形態1における動きベクト
ル検出装置の構成図である。
FIG. 1 is a configuration diagram of a motion vector detection device according to Embodiment 1 of the present invention.

【図2】 この発明の実施の形態2における動きベクト
ル検出装置の構成図である。
FIG. 2 is a configuration diagram of a motion vector detection device according to a second embodiment of the present invention.

【図3】 この発明の実施の形態3における動きベクト
ル検出装置の構成図である。
FIG. 3 is a configuration diagram of a motion vector detection device according to a third embodiment of the present invention.

【図4】 この発明の実施の形態4における動きベクト
ル検出装置の構成図である。
FIG. 4 is a configuration diagram of a motion vector detection device according to a fourth embodiment of the present invention.

【図5】 従来の動きベクトル検出装置を示す構成図で
ある。
FIG. 5 is a configuration diagram showing a conventional motion vector detection device.

【図6】 従来の動きベクトル検出装置の動きベクトル
決定の説明図である。
FIG. 6 is an explanatory diagram of motion vector determination of a conventional motion vector detection device.

【図7】 この発明の動きベクトル検出装置の動きベク
トル決定の説明図である。
FIG. 7 is an explanatory diagram of a motion vector determination of the motion vector detection device of the present invention.

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

1 入力画像輝度信号Y、2 入力画像色差信号CB、
3 入力画像色差信号CR、4 バッファ回路、10
減算器、30、31、32、34 動きベクトル探索
部、33 動きベクトル選択部、40、41 平坦判定
部、50 動きベクトルメモリ、51、52、53 予
測誤差演算部、60 信号選択部、70、71 Y/C
B/CR重み付け演算部、72 動き検出用画像メモ
リ、100 動きベクトル検出器。
1 input image luminance signal Y, 2 input image color difference signals CB,
3 input image color difference signal CR, 4 buffer circuit, 10
Subtractor, 30, 31, 32, 34 motion vector search unit, 33 motion vector selection unit, 40, 41 flatness determination unit, 50 motion vector memory, 51, 52, 53 prediction error calculation unit, 60 signal selection unit, 70, 71 Y / C
B / CR weight calculation unit, 72 image memory for motion detection, 100 motion vector detector.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 画像を複数のブロックに分割し、該ブロ
ック毎に動きベクトルを求める動きベクトル検出装置に
おいて、 表色の形態に基づく複数の入力信号に対して現フレーム
と参照フレームより動きベクトルをそれぞれ探索する複
数の動きベクトル探索手段と、 上記複数の動きベクトル探索手段からそれぞれ出力され
る動きベクトルのうちいずれか1つを選択するベクトル
選択手段と、 上記ベクトル選択手段により前フレームで選択した動き
ベクトルを記憶する動きベクトル記憶手段と、 上記ベクトル記憶手段に記憶されている前フレームで選
択された動きベクトルを用いた場合の現フレームでの各
々の入力信号についての予測誤差をそれぞれ算出する複
数の予測誤差演算手段とを備え、上記ベクトル選択部
は、上記複数の予測誤差演算手段から出力される予測誤
差演算値に基づいて各々の動きベクトル探索手段の出力
から最終的な動きベクトルを選択することを特徴とする
動きベクトル検出装置。
1. A motion vector detecting device that divides an image into a plurality of blocks and obtains a motion vector for each block, wherein a motion vector is obtained from a current frame and a reference frame for a plurality of input signals based on a color specification form. A plurality of motion vector searching means for searching each; a vector selecting means for selecting any one of the motion vectors respectively output from the plurality of motion vector searching means; a motion selected in a previous frame by the vector selecting means A motion vector storage means for storing a vector, and a plurality of motion vector storage means for calculating a prediction error for each input signal in the current frame when using the motion vector selected in the previous frame stored in the vector storage means. A prediction error calculation unit, wherein the vector selection unit includes a plurality of prediction error calculation units. The motion vector detection device and selects a final motion vector from the output of each of the motion vector search means based on the prediction error values outputted from stage.
【請求項2】 画像を複数のブロックに分割し、該ブロ
ック毎に動きベクトルを求める動きベクトル検出装置に
おいて、 表色の形態に基づく複数の入力信号に対して現フレーム
と参照フレームより複数の入力信号のうちいずれか1つ
を選択する信号選択手段と、 上記信号選択手段によって選択した入力信号に基づき現
フレームと参照フレームより動きベクトルを探索する動
きベクトル探索手段と、 上記動きベクトル探索部により前フレームで探索された
動きベクトルを記憶する動きベクトル記憶手段と、 上記動きベクトル記憶手段により記憶されている前フレ
ームで探索された動きベクトルを用いた場合の現フレー
ムでの各々の入力信号についての予測誤差をそれぞれ算
出する複数の予測誤差演算手段とを備え、上記信号選択
手段は、上記複数の予測誤差演算手段から出力される予
測誤差演算値に基づいて複数の入力信号から1つを選択
することを特徴とする動きベクトル検出装置。
2. A motion vector detecting apparatus which divides an image into a plurality of blocks and obtains a motion vector for each block, wherein a plurality of input signals based on a color specification form are input from a current frame and a reference frame. Signal selection means for selecting any one of the signals; motion vector search means for searching for a motion vector from a current frame and a reference frame based on the input signal selected by the signal selection means; Motion vector storage means for storing a motion vector searched for in the frame, and prediction for each input signal in the current frame when the motion vector searched for in the previous frame stored by the motion vector storage means is used A plurality of prediction error calculation means for calculating the respective errors, the signal selection means, Motion vector detecting apparatus characterized by selecting one from a plurality of input signals based on the prediction error calculation value outputted from the number of the prediction error calculating unit.
【請求項3】 請求項1または2記載の動きベクトル検
出装置において、表色の形態に基づく複数の入力信号
を、輝度信号Y、色差信号CB、色差信号CRとしたこ
とを特徴とする動きベクトル検出装置。
3. The motion vector detecting device according to claim 1, wherein the plurality of input signals based on the color specification form are a luminance signal Y, a color difference signal CB, and a color difference signal CR. Detection device.
【請求項4】 画像を複数のブロックに分割し、該ブロ
ック毎に動きベクトルを求める動きベクトル検出装置に
おいて、 入力される輝度信号Y、色差信号CB、色差信号CRに
対し所定の重み付け演算を行いY/CB/CR重み付け
信号を得るY/CB/CR重み付け演算手段と、 前フレームのY/CB/CR重み付け信号を記憶する動
き検出用Y/CB/CR重み付け信号記憶手段と、 輝度信号YとY/CB/CR重み付け信号との各々に対
して現フレームと参照フレームより動きベクトルを探索
する動きベクトル探索手段と、 輝度信号YとY/CB/CR重み付け信号に対し前記ブ
ロック毎に平坦か否かを判定する平坦判定手段と、 前フレームで検出した動きベクトルを記憶する動きベク
トル記憶手段と、 入力される輝度信号Yと、前記Y/CB/CR重み付け
演算手段からのY/CB/CR重み付け信号と、前記動
きベクトル記憶手段に記憶された前フレームで検出した
動きベクトル、及び前記動き検出用Y/CB/CR重み
付け信号記憶手段に記憶されたY/CB/CR重み付け
信号に基づいて現フレームでの予測誤差を算出する予測
誤差演算手段と、 前フレームで検出した動きベクトルを用いた場合の前記
予測誤差演算手段から出力される現フレームでの予測誤
差演算値及び前記平坦判定手段の出力に基づいて前記動
きベクトル探索手段の出力から最終的な動きベクトルを
選択する動きベクトル選択手段とを備えたことを特徴と
する動きベクトル検出装置。
4. A motion vector detecting device for dividing an image into a plurality of blocks and obtaining a motion vector for each of the blocks, performs a predetermined weighting operation on the input luminance signal Y, color difference signal CB, and color difference signal CR. Y / CB / CR weighting calculating means for obtaining a Y / CB / CR weighting signal; Y / CB / CR weighting signal storage means for storing a Y / CB / CR weighting signal of the previous frame; Motion vector searching means for searching for a motion vector from the current frame and the reference frame for each of the Y / CB / CR weighting signals; and determining whether the luminance signal Y and the Y / CB / CR weighting signal are flat for each block. Flatness determining means for determining whether a motion vector is detected in a previous frame, a motion vector storing means for storing a motion vector detected in a previous frame, A Y / CB / CR weighting signal from the Y / CB / CR weighting calculation means, a motion vector detected in a previous frame stored in the motion vector storage means, and a Y / CB / CR weighting signal for motion detection. Prediction error calculation means for calculating a prediction error in the current frame based on the Y / CB / CR weighting signal stored in the means; and a prediction error calculation means using a motion vector detected in the previous frame. Motion vector selecting means for selecting a final motion vector from the output of the motion vector searching means based on the prediction error operation value in the current frame and the output of the flatness determining means. Detection device.
【請求項5】 画像を複数のブロックに分割し、該ブロ
ック毎に動きベクトルを求める動きベクトル検出装置に
おいて、 入力される輝度信号Y、色差信号CB、色差信号CRに
対し所定の重み付け演算を行いY/CB/CR重み付け
信号を得るY/CB/CR重み付け演算手段と、 前フレームのY/CB/CR重み付け信号を記憶する動
き検出用Y/CB/CR重み付け信号記憶手段と、 輝度信号YとY/CB/CR重み付け信号に対し前記ブ
ロック毎に平坦か否かを判定する平坦判定手段と、 前フレームで検出した動きベクトルを記憶する動きベク
トル記憶手段と、 入力される輝度信号Yと、前記Y/CB/CR重み付け
演算手段からのY/CB/CR重み付け信号と、前記動
きベクトル記憶手段に記憶された前フレームで検出した
動きベクトル、及び前記動き検出用Y/CB/CR重み
付け信号記憶手段に記憶されたY/CB/CR重み付け
信号に基づいて現フレームでの予測誤差を算出する予測
誤差演算手段と、 前フレームで検出した動きベクトルを用いた場合の現フ
レームでの予測誤差を算出する予測誤差演算手段の出力
する予測誤差演算値及び前記平坦判定手段の出力に基づ
いて輝度信号Yと、前記Y/CB/CR重み付け演算手段
の出力から1つを選択する信号選択手段と、 前記信号選択手段の選択した入力信号に基づき現フレー
ムと参照フレームより動きベクトルを探索する動きベク
トル探索手段とを備えたことを特徴とする動きベクトル
検出装置。
5. A motion vector detecting device which divides an image into a plurality of blocks and obtains a motion vector for each block, performs a predetermined weighting operation on the input luminance signal Y, color difference signal CB, and color difference signal CR. Y / CB / CR weighting calculating means for obtaining a Y / CB / CR weighting signal; Y / CB / CR weighting signal storage means for storing a Y / CB / CR weighting signal of the previous frame; Flatness determining means for determining whether or not the Y / CB / CR weighting signal is flat for each block; motion vector storing means for storing a motion vector detected in the previous frame; A Y / CB / CR weighting signal from the Y / CB / CR weighting means and a motion detected in the previous frame stored in the motion vector storage means; Prediction error calculating means for calculating a prediction error in the current frame based on the vector and the Y / CB / CR weighting signal stored in the Y / CB / CR weighting signal storage means for motion detection; The luminance signal Y and the Y / CB / CR weighting operation are calculated based on the prediction error operation value output from the prediction error operation means for calculating the prediction error in the current frame when a motion vector is used and the output of the flatness determination means. A signal selecting unit for selecting one from the output of the unit; and a motion vector searching unit for searching for a motion vector from a current frame and a reference frame based on the input signal selected by the signal selecting unit. Vector detection device.
JP377198A 1998-01-12 1998-01-12 Motion vector detection device Expired - Fee Related JP3941900B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP377198A JP3941900B2 (en) 1998-01-12 1998-01-12 Motion vector detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP377198A JP3941900B2 (en) 1998-01-12 1998-01-12 Motion vector detection device

Publications (2)

Publication Number Publication Date
JPH11205816A true JPH11205816A (en) 1999-07-30
JP3941900B2 JP3941900B2 (en) 2007-07-04

Family

ID=11566450

Family Applications (1)

Application Number Title Priority Date Filing Date
JP377198A Expired - Fee Related JP3941900B2 (en) 1998-01-12 1998-01-12 Motion vector detection device

Country Status (1)

Country Link
JP (1) JP3941900B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009238075A (en) * 2008-03-28 2009-10-15 Fujifilm Corp Image processor, image processing method, and program
US8126059B2 (en) 2007-07-31 2012-02-28 Sony Corporation Motion vector detection device and motion vector detection method
JP2013058969A (en) * 2011-09-09 2013-03-28 Toshiba Alpine Automotive Technology Corp Image processing apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8126059B2 (en) 2007-07-31 2012-02-28 Sony Corporation Motion vector detection device and motion vector detection method
JP2009238075A (en) * 2008-03-28 2009-10-15 Fujifilm Corp Image processor, image processing method, and program
JP2013058969A (en) * 2011-09-09 2013-03-28 Toshiba Alpine Automotive Technology Corp Image processing apparatus

Also Published As

Publication number Publication date
JP3941900B2 (en) 2007-07-04

Similar Documents

Publication Publication Date Title
JP3190529B2 (en) Video data block conversion system
US6418168B1 (en) Motion vector detection apparatus, method of the same, and image processing apparatus
KR950009699B1 (en) Motion vector detection method and apparatus
KR100207390B1 (en) Moving vector detecting method using hierachical motion predicting method
KR20040050127A (en) Device and method for motion estimating of video coder
JP3230263B2 (en) Motion vector detection circuit
JP2002532026A (en) Improvement of motion estimation and block matching pattern
US7885331B2 (en) Moving picture processor, method for processing a moving picture, and computer program product for executing an application for a moving picture processor
US5754237A (en) Method for determining motion vectors using a hierarchical motion estimation
JP3283159B2 (en) Image coding method by software
JPH01179584A (en) Method for searching motion compensating dynamic vector
US5787205A (en) Motion vector detecting device
US20070086525A1 (en) Motion vector detection method and device of the same
JP3941900B2 (en) Motion vector detection device
JPH08294129A (en) Motion vector detector and detection method
US20060062305A1 (en) Method for block-matching motion estimation with effective computation while small motion movement
US6931066B2 (en) Motion vector selection based on a preferred point
JP2642160B2 (en) Motion detection method of image processing device
US5841476A (en) Coding apparatus for encoding motion picture
KR20030065314A (en) Method of performing motion estimation
JP2907663B2 (en) Motion vector detection method
JPH0614316A (en) Motion vector detector
JPH11243546A (en) Image coder and method
JP2000078590A (en) Device and method for encoding and provision medium
JPH05328334A (en) Device for estimating moving vector

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041227

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070314

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070327

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070328

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100413

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110413

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120413

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120413

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130413

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130413

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140413

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees