JPH09168154A - Dynamic image coding method and device - Google Patents

Dynamic image coding method and device

Info

Publication number
JPH09168154A
JPH09168154A JP34707395A JP34707395A JPH09168154A JP H09168154 A JPH09168154 A JP H09168154A JP 34707395 A JP34707395 A JP 34707395A JP 34707395 A JP34707395 A JP 34707395A JP H09168154 A JPH09168154 A JP H09168154A
Authority
JP
Japan
Prior art keywords
motion vector
macroblock
frame
significant
motion
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
JP34707395A
Other languages
Japanese (ja)
Other versions
JP3573176B2 (en
Inventor
Satoshi Miyaji
悟史 宮地
Shuichi Matsumoto
修一 松本
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.)
KDDI Corp
Original Assignee
Kokusai Denshin Denwa KK
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 Kokusai Denshin Denwa KK filed Critical Kokusai Denshin Denwa KK
Priority to JP34707395A priority Critical patent/JP3573176B2/en
Priority to US08/766,145 priority patent/US5940131A/en
Publication of JPH09168154A publication Critical patent/JPH09168154A/en
Application granted granted Critical
Publication of JP3573176B2 publication Critical patent/JP3573176B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/004Predictors, e.g. intraframe, interframe coding

Abstract

PROBLEM TO BE SOLVED: To reduce transmission information quantity by selecting a motion vector with a minimum magnitude within a range where a coding object macro block is discriminated to be nonsignificant in the coding of a motion compensation prediction error method. SOLUTION: A frame memory 4 stores a video signal from an input section 2 and gives a video signal 5 of a coding object macro block of a current frame to a subtractor section 13 and gives a video signal 7 of each macro block of a preceding frame to a motion compensation section 8. The motion compensation section 8 gives a video signal 12 of a macro block of a preceding frame whose motion is compensated by motion vector information 9 to a subtractor section 13. A significance/non-significance discrimination section 15 discriminates an inter-macro block difference value 14 from the subtractor section 13 based on a threshold level to give a macro block significance signal 21 to a coding engine section. A motion vector generating section 11 generates motion vector information 9 whose picture element is increased by a prescribed number so as to increase the magnitude sequentially while being started from a zero vector (0,0).

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、動画像信号を動き
補償して符号化する動画像符号化方法及び装置に関し、
特に、低ビットレートで伝送する場合に有効な動画像符
号化方法及び装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving picture coding method and apparatus for motion-compensating and coding a moving picture signal,
In particular, the present invention relates to a moving picture coding method and apparatus which are effective when transmitting at a low bit rate.

【0002】[0002]

【従来の技術】ブロックマッチング法を用いる従来の動
画像符号化装置においては、符号化対象マクロブロック
を有意・非有意に分類し、有意ブロックのみを符号化す
ることによって、情報量の削減が行われる。
2. Description of the Related Art In a conventional moving picture coding apparatus using a block matching method, a macroblock to be coded is classified into significant / insignificant and only significant blocks are coded to reduce the amount of information. Be seen.

【0003】即ち、現フレームの符号化対象マクロブロ
ックと、前フレームの動き補償を施したマクロブロック
との差分をとり、この差分値がある閾値を下回るマクロ
ブロックは非有意マクロブロックとして取扱い、動きベ
クトルのみを伝送すると共に非有意でありかつ動きベク
トルが零の静止しているマクロブロックに関しては、一
切の符号化を行わないという方法が用いられてきた。
That is, the difference between a current macroblock to be coded and a motion-compensated macroblock of the previous frame is calculated, and a macroblock whose difference value is below a certain threshold is treated as a non-significant macroblock. For stationary macroblocks that transmit only vectors and are insignificant and have zero motion vectors, no coding has been used.

【0004】[0004]

【発明が解決しようとする課題】このような従来の方法
によると、現フレームの符号化対象マクロブロックと前
フレームの動き補償を施したマクロブロックとの差分
(歪)ができるだけ小さくなるような前フレームのマク
ロブロックを従って動きベクトルを検出し、その検出し
た動きベクトルによって動き補償を行うというブロック
マッチング法が用いられているため、次のような問題が
生じてしまう。
According to such a conventional method, the difference (distortion) between the current macroblock to be coded and the motion-compensated macroblock of the previous frame is minimized. Since the block matching method of detecting the motion vector according to the macroblock of the frame and performing the motion compensation by the detected motion vector is used, the following problems occur.

【0005】差分値(歪)を最も小さくするように参照
画像のマクロブロックを求めて動きベクトルを検出する
システムにおいて上述のようなマクロブロックの有意性
の判定を行うと、非有意と判定されるマクロブロックに
関して不必要な大きさの動きベクトルが伝送されてしま
うこと恐れがある。即ち、非有意のマクロブロックで
は、伝送される情報が動きベクトルのみとなるため、小
さな動きベクトルでも十分精度の良い動き補償を行える
場合や、動き補償を行わなくても差分値があまり増大し
ない場合などにも大きな動きベクトルが送られ、その
分、無駄な情報が伝送されてしまうこととなる。
When the significance of the macroblock is determined as described above in the system in which the macroblock of the reference image is obtained so as to minimize the difference value (distortion) and the motion vector is detected, it is determined to be insignificant. There is a risk that a motion vector of an unnecessary size will be transmitted for the macroblock. In other words, in a non-significant macroblock, the information to be transmitted is only the motion vector, so that it is possible to perform motion compensation with sufficient accuracy even with a small motion vector, or when the difference value does not increase much without motion compensation. A large motion vector is also sent to, and useless information is transmitted accordingly.

【0006】従って本発明の目的は、画像の品質劣化を
防止しつつ、伝送情報量を低減化することができる動画
像符号化方法及び装置を提供することにある。
Therefore, it is an object of the present invention to provide a moving picture coding method and apparatus capable of reducing the amount of transmitted information while preventing deterioration of image quality.

【0007】[0007]

【課題を解決するための手段】本発明は、発生させた動
きベクトルを用いて前フレームのマクロブロックに動き
補償を施し、動き補償を施したマクロブロックと現フレ
ームの符号化対象マクロブロックとの差分である予測誤
差を算出し、算出した予測誤差を閾値と比較することに
よりこの符号化対象マクロブロックが閾値より小さい非
有意マクロブロックであるか大きい有意マクロブロック
であるかを判別し、有意マクロブロックである場合は符
号化を行い、非有意マクロブロックである場合は上述の
動きベクトルのみを伝送するようにした動画像符号化方
法に関するものである。特に本発明によれば、符号化対
象マクロブロックが非有意と判別される範囲内で最小の
大きさの動きベクトルを選択している。
According to the present invention, motion compensation is performed on a macroblock of a previous frame by using a generated motion vector, and a macroblock subjected to motion compensation and a macroblock to be coded of a current frame. By calculating the prediction error which is the difference and comparing the calculated prediction error with the threshold value, it is determined whether this macroblock to be coded is a non-significant macroblock smaller than the threshold value or a significant macroblock larger than the threshold value. The present invention relates to a moving picture coding method in which coding is performed when a block is a block, and only the above motion vector is transmitted when a block is a non-significant macroblock. Particularly, according to the present invention, the motion vector having the smallest size is selected within the range in which the macroblock to be encoded is determined to be insignificant.

