JP2003284090A - Intra-macroblock/inter-macroblock decision method in video coding, video coding apparatus, video coding program and storage medium for the program - Google Patents

Intra-macroblock/inter-macroblock decision method in video coding, video coding apparatus, video coding program and storage medium for the program

Info

Publication number
JP2003284090A
JP2003284090A JP2002079990A JP2002079990A JP2003284090A JP 2003284090 A JP2003284090 A JP 2003284090A JP 2002079990 A JP2002079990 A JP 2002079990A JP 2002079990 A JP2002079990 A JP 2002079990A JP 2003284090 A JP2003284090 A JP 2003284090A
Authority
JP
Japan
Prior art keywords
macroblock
intra
inter
value
color difference
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2002079990A
Other languages
Japanese (ja)
Other versions
JP3790178B2 (en
Inventor
Shigeki Okada
重樹 岡田
Junichi Nakajima
淳一 中嶋
Hisanori Ono
尚紀 小野
Hisami Shinsenji
久美 秦泉寺
Hiroyuki Tsuji
裕之 辻
Toru Sakatani
徹 阪谷
Yoshiyuki Yashima
由幸 八島
Naoki Kobayashi
小林  直樹
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2002079990A priority Critical patent/JP3790178B2/en
Publication of JP2003284090A publication Critical patent/JP2003284090A/en
Application granted granted Critical
Publication of JP3790178B2 publication Critical patent/JP3790178B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To suppress a deterioration in image quality by avoiding a color sticking phenomenon which occurs in such a case that a motion vector has not appropriately calculated in coding a video. <P>SOLUTION: For a macroblock to be coded which is decided to be an inter- macroblock by comparing the levels between a MAD (maximum absolute difference) of a luminance value Y and an SAD (sum of absolute difference) of the value Y, MAD and SAD in two color difference values U, V in the macroblock are further calculated by a color difference decision means 12 respectively. When a value obtained by subtracting the weighted coefficient from either of the SADs is larger than the MAD, a predicted error of the macroblock to be coded is considered to be large, and the macroblock is re-decided to be an intra-macroblock. <P>COPYRIGHT: (C)2004,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】映像符号化において,符号化
対象マクロブロックを,他のマクロブロックからの予測
を伴なわないイントラマクロブロック,あるいは他のマ
クロブロックからの予測を伴なうインターマクロブロッ
クのどちらで符号化を行うかの判定は,画質に与える影
響を考慮した上で判定することが望ましい。
BACKGROUND OF THE INVENTION In video coding, a macroblock to be coded is an intra macroblock without prediction from other macroblocks or an inter macroblock with prediction from other macroblocks. It is desirable to determine which is to be used for encoding after considering the effect on image quality.

【0002】本発明は,映像符号化の符号化制御に係わ
り,特に符号化対象マクロブロックがイントラマクロブ
ロック,インターマクロブロックのどちらで符号化すべ
きであるかを判定する映像符号化におけるマクロブロッ
クの色差SADによる映像符号化におけるイントラ・イ
ンター判定方法,映像符号化装置,映像符号化プログラ
ムおよびそのプログラムの記録媒体に関する。
The present invention relates to coding control of video coding, and in particular, it relates to a macroblock in video coding for determining whether a macroblock to be coded should be coded by an intra macroblock or an inter macroblock. The present invention relates to an intra / inter determination method in video encoding by color difference SAD, a video encoding device, a video encoding program, and a recording medium of the program.

【0003】[0003]

【従来の技術】映像符号化の国際標準であるMPEG−
4で規定されている検証モデルver.16(VM1
6)の符号化制御において,P−VOP内の符号化対象
マクロブロックをイントラマクロブロック,インターマ
クロブロックのいずれの型(モード)で符号化するかを
判定するイントラ・インター判定では,該符号化対象マ
クロブロックをイントラマクロブロックとして符号化し
た場合の予測発生符号量として,該符号化対象マクロブ
ロック内の画素の輝度値YのMAD(マクロブロック内
の画素値の平均値と各画素値の差分の絶対値総和)を用
い,インターマクロブロックとして符号化した場合の予
測発生符号量として,画素の輝度値YのSAD(あらか
じめ算出した動きベクトルにより作成した予測画像と原
画像の画素値の差分の絶対値総和)を用い,これらの値
の大小比較によって,予測発生符号量が小さい方の型を
採用していた。
2. Description of the Related Art MPEG-an international standard for video coding
The verification model ver. 16 (VM1
In the encoding control of 6), in the intra / inter determination that determines which type (mode) of the macro block to be encoded in the P-VOP, the intra macro block or the inter macro block is encoded, As the predicted generated code amount when the target macroblock is encoded as an intra macroblock, the MAD of the luminance value Y of the pixel in the encoding target macroblock (the difference between the average value of the pixel values in the macroblock and each pixel value) Of the difference between the pixel value of the predicted image created by the motion vector calculated in advance and the pixel value of the original image as the predicted generated code amount when the image is coded as an inter macroblock. Using the sum of absolute values) and comparing the magnitudes of these values, the one with the smaller predicted code amount was adopted.

