[go: up one dir, main page]

JP2003230149A - High compression coding unit - Google Patents

High compression coding unit

Info

Publication number
JP2003230149A
JP2003230149A JP2002028182A JP2002028182A JP2003230149A JP 2003230149 A JP2003230149 A JP 2003230149A JP 2002028182 A JP2002028182 A JP 2002028182A JP 2002028182 A JP2002028182 A JP 2002028182A JP 2003230149 A JP2003230149 A JP 2003230149A
Authority
JP
Japan
Prior art keywords
encoding
coding
frame
cost function
intra
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002028182A
Other languages
Japanese (ja)
Inventor
Atsumichi Murakami
篤道 村上
Kanji Sakate
寛治 坂手
Koichi Tanno
興一 丹野
Etsuhisa Yamada
悦久 山田
Kotaro Asai
光太郎 浅井
Shigeo Nakajima
重雄 中島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2002028182A priority Critical patent/JP2003230149A/en
Publication of JP2003230149A publication Critical patent/JP2003230149A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To improve a coding efficiency and to improve an image quality by reducing an amount of motion vector coding without deteriorating an image quality. <P>SOLUTION: The image quality is improved by introducing a cost function D+IR in a mode decision process of a 'frame compensation + VCL process' when a motion vector detected by a motion compensation predicting unit 1 is variable length coded (VLC) by a variable length coding unit 6, and a mode decision process of an 'interframe coding process' or an 'in-frame coding process' in a coding mode deciding unit 3; deciding a coding parameter of a motion vector, a coding mode, a coding unit or the like to be minimums; and controlling a quantizing step size in a quantizing unit 5. Further, scanning order selection at a DCT coefficient quantizing time in which a power distribution of a DCT coefficient in a DCT unit 4 is considered or a quantization step size control for realizing time change smoothing of an amount of generated information in the unit 5 is conducted. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、動き補償予測によ
り動きベクトルを求めて動画像を符号化する高圧縮符号
化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a high compression encoding apparatus for obtaining a motion vector by motion compensation prediction and encoding a moving image.

【0002】[0002]

【従来の技術】MPEG-2の標準化作業で作成された参照モ
デルとなる符号化方式(Test Model Version5、略称TM
5)では、動きベクトルを検出する際、絶対値差分和に
よる単純な歪み最小の条件によって動きベクトルを決定
し、DCT係数量子化の際はいわゆるジグザクスキャンの
みにより走査し、マクロブロック毎にイントラ/インタ
ーモードの符号化モード判定を行なう際は符号化ひずみ
を評価尺度として符号化モードを選択していた。
2. Description of the Related Art An encoding method (Test Model Version 5, abbreviated as TM) which is a reference model created by the standardization work of MPEG-2
In 5), when detecting a motion vector, the motion vector is determined by a simple minimum distortion condition based on the sum of absolute difference, and when the DCT coefficient is quantized, only a so-called zigzag scan is performed to scan intra / macroblock. When determining the coding mode of the inter mode, the coding mode was selected with the coding distortion as the evaluation scale.

【0003】[0003]

【発明が解決しようとする課題】しかし、絶対値差分和
による動きベクトル決定方法では、動きベクトルの符号
長がほぼ隣接マクロブロックのベクトルとの差分に比例
するため、本来の動きとは無関係な動きベクトルが選択
されるような動き探索精度の低い場合が発生し、符号化
効率の悪化が生じている。特に、動きベクトルによる予
測のモデルはマクロブロックを単位とした平行移動であ
るため、このモデルに適合しない画像においては、時と
して算出された動きベクトルが物理的な動きとは無関係
に、探索の基点から遥かな遠方の位置を指し示すことが
あり、符号化効率低下の原因となっていた。
However, in the motion vector determination method based on the sum of absolute difference, since the code length of the motion vector is almost proportional to the difference with the vector of the adjacent macroblock, the motion unrelated to the original motion. There is a case where the motion search accuracy is low such that a vector is selected, and the coding efficiency is deteriorated. In particular, the motion vector prediction model involves parallel movement in units of macroblocks, so in images that do not conform to this model, the motion vector calculated from time to time is independent of the physical motion, and It sometimes points to a position far away from, which causes a decrease in coding efficiency.

【0004】また、例えば、HDTV信号等におけるDCT係
数電力分布は、統計的に垂直方向の画素間相関に比べて
水平方向の画素間相関のほうが強いことを示しているた
め、DCT係数の領域では統計的に垂直方向の高域係数が
水平方向の高域係数に比べて大きな電力を持つが、画素
間相関に基づき水平または垂直に重み付けをしたDCT係
数のスキャン方法がとられていないため、符号化効率が
良くなかった。
Further, for example, the DCT coefficient power distribution in an HDTV signal or the like statistically indicates that the horizontal pixel-to-pixel correlation is stronger than the vertical pixel-to-pixel correlation, so that in the DCT coefficient region. The vertical high-frequency coefficient statistically has higher power than the horizontal high-frequency coefficient, but the method of scanning the DCT coefficient weighted horizontally or vertically based on the inter-pixel correlation is not used. The conversion efficiency was not good.

【0005】さらに、各マクロブロック毎に符号化歪み
のみを評価尺度としてイントラ/インターモードの符号
化モードを選択した場合、実際には、逆の符号化モード
で符号化したほうが符号化効率が良くなる場合があり、
この点でも符号化効率を低下させていた。
Further, when the intra / inter mode coding mode is selected with only the coding distortion as an evaluation measure for each macroblock, the coding efficiency is actually better when the coding mode is reversed. May be
In this respect as well, the coding efficiency was reduced.

【0006】そこで、本発明は、画質劣化をきたさない
動きベクトル符号量削減と、映像に応じた係数スキャン
最適化と、イントラ/インターモードの最適化等を課題
とし、これらの課題を解決することにより、符号化効率
の向上および画質の改善を図ることのできる高圧縮符号
化装置を提供することを目的とする。
Therefore, the present invention aims to solve the problems by reducing the motion vector code amount that does not cause image quality deterioration, optimizing coefficient scan according to video, optimizing intra / inter mode, and the like. Thus, it is an object of the present invention to provide a high compression encoding device capable of improving encoding efficiency and image quality.

【0007】[0007]

【課題を解決するための手段】上記課題を解決するた
め、本発明では、動画像の画像信号を符号化する高圧縮
符号化装置であって、符号化の過程で動的に決定されう
る制御項目、すなわちフレーム間予測使用の採否もしく
は動き補償予測における動きベクトルの決定、もしくは
複数定義された予測モードからのモード選択、もしくは
量子化ステップサイズの決定などの制御項目を決定する
ことに際して、符号化によるひずみと符号化に必要な符
号量とを結合して得られるコスト関数に基づいて一つも
しくは複数の制御項目の決定を行うことを特徴とする。
In order to solve the above-mentioned problems, according to the present invention, there is provided a high compression coding apparatus for coding a video signal of a moving image, which control can be dynamically determined in the coding process. When determining an item, that is, a control item such as adoption or non-use of inter-frame prediction or determination of a motion vector in motion-compensated prediction, mode selection from a plurality of defined prediction modes, or determination of a quantization step size, encoding is performed. It is characterized in that one or a plurality of control items are determined based on a cost function obtained by combining the distortion due to and the code amount required for encoding.

【0008】また、動画像の画像信号を符号化する高圧
縮符号化装置であって、動き補償予測により動きベクト
ルを求める際、画像信号のマッチングひずみと、動きベ
クトルを可変長符号化したときの符号量とによるコスト
関数に基づいて、動きベクトルを求めることを特徴とす
る。
Further, in the high compression coding apparatus for coding the image signal of the moving image, when the motion vector is obtained by the motion compensation prediction, the matching distortion of the image signal and the variable length coding of the motion vector are performed. The feature is that the motion vector is obtained based on the cost function based on the code amount.

【0009】特に、コスト関数に基づいて動きベクトル
を求める際、動き探索精度が低いマクロブロックを判定
し、動き探索精度が低いマクロブロックのなかからコス
ト関数が原点に近い動きベクトルを求めることを特徴と
する。
In particular, when a motion vector is calculated based on a cost function, a macro block having a low motion search accuracy is determined and a motion vector whose cost function is close to the origin is calculated from macro blocks having a low motion search accuracy. And

【0010】また、コスト関数に基づいて動きベクトル
を求める際、動きベクトルの符号長に応じて動き探索範
囲を決定しつつコスト関数に基づいて動きベクトルを求
めることを特徴とする。
When the motion vector is calculated based on the cost function, the motion vector is calculated based on the cost function while determining the motion search range according to the code length of the motion vector.

【0011】また、さらに、上記コスト関数に基づき求
められた動きベクトルによる動き補償予測信号と入力画
像信号の差分をフレーム間符号化する際、フレーム間符
号化による画像信号のひずみと、フレーム間符号化出力
の符号量とによるコスト関数に基づいて、フレーム間符
号化することを特徴とする。
Further, when the difference between the motion compensation prediction signal based on the motion vector obtained based on the cost function and the input image signal is inter-frame coded, the distortion of the image signal due to the inter-frame coding and the inter-frame code It is characterized in that inter-frame coding is performed based on a cost function based on the code amount of the coded output.

【0012】また、動画像の画像信号を符号化する高圧
縮符号化装置であって、入力画像信号をフレーム内符号
化する際、フレーム内符号化による画像信号のひずみ
と、フレーム内符号化出力の符号量とによるコスト関数
に基づいて、フレーム内符号化することを特徴とする。
A high compression encoding apparatus for encoding an image signal of a moving image, wherein when an input image signal is intra-frame encoded, distortion of the image signal due to intra-frame encoding and intra-frame encoding output It is characterized in that the intra-frame coding is performed based on the cost function based on the code amount of.

