JP3206413B2 - Variable frame rate video coding method - Google Patents
Variable frame rate video coding methodInfo
- Publication number
- JP3206413B2 JP3206413B2 JP34707495A JP34707495A JP3206413B2 JP 3206413 B2 JP3206413 B2 JP 3206413B2 JP 34707495 A JP34707495 A JP 34707495A JP 34707495 A JP34707495 A JP 34707495A JP 3206413 B2 JP3206413 B2 JP 3206413B2
- Authority
- JP
- Japan
- Prior art keywords
- frame
- macroblock
- significant
- motion vector
- skips
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T9/00—Image coding
- G06T9/004—Predictors, e.g. intraframe, interframe coding
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Description
【0001】[0001]
【発明の属する技術分野】本発明は、動画像信号を動き
補償して符号化する動画像符号化方法に関し、特に、低
ビットレートで伝送する場合に有効な可変フレームレー
ト符号化を行うための可変フレームレート動画像符号化
方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving picture coding method for coding a moving picture signal with motion compensation, and more particularly to a method for performing variable frame rate coding which is effective when transmitting at a low bit rate. The present invention relates to a variable frame rate video coding method.
【0002】[0002]
【従来の技術】従来の可変フレームレート動画像符号化
装置におけるフレームスキップ数決定方法としては、現
フレームを符号化して実際に発生した符号量を求め、こ
の発生符号量に基づいてフレームスキップ数を制御する
ことが行われていた。2. Description of the Related Art As a method of determining the number of frame skips in a conventional variable frame rate moving picture coding apparatus, a current frame is encoded to determine an actually generated code amount, and based on the generated code amount, a frame skip number is calculated. Control was done.
【0003】即ち、まず、現フレームの目標符号化ビッ
ト数を、前フレームで発生した情報量より求め、次に、
目標符号化ビット数から量子化ステップ数を決定し、こ
の量子化ステップ数で現フレームを符号化する。現フレ
ームをこのように実際に符号化した後、バッファに蓄積
された符号量の大きさに応じて、次フレームを符号化す
るまでの間に、与えられたビットレートで伝送が行える
ようフレームスキップ数を決定するものであった。That is, first, the target number of coded bits of the current frame is obtained from the amount of information generated in the previous frame.
The number of quantization steps is determined from the target number of coding bits, and the current frame is encoded with the number of quantization steps. After actually encoding the current frame in this way, depending on the amount of code stored in the buffer, frame skipping is performed so that transmission at a given bit rate can be performed until the next frame is encoded. Was to determine the number.
【0004】[0004]
【発明が解決しようとする課題】このように従来の方法
によると、現フレームを実際に符号化した後、バッファ
に蓄積された符号量の大きさに応じて次フレームを符号
化するまでのフレームスキップ数を決定していた。即
ち、前フレームの符号化結果から求められる目標ビット
数と、現フレームを実際に符号化するのに必要なビット
数との偏差を吸収するようにフレームスキップ数を変化
させ、次フレーム以後のフレームレートを制御するもの
であったため、次のような問題が生じていた。As described above, according to the conventional method, after a current frame is actually coded, a frame until a next frame is coded according to the amount of code stored in a buffer. The number of skips was determined. That is, the number of frame skips is changed so as to absorb the difference between the target number of bits obtained from the coding result of the previous frame and the number of bits necessary for actually coding the current frame, and the frame after the next frame is changed. Since the rate was controlled, the following problems occurred.
【0005】従来の方法では、各フレームで発生する情
報量の大小はできるだけ量子化の制御に用い、前フレー
ムから求められる目標とする符号化ビット数が達成でき
なかった分についてはフレームスキップ数を変化させる
という制御であるため、フレームレートの制御はあくま
で量子化を行った後の副産物的な要素であり、画像の特
徴を利用したフレームレート制御が不可能であった。こ
のため、現フレームの実際の符号量が大きい場合、自動
的にスキップ数が大きくなって量子化が粗くなるので画
像品質が低下したり、例えば速い動きがあって前フレー
ムと現フレームとの間の動き量が大きい場合には、コマ
落しを行ったような不自然な画像になってしまう。In the conventional method, the magnitude of the amount of information generated in each frame is used for quantization control as much as possible, and the number of frame skips is reduced if the target number of encoded bits obtained from the previous frame cannot be achieved. Because of the control of changing the frame rate, the control of the frame rate is a by-product element after the quantization, and it is impossible to control the frame rate using the characteristics of the image. For this reason, when the actual code amount of the current frame is large, the skip number is automatically increased and the quantization is coarse, so that the image quality is degraded. If the amount of movement is large, the image becomes unnatural as if frame skipping was performed.
【0006】従って、本発明の目的は、画像の品質を一
定に保ち、かつ視覚的に自然な動きの動画像になるよう
な可変フレームレート動画像符号化方法を提供すること
にある。SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide a variable frame rate moving picture coding method which maintains a constant picture quality and produces a moving picture having a visually natural motion.
【0007】[0007]
【課題を解決するための手段】本発明は、動きベクトル
を用いて前フレームのマクロブロックに動き補償を施
し、動き補償を施したマクロブロックと現フレームの符
号化対象マクロブロックとの差分である予測誤差を算出
し、算出した予測誤差を閾値と比較することによりこの
符号化対象マクロブロックが閾値より小さい非有意マク
ロブロックであるか大きい有意マクロブロックであるか
を判別し、有意マクロブロックである場合は符号化を行
い、非有意マクロブロックである場合は動きベクトルの
みを伝送するようにした可変フレームレート動画像符号
化方法に関している。特に本発明によれば、現フレーム
中を占める有意マクロブロックの割合を算出し、算出し
た割合を用いて現フレームから次フレームまでのフレー
ムスキップ数を符号化前に決定する。According to the present invention, a macroblock of a previous frame is subjected to motion compensation using a motion vector, and the difference between the motion-compensated macroblock and the current macroblock to be coded is obtained. By calculating a prediction error and comparing the calculated prediction error with a threshold, it is determined whether the current macroblock is a non-significant macroblock or a large significant macroblock smaller than the threshold. The present invention relates to a variable frame rate moving image encoding method in which encoding is performed in the case of a non-significant macroblock and only a motion vector is transmitted in the case of a non-significant macroblock. In particular, according to the present invention, the ratio of significant macroblocks occupying the current frame is calculated, and the number of frame skips from the current frame to the next frame is determined before encoding using the calculated ratio.
【0008】フレームスキップ数を現フレームの符号化
前に決定することにより、その画像の持つ特徴を十分に
生かしたフレームスキップ数を決定することが可能とな
る。その結果、画像の持つ情報量をあらかじめ予測し、
フレームレートの制御をすることが可能になり、品質が
一定な可変フレームレート画像符号化が可能となった。
また、現フレームを占めている有意マクロブロックの割
合に応じてフレームスキップ数を制御すれば、一定の品
質を維持することが可能となる。By determining the number of frame skips before encoding the current frame, it is possible to determine the number of frame skips that makes full use of the characteristics of the image. As a result, the amount of information of the image is predicted in advance,
The frame rate can be controlled, and variable frame rate image coding with constant quality has become possible.
In addition, if the number of frame skips is controlled according to the ratio of significant macroblocks occupying the current frame, it is possible to maintain a constant quality.
【0009】フレームスキップ数の決定は、有意マクロ
ブロック割合が大きくなると増大する関数か、又は有意
マクロブロック割合が大きくなると増大し、この割合が
ある値を越えると飽和する関数を用いて行われることが
好ましい。現フレームを占めている有意マクロブロック
の割合が大きい場合、その現フレームを符号化するのに
必要な情報量は大きいと考えられるので、一定の品質を
維持できるまで、フレームスキップ数を必要最小限大き
くしている。しかし、フレームスキップ数の甚だしい増
加は、動き補償による情報量削減の効率が低下してしま
うので、有意マクロブロック割合の増加に対して、フレ
ームスキップ数は増加させ続けるのではなく飽和させて
いる。The number of frame skips is determined using a function that increases as the ratio of significant macroblocks increases, or a function that increases as the ratio of significant macroblocks increases and saturates when this ratio exceeds a certain value. Is preferred. If the proportion of significant macroblocks occupying the current frame is large, the amount of information necessary to encode the current frame is considered to be large, so the number of frame skips is kept to a minimum until a certain quality can be maintained. I'm making it big. However, a significant increase in the number of frame skips decreases the efficiency of information amount reduction by motion compensation. Therefore, the number of frame skips is saturated rather than being continuously increased with respect to an increase in the ratio of significant macroblocks.
【0010】さらに本発明によれば、現フレーム内の動
きベクトルの大きさを求め、求めた動きベクトルの大き
さを用いて現フレームから次フレームまでのフレームス
キップ数を符号化前に決定している。このように、動き
ベクトル情報をフレームレートの制御に用いているの
で、視覚的に自然な動きの画像を得ることができる。Further, according to the present invention, the magnitude of the motion vector in the current frame is determined, and the number of frame skips from the current frame to the next frame is determined before encoding using the determined magnitude of the motion vector. I have. As described above, since the motion vector information is used for controlling the frame rate, a visually natural motion image can be obtained.
【0011】フレームスキップ数の決定は、動きベクト
ルの大きさが大きくなると減少する関数を用いて行われ
ることが好ましい。有意マクロブロックの持つ動きベク
トルスカラ長が大きい場合、フレームスキップ数を大き
くすると視覚的に動きの不自然な画像となるため、フレ
ームスキップ数をやや減少させている。The number of frame skips is preferably determined using a function that decreases as the magnitude of the motion vector increases. When the motion vector scalar length of a significant macroblock is large, an image having visually unnatural motion is caused by increasing the number of frame skips. Therefore, the number of frame skips is slightly reduced.
【0012】フレームスキップ数の決定は、現フレーム
符号化直前までの発生情報量をもさらに用いて行われる
ことが好ましい。この場合、直前までの発生情報量が大
きくなると増大する関数を用いて行われることがより好
ましい。このように、直前までの発生情報量が大きいと
きには、スキップ数を少し増加させ、発生情報量を抑え
ることによってバッファ溢れを防止できる。It is preferable that the number of frame skips is determined by further using the amount of information generated immediately before encoding the current frame. In this case, it is more preferable to use a function that increases as the amount of generated information up to immediately before increases. As described above, when the amount of generated information until immediately before is large, the buffer overflow can be prevented by slightly increasing the skip number and suppressing the generated information amount.
【0013】決定したフレームスキップ数を用いて量子
化ステップの制御が行われることも好ましい。この場
合、フレームスキップ数が大きくなると量子化ステップ
が細かくなる関数を用いて行われることがより好まし
い。フレームスキップ数が大きいときは、伝送路に余裕
があるため、やや細かい量子化ステップとし、逆にフレ
ームスキップ数が小さいときには、やや粗い量子化ステ
ップとしている。It is also preferable that the quantization step is controlled using the determined number of frame skips. In this case, it is more preferable that the quantization step is performed using a function that becomes finer as the number of frame skips increases. When the number of frame skips is large, there is room in the transmission path, so a slightly finer quantization step is used. Conversely, when the number of frame skips is small, a slightly coarser quantization step is used.
【0014】[0014]
【発明の実施の形態】以下、図面を参照して本発明を詳
細に説明する。図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 the moving picture coding apparatus according to the present invention.
【0015】同図において、1は可変フレームレート動
画像符号化装置全体の構成を示している。この動画像符
号化装置1は、映像信号入力部2と、この映像信号入力
部2に接続されており入力された映像信号に対してフレ
ームスキップを行うフレームスキップ部3と、このフレ
ームスキップ部3に接続されておりフレームスキップし
て入力された少なくとも前フレーム及び現フレームの映
像信号を格納しておくフレームメモリ4と、フレームメ
モリ4から出力される現フレームの符号化対象マクロブ
ロック(注目マクロブロック)の映像信号5が入力され
る符号化エンジン部6とを含んでいる。In FIG. 1, reference numeral 1 denotes the configuration of the entire variable frame rate moving picture coding apparatus. The moving picture coding apparatus 1 includes a video signal input unit 2, a frame skip unit 3 connected to the video signal input unit 2 and performing a frame skip on the input video signal, and a frame skip unit 3. , A frame memory 4 for storing at least the video signals of the previous frame and the current frame inputted by skipping the frame, and a current macroblock to be encoded of the current frame outputted from the frame memory 4 (the macro block of interest). ), And an encoding engine unit 6 to which the video signal 5 is input.
【0016】フレームメモリ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, a motion vector generation unit 11 that sequentially generates motion vectors from a small scalar length to a large scalar length and outputs the motion vector information 9 and the scalar length information 10 includes a motion compensation unit 8 and an encoding engine. Part 6
, A VLC (variable length coding unit) 23, a macroblock significant / insignificant determination unit 15, and a frame skip number determination unit 20. The motion compensator 8 stores the video signal 7 of each macroblock of the previous frame in the frame memory 4.
Given by
【0017】減算部13には、その+入力に接続された
フレームメモリ4から現フレームの注目マクロブロック
の映像信号5と、−入力に接続された動き補償部8から
動き補償された前フレームのマクロブロックの映像信号
12とが入力される。減算部13の出力は有意/非有意
判定部15に接続されている。この有意/非有意判定部
15には、減算部13からマクロブロック間差分値14
が動きベクトル発生部11からスカラ長情報10が入力
される。有意/非有意判定部15の出力はフレームスキ
ップ数決定部20に接続されている。The subtractor 13 has a video signal 5 of the current macroblock of interest from the frame memory 4 connected to its + input, and a previous frame whose motion has been compensated by the motion compensator 8 connected to the-input. The video signal 12 of the macro block is input. The output of the subtraction unit 13 is connected to a significant / insignificant determination unit 15. The significant / insignificant determination unit 15 includes a difference value 14 between macroblocks 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.
【0018】このフレームスキップ数決定部20は、さ
らに、出力バッファメモリ部17及びフレームスキップ
部3に接続されており、有意/非有意判定部15から有
意マクロブロック割合情報16が動きベクトル発生部1
1からスカラ長情報10が出力バッファメモリ部17か
ら直前までの発生情報量18がそれぞれ入力されてい
て、フレームスキップ数情報19を発生してフレームス
キップ部3及び符号化エンジン部6へ出力する。The frame skip number determining section 20 is further connected to the output buffer memory section 17 and the frame skip section 3. The significant / insignificant determining section 15 outputs significant macroblock ratio information 16 to the motion vector generating section 1.
The generated information amount 18 from 1 to the scalar length information 10 from the output buffer memory unit 17 to the immediately before is input, and the frame skip number information 19 is generated and output to the frame skip unit 3 and the encoding engine unit 6.
【0019】可変長符号化部23は、有意/非有意判定
部15と、符号化エンジン部6と、動きベクトル発生部
11とに接続されており、それぞれからマクロブロック
有意情報21、量子化情報22及び動きベクトル情報9
を受け取り符号化を行う。この可変長符号化部23はさ
らに前述の出力バッファメモリ部17の入力に接続され
ており符号化出力24を出力する。出力バッファメモリ
部17の出力は符号出力部25に接続されている。The variable length coding unit 23 is connected to the significant / insignificant determining unit 15, the coding engine unit 6, and the motion vector generating unit 11, and the macroblock significant information 21, the quantization information 22 and motion vector information 9
And performs encoding. The variable length encoding unit 23 is further connected to an input of the output buffer memory unit 17 and outputs an encoded output 24. The output of the output buffer memory unit 17 is connected to the code output unit 25.
【0020】符号化エンジン部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 partial configuration described later. That is, the mode switches 6a and 6b that perform switching according to the inter-frame prediction or the intra-frame prediction, the subtraction unit 6c, the addition unit 6d, and the significant / insignificant determination unit 15 determine the significance according to the macroblock significance information 21. , A switch 6e which is turned off if insignificant, a DCT (discrete cosine transform) circuit 6f, a Q (quantization circuit) 6g, a Q -1 (inverse quantization circuit) 6h, and an IDCT ( It mainly includes a discrete cosine inverse transform circuit 6i, a frame memory 6j, and a motion compensator 6k.
【0021】図2は本実施形態における主要動作を説明
するフローチャートである。以下、この図を合わせ用い
て本実施形態の動作を説明する。FIG. 2 is a flowchart for explaining the main operation in this embodiment. Hereinafter, the operation of this embodiment will be described with reference to FIG.
【0022】映像信号が映像信号入力部2に入力される
と(ステップS1)、このフレームが1枚目のフレーム
かどうか判別される(ステップS2)。1枚目のフレー
ムである場合は、フレームスキップ部3におけるフレー
ムスキップ動作(ステップS3)を行わずに、映像信号
はフレームメモリ部4に入力され、現フレームメモリに
格納される(ステップS4)。次いで、このフレームが
1枚目のフレームかどうか再度判別される(ステップS
5)。When a video signal is input to the video signal input unit 2 (step S1), it is determined whether or not this frame is the first frame (step S2). When the frame is the first frame, the video signal is input to the frame memory unit 4 and stored in the current frame memory without performing the frame skip operation (step S3) in the frame skip unit 3 (step S4). Next, it is determined again whether this frame is the first frame (step S).
5).
【0023】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 determination section 20 is set to an initial value N (frames) (step S6).
Next, the video signal is input to the encoding engine unit 6 and is subjected to intra-frame encoding. After being converted into a bit stream by the variable length encoding unit 23, the output buffer memory unit 1
7 is output from the code output unit 25 (step S7). Thereafter, 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.
【0024】以後は2枚目以降のフレームとなるため、
フレームスキップ部3において、フレームスキップ数1
9に応じた入力映像信号のフレームスキップ動作が行わ
れる(ステップS3)。フレームスキップ部3において
フレームスキップされた映像信号は、フレームメモリ4
の現フレームメモリに格納される(ステップS4)。そ
の後、フレームメモリ4の現フレームメモリ及び前フレ
ームメモリに格納されている画像が所定数のマクロブロ
ックに分割される(ステップS9)。Thereafter, since the subsequent frames are the second and subsequent frames,
In the frame skip unit 3, the number of frame skips is 1
A frame skip operation of the input video signal according to No. 9 is performed (step S3). The video signal whose frame has been skipped in the frame skip unit 3 is stored in a frame memory 4.
(Step S4). Thereafter, 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 macro blocks (step S9).
【0025】次いで、現フレームの全てのマクロブロッ
クについて処理が終了したかどうか判別し(ステップS
10)、終了してない場合は、動きベクトル発生部11
より、動きベクトルを発生させる(ステップS11)。
この動きベクトルは、零ベクトル(0,0)から順番に
その大きさが徐々に大きくなるように一定画素ずつ増大
させて発生されるものである。Next, it is determined whether or not the processing has been completed for all the macroblocks of the current frame (step S).
10) If not completed, the motion vector generator 11
Then, a motion vector is generated (step S11).
The motion vector is generated by increasing the size of the motion vector from the zero vector (0, 0) by a certain number of pixels so that the magnitude gradually increases.
【0026】図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 generation unit. Referring to FIG.
1 will be described. Each grid in FIG. 3 indicates a minimum unit of a motion vector. For example, if the increment step of the motion vector is a quarter pixel unit, each grid is a quarter.
Represents a pixel. The circled numbers indicate the order in which the motion vectors are generated. Starting with the zero vector (0,0), (0,1), (1,
0), (0, -1), (-1, 0), (1,
1),... And motion vectors are generated in ascending order of magnitude.
【0027】この動きベクトルは、動きベクトル情報9
として動き補償部8、符号化エンジン部6及び可変長符
号化部23に印加される。またそのスカラ長は動きベク
トルスカラ長情報10としてマクロブロック有意性判定
部15及びフレームスキップ数決定部20に印加され
る。This motion vector is represented by motion vector information 9
Is applied to the motion compensation unit 8, the encoding engine unit 6, and the variable length encoding unit 23. The scalar length is applied as motion vector scalar length information 10 to the macroblock significance determining unit 15 and the frame skip number determining unit 20.
【0028】次いで、動きベクトル発生部11において
全ての種類の動きベクトルを発生したかどうか判別し
(ステップS12)、発生していない場合は、そのマク
ロブロックに関する動き補償処理を動き補償部8で行う
(ステップS13)。即ち、フレームメモリ4に蓄えら
れている、前フレームの注目マクロブロックに対して動
きベクトル発生部11から与えられる1つの動きベクト
ル情報9で動き補償を施したマクロブロックを抽出し、
動き補償マクロブロック12として出力する。Next, it is determined whether or not all types of motion vectors have been generated in the motion vector generation section 11 (step S12). If no motion vector has been generated, the motion compensation section 8 performs motion compensation processing on the macroblock. (Step S13). In other words, a macroblock that has been subjected to motion compensation with one piece of motion vector information 9 given from the motion vector generation unit 11 to the macroblock of interest of the previous frame stored in the frame memory 4 is extracted,
The motion compensation macro block 12 is output.
【0029】次いで、現フレームの注目マクロブロック
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) of each pixel is calculated, and the result is sent to the macroblock significance determination unit 15. (Step S1)
4). The macroblock significance determining unit 15 determines whether the macroblock is significant or non-significant from the difference absolute value 14 (step S15).
【0030】図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 determination section 15. The function of the significance determination section 15 will be described below with reference to FIG. First, a macroblock is divided into four halves vertically and horizontally, and the sum of absolute differences of the divided blocks is calculated. The sum of the four is T1, T
When T2 and T3 are set to T4, the macroblock having the maximum value max (T1, T2, T3, T4) of T1 to T4 exceeding the threshold Th is determined as a significant macroblock, and the others are determined as insignificant macroblocks. I do.
【0031】この判定の閾値Thは、図5にその一例を
示すように、動きベクトルスカラ長をパラメータに含む
関数によって決定される。この関数は、図5に示す特性
曲線に限定されるものではなく、動きベクトルスカラ長
が小さい場合は大きく、動きベクトル長が大きくなると
減少し、動きベクトルがある値を越えると飽和する特性
であればどのような特性曲線(直線)であってもよい。
これにより動きベクトルが小さいとき程、非有意マクロ
ブロックと判定される傾向になる。The threshold value Th for this determination is determined by a function including a motion vector scalar length as a parameter, as shown in an example in FIG. This function is not limited to the characteristic curve shown in FIG. 5, but is large when the motion vector scalar length is small, decreases when the motion vector length is large, and saturates when the motion vector exceeds a certain value. Any characteristic curve (straight line) may be used.
As a result, the smaller the motion vector is, the more likely it is to determine a non-significant macroblock.
【0032】非有意と判定された場合、動きベクトル及
びその「非有意」の情報を保存し(ステップS16)、
次のマクロブロックに進み(ステップS17)、ステッ
プS10〜S18の処理を繰り返す。有意と判定された
場合、ステップS11へ戻って次の大きさの動きベクト
ルを発生させてステップS12〜S15の同様の処理を
行う。If it is determined that the motion vector is insignificant, the motion vector and its "insignificant" information are stored (step S16).
The process proceeds to the next macro block (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 performs the same processing in steps S12 to S15.
【0033】ステップS12において、動きベクトル発
生部11が全ての種類の動きベクトルを発生したと判別
した場合は、そのマクロブロックは最後まで非有意と判
定されなかったため、最終的に有意マクロブロックであ
ることとなる。この場合は、フレーム間差分値が最も小
さかった動きベクトル及びその差分値を保存し(ステッ
プS18)、次のマクロブロックに進み(ステップS1
7)、ステップS10〜S18の処理を繰り返す。In step S12, if the motion vector generator 11 determines that all types of motion vectors have been generated, the macroblock has not been determined to be insignificant to 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 the difference value are stored (step S18), and the process proceeds to the next macroblock (step S1).
7), repeat the processing of steps S10 to S18.
【0034】このように、各マクロブロック毎に、動き
ベクトル発生部11から得られるそれぞれのベクトルに
対し、現フレームの有意性の判定を行う。全てのマクロ
ブロックに対してこの処理が終了した場合(ステップS
10)、次フレームまでのスキップ数19がフレームス
キップ数決定部20において算出される(ステップS1
9)。フレームスキップ数決定部20は、入力されるフ
レーム内に占める有意マクロブロックの割合情報16、
有意マクロブロックの動きベクトルのスカラ長情報1
0、及び/又は符号化直前までの発生情報量18をパラ
メータとして含む関数によってフレームスキップ数19
を決定する。As described above, the significance of the current frame is determined for each vector obtained from the motion vector generation unit 11 for each macroblock. When this process is completed for all macroblocks (step S
10), the skip number 19 up to the next frame is calculated by the frame skip number determination unit 20 (step S1).
9). The frame skip number determining unit 20 determines the ratio information 16 of the significant macroblock in the input frame,
Scalar length information 1 of motion vector of significant macroblock
0 and / or a frame skip number 19 by a function including the amount of generated information 18 immediately before encoding as a parameter.
To determine.
【0035】図6は有意マクロブロック割合に対するフ
レームスキップ数の好ましい特性の一例を表わしてい
る。有意マクロブロック割合が零の場合にフレームスキ
ップ数は零であり、有意マクロブロック割合が大きくな
るにつれてフレームスキップ数も大きくなり、有意マク
ロブロック割合がある値を越えると飽和する特性となっ
ている。なお、同図におけるフレームスキップ数の数値
は、単なる一例でありこれに限定されるものではない。
このように、現フレームを占めている有意マクロブロッ
クの割合が大きい場合、その現フレームを符号化するの
に必要な情報量は大きいと考えられるので、一定の品質
を維持できるまで、フレームスキップ数を必要最小限大
きくしている。しかし、フレームスキップ数の甚だしい
増加は、動き補償による情報量削減の効率が低下してし
まうので、有意マクロブロック割合16の増加に対し
て、フレームスキップ数19は増加させ続けるのではな
く、飽和するような傾向とする。FIG. 6 shows an example of a preferable characteristic of the number of frame skips with respect to the ratio of significant macroblocks. When the ratio of significant macroblocks is zero, the number of frame skips is zero, and as the ratio of significant macroblocks increases, the number of frame skips also increases. When the ratio of significant macroblocks exceeds a certain value, the characteristic is saturated. It should be noted that the numerical value of the frame skip number in the figure is merely an example and is not limited to this.
As described above, when the proportion of significant macroblocks occupying the current frame is large, the amount of information necessary to encode the current frame is considered to be large. Is as large as possible. However, a significant increase in the number of frame skips reduces the efficiency of information amount reduction by motion compensation, so that the number of frame skips 19 does not keep increasing but saturates with an increase in the significant macroblock ratio 16. Such a tendency.
【0036】図7は動きベクトルのスカラ長に対するフ
レームスキップ数の好ましい特性の一例を表わしてい
る。動きベクトルスカラ長が大きくなるにつれてフレー
ムスキップ数が減少する特性となっている。なお、同図
におけるフレームスキップ数の数値は、単なる一例であ
りこれに限定されるものではない。このように、有意マ
クロブロックの持つ動きベクトルスカラ長10が大きい
場合、フレームスキップ数19を大きくすると視覚的に
動きの不自然な画像となるため、フレームスキップ数1
9をやや減少させている。FIG. 7 shows an example of a preferable characteristic of the frame skip number with respect to the scalar length of the motion vector. The characteristic is that the number of frame skips decreases as the motion vector scalar length increases. It should be noted that 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, if the frame skip number 19 is increased, the image becomes visually unnatural in motion.
9 is slightly reduced.
【0037】図8は直前までの発生情報量(出力バッフ
ァメモリ部17の容量に対する情報蓄積量の割合)に対
するフレームスキップ数の好ましい特性の一例を表わし
ている。直前までの発生情報量が大きくなるにつれてフ
レームスキップ数も大きくなる特性となっている。な
お、同図におけるフレームスキップ数の数値は、単なる
一例でありこれに限定されるものではない。このよう
に、直前までの発生情報量18が大きいときには、スキ
ップ数を少し増加させ、発生情報量を抑えてバッファ溢
れを防いでいる。FIG. 8 shows an example of a preferable characteristic of the number of frame skips with respect to the amount of information generated immediately before (the ratio of the information storage amount to the capacity of the output buffer memory unit 17). As the amount of generated information up to immediately before increases, the number of frame skips also increases. It should be noted that 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 generated information amount 18 immediately before is large, the skip number is slightly increased to suppress the generated information amount, thereby preventing the buffer overflow.
【0038】フレームスキップ数は、上述の有意マクロ
ブロックの割合、有意マクロブロックの動きベクトルス
カラ長、及び符号化直前までの発生情報量のいずれか1
つをパラメータとする関数であってもよいが、これらを
全てパラメータとする関数であってもよい。The number of frame skips is one of the ratio of the significant macroblock, the scalar length of the motion vector of the significant macroblock, and the amount of information generated immediately before encoding.
One function may be a function having one parameter, or a function having all of them as parameters.
【0039】図9はその場合のフレームスキップ数の好
ましい特性を3次元的に表わしている。即ち、有意マク
ロブロック割合が零の場合にフレームスキップ数は零で
あり、有意マクロブロック割合が大きくなるにつれてフ
レームスキップ数も大きくなり、有意マクロブロック割
合がある値を越えると飽和し、動きベクトルスカラ長が
大きくなるにつれてフレームスキップ数が減少し、直前
までの発生情報量が大きくなるにつれてフレームスキッ
プ数も大きくなる特性となっている。FIG. 9 three-dimensionally shows a preferable characteristic of the frame skip number in that case. That is, when the significant macroblock ratio is zero, the number of frame skips is zero. As the significant macroblock ratio increases, the number of frame skips also increases. As the length increases, the number of frame skips decreases, and as the amount of generated information up to immediately before increases, the number of frame skips also increases.
【0040】一例として、注目フレームにおける有意マ
クロブロック割合が30%、動きベクトルスカラ長が6
0、直前までの情報発生量が出力バッファの70%を占
めているとすると、図6よりスキップ数は7枚、図7よ
りスキップ数は+1枚、図8よりスキップ数は−1枚で
あるので、最終的なフレームスキップ数は、この場合、
7+1+(−1)=7枚となる。As an example, the significant macro block ratio in the frame of interest is 30%, and the motion vector scalar length is 6
Assuming that the information generation amount up to 0 and immediately before occupies 70% of the output buffer, the skip count is 7 in FIG. 6, the skip count is +1 in FIG. 7, and the skip count is −1 in FIG. So the final number of frame skips in this case is
7 + 1 + (-1) = 7.
【0041】次フレームまでのフレームスキップ数を決
定した後、決定されたフレームスキップ数19、現フレ
ームの注目マクロブロック5、動きベクトル情報9、及
びマクロブロックの有意情報21をそれぞれ符号化エン
ジン部6に入力する(ステップS20)と共に、動きベ
クトル情報9及びマクロブロックの有意情報21を可変
長符号化部23に入力する。After the number of frame skips up to the next frame is determined, the determined number of frame skips 19, the target macroblock 5, the motion vector information 9 of the current frame, and the significant information 21 of the macroblock are respectively transmitted to the encoding engine unit 6. (Step S20), and also inputs the motion vector information 9 and the significant information 21 of the macroblock to the variable length coding unit 23.
【0042】符号化エンジン部6において、決定された
フレームスキップ数19は量子化部6gに入力され、量
子化器選択のためのパラメータとして用いられる。フレ
ームスキップ数19が大きいときは、伝送路に余裕があ
るため、やや細かい量子化器を選択する。逆にフレーム
スキップ数19が小さいときには、やや粗い量子化器を
選択するようにする。図10はフレームスキップ数に対
する量子化ステップの好ましい特性の一例を表わしてい
る。フレームスキップ数が大きくなるにつれて量子化ス
テップ数が細かくなる特性となっている。なお、同図に
おけるフレームスキップ数の数値は、単なる一例であり
これに限定されるものではない。In the coding engine unit 6, the determined frame skip number 19 is input to the quantization unit 6g and used as a parameter for selecting a quantizer. When the number of frame skips 19 is large, the transmission path has room, so that a slightly finer quantizer is selected. Conversely, when the frame skip number 19 is small, a slightly coarser quantizer is selected. FIG. 10 shows an example of a preferable characteristic 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 smaller. It should be noted that the numerical value of the number of frame skips in the figure is merely an example, and is not limited to this.
【0043】マクロブロックの有意情報21はスイッチ
6eに印加され、有意マクロブロックの場合はこのスイ
ッチ6eをオンとしてそのマクロブロックに関する予測
誤差を量子化するが、非有意マクロブロックの場合はこ
のスイッチ6eをオフとしてそのマクロブロックに関す
る予測誤差を量子化しない。符号化エンジン部6のその
他の動作は公知であるため、説明を省略する。The significant information 21 of the macroblock is applied to the switch 6e. When the macroblock is a significant macroblock, the switch 6e is turned on to quantize the prediction error relating to the macroblock. Is turned off, and the prediction error for the macroblock is not quantized. Other operations of the encoding engine unit 6 are known, and thus description thereof is omitted.
【0044】符号化エンジン部6で得られたそのフレー
ムの量子化データ22(有意マクロブロックの場合)、
動ベクトル情報9、及びマクロブロックの有意情報21
は可変長符号化部23で符号化され(ステップS2
1)、出力バッファメモリ部17を通して、符号出力部
25から伝送路上に出力される。次いでステップS2か
らの同様の動作が次のフレームに関して繰り返される。The quantized data 22 (in the case of a significant macro block) of the frame obtained by the encoding engine unit 6,
Motion vector information 9 and macroblock significant information 21
Is encoded by the variable length encoding unit 23 (step S2).
1) The data is output from the code output unit 25 to the transmission path through the output buffer memory unit 17. Then, the same operation from step S2 is repeated for the next frame.
【0045】以上述べたように本実施形態によれば、動
きベクトルのみを伝送する非有意マクロブロックに関し
て、そのマクロブロックが非有意と判定される範囲内
で、動きベクトルのスカラ長が小さくなるように選ばれ
るので、発生する動きベクトル情報量を抑えることがで
きる。As described above, according to the present embodiment, the scalar length of a motion vector of a non-significant macro block transmitting only a motion vector is reduced within a range in which the macro block is determined to be non-significant. , The amount of generated motion vector information can be suppressed.
【0046】また、フレームスキップ数を注目フレーム
の符号化前に決定することにより、その画像の持つ特徴
を十分に生かしたフレームスキップ数を決定することが
可能となる。その結果、画像の持つ情報量をあらかじめ
予測し、フレームレートの制御をすることが可能にな
り、品質が一定な可変フレームレート画像符号化が可能
となった。また、動きベクトル情報をフレームレートの
制御に用いることができるので、視覚的に自然な動きの
画像を得ることができる。By determining the number of frame skips before coding the frame of interest, it is possible to determine the number of frame skips that makes full use of the features of the image. As a result, the amount of information possessed by the image can be predicted in advance, the frame rate can be controlled, and the variable frame rate image coding with a constant quality can be performed. Further, since the motion vector information can be used for controlling the frame rate, a visually natural motion image can be obtained.
【0047】以上述べた実施形態は全て本発明を例示的
に示すものであって限定的に示すものではなく、本発明
は他の種々の変形態様及び変更態様で実施することがで
きる。従って本発明の範囲は特許請求の範囲及びその均
等範囲によってのみ規定されるものである。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 carried out in various other modified and modified forms. Therefore, the scope of the present invention is defined only by the appended claims and their equivalents.
【0048】[0048]
【発明の効果】以上詳細に説明したように本発明では、
現フレーム中を占める有意マクロブロックの割合を算出
し、算出した割合を用いて現フレームから次フレームま
でのフレームスキップ数を符号化前に決定している。こ
のように、フレームスキップ数を注目フレームの符号化
前に決定することにより、その画像の持つ特徴を十分に
生かしたフレームスキップ数を決定することが可能とな
る。その結果、画像の持つ情報量をあらかじめ予測し、
フレームレートの制御をすることが可能になり、品質が
一定な可変フレームレート画像符号化が可能となる。ま
た、現フレームを占めている有意マクロブロックの割合
に応じてフレームスキップ数を制御すれば、一定の品質
を維持することが可能となる。As described in detail above, in the present invention,
The ratio of significant macroblocks occupying the current frame is calculated, and the number of frame skips from the current frame to the next frame is determined before encoding using the calculated ratio. By determining the number of frame skips before encoding the frame of interest in this way, it is possible to determine the number of frame skips that fully utilize the features of the image. As a result, the amount of information of the image is predicted in advance,
The frame rate can be controlled, and variable frame rate image coding with constant quality can be performed. In addition, if the number of frame skips is controlled according to the ratio of significant macroblocks occupying the current frame, it is possible to maintain a constant quality.
【0049】さらに本発明によれば、現フレーム内の動
きベクトルの大きさを求め、求めた動きベクトルの大き
さを用いてフレームスキップ数を符号化前に決定してい
る。このように、動きベクトル情報をフレームレートの
制御に用いているので、視覚的に自然な動きの画像を得
ることができる。Further, according to the present invention, the magnitude of the motion vector in the current frame is determined, and the number of frame skips is determined before encoding using the determined magnitude of the motion vector. As described above, since the motion vector information is used for controlling the frame rate, a visually natural motion image can be obtained.
【図1】本発明の動画像符号化装置の一実施形態の構成
を概略的に示すブロック図である。FIG. 1 is a block diagram schematically illustrating a configuration of an embodiment of a moving image encoding device according to the present invention.
【図2】図1の実施形態における主要動作を説明するフ
ローチャートである。FIG. 2 is a flowchart illustrating a main operation in the embodiment of FIG. 1;
【図3】動きベクトル発生部の動作の概念図である。FIG. 3 is a conceptual diagram of the operation of a motion vector generation unit.
【図4】マクロブロック有意性判定部の動作の概念図で
ある。FIG. 4 is a conceptual diagram illustrating the operation of a macroblock significance determination unit.
【図5】マクロブロック有意性判定閾値の特性図であ
る。FIG. 5 is a characteristic diagram of a macroblock significance determination threshold.
【図6】有意マクロブロック割合に対するフレームスキ
ップ数の好ましい特性の一例を表わす特性図である。FIG. 6 is a characteristic diagram illustrating an example of a preferable characteristic of a frame skip number with respect to a significant macroblock ratio.
【図7】動きベクトルのスカラ長に対するフレームスキ
ップ数の好ましい特性の一例を表わす特性図である。FIG. 7 is a characteristic diagram illustrating an example of a preferable characteristic of a frame skip number with respect to a scalar length of a motion vector.
【図8】直前までの発生情報量に対するフレームスキッ
プ数の好ましい特性の一例を表わす特性図である。FIG. 8 is a characteristic diagram illustrating an example of a preferable characteristic of a frame skip number with respect to a generated information amount up to immediately before;
【図9】フレームスキップ数の好ましい特性を3次元的
に表わす特性図である。FIG. 9 is a characteristic diagram three-dimensionally showing preferable characteristics of the frame skip number.
【図10】フレームスキップ数に対する量子化ステップ
の好ましい特性の一例を表わす特性図である。FIG. 10 is a characteristic diagram illustrating an example of preferable characteristics of a quantization step with respect to the number of frame skips.
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 符号出力部DESCRIPTION OF SYMBOLS 1 Variable frame rate moving image encoder 2 Video signal input unit 3 Frame skip unit 4, 6j Frame memory 6 Encoding engine unit 6a, 6b Mode switch 6c, 13 Subtraction unit 6d Addition unit 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
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 7/24 - 7/68 H03M 7/30 - 7/50 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) H04N 7/ 24-7/68 H03M 7/ 30-7/50
Claims (10)
ロブロックに動き補償を施し、該動き補償を施したマク
ロブロックと現フレームの符号化対象マクロブロックと
の差分である予測誤差を算出し、該算出した予測誤差を
閾値と比較することにより該符号化対象マクロブロック
が該閾値より小さい非有意マクロブロックであるか大き
い有意マクロブロックであるかを判別し、有意マクロブ
ロックである場合は符号化を行い、非有意マクロブロッ
クである場合は前記動きベクトルのみを伝送するように
した可変フレームレート動画像符号化方法であって、 現フレーム中を占める前記有意マクロブロックの割合を
算出し、該算出した割合を用いて現フレームから次フレ
ームまでのフレームスキップ数を符号化前に決定するこ
とを特徴とする可変フレームレート動画像符号化方法。1. A motion compensation is performed on a macroblock of a previous frame using a motion vector, and a prediction error that is a difference between the macroblock on which the motion compensation is performed and a coding target macroblock of a current frame is calculated. By comparing the calculated prediction error with a threshold, it is determined whether the current macroblock is a non-significant macroblock or a significant macroblock larger than the threshold, and if the macroblock is a significant macroblock, coding is performed. Performing a variable frame rate video encoding method in which only the motion vector is transmitted if the macroblock is a non-significant macroblock, wherein the ratio of the significant macroblock occupying the current frame is calculated and calculated. Variable to determine the number of frame skips from the current frame to the next frame using the ratio before encoding Frame rate moving picture coding method.
マクロブロック割合が大きくなると増大する関数を用い
て行われることを特徴とする請求項1に記載の方法。2. The method according to claim 1, wherein the determination of the number of frame skips is performed using a function that increases as the ratio of significant macroblocks increases.
マクロブロック割合が大きくなると増大し、該割合があ
る値を越えると飽和する関数を用いて行われることを特
徴とする請求項1に記載の方法。3. The method according to claim 1, wherein the determination of the number of frame skips is performed using a function that increases as the ratio of significant macroblocks increases and saturates when the ratio exceeds a certain value. Method.
求め、該求めた動きベクトルの大きさもさらに用いてフ
レームスキップ数を符号化前に決定することを特徴とす
る請求項1から3のいずれか1項に記載の方法。4. The method according to claim 1, wherein the size of a motion vector in the current frame is obtained, and the frame skip number is determined before encoding by further using the obtained size of the motion vector. Or the method of claim 1.
ロブロックに動き補償を施し、該動き補償を施したマク
ロブロックと現フレームの符号化対象マクロブロックと
の差分である予測誤差を算出し、該算出した予測誤差を
閾値と比較することにより該符号化対象マクロブロック
が該閾値より小さい非有意マクロブロックであるか大き
い有意マクロブロックであるかを判別し、有意マクロブ
ロックである場合は符号化を行い、非有意マクロブロッ
クである場合は前記動きベクトルのみを伝送するように
した可変フレームレート動画像符号化方法であって、 現フレーム内の動きベクトルの大きさを求め、該求めた
動きベクトルの大きさを用いて現フレームから次フレー
ムまでのフレームスキップ数を符号化前に決定すること
を特徴とする可変フレームレート動画像符号化方法。5. A macroblock of a previous frame is subjected to motion compensation using a motion vector, and a prediction error, which is a difference between the macroblock subjected to the motion compensation and a current macroblock to be coded, is calculated. By comparing the calculated prediction error with a threshold, it is determined whether the current macroblock is a non-significant macroblock or a significant macroblock larger than the threshold, and if the macroblock is a significant macroblock, coding is performed. Performing a variable frame rate video encoding method in which only the motion vector is transmitted if the macroblock is a non-significant macroblock, wherein the magnitude of the motion vector in the current frame is obtained, and A variable frame, wherein the number of frame skips from the current frame to the next frame is determined before encoding using the size. Mureto moving picture coding method.
ベクトルの大きさが大きくなると減少する関数を用いて
行われることを特徴とする請求項4又は5に記載の方
法。6. The method according to claim 4, wherein the determination of the number of frame skips is performed using a function that decreases as the size of the motion vector increases.
レーム符号化直前までの発生情報量をもさらに用いて行
われることを特徴とする請求項1から6のいずれか1項
に記載の方法。7. The method according to claim 1, wherein the determination of the number of frame skips is performed by further using a generated information amount immediately before encoding of a current frame.
までの発生情報量が大きくなると増大する関数を用いて
行われることを特徴とする請求項7に記載の方法。8. The method according to claim 7, wherein the determination of the number of frame skips is performed using a function that increases as the amount of generated information until immediately before increases.
て量子化ステップの制御が行われることを特徴とする請
求項1から8のいずれか1項に記載の方法。9. The method according to claim 1, wherein a quantization step is controlled using the determined frame skip number.
ムスキップ数が大きくなると量子化ステップが細かくな
る関数を用いて行われることを特徴とする請求項9に記
載の方法。10. The method according to claim 9, wherein the control of the quantization step is performed using a function that makes the quantization step finer as the number of frame skips increases.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP34707495A JP3206413B2 (en) | 1995-12-15 | 1995-12-15 | Variable frame rate video coding method |
| 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 |
|---|---|---|---|
| JP34707495A JP3206413B2 (en) | 1995-12-15 | 1995-12-15 | Variable frame rate video coding method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH09168155A JPH09168155A (en) | 1997-06-24 |
| JP3206413B2 true JP3206413B2 (en) | 2001-09-10 |
Family
ID=18387746
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP34707495A Expired - Lifetime JP3206413B2 (en) | 1995-12-15 | 1995-12-15 | Variable frame rate video coding method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3206413B2 (en) |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH11298890A (en) | 1998-04-13 | 1999-10-29 | Hitachi Ltd | Image data compression or decompression method and apparatus, and image transmission system and monitoring system using the same |
| JP3185763B2 (en) | 1998-07-13 | 2001-07-11 | 日本電気株式会社 | Video encoding device |
| KR20010058887A (en) * | 1999-12-30 | 2001-07-06 | 구자홍 | Apparatus for 3-d recursive motion vector estimation using the gradient of video signal |
| EP1296525A4 (en) | 2000-06-28 | 2006-07-26 | Mitsubishi Electric Corp | IMAGE ENCODER AND IMAGE ENCODING METHOD |
| KR100485946B1 (en) * | 2001-07-31 | 2005-04-28 | (주)아이디스 | apparatus and method for motion image information compression processing using transformation of frame rate |
| JP3889013B2 (en) * | 2004-05-24 | 2007-03-07 | 三菱電機株式会社 | Moving picture coding apparatus and moving picture coding method |
| US20080031325A1 (en) * | 2006-08-03 | 2008-02-07 | Yingyong Qi | Mesh-based video compression with domain transformation |
| FR2907989B1 (en) * | 2006-10-27 | 2009-01-16 | Actimagine Sarl | METHOD AND DEVICE FOR OPTIMIZING THE COMPRESSION OF A VIDEO STREAM |
| JP4748127B2 (en) * | 2007-07-24 | 2011-08-17 | ソニー株式会社 | Information processing apparatus and method, recording medium, and program |
-
1995
- 1995-12-15 JP JP34707495A patent/JP3206413B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH09168155A (en) | 1997-06-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3043599B2 (en) | Quantization step size controller using neural network | |
| JPH07322252A (en) | Image coding device | |
| JPH05344493A (en) | Dynamic image coder | |
| KR19990007787A (en) | Method and apparatus for encoding video signal | |
| JPH04262694A (en) | Encoding device for picture signal | |
| JP3210082B2 (en) | Encoding device and method | |
| JPH07112284B2 (en) | Predictive encoding device and decoding device | |
| JP2000197049A (en) | Dynamic image variable bit rate encoding device and method therefor | |
| JP3206413B2 (en) | Variable frame rate video coding method | |
| JPH04256298A (en) | Moving picture encoder | |
| JP3508916B2 (en) | Moving image variable bit rate encoding method and apparatus | |
| US5227877A (en) | High-efficient coding apparatus for video signal | |
| US5508745A (en) | Apparatus for controlling a quantization level to be modified by a motion vector | |
| US5940131A (en) | Method and apparatus for coding moving pictures | |
| JP3573176B2 (en) | Moving image encoding method and apparatus | |
| KR970004924B1 (en) | Improved motion vector transmission apparatus and method using layered coding | |
| JP3639610B2 (en) | Image encoding device | |
| JPH07131789A (en) | Picture coding system | |
| JPH03255792A (en) | Picture quality controller | |
| KR100778473B1 (en) | Bit rate control method | |
| JPH09182081A (en) | Motion compensation predictive coding device | |
| JP3013090B2 (en) | Quantization control method | |
| JP2003125417A (en) | Image coding apparatus and method | |
| JP2656059B2 (en) | High-efficiency video coding | |
| JP4359273B2 (en) | Coding mode selection method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20010605 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090706 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090706 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100706 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110706 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110706 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130706 Year of fee payment: 12 |
|
| EXPY | Cancellation because of completion of term |