JP6557589B2 - Encoding device, decoding device, and program - Google Patents

Encoding device, decoding device, and program Download PDF

Info

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
Application number
JP2015237822A
Other languages
Japanese (ja)
Other versions
JP2017103722A (en
Inventor
慎平 根本
慎平 根本
康孝 松尾
康孝 松尾
境田 慎一
慎一 境田
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.)
Japan Broadcasting Corp
Original Assignee
Japan Broadcasting 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 Japan Broadcasting Corp filed Critical Japan Broadcasting Corp
Priority to JP2015237822A priority Critical patent/JP6557589B2/en
Publication of JP2017103722A publication Critical patent/JP2017103722A/en
Application granted granted Critical
Publication of JP6557589B2 publication Critical patent/JP6557589B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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.

大久保榮監修、「インプレス標準教科書シリーズ H.265/HEVC教科書」、株式会社インプレスジャパン、2013年10月21日Supervised by Satoshi Okubo, “Impress Standard Textbook Series H.265 / HEVC Textbook”, Impress Japan Co., Ltd., October 21, 2013

従来の符号化方式では量子化によってデータ圧縮が行える半面、低周波成分側の非ゼロ数値データは圧縮しきれず効率化に限界がある。また、連続する非ゼロ数値データが大きな計数値だと、それに連動してデータ量が増加してしまう。さらに、高圧縮率を目指すために高周波成分側にゼロを連続させるような粗い量子化をすると、主観的な画質が著しく損なわれてしまうという課題があった。   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.

本発明の第1の実施形態に係る符号化装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the encoding apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る符号化装置におけるカーブフィッティング部の第1の構成例を示すブロック図である。It is a block diagram which shows the 1st structural example of the curve fitting part in the encoding apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る符号化装置におけるカーブフィッティング部によるスキャン方向の例を示す図である。It is a figure which shows the example of the scanning direction by the curve fitting part in the encoding apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る符号化装置におけるカーブフィッティング部によるカーブフィッティングの一例を示す図である。It is a figure which shows an example of the curve fitting by the curve fitting part in the encoding apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る符号化装置におけるカーブフィッティング部の第2の構成例を示すブロック図である。It is a block diagram which shows the 2nd structural example of the curve fitting part in the encoding apparatus which concerns on the 1st Embodiment of this invention. 本発明の第2の実施形態に係る符号化装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the encoding apparatus which concerns on the 2nd Embodiment of this invention. 本発明の第3の実施形態に係る符号化装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the encoding apparatus which concerns on the 3rd Embodiment of this invention. 本発明の第4の実施形態に係る復号装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the decoding apparatus which concerns on the 4th Embodiment of this invention. 本発明の第4の実施形態に係る復号装置における逆カーブフィッティング部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the reverse curve fitting part in the decoding apparatus which concerns on the 4th Embodiment of this invention. 本発明の第5の実施形態に係る復号装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the decoding apparatus which concerns on the 5th Embodiment of this invention. 本発明の第6の実施形態に係る復号装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the decoding apparatus which concerns on the 6th Embodiment of this invention.

以下、本発明の実施形態について、符号化装置について説明した後、復号装置について説明する。   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 block dividing unit 11, a subtracting unit 12, a converting unit 13, a curve fitting unit 14, an inverse curve fitting unit 15, an inverse converting unit 16, an adding unit 17, A storage unit 18, a prediction unit 19, and an entropy encoding unit 20 are provided.

ブロック分割部11は、入力画像を複数のブロックに分割し、ブロック画像を減算部12及び予測部19に出力する。ブロックのサイズは可変サイズであってもよく、例えば32×32画素、16×16画素、8×8画素、又は4×4画素とする。   The block division unit 11 divides the input image into a plurality of blocks, and outputs the block image to the subtraction unit 12 and the prediction unit 19. The block size may be variable, for example, 32 × 32 pixels, 16 × 16 pixels, 8 × 8 pixels, or 4 × 4 pixels.

減算部12は、ブロック分割部11から入力されたブロック画像の各画素値から、後述する予測部19から入力された予測ブロック画像の各画素値を減じた残差ブロック画像を生成し、変換部13に出力する。   The subtraction unit 12 generates a residual block image obtained by subtracting each pixel value of the prediction block image input from the prediction unit 19 described later from each pixel value of the block image input from the block division unit 11, and a conversion unit 13 is output.

変換部13は、減算部12から入力された残差ブロック画像に対して直交変換などの変換処理を行って変換係数を算出し、ブロックごとの変換係数をカーブフィッティング部14に出力する。なお、変換部13は直交変換以外の変換を行ってもよい。   The transform unit 13 performs transform processing such as orthogonal transform on the residual block image input from the subtraction unit 12 to calculate transform coefficients, and outputs the transform coefficients for each block to the curve fitting unit 14. Note that the conversion unit 13 may perform conversion other than orthogonal conversion.

カーブフィッティング部14は、変換部13から入力されたブロックごとの変換係数の一次元配列を1以上のフィッティング関数を用いて曲線近似する。そして、近似曲線を規定するための1以上のフィッティング関数の係数を含む情報であるフィッティング関数情報を逆カーブフィッティング部15及びエントロピー符号化部20に出力する。   The curve fitting unit 14 approximates a one-dimensional array of transform coefficients for each block input from the transform unit 13 using one or more fitting functions. Then, fitting function information which is information including one or more fitting function coefficients for defining the approximate curve is output to the inverse curve fitting unit 15 and the entropy coding unit 20.