【0013】また、動画像の画像信号を符号化する高圧
縮符号化装置であって、入力画像信号をフレーム内符号
化またはフレーム間符号化した符号化係数をスキャンし
て量子化する際、量子化による画像信号のひずみと、量
子化出力の符号量とによるコスト関数に基づいて水平ま
たは垂直方向に重み付けをしてスキャンすることを特徴
とする。
Further, in the high compression coding apparatus for coding the image signal of the moving image, when the input image signal is subjected to intra-frame coding or inter-frame coding and the coding coefficient is scanned and quantized, The scanning is performed by weighting in the horizontal or vertical direction based on the cost function based on the distortion of the image signal due to the quantization and the code amount of the quantized output.

【0014】また、動画像の画像信号を符号化する高圧
縮符号化装置であって、入力画像信号をフレーム内符号
化およびフレーム間符号化の両モードで仮符号化し、フ
レーム内符号化による画像信号のひずみとフレーム内符
号化出力の符号量とによるコスト関数と、フレーム間符
号化による画像信号のひずみとフレーム間符号化出力の
符号量とによるコスト関数との大小に基づき、入力画像
信号をフレーム内符号化するか、あるいはフレーム間符
号化するかを判定することを特徴とする。
A high compression encoding apparatus for encoding an image signal of a moving image, wherein an input image signal is provisionally encoded in both intra-frame encoding and inter-frame encoding modes, and an image obtained by intra-frame encoding Based on the size of the cost function by the signal distortion and the code amount of the intra-frame coding output, and the cost function by the distortion of the image signal by the inter-frame coding and the code amount of the inter-frame coding output, the input image signal is It is characterized by determining whether to perform intra-frame coding or inter-frame coding.

【0015】さらに、上記コスト関数を用いない場合に
比較した上記コスト関数を用いた場合の効率化された分
に応じて、符号化出力を量子化する際の量子化ステップ
サイズを制御することを特徴とする。
Furthermore, it is possible to control the quantization step size when quantizing the encoded output in accordance with the efficiency of the case of using the cost function compared to the case of not using the cost function. Characterize.

【0016】特に、1または複数のマクロブロック毎に
コスト関数に基づく処理を行なうことを特徴とする。
In particular, it is characterized in that the processing based on the cost function is performed for every one or a plurality of macroblocks.

【0017】また、1または複数のフレーム毎にコスト
関数に基づく処理を行なうことを特徴とする。
Further, it is characterized in that the processing based on the cost function is performed for every one or a plurality of frames.

【0018】[0018]

【発明の実施の形態】実施の形態1.図1に、本発明に
係る高圧縮符号化装置の構成例を示す。図において、1
は動き補償予測部、2は差分部、3は符号化モード判定
部、4はDCT部、5は量子化部、6は可変長符号化
部、7はバッファ、8は逆量子化部、9は逆DCT部、
10は加算部、11はビデオメモリ、12は切替器、1
3は符号化制御部であり、基本的な装置構成はTM5の
符号化方式と変わらない。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiment 1. FIG. 1 shows a configuration example of a high compression coding apparatus according to the present invention. In the figure, 1
Is a motion compensation prediction unit, 2 is a difference unit, 3 is a coding mode determination unit, 4 is a DCT unit, 5 is a quantization unit, 6 is a variable length coding unit, 7 is a buffer, 8 is an inverse quantization unit, 9 Is the inverse DCT part,
10 is an adder, 11 is a video memory, 12 is a switch, 1
Reference numeral 3 is an encoding control unit, and the basic device configuration is the same as the TM5 encoding system.

【0019】本発明の特徴は、図1の吹き出しにより示
すように、動き補償予測部1にて検出した動きベクトル
を可変長符号化部6にて可変長符号化(VLC)する際
の“動き補償+VLC処理”と、符号化モード判定部3に
おける“フレーム間符号化処理”または“フレーム内符
号化処理”の符号化モード判定処理、それぞれのところ
で、コスト関数D+lRを導入し、それぞれが最小となる
動きベクトルや符号化モード、符号化単位等の符号化パ
ラメータを動き補償予測部1や符号化制御部13にて決
定し、符号化効率が効率化された分、量子化部5におけ
る量子化ステップサイズを符号化制御部13にて制御す
ることにより画質向上を図るものである。また、さら
に、符号化制御部13は、DCT部4におけるDCT係数
の電力分布を考慮したDCT係数量子化時のスキャン順序
選択や、量子化部5における情報発生量の時間変動平滑
化を実現する量子化ステップサイズ制御を行うものであ
る。次に、本発明における改善課題を解決するための基
本コンセプトを説明する。
The feature of the present invention is that, as indicated by a balloon in FIG. 1, "motion" when the motion vector detected by the motion compensation prediction unit 1 is variable length coded (VLC) by the variable length coding unit 6. "Compensation + VLC processing" and the coding mode determination processing of "interframe coding processing" or "intraframe coding processing" in the coding mode determination unit 3, where the cost function D + lR is introduced and The motion compensation prediction unit 1 and the coding control unit 13 determine the coding parameters such as the following motion vector, coding mode, and coding unit, and the quantization in the quantizing unit 5 is performed by the amount corresponding to the improved coding efficiency. The image quality is improved by controlling the step size by the encoding control unit 13. Further, the encoding control unit 13 also realizes the scan order selection at the time of DCT coefficient quantization in consideration of the power distribution of DCT coefficients in the DCT unit 4, and the time-varying smoothing of the information generation amount in the quantization unit 5. The quantization step size is controlled. Next, a basic concept for solving the improvement problem in the present invention will be described.

【0020】[基本コンセプト]採用する高圧縮を実現
するための基本方式は、レート・歪み規範に基づく符号
化パラメータの最適設定である。最適な符号化パラメー
タとは、与えられたレート(符号量)における最小の歪
み、もしくは許される歪みの範囲内で最小のレート(符
号量)を得られるパラメータである。パラメータを決定
するには、レート(R)と歪み(D)をlで結合したコスト関
数D+lRが小さくなるようにパラメータを選べばよい。
[Basic Concept] The basic method for realizing the high compression adopted is the optimum setting of the coding parameters based on the rate / distortion criterion. The optimum coding parameter is a parameter that can obtain the minimum distortion (code amount) at a given rate (code amount) or the minimum rate (code amount) within the allowable distortion range. To determine the parameters, the parameters may be selected so that the cost function D + lR obtained by combining the rate (R) and the distortion (D) with l becomes small.

【0021】これを図2に基づいて説明する。図2は、
レート・歪み規範に基づくパラメータ設定の仕方を説明
する図である。lが予め与えられている時、コスト関数
の値は、傾きの大きさlを持ち、符号化結果であるレー
トと歪みの点を通る直線が縦軸と交わる点である。明ら
かに、この点が原点0に近いほど符号化効率はよい。高
圧縮符号化の基本方針は、符号化に関する制御パラメー
タ全ての設定を表す状態ベクトルをLとするとき、以下
の関数を小さくするようパラメータ群を決定することで
ある。
This will be described with reference to FIG. Figure 2
It is a figure explaining how to set a parameter based on a rate and a distortion standard. When l is given in advance, the value of the cost function is the point having the magnitude l of the slope and the line passing through the points of the rate and distortion as the coding result intersects the vertical axis. Clearly, the closer this point is to the origin 0, the better the coding efficiency. The basic principle of high compression coding is to determine the parameter group so that the following function is small when the state vector representing the setting of all control parameters related to coding is L.

【0022】Si [Di(L) + l Ri(L)]Si [Di (L) + l Ri (L)]

【0023】ここで、lはLagrangeの未定乗数に相当
し、0以上の値を持つ。
Here, l corresponds to an undetermined multiplier of Lagrange, and has a value of 0 or more.

【0024】次に、本実施の形態1の動作を説明する。
図3は、本実施の形態1の高圧縮符号化装置の基本動作
を示すフローチャートである。本実施の形態1の高圧縮
符号化装置では、まずステップ110により、入力され
た画像信号より、目標とする符号量と共に、後述するf_
codeと呼ばれる動き補償予測の探索範囲を示すパラメー
タ、および量子化されたDCT係数のスキャン順序を示すa
lternate_scanと呼ばれるフラグを設定する。なお、f_c
odeが大きいほど動き補償予測の探索範囲を広く取るこ
とができるが、逆に動きベクトルの符号量自体は大きく
なる。そして、ステップ100にて設定されたパラメー
タを用いて各ピクチャの符号化処理を行うが、一つのピ
クチャは複数のスライスから構成され、スライスは複数
のマクロブロックから構成されているので、まずはステ
ップ200にてf_codeと呼ばれる動き補償予測の探索範
囲を示すパラメータに基づきピクチャ符号化処理を行な
い、続くステップ300によりスライス処理、その後に
ステップ400にてDCT係数のスキャン順序を示すalter
nate_scanと呼ばれるフラグに基づきマクロブロック符
号化処理を行なう。
Next, the operation of the first embodiment will be described.
FIG. 3 is a flowchart showing the basic operation of the high compression coding apparatus according to the first embodiment. In the high compression encoding apparatus according to the first embodiment, first, in step 110, the input image signal is used together with the target code amount and f_
A parameter indicating the search range of motion compensation prediction called code, and a indicating the scan order of quantized DCT coefficients
Set a flag called lternate_scan. Note that f_c
The larger the ode, the wider the search range for motion-compensated prediction, but the larger the code amount of the motion vector, on the contrary. Then, each picture is encoded using the parameters set in step 100. Since one picture is composed of a plurality of slices and each slice is composed of a plurality of macroblocks, first, step 200 is performed. In step 300, a picture coding process is performed based on a parameter indicating a search range of motion compensation prediction called f_code. In step 300, a slice process is performed.
Performs macroblock encoding processing based on a flag called nate_scan.

