JP2010009624A - Image signal conversion method, image signal reverse conversion method, image encoding device, image decoding device, image encoding method, image decoding method, image encoding program, and image decoding program - Google Patents

Image signal conversion method, image signal reverse conversion method, image encoding device, image decoding device, image encoding method, image decoding method, image encoding program, and image decoding program Download PDF

Info

Publication number
JP2010009624A
JP2010009624A JP2009233664A JP2009233664A JP2010009624A JP 2010009624 A JP2010009624 A JP 2010009624A JP 2009233664 A JP2009233664 A JP 2009233664A JP 2009233664 A JP2009233664 A JP 2009233664A JP 2010009624 A JP2010009624 A JP 2010009624A
Authority
JP
Japan
Prior art keywords
conversion
image
input
signal
coefficient
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009233664A
Other languages
Japanese (ja)
Inventor
Chunsen Bun
チュンセン ブン
Thiow Keng Tan
ティオ ケン タン
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.)
NTT Docomo Inc
Original Assignee
NTT Docomo Inc
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 NTT Docomo Inc filed Critical NTT Docomo Inc
Priority to JP2009233664A priority Critical patent/JP2010009624A/en
Publication of JP2010009624A publication Critical patent/JP2010009624A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To efficiently express signals to be converted by concentrating the energy of the signals even when the correlation of the signals to be converted is not high. <P>SOLUTION: An image signal conversion method includes an intermediate value generation step and a conversion coefficient generation step to generate a 2<SP>N</SP>(N is a natural number) conversion samples from 2<SP>N</SP>input samples. In the intermediate value generation step, one input sample out of n-th pair (n=1 to 2<SP>N-1</SP>) of input samples determined in accordance with a conversion rule is weighted by the n-th weight coefficient and the weighted input sample is converted to generate the n-th pair of intermediate values. In the conversion coefficient generation step, generated 2<SP>N</SP>intermediate values are inputted, one intermediate value out of the m-th pair (m=1 to 2<SP>N-1</SP>) of intermediate values determined in accordance with the conversion rule is weighted by the m-th weight coefficient and the weighted intermediate value is converted to generate the m-th pair of conversion samples. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、画像信号変換方法を用いた画像符号技術、及び、画像信号逆変換方法を用いた画像復号技術に関する。   The present invention relates to an image encoding technique using an image signal conversion method and an image decoding technique using an image signal inverse conversion method.

従来、静止画像や動画像データの伝送や蓄積を効率良く行うために、圧縮符号化技術が用いられている。特に、動画像の場合には、MPEG(Moving Picture Experts Group)1,2,4やH.261〜H.264の方式、静止画像の場合には、JPEG(Joint Photographic Experts Group)やJPEG2000が用いられている。   Conventionally, compression coding techniques have been used in order to efficiently transmit and store still images and moving image data. In particular, in the case of moving images, MPEG (Moving Picture Experts Group) 1, 2, 4 or H.264 is used. 261-H. In the case of H.264, still images, JPEG (Joint Photographic Experts Group) or JPEG2000 is used.

これら殆どの符号化方式では、符号化の対象となる画像を複数のブロックに分割した上で、離散コサイン変換(以下、「DCT」と記す。)を用いて、各ブロック自体、若しくは、これらのブロックに対する予測信号と当該ブロックとの差分信号を、周波数領域に変換する。そして、変換された変換係数を量子化することにより、原画像の信号のデータ量を圧縮する。再生時には、圧縮されたデータから各ブロックの信号を逆量子化した上で、逆離散コサイン変換(以下、「IDCT」と記す。)を施して、画素領域の信号または差分信号に復元する。DCTを用いた符号化は、例えば特許文献1に記載されている。   In most of these encoding methods, an image to be encoded is divided into a plurality of blocks, and then each block itself or these blocks are divided using discrete cosine transform (hereinafter referred to as “DCT”). The difference signal between the prediction signal for the block and the block is converted into the frequency domain. Then, the data amount of the signal of the original image is compressed by quantizing the converted transform coefficient. At the time of reproduction, the signal of each block is inversely quantized from the compressed data and then subjected to inverse discrete cosine transform (hereinafter referred to as “IDCT”) to restore the signal in the pixel region or the differential signal. Coding using DCT is described in Patent Document 1, for example.

図1は、従来技術におけるDCT処理を説明するための図である。図示する例は、4つの画素を周波数領域に変換する場合に該当する。4つの画素a0,a1,a2,a3は、それぞれ入力端子101〜104より入力される。加算器113にてa0とa3とが加算され、減算器114にてa0とa3との差分が求められる。同様に、a1,a2は、加算器115と減算器116とにて処理される。これらの結果は、端子105〜108をそれぞれ経由して次段に送られる。端子105,106からの信号は、加算器117と減算器118とにて処理され、端子107,108からの信号は、加算器119と減算器120と乗算器121と122とにて処理される。このようにして得られた結果は、周波数領域の係数となり、端子109〜112経由で出力される。   FIG. 1 is a diagram for explaining DCT processing in the prior art. The example shown corresponds to the case where four pixels are converted into the frequency domain. The four pixels a0, a1, a2, and a3 are input from input terminals 101 to 104, respectively. The adder 113 adds a0 and a3, and the subtractor 114 calculates the difference between a0 and a3. Similarly, a 1 and a 2 are processed by the adder 115 and the subtractor 116. These results are sent to the next stage via terminals 105 to 108, respectively. Signals from terminals 105 and 106 are processed by adder 117 and subtractor 118, and signals from terminals 107 and 108 are processed by adder 119, subtractor 120, and multipliers 121 and 122. . The result thus obtained is a frequency domain coefficient and is output via terminals 109-112.

図2は、従来の技術におけるIDCT処理を説明するための図である。周波数領域の係数は、それぞれ入力端子201〜204から入力される。端子201,202からの係数は、加算器213と減算器214とにて処理され、端子203,204からの係数は、減算器215と加算器216と乗算器221,222とにて処理される。得られた信号は、端子205〜208経由で次段に送られる。端子205,208からの信号は、加算器217と減算器218とにて処理され、端子206,207からの信号は、加算器219と減算器220とにて処理される。周波数領域の係数は、元の画素a0,a1,a2,a3に逆変換された後、端子209〜212からそれぞれ出力される。上述のように、符号化装置は、画像を周波数領域に変換して入力信号をコンパクトに表現することにより、効率の良い符号化を実現する。   FIG. 2 is a diagram for explaining IDCT processing in the prior art. The frequency domain coefficients are input from input terminals 201-204, respectively. The coefficients from the terminals 201 and 202 are processed by the adder 213 and the subtracter 214, and the coefficients from the terminals 203 and 204 are processed by the subtractor 215, the adder 216, and the multipliers 221 and 222. . The obtained signal is sent to the next stage via terminals 205-208. Signals from terminals 205 and 208 are processed by adder 217 and subtractor 218, and signals from terminals 206 and 207 are processed by adder 219 and subtractor 220. The frequency domain coefficients are inversely transformed into the original pixels a0, a1, a2, and a3, and then output from terminals 209 to 212, respectively. As described above, the encoding device realizes efficient encoding by converting an image into a frequency domain and expressing an input signal in a compact manner.

米国特許公報 第5196946号US Patent No. 5,1969,946

しかしながら、上述した従来の変換方法では、変換の対象となる信号が一種類の変換方式で変換されるため、エネルギーの集中度を高めることが困難である。すなわち、対象となる信号間の相関が高い場合には、エネルギーの集中度が高まり、効率良く符号化することができるが、信号本来の相関が低い場合には、DCTによる係数は、周波数帯域の広範囲に広がる。この結果、効率の良い符号化は困難となる。   However, in the conventional conversion method described above, since a signal to be converted is converted by one type of conversion method, it is difficult to increase the degree of energy concentration. In other words, when the correlation between the signals of interest is high, the energy concentration is increased and encoding can be performed efficiently. However, when the correlation of the signals is low, the coefficient by DCT is in the frequency band. Widely spread. As a result, efficient encoding becomes difficult.

一般的に、撮影された静止画像や動画像の信号は相関が高いため、DCTを用いた高効率の符号化が可能である。これに対して、画面内予測や画面間予測によって得られる予測信号と符号化の対象となる画像信号との差分をとった場合、その差分信号の相関は高くない。したがって、DCTを用いても、コンパクトにその差分信号を表すことは困難となる。   In general, since a captured still image or moving image signal has a high correlation, high-efficiency encoding using DCT is possible. On the other hand, when the difference between the prediction signal obtained by intra prediction or inter prediction and the image signal to be encoded is taken, the correlation between the difference signals is not high. Therefore, even if DCT is used, it is difficult to represent the difference signal in a compact manner.

そこで、本発明の課題は、変換の対象となる信号の相関が高くない場合であっても、信号のエネルギーを集中させることで、効率良く信号を表すことである。   Therefore, an object of the present invention is to efficiently represent a signal by concentrating the energy of the signal even when the correlation of the signal to be converted is not high.

上記課題を解決するために、本発明に係る画像信号変換方法は、所定の変換規則に従って、2個(Nは自然数)の入力サンプルから2個の変換サンプルを生成する画像信号変換方法であって、前記変換規則に従って定まった第n対(n=1〜2N−1)の入力サンプルのうちの1つの入力サンプルを第n番目の重み係数で重み付けした上で、第1変換演算を行い、第n対の中間値を生成する中間値生成ステップと、当該中間値生成ステップにて生成された2個の中間値を入力とし、前記変換規則に従って定まった第m対(m=1〜2N−1)の中間値のうちの1つの中間値を第m番目の重み係数で重み付けした上で、第2変換演算を行い、第m対の変換サンプルを生成する変換係数生成ステップとを含む。 In order to solve the above problems, an image signal conversion method according to the present invention, according to a predetermined conversion rule, in the 2 N (N is a natural number) image signal conversion method for generating the 2 N transform samples from input samples Then, after weighting one input sample of the n-th pair (n = 1 to 2 N-1 ) input samples determined according to the conversion rule with the n-th weighting factor, the first conversion operation is performed. An intermediate value generation step for generating an n-th pair of intermediate values, and 2 N intermediate values generated in the intermediate value generation step as inputs, and an m-th pair (m = 1) determined according to the conversion rule A conversion coefficient generation step of performing a second conversion operation and generating an m-th pair of conversion samples after weighting one of the intermediate values of ~ 2N-1 ) with the mth weighting coefficient; including.

本発明によれば、対象となる信号に対して、所定の重み付け処理を施すことによって、信号が、本来の特性に適した変換基底で変換される。このため、エネルギーの集中度を高めることができ、効率良く信号を符号化することができる。   According to the present invention, a predetermined weighting process is performed on a target signal, so that the signal is converted with a conversion basis suitable for the original characteristics. For this reason, the concentration degree of energy can be raised and a signal can be encoded efficiently.

本発明に係る画像信号逆変換方法は、所定の変換規則に従って、2個(Nは自然数)の変換サンプルより2個の出力サンプルを生成する画像信号逆変換方法であって、前記変換規則に従って定まった第n対(n=1〜2N−1)の変換サンプルのうちの1つの変換サンプルを第n番目の重み係数で重み付けした上で、第1変換演算を行い、第n対の中間値を生成する中間値生成ステップと、当該中間値生成ステップにて生成された2個の中間値を入力とし、前記変換規則に従って定まった第m対(m=1〜2N−1)の中間値のうちの1つの中間値を第m番目の重み係数で重み付けした上で、第2変換演算を行い、第m対の出力サンプルを生成する出力値生成ステップとを含む。 Image signal inverse conversion method according to the present invention, according to a predetermined conversion rule, a 2 N (N is a natural number) image signal inverse conversion method for generating a 2 N output samples than the conversion sample, the conversion rule The first conversion operation is performed after weighting one conversion sample of the nth conversion samples (n = 1 to 2 N-1 ) determined by the nth weighting factor, An intermediate value generating step for generating an intermediate value, and the 2N intermediate values generated in the intermediate value generating step as inputs, and the m-th pair (m = 1 to 2 N−1 ) determined according to the conversion rule. And an output value generation step of generating an m-th pair of output samples by performing a second conversion operation after weighting one of the intermediate values by the m-th weighting factor.

本発明に係る画像信号変換方法は、画像符号化装置における変換処理に対しても適用できる。すなわち、画像符号化装置は、符号化の対象となる入力画像を入力する入力手段と、当該入力手段により入力された入力画像を複数の符号化領域に分割する領域分割手段と、当該領域分割手段により分割された符号化領域に対し、画面内予測または画面間予測の何れかを行って差分信号を求め、当該差分信号を変換対象信号として生成する予測手段と、上述した画像信号変換方法を用いて、前記予測手段により生成された変換対象信号を入力サンプルとして変換サンプルを生成し、生成された変換サンプルを変換係数とすることで、前記変換対象信号を前記変換係数に変換する変換手段と、当該変換手段により変換された変換係数を符号化する符号化手段とを備える。   The image signal conversion method according to the present invention can also be applied to conversion processing in an image encoding device. That is, the image encoding device includes an input unit that inputs an input image to be encoded, an area dividing unit that divides the input image input by the input unit into a plurality of encoding regions, and the area dividing unit. Using the prediction means for performing the intra-screen prediction or the inter-screen prediction to obtain the difference signal, and generating the difference signal as a conversion target signal, and the above-described image signal conversion method. A conversion unit that converts the conversion target signal into the conversion coefficient by generating a conversion sample using the conversion target signal generated by the prediction unit as an input sample, and using the generated conversion sample as a conversion coefficient; Coding means for coding the transform coefficient transformed by the transform means.

なお、上記画像符号化装置において好ましくは、前記変換手段は、上述の画像信号変換方法における中間値生成ステップと変換係数生成ステップにて、複数の重み係数の中から、前記変換対象信号のエネルギー集中度が最も高くなるような重み係数を選択し、当該重み係数の識別情報をさらに符号化する。   Preferably, in the image encoding device, the conversion unit is configured to perform energy concentration of the conversion target signal from among a plurality of weight coefficients in the intermediate value generation step and the conversion coefficient generation step in the image signal conversion method. The weighting coefficient that has the highest degree is selected, and the identification information of the weighting coefficient is further encoded.

また、本発明に係る画像符号化方法は、符号化の対象となる入力画像を入力する入力ステップと、当該入力ステップにて入力された入力画像を複数の符号化領域に分割する領域分割ステップと、当該領域分割ステップにて分割された符号化領域に対し、画面内予測または画面間予測の何れかを行って差分信号を求め、当該差分信号を変換対象信号として生成する予測ステップと、上述した画像信号変換方法を用いて、前記予測ステップにて生成された変換対象信号を入力サンプルとして変換サンプルを生成し、生成された変換サンプルを変換係数とすることで、前記変換対象信号を前記変換係数に変換する変換ステップと、当該変換ステップにて変換された変換係数を符号化する符号化ステップとを含む。   An image encoding method according to the present invention includes an input step for inputting an input image to be encoded, and an area dividing step for dividing the input image input in the input step into a plurality of encoding regions. A prediction step for obtaining a difference signal by performing either intra prediction or inter prediction for the coding region divided in the region division step, and generating the difference signal as a conversion target signal, as described above. Using the image signal conversion method, a conversion sample is generated using the conversion target signal generated in the prediction step as an input sample, and the generated conversion sample is used as a conversion coefficient, thereby converting the conversion target signal into the conversion coefficient. And a conversion step for encoding the conversion coefficient converted in the conversion step.

同様に、本発明に係る画像信号逆変換方法は、画像復号装置における逆変換処理に対しても適用できる。すなわち、画像復号装置は、複数の領域に分割された画像に対し、画面内予測または画面間予測の何れかを行った上で変換符号化することにより生成された圧縮データを入力する入力手段と、当該入力手段により入力された圧縮データから、各領域に対応する変換係数を復元し、得られた変換係数を復元変換係数として生成する復号手段と、上述した画像信号逆変換方法を用いて、前記復号手段により生成された復元変換係数を変換サンプルとして出力サンプルを生成し、当該出力サンプルを逆変換データとすることで、前記復元変換係数を前記逆変換データに変換する逆変換手段とを備える。   Similarly, the image signal inverse transformation method according to the present invention can be applied to inverse transformation processing in an image decoding apparatus. That is, the image decoding apparatus includes an input unit that inputs compressed data generated by performing transform coding after performing either intra prediction or inter prediction on an image divided into a plurality of regions. Using the decoding means for restoring the transform coefficient corresponding to each region from the compressed data input by the input means, and generating the obtained transform coefficient as the restored transform coefficient, and the image signal inverse transform method described above, An inverse conversion unit configured to generate an output sample using the restored transform coefficient generated by the decoding unit as a transform sample, and converting the restored transform coefficient into the inverse transform data by using the output sample as an inverse transform data; .

なお、上記画像復号装置において好ましくは、前記圧縮データは、上述の画像信号逆変換方法における中間値生成ステップまたは出力値生成ステップにて用いられた重み係数の識別情報を含み、前記復号手段は、前記識別情報を復号し、当該識別情報に対応した重み係数を用いて、前記中間値生成ステップまたは前記出力値生成ステップの処理を行う。   Preferably, in the image decoding device, the compressed data includes identification information of a weighting coefficient used in the intermediate value generation step or the output value generation step in the image signal inverse conversion method, and the decoding unit includes: The identification information is decoded, and the intermediate value generation step or the output value generation step is performed using a weighting factor corresponding to the identification information.

また、本発明に係る画像復号方法は、複数の領域に分割された画像に対し、画面内予測または画面間予測の何れかを行った上で変換符号化することにより生成された圧縮データを入力する入力ステップと、当該入力ステップにて入力された圧縮データから、各領域に対応する変換係数を復元し、得られた変換係数を復元変換係数として生成する復号ステップと、上述した画像信号逆変換方法を用いて、前記復号ステップにて生成された復元変換係数を変換サンプルとして出力サンプルを生成し、当該出力サンプルを逆変換データとすることで、前記復元変換係数を前記逆変換データに変換する逆変換ステップとを含む。   In addition, the image decoding method according to the present invention inputs compressed data generated by performing transform coding after performing either intra prediction or inter prediction on an image divided into a plurality of regions. An input step, a decoding step for restoring the transform coefficient corresponding to each region from the compressed data input in the input step, and generating the obtained transform coefficient as a restored transform coefficient, and the above-described inverse image signal transform Using the method, an output sample is generated using the restored transform coefficient generated in the decoding step as a transform sample, and the output sample is used as inverse transform data, thereby transforming the decompression transform coefficient into the inverse transform data. An inverse transformation step.

さらに、本発明に係る符号化技術は、プログラムへの適用も可能である。すなわち、符号化プログラムは、符号化の対象となる入力画像を入力する処理と、当該入力された入力画像を複数の符号化領域に分割する処理と、当該分割された符号化領域に対し、画面内予測または画面間予測の何れかを行って差分信号を求め、当該差分信号を変換対象信号として生成する処理と、上述の画像信号変換方法を用いて、前記生成された変換対象信号を入力サンプルとして変換サンプルを生成し、当該変換サンプルを変換係数とすることで、前記変換対象信号を前記変換係数に変換する処理と、当該変換された変換係数を符号化する処理とをコンピュータに実行させる。   Furthermore, the encoding technique according to the present invention can be applied to a program. That is, the encoding program includes a process for inputting an input image to be encoded, a process for dividing the input image to be input into a plurality of encoding areas, and a screen for the divided encoding areas. A process for obtaining a difference signal by performing either intra prediction or inter-screen prediction, generating the difference signal as a conversion target signal, and using the image signal conversion method described above, the generated conversion target signal is input sampled As a conversion sample is generated, and the conversion sample is used as a conversion coefficient, the computer executes the process of converting the conversion target signal into the conversion coefficient and the process of encoding the converted conversion coefficient.

同様に、本発明に係る復号プログラムは、複数の領域に分割された画像に対し、画面内予測または画面間予測の何れかを行った上で変換符号化することにより生成された圧縮データを入力する処理と、当該入力された圧縮データから、各領域に対応する変換係数を復元し、得られた変換係数を復元変換係数として生成する処理と、上述の画像信号逆変換方法を用いて、前記復元変換係数を変換サンプルとして出力サンプルを生成し、当該出力サンプルを逆変換データとすることで、前記復元変換係数を前記逆変換データに変換する処理とをコンピュータに実行させる。   Similarly, the decoding program according to the present invention inputs compressed data generated by performing transform coding after performing either intra prediction or inter prediction on an image divided into a plurality of regions. Using the above-described image signal inverse transform method, the process of restoring the transform coefficient corresponding to each region from the input compressed data, generating the transform coefficient obtained as a restored transform coefficient, An output sample is generated using the restored transform coefficient as a transform sample, and the output sample is used as inverse transform data, thereby causing the computer to execute processing for transforming the decompression transform coefficient into the inverse transform data.

これらの発明によれば、対象となる信号に対して、所定の重み付けを施すことによって、当該信号を、本来の特性に適した変換基底で変換することができる。これにより、エネルギーの集中度が高まり、信号を効率良く符号化することができる。とりわけ、差分信号のように信号間の相関の低い信号に対して所定の重み付けを施すことによって、信号の相関は高まり、その結果、符号化効率が向上する。   According to these inventions, by applying predetermined weighting to the target signal, the signal can be converted with a conversion basis suitable for the original characteristics. Thereby, the degree of energy concentration is increased, and the signal can be efficiently encoded. In particular, by applying a predetermined weight to a signal having a low correlation between signals such as a differential signal, the correlation of the signal is increased, and as a result, the coding efficiency is improved.