【0008】符号化対象マクロブロックが非有意と判別
される範囲内で最小の大きさの動きベクトルを選択して
いるので、動きベクトルのみを伝送する場合にその伝送
される動きベクトル情報量が少なくなり、伝送情報量の
低減化を図ることができる。
Since the motion vector having the smallest size is selected within the range in which the macroblock to be coded is determined to be insignificant, the amount of motion vector information to be transmitted is small when only the motion vector is transmitted. Therefore, the amount of transmitted information can be reduced.

【0009】動きベクトルを最小の大きさの動きベクト
ルから順次大きくして発生させ、その発生の都度、発生
した動きベクトルを用いて動き補償を施し、予測誤差を
算出し、算出した予測誤差を閾値と比較することにより
有意及び非有意の判別を行うようにすることが好まし
い。
A motion vector is generated by sequentially increasing the motion vector from the smallest motion vector, and each time the motion vector is generated, motion compensation is performed using the generated motion vector, a prediction error is calculated, and the calculated prediction error is set as a threshold value. It is preferable to make a distinction between significant and insignificant by comparing with.

【0010】閾値が動きベクトルの大きさをパラメータ
に含む関数によって決定されることも好ましい。この場
合、関数が動きベクトルの大きさが大きくなると減少す
る関数であるか、又は動きベクトルの大きさが大きくな
ると減少し、動きベクトルがある値を越えると飽和する
関数であるようにすることが好ましい。これにより、動
きベクトルが小さいほど、非有意マクロブロックと判定
され易くなる。
It is also preferable that the threshold value is determined by a function including the magnitude of the motion vector as a parameter. In this case, the function may be a function that decreases when the size of the motion vector increases, or a function that decreases when the size of the motion vector increases and saturates when the motion vector exceeds a certain value. preferable. As a result, the smaller the motion vector, the easier it is to determine as a non-significant macroblock.

【0011】本発明は、さらに、動きベクトルを発生さ
せる動きベクトル発生手段と、発生させた動きベクトル
を用いて前フレームのマクロブロックに動き補償を施す
手段と、動き補償を施したマクロブロックと現フレーム
の符号化対象マクロブロックとの差分である予測誤差を
算出する手段と、算出した予測誤差を閾値と比較するこ
とによりこの符号化対象マクロブロックが閾値より小さ
い非有意マクロブロックであるか大きい有意マクロブロ
ックであるかを判別する判別手段と、有意マクロブロッ
クである場合は符号化を行い、非有意マクロブロックで
ある場合は上述の動きベクトルのみを伝送する手段とを
備えた動画像符号化装置に関している。特に本発明で
は、動きベクトル発生手段は、符号化対象マクロブロッ
クが非有意と判別される範囲内で最小の大きさの動きベ
クトルとなるように選択するべく構成されている。
The present invention further includes a motion vector generating means for generating a motion vector, a means for performing motion compensation on a macroblock of a previous frame using the generated motion vector, and a motion-compensated macroblock and a current block. Means for calculating a prediction error that is the difference between the frame and the macroblock to be coded, and comparing the calculated prediction error with a threshold, this macroblock to be coded is a non-significant macroblock that is smaller than the threshold or has a significant significance. A moving picture coding apparatus provided with a judging means for judging whether the macroblock is a macroblock, and coding means if the macroblock is a significant macroblock, and means for transmitting only the above motion vector if the macroblock is a non-significant macroblock. It is related to Particularly, in the present invention, the motion vector generating means is configured to select the motion vector of the smallest size within the range in which the macroblock to be encoded is determined to be insignificant.

【0012】符号化対象マクロブロックが非有意と判別
される範囲内で最小の大きさの動きベクトルが選択され
るので、動きベクトルのみを伝送する場合にその伝送さ
れる動きベクトル情報量が少なくなり、伝送情報量の低
減化を図ることができる。
Since the motion vector having the smallest size is selected within the range where the macroblock to be coded is determined to be insignificant, the amount of motion vector information to be transmitted is reduced when only the motion vector is transmitted. It is possible to reduce the amount of transmitted information.

【0013】動きベクトル発生手段は、動きベクトルを
最小の大きさの動きベクトルから順次大きくして発生さ
せる手段であり、動き補償手段、算出手段及び判別手段
は、動きベクトルが発生した都度、発生した動きベクト
ルを用いて動き補償を施し、予測誤差を算出し、算出し
た予測誤差を閾値と比較することにより有意及び非有意
の判別を行う手段であることが好ましい。
The motion vector generating means is means for sequentially increasing the motion vector from the smallest motion vector and generating the motion vector. The motion compensating means, the calculating means and the discriminating means are generated each time the motion vector is generated. It is preferable that it is a means for performing a motion compensation using a motion vector, calculating a prediction error, and comparing the calculated prediction error with a threshold value to determine whether the error is significant or not.

【0014】判別手段は、動きベクトルの大きさをパラ
メータに含み閾値を決定するための関数を有しているこ
とも好ましい。この場合、関数が動きベクトルの大きさ
が大きくなると減少する関数であるか、又は動きベクト
ルの大きさが大きくなると減少し、動きベクトルがある
値を越えると飽和する関数であることが好ましい。これ
により、動きベクトルが小さいほど、非有意マクロブロ
ックと判定され易くなる。
It is also preferable that the discriminating means has a function for including the magnitude of the motion vector as a parameter to determine the threshold value. In this case, it is preferable that the function is a function that decreases when the magnitude of the motion vector increases, or a function that decreases when the magnitude of the motion vector increases and saturates when the motion vector exceeds a certain value. As a result, the smaller the motion vector, the easier it is to determine as a non-significant macroblock.

【0015】[0015]

【発明の実施の形態】以下、図面を参照して本発明を詳
細に説明する。図1は本発明の動画像符号化装置の一実
施形態の構成を概略的に示すブロック図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram schematically showing the configuration of an embodiment of a moving picture coding apparatus of the present invention.

【0016】同図において、1は可変フレームレート動
画像符号化装置全体の構成を示している。この動画像符
号化装置1は、映像信号入力部2と、この映像信号入力
部2に接続されており入力された映像信号に対してフレ
ームスキップを行うフレームスキップ部3と、このフレ
ームスキップ部3に接続されておりフレームスキップし
て入力された少なくとも前フレーム及び現フレームの映
像信号を格納しておくフレームメモリ4と、フレームメ
モリ4から出力される現フレームの符号化対象マクロブ
ロック(注目マクロブロック)の映像信号5が入力され
る符号化エンジン部6とを含んでいる。
In the figure, reference numeral 1 shows the configuration of the entire variable frame rate moving image coding apparatus. The moving picture coding apparatus 1 includes a video signal input unit 2, a frame skip unit 3 which is connected to the video signal input unit 2 and performs frame skip on the input video signal, and the frame skip unit 3. Connected to the frame memory 4 for storing at least the video signals of the previous frame and the current frame which are input after skipping the frame, and the current-frame coding target macroblock (the macroblock of interest) output from the frame memory 4. ) And the encoding engine unit 6 to which the video signal 5 of FIG.