【0025】図4に、図3におけるステップ400のマ
クロブロック符号化処理における1マクロブロックの符
号化処理をフローチャートにより示す。入力された画像
信号は、ステップ410,420によりフレームMCおよ
びフィールドMCにより動きベクトルの検出処理が行わ
れ、続いてステップ430によりいずれかのモードに選
択する判定処理が行われる。そして次のステップ440
によりステップ430にて選択されたモードにより得ら
れた動きベクトルによる動き補償予測が行われて差分信
号を得る。次いでステップ450によりこの差分信号と
入力画像信号とを用いてフレーム内予測符号化か、フレ
ーム間予測符号化のいずれのモードに選択するかの判定
処理が行われる。選択された信号は次のステップ460
によりDCTされ、続くステップ470により量子化され
ると共に、量子化後ステップ100にて設定されたalte
rnate_scanフラグに応じたスキャン処理が行われ、次の
ステップ480によりVLC(可変長符号化)が行われる。
FIG. 4 is a flowchart showing the encoding process of one macroblock in the macroblock encoding process of step 400 in FIG. The input image signal is subjected to motion vector detection processing by the frame MC and field MC at steps 410 and 420, and subsequently, determination processing for selecting one of the modes is performed at step 430. And the next step 440
Thus, motion compensation prediction is performed using the motion vector obtained in the mode selected in step 430 to obtain a differential signal. Next, at step 450, a process of determining which mode of intra-frame predictive coding or inter-frame predictive coding is selected is performed using the difference signal and the input image signal. The selected signal is processed in the next step 460.
DCT by the following, quantized by the following step 470 and the alte set in the step 100 after quantization.
Scan processing according to the rnate_scan flag is performed, and VLC (variable length coding) is performed in the next step 480.

【0026】なお、本実施の形態1では、上述の図3,
図4の処理のうち、ステップ410,420,430に
おける「動き補償処理」と、ステップ470における
「DCT係数量子化処理」と、ステップ100における
目標符号量設定等による「情報発生量平滑処理」と、ス
テップ450の「フレーム間符号化/フレーム内符号化
の符号化モード判定処理」とにそれぞれ特徴があり、そ
れ以外の処理は従来と変わらないので、この特徴ある4
つの処理についてそれぞれ分けて、詳細に説明するもの
とする。
In the first embodiment, the above-mentioned FIG.
Among the processing of FIG. 4, “motion compensation processing” in steps 410, 420, and 430, “DCT coefficient quantization processing” in step 470, and “information generation amount smoothing processing” by setting the target code amount in step 100 and the like. , And "the coding mode determination process for interframe coding / intraframe coding" in step 450, and the other processes are the same as the conventional ones.
The two processes will be described separately in detail.

【0027】●[動き補償] 通常、動きベクトルの統計的特性に見られるように、動
きベクトルは動き量ゼロの近辺に集中している。TM5の
符号化方式では、絶対値差分和による単純な歪み最小の
条件によって動きベクトルが決定されるため、本来の画
像の動きとは異なるベクトルを選択することがある。動
きベクトルへの符号割り当てには隣接マクロブロックと
の相関を想定するため、符号長がほぼ隣接マクロブロッ
クのベクトルとの差分に比例している。このため、本来
の動きとは無関係な動きベクトルが選択されたり、冗長
な動きベクトル符号を発生したりする動き探索精度の低
い場合に符号化効率の悪化が生じている。
[Motion Compensation] Usually, as shown in the statistical characteristics of motion vectors, motion vectors are concentrated in the vicinity of zero motion amount. In the TM5 coding method, since a motion vector is determined by a simple minimum distortion condition based on the sum of absolute difference, a vector different from the original motion of the image may be selected. Since code allocation to a motion vector assumes correlation with an adjacent macroblock, the code length is almost proportional to the difference from the vector of the adjacent macroblock. For this reason, when the motion search accuracy is low, such as when a motion vector unrelated to the original motion is selected or a redundant motion vector code is generated, the coding efficiency deteriorates.

【0028】このため、本実施の形態1の動き補償予測
部1では、レート・歪み規範にのっとり、動きベクトル
の符号量R1と、入力画像信号とその動きベクトルを持
つ予測信号とのマッチング歪みD1とのバランスを考慮
し、動きベクトルの符号量R1とマッチング歪みD1とに
よるコスト関数[D1+λ1・R1]が最小になるように
制御して、動きベクトル符号量R1の削減を図るように
している。
Therefore, in the motion compensation prediction unit 1 of the first embodiment, the code amount R1 of the motion vector and the matching distortion D1 between the input image signal and the prediction signal having the motion vector are used in accordance with the rate / distortion criterion. , The cost function [D1 + λ1 · R1] by the motion vector code amount R1 and the matching distortion D1 is controlled to be the minimum, and the motion vector code amount R1 is reduced.

【0029】また、本実施の形態1の動き補償予測部1
では、動きベクトルの符号量R1とマッチング歪みD1と
によるコスト関数[D1+λ1・R1]に基づく動きベク
トル符号量R1の削減だけでなく、さらに、以下のよう
にして、動き補償予測部1における動き探索精度が低い
時に動きベクトル符号量削減と、動き探索範囲の最適化
を行ない、冗長な動きベクトル符号量の削減を行なって
いる。
Further, the motion compensation prediction unit 1 of the first embodiment
Then, not only the reduction of the motion vector code amount R1 based on the cost function [D1 + λ1 · R1] by the motion vector code amount R1 and the matching distortion D1, but also the motion search in the motion compensation prediction unit 1 is performed as follows. When the accuracy is low, the motion vector code amount is reduced and the motion search range is optimized to reduce the redundant motion vector code amount.

【0030】(1)動き探索精度が低い時の動きベクト
ル符号量の削減 まずは、動き探索精度が低いマクロブロックの判定方法
について説明する。.動き探索精度が低いマクロブロックの判定方法 ここでは、探索された動きベクトルが画面における実際
の動きと整合せず、探索の基点から離れて長い符号語を
選択している可能性があるマクロブロックを「動き探索
精度が低いマクロブロック」と表現することとする。こ
のようなマクロブロックを特定するため、本実施の形態
1の動き補償予測部1は、本発明に係るレート・歪み規
範に基づくコスト関数による判断を行なわず求めた動き
ベクトルが動きに合致していないベクトルかどうかを判
定する。以下の条件により、マクロブロック毎に動きベ
クトルが動きに合致しないかどうか、すなわち動き探索
精度が低いマクロブロックを判定する。
(1) Motion vector when motion search accuracy is low
Reduction of Le code amount First, the motion search accuracy described method of determining the lower macroblock. . Macroblock determination method with low motion search accuracy Here, the macroblock that the searched motion vector does not match the actual motion on the screen and may select a long codeword away from the base point of the search. It is expressed as "macro block with low motion search accuracy". In order to specify such a macroblock, the motion compensation prediction unit 1 according to the first embodiment does not make the determination by the cost function based on the rate / distortion criterion according to the present invention, and the obtained motion vector matches the motion. Determine if there is no vector. Based on the following conditions, it is determined whether or not the motion vector does not match the motion for each macroblock, that is, the macroblock with low motion search accuracy.

【0031】σSAD 2 (k) < Th1 または、 Σ|ΔMV| > Th2Σ SAD 2 (k) <Th1 or Σ | ΔMV |> Th2

【0032】ここで各記号の意味は次の通りである。 σSAD 2 (k):対象とするマクロブロックについてマッチ
ング歪みを差分絶対値(Sum of Absolute Difference)
で求め、値の最も小さいものから順にk個のマッチング
歪みを抽出して計算した歪み値の分散。 Σ|ΔMV| :対象とするマクロブロックについて求めた
動きベクトルの大きさと周囲8個のマクロブロックにつ
いて求めた動きベクトルの大きさとの差分絶対値和。 Th1:マッチング歪みのばらつき度を判定する閾値。 Th2:動きベクトルのばらつき度を判定する閾値。
Here, the meaning of each symbol is as follows. σ SAD 2 (k): Sum of Absolute Difference of matching distortion for the target macroblock
Dispersion of distortion values calculated by extracting k matching distortions in order from the smallest value and calculating. Σ | ΔMV |: Sum of absolute differences between the magnitude of the motion vector obtained for the target macroblock and the magnitude of the motion vector obtained for the eight surrounding macroblocks. Th1: A threshold for determining the degree of variation in matching distortion. Th2: Threshold for judging the degree of variation in motion vector.

【0033】.符号長の短い動きベクトルの検出 次に、符号長の短い動きベクトルの検出による、動きベ
クトル符号量の削減について説明する。マクロブロック
で複数の動きベクトルを用いる予測モードは符号量が大
きくなるので、本実施の形態では、予測効果が十分高い
場合にのみ使用するよう制限し、かつ、予測の効果に大
きな隔たりがない場合には、符号量が小さくなるようベ
クトルを動き量ゼロ近傍に集め、上記.の手法により
求めた動き探索精度が低いマクロブロックについて、以
下の1.〜3.の手順に従い、短符号長の動きベクトル
を検出する。
.. Detection of Motion Vector with Short Code Length Next, reduction of the motion vector code amount by detecting a motion vector with a short code length will be described. In the prediction mode using a plurality of motion vectors in a macroblock, the code amount is large. Therefore, in the present embodiment, the use is limited only when the prediction effect is sufficiently high, and when there is no significant difference in the prediction effect. , The vectors are collected in the vicinity of the motion amount zero so that the code amount becomes small. For macroblocks with low motion search accuracy obtained by the method of 1. ~ 3. The motion vector of the short code length is detected according to the procedure of.