従来技術における離散コサイン変換処理を説明するための図である。It is a figure for demonstrating the discrete cosine transformation process in a prior art. 従来技術における逆離散コサイン変換処理を説明するための図である。It is a figure for demonstrating the inverse discrete cosine transformation process in a prior art. 本発明の一実施形態における画像信号変換装置の構成を示す図である。It is a figure which shows the structure of the image signal converter in one Embodiment of this invention. 変換処理の対象となる画像信号の一例を概念的に示す図である。It is a figure which shows notionally an example of the image signal used as the object of a conversion process. 本発明の一実施形態における画像信号逆変換装置の構成を示す図である。It is a figure which shows the structure of the image signal reverse conversion apparatus in one Embodiment of this invention. 変換と逆変換を行うための従来の行列の一例を示す図である。It is a figure which shows an example of the conventional matrix for performing conversion and reverse conversion. 変換と逆変換を行うための本発明に係る行列の一例を示す図である。It is a figure which shows an example of the matrix which concerns on this invention for performing conversion and reverse conversion. 本発明の一実施形態における画像符号化装置の構成を示す図である。It is a figure which shows the structure of the image coding apparatus in one Embodiment of this invention. 画像符号化装置の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of an image coding apparatus. 本発明の一実施形態における画像復号装置の構成を示す図である。It is a figure which shows the structure of the image decoding apparatus in one Embodiment of this invention. 画像復号装置の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of an image decoding apparatus. 画像符号化プログラムの構成を概念的に示す図である。It is a figure which shows notionally the structure of an image coding program. 画像復号プログラムの構成を概念的に示す図である。It is a figure which shows notionally the structure of an image decoding program. 画像符号化・復号プログラムを実行するコンピュータの概略構成を示す図である。It is a figure which shows schematic structure of the computer which performs an image encoding / decoding program. 画像符号化・復号プログラムを実行するコンピュータの外観斜視図である。And FIG. 20 is an external perspective view of a computer that executes an image encoding / decoding program.

以下、添付図面を参照しながら、本発明の一実施形態における画像信号変換装置について説明する。図3は、本発明に係る画像信号変換装置の構成を示す図である。本実施の形態における画像信号変換装置300は、入力端子301〜304と、接続端子305〜308と、出力端子309〜312と、減算器317,322,327,334と、加算器321,326,333,338と、重み付け器318,323,329,335と、乗算器320、325、328、332、337とを備えて構成される。これら各構成要素は、バスを介して、相互に信号の入出力が可能なように接続されている。   Hereinafter, an image signal converter according to an embodiment of the present invention will be described with reference to the accompanying drawings. FIG. 3 is a diagram showing the configuration of the image signal conversion apparatus according to the present invention. The image signal conversion apparatus 300 according to this embodiment includes input terminals 301 to 304, connection terminals 305 to 308, output terminals 309 to 312, subtracters 317, 322, 327, and 334, and adders 321 and 326. 333, 338, weighters 318, 323, 329, 335, and multipliers 320, 325, 328, 332, 337. These components are connected to each other through a bus so that signals can be input and output.

画像信号変換装置300は、図4に示す4×4画素からなる画像信号501を入力とする。図4において、各升目は1画素に対応する。以下、4画素からなる一列の信号、すなわち図4の画素502〜505を入力とする1次元変換について説明するが、図4の各行に対して同じ処理を行ってもよい。さらに、各列に対して、後述の変換処理を行った上で、その結果を行単位で処理してもよい。   The image signal converter 300 receives an image signal 501 composed of 4 × 4 pixels shown in FIG. In FIG. 4, each cell corresponds to one pixel. Hereinafter, one-dimensional conversion using a signal of four pixels, that is, the pixels 502 to 505 in FIG. 4 as an input will be described. However, the same processing may be performed on each row in FIG. Furthermore, the conversion process described later may be performed on each column, and the result may be processed in units of rows.

図4の画素“a0”(502)〜“a3”(505)は、それぞれ入力端子301〜304に入力される。入力端子304から入力された画素“a3”は、w(318)で重み付け処理された後、その結果が、入力端子301に入力された画素“a0”から引き算される。このようにして得られた中間値は、接続端子305に出力されると同時に、加算器321に出力される。 The pixels “a0” (502) to “a3” (505) in FIG. 4 are input to the input terminals 301 to 304, respectively. The pixel “a3” input from the input terminal 304 is weighted by w 1 (318), and the result is subtracted from the pixel “a0” input to the input terminal 301. The intermediate value thus obtained is output to the connection terminal 305 and simultaneously to the adder 321.

加算器321では、上記中間値と乗算器320にて2倍にされた画素“a3”とを加算する。このように加算された中間値は、接続端子308に出力される。すなわち、画像信号変換装置300は、重み付け器318と演算器317と演算器320,321とからなるモジュールを基本変換モジュール313とし、入力信号を変換することになる。   The adder 321 adds the intermediate value and the pixel “a3” doubled by the multiplier 320. The added intermediate value is output to the connection terminal 308. That is, the image signal conversion apparatus 300 converts the input signal by using the module including the weighting unit 318, the arithmetic unit 317, and the arithmetic units 320 and 321 as the basic conversion module 313.

変換の対象となる対象信号が2画素からなる場合には上述した処理で完了するが、本実施の形態では4つの画素を変換対象とするため、画素“a1”と“a2”についても同様に、重み付け器323と演算器322と演算器(325と326)とからなる変換モジュール314によって変換される。本実施の形態では、重み付け器323は、重み付け器318とは異なる重み係数によって処理するが、同じ重み係数を用いてもよい。   When the target signal to be converted is composed of two pixels, the above processing is completed. However, since four pixels are to be converted in this embodiment, the same applies to the pixels “a1” and “a2”. The data is converted by a conversion module 314 including a weighting device 323, a computing device 322, and computing devices (325 and 326). In this embodiment, the weighting unit 323 performs processing using a weighting factor different from that of the weighting unit 318, but the same weighting factor may be used.

変換モジュール313,314より得られた中間値は、変換モジュール315と変換モジュール316に出力され、類似する処理が施される。変換モジュール315にある重み付け器329、演算器(328,327)、演算器(332,333)は、変換モジュール313,314のそれとは異なる。しかし、1つの入力(接続端子306からの入力)信号を重み付け処理した上で、他方の入力(接続端子305からの入力)信号から引き算し、その引き算結果が、接続端子306からの入力信号に再び加算される、という基本プロセスは同様である。   The intermediate values obtained from the conversion modules 313 and 314 are output to the conversion module 315 and the conversion module 316, and similar processing is performed. The weighting unit 329, the computing units (328, 327), and the computing units (332, 333) in the conversion module 315 are different from those of the conversion modules 313, 314. However, one input (input from the connection terminal 306) is weighted and then subtracted from the other input (input from the connection terminal 305), and the result of the subtraction is converted to the input signal from the connection terminal 306. The basic process of adding again is similar.

接続端子307,308から入力された中間値の信号についても同様に、端子309〜312より変換された周波数成分の係数が出力される。図3に示した重み係数w〜wは、全て“1”の値をとる場合には、図1に示す変換と同様になる。すなわち、本発明に係る画像信号変換方法は、従来の変換方法における変換規則に従って処理を行いながら、重み係数w〜wを変化させることにより、変換の対象となる信号に適した変換基底で信号変換を行うことができる。 Similarly, for the intermediate value signals input from the connection terminals 307 and 308, the coefficients of the frequency components converted from the terminals 309 to 312 are output. The weighting factors w 1 to w 4 shown in FIG. 3 are the same as the conversion shown in FIG. 1 when all take the value “1”. That is, the image signal conversion method according to the present invention is a conversion basis suitable for a signal to be converted by changing the weighting factors w 1 to w 4 while performing processing according to the conversion rule in the conventional conversion method. Signal conversion can be performed.

なお、図3の変換モジュール313において、重み付け器318にある重み係数wは、請求項1に記載の「第n番目の重み係数」に対応し、減算器317による減算処理、及び、乗算器320、加算器321による加算処理は、請求項1に記載の「第1変換演算」に対応する。また、変換モジュール314において、重み付け器323による重み係数wは、請求項1に記載の「第n番目の重み係数」に対応し、減算器322による減算処理、及び、乗算器325、加算器326による加算処理は、請求項1に記載の「第1変換演算」に対応する。 In the conversion module 313 of FIG. 3, the weighting factor w 1 in the weighting unit 318 corresponds to the “nth weighting factor” according to claim 1, and the subtraction processing by the subtractor 317 and the multiplier 320 and the addition processing by the adder 321 correspond to the “first conversion operation” according to claim 1. Further, the conversion module 314, the weight coefficient w 2 by weighting 323 corresponds to the "n-th weighting factor" according to claim 1, the subtraction processing by a subtracter 322, and a multiplier 325, an adder The addition processing by 326 corresponds to the “first conversion operation” according to claim 1.

変換モジュール315において、重み付け器329にある重み係数wは、請求項1に記載の「第m番目の重み係数」に対応し、乗算器328、減算器327による減算処理、及び、乗算器320、加算器321による加算処理は、請求項1に記載の「第2変換演算」に対応する。また、変換モジュール316において、重み付け器335による重み係数wは、請求項1に記載の「第m番目の重み係数」に対応し、減算器334による減算処理、及び、乗算器337、加算器338による加算処理は、請求項1に記載の「第2変換演算」に対応する。 In the conversion module 315, the weighting factor w 3 in the weighting unit 329 corresponds to the “mth weighting factor” according to claim 1, and the subtraction processing by the multiplier 328 and the subtracter 327, and the multiplier 320 The addition processing by the adder 321 corresponds to the “second conversion operation” according to claim 1. In the conversion module 316, the weighting factor w 4 by the weighting unit 335 corresponds to the “mth weighting factor” according to claim 1, and the subtraction processing by the subtracter 334, the multiplier 337, the adder The addition processing by 338 corresponds to the “second conversion operation” according to claim 1.

次に、図5を参照して、画像信号の逆変換処理について説明する。図5は、画像信号変換装置300による信号変換処理に対応した逆変換処理を行う画像信号逆変換装置の構成を示すブロック図である。本実施の形態における画像信号逆変換装置400は、入力端子401〜404と、接続端子405〜408と、出力端子409〜412と、減算器419,423,428,433と、加算器437,440,430,435と、重み付け器420,426,429,434と、乗算器421,425,431,436とを備える。これら各構成要素は、バスを介して、相互に信号の入出力が可能なように接続されている。   Next, image signal inverse conversion processing will be described with reference to FIG. FIG. 5 is a block diagram illustrating a configuration of an image signal inverse conversion apparatus that performs an inverse conversion process corresponding to the signal conversion process performed by the image signal conversion apparatus 300. The image signal inverse conversion apparatus 400 in this embodiment includes input terminals 401 to 404, connection terminals 405 to 408, output terminals 409 to 412, subtracters 419, 423, 428, 433, and adders 437, 440. , 430, 435, weighters 420, 426, 429, 434, and multipliers 421, 425, 431, 436. These components are connected to each other through a bus so that signals can be input and output.

画像信号逆変換装置400は、画像信号変換装置300と逆の処理を行う。画像信号逆変換装置400は、周波数領域の係数を画素領域の信号に逆変換する装置であり、4つの基本変換モジュール413〜416から構成される。図5に示すように、画像信号逆変換装置400は、上述の信号変換処理によって得られた変換係数を入力端子401〜404から入力する。入力端子401から入力された係数は、引き算器419にて、入力端子402から入力された係数と演算(引き算)される。   The image signal inverse conversion device 400 performs processing reverse to that of the image signal conversion device 300. The image signal inverse transform device 400 is a device that inversely transforms a frequency domain coefficient into a pixel domain signal, and includes four basic transform modules 413 to 416. As shown in FIG. 5, the image signal inverse conversion device 400 inputs the conversion coefficients obtained by the above-described signal conversion processing from the input terminals 401 to 404. The coefficient input from the input terminal 401 is calculated (subtracted) by the subtractor 419 with the coefficient input from the input terminal 402.