【0004】図4は従来のイントラ・インター判定方法
の例を説明する図である。従来の映像符号化におけるイ
ントラ・インター判定部60では,輝度値判定手段11
によって,入力のP−VOPの符号化対象マクロブロッ
ク内の画素の輝度値YのMADと,輝度値YのSADと
の大小比較処理を行い,輝度値YのMADが輝度値Yの
SADよりも小さい値をとる場合,具体的には輝度値Y
のMADの値Ay が,輝度値YのSADの値SAD
inter から所定の値2*NB を引いたものより小さい場
合には,該符号化対象マクロブロックをイントラマクロ
ブロックと判定し,それ以外の場合には,インターマク
ロブロックと判定する。
FIG. 4 is a diagram for explaining an example of a conventional intra / inter determination method. In the intra / inter determination unit 60 in the conventional video encoding, the brightness value determination means 11
The MAD of the luminance value Y of the pixel in the input P-VOP encoding target macroblock and the SAD of the luminance value Y are compared in size, and the MAD of the luminance value Y is higher than the SAD of the luminance value Y. When it takes a small value, specifically, the brightness value Y
MAD value A y is the SAD value SAD of the luminance value Y
If it is smaller than the value obtained by subtracting a predetermined value 2 * N B from inter, the macroblock to be coded is determined to be an intra macroblock, otherwise it is determined to be an inter macroblock.

【0005】なお,「MPEG−4」,「VM16」,
「P−VOP」,「マクロブロック」,「イントラマク
ロブロック」,「インターマクロブロック」,「イント
ラ・インター判定」,「動きベクトル」,「MAD」,
「SAD」については,次の文献1,2に記載されてい
る。 ・文献1:「“MPEG−4のすべて”,pp.37−
116,三木弼一著,工業調査会」。 ・文献2:「“ISO/IEC JTC1/SC29/
WG11:MPEG−4Video Verifica
tion Model version 16.0”,
Shigeru Fukunaga 他,pp.48−
50,March,2000」。
Incidentally, "MPEG-4", "VM16",
“P-VOP”, “macroblock”, “intra macroblock”, “inter macroblock”, “intra / inter determination”, “motion vector”, “MAD”,
"SAD" is described in the following documents 1 and 2. -Reference 1: "" All about MPEG-4 ", pp.37-
116, Koichi Miki, Industrial Research Committee ”. -Reference 2: "" ISO / IEC JTC1 / SC29 /
WG11: MPEG-4 Video Verica
section Model version 16.0 ",
Shigeru Fukunaga et al., Pp. 48-
50, March, 2000 ".

【0006】[0006]

【発明が解決しようとする課題】MPEGの一般的な符
号化方式において,人間は色に敏感でないことを利用し
て色差情報を削減する手段が多く用いられている。本発
明が対象としている映像符号化方式の一つであるMPE
G−4では,色差情報を縦方向と横方向に半分ずつ削減
しているため,色差情報の情報量は輝度情報の情報量の
1/4となっている。したがって,全体の発生符号量に
大きく影響がある情報は,輝度情報であるといえる。
In a general MPEG encoding system, a means for reducing color difference information by utilizing the fact that human beings are not sensitive to color is often used. MPE, which is one of the video encoding methods targeted by the present invention
In G-4, since the color difference information is reduced by half in the vertical direction and in the horizontal direction, the information amount of the color difference information is ¼ of the information amount of the luminance information. Therefore, it can be said that the information that has a large influence on the overall generated code amount is the luminance information.

【0007】従来のマクロブロックのイントラ・インタ
ー判定では,イントラマクロブロックとして符号化した
場合とインターマクロブロックで符号化した場合の予測
発生符号量の大小比較によってモードを決定しており,
上述のように発生符号量の予測には,情報量が多い輝度
値だけが利用されていた。
In the conventional intra / inter determination of macroblocks, the mode is determined by comparing the magnitudes of the predicted generated codes when the macroblocks are coded as intra macroblocks and when the macroblocks are coded as inter macroblocks.
As described above, only the luminance value having a large amount of information is used for the prediction of the generated code amount.