【0034】[短符号長動きベクトル検出手順] 1.マッチング歪み最小を与える動きベクトルから順に
k個を候補として選択 2.k個の動きベクトルを[フレーム予測>フィールト゛予測>双方
向予測] の優先順位を付けて3グループに分類する。 3.優先順位の高いグループの動きベクトルから順に探
索し、最も原点に近い動きベクトルを選定する
[Short code length motion vector detection procedure] 1. In order from the motion vector that gives the minimum matching distortion
Select k candidates as candidates 2. The k motion vectors are classified into three groups by prioritizing [frame prediction> field prediction> bidirectional prediction]. 3. The motion vector of the group with the highest priority is searched in order, and the motion vector closest to the origin is selected.

【0035】図5は、ビットレートは15Mbps、GOP構造
はN値=15、M値=3、フレームレートは29.97フレーム/秒とし
たときのWhale Showの映像における動きベクトルのフレ
ーム当りの符号量[Mbit]を、従来のTM5方式と、本発
明の実施の形態で提案している提案方法とで比較して示
したものである。図からわかるように、従来(TM5)の
符号化方式では10Mbpsラインを超えるフレームが多く発
生しているが、本発明の実施の形態による提案方法で
は、5Mbpsライン以下に収まっており、動きベクトルの
符号量が大幅に削減されたことがわかる。
In FIG. 5, the bit rate is 15 Mbps, the GOP structure is N value = 15, M value = 3, and the frame rate is 29.97 frames / sec. [Mbit] is shown by comparing the conventional TM5 system with the proposed method proposed in the embodiment of the present invention. As can be seen from the figure, in the conventional (TM5) coding method, many frames exceeding 10 Mbps lines are generated, but in the proposed method according to the embodiment of the present invention, the number of frames is less than 5 Mbps lines and the motion vector It can be seen that the code amount has been significantly reduced.

【0036】(2)動き探索精度が低い時の動きベクト
ル符号量の削減 上述したように動きベクトルの統計的特性によれば、動
きベクトルは動き量ゼロの近辺に集中している。これに
対し従来(TM5)の符号化方式では、動き探索範囲が固
定的であり、最大の動き量をカバーするような動き探索
範囲を使用するため、符号長の長い動きベクトルを発生
する可能性がある。
(2) Motion vector when motion search accuracy is low
According as reducing the aforementioned Le code amount to the statistical properties of the motion vectors, the motion vectors are concentrated in the vicinity of the movement amount zero. On the other hand, in the conventional (TM5) coding method, the motion search range is fixed and the motion search range that covers the maximum amount of motion is used. Therefore, a motion vector with a long code length may be generated. There is.

【0037】図6に、動き探索範囲の適応化(f-code)
と符号長の関係を示す。動き探索範囲は、図6に示すよ
うに、水平・垂直方向にそれぞれの設定値を持つf-code
と呼ばれる1〜9の値をとるパラメータで設定され、符号
長もf-code値により変化する。
FIG. 6 shows adaptation of the motion search range (f-code).
And the code length. As shown in FIG. 6, the motion search range is an f-code that has set values in the horizontal and vertical directions.
It is set by a parameter that takes a value from 1 to 9 and the code length also changes depending on the f-code value.

【0038】図7に、水平・垂直f-code値の組合せに対
応した動き探索範囲の対応例を示す。動き探索範囲と動
きベクトルの符号長が、上述の図6に示す関係にあるた
め、探索範囲を広く取った場合、動きの追従性が向上
し、歪みに相当するフレーム間差分が減少する反面、動
きベクトルの符号量が増加する。逆に動き探索範囲を絞
れば、動きベクトルの符号量が削減されるが、歪みに相
当するフレーム間差分が増大するというように、動きの
追従性と符号量との間には、トレードオフの関係があ
る。したがって、レート・歪み規範に基づき符号量と歪
み双方を考慮して、符号化映像の各フレームの動き量に
応じて、最適なf-code値を選択することができれば、符
号化効率の向上が可能となる。
FIG. 7 shows a correspondence example of the motion search range corresponding to the combination of the horizontal and vertical f-code values. Since the motion search range and the code length of the motion vector have the relationship shown in FIG. 6 described above, when the search range is wide, the motion followability improves and the inter-frame difference corresponding to the distortion decreases, The code amount of the motion vector increases. On the contrary, if the motion search range is narrowed down, the code amount of the motion vector is reduced, but the inter-frame difference corresponding to the distortion is increased. Therefore, there is a trade-off between the motion followability and the code amount. I have a relationship. Therefore, if both the amount of code and the amount of distortion are taken into consideration based on the rate / distortion criterion, and the optimal f-code value can be selected according to the amount of motion of each frame of the coded video, the coding efficiency will be improved. It will be possible.

【0039】次に、動き量に適応した動き探索範囲の決
定方法の一例を説明する本実施の形態では、映像シーン
毎に動き量は変動するが、個々の映像シーンに適した動
き探索範囲を適応的に決定することを考えるものとす
る。つまり、まず、探索範囲に制限を設けずに求めた動
きベクトルがあるf-codeの値に対応する探索範囲にどれ
だけの割合で含まれるか、その時のレート・歪み特性を
含めて調べる。制限なく求めた動きベクトルがある探索
範囲に含まれる確率を動きベクトル出現確率n (水平f-c
ode値, 垂直f-code値)と定義すると、以下の式によりあ
らわせる。
Next, in the present embodiment for explaining an example of a method of determining a motion search range adapted to a motion amount, although the motion amount changes for each video scene, a motion search range suitable for each video scene is set. Consider making an adaptive decision. That is, first, the rate and distortion characteristics at that time are examined to see how much the motion vector obtained without limiting the search range is included in the search range corresponding to the value of f-code. The probability that a motion vector obtained without limit is included in a certain search range is the motion vector appearance probability n (horizontal fc
ode value, vertical f-code value) can be expressed by the following formula.

【0040】n (水平f-code値, 垂直f-code値) = A/BN (horizontal f-code value, vertical f-code value) = A / B

【0041】ただし、A: 動き量が水平f-code
値, 垂直f-code値の探索範囲に収まるマクロブロックの
総数 B: マクロブロックの総数とする。
However, A: the amount of motion is horizontal f-code
Value, total number of macroblocks within vertical f-code value search range B: Total number of macroblocks.

【0042】次に、動きベクトル出現確率の目標値Nを
設定し、以下の条件を充たす最小のf-codeを符号化に使
用することを考えるものとする。
Next, it is assumed that the target value N of the motion vector appearance probability is set and the minimum f-code satisfying the following conditions is used for encoding.

【0043】n(水平f-code値, 垂直f-code値)≧ NN (horizontal f-code value, vertical f-code value) ≧ N

【0044】これによって、動きの大きなシーンでは大
きなf-code、動きの小さなシーンでは小さなf-codeを選
ぶようにする。
As a result, a large f-code is selected for a scene with large motion, and a small f-code is selected for a scene with small motion.

【0045】●[DCT係数量子化] 通常、HDTV信号におけるDCT係数電力分布は、統計的に
垂直方向の画素間相関に比べて水平方向の画素間相関の
ほうが強いため、DCT係数の領域では、統計的に、垂直
方向の高域係数が水平方向の高域係数に比べて大きな電
力を持っている。可変長符号化部6における2次元VLCを
考慮すると、DCT係数のスキャン順序は電力の大きな係
数から小さな係数へと行うことが適切である。従来のTM
5の符号化方式では、水平・垂直に重み付けをしたDCT係
数のスキャン方法がとられていない。
[DCT Coefficient Quantization] Generally, the DCT coefficient power distribution in an HDTV signal is statistically stronger in the horizontal pixel-to-pixel correlation than in the vertical pixel-to-pixel correlation. Statistically, the high frequency coefficient in the vertical direction has larger power than the high frequency coefficient in the horizontal direction. Considering the two-dimensional VLC in the variable-length coding unit 6, it is appropriate to scan the DCT coefficients in order from a coefficient having a large power to a coefficient having a small power. Conventional TM
The coding method of 5 does not employ a method of scanning DCT coefficients weighted horizontally and vertically.

【0046】従って、本発明の実施の形態1では、量子
化部5にて、映像に応じたDCT係数のスキャン方法に変
えることにより符号化効率の向上を図るようにしたもの
である。
Therefore, in the first embodiment of the present invention, the quantizing unit 5 is designed to improve the coding efficiency by changing the scanning method of the DCT coefficient according to the image.

【0047】つまり、本発明の実施の形態1の量子化部
5は、符号化制御部13の制御により、MPEG-2ではDCT
係数のスキャン順序を、図8 (a),(b)にそれぞれ示す
2種類の中からピクチャ毎に選択する。
That is, the quantizing unit 5 according to the first embodiment of the present invention controls DCT in MPEG-2 under the control of the coding control unit 13.
The scanning order of coefficients is selected for each picture from two types shown in FIGS. 8 (a) and 8 (b).

【0048】図8 (a),(b)は、本実施の形態1の量子
化部5におけるDCT係数のスキャン順序を示すもので
あり、図8 (a)は、alternate_scan=0のTM5の符号化方
式で用いるスキャン順序であり、低周波側のDCT係数か
ら高周波側の係数に向かってジグザグに走査する。
FIGS. 8 (a) and 8 (b) show the scan order of the DCT coefficients in the quantizer 5 of the first embodiment, and FIG. 8 (a) shows the code of TM5 with alternate_scan = 0. This is the scan order used in the conversion method, and scans in a zigzag manner from the DCT coefficient on the low frequency side to the coefficient on the high frequency side.

【0049】図8 (b)は、alternate_scan=1の水平成分
の低周波側のDCT係数を優先的に走査するスキャン順序
であり、水平方向の画素間相関が高い場合に有効であ
る。
FIG. 8B shows a scan order in which the DCT coefficient on the low frequency side of the horizontal component of alternate_scan = 1 is preferentially scanned, and is effective when the correlation between pixels in the horizontal direction is high.