演算結果は、1/2倍(439)された後、中間値として接続端子406に出力される。同時に、この引算結果は、重み付け器420にてwの係数で重み付けされた上で、入力端子401からの入力信号と演算される。この演算処理は、乗算器421,422と加算器437とが実行する。同様に、入力端子403,404から入力された変換係数は、変換モジュール414により処理される。得られた中間値は、接続端子405〜408に出力された後、変換モジュール415,416によって、画素領域の信号に逆変換される。図5の乗算器422,425,431,436は、図3に示した入力信号と同じマグニチュードになるように乗算係数を決定する。また、図5の重み付け器421,426,429,434は、図3に示した変換モジュール313〜316にある重み付け器に対応し、逆変換した結果が変換前の信号と同一となるように、各重み係数を決定する。なお、図5の重み係数w〜wが全て“1”の値をとる場合には、図2を参照して説明した逆変換処理と同様となる。 The calculation result is multiplied by ½ (439) and then output to the connection terminal 406 as an intermediate value. At the same time, the subtraction result is weighted by the coefficient of w 3 in the weighter 420 and then calculated as an input signal from the input terminal 401. This arithmetic processing is executed by the multipliers 421 and 422 and the adder 437. Similarly, conversion coefficients input from the input terminals 403 and 404 are processed by the conversion module 414. The obtained intermediate value is output to the connection terminals 405 to 408 and then inversely converted into a pixel region signal by the conversion modules 415 and 416. Multipliers 422, 425, 431, and 436 in FIG. 5 determine the multiplication coefficient so that the same magnitude as the input signal shown in FIG. 3 is obtained. Also, the weighters 421, 426, 429, and 434 in FIG. 5 correspond to the weighters in the conversion modules 313 to 316 shown in FIG. 3, so that the result of inverse conversion is the same as the signal before conversion. Each weighting factor is determined. Note that when all of the weighting factors w 1 to w 4 in FIG. 5 have a value of “1”, the processing is the same as the inverse conversion processing described with reference to FIG.

本実施の形態では、変換モジュールは、引き算結果を加算するものとしたが、これとは逆に、加算結果を引き算する方法を採ってもよい。この場合には、画像信号逆変換装置は、変換器の入力エネルギーと逆変換器の出力エネルギーとが保持されるように、乗算器の係数を設定すればよい。また、4画素の入力信号について説明したが、N画素(Nは任意の自然数)の入力信号については、従来のN×NのDCT変換装置やIDCT変換装置における演算処理(加算・減算)に先立って、対応する重みを設けて、データを処理すればよい。   In the present embodiment, the conversion module adds the subtraction results, but conversely, a method of subtracting the addition results may be adopted. In this case, the image signal inverse conversion device may set the coefficient of the multiplier so that the input energy of the converter and the output energy of the inverse converter are held. Further, although the input signal of 4 pixels has been described, the input signal of N pixels (N is an arbitrary natural number) is prior to arithmetic processing (addition / subtraction) in a conventional N × N DCT conversion device or IDCT conversion device. Thus, data may be processed by providing corresponding weights.

ここで、画像信号の変換と逆変換に用いられた重みについて説明する。本実施の形態では、19/16,18/16,17/16,…,5/16,4/16の計16個の係数から、処理対象となる信号のエネルギー集中度を最も高くするものが選ばれる。w〜wの各係数は同じ値をとるが、異なる係数を用いてもよい。また、信号によって、wを「1」に固定し、それ以外の係数として上述した何れかの値を用いてもよい。あるいは、w〜wをそれぞれ「1」に固定し、wのみ可変にしてもよい。さらには、上述した16個の係数以外の係数を用いてもよい。 Here, the weights used for image signal conversion and inverse conversion will be described. In the present embodiment, the highest energy concentration of the signal to be processed is obtained from a total of 16 coefficients of 19/16, 18/16, 17/16,..., 5/16, 4/16. To be elected. Each coefficient of w 1 to w 4 takes the same value, but different coefficients may be used. Also, w 3 may be fixed to “1” depending on the signal, and any of the above values may be used as other coefficients. Alternatively, w 1 to w 3 may be fixed to “1” and only w 4 may be variable. Furthermore, coefficients other than the 16 coefficients described above may be used.

画像信号逆変換装置400は、w〜wの重み係数で入力信号を重み付けることにより、実質的に、変換基底を変更することになる。かかる処理について、図6及び図7を参照して説明する。図6は、従来技術における変換・逆変換を行うための行列を示す図である。行列601は変換行列、行列602は逆変換行列、行列603はエネルギーを保存化するための正規化行列である。これに対して、図7は、本発明に係る変換・逆変換を行うための行列を示す図である。行列701は変換行列、行列702は逆変換行列、行列703はエネルギーを保存化するための正規化行列である。 The image signal inverse conversion device 400 substantially changes the conversion base by weighting the input signal with the weighting factors of w 1 to w 4 . Such processing will be described with reference to FIGS. FIG. 6 is a diagram showing a matrix for performing conversion / inverse conversion in the prior art. The matrix 601 is a transformation matrix, the matrix 602 is an inverse transformation matrix, and the matrix 603 is a normalization matrix for conserving energy. On the other hand, FIG. 7 is a diagram showing a matrix for performing the conversion / inverse conversion according to the present invention. The matrix 701 is a transformation matrix, the matrix 702 is an inverse transformation matrix, and the matrix 703 is a normalization matrix for conserving energy.

両図を比較すると、w〜wによって、従来の変換・逆変換行列の基底が変更されることになるが、w〜wの各値が1の場合には、従来の変換・逆変換行列となる。すなわち、画像信号逆変換装置400は、w〜wの値を変更することによって変換基底を調整することができるので、変換の対象となる信号に適した変換を行うことができる。 Comparing the two figures, the w 1 to w 4, but so that the base of a conventional transform and inverse transform matrix is changed, if the values of w 1 to w 4 is 1, the conventional conversion and It becomes an inverse transformation matrix. In other words, the image signal inverse conversion device 400 can adjust the conversion base by changing the values of w 1 to w 4 , and thus can perform conversion suitable for the signal to be converted.

続いて、上述した画像信号変換処理を用いた画像符号化装置、方法、プログラムについて説明する。図8は、本実施の形態における画像符号化装置の構成を示す図である。図8に示すように、画像符号化装置800は、入力端子801と、ブロック分割器802と、画面内予測器803と、画面間予測器804と、接続端子805,806,807,808,810と、切替えスイッチ809と、加算器811と、フレームメモリ812と、変換器813と、量子化器814と、逆量子化器815と、逆変換器816と、加算器817と、重み決定器818と、エントロピー符号化器819と、出力端子820とを備える。これら各構成要素は、バスを介して、相互に信号の入出力が可能なように接続されている。以下、画面内予測器803と画面間予測器804とを含む構成要素は、予測信号生成器821と総称する。   Subsequently, an image encoding apparatus, method, and program using the above-described image signal conversion process will be described. FIG. 8 is a diagram showing the configuration of the image coding apparatus according to the present embodiment. As shown in FIG. 8, the image coding apparatus 800 includes an input terminal 801, a block divider 802, an intra-screen predictor 803, an inter-screen predictor 804, and connection terminals 805, 806, 807, 808, and 810. A changeover switch 809, an adder 811, a frame memory 812, a converter 813, a quantizer 814, an inverse quantizer 815, an inverse transformer 816, an adder 817, and a weight determiner 818. An entropy encoder 819 and an output terminal 820. These components are connected to each other through a bus so that signals can be input and output. Hereinafter, the components including the intra-screen predictor 803 and the inter-screen predictor 804 are collectively referred to as a predicted signal generator 821.

動画像を構成する複数の画像が入力端子801から入力されると、これらの画像は、ブロック分割器802により、N×M画素からなるブロックに分割される。本実施の形態では、N=M=8であるが、N≠Mであってもよいし、8画素以外の分割でもよい。符号化の対象となるブロックは、ラインL820aを経由して画面内予測器803と画面間予測器804とに入力される。   When a plurality of images constituting a moving image are input from the input terminal 801, these images are divided by the block divider 802 into blocks composed of N × M pixels. In this embodiment, N = M = 8, but N ≠ M may be used, and division other than 8 pixels may be used. The block to be encoded is input to the intra-screen predictor 803 and the inter-screen predictor 804 via the line L820a.

画面内予測器803は、符号化の対象となるブロック信号、及びフレームメモリ812に格納されている同じ画面を構成する既に再生された画像信号を入力し、標準規格H.264と同様の画面予測信号を生成する。画面間予測804は、符号化の対象となるブロック、及びフレームメモリ812に格納されている既再生された異なる画面の信号を入力し、標準規格H.264と同様の動き検出予測を用いて画面間予測信号を生成する。   The intra-screen predictor 803 receives the block signal to be encoded and the image signal that has been reproduced and forms the same screen stored in the frame memory 812. A screen prediction signal similar to H.264 is generated. The inter-screen prediction 804 is input with a block to be encoded and a signal of a different screen that has been reproduced and stored in the frame memory 812. An inter-screen prediction signal is generated using motion detection prediction similar to H.264.

画像符号化装置800は、端子805から何も入力されない場合、つまり原信号をそのまま符号化の対象とする場合を想定している。切替えスイッチ809は、画面内予測器803による予測信号と、画面間予測器804による予測信号と、予測信号無しの3つのモードのうち、符号量の最も少ないモードを選択する。決定された予測信号は、加算器811に出力された後、符号化の対象となるブロックとの差分が算出される。切替えスイッチ809が端子808に接続する場合、端子805からの入力は“0”であるため、加算器811の出力は、符号化対象ブロックそのものになる。差分信号は、重み決定器818に出力される。   The image encoding apparatus 800 assumes a case where nothing is input from the terminal 805, that is, a case where the original signal is directly subjected to encoding. The changeover switch 809 selects the mode with the smallest code amount from among the three modes of the prediction signal from the intra-screen predictor 803, the prediction signal from the inter-screen predictor 804, and no prediction signal. After the determined prediction signal is output to the adder 811, the difference from the block to be encoded is calculated. When the changeover switch 809 is connected to the terminal 808, since the input from the terminal 805 is “0”, the output of the adder 811 is the encoding target block itself. The difference signal is output to the weight determiner 818.

