JP2012134869A - Image encoding method, image decoding method, image encoding apparatus and image decoding apparatus - Google Patents

Image encoding method, image decoding method, image encoding apparatus and image decoding apparatus Download PDF

Info

Publication number
JP2012134869A
JP2012134869A JP2010286539A JP2010286539A JP2012134869A JP 2012134869 A JP2012134869 A JP 2012134869A JP 2010286539 A JP2010286539 A JP 2010286539A JP 2010286539 A JP2010286539 A JP 2010286539A JP 2012134869 A JP2012134869 A JP 2012134869A
Authority
JP
Japan
Prior art keywords
intra prediction
signal
prediction
transform coefficient
decoding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010286539A
Other languages
Japanese (ja)
Other versions
JP5592779B2 (en
Inventor
Yukihiro Bando
幸浩 坂東
Shohei Matsuo
翔平 松尾
Masayuki Takamura
誠之 高村
Atsushi Shimizu
淳 清水
Hirohisa Jozawa
裕尚 如澤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2010286539A priority Critical patent/JP5592779B2/en
Publication of JP2012134869A publication Critical patent/JP2012134869A/en
Application granted granted Critical
Publication of JP5592779B2 publication Critical patent/JP5592779B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To realize an intra-prediction encoding method which reduces intra-prediction errors for increased efficiency.SOLUTION: An intra-prediction processing unit 101 generates an intra-prediction residual signal. A conversion processing unit 102 exerts conversion processing on the intra-prediction residual signal to generate a conversion coefficient, and an inverse conversion processing unit 105 exerts inverse conversion processing on a decode value of the conversion coefficient to generate a decode value of the intra-prediction residual signal. A residual prediction processing unit 110 generates prediction processing for the intra-prediction residual signal, and an adder A3 adds a decode signal of a residual prediction error signal and a prediction value of the intra-prediction residual signal together to generate a decode value of the intra-prediction residual signal. Unless residual prediction is performed, the residual prediction processing unit 110 is not used, while if residual prediction is performed, a decode signal is generated by the residual prediction processing unit 110 using a residual prediction error signal which has had residual prediction made.

Description

本発明は、画像符号化方法、画像復号方法、画像符号化装置、及び画像復号装置に関する。   The present invention relates to an image encoding method, an image decoding method, an image encoding device, and an image decoding device.

動画像符号化のアルゴリズムは、フレーム間符号化(インター符号化)とフレーム内符号化(イントラ符号化)に大別される。フレーム間符号化は、動画像内の時間方向の相関を利用して、情報圧縮を図るアプローチである。代表例は、動き補償を用いたフレーム間予測である。一方、フレーム内符号化は、フレーム内の相関を用いて、情報圧縮を図るアプローチである。JPEG、MPEG−2では、離散コサイン変換(DCT)を用いたアプローチが、JPEG2000では、離散ウェーブレット変換を用いたアプローチが採られた。H.264/AVCでは、前述の変換符号化に加えて、空間方向の予測が行われる(例えば非特許文献1参照)。   The moving image coding algorithms are roughly classified into interframe coding (inter coding) and intraframe coding (intra coding). Interframe coding is an approach for compressing information by using the correlation in the time direction in a moving image. A typical example is inter-frame prediction using motion compensation. On the other hand, intra-frame coding is an approach for compressing information by using intra-frame correlation. In JPEG and MPEG-2, an approach using discrete cosine transform (DCT) was adopted, and in JPEG 2000, an approach using discrete wavelet transform was adopted. H. In H.264 / AVC, prediction in the spatial direction is performed in addition to the above-described transform coding (see, for example, Non-Patent Document 1).

一般的に、インター符号化に比べてイントラ符号化の符号化効率は低く、さらなる符号化効率改善が必要とされている。H.264/AVCのイントラ予測改善のアプローチとして、8方向の予測方向を細分化し、33方向の予測方向をサポートした手法が提案されている。この手法は、予測方向の粒度の粗さに起因する予測誤差を低減させることを狙ったものである。   In general, the coding efficiency of intra coding is lower than that of inter coding, and further improvement in coding efficiency is required. H. As an approach for improving the H.264 / AVC intra prediction, a method that subdivides eight prediction directions and supports 33 prediction directions has been proposed. This method aims to reduce the prediction error due to the coarseness of the granularity in the prediction direction.

図11は、従来のイントラ予測を用いた符号化装置の構成を示すブロック図である。符号化装置は、イントラ予測処理部101、変換処理部102、量子化処理部103、逆量子化処理部104、逆変換処理部105、インループフィルタ処理部106、フレームメモリ107、イントラ予測情報符号化部108、エントロピ符号化処理部109からなる。   FIG. 11 is a block diagram illustrating a configuration of an encoding device using conventional intra prediction. The encoding device includes an intra prediction processing unit 101, a transformation processing unit 102, a quantization processing unit 103, an inverse quantization processing unit 104, an inverse transformation processing unit 105, an in-loop filter processing unit 106, a frame memory 107, an intra prediction information code. And an entropy encoding processing unit 109.

加算器A1は、後述するイントラ予測処理部101からのイントラ予測モードと入力信号との差分信号(イントラ予測残差信号)を生成する。変換処理部102は、イントラ予測残差信号に対する変換処理を行い、変換係数を生成する。量子化処理部103は、変換係数に対する量子化処理を行い、量子化インデックスを生成する。   The adder A1 generates a difference signal (intra prediction residual signal) between an intra prediction mode from the intra prediction processing unit 101 described later and an input signal. The conversion processing unit 102 performs conversion processing on the intra prediction residual signal and generates a conversion coefficient. The quantization processing unit 103 performs a quantization process on the transform coefficient and generates a quantization index.

逆量子化処理部104は、量子化インデックスに対する逆量子化処理を行い、変換係数の復号値を生成する。逆変換処理部105は、変化係数の復号値に対して、逆変換処理を行い、イントラ予測残差信号の復号信号を生成する。加算器A2は、イントラ予測残差信号の復号値に、イントラ予測処理部101によるイントラ予測で生成されるイントラ予測信号を加算して、復号信号を生成する。インループフィルタ処理部106は、復号信号にフィルタ処理を行う。フレームメモリ107は、フィルタ処理後の復号信号を保持する。   The inverse quantization processing unit 104 performs an inverse quantization process on the quantization index, and generates a decoded value of the transform coefficient. The inverse transform processing unit 105 performs an inverse transform process on the decoded value of the change coefficient to generate a decoded signal of the intra prediction residual signal. Adder A2 adds the intra prediction signal produced | generated by the intra prediction by the intra prediction process part 101 to the decoded value of an intra prediction residual signal, and produces | generates a decoded signal. The in-loop filter processing unit 106 performs filter processing on the decoded signal. The frame memory 107 holds the decoded signal after the filter processing.

イントラ予測処理部101は、イントラ符号化の方式(イントラ符号化モード)を設定し、設定されたイントラ予測モードに基づき、イントラ予測信号を生成する。イントラ予測情報符号化部108は、イントラ予測情報を符号化する。エントロピ符号化処理部109は、量子化インデックスをエントロピ符号化する。   The intra prediction processing unit 101 sets an intra coding method (intra coding mode), and generates an intra prediction signal based on the set intra prediction mode. The intra prediction information encoding unit 108 encodes intra prediction information. The entropy encoding processing unit 109 performs entropy encoding on the quantization index.

図12は、従来のイントラ予測を用いた符号化装置の動作を説明するためのフローチャートである。以下のステップS101〜S105の処理を、符号化ユニット毎に実行する。まず、イントラ符号化の方式(イントラ符号化モード)を設定し、設定されたイントラ予測モードに基づき、イントラ予測信号を生成し、さらに、イントラ予測モードと入力信号との差分信号(イントラ予測残差信号)を生成する(ステップS102)。   FIG. 12 is a flowchart for explaining the operation of a coding apparatus using conventional intra prediction. The following steps S101 to S105 are executed for each encoding unit. First, an intra coding scheme (intra coding mode) is set, an intra prediction signal is generated based on the set intra prediction mode, and a difference signal (intra prediction residual) between the intra prediction mode and the input signal is generated. Signal) is generated (step S102).

次に、イントラ予測残差信号に対する変換処理を行い、変換係数を生成し(ステップS103−1)、変換係数に対する量子化処理を行い、量子化インデックスを生成する(ステップS103−2)。次に、量子化インデックスをエントロピ符号化し(ステップS103−3)、量子化インデックスに対する逆量子化処理を行い、変換係数の復号値を生成し(ステップS103−4)、変化係数の復号値に対して、逆変換処理を行い、イントラ予測残差信号の復号信号を生成する(ステップS103−5)。以降、ステップS103−1〜S103−5の処理を、ステップS103とする。   Next, a conversion process is performed on the intra prediction residual signal to generate a conversion coefficient (step S103-1), a quantization process is performed on the conversion coefficient, and a quantization index is generated (step S103-2). Next, the quantization index is entropy-encoded (step S103-3), the inverse quantization process is performed on the quantization index, and a decoded value of the transform coefficient is generated (step S103-4). Then, an inverse transform process is performed to generate a decoded signal of the intra prediction residual signal (step S103-5). Hereinafter, the processing of steps S103-1 to S103-5 is referred to as step S103.

そして、イントラ予測残差信号の復号値にイントラ予測で生成されるイントラ予測信号(ステップS102で生成)を加算して、復号信号を生成する(ステップS104)。   Then, an intra prediction signal generated by intra prediction (generated in step S102) is added to the decoded value of the intra prediction residual signal to generate a decoded signal (step S104).

図13は、従来のイントラ予測を用いた復号装置の構成を示すブロック図である。復号装置は、エントロピ復号処理部201、逆量子化処理部202、逆変換処理部203、イントラ予測情報格納部204、イントラ予測処理部205、インループフィルタ処理部206、フレームメモリ207からなる。   FIG. 13 is a block diagram illustrating a configuration of a decoding device using conventional intra prediction. The decoding apparatus includes an entropy decoding processing unit 201, an inverse quantization processing unit 202, an inverse transformation processing unit 203, an intra prediction information storage unit 204, an intra prediction processing unit 205, an in-loop filter processing unit 206, and a frame memory 207.

エントロピ復号処理部201は、符号化ユニットの符号化データを入力として、エントロピ復号処理する。逆量子化処理部202は、量子化インデックスを入力として、逆量子化処理を行い、変換係数の復号値を生成する。逆変換処理部203は、変換係数の復号値を入力として、逆変換処理を行い、イントラ予測残差信号の復号信号を生成する。   The entropy decoding processing unit 201 receives the encoded data of the encoding unit as input and performs entropy decoding processing. The inverse quantization processing unit 202 performs an inverse quantization process using the quantization index as an input, and generates a decoded value of the transform coefficient. The inverse transform processing unit 203 receives the decoded value of the transform coefficient as an input, performs an inverse transform process, and generates a decoded signal of the intra prediction residual signal.

イントラ予測情報格納部204は、エントロピ復号処理部201で復号されたイントラ予測情報(イントラ符号化モード)を格納する。イントラ予測処理部205は、復号済みの符号化データから、イントラ符号化の方式(イントラ符号化モード)を読み出し、同イントラ予測モードに基づき、イントラ予測信号を生成する。加算器B1は、イントラ予測残差信号の復号値、及びイントラ予測信号を入力として、両者を加算し、復号信号を生成する。インループフィルタ処理部206は、復号信号にフィルタ処理を行う。フレームメモリ207は、フィルタ処理後の復号信号を保持する。   The intra prediction information storage unit 204 stores the intra prediction information (intra coding mode) decoded by the entropy decoding processing unit 201. The intra prediction processing unit 205 reads an intra coding scheme (intra coding mode) from the decoded encoded data, and generates an intra prediction signal based on the intra prediction mode. The adder B1 receives the decoded value of the intra prediction residual signal and the intra prediction signal, adds them, and generates a decoded signal. The in-loop filter processing unit 206 performs filter processing on the decoded signal. The frame memory 207 holds the decoded signal after the filter processing.

図14は、従来のイントラ予測を用いた復号装置の動作を説明するためのフローチャートである。ステップS201〜S206の処理を、符号化ユニット毎に実行する。まず、符号化ユニットの符号化データを入力として、エントロピ復号処理する(ステップS202)。次に、復号済みの符号化データから、イントラ符号化の方式(イントラ符号化モード)を読み出し、同イントラ予測モードに基づき、イントラ予測信号を生成する(ステップS203)。   FIG. 14 is a flowchart for explaining the operation of a decoding apparatus using conventional intra prediction. The processing of steps S201 to S206 is executed for each encoding unit. First, entropy decoding processing is performed with the encoded data of the encoding unit as input (step S202). Next, an intra coding method (intra coding mode) is read from the decoded encoded data, and an intra prediction signal is generated based on the intra prediction mode (step S203).

次に、量子化インデックスを入力として、逆量子化処理を行い、変換係数の復号値を生成し(ステップS204−1)、変換係数の復号値を入力として、逆変換処理を行い、イントラ予測残差信号の復号信号を生成する(ステップS204−2)。以降、ステップS204−1、S204−2の処理を、ステップS204とする。   Next, an inverse quantization process is performed using the quantization index as an input to generate a decoded value of the transform coefficient (step S204-1), an inverse transform process is performed using the decoded value of the transform coefficient as an input, and an intra prediction residual is obtained. A decoded signal of the difference signal is generated (step S204-2). Hereinafter, the processing of steps S204-1 and S204-2 is referred to as step S204.

そして、イントラ予測残差信号の復号値、及びイントラ予測信号(ステップS203で生成)を入力として、両者を加算し、復号信号を生成する。   Then, the decoded value of the intra prediction residual signal and the intra prediction signal (generated in step S203) are input, and both are added to generate a decoded signal.

“H.264/AVC 教科書”,角野眞也他,インプレス,2008.“H.264 / AVC textbook”, Takuya Kakuno et al., Impress, 2008.

従来のイントラ予測は、いずれも外挿予測であるため、参照画素と被予測画素との間の距離の増大に伴い、予測誤差が増大する傾向にある。このため、予測方向の粒度に差異はあるものの、こうした外挿予測が機構的に内在する問題は未解決であり、符号化効率向上に改良の余地を残すという問題がある。   Since all the conventional intra predictions are extrapolation predictions, the prediction error tends to increase as the distance between the reference pixel and the pixel to be predicted increases. For this reason, although there is a difference in the granularity of the prediction direction, the problem inherent in such extrapolation prediction is unsolved, and there is a problem of leaving room for improvement in improving the coding efficiency.

本発明は、このような事情を考慮してなされたものであり、その目的は、イントラ予測誤差間の相関に着目し、イントラ予測誤差を低減することで、高能率なイントラ符号化方法を確立することができる画像符号化方法、画像復号方法、画像符号化装置、及び画像復号装置を提供することにある。   The present invention has been made in view of such circumstances, and its purpose is to focus on the correlation between intra prediction errors, and to establish a highly efficient intra coding method by reducing intra prediction errors. The present invention provides an image encoding method, an image decoding method, an image encoding device, and an image decoding device.

本発明は、空間的な画素間予測を用いて予測信号を生成し、該予測信号と原信号との残差信号を生成する画像符号化方法であって、イントラ予測残差信号を生成するイントラ予測処理ステップと、前記イントラ予測残差信号に対して変換間処理を行って変換係数を生成し、該変換係数に対して、量子化処理、逆量子化処理を行って、該変換係数の復号値を生成し、該復号値に対して逆変換処理を行って前記イントラ予測残差信号の復号値を生成する生成ステップと、イントラ予測の予測方向および予測対象ブロックと近傍ブロックの間の距離に基づき、近傍ブロックから参照ブロックを同定する同定ステップと、前記参照ブロックにおけるイントラ予測残差信号の復号値を用いて、予測対象ブロックのイントラ予測残差信号に対する予測処理を行って残差予測誤差信号を生成する残差予測誤差信号生成ステップとを含むことを特徴とする。   The present invention is an image encoding method for generating a prediction signal using spatial inter-pixel prediction and generating a residual signal between the prediction signal and an original signal, and for generating an intra prediction residual signal. A prediction processing step, performing inter-transform processing on the intra prediction residual signal to generate transform coefficients, performing quantization processing and inverse quantization processing on the transform coefficients, and decoding the transform coefficients Generating a value, performing an inverse transform process on the decoded value to generate a decoded value of the intra prediction residual signal, a prediction direction of intra prediction, and a distance between a prediction target block and a neighboring block Based on an identification step for identifying a reference block from neighboring blocks and a decoded value of the intra prediction residual signal in the reference block, a prediction process for the intra prediction residual signal of the prediction target block Performed, characterized in that it comprises a residual prediction error signal generating step of generating residual prediction error signals.