【0008】したがって,図4で説明したような従来方
法によってイントラ・インター判定を行うと,色差値の
誤差が大きくなってしまう場合でも,このことが全く考
慮されず,輝度値情報のみによる判定によってインター
判定されてしまうことがあり,視覚的に色の貼りつきが
残ってしまうという現象が多くみられた。
Therefore, if intra / inter determination is performed by the conventional method as described with reference to FIG. 4, even if the error of the color difference value becomes large, this is not taken into consideration at all, and the determination based on only the luminance value information is performed. Inter-judgment was sometimes made, and there were many phenomena in which color sticking remained visually.

【0009】すなわち,従来技術による判定方法の問題
点として,例えば動きベクトルが適切に算出されなかっ
た場合において,さらに輝度値YのSADが小さい値と
なってしまうような場合には,イントラ・インター判定
では,インターマクロブロックとして判定されてしまう
ため,実際には二つの色差値U,Vのいずれかの値の差
が,色の貼りつきとして画面内に残ってしまう現象が挙
げられる。これは画面内を色差値U,Vのいずれかの値
を多く含む物体が激しく動き回るような映像によく起こ
る現象である。
That is, as a problem of the determination method according to the prior art, for example, when the SAD of the luminance value Y becomes a smaller value when the motion vector is not properly calculated, the intra-interlace is used. In the determination, since it is determined as an inter macroblock, there is a phenomenon in which the difference between the two color difference values U and V actually remains in the screen as a sticky color. This is a phenomenon that often occurs in an image in which an object including many color difference values U and V in the screen moves around violently.

【0010】このようなマクロブロックに対しては,イ
ントラマクロブロックとして符号化を行う必要がある
が,従来の判定方法では,輝度値Yのみを利用した判定
のために,このような現象を回避することはできなかっ
た。
It is necessary to encode such a macroblock as an intra macroblock, but the conventional determination method avoids such a phenomenon because the determination is made using only the luminance value Y. I couldn't.

【0011】本発明の目的は,映像の符号化において,
色の貼りつき現象を抑えるための,マクロブロックのイ
ントラ・インター判定を行うことを目的とする。
An object of the present invention is to encode a video in
The purpose is to perform intra / inter determination of macroblocks in order to suppress the phenomenon of color sticking.

【0012】[0012]

【課題を解決するための手段】本発明は,上記課題を解
決するため,符号化対象マクロブロックのイントラ・イ
ンター判定の際に,輝度値YのMADと輝度値YのSA
Dの判定に対して,さらに該符号化対象マクロブロック
内の二つの色差値U,Vにおいて,MAD,SADを算
出し,再度イントラ・インター判定する処理を追加す
る。
In order to solve the above problems, the present invention provides a MAD of a brightness value Y and an SA of a brightness value Y at the time of intra / inter determination of a macroblock to be encoded.
For the determination of D, MAD and SAD are calculated for the two color difference values U and V in the encoding target macroblock, and intra / inter determination processing is added again.

【0013】すなわち,前記従来のイントラ・インター
判定において,インターマクロブロックに判定した該符
号化対象マクロブロックに対して,さらに該符号化対象
マクロブロック内の二つ色差値U,VにおいてMAD,
SADをそれぞれ算出し,大小比較を行う。いずれかの
SADから重みづけ係数を引いた値がMADよりも大き
い値となる場合には,該符号化対象マクロブロックの予
測の誤差が大きいとみなし,イントラマクロブロックに
再判定する処理を追加する。
That is, in the conventional intra / inter determination, with respect to the encoding target macroblock determined to be an inter macroblock, MAD at the two color difference values U and V in the encoding target macroblock is further calculated.
The SADs are calculated and the magnitude comparison is performed. When the value obtained by subtracting the weighting coefficient from any of the SADs becomes a value larger than MAD, it is considered that the prediction error of the encoding target macroblock is large, and the re-determination processing is added to the intra macroblock. .

【0014】従来の技術とは,マクロブロックのイント
ラ・インター判定にマクロブロック内の画素の輝度値Y
による判定に加えて,二つの色差値U,Vを判定に利用
する点が大きく異なる。
The conventional technique is the luminance value Y of a pixel in a macroblock for intra / inter determination of the macroblock.
In addition to the determination by the above, there is a large difference in that the two color difference values U and V are used for the determination.

【0015】[0015]

