JPH0918882A - Motion vector search method and apparatus thereof - Google Patents
Motion vector search method and apparatus thereofInfo
- Publication number
- JPH0918882A JPH0918882A JP7167229A JP16722995A JPH0918882A JP H0918882 A JPH0918882 A JP H0918882A JP 7167229 A JP7167229 A JP 7167229A JP 16722995 A JP16722995 A JP 16722995A JP H0918882 A JPH0918882 A JP H0918882A
- Authority
- JP
- Japan
- Prior art keywords
- sub
- unit
- evaluation function
- motion vector
- sampling
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Color Television Systems (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
(57)【要約】
【目的】 動き補償フレーム間符号化方式の動きベクト
ル検索方法において、動きベクトル検索のための演算量
を任意に削減することを目的とする。
【構成】 映像入力信号が記憶される入力フレームメモ
リ1a、前フレーム映像信号を蓄積する参照フレームメ
モリ1b及びサブサンプリング部1cを有し、サブサン
プリング部1cのサブサンプリングパターンをサブサン
プリング制御部1gで制御することにより、現ブロック
データ及び参照ブロックデータを取り込んでサブサンプ
リングし、この2種類のサブサンプリングデータを評価
関数算出部1dで評価演算する。この演算中の評価関数
値をしきい値比較部1eで比較して評価関数演算の先行
が有意かを判断し、有意と判断されたときは評価関数演
算を続行し、有意でないと判断されたときは評価関数演
算を打ち切り、算出中の評価関数値を動きベクトル判定
部1fに出力する。
(57) [Abstract] [Purpose] An object of the present invention is to arbitrarily reduce a calculation amount for motion vector search in a motion vector search method of a motion compensation interframe coding method. An input frame memory 1a in which a video input signal is stored, a reference frame memory 1b in which a previous frame video signal is stored, and a sub-sampling unit 1c are provided, and a sub-sampling pattern of the sub-sampling unit 1c is controlled by a sub-sampling control unit 1g. By controlling, the current block data and the reference block data are fetched and sub-sampled, and the two types of sub-sampling data are evaluated and calculated by the evaluation function calculation unit 1d. The threshold value comparing unit 1e compares the evaluation function value during the calculation to determine whether the preceding evaluation function calculation is significant. When it is determined to be significant, the evaluation function calculation is continued, and it is determined to be insignificant. At this time, the evaluation function calculation is aborted, and the evaluation function value being calculated is output to the motion vector determination unit 1f.
Description
【0001】[0001]
【産業上の利用分野】本発明は、動画像信号処理分野の
動き補償フレーム間符号化方式における動きベクトル検
索方法及びその装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a motion vector search method and device in a motion compensation interframe coding system in the field of moving image signal processing.
【0002】[0002]
【従来の技術】デジタル動画像信号の圧縮方法の1つと
して、隣接するフレーム間の差分を採るフレーム間符号
化方式がある。この方式は、フレーム間で動きが小さい
ときは圧縮率が高いが、動きが大きいときは差分が大き
くなるため圧縮率が低下してしまう。2. Description of the Related Art As one of the methods for compressing a digital moving image signal, there is an interframe coding method which takes a difference between adjacent frames. In this method, the compression rate is high when the movement between frames is small, but when the movement is large, the difference becomes large and the compression rate decreases.
【0003】そこで考えられたのが動き補償フレーム間
符号化方式である。これは動きベクトルを検出し、前フ
レームを動きベクトル分移動した後、現フレームとの差
分を探る方式である。動き補償フレーム間符号化方式に
おける動きベクトル検索方法は、一般に次のような従来
例がある。The motion-compensated inter-frame coding system was conceived there. This is a method of detecting a motion vector, moving the previous frame by the motion vector, and then searching for a difference from the current frame. As a motion vector search method in the motion-compensated interframe coding method, there are generally the following conventional examples.
【0004】図4は、従来の動きベクトル検索方法及び
その装置の構成を示している。図4において、4aは映
像入力信号を蓄積する入力フレームメモリであり、サブ
サンプリング部4cに現ブロックのデータを送出する。
4bは前フレーム信号を蓄積する参照フレームメモリで
あり、サブサンプリング部4cに参照ブロックのデータ
を送出する。4dは評価関数を演算する評価関数算出部
であり、動きベクトル判定部4fに演算結果を送出して
いる。動きベクトル判定部4fはサブサンプリング部4
cにどの参照ブロックを選択するか制御し動きベクトル
を出力する。FIG. 4 shows the structure of a conventional motion vector search method and apparatus. In FIG. 4, reference numeral 4a is an input frame memory for accumulating a video input signal, and sends the data of the current block to the sub-sampling unit 4c.
Reference numeral 4b is a reference frame memory for accumulating the previous frame signal, and sends the data of the reference block to the sub-sampling unit 4c. Reference numeral 4d is an evaluation function calculation unit that calculates an evaluation function, and sends the calculation result to the motion vector determination unit 4f. The motion vector determination unit 4f is the sub-sampling unit 4
It controls which reference block is selected for c and outputs a motion vector.
【0005】なお、サブサンプリング部4c、評価関係
算出部4d及び動きベクトル判定部4fは動き補償部を
構成する。The sub-sampling unit 4c, the evaluation relation calculating unit 4d and the motion vector judging unit 4f constitute a motion compensating unit.
【0006】次に上記従来例の動作について説明する。
図4において、映像入力信号が入力フレームメモリ4a
に送出される。参照フレームメモリ4bは前フレーム映
像信号を蓄積している。サブサンプリング部4cは固定
のサンプリングパターンで4aから現ブロックデータ
を、参照フレームメモリ4bから参照ブロックデータを
サブサンプリングする。2種類のサブサンプリングデー
タは評価関数算出部4dに送られ、そこで評価関数が算
出される。評価関数には差分信号の絶対値の総和や差分
信号の自乗値の総和などがよく用いられる。この評価関
数値の結果が動きベクトル判定部4fに送られる。動き
ベクトル判定部4fでは検索範囲を総て検索したかをチ
ェックし、まだ検索が全て完了していないときにはサブ
サンプリング部4cへ参照ブロックデータを変更し検索
を続行するように制御をし、全ての検索が終了したら動
きベクトルを決定し出力する。Next, the operation of the above conventional example will be described.
In FIG. 4, the video input signal is the input frame memory 4a.
Sent to The reference frame memory 4b stores the previous frame video signal. The sub-sampling unit 4c sub-samples the current block data from 4a and the reference block data from the reference frame memory 4b with a fixed sampling pattern. The two types of sub-sampling data are sent to the evaluation function calculation unit 4d, and the evaluation function is calculated there. A sum of absolute values of difference signals or a sum of squared values of difference signals is often used as the evaluation function. The result of this evaluation function value is sent to the motion vector determination unit 4f. The motion vector determination unit 4f checks whether or not all the search range has been searched, and when the search is not completed yet, the sub-sampling unit 4c is controlled to change the reference block data and continue the search, When the search is completed, the motion vector is determined and output.
【0007】このように上記従来の動きベクトル検索方
法では、サブサンプリング部が現ブロックデータと参照
ブロックデータを決められたサンプリングパターンでサ
ブサンプリングして、評価関数算出部で評価関数を演算
することによって動きベクトルを検索することができ
る。As described above, in the above-described conventional motion vector search method, the sub-sampling unit sub-samples the current block data and the reference block data with a predetermined sampling pattern, and the evaluation function calculation unit calculates the evaluation function. The motion vector can be searched.
【0008】[0008]
【発明が解決しようとする課題】しかしながら、上記従
来の動きベクトル検索方法では、サンプリングパターン
が固定であるため、さらに評価関数の演算量を削減した
り、逆に動きベクトルの精度を上げるためサブサンプリ
ングを密にすることができないという問題があった。さ
らに、評価関数算出は全てのサンプリングデータに対し
演算するため、評価関数値が算出途中で既に大きな値に
なり評価関数算出の続行が動きベクトルの検索上不必要
なことが分かっていても演算を実行するので演算量が多
いという問題があった。However, in the above-described conventional motion vector search method, since the sampling pattern is fixed, the sub-sampling is performed in order to further reduce the calculation amount of the evaluation function and conversely increase the accuracy of the motion vector. There was a problem that could not be dense. Furthermore, since the evaluation function calculation is performed on all sampling data, even if it is known that the evaluation function value has already become a large value during calculation and continuation of the evaluation function calculation is unnecessary for motion vector search, the calculation is performed. Since it is executed, there is a problem that the amount of calculation is large.
【0009】また、上記従来の動きベクトル検索方法で
は、動き補償部を含む符号器は復号器とは独立な系統と
想定されているため、画像符号化装置および画像復号化
装置を一定の処理能力しかもたない単一演算装置(例え
ばCPU)上で実現しようとする際に動きベクトル検索
の処理量の多さから他の画像符号化部や復号化部の処理
量が制限されてしまい、結果的に画質が劣化するという
問題があった。Further, in the above-described conventional motion vector search method, since the encoder including the motion compensation unit is assumed to be a system independent of the decoder, the image coding apparatus and the image decoding apparatus have a certain processing capability. Moreover, when it is attempted to realize it on a single arithmetic unit (for example, a CPU), the processing amount of other image encoding units and decoding units is limited due to the large amount of processing amount of motion vector search, resulting in There was a problem that the image quality deteriorates.
【0010】本発明はこのような従来の問題を解決する
ものであり、動きベクトル検索のための演算量を任意に
削減することができる優れた動きベクトル検索方法を提
供することを目的とするものである。The present invention solves such a conventional problem, and an object thereof is to provide an excellent motion vector search method capable of arbitrarily reducing the amount of calculation for motion vector search. Is.
【0011】[0011]
【課題を解決するための手段】本発明は上記目的を達成
するために、動き補償フレーム間符号化方式の動きベク
トル検出方法であって、現ブロックデータ及び参照ブロ
ックデータをサブサンプリングするサブサンプリング部
のサンプリングパターンを制御するサブサンプリングパ
ターン制御部を備え、動きベクトル検索時に使用する評
価関数の画素データを可変にサブサンプリングすること
を特徴とする。In order to achieve the above object, the present invention provides a motion vector detection method of a motion compensation interframe coding method, which is a subsampling unit for subsampling the current block data and reference block data. Is provided with a sub-sampling pattern control unit for controlling the sampling pattern, and pixel data of an evaluation function used at the time of motion vector search is variably sub-sampled.
【0012】また、本発明は、動きベクトル検索時に使
用する評価関数算出中の評価関数値に対してしきい値比
較部を有し、このしきい値比較部によって算出中の評価
関数演算を先行することが有意かどうか判定し、有意で
ないと判定されたときは評価関数の演算を打ち切るよう
にしたことを特徴とする。Further, according to the present invention, there is provided a threshold value comparing section for the evaluation function value being used for calculating the evaluation function used at the time of motion vector search, and the evaluation function operation being calculated by the threshold value comparing section is preceded. It is characterized in that it is judged whether or not doing is significant, and when it is judged not significant, the calculation of the evaluation function is terminated.
【0013】また、本発明は、復号化部の符号化映像信
号を格納する受信バッファを有し、復号化部で処理され
る受信バッファの符号化映像信号の残留量に応じて前記
サブサンプリング部のサブサンプリングパターンを制御
することを特徴とする。Further, the present invention has a receiving buffer for storing the coded video signal of the decoding unit, and the sub-sampling unit according to the residual amount of the coded video signal of the receiving buffer processed by the decoding unit. The sub-sampling pattern of is controlled.
【0014】[0014]
【作用】したがって、本発明によれば、サブサンプリン
グ制御部によって評価関数に用いるデータを可変にサブ
サンプリングすることができ動きベクトル検索のための
演算量を任意に削減することができる。Therefore, according to the present invention, the data used for the evaluation function can be variably sub-sampled by the sub-sampling control unit, and the amount of calculation for motion vector search can be arbitrarily reduced.
【0015】さらに本発明によれば、しきい値比較部を
算出中評価関数値に適用することによって有意でない評
価関数演算を削減することができ、動きベクトル検索の
ための演算量を削減することができる。Further, according to the present invention, by applying the threshold value comparing unit to the evaluation function value during calculation, it is possible to reduce the insignificant evaluation function operations and reduce the operation amount for the motion vector search. You can
【0016】また、本発明によれば、復号化処理用受信
バッファの残留量の大小に応じサンプリングパターンを
制御することにより、単一演算装置(CPU)による符
号化復号化装置を実現する。Further, according to the present invention, the encoding / decoding device by the single arithmetic unit (CPU) is realized by controlling the sampling pattern according to the size of the residual amount in the reception buffer for decoding processing.
【0017】[0017]
【実施例】図1は、本発明にかかる動きベクトル検索方
法の第1の実施例を示す構成図である。1 is a block diagram showing a first embodiment of a motion vector search method according to the present invention.
【0018】図1において、1aは映像入力信号を蓄積
する入力フレームメモリ、1bは前フレーム信号を蓄積
する参照フレームメモリである。1cは評価関数に用い
るデータを入力フレームメモリ1a、参照フレームメモ
リ1bからとりこむサブサンプリング部であり、サブサ
ンプリング制御部1gはサブサンプリング部1cのサン
プリングパターンを制御する。1dはサブサンプリング
されたデータを基に評価関数を算出する評価関数算出部
であり、その算出中の評価関数値はしきい値比較部1e
に送られ、その評価関数の比較結果は動きベクトル判定
部1fに送出される。動きベクトル判定部1fは全ての
検索範囲を検索したかを判断し動きベクトルを決定して
動きベクトルを出力する。In FIG. 1, 1a is an input frame memory for storing a video input signal, and 1b is a reference frame memory for storing a previous frame signal. Reference numeral 1c denotes a sub-sampling unit that takes in data used for the evaluation function from the input frame memory 1a and the reference frame memory 1b, and the sub-sampling control unit 1g controls the sampling pattern of the sub-sampling unit 1c. 1d is an evaluation function calculation unit that calculates an evaluation function based on the subsampled data, and the evaluation function value being calculated is the threshold comparison unit 1e.
And the result of comparison of the evaluation function is sent to the motion vector determination unit 1f. The motion vector determination unit 1f determines whether all search ranges have been searched, determines a motion vector, and outputs the motion vector.
【0019】なお、サブサンプリング部1c、評価関数
算出部1d、しきい値比較部1e及び動きベクトル判定
部1fは動き補償部を構成する。The sub-sampling unit 1c, the evaluation function calculating unit 1d, the threshold comparing unit 1e and the motion vector determining unit 1f constitute a motion compensating unit.
【0020】次に上記のように構成された第1の実施例
の動作について説明する。この実施例において、映像入
力信号が入力フレームメモリ1aに格納される。参照フ
レームメモリ1bは前フレームのデータを格納してい
る。この前フレームデータは、一般に符号器の一部であ
るローカルデコード部で復号することで生成されてい
る。サブサンプリング部1cは評価関数に用いる画素デ
ータをサブサンプリングするものであり、そのサンプリ
ングパターンはサブサンプリング制御部1gによって決
定される。Next, the operation of the first embodiment constructed as described above will be explained. In this embodiment, the video input signal is stored in the input frame memory 1a. The reference frame memory 1b stores the data of the previous frame. This previous frame data is generally generated by decoding by the local decoding unit which is a part of the encoder. The sub-sampling unit 1c sub-samples the pixel data used for the evaluation function, and its sampling pattern is determined by the sub-sampling control unit 1g.
【0021】図2(a)〜(c)は、上記第1の実施例
においてサブサンプリング制御部1gにより決定される
サンプリングパターンの一例を示すもので、8×8画素
のブロックにおいて、○のついた画素をサンプリングす
る。FIGS. 2A to 2C show an example of the sampling pattern determined by the sub-sampling control unit 1g in the first embodiment. In a block of 8 × 8 pixels, a circle is marked. Sampled pixels.
【0022】サブサンプリング部1cは入力フレームメ
モリ1aから現ブロックの画素データを、決定されたサ
ンプリングパターンでサブサンプリングする。さらに、
サブサンプリング部1cは前フレームにおける同位置に
あるブロックを基準にどの参照ブロックを現ブロックと
比較するか決定し、参照フレームメモリ1bから参照ブ
ロックの画素データを決定されたサンプリングパターン
でサブサンプリングする。サブサンプリング部1cで得
られた両データは評価関数算出部1dへ渡され評価関数
値が算出され、算出中の評価関数値をしきい値比較部1
eに出力する。しきい値比較部1eでは、算出中評価関
数がしきい値と比較され、しきい値を越えたら算出中で
あろうと評価関数の演算を打ち切り、算出中の評価関数
値を動きベクトル判定部1fへ出力する。算出中の評価
関数値がしきい値を越えていない場合は、評価関数算出
部1dに評価関数算出を続行するよう制御する。The sub-sampling section 1c sub-samples the pixel data of the current block from the input frame memory 1a with the determined sampling pattern. further,
The sub-sampling unit 1c determines which reference block to compare with the current block based on the block at the same position in the previous frame, and sub-samples the pixel data of the reference block from the reference frame memory 1b with the determined sampling pattern. Both data obtained by the sub-sampling unit 1c are passed to the evaluation function calculation unit 1d to calculate the evaluation function value, and the evaluation function value being calculated is set to the threshold comparison unit 1
e. In the threshold value comparison unit 1e, the evaluation function being calculated is compared with the threshold value, and if the calculation value exceeds the threshold value, the calculation of the evaluation function is terminated, and the evaluation function value being calculated is determined as the motion vector determination unit 1f. Output to. When the evaluation function value being calculated does not exceed the threshold value, the evaluation function calculation unit 1d is controlled to continue the evaluation function calculation.
【0023】このようにして得られた評価関数値は動き
ベクトル判定部1fへ送出される。動きベクトル判定部
1fは全ての検索範囲を検索したかどうか判断する。全
ての検索範囲がまだ検索できていないときは、サブサン
プリング部1cへ参照ブロックデータを変更し検索を続
行するように制御し、全ての検索範囲の検索が終了した
場合は、最小評価関数値を検出する。この最小評価関数
値を与えたときの参照ブロックの位置と現ブロックとの
位置の差分が動きベクトルとして得られ、得られた動き
ベクトルを出力する。The evaluation function value thus obtained is sent to the motion vector determination section 1f. The motion vector determination unit 1f determines whether or not all search ranges have been searched. When all the search ranges have not been searched yet, the sub-sampling unit 1c is controlled to change the reference block data and continue the search. When the search for all the search ranges is completed, the minimum evaluation function value is set. To detect. The difference between the position of the reference block and the position of the current block when this minimum evaluation function value is given is obtained as a motion vector, and the obtained motion vector is output.
【0024】このように、上記第1の実施例によれば、
サブサンプリング制御部を設けることで、サブサンプリ
ング部は評価関数に用いる画素データを可変にサブサン
プリングすることができ、動きベクトル検索のための演
算量を任意に削減することができるという利点を有す
る。As described above, according to the first embodiment,
By providing the sub-sampling control unit, the sub-sampling unit can variably sub-sample pixel data used for the evaluation function, and has an advantage that the amount of calculation for motion vector search can be arbitrarily reduced.
【0025】また、上記第1の実施例によれば、算出中
評価関数値に対してしきい値比較部を設けることで、評
価関数算出部は有意でない評価関数の演算を途中で打ち
切ることができ、動きベクトル検索のための演算量を削
減することができるという利点を有する。Further, according to the first embodiment, by providing the threshold value comparing section for the evaluation function value being calculated, the evaluation function calculating section can abort the calculation of the insignificant evaluation function on the way. This has the advantage that the amount of calculation for motion vector search can be reduced.
【0026】図3は、本発明にかかる動きベクトル検索
方法の第2の実施例を示す構成図である。FIG. 3 is a block diagram showing a second embodiment of the motion vector search method according to the present invention.
【0027】図3において、20は単一演算装置からな
る符号化復号化装置、2aは映像入力信号を蓄積する入
力フレームメモリ、2bは前フレーム信号を蓄積する参
照フレームメモリである。2cは評価関数に用いるデー
タを入力フレームメモリ2a、参照フレームメモリ2b
からとりこむサブサンプリング部であり、サブサンプリ
ング制御部2gはサブサンプリング部2cのサンプリン
グパターンを制御する。In FIG. 3, reference numeral 20 is an encoding / decoding device composed of a single arithmetic unit, 2a is an input frame memory for storing a video input signal, and 2b is a reference frame memory for storing a previous frame signal. 2c is the input frame memory 2a and the reference frame memory 2b for using the data used for the evaluation function
The sub-sampling control unit 2g controls the sampling pattern of the sub-sampling unit 2c.
【0028】2dはサブサンプリングされたデータを基
に評価関数を算出する評価関数算出部であり、その算出
中の評価関数値はしきい値比較部2eに送られ、その評
価関数の比較結果は動きベクトル判定部2fに送出され
る。2fは全ての検索範囲を検索したかを判断し動きベ
クトルを決定する動きベクトル判定部であり、他の符号
化部2hに動きベクトルを出力する。他の符号化部2h
は動き補償以外の符号化をするもので、符号化映像出力
信号を出力する。2iは参照フレームメモリ2bに蓄積
するデータを生成するローカルデコード部、2jは受信
バッファであり、符号化映像入力信号を蓄積する。2k
は復号化部であり、映像出力信号を出力する。Reference numeral 2d is an evaluation function calculation unit for calculating an evaluation function based on the sub-sampled data, the evaluation function value being calculated is sent to the threshold value comparison unit 2e, and the comparison result of the evaluation function is It is sent to the motion vector determination unit 2f. Reference numeral 2f is a motion vector determination unit that determines whether or not all search ranges have been searched and determines a motion vector, and outputs the motion vector to another encoding unit 2h. Other coding unit 2h
Is for coding other than motion compensation, and outputs a coded video output signal. Reference numeral 2i is a local decoding unit that generates data to be stored in the reference frame memory 2b, and 2j is a reception buffer, which stores an encoded video input signal. 2k
Is a decoding unit that outputs a video output signal.
【0029】なお、サブサンプリング部2c、評価関数
算出部2d、しきい値比較部2e及び動きベクトル判定
部2fは動き補償部を構成する。The sub-sampling unit 2c, the evaluation function calculating unit 2d, the threshold comparing unit 2e and the motion vector judging unit 2f constitute a motion compensating unit.
【0030】次に上記のように構成された第2の実施例
の動作について説明する。この実施例において、映像入
力信号が入力フレームメモリ2aに格納され、参照フレ
ームメモリ2bは前フレームのデータを格納している。
この前フレームデータは他の符号器部2hで符号化した
符号化映像出力信号をローカルデコード部2iで復号す
ることで生成される。Next, the operation of the second embodiment constructed as described above will be explained. In this embodiment, the video input signal is stored in the input frame memory 2a, and the reference frame memory 2b stores the data of the previous frame.
The previous frame data is generated by decoding the coded video output signal coded by the other coder unit 2h by the local decoding unit 2i.
【0031】一方、符号化映像入力信号が受信バッファ
2jに格納され、受信バッファ残留量がサブサンプリン
グ制御部2gに送出される。サブサンプリング制御部2
gは、この情報を基にサブサンプリング部2cに対して
サンプリングパターンを制御する。さらに、符号化映像
入力信号は受信バッファ2jを通して復号化部2kで復
号されて映像出力信号として出力される。On the other hand, the coded video input signal is stored in the reception buffer 2j, and the reception buffer residual amount is sent to the sub-sampling control unit 2g. Sub-sampling control unit 2
g controls the sampling pattern for the sub-sampling unit 2c based on this information. Further, the encoded video input signal is decoded by the decoding unit 2k through the reception buffer 2j and output as a video output signal.
【0032】サブサンプリング部2cは入力フレームメ
モリ2a、参照フレームメモリ2bから評価関数に用い
る画素データをサブサンプリングする。サンプリングパ
ターンはサブサンプリング制御部2gの制御によって決
定される。The sub-sampling unit 2c sub-samples the pixel data used for the evaluation function from the input frame memory 2a and the reference frame memory 2b. The sampling pattern is determined by the control of the sub-sampling control unit 2g.
【0033】この第2の実施例においてサブサンプリン
グ制御部2gで決定されるサンプリングパターンの一例
を図2に示し、8×8画素のブロックにおいて、○のつ
いた画素をサンプリングする。また、第2の実施例にお
いては、受信バッファ残留量をサンプリングパターン制
御の判断材料として用いている。An example of the sampling pattern determined by the sub-sampling control unit 2g in the second embodiment is shown in FIG. 2, in which a pixel with a circle is sampled in a block of 8 × 8 pixels. Further, in the second embodiment, the residual amount of the receiving buffer is used as a judgment material for the sampling pattern control.
【0034】具体的には、受信バッファ残留量が大なら
ばサンプリングデータを増やし、受信バッファ残留量が
小ならばサンプリングデータを減らすような制御をサブ
サンプリング部2cに対して行う。そして、そのサンプ
リングパターンを基に入力フレームメモリ2aからは現
ブロックの画素データをサブサンプリングする。さら
に、サブサンプリング部2cは前フレームにおける同位
置にあるブロックを基準にどの参照ブロックを現ブロッ
クと比較するか決定し、参照フレームメモリ2bから参
照ブロックの画素データを、決定されたサンプリングパ
ターンでサブサンプリングする。サブサンプリング部2
cで得られた両データは評価関数算出部2dへ渡されて
評価関数値が算出され、この算出中の評価関数値をしき
い値比較部2eに出力する。しきい値比較部2eでは、
算出中の評価関数値がしきい値と比較され、しきい値を
越えたら算出中であろうと評価関数の演算を打ち切り、
算出中の評価関数値を動きベクトル判定部2fへ出力す
る。算出中の評価関数値がしきい値を越えていない場合
は、評価関数算出部2dに評価関数算出を続行するよう
制御する。Specifically, the sub-sampling unit 2c is controlled to increase the sampling data if the remaining amount of the receiving buffer is large and decrease the sampling data if the remaining amount of the receiving buffer is small. Then, based on the sampling pattern, the pixel data of the current block is sub-sampled from the input frame memory 2a. Further, the sub-sampling unit 2c determines which reference block to compare with the current block based on the block at the same position in the previous frame, and sub-pixels the reference block pixel data from the reference frame memory 2b with the determined sampling pattern. To sample. Sub-sampling unit 2
Both data obtained in c are passed to the evaluation function calculation unit 2d to calculate the evaluation function value, and the evaluation function value being calculated is output to the threshold value comparison unit 2e. In the threshold comparison unit 2e,
The evaluation function value being calculated is compared with the threshold value, and if the value exceeds the threshold value, the calculation of the evaluation function is aborted, regardless of whether the calculation is in progress.
The evaluation function value being calculated is output to the motion vector determination unit 2f. If the evaluation function value being calculated does not exceed the threshold value, the evaluation function calculation unit 2d is controlled to continue the evaluation function calculation.
【0035】このようにして得られた評価関数値は動き
ベクトル判定部2fへ送出される。2fでは、全ての検
索範囲を検索したかどうか判断する。全ての検索範囲を
まだ検索できていないときは、サブサンプリング部2c
へ参照ブロックデータを変更し検索を続行するように制
御し、全ての検索範囲の検索が終了した場合は、最小評
価関数値を検出する。その最小評価関数値を与えたとき
の参照ブロックの位置と現ブロックとの位置の差分が動
きベクトルとして得られ、この得られた動きベクトルを
他の符号化部2hへ出力する。The evaluation function value thus obtained is sent to the motion vector determination section 2f. In 2f, it is determined whether or not all the search ranges have been searched. If all the search ranges have not been searched yet, the sub-sampling unit 2c
The reference block data is changed to control to continue the search, and when the search in all search ranges is completed, the minimum evaluation function value is detected. The difference between the position of the reference block and the position of the current block when the minimum evaluation function value is given is obtained as a motion vector, and the obtained motion vector is output to another encoding unit 2h.
【0036】このように上記第2の実施例によれば、受
信バッファによって制御されるサブサンプリング制御部
を設けることで、サブサンプリング部は評価関数に用い
る画素データを可変にサブサンプリングすることがで
き、動きベクトルの検索のための演算量を任意に削減す
ることができるという利点を有する。As described above, according to the second embodiment, by providing the sub-sampling control section controlled by the reception buffer, the sub-sampling section can variably sub-sample pixel data used for the evaluation function. The advantage is that the amount of calculation for motion vector search can be arbitrarily reduced.
【0037】また、上記第2の実施例によれば、算出中
の評価関数値に対してしきい値比較部を設けることで、
評価関数算出の先行が有意でないときにしきい評価関数
の演算を途中で打ち切ることができ、動きベクトル検索
のための演算量を削減することができるという利点を有
する。Further, according to the second embodiment, by providing the threshold value comparing section for the evaluation function value being calculated,
When the precedence of the evaluation function calculation is not significant, the calculation of the threshold evaluation function can be stopped midway, and the amount of calculation for motion vector search can be reduced.
【0038】また、上記第2の実施例によれば、単一演
算装置(CPU)からなる符号化復号化装置上に受信バ
ッファの残留量に応じて制御されるサブサンプリング制
御部を設けることで、サブサンプリング部は評価関数に
用いる画素データを可変にサブサンプリングすることが
でき、復号化処理部の処理の大小により符号化処理部の
負荷を可変に変化させることで安定した単一演算装置に
よる符号化復号化装置が実現できるという効果を有す
る。Further, according to the second embodiment, the sub-sampling control unit controlled according to the remaining amount of the reception buffer is provided on the encoding / decoding device composed of the single arithmetic unit (CPU). The sub-sampling unit can variably sub-sample the pixel data used for the evaluation function, and the load of the encoding processing unit is variably changed according to the size of the processing of the decoding processing unit, so that a stable single arithmetic unit can be used. This has the effect of realizing an encoding / decoding device.
【0039】[0039]
【発明の効果】本発明は上記実施例から明らかなよう
に、動きベクトル検索方法において、サブサンプリング
制御部を設けることにより、サブサンプリング部が評価
関数に用いるデータを可変にサブサンプリングすること
ができ、動きベクトル検索のための演算量を任意に削減
することができるという効果を有する。As is apparent from the above-described embodiments of the present invention, by providing the sub-sampling control unit in the motion vector search method, the data used by the sub-sampling unit for the evaluation function can be variably sub-sampled. The advantage is that the calculation amount for motion vector search can be arbitrarily reduced.
【0040】また、本発明によれば、動きベクトル検索
方法において、算出中の評価関数値に対ししきい値比較
部を設けることにより、評価関数算出部は有意でない評
価関数演算を算出途中でも打ち切るため、動きベクトル
検索のための演算量を削減することができるという効果
を有する。Further, according to the present invention, in the motion vector search method, by providing the threshold value comparison unit for the evaluation function value being calculated, the evaluation function calculation unit aborts the insignificant evaluation function calculation even during calculation. Therefore, there is an effect that the calculation amount for motion vector search can be reduced.
【0041】さらに、本発明によれば、動きベクトル検
索方法において、受信バッファによって制御されるサブ
サンプリング制御部を設けることにより、サブサンプリ
ング部が評価関数に用いる画素データを復号化部の処理
量に応じて可変にサブサンプリングするため、復号化処
理部の処理の大小により符号化処理部の負荷を可変に変
化させることで安定した単一演算装置上で符号化復号化
装置が実現できるという効果を有する。Further, according to the present invention, in the motion vector search method, by providing the sub-sampling control section controlled by the reception buffer, the pixel data used by the sub-sampling section for the evaluation function is used as the processing amount of the decoding section. Since variable sub-sampling is performed accordingly, the load of the encoding processing unit is variably changed depending on the size of the processing of the decoding processing unit, so that the encoding / decoding device can be realized on a stable single arithmetic unit. Have.
【図1】本発明の第1の実施例における動きベクトル検
索方法及びその装置による構成を示す概略ブロック図FIG. 1 is a schematic block diagram showing a configuration of a motion vector search method and apparatus according to a first embodiment of the present invention.
【図2】本発明の実施例におけるサンプリングパターン
の一例を示す図FIG. 2 is a diagram showing an example of a sampling pattern in the embodiment of the present invention.
【図3】本発明の第2の実施例における動きベクトル検
索方法及びその装置による構成を示す概略ブロック図FIG. 3 is a schematic block diagram showing a configuration of a motion vector search method and apparatus according to a second embodiment of the present invention.
【図4】従来における動きベクトル検索方法及びその装
置による構成を示す概略ブロック図FIG. 4 is a schematic block diagram showing a configuration of a conventional motion vector search method and apparatus.
1a、2a、4a 入力フレームメモリ 1b、2b、4b 参照フレームメモリ 1c、2c、4c サブサンプリング部 1d、2d、4d 評価関数算出部 1e、2e しきい値比較部 1f、2f、4f 動きベクトル判定部 1g、2g サブサンプリング制御部 2h 他の符号器部 2i ローカルデコード部 2j 受信バッファ 2k 復号器部 20 単一演算装置上の符号化復号化装置 1a, 2a, 4a Input frame memory 1b, 2b, 4b Reference frame memory 1c, 2c, 4c Sub-sampling unit 1d, 2d, 4d Evaluation function calculation unit 1e, 2e Threshold value comparison unit 1f, 2f, 4f Motion vector determination unit 1g, 2g Sub-sampling control unit 2h Other encoder unit 2i Local decoding unit 2j Receive buffer 2k Decoder unit 20 Encoding / decoding device on single arithmetic unit
Claims (6)
クトル検出方法であって、現ブロックデータ及び参照ブ
ロックデータをサブサンプリングするサブサンプリング
部のサンプリングパターンを制御するサブサンプリング
パターン制御部を備え、動きベクトル検索時に使用する
評価関数の画素データを可変にサブサンプリングするこ
とを特徴とする動きベクトル検索方法。1. A motion vector detection method using a motion-compensated inter-frame coding method, comprising: a sub-sampling pattern control unit that controls a sampling pattern of a sub-sampling unit that sub-samples current block data and reference block data. A motion vector search method characterized in that pixel data of an evaluation function used during vector search is variably subsampled.
算出中の評価関数値に対してしきい値比較部を有し、こ
のしきい値比較部によって算出中の評価関数演算を先行
することが有意かどうか判定し、有意でないと判定され
たときは評価関数の演算を打ち切るようにしたことを特
徴とする請求項1記載の動きベクトル検索方法。2. It is significant that a threshold value comparison unit is provided for an evaluation function value being calculated for use in the motion vector search, and the evaluation function calculation being calculated is preceded by this threshold value comparison unit. The motion vector search method according to claim 1, wherein it is judged whether or not it is judged, and when it is judged not significant, the calculation of the evaluation function is terminated.
信バッファを有し、復号化部で処理される受信バッファ
の符号化映像信号の残留量に応じて前記サブサンプリン
グ部のサブサンプリングパターンを制御することを特徴
とする請求項1または2記載の動きベクトル検索方法。3. A sub-sampling pattern of the sub-sampling unit, the sub-sampling pattern having a receiving buffer for storing the encoded video signal of the decoding unit, the sub-sampling unit according to the residual amount of the encoded video signal of the receiving buffer processed by the decoding unit. 3. The motion vector search method according to claim 1, further comprising:
クトル検出方法であって、現ブロックデータ及び参照ブ
ロックデータをサブサンプリングするサブサンプリング
部のサンプリングパターンを制御するサブサンプリング
パターン制御部を備え、動きベクトル検索時に使用する
評価関数の画素データを可変にサブサンプリングするこ
とを特徴とする動きベクトル検索装置。4. A motion vector detection method using a motion-compensated inter-frame coding method, comprising: a sub-sampling pattern control unit that controls a sampling pattern of a sub-sampling unit that sub-samples current block data and reference block data. A motion vector search device characterized in that pixel data of an evaluation function used in vector search is variably subsampled.
算出中の評価関数値に対してしきい値比較部を有し、こ
のしきい値比較部によって算出中の評価関数演算を先行
することが有意かどうか判定し、有意でないと判定され
たときは評価関数の演算を打ち切るようにしたことを特
徴とする請求項4記載の動きベクトル検索装置。5. It is significant that a threshold value comparison unit is provided for an evaluation function value being calculated for use in the motion vector search, and the evaluation function operation being calculated is preceded by this threshold value comparison unit. 5. The motion vector search device according to claim 4, wherein it is determined whether or not it is determined, and when it is determined that it is not significant, the calculation of the evaluation function is terminated.
信バッファを有し、復号化部で処理される受信バッファ
の符号化映像信号の残留量に応じて前記サブサンプリン
グ部のサブサンプリングパターンを制御することを特徴
とする請求項4または5記載の動きベクトル検索装置。6. A sub-sampling pattern of the sub-sampling unit, the sub-sampling pattern having a receiving buffer for storing the encoded video signal of the decoding unit, and the sub-sampling unit according to the residual amount of the encoded video signal of the receiving buffer processed by the decoding unit 6. The motion vector search device according to claim 4, wherein the motion vector search device is controlled.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7167229A JPH0918882A (en) | 1995-07-03 | 1995-07-03 | Motion vector search method and apparatus thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7167229A JPH0918882A (en) | 1995-07-03 | 1995-07-03 | Motion vector search method and apparatus thereof |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0918882A true JPH0918882A (en) | 1997-01-17 |
Family
ID=15845852
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7167229A Pending JPH0918882A (en) | 1995-07-03 | 1995-07-03 | Motion vector search method and apparatus thereof |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0918882A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2004002148A1 (en) * | 2002-06-19 | 2003-12-31 | Sony Corporation | Motion vector detection device, detection method, motion compensation device, and motion compensation method |
| US7236523B2 (en) | 2001-09-06 | 2007-06-26 | Nokia Corporation | Method for performing motion estimation in video encoding, a video encoding system and a video encoding device |
-
1995
- 1995-07-03 JP JP7167229A patent/JPH0918882A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7236523B2 (en) | 2001-09-06 | 2007-06-26 | Nokia Corporation | Method for performing motion estimation in video encoding, a video encoding system and a video encoding device |
| WO2004002148A1 (en) * | 2002-06-19 | 2003-12-31 | Sony Corporation | Motion vector detection device, detection method, motion compensation device, and motion compensation method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7292634B2 (en) | Image coding method and apparatus | |
| US5689307A (en) | Encoding and decoding systems for transmitting moving pictures | |
| JP3778960B2 (en) | Video coding method and apparatus | |
| JPH0564177A (en) | Image coding device | |
| JPH10336672A (en) | Encoding system converter and motion vector detection method therefor | |
| JP3200196B2 (en) | Motion vector detection method | |
| WO2003056838A1 (en) | Moving picture compression/coding apparatus and motion vector detection method | |
| JP2000023164A (en) | Digital video processing system | |
| JPH0832969A (en) | Motion vector detector | |
| US20080063065A1 (en) | Fast Motion Estimation for Multiple Reference Pictures | |
| US6898242B2 (en) | Moving picture high-speed coder and moving picture high-speed coding method | |
| JPH09261530A (en) | Video recorder | |
| JPH08154250A (en) | Moving image coder | |
| JPH0984024A (en) | Video signal encoder | |
| JPH09163378A (en) | Motion-compensated interframe / intraframe encoding device, refresh control method thereof, and moving image decoding device | |
| JP2644811B2 (en) | Motion compensated interframe predictive coding device | |
| JPH06233279A (en) | Motion compensation coding device | |
| JP2934175B2 (en) | Video coding method and apparatus | |
| JPH06197333A (en) | Picture compression system providing weight onto pattern | |
| JPH09327023A (en) | Intra-frame / inter-frame coding switching method and image coding device | |
| JPH10164596A (en) | Motion detection device | |
| JP2835252B2 (en) | Image signal motion detection device | |
| JPH0799645A (en) | Motion vector detection circuit | |
| KR960013234B1 (en) | Koga - 3 stop motion vector detecting method for movement detecting apparatus | |
| JP2905362B2 (en) | Image coding device |