【0017】フレームメモリ4には、上述の符号化エン
ジン部6と、動き補償部8と、減算部13とが接続され
ている。後述するようにスカラ長の小さいものから大き
いものへ順次に動きベクトルを発生しその動きベクトル
情報9及びスカラ長情報10を出力する動きベクトル発
生部11には、動き補償部8と、符号化エンジン部6
と、VLC(可変長符号化部)23と、マクロブロック
有意/非有意判定部15と、フレームスキップ数決定部
20とが接続されている。動き補償部8には、前フレー
ムの各マクロブロックの映像信号7がフレームメモリ4
から与えられる。
The frame memory 4 is connected to the above-described encoding engine unit 6, motion compensation unit 8, and subtraction unit 13. As will be described later, the motion vector generation unit 11 that sequentially generates the motion vector from the smallest to the long scalar length and outputs the motion vector information 9 and the scalar length information 10 includes the motion compensation unit 8 and the encoding engine. Part 6
The VLC (variable length coding unit) 23, the macroblock significant / insignificant determination unit 15, and the frame skip number determination unit 20 are connected to each other. The motion compensation unit 8 outputs the video signal 7 of each macroblock of the previous frame to the frame memory 4
Given by

【0018】減算部13には、その+入力に接続された
フレームメモリ4から現フレームの注目マクロブロック
の映像信号5と、−入力に接続された動き補償部8から
動き補償された前フレームのマクロブロックの映像信号
12とが入力される。減算部13の出力は有意/非有意
判定部15に接続されている。この有意/非有意判定部
15には、減算部13からマクロブロック間差分値14
が動きベクトル発生部11からスカラ長情報10が入力
される。有意/非有意判定部15の出力はフレームスキ
ップ数決定部20に接続されている。
The subtractor 13 receives the video signal 5 of the macroblock of interest of the current frame from the frame memory 4 connected to its + input, and the motion compensated previous frame of the previous frame from the motion compensator 8 connected to its − input. The video signal 12 of the macro block is input. The output of the subtraction unit 13 is connected to the significance / insignificance determination unit 15. The significance / insignificance determination unit 15 includes a difference value 14 between macro blocks from the subtraction unit 13.
The scalar length information 10 is input from the motion vector generator 11. The output of the significant / insignificant determination unit 15 is connected to the frame skip number determination unit 20.

【0019】このフレームスキップ数決定部20は、さ
らに、出力バッファメモリ部17及びフレームスキップ
部3に接続されており、有意/非有意判定部15から有
意マクロブロック割合情報16が動きベクトル発生部1
1からスカラ長情報10が出力バッファメモリ部17か
ら直前までの発生情報量18がそれぞれ入力されてい
て、フレームスキップ数情報19を発生してフレームス
キップ部3及び符号化エンジン部6へ出力する。
The frame skip number determination unit 20 is further connected to the output buffer memory unit 17 and the frame skip unit 3, and the significant / insignificant determination unit 15 outputs the significant macroblock ratio information 16 to the motion vector generation unit 1.
1 to the scalar length information 10 are respectively input from the output buffer memory unit 17 to the generated information amount 18 up to immediately before, and the frame skip number information 19 is generated and output to the frame skip unit 3 and the encoding engine unit 6.

【0020】可変長符号化部23は、有意/非有意判定
部15と、符号化エンジン部6と、動きベクトル発生部
11とに接続されており、それぞれからマクロブロック
有意情報21、量子化情報22及び動きベクトル情報9
を受け取り符号化を行う。この可変長符号化部23はさ
らに前述の出力バッファメモリ部17の入力に接続され
ており符号化出力24を出力する。出力バッファメモリ
部17の出力は符号出力部25に接続されている。
The variable length coding unit 23 is connected to the significant / insignificant judgment unit 15, the coding engine unit 6 and the motion vector generation unit 11, and the macroblock significant information 21 and the quantization information are respectively connected thereto. 22 and motion vector information 9
Is received and encoded. The variable length coding unit 23 is further connected to the input of the output buffer memory unit 17 and outputs a coded output 24. The output of the output buffer memory unit 17 is connected to the code output unit 25.