【発明の実施の形態】以下に,本発明の実施の形態を示
す。図1は本発明の実施の形態の原理構成を示す図であ
って,10は映像符号化においてマクロブロックをイン
トラマクロブロックとして符号化するかインターマクロ
ブロックとして符号化するかを判定するイントラ・イン
ター判定部,11は輝度値判定手段,12は色差値判定
手段を表す。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below. FIG. 1 is a diagram showing a principle configuration of an embodiment of the present invention. Reference numeral 10 is an intra / inter judgment for determining whether a macroblock is coded as an intra macroblock or an inter macroblock in video coding. A determination unit, 11 is a brightness value determination unit, and 12 is a color difference value determination unit.

【0016】輝度値判定手段11は,図4に示す従来の
イントラ・インター判定部60のうちの輝度値判定手段
61と同様であり,入力のP−VOPの符号化対象マク
ロブロック内の画素の輝度値YのMADと,輝度値Yの
SADとの大小比較処理を行う。
The brightness value judging means 11 is the same as the brightness value judging means 61 in the conventional intra / inter judging section 60 shown in FIG. 4, and the pixel value in the macroblock to be coded of the input P-VOP is determined. The magnitude comparison processing of the MAD of the luminance value Y and the SAD of the luminance value Y is performed.

【0017】輝度値YのMADが輝度値YのSADより
も小さい値をとる場合,具体的には輝度値YのMADの
値Ay が,輝度値YのSADの値SADinter から所定
の値2*NB を引いたものより小さい場合には,該符号
化対象マクロブロックをイントラマクロブロックと判定
し,イントラ・インター判定処理を終了し,それ以外の
場合には,色差値判定手段12へと処理を受け渡す。
When the MAD of the brightness value Y takes a value smaller than the SAD of the brightness value Y, specifically, the MAD value A y of the brightness value Y is a predetermined value from the SAD value SAD inter of the brightness value Y. 2 * If N less than minus B is a the coding target macroblock is determined that the intra-macro block, and terminates the intra-inter judging process, in other cases, the color difference value determining means 12 And pass the process.

【0018】色差値判定手段12では,該符号化対象マ
クロブロック内の画素の色差値UのSADと色差値Uの
MADの大小比較処理,色差値VのSADと色差値Vの
MADの大小比較処理を行う。色差値UのSADの値S
ADu から重みづけ係数OMを引いた値が色差値UのM
ADの値Au よりも大きい値をとる場合,もしくは,該
色差値VのSADの値SADv から重みづけ係数OMを
引いた値が色差値VのMADの値Av よりも大きい場合
には,該符号化対象マクロブロックをイントラマクロブ
ロックと判定し,それ以外の場合にはインターマクロブ
ロックと判定して,イントラ・インター判定処理を終了
する。
The color difference value determining means 12 compares the SAD of the color difference value U and the MAD of the color difference value U of the pixels in the encoding target macro block, and compares the SAD of the color difference value V with the MAD of the color difference value V. Perform processing. SAD value S of color difference value U
A value obtained by subtracting the weighting coefficient OM from AD u is M of the color difference value U.
When the value is larger than the value A u of AD, or when the value obtained by subtracting the weighting coefficient OM from the value SAD v of the SAD of the color difference value V is larger than the value A v of the MAD of the color difference value V. , The encoding target macroblock is determined to be an intra macroblock, otherwise it is determined to be an inter macroblock, and the intra / inter determination processing ends.

【0019】なお,上記NB および重みづけ係数OM
は,あらかじめ各種のサンプル画像を用いた実験などに
より適切な値を決めるようにする。上記の例において,
R,G,Bの信号と,輝度信号Y,色差信号U,Vとの
関係式は,以下のとおりである(ITU−R BT R
ec.601参照)。
The above N B and weighting coefficient OM
Should be decided in advance by experiments using various sample images. In the example above,
The relational expressions of the R, G, B signals and the luminance signal Y and the color difference signals U, V are as follows (ITU-R BTR
ec. 601).

【0020】 Y=0.299R+0.587G+0.114B U=R−Y= 0.701R−0.587G−0.11
4B V=B−Y=−0.299R−0.587G+0.88
6B 図2は,本発明を適用したMPEG−4の符号器のブロ
ック図であり,図3は,その処理フロー図である。図2
において,10はイントラ・インター判定部,20はD
CT・量子化処理部,30は逆量子化・IDCT処理
部,40はフレームメモリ格納部,50は動き補償処理
部である。
Y = 0.299R + 0.587G + 0.114B U = R−Y = 0.701R−0.587G−0.11
4B V = B−Y = −0.299R−0.587G + 0.88
6B FIG. 2 is a block diagram of an MPEG-4 encoder to which the present invention is applied, and FIG. 3 is a processing flow chart thereof. Figure 2
, 10 is an intra / inter determination unit, 20 is D
A CT / quantization processing unit, 30 is an inverse quantization / IDCT processing unit, 40 is a frame memory storage unit, and 50 is a motion compensation processing unit.