本発明は、空間的な画素間予測を用いて予測信号を生成し、該予測信号と原信号との残差信号を生成する画像符号化方法であって、イントラ予測残差信号を生成するイントラ予測処理ステップと、前記イントラ予測残差信号に対して変換間処理を行って変換係数を生成し、該変換係数に対して、量子化処理、逆量子化処理を行って、該変換係数の復号値を生成する生成ステップと、イントラ予測の予測方向および予測対象ブロックと近傍ブロックの間の距離に基づき、近傍ブロックから参照ブロックを同定する同定ステップと、前記参照ブロックにおけるイントラ予測残差信号の変換係数の復号値を用いて、予測対象ブロックのイントラ予測残差信号の変換係数に対する予測処理を行って、変換係数に対する残差予測誤差信号を生成する残差予測誤差信号生成ステップとを含むことを特徴とする。   The present invention is an image encoding method for generating a prediction signal using spatial inter-pixel prediction and generating a residual signal between the prediction signal and an original signal, and for generating an intra prediction residual signal. A prediction processing step, performing inter-transform processing on the intra prediction residual signal to generate transform coefficients, performing quantization processing and inverse quantization processing on the transform coefficients, and decoding the transform coefficients A generation step for generating a value, an identification step for identifying a reference block from the neighboring block based on a prediction direction of intra prediction and a distance between the prediction target block and the neighboring block, and conversion of an intra prediction residual signal in the reference block Residue for generating a prediction error signal for the transform coefficient by performing a prediction process on the transform coefficient of the intra prediction residual signal of the prediction target block using the decoded value of the coefficient Characterized in that it comprises a measuring error signal generating step.

本発明は、前記残差予測誤差信号生成ステップにおいて生成される残差予測誤差信号に対して変換処理を行って変換係数を生成し、該変換係数に対して量子化処理を行って得られる第一の量子化変換係数に対して、該量子化処理による量子化誤差と該第一の量子化変換係数を表現するための符号量の加重和をコスト値として求める第一のコスト値生成ステップと、前記イントラ予測処理ステップで生成されるイントラ予測残差信号に対して変換処理を行って変換係数を生成し、該変換係数に対して量子化処理を行って得られる第二の量子化変換係数に対して、該量子化処理による量子化誤差と該第二の量子化変換係数を表現するための符号量の加重和をコスト値として求める第二のコスト値生成ステップと、前記第一のコスト値生成ステップに得られるコスト値と前記第二のコスト値生成ステップに得られるコスト値との大小を比較し、前記第一のコスト値生成ステップにより得られるコスト値の方が小さい場合は、イントラ予測残差に対する予測処理を適用することを示すイントラ予測残差フラグを符号化データとして出力し、それ以外の場合は、イントラ予測残差に対する予測処理を適用しないことを示すイントラ予測残差フラグを符号化データとして出力する出力ステップを含むことを特徴とする。   The present invention is obtained by performing transform processing on the residual prediction error signal generated in the residual prediction error signal generating step to generate transform coefficients, and performing quantization processing on the transform coefficients. A first cost value generation step for obtaining a weighted sum of a quantization error due to the quantization processing and a code amount for expressing the first quantization transform coefficient as a cost value for one quantized transform coefficient; The second quantized transform coefficient obtained by performing transform processing on the intra prediction residual signal generated in the intra prediction processing step to generate a transform coefficient, and performing quantization processing on the transform coefficient A second cost value generating step for obtaining a weighted sum of a quantization error due to the quantization process and a code amount for expressing the second quantization transform coefficient as a cost value, and the first cost Value generation step The cost value obtained is compared with the cost value obtained in the second cost value generation step, and when the cost value obtained by the first cost value generation step is smaller, the intra prediction residual An intra prediction residual flag indicating that the prediction process is applied is output as encoded data. In other cases, an intra prediction residual flag indicating that the prediction process for the intra prediction residual is not applied is encoded data. An output step of outputting is included.

本発明は、前記残差予測誤差信号生成ステップにおいて生成される残差予測誤差信号に対して変換処理を行って変換係数を生成し、該変換係数に対して量子化処理を行って得られる第一の量子化変換係数に対して、該量子化処理による量子化誤差と該第一の量子化変換係数を表現するための符号量の加重和をコスト値として求める第一のコスト値生成ステップと、前記イントラ予測処理ステップで生成される変換係数に対するイントラ予測残差信号に対して量子化処理を行って得られる第二の量子化変換係数に対して、該量子化処理による量子化誤差と該第二の量子化変換係数を表現するための符号量の加重和をコスト値として求める第二のコスト値生成ステップと、前記第一のコスト値生成ステップに得られるコスト値と前記第二のコスト値生成ステップに得られるコスト値との大小を比較し、前記第一のコスト値生成ステップにより得られるコスト値の方が小さい場合は、イントラ予測残差に対する予測処理を適用することを示すイントラ予測残差フラグを符号化データとして出力し、それ以外の場合は、イントラ予測残差に対する予測処理を適用しないことを示すイントラ予測残差フラグを符号化データとして出力する出力ステップを含むことを特徴とする。   The present invention is obtained by performing transform processing on the residual prediction error signal generated in the residual prediction error signal generating step to generate transform coefficients, and performing quantization processing on the transform coefficients. A first cost value generation step for obtaining a weighted sum of a quantization error due to the quantization processing and a code amount for expressing the first quantization transform coefficient as a cost value for one quantized transform coefficient; , The second quantization transform coefficient obtained by performing the quantization process on the intra prediction residual signal for the transform coefficient generated in the intra prediction processing step, and the quantization error due to the quantization process and the quantization error A second cost value generating step for obtaining a weighted sum of code amounts for expressing the second quantized transform coefficient as a cost value; a cost value obtained in the first cost value generating step; and the second cost When the cost value obtained in the first cost value generation step is smaller than the cost value obtained in the generation step, the intra prediction residual indicating that the prediction process for the intra prediction residual is applied. A difference flag is output as encoded data; otherwise, an output step of outputting an intra prediction residual flag indicating that the prediction process for the intra prediction residual is not applied as encoded data is included. .

本発明は、符号化器が出力した符号化ストリームを復号する画像復号方法であって、前記符号化ストリームをエントロピ復号するエントロピ復号ステップと、前記エントロピ復号処理された符号化データからイントラ予測モードを読み出し、該イントラ予測モードに基づき、イントラ予測信号を生成するイントラ予測処理ステップと、前記イントラ予測の予測方向および予測対象ブロックと近傍ブロックの間の距離に基づき、近傍ブロックから参照ブロックを同定し、該参照ブロックにおけるイントラ予測残差信号の復号値を用いて、復号対象ブロックのイントラ予測残差信号に対する予測処理を行って、イントラ予測残差信号の予測値を生成し、量子化インデックスに対して逆量子化処理を行って変換係数の復号値を生成し、該変換係数の復号値に対して逆変換処理を行って残差予測誤差信号の復号信号を生成し、該残差予測誤差信号の復号信号と前記イントラ予測残差信号の予測値を加算し、イントラ予測残差信号の復号信号を生成するイントラ予測残差信号の復号ステップと、前記イントラ予測残差信号の復号ステップで生成されたイントラ予測残差信号の復号信号と前記イントラ予測処理ステップで生成されたイントラ予測信号とを加算し、復号信号を生成する生成ステップとを含むことを特徴とする。   The present invention relates to an image decoding method for decoding an encoded stream output from an encoder, wherein an entropy decoding step for entropy decoding the encoded stream, and an intra prediction mode from the encoded data subjected to the entropy decoding process. Reading, based on the intra prediction mode, an intra prediction processing step for generating an intra prediction signal, and identifying a reference block from the neighboring block based on the prediction direction of the intra prediction and the distance between the prediction target block and the neighboring block, Using the decoded value of the intra prediction residual signal in the reference block, a prediction process is performed on the intra prediction residual signal of the decoding target block to generate a prediction value of the intra prediction residual signal, and the quantization index An inverse quantization process is performed to generate a decoded value of the transform coefficient, and the transform coefficient Inverse transform processing is performed on the signal value to generate a decoded signal of the residual prediction error signal, the decoded signal of the residual prediction error signal and the prediction value of the intra prediction residual signal are added, and an intra prediction residual is obtained. A decoding step of an intra prediction residual signal for generating a decoded signal of the signal, a decoded signal of the intra prediction residual signal generated in the decoding step of the intra prediction residual signal, and an intra prediction generated in the intra prediction processing step. And a generation step of generating a decoded signal by adding the signals.

本発明は、符号化器が出力した符号化ストリームを復号する画像復号方法であって、前記符号化ストリームをエントロピ復号するエントロピ復号ステップと、前記エントロピ復号された符号化データからイントラ予測モードを読み出し、該イントラ予測モードに基づき、イントラ予測信号を生成するイントラ予測処理ステップと、前記エントロピ復号された符号化データからイントラ予測残差に対する予測処理の有無を示すイントラ予測残差フラグを読み出し、該イントラ予測残差フラグがイントラ予測残差に対する予測処理の不適用を示していると判断された場合、量子化インデックスに対して逆量子化処理を行って変換係数の復号値を生成し、該変換係数の復号値に対して逆変換処理を行ってイントラ予測残差信号の復号信号を生成するイントラ予測残差信号の第一の復号ステップと、前記イントラ予測残差フラグがイントラ予測残差に対する予測処理の適用を示していると判断された場合、イントラ予測の予測方向および予測対象ブロックと近傍ブロックの間の距離に基づき、近傍ブロックから参照ブロックを同定し、該参照ブロックにおけるイントラ予測残差信号の復号値を用いて、復号対象ブロックのイントラ予測残差信号に対する予測処理を行って、イントラ予測残差信号の予測値を生成し、量子化インデックスに対して逆量子化処理を行って変換係数の復号値を生成し、該変換係数の復号値に対して逆変換処理を行って残差予測誤差信号の復号信号を生成し、該残差予測誤差信号の復号信号と前記イントラ予測残差信号の予測値を加算し、イントラ予測残差信号の復号信号を生成するイントラ予測残差信号の第二の復号ステップと、前記イントラ予測残差信号の第一の復号ステップで生成されたイントラ予測残差信号の復号信号、または、前記イントラ予測残差信号の第二の復号ステップで生成されたイントラ予測残差信号の復号信号と、前記イントラ予測処理ステップで生成されたイントラ予測信号とを加算し、復号信号を生成する生成ステップとを含むことを特徴とする。   The present invention is an image decoding method for decoding an encoded stream output from an encoder, wherein an entropy decoding step for entropy decoding the encoded stream, and reading an intra prediction mode from the encoded data that has been entropy decoded An intra prediction processing step for generating an intra prediction signal based on the intra prediction mode, and reading an intra prediction residual flag indicating whether or not a prediction process for the intra prediction residual is present from the entropy-decoded encoded data. When it is determined that the prediction residual flag indicates that the prediction process is not applied to the intra prediction residual, the quantized index is subjected to inverse quantization processing to generate a decoded value of the transform coefficient, and the transform coefficient A decoded signal of the intra prediction residual signal is generated by performing an inverse transformation process on the decoded value of A first decoding step of an intra prediction residual signal, and when it is determined that the intra prediction residual flag indicates application of prediction processing to the intra prediction residual, the prediction direction of the intra prediction and the prediction target block and the neighborhood Based on the distance between the blocks, a reference block is identified from neighboring blocks, and the intra prediction residual signal of the decoding target block is predicted using the decoded value of the intra prediction residual signal in the reference block. A prediction value of the prediction residual signal is generated, an inverse quantization process is performed on the quantization index to generate a decoded value of the transform coefficient, and an inverse transform process is performed on the decoded value of the transform coefficient to obtain a residual A decoded signal of the prediction error signal is generated, the decoded signal of the residual prediction error signal and the prediction value of the intra prediction residual signal are added, and the intra prediction residual signal is restored. A second decoding step of the intra prediction residual signal for generating a signal and a decoded signal of the intra prediction residual signal generated in the first decoding step of the intra prediction residual signal, or the intra prediction residual signal. And a generation step of generating a decoded signal by adding the decoded signal of the intra prediction residual signal generated in the second decoding step to the intra prediction signal generated in the intra prediction processing step. And

本発明は、符号化器が出力した符号化ストリームを復号する画像復号方法であって、前記符号化ストリームをエントロピ復号するエントロピ復号ステップと、前記エントロピ復号処理された符号化データからイントラ予測モードを読み出し、該イントラ予測モードに基づき、イントラ予測信号を生成するイントラ予測処理ステップと、前記イントラ予測の予測方向および予測対象ブロックと近傍ブロックの間の距離に基づき、近傍ブロックから参照ブロックを同定し、該参照ブロックにおける変換係数の復号値を用いて、復号対象ブロックの変換係数に対する予測処理を行って、復号対象ブロックの変換係数の予測値を生成し、量子化インデックスに対して逆量子化処理を行って変換係数に対する残差予測誤差信号の復号値を生成し、該残差予測誤差信号の復号値と該復号対象ブロックの変換係数の予測値を加算し、イントラ予測残差信号の変換係数の復号信号を生成する変換係数の復号ステップと、前記変換係数の復号ステップにおいて生成される変換係数の復号値に対して逆変換処理を行ってイントラ予測残差信号の復号信号を生成するイントラ予測残差信号の復号ステップと、前記イントラ予測残差信号の復号ステップで生成されたイントラ予測残差信号の復号信号と前記イントラ予測処理ステップで生成されたイントラ予測信号とを加算し、復号信号を生成する生成ステップとを含むことを特徴とする。   The present invention relates to an image decoding method for decoding an encoded stream output from an encoder, wherein an entropy decoding step for entropy decoding the encoded stream, and an intra prediction mode from the encoded data subjected to the entropy decoding process. Reading, based on the intra prediction mode, an intra prediction processing step for generating an intra prediction signal, and identifying a reference block from the neighboring block based on the prediction direction of the intra prediction and the distance between the prediction target block and the neighboring block, Using the decoded value of the transform coefficient in the reference block, the prediction process for the transform coefficient of the decoding target block is performed to generate the predicted value of the transform coefficient of the decoding target block, and the inverse quantization process is performed on the quantization index. To generate a decoded value of the residual prediction error signal for the transform coefficient, the residual The decoding value of the measurement error signal and the prediction value of the transform coefficient of the decoding target block are added to generate a decoded signal of the transform coefficient of the intra prediction residual signal, and the transform coefficient decoding step and the transform coefficient decoding step Generated in the decoding step of the intra prediction residual signal and the decoding step of the intra prediction residual signal for performing the inverse transform process on the decoded value of the transform coefficient to be generated to generate the decoded signal of the intra prediction residual signal It includes a generation step of adding a decoded signal of the intra prediction residual signal and the intra prediction signal generated in the intra prediction processing step to generate a decoded signal.

本発明は、符号化器が出力した符号化ストリームを復号する画像復号方法であって、前記符号化ストリームをエントロピ復号するエントロピ復号ステップと、前記エントロピ復号された符号化データからイントラ予測モードを読み出し、該イントラ予測モードに基づき、イントラ予測信号を生成するイントラ予測処理ステップと、前記エントロピ復号された符号化データからイントラ予測残差に対する予測処理の有無を示すイントラ予測残差フラグを読み出し、該イントラ予測残差フラグがイントラ予測残差に対する予測処理の不適用を示していると判断された場合、量子化インデックスに対して逆量子化処理を行って変換係数の復号値を生成し、該変換係数の復号値に対して逆変換処理を行ってイントラ予測残差信号の復号信号を生成するイントラ予測残差信号の第一の復号ステップと、前記イントラ予測残差フラグがイントラ予測残差に対する予測処理の適用を示していると判断された場合、イントラ予測の予測方向および予測対象ブロックと近傍ブロックの間の距離に基づき、近傍ブロックから参照ブロックを同定し、該参照ブロックにおける変換係数の復号値を用いて、復号対象ブロックの変換係数に対する予測処理を行って、復号対象ブロックの変換係数の予測値を生成し、量子化インデックスに対して逆量子化処理を行って変換係数に対する残差予測誤差信号の復号値を生成し、該残差予測誤差信号の復号値と該復号対象ブロックの変換係数の予測値を加算し、イントラ予測残差信号の変換係数の復号信号を生成する変換係数の復号ステップと、前記変換係数の復号ステップにおいて生成される変換係数の復号値に対して逆変換処理を行ってイントラ予測残差信号の復号信号を生成するイントラ予測残差信号の第二の復号ステップと、前記イントラ予測残差信号の第一の復号ステップで生成されたイントラ予測残差信号の復号信号、または、前記イントラ予測残差信号の第二の復号ステップで生成されたイントラ予測残差信号の復号信号と、前記イントラ予測処理ステップで生成されたイントラ予測信号とを加算し、復号信号を生成する生成ステップとを含むことを特徴とする。   The present invention is an image decoding method for decoding an encoded stream output from an encoder, wherein an entropy decoding step for entropy decoding the encoded stream, and reading an intra prediction mode from the encoded data that has been entropy decoded An intra prediction processing step for generating an intra prediction signal based on the intra prediction mode, and reading an intra prediction residual flag indicating whether or not a prediction process for the intra prediction residual is present from the entropy-decoded encoded data. When it is determined that the prediction residual flag indicates that the prediction process is not applied to the intra prediction residual, the quantized index is subjected to inverse quantization processing to generate a decoded value of the transform coefficient, and the transform coefficient A decoded signal of the intra prediction residual signal is generated by performing an inverse transformation process on the decoded value of A first decoding step of an intra prediction residual signal, and when it is determined that the intra prediction residual flag indicates application of prediction processing to the intra prediction residual, the prediction direction of the intra prediction and the prediction target block and the neighborhood Based on the distance between the blocks, the reference block is identified from the neighboring blocks, the prediction value for the transform coefficient of the decoding target block is predicted using the decoded value of the transform coefficient in the reference block, and the transform coefficient of the decoding target block is determined. Generate a prediction value, perform inverse quantization processing on the quantization index to generate a decoded value of the residual prediction error signal for the transform coefficient, and convert the decoded value of the residual prediction error signal and the block to be decoded A transform coefficient decoding step for adding a prediction value of the coefficient to generate a decoded signal of the transform coefficient of the intra prediction residual signal; and a decoding step of the transform coefficient A second decoding step of the intra prediction residual signal for performing a reverse transform process on the decoded value of the transform coefficient generated in step 1 to generate a decoded signal of the intra prediction residual signal, and the intra prediction residual signal A decoded signal of the intra prediction residual signal generated in the first decoding step, or a decoded signal of the intra prediction residual signal generated in the second decoding step of the intra prediction residual signal, and the intra prediction. And a generation step of generating a decoded signal by adding the intra-prediction signal generated in the processing step.