重み決定器818は、上記差分信号を複数の重み係数を用いて、上述した画像信号変換処理を実行した後、変換係数の符号量を推測する。本実施の形態では、重み決定器818は、変換係数をエントロピー符号化した上で符号量の最も少ない重みを決定し、その重みを識別する識別子(識別情報に対応)を変換器813に出力する。変換器813は、重み決定器818にて決定された重みを用いて変換を行う。変換器813は、8×8画素のブロックをさらに4×4画素単位で分割し、各4×4ブロックに対して重み付け変換を施す。   The weight determiner 818 estimates the code amount of the conversion coefficient after performing the above-described image signal conversion processing on the difference signal using a plurality of weight coefficients. In the present embodiment, weight determiner 818 determines the weight with the smallest code amount after entropy encoding the transform coefficient, and outputs an identifier (corresponding to the identification information) for identifying the weight to converter 813. . The converter 813 performs conversion using the weight determined by the weight determiner 818. The converter 813 further divides the 8 × 8 pixel block in units of 4 × 4 pixels, and performs weighting conversion on each 4 × 4 block.

なお、重み決定器818の実行する処理を変換器813に組み込んで、変換器813が、複数の重み付け変換を行いながら最適な重み付け変換を決定すると同時に、変換係数を生成するものとしてもよい。また、本実施の形態では、8×8ブロックに含まれる4つの4×4ブロックは、全て同一の重み付け変換によって処理されるものとしたが、変換器813は、各4×4ブロックにそれぞれ異なる重み付け変換を施してもよい。   Note that the processing executed by the weight determiner 818 may be incorporated into the converter 813 so that the converter 813 determines the optimum weighting conversion while performing a plurality of weighting conversions and at the same time generates the conversion coefficient. In this embodiment, four 4 × 4 blocks included in the 8 × 8 block are all processed by the same weighting conversion. However, the converter 813 is different for each 4 × 4 block. Weighting conversion may be performed.

このようにして得られた変換係数は量子化器814に出力され量子化される。量子化された係数は、エントロピー符号化器819に送られ可変長符号化された後、出力端子820から出力される。一方、量子化された係数は、逆量子化器815にて逆量子化された上で、重み決定器818により決定された重みを用いて、逆変換器816にて逆変換される。その結果は、加算器817において、ラインL811経由の予測信号に加算され、再生信号が生成される。生成された再生信号はフレームメモリ812に格納される。重み決定器818にて決定された重み係数に関する識別子は、ラインL814を経由してエントロピー符号化器819に入力された後、他のデータと共に出力端子820から出力される。   The transform coefficient obtained in this way is output to the quantizer 814 and quantized. The quantized coefficient is sent to the entropy encoder 819, subjected to variable length encoding, and then output from the output terminal 820. On the other hand, the quantized coefficient is inversely quantized by the inverse quantizer 815 and then inversely transformed by the inverse transformer 816 using the weight determined by the weight determiner 818. The result is added to the prediction signal via the line L811 in the adder 817 to generate a reproduction signal. The generated reproduction signal is stored in the frame memory 812. The identifier related to the weight coefficient determined by the weight determiner 818 is input to the entropy encoder 819 via the line L814 and then output from the output terminal 820 together with other data.

以下、図9を参照して、本発明に係る画像符号化装置の動作、併せて、画像符号化方法を構成する各ステップを説明する。図9は、画像符号化装置800の実行する画像符号化処理を説明するためのフローチャートである。符号化の対象となる画像が入力されると(S1)、その画像は、8×8画素からなるブロックに分割される(S2)。S3では、符号化の対象となるブロックに対する予測信号が生成される。本実施の形態では、予測信号の生成方法として、“画面内予測”、“画面間予測”、“予測なし”の3つのモードが選択される。これらの方法で生成された予測信号の候補のうち、誤差が最少の信号が予測信号に決定される。   Hereinafter, with reference to FIG. 9, the operation of the image coding apparatus according to the present invention and each step constituting the image coding method will be described. FIG. 9 is a flowchart for explaining an image encoding process performed by the image encoding apparatus 800. When an image to be encoded is input (S1), the image is divided into blocks of 8 × 8 pixels (S2). In S3, a prediction signal for a block to be encoded is generated. In the present embodiment, three modes of “intra-screen prediction”, “inter-screen prediction”, and “no prediction” are selected as the prediction signal generation method. Of the prediction signal candidates generated by these methods, the signal with the smallest error is determined as the prediction signal.

S4では、予測信号と符号化の対象となるブロックとの差分から、差分信号が生成される。S5では、4×4サンプル単位に分割された差分信号に対し、複数の重み係数を用いて上述の方法で変換処理が施され、信号を最もコンパクトに纏められる重み係数が決定される。例えば、符号量または画質を高くする場合には、画像符号化装置800は、重み係数w〜wを「1」とするとともに、重み係数wについては、上述した16通りの値の何れかを用いる。一方、符号量または画質を低くする場合には、重み係数wを「1」とし、重み係数w,w,wを、上述した16通りの値の何れかとする。 In S4, a difference signal is generated from the difference between the prediction signal and the block to be encoded. In S5, the differential signal divided in units of 4 × 4 samples is subjected to conversion processing by the above-described method using a plurality of weighting factors, and the weighting factor that can collect the signals in the most compact manner is determined. For example, when the code amount or the image quality is increased, the image coding apparatus 800 sets the weighting factors w 1 to w 3 to “1” and the weighting factor w 4 is any of the 16 values described above. Is used. On the other hand, when the code amount or the image quality is lowered, the weight coefficient w 3 is set to “1”, and the weight coefficients w 1 , w 2 , and w 4 are set to any one of the 16 values described above.

S6では、S5で決定された重み係数に応じた変換処理が実行される。その後、各変換係数は量子化され、量子化変換係数が生成される(S7)。上記量子化変換係数は逆量子化された後(S8)、S5で決定された重み係数を用いて逆変換される。その結果、再生係数が生成される(S9)。S10では、生成された上記再生係数が、S3で決定された予測信号に加算される。その結果、再生ブロックが生成される。再生ブロックは、一時的にフレームメモリ812に格納される。これと同時に、上記量子化変換係数と重み係数の識別子とがエントロピー符号化され、出力される(S11)。   In S6, a conversion process according to the weighting factor determined in S5 is executed. Thereafter, each transform coefficient is quantized, and a quantized transform coefficient is generated (S7). The quantized transform coefficient is inversely quantized (S8) and then inversely transformed using the weighting coefficient determined in S5. As a result, a reproduction coefficient is generated (S9). In S10, the generated reproduction coefficient is added to the prediction signal determined in S3. As a result, a reproduction block is generated. The playback block is temporarily stored in the frame memory 812. At the same time, the quantized transform coefficient and the weight coefficient identifier are entropy-coded and output (S11).

S3〜S11の一連の処理は、S2における分割処理により生成された全ての領域に関して実行され(S12;NO)、これら全領域に関して処理が完了した時点で画像符号化処理は終了する。なお、画像符号化装置800が、S5にて変換時の重み係数を決定する際に得られた変換係数を出力すれば、変換処理を改めて行う必要はなくなり、S6の処理を省略することもできる。   A series of processes from S3 to S11 is executed for all areas generated by the division process in S2 (S12; NO), and the image encoding process ends when the processes are completed for all the areas. If the image encoding apparatus 800 outputs the transform coefficient obtained when determining the weighting coefficient at the time of conversion in S5, it is not necessary to perform the conversion process again, and the process of S6 can be omitted. .

上述した画像信号逆変換処理を用いた画像復号装置、方法、プログラムについて説明する。図10は、本実施の形態における画像復号装置の構成を示す図である。図10に示すように、画像復号装置900は、入力端子910と、データ解析器911と、逆量子化器912と、逆変換器913と、加算器914と、予測信号生成器915と、フレームメモリ916と、出力端子917とを備える。これら各構成要素は、バスを介して、相互に信号の入出力が可能なように接続されている。   An image decoding apparatus, method, and program using the above-described image signal inverse transform processing will be described. FIG. 10 is a diagram illustrating the configuration of the image decoding apparatus according to the present embodiment. As shown in FIG. 10, the image decoding apparatus 900 includes an input terminal 910, a data analyzer 911, an inverse quantizer 912, an inverse transformer 913, an adder 914, a prediction signal generator 915, a frame A memory 916 and an output terminal 917 are provided. These components are connected to each other through a bus so that signals can be input and output.

入力端子910は、複数の領域に分割された画像に対して画面内予測または画面間予測を行った上で変換符号化することにより生成された圧縮データを、入力する。データ解析器911は、圧縮データを解析し、エントロピー復号処理を行う。また、量子化された変換係数、量子化に関する情報、予測信号の生成に関するモード情報、及び、逆変換処理に用いられる重み係数の識別子(識別情報に対応)を抽出する。   The input terminal 910 inputs compressed data generated by performing transform coding after performing intra-screen prediction or inter-screen prediction on an image divided into a plurality of regions. The data analyzer 911 analyzes the compressed data and performs entropy decoding processing. In addition, a quantized transform coefficient, information regarding quantization, mode information regarding generation of a prediction signal, and an identifier (corresponding to identification information) of a weight coefficient used for inverse transform processing are extracted.

逆量子化器912は、上記量子化された変換係数、及び量子化に関する情報をラインL912経由で入力し、逆量子化された変換係数を生成する。逆変換器913は、逆量子化された変換係数をラインL915経由で入力するとともに、逆変換処理に用いられる重み係数の識別子をラインL914経由で入力する。そして、指定された重み係数を用いて、逆変換が行われ逆変換信号を生成する。   The inverse quantizer 912 receives the quantized transform coefficient and information related to the quantization via the line L912, and generates a dequantized transform coefficient. The inverse transformer 913 inputs the inverse-quantized transform coefficient via the line L915 and also inputs the identifier of the weighting coefficient used for the inverse transform process via the line L914. Then, inverse transformation is performed using the designated weighting factor to generate an inverse transformation signal.

予測信号生成器915は、予測信号の生成に関するモード情報をラインL913経由で入力すると、その情報を参照して、画面内予測、画面間予測、予測なしの中から最適なモードを選択し、予測信号を生成する。加算器914は、ラインL916経由で入力された逆変換信号と、ラインL917経由で入力された予測信号とを加算する。フレームメモリ916は、上記加算の結果を格納し、出力端子917は、これを表示する。   When the prediction signal generator 915 inputs mode information related to generation of a prediction signal via the line L913, the prediction signal generator 915 selects an optimal mode from among intra prediction, inter prediction, and no prediction by referring to the information. Generate a signal. The adder 914 adds the inverse transform signal input via the line L916 and the prediction signal input via the line L917. The frame memory 916 stores the result of the addition, and the output terminal 917 displays this.

以下、図11を参照して、本発明に係る画像復号装置の動作、併せて、画像復号方法を構成する各ステップを説明する。図11は、画像復号装置900の実行する画像復号処理を説明するためのフローチャートである。圧縮データが入力されると(T1)、エントロピー復号が行われ、量子化された変換係数、量子化に関する情報、予測信号生成に関するモード情報、重み係数の識別子が、上記圧縮データから抽出される(T2)。T3では、上記予測信号生成に関するモード情報に基づき、予測信号が生成される。   Hereinafter, with reference to FIG. 11, the operation of the image decoding apparatus according to the present invention and the steps constituting the image decoding method will be described. FIG. 11 is a flowchart for explaining image decoding processing executed by the image decoding apparatus 900. When compressed data is input (T1), entropy decoding is performed, and quantized transform coefficients, quantization information, prediction signal generation mode information, and weight coefficient identifiers are extracted from the compressed data ( T2). In T3, a prediction signal is generated based on the mode information related to the prediction signal generation.

T4では、量子化された変換係数が逆量子化され、T5では、重み係数識別子によって指定された重み係数に応じて、逆変換処理が行われる。その結果、逆変換信号が生成される。T6では、T3で生成された予測信号と、T5で生成された逆変換信号とが加算され、再生ブロック信号が生成される。この再生ブロック信号は、T7にて、フレームメモリ916に一時格納される。T2〜T7の一連の処理は、T1にて入力された全ての圧縮データに関して実行され(T8;NO)、これら全データに関する処理が完了した時点で画像復号処理は終了する。   At T4, the quantized transform coefficient is inversely quantized, and at T5, an inverse transform process is performed according to the weighting factor specified by the weighting factor identifier. As a result, an inverse conversion signal is generated. At T6, the prediction signal generated at T3 and the inverse transform signal generated at T5 are added to generate a reproduction block signal. This reproduction block signal is temporarily stored in the frame memory 916 at T7. A series of processing from T2 to T7 is executed for all the compressed data input at T1 (T8; NO), and the image decoding processing ends when the processing for all the data is completed.

ここで、本発明に係る画像符号化技術は、コンピュータを画像符号化装置800として動作させるための画像符号化プログラムとして実現することもできる。図12は、本発明に係る画像符号化プログラム1000の構成を示す図である。画像符号化プログラム1000は、記録媒体1000aに記録されている。記録媒体1000aは、例えば、フロッピー(登録商標)ディスク、CD−ROM、DVD(Digital Versatile Disc)、あるいは半導体メモリである。   Here, the image encoding technique according to the present invention can also be realized as an image encoding program for causing a computer to operate as the image encoding apparatus 800. FIG. 12 is a diagram showing a configuration of an image encoding program 1000 according to the present invention. The image encoding program 1000 is recorded on the recording medium 1000a. The recording medium 1000a is, for example, a floppy (registered trademark) disk, a CD-ROM, a DVD (Digital Versatile Disc), or a semiconductor memory.

画像符号化プログラム1000は、図12に示すように、画像入力モジュール1001と、画像ブロック化モジュール1002と、予測信号生成モジュール1003と、差分信号生成モジュール1004と、変換用重み決定モジュール1005と、変換モジュール1006と、量子化モジュール1007と、逆量子化モジュール1008と、逆変換モジュール1009と、加算モジュール1010と、エントロピー符号化モジュール1012とを、構成単位として有する。これら各モジュールを実行させることによって実現する機能は、上述した画像符号化装置800(図8参照)の入力端子801、ブロック分割器802、予測信号生成器821、加算器811、重み決定器818、変換器813、量子化器814、逆量子化器815、逆変換器816、加算器817、エントロピー符号化器819の各機能とそれぞれ同様である。記憶モジュール1011を実行させることによって格納されるデータは、フレームメモリ812に格納されるデータと同様である。   As shown in FIG. 12, the image encoding program 1000 includes an image input module 1001, an image blocking module 1002, a prediction signal generation module 1003, a difference signal generation module 1004, a conversion weight determination module 1005, a conversion The module 1006, the quantization module 1007, the inverse quantization module 1008, the inverse transform module 1009, the addition module 1010, and the entropy encoding module 1012 are included as structural units. Functions realized by executing these modules include the input terminal 801, the block divider 802, the prediction signal generator 821, the adder 811, the weight determiner 818, and the image encoding device 800 (see FIG. 8) described above. The functions of the converter 813, the quantizer 814, the inverse quantizer 815, the inverse transformer 816, the adder 817, and the entropy encoder 819 are the same. Data stored by executing the storage module 1011 is the same as the data stored in the frame memory 812.

また、本発明に係る画像復号技術は、コンピュータを画像復号装置900として動作させるための画像復号プログラムとしても実現可能である。本発明に係る画像復号プログラム1100は、例えば、図13に示すような構成を採ることができる。画像復号プログラム1100は、記録媒体1100aに記録されている。記録媒体1100aは、例えば、フロッピー(登録商標)ディスク、CD−ROM、DVD、あるいは半導体メモリである。   The image decoding technique according to the present invention can also be realized as an image decoding program for causing a computer to operate as the image decoding apparatus 900. The image decoding program 1100 according to the present invention can adopt, for example, a configuration as shown in FIG. The image decoding program 1100 is recorded on the recording medium 1100a. The recording medium 1100a is, for example, a floppy (registered trademark) disk, a CD-ROM, a DVD, or a semiconductor memory.

画像復号プログラム1100は、図13に示すように、圧縮データ入力モジュール1101と、エントロピー復号モジュール1102と、予測信号生成モジュール1103と、逆量子化モジュール1104と、逆変換モジュール1105と、加算モジュール1106とを構成単位として有する。これら各モジュールを実行させることによって実現する機能は、上述した画像復号装置900の入力端子910、データ解析器911、予測信号生成器915、逆量子化器912、逆変換器913、加算器914の有する各機能とそれぞれ同様である。記憶モジュール1107を実行させることによって格納されるデータは、フレームメモリ916に格納されるデータと同様である。   As shown in FIG. 13, the image decoding program 1100 includes a compressed data input module 1101, an entropy decoding module 1102, a prediction signal generation module 1103, an inverse quantization module 1104, an inverse transform module 1105, and an addition module 1106. As a structural unit. The functions realized by executing these modules include the input terminal 910, the data analyzer 911, the prediction signal generator 915, the inverse quantizer 912, the inverse transformer 913, and the adder 914 of the image decoding apparatus 900 described above. Each function is the same. Data stored by executing the storage module 1107 is the same as the data stored in the frame memory 916.

図14は、記録媒体1000a,1100aに記録されたプログラムを実行するためのコンピュータのハードウェア構成を示す図である。図14に示すように、コンピュータ10は、FDD(Flexible Disk Drive)、CD−ROMドライブ装置、DVDドライブ装置を始めとするデータ読取装置11と、OSを常駐させるための作業用メモリ(RAM:Random Access Memory)12と、記録媒体1000a,1100aから読み出されたプログラムを記憶するメモリ13と、表示装置としてのディスプレイ14と、入力装置としてのマウス15及びキーボード16と、データの送受信を行うための通信装置17と、プログラムの実行を統括的に制御するCPU18とを備える。   FIG. 14 is a diagram illustrating a hardware configuration of a computer for executing a program recorded in the recording media 1000a and 1100a. As shown in FIG. 14, the computer 10 includes a data reader 11 including an FDD (Flexible Disk Drive), a CD-ROM drive device, and a DVD drive device, and a working memory (RAM: Random) for resident OS. Access Memory) 12, a memory 13 for storing programs read from the recording media 1000a and 1100a, a display 14 as a display device, a mouse 15 and a keyboard 16 as input devices, and data transmission / reception A communication device 17 and a CPU 18 that controls the overall execution of the program are provided.

コンピュータ10は、記録媒体1000a,1100aが読取装置11に挿入されると、読取装置11を介して、記録媒体1000a,1100aにそれぞれ記録された画像符号化プログラム1000、画像復号プログラム1100にアクセス可能となる。コンピュータ10は、画像符号化プログラム1000をCPU18により実行することで、上述した画像符号化装置800として動作する。同様に、コンピュータ10は、画像復号プログラム1100をCPU18により実行することで、上述した画像復号装置900として動作することが可能になる。   When the recording media 1000a and 1100a are inserted into the reading device 11, the computer 10 can access the image encoding program 1000 and the image decoding program 1100 recorded on the recording media 1000a and 1100a via the reading device 11, respectively. Become. The computer 10 operates as the image encoding device 800 described above by executing the image encoding program 1000 by the CPU 18. Similarly, the computer 10 can operate as the image decoding apparatus 900 described above by executing the image decoding program 1100 by the CPU 18.

図15は、記録媒体1000a,1100aに記録されているプログラムを実行するためのコンピュータ10の外観斜視図である。コンピュータ10には、PC(Personal Computer)に限らず、CPUを具備し、ソフトウエアによる情報処理や制御を行うDVDプレーヤ、セットトップボックス、携帯電話などを含む。   FIG. 15 is an external perspective view of the computer 10 for executing the programs recorded in the recording media 1000a and 1100a. The computer 10 is not limited to a PC (Personal Computer), and includes a DVD player, a set top box, a mobile phone, and the like that have a CPU and perform software information processing and control.

図15に示すように、画像符号化プログラム1000または画像復号プログラム1100は、搬送波に重畳されたデータ信号20として、ネットワーク経由で提供(ダウンロード)されるものであってもよい。この場合、コンピュータ10は、通信装置17によって、画像符号化プログラム1000若しくは画像復号プログラム1100を受信し、メモリ13に格納した後に、これらのプログラムを実行する。   As shown in FIG. 15, the image encoding program 1000 or the image decoding program 1100 may be provided (downloaded) via a network as the data signal 20 superimposed on a carrier wave. In this case, the computer 10 receives the image encoding program 1000 or the image decoding program 1100 by the communication device 17 and stores them in the memory 13 and then executes these programs.

以上説明したように、本発明に係る画像符号化復号技術(装置、方法、プログラム)によれば、信号変換処理に際して、入力信号の相関が高くなるように重み付け変換処理を行う。これにより、信号を更にコンパクトに表すことができるため、画像信号を効率良く符号化することが可能となる。   As described above, according to the image coding / decoding technique (apparatus, method, program) according to the present invention, weight conversion processing is performed so that the correlation of input signals becomes high in signal conversion processing. Thereby, since the signal can be expressed more compactly, the image signal can be efficiently encoded.

300…画像信号変換装置、400…画像信号逆変換装置、800…画像符号化装置、801…入力端子、802…ブロック分割器、803…画面内予測器、804…画面間予測器、805,806,807,808,810…接続端子、809…切替えスイッチ、811…加算器、812…フレームメモリ、813…変換器、814…量子化器、815…逆量子化器、816…逆変換器、817…加算器、818…重み決定器、819…エントロピー符号化器、820…出力端子、900…画像復号装置、910…入力端子、911…データ解析器、912…逆量子化器、913…逆変換器、914…加算器、915…予測信号生成器、916…フレームメモリ、917…出力端子、1000…画像符号化プログラム、1001…画像入力モジュール、1002…画像ブロック化モジュール、1003…予測信号生成モジュール、1004…差分信号生成モジュール、1005…変換用重み決定モジュール、1006…変換モジュール、1007…量子化モジュール、1008…逆量子化モジュール、1009…逆変換モジュール、1010…加算モジュール、1011…記憶モジュール、1012…エントロピー符号化モジュール、1100…画像復号プログラム、1101…圧縮データ入力モジュール、1102…エントロピー復号モジュール、1103…予測信号生成モジュール、1104…逆量子化モジュール、1105…逆変換モジュール、1106…加算モジュール、1107…記憶モジュール1107。
DESCRIPTION OF SYMBOLS 300 ... Image signal conversion apparatus, 400 ... Image signal reverse conversion apparatus, 800 ... Image coding apparatus, 801 ... Input terminal, 802 ... Block divider, 803 ... In-screen predictor, 804 ... Inter-screen predictor, 805, 806 , 807, 808, 810 ... connection terminal, 809 ... changeover switch, 811 ... adder, 812 ... frame memory, 813 ... converter, 814 ... quantizer, 815 ... inverse quantizer, 816 ... inverse converter, 817 ... adder, 818 ... weight determiner, 819 ... entropy encoder, 820 ... output terminal, 900 ... image decoding device, 910 ... input terminal, 911 ... data analyzer, 912 ... inverse quantizer, 913 ... inverse transform 914 ... adder, 915 ... prediction signal generator, 916 ... frame memory, 917 ... output terminal, 1000 ... image encoding program, 1001 ... image input Joule, 1002 ... Image blocking module, 1003 ... Prediction signal generation module, 1004 ... Difference signal generation module, 1005 ... Conversion weight determination module, 1006 ... Transformation module, 1007 ... Quantization module, 1008 ... Inverse quantization module, 1009 ... Inverse transform module, 1010 ... Addition module, 1011 ... Storage module, 1012 ... Entropy encoding module, 1100 ... Image decoding program, 1101 ... Compressed data input module, 1102 ... Entropy decoding module, 1103 ... Prediction signal generation module, 1104 ... Inverse quantization module, 1105, inverse transform module, 1106, addition module, 1107, storage module 1107.

Claims (10)

所定の変換規則に従って、2個(Nは自然数)の入力サンプルから2個の変換サンプルを生成する画像信号変換方法であって、
前記変換規則に従って定まった第n対(n=1〜2N−1)の入力サンプルのうちの1つの入力サンプルを第n番目の重み係数で重み付けした上で、第1変換演算を行い、第n対の中間値を生成する中間値生成ステップと、
当該中間値生成ステップにて生成された2個の中間値を入力とし、前記変換規則に従って定まった第m対(m=1〜2N−1)の中間値のうちの1つの中間値を第m番目の重み係数で重み付けした上で、第2変換演算を行い、第m対の変換サンプルを生成する変換係数生成ステップと、
を含むことを特徴とする画像信号変換方法。
According to a predetermined conversion rule, (N is a natural number) 2 N pieces An image signal converting method of generating the 2 N transform samples from input samples,
A first conversion operation is performed after weighting one input sample of n-th (n = 1 to 2 N-1 ) input samples determined according to the conversion rule with an n-th weighting factor, an intermediate value generating step for generating n pairs of intermediate values;
2N intermediate values generated in the intermediate value generation step are input, and one intermediate value of m-th pairs (m = 1 to 2 N−1 ) intermediate values determined according to the conversion rule is A conversion coefficient generating step of performing a second conversion operation after weighting with the m-th weighting coefficient and generating an m-th pair of conversion samples;
An image signal conversion method comprising:
所定の変換規則に従って、2個(Nは自然数)の変換サンプルより2個の出力サンプルを生成する画像信号逆変換方法であって、
前記変換規則に従って定まった第n対(n=1〜2N−1)の変換サンプルのうちの1つの変換サンプルを第n番目の重み係数で重み付けした上で、第1変換演算を行い、第n対の中間値を生成する中間値生成ステップと、
当該中間値生成ステップにて生成された2個の中間値を入力とし、前記変換規則に従って定まった第m対(m=1〜2N−1)の中間値のうちの1つの中間値を第m番目の重み係数で重み付けした上で、第2変換演算を行い、第m対の出力サンプルを生成する出力値生成ステップと、
を含むことを特徴とする画像信号逆変換方法。
According to a predetermined conversion rule, a 2 N (N is a natural number) image signal inverse conversion method for generating a 2 N output samples than the conversion sample,
The first conversion operation is performed after weighting one conversion sample of the n-th pair (n = 1 to 2 N-1 ) conversion samples determined according to the conversion rule with the n-th weighting coefficient, an intermediate value generating step for generating n pairs of intermediate values;
2N intermediate values generated in the intermediate value generation step are input, and one intermediate value of m-th pairs (m = 1 to 2 N−1 ) intermediate values determined according to the conversion rule is An output value generation step of performing a second conversion operation after weighting with the m-th weighting factor and generating an m-th pair of output samples;
An image signal inverse transform method comprising:
符号化の対象となる入力画像を入力する入力手段と、
当該入力手段により入力された入力画像を複数の符号化領域に分割する領域分割手段と、
当該領域分割手段により分割された符号化領域に対し、画面内予測または画面間予測の何れかを行って差分信号を求め、当該差分信号を変換対象信号として生成する予測手段と、
請求項1に記載の画像信号変換方法を用いて、前記予測手段により生成された変換対象信号を入力サンプルとして変換サンプルを生成し、生成された変換サンプルを変換係数とすることで、前記変換対象信号を前記変換係数に変換する変換手段と、
当該変換手段により変換された変換係数を符号化する符号化手段と、
を備えることを特徴とする画像符号化装置。
An input means for inputting an input image to be encoded;
Area dividing means for dividing the input image input by the input means into a plurality of encoding areas;
A prediction unit that performs either intra-screen prediction or inter-screen prediction on the coding region divided by the region dividing unit to obtain a difference signal, and generates the difference signal as a conversion target signal;
The image signal conversion method according to claim 1, wherein a conversion sample is generated using the conversion target signal generated by the prediction unit as an input sample, and the generated conversion sample is used as a conversion coefficient. Conversion means for converting a signal into the conversion coefficient;
Encoding means for encoding the transform coefficient transformed by the transform means;
An image encoding device comprising:
前記変換手段は、請求項1に記載の画像信号変換方法における中間値生成ステップと変換係数生成ステップにて、複数の重み係数の中から、前記変換対象信号のエネルギー集中度が最も高くなるような重み係数を選択し、当該重み係数の識別情報をさらに符号化することを特徴とする請求項3に記載の画像符号化装置。   In the intermediate value generation step and the conversion coefficient generation step in the image signal conversion method according to claim 1, the conversion means is configured such that the energy concentration of the conversion target signal is the highest among a plurality of weight coefficients. 4. The image coding apparatus according to claim 3, wherein a weighting factor is selected, and identification information of the weighting factor is further coded. 複数の領域に分割された画像に対し、画面内予測または画面間予測の何れかを行った上で変換符号化することにより生成された圧縮データを入力する入力手段と、
当該入力手段により入力された圧縮データから、各領域に対応する変換係数を復元し、得られた変換係数を復元変換係数として生成する復号手段と、
請求項2に記載の画像信号逆変換方法を用いて、前記復号手段により生成された復元変換係数を変換サンプルとして出力サンプルを生成し、当該出力サンプルを逆変換データとすることで、前記復元変換係数を前記逆変換データに変換する逆変換手段と、
を備えることを特徴とする画像復号装置。
Input means for inputting compressed data generated by transform coding after performing either intra prediction or inter prediction on an image divided into a plurality of regions;
Decoding means for restoring the transform coefficient corresponding to each region from the compressed data input by the input means, and generating the obtained transform coefficient as a restored transform coefficient;
An image signal inverse transform method according to claim 2, wherein an output sample is generated using the restored transform coefficient generated by the decoding means as a transform sample, and the output sample is used as inverse transform data, whereby the decompression transform is performed. Inverse transform means for transforming the coefficient into the inverse transform data;
An image decoding apparatus comprising:
前記圧縮データは、請求項2に記載の画像信号逆変換方法における中間値生成ステップまたは出力値生成ステップにて用いられた重み係数の識別情報を含み、
前記復号手段は、前記識別情報を復号し、当該識別情報に対応した重み係数を用いて、前記中間値生成ステップまたは前記出力値生成ステップの処理を行うことを特徴とする請求項5に記載の画像復号装置。
The compressed data includes identification information of weighting factors used in the intermediate value generation step or the output value generation step in the image signal inverse transformation method according to claim 2,
The said decoding means decodes the said identification information, and performs the process of the said intermediate value generation step or the said output value generation step using the weighting coefficient corresponding to the said identification information, The said output value generation step is characterized by the above-mentioned. Image decoding device.
符号化の対象となる入力画像を入力する入力ステップと、
当該入力ステップにて入力された入力画像を複数の符号化領域に分割する領域分割ステップと、
当該領域分割ステップにて分割された符号化領域に対し、画面内予測または画面間予測の何れかを行って差分信号を求め、当該差分信号を変換対象信号として生成する予測ステップと、
請求項1に記載の画像信号変換方法を用いて、前記予測ステップにて生成された変換対象信号を入力サンプルとして変換サンプルを生成し、生成された変換サンプルを変換係数とすることで、前記変換対象信号を前記変換係数に変換する変換ステップと、
前記変換ステップにて変換された変換係数を符号化する符号化ステップと、
を含むことを特徴とする画像符号化方法。
An input step for inputting an input image to be encoded;
A region dividing step for dividing the input image input in the input step into a plurality of coding regions;
A prediction step for obtaining a difference signal by performing either intra prediction or inter prediction for the coding region divided in the region dividing step, and generating the difference signal as a conversion target signal;
The image signal conversion method according to claim 1, wherein a conversion sample is generated using the conversion target signal generated in the prediction step as an input sample, and the generated conversion sample is used as a conversion coefficient. A conversion step of converting a target signal into the conversion coefficient;
An encoding step for encoding the conversion coefficient converted in the conversion step;
An image encoding method comprising:
複数の領域に分割された画像に対し、画面内予測または画面間予測の何れかを行った上で変換符号化することにより生成された圧縮データを入力する入力ステップと、
当該入力ステップにて入力された圧縮データから、各領域に対応する変換係数を復元し、得られた変換係数を復元変換係数として生成する復号ステップと、
請求項2に記載の画像信号逆変換方法を用いて、前記復号ステップにて生成された復元変換係数を変換サンプルとして出力サンプルを生成し、当該出力サンプルを逆変換データとすることで、前記復元変換係数を前記逆変換データに変換する逆変換ステップと、
を含むことを特徴とする画像復号方法。
An input step for inputting compressed data generated by performing transform coding after performing either intra prediction or inter prediction on an image divided into a plurality of regions;
A decoding step of restoring the transform coefficient corresponding to each region from the compressed data input in the input step, and generating the obtained transform coefficient as a restored transform coefficient;
The image signal inverse transform method according to claim 2, wherein an output sample is generated using the restored transform coefficient generated in the decoding step as a transformed sample, and the output sample is used as an inverse transformed data, so that the restoration is performed. An inverse transformation step of transforming a transformation coefficient into the inverse transformation data;
An image decoding method comprising:
符号化の対象となる入力画像を入力する処理と、
当該入力された入力画像を複数の符号化領域に分割する処理と、
当該分割された符号化領域に対し、画面内予測または画面間予測の何れかを行って差分信号を求め、当該差分信号を変換対象信号として生成する処理と、
請求項1に記載の画像信号変換方法を用いて、前記生成された変換対象信号を入力サンプルとして変換サンプルを生成し、当該変換サンプルを変換係数とすることで、前記変換対象信号を前記変換係数に変換する処理と、
当該変換された変換係数を符号化する処理と、
をコンピュータに実行させることを特徴とする画像符号化プログラム。
A process of inputting an input image to be encoded;
Processing to divide the inputted input image into a plurality of coding regions;
A process for obtaining a difference signal by performing either intra prediction or inter prediction for the divided coding region, and generating the difference signal as a conversion target signal;
The image signal conversion method according to claim 1, wherein a conversion sample is generated using the generated conversion target signal as an input sample, and the conversion sample is used as a conversion coefficient, thereby converting the conversion target signal into the conversion coefficient. The process of converting to
A process of encoding the transformed transform coefficient;
An image encoding program that causes a computer to execute the above.
複数の領域に分割された画像に対し、画面内予測または画面間予測の何れかを行った上で変換符号化することにより生成された圧縮データを入力する処理と、
当該入力された圧縮データから、各領域に対応する変換係数を復元し、得られた変換係数を復元変換係数として生成する処理と、
請求項2に記載の画像信号逆変換方法を用いて、前記復元変換係数を変換サンプルとして出力サンプルを生成し、当該出力サンプルを逆変換データとすることで、前記復元変換係数を前記逆変換データに変換する処理と、
をコンピュータに実行させることを特徴とする画像復号プログラム。
A process of inputting compressed data generated by transform coding after performing either intra prediction or inter prediction on an image divided into a plurality of regions;
A process of restoring the transform coefficient corresponding to each region from the input compressed data, and generating the obtained transform coefficient as a restored transform coefficient;
An output signal is generated using the restored transform coefficient as a transform sample using the image signal inverse transform method according to claim 2, and the output sample is used as inverse transform data, whereby the restored transform coefficient is used as the inverse transform data. The process of converting to
An image decoding program that causes a computer to execute the above.
JP2009233664A 2009-10-07 2009-10-07 Image signal conversion method, image signal reverse conversion method, image encoding device, image decoding device, image encoding method, image decoding method, image encoding program, and image decoding program Pending JP2010009624A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009233664A JP2010009624A (en) 2009-10-07 2009-10-07 Image signal conversion method, image signal reverse conversion method, image encoding device, image decoding device, image encoding method, image decoding method, image encoding program, and image decoding program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009233664A JP2010009624A (en) 2009-10-07 2009-10-07 Image signal conversion method, image signal reverse conversion method, image encoding device, image decoding device, image encoding method, image decoding method, image encoding program, and image decoding program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2005141669A Division JP4448055B2 (en) 2005-01-07 2005-05-13 Image signal conversion method, image signal inverse conversion method, image encoding device, image decoding device, image encoding method, image decoding method, image encoding program, and image decoding program

Publications (1)

Publication Number Publication Date
JP2010009624A true JP2010009624A (en) 2010-01-14

Family

ID=41589942

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009233664A Pending JP2010009624A (en) 2009-10-07 2009-10-07 Image signal conversion method, image signal reverse conversion method, image encoding device, image decoding device, image encoding method, image decoding method, image encoding program, and image decoding program

Country Status (1)

Country Link
JP (1) JP2010009624A (en)

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0364188A (en) * 1989-05-12 1991-03-19 Rai Radiotelevisione It Discrete cosine transform coder of digital video signal
JPH05183889A (en) * 1991-12-26 1993-07-23 Sony Corp Image encoder
JPH0653839A (en) * 1992-07-29 1994-02-25 Casio Comput Co Ltd Data compressing device
JPH06195369A (en) * 1992-12-24 1994-07-15 Fujitsu Ltd Fast algorithm discrete cosine transformer/inverse transformer
JPH07284099A (en) * 1994-04-13 1995-10-27 Sony Corp Encoding device
JPH08294125A (en) * 1995-04-20 1996-11-05 Toshiba Corp Moving image coder and moving image decoder
JPH09130801A (en) * 1995-10-26 1997-05-16 Sony Corp Image encoding device, image encoding method, image decoding device and image decoding device
JP2000040943A (en) * 1998-06-24 2000-02-08 Canon Inc Digital filter device and its filtering method
JP2001258033A (en) * 2000-03-13 2001-09-21 Canon Inc Coder and method for image data, and storage medium
WO2003026315A1 (en) * 2001-09-14 2003-03-27 Ntt Docomo, Inc. Coding method, decoding method, coding apparatus, decoding apparatus, image processing system, coding program, and decoding program
US20030099291A1 (en) * 2001-08-09 2003-05-29 Kerofsky Louis J. Systems and methods for enabling reduced bit-depth processing and memory reduction in video-related data processing
JP2003284078A (en) * 2002-01-18 2003-10-03 Toshiba Corp Method and apparatus for coding image, and method and apparatus for decoding image
JP2004038451A (en) * 2002-07-02 2004-02-05 Canon Inc Hadamard transformation processing method and device
JP2004173250A (en) * 2002-11-21 2004-06-17 Microsoft Corp Progressive to lossless embedded audio coder (pleac) using multiple factorization reversible transform
JP2004242276A (en) * 2002-08-08 2004-08-26 Matsushita Electric Ind Co Ltd Method for encoding and decoding moving image
JP2005039798A (en) * 2003-06-23 2005-02-10 Canon Inc Data transformation processing apparatus and method
JP2006191485A (en) * 2005-01-07 2006-07-20 Ntt Docomo Inc Image signal conversion method, image coding device, image coding method, image coding program, image decoding device, image decoding method, and image decoding program
JP2010154577A (en) * 2010-04-05 2010-07-08 Ntt Docomo Inc Image signal conversion method, image encoder, image encoding method, image encoding program, image decoder, image decoding method, and image decoding program

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0364188A (en) * 1989-05-12 1991-03-19 Rai Radiotelevisione It Discrete cosine transform coder of digital video signal
JPH05183889A (en) * 1991-12-26 1993-07-23 Sony Corp Image encoder
JPH0653839A (en) * 1992-07-29 1994-02-25 Casio Comput Co Ltd Data compressing device
JPH06195369A (en) * 1992-12-24 1994-07-15 Fujitsu Ltd Fast algorithm discrete cosine transformer/inverse transformer
JPH07284099A (en) * 1994-04-13 1995-10-27 Sony Corp Encoding device
JPH08294125A (en) * 1995-04-20 1996-11-05 Toshiba Corp Moving image coder and moving image decoder
JPH09130801A (en) * 1995-10-26 1997-05-16 Sony Corp Image encoding device, image encoding method, image decoding device and image decoding device
JP2000040943A (en) * 1998-06-24 2000-02-08 Canon Inc Digital filter device and its filtering method
JP2001258033A (en) * 2000-03-13 2001-09-21 Canon Inc Coder and method for image data, and storage medium
US20030099291A1 (en) * 2001-08-09 2003-05-29 Kerofsky Louis J. Systems and methods for enabling reduced bit-depth processing and memory reduction in video-related data processing
JP2005501447A (en) * 2001-08-09 2005-01-13 シャープ株式会社 Method for low bit depth quantization
WO2003026315A1 (en) * 2001-09-14 2003-03-27 Ntt Docomo, Inc. Coding method, decoding method, coding apparatus, decoding apparatus, image processing system, coding program, and decoding program
JP2003284078A (en) * 2002-01-18 2003-10-03 Toshiba Corp Method and apparatus for coding image, and method and apparatus for decoding image
JP2004038451A (en) * 2002-07-02 2004-02-05 Canon Inc Hadamard transformation processing method and device
JP2004242276A (en) * 2002-08-08 2004-08-26 Matsushita Electric Ind Co Ltd Method for encoding and decoding moving image
JP2004173250A (en) * 2002-11-21 2004-06-17 Microsoft Corp Progressive to lossless embedded audio coder (pleac) using multiple factorization reversible transform
JP2005039798A (en) * 2003-06-23 2005-02-10 Canon Inc Data transformation processing apparatus and method
JP2006191485A (en) * 2005-01-07 2006-07-20 Ntt Docomo Inc Image signal conversion method, image coding device, image coding method, image coding program, image decoding device, image decoding method, and image decoding program
JP2010154577A (en) * 2010-04-05 2010-07-08 Ntt Docomo Inc Image signal conversion method, image encoder, image encoding method, image encoding program, image decoder, image decoding method, and image decoding program

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
JPN6012024333; Albert P. Berg, Wasfy B. Mikhael: 'FORMAL DEVELOPMENT AND CONVERGENCE ANALYSIS OF THE PARALLEL ADAPTIVE MIXED TRANSFORM ALGORITHM' Proceedings of 1997 IEEE International Symposium on Circuits and Systems , 19970609, Pages:2280-2283, IEEE *
JPN6012024334; Yu-Hwe Lee, Jar-Ferr Yang, Jen-Fa Huang: 'Perceptual activity measures computed from blocks in the transform domain' SIGNAL PROCESSING Vol:82, No:4, 20020401, Pages:693-707, ELSEVIER SCIENCE PUBLISHERS B. V. *
JPN6012024335; Andrew Secker, David Taubman: 'Lifting-Invertible Motion Adaptive Transform (LIMAT) Framework for Highly Scalable Video Compression' IEEE TEANSACTIONS ON IMAGE PROCESSING Vol:12, No:12, 200312, Pages:1530-1542, IEEE *

Similar Documents

Publication Publication Date Title
JP5957562B2 (en) Video encoding / decoding method and apparatus using large size transform unit
RU2514777C1 (en) Method and device for image encoding and decoding using large transformation unit
US7634148B2 (en) Image signal transforming and inverse-transforming method and computer program product with pre-encoding filtering features
JP4425561B2 (en) 2-D conversion for image and video coding
JP4495580B2 (en) In-plane prediction apparatus and in-plane prediction method
JP5686499B2 (en) Image predictive encoding apparatus, method and program, image predictive decoding apparatus, method and program, and encoding / decoding system and method
KR20120034582A (en) Apparatus and method for encoding image/video
US10511860B2 (en) Signal transforming method and device
WO2012008389A1 (en) Image processing device, image processing method, and program
JP2014007469A (en) Image coding device and image coding method
JP4448055B2 (en) Image signal conversion method, image signal inverse conversion method, image encoding device, image decoding device, image encoding method, image decoding method, image encoding program, and image decoding program
JPH07143488A (en) Method and device for decoding image data
CN102986222A (en) Encoding device, encoding method, decoding device, and decoding method
JP2010009624A (en) Image signal conversion method, image signal reverse conversion method, image encoding device, image decoding device, image encoding method, image decoding method, image encoding program, and image decoding program
JP2010154577A (en) Image signal conversion method, image encoder, image encoding method, image encoding program, image decoder, image decoding method, and image decoding program
JP2014523673A (en) Video conversion method and apparatus, inverse conversion method and apparatus
JP2006191485A (en) Image signal conversion method, image coding device, image coding method, image coding program, image decoding device, image decoding method, and image decoding program
JP2006005478A (en) Image encoder and image decoder
JP5175813B2 (en) Encoding device, decoding device, and image processing program
RU2575868C2 (en) Method and apparatus for image encoding and decoding using large transformation unit
JP2006217341A5 (en)
JP2012120086A (en) Video encoder

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091007

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100930

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120412

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120515

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20121002