【0021】以下,図2および図3に従って,本発明の
適用例を説明する。ステップS1では,入力画像に対し
てフレームタイプがI−VOPであるか否かを判定す
る。フレームタイプがI−VOPであればステップS5
へ進み,DCT・量子化処理部20によるイントラマク
ロブロック符号化処理(DCT処理,量子化処理)を行
い,フレームタイプがI−VOPでなければステップS
2へ進む。
An application example of the present invention will be described below with reference to FIGS. In step S1, it is determined whether the frame type of the input image is I-VOP. If the frame type is I-VOP, step S5
Then, the process proceeds to step S20, the intra macroblock coding process (DCT process, quantizing process) is performed by the DCT / quantization processing unit 20, and if the frame type is not I-VOP, step S
Go to 2.

【0022】ステップS2では,フレームタイプがP−
VOPであるか否かを判定し,P−VOPではなく,B
−VOPであれば,ステップS4へ進む。フレームタイ
プがP−VOPであれば,ステップS3においてイント
ラ・インター判定部10によるイントラ・インター判定
処理を行う。ここでは,図1で説明したイントラ・イン
ター判定処理が行われ,判定結果がインターマクロブロ
ックであれば,ステップS4においてDCT・量子化処
理部20によるインターマクロブロック符号化処理(D
CT処理,量子化処理)を行う。判定結果がイントラマ
クロブロックであれば,ステップS5においてDCT・
量子化処理部20によるイントラマクロブロック符号化
処理(DCT処理,量子化処理)を行う。
In step S2, the frame type is P-
It is determined whether or not it is a VOP, and it is not P-VOP but B
If it is a VOP, go to step S4. If the frame type is P-VOP, the intra / inter determination unit 10 performs intra / inter determination processing in step S3. Here, if the intra / inter determination processing described in FIG. 1 is performed and the determination result is an inter macroblock, the inter macroblock encoding processing (D) by the DCT / quantization processing unit 20 is performed in step S4.
CT processing and quantization processing). If the determination result is an intra macroblock, DCT
Intra macroblock coding processing (DCT processing, quantization processing) by the quantization processing unit 20 is performed.

【0023】各符号化処理によって生成された符号化デ
ータは,ステップS6において,逆量子化・IDCT処
理部30による逆量子化処理,IDCT処理が行なわ
れ,ステップS7において,フレームメモリ格納部40
によりフレームメモリに格納され,ステップS8におい
て,動き補償処理部50による動き補償の処理が行われ
て,次フレーム以降の処理に再利用される。
The coded data generated by each coding process is subjected to the dequantization process and the IDCT process by the dequantization / IDCT processing unit 30 in step S6, and the frame memory storage unit 40 is processed in step S7.
Is stored in the frame memory according to the above, and in step S8, the motion compensation processing unit 50 performs motion compensation processing and reuses it for the processing of the next frame and subsequent frames.

【0024】以上の処理は,専用のプロセッサやハード
ウェア回路によって実現できるほか,汎用コンピュータ
とソフトウェアプログラムとによって実現することもで
き,そのプログラムは,コンピュータが読み取り可能な
可搬媒体メモリ,半導体メモリ,ハードディスク等の適
当な記録媒体に格納して,そこから読み出すことにより
コンピュータに実行させることができる。また,そのプ
ログラムは通信回線を経由して他のコンピュータからダ
ウンロードすることができ,それをインストールして実
行させることもできる。
The above processing can be realized by a dedicated processor or hardware circuit, or can be realized by a general-purpose computer and a software program, which is a computer-readable portable medium memory, semiconductor memory, It can be stored in an appropriate recording medium such as a hard disk and read out from the recording medium to be executed by a computer. Further, the program can be downloaded from another computer via a communication line, and can be installed and executed.

【0025】[0025]

【発明の効果】以上説明したように,本発明によれば,
マクロブロック内の画素の二つの色差値U,Vを利用し
たイントラ・インター判定処理によって,動きベクトル
が正しく算出されなかった場合に起こる色の貼りつき現
象を回避することが可能となり,画質の劣化を大きく抑
えることが可能となる。
As described above, according to the present invention,
By the intra / inter determination processing using the two color difference values U and V of the pixels in the macroblock, it is possible to avoid the color sticking phenomenon that occurs when the motion vector is not correctly calculated, and the image quality is deteriorated. Can be greatly suppressed.

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

【図1】本発明の実施の形態の原理構成を示す図であ
る。
FIG. 1 is a diagram showing a principle configuration of an embodiment of the present invention.