本発明は、空間的な画素間予測を用いて予測信号を生成し、該予測信号と原信号との残差信号を生成する画像符号化装置であって、イントラ予測残差信号を生成するイントラ予測処理手段と、前記イントラ予測残差信号に対して変換間処理を行って変換係数を生成し、該変換係数に対して、量子化処理、逆量子化処理を行って、該変換係数の復号値を生成し、該復号値に対して逆変換処理を行って前記イントラ予測残差信号の復号値を生成する生成手段と、イントラ予測の予測方向および予測対象ブロックと近傍ブロックの間の距離に基づき、近傍ブロックから参照ブロックを同定する同定手段と、前記参照ブロックにおけるイントラ予測残差信号の復号値を用いて、予測対象ブロックのイントラ予測残差信号に対する予測処理を行って残差予測誤差信号を生成する残差予測誤差信号生成手段とを備えることを特徴とする。   The present invention is an image encoding device that generates a prediction signal using spatial inter-pixel prediction and generates a residual signal between the prediction signal and an original signal, and includes an intra prediction residual signal. A prediction processing means, performing inter-transform processing on the intra prediction residual signal to generate transform coefficients, performing quantization processing and inverse quantization processing on the transform coefficients, and decoding the transform coefficients Generating a value, performing an inverse transform process on the decoded value to generate a decoded value of the intra prediction residual signal, a prediction direction of intra prediction, and a distance between a prediction target block and a neighboring block Based on the identification means for identifying the reference block from the neighboring blocks and the decoded value of the intra prediction residual signal in the reference block, a prediction process is performed on the intra prediction residual signal of the prediction target block, and the residual is determined. Characterized in that it comprises a residual prediction error signal generating means for generating a measurement error signal.

本発明は、空間的な画素間予測を用いて予測信号を生成し、該予測信号と原信号との残差信号を生成する画像符号化装置であって、イントラ予測残差信号を生成するイントラ予測処理手段と、前記イントラ予測残差信号に対して変換間処理を行って変換係数を生成し、該変換係数に対して、量子化処理、逆量子化処理を行って、該変換係数の復号値を生成する生成手段と、イントラ予測の予測方向および予測対象ブロックと近傍ブロックの間の距離に基づき、近傍ブロックから参照ブロックを同定する同定手段と、前記参照ブロックにおけるイントラ予測残差信号の変換係数の復号値を用いて、予測対象ブロックのイントラ予測残差信号の変換係数に対する予測処理を行って、変換係数に対する残差予測誤差信号を生成する残差予測誤差信号生成手段とを備えることを特徴とする。   The present invention is an image encoding device that generates a prediction signal using spatial inter-pixel prediction and generates a residual signal between the prediction signal and an original signal, and includes an intra prediction residual signal. A prediction processing means, performing inter-transform processing on the intra prediction residual signal to generate transform coefficients, performing quantization processing and inverse quantization processing on the transform coefficients, and decoding the transform coefficients A generating unit that generates a value; an identifying unit that identifies a reference block from a neighboring block based on a prediction direction of intra prediction and a distance between a prediction target block and the neighboring block; and conversion of an intra prediction residual signal in the reference block Residual prediction error signal for generating a prediction error signal for the transform coefficient by performing prediction processing on the transform coefficient of the intra prediction residual signal of the prediction target block using the decoded value of the coefficient Characterized in that it comprises a forming unit.

本発明は、符号化器が出力した符号化ストリームを復号する画像復号装置であって、前記符号化ストリームをエントロピ復号するエントロピ復号手段と、前記エントロピ復号処理された符号化データからイントラ予測モードを読み出し、該イントラ予測モードに基づき、イントラ予測信号を生成するイントラ予測処理手段と、前記イントラ予測の予測方向および予測対象ブロックと近傍ブロックの間の距離に基づき、近傍ブロックから参照ブロックを同定し、該参照ブロックにおけるイントラ予測残差信号の復号値を用いて、復号対象ブロックのイントラ予測残差信号に対する予測処理を行って、イントラ予測残差信号の予測値を生成し、量子化インデックスに対して逆量子化処理を行って変換係数の復号値を生成し、該変換係数の復号値に対して逆変換処理を行って残差予測誤差信号の復号信号を生成し、該残差予測誤差信号の復号信号と前記イントラ予測残差信号の予測値を加算し、イントラ予測残差信号の復号信号を生成するイントラ予測残差信号の復号手段と、前記イントラ予測残差信号の復号手段で生成されたイントラ予測残差信号の復号信号と前記イントラ予測処理手段で生成されたイントラ予測信号とを加算し、復号信号を生成する生成手段とを備えることを特徴とする。   The present invention is an image decoding apparatus for decoding an encoded stream output from an encoder, wherein entropy decoding means for entropy decoding the encoded stream, and intra prediction mode from the encoded data subjected to the entropy decoding process. Read, based on the intra prediction mode, intra prediction processing means for generating an intra prediction signal, and based on the prediction direction of the intra prediction and the distance between the prediction target block and the neighboring block, identify the reference block from the neighboring block, Using the decoded value of the intra prediction residual signal in the reference block, a prediction process is performed on the intra prediction residual signal of the decoding target block to generate a prediction value of the intra prediction residual signal, and the quantization index Inverse quantization processing is performed to generate a decoded value of the transform coefficient. Then, inverse transform processing is performed to generate a decoded signal of the residual prediction error signal, and the decoded signal of the residual prediction error signal and the prediction value of the intra prediction residual signal are added to decode the intra prediction residual signal An intra prediction residual signal decoding means for generating a signal, an intra prediction residual signal decoded signal generated by the intra prediction residual signal decoding means, and an intra prediction signal generated by the intra prediction processing means. And generating means for adding and generating a decoded signal.

本発明は、符号化器が出力した符号化ストリームを復号する画像復号装置であって、前記符号化ストリームをエントロピ復号するエントロピ復号手段と、前記エントロピ復号された符号化データからイントラ予測モードを読み出し、該イントラ予測モードに基づき、イントラ予測信号を生成するイントラ予測処理手段と、前記エントロピ復号された符号化データからイントラ予測残差に対する予測処理の有無を示すイントラ予測残差フラグを読み出し、該イントラ予測残差フラグがイントラ予測残差に対する予測処理の不適用を示していると判断された場合、量子化インデックスに対して逆量子化処理を行って変換係数の復号値を生成し、該変換係数の復号値に対して逆変換処理を行ってイントラ予測残差信号の復号信号を生成するイントラ予測残差信号の第一の復号手段と、前記イントラ予測残差フラグがイントラ予測残差に対する予測処理の適用を示していると判断された場合、イントラ予測の予測方向および予測対象ブロックと近傍ブロックの間の距離に基づき、近傍ブロックから参照ブロックを同定し、該参照ブロックにおけるイントラ予測残差信号の復号値を用いて、復号対象ブロックのイントラ予測残差信号に対する予測処理を行って、イントラ予測残差信号の予測値を生成し、量子化インデックスに対して逆量子化処理を行って変換係数の復号値を生成し、該変換係数の復号値に対して逆変換処理を行って残差予測誤差信号の復号信号を生成し、該残差予測誤差信号の復号信号と前記イントラ予測残差信号の予測値を加算し、イントラ予測残差信号の復号信号を生成するイントラ予測残差信号の第二の復号手段と、前記イントラ予測残差信号の第一の復号手段で生成されたイントラ予測残差信号の復号信号、または、前記イントラ予測残差信号の第二の復号手段で生成されたイントラ予測残差信号の復号信号と、前記イントラ予測処理手段で生成されたイントラ予測信号とを加算し、復号信号を生成する生成手段とを備えることを特徴とする。   The present invention is an image decoding apparatus for decoding an encoded stream output from an encoder, wherein entropy decoding means for entropy decoding the encoded stream, and reading an intra prediction mode from the encoded data that has been entropy decoded Intra prediction processing means for generating an intra prediction signal based on the intra prediction mode, and an intra prediction residual flag indicating the presence / absence of prediction processing for the intra prediction residual is read out from the entropy-decoded encoded data. When it is determined that the prediction residual flag indicates that the prediction process is not applied to the intra prediction residual, the quantized index is subjected to inverse quantization processing to generate a decoded value of the transform coefficient, and the transform coefficient That generates a decoded signal of an intra prediction residual signal by performing an inverse transform process on the decoded value of When it is determined that the first decoding means of the measurement residual signal and the intra prediction residual flag indicate the application of the prediction process to the intra prediction residual, the prediction direction of the intra prediction and the prediction target block and the neighboring block Based on the distance between the reference block, a reference block is identified from neighboring blocks, and a prediction process is performed on the intra prediction residual signal of the decoding target block using a decoded value of the intra prediction residual signal in the reference block, so that intra prediction is performed. Generates a prediction value of the residual signal, performs an inverse quantization process on the quantization index to generate a decoded value of the transform coefficient, performs an inverse transform process on the decoded value of the transform coefficient, and performs a residual prediction Generate a decoded signal of the error signal, add the decoded signal of the residual prediction error signal and the prediction value of the intra prediction residual signal, and generate a decoded signal of the intra prediction residual signal A decoding signal of the intra prediction residual signal generated by the second decoding means of the intra prediction residual signal and the first decoding means of the intra prediction residual signal, or a second of the intra prediction residual signal. And a generating means for adding the decoded signal of the intra prediction residual signal generated by the decoding means and the intra prediction signal generated by the intra prediction processing means to generate a decoded signal.

本発明は、符号化器が出力した符号化ストリームを復号する画像復号装置であって、前記符号化ストリームをエントロピ復号するエントロピ復号手段と、前記エントロピ復号処理された符号化データからイントラ予測モードを読み出し、該イントラ予測モードに基づき、イントラ予測信号を生成するイントラ予測処理手段と、前記イントラ予測の予測方向および予測対象ブロックと近傍ブロックの間の距離に基づき、近傍ブロックから参照ブロックを同定し、該参照ブロックにおける変換係数の復号値を用いて、復号対象ブロックの変換係数に対する予測処理を行って、復号対象ブロックの変換係数の予測値を生成し、量子化インデックスに対して逆量子化処理を行って変換係数に対する残差予測誤差信号の復号値を生成し、該残差予測誤差信号の復号値と該復号対象ブロックの変換係数の予測値を加算し、イントラ予測残差信号の変換係数の復号信号を生成する変換係数の復号手段と、前記変換係数の復号手段において生成される変換係数の復号値に対して逆変換処理を行ってイントラ予測残差信号の復号信号を生成するイントラ予測残差信号の復号手段と、前記イントラ予測残差信号の復号手段で生成されたイントラ予測残差信号の復号信号と前記イントラ予測処理手段で生成されたイントラ予測信号とを加算し、復号信号を生成する生成手段とを備えることを特徴とする。   The present invention is an image decoding apparatus for decoding an encoded stream output from an encoder, wherein entropy decoding means for entropy decoding the encoded stream, and intra prediction mode from the encoded data subjected to the entropy decoding process. Read, based on the intra prediction mode, intra prediction processing means for generating an intra prediction signal, and based on the prediction direction of the intra prediction and the distance between the prediction target block and the neighboring block, identify the reference block from the neighboring block, Using the decoded value of the transform coefficient in the reference block, the prediction process for the transform coefficient of the decoding target block is performed to generate the predicted value of the transform coefficient of the decoding target block, and the inverse quantization process is performed on the quantization index. To generate a decoded value of the residual prediction error signal for the transform coefficient, and to generate the residual prediction error Generated by the transform coefficient decoding means for generating the decoded signal of the transform coefficient of the intra prediction residual signal and the transform coefficient decoding means. Intra prediction residual signal decoding means for generating a decoded signal of an intra prediction residual signal by performing inverse transform processing on the decoded value of the transform coefficient, and intra prediction generated by the decoding means for the intra prediction residual signal And a generation unit configured to add a decoded signal of the residual signal and the intra prediction signal generated by the intra prediction processing unit to generate a decoded signal.

本発明は、符号化器が出力した符号化ストリームを復号する画像復号装置であって、前記符号化ストリームをエントロピ復号するエントロピ復号手段と、前記エントロピ復号された符号化データからイントラ予測モードを読み出し、該イントラ予測モードに基づき、イントラ予測信号を生成するイントラ予測処理手段と、前記エントロピ復号された符号化データからイントラ予測残差に対する予測処理の有無を示すイントラ予測残差フラグを読み出し、該イントラ予測残差フラグがイントラ予測残差に対する予測処理の不適用を示していると判断された場合、量子化インデックスに対して逆量子化処理を行って変換係数の復号値を生成し、該変換係数の復号値に対して逆変換処理を行ってイントラ予測残差信号の復号信号を生成するイントラ予測残差信号の第一の復号手段と、前記イントラ予測残差フラグがイントラ予測残差に対する予測処理の適用を示していると判断された場合、イントラ予測の予測方向および予測対象ブロックと近傍ブロックの間の距離に基づき、近傍ブロックから参照ブロックを同定し、該参照ブロックにおける変換係数の復号値を用いて、復号対象ブロックの変換係数に対する予測処理を行って、復号対象ブロックの変換係数の予測値を生成し、量子化インデックスに対して逆量子化処理を行って変換係数に対する残差予測誤差信号の復号値を生成し、該残差予測誤差信号の復号値と該復号対象ブロックの変換係数の予測値を加算し、イントラ予測残差信号の変換係数の復号信号を生成する変換係数の復号手段と、前記変換係数の復号手段において生成される変換係数の復号値に対して逆変換処理を行ってイントラ予測残差信号の復号信号を生成するイントラ予測残差信号の第二の復号手段と、前記イントラ予測残差信号の第一の復号手段で生成されたイントラ予測残差信号の復号信号、または、前記イントラ予測残差信号の第二の復号手段で生成されたイントラ予測残差信号の復号信号と、前記イントラ予測処理手段で生成されたイントラ予測信号とを加算し、復号信号を生成する生成手段とを備えることを特徴とする。   The present invention is an image decoding apparatus for decoding an encoded stream output from an encoder, wherein entropy decoding means for entropy decoding the encoded stream, and reading an intra prediction mode from the encoded data that has been entropy decoded Intra prediction processing means for generating an intra prediction signal based on the intra prediction mode, and an intra prediction residual flag indicating the presence / absence of prediction processing for the intra prediction residual is read out from the entropy-decoded encoded data. When it is determined that the prediction residual flag indicates that the prediction process is not applied to the intra prediction residual, the quantized index is subjected to inverse quantization processing to generate a decoded value of the transform coefficient, and the transform coefficient That generates a decoded signal of an intra prediction residual signal by performing an inverse transform process on the decoded value of When it is determined that the first decoding means of the measurement residual signal and the intra prediction residual flag indicate the application of the prediction process to the intra prediction residual, the prediction direction of the intra prediction and the prediction target block and the neighboring block Based on the distance between the reference blocks, the reference block is identified from the neighboring blocks, the prediction value for the transform coefficient of the decoding target block is predicted using the decoded value of the transform coefficient in the reference block, and the prediction of the transform coefficient of the decoding target block is performed. A value is generated, an inverse quantization process is performed on the quantization index to generate a decoded value of the residual prediction error signal for the transform coefficient, and the decoded value of the residual prediction error signal and the transform coefficient of the decoding target block Generated by the transform coefficient decoding means for generating a decoded signal of the transform coefficient of the intra prediction residual signal, and the transform coefficient decoding means. Second decoding means for the intra prediction residual signal for generating a decoded signal of the intra prediction residual signal by performing inverse transform processing on the decoded value of the transform coefficient, and first decoding of the intra prediction residual signal A decoded signal of the intra prediction residual signal generated by the means, or a decoded signal of the intra prediction residual signal generated by the second decoding means of the intra prediction residual signal, and the intra prediction processing means. And generating means for generating a decoded signal by adding the intra prediction signal.

この発明によれば、イントラ予測誤差間の相関に着目し、イントラ予測誤差を低減することで、高能率なイントラ符号化方法を確立することができる。   According to this invention, paying attention to the correlation between intra prediction errors, and reducing the intra prediction error, a highly efficient intra coding method can be established.

本第1実施形態による、画素領域での残差予測を用いた符号化装置の構成を示すブロック図である。It is a block diagram which shows the structure of the encoding apparatus using the residual prediction in a pixel area | region by this 1st Embodiment. 本第1実施形態による符号化装置の動作(画素領域における残差予測を用いる場合)を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement (when using the residual prediction in a pixel area) of the encoding apparatus by this 1st Embodiment. 本第1実施形態による符号化装置の動作(画素領域における残差予測を用いる場合)を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement (when using the residual prediction in a pixel area) of the encoding apparatus by this 1st Embodiment. 本第1実施形態による、画素領域での残差予測を用いた復号装置の構成を示すブロック図である。It is a block diagram which shows the structure of the decoding apparatus using the residual prediction in a pixel area | region by this 1st Embodiment. 本第1実施形態による、画素領域での残差予測を用いた復号装置の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the decoding apparatus using the residual prediction in a pixel area | region by this 1st Embodiment. 本第2実施形態による、変換係数に対する残差予測を用いた符号化装置の構成を示すブロック図である。It is a block diagram which shows the structure of the encoding apparatus using the residual prediction with respect to a transform coefficient by this 2nd Embodiment. 本第2実施形態による符号化装置の動作(変換係数に対する残差予測を用いる場合)を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement (when using the residual prediction with respect to a transform coefficient) of the encoding apparatus by this 2nd Embodiment. 本第2実施形態による符号化装置の動作(変換係数に対する残差予測を用いる場合)を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement (when using the residual prediction with respect to a transform coefficient) of the encoding apparatus by this 2nd Embodiment. 本第2実施形態による、変換係数に対する残差予測を用いた復号装置の構成を示すブロック図である。It is a block diagram which shows the structure of the decoding apparatus using the residual prediction with respect to a transform coefficient by this 2nd Embodiment. 本第2実施形態による、変換係数に対する残差予測を用いた復号装置の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the decoding apparatus using the residual prediction with respect to a transform coefficient by this 2nd Embodiment. 従来のイントラ予測を用いた符号化装置の構成を示すブロック図である。It is a block diagram which shows the structure of the encoding apparatus using the conventional intra prediction. 従来のイントラ予測を用いた符号化装置の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the encoding apparatus using the conventional intra prediction. 従来のイントラ予測を用いた復号装置の構成を示すブロック図である。It is a block diagram which shows the structure of the decoding apparatus using the conventional intra prediction. 従来のイントラ予測を用いた復号装置の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the decoding apparatus using the conventional intra prediction.

以下、本発明の一実施形態を、図面を参照して説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

画像内の類似した2つの領域を考える。この2つの領域に対して、同じ方向のイントラ予測が適用される場合、イントラ予測残差も類似した信号となることが予想される。つまり、予測残差は発生するものの、その発生した予測残差間には相関があるということである。そこで、本発明では、類似した領域の予測残差間の相関を利用し、両予測残差間にて予測を行い、予測残差の低減を図る残差予測を導入する。これをイントラ予測残差予測(IPRP)と呼ぶ。IPRPは、残差予測に用いる参照ブロックの設定、イントラ予測残差信号に対する予測方法の設定、IPRPの指定方法から構成される。以下、IPRPの具体的な処理について説明する。   Consider two similar regions in the image. When intra prediction in the same direction is applied to these two regions, it is expected that the intra prediction residuals are similar signals. That is, although a prediction residual occurs, there is a correlation between the generated prediction residuals. Therefore, in the present invention, residual prediction is introduced that uses the correlation between prediction residuals in similar regions, performs prediction between both prediction residuals, and reduces the prediction residual. This is called intra prediction residual prediction (IPRP). The IPRP is configured by setting a reference block used for residual prediction, setting a prediction method for an intra prediction residual signal, and specifying an IPRP. Hereinafter, specific processing of IPRP will be described.

A.参照ブロックの設定方法
まず、被予測ブロックのブロックサイズ・イントラ予測方向に基づき、IPRPにおいて参照すべきブロックを設定する。
A. Reference Block Setting Method First, a block to be referred to in IPRP is set based on the block size / intra prediction direction of the predicted block.

A−1.設定方法1
被予測ブロックに対して、同一サイズで、かつ、同一の予測方向の近傍ブロックを残差予測の参照ブロックとする。参照ブロックとしては、ブロック間の距離が最短の最近傍ブロックを設定する。あるいは、一定の範囲内に参照ブロックの指定範囲を限定することも可能である。このように範囲を限定した場合、範囲内に該当するブロックが存在しない場合、残差予測が適用されない。残差予測の不適用は、特別な付加情報無しに、符号化側・復号側で共有することが可能である。
A-1. Setting method 1
A neighboring block having the same size and the same prediction direction as the block to be predicted is set as a reference block for residual prediction. As the reference block, the nearest block having the shortest distance between the blocks is set. Alternatively, it is possible to limit the designated range of the reference block within a certain range. When the range is limited in this way, residual prediction is not applied if there is no corresponding block within the range. The non-applicability of residual prediction can be shared between the encoding side and the decoding side without any special additional information.

A−2.設定方法2
被予測ブロックに対して、同一サイズで、かつ、類似の予測方向の近傍ブロックを残差予測の参照ブロックとする。参照ブロックについては、前述と同様である。また、どの予測方向を類似とみなすかは、別途、定める。例えば、特定の予測方向を代表方向として定め、それ以外の予測方向については、予測方向の角度の乖離が最小となる代表方向に集約させる。
A-2. Setting method 2
A neighboring block having the same size and similar prediction direction to the block to be predicted is set as a reference block for residual prediction. The reference block is the same as described above. Further, which prediction direction is considered to be similar is determined separately. For example, a specific prediction direction is defined as a representative direction, and the other prediction directions are aggregated into a representative direction that minimizes the angle divergence of the prediction directions.

B.イントラ予測残差信号の予測方法
B−1.予測方法1
参照ブロック内のイントラ予測残差信号の復号値を被予測ブロック内のイントラ予測残差の予測信号とみなして、被予測ブロック内のイントラ予測残差信号との差分を計算するものである。
B. Intra prediction residual signal prediction method B-1. Prediction method 1
The decoded value of the intra prediction residual signal in the reference block is regarded as the prediction signal of the intra prediction residual in the predicted block, and the difference from the intra prediction residual signal in the predicted block is calculated.

B−2.予測方法2(重み付差分予測)
重み係数を乗じた参照ブロック内のイントラ予測残差信号の復号値を被予測ブロック内のイントラ予測残差の予測信号とみなして、被予測ブロック内のイントラ予測残差信号との差分を計算するものである。重み係数の算出方法は、別途、与えられるものとする。重み係数の例としては、参照ブロック内のイントラ予測の参照画素群と被予測ブロック内のイントラ予測の参照画素群を2つのベクトルデータとみなして、両ベクトル間の内積値をあげることができる。あるいは、予め、定められた値を用いることも可能である。
B-2. Prediction method 2 (weighted difference prediction)
The decoded value of the intra prediction residual signal in the reference block multiplied by the weighting factor is regarded as the prediction signal of the intra prediction residual in the predicted block, and the difference from the intra prediction residual signal in the predicted block is calculated. Is. A method for calculating the weighting coefficient is given separately. As an example of the weighting factor, an intra prediction reference pixel group in a reference block and an intra prediction reference pixel group in a block to be predicted are regarded as two vector data, and an inner product value between both vectors can be raised. Alternatively, a predetermined value can be used.

B−3.予測方法3(空間適応予測)
ブロック内の特定の位置の残差信号のみに限定して、参照ブロック内のイントラ予測残差信号の復号値を被予測ブロック内のイントラ予測残差の予測信号とみなして、被予測ブロック内のイントラ予測残差信号との差分を計算するものである。どの位置を残差予測の対象とするかは、イントラ予測方向に応じて、切り替えるものとする。
B-3. Prediction method 3 (spatial adaptive prediction)
Only the residual signal at a specific position in the block is limited, and the decoded value of the intra prediction residual signal in the reference block is regarded as the prediction signal of the intra prediction residual in the predicted block. The difference with the intra prediction residual signal is calculated. It is assumed that which position is the target of residual prediction is switched according to the intra prediction direction.

B−4.予測方法4(重み付空間適応予測)
ブロック内の特定の位置の残差信号のみに限定して、参照ブロック内のイントラ予測残差信号の復号値を被予測ブロック内のイントラ予測残差の予測信号とみなして、被予測ブロック内のイントラ予測残差信号との差分を計算するものである。
B-4. Prediction method 4 (weighted space adaptive prediction)
Only the residual signal at a specific position in the block is limited, and the decoded value of the intra prediction residual signal in the reference block is regarded as the prediction signal of the intra prediction residual in the predicted block. The difference with the intra prediction residual signal is calculated.

B−5.予測方法5(適応変換係数予測)
参照ブロック内のイントラ予測残差に対して変換符号化を施して得られた変換係数に対して、量子化処理、逆量子化処理を施して得られる変換係数の復号値を予測信号とみなして、特定の成分の変換係数のみに限定して、被予測ブロックの予測残差に対する変換係数と前記予測信号との差分を計算するものである。どの要素を予測の対象とするかは、イントラ予測方向に応じて、切り替えるものとする。
B-5. Prediction method 5 (adaptive transform coefficient prediction)
The decoded value of the transform coefficient obtained by performing the quantization process and the inverse quantization process on the transform coefficient obtained by performing transform coding on the intra prediction residual in the reference block is regarded as a prediction signal. The difference between the conversion coefficient for the prediction residual of the block to be predicted and the prediction signal is calculated by limiting to only the conversion coefficient of the specific component. Which element is the target of prediction is switched according to the intra prediction direction.

B−6.予測方法6(重み付適応変換係数予測)
参照ブロック内のイントラ予測残差に対して変換符号化を施して得られた変換係数に対して、量子化処理、逆量子化処理を施して得られる変換係数の復号値を生成し、該変換係数の復号値に対して重み係数を乗じた重み付変換係数を求め、該重み付変換係数を被予測ブロックの予測残差に対する変換係数の予測信号として、特定の成分の変換係数のみに限定して、被予測ブロックの予測残差に対する変換係数と前記予測信号(該重み付変換係数)との差分信号を計算するものとする。
B-6. Prediction method 6 (weighted adaptive transform coefficient prediction)
Generate decoded values of transform coefficients obtained by performing quantization processing and inverse quantization processing on transform coefficients obtained by performing transform coding on the intra prediction residual in the reference block, and generate the transform A weighted transformation coefficient obtained by multiplying the decoded value of the coefficient by a weighting factor is obtained, and the weighted transformation coefficient is limited to a transformation coefficient of a specific component as a prediction signal of the transformation coefficient for the prediction residual of the predicted block. Thus, the difference signal between the transform coefficient for the prediction residual of the block to be predicted and the prediction signal (the weighted transform coefficient) is calculated.

なお、上記の予測方法において、予測対象を予測残差の絶対値として、予測残差の符号情報は、予測処理の対象とせずに、伝送することも可能である。   In the above prediction method, it is also possible to transmit the prediction residual code information without using the prediction processing target as the prediction residual as the absolute value of the prediction residual.

C.残差予測の指定方法
残差予測の適用の有無は、予め定められた単位で実施する。適用の有無は、1ビットのフラグ(残差予測フラグ)を用いて伝送される。また、切替える単位は、シーケンス、フレーム、フレーム内の領域が可能であり、この切替えの単位は、別途、定められるものとする。
C. Residual prediction designation method Whether or not residual prediction is applied is determined in a predetermined unit. Applicability is transmitted using a 1-bit flag (residual prediction flag). The unit to be switched can be a sequence, a frame, or an area within the frame, and this switching unit is determined separately.

参照ブロック内のイントラ予測の参照画素群と被予測ブロック内のイントラ予測の参照画素群との間の相関を算出し、同相関値が一定の閾値以上の場合に、残差予測の適用を限定することも可能である。この場合、相関値が閾値未満であれば、残差予測フラグを伝送する必要はない。   Calculate the correlation between the intra prediction reference pixel group in the reference block and the intra prediction reference pixel group in the block to be predicted, and limit the application of residual prediction when the correlation value is equal to or greater than a certain threshold It is also possible to do. In this case, if the correlation value is less than the threshold value, it is not necessary to transmit the residual prediction flag.

D.第1実施形態
まず、本発明の第1実施形態について説明する。
図1は、本第1実施形態による、画素領域での残差予測を用いた符号化装置の構成を示すブロック図である。本第1実施形態の符号化装置は、変換処理部102の前段に、残差予測処理部110、予測残差信号記憶部111、加算器A3が追加されている点で従来技術の構成とは異なる。残差予測処理部110は、イントラ予測残差信号に対する予測処理を行い、イントラ予測残差信号の予測信号を生成し、該予測信号とイントラ予測残差信号との差分信号(残差予測誤差信号)を生成する。予測残差信号記憶部111は、残差予測誤差信号を記憶する。加算器A3は、残差予測誤差信号の復号信号、及び(予測残差信号記憶部111からの)イントラ予測残差信号の予測値を入力として、両者を加算し、イントラ予測残差信号の復号値を生成する。
D. First Embodiment First, a first embodiment of the present invention will be described.
FIG. 1 is a block diagram illustrating a configuration of an encoding device using residual prediction in a pixel region according to the first embodiment. The encoding apparatus of the first embodiment is different from the configuration of the related art in that a residual prediction processing unit 110, a prediction residual signal storage unit 111, and an adder A3 are added before the conversion processing unit 102. Different. The residual prediction processing unit 110 performs prediction processing on the intra prediction residual signal, generates a prediction signal of the intra prediction residual signal, and generates a difference signal (residual prediction error signal) between the prediction signal and the intra prediction residual signal. ) Is generated. The prediction residual signal storage unit 111 stores a residual prediction error signal. The adder A3 inputs the decoded signal of the residual prediction error signal and the prediction value of the intra prediction residual signal (from the prediction residual signal storage unit 111), adds them, and decodes the intra prediction residual signal. Generate a value.

図2、及び図3は、本第1実施形態による符号化装置の動作(画素領域における残差予測を用いる場合)を説明するためのフローチャートである。以下のステップS301〜S310の処理を、イントラ予測の対象とするブロック(符号化単位ユニットと呼ぶ)毎に実行する。まず、イントラ符号化の方式(イントラ符号化モード)を設定し、設定されたイントラ予測モードに基づき、イントラ予測信号を生成し、さらに、イントラ予測信号と入力信号の差分信号(イントラ予測残差信号)を生成する(ステップS302)。次に、従来技術で説明した、図12のステップS103の処理を実行する(ステップS303)。   2 and 3 are flowcharts for explaining the operation of the encoding apparatus according to the first embodiment (when residual prediction in the pixel region is used). The following steps S301 to S310 are executed for each block (referred to as a coding unit unit) to be subjected to intra prediction. First, an intra coding scheme (intra coding mode) is set, an intra prediction signal is generated based on the set intra prediction mode, and a difference signal (intra prediction residual signal) between the intra prediction signal and the input signal is generated. ) Is generated (step S302). Next, the process of step S103 of FIG. 12 described in the prior art is executed (step S303).

次に、残差予測の適用条件に基づき、残差予測を行うか否かを判定する(ステップS304)。残差予測とは、イントラ予測残差信号に対する予測処理を指す。そして、適用条件を満たす場合には、ステップS305の処理へ進む。一方、適用条件を満たさない場合には、後述するステップS310の処理へ進む。適用条件の例としては、前述のように、参照ブロック内のイントラ予測の参照画素群と被予測ブロック内のイントラ予測の参照画素群との間の相関値に対する閾値処理をあげることができる。   Next, it is determined whether to perform residual prediction based on application conditions of residual prediction (step S304). Residual prediction refers to prediction processing for an intra prediction residual signal. When the application condition is satisfied, the process proceeds to step S305. On the other hand, if the application condition is not satisfied, the process proceeds to step S310 described later. As an example of the application condition, as described above, threshold processing for the correlation value between the intra prediction reference pixel group in the reference block and the intra prediction reference pixel group in the predicted block can be given.

ステップS305では、以下のステップS305−1〜S305−8の処理を実行する。まず、残差予測処理部110により、イントラ予測残差信号に対する予測処理を行い、イントラ予測残差信号の予測信号を生成し、該予測信号とイントラ予測残差信号との差分信号(残差予測誤差信号)を生成する(ステップS305−1)。イントラ予測残差信号の予測信号の生成方法としては、前記B−1、B−2、B−3、B−4のいずれかの予測方法を用いることができる。次に、変換処理部102により、残差予測処理部110からの残差予測誤差信号を入力として、変換処理を行い、変換係数を生成する(ステップS305−2)。変換処理は、予め方式が定められるものとし、例えば、離散コサイン変換を用いるものとする。   In step S305, the following steps S305-1 to S305-8 are executed. First, the residual prediction processing unit 110 performs a prediction process on the intra prediction residual signal, generates a prediction signal of the intra prediction residual signal, and generates a difference signal (residual prediction) between the prediction signal and the intra prediction residual signal. Error signal) is generated (step S305-1). As a method for generating a prediction signal of an intra prediction residual signal, any one of the prediction methods B-1, B-2, B-3, and B-4 can be used. Next, the conversion processing unit 102 performs conversion processing using the residual prediction error signal from the residual prediction processing unit 110 as input, and generates a conversion coefficient (step S305-2). The conversion process is determined in advance, and for example, discrete cosine conversion is used.

次に、量子化処理部103により、変換係数を入力として量子化処理を行い、量子化後の変換係数を量子化インデックスとして生成し(ステップS305−3)、エントロピ符号化処理部109により、量子化インデックスを入力として、エントロピ符号化処理を行い、2進列へ変換する(ステップS305−4)。エントロピ符号化の方法は、別途、与えられるものとする。   Next, the quantization processing unit 103 performs quantization processing using the transform coefficient as an input, generates a quantized transform coefficient as a quantization index (step S305-3), and the entropy coding processing unit 109 performs quantization. The entropy encoding process is performed using the conversion index as an input, and conversion into a binary string is performed (step S305-4). The entropy coding method is given separately.

次に、逆量子化処理部104により、量子化インデックスを入力として、逆量子化処理を行い、変換係数の復号値を生成する(ステップS305−6)。次に、逆変換処理部105により、変換係数の復号値を入力として、逆変換処理を行い、残差予測誤差信号の復号信号を生成し(ステップS305−7)、加算器A3により、残差予測誤差信号の復号信号、及びイントラ予測残差信号の予測値を入力として、両者を加算し、イントラ予測残差信号の復号値を生成する(ステップS305−8)。   Next, the inverse quantization processing unit 104 performs an inverse quantization process using the quantization index as an input, and generates a decoded value of the transform coefficient (step S305-6). Next, the inverse transform processing unit 105 inputs the decoded value of the transform coefficient, performs inverse transform processing, generates a decoded signal of the residual prediction error signal (step S305-7), and the adder A3 performs the residual. The decoded signal of the prediction error signal and the prediction value of the intra prediction residual signal are input, and both are added to generate a decoded value of the intra prediction residual signal (step S305-8).

次に、ステップS305で出力されるイントラ予測残差を用いた場合のRD(Rate−Distortion)コストとステップS303で出力されるイントラ予測残差を用いない場合のRDコストとを比較し(ステップS306)、前者の方が小さい場合には、ステップS307の処理に進む。そうでない場合には、ステップS308の処理に進む。RDコストとは、入力信号と復号信号との差分信号に対する二乗和を符号化歪みとし、符号化歪みと符号化データの発生符号量との加重和として定まる値である。   Next, the RD (Rate-Distortion) cost when the intra prediction residual output at step S305 is used is compared with the RD cost when the intra prediction residual output at step S303 is not used (step S306). ) If the former is smaller, the process proceeds to step S307. Otherwise, the process proceeds to step S308. The RD cost is a value determined as a weighted sum of the coding distortion and the generated code amount of the coded data, with the square sum of the difference signal between the input signal and the decoded signal as coding distortion.

ステップS307では、イントラ予測残差の使用を示すフラグをON(二進数の1)に設定する。一方、ステップS308では、イントラ予測残差の使用を示すフラグをOFF(二進数の0)に設定する。そして、加算器A2により、イントラ予測残差信号の復号値、及びイントラ予測信号を入力として、両者を加算し、復号信号を生成する(ステップS309)。   In step S307, a flag indicating that the intra prediction residual is used is set to ON (binary number 1). On the other hand, in step S308, a flag indicating the use of the intra prediction residual is set to OFF (binary number 0). Then, the adder A2 inputs the decoded value of the intra prediction residual signal and the intra prediction signal, adds them together, and generates a decoded signal (step S309).

図4は、本第1実施形態による、画素領域での残差予測を用いた復号装置の構成を示すブロック図である。本第1実施形態による復号装置は、残差予測情報記憶部210、予測残差信号記憶部211、残差予測処理部212が追加されている点で従来技術の構成とは異なる。残差予測情報記憶部210は、残差予測誤差信号を記憶する。予測残差信号記憶部211は、イントラ予測残差信号を記憶する。残差予測処理部212は、イントラ予測残差信号に対する予測処理を行い、イントラ予測残差信号の予測値を生成する。   FIG. 4 is a block diagram showing a configuration of a decoding apparatus using residual prediction in the pixel area according to the first embodiment. The decoding apparatus according to the first embodiment is different from the configuration of the prior art in that a residual prediction information storage unit 210, a prediction residual signal storage unit 211, and a residual prediction processing unit 212 are added. The residual prediction information storage unit 210 stores a residual prediction error signal. The prediction residual signal storage unit 211 stores an intra prediction residual signal. The residual prediction processing unit 212 performs prediction processing on the intra prediction residual signal, and generates a prediction value of the intra prediction residual signal.