【0050】図9に、それぞれのスキャン方法を用いた
場合の、Whale Show映像におけるレート・歪み特性を示
す。レート・歪み規範を考慮すると、図8(a)に示すalt
ernate_scan=0のTM5の符号化方式の場合より、図8 (b)
に示すalternate_scan=1の符号化効率が高いことがわか
る。
FIG. 9 shows rate / distortion characteristics in the Whale Show video when each scanning method is used. Considering rate / distortion criterion, alt shown in Fig. 8 (a)
Figure 8 (b) from the case of TM5 encoding method with ernate_scan = 0
It can be seen that the encoding efficiency of alternate_scan = 1 shown in is high.

【0051】●[情報発生量平滑化] 符号化装置側では、送信バッファ7を設けることによ
り、発生符号量の時間変動を平滑化するが、従来(TM
5)の符号化方式では、シーンチェンジ等に起因したイ
ントラ(フレーム内符号化)フレーム挿入を行うと、バ
ッファ破綻を生じることがある。このイントラフレーム
の符号量を精度良く制御できれば、バッファ破綻を防止
することが可能となる。
[Smoothing of Information Generation Amount] On the encoding device side, the transmission buffer 7 is provided to smooth the time variation of the generated code amount.
In the coding method of 5), if intra (intra-frame coding) frame insertion due to a scene change or the like is performed, buffer failure may occur. If the code amount of this intra frame can be controlled with high accuracy, it becomes possible to prevent buffer failure.

【0052】そこで、本発明の実施の形態1では、DC
T部4がフレーム内符号化/フレーム間符号化をする
際、符号化制御部13はDCT部4に対し歪と符号量と
によるコスト関数に基づき符号化を制御するようにす
る。つまり、図1の吹き出しにも示すように、入力画像
信号をフレーム内符号化する際は、符号化制御部13は
DCT部4に対し、フレーム内符号化による画像信号の
ひずみD3と、フレーム内符号化出力の符号量R3とによ
るコスト関数[D3+λ3・R3]に基づいて、そのコス
ト関数が最小になるひずみD3と符号量R3とでフレーム
内符号化するように制御する。また、入力画像信号をフ
レーム間符号化する際は、符号化制御部13はDCT部
4に対し、フレーム間符号化による画像信号のひずみD
2と、フレーム間符号化出力の符号量R2とによるコスト
関数[D2+λ2・R2]に基づいて、そのコスト関数が
最小になるひずみD2と符号量R2とでフレーム間符号化
するように制御する。次に、フレーム内符号化の場合を
一例に説明する。
Therefore, in the first embodiment of the present invention, DC
When the T unit 4 performs intraframe coding / interframe coding, the coding control unit 13 controls the DCT unit 4 to perform coding based on a cost function based on the distortion and the code amount. That is, as shown in the balloon in FIG. 1, when the input image signal is intra-frame encoded, the encoding control unit 13 instructs the DCT unit 4 to distort the image signal D3 due to the intra-frame encoding and the intra-frame encoding. Based on the cost function [D3 + λ3R3] based on the code amount R3 of the encoded output, the intra-frame control is performed with the distortion D3 and the code amount R3 that minimize the cost function. When the input image signal is inter-frame encoded, the encoding control unit 13 instructs the DCT unit 4 to distort the image signal D due to the inter-frame encoding.
Based on the cost function [D2 + λ2 · R2] of 2 and the code amount R2 of the inter-frame coded output, the inter-frame coding is controlled by the distortion D2 and the code amount R2 that minimize the cost function. Next, the case of intraframe coding will be described as an example.

【0053】図10に、Whale Show映像等における「量
子化ステップサイズ」と「イントラピクチャの符号量」
の関係を示す。「量子化ステップサイズ」は歪み、すな
わち画像品質に、「イントラピクチャの符号量」はレー
トに対応するパラメータである。つまり、図10に示す
ように、量子化ステップサイズが小さくなれば、歪みが
小さくなり画質が向上するが、そのかわり発生符号量が
増加するという関係にある。Whale Show映像等の3つの
シーケンスは、各映像信号の分散の違いにより特性は異
なるものの、いずれもレート・歪み曲線に類似した特性
となっている。この特性を何らかの指標によりシーケン
スによらず一般化できれば符号量を精度良く制御でき
る。
FIG. 10 shows "quantization step size" and "code amount of intra picture" in Whale Show video and the like.
Shows the relationship. The “quantization step size” is a parameter corresponding to distortion, that is, image quality, and the “code amount of intra picture” is a parameter corresponding to rate. That is, as shown in FIG. 10, when the quantization step size is small, the distortion is small and the image quality is improved, but instead, the generated code amount is increased. The characteristics of the three sequences such as the Whale Show video are similar to the rate / distortion curve, although the characteristics differ depending on the variance of the video signals. If this characteristic can be generalized by some index regardless of the sequence, the code amount can be controlled accurately.

【0054】また、イントラピクチャの発生符号量と、
DCT係数絶対値和とは、実験的に、シーンによらず、図
11に示すような直線的な特性を持っており、符号量推
定方法の一般化に利用できる。
Further, the generated code amount of the intra picture,
The DCT coefficient sum of absolute values has a linear characteristic as shown in FIG. 11 experimentally regardless of the scene, and can be used for generalization of the code amount estimation method.

【0055】次に、イントラフレーム符号量制御方法に
ついて具体的に説明する。発生符号量は、実験的に量子
化ステップサイズのべき乗曲線に良好に近似されること
が報告されている。ここでは、さらに、映像シーケンス
によらない一般化のため、図11に示す特性を適用し、
「量子化ステップサイズ」と「イントラピクチャ符号量
÷DCT係数絶対値和(AC成分)」を用いて、以下の式で
近似する。
Next, the intra-frame code amount control method will be specifically described. It has been reported experimentally that the generated code amount is well approximated to a power curve of the quantization step size. Here, for generalization not depending on the video sequence, the characteristics shown in FIG. 11 are applied,
The "quantization step size" and "intra picture code amount / sum of DCT coefficient absolute values (AC component)" are used to approximate by the following formula.

【0056】近似式: R=aQ Approximation formula: R = aQ b

【0057】ここで、 Q:量子化ステップサイズ R:イントラピクチャの符号量÷DCT係数絶対値和(AC成
分) a,b:定数 とする。
Here, Q: quantization step size R: intra picture code amount / DCT coefficient absolute value sum (AC component) a, b: constants.

【0058】この近似曲線を用いることにより、イント
ラピクチャの量子化ステップサイズを、目標とするイン
トラピクチャ符号量とDCT係数絶対値和から導出するこ
とが可能となり、予想されない符号量の発生によるバッ
ファ破綻を防止できる。
By using this approximate curve, the quantization step size of an intra picture can be derived from the target intra picture code amount and the sum of DCT coefficient absolute values, and a buffer failure due to an unexpected code amount is generated. Can be prevented.

【0059】なお、上記説明は、入力画像信号をフレー
ム内(イントラ)符号化する場合について説明したが、
入力画像信号をフレーム間(インター)符号化する場合
も同様に説明でき、この場合には、フレーム間符号化に
よる情報発生量を削減することが可能となる。
In the above description, the case where the input image signal is intra-frame (intra) coded has been described.
The same description can be applied to the case where the input image signal is inter-frame (inter) coded. In this case, it is possible to reduce the amount of information generated by the inter-frame coding.

【0060】●[イントラ/インターモードの符号化モ
ード判定] 符号化時には、符号化モード判定部3にて各マクロブロ
ック毎にイントラ/インターモードの符号化モード判定
が行われる。イントラモードは動き補償フレーム間予測
を行わず符号化するモード、インターモードは動き補償
フレーム間予測を行う符号化モードであるが、この判定
に2Pass符号化を検討した。2Pass符号化とは、仮に一
度符号化した結果から得られる情報を使用して実際の符
号化に使用するパラメータを改善する方法である。
[Intra / Inter Mode Coding Mode Judgment] At the time of coding, the coding mode judgment unit 3 judges the intra / inter mode coding mode for each macroblock. The intra mode is a mode for coding without performing motion-compensated inter-frame prediction, and the inter mode is a coding mode for performing motion-compensated inter-frame prediction. Two pass coding was considered for this determination. The 2-pass encoding is a method of improving parameters used for actual encoding by using information obtained from the result of encoding once.

【0061】これは、従来のTM5の符号化方式では、各
マクロブロックのイントラ/インターモードの符号化モ
ードを、現画像の電力に相当するE intra、動き補償フ
レーム間予測誤差電力に相当するE interの大小比較に
より、以下のように判定していた。
This is because in the conventional TM5 coding method, the intra / inter mode coding mode of each macroblock is E intra corresponding to the power of the current picture, and E corresponding to the motion compensation inter-frame prediction error power. It was judged as follows by comparing the magnitude of inter.

【0062】 判定条件: 符号化モード=インターモード E intra ≧ E inter 符号化モード=イントラモード E intra < E inter ここで、[0062]   Judgment condition:       Encoding mode = Inter mode E intra ≥ E inter       Encoding mode = intra mode E intra <E inter here,

【0063】[0063]

【数1】 [Equation 1]

【0064】 である。[0064] Is.

【0065】図12は、映像の1フレームにおける従来
(TM5)の評価値をマクロブロック毎にプロットしたも
のである。プロット位置が基準線(Eintra = Einter)
よりも上のところはインターモード、基準線よりも下の
ところはイントラモードが選択される。Eintraはイント
ラ符号化時の歪み、Einterはインター符号化時の歪みに
相当するもので、従来(TM5)の符号化方式では歪みの
みを評価尺度として符号化モードを選択していることに
なる。
FIG. 12 is a plot of the evaluation values of the conventional (TM5) in one frame of video for each macroblock. Plot position is the reference line (Eintra = Einter)
The inter mode is selected above and the intra mode is selected below the reference line. Eintra corresponds to the distortion at the time of intra coding, and Einter corresponds to the distortion at the time of inter coding. In the conventional (TM5) coding system, the coding mode is selected using only the distortion as an evaluation measure.