【図2】本発明を適用したMPEG−4の符号器のブロ
ック図である。
FIG. 2 is a block diagram of an MPEG-4 encoder to which the present invention is applied.

【図3】本発明を適用したMPEG−4の符号器の処理
フロー図である。
FIG. 3 is a processing flow chart of an MPEG-4 encoder to which the present invention is applied.

【図4】従来のイントラ・インター判定方法の例を説明
する図である。
FIG. 4 is a diagram illustrating an example of a conventional intra / inter determination method.

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

10,60 イントラ・インター判定部 11,61 輝度値判定手段 12 色差値判定手段 20 DCT・量子化処理部 30 逆量子化・IDCT処理部 40 フレームメモリ格納部 50 動き補償処理部 10,60 Intra / inter judgment section 11,61 Luminance value determination means 12 Color difference value determination means 20 DCT / quantization processing unit 30 Dequantization / IDCT processing unit 40 frame memory storage 50 Motion compensation processing unit

フロントページの続き (72)発明者 小野 尚紀 東京都千代田区大手町二丁目3番1号 日 本電信電話株式会社内 (72)発明者 秦泉寺 久美 東京都千代田区大手町二丁目3番1号 日 本電信電話株式会社内 (72)発明者 辻 裕之 東京都千代田区大手町二丁目3番1号 日 本電信電話株式会社内 (72)発明者 阪谷 徹 東京都千代田区大手町二丁目3番1号 日 本電信電話株式会社内 (72)発明者 八島 由幸 東京都千代田区大手町二丁目3番1号 日 本電信電話株式会社内 (72)発明者 小林 直樹 東京都千代田区大手町二丁目3番1号 日 本電信電話株式会社内 Fターム(参考) 5C057 AA03 BA01 CA01 DA06 EA02 EA07 EG01 EM04 EM09 EM16 5C059 KK02 MA05 MA14 MA23 MC11 NN01 PP05 PP06 PP07 PP16 SS06 SS20 TA18 TB07 TC01 TD13 UA02 UA33 5J064 AA02 BA16 BC01 BC08 BC14 BC16 BD03 Continued front page    (72) Inventor Naoki Ono             2-3-1, Otemachi, Chiyoda-ku, Tokyo             Inside Telegraph and Telephone Corporation (72) Inventor Kumi Qinsenji             2-3-1, Otemachi, Chiyoda-ku, Tokyo             Inside Telegraph and Telephone Corporation (72) Inventor Hiroyuki Tsuji             2-3-1, Otemachi, Chiyoda-ku, Tokyo             Inside Telegraph and Telephone Corporation (72) Inventor Toru Sakata             2-3-1, Otemachi, Chiyoda-ku, Tokyo             Inside Telegraph and Telephone Corporation (72) Inventor Yoshiyuki Yashima             2-3-1, Otemachi, Chiyoda-ku, Tokyo             Inside Telegraph and Telephone Corporation (72) Inventor Naoki Kobayashi             2-3-1, Otemachi, Chiyoda-ku, Tokyo             Inside Telegraph and Telephone Corporation F-term (reference) 5C057 AA03 BA01 CA01 DA06 EA02                       EA07 EG01 EM04 EM09 EM16                 5C059 KK02 MA05 MA14 MA23 MC11                       NN01 PP05 PP06 PP07 PP16                       SS06 SS20 TA18 TB07 TC01                       TD13 UA02 UA33                 5J064 AA02 BA16 BC01 BC08 BC14                       BC16 BD03

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 映像符号化においてマクロブロックをイ
ントラマクロブロックとして符号化するか,インターマ
クロブロックとして符号化するかを判定するイントラ・
インター判定方法であって,符号化対象マクロブロック
内の画素の輝度値Yによるイントラ・インター判定で,
インターマクロブロックと判定されたマクロブロックに
対して,さらに該マクロブロック内の画素の二つの色差
値U,Vにおいて,SAD,MADをそれぞれ算出し,
いずれかのSADより所定の重みづけ係数を引いた値
が,対応する前記色差値のMADよりも大きい値となっ
た場合に,該マクロブロックをイントラマクロブロック
と判定し直すことを特徴とする映像符号化におけるイン
トラ・インター判定方法。
1. An intra discriminator for determining whether a macroblock is encoded as an intra macroblock or an inter macroblock in video encoding.
The inter determination method is an intra / inter determination based on the luminance value Y of the pixel in the macroblock to be encoded.
For a macroblock determined to be an inter-macroblock, SAD and MAD are respectively calculated for two color difference values U and V of pixels in the macroblock,
An image characterized by re-determining the macroblock as an intra macroblock when a value obtained by subtracting a predetermined weighting coefficient from any of the SADs becomes a value larger than the corresponding MAD of the color difference value. Intra / inter decision method in encoding.
【請求項2】 映像符号化においてマクロブロックをイ
ントラマクロブロックとして符号化するか,インターマ
クロブロックとして符号化するかを判定するイントラ・
インター判定部を有する映像符号化装置において,前記
イントラ・インター判定部は,符号化対象マクロブロッ
ク内の画素の輝度値Yによるイントラ・インター判定を
行う輝度値判定手段と,前記輝度値判定手段によりイン
ターマクロブロックと判定されたマクロブロックに対し
て,さらに該マクロブロック内の画素の二つの色差値
U,Vにおいて,SAD,MADをそれぞれ算出し,い
ずれかのSADより所定の重みづけ係数を引いた値が,
対応する前記色差値のMADよりも大きい値となった場
合に,該マクロブロックをイントラマクロブロックと判
定する色差値判定手段とを備えることを特徴とする映像
符号化装置。
2. An intra discriminator that determines whether a macroblock is encoded as an intra macroblock or an inter macroblock in video encoding.
In a video encoding device having an inter determination unit, the intra / inter determination unit includes a brightness value determination unit that performs an intra / inter determination based on a brightness value Y of a pixel in a macroblock to be encoded, and the brightness value determination unit. For a macroblock determined to be an inter-macroblock, SAD and MAD are calculated for the two color difference values U and V of the pixels in the macroblock, and a predetermined weighting coefficient is subtracted from either SAD. Value is
A video encoding device, comprising: a color difference value determining means for determining the macroblock as an intra macroblock when the value becomes larger than the corresponding color difference value MAD.
【請求項3】 映像符号化においてマクロブロックをイ
ントラマクロブロックとして符号化するか,インターマ
クロブロックとして符号化するかをコンピュータによっ
て判定するためのプログラムであって,符号化対象マク
ロブロック内の画素の輝度値Yによりイントラ・インタ
ー判定を行う処理と,前記イントラ・インター判定によ
りインターマクロブロックと判定されたマクロブロック
に対して,さらに該マクロブロック内の画素の二つの色
差値U,Vにおいて,SAD,MADをそれぞれ算出す
る処理と,前記算出結果にもとづき,いずれかのSAD
から所定の重みづけ係数を引いた値が,対応する前記色
差値のMADよりも大きい値となった場合に,該マクロ
ブロックをイントラマクロブロックと判定し直す処理と
を,コンピュータに実行させるための映像符号化プログ
ラム。
3. A program for determining by a computer whether to code a macroblock as an intra macroblock or an inter macroblock in video coding, which is a program for determining a pixel in a macroblock to be coded. Intra / inter determination based on the luminance value Y, and SAD for a macroblock determined to be an inter macroblock by the intra / inter determination, and for two color difference values U and V of pixels in the macroblock , MAD is calculated, and either SAD is calculated based on the calculation result.
When a value obtained by subtracting a predetermined weighting coefficient from the value becomes larger than the corresponding MAD of the color difference value, the computer is caused to execute a process of re-determining the macroblock as an intra macroblock. Video coding program.
【請求項4】 映像符号化においてマクロブロックをイ
ントラマクロブロックとして符号化するか,インターマ
クロブロックとして符号化するかをコンピュータによっ
て判定するためのプログラムを記録した記録媒体であっ
て,符号化対象マクロブロック内の画素の輝度値Yによ
りイントラ・インター判定を行う処理と,前記イントラ
・インター判定によりインターマクロブロックと判定さ
れたマクロブロックに対して,さらに該マクロブロック
内の画素の二つの色差値U,Vにおいて,SAD,MA
Dをそれぞれ算出する処理と,前記算出結果にもとづ
き,いずれかのSADから所定の重みづけ係数を引いた
値が,対応する前記色差値のMADよりも大きい値とな
った場合に,該マクロブロックをイントラマクロブロッ
クと判定し直す処理とを,コンピュータに実行させるた
めのプログラムを記録したことを特徴とする映像符号化
プログラムの記録媒体。
4. A recording medium in which a program for determining by a computer whether a macroblock is coded as an intra macroblock or an intermacroblock in video coding is recorded, which is a macroblock to be coded. The process of performing intra / inter determination based on the luminance value Y of the pixel in the block, and the two color difference values U of the pixels in the macro block for the macro block determined to be the inter macro block by the intra / inter determination , V, SAD, MA
If the value obtained by subtracting a predetermined weighting coefficient from one of the SADs is larger than the corresponding MAD of the color difference value based on the processing for calculating D and the calculation result, the macroblock A recording medium for a video coding program, characterized in that a program for causing a computer to execute the process of re-determining as an intra macroblock is recorded.
JP2002079990A 2002-03-22 2002-03-22 Intra / inter determination method in video encoding, video encoding apparatus, video encoding program, and recording medium for the program Expired - Lifetime JP3790178B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002079990A JP3790178B2 (en) 2002-03-22 2002-03-22 Intra / inter determination method in video encoding, video encoding apparatus, video encoding program, and recording medium for the program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002079990A JP3790178B2 (en) 2002-03-22 2002-03-22 Intra / inter determination method in video encoding, video encoding apparatus, video encoding program, and recording medium for the program

Publications (2)

Publication Number Publication Date
JP2003284090A true JP2003284090A (en) 2003-10-03
JP3790178B2 JP3790178B2 (en) 2006-06-28

Family

ID=29229208

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002079990A Expired - Lifetime JP3790178B2 (en) 2002-03-22 2002-03-22 Intra / inter determination method in video encoding, video encoding apparatus, video encoding program, and recording medium for the program

Country Status (1)

Country Link
JP (1) JP3790178B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100409690C (en) * 2006-05-19 2008-08-06 北京工业大学 Video interframe compression method based on space-time correlation
US9154793B1 (en) 2014-04-15 2015-10-06 Hyundai Motor Company Apparatus and method for processing image recorded in black box for vehicle
JP2018050256A (en) * 2016-09-23 2018-03-29 日本電信電話株式会社 Video encoding method, video encoding apparatus, and video encoding program
US20230362389A1 (en) * 2017-11-28 2023-11-09 Lx Semicon Co., Ltd. Method and apparatus for image encoding/decoding, and recording medium storing bitstream

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100409690C (en) * 2006-05-19 2008-08-06 北京工业大学 Video interframe compression method based on space-time correlation
US9154793B1 (en) 2014-04-15 2015-10-06 Hyundai Motor Company Apparatus and method for processing image recorded in black box for vehicle
JP2018050256A (en) * 2016-09-23 2018-03-29 日本電信電話株式会社 Video encoding method, video encoding apparatus, and video encoding program
US20230362389A1 (en) * 2017-11-28 2023-11-09 Lx Semicon Co., Ltd. Method and apparatus for image encoding/decoding, and recording medium storing bitstream