【0021】符号化エンジン部6は後述する一部構成を
除いて公知の符号化装置構成となっている。即ち、フレ
ーム間予測かフレーム内予測かに応じて切り替えを行う
モードスイッチ6a及び6bと、減算部6cと、加算部
6dと、有意/非有意判定部15からマクロブロック有
意情報21に応じて有意の場合はオン、非有意の場合は
オフとなるスイッチ6eと、DCT(離散コサイン変
換)回路6fと、Q(量子化回路)6gと、Q-1(逆量
子化回路)6hと、IDCT(離散コサイン逆変換)回
路6iと、フレームメモリ6jと、動き補償部6kとか
ら主として構成されている。
The encoding engine unit 6 has a known encoding device configuration except for a part of the configuration described later. That is, the mode switches 6a and 6b for switching between inter-frame prediction and intra-frame prediction, the subtraction unit 6c, the addition unit 6d, the significant / insignificant determination unit 15 to the significant information according to the macroblock significant information 21. Switch 6e, which is turned on when it is insignificant, and turned off when it is insignificant, a DCT (discrete cosine transform) circuit 6f, a Q (quantization circuit) 6g, a Q -1 (inverse quantization circuit) 6h, and an IDCT ( It is mainly composed of a discrete cosine inverse transformation circuit 6i, a frame memory 6j, and a motion compensation section 6k.

【0022】図2は本実施形態における主要動作を説明
するフローチャートである。以下、この図を合わせ用い
て本実施形態の動作を説明する。
FIG. 2 is a flow chart for explaining the main operation in this embodiment. The operation of this embodiment will be described below with reference to this drawing.

【0023】映像信号が映像信号入力部2に入力される
と(ステップS1)、このフレームが1枚目のフレーム
かどうか判別される(ステップS2)。1枚目のフレー
ムである場合は、フレームスキップ部3におけるフレー
ムスキップ動作(ステップS3)を行わずに、映像信号
はフレームメモリ部4に入力され、現フレームメモリに
格納される(ステップS4)。次いで、このフレームが
1枚目のフレームかどうか再度判別される(ステップS
5)。
When the video signal is input to the video signal input section 2 (step S1), it is determined whether this frame is the first frame (step S2). If it is the first frame, the video signal is input to the frame memory unit 4 and stored in the current frame memory (Step S4) without performing the frame skip operation in the frame skip unit 3 (Step S3). Then, it is determined again whether this frame is the first frame (step S
5).

【0024】1枚目のフレームである場合は、フレーム
スキップ数決定部20から出力されるフレームスキップ
数19を初期値N(枚)に設定する(ステップS6)。
次いで、映像信号は符号化エンジン部6へと入力されて
フレーム内符号化が行われ、可変長符号化部23でビッ
トストリームに変換された後、出力バッファメモリ部1
7を通じて、符号出力部25から出力される(ステップ
S7)。その後、フレームメモリ部4の現フレームメモ
リに格納されている内容を前フレームメモリに移動し
(ステップS8)、ステップS2へ戻る。
If the frame is the first frame, the frame skip number 19 output from the frame skip number determining unit 20 is set to an initial value N (sheet) (step S6).
Next, the video signal is input to the encoding engine unit 6 to be subjected to intra-frame encoding, converted into a bit stream by the variable length encoding unit 23, and then output buffer memory unit 1
The code is output from the code output unit 25 through step 7 (step S7). Then, the contents stored in the current frame memory of the frame memory unit 4 are moved to the previous frame memory (step S8), and the process returns to step S2.

【0025】以後は2枚目以降のフレームとなるため、
フレームスキップ部3において、フレームスキップ数1
9に応じた入力映像信号のフレームスキップ動作が行わ
れる(ステップS3)。フレームスキップ部3において
フレームスキップされた映像信号は、フレームメモリ4
の現フレームメモリに格納される(ステップS4)。そ
の後、フレームメモリ4の現フレームメモリ及び前フレ
ームメモリに格納されている画像が所定数のマクロブロ
ックに分割される(ステップS9)。
Since the subsequent frames are the second and subsequent frames,
In the frame skip unit 3, the number of frame skips is 1
The frame skip operation of the input video signal according to 9 is performed (step S3). The frame skipped video signal in the frame skip unit 3 is stored in the frame memory 4
Is stored in the current frame memory (step S4). After that, the images stored in the current frame memory and the previous frame memory of the frame memory 4 are divided into a predetermined number of macroblocks (step S9).

【0026】次いで、現フレームの全てのマクロブロッ
クについて処理が終了したかどうか判別し(ステップS
10)、終了してない場合は、動きベクトル発生部11
より、動きベクトルを発生させる(ステップS11)。
この動きベクトルは、零ベクトル(0,0)から順番に
その大きさが徐々に大きくなるように一定画素ずつ増大
させて発生されるものである。
Then, it is judged whether or not the processing has been completed for all macroblocks of the current frame (step S
10), if not completed, the motion vector generator 11
Then, a motion vector is generated (step S11).
This motion vector is generated by incrementing by a constant number of pixels such that its magnitude gradually increases from the zero vector (0, 0).

【0027】図3は動きベクトル発生部の動作の概念図
であり、以下同図を参照してこの動きベクトル発生部1
1の動作を説明する。図3の各格子は、動きベクトルの
最小単位を示している。例えば、動きベクトルの増加ス
テップが4分の1画素単位であれば、各格子は4分の1
画素を表している。丸で囲まれた数字は、動きベクトル
を発生させる順番である。零ベクトル(0,0)を初
めとして、この数字の順番に(0,1)、(1,
0)、(0,−1)、(−1,0)、(1,
1)、・・・、と動きベクトルをその大きさの小さい順
に発生させる。
FIG. 3 is a conceptual diagram of the operation of the motion vector generating section. The motion vector generating section 1 will be described below with reference to the same figure.
1 will be described. Each grid in FIG. 3 indicates the minimum unit of motion vector. For example, if the increment step of the motion vector is 1/4 pixel unit, each grid is 1/4.
Represents a pixel. Circled numbers are the order in which motion vectors are generated. Starting from the zero vector (0,0), (0,1), (1,
0), (0, -1), (-1, 0), (1,
1), ..., And the motion vectors are generated in ascending order of magnitude.

【0028】この動きベクトルは、動きベクトル情報9
として動き補償部8、符号化エンジン部6及び可変長符
号化部23に印加される。またそのスカラ長は動きベク
トルスカラ長情報10としてマクロブロック有意性判定
部15及びフレームスキップ数決定部20に印加され
る。
This motion vector is the motion vector information 9
Is applied to the motion compensation unit 8, the encoding engine unit 6 and the variable length encoding unit 23. Further, the scalar length is applied as motion vector scalar length information 10 to the macroblock significance determination unit 15 and the frame skip number determination unit 20.

【0029】次いで、動きベクトル発生部11において
全ての種類の動きベクトルを発生したかどうか判別し
(ステップS12)、発生していない場合は、そのマク
ロブロックに関する動き補償処理を動き補償部8で行う
(ステップS13)。即ち、フレームメモリ4に蓄えら
れている、前フレームの注目マクロブロックに対して動
きベクトル発生部11から与えられる1つの動きベクト
ル情報9で動き補償を施したマクロブロックを抽出し、
動き補償マクロブロック12として出力する。
Next, the motion vector generation unit 11 determines whether or not all types of motion vectors have been generated (step S12). If not generated, the motion compensation unit 8 performs motion compensation processing for that macroblock. (Step S13). That is, a macroblock which is motion-compensated with respect to the macroblock of interest of the previous frame stored in the frame memory 4 is extracted by one motion vector information 9 provided from the motion vector generation unit 11,
It is output as the motion compensation macroblock 12.

【0030】次いで、現フレームの注目マクロブロック
5と動き補償マクロブロック12とを減算部13に入力
し、各画素毎の差分絶対値14(歪)を算出してマクロ
ブロック有意性判定部15へと出力する(ステップS1
4)。マクロブロック有意性判定部15では、この差分
絶対値14からそのマクロブロックが有意であるか非有
意であるかを判定する(ステップS15)。
Next, the target macroblock 5 and the motion compensation macroblock 12 of the current frame are input to the subtraction unit 13, the difference absolute value 14 (distortion) for each pixel is calculated, and the macroblock significance judgment unit 15 is calculated. Is output (step S1
4). The macroblock significance judgment unit 15 judges from the absolute difference value 14 whether the macroblock is significant or insignificant (step S15).

【0031】図4はマクロブロック有意性判定部15の
動作の概念図であり、以下同図を参照して、この有意性
判定部15の機能を説明する。まず、マクロブロックを
縦横半分ずつ4分割し、それぞれの分割ブロックの差分
絶対値の総和を求める。その4つの総和値をT1、T
2、T3、T4とした場合、T1〜T4の中の最大のも
のmax(T1,T2,T3,T4)が、閾値Thを上
回るマクロブロックを有意マクロブロック、それ以外を
非有意マクロブロックと判定する。
FIG. 4 is a conceptual diagram of the operation of the macroblock significance judgment unit 15, and the function of the significance judgment unit 15 will be described below with reference to the figure. First, the macroblock is divided into four vertically and horizontally half, and the sum of absolute differences between the divided blocks is calculated. The four sum values are T1, T
2, T3, T4, the maximum one of T1 to T4 max (T1, T2, T3, T4) is determined to be a significant macroblock if the macroblock exceeds the threshold Th, and a non-significant macroblock otherwise. To do.

【0032】この判定の閾値Thは、図5にその一例を
示すように、動きベクトルスカラ長をパラメータに含む
関数によって決定される。この関数は、図5に示す特性
曲線に限定されるものではなく、動きベクトルスカラ長
が小さい場合は大きく、動きベクトル長が大きくなると
減少し、動きベクトルがある値を越えると飽和する特性
であればどのような特性曲線(直線)であってもよい。
これにより動きベクトルが小さいとき程、非有意マクロ
ブロックと判定される傾向になる。
The threshold value Th for this determination is determined by a function including the motion vector scalar length as a parameter, as an example is shown in FIG. This function is not limited to the characteristic curve shown in FIG. 5, and may be a characteristic that is large when the motion vector scalar length is small, decreases when the motion vector length becomes large, and saturated when the motion vector exceeds a certain value. Any characteristic curve (straight line) may be used.
As a result, the smaller the motion vector, the more likely it is to be determined as a non-significant macroblock.

【0033】非有意と判定された場合、動きベクトル及
びその「非有意」の情報を保存し(ステップS16)、
次のマクロブロックに進み(ステップS17)、ステッ
プS10〜S18の処理を繰り返す。有意と判定された
場合、ステップS11へ戻って次の大きさの動きベクト
ルを発生させてステップS12〜S15の同様の処理を
行う。
If it is determined to be non-significant, the motion vector and its "non-significant" information are saved (step S16),
The process proceeds to the next macroblock (step S17) and the processes of steps S10 to S18 are repeated. If it is determined to be significant, the process returns to step S11 to generate a motion vector of the next magnitude, and the same processing in steps S12 to S15 is performed.

【0034】ステップS12において、動きベクトル発
生部11が全ての種類の動きベクトルを発生したと判別
した場合は、そのマクロブロックは最後まで非有意と判
定されなかったため、最終的に有意マクロブロックであ
ることとなる。この場合は、フレーム間差分値が最も小
さかった動きベクトル及びその差分値を保存し(ステッ
プS18)、次のマクロブロックに進み(ステップS1
7)、ステップS10〜S18の処理を繰り返す。
In step S12, when the motion vector generation unit 11 determines that all types of motion vectors have been generated, the macroblock has not been determined to be insignificant until the end, and is finally a significant macroblock. It will be. In this case, the motion vector having the smallest inter-frame difference value and its difference value are stored (step S18), and the process proceeds to the next macroblock (step S1).
7), the processes of steps S10 to S18 are repeated.