図2に、カーブフィッティング部14の第1の構成例を示す。図2に示すカーブフィッティング部14は、一次元配列データ生成部141と、フィッティング部142とを備える。   FIG. 2 shows a first configuration example of the curve fitting unit 14. The curve fitting unit 14 illustrated in FIG. 2 includes a one-dimensional array data generation unit 141 and a fitting unit 142.

一次元配列データ生成部141は、変換部13から入力された変換係数をブロックごとに所定の方向にスキャンして一次元配列化した一次元配列データを生成し、フィッティング部142に出力する。スキャンの読込み順は、例えば視覚的に重要な成分から順番に配置するような一次元配列データにすると、その範囲にフィッティングを集中させることができるため、フィッティング部142で視覚特性を考慮したフィッティングが可能となる。ブロック画像のサイズが8×8画素である場合、一次元配列データ生成部141から64個の変換係数がスキャン順にフィッティング部142に入力される。   The one-dimensional array data generation unit 141 generates one-dimensional array data obtained by scanning the conversion coefficient input from the conversion unit 13 in a predetermined direction for each block to form a one-dimensional array, and outputs the generated one-dimensional array data to the fitting unit 142. If the scan reading order is, for example, one-dimensional array data that is arranged in order from visually important components, the fitting can be concentrated in that range. It becomes possible. When the size of the block image is 8 × 8 pixels, 64 transform coefficients are input from the one-dimensional array data generation unit 141 to the fitting unit 142 in the scan order.

変換部13が離散コサイン変換のような直交変換を行った場合、自然映像では一般的に、低周波成分ほど値が大きく、高周波成分ほど値が小さくなる。そのため変換係数が低周波数成分から高周波数成分まで順方向、もしくは逆方向に漸進的に変化するような順番にスキャンすると、フィッティング関数の数を少なくすることができる。このようなスキャン方法は、ITU−T H.264/MPEG−4 AVCで使用されるジグザグスキャンや、ITU−T H.265/MPEG−H HEVCで使用される斜め方向スキャンなど、任意のスキャン方法を用いることができる。   When the transform unit 13 performs an orthogonal transform such as a discrete cosine transform, a natural image generally has a larger value for a low frequency component and a smaller value for a high frequency component. Therefore, the number of fitting functions can be reduced if scanning is performed in such an order that the transform coefficient gradually changes in the forward direction or the reverse direction from the low frequency component to the high frequency component. Such a scanning method is described in ITU-T H.264. Zigzag scanning used in H.264 / MPEG-4 AVC and ITU-T H.264. Any scanning method can be used, such as the diagonal scan used in H.265 / MPEG-H HEVC.

図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 data generation unit 141 when the size of the block image is 8 × 8 pixels. 3A and 3B show the zigzag scan direction, FIGS. 3C and 3D show the oblique scan direction, and FIGS. 3E and 3F are 4 × 4. The scan direction of the oblique scan for each pixel sub-block is shown.

フィッティング部142は、一次元配列データ生成部141から入力された一次元配列データに対して1以上のフィッティング関数を用いてカーブフィッティングを行うことにより、この変換係数を近似する近似曲線を生成する。そしてフィッティング関数情報をエントロピー符号化部20に出力する。カーブフィッティングは、例えば最小二乗法により行うことができる。   The fitting unit 142 generates an approximate curve that approximates the conversion coefficient by performing curve fitting on the one-dimensional array data input from the one-dimensional array data generating unit 141 using one or more fitting functions. Then, the fitting function information is output to the entropy encoding unit 20. The curve fitting can be performed by, for example, the least square method.

カーブフィッティングに複数のフィッティング関数を用いた場合には、フィッティング関数情報にフィッティング関数の種類も含める。また、フィッティング関数情報にフィッティング関数の数を含めてもよい。また、カーブフィッティングにどのフィッティング関数を使用するかの情報(関数の種類、関数の数)を予め符号化装置と復号装置との間で共有しておき、フィッティング関数情報をフィッティング関数の係数のみとして、圧縮効率を上げるようにしてもよい。フィッティング関数の数が少数になるほど符号化劣化が激しいが高圧縮となり、フィッティング関数の数が多数になるほど符号化劣化を防ぐがデータ量は多くなる。   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.

Figure 0006557589
Figure 0006557589

図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 data generation unit 141, and the vertical axis represents the transform coefficients. Although the conversion coefficient is a negative value, only a positive value is used here for easy understanding.

カーブフィッティングでは、目的に合わせたフィッティングが可能である。例えば前段で離散コサイン変換を行った場合について考えた場合、ジグザグスキャンのようにスキャン要素が低周波成分側から高周波成分側へ分離ができるようなスキャンを行う際には、視覚特性上重要となる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 curve fitting unit 15 obtains an approximate curve based on the fitting function information input from the curve fitting unit 14. Then, the data defined by the approximate curve is scanned in the opposite direction to that of the one-dimensional array data generation unit 141 and arranged two-dimensionally to restore the transform coefficients for each block and output to the inverse transform unit 16.