Also Published As

Publication number Publication date
JP3790178B2 (en) 2006-06-28

Similar Documents

Publication Publication Date Title
EP2278814B1 (en) Method and apparatus for controlling loop filtering or post filtering in block based motion compensated video coding
JP3297293B2 (en) Video decoding method and video decoding device
JP4529919B2 (en) Adaptive quantization apparatus and adaptive quantization program
US8000393B2 (en) Video encoding apparatus and video encoding method
JP5426655B2 (en) Compressed video encoding device, compressed video decoding device, compressed video encoding method, and compressed video decoding method
KR20140110008A (en) Object detection informed encoding
KR20050089838A (en) Video encoding with skipping motion estimation for selected macroblocks
TWI511531B (en) Video coding apparatus, video coding method, and video coding program
KR20130130695A (en) Method and system for encoding video frames using a plurality of processors
JP5748225B2 (en) Moving picture coding method, moving picture coding apparatus, and moving picture coding program
KR100377131B1 (en) Video data encoder and method of encoding video data
JP2005503736A (en) Video encoding and decoding methods and corresponding signals
JP2003284090A (en) Intra-macroblock/inter-macroblock decision method in video coding, video coding apparatus, video coding program and storage medium for the program
JP2006270851A (en) Image coding device and image decoding device
JP2010226528A (en) Coding device and method therefor
US8126277B2 (en) Image processing method, image processing apparatus and image pickup apparatus using the same
KR100538215B1 (en) Video reproduction apparatus having fast post-processing and method thereof
JP2795225B2 (en) Video coding method
JP2005303555A (en) Moving image encoding apparatus and its method
JPH09200769A (en) Inter-motion compensation frame encoding system
JP2003061099A (en) Motion detection method in encoder
US20240146949A1 (en) Method, electronic device, storage medium, and recording medium for image encoding
JP4037679B2 (en) Macroblock determination method in video encoding, video encoding device, video encoding program, and computer-readable recording medium recording the program
JP2015019319A (en) Encoding apparatus, encoding method, and program
CN112672167A (en) Video processing method, computer device, and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040401

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060328

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060330

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 3790178

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: R3D02

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

Free format text: PAYMENT UNTIL: 20090407

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100407

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110407

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120407

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130407

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140407

Year of fee payment: 8

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term