【0066】図12中、楕円で囲んだ部分は、従来(TM
5)の評価基準によって選択されたモードとは逆のモー
ドで符号化したほうが実際には符号量が小さかったマク
ロブロックを示す。
In FIG. 12, the part surrounded by the ellipse is the conventional (TM
In fact, macroblocks with a smaller code amount are coded in the opposite mode to the one selected by the evaluation criterion in 5).

【0067】したがって、本発明の実施の形態1では、
レート・歪み規範に基づいて、歪みだけでなく、符号量
も加味した評価尺度(コスト関数)によりイントラ/イ
ンターモードの判定を行うことにより、符号化効率の改
善を図ったものである。具体的には、次に説明するよう
にして、イントラ/インターモード判定を行なう
Therefore, in the first embodiment of the present invention,
The coding efficiency is improved by determining the intra / inter mode based on an evaluation scale (cost function) that takes into consideration not only the distortion but also the code amount based on the rate / distortion criterion. Specifically, intra / inter mode determination is performed as described below.

【0068】つまり、本実施の形態1のイントラ/イン
ターモード判定方法は、レート・歪み規範に基づく最適
なモード判定を上述のコスト関数により決定する。ここ
では、イントラモード/インターモードの選択を、この
コスト関数を用いて判定したときの効果をみる。
That is, in the intra / inter mode decision method of the first embodiment, the optimum mode decision based on the rate / distortion criterion is decided by the above cost function. Here, the effect when the selection of intra mode / inter mode is determined using this cost function will be seen.

【0069】具体的には、イントラとインターの両モー
ドで仮符号化(2Pass符号化)し、そこで求まった符号
化歪みおよび発生符号量をもとに、以下に示すコスト関
数E’intra、E’interを用い、イントラ/インターモー
ドの符号化モードを決定する。
Specifically, the cost functions E'intra and E shown below are tentatively encoded (2-pass encoding) in both the intra and inter modes, and based on the encoding distortion and the generated code amount obtained there. 'inter is used to determine the intra / inter mode coding mode.

【0070】 判定条件: 符号化モード=インターモード E’intra ≧ E’inter 符号化モード=イントラモード E’intra < E’inter[0070]   Judgment condition:       Encoding mode = inter mode E'intra ≥ E'inter       Coding mode = Intra mode E'intra <E'inter

【0071】ここで、 E’intra = D intra + λ・R intra (イントラ評価
値) E’inter = D inter + λ・R inter (インター評価
値) D intra: イントラ符号化時の符号化歪み(MSE) R intra: イントラ符号化時のMacroblockの符号量(DCT
係数) D inter: インター符号化時の符号化歪み(MSE) R inter: インター符号化時のMacroblockの符号量(動
きヘ゛クトル+DCT係数) λ:定数 [Macroblock当りのMSE/符号量] である。
Here, E'intra = D intra + λ · R intra (intra evaluation value) E'inter = D inter + λ · R inter (inter evaluation value) D intra: coding distortion at the time of intra coding ( MSE) R intra: Macroblock code amount (DCT at intra coding)
Coefficient) D inter: Coding distortion (MSE) at the time of inter coding R inter: Code amount of macroblock at the time of inter coding (motion vector + DCT coefficient) λ: A constant [MSE / code amount per macroblock].

【0072】なお、本実施の形態1では、上述の新規な
「動き補償処理」と、「DCT係数量子化処理」と、
「情報発生量平滑処理」と、「フレーム間符号化/フレ
ーム内符号化の符号化モード判定処理」とを全て実行す
るものとして説明したが、本発明では、これに限らず、
上述の新規な「動き補償処理」と、「DCT係数量子化
処理」と、「情報発生量平滑処理」と、「フレーム間符
号化/フレーム内符号化の符号化モード判定処理」との
うちから1つの処理のみを実行して、他の処理は従来の
TM5と同じ処理を行なっても良く、あるいはそれらの新
規な処理から任意に2つ以上の処理を選択して処理する
ようにしても勿論よい。
In the first embodiment, the above-mentioned new "motion compensation process", "DCT coefficient quantization process",
The "information generation amount smoothing process" and the "interframe coding / intraframe coding coding mode determination process" have been described as being all executed, but the present invention is not limited to this.
From among the above-mentioned new “motion compensation processing”, “DCT coefficient quantization processing”, “information generation amount smoothing processing”, and “coding mode determination processing of interframe coding / intraframe coding” Only one process is executed, other processes are
The same processing as TM5 may be performed, or two or more processings may be arbitrarily selected from these new processings.

【0073】また、本実施の形態1では、上述の新規な
「動き補償処理」と、「DCT係数量子化処理」と、
「情報発生量平滑処理」と、「フレーム間符号化/フレ
ーム内符号化の符号化モード判定処理」とにおけるレー
ト・歪のコスト関数に基づく処理を、符号化対象映像に
おけるマクロブロック間の相関に応じて1または複数の
マクロブロック毎に行なったり、あるいはフレーム間の
相関に応じて1または複数のフレーム毎に行なうように
してもよい。
Further, in the first embodiment, the above-mentioned new "motion compensation processing", "DCT coefficient quantization processing",
The process based on the cost function of rate / distortion in the "information generation amount smoothing process" and the "inter-frame coding / intra-frame coding coding mode determination process" is applied to the correlation between macro blocks in the video to be coded. Accordingly, the processing may be performed for each one or a plurality of macro blocks, or for each one or a plurality of frames depending on the correlation between the frames.

【発明の効果】以上説明したように、本発明によれば、
動き補償予測により動きベクトルを求める際、画像信号
のマッチングひずみと、動きベクトルを可変長符号化し
たときの符号量とによるコスト関数に基づいて、動きベ
クトルを求めるようにしたので、動きベクトルの符号量
を削減でき、その分だけ小刻みなステップで符号化係数
を量子化することにより画質を向上させることができ
る。
As described above, according to the present invention,
When the motion vector is obtained by motion compensation prediction, the motion vector is obtained based on the matching distortion of the image signal and the cost function based on the code amount when the motion vector is variable length coded. The amount can be reduced, and the image quality can be improved by quantizing the coding coefficient in small steps.

【0074】また、上記コスト関数に基づき求められた
動きベクトルによる動き補償予測信号と入力画像信号の
差分をフレーム間符号化する際、フレーム間符号化によ
る画像信号のひずみと、フレーム間符号化出力の符号量
とによるコスト関数に基づいて、フレーム間符号化する
ようにしたので、フレーム間符号化出力の符号量を削減
でき、その分だけ小刻みなステップで符号化係数を量子
化することにより画質を向上させることができる。
Further, when the difference between the motion compensation prediction signal based on the motion vector obtained based on the above cost function and the input image signal is inter-coded, the distortion of the image signal due to the inter-frame coding and the inter-frame coding output Since the interframe coding is performed based on the cost function based on the code amount of, the code amount of the interframe coding output can be reduced, and the image quality can be reduced by quantizing the coding coefficient in small steps. Can be improved.

【0075】また、入力画像信号をフレーム内符号化す
る際、フレーム内符号化による画像信号のひずみと、フ
レーム内符号化出力の符号量とによるコスト関数に基づ
いて、フレーム内符号化するようにしたので、フレーム
内符号化出力の符号量を削減できると共に、フレーム内
符号化出力の符号量を平滑化することができ、その分だ
け小刻みなステップで符号化係数を量子化することによ
り画質を向上させることができると共に、特にシーンチ
ェンジ等に起因したイントラフレーム挿入時における送
信バッファの破綻を防止することができる。
When the input image signal is intra-frame encoded, the intra-frame encoding is performed based on the cost function of the distortion of the image signal due to the intra-frame encoding and the code amount of the intra-frame encoded output. Therefore, the code amount of the intra-frame coded output can be reduced and the code amount of the intra-frame coded output can be smoothed, and the image quality can be improved by quantizing the coding coefficient in small steps. In addition to the improvement, it is possible to prevent the transmission buffer from being broken at the time of inserting the intra frame due to a scene change or the like.

【0076】また、入力画像信号をフレーム内符号化ま
たはフレーム間符号化した符号化係数をスキャンして量
子化する際、量子化による画像信号のひずみと、量子化
出力の符号量とによるコスト関数に基づいて水平または
垂直方向に重み付けをしてスキャンするようにしたの
で、例えばHDTV映像等のように統計的に垂直方向の画素
間相関に比べて水平方向の画素間相関のほうが強い符号
化係数の場合、水平方向に重みを付け水平成分の低周波
側のDCT係数を優先的にスキャンすることにより、可変
長符号化効率が向上して符号量が削減され、その分だけ
小刻みなステップで符号化係数を量子化することにより
画質を向上させることができる。
When the input image signal is intra-frame encoded or inter-frame encoded and the encoding coefficient is scanned and quantized, the cost function based on the distortion of the image signal due to the quantization and the code amount of the quantized output is used. Since the scanning is performed by weighting in the horizontal or vertical direction based on, the correlation coefficient between pixels in the horizontal direction is statistically stronger than that between pixels in the vertical direction, such as in HDTV video. In the case of, the weighting is applied in the horizontal direction and the DCT coefficient on the low frequency side of the horizontal component is preferentially scanned to improve the variable length coding efficiency and reduce the code amount. The image quality can be improved by quantizing the quantization coefficient.