逆変換部16は、逆カーブフィッティング部15から入力された変換係数に対して、変換部13で行った変換の逆変換を行って残差ブロック画像を復元し、加算部17に出力する。例えば、変換部13が離散コサイン変換を行った場合には、逆変換部16は逆離散コサイン変換を行う。   The inverse transform unit 16 performs the inverse transform of the transform performed by the transform unit 13 on the transform coefficient input from the inverse curve fitting unit 15 to restore the residual block image, and outputs the residual block image to the adder unit 17. For example, when the transform unit 13 performs discrete cosine transform, the inverse transform unit 16 performs inverse discrete cosine transform.

加算部17は、逆変換部16から入力された残差ブロック画像と、予測部19から入力された予測ブロック画像の各画素値とを加算し、その結果を復号ブロック画像として記憶部18に出力する。   The addition unit 17 adds the residual block image input from the inverse conversion unit 16 and each pixel value of the prediction block image input from the prediction unit 19 and outputs the result to the storage unit 18 as a decoded block image. To do.

記憶部18は、加算部17から入力された復号ブロック画像を記憶するメモリである。   The storage unit 18 is a memory that stores the decoded block image input from the addition unit 17.

予測部19は、記憶部18に記憶された復号済みの復号画像を参照して、対象ブロック内の画素値を予測して予測ブロック画像を生成し、減算部12及び加算部17に出力する。また、予測ブロック画像の生成に必要な情報である予測情報(動きベクトルやイントラ予測モード)をエントロピー符号化部20に出力する。   The prediction unit 19 refers to the decoded decoded image stored in the storage unit 18, predicts the pixel value in the target block, generates a predicted block image, and outputs the prediction block image to the subtraction unit 12 and the addition unit 17. In addition, prediction information (motion vector or intra prediction mode) that is information necessary for generating a prediction block image is output to the entropy encoding unit 20.

エントロピー符号化部20は、カーブフィッティング部14から入力されたフィッティング関数情報、及び予測部19から入力された予測情報に対して、エントロピー符号化を行い、データ圧縮を行ってビットストリームを生成し、符号化装置1の外部に出力する。エントロピー符号化は、0次指数ゴロム符号やCABC(Context-Adaptive Binary Arithmetic Coding;コンテキスト適応型2値算術符号)など、任意のエントロピー符号化方式を用いることができる。   The entropy encoding unit 20 performs entropy encoding on the fitting function information input from the curve fitting unit 14 and the prediction information input from the prediction unit 19, performs data compression, and generates a bitstream. Output to the outside of the encoding device 1. For entropy coding, any entropy coding scheme such as 0th-order exponent Golomb code or CABC (Context-Adaptive Binary Arithmetic Coding) can be used.

(カーブフィッティングの変形例)
つぎに、カーブフィッティングの変形例について説明する。図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 curve fitting unit 14. The curve fitting unit 14 illustrated in FIG. 5 includes a one-dimensional array data generation unit 141 and a fitting unit 142.

変形例では、一次元配列データ生成部141は、変換部13から入力された変換係数を、ブロックごとに複数の方向にスキャンして、一次元配列化した複数の一次元配列データを生成し、フィッティング部142に出力する。また、一次元配列データ生成部141は、スキャンした方向を識別するための情報であるスキャン方向識別情報をエントロピー符号化部20に出力する。   In the modification, the one-dimensional array data generation unit 141 scans the conversion coefficient input from the conversion unit 13 in a plurality of directions for each block, and generates a plurality of one-dimensional array data in a one-dimensional array. The data is output to the fitting unit 142. In addition, the one-dimensional array data generation unit 141 outputs scan direction identification information, which is information for identifying the scanned direction, to the entropy encoding unit 20.

フィッティング部142は、一次元配列データ生成部141から入力された複数の一次元配列データに対して、それぞれ1以上のフィッティング関数を用いてカーブフィッティングを行うことにより、この変換係数を近似する複数の近似曲線を生成する。そして、フィッティング関数情報を逆カーブフィッティング部15及びエントロピー符号化部20に出力する。   The fitting unit 142 performs a curve fitting on each of the plurality of one-dimensional array data input from the one-dimensional array data generation unit 141 using one or more fitting functions, thereby approximating a plurality of conversion coefficients. Generate an approximate curve. Then, the fitting function information is output to the inverse curve fitting unit 15 and the entropy coding unit 20.

この場合、エントロピー符号化部20は、一次元配列データ生成部141によるスキャンの方向ごとに、フィッティング関数情報及び予測情報を入力する。そして、フィッティング関数情報及び予測情報に対して、スキャン方向ごとにエントロピー符号化を行ってビットストリームを生成し、それぞれのコスト値を算出する。ここで、コスト値とは、符号化データ情報量及び歪み量からなるコスト関数により決定される値であり、コスト値に基づき符号化効率を評価することができる。仮にコスト値が小さいほど符号化効率が優れているとみなせるようなコスト関数を適用するとすれば、コスト値を最小化することでレートと歪みに基づいた最適化処理を実現することができる。エントロピー符号化部20は、コスト値に基づく最適なスキャン方向を決定し、該スキャン方向で生成されたビットストリーム、及び該スキャン方向を識別するための識別情報を符号化装置1の外部に出力する。   In this case, the entropy encoding unit 20 inputs fitting function information and prediction information for each direction of scanning by the one-dimensional array data generation unit 141. Then, entropy coding is performed for each fitting direction on the fitting function information and the prediction information to generate a bit stream, and the respective cost values are calculated. Here, the cost value is a value determined by a cost function including the encoded data information amount and the distortion amount, and the encoding efficiency can be evaluated based on the cost value. If a cost function that can be considered to have better coding efficiency as the cost value is smaller is applied, optimization processing based on rate and distortion can be realized by minimizing the cost value. The entropy encoding unit 20 determines an optimal scan direction based on the cost value, and outputs a bitstream generated in the scan direction and identification information for identifying the scan direction to the outside of the encoding device 1. .