【0035】このように、各マクロブロック毎に、動き
ベクトル発生部11から得られるそれぞれのベクトルに
対し、現フレームの有意性の判定を行う。全てのマクロ
ブロックに対してこの処理が終了した場合(ステップS
10)、次フレームまでのスキップ数19がフレームス
キップ数決定部20において算出される(ステップS1
9)。フレームスキップ数決定部20は、入力されるフ
レーム内に占める有意マクロブロックの割合情報16、
有意マクロブロックの動きベクトルのスカラ長情報1
0、及び/又は符号化直前までの発生情報量18をパラ
メータとして含む関数によってフレームスキップ数19
を決定する。
In this way, the significance of the current frame is determined for each of the vectors obtained from the motion vector generator 11 for each macroblock. When this process is completed for all macroblocks (step S
10), the number of skips 19 up to the next frame is calculated by the frame skip number determiner 20 (step S1).
9). The frame skip number determination unit 20 uses the ratio information 16 of significant macroblocks in the input frame,
Scalar length information of motion vector of significant macroblock 1
0 and / or the number of frame skips 19 by a function including the generated information amount 18 up to immediately before encoding as a parameter
To determine.

【0036】図6は有意マクロブロック割合に対するフ
レームスキップ数の好ましい特性の一例を表わしてい
る。有意マクロブロック割合が零の場合にフレームスキ
ップ数は零であり、有意マクロブロック割合が大きくな
るにつれてフレームスキップ数も大きくなり、有意マク
ロブロック割合がある値を越えると飽和する特性となっ
ている。なお、同図におけるフレームスキップ数の数値
は、単なる一例でありこれに限定されるものではない。
このように、現フレームを占めている有意マクロブロッ
クの割合が大きい場合、その現フレームを符号化するの
に必要な情報量は大きいと考えられるので、一定の品質
を維持できるまで、フレームスキップ数を必要最小限大
きくしている。しかし、フレームスキップ数の甚だしい
増加は、動き補償による情報量削減の効率が低下してし
まうので、有意マクロブロック割合16の増加に対し
て、フレームスキップ数19は増加させ続けるのではな
く、飽和するような傾向とする。
FIG. 6 shows an example of preferable characteristics of the number of frame skips with respect to the ratio of significant macroblocks. When the significant macroblock ratio is zero, the number of frame skips is zero, the number of frame skips increases as the significant macroblock ratio increases, and the characteristic becomes saturated when the significant macroblock ratio exceeds a certain value. The numerical value of the number of frame skips in the figure is merely an example and is not limited to this.
In this way, when the ratio of significant macroblocks that occupy the current frame is large, the amount of information required to encode that current frame is considered to be large, so the number of frame skips is required until a certain quality can be maintained. Is set to the minimum necessary. However, since a large increase in the number of frame skips reduces the efficiency of information amount reduction due to motion compensation, the number of frame skips 19 is saturated instead of continuing to increase with the increase in the significant macroblock ratio 16. Such a tendency.

【0037】図7は動きベクトルのスカラ長に対するフ
レームスキップ数の好ましい特性の一例を表わしてい
る。動きベクトルスカラ長が大きくなるにつれてフレー
ムスキップ数が減少する特性となっている。なお、同図
におけるフレームスキップ数の数値は、単なる一例であ
りこれに限定されるものではない。このように、有意マ
クロブロックの持つ動きベクトルスカラ長10が大きい
場合、フレームスキップ数19を大きくすると視覚的に
動きの不自然な画像となるため、フレームスキップ数1
9をやや減少させている。
FIG. 7 shows an example of preferable characteristics of the number of frame skips with respect to the scalar length of the motion vector. It has a characteristic that the number of frame skips decreases as the motion vector scalar length increases. The numerical value of the number of frame skips in the figure is merely an example and is not limited to this. As described above, when the motion vector scalar length 10 of the significant macroblock is large, increasing the frame skip number 19 results in an image in which the motion is visually unnatural.
9 is decreased a little.

【0038】図8は直前までの発生情報量(出力バッフ
ァメモリ部17の容量に対する情報蓄積量の割合)に対
するフレームスキップ数の好ましい特性の一例を表わし
ている。直前までの発生情報量が大きくなるにつれてフ
レームスキップ数も大きくなる特性となっている。な
お、同図におけるフレームスキップ数の数値は、単なる
一例でありこれに限定されるものではない。このよう
に、直前までの発生情報量18が大きいときには、スキ
ップ数を少し増加させ、発生情報量を抑えてバッファ溢
れを防いでいる。
FIG. 8 shows an example of preferable characteristics of the number of frame skips with respect to the amount of information generated up to immediately before (ratio of the information storage amount to the capacity of the output buffer memory unit 17). The characteristic is that the number of frame skips increases as the amount of generated information up to immediately before increases. The numerical value of the number of frame skips in the figure is merely an example and is not limited to this. In this way, when the generated information amount 18 up to immediately before is large, the number of skips is slightly increased to suppress the generated information amount to prevent buffer overflow.

【0039】フレームスキップ数は、上述の有意マクロ
ブロックの割合、有意マクロブロックの動きベクトルス
カラ長、及び符号化直前までの発生情報量のいずれか1
つをパラメータとする関数であってもよいが、これらを
全てパラメータとする関数であってもよい。
The number of frame skips is one of the above-mentioned ratio of significant macroblocks, the motion vector scalar length of significant macroblocks, and the amount of generated information immediately before encoding.
It may be a function having two as parameters, or a function having all of these as parameters.

