JP6557589B2 - Encoding device, decoding device, and program - Google Patents
Encoding device, decoding device, and program Download PDFInfo
- Publication number
- JP6557589B2 JP6557589B2 JP2015237822A JP2015237822A JP6557589B2 JP 6557589 B2 JP6557589 B2 JP 6557589B2 JP 2015237822 A JP2015237822 A JP 2015237822A JP 2015237822 A JP2015237822 A JP 2015237822A JP 6557589 B2 JP6557589 B2 JP 6557589B2
- Authority
- JP
- Japan
- Prior art keywords
- unit
- inverse
- fitting
- transform
- quantization
- 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
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Description
本発明は、画像を符号化する符号化装置、符号化されたデータを復号する復号装置、及びそれらのプログラムに関する。 The present invention relates to an encoding device that encodes an image, a decoding device that decodes encoded data, and a program thereof.
従来、画像(静止画像又は動画像)や音声を伝送又は保存する際のデータ量を圧縮するために、符号化方式の研究が行われている。近年、映像符号化技術では8K−SHVに代表されるような超高解像度映像の普及も進んでおり、膨大なデータ量の動画像を放送波やIP網で伝送するための手法として、ITU−T H.264/MPEG−4 AVCや、ITU−T H.265/MPEG−H HEVCなどの符号化方式が知られている。この高圧縮符号化方式では、ブロック分割、直交変換、量子化、エントロピー符号化、イントラ予測、動き補償などの要素技術を組み合わせて高効率化を実現している(例えば、非特許文献1参照)。 Conventionally, in order to compress a data amount when transmitting or storing an image (a still image or a moving image) or sound, a coding method has been studied. In recent years, in video coding technology, super high-resolution video represented by 8K-SHV has been widely used. As a technique for transmitting a large amount of data over a broadcast wave or IP network, ITU- TH. H.264 / MPEG-4 AVC and ITU-T H.264. Coding schemes such as H.265 / MPEG-H HEVC are known. In this high compression coding method, high efficiency is realized by combining elemental technologies such as block division, orthogonal transform, quantization, entropy coding, intra prediction, and motion compensation (see, for example, Non-Patent Document 1). .
上述した従来の符号化方式では、直交変換処理後の変換係数に重み付け量子化を行っており、視覚的に目立たない高周波成分に対しては粗い量子化を施し、信号成分上で重要な低周波成分に対しては細かい量子化を施すことで、視覚特性を考慮した圧縮処理を行っている。また、一般的に高周波成分側の多くの係数は小さな値を示し量子化後にはほぼゼロになるため、量子化後のデータ量を減らすことができる。 In the conventional coding method described above, weighted quantization is performed on the transform coefficient after orthogonal transform processing, and coarse quantization is applied to high-frequency components that are not visually noticeable, and low-frequency signals that are important on the signal components. By applying fine quantization to the components, compression processing considering visual characteristics is performed. In general, many coefficients on the high frequency component side show small values and become almost zero after quantization, so that the amount of data after quantization can be reduced.
従来の符号化方式では量子化によってデータ圧縮が行える半面、低周波成分側の非ゼロ数値データは圧縮しきれず効率化に限界がある。また、連続する非ゼロ数値データが大きな計数値だと、それに連動してデータ量が増加してしまう。さらに、高圧縮率を目指すために高周波成分側にゼロを連続させるような粗い量子化をすると、主観的な画質が著しく損なわれてしまうという課題があった。 In the conventional encoding method, data compression can be performed by quantization, but non-zero numerical data on the low frequency component side cannot be compressed and there is a limit to efficiency. In addition, if the continuous non-zero numerical data is a large count value, the amount of data increases accordingly. Furthermore, if a rough quantization is performed such that zero is continued on the high frequency component side in order to achieve a high compression rate, there is a problem that subjective image quality is significantly impaired.
かかる事情に鑑みてなされた本発明の目的は、従来の符号化方式に比べて符号化効率を改善することが可能な符号化装置、復号装置、及びプログラムを提供することにある。 An object of the present invention made in view of such circumstances is to provide an encoding device, a decoding device, and a program capable of improving encoding efficiency as compared with a conventional encoding method.
上記課題を解決するため、本発明に係る符号化装置は、フィッティング関数を用いて符号化する符号化装置であって、入力画像を複数のブロックに分割してブロック画像を生成するブロック分割部と、前記ブロック画像を予測した予測ブロック画像を生成する予測部と、前記ブロック画像と前記予測ブロック画像との差を示す残差ブロック画像に対して変換処理を行い、ブロックごとの変換係数を算出する変換部と、前記ブロックごとの変換係数の一次元配列を曲線近似し、近似曲線を規定するためのフィッティング関数の係数を含むフィッティング関数情報を生成するカーブフィッティング部と、前記フィッティング関数情報、及び前記予測ブロック画像の予測に必要な予測情報のエントロピー符号化を行ってビットストリームを生成するエントロピー符号化部と、前記フィッティング関数情報に基づいて前記近似曲線を求め、該近似曲線によって規定されるデータを二次元に配列して前記ブロックごとの変換係数を復元する逆カーブフィッティング部と、前記復元された変換係数に対して逆変換を行い、前記残差ブロック画像を復元する逆変換部と、を備え、前記予測部は、前記復元された残差ブロック画像及び前記予測ブロック画像を加算した復号済みの画像を参照して前記予測ブロック画像を生成することを特徴とする。 In order to solve the above-described problem, an encoding apparatus according to the present invention is an encoding apparatus that performs encoding using a fitting function, and a block dividing unit that generates a block image by dividing an input image into a plurality of blocks; A prediction unit that generates a prediction block image obtained by predicting the block image, and a conversion process is performed on a residual block image indicating a difference between the block image and the prediction block image, thereby calculating a conversion coefficient for each block. A curve fitting unit that generates a fitting function information including a coefficient of a fitting function for approximating a one-dimensional array of transform coefficients for each block and defining an approximated curve, and the fitting function information; Generates bitstream by entropy coding of prediction information necessary for prediction of prediction block image An inverse curve fitting unit that obtains the approximate curve based on the fitting function information, arranges data defined by the approximate curve in two dimensions, and restores the transform coefficient for each block; An inverse transform unit that performs inverse transform on the restored transform coefficient and restores the residual block image, and the prediction unit adds the restored residual block image and the predicted block image The prediction block image is generated with reference to the decoded image.
さらに、本発明に係る符号化装置において、前記カーブフィッティング部は、前記変換係数をブロックごとに所定の方向にスキャンして一次元配列化した一次元配列データを生成する一次元配列データ生成部と、前記一次元配列データに対して1以上のフィッティング関数を用いて曲線近似するフィッティング部と、を備えることを特徴とする。 Further, in the encoding device according to the present invention, the curve fitting unit scans the transform coefficient in a predetermined direction for each block to generate one-dimensional array data that is one-dimensionally arranged, and And a fitting unit that approximates a curve using one or more fitting functions for the one-dimensional array data.
さらに、本発明に係る符号化装置において、前記カーブフィッティング部は、前記変換係数をブロックごとに複数の方向にスキャンして、一次元配列化した複数の一次元配列データを生成する一次元配列データ生成部と、前記複数の一次元配列データに対して、それぞれ1以上のフィッティング関数を用いて曲線近似するフィッティング部と、を備え、前記エントロピー符号化部は、前記スキャンの方向ごとに前記フィッティング関数情報のエントロピー符号化を行い、コスト値に基づく最適なスキャン方向を決定し、該スキャン方向で生成されたビットストリーム、及び該スキャン方向を識別するための識別情報を出力することを特徴とする。 Furthermore, in the encoding device according to the present invention, the curve fitting unit scans the transform coefficient in a plurality of directions for each block and generates a plurality of one-dimensional array data that is one-dimensionally arrayed. A generating unit; and a fitting unit that approximates a curve using one or more fitting functions for each of the plurality of one-dimensional array data, and the entropy encoding unit includes the fitting function for each scan direction. Information is entropy-encoded, an optimum scan direction based on a cost value is determined, a bit stream generated in the scan direction, and identification information for identifying the scan direction are output.
さらに、本発明に係る符号化装置において、前記ブロックごとの変換係数を量子化ステップで除算して量子化係数を生成する量子化部と、前記量子化係数に量子化ステップを乗ずることにより前記ブロックごとの変換係数を復元する逆量子化部と、を更に備え、前記逆変換部は、前記逆量子化部又は前記逆カーブフィッティング部により復元された変換係数に対して逆変換を行い、前記残差ブロック画像を復元し、前記エントロピー符号化部は、前記フィッティング関数情報及び前記量子化係数のエントロピー符号化を行い、コスト値に基づき符号化効率が優れているほうのビットストリームを出力することを特徴とする。 Furthermore, in the encoding apparatus according to the present invention, a quantization unit that divides the transform coefficient for each block by a quantization step to generate a quantization coefficient, and the block obtained by multiplying the quantization coefficient by the quantization step An inverse quantization unit that restores transform coefficients for each of the transform coefficients, wherein the inverse transform unit performs inverse transform on the transform coefficients restored by the inverse quantization unit or the inverse curve fitting unit, and The difference block image is restored, and the entropy coding unit performs entropy coding of the fitting function information and the quantization coefficient, and outputs a bitstream having better coding efficiency based on a cost value. Features.
さらに、本発明に係る符号化装置において、前記ブロックごとの変換係数を量子化ステップで除算する量子化部を更に備え、前記カーブフィッティング部は、前記量子化部により除算された変換係数の一次元配列を1以上のフィッティング関数を用いて曲線近似し、該フィッティング関数の係数を含むフィッティング関数情報を生成し、前記逆カーブフィッティング部は、前記フィッティング関数情報に基づいて前記近似曲線を求め、該近似曲線によって規定されるデータを二次元に配列して前記量子化部により除算された変換係数を復元し、前記逆カーブフィッティング部により生成された変換係数に量子化ステップを乗ずることにより前記ブロックごとの変換係数を復元する逆量子化部を更に備え、前記逆変換部は、前記逆量子化部により復元された変換係数に対して逆変換を行い、前記残差ブロック画像を復元することを特徴とする。 Furthermore, the encoding apparatus according to the present invention further includes a quantization unit that divides the transform coefficient for each block by a quantization step, and the curve fitting unit is a one-dimensional transform coefficient divided by the quantization unit. The array is approximated with a curve using one or more fitting functions, and fitting function information including coefficients of the fitting function is generated. The inverse curve fitting unit obtains the approximate curve based on the fitting function information, and the approximation The data defined by the curve is two-dimensionally arranged to restore the transform coefficient divided by the quantization unit, and by multiplying the transform coefficient generated by the inverse curve fitting unit by a quantization step, for each block An inverse quantization unit that restores a transform coefficient is further provided, and the inverse transform unit is provided by the inverse quantization unit. Perform inverse transform on the restored transform coefficients, and wherein the restoring the residual block image.
また、上記課題を解決するため、本発明に係る復号装置は、フィッティング関数を用いて符号化されたビットストリームを復号する復号装置であって、前記ビットストリームを復号して、近似曲線を規定するためのフィッティング関数の係数を含むフィッティング関数情報、及びブロック画像の予測に必要な予測情報を取得するエントロピー復号部と、前記フィッティング関数情報に基づいて近似曲線を求め、該近似曲線によって規定されるデータを二次元に配列しブロックごとの変換係数を復元する逆カーブフィッティング部と、前記変換係数に対して逆変換を行って残差ブロック画像を復元する逆変換部と、前記予測情報に従って前記ブロック画像を予測した予測ブロック画像を生成する予測部と、前記残差ブロック画像及び前記予測ブロック画像を加算して復号ブロック画像を生成する加算部と、を備え、前記予測部は、復号済みの前記復号ブロック画像を参照して前記予測ブロック画像を生成することを特徴とする。 In order to solve the above problems, a decoding device according to the present invention is a decoding device that decodes a bitstream encoded using a fitting function, and decodes the bitstream to define an approximate curve. Data obtained by obtaining an approximation curve based on the fitting function information, an entropy decoding unit that obtains fitting function information including a coefficient of the fitting function and prediction information necessary for block image prediction, and the fitting function information An inverse curve fitting unit that restores a transform coefficient for each block, an inverse transform unit that performs inverse transform on the transform coefficient to restore a residual block image, and the block image according to the prediction information A prediction unit that generates a prediction block image predicting the image, the residual block image, and the prediction block Tsu includes an adder which generates a decoded block image by adding click image, and the prediction unit, and generates the prediction block image with reference to the decoded the decoded block image.
さらに、本発明に係る復号装置において、前記エントロピー復号部は、量子化係数を更に取得し、前記量子化係数に量子化ステップを乗ずることによりブロックごとの変換係数を復元する逆量子化部を更に備え、前記逆変換部は、前記逆量子化部又は前記逆カーブフィッティング部により復元された変換係数に対して逆変換を行い、前記残差ブロック画像を復元することを特徴とする。 Further, in the decoding device according to the present invention, the entropy decoding unit further includes an inverse quantization unit that further acquires a quantization coefficient and restores a transform coefficient for each block by multiplying the quantization coefficient by a quantization step. The inverse transform unit performs an inverse transform on the transform coefficient restored by the inverse quantization unit or the inverse curve fitting unit to restore the residual block image.
さらに、本発明に係る復号装置において、前記逆カーブフィッティング部により復元された第1の変換係数に量子化ステップを乗ずることによりブロックごとの第2の変換係数を復元する逆量子化部を更に備え、前記逆変換部は、前記第2の変換係数に対して逆変換を行って前記残差ブロック画像を復元することを特徴とする。 Furthermore, the decoding apparatus according to the present invention further includes an inverse quantization unit that restores the second transform coefficient for each block by multiplying the first transform coefficient restored by the inverse curve fitting unit by a quantization step. The inverse transform unit restores the residual block image by performing inverse transform on the second transform coefficient.
また、上記課題を解決するため、本発明に係るプログラムは、コンピュータを、上記符号化装置として機能させることを特徴とする。 In order to solve the above problems, a program according to the present invention causes a computer to function as the encoding device.
また、上記課題を解決するため、本発明に係るプログラムは、コンピュータを、上記復号装置として機能させることを特徴とする。 In order to solve the above problem, a program according to the present invention causes a computer to function as the decoding device.
本発明によれば、従来の符号化方式に比べて符号化効率を改善することができるようになる。 According to the present invention, it is possible to improve the encoding efficiency as compared with the conventional encoding method.
以下、本発明の実施形態について、符号化装置について説明した後、復号装置について説明する。 Hereinafter, after describing an encoding device, an embodiment of the present invention will be described.
(第1の実施形態)
本発明の第1の実施形態に係る符号化装置について、以下に説明する。図1に、本発明の第1の実施形態に係る符号化装置の構成例を示す。図1に示す符号化装置1は、ブロック分割部11と、減算部12と、変換部13と、カーブフィッティング部14と、逆カーブフィッティング部15と、逆変換部16と、加算部17と、記憶部18と、予測部19と、エントロピー符号化部20とを備える。
(First embodiment)
An encoding apparatus according to the first embodiment of the present invention will be described below. FIG. 1 shows a configuration example of an encoding apparatus according to the first embodiment of the present invention. 1 includes a
ブロック分割部11は、入力画像を複数のブロックに分割し、ブロック画像を減算部12及び予測部19に出力する。ブロックのサイズは可変サイズであってもよく、例えば32×32画素、16×16画素、8×8画素、又は4×4画素とする。
The
減算部12は、ブロック分割部11から入力されたブロック画像の各画素値から、後述する予測部19から入力された予測ブロック画像の各画素値を減じた残差ブロック画像を生成し、変換部13に出力する。
The
変換部13は、減算部12から入力された残差ブロック画像に対して直交変換などの変換処理を行って変換係数を算出し、ブロックごとの変換係数をカーブフィッティング部14に出力する。なお、変換部13は直交変換以外の変換を行ってもよい。
The
カーブフィッティング部14は、変換部13から入力されたブロックごとの変換係数の一次元配列を1以上のフィッティング関数を用いて曲線近似する。そして、近似曲線を規定するための1以上のフィッティング関数の係数を含む情報であるフィッティング関数情報を逆カーブフィッティング部15及びエントロピー符号化部20に出力する。
The
図2に、カーブフィッティング部14の第1の構成例を示す。図2に示すカーブフィッティング部14は、一次元配列データ生成部141と、フィッティング部142とを備える。
FIG. 2 shows a first configuration example of the
一次元配列データ生成部141は、変換部13から入力された変換係数をブロックごとに所定の方向にスキャンして一次元配列化した一次元配列データを生成し、フィッティング部142に出力する。スキャンの読込み順は、例えば視覚的に重要な成分から順番に配置するような一次元配列データにすると、その範囲にフィッティングを集中させることができるため、フィッティング部142で視覚特性を考慮したフィッティングが可能となる。ブロック画像のサイズが8×8画素である場合、一次元配列データ生成部141から64個の変換係数がスキャン順にフィッティング部142に入力される。
The one-dimensional array
変換部13が離散コサイン変換のような直交変換を行った場合、自然映像では一般的に、低周波成分ほど値が大きく、高周波成分ほど値が小さくなる。そのため変換係数が低周波数成分から高周波数成分まで順方向、もしくは逆方向に漸進的に変化するような順番にスキャンすると、フィッティング関数の数を少なくすることができる。このようなスキャン方法は、ITU−T H.264/MPEG−4 AVCで使用されるジグザグスキャンや、ITU−T H.265/MPEG−H HEVCで使用される斜め方向スキャンなど、任意のスキャン方法を用いることができる。
When the
図3に、ブロック画像のサイズが8×8画素である場合の、一次元配列データ生成部141によるスキャン方向の例を示す。図3(a)(b)はジグザグスキャンのスキャン方向を示しており、図3(c)(d)は斜めスキャンのスキャン方向を示しており、図3(e)(f)は4×4画素のサブブロックごとの斜めスキャンのスキャン方向を示している。
FIG. 3 shows an example of the scanning direction by the one-dimensional array
フィッティング部142は、一次元配列データ生成部141から入力された一次元配列データに対して1以上のフィッティング関数を用いてカーブフィッティングを行うことにより、この変換係数を近似する近似曲線を生成する。そしてフィッティング関数情報をエントロピー符号化部20に出力する。カーブフィッティングは、例えば最小二乗法により行うことができる。
The
カーブフィッティングに複数のフィッティング関数を用いた場合には、フィッティング関数情報にフィッティング関数の種類も含める。また、フィッティング関数情報にフィッティング関数の数を含めてもよい。また、カーブフィッティングにどのフィッティング関数を使用するかの情報(関数の種類、関数の数)を予め符号化装置と復号装置との間で共有しておき、フィッティング関数情報をフィッティング関数の係数のみとして、圧縮効率を上げるようにしてもよい。フィッティング関数の数が少数になるほど符号化劣化が激しいが高圧縮となり、フィッティング関数の数が多数になるほど符号化劣化を防ぐがデータ量は多くなる。 When a plurality of fitting functions are used for curve fitting, the type of fitting function is also included in the fitting function information. Further, the number of fitting functions may be included in the fitting function information. In addition, information on which fitting function is used for curve fitting (function type, number of functions) is shared between the encoding device and the decoding device in advance, and the fitting function information is used only as coefficients of the fitting function. The compression efficiency may be increased. The smaller the number of fitting functions, the more severe the coding deterioration, but the higher the compression, and the larger the number of fitting functions, the more the amount of data increases.
フィッティング関数の種類としては、多項式、指数関数、対数関数、分数関数、三角関数、sinc関数、円錐曲線(楕円・放物線・双曲線)、シグモイド関数や、ベッセル関数、ポアソン分布、ガウス分布、ラプラス分布、ローレンツ分布、ランダウ分布などの確率分布の確率密度(質量)関数などである。カーブフィッティングに使用するフィッティング関数の数は1つでもよいし、複数でもよい。 The types of fitting functions are polynomial, exponential function, logarithmic function, fractional function, trigonometric function, sinc function, conic curve (ellipse, parabola, hyperbola), sigmoid function, Bessel function, Poisson distribution, Gaussian distribution, Laplace distribution, The probability density (mass) function of probability distributions such as Lorentz distribution and Landau distribution. The number of fitting functions used for curve fitting may be one or plural.
例えば、フィッティング関数が正規分布の確率密度関数である場合、フィッティング関数は式(1)で表され、フィッティング関数の係数は、大きさA、平均値μ、及び標準偏差σである。フィッティング関数の係数を指定することで、フィッティング関数の形状は決定される。 For example, when the fitting function is a probability density function having a normal distribution, the fitting function is expressed by Expression (1), and the coefficients of the fitting function are a size A, an average value μ, and a standard deviation σ. By specifying the coefficient of the fitting function, the shape of the fitting function is determined.
図4に、カーブフィッティングの一例を示す。ここでは、8×8画素の画像ブロックで、ローレンツ分布の確率密度関数(ローレンツ関数)を1つ、ガウス分布の確率密度関数(ガウス関数)を2つ用いてカーブフィッティング行っている。横軸は一次元配列データ生成部141による64個の変換係数のスキャン順番を表しており、縦軸は変換係数を表している。なお、変換係数は負の値もとるが、ここでは分かり易くするために正の値のみとしている。
FIG. 4 shows an example of curve fitting. Here, curve fitting is performed using an 8 × 8 pixel image block using one Lorentz distribution probability density function (Lorentz function) and two Gaussian distribution probability density functions (Gauss function). The horizontal axis represents the scan order of 64 transform coefficients by the one-dimensional array
カーブフィッティングでは、目的に合わせたフィッティングが可能である。例えば前段で離散コサイン変換を行った場合について考えた場合、ジグザグスキャンのようにスキャン要素が低周波成分側から高周波成分側へ分離ができるようなスキャンを行う際には、視覚特性上重要となるDC成分のデータ値を変化させないようなフィッティングを行ったり、低周波成分側にフィッティングを集中させたり、低周波成分から高周波成分まで万遍なくフィッティングを分散させたりすることが可能である。 In curve fitting, fitting according to the purpose is possible. For example, when considering the case where discrete cosine transform is performed in the previous stage, it is important in terms of visual characteristics when performing a scan in which the scan element can be separated from the low frequency component side to the high frequency component side like zigzag scanning. It is possible to perform fitting so as not to change the data value of the DC component, to concentrate the fitting on the low frequency component side, or to distribute the fitting uniformly from the low frequency component to the high frequency component.
逆カーブフィッティング部15は、カーブフィッティング部14から入力されたフィッティング関数情報に基づいて近似曲線を求める。そして、該近似曲線によって規定されるデータを一次元配列データ生成部141と逆方向にスキャンし二次元に配列してブロックごとの変換係数を復元し、逆変換部16に出力する。
The inverse
逆変換部16は、逆カーブフィッティング部15から入力された変換係数に対して、変換部13で行った変換の逆変換を行って残差ブロック画像を復元し、加算部17に出力する。例えば、変換部13が離散コサイン変換を行った場合には、逆変換部16は逆離散コサイン変換を行う。
The
加算部17は、逆変換部16から入力された残差ブロック画像と、予測部19から入力された予測ブロック画像の各画素値とを加算し、その結果を復号ブロック画像として記憶部18に出力する。
The
記憶部18は、加算部17から入力された復号ブロック画像を記憶するメモリである。
The
予測部19は、記憶部18に記憶された復号済みの復号画像を参照して、対象ブロック内の画素値を予測して予測ブロック画像を生成し、減算部12及び加算部17に出力する。また、予測ブロック画像の生成に必要な情報である予測情報(動きベクトルやイントラ予測モード)をエントロピー符号化部20に出力する。
The
エントロピー符号化部20は、カーブフィッティング部14から入力されたフィッティング関数情報、及び予測部19から入力された予測情報に対して、エントロピー符号化を行い、データ圧縮を行ってビットストリームを生成し、符号化装置1の外部に出力する。エントロピー符号化は、0次指数ゴロム符号やCABC(Context-Adaptive Binary Arithmetic Coding;コンテキスト適応型2値算術符号)など、任意のエントロピー符号化方式を用いることができる。
The
(カーブフィッティングの変形例)
つぎに、カーブフィッティングの変形例について説明する。図5に、カーブフィッティング部14の第2の構成例を示す。図5に示すカーブフィッティング部14は、一次元配列データ生成部141と、フィッティング部142とを備える。
(Modification of curve fitting)
Next, a modified example of curve fitting will be described. FIG. 5 shows a second configuration example of the
変形例では、一次元配列データ生成部141は、変換部13から入力された変換係数を、ブロックごとに複数の方向にスキャンして、一次元配列化した複数の一次元配列データを生成し、フィッティング部142に出力する。また、一次元配列データ生成部141は、スキャンした方向を識別するための情報であるスキャン方向識別情報をエントロピー符号化部20に出力する。
In the modification, the one-dimensional array
フィッティング部142は、一次元配列データ生成部141から入力された複数の一次元配列データに対して、それぞれ1以上のフィッティング関数を用いてカーブフィッティングを行うことにより、この変換係数を近似する複数の近似曲線を生成する。そして、フィッティング関数情報を逆カーブフィッティング部15及びエントロピー符号化部20に出力する。
The
この場合、エントロピー符号化部20は、一次元配列データ生成部141によるスキャンの方向ごとに、フィッティング関数情報及び予測情報を入力する。そして、フィッティング関数情報及び予測情報に対して、スキャン方向ごとにエントロピー符号化を行ってビットストリームを生成し、それぞれのコスト値を算出する。ここで、コスト値とは、符号化データ情報量及び歪み量からなるコスト関数により決定される値であり、コスト値に基づき符号化効率を評価することができる。仮にコスト値が小さいほど符号化効率が優れているとみなせるようなコスト関数を適用するとすれば、コスト値を最小化することでレートと歪みに基づいた最適化処理を実現することができる。エントロピー符号化部20は、コスト値に基づく最適なスキャン方向を決定し、該スキャン方向で生成されたビットストリーム、及び該スキャン方向を識別するための識別情報を符号化装置1の外部に出力する。
In this case, the
上述したように、符号化装置1は、カーブフィッティング部14により、ブロックごとの変換係数の一次元配列を1以上のフィッティング関数を用いて曲線近似し、フィッティング関数情報を出力する。そのため、符号化装置1は、符号化するデータ量を従来よりも減らすことができ、符号化効率を改善することが可能となる。また、低周波成分側の非ゼロ数値データの大きさや個数の影響を少なくした圧縮が可能となり、また高周波成分側の係数値データについても、ベースラインとなるフィッティング関数を使うことで非ゼロ数値データを連続して残すことが可能となる。その結果、ゼロ数値を連続させるような従来の量子化処理による符号化劣化を改善することができるようになる。
As described above, the
また、符号化装置1は、カーブフィッティング部14により、変換係数を複数の方向にスキャンして複数のフィッティング関数情報を生成し、エントロピー符号化部20により、スキャンの方向ごとにフィッティング関数情報のエントロピー符号化を行い、コスト値に基づく最適化処理を行うようにしてもよい。このようにブロックごとに最適化処理を行うことにより、更に符号化劣化を改善することができるようになる。
Also, the
(第2の実施形態)
つぎに、本発明の第2の実施形態に係る符号化装置について説明する。図6に、第2の実施形態に係る符号化装置の構成例を示す。図6に示す符号化装置2は、ブロック分割部11と、減算部12と、変換部13と、カーブフィッティング部14と、逆カーブフィッティング部15と、逆変換部16と、加算部17と、記憶部18と、予測部19と、エントロピー符号化部20と、量子化部21と、逆量子化部22と、選択部23とを備える。第2の実施形態の符号化装置2は、第1の実施形態の符号化装置1と比較して、量子化部21、逆量子化部22、及び選択部23を更に備える点が相違する。その他の構成については第1の実施形態と同様であるため、適宜説明を省略する。
(Second Embodiment)
Next, an encoding apparatus according to the second embodiment of the present invention will be described. FIG. 6 shows a configuration example of the encoding apparatus according to the second embodiment. The encoding device 2 shown in FIG. 6 includes a
選択部23は、変換部13から入力されたブロックごとの変換係数を、カーブフィッティング部14又は量子化部21に出力する。
The
量子化部21は、変換部13から入力されたブロックごとの変換係数を量子化ステップで除算して量子化することにより量子化係数を生成し、逆量子化部22及びエントロピー符号化部20に出力する。量子化ステップは、変換係数ごとに変化させてもよい。
The quantizing
逆量子化部22は、量子化部21から入力された量子化係数に対し、量子化ステップを乗ずることによりブロックごとの変換係数を復元し、逆変換部16に出力する。
The
逆変換部16は、逆量子化部22及び逆カーブフィッティング部15により復元された変換係数に対して、それぞれ変換部13で行った変換の逆変換を行って残差ブロック画像を復元する。
The
エントロピー符号化部20は、カーブフィッティング部14から入力されたフィッティング関数情報、量子化部21から入力された量子化係数、及び予測部19から入力された予測情報に対して、任意のエントロピー符号化を適用し、データ圧縮を行う。そして、フィッティング関数情報及び量子化係数のエントロピー符号化を行い、コスト値に基づき符号化効率が優れているほうのビットストリームを符号化装置2の外部に出力する。また、フィッティング関数情報と量子化係数のいずれを伝送したか(カーブフィッティング部14による処理と量子化部21による処理のいずれを選択したか)を識別するための識別情報を出力する。
The
上述したように、符号化装置2は、同一の入力画像に対して、カーブフィッティング部14によるフィッティング処理と、量子化部21による量子化処理をそれぞれ行う。そのため、従来の量子化処理と、本発明に適用されるフィッティング処理とを比較して符号化効率が優れているほうを選択することができ、更に符号化劣化を改善することができるようになる。
As described above, the encoding device 2 performs the fitting process by the
(第3の実施形態)
つぎに、本発明の第3の実施形態に係る符号化装置について説明する。図7に、第3の実施形態に係る符号化装置の構成例を示す。図7に示す符号化装置3は、ブロック分割部11と、減算部12と、変換部13と、カーブフィッティング部14と、逆カーブフィッティング部15と、逆変換部16と、加算部17と、記憶部18と、予測部19と、エントロピー符号化部20と、量子化部21と、逆量子化部22とを備える。第3の実施形態の符号化装置3は、第1の実施形態の符号化装置1と比較して、量子化部21及び逆量子化部22を備える点が相違する。その他の構成については第1の実施形態と同様であるため、適宜説明を省略する。
(Third embodiment)
Next, an encoding apparatus according to the third embodiment of the present invention will be described. FIG. 7 shows a configuration example of an encoding apparatus according to the third embodiment. 7 includes a
量子化部21は、変換部13から入力されたブロックごとの変換係数を、量子化マトリックスを用いて量子化ステップで除算して量子化することにより量子化係数を生成し、カーブフィッティング部14に出力する。
The
カーブフィッティング部14は、量子化部21から入力された量子化係数を一次元配列化したデータに1以上のフィッティング関数を用いてカーブフィッティングを適用する。そして、カーブフィッティングに用いたフィッティング関数の係数を含むフィッティング関数情報を逆カーブフィッティング部15及びエントロピー符号化部20に出力する。
The
逆カーブフィッティング部15は、カーブフィッティング部14から入力されたフィッティング関数情報に基づいて近似曲線を求める。そして、該近似曲線によって規定されるデータを一次元配列データ生成部141と逆方向にスキャンし二次元に配列してブロックごとの変換係数を復元し、逆量子化部22に出力する。
The inverse
逆量子化部22は、逆カーブフィッティング部15から入力された変換係数に対し、量子化ステップを乗ずることによりブロックごとの変換係数を復元し、逆変換部16に出力する。
The
逆変換部16は、逆量子化部22により復元された変換係数に対して、変換部13で行った変換の逆変換を行って残差ブロック画像を復元する。
The
エントロピー符号化部20は、カーブフィッティング部14から入力されたフィッティング関数情報、量子化部21から入力された量子化情報、及び予測部19から入力された予測情報に対して、任意のエントロピー符号化を適用し、データ圧縮を行ってビットストリームを外部に出力する。
The
上述したように、符号化装置3は、量子化部21による従来の量子化処理後にカーブフィッティング部14によるフィッティング処理を行う。一般的に量子化マトリックスを使った重み付け量子化処理を行った後の一次元配列データは、量子化処理前の一次元配列データに比べると低周波成分側の形状が滑らかになっており高周波成分側のピークが削減されているため、よりカーブフィッティングに適した形状になっていることが考えられ、少ない個数のフィッティング関数でフィッティングできると予想される。したがって、符号化装置3は、従来の量子化処理における符号化劣化を許容してでもデータ量の削減を優先させたい場合に有効である。
As described above, the
なお、上述した符号化装置1,2,3として機能させるためにコンピュータを好適に用いることができ、そのようなコンピュータは、符号化装置1,2,3の各機能を実現する処理内容を記述したプログラムを該コンピュータの記憶部に格納しておき、該コンピュータのCPUによってこのプログラムを読み出して実行させることで実現することができる。なお、このプログラムは、コンピュータ読取り可能な記録媒体に記録可能である。
It should be noted that a computer can be suitably used to function as the above-described
(第4の実施形態)
つぎに、本発明の第4の実施形態に係る復号装置について説明する。図8に、本発明の第4の実施形態に係る復号装置の構成例を示す。図8に示す復号装置4は、エントロピー復号部31と、逆カーブフィッティング部32と、逆変換部33と、加算部34と、記憶部35と、予測部36とを備え、符号化装置1により符号化されたデータ(画像の変換係数をフィッティング関数を用いて符号化したビットストリーム)を復号する。
(Fourth embodiment)
Next, a decoding apparatus according to the fourth embodiment of the present invention will be described. FIG. 8 shows a configuration example of a decoding device according to the fourth embodiment of the present invention. The decoding device 4 illustrated in FIG. 8 includes an
エントロピー復号部31は、符号化装置1のエントロピー符号化部20と対をなし、エントロピー符号化部20で符号化されたビットストリームを復号し、近似曲線を規定するための1以上のフィッティング関数の係数を含む情報であるフィッティング関数情報、及びブロック画像の予測処理に必要な情報である予測情報を取得する。そして、フィッティング関数情報を逆カーブフィッティング部32に出力し、予測情報を予測部36に出力する。
The
逆カーブフィッティング部32は、エントロピー復号部31から入力されたフィッティング関数情報に基づいて近似曲線を求める。そして、該近似曲線によって規定されるデータを二次元に配列してブロックごとの変換係数を復元し、逆変換部33に出力する。
The inverse
図9に、逆カーブフィッティング部32の構成例を示す。図9に示す例では、逆カーブフィッティング部32は、逆フィッティング部321と、二次元配列データ生成部322とを備える。
FIG. 9 shows a configuration example of the inverse
逆フィッティング部321は、エントロピー復号部31から入力されたフィッティング関数情報に基づいて近似曲線を求め、二次元配列データ生成部322に出力する。
The inverse
二次元配列データ生成部322は、逆フィッティング部321から入力された近似曲線から、ブロック画像の画素数分の変換係数を算出する。近似曲線をy=f(x)とすると、例えばブロック画像のサイズが8×8画素である場合、f(0),f(1),・・・,f(63)が変換係数となる。そして、二次元配列データ生成部322は、符号化装置1のカーブフィッティング部14による配列変換を元に戻すように二次元に配列することでブロックごとの変換係数を復元し、逆変換部33に出力する。
The two-dimensional array
二次元配列データ生成部322は、符号化装置1のカーブフィッティング部14による配列変換のスキャン方向を識別するための情報であるスキャン方向識別情報を取得した場合には、スキャン方向識別情報により識別されるスキャン方向と逆方向にスキャンして二次元に配列する。
The two-dimensional array
逆変換部33は、逆カーブフィッティング部32から入力された変換係数に対して逆変換を行って残差ブロック画像を復元し、加算部34に出力する。逆変換は符号化装置1の逆変換部16と同じ処理である。
The
加算部34は、逆変換部33から入力された残差ブロック画像と、予測部36から入力された予測ブロック画像の各画素値とを加算し、その結果を復号ブロック画像として記憶部35、及び復号装置4の外部に出力する。
The
記憶部35は、加算部34から入力された復号ブロック画像を記憶するメモリである。
The
予測部36は、記憶部35に記憶された復号済みの復号ブロック画像を参照し、エントロピー復号部31から入力された予測情報に従って予測処理を行って予測ブロック画像を生成し、加算部34に出力する。
The
上述したように、復号装置4は、逆カーブフィッティング部32により、フィッティング関数情報に基づいて近似曲線を求め、該近似曲線によって規定されるデータを二次元に配列してブロックごとの変換係数を復元する。フィッティング関数を用いたフィッティング処理を行うことにより、量子化による符号化劣化を改善することができるようになる。
As described above, the decoding device 4 uses the inverse
(第5の実施形態)
つぎに、本発明の第5の実施形態に係る復号装置について説明する。図10に、本発明の第5の実施形態に係る復号装置の構成例を示す。図10に示す復号装置5は、エントロピー復号部31と、逆カーブフィッティング部32と、逆変換部33と、加算部34と、記憶部35と、予測部36と、逆量子化部37と、選択部38とを備え、符号化装置2により符号化されたデータを復号する。第5の実施形態に係る復号装置5は、第4の実施形態に係る復号装置4と比較して、逆カーブフィッティング部32と並列に逆量子化部37を更に備える点が相違する。その他の構成については第4の実施形態と同様であるため、適宜説明を省略する。
(Fifth embodiment)
Next, a decoding device according to the fifth embodiment of the present invention will be described. FIG. 10 shows a configuration example of a decoding apparatus according to the fifth embodiment of the present invention. 10 includes an
エントロピー復号部31は、符号化装置2のエントロピー符号化部20と対をなし、エントロピー符号化部20で圧縮されたデータを復号し、フィッティング関数情報、量子化係数、及び予測情報を取得する。そして、フィッティング関数情報を逆カーブフィッティング部32に出力し、量子化係数を逆量子化部37に出力し、予測情報を予測部36に出力する。
The
逆カーブフィッティング部32は、エントロピー復号部31から入力されたフィッティング関数情報に基づいて近似曲線を求める。そして、該近似曲線によって規定されるデータを二次元に配列してブロックごとの変換係数を復元し、逆変換部33に出力する。
The inverse
逆量子化部37は、エントロピー復号部31から入力された量子化係数に対し、量子化ステップを乗ずることによりブロックごとの変換係数を復元し、逆変換部33に出力する。
The
逆変換部33は、逆カーブフィッティング部32又は逆量子化部37から入力された変換係数に対して逆変換を行って残差ブロック画像を復元し、加算部34に出力する。
The
上述したように、復号装置5は、逆カーブフィッティング部32と並列に逆量子化部37を備えるため、符号化装置2により符号化されたデータを復号することができる。
As described above, since the
(第6の実施形態)
つぎに、本発明の第6の実施形態に係る復号装置について説明する。図11に、本発明の第6の実施形態に係る復号装置の構成例を示す。図11に示す復号装置6は、エントロピー復号部31と、逆カーブフィッティング部32と、逆変換部33と、加算部34と、記憶部35と、予測部36と、逆量子化部37とを備え、符号化装置3により符号化されたデータを復号する。第6の実施形態に係る復号装置6は、第4の実施形態に係る復号装置4と比較して、逆カーブフィッティング部32と直列に逆量子化部37を更に備える点が相違する。その他の構成については第4の実施形態と同様であるため、適宜説明を省略する。
(Sixth embodiment)
Next, a decoding apparatus according to the sixth embodiment of the present invention will be described. FIG. 11 shows a configuration example of a decoding apparatus according to the sixth embodiment of the present invention. The
エントロピー復号部31は、符号化装置3のエントロピー符号化部20と対をなし、エントロピー符号化部20で圧縮されたデータを復号し、フィッティング関数情報及び予測情報を取得する。そして、フィッティング関数情報を逆カーブフィッティング部32に出力し、予測情報を予測部36に出力する。
The
逆カーブフィッティング部32は、エントロピー復号部31から入力されたフィッティング関数情報に基づいて近似曲線を求める。そして、該近似曲線によって規定されるデータを二次元に配列してブロックごとの変換係数を復元し、逆量子化部37に出力する。
The inverse
逆量子化部37は、逆カーブフィッティング部32から入力された変換係数に対し、量子化ステップを乗ずることによりブロックごとの変換係数を復元し、逆変換部33に出力する。量子化ステップは符号化装置3から取得してもよいし、予め符号化装置3と共通の量子化テーブルを有していてもよい。
The
逆変換部33は、逆量子化部37から入力された変換係数に対して逆変換を行って残差ブロック画像を復元し、加算部34に出力する。
The
上述したように、復号装置6は、逆カーブフィッティング部32と直列に逆量子化部37を備えるため、符号化装置3により符号化されたデータを復号することができる。
As described above, since the
なお、上述した復号装置4,5,6として機能させるためにコンピュータを好適に用いることができ、そのようなコンピュータは、復号装置4,5,6の各機能を実現する処理内容を記述したプログラムを該コンピュータの記憶部に格納しておき、該コンピュータのCPUによってこのプログラムを読み出して実行させることで実現することができる。なお、このプログラムは、コンピュータ読取り可能な記録媒体に記録可能である。
It should be noted that a computer can be suitably used to function as the above-described
上述の実施形態は代表的な例として説明したが、本発明の趣旨及び範囲内で、多くの変更及び置換ができることは当業者に明らかである。したがって、本発明は、上述の実施形態によって制限するものと解するべきではなく、特許請求の範囲から逸脱することなく、種々の変形や変更が可能である。例えば、実施形態に記載の複数の構成ブロックを1つに組み合わせたり、あるいは1つの構成ブロックを分割したりすることが可能である。 Although the above embodiment has been described as a representative example, it will be apparent to those skilled in the art that many changes and substitutions can be made within the spirit and scope of the invention. Therefore, the present invention should not be construed as being limited by the above-described embodiments, and various modifications and changes can be made without departing from the scope of the claims. For example, a plurality of constituent blocks described in the embodiments can be combined into one, or one constituent block can be divided.
1,2,3 符号化装置
4,5,6 復号装置
11 ブロック分割部
12 減算部
13 変換部
14 カーブフィッティング部
15 逆カーブフィッティング部
16 逆変換部
17 加算部
18 記憶部
19 予測部
20 エントロピー符号化部
21 量子化部
22 逆量子化部
23 選択部
31 エントロピー復号部
32 逆カーブフィッティング部
33 逆変換部
34 加算部
35 記憶部
36 予測部
37 逆量子化部
141 一次元配列データ生成部
142 フィッティング部
1, 2, 3
Claims (10)
入力画像を複数のブロックに分割してブロック画像を生成するブロック分割部と、
前記ブロック画像を予測した予測ブロック画像を生成する予測部と、
前記ブロック画像と前記予測ブロック画像との差を示す残差ブロック画像に対して変換処理を行い、ブロックごとの変換係数を算出する変換部と、
前記ブロックごとの変換係数の一次元配列を曲線近似し、近似曲線を規定するためのフィッティング関数の係数を含むフィッティング関数情報を生成するカーブフィッティング部と、
前記フィッティング関数情報、及び前記予測ブロック画像の予測に必要な予測情報のエントロピー符号化を行ってビットストリームを生成するエントロピー符号化部と、
前記フィッティング関数情報に基づいて前記近似曲線を求め、該近似曲線によって規定されるデータを二次元に配列して前記ブロックごとの変換係数を復元する逆カーブフィッティング部と、
前記復元された変換係数に対して逆変換を行い、前記残差ブロック画像を復元する逆変換部と、を備え、
前記予測部は、前記復元された残差ブロック画像及び前記予測ブロック画像を加算した復号済みの画像を参照して前記予測ブロック画像を生成することを特徴とする符号化装置。 An encoding device that encodes using a fitting function,
A block dividing unit that generates a block image by dividing an input image into a plurality of blocks;
A prediction unit that generates a predicted block image obtained by predicting the block image;
A transform unit that performs a transform process on a residual block image indicating a difference between the block image and the predicted block image, and calculates a transform coefficient for each block;
A curve fitting unit that approximates a one-dimensional array of transform coefficients for each block and generates fitting function information including a coefficient of a fitting function for defining an approximate curve;
An entropy encoding unit that performs entropy encoding of the fitting information and prediction information necessary for prediction of the prediction block image to generate a bitstream;
An inverse curve fitting unit that obtains the approximate curve based on the fitting function information, arranges data defined by the approximate curve in two dimensions, and restores the conversion coefficient for each block;
An inverse transform unit that performs inverse transform on the restored transform coefficient and restores the residual block image,
The encoding device, wherein the prediction unit generates the prediction block image with reference to the decoded residual block image and a decoded image obtained by adding the prediction block image.
前記変換係数をブロックごとに所定の方向にスキャンして一次元配列化した一次元配列データを生成する一次元配列データ生成部と、
前記一次元配列データに対して1以上のフィッティング関数を用いて曲線近似するフィッティング部と、
を備えることを特徴とする、請求項1に記載の符号化装置。 The curve fitting portion is
A one-dimensional array data generation unit that generates one-dimensional array data in which the transform coefficient is scanned in a predetermined direction for each block to form a one-dimensional array;
A fitting unit that approximates the curve using one or more fitting functions for the one-dimensional array data;
The encoding device according to claim 1, comprising:
前記変換係数をブロックごとに複数の方向にスキャンして、一次元配列化した複数の一次元配列データを生成する一次元配列データ生成部と、
前記複数の一次元配列データに対して、それぞれ1以上のフィッティング関数を用いて曲線近似するフィッティング部と、を備え、
前記エントロピー符号化部は、前記スキャンの方向ごとに前記フィッティング関数情報のエントロピー符号化を行い、コスト値に基づく最適なスキャン方向を決定し、該スキャン方向で生成されたビットストリーム、及び該スキャン方向を識別するための識別情報を出力することを特徴とする、請求項1に記載の符号化装置。 The curve fitting portion is
A one-dimensional array data generation unit that scans the transform coefficient in a plurality of directions for each block and generates a plurality of one-dimensional array data that is one-dimensionally arranged;
A fitting unit that approximates a curve using one or more fitting functions for each of the plurality of one-dimensional array data,
The entropy encoding unit performs entropy encoding of the fitting function information for each scan direction, determines an optimal scan direction based on a cost value, a bitstream generated in the scan direction, and the scan direction The encoding apparatus according to claim 1, wherein identification information for identifying is output.
前記量子化係数に量子化ステップを乗ずることにより前記ブロックごとの変換係数を復元する逆量子化部と、を更に備え、
前記逆変換部は、前記逆量子化部及び前記逆カーブフィッティング部により復元された変換係数に対して逆変換を行い、前記残差ブロック画像を復元し、
前記エントロピー符号化部は、前記フィッティング関数情報及び前記量子化係数のエントロピー符号化を行い、コスト値に基づき符号化効率が優れているほうのビットストリームを出力することを特徴とする、請求項1から3のいずれか一項に記載の符号化装置。 A quantization unit that generates a quantization coefficient by dividing the transform coefficient for each block by a quantization step;
An inverse quantization unit that restores the transform coefficient for each block by multiplying the quantization coefficient by a quantization step;
The inverse transform unit performs an inverse transform on the transform coefficients restored by the inverse quantization unit and the inverse curve fitting unit, and restores the residual block image,
The entropy coding unit performs entropy coding of the fitting function information and the quantized coefficient, and outputs a bitstream having better coding efficiency based on a cost value. To 4. The encoding device according to any one of claims 1 to 3.
前記カーブフィッティング部は、前記量子化部により除算された変換係数の一次元配列を1以上のフィッティング関数を用いて曲線近似し、該フィッティング関数の係数を含むフィッティング関数情報を生成し、
前記逆カーブフィッティング部は、前記フィッティング関数情報に基づいて前記近似曲線を求め、該近似曲線によって規定されるデータを二次元に配列して前記量子化部により除算された変換係数を復元し、
前記逆カーブフィッティング部により生成された変換係数に量子化ステップを乗ずることにより前記ブロックごとの変換係数を復元する逆量子化部を更に備え、
前記逆変換部は、前記逆量子化部により復元された変換係数に対して逆変換を行い、前記残差ブロック画像を復元することを特徴とする、請求項1から3のいずれか一項に記載の符号化装置。 A quantization unit that divides the transform coefficient for each block by a quantization step;
The curve fitting unit approximates a one-dimensional array of transform coefficients divided by the quantization unit using one or more fitting functions, and generates fitting function information including the coefficients of the fitting function;
The inverse curve fitting unit obtains the approximate curve based on the fitting function information, arranges data defined by the approximate curve in two dimensions, and restores the transform coefficient divided by the quantization unit,
Further comprising an inverse quantization unit that restores the transform coefficient for each block by multiplying the transform coefficient generated by the inverse curve fitting unit by a quantization step;
4. The method according to claim 1, wherein the inverse transform unit performs inverse transform on the transform coefficient restored by the inverse quantization unit to restore the residual block image. 5. The encoding device described.
前記ビットストリームを復号して、近似曲線を規定するためのフィッティング関数の係数を含むフィッティング関数情報、及びブロック画像の予測に必要な予測情報を取得するエントロピー復号部と、
前記フィッティング関数情報に基づいて近似曲線を求め、該近似曲線によって規定されるデータを二次元に配列しブロックごとの変換係数を復元する逆カーブフィッティング部と、
前記変換係数に対して逆変換を行って残差ブロック画像を復元する逆変換部と、
前記予測情報に従って前記ブロック画像を予測した予測ブロック画像を生成する予測部と、
前記残差ブロック画像及び前記予測ブロック画像を加算して復号ブロック画像を生成する加算部と、を備え、
前記予測部は、復号済みの前記復号ブロック画像を参照して前記予測ブロック画像を生成することを特徴とする復号装置。 A decoding device for decoding a bitstream encoded using a fitting function,
An entropy decoding unit that decodes the bitstream to obtain fitting function information including coefficients of a fitting function for defining an approximate curve, and prediction information necessary for prediction of a block image;
An approximate curve is obtained based on the fitting function information, and an inverse curve fitting unit that arranges data defined by the approximate curve in two dimensions and restores a conversion coefficient for each block;
An inverse transform unit that performs an inverse transform on the transform coefficient to restore a residual block image;
A prediction unit that generates a predicted block image obtained by predicting the block image according to the prediction information;
An addition unit that adds the residual block image and the prediction block image to generate a decoded block image, and
The prediction device generates the prediction block image with reference to the decoded block image that has been decoded.
前記量子化係数に量子化ステップを乗ずることによりブロックごとの変換係数を復元する逆量子化部を更に備え、
前記逆変換部は、前記逆量子化部又は前記逆カーブフィッティング部により復元された変換係数に対して逆変換を行い、前記残差ブロック画像を復元することを特徴とする、請求項6に記載の復号装置。 The entropy decoding unit further acquires a quantization coefficient,
A dequantization unit that restores a transform coefficient for each block by multiplying the quantization coefficient by a quantization step;
The inverse transform unit performs the inverse transform on the transform coefficient restored by the inverse quantization unit or the inverse curve fitting unit, and restores the residual block image. Decoding device.
前記逆変換部は、前記第2の変換係数に対して逆変換を行って前記残差ブロック画像を復元することを特徴とする、請求項6に記載の復号装置。 An inverse quantization unit that restores the second transform coefficient for each block by multiplying the first transform coefficient restored by the inverse curve fitting unit by a quantization step;
The decoding device according to claim 6, wherein the inverse transform unit performs the inverse transform on the second transform coefficient to restore the residual block image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015237822A JP6557589B2 (en) | 2015-12-04 | 2015-12-04 | Encoding device, decoding device, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015237822A JP6557589B2 (en) | 2015-12-04 | 2015-12-04 | Encoding device, decoding device, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017103722A JP2017103722A (en) | 2017-06-08 |
JP6557589B2 true JP6557589B2 (en) | 2019-08-07 |
Family
ID=59015753
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015237822A Expired - Fee Related JP6557589B2 (en) | 2015-12-04 | 2015-12-04 | Encoding device, decoding device, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6557589B2 (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1998054841A1 (en) * | 1997-05-30 | 1998-12-03 | Kubota Systems Inc. | Data compressing device by permutation encoding and decompressing device |
US7460722B2 (en) * | 2002-01-11 | 2008-12-02 | Canon Kabushiki Kaisha | Encoding of digital data with determination of sample path |
JP2005117196A (en) * | 2003-10-03 | 2005-04-28 | Matsushita Electric Ind Co Ltd | Video encoding method |
EP2472872A1 (en) * | 2009-08-26 | 2012-07-04 | Sharp Kabushiki Kaisha | Image encoding device and image decoding device |
-
2015
- 2015-12-04 JP JP2015237822A patent/JP6557589B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2017103722A (en) | 2017-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102426721B1 (en) | Methods of determination for chroma quantization parameter and apparatuses for using the same | |
JP5957561B2 (en) | Video encoding / decoding method and apparatus using large size transform unit | |
RU2551794C2 (en) | Method and apparatus for image encoding and decoding using large transformation unit | |
Liu et al. | CNN-based DCT-like transform for image compression | |
EP2755388A1 (en) | Method, device, and program for encoding and decoding image | |
JP2014195145A (en) | Moving image encoding device, moving image decoding device, moving image encoding method, moving image decoding method, and program | |
JP2013524679A (en) | Video encoding method, decoding method and apparatus using adaptive coefficient scan order | |
WO2019189904A1 (en) | Intra prediction device, image encoding device, image decoding device, and program | |
JP6708211B2 (en) | Moving picture coding apparatus, moving picture coding method, and recording medium storing moving picture coding program | |
KR20230108286A (en) | Video encoding using preprocessing | |
JP2014007469A (en) | Image coding device and image coding method | |
WO2012008389A1 (en) | Image processing device, image processing method, and program | |
KR102150089B1 (en) | Apparatus and method for encoding and decoding to image of ultra high definition resoutltion | |
JP6597385B2 (en) | Encoding device and program, decoding device and program, and distribution system | |
JP6681731B2 (en) | Encoding device, decoding device, and program | |
JP6557589B2 (en) | Encoding device, decoding device, and program | |
CN111684798A (en) | Data encoding and decoding | |
JP6564315B2 (en) | Encoding device, decoding device, and program | |
JP6727900B2 (en) | Encoding device, decoding device, and program | |
JPWO2015045301A1 (en) | Video encoding apparatus, video encoding method, and video encoding program | |
JP2007266861A (en) | Image encoding device | |
JP6402520B2 (en) | Encoding apparatus, method, program, and apparatus | |
JP7393819B2 (en) | Image processing system, encoding device, decoding device, image processing method, image processing program, encoding method, encoding program, decoding method, and decoding program | |
EP2405656B1 (en) | Methods and devices for data compression using adaptive reconstruction levels | |
JP6846134B2 (en) | Video coding device and video decoding device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20181029 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20190611 |
|
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: 20190618 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190712 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6557589 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |