JP5306282B2 - Moving picture coding apparatus, moving picture coding method, and program - Google Patents
Moving picture coding apparatus, moving picture coding method, and program Download PDFInfo
- Publication number
- JP5306282B2 JP5306282B2 JP2010116425A JP2010116425A JP5306282B2 JP 5306282 B2 JP5306282 B2 JP 5306282B2 JP 2010116425 A JP2010116425 A JP 2010116425A JP 2010116425 A JP2010116425 A JP 2010116425A JP 5306282 B2 JP5306282 B2 JP 5306282B2
- Authority
- JP
- Japan
- Prior art keywords
- quantization parameter
- unit
- encoding
- video signal
- image quality
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims description 17
- 238000013139 quantization Methods 0.000 claims description 108
- 238000011156 evaluation Methods 0.000 claims description 54
- 230000015556 catabolic process Effects 0.000 claims description 32
- 238000006731 degradation reaction Methods 0.000 claims description 32
- 238000004364 calculation method Methods 0.000 claims description 28
- 230000006870 function Effects 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000006835 compression Effects 0.000 description 3
- 238000007906 compression Methods 0.000 description 3
- 230000007423 decrease Effects 0.000 description 3
- 238000002474 experimental method Methods 0.000 description 3
- 230000014509 gene expression Effects 0.000 description 3
- 230000002411 adverse Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012887 quadratic function Methods 0.000 description 1
- 238000001303 quality assessment method Methods 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Description
本発明は、動画像符号化装置、動画像符号化方法及びプログラムに関する。 The present invention relates to a moving image encoding apparatus, a moving image encoding method, and a program.
現在、動画像の符号化を行う際には、予測符号化とブロック分割変換符号化を行う。予測符号化では、フレーム内予測符号化及び動き補償フレーム間予測符号化(例えば、非特許文献1参照)を行うことにより予測誤差信号を生成する。予測誤差信号とは、マクロブロックにおける画素値と該画素値の予測値との差分を表す信号である。マクロブロックとは、隣接する複数の画素(例えば、8×8画素)を集めた領域であり、符号化を行う対象である。フレーム内予測符号化では、隣接する符号化済みのマクロブロックの画素値からマクロブロックにおける画素値を予測することにより、高い圧縮率を実現している。一方、動き補償フレーム間予測符号化では、隣り合うフレーム間の差分信号を用いるフレーム間予測符号化に加えて、フレームにある物体が符号化済みのフレームからどれだけ動いたかを表す情報(動きベクトル)を用いてマクロブロックの画素値を予測する。これにより、高い圧縮率を実現する。ブロック分割変換符号化では、フレーム内予測符号化及び動き補償フレーム間予測符号化による予測誤差信号を符号化する。すなわち、マクロブロック単位で予測誤差信号に離散コサイン変換(DCT)を行うことにより、高い圧縮率を実現している。 Currently, when encoding a moving image, predictive encoding and block division transform encoding are performed. In predictive coding, a prediction error signal is generated by performing intraframe predictive coding and motion compensation interframe predictive coding (see, for example, Non-Patent Document 1). The prediction error signal is a signal representing a difference between a pixel value in a macroblock and a predicted value of the pixel value. A macroblock is an area in which a plurality of adjacent pixels (for example, 8 × 8 pixels) are collected, and is an object to be encoded. In intra-frame predictive coding, a high compression rate is realized by predicting pixel values in a macroblock from pixel values of adjacent coded macroblocks. On the other hand, in motion compensation interframe predictive coding, in addition to interframe predictive coding using a difference signal between adjacent frames, information indicating how much an object in a frame has moved from a coded frame (motion vector) ) Is used to predict the pixel value of the macroblock. Thereby, a high compression rate is realized. In block division transform coding, a prediction error signal is coded by intraframe prediction coding and motion compensation interframe prediction coding. That is, a high compression rate is realized by performing discrete cosine transform (DCT) on the prediction error signal in units of macroblocks.
図4は、予測符号化とブロック分割変換符号化を組み合わせた符号化を行う動画像符号化装置20の機能構成を示すブロック図である。
動画像符号化装置20は、予測符号化部21と、ブロック分割変換符号化部22と、量子化部23とを含んで構成される。予測符号化部21は、符号化の対象である映像信号(以下、入力映像信号とする)を入力とし、入力映像信号におけるマクロブロックに対してフレーム内予測符号化及び動き補償フレーム間予測符号化を行う。そして、予測符号化部21は、生成した予測誤差信号をブロック分割変換符号化部22に出力する。ブロック分割変換符号化部22は、入力された予測誤差信号に対して離散コサイン変換を行うことにより、周波数成分に変換し、変換した周波数成分を直交変換係数とする。これにより、空間的な冗長度を取り除く。量子化部23は、ブロック分割変換符号化部22が変換した直交変換係数を指定した値(以下、量子化ステップとする)で除算した結果を整数値に丸め、整数値に丸めた結果を量子化値とする。つまり、量子化部23は、入力された直交変換係数を所定の量子化代表値のいずれかに対応付けする。これにより、量子化による歪みを許しながら大幅な符号量の削減を行う。
FIG. 4 is a block diagram showing a functional configuration of the moving
The moving
ここで、符号化を行う際、量子化部23は、最初に各マクロブロックに対して量子化パラメータ(0から51までの整数値)を決定し、決定した量子化パラメータに基づいて量子化ステップを導出する。量子化パラメータとは、量子化ステップを決定するパラメータである。例えば、H.264/AVCでは量子化パラメータと量子化ステップの対数が比例する。具体的には、量子化パラメータが6増加すると量子化ステップが2倍になる。そして、量子化部23は、直交変換係数を量子化ステップで除算した結果を整数値に丸めることにより量子化値を算出する。
Here, when performing encoding, the
非特許文献2には、画像の類似度を客観的に評価する手法であるSSIM(Structural SIMilarity)が記載されている。 Non-Patent Document 2 describes SSIM (Structural SIMality), which is a method for objectively evaluating the similarity of images.
従来技術では、量子化部23において量子化を行うことで符号量を削減しているが、この時量子化による歪みを許容しているため、歪みが発生する場合がある。しかしながら、発生した歪みがどの様な歪みなのか、どの程度歪んでいるのかを、事前に知る事は出来ない。それ故、量子化する際に用いる量子化パラメータを事前に最適化することは困難であり、その結果、量子化による歪みが画像の品質に悪影響を与える場合がある、という問題がある。
In the prior art, the amount of code is reduced by performing quantization in the quantizing
本発明は、このような事情を考慮してなされたものであり、その目的は、符号化する際に用いる適切な量子化パラメータを設定し、量子化による歪みを抑えることにより、主観画像品質を向上し、符号化効率を向上させることにある。 The present invention has been made in consideration of such circumstances, and its purpose is to set an appropriate quantization parameter used for encoding, and to suppress subjective image quality by suppressing distortion due to quantization. It is to improve and improve the encoding efficiency.
(1)本発明は上記の課題を解決するためになされたものであり、本発明の一態様は、入力映像信号に対し、所定の量子化パラメータを用いて符号化を行いビットストリームを生成する第一符号化部と、前記第一符号化部が生成したビットストリームを復号して復号映像信号を生成する復号部と、前記復号部が復号した復号映像信号と前記入力映像信号との差分に基づいて、前記復号映像信号における歪みの度合いを示す画質劣化評価指標を算出する評価部と、前記評価部が算出した画質劣化評価指標と前記第一符号化部における発生符号量に基づいて量子化パラメータを算出する量子化パラメータ算出部と、前記量子化パラメータ算出部が算出した量子化パラメータを用いて前記入力映像信号に対し符号化を行う第二符号化部と、を備え、前記評価部は、SSIM(Structural SIMilarity)を用いて前記画質劣化評価指標を算出し、前記量子化パラメータ算出部は、次の式(1)にて定義されたレート歪み曲線f(x i )に関し、
(2)また、本発明の一態様は、第一符号化部が、入力映像信号に対し、所定の量子化パラメータを用いて符号化を行いビットストリームを生成するステップと、復号部が、前記第一符号化部が生成したビットストリームを復号して復号映像信号を生成するステップと、評価部が、前記復号部が復号した復号映像信号と前記入力映像信号との差分に基づいて、前記復号映像信号における歪みの度合いを示す画質劣化評価指標を算出するステップと、量子化パラメータ算出部が、前記評価部が算出した画質劣化評価指標と前記第一符号化部における発生符号量に基づいて量子化パラメータを算出するステップと、第二符号化部が、前記量子化パラメータ算出部が算出した量子化パラメータを用いて前記入力映像信号に対し符号化を行うステップと、を有し、前記評価部は、SSIMを用いて前記画質劣化評価指標を算出し、前記量子化パラメータ算出部は、次の式(4)にて定義されたレート歪み曲線f(x i )に関し、
(3)また、本発明の一態様は、コンピュータに、上述のいずれかの動画像符号化方法
を実行させるためのプログラムである。
( 3 ) One aspect of the present invention is a program for causing a computer to execute any one of the above-described moving image encoding methods.
本発明によれば、映像入力信号を一度符号化した結果に対する画質劣化評価指標を用いて、再度映像入力信号を符号化する際に用いる量子化パラメータを算出している。このため、適切な量子化パラメータが設定可能となり、主観的な画像品質が向上し、符号化効率を向上することができる。 According to the present invention, the quantization parameter used when the video input signal is encoded again is calculated using the image quality degradation evaluation index for the result of encoding the video input signal once. For this reason, an appropriate quantization parameter can be set, subjective image quality can be improved, and coding efficiency can be improved.
以下、本発明の一実施形態を、図面を参照して詳しく説明する。
図1は、本実施形態による動画像符号化装置10の機能構成を示すブロック図である。
動画像符号化装置10は、第一符号化部11と、復号部12と、評価部13と、量子化パラメータ算出部14と、第二符号化部15とを含んで構成される。第一符号化部11は、符号化の対象となる映像信号(以下、入力映像信号とする)を入力とし、入力映像信号に対して符号化を行い、符号化した結果をビットストリームとする。そして、第一符号化部11は、ビットストリームを復号部12に出力する。具体的には、第一符号化部11は、まず、入力映像信号における各マクロブロックに対して予測符号化とブロック分割変換符号化を行う。次に、第一符号化部11は、ブロック分割変換符号化を行った結果である直交変換係数を量子化ステップで除算する。そして、第一符号化部11は、除算した結果を整数値に丸めて量子化値を算出する。このとき、第一符号化部11は、予め各マクロブロックに設定された量子化パラメータから量子化ステップを算出する。本実施形態では、量子化パラメータと量子化ステップの対数が比例する。このため、第一符号化部11は、次の式(7)により量子化ステップQSを算出する。ここで、QPは量子化パラメータである。以下、第一符号化部11が行う符号化を第一符号化とする。
Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a block diagram showing a functional configuration of a moving
The moving
復号部12は、入力されたビットストリームを復号し、復号した結果を復号映像信号とする。そして、復号部12は、復号映像信号を評価部13に出力し、復号時に取得したビットストリームの符号化情報を量子化パラメータ算出部14及び第二符号化部15に出力する。符号化情報とは、入力映像信号を第一符号化した際の情報であり、マクロブロックタイプ及びマクロブロック発生符号量を含む。マクロブロックタイプとは、マクロブロックを予測符号化及びブロック分割変換符号化した結果である。マクロブロック発生符号量(発生符号量)は、マクロブロックを符号化した際に発生する符号量である。
The
評価部13は、入力映像信号と復号映像信号を入力とし、各マクロブロックにおける入力映像信号と復号映像信号の差分(以下、差分信号とする)に基づいて、第一符号化による画質劣化評価指標を算出する。画質劣化評価指標は、歪みの度合いを示す指標である。本実施形態における画質劣化評価指標は、各マクロブロック内の輝度値の差分、分散、共分散の指標より求めるSSIMである。SSIMは、値が大きいほど画像の歪みが小さく、値が小さいほど歪みが大きいことを表す。なお、画質劣化評価指標は、差分信号の差分絶対値和または差分自乗和でもよい。そして、評価部13は、画質劣化評価指標を量子化パラメータ算出部14に出力する。
ここで、評価部13は、SSIMを次の式(8)により算出する。xは入力映像信号における画像、yは復号映像信号における画像を表す。また、α1、β1、γ1は定数である。
The
Here, the
式(8)を構成する要素はそれぞれ次の式(9)、式(10)、式(11)にて定義される。 The elements constituting the expression (8) are defined by the following expressions (9), (10), and (11), respectively.
ここで、l(x,y)は輝度値比較関数、c(x,y)はコントラスト値比較関数、s(x,y)は構造比較関数である。また、ここで用いられているμxは次の式(12)にて定義される。ここで、lxiは、入力映像信号におけるi番目のマクロブロックの輝度値である。また、Nは正の整数であり、マクロブロック数である。 Here, l (x, y) is a luminance value comparison function, c (x, y) is a contrast value comparison function, and s (x, y) is a structure comparison function. Further, μ x used here is defined by the following equation (12). Here, lx i is the luminance value of the i-th macroblock in the input video signal. N is a positive integer and is the number of macroblocks.
また、μyは次の式(13)にて定義される。ここで、lyiは、復号映像信号におけるi番目のマクロブロックの輝度値である。 Μ y is defined by the following equation (13). Here, ly i is the luminance value of the i-th macroblock in the decoded video signal.
また、σxは次の式(14)にて定義される。 Σ x is defined by the following equation (14).
また、σyは次の式(15)にて定義される。 Σ y is defined by the following equation (15).
また、σxyは次の式(16)にて定義される。 Σ xy is defined by the following equation (16).
量子化パラメータ算出部14は、復号部12から出力された符号化情報と評価部13から出力された画質劣化評価指標に基づいて、第二符号化部15が符号化を行う際に用いる量子化パラメータをマクロブロック毎に算出する。ここで、量子化パラメータ算出部14は、符号化情報としてはマクロブロック発生符号量を用いる。量子化パラメータの決定方法の詳細については後述する。そして、量子化パラメータ算出部14は、各マクロブロックにおける量子化パラメータの組合せである量子化パラメータセットを第二符号化部15に出力する。
The quantization
第二符号化部15は、入力映像信号と、量子化パラメータ算出部14により出力された量子化パラメータセットと、復号部12により出力された符号化情報を用いて符号化を行う。つまり、第二符号化部15は、符号化情報に含まれるマクロブロックタイプに対して量子化パラメータセットで指定された値を適用しながら符号化を行い、符号化した結果を符号化ストリームとして出力する。具体的には、第二符号化部15は、まず、量子化パラメータセットにて指定された量子化パラメータから量子化ステップを算出する。そして、第二符号化部15は、マクロブロックタイプを量子化ステップで除算し、除算した結果を整数値に丸めて量子化値を算出する。以下、第二符号化部15における符号化を第二符号化とする。
The
次に、図2を参照して動画像符号化装置10による符号化処理について説明する。図2は、本実施形態による符号化処理の手順を示すフローチャートである。
まず、ステップS101において、第一符号化部11が、入力映像信号に対して第一符号化を行う。次に、ステップS102において、復号部12が、第一符号化を行った結果であるビットストリームを復号する。そして、ステップS103において、評価部13が、入力映像信号と復号映像信号の差分から画像劣化評価指標SSIMを算出する。
Next, the encoding process by the moving
First, in step S101, the
次に、ステップS104において、量子化パラメータ算出部14が、目標符号化効率(Epic)の算出を行う。ここで、目標符号化効率Epic=(∂D/∂R)とは、発生符号量に対する歪みを表す値である.Dは歪みを表し、評価部13で得られる画質劣化評価指標の値である。つまり、DにはSSIMの値が入る。また、Rは符号化情報に含まれるマクロブロック発生符号量が入る。例えば、第一符号化の結果におけるマクロブロック発生符号量の平均値(平均マクロブロック発生符号量)とSSIMの平均値(平均SSIM)を用いる場合は、Epic=(∂D/∂R)=平均SSIM/平均マクロブロック発生符号量である。
Next, in step S104, the quantization
次に、ステップS105において、量子化パラメータ算出部14は、各マクロブロックにおけるレート歪み曲線f(xi)を求める。ここで、xの添え字であるiは、正の整数であり、i番目のマクロブロックを意味する。レート歪み曲線f(xi)は次の式(17)で定義する。
Next, in step S105, the quantization
ここでxiは、復号部12より得られる第一符号化時のマクロブロック発生符号量を正規化した値である。また、f(xi)は、評価部13により得られる第一符号化時の画質劣化評価指標が入る。aiはf(xi)を一意に定める変数である。すなわち、量子化パラメータ算出部14は、式(17)式を求めるために、次の式(18)によりaiを算出する。
Here, x i is a value obtained by normalizing the macroblock generation code amount at the time of the first encoding obtained from the
ここで、マクロブロック発生符号量は0から3200ビットまでと定義されるが、式(18)ではマクロブロック発生符号量を3200で割り、値域を0から1までとしたものがxiに入る。 Here, the macroblock generation code amount is defined as 0 to 3200 bits, but in Expression (18), the macroblock generation code amount is divided by 3200 and the value range from 0 to 1 falls into x i .
次に、ステップS106において、量子化パラメータ算出部14は、レート歪み曲線f(xi)上で目標符号化効率Epicを満たす目標発生符号量TMbBitiを求める。目標発生符号量TMbBitiとは、第二符号化におけるマクロブロック発生符号量の目標値である。目標符号化効率Epic=(∂D/∂R)は定義より、f(xi)上における傾きを意味することは明らかである。すなわち、f(xi)をxiについて微分したf′(xi)とEpicが等しくなるようなxiが目標発生符号量TMbBitiであると言える。そこで、量子化パラメータ算出部14は、次の式(19)式を用いてTMbBitiを求める。
Next, in step S106, the quantization
ここで,xi=TMbBitiであるため、量子化パラメータ算出部14は、次の式(20)により目標発生符号量TMbBitiを求める。
Here, since x i = TMbBit i , the quantization
次に、ステップS107において、量子化パラメータ算出部14は、第二符号化後のマクロブロック発生符号量が先ほど求めたTMbBitiとなる量子化パラメータを求めるために、量子化パラメータ対マクロブロック発生符号量の関係を表す曲線(QP−GenBit曲線:g(yi))を算出する。量子化パラメータとマクロブロック発生符号量の値には、量子化パラメータの増加にしたがいマクロブロック発生符号量が減少していくという単調減少の関係がある。また、単調減少における減少幅が徐々に減少していくという特徴があるため、二次関数の第四象限に当てはまると考えられる。よって、QP−GenBit曲線(g(yi))を次の式(21)のように二次式で定義する。
Next, in step S107, the quantization
ここで、yiは第二符号化時の量子化パラメータ、α及びβは予め定めておく定数、γiはg(yi)を一意に定める定数、g(yi)はマクロブロック発生符号量である。また、iはi番目のマクロブロックを示す。第二符号化時の量子化パラメータを求めるにあたり、量子化パラメータ算出部14は、まず初めに次の式(22)に、第一符号化部より得られる第一符号化時の量子化パラメータおよびマクロブロック発生符号量を代入し、γiを求め、各マクロブロックのQP−GenBit曲線(g(yi))を一意に定める。
Here, y i is the quantization parameter at the time of the second coding, alpha and β is a constant determined in advance, gamma i is g (y i) uniquely define constant, g (y i) macroblock generated code Amount. I represents the i-th macroblock. In obtaining the quantization parameter at the time of the second encoding, the quantization
QP−GenBit曲線はマクロブロックによって様々な曲線を描くが,それぞれの曲線はほとんど交わることがないという特徴を持つ。一方で、マクロブロックの特徴によって同一量子化パラメータ時のマクロブロック発生符号量は大きく異なる。そこで、曲線の形状およびX軸方向の位置を定めるα及びβの値を事前に定めておく。α及びβを決定するにあたり、実験により予め複数のマクロブロックについて量子化パラメータ0から51について符号化を行い、マクロブロック発生符号量およびSSIMのデータをとる。符号化結果より,全マクロブロックの平均マクロブロック発生符号量及び平均SSIMを各量子化パラメータについてとり,それらの点(52点)に対して最小自乗法を用いることで近似曲線を求める。ここで得られた二次曲線のy2 iとyiの係数をそれぞれα及びβとして定める。本実施形態では、α=0.91846975、β=−95.079875と定める。
The QP-GenBit curve draws various curves depending on the macroblock, but each curve has a characteristic that it hardly intersects. On the other hand, the macroblock generation code amount at the same quantization parameter varies greatly depending on the characteristics of the macroblock. Therefore, the values of α and β that determine the shape of the curve and the position in the X-axis direction are determined in advance. In determining α and β, a plurality of macroblocks are previously coded for
次に、ステップS108において、量子化パラメータ算出部14は、式(22)で求めたQP−GenBit曲線(g(yi))を一意に定める変数γiおよび,式(20)で求めた目標発生符号量TMbBitiを次の式(23)へ代入し、第二符号化時の量子化パラメータyiを求める
Next, in step S108, the quantization
ここで、yiの解を一意に求めるために、0≦yi≦51という制約を設ける。 Here, in order to uniquely find a solution for y i , a constraint of 0 ≦ y i ≦ 51 is provided.
そして、ステップS109において、量子化パラメータ算出部14は、全てのマクロブロックについて、量子化パラメータyiを算出したか否かを判定する。全てのマクロブロックにおける量子化パラメータyiを算出した場合には、ステップS110へ進む。一方、全てのマクロブロックにおける量子化パラメータyiを算出していない場合には、ステップS105へ戻る。そして、全てのマクロブロックについてyiを求めた後、ステップS110において、第二符号化部15が、量子化パラメータyiを用いて第二符号化を行う。
In step S109, the quantization
図3は、本実施形態における動画像符号化装置10にて実験を行った結果を示すグラフである。本図において、横軸はマクロブロック発生符号量(単位はkbit/s)であり、縦軸は画質劣化評価指標SSIMである。また、実線101は第二符号化を行った結果を示しており、実線102は第一符号化を行った結果を示している。本図における実験は、ITE(映像情報メディア学会)における標準画像の一つであるSoccerAcctionのSDTV(Standard Definition Television)サイズ(720×480)、インタレース、フレーム数450フレームについて行った。SSIMは、値が大きいほど画像の歪みが小さく、値が小さいほど歪みが大きいことを表す。このため、図示するように、第二符号化を行った結果は、第一符号化を行った結果と比べて符号化効率が向上していることが確認できる。
FIG. 3 is a graph showing a result of an experiment performed by the moving
このように、本実施形態によれば、動画像符号化装置10は、画像劣化評価指標から量子化パラメータを算出し、算出した量子化パラメータを用いて第二符号化を行っている。このため、最適な量子化パラメータを設定可能となり、主観的な画像品質が向上し符号化効率を向上することができる。
As described above, according to the present embodiment, the moving
また、図2に示す各ステップを実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより、符号化処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものであってもよい。
また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、フラッシュメモリ等の書き込み可能な不揮発性メモリ、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。
2 is recorded on a computer-readable recording medium, and the program recorded on the recording medium is read into a computer system and executed, thereby executing an encoding process. You may go. Here, the “computer system” may include an OS and hardware such as peripheral devices.
Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used.
The “computer-readable recording medium” means a flexible disk, a magneto-optical disk, a ROM, a writable nonvolatile memory such as a flash memory, a portable medium such as a CD-ROM, a hard disk built in a computer system, etc. This is a storage device.
さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(例えばDRAM(Dynamic Random Access Memory))のように、一定時間プログラムを保持しているものも含むものとする。
また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。
また、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。
Further, the “computer-readable recording medium” means a volatile memory (for example, DRAM (Dynamic DRAM) in a computer system that becomes a server or a client when a program is transmitted through a network such as the Internet or a communication line such as a telephone line. Random Access Memory)), etc., which hold programs for a certain period of time.
The program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the “transmission medium” for transmitting the program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line.
The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, and what is called a difference file (difference program) may be sufficient.
以上、図面を参照してこの発明の一実施形態について詳しく説明してきたが、具体的な構成は上述のものに限られることはなく、この発明の要旨を逸脱しない範囲内において様々な設計変更等をすることが可能である。 As described above, the embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to the above, and various design changes and the like can be made without departing from the scope of the present invention. It is possible to
10…動画像符号化装置 11…第一符号化部 12…復号部 13…評価部 14…量子化パラメータ算出部 15…第二符号化部
DESCRIPTION OF
Claims (3)
前記第一符号化部が生成したビットストリームを復号して復号映像信号を生成する復号部と、
前記復号部が復号した復号映像信号と前記入力映像信号との差分に基づいて、前記復号映像信号における歪みの度合いを示す画質劣化評価指標を算出する評価部と、
前記評価部が算出した画質劣化評価指標と前記第一符号化部における発生符号量に基づいて量子化パラメータを算出する量子化パラメータ算出部と、
前記量子化パラメータ算出部が算出した量子化パラメータを用いて前記入力映像信号に対し符号化を行う第二符号化部と、
を備え、
前記評価部は、SSIM(Structural SIMilarity)を用いて前記画質劣化評価指標を算出し、
前記量子化パラメータ算出部は、次の式(1)にて定義されたレート歪み曲線f(x i )に関し、
ことを特徴とする動画像符号化装置。 A first encoding unit that encodes an input video signal using a predetermined quantization parameter to generate a bitstream;
A decoding unit that generates a decoded video signal by decoding the bitstream generated by the first encoding unit;
An evaluation unit that calculates an image quality degradation evaluation index indicating a degree of distortion in the decoded video signal based on a difference between the decoded video signal decoded by the decoding unit and the input video signal;
A quantization parameter calculation unit that calculates a quantization parameter based on an image quality degradation evaluation index calculated by the evaluation unit and a generated code amount in the first encoding unit;
A second encoding unit that encodes the input video signal using the quantization parameter calculated by the quantization parameter calculation unit;
Equipped with a,
The evaluation unit calculates the image quality degradation evaluation index using SSIM (Structural SIMality),
The quantization parameter calculation unit relates to the rate distortion curve f (x i ) defined by the following equation (1) :
復号部が、前記第一符号化部が生成したビットストリームを復号して復号映像信号を生成するステップと、
評価部が、前記復号部が復号した復号映像信号と前記入力映像信号との差分に基づいて、前記復号映像信号における歪みの度合いを示す画質劣化評価指標を算出するステップと、
量子化パラメータ算出部が、前記評価部が算出した画質劣化評価指標と前記第一符号化部における発生符号量に基づいて量子化パラメータを算出するステップと、
第二符号化部が、前記量子化パラメータ算出部が算出した量子化パラメータを用いて前記入力映像信号に対し符号化を行うステップと、
を有し、
前記評価部は、SSIMを用いて前記画質劣化評価指標を算出し、
前記量子化パラメータ算出部は、次の式(4)にて定義されたレート歪み曲線f(x i )に関し、
ことを特徴とする動画像符号化方法。 A first encoding unit that encodes an input video signal using a predetermined quantization parameter to generate a bitstream;
A decoding unit decoding the bitstream generated by the first encoding unit to generate a decoded video signal;
An evaluation unit calculating an image quality degradation evaluation index indicating a degree of distortion in the decoded video signal based on a difference between the decoded video signal decoded by the decoding unit and the input video signal;
A step of calculating a quantization parameter based on an image quality degradation evaluation index calculated by the evaluation unit and a generated code amount in the first encoding unit;
A second encoding unit encoding the input video signal using the quantization parameter calculated by the quantization parameter calculation unit;
I have a,
The evaluation unit calculates the image quality degradation evaluation index using SSIM,
The quantization parameter calculation unit relates to the rate distortion curve f (x i ) defined by the following equation (4) :
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010116425A JP5306282B2 (en) | 2010-05-20 | 2010-05-20 | Moving picture coding apparatus, moving picture coding method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010116425A JP5306282B2 (en) | 2010-05-20 | 2010-05-20 | Moving picture coding apparatus, moving picture coding method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011244334A JP2011244334A (en) | 2011-12-01 |
JP5306282B2 true JP5306282B2 (en) | 2013-10-02 |
Family
ID=45410503
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010116425A Expired - Fee Related JP5306282B2 (en) | 2010-05-20 | 2010-05-20 | Moving picture coding apparatus, moving picture coding method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5306282B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5956316B2 (en) * | 2012-11-26 | 2016-07-27 | 日本電信電話株式会社 | Subjective image quality estimation apparatus, subjective image quality estimation method, and program |
JP5941939B2 (en) * | 2014-03-14 | 2016-06-29 | ソフトバンク株式会社 | Video distribution device, video encoding device, and program |
CN113938685B (en) * | 2021-09-26 | 2023-04-11 | 中国科学院计算技术研究所 | Cognitive software adjustable image coding device for large-scale image storage |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3857342B2 (en) * | 1995-04-28 | 2006-12-13 | ソニー株式会社 | Image encoding method and image encoding apparatus |
JPH08340531A (en) * | 1995-06-14 | 1996-12-24 | Toshiba Corp | Variable rate coder |
JPH1032816A (en) * | 1996-07-18 | 1998-02-03 | Matsushita Electric Ind Co Ltd | Image encoding device |
JP2003009156A (en) * | 2001-06-22 | 2003-01-10 | Matsushita Electric Ind Co Ltd | Moving picture coding apparatus, method therefor, storing medium and moving picture decoding method |
JP2008245201A (en) * | 2007-03-29 | 2008-10-09 | Victor Co Of Japan Ltd | Encoding device |
JP2009224854A (en) * | 2008-03-13 | 2009-10-01 | Toshiba Corp | Image encoding device and method |
-
2010
- 2010-05-20 JP JP2010116425A patent/JP5306282B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2011244334A (en) | 2011-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101888333B1 (en) | Image Encoding/Decoding Method and Apparatus Using Deblocking Filtering | |
JP5283628B2 (en) | Video decoding method and video encoding method | |
KR101619972B1 (en) | Apparatus and method for coding/decoding image selectivly using descrete cosine/sine transtorm | |
US8249145B2 (en) | Estimating sample-domain distortion in the transform domain with rounding compensation | |
CN101390401B (en) | Enhanced image/video quality through artifact evaluation | |
US8249154B2 (en) | Method and apparatus for encoding/decoding image based on intra prediction | |
US20100254450A1 (en) | Video coding method, video decoding method, video coding apparatus, video decoding apparatus, and corresponding program and integrated circuit | |
JP2008507190A (en) | Motion compensation method | |
US20110182357A1 (en) | Intra prediction method and apparatus, and image encoding/decoding method and apparatus using same | |
KR101098739B1 (en) | Apparatus and method for encoding/decoding a video signal | |
JP2006140758A (en) | Method, apparatus and program for encoding moving image | |
JP2006180497A (en) | Method and apparatus for generating a quantization matrix used to encode an image or image sequence | |
KR20100004037A (en) | Method and apparatus for encoding video, and method and apparatus for decoding video | |
CN101009839A (en) | Method for video encoding or decoding based on orthogonal transform and vector quantization, and apparatus thereof | |
Dar et al. | Motion-compensated coding and frame rate up-conversion: Models and analysis | |
WO2022021422A1 (en) | Video coding method and system, coder, and computer storage medium | |
CN110832856A (en) | System and method for reducing video coding fluctuations | |
EP3695600A1 (en) | System and method for controlling video coding within image frame | |
CN112740691A (en) | Method and apparatus for encoding and decoding a data stream representing at least one image | |
JP2012104940A (en) | Moving image encoder, moving image encoding method and program | |
JP2005530423A (en) | Method and system for optimizing image sharpness during encoding | |
JP2004215275A (en) | Motion compensation based improved noise prediction method and apparatus, and moving image encoding method and apparatus using the same | |
JP7343817B2 (en) | Encoding device, encoding method, and encoding program | |
JP5306282B2 (en) | Moving picture coding apparatus, moving picture coding method, and program | |
JP2018524916A (en) | Method and apparatus for obtaining prediction of current block of enhancement layer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20121106 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130416 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130423 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130531 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20130531 |
|
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: 20130618 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130625 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 5306282 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
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 |
|
LAPS | Cancellation because of no payment of annual fees |