図5は、本第1実施形態による、画素領域での残差予測を用いた復号装置の動作を説明するためのフローチャートである。ステップS401〜S409の処理を、符号化ユニット毎に実行する。まず、エントロピ復号処理部201により、符号化ユニットの符号化データを入力として、エントロピ復号処理し(ステップS402)、イントラ予測処理部205により、復号済みの符号化データから、イントラ符号化の方式(イントラ符号化モード)を読み出し、該イントラ予測モードに基づき、イントラ予測信号を生成する(ステップS403)。例えば、H.264/AVCでは、4x4画素のブロックに対して、予測方向の異なる9つの予測モードが用意されている。   FIG. 5 is a flowchart for explaining the operation of the decoding apparatus using the residual prediction in the pixel area according to the first embodiment. The processing of steps S401 to S409 is executed for each encoding unit. First, the entropy decoding processing unit 201 receives the encoded data of the encoding unit as input, performs entropy decoding processing (step S402), and the intra prediction processing unit 205 uses the intra-coded method (from the decoded encoded data ( Intra coding mode) is read out, and an intra prediction signal is generated based on the intra prediction mode (step S403). For example, H.M. In H.264 / AVC, nine prediction modes having different prediction directions are prepared for a 4 × 4 pixel block.

次に、残差予測の適用条件に基づき、残差予測を行うか否かを判定する(ステップS410)。そして、適用条件を満たす場合は、ステップS405の処理へ進む。一方、適用条件を満たさない場合は、ステップS408の処理へ進む。次に、復号済みの符号化データから、イントラ予測残差信号に対する予測処理の適用の有無を示すフラグ(イントラ予測残差フラグ)を読み出し(ステップS404)、イントラ予測残差フラグがONであるか否かを判定する(ステップS405)。そして、イントラ予測残差フラグがONの場合には、ステップS406の処理へ進む。そうでない場合には、図14のステップS204の処理を実行する(ステップS407)。   Next, it is determined whether to perform residual prediction based on application conditions of residual prediction (step S410). When the application condition is satisfied, the process proceeds to step S405. On the other hand, if the application condition is not satisfied, the process proceeds to step S408. Next, a flag (intra prediction residual flag) indicating whether or not the prediction process is applied to the intra prediction residual signal is read from the decoded encoded data (step S404), and whether the intra prediction residual flag is ON. It is determined whether or not (step S405). If the intra prediction residual flag is ON, the process proceeds to step S406. Otherwise, the process of step S204 in FIG. 14 is executed (step S407).

ステップS406では、以下のステップS406−1〜S406−4の処理を実行する。まず、残差予測処理部212により、イントラ予測残差信号に対して予測処理を行い、イントラ予測残差信号の予測値を生成し(ステップS406−1)、逆量子化処理部202により、量子化インデックスを入力として、逆量子化処理を行い、変換係数の復号値を生成する(ステップS406−2)。イントラ予測残差信号の予測信号の生成方法としては、前記B−1、B−2、B−3、B−4のいずれかの予測方法を用いることができる。   In step S406, the following steps S406-1 to S406-4 are executed. First, the residual prediction processing unit 212 performs prediction processing on the intra prediction residual signal, generates a prediction value of the intra prediction residual signal (step S406-1), and the inverse quantization processing unit 202 performs quantum processing. Using the quantization index as input, inverse quantization processing is performed to generate a decoded value of the transform coefficient (step S406-2). As a method for generating a prediction signal of an intra prediction residual signal, any one of the prediction methods B-1, B-2, B-3, and B-4 can be used.

次に、逆変換処理部203により、変換係数の復号値を入力として、逆変換処理を行い、残差予測誤差信号の復号信号を生成し(ステップS406−3)、加算器B2により、残差予測誤差信号の復号信号、及びイントラ予測残差信号の予測値(ステップS406−1で生成)を入力として、両者を加算し、イントラ予測残差信号の復号値を生成する(ステップS406−4)。   Next, the inverse transform processing unit 203 performs the inverse transform process by using the decoded value of the transform coefficient as an input to generate a decoded signal of the residual prediction error signal (step S406-3), and the adder B2 performs the residual. The decoded signal of the prediction error signal and the prediction value of the intra prediction residual signal (generated in step S406-1) are input, and both are added to generate a decoded value of the intra prediction residual signal (step S406-4). .

そして、加算器B1により、ステップS407、またはステップS406で生成されたイントラ予測残差信号の復号値、及びイントラ予測信号(ステップS403で生成)を入力として、両者を加算し、復号信号を生成する(ステップS408)。   Then, the adder B1 inputs the decoded value of the intra prediction residual signal generated in step S407 or step S406 and the intra predicted signal (generated in step S403), and adds both to generate a decoded signal. (Step S408).

上述した第1実施形態によれば、イントラ予測残差を低減することができ、符号量を低減することが可能となる。   According to the first embodiment described above, the intra prediction residual can be reduced, and the code amount can be reduced.

E.第2実施形態
次に、第2実施形態について説明する。
図6は、本第2実施形態による、変換係数に対する残差予測を用いた符号化装置の構成を示すブロック図である。本第2実施形態の符号化装置は、変換処理部102の後段に、残差予測処理部110、予測残差係数記憶部111が追加されている点で従来技術の構成とは異なる。残差予測処理部110は、変換係数に対して予測処理を行い、変換係数の予測誤差信号を生成する。
E. Second Embodiment Next, a second embodiment will be described.
FIG. 6 is a block diagram showing a configuration of an encoding apparatus using residual prediction for transform coefficients according to the second embodiment. The encoding apparatus according to the second embodiment is different from the configuration of the conventional technique in that a residual prediction processing unit 110 and a prediction residual coefficient storage unit 111 are added after the conversion processing unit 102. The residual prediction processing unit 110 performs prediction processing on the transform coefficient and generates a prediction error signal of the transform coefficient.

図7、及び図8は、本第2実施形態による符号化装置の動作(変換係数に対する残差予測を用いる場合)を説明するためのフローチャートである。以下のステップS501〜S511の処理を、符号化ユニット毎に実行する。まず、イントラ予測処理部101により、イントラ符号化の方式(イントラ符号化モード)を設定し、設定されたイントラ予測モードに基づき、イントラ予測信号を生成し、さらに、加算器A1により、イントラ予測モードと入力信号の差分信号(イントラ予測残差信号)を生成する(ステップS502)。次に、変換処理部102により、イントラ予測残差信号に対する変換処理を行い、変換係数を生成する(ステップS503)。   FIGS. 7 and 8 are flowcharts for explaining the operation of the encoding apparatus according to the second embodiment (when residual prediction for transform coefficients is used). The following steps S501 to S511 are executed for each encoding unit. First, an intra coding method (intra coding mode) is set by the intra prediction processing unit 101, an intra prediction signal is generated based on the set intra prediction mode, and an intra prediction mode is further generated by the adder A1. And an input signal difference signal (intra prediction residual signal) is generated (step S502). Next, the conversion processing unit 102 performs a conversion process on the intra prediction residual signal to generate a conversion coefficient (step S503).

次に、量子化処理部103により、変換係数に対する量子化処理を行い、量子化インデックスを生成し(ステップS504−1)、逆量子化処理部104により、量子化インデックスに対する逆量子化処理を行い、変換係数の復号値を生成し(ステップS504−2)、逆変換処理部105により、変化係数の復号値に対して、逆変換処理を行い、イントラ予測残差信号の復号信号を生成する(ステップS504−3)。   Next, the quantization processing unit 103 performs quantization processing on the transform coefficient to generate a quantization index (step S504-1), and the inverse quantization processing unit 104 performs inverse quantization processing on the quantization index. Then, a decoded value of the transform coefficient is generated (step S504-2), and the inverse transform processing unit 105 performs an inverse transform process on the decoded value of the change coefficient to generate a decoded signal of the intra prediction residual signal ( Step S504-3).

次に、残差予測の適用条件に基づき、残差予測を行うか否かを判定する(ステップS505)。そして、適用条件を満たす場合には、ステップS506の処理へ進む。一方、適用条件を満たさない場合には、後述するステップS511の処理へ進む。適用条件の例としては、前述のように、参照ブロック内のイントラ予測の参照画素群と被予測ブロック内のイントラ予測の参照画素群との間の相関値に対する閾値処理をあげることができる。   Next, it is determined whether to perform residual prediction based on application conditions of residual prediction (step S505). If the application condition is satisfied, the process proceeds to step S506. On the other hand, if the application condition is not satisfied, the process proceeds to step S511 described later. As an example of the application condition, as described above, threshold processing for the correlation value between the intra prediction reference pixel group in the reference block and the intra prediction reference pixel group in the predicted block can be given.

ステップS506では、以下のステップS506−1〜S506−6の処理を実行する。まず、残差予測処理部110により、変換係数に対して予測処理を行い、変換係数の予測誤差値を生成し(ステップS506−1)、量子化処理部103により、変換係数の予測誤差値に対する量子化処理を行い、量子化インデックスを生成する(ステップS506−2)。変換係数の予測方法としては、前記B−5、もしくは、前期B−6の予測方法を用いる。続いて、エントロピ符号化処理部109により、量子化インデックスを入力として、エントロピ符号化処理を行い、2進列へ変換する(ステップS506−3)。エントロピ符号化の方法は、別途、与えられるものとする。   In step S506, the following processes of steps S506-1 to S506-6 are executed. First, prediction processing is performed on the transform coefficient by the residual prediction processing unit 110 to generate a prediction error value of the transform coefficient (step S506-1), and the quantization processing unit 103 performs processing on the prediction error value of the transform coefficient. Quantization processing is performed to generate a quantization index (step S506-2). As the conversion coefficient prediction method, the prediction method of B-5 or the previous term B-6 is used. Subsequently, the entropy encoding processing unit 109 receives the quantization index as input and performs entropy encoding processing to convert it into a binary sequence (step S506-3). The entropy coding method is given separately.

次に、逆量子化処理部104により、量子化インデックスを入力として、逆量子化処理を行い、変換係数の予測誤差信号の復号値を生成し(ステップS506−4)、加算器A4により、変換係数の予測誤差信号の復号値に変換係数の予測値(ステップS506−1で生成)を加算して、変換係数の復号値を生成し(ステップS506−5)、逆変換処理部105により、変換係数の復号値に対して、逆変換処理を行い、予測誤差信号の復号値を生成する(ステップS506−6)。   Next, the inverse quantization processing unit 104 performs an inverse quantization process using the quantization index as an input, generates a decoded error signal prediction value (step S506-4), and uses the adder A4 to perform the conversion. The predicted value of the transform coefficient (generated in step S506-1) is added to the decoded value of the prediction error signal of the coefficient to generate a decoded value of the transform coefficient (step S506-5), and the inverse transform processing unit 105 performs transform. An inverse transform process is performed on the decoded value of the coefficient to generate a decoded value of the prediction error signal (step S506-6).

次に、ステップS506で出力されるイントラ予測残差を用いた場合のRDコストとステップS504で出力されるイントラ予測残差を用いない場合のRDコストとを比較し(ステップS507)、前者の方が小さい場合には、ステップS508の処理に進む。そうでない場合には、ステップS509の処理に進む。   Next, the RD cost when the intra prediction residual output at step S506 is used is compared with the RD cost when the intra prediction residual output at step S504 is not used (step S507). If is smaller, the process proceeds to step S508. Otherwise, the process proceeds to step S509.

ステップS508では、イントラ予測残差の使用を示すフラグをON(二進数の1)に設定する。一方、ステップS509では、イントラ予測残差の使用を示すフラグをOFF(二進数の0)に設定する。そして、加算器A2により、予測残差信号の復号値、及び予測信号を入力として、両者を加算し、復号信号を生成する(ステップS510)。   In step S508, a flag indicating use of the intra prediction residual is set to ON (binary number 1). On the other hand, in step S509, a flag indicating use of the intra prediction residual is set to OFF (binary number 0). Then, the adder A2 receives the decoded value of the prediction residual signal and the prediction signal, adds them together, and generates a decoded signal (step S510).

図9は、本第2実施形態による、変換係数に対する残差予測を用いた復号装置の構成を示すブロック図である。本第2実施形態の復号装置は、残差予測情報記憶部210、予測残差係数記憶部211、残差予測処理部212が追加されている点で従来技術の構成とは異なる。残差予測処理部212は、変換係数の復号値を入力として、予測処理を行い、変換係数の予測値を生成する。   FIG. 9 is a block diagram showing a configuration of a decoding apparatus using residual prediction for transform coefficients according to the second embodiment. The decoding apparatus of the second embodiment is different from the configuration of the prior art in that a residual prediction information storage unit 210, a prediction residual coefficient storage unit 211, and a residual prediction processing unit 212 are added. The residual prediction processing unit 212 receives the decoded value of the transform coefficient as input, performs a prediction process, and generates a predicted value of the transform coefficient.

図10は、本第2実施形態による、変換係数に対する残差予測を用いた復号装置の動作を説明するためのフローチャートである。ステップS601〜S609の処理を、符号化ユニット毎に実行する。まず、エントロピ復号処理部201により、符号化ユニットの符号化データを入力として、エントロピ復号処理し(ステップS602)、イントラ予測処理部205により、復号済みの符号化データから、イントラ符号化の方式(イントラ符号化モード)を読み出し、同イントラ予測モードに基づき、イントラ予測信号を生成する(ステップS603)。   FIG. 10 is a flowchart for explaining the operation of the decoding apparatus using residual prediction for transform coefficients according to the second embodiment. The processes in steps S601 to S609 are executed for each encoding unit. First, the entropy decoding processing unit 201 receives the encoded data of the encoding unit as input, performs entropy decoding processing (step S602), and the intra prediction processing unit 205 uses the intra-coded method ( Intra coding mode) is read out, and an intra prediction signal is generated based on the intra prediction mode (step S603).

次に、残差予測の適用条件に基づき、残差予測を行うか否かを判定する(ステップS610)。そして、適用条件を満たす場合は、ステップS605の処理へ進む。一方、適用条件を満たさない場合は、ステップS608の処理へ進む。続いて、復号済みの符号化データから、残差予測の適用の有無を示すフラグ(イントラ予測残差フラグ)を読み出し(ステップS604)、イントラ予測残差フラグがONであるか否かを判定する(ステップS605)。そして、イントラ予測残差フラグがONの場合には、ステップS606の処理へ進む。そうでない場合には、後述するステップS607の処理へ進む。ステップS607では、図14のステップS204の処理を実行する。 Next, it is determined whether to perform residual prediction based on application conditions of residual prediction (step S610). When the application condition is satisfied, the process proceeds to step S605. On the other hand, if the application condition is not satisfied, the process proceeds to step S608. Subsequently, a flag (intra prediction residual flag) indicating whether or not residual prediction is applied is read from the decoded encoded data (step S604), and it is determined whether or not the intra prediction residual flag is ON. (Step S605). If the intra prediction residual flag is ON, the process proceeds to step S606. Otherwise, the process proceeds to step S607 described later. In step S607, the process of step S204 of FIG. 14 is executed.

ステップS606では、以下のステップS606−1〜S606−4の処理を実行する。まず、残差予測処理部212により、変換係数の復号値を入力として、予測処理を行い、変換係数の予測値を生成し(ステップS606−1)、逆量子化処理部202により、量子化インデックスを入力として、逆量子化処理を行い、変換係数の予測誤差の復号値を生成する(ステップS606−2)。変換係数の予測方法としては、前記B−5、もしくは、前期B−6の予測方法を用いる。   In step S606, the following steps S606-1 to S606-4 are executed. First, the residual prediction processing unit 212 receives the decoded value of the transform coefficient as input, performs a prediction process, generates a predicted value of the transform coefficient (step S606-1), and the inverse quantization processing unit 202 performs the quantization index. Is input and an inverse quantization process is performed to generate a decoded error prediction value (step S606-2). As the conversion coefficient prediction method, the prediction method of B-5 or the previous term B-6 is used.

次に、加算器B2により、変換係数の予測誤差信号の復号信号、及び変換係数の予測値(ステップS606−1で生成)を入力として、両者を加算し、変換係数の復号値を生成する(ステップS606−3)。次に、逆変換処理部203により、変換係数の復号値に対して逆変換処理を行い、イントラ予測残差信号の復号値を生成する(ステップS606−4)。   Next, the adder B2 receives the decoded signal of the prediction error signal of the transform coefficient and the predicted value of the transform coefficient (generated in step S606-1) and adds both to generate a decoded value of the transform coefficient ( Step S606-3). Next, the inverse transformation processing unit 203 performs an inverse transformation process on the decoded coefficient decoding value to generate a decoded value of the intra prediction residual signal (step S606-4).

そして、イントラ予測残差信号の復号値、及びイントラ予測信号(ステップS603で生成)を入力として、両者を加算し、復号信号を生成する(ステップS608)。   Then, the decoded value of the intra prediction residual signal and the intra prediction signal (generated in step S603) are input, and both are added to generate a decoded signal (step S608).

上述した第2実施形態によれば、イントラ予測誤差を低減することができ、符号量を低減することが可能となる。   According to the second embodiment described above, intra prediction errors can be reduced, and the amount of codes can be reduced.

101…イントラ予測処理部、102…変換処理部、103…量子化処理部、104…逆量子化処理部、105…逆変換処理部、106…インループフィルタ処理部、107…フレームメモリ、108…イントラ予測情報符号化部、109…エントロピ符号化処理部、110…残差予測処理部、111…予測残差信号記憶部、A1、A2、A3…加算器、201…エントロピ復号処理部、202…逆量子化処理部、203…逆変換処理部、204…イントラ予測情報格納部、205…イントラ予測処理部、206…インループフィルタ処理部、207…フレームメモリ、210…残差予測情報記憶部、211…予測残差信号記憶部、212…残差予測処理部   DESCRIPTION OF SYMBOLS 101 ... Intra prediction process part, 102 ... Transformation process part, 103 ... Quantization process part, 104 ... Dequantization process part, 105 ... Inverse transform process part, 106 ... In-loop filter process part, 107 ... Frame memory, 108 ... Intra prediction information encoding unit 109 ... entropy encoding processing unit 110 ... residual prediction processing unit 111 ... prediction residual signal storage unit A1, A2, A3 ... adder, 201 ... entropy decoding processing unit 202 ... Inverse quantization processing unit 203 ... Inverse transformation processing unit 204 ... Intra prediction information storage unit 205 ... Intra prediction processing unit 206 ... In-loop filter processing unit 207 ... Frame memory 210 ... Residual prediction information storage unit 211 ... Prediction residual signal storage unit, 212 ... Residual prediction processing unit

Claims (13)

空間的な画素間予測を用いて予測信号を生成し、該予測信号と原信号との残差信号を生成する画像符号化方法であって、
イントラ予測残差信号を生成するイントラ予測処理ステップと、
前記イントラ予測残差信号に対して変換間処理を行って変換係数を生成し、該変換係数に対して、量子化処理、逆量子化処理を行って、該変換係数の復号値を生成し、該復号値に対して逆変換処理を行って前記イントラ予測残差信号の復号値を生成する生成ステップと、
イントラ予測の予測方向および予測対象ブロックと近傍ブロックの間の距離に基づき、近傍ブロックから参照ブロックを同定する同定ステップと、
前記参照ブロックにおけるイントラ予測残差信号の復号値を用いて、予測対象ブロックのイントラ予測残差信号に対する予測処理を行って残差予測誤差信号を生成する残差予測誤差信号生成ステップと
を含むことを特徴とする画像符号化方法。
An image encoding method for generating a prediction signal using spatial inter-pixel prediction and generating a residual signal between the prediction signal and an original signal,
An intra prediction processing step for generating an intra prediction residual signal;
Performing an inter-transform process on the intra prediction residual signal to generate a transform coefficient, performing a quantization process and an inverse quantization process on the transform coefficient, and generating a decoded value of the transform coefficient; A generation step of performing an inverse transformation process on the decoded value to generate a decoded value of the intra prediction residual signal;
An identification step for identifying a reference block from neighboring blocks based on a prediction direction of intra prediction and a distance between the prediction target block and the neighboring block;
A residual prediction error signal generating step of generating a residual prediction error signal by performing a prediction process on the intra prediction residual signal of the prediction target block using a decoded value of the intra prediction residual signal in the reference block. An image encoding method characterized by the above.
空間的な画素間予測を用いて予測信号を生成し、該予測信号と原信号との残差信号を生成する画像符号化方法であって、
イントラ予測残差信号を生成するイントラ予測処理ステップと、
前記イントラ予測残差信号に対して変換間処理を行って変換係数を生成し、該変換係数に対して、量子化処理、逆量子化処理を行って、該変換係数の復号値を生成する生成ステップと、
イントラ予測の予測方向および予測対象ブロックと近傍ブロックの間の距離に基づき、近傍ブロックから参照ブロックを同定する同定ステップと、
前記参照ブロックにおけるイントラ予測残差信号の変換係数の復号値を用いて、予測対象ブロックのイントラ予測残差信号の変換係数に対する予測処理を行って、変換係数に対する残差予測誤差信号を生成する残差予測誤差信号生成ステップと
を含むことを特徴とする画像符号化方法。
An image encoding method for generating a prediction signal using spatial inter-pixel prediction and generating a residual signal between the prediction signal and an original signal,
An intra prediction processing step for generating an intra prediction residual signal;
Generating a transform coefficient by performing an inter-transform process on the intra prediction residual signal, generating a decoded value of the transform coefficient by performing a quantization process and an inverse quantization process on the transform coefficient Steps,
An identification step for identifying a reference block from neighboring blocks based on a prediction direction of intra prediction and a distance between the prediction target block and the neighboring block;
Using the decoded value of the transform coefficient of the intra prediction residual signal in the reference block, a prediction process is performed on the transform coefficient of the intra prediction residual signal of the prediction target block, and a residual prediction error signal for the transform coefficient is generated. And a difference prediction error signal generation step.
前記残差予測誤差信号生成ステップにおいて生成される残差予測誤差信号に対して変換処理を行って変換係数を生成し、該変換係数に対して量子化処理を行って得られる第一の量子化変換係数に対して、該量子化処理による量子化誤差と該第一の量子化変換係数を表現するための符号量の加重和をコスト値として求める第一のコスト値生成ステップと、
前記イントラ予測処理ステップで生成されるイントラ予測残差信号に対して変換処理を行って変換係数を生成し、該変換係数に対して量子化処理を行って得られる第二の量子化変換係数に対して、該量子化処理による量子化誤差と該第二の量子化変換係数を表現するための符号量の加重和をコスト値として求める第二のコスト値生成ステップと、
前記第一のコスト値生成ステップに得られるコスト値と前記第二のコスト値生成ステップに得られるコスト値との大小を比較し、前記第一のコスト値生成ステップにより得られるコスト値の方が小さい場合は、イントラ予測残差に対する予測処理を適用することを示すイントラ予測残差フラグを符号化データとして出力し、それ以外の場合は、イントラ予測残差に対する予測処理を適用しないことを示すイントラ予測残差フラグを符号化データとして出力する出力ステップ
を含むことを特徴とする請求項1に記載の画像符号化方法。
A first quantization obtained by performing transform processing on the residual prediction error signal generated in the residual prediction error signal generating step to generate a transform coefficient, and performing quantization processing on the transform coefficient A first cost value generation step for obtaining a weighted sum of a quantization error due to the quantization process and a code amount for expressing the first quantization transform coefficient as a cost value for the transform coefficient;
A transform process is performed on the intra prediction residual signal generated in the intra prediction process step to generate a transform coefficient, and a second quantized transform coefficient obtained by performing a quantization process on the transform coefficient On the other hand, a second cost value generation step for obtaining a weighted sum of a code amount for expressing the quantization error due to the quantization processing and the second quantization transform coefficient as a cost value;
Compare the cost value obtained in the first cost value generation step with the cost value obtained in the second cost value generation step, the cost value obtained by the first cost value generation step is more If it is smaller, an intra prediction residual flag indicating that the prediction process for the intra prediction residual is applied is output as encoded data. In other cases, the intra process indicating that the prediction process for the intra prediction residual is not applied. The image encoding method according to claim 1, further comprising: an output step of outputting a prediction residual flag as encoded data.
前記残差予測誤差信号生成ステップにおいて生成される残差予測誤差信号に対して変換処理を行って変換係数を生成し、該変換係数に対して量子化処理を行って得られる第一の量子化変換係数に対して、該量子化処理による量子化誤差と該第一の量子化変換係数を表現するための符号量の加重和をコスト値として求める第一のコスト値生成ステップと、
前記イントラ予測処理ステップで生成される変換係数に対するイントラ予測残差信号に対して量子化処理を行って得られる第二の量子化変換係数に対して、該量子化処理による量子化誤差と該第二の量子化変換係数を表現するための符号量の加重和をコスト値として求める第二のコスト値生成ステップと、
前記第一のコスト値生成ステップに得られるコスト値と前記第二のコスト値生成ステップに得られるコスト値との大小を比較し、前記第一のコスト値生成ステップにより得られるコスト値の方が小さい場合は、イントラ予測残差に対する予測処理を適用することを示すイントラ予測残差フラグを符号化データとして出力し、それ以外の場合は、イントラ予測残差に対する予測処理を適用しないことを示すイントラ予測残差フラグを符号化データとして出力する出力ステップ
を含むことを特徴とする請求項2に記載の画像符号化方法。
A first quantization obtained by performing transform processing on the residual prediction error signal generated in the residual prediction error signal generating step to generate a transform coefficient, and performing quantization processing on the transform coefficient A first cost value generation step for obtaining a weighted sum of a quantization error due to the quantization process and a code amount for expressing the first quantization transform coefficient as a cost value for the transform coefficient;
For the second quantized transform coefficient obtained by performing the quantization process on the intra prediction residual signal for the transform coefficient generated in the intra prediction processing step, the quantization error due to the quantization process and the first A second cost value generation step for obtaining a weighted sum of code amounts for expressing the second quantized transform coefficient as a cost value;
Compare the cost value obtained in the first cost value generation step with the cost value obtained in the second cost value generation step, the cost value obtained by the first cost value generation step is more If it is smaller, an intra prediction residual flag indicating that the prediction process for the intra prediction residual is applied is output as encoded data. In other cases, the intra process indicating that the prediction process for the intra prediction residual is not applied. The image encoding method according to claim 2, further comprising: an output step of outputting a prediction residual flag as encoded data.
符号化器が出力した符号化ストリームを復号する画像復号方法であって、
前記符号化ストリームをエントロピ復号するエントロピ復号ステップと、
前記エントロピ復号処理された符号化データからイントラ予測モードを読み出し、該イントラ予測モードに基づき、イントラ予測信号を生成するイントラ予測処理ステップと、
前記イントラ予測の予測方向および予測対象ブロックと近傍ブロックの間の距離に基づき、近傍ブロックから参照ブロックを同定し、該参照ブロックにおけるイントラ予測残差信号の復号値を用いて、復号対象ブロックのイントラ予測残差信号に対する予測処理を行って、イントラ予測残差信号の予測値を生成し、量子化インデックスに対して逆量子化処理を行って変換係数の復号値を生成し、該変換係数の復号値に対して逆変換処理を行って残差予測誤差信号の復号信号を生成し、該残差予測誤差信号の復号信号と前記イントラ予測残差信号の予測値を加算し、イントラ予測残差信号の復号信号を生成するイントラ予測残差信号の復号ステップと、
前記イントラ予測残差信号の復号ステップで生成されたイントラ予測残差信号の復号信号と前記イントラ予測処理ステップで生成されたイントラ予測信号とを加算し、復号信号を生成する生成ステップと
を含むことを特徴とする画像復号方法。
An image decoding method for decoding an encoded stream output from an encoder,
Entropy decoding for entropy decoding the encoded stream;
An intra prediction processing step of reading an intra prediction mode from the encoded data subjected to the entropy decoding process, and generating an intra prediction signal based on the intra prediction mode;
Based on the prediction direction of the intra prediction and the distance between the prediction target block and the neighboring block, the reference block is identified from the neighboring block, and the decoded block value of the intra prediction residual signal in the reference block is used to determine the intra of the decoding target block. Perform prediction processing on the prediction residual signal to generate a prediction value of the intra prediction residual signal, perform inverse quantization processing on the quantization index to generate a decoded value of the transform coefficient, and decode the transform coefficient Inverse transformation processing is performed on the value to generate a decoded signal of the residual prediction error signal, the decoded signal of the residual prediction error signal and the prediction value of the intra prediction residual signal are added, and an intra prediction residual signal An intra prediction residual signal decoding step for generating a decoded signal of
A generation step of adding a decoded signal of the intra prediction residual signal generated in the decoding step of the intra prediction residual signal and the intra prediction signal generated in the intra prediction processing step to generate a decoded signal. An image decoding method characterized by the above.
符号化器が出力した符号化ストリームを復号する画像復号方法であって、
前記符号化ストリームをエントロピ復号するエントロピ復号ステップと、
前記エントロピ復号された符号化データからイントラ予測モードを読み出し、該イントラ予測モードに基づき、イントラ予測信号を生成するイントラ予測処理ステップと、
前記エントロピ復号された符号化データからイントラ予測残差に対する予測処理の有無を示すイントラ予測残差フラグを読み出し、該イントラ予測残差フラグがイントラ予測残差に対する予測処理の不適用を示していると判断された場合、量子化インデックスに対して逆量子化処理を行って変換係数の復号値を生成し、該変換係数の復号値に対して逆変換処理を行ってイントラ予測残差信号の復号信号を生成するイントラ予測残差信号の第一の復号ステップと、
前記イントラ予測残差フラグがイントラ予測残差に対する予測処理の適用を示していると判断された場合、イントラ予測の予測方向および予測対象ブロックと近傍ブロックの間の距離に基づき、近傍ブロックから参照ブロックを同定し、該参照ブロックにおけるイントラ予測残差信号の復号値を用いて、復号対象ブロックのイントラ予測残差信号に対する予測処理を行って、イントラ予測残差信号の予測値を生成し、量子化インデックスに対して逆量子化処理を行って変換係数の復号値を生成し、該変換係数の復号値に対して逆変換処理を行って残差予測誤差信号の復号信号を生成し、該残差予測誤差信号の復号信号と前記イントラ予測残差信号の予測値を加算し、イントラ予測残差信号の復号信号を生成するイントラ予測残差信号の第二の復号ステップと、
前記イントラ予測残差信号の第一の復号ステップで生成されたイントラ予測残差信号の復号信号、または、前記イントラ予測残差信号の第二の復号ステップで生成されたイントラ予測残差信号の復号信号と、前記イントラ予測処理ステップで生成されたイントラ予測信号とを加算し、復号信号を生成する生成ステップと
を含むことを特徴とする画像復号方法。
An image decoding method for decoding an encoded stream output from an encoder,
Entropy decoding for entropy decoding the encoded stream;
An intra prediction processing step of reading an intra prediction mode from the encoded data subjected to entropy decoding, and generating an intra prediction signal based on the intra prediction mode;
When an intra prediction residual flag indicating the presence / absence of prediction processing for an intra prediction residual is read from the encoded data subjected to entropy decoding, and the intra prediction residual flag indicates that the prediction processing is not applied to the intra prediction residual If it is determined, the quantization index is subjected to inverse quantization processing to generate a decoded value of the transform coefficient, and the decoded value of the transform coefficient is subjected to inverse transform processing to obtain a decoded signal of the intra prediction residual signal. A first decoding step of the intra prediction residual signal to generate
When it is determined that the intra prediction residual flag indicates that the prediction process is applied to the intra prediction residual, based on the prediction direction of the intra prediction and the distance between the prediction target block and the neighboring block, the reference block is changed from the neighboring block to the reference block. And performing a prediction process on the intra prediction residual signal of the decoding target block using the decoded value of the intra prediction residual signal in the reference block, generating a prediction value of the intra prediction residual signal, and quantizing An inverse quantization process is performed on the index to generate a decoded value of the transform coefficient, an inverse transform process is performed on the decoded value of the transform coefficient to generate a decoded signal of a residual prediction error signal, and the residual A decoded signal of the prediction error signal and a prediction value of the intra prediction residual signal are added to generate a decoded signal of the intra prediction residual signal. No. and step,
Decoding of the intra prediction residual signal generated in the first decoding step of the intra prediction residual signal or decoding of the intra prediction residual signal generated in the second decoding step of the intra prediction residual signal An image decoding method comprising: a generation step of adding a signal and the intra prediction signal generated in the intra prediction processing step to generate a decoded signal.
符号化器が出力した符号化ストリームを復号する画像復号方法であって、
前記符号化ストリームをエントロピ復号するエントロピ復号ステップと、
前記エントロピ復号処理された符号化データからイントラ予測モードを読み出し、該イントラ予測モードに基づき、イントラ予測信号を生成するイントラ予測処理ステップと、
前記イントラ予測の予測方向および予測対象ブロックと近傍ブロックの間の距離に基づき、近傍ブロックから参照ブロックを同定し、該参照ブロックにおける変換係数の復号値を用いて、復号対象ブロックの変換係数に対する予測処理を行って、復号対象ブロックの変換係数の予測値を生成し、量子化インデックスに対して逆量子化処理を行って変換係数に対する残差予測誤差信号の復号値を生成し、該残差予測誤差信号の復号値と該復号対象ブロックの変換係数の予測値を加算し、イントラ予測残差信号の変換係数の復号信号を生成する変換係数の復号ステップと、
前記変換係数の復号ステップにおいて生成される変換係数の復号値に対して逆変換処理を行ってイントラ予測残差信号の復号信号を生成するイントラ予測残差信号の復号ステップと、
前記イントラ予測残差信号の復号ステップで生成されたイントラ予測残差信号の復号信号と前記イントラ予測処理ステップで生成されたイントラ予測信号とを加算し、復号信号を生成する生成ステップと
を含むことを特徴とする画像復号方法。
An image decoding method for decoding an encoded stream output from an encoder,
Entropy decoding for entropy decoding the encoded stream;
An intra prediction processing step of reading an intra prediction mode from the encoded data subjected to the entropy decoding process, and generating an intra prediction signal based on the intra prediction mode;
Based on the prediction direction of the intra prediction and the distance between the prediction target block and the neighboring block, the reference block is identified from the neighboring block, and the prediction of the transform coefficient of the decoding target block is performed using the decoded value of the transform coefficient in the reference block. To generate a prediction value of the transform coefficient of the decoding target block, to perform a dequantization process on the quantization index to generate a decoded value of a residual prediction error signal for the transform coefficient, and to perform the residual prediction A transform coefficient decoding step of adding a decoded value of the error signal and a predicted value of the transform coefficient of the decoding target block to generate a decoded signal of the transform coefficient of the intra prediction residual signal;
An intra prediction residual signal decoding step of performing an inverse transform process on a decoded value of the transform coefficient generated in the transform coefficient decoding step to generate a decoded signal of the intra prediction residual signal;
A generation step of adding a decoded signal of the intra prediction residual signal generated in the decoding step of the intra prediction residual signal and the intra prediction signal generated in the intra prediction processing step to generate a decoded signal. An image decoding method characterized by the above.
符号化器が出力した符号化ストリームを復号する画像復号方法であって、
前記符号化ストリームをエントロピ復号するエントロピ復号ステップと、
前記エントロピ復号された符号化データからイントラ予測モードを読み出し、該イントラ予測モードに基づき、イントラ予測信号を生成するイントラ予測処理ステップと、
前記エントロピ復号された符号化データからイントラ予測残差に対する予測処理の有無を示すイントラ予測残差フラグを読み出し、該イントラ予測残差フラグがイントラ予測残差に対する予測処理の不適用を示していると判断された場合、量子化インデックスに対して逆量子化処理を行って変換係数の復号値を生成し、該変換係数の復号値に対して逆変換処理を行ってイントラ予測残差信号の復号信号を生成するイントラ予測残差信号の第一の復号ステップと、
前記イントラ予測残差フラグがイントラ予測残差に対する予測処理の適用を示していると判断された場合、イントラ予測の予測方向および予測対象ブロックと近傍ブロックの間の距離に基づき、近傍ブロックから参照ブロックを同定し、該参照ブロックにおける変換係数の復号値を用いて、復号対象ブロックの変換係数に対する予測処理を行って、復号対象ブロックの変換係数の予測値を生成し、量子化インデックスに対して逆量子化処理を行って変換係数に対する残差予測誤差信号の復号値を生成し、該残差予測誤差信号の復号値と該復号対象ブロックの変換係数の予測値を加算し、イントラ予測残差信号の変換係数の復号信号を生成する変換係数の復号ステップと、
前記変換係数の復号ステップにおいて生成される変換係数の復号値に対して逆変換処理を行ってイントラ予測残差信号の復号信号を生成するイントラ予測残差信号の第二の復号ステップと、
前記イントラ予測残差信号の第一の復号ステップで生成されたイントラ予測残差信号の復号信号、または、前記イントラ予測残差信号の第二の復号ステップで生成されたイントラ予測残差信号の復号信号と、前記イントラ予測処理ステップで生成されたイントラ予測信号とを加算し、復号信号を生成する生成ステップと
を含むことを特徴とする画像復号方法。
An image decoding method for decoding an encoded stream output from an encoder,
Entropy decoding for entropy decoding the encoded stream;
An intra prediction processing step of reading an intra prediction mode from the encoded data subjected to entropy decoding, and generating an intra prediction signal based on the intra prediction mode;
When an intra prediction residual flag indicating the presence / absence of prediction processing for an intra prediction residual is read from the encoded data subjected to entropy decoding, and the intra prediction residual flag indicates that the prediction processing is not applied to the intra prediction residual If it is determined, the quantization index is subjected to inverse quantization processing to generate a decoded value of the transform coefficient, and the decoded value of the transform coefficient is subjected to inverse transform processing to obtain a decoded signal of the intra prediction residual signal. A first decoding step of the intra prediction residual signal to generate
When it is determined that the intra prediction residual flag indicates that the prediction process is applied to the intra prediction residual, based on the prediction direction of the intra prediction and the distance between the prediction target block and the neighboring block, the reference block is changed from the neighboring block to the reference block. And predicting the transform coefficient of the decoding target block using the decoded value of the transform coefficient in the reference block to generate a predicted value of the transform coefficient of the decoding target block, and performing inverse processing on the quantization index. Quantization processing is performed to generate a decoded value of the residual prediction error signal for the transform coefficient, the decoded value of the residual prediction error signal and the predicted value of the transform coefficient of the decoding target block are added, and an intra prediction residual signal A transform coefficient decoding step for generating a decoded signal of the transform coefficient;
A second decoding step of the intra prediction residual signal that performs an inverse transform process on the decoded value of the transform coefficient generated in the decoding step of the transform coefficient to generate a decoded signal of the intra prediction residual signal;
Decoding of the intra prediction residual signal generated in the first decoding step of the intra prediction residual signal or decoding of the intra prediction residual signal generated in the second decoding step of the intra prediction residual signal An image decoding method comprising: a generation step of adding a signal and the intra prediction signal generated in the intra prediction processing step to generate a decoded signal.
空間的な画素間予測を用いて予測信号を生成し、該予測信号と原信号との残差信号を生成する画像符号化装置であって、
イントラ予測残差信号を生成するイントラ予測処理手段と、
前記イントラ予測残差信号に対して変換間処理を行って変換係数を生成し、該変換係数に対して、量子化処理、逆量子化処理を行って、該変換係数の復号値を生成する生成手段と、
イントラ予測の予測方向および予測対象ブロックと近傍ブロックの間の距離に基づき、近傍ブロックから参照ブロックを同定する同定手段と、
前記参照ブロックにおけるイントラ予測残差信号の変換係数の復号値を用いて、予測対象ブロックのイントラ予測残差信号の変換係数に対する予測処理を行って、変換係数に対する残差予測誤差信号を生成する残差予測誤差信号生成手段と
を備えることを特徴とする画像符号化装置。
An image encoding device that generates a prediction signal using spatial inter-pixel prediction and generates a residual signal between the prediction signal and an original signal,
Intra prediction processing means for generating an intra prediction residual signal;
Generating a transform coefficient by performing an inter-transform process on the intra prediction residual signal, generating a decoded value of the transform coefficient by performing a quantization process and an inverse quantization process on the transform coefficient Means,
Identification means for identifying a reference block from neighboring blocks based on a prediction direction of intra prediction and a distance between the prediction target block and the neighboring block;
Using the decoded value of the transform coefficient of the intra prediction residual signal in the reference block, a prediction process is performed on the transform coefficient of the intra prediction residual signal of the prediction target block, and a residual prediction error signal for the transform coefficient is generated. An image encoding apparatus comprising: a difference prediction error signal generation unit.
符号化器が出力した符号化ストリームを復号する画像復号装置であって、
前記符号化ストリームをエントロピ復号するエントロピ復号手段と、
前記エントロピ復号処理された符号化データからイントラ予測モードを読み出し、該イントラ予測モードに基づき、イントラ予測信号を生成するイントラ予測処理手段と、
前記イントラ予測の予測方向および予測対象ブロックと近傍ブロックの間の距離に基づき、近傍ブロックから参照ブロックを同定し、該参照ブロックにおけるイントラ予測残差信号の復号値を用いて、復号対象ブロックのイントラ予測残差信号に対する予測処理を行って、イントラ予測残差信号の予測値を生成し、量子化インデックスに対して逆量子化処理を行って変換係数の復号値を生成し、該変換係数の復号値に対して逆変換処理を行って残差予測誤差信号の復号信号を生成し、該残差予測誤差信号の復号信号と前記イントラ予測残差信号の予測値を加算し、イントラ予測残差信号の復号信号を生成するイントラ予測残差信号の復号手段と、
前記イントラ予測残差信号の復号手段で生成されたイントラ予測残差信号の復号信号と前記イントラ予測処理手段で生成されたイントラ予測信号とを加算し、復号信号を生成する生成手段と
を備えることを特徴とする画像復号装置。
An image decoding apparatus for decoding an encoded stream output from an encoder,
Entropy decoding means for entropy decoding the encoded stream;
Intra prediction processing means for reading an intra prediction mode from the encoded data subjected to the entropy decoding process and generating an intra prediction signal based on the intra prediction mode;
Based on the prediction direction of the intra prediction and the distance between the prediction target block and the neighboring block, the reference block is identified from the neighboring block, and the decoded block value of the intra prediction residual signal in the reference block is used to determine the intra of the decoding target block. Perform prediction processing on the prediction residual signal to generate a prediction value of the intra prediction residual signal, perform inverse quantization processing on the quantization index to generate a decoded value of the transform coefficient, and decode the transform coefficient Inverse transformation processing is performed on the value to generate a decoded signal of the residual prediction error signal, the decoded signal of the residual prediction error signal and the prediction value of the intra prediction residual signal are added, and an intra prediction residual signal Means for decoding an intra prediction residual signal for generating a decoded signal of
Generating means for adding a decoded signal of the intra prediction residual signal generated by the decoding means for the intra prediction residual signal and the intra prediction signal generated by the intra prediction processing means to generate a decoded signal; An image decoding apparatus characterized by the above.
符号化器が出力した符号化ストリームを復号する画像復号装置であって、
前記符号化ストリームをエントロピ復号するエントロピ復号手段と、
前記エントロピ復号された符号化データからイントラ予測モードを読み出し、該イントラ予測モードに基づき、イントラ予測信号を生成するイントラ予測処理手段と、
前記エントロピ復号された符号化データからイントラ予測残差に対する予測処理の有無を示すイントラ予測残差フラグを読み出し、該イントラ予測残差フラグがイントラ予測残差に対する予測処理の不適用を示していると判断された場合、量子化インデックスに対して逆量子化処理を行って変換係数の復号値を生成し、該変換係数の復号値に対して逆変換処理を行ってイントラ予測残差信号の復号信号を生成するイントラ予測残差信号の第一の復号手段と、
前記イントラ予測残差フラグがイントラ予測残差に対する予測処理の適用を示していると判断された場合、イントラ予測の予測方向および予測対象ブロックと近傍ブロックの間の距離に基づき、近傍ブロックから参照ブロックを同定し、該参照ブロックにおけるイントラ予測残差信号の復号値を用いて、復号対象ブロックのイントラ予測残差信号に対する予測処理を行って、イントラ予測残差信号の予測値を生成し、量子化インデックスに対して逆量子化処理を行って変換係数の復号値を生成し、該変換係数の復号値に対して逆変換処理を行って残差予測誤差信号の復号信号を生成し、該残差予測誤差信号の復号信号と前記イントラ予測残差信号の予測値を加算し、イントラ予測残差信号の復号信号を生成するイントラ予測残差信号の第二の復号手段と、
前記イントラ予測残差信号の第一の復号手段で生成されたイントラ予測残差信号の復号信号、または、前記イントラ予測残差信号の第二の復号手段で生成されたイントラ予測残差信号の復号信号と、前記イントラ予測処理手段で生成されたイントラ予測信号とを加算し、復号信号を生成する生成手段と
を備えることを特徴とする画像復号装置。
An image decoding apparatus for decoding an encoded stream output from an encoder,
Entropy decoding means for entropy decoding the encoded stream;
Intra prediction processing means for reading an intra prediction mode from the entropy-decoded encoded data and generating an intra prediction signal based on the intra prediction mode;
When an intra prediction residual flag indicating the presence / absence of prediction processing for an intra prediction residual is read from the encoded data subjected to entropy decoding, and the intra prediction residual flag indicates that the prediction processing is not applied to the intra prediction residual If it is determined, the quantization index is subjected to inverse quantization processing to generate a decoded value of the transform coefficient, and the decoded value of the transform coefficient is subjected to inverse transform processing to obtain a decoded signal of the intra prediction residual signal. First decoding means of the intra prediction residual signal to generate
When it is determined that the intra prediction residual flag indicates that the prediction process is applied to the intra prediction residual, based on the prediction direction of the intra prediction and the distance between the prediction target block and the neighboring block, the reference block is changed from the neighboring block to the reference block. And performing a prediction process on the intra prediction residual signal of the decoding target block using the decoded value of the intra prediction residual signal in the reference block, generating a prediction value of the intra prediction residual signal, and quantizing An inverse quantization process is performed on the index to generate a decoded value of the transform coefficient, an inverse transform process is performed on the decoded value of the transform coefficient to generate a decoded signal of a residual prediction error signal, and the residual A decoded signal of the prediction error signal and a prediction value of the intra prediction residual signal are added to generate a decoded signal of the intra prediction residual signal. And No. means,
Decoding of the intra prediction residual signal generated by the first decoding means of the intra prediction residual signal or decoding of the intra prediction residual signal generated by the second decoding means of the intra prediction residual signal An image decoding apparatus comprising: a generation unit that adds a signal and an intra prediction signal generated by the intra prediction processing unit to generate a decoded signal.
符号化器が出力した符号化ストリームを復号する画像復号装置であって、
前記符号化ストリームをエントロピ復号するエントロピ復号手段と、
前記エントロピ復号処理された符号化データからイントラ予測モードを読み出し、該イントラ予測モードに基づき、イントラ予測信号を生成するイントラ予測処理手段と、
前記イントラ予測の予測方向および予測対象ブロックと近傍ブロックの間の距離に基づき、近傍ブロックから参照ブロックを同定し、該参照ブロックにおける変換係数の復号値を用いて、復号対象ブロックの変換係数に対する予測処理を行って、復号対象ブロックの変換係数の予測値を生成し、量子化インデックスに対して逆量子化処理を行って変換係数に対する残差予測誤差信号の復号値を生成し、該残差予測誤差信号の復号値と該復号対象ブロックの変換係数の予測値を加算し、イントラ予測残差信号の変換係数の復号信号を生成する変換係数の復号手段と、
前記変換係数の復号手段において生成される変換係数の復号値に対して逆変換処理を行ってイントラ予測残差信号の復号信号を生成するイントラ予測残差信号の復号手段と、
前記イントラ予測残差信号の復号手段で生成されたイントラ予測残差信号の復号信号と前記イントラ予測処理手段で生成されたイントラ予測信号とを加算し、復号信号を生成する生成手段と
を備えることを特徴とする画像復号装置。
An image decoding apparatus for decoding an encoded stream output from an encoder,
Entropy decoding means for entropy decoding the encoded stream;
Intra prediction processing means for reading an intra prediction mode from the encoded data subjected to the entropy decoding process and generating an intra prediction signal based on the intra prediction mode;
Based on the prediction direction of the intra prediction and the distance between the prediction target block and the neighboring block, the reference block is identified from the neighboring block, and the prediction of the transform coefficient of the decoding target block is performed using the decoded value of the transform coefficient in the reference block. To generate a prediction value of the transform coefficient of the decoding target block, to perform a dequantization process on the quantization index to generate a decoded value of a residual prediction error signal for the transform coefficient, and to perform the residual prediction A transform coefficient decoding means for adding a decoded value of the error signal and a predicted value of the transform coefficient of the decoding target block to generate a decoded signal of the transform coefficient of the intra prediction residual signal;
Intra prediction residual signal decoding means for generating a decoded signal of an intra prediction residual signal by performing inverse transform processing on a decoded value of the transform coefficient generated in the transform coefficient decoding means;
Generating means for adding a decoded signal of the intra prediction residual signal generated by the decoding means for the intra prediction residual signal and the intra prediction signal generated by the intra prediction processing means to generate a decoded signal; An image decoding apparatus characterized by the above.
符号化器が出力した符号化ストリームを復号する画像復号装置であって、
前記符号化ストリームをエントロピ復号するエントロピ復号手段と、
前記エントロピ復号された符号化データからイントラ予測モードを読み出し、該イントラ予測モードに基づき、イントラ予測信号を生成するイントラ予測処理手段と、
前記エントロピ復号された符号化データからイントラ予測残差に対する予測処理の有無を示すイントラ予測残差フラグを読み出し、該イントラ予測残差フラグがイントラ予測残差に対する予測処理の不適用を示していると判断された場合、量子化インデックスに対して逆量子化処理を行って変換係数の復号値を生成し、該変換係数の復号値に対して逆変換処理を行ってイントラ予測残差信号の復号信号を生成するイントラ予測残差信号の第一の復号手段と、
前記イントラ予測残差フラグがイントラ予測残差に対する予測処理の適用を示していると判断された場合、イントラ予測の予測方向および予測対象ブロックと近傍ブロックの間の距離に基づき、近傍ブロックから参照ブロックを同定し、該参照ブロックにおける変換係数の復号値を用いて、復号対象ブロックの変換係数に対する予測処理を行って、復号対象ブロックの変換係数の予測値を生成し、量子化インデックスに対して逆量子化処理を行って変換係数に対する残差予測誤差信号の復号値を生成し、該残差予測誤差信号の復号値と該復号対象ブロックの変換係数の予測値を加算し、イントラ予測残差信号の変換係数の復号信号を生成する変換係数の復号手段と、
前記変換係数の復号手段において生成される変換係数の復号値に対して逆変換処理を行ってイントラ予測残差信号の復号信号を生成するイントラ予測残差信号の第二の復号手段と、
前記イントラ予測残差信号の第一の復号手段で生成されたイントラ予測残差信号の復号信号、または、前記イントラ予測残差信号の第二の復号手段で生成されたイントラ予測残差信号の復号信号と、前記イントラ予測処理手段で生成されたイントラ予測信号とを加算し、復号信号を生成する生成手段と
を備えることを特徴とする画像復号装置。
An image decoding apparatus for decoding an encoded stream output from an encoder,
Entropy decoding means for entropy decoding the encoded stream;
Intra prediction processing means for reading an intra prediction mode from the entropy-decoded encoded data and generating an intra prediction signal based on the intra prediction mode;
When an intra prediction residual flag indicating the presence / absence of prediction processing for an intra prediction residual is read from the encoded data subjected to entropy decoding, and the intra prediction residual flag indicates that the prediction processing is not applied to the intra prediction residual If it is determined, the quantization index is subjected to inverse quantization processing to generate a decoded value of the transform coefficient, and the decoded value of the transform coefficient is subjected to inverse transform processing to obtain a decoded signal of the intra prediction residual signal. First decoding means of the intra prediction residual signal to generate
When it is determined that the intra prediction residual flag indicates that the prediction process is applied to the intra prediction residual, based on the prediction direction of the intra prediction and the distance between the prediction target block and the neighboring block, the reference block is changed from the neighboring block to the reference block. And predicting the transform coefficient of the decoding target block using the decoded value of the transform coefficient in the reference block to generate a predicted value of the transform coefficient of the decoding target block, and performing inverse processing on the quantization index. Quantization processing is performed to generate a decoded value of the residual prediction error signal for the transform coefficient, the decoded value of the residual prediction error signal and the predicted value of the transform coefficient of the decoding target block are added, and an intra prediction residual signal Transform coefficient decoding means for generating a decoded signal of the transform coefficient;
Second intra prediction residual signal decoding means for performing an inverse transform process on a decoded value of the transform coefficient generated in the transform coefficient decoding means to generate a decoded signal of an intra prediction residual signal;
Decoding of the intra prediction residual signal generated by the first decoding means of the intra prediction residual signal or decoding of the intra prediction residual signal generated by the second decoding means of the intra prediction residual signal An image decoding apparatus comprising: a generation unit that adds a signal and an intra prediction signal generated by the intra prediction processing unit to generate a decoded signal.
JP2010286539A 2010-12-22 2010-12-22 Image encoding method, image decoding method, image encoding device, and image decoding device Active JP5592779B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010286539A JP5592779B2 (en) 2010-12-22 2010-12-22 Image encoding method, image decoding method, image encoding device, and image decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010286539A JP5592779B2 (en) 2010-12-22 2010-12-22 Image encoding method, image decoding method, image encoding device, and image decoding device

Publications (2)

Publication Number Publication Date
JP2012134869A true JP2012134869A (en) 2012-07-12
JP5592779B2 JP5592779B2 (en) 2014-09-17

Family

ID=46649906

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010286539A Active JP5592779B2 (en) 2010-12-22 2010-12-22 Image encoding method, image decoding method, image encoding device, and image decoding device

Country Status (1)

Country Link
JP (1) JP5592779B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014050971A1 (en) * 2012-09-28 2014-04-03 日本電信電話株式会社 Intra-prediction coding method, intra-prediction decoding method, intra-prediction coding device, intra-prediction decoding device, programs therefor and recording mediums on which programs are recorded
WO2017142326A1 (en) * 2016-02-16 2017-08-24 삼성전자 주식회사 Video encoding method and apparatus, and decoding method and apparatus therefor

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007116695A (en) * 2005-10-19 2007-05-10 Samsung Electronics Co Ltd Method of encoding flags in layers using inter-layer correlation, method and apparatus for decoding coded flags
WO2008084817A1 (en) * 2007-01-09 2008-07-17 Kabushiki Kaisha Toshiba Image encoding and decoding method and device
US20080232705A1 (en) * 2007-03-23 2008-09-25 Samsung Electronics Co., Ltd. Method and apparatus for image encoding and image decoding
JP2008283401A (en) * 2007-05-09 2008-11-20 Canon Inc Image processing device and method thereof
US20090225843A1 (en) * 2008-03-05 2009-09-10 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image
JP2010507267A (en) * 2006-10-16 2010-03-04 シャープ株式会社 Method and system for communicating multi-layer bitstream data
JP2010258739A (en) * 2009-04-24 2010-11-11 Sony Corp Image processing apparatus, method and program
JP2011182167A (en) * 2010-03-01 2011-09-15 Kddi R & D Laboratories Inc Image encoding device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007116695A (en) * 2005-10-19 2007-05-10 Samsung Electronics Co Ltd Method of encoding flags in layers using inter-layer correlation, method and apparatus for decoding coded flags
JP2010507267A (en) * 2006-10-16 2010-03-04 シャープ株式会社 Method and system for communicating multi-layer bitstream data
WO2008084817A1 (en) * 2007-01-09 2008-07-17 Kabushiki Kaisha Toshiba Image encoding and decoding method and device
US20080232705A1 (en) * 2007-03-23 2008-09-25 Samsung Electronics Co., Ltd. Method and apparatus for image encoding and image decoding
JP2008283401A (en) * 2007-05-09 2008-11-20 Canon Inc Image processing device and method thereof
US20090225843A1 (en) * 2008-03-05 2009-09-10 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image
JP2010258739A (en) * 2009-04-24 2010-11-11 Sony Corp Image processing apparatus, method and program
US20120033737A1 (en) * 2009-04-24 2012-02-09 Kazushi Sato Image processing device and method
JP2011182167A (en) * 2010-03-01 2011-09-15 Kddi R & D Laboratories Inc Image encoding device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014050971A1 (en) * 2012-09-28 2014-04-03 日本電信電話株式会社 Intra-prediction coding method, intra-prediction decoding method, intra-prediction coding device, intra-prediction decoding device, programs therefor and recording mediums on which programs are recorded
KR20150042268A (en) * 2012-09-28 2015-04-20 니폰 덴신 덴와 가부시끼가이샤 Intra-prediction coding method, intra-prediction decoding method, intra-prediction coding device, intra-prediction decoding device, programs therefor and recording mediums on which programs are recorded
JP5841670B2 (en) * 2012-09-28 2016-01-13 日本電信電話株式会社 Intra-prediction encoding method, intra-prediction decoding method, intra-prediction encoding device, intra-prediction decoding device, their program, and recording medium recording the program
JP2016027756A (en) * 2012-09-28 2016-02-18 日本電信電話株式会社 Intra-prediction coding method, intra-prediction decoding method, intra-prediction encoder, intra-prediction decoder, their program and recording medium recording them
KR101650532B1 (en) 2012-09-28 2016-08-23 니폰 덴신 덴와 가부시끼가이샤 Intra-prediction coding method, intra-prediction decoding method, intra-prediction coding device, intra-prediction decoding device, programs therefor and recording mediums on which programs are recorded
US9813709B2 (en) 2012-09-28 2017-11-07 Nippon Telegraph And Telephone Corporation Intra-prediction encoding method, intra-prediction decoding method, intra-prediction encoding apparatus, intra-prediction decoding apparatus, program therefor and recording medium having program recorded thereon
WO2017142326A1 (en) * 2016-02-16 2017-08-24 삼성전자 주식회사 Video encoding method and apparatus, and decoding method and apparatus therefor
US20190037217A1 (en) * 2016-02-16 2019-01-31 Samsung Electronics Co., Ltd. Video encoding method and apparatus, and decoding method and apparatus therefor

Also Published As

Publication number Publication date
JP5592779B2 (en) 2014-09-17

Similar Documents

Publication Publication Date Title
JP6974516B2 (en) Restoration block generation method, predictive information coding method, bitstream, computer-readable medium
JP6164600B2 (en) Divided block encoding method in video encoding, divided block decoding method in video decoding, and recording medium for realizing the same
KR101493194B1 (en) Flexible band offset mode in sample adaptive offset in hevc
KR101739579B1 (en) Video Encoding/Decoding Method and Apparatus Using Unit-level Parallel Intra Prediction
CN104041048A (en) Method And Apparatus Video Encoding And Decoding Using Skip Mode
JP2011514095A (en) Video intra prediction method and apparatus
KR20100037180A (en) Method and apparatus for encoding and decoding vedio
KR20070032111A (en) Method and apparatus for loseless encoding and decoding image
TW201724856A (en) Data encoding apparatus and data encoding method
KR101462637B1 (en) Method and apparatus for image encoding/decoding
KR20110100912A (en) Video encoding apparatus and method therefor, and video decoding apparatus and method therefor
JP2023168518A (en) Prediction block generation device, image encoder, image decoder, and program
KR101596085B1 (en) Apparatus and method for video coding/decoding using adaptive intra prediction
JP5592779B2 (en) Image encoding method, image decoding method, image encoding device, and image decoding device
KR101377529B1 (en) Video Coding and Decoding Method and Apparatus Using Adaptive Motion Vector Coding/Encoding
JP6528635B2 (en) Moving picture coding apparatus, moving picture coding method, and computer program for moving picture coding
KR101911587B1 (en) Apparatus and method for video coding/decoding using adaptive intra prediction
KR101608895B1 (en) Method and Apparatus for Encoding and Decoding Vedio
KR20080013843A (en) Method and apparatus for loseless encoding and decoding image
JP7092455B2 (en) Encoding device, decoding device and program
JP2007266861A (en) Image encoding device
KR101608888B1 (en) Method and Apparatus for Encoding and Decoding Vedio
KR101608885B1 (en) Method and Apparatus for Encoding and Decoding Vedio
KR101648910B1 (en) Method and Apparatus for Encoding and Decoding Vedio
JP2015186120A (en) Encoding method conversion apparatus and program

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20130605

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20130726

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130730

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140407

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140507

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140620

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: 20140729

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140801

R150 Certificate of patent or registration of utility model

Ref document number: 5592779

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150