【0040】図9はその場合のフレームスキップ数の好
ましい特性を3次元的に表わしている。即ち、有意マク
ロブロック割合が零の場合にフレームスキップ数は零で
あり、有意マクロブロック割合が大きくなるにつれてフ
レームスキップ数も大きくなり、有意マクロブロック割
合がある値を越えると飽和し、動きベクトルスカラ長が
大きくなるにつれてフレームスキップ数が減少し、直前
までの発生情報量が大きくなるにつれてフレームスキッ
プ数も大きくなる特性となっている。
FIG. 9 three-dimensionally represents the preferable characteristic of the number of frame skips in that case. That is, when the significant macroblock ratio is zero, the number of frame skips is zero, and as the significant macroblock ratio increases, the number of frame skips also increases. When the significant macroblock ratio exceeds a certain value, it is saturated and the motion vector scalar The number of frame skips decreases as the length increases, and the number of frame skips increases as the amount of generated information up to immediately before increases.

【0041】一例として、注目フレームにおける有意マ
クロブロック割合が30%、動きベクトルスカラ長が6
0、直前までの情報発生量が出力バッファの70%を占
めているとすると、図6よりスキップ数は7枚、図7よ
りスキップ数は+1枚、図8よりスキップ数は−1枚で
あるので、最終的なフレームスキップ数は、この場合、
7+1+(−1)=7枚となる。
As an example, the significant macroblock ratio in the target frame is 30%, and the motion vector scalar length is 6
0, assuming that the information generation amount up to immediately before occupies 70% of the output buffer, the skip number is 7 from FIG. 6, the skip number is +1 from FIG. 7, and the skip number is −1 from FIG. So the final number of frame skips is
7 + 1 + (-1) = 7 sheets.

【0042】次フレームまでのフレームスキップ数を決
定した後、決定されたフレームスキップ数19、現フレ
ームの注目マクロブロック5、動きベクトル情報9、及
びマクロブロックの有意情報21をそれぞれ符号化エン
ジン部6に入力する(ステップS20)と共に、動きベ
クトル情報9及びマクロブロックの有意情報21を可変
長符号化部23に入力する。
After the number of frame skips up to the next frame is determined, the determined frame skip number 19, the target macroblock 5 of the current frame, the motion vector information 9, and the significant information 21 of the macroblock are respectively encoded. (Step S20), the motion vector information 9 and the macroblock significant information 21 are input to the variable length coding unit 23.

【0043】符号化エンジン部6において、決定された
フレームスキップ数19は量子化部6gに入力され、量
子化器選択のためのパラメータとして用いられる。フレ
ームスキップ数19が大きいときは、伝送路に余裕があ
るため、やや細かい量子化器を選択する。逆にフレーム
スキップ数19が小さいときには、やや粗い量子化器を
選択するようにする。図10はフレームスキップ数に対
する量子化ステップの好ましい特性の一例を表わしてい
る。フレームスキップ数が大きくなるにつれて量子化ス
テップ数が細かくなる特性となっている。なお、同図に
おけるフレームスキップ数の数値は、単なる一例であり
これに限定されるものではない。
In the encoding engine unit 6, the determined frame skip number 19 is input to the quantizing unit 6g and used as a parameter for selecting a quantizer. When the number of frame skips 19 is large, a slightly fine quantizer is selected because there is a margin in the transmission path. On the contrary, when the number of frame skips 19 is small, a quantizer with a slightly coarser number is selected. FIG. 10 shows an example of preferable characteristics of the quantization step with respect to the number of frame skips. As the number of frame skips increases, the number of quantization steps becomes finer. The numerical value of the number of frame skips in the figure is merely an example and is not limited to this.

【0044】マクロブロックの有意情報21はスイッチ
6eに印加され、有意マクロブロックの場合はこのスイ
ッチ6eをオンとしてそのマクロブロックに関する予測
誤差を量子化するが、非有意マクロブロックの場合はこ
のスイッチ6eをオフとしてそのマクロブロックに関す
る予測誤差を量子化しない。符号化エンジン部6のその
他の動作は公知であるため、説明を省略する。
The macroblock significant information 21 is applied to the switch 6e, which in the case of a significant macroblock turns on this switch 6e to quantize the prediction error for that macroblock, but in the case of a non-significant macroblock this switch 6e. Is off and the prediction error for that macroblock is not quantized. Since other operations of the encoding engine unit 6 are known, description thereof will be omitted.

【0045】符号化エンジン部6で得られたそのフレー
ムの量子化データ22(有意マクロブロックの場合)、
動ベクトル情報9、及びマクロブロックの有意情報21
は可変長符号化部23で符号化され(ステップS2
1)、出力バッファメモリ部17を通して、符号出力部
25から伝送路上に出力される。次いでステップS2か
らの同様の動作が次のフレームに関して繰り返される。
The quantized data 22 of the frame obtained by the encoding engine unit 6 (in the case of a significant macroblock),
Motion vector information 9 and macroblock significant information 21
Is encoded by the variable length encoding unit 23 (step S2
1), output from the code output unit 25 on the transmission path through the output buffer memory unit 17. Then similar operations from step S2 are repeated for the next frame.

【0046】以上述べたように本実施形態によれば、動
きベクトルのみを伝送する非有意マクロブロックに関し
て、そのマクロブロックが非有意と判定される範囲内
で、動きベクトルのスカラ長が小さくなるように選ばれ
るので、発生する動きベクトル情報量を抑えることがで
きる。
As described above, according to this embodiment, with respect to an insignificant macroblock that transmits only a motion vector, the scalar length of the motion vector is reduced within the range in which the macroblock is determined to be insignificant. , The amount of generated motion vector information can be suppressed.

【0047】また、フレームスキップ数を注目フレーム
の符号化前に決定することにより、その画像の持つ特徴
を十分に生かしたフレームスキップ数を決定することが
可能となる。その結果、画像の持つ情報量をあらかじめ
予測し、フレームレートの制御をすることが可能にな
り、品質が一定な可変フレームレート画像符号化が可能
となった。また、動きベクトル情報をフレームレートの
制御に用いることができるので、視覚的に自然な動きの
画像を得ることができる。
Also, by determining the number of frame skips before encoding the frame of interest, it is possible to determine the number of frame skips that makes full use of the characteristics of the image. As a result, it becomes possible to predict the amount of information of an image in advance and control the frame rate, and it is possible to perform variable frame rate image coding with constant quality. Further, since the motion vector information can be used for controlling the frame rate, it is possible to obtain a visually natural motion image.

【0048】以上述べた実施形態は全て本発明を例示的
に示すものであって限定的に示すものではなく、本発明
は他の種々の変形態様及び変更態様で実施することがで
きる。従って本発明の範囲は特許請求の範囲及びその均
等範囲によってのみ規定されるものである。
The embodiments described above all show the present invention by way of example and not by way of limitation, and the present invention can be embodied in other various modifications and alterations. Therefore, the scope of the present invention is defined only by the claims and their equivalents.

【0049】[0049]