上述したように、符号化装置1は、カーブフィッティング部14により、ブロックごとの変換係数の一次元配列を1以上のフィッティング関数を用いて曲線近似し、フィッティング関数情報を出力する。そのため、符号化装置1は、符号化するデータ量を従来よりも減らすことができ、符号化効率を改善することが可能となる。また、低周波成分側の非ゼロ数値データの大きさや個数の影響を少なくした圧縮が可能となり、また高周波成分側の係数値データについても、ベースラインとなるフィッティング関数を使うことで非ゼロ数値データを連続して残すことが可能となる。その結果、ゼロ数値を連続させるような従来の量子化処理による符号化劣化を改善することができるようになる。   As described above, the encoding apparatus 1 uses the curve fitting unit 14 to approximate a one-dimensional array of transform coefficients for each block using one or more fitting functions, and outputs fitting function information. Therefore, the encoding device 1 can reduce the amount of data to be encoded as compared with the conventional case, and can improve the encoding efficiency. In addition, it is possible to reduce the influence of the size and number of non-zero numerical data on the low frequency component side, and the coefficient value data on the high frequency component side can also be compressed by using a fitting function as a baseline. Can be left continuously. As a result, it is possible to improve the encoding deterioration due to the conventional quantization process in which zero values are continued.

また、符号化装置1は、カーブフィッティング部14により、変換係数を複数の方向にスキャンして複数のフィッティング関数情報を生成し、エントロピー符号化部20により、スキャンの方向ごとにフィッティング関数情報のエントロピー符号化を行い、コスト値に基づく最適化処理を行うようにしてもよい。このようにブロックごとに最適化処理を行うことにより、更に符号化劣化を改善することができるようになる。   Also, the encoding device 1 generates a plurality of fitting function information by scanning the transform coefficient in a plurality of directions by the curve fitting unit 14, and the entropy of the fitting function information for each scanning direction by the entropy encoding unit 20. Encoding may be performed, and optimization processing based on the cost value may be performed. By performing the optimization process for each block in this way, it is possible to further improve the encoding deterioration.

(第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 block dividing unit 11, a subtracting unit 12, a converting unit 13, a curve fitting unit 14, an inverse curve fitting unit 15, an inverse converting unit 16, an adding unit 17, A storage unit 18, a prediction unit 19, an entropy encoding unit 20, a quantization unit 21, an inverse quantization unit 22, and a selection unit 23 are provided. The encoding device 2 of the second embodiment is different from the encoding device 1 of the first embodiment in that it further includes a quantization unit 21, an inverse quantization unit 22, and a selection unit 23. Since other configurations are the same as those in the first embodiment, description thereof will be omitted as appropriate.

選択部23は、変換部13から入力されたブロックごとの変換係数を、カーブフィッティング部14又は量子化部21に出力する。   The selection unit 23 outputs the transform coefficient for each block input from the transform unit 13 to the curve fitting unit 14 or the quantization unit 21.

量子化部21は、変換部13から入力されたブロックごとの変換係数を量子化ステップで除算して量子化することにより量子化係数を生成し、逆量子化部22及びエントロピー符号化部20に出力する。量子化ステップは、変換係数ごとに変化させてもよい。   The quantizing unit 21 divides the transform coefficient for each block input from the transform unit 13 by the quantization step and quantizes the quantized coefficient to generate a quantized coefficient, which is transmitted to the inverse quantizing unit 22 and the entropy coding unit 20. Output. The quantization step may be changed for each transform coefficient.

逆量子化部22は、量子化部21から入力された量子化係数に対し、量子化ステップを乗ずることによりブロックごとの変換係数を復元し、逆変換部16に出力する。   The inverse quantization unit 22 restores the transform coefficient for each block by multiplying the quantization coefficient input from the quantization unit 21 by a quantization step, and outputs the transform coefficient to the inverse transform unit 16.

逆変換部16は、逆量子化部22及び逆カーブフィッティング部15により復元された変換係数に対して、それぞれ変換部13で行った変換の逆変換を行って残差ブロック画像を復元する。   The inverse transformation unit 16 restores the residual block image by performing inverse transformation of the transformation performed by the transformation unit 13 on the transformation coefficient restored by the inverse quantization unit 22 and the inverse curve fitting unit 15.

エントロピー符号化部20は、カーブフィッティング部14から入力されたフィッティング関数情報、量子化部21から入力された量子化係数、及び予測部19から入力された予測情報に対して、任意のエントロピー符号化を適用し、データ圧縮を行う。そして、フィッティング関数情報及び量子化係数のエントロピー符号化を行い、コスト値に基づき符号化効率が優れているほうのビットストリームを符号化装置2の外部に出力する。また、フィッティング関数情報と量子化係数のいずれを伝送したか(カーブフィッティング部14による処理と量子化部21による処理のいずれを選択したか)を識別するための識別情報を出力する。   The entropy encoding unit 20 performs arbitrary entropy encoding on the fitting function information input from the curve fitting unit 14, the quantization coefficient input from the quantization unit 21, and the prediction information input from the prediction unit 19. To compress data. Then, entropy coding of the fitting function information and the quantized coefficient is performed, and the bit stream having the better coding efficiency based on the cost value is output to the outside of the coding device 2. Also, identification information for identifying which one of the fitting function information and the quantization coefficient has been transmitted (whether the process by the curve fitting unit 14 or the process by the quantization unit 21 has been selected) is output.

上述したように、符号化装置2は、同一の入力画像に対して、カーブフィッティング部14によるフィッティング処理と、量子化部21による量子化処理をそれぞれ行う。そのため、従来の量子化処理と、本発明に適用されるフィッティング処理とを比較して符号化効率が優れているほうを選択することができ、更に符号化劣化を改善することができるようになる。   As described above, the encoding device 2 performs the fitting process by the curve fitting unit 14 and the quantization process by the quantization unit 21 on the same input image. For this reason, it is possible to select the one having the better coding efficiency by comparing the conventional quantization process and the fitting process applied to the present invention, and further improve the coding deterioration. .

(第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 block division unit 11, a subtraction unit 12, a conversion unit 13, a curve fitting unit 14, an inverse curve fitting unit 15, an inverse conversion unit 16, an addition unit 17, A storage unit 18, a prediction unit 19, an entropy encoding unit 20, a quantization unit 21, and an inverse quantization unit 22 are provided. The encoding device 3 of the third embodiment is different from the encoding device 1 of the first embodiment in that it includes a quantization unit 21 and an inverse quantization unit 22. Since other configurations are the same as those in the first embodiment, description thereof will be omitted as appropriate.

量子化部21は、変換部13から入力されたブロックごとの変換係数を、量子化マトリックスを用いて量子化ステップで除算して量子化することにより量子化係数を生成し、カーブフィッティング部14に出力する。   The quantization unit 21 generates a quantized coefficient by dividing the transform coefficient for each block input from the transform unit 13 by a quantization step using a quantization matrix, and generates a quantized coefficient. Output.

カーブフィッティング部14は、量子化部21から入力された量子化係数を一次元配列化したデータに1以上のフィッティング関数を用いてカーブフィッティングを適用する。そして、カーブフィッティングに用いたフィッティング関数の係数を含むフィッティング関数情報を逆カーブフィッティング部15及びエントロピー符号化部20に出力する。   The curve fitting unit 14 applies curve fitting to data obtained by one-dimensionally arraying the quantization coefficients input from the quantization unit 21 using one or more fitting functions. Then, fitting function information including the coefficient of the fitting function used for curve fitting is output to the inverse curve fitting unit 15 and the entropy coding unit 20.

逆カーブフィッティング部15は、カーブフィッティング部14から入力されたフィッティング関数情報に基づいて近似曲線を求める。そして、該近似曲線によって規定されるデータを一次元配列データ生成部141と逆方向にスキャンし二次元に配列してブロックごとの変換係数を復元し、逆量子化部22に出力する。   The inverse curve fitting unit 15 obtains an approximate curve based on the fitting function information input from the curve fitting unit 14. Then, the data defined by the approximate curve is scanned in the opposite direction to that of the one-dimensional array data generation unit 141 and arranged two-dimensionally to restore the transform coefficients for each block and output to the inverse quantization unit 22.

逆量子化部22は、逆カーブフィッティング部15から入力された変換係数に対し、量子化ステップを乗ずることによりブロックごとの変換係数を復元し、逆変換部16に出力する。   The inverse quantization unit 22 restores the transform coefficient for each block by multiplying the transform coefficient input from the inverse curve fitting unit 15 by a quantization step and outputs the transform coefficient to the inverse transform unit 16.

逆変換部16は、逆量子化部22により復元された変換係数に対して、変換部13で行った変換の逆変換を行って残差ブロック画像を復元する。   The inverse transform unit 16 restores the residual block image by performing inverse transform of the transform performed by the transform unit 13 on the transform coefficient restored by the inverse quantization unit 22.

エントロピー符号化部20は、カーブフィッティング部14から入力されたフィッティング関数情報、量子化部21から入力された量子化情報、及び予測部19から入力された予測情報に対して、任意のエントロピー符号化を適用し、データ圧縮を行ってビットストリームを外部に出力する。   The entropy encoding unit 20 performs arbitrary entropy encoding on the fitting function information input from the curve fitting unit 14, the quantization information input from the quantization unit 21, and the prediction information input from the prediction unit 19. To compress the data and output the bitstream to the outside.

上述したように、符号化装置3は、量子化部21による従来の量子化処理後にカーブフィッティング部14によるフィッティング処理を行う。一般的に量子化マトリックスを使った重み付け量子化処理を行った後の一次元配列データは、量子化処理前の一次元配列データに比べると低周波成分側の形状が滑らかになっており高周波成分側のピークが削減されているため、よりカーブフィッティングに適した形状になっていることが考えられ、少ない個数のフィッティング関数でフィッティングできると予想される。したがって、符号化装置3は、従来の量子化処理における符号化劣化を許容してでもデータ量の削減を優先させたい場合に有効である。   As described above, the encoding device 3 performs the fitting process by the curve fitting unit 14 after the conventional quantization process by the quantization unit 21. In general, one-dimensional array data after weighted quantization processing using a quantization matrix has a smoother shape on the low-frequency component side than high-frequency components compared to one-dimensional array data before quantization processing. Since the peak on the side is reduced, it is considered that the shape is more suitable for curve fitting, and it is expected that fitting can be performed with a small number of fitting functions. Therefore, the encoding device 3 is effective when it is desired to give priority to the reduction of the data amount even if the encoding deterioration in the conventional quantization process is allowed.

なお、上述した符号化装置1,2,3として機能させるためにコンピュータを好適に用いることができ、そのようなコンピュータは、符号化装置1,2,3の各機能を実現する処理内容を記述したプログラムを該コンピュータの記憶部に格納しておき、該コンピュータのCPUによってこのプログラムを読み出して実行させることで実現することができる。なお、このプログラムは、コンピュータ読取り可能な記録媒体に記録可能である。   It should be noted that a computer can be suitably used to function as the above-described encoding devices 1, 2, and 3, and such a computer describes processing contents for realizing each function of the encoding devices 1, 2, and 3. This program can be realized by storing the program in a storage unit of the computer, and reading and executing the program by the CPU of the computer. This program can be recorded on a computer-readable recording medium.

(第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 entropy decoding unit 31, an inverse curve fitting unit 32, an inverse transformation unit 33, an addition unit 34, a storage unit 35, and a prediction unit 36. The encoded data (the bit stream obtained by encoding the image conversion coefficient using the fitting function) is decoded.

エントロピー復号部31は、符号化装置1のエントロピー符号化部20と対をなし、エントロピー符号化部20で符号化されたビットストリームを復号し、近似曲線を規定するための1以上のフィッティング関数の係数を含む情報であるフィッティング関数情報、及びブロック画像の予測処理に必要な情報である予測情報を取得する。そして、フィッティング関数情報を逆カーブフィッティング部32に出力し、予測情報を予測部36に出力する。   The entropy decoding unit 31 is paired with the entropy encoding unit 20 of the encoding device 1, decodes the bitstream encoded by the entropy encoding unit 20, and includes one or more fitting functions for defining an approximate curve. Fitting function information, which is information including coefficients, and prediction information, which is information necessary for block image prediction processing, are acquired. Then, the fitting function information is output to the inverse curve fitting unit 32, and the prediction information is output to the prediction unit 36.

逆カーブフィッティング部32は、エントロピー復号部31から入力されたフィッティング関数情報に基づいて近似曲線を求める。そして、該近似曲線によって規定されるデータを二次元に配列してブロックごとの変換係数を復元し、逆変換部33に出力する。   The inverse curve fitting unit 32 obtains an approximate curve based on the fitting function information input from the entropy decoding unit 31. Then, the data defined by the approximate curve is two-dimensionally arranged to restore the transform coefficients for each block and output to the inverse transform unit 33.

図9に、逆カーブフィッティング部32の構成例を示す。図9に示す例では、逆カーブフィッティング部32は、逆フィッティング部321と、二次元配列データ生成部322とを備える。   FIG. 9 shows a configuration example of the inverse curve fitting unit 32. In the example illustrated in FIG. 9, the inverse curve fitting unit 32 includes an inverse fitting unit 321 and a two-dimensional array data generation unit 322.

逆フィッティング部321は、エントロピー復号部31から入力されたフィッティング関数情報に基づいて近似曲線を求め、二次元配列データ生成部322に出力する。   The inverse fitting unit 321 obtains an approximate curve based on the fitting function information input from the entropy decoding unit 31 and outputs the approximate curve to the two-dimensional array data generation unit 322.

二次元配列データ生成部322は、逆フィッティング部321から入力された近似曲線から、ブロック画像の画素数分の変換係数を算出する。近似曲線をy=f(x)とすると、例えばブロック画像のサイズが8×8画素である場合、f(0),f(1),・・・,f(63)が変換係数となる。そして、二次元配列データ生成部322は、符号化装置1のカーブフィッティング部14による配列変換を元に戻すように二次元に配列することでブロックごとの変換係数を復元し、逆変換部33に出力する。   The two-dimensional array data generation unit 322 calculates conversion coefficients for the number of pixels of the block image from the approximate curve input from the inverse fitting unit 321. Assuming that the approximate curve is y = f (x), for example, when the size of the block image is 8 × 8 pixels, f (0), f (1),..., F (63) are conversion coefficients. Then, the two-dimensional array data generation unit 322 restores the transform coefficient for each block by arranging in two dimensions so as to restore the array transform performed by the curve fitting unit 14 of the encoding device 1, and sends the transform coefficient to the inverse transform unit 33. Output.

二次元配列データ生成部322は、符号化装置1のカーブフィッティング部14による配列変換のスキャン方向を識別するための情報であるスキャン方向識別情報を取得した場合には、スキャン方向識別情報により識別されるスキャン方向と逆方向にスキャンして二次元に配列する。   The two-dimensional array data generation unit 322 is identified by the scan direction identification information when acquiring the scan direction identification information that is information for identifying the scan direction of the array conversion by the curve fitting unit 14 of the encoding device 1. Scan in the opposite direction to the scan direction to be arranged in two dimensions.

逆変換部33は、逆カーブフィッティング部32から入力された変換係数に対して逆変換を行って残差ブロック画像を復元し、加算部34に出力する。逆変換は符号化装置1の逆変換部16と同じ処理である。   The inverse transform unit 33 performs inverse transform on the transform coefficient input from the inverse curve fitting unit 32 to restore a residual block image, and outputs the residual block image to the adder 34. Inverse transform is the same processing as the inverse transform unit 16 of the encoding device 1.

加算部34は、逆変換部33から入力された残差ブロック画像と、予測部36から入力された予測ブロック画像の各画素値とを加算し、その結果を復号ブロック画像として記憶部35、及び復号装置4の外部に出力する。   The addition unit 34 adds the residual block image input from the inverse conversion unit 33 and each pixel value of the prediction block image input from the prediction unit 36, and stores the result as a decoded block image in the storage unit 35, and Output to the outside of the decoding device 4.

記憶部35は、加算部34から入力された復号ブロック画像を記憶するメモリである。   The storage unit 35 is a memory that stores the decoded block image input from the addition unit 34.

予測部36は、記憶部35に記憶された復号済みの復号ブロック画像を参照し、エントロピー復号部31から入力された予測情報に従って予測処理を行って予測ブロック画像を生成し、加算部34に出力する。   The prediction unit 36 refers to the decoded decoded block image stored in the storage unit 35, performs prediction processing according to the prediction information input from the entropy decoding unit 31, generates a predicted block image, and outputs the prediction block image to the addition unit 34. To do.

上述したように、復号装置4は、逆カーブフィッティング部32により、フィッティング関数情報に基づいて近似曲線を求め、該近似曲線によって規定されるデータを二次元に配列してブロックごとの変換係数を復元する。フィッティング関数を用いたフィッティング処理を行うことにより、量子化による符号化劣化を改善することができるようになる。   As described above, the decoding device 4 uses the inverse curve fitting unit 32 to obtain an approximate curve based on the fitting function information, and two-dimensionally arranges data defined by the approximate curve to restore transform coefficients for each block. To do. By performing the fitting process using the fitting function, it is possible to improve the coding deterioration due to quantization.

(第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 entropy decoding unit 31, an inverse curve fitting unit 32, an inverse transform unit 33, an addition unit 34, a storage unit 35, a prediction unit 36, an inverse quantization unit 37, And a selector 38 for decoding the data encoded by the encoding device 2. The decoding device 5 according to the fifth embodiment is different from the decoding device 4 according to the fourth embodiment in that an inverse quantization unit 37 is further provided in parallel with the inverse curve fitting unit 32. Since other configurations are the same as those in the fourth embodiment, description thereof will be omitted as appropriate.

エントロピー復号部31は、符号化装置2のエントロピー符号化部20と対をなし、エントロピー符号化部20で圧縮されたデータを復号し、フィッティング関数情報、量子化係数、及び予測情報を取得する。そして、フィッティング関数情報を逆カーブフィッティング部32に出力し、量子化係数を逆量子化部37に出力し、予測情報を予測部36に出力する。   The entropy decoding unit 31 is paired with the entropy encoding unit 20 of the encoding device 2, decodes the data compressed by the entropy encoding unit 20, and obtains fitting function information, quantization coefficients, and prediction information. Then, the fitting function information is output to the inverse curve fitting unit 32, the quantization coefficient is output to the inverse quantization unit 37, and the prediction information is output to the prediction unit 36.

逆カーブフィッティング部32は、エントロピー復号部31から入力されたフィッティング関数情報に基づいて近似曲線を求める。そして、該近似曲線によって規定されるデータを二次元に配列してブロックごとの変換係数を復元し、逆変換部33に出力する。   The inverse curve fitting unit 32 obtains an approximate curve based on the fitting function information input from the entropy decoding unit 31. Then, the data defined by the approximate curve is two-dimensionally arranged to restore the transform coefficients for each block and output to the inverse transform unit 33.

逆量子化部37は、エントロピー復号部31から入力された量子化係数に対し、量子化ステップを乗ずることによりブロックごとの変換係数を復元し、逆変換部33に出力する。   The inverse quantization unit 37 restores the transform coefficient for each block by multiplying the quantization coefficient input from the entropy decoding unit 31 by a quantization step, and outputs the restored transform coefficient to the inverse transform unit 33.

逆変換部33は、逆カーブフィッティング部32又は逆量子化部37から入力された変換係数に対して逆変換を行って残差ブロック画像を復元し、加算部34に出力する。   The inverse transform unit 33 performs inverse transform on the transform coefficient input from the inverse curve fitting unit 32 or the inverse quantization unit 37 to restore the residual block image, and outputs the residual block image to the adder 34.

上述したように、復号装置5は、逆カーブフィッティング部32と並列に逆量子化部37を備えるため、符号化装置2により符号化されたデータを復号することができる。   As described above, since the decoding device 5 includes the inverse quantization unit 37 in parallel with the inverse curve fitting unit 32, the data encoded by the encoding device 2 can be decoded.

(第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 decoding device 6 illustrated in FIG. 11 includes an entropy decoding unit 31, an inverse curve fitting unit 32, an inverse transform unit 33, an addition unit 34, a storage unit 35, a prediction unit 36, and an inverse quantization unit 37. The data encoded by the encoding device 3 is decoded. The decoding device 6 according to the sixth embodiment is different from the decoding device 4 according to the fourth embodiment in that an inverse quantization unit 37 is further provided in series with the inverse curve fitting unit 32. Since other configurations are the same as those in the fourth embodiment, description thereof will be omitted as appropriate.

エントロピー復号部31は、符号化装置3のエントロピー符号化部20と対をなし、エントロピー符号化部20で圧縮されたデータを復号し、フィッティング関数情報及び予測情報を取得する。そして、フィッティング関数情報を逆カーブフィッティング部32に出力し、予測情報を予測部36に出力する。   The entropy decoding unit 31 is paired with the entropy encoding unit 20 of the encoding device 3, decodes the data compressed by the entropy encoding unit 20, and acquires fitting function information and prediction information. Then, the fitting function information is output to the inverse curve fitting unit 32, and the prediction information is output to the prediction unit 36.

逆カーブフィッティング部32は、エントロピー復号部31から入力されたフィッティング関数情報に基づいて近似曲線を求める。そして、該近似曲線によって規定されるデータを二次元に配列してブロックごとの変換係数を復元し、逆量子化部37に出力する。   The inverse curve fitting unit 32 obtains an approximate curve based on the fitting function information input from the entropy decoding unit 31. Then, the data defined by the approximate curve is two-dimensionally arranged to restore the transform coefficients for each block and output to the inverse quantization unit 37.

逆量子化部37は、逆カーブフィッティング部32から入力された変換係数に対し、量子化ステップを乗ずることによりブロックごとの変換係数を復元し、逆変換部33に出力する。量子化ステップは符号化装置3から取得してもよいし、予め符号化装置3と共通の量子化テーブルを有していてもよい。   The inverse quantization unit 37 restores the transform coefficient for each block by multiplying the transform coefficient input from the inverse curve fitting unit 32 by a quantization step, and outputs it to the inverse transform unit 33. The quantization step may be acquired from the encoding device 3 or may have a quantization table common to the encoding device 3 in advance.

逆変換部33は、逆量子化部37から入力された変換係数に対して逆変換を行って残差ブロック画像を復元し、加算部34に出力する。   The inverse transform unit 33 performs inverse transform on the transform coefficient input from the inverse quantization unit 37 to restore the residual block image, and outputs the residual block image to the addition unit 34.

上述したように、復号装置6は、逆カーブフィッティング部32と直列に逆量子化部37を備えるため、符号化装置3により符号化されたデータを復号することができる。   As described above, since the decoding device 6 includes the inverse quantization unit 37 in series with the inverse curve fitting unit 32, the data encoded by the encoding device 3 can be decoded.

なお、上述した復号装置4,5,6として機能させるためにコンピュータを好適に用いることができ、そのようなコンピュータは、復号装置4,5,6の各機能を実現する処理内容を記述したプログラムを該コンピュータの記憶部に格納しておき、該コンピュータのCPUによってこのプログラムを読み出して実行させることで実現することができる。なお、このプログラムは、コンピュータ読取り可能な記録媒体に記録可能である。   It should be noted that a computer can be suitably used to function as the above-described decoding devices 4, 5, and 6, and such a computer is a program describing processing contents for realizing the functions of the decoding devices 4, 5, and 6. Is stored in a storage unit of the computer, and the program is read and executed by the CPU of the computer. This program can be recorded on a computer-readable recording medium.

上述の実施形態は代表的な例として説明したが、本発明の趣旨及び範囲内で、多くの変更及び置換ができることは当業者に明らかである。したがって、本発明は、上述の実施形態によって制限するものと解するべきではなく、特許請求の範囲から逸脱することなく、種々の変形や変更が可能である。例えば、実施形態に記載の複数の構成ブロックを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 Encoding device 4, 5, 6 Decoding device 11 Block division unit 12 Subtraction unit 13 Conversion unit 14 Curve fitting unit 15 Inverse curve fitting unit 16 Inverse conversion unit 17 Addition unit 18 Storage unit 19 Prediction unit 20 Entropy code Conversion unit 21 Quantization unit 22 Inverse quantization unit 23 Selection unit 31 Entropy decoding unit 32 Inverse curve fitting unit 33 Inverse transformation unit 34 Addition unit 35 Storage unit 36 Prediction unit 37 Inverse quantization unit 141 One-dimensional array data generation unit 142 Fitting Part

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.
前記逆カーブフィッティング部により復元された第1の変換係数に量子化ステップを乗ずることによりブロックごとの第2の変換係数を復元する逆量子化部を更に備え、
前記逆変換部は、前記第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.
コンピュータを、請求項1から5のいずれか一項に記載の符号化装置として機能させるためのプログラム。   The program for functioning a computer as an encoding apparatus as described in any one of Claim 1 to 5. コンピュータを、請求項6から8のいずれか一項に記載の復号装置として機能させるためのプログラム。   The program for functioning a computer as a decoding apparatus as described in any one of Claims 6-8.
JP2015237822A 2015-12-04 2015-12-04 Encoding device, decoding device, and program Expired - Fee Related JP6557589B2 (en)

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)

* Cited by examiner, † Cited by third party
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

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