【0077】また、入力画像信号をフレーム内符号化お
よびフレーム間符号化の両モードで仮符号化し、フレー
ム内符号化による画像信号のひずみとフレーム内符号化
出力の符号量とによるコスト関数と、フレーム間符号化
による画像信号のひずみとフレーム間符号化出力の符号
量とによるコスト関数との大小に基づき、入力画像信号
をフレーム内符号化するか、あるいはフレーム間符号化
するかを判定するようにしたので、符号量の少ない符号
化モードを選択することができ、その分だけ小刻みなス
テップで符号化係数を量子化することにより画質を向上
させることができる。
Further, the input image signal is provisionally coded in both intra-frame coding and inter-frame coding modes, and the cost function based on the distortion of the image signal due to intra-frame coding and the code amount of the intra-frame coding output, It is determined whether the input image signal is intraframe-coded or interframe-coded based on the size of the cost function based on the distortion of the image signal due to the interframe coding and the code amount of the interframe coding output. Therefore, it is possible to select a coding mode with a small code amount, and it is possible to improve the image quality by quantizing the coding coefficient in small steps.

【0078】[0078]

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

【図1】 本発明に係る高圧縮符号化装置の実施の形態
1の構成例を示す図。
FIG. 1 is a diagram showing a configuration example of a first embodiment of a high compression encoding apparatus according to the present invention.

【図2】 レート・歪み規範に基づくパラメータ設定の
説明図。
FIG. 2 is an explanatory diagram of parameter setting based on a rate / distortion criterion.

【図3】 本実施の形態1の高圧縮符号化装置の基本動
作を示すフローチャート。
FIG. 3 is a flowchart showing the basic operation of the high compression encoding apparatus according to the first embodiment.

【図4】 図3におけるステップ400のマクロブロッ
ク符号化処理における1マクロブロックの符号化処理を
示すフローチャート。
4 is a flowchart showing the encoding process of one macroblock in the macroblock encoding process of step 400 in FIG.

【図5】 動きベクトル符号量の比較を示す図(Whale
Show)。
FIG. 5 is a diagram showing a comparison of motion vector code amounts (Whale
Show).

【図6】 動き探索範囲の適応化(f-code)と符号長の
関係を示す図。
FIG. 6 is a diagram showing a relationship between adaptation (f-code) of a motion search range and code length.

【図7】 水平・垂直f-code値と動き探索範囲の対応例
を示す図。
FIG. 7 is a diagram showing an example of correspondence between horizontal / vertical f-code values and motion search ranges.

【図8】 DCT係数のスキャン順序を示す図。FIG. 8 is a diagram showing a scan order of DCT coefficients.

【図9】 レート・歪み特性(Whale Show)を示す図。FIG. 9 is a diagram showing rate / distortion characteristics (Whale Show).

【図10】 量子化ステップサイズとイントラピクチャ
の符号量を示す図。
FIG. 10 is a diagram showing a quantization step size and the code amount of an intra picture.

【図11】 量子化ステップ8で測定したDCT係数絶対値
和とイントラヒ゜クチャ発生符号量を示す図。
FIG. 11 is a diagram showing the sum of absolute values of DCT coefficients measured in quantization step 8 and the amount of intra-picture generation code.

【図12】 (Whale Showの1フレーム)TM5の判定条
件で振り分けられたマクロブロックの分布を示す図。
FIG. 12 is a diagram showing a distribution of macroblocks distributed according to a TM5 determination condition (one frame of Whale Show).

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

1 動き補償予測部、2 差分部、3 符号化モード判
定部、4 DCT部、5 量子化部、6 可変長符号化
部、7 バッファ、8 逆量子化部、9 逆DCT部、
10 加算部、11 ビデオメモリ、12 符号化制御
部。
1 motion compensation prediction unit, 2 difference unit, 3 coding mode determination unit, 4 DCT unit, 5 quantization unit, 6 variable length coding unit, 7 buffer, 8 inverse quantization unit, 9 inverse DCT unit,
10 adder, 11 video memory, 12 coding controller.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 丹野 興一 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内 (72)発明者 山田 悦久 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内 (72)発明者 浅井 光太郎 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内 (72)発明者 中島 重雄 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内 Fターム(参考) 5C059 KK01 KK19 MA05 MA23 MC01 MC11 ME01 NN01 PP05 TA00 TA23 TA46 TA62 TB07 TC00 TC04 TC18 UA02 5J064 AA01 BA09 BA16 BB03 BB05 BC01 BC08 BC16 BC28 BD01   ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Koichi Tanno             2-3 2-3 Marunouchi, Chiyoda-ku, Tokyo             Inside Ryo Electric Co., Ltd. (72) Inventor Yamada Etsuhisa             2-3 2-3 Marunouchi, Chiyoda-ku, Tokyo             Inside Ryo Electric Co., Ltd. (72) Inventor Kotaro Asai             2-3 2-3 Marunouchi, Chiyoda-ku, Tokyo             Inside Ryo Electric Co., Ltd. (72) Inventor Shigeo Nakajima             2-3 2-3 Marunouchi, Chiyoda-ku, Tokyo             Inside Ryo Electric Co., Ltd. F term (reference) 5C059 KK01 KK19 MA05 MA23 MC01                       MC11 ME01 NN01 PP05 TA00                       TA23 TA46 TA62 TB07 TC00                       TC04 TC18 UA02                 5J064 AA01 BA09 BA16 BB03 BB05                       BC01 BC08 BC16 BC28 BD01

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 動画像の画像信号を符号化する高圧縮符
号化装置であって、符号化の過程で動的に決定されうる
制御項目、すなわちフレーム間予測使用の採否もしくは
動き補償予測における動きベクトルの決定、もしくは複
数定義された予測モードからのモード選択、もしくは量
子化ステップサイズの決定などの制御項目を決定するこ
とに際して、符号化によるひずみと符号化に必要な符号
量とを結合して得られるコスト関数に基づいて一つもし
くは複数の制御項目の決定を行うことを特徴とする高圧
縮符号化装置。
1. A high compression encoding apparatus for encoding an image signal of a moving image, wherein a control item that can be dynamically determined in the encoding process, that is, whether to use interframe prediction or motion in motion compensation prediction When determining control items such as vector determination, mode selection from multiple defined prediction modes, or quantization step size determination, combine distortion due to encoding with the code amount required for encoding. A high-compression encoding device, characterized in that one or more control items are determined based on the obtained cost function.
【請求項2】 動画像の画像信号を符号化する高圧縮符
号化装置であって、 動き補償予測のための動きベクトルを求める際、画像信
号のマッチングひずみと、動きベクトルを可変長符号化
したときの符号量とによるコスト関数に基づいて、動き
ベクトルを求めることを特徴とする高圧縮符号化装置。
2. A high compression encoding apparatus for encoding an image signal of a moving image, wherein when a motion vector for motion compensation prediction is obtained, matching distortion of the image signal and the motion vector are variable length encoded. A high compression encoding device characterized in that a motion vector is obtained based on a cost function depending on the code amount at that time.
【請求項3】 請求項1または請求項2の高圧縮符号化
装置において、コスト関数に基づいて動きベクトルを求
める際、動き探索精度が低いマクロブロックを判定し、
動き探索精度が低いマクロブロックのなかからコスト関
数が原点に近い動きベクトルを求めることを特徴とする
高圧縮符号化装置。
3. The high compression coding apparatus according to claim 1 or 2, wherein when a motion vector is obtained based on a cost function, a macro block having low motion search accuracy is determined,
A high compression encoding device characterized in that a cost function obtains a motion vector close to the origin from macroblocks having low motion search accuracy.
【請求項4】 請求項1〜請求項3のいずれかの高圧縮
符号化装置において、コスト関数に基づいて動きベクト
ルを求める際、動きベクトルの符号長に基づいて動き探
索範囲を決定しつつ、コスト関数に基づいて動きベクト
ルを求めることを特徴とする高圧縮符号化装置。
4. The high compression coding apparatus according to claim 1, wherein when a motion vector is obtained based on a cost function, a motion search range is determined based on a code length of the motion vector, A high compression encoding device characterized by obtaining a motion vector based on a cost function.
【請求項5】 請求項1〜請求項4のいずれかの高圧縮
符号化装置において、さらに、上記コスト関数に基づき
求められた動きベクトルによる動き補償予測信号と入力
画像信号の差分をフレーム間符号化する際、フレーム間
符号化による画像信号のひずみと、フレーム間符号化出
力の符号量とによるコスト関数に基づいて、フレーム間
符号化することを特徴とする高圧縮符号化装置。
5. The high compression encoding apparatus according to any one of claims 1 to 4, further comprising: interframe coding a difference between a motion compensation prediction signal and an input image signal by a motion vector obtained based on the cost function. A high-compression encoding device characterized by performing inter-frame encoding based on a cost function based on a distortion of an image signal due to inter-frame encoding and a code amount of inter-frame encoded output.
【請求項6】 動画像の画像信号を符号化する高圧縮符
号化装置であって、 入力画像信号をフレーム内符号化する際、フレーム内符
号化による画像信号のひずみと、フレーム内符号化出力
の符号量とによるコスト関数に基づいて、フレーム内符
号化することを特徴とする高圧縮符号化装置。
6. A high compression encoding apparatus for encoding an image signal of a moving image, wherein when an input image signal is intra-frame encoded, distortion of the image signal due to intra-frame encoding and intra-frame encoding output A high-compression encoding device, which performs intra-frame encoding based on a cost function according to the code amount of.
【請求項7】 動画像の画像信号を符号化する高圧縮符
号化装置であって、 入力画像信号をフレーム内符号化またはフレーム間符号
化の過程において符号化係数をスキャンして量子化する
際、量子化による画像信号のひずみと、量子化出力の符
号量とによるコスト関数に基づいて水平または垂直方向
に重み付けをしてスキャンすることを特徴とする高圧縮
符号化装置。
7. A high compression encoding apparatus for encoding an image signal of a moving image, wherein an input image signal is scanned and quantized by encoding coefficients in a process of intra-frame encoding or inter-frame encoding. A high-compression encoding device which performs scanning by weighting in the horizontal or vertical direction based on a cost function based on the distortion of an image signal due to quantization and the code amount of a quantized output.
【請求項8】 動画像の画像信号を符号化する高圧縮符
号化装置であって、 入力画像信号をフレーム内符号化およびフレーム間符号
化の両モードで仮符号化し、フレーム内符号化による画
像信号のひずみとフレーム内符号化出力の符号量とによ
るコスト関数と、フレーム間符号化による画像信号のひ
ずみとフレーム間符号化出力の符号量とによるコスト関
数との大小に基づき、入力画像信号をフレーム内符号化
するか、あるいはフレーム間符号化するかを判定するこ
とを特徴とする高圧縮符号化装置。
8. A high compression encoding apparatus for encoding an image signal of a moving image, wherein an input image signal is provisionally encoded in both intra-frame encoding and inter-frame encoding modes, and an image is produced by intra-frame encoding. Based on the size of the cost function by the signal distortion and the code amount of the intra-frame coding output, and the cost function by the distortion of the image signal by the inter-frame coding and the code amount of the inter-frame coding output, the input image signal is A high-compression encoding device characterized by determining whether to perform intra-frame encoding or inter-frame encoding.
【請求項9】 請求項1〜請求項8のいずれかの高圧縮
符号化装置において、さらに、上記コスト関数を用いな
い場合に比較した上記コスト関数を用いた場合の効率化
された分に応じて、符号化出力を量子化する際の量子化
ステップサイズを制御することを特徴とする高圧縮符号
化装置。
9. The high compression coding apparatus according to any one of claims 1 to 8, further comprising: depending on an improved efficiency when the cost function is used as compared with the case where the cost function is not used. And a quantization step size when quantizing a coded output.
【請求項10】 請求項1〜請求項9のいずれかの高圧
縮符号化装置において、1または複数のマクロブロック
毎にコスト関数に基づく処理を行なうことを特徴とする
高圧縮符号化装置。
10. The high compression coding apparatus according to claim 1, wherein a processing based on a cost function is performed for each one or a plurality of macroblocks.
【請求項11】 請求項1〜請求項10のいずれかの高
圧縮符号化装置において、1または複数のフレーム毎に
コスト関数に基づく処理を行なうことを特徴とする高圧
縮符号化装置。
11. The high compression coding apparatus according to claim 1, wherein the high compression coding apparatus performs processing based on a cost function for each one or a plurality of frames.
JP2002028182A 2002-02-05 2002-02-05 High compression coding unit Pending JP2003230149A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002028182A JP2003230149A (en) 2002-02-05 2002-02-05 High compression coding unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002028182A JP2003230149A (en) 2002-02-05 2002-02-05 High compression coding unit

Publications (1)

Publication Number Publication Date
JP2003230149A true JP2003230149A (en) 2003-08-15

Family

ID=27749482

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002028182A Pending JP2003230149A (en) 2002-02-05 2002-02-05 High compression coding unit

Country Status (1)

Country Link
JP (1) JP2003230149A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7333660B2 (en) 2003-11-19 2008-02-19 Kabushiki Kaisha Toshiba Apparatus for and method of coding moving picture
US7502517B2 (en) 2004-03-29 2009-03-10 Kabushiki Kaisha Toshiba Image coding apparatus including a coded quantity prediction expression retaining unit
JP2009526499A (en) * 2006-02-09 2009-07-16 クゥアルコム・インコーポレイテッド Video encoding
EP2146510A1 (en) 2008-07-15 2010-01-20 Sony Corporation Motion vector detection
EP2146509A1 (en) 2008-07-15 2010-01-20 Sony Corporation Motion vector detection
JP2013524679A (en) * 2010-04-05 2013-06-17 サムスン エレクトロニクス カンパニー リミテッド Video encoding method, decoding method and apparatus using adaptive coefficient scan order
US8971393B2 (en) 2008-09-29 2015-03-03 Megachips Corporation Encoder
US9042459B1 (en) 2010-04-05 2015-05-26 Samsung Electronics Co., Ltd. Method and apparatus for encoding video by using transformation index, and method and apparatus for decoding video by using transformation index
US9049450B2 (en) 2010-04-05 2015-06-02 Samsung Electronics Co., Ltd. Method and apparatus for encoding video based on internal bit depth increment, and method and apparatus for decoding video based on internal bit depth increment
US9369736B2 (en) 2010-04-05 2016-06-14 Samsung Electronics Co., Ltd. Low complexity entropy-encoding/decoding method and apparatus

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7333660B2 (en) 2003-11-19 2008-02-19 Kabushiki Kaisha Toshiba Apparatus for and method of coding moving picture
US7502517B2 (en) 2004-03-29 2009-03-10 Kabushiki Kaisha Toshiba Image coding apparatus including a coded quantity prediction expression retaining unit
US8184716B2 (en) 2004-03-29 2012-05-22 Kabushiki Kaisha Toshiba Image coding apparatus, image coding method and image coding program
JP2009526499A (en) * 2006-02-09 2009-07-16 クゥアルコム・インコーポレイテッド Video encoding
US8208548B2 (en) 2006-02-09 2012-06-26 Qualcomm Incorporated Video encoding
EP2146510A1 (en) 2008-07-15 2010-01-20 Sony Corporation Motion vector detection
EP2146509A1 (en) 2008-07-15 2010-01-20 Sony Corporation Motion vector detection
US8358860B2 (en) 2008-07-15 2013-01-22 Sony Corporation Motion vector detecting device, motion vector detecting method, image encoding device, and program
US8385423B2 (en) 2008-07-15 2013-02-26 Sony Corporation Motion vector detecting device, motion vector detecting method, image encoding device, and program
US8971393B2 (en) 2008-09-29 2015-03-03 Megachips Corporation Encoder
JP2013524679A (en) * 2010-04-05 2013-06-17 サムスン エレクトロニクス カンパニー リミテッド Video encoding method, decoding method and apparatus using adaptive coefficient scan order
US9042459B1 (en) 2010-04-05 2015-05-26 Samsung Electronics Co., Ltd. Method and apparatus for encoding video by using transformation index, and method and apparatus for decoding video by using transformation index
US9042460B1 (en) 2010-04-05 2015-05-26 Samsung Electronics Co., Ltd. Method and apparatus for encoding video by using transformation index, and method and apparatus for decoding video by using transformation index
US9049460B1 (en) 2010-04-05 2015-06-02 Samsung Electronics Co., Ltd. Method and apparatus for encoding video by using transformation index, and method and apparatus for decoding video by using transformation index
US9049450B2 (en) 2010-04-05 2015-06-02 Samsung Electronics Co., Ltd. Method and apparatus for encoding video based on internal bit depth increment, and method and apparatus for decoding video based on internal bit depth increment
US9294781B2 (en) 2010-04-05 2016-03-22 Samsung Electronics Co., Ltd. Method and apparatus for encoding video by using transformation index, and method and apparatus for decoding video by using transformation index
US9369736B2 (en) 2010-04-05 2016-06-14 Samsung Electronics Co., Ltd. Low complexity entropy-encoding/decoding method and apparatus
US9602845B2 (en) 2010-04-05 2017-03-21 Samsung Electronics Co., Ltd. Low complexity entropy-encoding/decoding method and apparatus
US9866875B2 (en) 2010-04-05 2018-01-09 Samsung Electronics Co., Ltd. Low complexity entropy-encoding/decoding method and apparatus
US10027991B2 (en) 2010-04-05 2018-07-17 Samsung Electronics Co., Ltd. Low complexity entropy-encoding/decoding method and apparatus
US10158890B2 (en) 2010-04-05 2018-12-18 Samsung Electronics Co., Ltd. Low complexity entropy-encoding/decoding method and apparatus

Similar Documents

Publication Publication Date Title
KR100627329B1 (en) Adaptive Motion Prediction and Mode Determination Apparatus and Method for H.264 Video Codec
JP6632456B2 (en) Image encoded data
US20100246675A1 (en) Method and apparatus for intra-prediction in a video encoder
US6167088A (en) Method and apparatus for performing adaptive encoding rate control of a video information stream including 3:2 pull-down video information
KR100871588B1 (en) Intra coding device and method
US20070098067A1 (en) Method and apparatus for video encoding/decoding
US8189667B2 (en) Moving picture encoding apparatus
CN1875637A (en) Method and apparatus for minimizing number of reference pictures used for inter-coding
JP2009540636A (en) Method and apparatus for adaptively determining a bit budget for encoding a video picture
JP2003244702A (en) Filtering method and apparatus for removing blocking effect
JP2006519565A (en) Video encoding
KR100560843B1 (en) Method and apparatus for determining search region of adaptive motion vector in video encoder
JP4224473B2 (en) Motion prediction method by adaptive mode decision
WO2009133365A2 (en) Scene change detection
CA2646538C (en) Two-pass video coding using a measure of predictive power of reference regions
JP2003230149A (en) High compression coding unit
US20120207212A1 (en) Visually masked metric for pixel block similarity
JP5649296B2 (en) Image encoding device
US9055292B2 (en) Moving image encoding apparatus, method of controlling the same, and computer readable storage medium
KR101566290B1 (en) Video coding method of DC intra prediction
JP5178616B2 (en) Scene change detection device and video recording device
JP4130617B2 (en) Moving picture coding method and moving picture coding apparatus
Yu et al. A perceptual bit allocation scheme for H. 264
JP3941921B2 (en) Video encoding device
KR100987581B1 (en) Partial Block Matching Method for Fast Motion Estimation

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20040707

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050124

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070306

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070426

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071204

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080131

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080507