【発明の効果】以上詳細に説明したように本発明によれ
ば、符号化対象マクロブロックが非有意と判別される範
囲内で最小の大きさの動きベクトルを選択しているの
で、動きベクトルのみを伝送する場合にその伝送される
動きベクトル情報量が少なくなり、伝送情報量の低減化
を図ることができる。
As described in detail above, according to the present invention, since the motion vector having the smallest size is selected within the range in which the macroblock to be coded is determined to be insignificant, only the motion vector is selected. , The amount of motion vector information to be transmitted is reduced, and the amount of transmitted information can be reduced.

【0050】閾値が動きベクトルの大きさをパラメータ
に含む関数によって決定され、関数が動きベクトルの大
きさが大きくなると減少する関数であるか、又は動きベ
クトルの大きさが大きくなると減少し、動きベクトルが
ある値を越えると飽和する関数であるようにすることに
より、動きベクトルが小さいほど、非有意マクロブロッ
クと判定され易くなる。
The threshold value is determined by a function including the size of the motion vector as a parameter, and the function is a function that decreases when the size of the motion vector increases, or decreases when the size of the motion vector increases and the motion vector decreases. By using a function that saturates when a certain value is exceeded, the smaller the motion vector, the easier it is to determine as a non-significant macroblock.

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

【図1】本発明の動画像符号化装置の一実施形態の構成
を概略的に示すブロック図である。
FIG. 1 is a block diagram schematically showing a configuration of an embodiment of a moving image encoding device of the present invention.

【図2】図1の実施形態における主要動作を説明するフ
ローチャートである。
FIG. 2 is a flowchart illustrating main operations in the embodiment of FIG.

【図3】動きベクトル発生部の動作の概念図である。FIG. 3 is a conceptual diagram of an operation of a motion vector generation unit.

【図4】マクロブロック有意性判定部の動作の概念図で
ある。
FIG. 4 is a conceptual diagram of an operation of a macroblock significance judgment unit.

【図5】マクロブロック有意性判定閾値の特性図であ
る。
FIG. 5 is a characteristic diagram of a macroblock significance judgment threshold value.

【図6】有意マクロブロック割合に対するフレームスキ
ップ数の好ましい特性の一例を表わす特性図である。
FIG. 6 is a characteristic diagram showing an example of preferable characteristics of the number of frame skips with respect to a significant macroblock ratio.

【図7】動きベクトルのスカラ長に対するフレームスキ
ップ数の好ましい特性の一例を表わす特性図である。
FIG. 7 is a characteristic diagram illustrating an example of preferable characteristics of the number of frame skips with respect to the scalar length of a motion vector.

【図8】直前までの発生情報量に対するフレームスキッ
プ数の好ましい特性の一例を表わす特性図である。
FIG. 8 is a characteristic diagram showing an example of preferable characteristics of the number of frame skips with respect to the amount of generated information up to immediately before.

【図9】フレームスキップ数の好ましい特性を3次元的
に表わす特性図である。
FIG. 9 is a characteristic diagram showing a preferable characteristic of the number of frame skips in a three-dimensional manner.

【図10】フレームスキップ数に対する量子化ステップ
の好ましい特性の一例を表わす特性図である。
FIG. 10 is a characteristic diagram showing an example of preferable characteristics of a quantization step with respect to the number of frame skips.

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

1 可変フレームレート動画像符号化装置 2 映像信号入力部 3 フレームスキップ部 4、6j フレームメモリ 6 符号化エンジン部 6a、6b モードスイッチ 6c、13 減算部 6d 加算部 6e スイッチ 6f DCT(離散コサイン変換)回路 6g Q(量子化回路) 6h Q-1(逆量子化回路) 6i IDCT(離散コサイン逆変換)回路 6k、8 動き補償部 11 動きベクトル発生部 15 マクロブロック有意/非有意判定部 17 出力バッファメモリ部 20 フレームスキップ数決定部 23 VLC(可変長符号化部) 25 符号出力部1 Variable Frame Rate Video Coding Device 2 Video Signal Input Unit 3 Frame Skip Unit 4, 6j Frame Memory 6 Encoding Engine Unit 6a, 6b Mode Switch 6c, 13 Subtractor 6d Adder 6e Switch 6f DCT (Discrete Cosine Transform) Circuit 6g Q (quantization circuit) 6h Q -1 (inverse quantization circuit) 6i IDCT (inverse discrete cosine transform) circuit 6k, 8 motion compensation unit 11 motion vector generation unit 15 macroblock significant / insignificant determination unit 17 output buffer Memory unit 20 Frame skip number determination unit 23 VLC (Variable length coding unit) 25 Code output unit

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 発生させた動きベクトルを用いて前フレ
ームのマクロブロックに動き補償を施し、該動き補償を
施したマクロブロックと現フレームの符号化対象マクロ
ブロックとの差分である予測誤差を算出し、該算出した
予測誤差を閾値と比較することにより該符号化対象マク
ロブロックが該閾値より小さい非有意マクロブロックで
あるか大きい有意マクロブロックであるかを判別し、有
意マクロブロックである場合は符号化を行い、非有意マ
クロブロックである場合は前記動きベクトルのみを伝送
するようにした動画像符号化方法であって、 前記符号化対象マクロブロックが非有意と判別される範
囲内で最小の大きさの動きベクトルを選択することを特
徴とする動画像符号化方法。
1. A motion compensation is performed on a macroblock of a previous frame using a generated motion vector, and a prediction error, which is a difference between the motion-compensated macroblock and an encoding target macroblock of the current frame, is calculated. Then, the calculated prediction error is compared with a threshold to determine whether the macroblock to be encoded is a non-significant macroblock smaller than the threshold or a significant macroblock larger than the threshold. It is a moving picture coding method that performs coding and transmits only the motion vector in the case of a non-significant macroblock, which is the smallest within the range in which the coding target macroblock is determined to be non-significant. A moving picture coding method characterized by selecting a motion vector of a size.
【請求項2】 前記動きベクトルを最小の大きさの動き
ベクトルから順次大きくして発生させ、その発生の都
度、該発生した動きベクトルを用いて動き補償を施し、
予測誤差を算出し、該算出した予測誤差を閾値と比較す
ることにより前記有意及び非有意の判別を行うようにし
たことを特徴とする請求項1に記載の方法。
2. The motion vector is generated by sequentially increasing the motion vector from the smallest size, and each time the motion vector is generated, motion compensation is performed using the generated motion vector,
The method according to claim 1, characterized in that a prediction error is calculated and the calculated prediction error is compared with a threshold value to make the distinction between the significant and the insignificant.
【請求項3】 前記閾値が動きベクトルの大きさをパラ
メータに含む関数によって決定されることを特徴とする
請求項1又は2に記載の方法。
3. The method according to claim 1, wherein the threshold value is determined by a function including a magnitude of a motion vector as a parameter.
【請求項4】 前記関数が動きベクトルの大きさが大き
くなると減少する関数であることを特徴とする請求項3
に記載の方法。
4. The function according to claim 3, wherein the function decreases as the magnitude of the motion vector increases.
The method described in.
【請求項5】 前記関数が動きベクトルの大きさが大き
くなると減少し、動きベクトルがある値を越えると飽和
する関数であることを特徴とする請求項3に記載の方
法。
5. The method according to claim 3, wherein the function is a function that decreases as the magnitude of the motion vector increases and saturates when the motion vector exceeds a certain value.
【請求項6】 動きベクトルを発生させる動きベクトル
発生手段と、該発生させた動きベクトルを用いて前フレ
ームのマクロブロックに動き補償を施す動き補償手段
と、該動き補償を施したマクロブロックと現フレームの
符号化対象マクロブロックとの差分である予測誤差を算
出する算出手段と、該算出した予測誤差を閾値と比較す
ることにより、該符号化対象マクロブロックが該閾値よ
り小さい非有意マクロブロックであるか大きい有意マク
ロブロックであるかを判別する判別手段と、有意マクロ
ブロックである場合は符号化を行い、非有意マクロブロ
ックである場合は前記動きベクトルのみを伝送する手段
とを備えた動画像符号化装置であって、 前記動きベクトル発生手段は、前記符号化対象マクロブ
ロックが非有意と判別される範囲内で最小の大きさの動
きベクトルを選択する手段であることを特徴とする動画
像符号化装置。
6. A motion vector generation means for generating a motion vector, a motion compensation means for performing motion compensation on a macroblock of a previous frame using the generated motion vector, a macroblock for which motion compensation has been performed, and a current block. By calculating the prediction error that is the difference between the frame and the macroblock to be encoded, and comparing the calculated prediction error with a threshold, the macroblock to be encoded is an insignificant macroblock smaller than the threshold. A moving image provided with a determination means for determining whether there is a significant macroblock or a large significant macroblock, and a means for performing encoding if the macroblock is a significant macroblock, and transmitting only the motion vector if the macroblock is a non-significant macroblock. An encoding device, wherein the motion vector generating means is within a range in which the encoding target macroblock is determined to be insignificant. Video encoding apparatus, characterized in that the means for selecting the minimum size of the motion vector.
【請求項7】 前記動きベクトル発生手段は、前記動き
ベクトルを最小の大きさの動きベクトルから順次大きく
して発生させる手段であり、前記動き補償手段、前記算
出手段及び前記判別手段は、該動きベクトルが発生した
都度、該発生した動きベクトルを用いて動き補償を施
し、予測誤差を算出し、該算出した予測誤差を閾値と比
較することにより前記有意及び非有意の判別を行う手段
であることを特徴とする請求項6に記載の装置。
7. The motion vector generating means is means for sequentially increasing the motion vector from a motion vector having a minimum size and generating the motion vector, and the motion compensating means, the calculating means and the determining means are means for moving the motion vector. Each time a vector is generated, motion compensation is performed using the generated motion vector, a prediction error is calculated, and the calculated prediction error is compared with a threshold value to determine the significance and the non-significance. 7. The device according to claim 6, characterized in that
【請求項8】 前記判別手段は、動きベクトルの大きさ
をパラメータに含み前記閾値を決定するための関数を有
していることを特徴とする請求項6又は7に記載の装
置。
8. The apparatus according to claim 6, wherein the determination means has a function for including the magnitude of a motion vector as a parameter to determine the threshold value.
【請求項9】 前記関数が動きベクトルの大きさが大き
くなると減少する関数であることを特徴とする請求項8
に記載の装置。
9. The function according to claim 8, wherein the function decreases as the magnitude of the motion vector increases.
An apparatus according to claim 1.
【請求項10】 前記関数が動きベクトルの大きさが大
きくなると減少し、動きベクトルがある値を越えると飽
和する関数であることを特徴とする請求項8に記載の装
置。
10. The apparatus according to claim 8, wherein the function is a function that decreases as the magnitude of the motion vector increases and saturates when the motion vector exceeds a certain value.
JP34707395A 1995-12-15 1995-12-15 Moving image encoding method and apparatus Expired - Lifetime JP3573176B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP34707395A JP3573176B2 (en) 1995-12-15 1995-12-15 Moving image encoding method and apparatus
US08/766,145 US5940131A (en) 1995-12-15 1996-12-12 Method and apparatus for coding moving pictures

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34707395A JP3573176B2 (en) 1995-12-15 1995-12-15 Moving image encoding method and apparatus

Publications (2)

Publication Number Publication Date
JPH09168154A true JPH09168154A (en) 1997-06-24
JP3573176B2 JP3573176B2 (en) 2004-10-06

Family

ID=18387739

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34707395A Expired - Lifetime JP3573176B2 (en) 1995-12-15 1995-12-15 Moving image encoding method and apparatus

Country Status (1)

Country Link
JP (1) JP3573176B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990081354A (en) * 1998-04-28 1999-11-15 김영환 Motion Estimation Method by Region of Image
KR100549926B1 (en) * 1998-04-28 2006-10-19 주식회사 팬택앤큐리텔 Motion vector estimator for each area of image and motion compensation prediction encoding / decoding method for each area of image
KR100870278B1 (en) * 2006-03-30 2008-11-25 가부시끼가이샤 도시바 Apparatus for creating interpolation frame

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990081354A (en) * 1998-04-28 1999-11-15 김영환 Motion Estimation Method by Region of Image
KR100549926B1 (en) * 1998-04-28 2006-10-19 주식회사 팬택앤큐리텔 Motion vector estimator for each area of image and motion compensation prediction encoding / decoding method for each area of image
KR100870278B1 (en) * 2006-03-30 2008-11-25 가부시끼가이샤 도시바 Apparatus for creating interpolation frame

Also Published As

Publication number Publication date
JP3573176B2 (en) 2004-10-06

Similar Documents

Publication Publication Date Title
JPH05344493A (en) Dynamic image coder
JPH09271026A (en) Image encoding device
JPH04262694A (en) Encoding device for picture signal
US5521643A (en) Adaptively coding method and apparatus utilizing variation in quantization step size
JPH07112284B2 (en) Predictive encoding device and decoding device
JP2894067B2 (en) Moving picture coding control method and moving picture coding apparatus
US5227877A (en) High-efficient coding apparatus for video signal
JPH09168155A (en) Variable frame rate dynamic image coding method
US6512792B1 (en) Moving image encoding apparatus with a quantization step size different from the dequantization step size
US5508745A (en) Apparatus for controlling a quantization level to be modified by a motion vector
JPH11177993A (en) Moving image encoding device
JP3173257B2 (en) Encoding method and encoding device
JP3573176B2 (en) Moving image encoding method and apparatus
US5940131A (en) Method and apparatus for coding moving pictures
JPS61164390A (en) Adaptive forecast coding device of inter-frame and between frames of animation picture signal
JPH08154250A (en) Moving image coder
JPH0730859A (en) Frame interpolation device
JP2512165B2 (en) Video signal encoder
JP2892701B2 (en) Video signal encoding device
JP3223043B2 (en) Video encoding device
JPH03255792A (en) Picture quality controller
JPH0456492A (en) Moving image encoding control system
JPH10210480A (en) Dynamic image coding system
JPH10145793A (en) Image coding device and method, and image decoding device and method
JP4343745B2 (en) Video encoding calculation amount control method, video encoding calculation amount control device, video encoding calculation amount control program, and program recording medium thereof

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020226

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040622

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: 20100709

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100709

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110709

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110709

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130709

Year of fee payment: 9

EXPY Cancellation because of completion of term