JP4831114B2 - Image encoding device, image encoding program, image decoding device, and image decoding program - Google Patents

Image encoding device, image encoding program, image decoding device, and image decoding program Download PDF

Info

Publication number
JP4831114B2
JP4831114B2 JP2008122920A JP2008122920A JP4831114B2 JP 4831114 B2 JP4831114 B2 JP 4831114B2 JP 2008122920 A JP2008122920 A JP 2008122920A JP 2008122920 A JP2008122920 A JP 2008122920A JP 4831114 B2 JP4831114 B2 JP 4831114B2
Authority
JP
Japan
Prior art keywords
signal
prediction
decoded
rectangular area
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.)
Expired - Fee Related
Application number
JP2008122920A
Other languages
Japanese (ja)
Other versions
JP2009272972A (en
Inventor
智 坂爪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan Ltd
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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP2008122920A priority Critical patent/JP4831114B2/en
Publication of JP2009272972A publication Critical patent/JP2009272972A/en
Application granted granted Critical
Publication of JP4831114B2 publication Critical patent/JP4831114B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

本発明は画像符号化装置、画像符号化プログラム、画像復号装置及び画像復号プログラムに係り、特に画像に対して面内符号化を行う際に、符号化対象となっている矩形領域の周囲に存在する符号化済みの矩形領域に対して局部復号を行うことで復号信号を生成し、この復号信号を利用しながら面内予測を行うことで予測信号を生成し、その結果を符号化及び復号に適用する画像符号化装置、画像符号化プログラム、画像復号装置及び画像復号プログラムに関する。   The present invention relates to an image encoding device, an image encoding program, an image decoding device, and an image decoding program, and in particular, exists around a rectangular area to be encoded when performing in-plane encoding on an image. A decoded signal is generated by performing local decoding on the encoded rectangular area, and a prediction signal is generated by performing in-plane prediction using the decoded signal, and the result is encoded and decoded. The present invention relates to an applied image encoding device, an image encoding program, an image decoding device, and an image decoding program.

ディジタル放送やネットワークを介した様々な動画像配信サービスが一般的となり、より高画質・高品質の動画像をより多く記録したいという要求から、更なる動画像の符号化効率向上が望まれている。   Various moving image distribution services via digital broadcasting and networks have become common, and in order to record more high-quality and high-quality moving images, further improvement in the coding efficiency of moving images is desired. .

近年、従来の符号化技術の符号化効率を大幅に向上させたMPEG−4 AVC(以後、AVCもしくはH.264)などの新たな符号化方法を導入したものも存在し、これらを導入することでより効果的な情報の符号化を行うことができる。   In recent years, there has been introduced a new encoding method such as MPEG-4 AVC (hereinafter referred to as AVC or H.264) which greatly improves the encoding efficiency of the conventional encoding technology, and these are introduced. Thus, more effective information encoding can be performed.

上述のような符号化方法では、面内符号化(以後、イントラ符号化)を行う際に、符号化の処理対象となっている矩形領域(以後、ブロック)の周囲に存在する符号化済みブロックに対して局部復号を行うことで復号信号を生成し、この復号信号を用いて面内予測(以後、イントラ予測)を行うことで予測信号を生成する。その後、符号化対象となっているブロック内の信号成分と、生成した予測信号との差分によって得られる残差信号に対して、所定の直交変換および量子化を行うことで、符号化効率の改善を図っている(例えば、特許文献1参照)。   In the encoding method as described above, an encoded block existing around a rectangular area (hereinafter referred to as a block) to be encoded when performing in-plane encoding (hereinafter referred to as intra encoding). A decoded signal is generated by performing local decoding on the image, and a prediction signal is generated by performing in-plane prediction (hereinafter referred to as intra prediction) using the decoded signal. After that, by performing predetermined orthogonal transform and quantization on the residual signal obtained by the difference between the signal component in the block to be encoded and the generated prediction signal, the encoding efficiency is improved. (For example, refer to Patent Document 1).

特許第3734492号公報Japanese Patent No. 3734492

従来の動画像符号化であるAVCでは、符号化の処理単位として多くのブロックサイズが利用できる。例えば、マクロブロック単位のブロックサイズは、横方向M画素、縦方向N画素(M,Nは自然数)をMxN画素と表記するものとすると、16x16画素、16x8画素、8x16画素、8x8画素をもつブロックが利用できる。また、サブマクロブロック単位のブロックサイズは、8x8画素、8x4画素、4x8画素、4x4画素をもつブロックが利用できる。   In AVC, which is a conventional moving picture coding, many block sizes can be used as a coding processing unit. For example, the block size in units of macroblocks is a block having 16 × 16 pixels, 16 × 8 pixels, 8 × 16 pixels, and 8 × 8 pixels, where M pixels in the horizontal direction and N pixels in the vertical direction (M and N are natural numbers) are expressed as M × N pixels. Is available. In addition, a block having 8 × 8 pixels, 8 × 4 pixels, 4 × 8 pixels, and 4 × 4 pixels can be used as the block size of each sub macroblock.

AVCにおける符号化順序は、特にことわりがない場合には、図9(A)が示すようなマクロブロック単位のラスタ順で処理が行われる。また、イントラ予測を行う場合の符号化の処理単位であるブロックは、輝度成分や色差成分などの符号化対象に応じて、16x16画素(図9(E))、8x8画素(図9(C))、4x4画素(図9(B),(D))のブロックサイズが利用できる。AVCにおけるイントラ予測の処理順序においても、図9(B),(C),(D)の矢印の順序が示すようなラスタ順で処理が行われる。   When there is no particular change in the encoding order in AVC, processing is performed in the raster order of macroblock units as shown in FIG. In addition, blocks that are processing units of encoding when performing intra prediction are 16 × 16 pixels (FIG. 9E) and 8 × 8 pixels (FIG. 9C), depending on the encoding target such as a luminance component and a color difference component. ) A block size of 4 × 4 pixels (FIGS. 9B and 9D) can be used. Also in the processing order of intra prediction in AVC, processing is performed in a raster order as indicated by the order of arrows in FIGS. 9B, 9C, and 9D.

AVCのイントラ予測では、予測対象となっているブロックに隣接するブロックで、かつ、既に符号化済みのブロックに対して局部復号を行うことで復号信号を生成し、この復号信号を利用して予測信号を生成する。   In AVC intra prediction, a decoded signal is generated by performing local decoding on a block that is adjacent to a prediction target block and has already been encoded, and prediction is performed using this decoded signal. Generate a signal.

ここで、従来のイントラ予測では、符号化順序がラスタ順である場合には、図10(A)が示すように、符号化対象ブロックを基準として左、上、右上、左上のブロックが符号化済みのブロックであり、これらのブロック以外のブロックからは、局部復号によって得られる復号信号を利用して、符号化対象ブロックの予測信号を生成することができない。つまり、符号化順序において、既に処理されたブロックの復号信号は予測処理に利用できるが、まだ処理されていないブロックからは、局部復号ができないために復号信号が得られず、結果として予測処理に利用できないということになる。よって、従来のイントラ予測における予測方向は、図10(C)が示すように限定された方向となり、周囲の画素からイントラ予測を行おうとした場合に、必ずしも十分な予測結果が得られないという問題がある。   Here, in the conventional intra prediction, when the encoding order is raster order, as shown in FIG. 10A, the left, upper, upper right, and upper left blocks are encoded with reference to the encoding target block. From the blocks other than these blocks, it is impossible to generate a prediction signal of the encoding target block using a decoded signal obtained by local decoding. That is, in the coding order, the decoded signal of the already processed block can be used for the prediction process, but the decoded signal cannot be obtained from the block that has not been processed yet because local decoding cannot be performed, and as a result, the prediction process is performed. It means that it cannot be used. Therefore, the prediction direction in the conventional intra prediction is a limited direction as shown in FIG. 10C, and a sufficient prediction result cannot always be obtained when trying to perform intra prediction from surrounding pixels. There is.

本発明は以上の点に鑑みなされたもので、符号化順序によって予測方向が制限され、予測信号の精度が低下する問題を回避し、より精度の高い予測信号を生成することが可能な画像符号化装置、画像符号化プログラム、画像復号装置及び画像復号プログラムを提供することを目的とする。   The present invention has been made in view of the above points. An image code capable of generating a prediction signal with higher accuracy by avoiding the problem that the prediction direction is limited by the encoding order and the accuracy of the prediction signal is reduced. It is an object to provide an encoding device, an image encoding program, an image decoding device, and an image decoding program.

上記の目的を達成するため、第1の発明は、入力された符号化対象の画像信号の一画面領域を所定の矩形領域毎に分割し、符号化対象領域を、分割された矩形領域において処理すべき対象となっている矩形領域とし、符号化対象領域に属する画像の原信号に対して、処理すべき対象となっている矩形領域の周囲の矩形領域の復号信号を利用して所定の面内予測を行うと共に予測信号を生成する画像符号化装置であって、
符号化対象領域の一画面領域における位置を管理し、この位置を示すための処理位置制御信号を出力する処理位置制御手段と、矩形領域のうち所定の一の矩形領域に属する画像の原信号に対して、その矩形領域の周囲の矩形領域の復号信号を用いて所定の面内予測を行うと共に、予め定められた複数の予測方法のうち、供給された予測補助情報に基づいて特定される予測方法によって所定の一の矩形領域における予測信号を生成し、生成した予測信号と、この予測信号の生成に用いた予測方法を示す情報とを出力する予測手段と、所定の一の矩形領域における画像の原信号から、予測手段から供給された予測信号を減算することにより残差信号を生成するとともに、予測手段から供給された予測方法を示す情報に基づいて、複数の予測方法のうち未使用の予測方法を特定し、特定した予測情報を予測補助情報として予測手段に供給して予測信号を生成させる処理を繰り返し、未使用の予測方法がなくなったら、複数の予測方法に対応して得られた複数の残差信号から、所定の評価方法に基づいて残差信号を選択する残差信号生成・選択手段と、所定の一の矩形領域における選択された残差信号に対して直交変換を施して直交変換係数情報を生成し、その直交変換係数情報に対して量子化を施して量子化後情報を生成する量子化後情報生成手段と、所定の一の矩形領域における量子化後情報に対してエントロピー符号化を行う符号化手段と、量子化後情報に対して、逆量子化及び逆直交変換を施して復号残差信号を生成する復号残差信号生成手段と、所定の一の矩形領域における復号残差信号と予測信号とを加算して所定の一の矩形領域における復号信号を生成する加算手段と、処理位置制御手段からの処理位置制御信号に基づき、既に予測信号を生成し、符号化を行った矩形領域に対して、再度予測処理を実行するか否かを所定のルールに基づいて制御する再予測制御手段と、を有し、再予測制御手段により予測信号生成手段、残差信号生成・選択手段、量子化後情報生成手段、復号残差信号生成手段及び加算手段を制御して、最初の所定の一の矩形領域として符号化対象領域を設定してその符号化対象領域における予測信号、残差信号、量子化後情報、復号残差信号及び復号信号を生成させ、続いて所定の一の矩形領域として符号化対象領域の周囲の矩形領域のうち符号化が完了していない一の矩形領域を設定して、その矩形領域における予測信号、残差信号、量子化後情報、復号残差信号及び復号信号を生成させた後、符号化対象領域の符号化済みの画像信号に対して、復号信号を生成した符号化対象領域の周囲の矩形領域の当該復号信号を用いて、その符号化対象領域における予測信号、残差信号、量子化後情報、復号残差信号及び復号信号をそれぞれ更新した後、符号化手段による再符号化を行わせることを特徴とする。
In order to achieve the above object, the first invention divides one screen area of an input encoding target image signal into predetermined rectangular areas, and processes the encoding target area in the divided rectangular areas. A rectangular area that is a target area to be processed and a predetermined surface using a decoded signal of a rectangular area around the rectangular area that is a target area to be processed with respect to an original signal of an image belonging to the encoding target area An image encoding device that performs intra prediction and generates a prediction signal,
The processing position control means for managing the position in one screen area of the encoding target area and outputting a processing position control signal for indicating this position, and the original signal of the image belonging to one predetermined rectangular area among the rectangular areas On the other hand, a predetermined in-plane prediction is performed using a decoded signal of a rectangular area around the rectangular area, and prediction specified based on supplied prediction auxiliary information among a plurality of predetermined prediction methods A prediction unit that generates a prediction signal in a predetermined rectangular area by the method, outputs the generated prediction signal, and information indicating a prediction method used to generate the prediction signal, and an image in the predetermined rectangular area from the original signal, to generate a Rizan difference signal by the subtracting the prediction signal supplied from the prediction unit, based on the information indicating the prediction method supplied from the prediction means, a plurality of prediction methods After that, the unused prediction method is identified, the process of supplying the identified prediction information to the prediction means as the prediction auxiliary information and generating the prediction signal is repeated, and if there are no unused prediction methods, the plurality of prediction methods are supported. A residual signal generating / selecting means for selecting a residual signal from a plurality of residual signals obtained based on a predetermined evaluation method, and orthogonal to a selected residual signal in a predetermined rectangular area A post-quantization information generating means for generating orthogonal transform coefficient information by performing transformation, quantizing the orthogonal transform coefficient information to generate post-quantization information, and after quantization in a predetermined rectangular area Encoding means for performing entropy encoding on information, decoding residual signal generating means for performing inverse quantization and inverse orthogonal transformation on the quantized information to generate a decoding residual signal, and a predetermined one Decoding in a rectangular region Based on the addition means for adding the difference signal and the prediction signal to generate a decoded signal in a predetermined rectangular area, and the processing position control signal from the processing position control means, the prediction signal is already generated and encoded. against rectangular region, anda re-predictive control unit that controls on the basis of whether or not to execute the prediction process again to a predetermined rule, the prediction signal generating means by the re-predictive control means, residual signal generator Control the selection unit, the post-quantization information generation unit, the decoded residual signal generation unit, and the addition unit, set the encoding target region as the first predetermined rectangular region, and predict the signal in the encoding target region , Generating a residual signal, post-quantization information, a decoded residual signal, and a decoded signal, and then encoding one of the rectangular areas around the encoding target area as a predetermined one rectangular area. Set a rectangular area Encoding that generates a prediction signal, a residual signal, post-quantization information, a decoded residual signal, and a decoded signal in a rectangular area, and then generates a decoded signal for an encoded image signal in the encoding target area Using the decoded signal in the rectangular area around the target area, after updating the prediction signal, residual signal, post-quantization information, decoded residual signal and decoded signal in the encoding target area, Re-encoding is performed.

また、上記の目的を達成するため、第2の発明は、第1の発明の各構成手段を、コンピュータにより実行させる画像符号化プログラムである。   In order to achieve the above object, the second invention is an image encoding program that causes a computer to execute each component of the first invention.

また、上記の目的を達成するため、第3の発明は、符号化対象の画像信号の一画面領域を所定の矩形領域毎に分割し、符号化対象領域を、分割された矩形領域において処理すべき対象となっている矩形領域とし、符号化対象領域に属する画像の原信号に対して、処理すべき対象となっている矩形領域の周囲の矩形領域の復号信号を用いて所定の面内予測を行って符号化して得られた符号化ビットストリームに対して復号動作を行って、復号した画像信号を出力する画像復号装置であって、
符号化ビットストリームから、各矩形領域における残差信号に対して直交変換及び逆量子化を施して得られた量子化後情報を少なくとも復号するエントロピー復号手段と、復号された量子化後情報に対して、逆量子化及び逆直交変換処理を施して各矩形領域の復号残差信号を生成する復号残差信号生成手段と、復号信号を生成する復号対象の矩形領域の位置を管理し、この位置を示すための処理位置制御信号を出力する処理位置制御手段と、処理位置制御手段よりの処理位置制御信号に基づき現在復号対象となっている矩形領域の位置を特定し、その復号対象となっている矩形領域の周囲の領域の復号信号を用いて所定の面内予測を行うと共に、予め定められた複数の予測方法のうち、供給された予測補助情報に基づいて特定される予測方法によって矩形領域における予測信号を生成し、生成した予測信号と、この予測信号の生成に用いた予測方法を示す情報とを出力する予測手段と、予測信号と復号残差信号とを加算して復号信号を生成する加算手段と、既に予測信号を生成した矩形領域に対して、再度予測処理を実行するか否かを所定のルールに基づいて制御する再予測制御手段とを有し、再予測制御手段により予測手段、復号残差信号生成手段及び加算手段を制御して、復号対象となっている矩形領域における予測信号、復号残差信号及び復号信号を生成させ、続いて復号対象となっている矩形領域の周囲の矩形領域のうち復号が完了していない一の矩形領域を設定して、その矩形領域における予測信号、復号残差信号及び復号信号を生成させた後、復号対象となっている矩形領域の画像信号に対して、復号信号を生成した周囲の矩形領域の当該復号信号を用いて、その復号対象となっている矩形領域における予測信号、復号残差信号及び復号信号をそれぞれ更新することを特徴とする。
In order to achieve the above object, the third invention divides one screen area of the image signal to be encoded into predetermined rectangular areas and processes the encoding target area in the divided rectangular areas. A predetermined rectangular in-plane prediction using a decoded signal of a rectangular area around the rectangular area to be processed with respect to an original signal of an image belonging to the encoding target area. An image decoding device that performs a decoding operation on an encoded bitstream obtained by performing encoding and outputs a decoded image signal,
Entropy decoding means for decoding at least post-quantization information obtained by performing orthogonal transform and inverse quantization on the residual signal in each rectangular area from the encoded bit stream, and for the decoded post-quantization information Te manages the decoded residual signal generating means for generating a decoded residual signal of each rectangular region is subjected to inverse quantization and inverse orthogonal transformation process, the position of the rectangular area to be decoded to generate a decoded signal, the position A processing position control means for outputting a processing position control signal for indicating the position of the rectangular area which is the current decoding target based on the processing position control signal from the processing position control means, and becomes the decoding target prediction method using the decoded signal of the surrounding area of the rectangular area performs a predetermined intra prediction among a plurality of prediction methods predetermined specified based on the supplied predicted auxiliary information are Therefore to generate a prediction signal in the rectangular region, and the generated predicted signal, prediction means for outputting the information indicating the prediction method used for generating the prediction signal, decoding by adding the prediction signal and the decoded residual signal A re-prediction control unit that includes an adding unit that generates a signal and a re-prediction control unit that controls whether or not the prediction process is performed again on a rectangular region that has already generated a prediction signal based on a predetermined rule. The prediction means, the decoded residual signal generating means, and the adding means are controlled by the means to generate a prediction signal, a decoded residual signal, and a decoded signal in the rectangular area to be decoded, and subsequently the decoding target. One rectangular area that has not been decoded is set out of the rectangular areas around the rectangular area, and a prediction signal, a decoded residual signal, and a decoded signal are generated in the rectangular area, and then the decoding target Rectangular Update the prediction signal, decoding residual signal, and decoding signal in the rectangular area to be decoded using the decoded signal in the surrounding rectangular area that generated the decoded signal for the image signal in the area It is characterized by.

また、上記の目的を達成するため、第4の発明は、第2の発明の各構成手段を、コンピュータにより実行させる画像復号プログラムである。   In order to achieve the above object, a fourth invention is an image decoding program that causes a computer to execute each component of the second invention.

第1の発明によれば、符号化対象の周囲の領域の復号信号を、符号化対象領域の面内予測に利用することで、従来制限されていた面内予測の予測方向を増やすことが可能となり、従来の面内予測によって得られる予測信号よりも予測精度の高い予測信号を生成することができる。   According to the first invention, it is possible to increase the prediction direction of the in-plane prediction that has been conventionally limited by using the decoded signal of the area around the encoding target for the in-plane prediction of the encoding target area. Thus, it is possible to generate a prediction signal with higher prediction accuracy than a prediction signal obtained by conventional in-plane prediction.

また、第1の発明によれば、面内予測の予測方向を増やし、従来の予測信号よりも予測精度の高い予測信号を生成し、以前生成した予測信号を更新することで、その後の処理で得られる新たな残差信号の信号振幅が抑制されるため、本発明の画像符号化方法によって得られる符号化ビットストリームの符号化効率を向上させることができる。   Further, according to the first invention, the prediction direction of the in-plane prediction is increased, a prediction signal with higher prediction accuracy than the conventional prediction signal is generated, and the previously generated prediction signal is updated. Since the signal amplitude of the new residual signal to be obtained is suppressed, the coding efficiency of the coded bitstream obtained by the image coding method of the present invention can be improved.

また、第2の発明によれば、第1の発明の画像符号化装置の符号化動作を、同様の符号化動作を記述した画像符号化プログラムによってコンピュータの動作を制御することで、コンピュータに第1の発明の画像符号化装置と同様な符号化動作を実現させることができる。   Further, according to the second invention, the encoding operation of the image encoding device according to the first invention is controlled by the computer by controlling the operation of the computer by the image encoding program describing the similar encoding operation. An encoding operation similar to that of the image encoding device of the first invention can be realized.

また、第3の発明によれば、第1の発明又は第2の発明により生成された符号化ビットストリームから、正しく符号化結果を復号することができる。   Further, according to the third aspect, it is possible to correctly decode the encoding result from the encoded bit stream generated according to the first aspect or the second aspect.

更に、第4の発明によれば、第3の発明の画像復号装置の復号動作を、同様の復号動作を記述した画像復号プログラムによってコンピュータの動作を制御することで、コンピュータに第3の発明の画像復号装置と同様な復号動作を実現させることができる。   Further, according to the fourth invention, the decoding operation of the image decoding apparatus according to the third invention is controlled by the computer by the image decoding program describing the similar decoding operation, so that the computer can A decoding operation similar to that of the image decoding apparatus can be realized.

次に、発明を実施するための最良の形態について図面を併せ参照して詳細に説明する。   Next, the best mode for carrying out the invention will be described in detail with reference to the drawings.

(画像符号化装置)
まず、本発明の画像符号化装置の一実施の形態について図面を参照して説明する。
(Image coding device)
First, an embodiment of an image encoding device of the present invention will be described with reference to the drawings.

図1は、本発明になる画像符号化装置の一実施の形態のブロック図を示す。図1に示すように、本実施の形態の画像符号化装置100は、ピクチャ格納メモリ102、再予測制御器104、処理位置制御器106、復号ピクチャ格納メモリ107、予測器109、予測ピクチャ格納メモリ110、減算器111、差分ピクチャ格納メモリ112、残差制御器113、直交変換器115、量子化器116、スイッチ117、逆量子化器118、逆直交変換器119、加算器120、エントロピー符号化器121、を少なくとも備えた構成である。   FIG. 1 shows a block diagram of an embodiment of an image encoding apparatus according to the present invention. As shown in FIG. 1, an image coding apparatus 100 according to the present embodiment includes a picture storage memory 102, a re-prediction controller 104, a processing position controller 106, a decoded picture storage memory 107, a predictor 109, and a predicted picture storage memory. 110, subtractor 111, difference picture storage memory 112, residual controller 113, orthogonal transformer 115, quantizer 116, switch 117, inverse quantizer 118, inverse orthogonal transformer 119, adder 120, entropy coding The device 121 is at least provided.

次に、図1に示す本発明の一実施の形態の画像符号化装置100の各構成部分の詳細について説明する。   Next, details of each component of the image encoding device 100 according to the embodiment of the present invention shown in FIG. 1 will be described.

説明を簡単にするため、以後、イントラ予測を行う際の処理単位を4x4画素のブロック(矩形領域)であるものとして話を進めるが、イントラ予測のブロックサイズを特に限定するものではなく、8x8画素、16x16画素などの様々なブロックサイズによってイントラ予測を行うような構成であっても構わない。   In order to simplify the explanation, the processing unit for intra prediction is assumed to be a block (rectangular area) of 4 × 4 pixels, but the block size of intra prediction is not particularly limited, and 8 × 8 pixels. It is also possible to adopt a configuration in which intra prediction is performed with various block sizes such as 16 × 16 pixels.

ピクチャ格納メモリ102は、入力された符号化対象となる画像信号の一画面領域、または動画像信号の一画面領域を入力信号として取得し、符号化対象ピクチャとして格納する機能を有する。格納した符号化対象ピクチャは、所定の矩形領域、つまり所定の大きさをもつブロックに分割されたものとしてピクチャ格納メモリ102内で扱われる。ここでは4x4画素のブロックサイズのブロックとして扱われる。   The picture storage memory 102 has a function of acquiring, as an input signal, one screen area of an input image signal to be encoded or one screen area of a moving image signal as an encoding target picture. The stored encoding target picture is handled in the picture storage memory 102 as being divided into a predetermined rectangular area, that is, a block having a predetermined size. Here, it is treated as a block having a block size of 4 × 4 pixels.

また、ピクチャ格納メモリ102は、外部の各手段およびピクチャ格納メモリ102内の状態から得られる、面内の各ブロックに属する情報を管理する機能と、ブロックに属する情報を必要とする各手段に供給する機能を有する。ここで、ブロックに属する情報は、少なくともブロック内の画像信号、ここでは原信号に相当する。また、ブロックのサイズ、指定されたブロックの状態、ブロックの利用履歴、指定されたブロックの周囲のブロックの状態などの情報が含まれるようにすると更によい。ここでは、ピクチャ格納メモリ102は、少なくとも符号化対象となっているブロックに属する原信号を減算器111に供給する機能を有する。   Also, the picture storage memory 102 is supplied to each means that needs information belonging to each block and a function that manages information belonging to each block in the plane obtained from each external means and the state in the picture storage memory 102. Has the function of Here, the information belonging to the block corresponds to at least the image signal in the block, here the original signal. It is further preferable to include information such as the size of the block, the state of the designated block, the use history of the block, and the state of the blocks around the designated block. Here, the picture storage memory 102 has a function of supplying at least the original signal belonging to the block to be encoded to the subtractor 111.

更に、ピクチャ格納メモリ102は、後述する処理位置制御器106から現在符号化対象となっているブロックの位置を特定するための処理位置制御信号を取得する機能を有する。   Further, the picture storage memory 102 has a function of acquiring a processing position control signal for specifying the position of a block that is currently an encoding target from a processing position controller 106 described later.

再予測制御器104は、既にイントラ予測を行ったブロックに対して再度イントラ予測を行うかどうかを制御する機能を有する。再予測制御器104は、イントラ予測の再予測の制御を所定のルールに基づいて行う機能を有すると良い構成となる。また、必要であればイントラ予測の再予測の制御を行うためのルールを特定するための再予測制御情報103を取得する機能を有すると更に良い構成となる。ここで、再予測制御情報103は、符号化出力の際に別途所定のエントロピー符号化が行われ、出力符号122と共に符号化ビットストリームとして出力されるようにすると更に良い構成となる。   The re-prediction controller 104 has a function of controlling whether to perform intra prediction again on a block that has already been subjected to intra prediction. The re-prediction controller 104 preferably has a function of performing re-prediction control of intra prediction based on a predetermined rule. Further, if necessary, it is better to have a function of acquiring re-prediction control information 103 for specifying a rule for performing re-prediction control of intra prediction. Here, the re-prediction control information 103 has a better configuration if predetermined entropy encoding is separately performed at the time of encoding output and is output as an encoded bit stream together with the output code 122.

また、再予測制御器104は、イントラ予測の再予測制御を行うための再予測制御情報103を取得し、それに基づいて再予測制御信号を生成して予測器109、残差制御器113に供給する機能を有する。また、再予測制御器104は、処理位置制御器106から現在符号化対象となっているブロックの位置を特定するための処理位置制御信号を取得する機能を有する。更に、再予測制御器104は、イントラ予測の再予測の必要性に応じて符号化出力を制御するために、スイッチ117を切り替えるための制御信号をスイッチ117に供給する機能を有する。 Further, re-predictive controller 104 obtains the re-predictive control information 103 for controlling the re-predictive intra prediction, predictor 109 generates a re-predictive control signals based thereon, the residual controller 113 It has a function to supply. In addition, the re-prediction controller 104 has a function of acquiring a processing position control signal for specifying the position of the block currently being encoded from the processing position controller 106. Furthermore, the re-prediction controller 104 has a function of supplying a control signal for switching the switch 117 to the switch 117 in order to control the encoded output in accordance with the necessity of re-prediction of intra prediction.

処理位置制御器106は、処理位置制御情報105に基づいて、処理するブロックの順序、符号化対象となっているブロックの位置、符号化対象となっているブロックの周囲のブロックの符号化の状態を管理し、少なくとも符号化対象となっているブロックの位置を特定するための処理位置制御信号を生成して、ピクチャ格納メモリ102、再予測制御器104、復号ピクチャ格納メモリ107、予測器109、予測ピクチャ格納メモリ110、差分ピクチャ格納メモリ112、残差制御器113に供給する機能を有する。ここで、処理位置制御信号には、符号化対象となっているブロックの周囲のブロックの符号化の状態を含むようにするとよい。 Based on the processing position control information 105 , the processing position controller 106 determines the order of blocks to be processed, the positions of blocks to be encoded, and the encoding status of blocks around the block to be encoded. And at least a processing position control signal for specifying the position of the block to be encoded is generated, and the picture storage memory 102, the re-prediction controller 104, the decoded picture storage memory 107, the predictor 109, The prediction picture storage memory 110, the difference picture storage memory 112, and the residual controller 113 are provided. Here, the processing position control signal may include an encoding state of blocks around the block to be encoded.

また、処理位置制御器106は、処理するブロックの順序を決定するための処理位置制御情報105を取得し、取得した処理位置制御情報105に基づいて処理するブロックの順序を決定する機能を有すると更に良い構成となる。ここで、処理位置制御情報105は、符号化出力の際に別途所定のエントロピー符号化が行われ、出力符号122と共に符号化ビットストリームとして出力されるようにすると更に良い構成となる。   Further, the processing position controller 106 has a function of acquiring the processing position control information 105 for determining the order of blocks to be processed and determining the order of blocks to be processed based on the acquired processing position control information 105. A better configuration is obtained. Here, the processing position control information 105 has a better configuration if predetermined entropy encoding is separately performed at the time of encoding output and is output as an encoded bit stream together with the output code 122.

復号ピクチャ格納メモリ107は、処理位置制御器106から処理位置制御信号を取得し、符号化対象となっているブロックの位置を特定する機能を有する。また、復号ピクチャ格納メモリ107は、加算器120から復号信号を含むブロックを取得し、符号化対象となっているブロックの位置の復号結果として格納する機能を有する。ここで、復号ピクチャ格納メモリ107は、同一のブロックの位置に対して、複数の復号信号を含むブロックを関連付けて格納することができる機能を有するようにすることが望ましい。これは、再予測処理によって面内の同一の位置において、異なる予測方法に基づいて生成された予測信号と復号残差信号から復号信号が生成され、復号ピクチャ格納メモリ107に供給される場合があるためである。   The decoded picture storage memory 107 has a function of acquiring a processing position control signal from the processing position controller 106 and specifying the position of a block to be encoded. The decoded picture storage memory 107 has a function of acquiring a block including a decoded signal from the adder 120 and storing it as a decoding result of the position of the block to be encoded. Here, it is desirable that the decoded picture storage memory 107 has a function capable of associating and storing blocks including a plurality of decoded signals at the same block position. In this case, a decoded signal may be generated from a prediction signal generated based on different prediction methods and a decoded residual signal at the same position in the plane by re-prediction processing and supplied to the decoded picture storage memory 107. Because.

また、復号ピクチャ格納メモリ107は、外部の各手段および復号ピクチャ格納メモリ107内の状態から得られる、面内の各ブロックに属する情報を管理する機能を有する。ここで、ブロックに属する情報は、少なくともブロック内の画像信号、ここでは復号信号に相当する。また、各ブロックにおいて、符号化が完了しているかを示す情報が含まれると良い構成となる。更に、復号ピクチャ格納メモリ107は、予測器109に対し、要求された面内の位置のブロックに属する情報を供給する機能を有する。   The decoded picture storage memory 107 has a function of managing information belonging to each block in the plane, which is obtained from each external unit and the state in the decoded picture storage memory 107. Here, information belonging to a block corresponds to at least an image signal in the block, here, a decoded signal. In addition, it is preferable that each block includes information indicating whether encoding is completed. Further, the decoded picture storage memory 107 has a function of supplying the predictor 109 with information belonging to the block at the position in the requested plane.

予測器109は、再予測制御器104から再予測制御信号を取得する機能を有する。取得した再予測制御信号に基づいて、現在符号化対象となっているブロックに対して再予測を行うかどうか特定する機能を有する。また、予測器109は、処理位置制御器106から、符号化対象となっているブロックの位置を特定するために必要となる処理位置制御信号を取得し、取得した処理位置制御信号に基づいて、現在符号化対象となっているブロックの面内の位置を特定する機能を有する。また、必要であれば、処理位置制御器106から、処理位置制御信号として符号化対象となっているブロックの周囲のブロックの符号化の状態を取得する機能を有すると更に良い構成となる。   The predictor 109 has a function of acquiring a re-prediction control signal from the re-prediction controller 104. Based on the acquired re-prediction control signal, it has a function of specifying whether or not re-prediction is performed on a block that is currently an encoding target. Further, the predictor 109 acquires a processing position control signal necessary for specifying the position of the block to be encoded from the processing position controller 106, and based on the acquired processing position control signal, It has a function of specifying the position in the plane of the block currently being encoded. If necessary, the processing position controller 106 has a function of acquiring the encoding state of the blocks around the block to be encoded as the processing position control signal.

また、予測器109は、イントラ予測を行う際に必要となる復号信号を取得するため、復号ピクチャ格納メモリ107から符号化対象となっているブロックの周囲のブロックで、かつ、利用可能な復号信号が存在するブロックに属する情報を取得する機能を有する。また、必要であれば、予測器109は、予測ピクチャ格納メモリ110から符号化対象となっているブロックの周囲のブロックで、利用可能な予測信号が存在するブロックに属する情報を取得する機能を有すると更に良い構成となる。更に、予測器109は、残差制御器113から予測補助情報を取得し、取得した予測補助情報に基づいてイントラ予測を行う際の予測方法を特定する機能を有する。   Further, the predictor 109 obtains a decoded signal necessary for performing intra prediction, so that a decoded signal that can be used in blocks around the block to be encoded from the decoded picture storage memory 107 and can be used. Has a function of acquiring information belonging to the block in which the exists. Further, if necessary, the predictor 109 has a function of acquiring information belonging to a block in which a usable prediction signal exists among the blocks around the block to be encoded from the predicted picture storage memory 110. Then, it becomes a still better structure. Further, the predictor 109 has a function of acquiring prediction auxiliary information from the residual controller 113 and specifying a prediction method when performing intra prediction based on the acquired prediction auxiliary information.

また、予測器109は、取得した符号化対象となっているブロックの周囲のブロックで利用可能な復号信号に基づいて、特定された予測方法で符号化対象となっているブロックの予測信号を生成する機能を有する。また、予測器109は、生成した予測信号を含む、符号化対象となっているブロックに属する情報を、予測ピクチャ格納メモリ110に供給する機能を有する。ここで、供給するブロックに属する情報として、取得した予測補助情報を追加することで、生成した予測信号がどのような予測方法によって生成されたものかを特定することができ、更に良い構成となる。   Further, the predictor 109 generates a prediction signal of the block to be encoded by the identified prediction method based on the decoded signal that can be used in the blocks around the acquired block to be encoded. It has the function to do. Further, the predictor 109 has a function of supplying information belonging to the block to be encoded, including the generated prediction signal, to the predicted picture storage memory 110. Here, by adding the acquired prediction auxiliary information as the information belonging to the block to be supplied, it is possible to specify the prediction method generated by the generated prediction signal, and the configuration is further improved. .

更に、予測器109は、残差制御器113から、残差信号が選択されたことを示す信号と、選択された残差信号を含むブロックに属する情報に含まれる予測補助情報を取得する機能を有する。予測器109は、残差信号が選択されたことを示す信号を取得すると、予測ピクチャ格納メモリ110から予測補助情報に関連付けられた予測信号を含むブロックを取得する機能を有する。   Further, the predictor 109 has a function of acquiring, from the residual controller 113, a signal indicating that the residual signal has been selected and prediction auxiliary information included in the information belonging to the block including the selected residual signal. Have. When the predictor 109 acquires a signal indicating that a residual signal has been selected, the predictor 109 has a function of acquiring a block including a prediction signal associated with prediction auxiliary information from the prediction picture storage memory 110.

また更に、予測器109は、予測ピクチャ格納メモリ110から取得した、予測補助情報に対応する予測信号を含むブロックを、加算器120に供給する機能を有する。ここで、予測補助情報に対応する予測信号を含むブロックを予測ピクチャ格納メモリ110から取得できなかった場合には、取得した予測補助情報に基づいて再度予測方法を特定し、予測信号を生成した後に、生成した予測信号を含むブロックを、加算器120に供給する機能を有するようにすると更に良い構成となる。   Furthermore, the predictor 109 has a function of supplying to the adder 120 a block including a prediction signal corresponding to the prediction auxiliary information acquired from the predicted picture storage memory 110. Here, when the block including the prediction signal corresponding to the prediction auxiliary information cannot be acquired from the predicted picture storage memory 110, the prediction method is identified again based on the acquired prediction auxiliary information, and the prediction signal is generated. If the block including the generated prediction signal is supplied to the adder 120, the configuration is further improved.

予測ピクチャ格納メモリ110は、処理位置制御器106から符号化対象となっているブロックの位置を特定するために必要となる処理位置制御信号を取得する機能を有する。また、予測ピクチャ格納メモリ110は、予測器109から予測信号を含むブロックを取得し、符号化対象となっているブロックの位置の予測結果として格納する機能を有する。ここで、予測ピクチャ格納メモリ110は、同一のブロックの位置に対して、複数の予測信号を含むブロックを関連付けて格納することができる機能を有するようにすることが望ましい。これは、予測器109によって面内の同一の位置において、異なる予測方法に基づいて生成された予測信号が供給される場合があるためである。   The predicted picture storage memory 110 has a function of acquiring a processing position control signal necessary for specifying the position of a block to be encoded from the processing position controller 106. The predicted picture storage memory 110 has a function of acquiring a block including a prediction signal from the predictor 109 and storing it as a prediction result of the position of the block to be encoded. Here, it is desirable that the predicted picture storage memory 110 has a function capable of associating and storing blocks including a plurality of predicted signals at the same block position. This is because prediction signals generated based on different prediction methods may be supplied by the predictor 109 at the same position in the plane.

また、予測ピクチャ格納メモリ110は、外部の各手段および予測ピクチャ格納メモリ110内の状態から得られる、面内の各ブロックに属する情報を管理する機能を有する。ここで、ブロックに属する情報は、少なくともブロック内の画像信号、ここでは予測信号に相当する。また、各ブロックにおいて、符号化が完了しているかを示す情報が含まれると良い構成となる。   The predicted picture storage memory 110 has a function of managing information belonging to each block in the plane, which is obtained from each external unit and the state in the predicted picture storage memory 110. Here, the information belonging to the block corresponds to at least an image signal in the block, here a prediction signal. In addition, it is preferable that each block includes information indicating whether encoding is completed.

更に、予測ピクチャ格納メモリ110は、予測器109、減算器111に対し、要求された面内の位置のブロックに属する情報を供給する機能を有する。通常、予測器109に対しては、符号化対象となっているブロックに属する情報が供給されるが、予測器109から予測補助情報を伴ってブロックの要求があった場合には、予測補助情報に関連付けられたブロックに属する情報が供給されるようにすると良い。   Furthermore, the predicted picture storage memory 110 has a function of supplying information belonging to a block at a requested position in the plane to the predictor 109 and the subtractor 111. Normally, information belonging to the block to be encoded is supplied to the predictor 109. However, when the predictor 109 requests a block with prediction auxiliary information, the prediction auxiliary information is supplied. It is preferable that information belonging to the block associated with is supplied.

減算器111は、ピクチャ格納メモリ102から、符号化対象となっているブロックに属する原信号を取得する機能と、予測ピクチャ格納メモリ110から、符号化対象となっているブロックに属する予測信号を取得する機能とを有する。また、減算器111は、取得した原信号から取得した予測信号を減算することで残差信号を生成し、生成した残差信号を含むブロックを差分ピクチャ格納メモリ112に供給する機能を有する。   The subtractor 111 acquires the original signal belonging to the block to be encoded from the picture storage memory 102 and the prediction signal belonging to the block to be encoded from the prediction picture storage memory 110. It has the function to do. The subtractor 111 has a function of generating a residual signal by subtracting the acquired prediction signal from the acquired original signal and supplying a block including the generated residual signal to the differential picture storage memory 112.

差分ピクチャ格納メモリ112は、処理位置制御器106から処理位置制御信号を取得し、符号化対象となっているブロックの位置を特定する機能を有する。また、差分ピクチャ格納メモリ112は、減算器111から残差信号を含むブロックを取得し、符号化対象となっているブロックの位置の減算結果として格納する機能を有する。   The difference picture storage memory 112 has a function of acquiring a processing position control signal from the processing position controller 106 and specifying the position of a block to be encoded. The differential picture storage memory 112 has a function of acquiring a block including a residual signal from the subtractor 111 and storing it as a subtraction result of the position of the block to be encoded.

ここで、差分ピクチャ格納メモリ112は、同一のブロックの位置に対して、複数の残差信号を含むブロックを関連付けて格納することができる機能を有するようにすることが望ましい。これは、予測器109において、面内の同一の位置に対するイントラ予測を行う際に、異なる予測方法に基づいて生成された予測信号によるものであり、この複数の異なる予測信号を含むブロックが減算器111に供給されることによって異なる残差信号が生成され、差分ピクチャ格納メモリ112に供給される場合があるためである。   Here, it is desirable that the difference picture storage memory 112 has a function capable of associating and storing blocks including a plurality of residual signals at the same block position. This is due to the prediction signals generated based on different prediction methods when the predictor 109 performs intra prediction on the same position in the plane, and the block including the plurality of different prediction signals is subtracted. This is because different residual signals may be generated by being supplied to 111 and supplied to the difference picture storage memory 112.

また、差分ピクチャ格納メモリ112は、外部の各手段および差分ピクチャ格納メモリ112内の状態から得られる、面内の各ブロックに属する情報を管理する機能を有する。ここで、ブロックに属する情報は、少なくともブロック内の画像信号、ここでは残差信号に相当する。また、各ブロックにおいて、符号化が完了しているかを示す情報が含まれると良い構成となる。また、同一のブロックの位置に対して関連付けられた複数のブロックを判別するための情報として予測補助情報が各ブロックに属する情報として含まれると良い構成となる。差分ピクチャ格納メモリ112は、残差制御器113に対し、要求された面内の位置のブロックに属する情報を供給する機能を有する。   The differential picture storage memory 112 has a function of managing information belonging to each block in the plane, which is obtained from each external unit and the state in the differential picture storage memory 112. Here, the information belonging to the block corresponds to at least an image signal in the block, here, a residual signal. In addition, it is preferable that each block includes information indicating whether encoding is completed. In addition, it is preferable that prediction auxiliary information is included as information belonging to each block as information for discriminating a plurality of blocks associated with the position of the same block. The difference picture storage memory 112 has a function of supplying information belonging to a block at a position in the requested plane to the residual controller 113.

残差制御器113は、再予測制御器104から再予測制御信号を取得する機能を有する。また、残差制御器113は、処理位置制御器106から処理位置制御信号を取得し、符号化対象となっているブロックの位置を特定する機能を有する。また、残差制御器113は、差分ピクチャ格納メモリ112から、符号化対象となっているブロックの位置に関連付けられた複数のブロックに属する情報を取得する機能を有する。また、残差制御器113は、取得した符号化対象となっているブロックの位置に関連付けられた複数のブロックに属する情報を解析し、予測器109のイントラ予測においてまだ行われていない予測方法を特定し、特定された予測方法を特定するための予測補助情報108を生成して予測器109に供給する機能を有する。ここで、全てのイントラ予測の予測方法から生成された残差信号の中から最も情報量が少ない予測方法を特定した予測制御情報108である最終的な予測補助情報114は、符号化出力の際に別途所定のエントロピー符号化が行われ、出力符号122とともに符号化ビットストリームとして出力されるようにすると更に良い構成となる。 The residual controller 113 has a function of acquiring a re-predictive control signal from the re-predictive controller 104. The residual controller 113 has a function of acquiring a processing position control signal from the processing position controller 106 and specifying the position of the block to be encoded. Further, the residual controller 113 has a function of acquiring information belonging to a plurality of blocks associated with the position of the block to be encoded from the differential picture storage memory 112. Further, the residual controller 113 analyzes information belonging to a plurality of blocks associated with the obtained position of the encoding target block, and uses a prediction method that has not yet been performed in the intra prediction of the predictor 109. It has the function of specifying and generating prediction auxiliary information 108 for specifying the specified prediction method and supplying it to the predictor 109. Here, the final prediction auxiliary information 114 , which is the prediction control information 108 that specifies the prediction method with the least amount of information among the residual signals generated from all the intra prediction prediction methods, is output at the time of encoding output. If the predetermined entropy encoding is separately performed and output as an encoded bit stream together with the output code 122, the configuration is further improved.

また、残差制御器113は、取得した符号化対象となっているブロックの位置に関連付けられた複数のブロックに属する情報を解析し、解析の結果新たな予測方法によって予測信号を生成する必要がないと判断した場合には、取得した複数の残差信号を比較し、複数の残差信号の中で最も情報量が少ないものを選択する機能を有する。残差制御器113は、選択された残差信号を含むブロックを直交変換器115に供給する機能を有する。また、残差制御器113は、残差信号を選択後、予測器109に対して、残差信号が選択されたことを示す信号と、選択された残差信号を含むブロックに属する情報に含まれる予測補助情報108を供給する機能を有する。 Further, the residual controller 113 needs to analyze information belonging to a plurality of blocks associated with the obtained position of the encoding target block, and generate a prediction signal by a new prediction method as a result of the analysis. If it is determined that there is no such information, it has a function of comparing the plurality of residual signals acquired and selecting the one with the smallest amount of information among the plurality of residual signals. The residual controller 113 has a function of supplying a block including the selected residual signal to the orthogonal transformer 115. In addition, after selecting the residual signal, the residual controller 113 includes a signal indicating that the residual signal is selected to the predictor 109 and information included in the block including the selected residual signal. The function of supplying the predicted auxiliary information 108 is provided.

直交変換器115は、残差制御器113から選択された残差信号を含むブロックを取得し、取得したその残差信号に対して所定の直交変換を行い、直交変換係数情報を生成する機能を有する。また、直交変換器115は、生成した直交変換係数情報を量子化器116に供給する機能を有する。   The orthogonal transformer 115 has a function of acquiring a block including the residual signal selected from the residual controller 113, performing a predetermined orthogonal transformation on the acquired residual signal, and generating orthogonal transformation coefficient information. Have. The orthogonal transformer 115 has a function of supplying the generated orthogonal transform coefficient information to the quantizer 116.

量子化器116は、直交変換器115から直交変換係数情報を取得し、取得したその直交変換係数情報に対して所定の量子化パラメータに基づいて量子化を行い、量子化後情報を生成する機能を有する。また、量子化器116は、生成した量子化後情報を、スイッチ117を介してエントロピー符号化器121、逆量子化器118に供給する。   The quantizer 116 acquires orthogonal transform coefficient information from the orthogonal transformer 115, performs quantization on the acquired orthogonal transform coefficient information based on a predetermined quantization parameter, and generates post-quantization information. Have Further, the quantizer 116 supplies the generated post-quantization information to the entropy encoder 121 and the inverse quantizer 118 via the switch 117.

スイッチ117は、再予測制御器104からスイッチを切り替えるための制御信号を取得し、制御信号に従ってスイッチの接続および切断を行う機能を有する。スイッチ117の端子には、量子化器116から量子化後情報が供給され、スイッチが接続されている場合には、エントロピー符号化器121に対して、量子化後情報が供給される。   The switch 117 has a function of acquiring a control signal for switching the switch from the re-predictive controller 104, and connecting and disconnecting the switch according to the control signal. The post-quantization information is supplied from the quantizer 116 to the terminal of the switch 117, and the post-quantization information is supplied to the entropy encoder 121 when the switch is connected.

逆量子化器118は、量子化器116から量子化後情報を取得し、取得したその量子化後情報に対して、所定の量子化パラメータに基づいて逆量子化を行い、復号直交変換係数情報を生成する機能を有する。また、逆量子化器118は、生成した復号直交変換係数情報を、逆直交変換器119に供給する機能を有する。   The inverse quantizer 118 acquires post-quantization information from the quantizer 116, performs inverse quantization on the acquired post-quantization information based on a predetermined quantization parameter, and decodes orthogonal transform coefficient information. It has the function to generate. Further, the inverse quantizer 118 has a function of supplying the generated decoded orthogonal transform coefficient information to the inverse orthogonal transformer 119.

逆直交変換器119は、逆量子化器118から復号直交変換係数情報を取得し、取得したその復号直交変換係数情報に対して所定の逆直交変換を行うことで、復号残差信号を生成する機能を有する。また、逆直交変換器119は、生成した復号残差信号を含むブロックを加算器120に供給する機能を有する。   The inverse orthogonal transformer 119 acquires the decoded orthogonal transform coefficient information from the inverse quantizer 118 and performs a predetermined inverse orthogonal transform on the acquired decoded orthogonal transform coefficient information to generate a decoded residual signal. It has a function. Further, the inverse orthogonal transformer 119 has a function of supplying a block including the generated decoded residual signal to the adder 120.

加算器120は、予測器109から予測信号を含むブロックと、逆直交変換器119から復号残差信号を含むブロックを取得し、取得した予測信号と復号残差信号とを加算することで復号信号を生成する機能を有する。また、加算器120は、生成した復号信号を含むブロックを復号ピクチャ格納メモリ107に供給する機能を有する。   The adder 120 acquires a block including a prediction signal from the predictor 109 and a block including a decoded residual signal from the inverse orthogonal transformer 119, and adds the acquired prediction signal and the decoded residual signal to add a decoded signal. It has the function to generate. The adder 120 has a function of supplying a block including the generated decoded signal to the decoded picture storage memory 107.

エントロピー符号化器121は、量子化器116から供給される量子化後情報を、スイッチ117を介して取得し、取得したその量子化後情報に対して、所定のエントロピー符号化を行い、符号化ビットストリームを生成する。また、エントロピー符号化器121は、生成した符号化ビットストリームを出力信号として出力する機能を有する。   The entropy encoder 121 acquires post-quantization information supplied from the quantizer 116 via the switch 117, performs predetermined entropy encoding on the acquired post-quantization information, and performs encoding. Generate a bitstream. The entropy encoder 121 has a function of outputting the generated encoded bit stream as an output signal.

次に、図7、図8、図10を用いて、予測器109における、イントラ予測の処理順序、及び選択されるイントラ予測方法の詳細について説明する。   Next, details of the intra prediction processing order and the selected intra prediction method in the predictor 109 will be described with reference to FIGS. 7, 8, and 10.

図7は、本発明のイントラ予測を行うブロックの順序及び再予測処理の様子を示した概念図である。本発明では、所定のブロック数を符号化の単位として処理を進める。ここでは、説明を簡単にするため、図7に示すように、ブロック0、ブロック1A、ブロック1B、ブロック2の4つのブロックを符号化の単位として扱うものとするが、この処理単位は特に限定されるものではなく、横4ブロック、縦4ブロックなどといった、MxNブロック(M,Nは整数)であっても構わない。また、ここではブロック0を符号化対象となっているブロックとし、それ以外のブロック1A,1B,2は、周囲のブロックであるものとする。図7中の(0/0)、(0/1A)などは、本発明のイントラ予測において、(再予測回数/現在予測を行っているブロック)を示している。   FIG. 7 is a conceptual diagram showing the order of blocks for performing intra prediction and the state of re-prediction processing according to the present invention. In the present invention, the process proceeds using a predetermined number of blocks as a unit of encoding. Here, for simplicity of explanation, as shown in FIG. 7, four blocks of block 0, block 1A, block 1B, and block 2 are handled as encoding units, but this processing unit is particularly limited. However, it may be an M × N block (M and N are integers) such as 4 horizontal blocks and 4 vertical blocks. Here, it is assumed that block 0 is a block to be encoded, and other blocks 1A, 1B, and 2 are surrounding blocks. In FIG. 7, (0/0), (0 / 1A), and the like indicate (the number of re-prediction / the block on which the current prediction is performed) in the intra prediction of the present invention.

まず、図7の(0/0)に示すように、符号化を行おうとしている4つのブロックのうち、左上のブロックであるブロック0を符号化対象となっているブロックとし、それ以外の3つのブロックは周囲のブロックであるとする。この符号化対象となっているブロック0に対して、イントラ予測を行おうとした場合に利用できる復号信号は、周囲のブロックであるブロック1A,1B,2はまだ符号化されていないため利用することができない。   First, as shown in (0/0) of FIG. 7, among the four blocks to be encoded, block 0 which is the upper left block is set as a block to be encoded, and the other three blocks Let one block be a surrounding block. The decoded signal that can be used when intra prediction is performed on the block 0 to be encoded is to be used because the blocks 1A, 1B, and 2 that are surrounding blocks are not yet encoded. I can't.

よって、図7の(0/0)中の符号化済み領域に記された丸印の復号信号を用いて予測信号を生成する。この場合、例えば、従来の符号化であるAVCのイントラ予測で利用する予測方向、及び予測方法を利用することで、ブロック0の予測信号を生成する。ここで、AVCのイントラ予測では、モード0からモード8までの9つの予測モード(予測方法)が存在する。予測の方向は、図10(C)で示されるような8方向が利用できる。また、それぞれの予測方法は、図10(D)から図10(L)で示されるように、ブロックに隣接する復号信号を用いてブロック内の予測信号を生成するとよい。このようにしてブロック0の予測信号を求め、ブロック0に対して符号化及び復号を行うことで、ブロック0の復号信号が周囲のブロックで利用できるようにする。   Therefore, a prediction signal is generated using a circle-shaped decoded signal written in the encoded area in (0/0) of FIG. In this case, for example, a prediction signal of block 0 is generated by using a prediction direction and a prediction method used in AVC intra prediction, which is conventional encoding. Here, in intra prediction of AVC, nine prediction modes (prediction methods) from mode 0 to mode 8 exist. As the prediction direction, eight directions as shown in FIG. 10C can be used. In addition, as shown in FIG. 10D to FIG. 10L, each prediction method may generate a prediction signal in a block using a decoded signal adjacent to the block. In this way, the prediction signal of block 0 is obtained, and coding and decoding are performed on block 0, so that the decoded signal of block 0 can be used in surrounding blocks.

ここで、予測信号を求める際に、通常は、すべての予測モード、つまり予測方法を試行することで全ての予測モードにおける予測信号を生成し、後段で得られる残差信号をそれぞれ生成する。この全ての予測モードから生成された残差信号の中から、最も情報量が少ないものを選択することで、最終的な予測方法が選択されることが望ましい。   Here, when obtaining a prediction signal, normally, prediction signals in all prediction modes are generated by trying all prediction modes, that is, prediction methods, and residual signals obtained in subsequent stages are generated. It is desirable that the final prediction method is selected by selecting the residual signal generated from all the prediction modes with the least amount of information.

次に、図7の(0/1A)のように、ブロック1Aに対して同様にイントラ予測を行う。イントラ予測を進める順序は、ここでは説明を簡単にするために、「ブロック0、ブロック1A、ブロック1B、ブロック2」の順で説明を進めるが、ブロック1Aとブロック1Bが逆の順序であっても構わない。ブロック1Aに対しても同様に通常の図10が示すようなイントラ予測方法によって予測信号を求め、ブロック1Aに対して符号化及び復号を行うことで、ブロック1Aの復号信号が周囲のブロックで利用できるようにする。同様に、図7の(0/1B)、(0/2)において、ブロック1B、ブロック2に対しても同様なイントラ予測を行い、復号信号を利用できるようにする。   Next, as in (0 / 1A) of FIG. 7, intra prediction is similarly performed on the block 1A. In order to simplify the description, the order of proceeding intra prediction here proceeds in the order of “block 0, block 1A, block 1B, block 2”, but block 1A and block 1B are in reverse order. It doesn't matter. Similarly for block 1A, a prediction signal is obtained by the normal intra prediction method as shown in FIG. 10, and the block 1A is encoded and decoded so that the decoded signal of block 1A is used in the surrounding blocks. It can be so. Similarly, in (0 / 1B) and (0/2) in FIG. 7, the same intra prediction is performed for the block 1B and the block 2 so that the decoded signal can be used.

ここまでの処理で、符号化対象となっているブロックであるブロック0、及びその周囲のブロックであるブロック1A,1B,2の復号信号が利用できるようになったため、次に、図7の(1/0)に示すように、ブロック0に対して、周囲のブロックから新たに利用できる復号信号を用いて、再びイントラ予測を行う。ここで、利用するイントラ予測の方法を、例えば、従来の符号化であるAVCのイントラ予測で利用する予測方向、及び予測方法を利用することで、ブロック0の予測信号を更新するようにする。   In the processing up to this point, the decoded signals of the block 0 that is the block to be encoded and the blocks 1A, 1B, and 2 that are the surrounding blocks can be used. As shown in 1/0), intra prediction is performed again on block 0 using a decoded signal that can be newly used from surrounding blocks. Here, the prediction signal of block 0 is updated by using the prediction method and the prediction method used in the intra prediction of AVC which is the conventional encoding, for example, as the method of intra prediction to be used.

また、図8に示すように、新たな予測モードを追加するようにしてもよい。下、右、右下のブロックの復号信号が予測に利用できるようになったことから、図8では、AVCのイントラ予測に存在する、モード0からモード8までの9つの予測モードを参考に、上下左右対称の予測方向に基づいたモードを図8(D)〜(L)に示すようなモード9からモード17として用意して利用するようにしても構わない。この再予測により、ブロック0の予測信号を更新し、符号化及び復号することで復号信号を更新する。なお、再予測処理の場合の予測方向を図8(C)に示す。   Further, as shown in FIG. 8, a new prediction mode may be added. Since the decoded signals of the lower, right, and lower right blocks can be used for prediction, FIG. 8 refers to nine prediction modes from mode 0 to mode 8 existing in AVC intra prediction. Modes based on vertically and horizontally symmetrical prediction directions may be prepared and used as modes 9 to 17 as shown in FIGS. By this re-prediction, the prediction signal of block 0 is updated, and the decoded signal is updated by encoding and decoding. In addition, the prediction direction in the case of a re-prediction process is shown in FIG.8 (C).

更新されたブロック0の復号信号を用いて、図7の(1/1A)に示すように、ブロック1Aに対して再びイントラ予測を行う。このように、更新された復号信号を利用することで、予測モードの決定や、生成される予測信号の精度を高めることができるようになる。同様に、図7の(1/1B)、(1/2)において、ブロック1B、ブロック2に対しても同様に再度イントラ予測を行い、復号信号を更新する。   Using the updated decoded signal of block 0, intra prediction is performed again on block 1A as shown in (1 / 1A) of FIG. As described above, by using the updated decoded signal, it is possible to determine the prediction mode and improve the accuracy of the generated prediction signal. Similarly, in (1 / 1B) and (1/2) in FIG. 7, intra prediction is again performed on the block 1B and the block 2, and the decoded signal is updated.

また、図7の(N/0)から(N/2)に示すように、イントラ予測をN回繰り返して再予測により予測信号を符号化対象のブロックとその周囲のブロックとで更新を繰り返すことで、従来のイントラ予測よりも精度の高い予測信号を生成することができるようになる。   Also, as shown in (N / 0) to (N / 2) in FIG. 7, intra prediction is repeated N times and re-prediction is repeated to update the prediction signal in the block to be encoded and its surrounding blocks. Thus, it is possible to generate a prediction signal with higher accuracy than the conventional intra prediction.

次に、図1のブロック図に示す本発明になる画像符号化装置の一実施の形態の動作を図2のフローチャートに従って説明する。   Next, the operation of the embodiment of the image coding apparatus according to the present invention shown in the block diagram of FIG. 1 will be described with reference to the flowchart of FIG.

まず、入力信号として入力された符号化対象となる画像信号(本明細書において、画像信号には、動画像信号、静止画像信号、連続する静止画像信号などが含まれる)の一画面領域である符号化対象ピクチャが、ピクチャ格納メモリ102に格納される。また、再予測制御器104は、再予測処理が完了するまで符号化出力を制限するために、スイッチ117を切断する(ステップS101)。   First, it is a screen area of an image signal to be encoded input as an input signal (in this specification, an image signal includes a moving image signal, a still image signal, a continuous still image signal, and the like). The picture to be encoded is stored in the picture storage memory 102. Further, the re-prediction controller 104 disconnects the switch 117 in order to limit the encoded output until the re-prediction processing is completed (step S101).

続いて、処理位置制御器106は、符号化対象となるブロックの位置を特定し(ステップS102)、ピクチャ格納メモリ102、再予測制御器104、復号ピクチャ格納メモリ107、予測器109、予測ピクチャ格納メモリ110、差分ピクチャ格納メモリ112、残差制御器113に処理位置制御信号をそれぞれ供給することで、各手段の符号化対象となるブロックの位置を確定する。   Subsequently, the processing position controller 106 identifies the position of the block to be encoded (step S102), and the picture storage memory 102, the re-prediction controller 104, the decoded picture storage memory 107, the predictor 109, and the predicted picture storage. By supplying the processing position control signal to the memory 110, the difference picture storage memory 112, and the residual controller 113, the position of the block to be encoded by each means is determined.

続いて、残差制御器113は、差分ピクチャ格納メモリ112から、符号化対象となっているブロックの位置に関連付けられた複数のブロックに属する情報を取得し、更にその取得した符号化対象となっているブロックの位置に関連付けられた複数のブロックに属する情報を解析し、予測器109のイントラ予測においてまだ行われていない予測方法を特定する。そして、残差制御器113は、特定された予測方法を特定するための、予測補助情報108を予測器109に供給する。これにより、予測器109は、残差制御器113から予測補助情報108を取得する(ステップS103)。   Subsequently, the residual controller 113 acquires information belonging to a plurality of blocks associated with the position of the block to be encoded from the differential picture storage memory 112 and further becomes the acquired encoding target. The information belonging to a plurality of blocks associated with the position of the current block is analyzed, and a prediction method that has not yet been performed in the intra prediction of the predictor 109 is specified. Then, the residual controller 113 supplies the predictive auxiliary information 108 for specifying the specified prediction method to the predictor 109. Thereby, the predictor 109 acquires the prediction auxiliary information 108 from the residual controller 113 (step S103).

その後、取得した予測補助情報に基づいてイントラ予測を行う際の予測方法を特定する。すなわち、予測器109は、再予測制御器104から再予測制御信号を取得し、現在符号化対象となっているブロックに対して再予測を行うかどうか特定する。ここでは、再予測の必要があると判断されたものとして話を進める。また、必要であれば、予測器109は、処理位置制御器106から、処理位置制御信号として符号化対象となっているブロックの周囲のブロックの符号化の状態を取得する。 Then, the prediction method at the time of performing intra prediction based on the acquired prediction auxiliary information is specified. That is, the predictor 109 obtains the re-predictive control signals from the re-predictive controller 104, to identify whether to re-prediction on the block that is currently encoded object. Here, the discussion proceeds assuming that it is determined that re-prediction is necessary. If necessary, the predictor 109 acquires from the processing position controller 106, the state of the coded blocks surrounding the block as a processing position control signal which is an encoding target.

予測器109は、イントラ予測を行う際に必要となる復号信号を取得するため、復号ピクチャ格納メモリ107から符号化対象となっているブロックの周囲のブロックで、かつ利用可能な復号信号が存在するブロックに属する情報を取得することで、予測に利用できる画素を取得する(ステップS104)。また、必要であれば、予測器109は、予測ピクチャ格納メモリ110から符号化対象となっているブロックの周囲のブロックで、利用可能な予測信号が存在するブロックに属する情報を取得する。予測器109は、取得した符号化対象となっているブロックの周囲のブロックで利用可能な復号信号に基づいて、特定された予測方法で符号化対象となっているブロックの予測信号を生成することで予測処理を行う(ステップS105)。その後、予測器109は、生成した予測信号を含む、符号化対象となっているブロックに属する情報を、予測ピクチャ格納メモリ110に供給する。   The predictor 109 obtains a decoded signal necessary for performing intra prediction, and therefore there is a decoded signal that can be used from the decoded picture storage memory 107 in blocks around the block to be encoded. By acquiring information belonging to the block, pixels that can be used for prediction are acquired (step S104). Further, if necessary, the predictor 109 acquires information belonging to a block in which a usable prediction signal exists among the blocks around the block to be encoded from the predicted picture storage memory 110. The predictor 109 generates a prediction signal of the block to be encoded by the specified prediction method based on the decoded signal that can be used in the blocks around the acquired block to be encoded. Then, a prediction process is performed (step S105). Thereafter, the predictor 109 supplies information that belongs to the block to be encoded, including the generated prediction signal, to the predicted picture storage memory 110.

予測ピクチャ格納メモリ110は、予測器109から予測信号を含むブロックを取得し、符号化対象となっているブロックの位置の予測結果として格納する。続いて、減算器111は、ピクチャ格納メモリ102から、符号化対象となっているブロックに属する原信号を取得する。また、予測ピクチャ格納メモリ110から、符号化対象となっているブロックに属する予測信号を取得する。減算器111は、これら取得した原信号から取得した予測信号を減算し、残差信号を生成することで差分処理を行う(ステップS106)。減算器111は、生成した残差信号を含むブロックを差分ピクチャ格納メモリ112に供給する。差分ピクチャ格納メモリ112は、減算器111から残差信号を含むブロックを取得し、符号化対象となっているブロックの位置の減算結果として格納する。   The prediction picture storage memory 110 acquires a block including a prediction signal from the predictor 109 and stores it as a prediction result of the position of the block to be encoded. Subsequently, the subtractor 111 acquires the original signal belonging to the block to be encoded from the picture storage memory 102. Also, a prediction signal belonging to the block to be encoded is acquired from the prediction picture storage memory 110. The subtractor 111 performs difference processing by subtracting the acquired prediction signal from the acquired original signal and generating a residual signal (step S106). The subtractor 111 supplies a block including the generated residual signal to the difference picture storage memory 112. The difference picture storage memory 112 acquires a block including a residual signal from the subtractor 111 and stores it as a subtraction result of the position of the block to be encoded.

その後、残差制御器113は、差分ピクチャ格納メモリ112から、符号化対象となっているブロックの位置に関連付けられた複数のブロックに属する情報を取得する。残差制御器113は、取得した符号化対象となっているブロックの位置に関連付けられた複数のブロックに属する情報を解析し、予測器109のイントラ予測において全ての予測方法、ここでは全ての予測モードを試行したか(ステップS107)を判定する。   Thereafter, the residual controller 113 acquires information belonging to a plurality of blocks associated with the position of the block to be encoded from the differential picture storage memory 112. The residual controller 113 analyzes information belonging to a plurality of blocks associated with the acquired position of the block to be encoded, and performs all prediction methods in the intra prediction of the predictor 109, here all predictions. It is determined whether the mode has been tried (step S107).

残差制御器113において、全ての予測モードを試行していないと判断された場合(ステップS107でNO)、予測器109のイントラ予測においてまだ行われていない予測方法を特定し、特定された予測方法を特定するための予測補助情報108を予測器109に供給することで、予測補助情報108を更新する(ステップS108)。その後、ステップS103に戻り、異なる予測方法による予測処理を行う。   If the residual controller 113 determines that not all prediction modes have been tried (NO in step S107), a prediction method that has not yet been performed in the intra prediction of the predictor 109 is specified, and the specified prediction is performed. By supplying the predictive auxiliary information 108 for specifying the method to the predictor 109, the predictive auxiliary information 108 is updated (step S108). Then, it returns to step S103 and performs the prediction process by a different prediction method.

残差制御器113において、全ての予測モードを試行した場合(ステップS107でYES)、取得した複数の残差信号を比較し、複数の残差信号の中で最も情報量が少ないものを選択する(ステップS109)。その後、残差制御器113は、選択された残差信号を含むブロックを直交変換器115に供給する。また、残差制御器113は、残差信号を選択後、残差信号が選択されたことを示す信号と、選択された残差信号の予測モードを示す最終的な予測補助情報114を出力する。 When all the prediction modes are tried in the residual controller 113 (YES in step S107), the plurality of obtained residual signals are compared, and the one having the smallest information amount is selected from the plurality of residual signals. (Step S109). Thereafter, the residual controller 113 supplies a block including the selected residual signal to the orthogonal transformer 115. Also, after selecting the residual signal, the residual controller 113 outputs a signal indicating that the residual signal has been selected and final prediction auxiliary information 114 indicating the prediction mode of the selected residual signal. .

その後、再予測制御器104は、再予測処理が必要であるか判定する(ステップS110)。ここで、必要であれば、再予測制御情報103に基づいて再予測処理が必要であるかを判定する。再予測制御器104において、再予測処理が必要でないと判定された場合(ステップS110でNO)、再予測制御器104は、符号化出力を行うことができるように、スイッチ117を接続する(ステップS111)。   Thereafter, the re-prediction controller 104 determines whether re-prediction processing is necessary (step S110). Here, if necessary, it is determined based on the re-prediction control information 103 whether re-prediction processing is necessary. When the re-prediction controller 104 determines that the re-prediction process is not necessary (NO in step S110), the re-prediction controller 104 connects the switch 117 so that the encoded output can be performed (step S110). S111).

その後、直交変換器115は、残差制御器113から選択された残差信号を含むブロックを取得し、取得した残差信号に対して所定の直交変換を行い(ステップS112)、直交変換係数情報を生成し、量子化器116に供給する。量子化器116は、直交変換器115から直交変換係数情報を取得し、取得した直交変換係数情報に対して所定の量子化パラメータに基づいて量子化を行い(ステップS113)、生成した量子化後情報を、スイッチ117を介してエントロピー符号化器121に供給する。   Thereafter, the orthogonal transformer 115 obtains a block including the residual signal selected from the residual controller 113, performs predetermined orthogonal transformation on the obtained residual signal (step S112), and obtains orthogonal transformation coefficient information. Is supplied to the quantizer 116. The quantizer 116 acquires the orthogonal transform coefficient information from the orthogonal transformer 115, performs quantization on the acquired orthogonal transform coefficient information based on a predetermined quantization parameter (step S113), and generates the generated post-quantization Information is supplied to the entropy encoder 121 via the switch 117.

エントロピー符号化器121は、量子化器116から供給される量子化後情報を、スイッチ117を介して取得し、取得した量子化後情報に対して、所定のエントロピー符号化を行い(ステップS114)、生成した符号化ビットストリームを出力信号122として出力する。その後、ステップS117の逆量子化処理に進む。   The entropy encoder 121 acquires post-quantization information supplied from the quantizer 116 via the switch 117, and performs predetermined entropy encoding on the acquired post-quantization information (step S114). The generated encoded bit stream is output as an output signal 122. Thereafter, the process proceeds to the inverse quantization process in step S117.

再予測制御器104において、再予測処理が必要であると判定された場合(ステップS110でYES)、直交変換器115は、残差制御器113から選択された残差信号を含むブロックを取得し、取得した残差信号に対して所定の直交変換を行い(ステップS115)、直交変換係数情報を生成し、量子化器116に供給する。量子化器116は、直交変換器115から直交変換係数情報を取得し、取得した直交変換係数情報に対して所定の量子化パラメータに基づいて量子化を行い(ステップS116)、生成した量子化後情報を逆量子化器118に供給する。   When the re-prediction controller 104 determines that re-prediction processing is necessary (YES in step S110), the orthogonal transformer 115 acquires a block including the residual signal selected from the residual controller 113. Then, predetermined orthogonal transformation is performed on the obtained residual signal (step S115), and orthogonal transformation coefficient information is generated and supplied to the quantizer 116. The quantizer 116 acquires the orthogonal transform coefficient information from the orthogonal transformer 115, performs quantization on the acquired orthogonal transform coefficient information based on a predetermined quantization parameter (step S116), and generates the generated post-quantization Information is supplied to inverse quantizer 118.

その後、逆量子化器118は、量子化器116から量子化後情報を取得し、取得した量子化後情報に対して、所定の量子化パラメータに基づいて逆量子化を行い(ステップS117)、生成した復号直交変換係数情報を、逆直交変換器119に供給する。逆直交変換器119は、逆量子化器118から復号直交変換係数情報を取得し、取得した復号直交変換係数情報に対して所定の逆直交変換を行うことで(ステップS118)、復号残差信号を生成し、その復号残差信号を含むブロックを加算器120に供給する。   Thereafter, the inverse quantizer 118 acquires post-quantization information from the quantizer 116, performs inverse quantization on the acquired post-quantization information based on a predetermined quantization parameter (step S117), The generated decoded orthogonal transform coefficient information is supplied to the inverse orthogonal transformer 119. The inverse orthogonal transformer 119 acquires the decoded orthogonal transform coefficient information from the inverse quantizer 118, and performs a predetermined inverse orthogonal transform on the acquired decoded orthogonal transform coefficient information (step S118), thereby decoding the residual signal. And a block including the decoded residual signal is supplied to the adder 120.

その後、加算器120は、予測器109から予測信号を含むブロックを取得すると共に、逆直交変換器119から復号残差信号を含むブロックを取得し、取得した予測信号と復号残差信号とを加算する(ステップS119)ことで復号信号を生成する。   Thereafter, the adder 120 acquires a block including the prediction signal from the predictor 109, acquires a block including the decoded residual signal from the inverse orthogonal transformer 119, and adds the acquired prediction signal and the decoded residual signal. In step S119, a decoded signal is generated.

その後、復号ピクチャ格納メモリ107は、加算器120から復号信号を含むブロックを取得し、符号化対象となっているブロックの位置の復号結果として格納することで、次のイントラ予測処理に備える。そして、処理位置制御器106は、面内の符号化処理が完了したかどうかを判定する(ステップS120)。   Thereafter, the decoded picture storage memory 107 acquires a block including the decoded signal from the adder 120 and stores it as a decoding result of the position of the block to be encoded, thereby preparing for the next intra prediction process. Then, the processing position controller 106 determines whether or not the in-plane encoding process has been completed (step S120).

処理位置制御器106において、面内処理がまだ完了していないと判断した場合(ステップS120でNO)、ステップS101に戻り、本実施の形態の画像符号化処理を継続する。一方、処理位置制御器106において、面内処理が既に完了したと判断した場合(ステップS120でYES)、本実施の形態の画像符号化処理を終了する。   If the processing position controller 106 determines that the in-plane processing has not yet been completed (NO in step S120), the process returns to step S101, and the image encoding process of the present embodiment is continued. On the other hand, when the processing position controller 106 determines that the in-plane processing has already been completed (YES in step S120), the image encoding processing of the present embodiment is terminated.

このようにしてエントロピー符号化器121から出力された出力信号122は、符号化ビットストリームとして蓄積媒体やネットワークによる伝送により配信され、端末装置によって再生されることになる。端末装置で再生する場合には、配信された符号化ビットストリームは端末装置の復号装置によって復号化された後に再生される。   The output signal 122 output from the entropy encoder 121 in this way is distributed as an encoded bit stream by transmission through a storage medium or a network, and is reproduced by a terminal device. In the case of reproduction by the terminal device, the distributed coded bit stream is reproduced after being decoded by the decoding device of the terminal device.

このように、本実施の形態の画像符号化装置によれば、まず、符号化対象領域の原信号から、利用可能な周囲の復号信号を用いて所定の面内予測によって得た予測信号を減算して残差信号を生成し、所定の符号化及び復号を行って復号残差信号を生成する。生成した復号残差信号と、既に得られている予測信号とを加算して復号信号を生成する。この符号化対象領域の復号信号と、利用可能な復号信号が存在する周囲の領域の復号信号とを新たに利用して、符号化対象の周囲の領域の予測信号を所定の面内予測によって生成する。続いて、符号化対象の周囲の領域の原信号から、生成した予測信号を減算して残差信号を生成し、所定の符号化及び復号を行って復号残差信号を生成する。更に、生成した復号残差信号と、生成した予測信号とを加算することで、符号化対象の周囲の領域の復号信号を得る。   As described above, according to the image coding apparatus of the present embodiment, first, the prediction signal obtained by the predetermined in-plane prediction is subtracted from the original signal of the encoding target region using the available surrounding decoded signals. Then, a residual signal is generated, and predetermined encoding and decoding are performed to generate a decoded residual signal. A decoded signal is generated by adding the generated decoded residual signal and the already obtained prediction signal. A prediction signal for the surrounding area to be encoded is generated by predetermined in-plane prediction by newly using the decoded signal for the encoding target area and the decoded signal for the surrounding area where there is a usable decoding signal. To do. Subsequently, a residual signal is generated by subtracting the generated prediction signal from the original signal in a region around the encoding target, and a decoding residual signal is generated by performing predetermined encoding and decoding. Furthermore, a decoded signal in a region around the encoding target is obtained by adding the generated decoded residual signal and the generated prediction signal.

本実施の形態では、このようにして得られた符号化対象の周囲の領域の復号信号を、符号化対象領域の面内予測に利用することで、従来制限されていた面内予測の予測方向を増やすことが可能となり、従来の面内予測によって得られる予測信号よりも予測精度の高い予測信号を生成することが可能となる。また、面内予測の予測方向を増やし、従来の予測信号よりも予測精度の高い予測信号を生成し、以前生成した予測信号を更新することで、その後の処理で得られる新たな残差信号の信号振幅が抑制されるため、得られる符号化ビットストリームの符号化効率を向上につながる。
符号化対象の周囲の領域の復号信号を、符号化対象領域の面内予測に利用することで、従来制限されていた面内予測の予測方向を増やすことが可能となり、従来の面内予測によって得られる予測信号よりも予測精度の高い予測信号を生成することができ、以前生成した予測信号を更新することで、その後の処理で得られる新たな残差信号の信号振幅が抑制されるため、本実施の形態によって得られる符号化ビットストリームの符号化効率を向上させることができる。
In the present embodiment, the prediction direction of in-plane prediction, which has been conventionally limited, is obtained by using the decoded signal of the surrounding area of the encoding target obtained in this way for the in-plane prediction of the encoding target area. Therefore, it is possible to generate a prediction signal with higher prediction accuracy than a prediction signal obtained by conventional in-plane prediction. In addition, by increasing the prediction direction of in-plane prediction, generating a prediction signal with higher prediction accuracy than the conventional prediction signal, and updating the previously generated prediction signal, a new residual signal obtained in the subsequent processing Since the signal amplitude is suppressed, the encoding efficiency of the encoded bit stream obtained is improved.
By using the decoded signal of the surrounding area of the encoding target for in-plane prediction of the encoding target area, it becomes possible to increase the prediction direction of the in-plane prediction that has been limited in the past, Since it is possible to generate a prediction signal with higher prediction accuracy than the obtained prediction signal, and updating the previously generated prediction signal, the signal amplitude of a new residual signal obtained in subsequent processing is suppressed, The encoding efficiency of the encoded bit stream obtained by this embodiment can be improved.

また、本実施の形態によれば、更新された符号化対象領域の予測信号を用いて復号信号を更新し、この更新した復号信号と、利用可能な復号信号が存在する周囲の領域の復号信号を用いて、符号化対象の周囲の領域の面内予測を行うことで、より予測精度の高い新たな予測信号を生成することが可能となる。   In addition, according to the present embodiment, the decoded signal is updated using the updated prediction signal of the encoding target region, and the decoded signal in the surrounding region where the updated decoded signal and the usable decoded signal exist are present. It is possible to generate a new prediction signal with higher prediction accuracy by performing in-plane prediction of the region around the encoding target using.

また、本実施の形態によれば、符号化対象領域の予測信号と、符号化対象の周囲の領域の予測信号を順次繰り返して更新することで、予測信号の精度を向上させることができる。これにより、符号化対象領域の予測信号及び符号化対象領域の周囲の領域の予測信号よりも、得られる予測信号の予測精度が向上するため、その後の処理で得られる新たな残差信号の信号振幅が抑制されるため、本実施の形態によって得られる符号化ビットストリームの符号化効率を更に向上させることができる。   Moreover, according to this Embodiment, the precision of a prediction signal can be improved by updating repeatedly the prediction signal of the encoding object area | region and the prediction signal of the area | region of the circumference | surroundings of encoding object sequentially. As a result, the prediction accuracy of the obtained prediction signal is improved as compared with the prediction signal of the encoding target region and the prediction signal of the surrounding region of the encoding target region. Therefore, a new residual signal signal obtained in the subsequent processing Since the amplitude is suppressed, it is possible to further improve the encoding efficiency of the encoded bit stream obtained by the present embodiment.

(画像符号化プログラム)
図3は、本発明になる画像符号化プログラムの一実施の形態により動作する情報処理装置の一例の構成図を示す。同図において、情報処理装置300は、各種の情報を入力するための入力装置301と、各種の情報を出力するための出力装置302と、本発明の一実施の形態の画像符号化プログラムにより動作する中央処理制御装置303と、外部記憶装置304と、中央処理制御装置303による演算処理の際の作業領域などに用いる一時記憶装置305と、外部と通信するための通信装置306とが、双方向のバス307により接続された構成とされている。
(Image coding program)
FIG. 3 is a block diagram showing an example of an information processing apparatus that operates according to an embodiment of an image encoding program according to the present invention. In the figure, an information processing apparatus 300 is operated by an input device 301 for inputting various types of information, an output unit 302 for outputting various types of information, and an image encoding program according to an embodiment of the present invention. A central processing control device 303, an external storage device 304, a temporary storage device 305 used for a work area in the arithmetic processing by the central processing control device 303, and a communication device 306 for communicating with the outside. The bus 307 is connected.

中央処理制御装置303は、一実施の形態の画像符号化プログラムが記録媒体から、あるいは通信ネットワークを介して配信されて通信装置306により取り込まれ、図1に示した、再予測制御器104に相当する再予測制御手段308、処理位置制御器106に相当する処理位置制御手段309、予測器109に相当する予測手段310、残差制御器113に相当する残差制御手段311、直交変換器115に相当する直交変換手段312、量子化器116に相当する量子化手段313、逆量子化器118に相当する逆量子化手段314、逆直交変換器119に相当する逆直交変換手段315、エントロピー符号化器121に相当するエントロピー符号化手段316、減算器111に相当する減算手段317、加算器120に相当する加算手段318の各機能を少なくとも有し、図1に示した画像符号化装置と同様の動作をソフトウェア処理により実行する。   The central processing control device 303 corresponds to the re-prediction controller 104 shown in FIG. 1, in which the image encoding program according to the embodiment is distributed from a recording medium or distributed via a communication network and is captured by the communication device 306. Re-predictive control means 308, processing position control means 309 corresponding to the processing position controller 106, prediction means 310 equivalent to the predictor 109, residual control means 311 equivalent to the residual controller 113, and orthogonal transformer 115 Corresponding orthogonal transformation means 312, quantization means 313 corresponding to the quantizer 116, inverse quantization means 314 equivalent to the inverse quantizer 118, inverse orthogonal transformation means 315 equivalent to the inverse orthogonal transformer 119, entropy coding Entropy encoding means 316 corresponding to the unit 121, subtraction means 317 corresponding to the subtractor 111, and addition corresponding to the adder 120 At least it has the functions of the step 318 is performed by software processing the same operation as the image encoding apparatus shown in FIG.

これにより、この実施の形態の画像符号化プログラムにおいても、図1に示した画像符号化装置と同様に、AVCなどのイントラ予測と同様にして符号化対象となっていたブロックの周囲のブロックから復号信号を利用できるようにし、その後再度最初に符号化対象となっていたブロックのイントラ予測をやり直すことで、最初に行ったイントラ予測によって生成した予測信号よりも、より精度の高い予測信号を生成する。これにより、符号化対象となっていたブロックを予測に利用する周囲のブロックに対しても、イントラ予測をやり直すことで、符号化対象となっていたブロックの周囲のブロックの予測信号も精度を向上できるため、結果として符号化効率を向上させることができる。更に、このようなイントラ予測の再予測を繰り返し行うことで、符号化対象となっていたブロックとその周囲のブロックの予測信号の精度を相互に向上させることができる。   Thereby, also in the image coding program of this embodiment, as with the image coding apparatus shown in FIG. 1, the blocks around the block to be coded in the same manner as the intra prediction such as AVC are used. By making the decoded signal available and then re-intra-predicting the block that was originally encoded again, a more accurate prediction signal is generated than the prediction signal generated by the first intra-prediction. To do. As a result, the prediction signal of the block surrounding the block to be encoded is also improved in accuracy by performing intra prediction again on the surrounding block that uses the block to be encoded for prediction. As a result, encoding efficiency can be improved as a result. Furthermore, by repeatedly performing such intra-prediction re-prediction, it is possible to mutually improve the accuracy of the prediction signals of the block to be encoded and its surrounding blocks.

(画像復号装置)
次に、本発明の画像符号化装置又は本発明の画像符号化プログラムによって動作するコンピュータによって生成された符号化ビットストリームを取得して復号を行う、本発明の画像復号装置の一実施の形態について、図4及び図5を用いて説明する。
(Image decoding device)
Next, an image decoding apparatus according to an embodiment of the present invention that acquires and decodes an encoded bitstream generated by the image encoding apparatus of the present invention or a computer that operates according to the image encoding program of the present invention. This will be described with reference to FIGS.

図4は、本発明になる画像復号装置の一実施の形態のブロック図を示す。図4に示すように、本実施の形態の復号装置400は、エントロピー復号器402、再予測制御器404、処理位置制御器406、スイッチ407、逆量子化器408、逆直交変換器409、差分ピクチャ格納メモリ410、加算器411、予測ピクチャ格納メモリ413、予測器414、復号ピクチャ格納メモリ415、を少なくとも備えるように構成される。   FIG. 4 shows a block diagram of an embodiment of an image decoding apparatus according to the present invention. As shown in FIG. 4, the decoding apparatus 400 of this embodiment includes an entropy decoder 402, a re-prediction controller 404, a processing position controller 406, a switch 407, an inverse quantizer 408, an inverse orthogonal transformer 409, a difference A picture storage memory 410, an adder 411, a predicted picture storage memory 413, a predictor 414, and a decoded picture storage memory 415 are provided.

エントロピー復号器402は、入力信号401として、本発明の一実施の形態の画像符号化装置又は本発明の一実施の形態の画像符号化プログラムによって動作するコンピュータによって生成された符号化ビットストリームを取得する機能を有する。また、エントロピー復号器402は、取得した符号化ビットストリームに対して所定のエントロピー復号を行い、復号量子化後情報を生成する機能と、生成した復号量子化後情報をスイッチ407を介して逆量子化器408に供給する機能とを有する。   The entropy decoder 402 obtains, as an input signal 401, a coded bitstream generated by a computer operating by the image coding apparatus according to one embodiment of the present invention or the image coding program according to one embodiment of the present invention. Has the function of In addition, the entropy decoder 402 performs predetermined entropy decoding on the acquired encoded bitstream to generate decoded quantized information, and the generated decoded quantized information is inversely quantized via the switch 407. And a function of supplying to the generator 408.

再予測制御器404は、既にイントラ予測を行ったブロックに対して再度イントラ予測を行うかどうかを制御する機能を有する。再予測制御器404は、イントラ予測の再予測の制御を所定のルールに基づいて行う機能を有すると良い構成となる。また、必要であれば再予測制御器404は、イントラ予測の再予測の制御を行うためのルールを特定するための再予測制御情報403を符号化ビットストリームから復号して取得する機能を有すると更に良い構成となる。再予測制御器404は、イントラ予測の再予測を制御するための信号である再予測制御信号を予測器414に供給する機能と、処理位置制御器406から現在復号対象となっているブロックの位置を特定するための処理位置制御信号を取得する機能と、イントラ予測の再予測の必要性に応じて復号の入力を制御するために、スイッチ407を切り替えるための制御信号をスイッチ407に供給する機能とを有する。   The re-prediction controller 404 has a function of controlling whether to perform intra prediction again on a block that has already been subjected to intra prediction. The re-prediction controller 404 is preferably configured to have a function of performing re-prediction control of intra prediction based on a predetermined rule. Further, if necessary, the re-prediction controller 404 has a function of decoding and acquiring re-prediction control information 403 for specifying a rule for performing re-prediction control of intra prediction from the encoded bitstream. A better configuration is obtained. The re-prediction controller 404 has a function of supplying a re-prediction control signal, which is a signal for controlling re-prediction of intra prediction, to the predictor 414, and the position of the block currently being decoded from the processing position controller 406. A function of acquiring a processing position control signal for specifying the signal and a function of supplying a control signal for switching the switch 407 to the switch 407 in order to control decoding input in accordance with the necessity of re-prediction of intra prediction And have.

処理位置制御器406は、処理するブロックの順序、復号対象となっているブロックの位置、復号対象となっているブロックの周囲のブロックの復号の状態を管理し、少なくとも復号対象となっているブロックの位置を特定するための処理位置制御信号を、再予測制御器404、差分ピクチャ格納メモリ410、予測ピクチャ格納メモリ413、予測器414、復号ピクチャ格納メモリ415にそれぞれ供給する機能を有する。ここで、処理位置制御信号には、復号対象となっているブロックの周囲のブロックの復号の状態を含むようにすると良い。また、処理位置制御器406は、処理するブロックの順序を決定するための処理位置制御情報405を符号化ビットストリームから復号して取得し、取得した処理位置制御情報405に基づいて処理するブロックの順序を決定する機能を有すると更に良い構成となる。   The processing position controller 406 manages the order of blocks to be processed, the position of the block to be decoded, the decoding status of the blocks around the block to be decoded, and at least the block to be decoded The processing position control signal for specifying the position of the video signal is supplied to the re-prediction controller 404, the difference picture storage memory 410, the prediction picture storage memory 413, the predictor 414, and the decoded picture storage memory 415, respectively. Here, it is preferable that the processing position control signal includes a decoding state of blocks around the block to be decoded. In addition, the processing position controller 406 acquires processing position control information 405 for determining the order of blocks to be processed from the encoded bitstream, and processes the block based on the acquired processing position control information 405. If it has the function to determine an order, it will become a still better composition.

スイッチ407は、再予測制御器404からスイッチを切り替えるための制御信号を取得し、その制御信号に従ってスイッチの接続及び切断を行う機能を有する。スイッチ404の端子には、エントロピー復号器402から復号量子化後情報が供給され、スイッチが接続されている場合には、逆量子化器408に対して、供給された復号量子化後情報をそのまま出力する。   The switch 407 has a function of acquiring a control signal for switching the switch from the re-predictive controller 404, and connecting and disconnecting the switch according to the control signal. The decoded quantized information is supplied from the entropy decoder 402 to the terminal of the switch 404, and when the switch is connected, the supplied decoded quantized information is directly sent to the inverse quantizer 408. Output.

逆量子化器408は、エントロピー復号器402からスイッチ407を介して復号量子化後情報を取得し、取得した復号量子化後情報に対して、所定の量子化パラメータに基づいて逆量子化を行い、復号直交変換係数情報を生成する機能を有する。逆量子化器408は、生成した復号直交変換係数情報を、逆直交変換器409に供給する。   The inverse quantizer 408 acquires the decoded quantized information from the entropy decoder 402 via the switch 407, and performs inverse quantization on the acquired decoded quantized information based on a predetermined quantization parameter. And a function of generating decoded orthogonal transform coefficient information. The inverse quantizer 408 supplies the generated decoded orthogonal transform coefficient information to the inverse orthogonal transformer 409.

逆直交変換器409は、逆量子化器408から復号直交変換係数情報を取得し、取得した復号直交変換係数情報に対して所定の逆直交変換を行うことで、復号残差信号を生成する機能を有する。逆直交変換器409は、生成した復号残差信号を含むブロックを差分ピクチャ格納メモリ410に供給する。   The inverse orthogonal transformer 409 obtains decoded orthogonal transform coefficient information from the inverse quantizer 408, and performs a predetermined inverse orthogonal transform on the obtained decoded orthogonal transform coefficient information to generate a decoded residual signal. Have The inverse orthogonal transformer 409 supplies the generated block including the decoded residual signal to the difference picture storage memory 410.

差分ピクチャ格納メモリ410は、処理位置制御器406から処理位置制御信号を取得し、復号対象となっているブロックの位置を特定する機能を有する。また、差分ピクチャ格納メモリ410は、逆直交変換器409から復号残差信号を含むブロックを取得し、復号対象となっているブロックの位置の結果として格納する機能を有する。また、差分ピクチャ格納メモリ410は、外部の各手段及び差分ピクチャ格納メモリ410内の状態から得られる、面内の各ブロックに属する情報を管理する機能を有する。ここで、ブロックに属する情報は、少なくともブロック内の画像信号、ここでは残差信号に相当する。また、各ブロックにおいて、復号が完了しているかを示す情報が含まれると良い構成となる。差分ピクチャ格納メモリ410は、加算器411に対し、要求された面内の位置のブロックに属する情報を供給する機能を有する。   The difference picture storage memory 410 has a function of acquiring a processing position control signal from the processing position controller 406 and specifying the position of a block to be decoded. The differential picture storage memory 410 has a function of acquiring a block including a decoded residual signal from the inverse orthogonal transformer 409 and storing it as a result of the position of the block to be decoded. Further, the differential picture storage memory 410 has a function of managing information belonging to each block in the plane obtained from each external unit and the state in the differential picture storage memory 410. Here, the information belonging to the block corresponds to at least an image signal in the block, here, a residual signal. In addition, each block may include information indicating whether or not the decoding is completed. The difference picture storage memory 410 has a function of supplying the adder 411 with information belonging to the block at the requested position in the plane.

加算器411は、予測器414から予測信号を含むブロックと、差分ピクチャ格納メモリ410から復号残差信号を含むブロックを取得し、取得したそれら予測信号と復号残差信号とを加算することで復号信号を生成する機能を有する。加算器411は、生成した復号信号を含むブロックを復号ピクチャ格納メモリ415に供給する。   The adder 411 acquires the block including the prediction signal from the predictor 414 and the block including the decoded residual signal from the difference picture storage memory 410, and decodes the acquired prediction signal and the decoded residual signal by adding them. It has a function to generate a signal. The adder 411 supplies the block including the generated decoded signal to the decoded picture storage memory 415.

予測ピクチャ格納メモリ413は、処理位置制御器406から、復号対象となっているブロックの位置を特定するために必要となる処理位置制御信号を取得すると共に、予測器414から予測信号を含むブロックを取得し、復号対象となっているブロックの位置の予測結果を格納する機能を有する。ここで、予測ピクチャ格納メモリ413は、同一のブロックの位置に対して、複数の予測信号を含むブロックを関連付けて格納することができる機能を有するようにすることが望ましい。これは、予測器414によって面内の同一の位置において、異なる予測方法に基づいて生成された予測信号が供給される場合があるためである。   The predicted picture storage memory 413 obtains a processing position control signal necessary for specifying the position of the block to be decoded from the processing position controller 406, and receives a block including the prediction signal from the predictor 414. It has a function of acquiring and storing the prediction result of the position of the block to be decoded. Here, it is desirable that the predicted picture storage memory 413 has a function capable of associating and storing blocks including a plurality of predicted signals at the same block position. This is because prediction signals generated based on different prediction methods may be supplied by the predictor 414 at the same position in the plane.

また、予測ピクチャ格納メモリ413は、外部の各手段及び予測ピクチャ格納メモリ413内の状態から得られる、面内の各ブロックに属する情報を管理する機能を有する。ここで、ブロックに属する情報は、少なくともブロック内の画像信号、ここでは予測信号に相当する。また、各ブロックにおいて、復号が完了しているかを示す情報が含まれると良い構成となる。予測ピクチャ格納メモリ413は、予測器414に対し、要求された面内の位置のブロックに属する情報を供給する。通常、予測器414に対しては、復号対象となっているブロックに属する情報が供給されるが、予測ピクチャ格納メモリ413は、予測器414から予測補助情報を伴ってブロックの要求があった場合には、予測補助情報に関連付けられたブロックに属する情報が供給されるようにすると良い。   The predicted picture storage memory 413 has a function of managing information belonging to each block in the plane, which is obtained from external means and the state in the predicted picture storage memory 413. Here, the information belonging to the block corresponds to at least an image signal in the block, here a prediction signal. In addition, each block may include information indicating whether or not the decoding is completed. The predicted picture storage memory 413 supplies the information belonging to the block at the position in the requested plane to the predictor 414. Normally, information belonging to a block to be decoded is supplied to the predictor 414, but the predicted picture storage memory 413 receives a block request from the predictor 414 with prediction auxiliary information. Is preferably supplied with information belonging to the block associated with the prediction auxiliary information.

予測器414は、再予測制御器404から再予測制御信号を取得し、取得した再予測制御信号に基づいて、現在復号対象となっているブロックに対して再予測を行うかどうか特定する機能を有する。また、予測器414は、処理位置制御器406から、復号対象となっているブロックの位置を特定するために必要となる処理位置制御信号を取得し、取得した処理位置制御信号に基づいて、現在復号対象となっているブロックの面内の位置を特定する機能を有する。また、必要であれば、予測器414は、処理位置制御器406から、処理位置制御信号として復号対象となっているブロックの周囲のブロックの復号の状態を取得する機能を有すると更に良い構成となる。   The predictor 414 has a function of acquiring a re-prediction control signal from the re-prediction controller 404 and specifying whether to perform re-prediction on the block currently being decoded based on the acquired re-prediction control signal. Have. Further, the predictor 414 acquires a processing position control signal necessary for specifying the position of the block to be decoded from the processing position controller 406, and based on the acquired processing position control signal, It has a function of specifying the position in the plane of the block to be decoded. Further, if necessary, the predictor 414 has a function of acquiring a decoding state of blocks around the block to be decoded as a processing position control signal from the processing position controller 406. Become.

更に、予測器414は、イントラ予測を行う際に必要となる復号信号を取得するため、復号ピクチャ格納メモリ415から復号対象となっているブロックの周囲のブロックで、かつ、利用可能な復号信号が存在するブロックに属する情報を取得する機能を有する。また、必要であれば、予測器414は、予測ピクチャ格納メモリ413から復号対象となっているブロックの周囲のブロックで、利用可能な予測信号が存在するブロックに属する情報を取得する機能を有すると更に良い構成となる。   Furthermore, since the predictor 414 obtains a decoded signal necessary for performing intra prediction, there are available decoded signals in the blocks around the block to be decoded from the decoded picture storage memory 415 and available. It has a function of acquiring information belonging to an existing block. Further, if necessary, the predictor 414 has a function of acquiring information belonging to a block in which a prediction signal that can be used exists in a block around the block to be decoded from the predicted picture storage memory 413. A better configuration is obtained.

また、更に、予測器414は、符号化ビットストリームを復号して得られた予測補助情報を取得し、取得した予測補助情報に基づいてイントラ予測を行う際の予測方法を特定する機能を有する。更に、予測器414は、取得した復号対象となっているブロックの周囲のブロックで利用可能な復号信号に基づいて、特定された予測方法で復号対象となっているブロックの予測信号を生成する機能を有する。また、生成した予測信号を含む、復号対象となっているブロックに属する情報を、予測ピクチャ格納メモリ413に供給する機能を有する。ここで、供給するブロックに属する情報として、取得した予測補助情報を追加することで、生成した予測信号がどのような予測方法によって生成されたものかを特定することができ、更に良い構成となる。   Furthermore, the predictor 414 has a function of acquiring prediction auxiliary information obtained by decoding the encoded bitstream, and specifying a prediction method when performing intra prediction based on the acquired prediction auxiliary information. Furthermore, the predictor 414 generates a prediction signal of the block to be decoded by the specified prediction method based on the decoded signal that can be used in the blocks around the acquired block to be decoded. Have In addition, it has a function of supplying information belonging to the block to be decoded, including the generated prediction signal, to the prediction picture storage memory 413. Here, by adding the acquired prediction auxiliary information as the information belonging to the block to be supplied, it is possible to specify the prediction method generated by the generated prediction signal, and the configuration is further improved. .

また、予測器414は、必要に応じて、予測ピクチャ格納メモリ413から予測補助情報に関連付けられた予測信号を含むブロックを取得する機能を有すると良い。予測器414は、予測ピクチャ格納メモリ413から取得した、予測補助情報に対応する予測信号を含むブロックを、加算器411に供給する機能を有すると良い。ここで、予測補助情報に対応する予測信号を含むブロックを予測ピクチャ格納メモリ413から取得できなかった場合には、予測器414は、取得した予測補助情報に基づいて再度予測方法を特定し、予測信号を生成した後に、生成した予測信号を含むブロックを、加算器411に供給する機能を有するようにすると更に良い構成となる。   In addition, the predictor 414 may have a function of acquiring a block including a prediction signal associated with prediction auxiliary information from the prediction picture storage memory 413 as necessary. The predictor 414 may have a function of supplying to the adder 411 a block including a prediction signal corresponding to the prediction auxiliary information acquired from the predicted picture storage memory 413. Here, when the block including the prediction signal corresponding to the prediction auxiliary information cannot be acquired from the predicted picture storage memory 413, the predictor 414 specifies the prediction method again based on the acquired prediction auxiliary information, and performs prediction. If a block including the generated prediction signal is supplied to the adder 411 after the signal is generated, the configuration is further improved.

復号ピクチャ格納メモリ415は、処理位置制御器406から処理位置制御信号を取得し、復号対象となっているブロックの位置を特定する機能を有する。また、復号ピクチャ格納メモリ415は、加算器411から復号信号を含むブロックを取得し、復号対象となっているブロックの位置の復号結果として格納する機能を有する。ここで、復号ピクチャ格納メモリ415は、同一のブロックの位置に対して、複数の復号信号を含むブロックを関連付けて格納することができる機能を有するようにすることが望ましい。これは、再予測処理によって面内の同一の位置において、異なる予測方法に基づいて生成された予測信号と復号残差信号から復号信号が生成され、復号ピクチャ格納メモリ415に供給される場合があるためである。   The decoded picture storage memory 415 has a function of acquiring the processing position control signal from the processing position controller 406 and specifying the position of the block to be decoded. The decoded picture storage memory 415 has a function of acquiring a block including a decoded signal from the adder 411 and storing it as a decoding result of the position of the block to be decoded. Here, it is desirable that the decoded picture storage memory 415 has a function capable of storing a block including a plurality of decoded signals in association with each other at the same block position. This is because a decoded signal may be generated from a prediction signal and a decoded residual signal generated based on different prediction methods at the same position in the plane by re-prediction processing and supplied to the decoded picture storage memory 415. Because.

また、復号ピクチャ格納メモリ415は、外部の各手段及び復号ピクチャ格納メモリ415内の状態から得られる、面内の各ブロックに属する情報を管理する機能を有する。ここで、ブロックに属する情報は、少なくともブロック内の画像信号、ここでは復号信号に相当する。また、各ブロックにおいて、復号が完了しているかを示す情報が含まれると良い構成となる。更に、復号ピクチャ格納メモリ415は、予測器414に対し、要求された面内の位置のブロックに属する情報を供給する機能を有する。   The decoded picture storage memory 415 has a function of managing information belonging to each block in the plane, which is obtained from each external unit and the state in the decoded picture storage memory 415. Here, information belonging to a block corresponds to at least an image signal in the block, here, a decoded signal. In addition, each block may include information indicating whether or not the decoding is completed. Further, the decoded picture storage memory 415 has a function of supplying information that belongs to the block at the position in the requested plane to the predictor 414.

次に、図4の本発明の画像復号装置の一実施の形態の動作を図5のフローチャートに従って説明する。   Next, the operation of the embodiment of the image decoding apparatus of the present invention shown in FIG. 4 will be described with reference to the flowchart of FIG.

まず、処理位置制御器406は、処理するブロックの順序を決定するための処理位置制御情報405を符号化ビットストリームから復号して取得し、取得した処理位置制御情報405に基づいて処理するブロックの順序を決定する。処理位置制御器406は、少なくとも復号対象となっているブロックの位置を特定するための処理位置制御信号を、再予測制御器404、差分ピクチャ格納メモリ410、予測ピクチャ格納メモリ413、予測器414、復号ピクチャ格納メモリ415にそれぞれ供給する。   First, the processing position controller 406 obtains processing position control information 405 for determining the order of blocks to be processed by decoding from the encoded bitstream, and processes the blocks to be processed based on the acquired processing position control information 405. Determine the order. The processing position controller 406 generates at least a processing position control signal for specifying the position of a decoding target block, a re-prediction controller 404, a difference picture storage memory 410, a prediction picture storage memory 413, a predictor 414, The decoded picture storage memory 415 is supplied.

再予測制御器404は、必要であればイントラ予測の再予測の制御を行うためのルールを特定するための再予測制御情報403を符号化ビットストリームから復号して取得する。また、再予測制御器404は、処理位置制御器406から現在復号対象となっているブロックの位置を特定するための処理位置制御信号を取得する。更に、再予測制御器404は、イントラ予測の再予測の必要性に応じて復号の入力を制御するために、スイッチ407を切り替えるための制御信号をスイッチ407に供給する。その後、スイッチ407は、再予測制御器404から通知された制御信号に応じて、スイッチを接続する(ステップS201)。   The re-prediction controller 404 decodes and acquires re-prediction control information 403 for specifying a rule for performing re-prediction control of intra prediction, if necessary. Further, the re-prediction controller 404 acquires a processing position control signal for specifying the position of the block currently being decoded from the processing position controller 406. Further, the re-prediction controller 404 supplies a control signal for switching the switch 407 to the switch 407 in order to control the input of decoding according to the necessity of re-prediction of intra prediction. Thereafter, the switch 407 connects the switch according to the control signal notified from the re-prediction controller 404 (step S201).

エントロピー復号器402は、入力信号401として、本発明の一実施の形態の画像符号化装置もしくは本発明の一実施の形態の画像符号化プログラムによって動作するコンピュータによって生成された符号化ビットストリームを取得する。エントロピー復号器402は、取得した符号化ビットストリームに対して所定のエントロピー復号を行い(ステップS202)、復号量子化後情報を生成する。エントロピー復号器402は、生成した復号量子化後情報を、スイッチ407を介して逆量子化器408に供給する。   The entropy decoder 402 obtains, as an input signal 401, an encoded bit stream generated by a computer operating by the image encoding device of the embodiment of the present invention or the image encoding program of the embodiment of the present invention. To do. The entropy decoder 402 performs predetermined entropy decoding on the acquired encoded bitstream (step S202), and generates decoded quantized information. The entropy decoder 402 supplies the generated decoded quantized information to the inverse quantizer 408 via the switch 407.

逆量子化器408は、エントロピー復号器402からスイッチ407を介して復号量子化後情報を取得し、取得した復号量子化後情報に対して、所定の量子化パラメータに基づいて逆量子化を行い(ステップS203)、生成した復号直交変換係数情報を、逆直交変換器409に供給する。   The inverse quantizer 408 acquires the decoded quantized information from the entropy decoder 402 via the switch 407, and performs inverse quantization on the acquired decoded quantized information based on a predetermined quantization parameter. (Step S203), the generated decoded orthogonal transform coefficient information is supplied to the inverse orthogonal transformer 409.

逆直交変換器409は、逆量子化器408から復号直交変換係数情報を取得し、取得した復号直交変換係数情報に対して所定の逆直交変換を行い(ステップS204)、生成した復号残差信号を含むブロックを差分ピクチャ格納メモリ410に供給する。   The inverse orthogonal transformer 409 acquires the decoded orthogonal transform coefficient information from the inverse quantizer 408, performs predetermined inverse orthogonal transform on the acquired decoded orthogonal transform coefficient information (step S204), and generates the generated decoded residual signal. Are supplied to the differential picture storage memory 410.

差分ピクチャ格納メモリ410は、処理位置制御器406から処理位置制御信号を取得し、復号対象となっているブロックの位置を特定する。また、差分ピクチャ格納メモリ410は、逆直交変換器409から復号残差信号を含むブロックを取得し、復号対象となっているブロックの位置の結果として格納する。   The difference picture storage memory 410 acquires the processing position control signal from the processing position controller 406 and specifies the position of the block to be decoded. Further, the difference picture storage memory 410 acquires a block including a decoded residual signal from the inverse orthogonal transformer 409, and stores it as a result of the position of the block to be decoded.

予測器414は、再予測制御器404から取得した再予測制御信号に基づいて、現在復号対象となっているブロックに対して再予測を行うかどうか特定する。また、予測器414は、処理位置制御器406から、復号対象となっているブロックの位置を特定するために必要となる処理位置制御信号を取得し、取得した処理位置制御信号に基づいて、現在復号対象となっているブロックの面内の位置を特定する(ステップS205)。   The predictor 414 specifies whether or not to perform re-prediction on the block currently being decoded based on the re-prediction control signal acquired from the re-prediction controller 404. Further, the predictor 414 acquires a processing position control signal necessary for specifying the position of the block to be decoded from the processing position controller 406, and based on the acquired processing position control signal, The position in the plane of the block to be decoded is specified (step S205).

続いて、予測器414は、符号化ビットストリームを復号して得られた予測補助情報を取得し(ステップS206)、取得した予測補助情報に基づいてイントラ予測を行う際の予測方法を特定する。続いて、予測器414は、復号ピクチャ格納メモリ415から復号対象となっているブロックの周囲のブロックで、かつ、利用可能な復号信号が存在するブロックに属する情報を取得することで、イントラ予測を行う際に必要となる復号信号、つまり予測に利用できる画素を取得する(ステップS207)。   Subsequently, the predictor 414 acquires prediction auxiliary information obtained by decoding the encoded bitstream (step S206), and specifies a prediction method for performing intra prediction based on the acquired prediction auxiliary information. Subsequently, the predictor 414 obtains information that belongs to a block around the block to be decoded from the decoded picture storage memory 415 and belongs to a block in which a usable decoded signal exists, thereby performing intra prediction. A decoded signal necessary for performing, that is, a pixel that can be used for prediction is acquired (step S207).

また、必要であれば、予測器414は、予測ピクチャ格納メモリ413から復号対象となっているブロックの周囲のブロックで、利用可能な予測信号が存在するブロックに属する情報を取得する。予測器414は、取得した復号対象となっているブロックの周囲のブロックで利用可能な復号信号に基づいて、特定された予測方法で復号対象となっているブロックの予測信号を生成することで、予測処理を行う(ステップS208)。また、予測器414は、生成した予測信号を含む、復号対象となっているブロックに属する情報を、予測ピクチャ格納メモリ413に供給する。   Further, if necessary, the predictor 414 acquires information belonging to a block in which a usable prediction signal exists among the blocks around the block to be decoded from the predicted picture storage memory 413. The predictor 414 generates a prediction signal of the block to be decoded by the specified prediction method based on the decoded signal that can be used in the blocks around the acquired block to be decoded, A prediction process is performed (step S208). Also, the predictor 414 supplies information belonging to the block to be decoded, including the generated prediction signal, to the predicted picture storage memory 413.

また、予測器414は、必要に応じて、予測ピクチャ格納メモリ413から予測補助情報に関連付けられた予測信号を含むブロックを取得し、その予測補助情報に対応する予測信号を含むブロックを、加算器411に供給する。ここで、予測器414は、予測補助情報に対応する予測信号を含むブロックを予測ピクチャ格納メモリ413から取得できなかった場合には、取得した予測補助情報に基づいて再度予測方法を特定し、予測信号を生成した後に、生成した予測信号を含むブロックを、加算器411に供給する。   Further, the predictor 414 acquires a block including a prediction signal associated with the prediction auxiliary information from the predicted picture storage memory 413 as necessary, and adds a block including the prediction signal corresponding to the prediction auxiliary information to the adder. 411 is supplied. Here, when the predictor 414 cannot acquire the block including the prediction signal corresponding to the prediction auxiliary information from the predicted picture storage memory 413, the predictor 414 specifies the prediction method again based on the acquired prediction auxiliary information, and performs prediction. After generating the signal, a block including the generated prediction signal is supplied to the adder 411.

加算器411は、予測器414から予測信号を含むブロックと、差分ピクチャ格納メモリ410から復号残差信号を含むブロックを取得してそれらを加算することで(ステップS209)、復号信号が生成される。復号ピクチャ格納メモリ415は、処理位置制御器406から処理位置制御信号を取得し、復号対象となっているブロックの位置を特定する。また、復号ピクチャ格納メモリ415は、加算器411から復号信号を含むブロックを取得し、復号対象となっているブロックの位置の復号結果として格納する。   The adder 411 obtains a block including the prediction signal from the predictor 414 and a block including the decoded residual signal from the difference picture storage memory 410 and adds them (step S209), thereby generating a decoded signal. . The decoded picture storage memory 415 acquires the processing position control signal from the processing position controller 406 and specifies the position of the block to be decoded. Also, the decoded picture storage memory 415 acquires a block including a decoded signal from the adder 411 and stores it as a decoding result of the position of the block to be decoded.

その後、再予測制御器404は、再予測制御情報403に基づいて、現在復号対象となっているブロックに対して再予測処理が必要か否かを判断する(ステップS210)。再予測制御器404において、再予測処理が必要であると判断した場合(ステップS210でYES)、再予測制御器404は、スイッチ407に対してスイッチを切断するための制御信号を供給し、スイッチ407を切断する(ステップS211)。その後、ステップS205に戻って、予測処理を継続する。   Thereafter, the re-prediction controller 404 determines whether re-prediction processing is necessary for the block currently being decoded based on the re-prediction control information 403 (step S210). If the re-prediction controller 404 determines that re-prediction processing is necessary (YES in step S210), the re-prediction controller 404 supplies a control signal for disconnecting the switch to the switch 407, and the switch 407 is cut (step S211). Then, it returns to step S205 and continues a prediction process.

再予測制御器404において、再予測処理が必要でないと判断した場合(ステップS210でNO)、処理位置制御器406が、現在の復号の状態を確認し、面内の復号処理が完了したかどうかを判断する(ステップS212)。処理位置制御器406において、面内処理がまだ完了していないと判断した場合(ステップS212でNO)、ステップS201に戻り、スイッチ407の接続処理の後、所定の復号処理を継続する。   When the re-prediction controller 404 determines that re-prediction processing is not necessary (NO in step S210), the processing position controller 406 confirms the current decoding state and whether or not the in-plane decoding processing is completed. Is determined (step S212). If the processing position controller 406 determines that the in-plane processing has not been completed (NO in step S212), the process returns to step S201, and after the connection processing of the switch 407, the predetermined decoding processing is continued.

一方、処理位置制御器406において、面内処理が完了したと判断した場合(ステップS212でYES)、復号ピクチャ格納メモリ415に格納されている復号ピクチャを出力信号416として出力し、復号処理を終了する。
On the other hand, if the processing position controller 406 determines that the in-plane processing has been completed (YES in step S212), the decoded picture stored in the decoded picture storage memory 415 is output as the output signal 416 , and the decoding process ends. To do.

このように、本実施の形態の画像復号装置によれば、復号対象となっているブロックのイントラ予測を行う際に、復号対象となっているブロックと、その周囲のブロックに注目し、まず復号対象となっているブロックに対して、左、左上、上、右上のブロックの復号信号を予測処理に利用して所定のイントラ予測を行うと共に、残差信号を得るために所定の復号を行うことで、復号対象となっているブロックの復号信号を生成する。   Thus, according to the image decoding apparatus of the present embodiment, when performing intra prediction of a block to be decoded, attention is paid to the block to be decoded and its surrounding blocks, and decoding is performed first. Perform predetermined intra prediction on the target block using the decoded signals of the left, upper left, upper, and upper right blocks for prediction processing, and perform predetermined decoding to obtain a residual signal Thus, a decoded signal of the block to be decoded is generated.

続いて、この復号対象のブロックの復号信号を利用して、復号対象となっているブロックの周囲のブロックに対しても順に所定のイントラ予測を行うと共に、残差信号を得るための所定の復号を行う。その後、復号対象のブロックにおいて、周囲のブロックの復号信号が利用可能となることから、この周囲の復号信号を利用することで再度イントラ予測をやり直すことで、より精度の高い予測信号を再度生成し、残差信号と加算することで復号信号を得ることができる。従って、本発明の画像符号化装置によって符号化した符号化ビットストリームであっても、本実施の形態の画像復号装置により正しく復号することができ、全体として符号量が少なくても、品質の良い復号画像を得ることができる。   Subsequently, by using the decoded signal of the block to be decoded, predetermined intra prediction is sequentially performed on blocks around the block to be decoded, and predetermined decoding for obtaining a residual signal is performed. I do. After that, since the decoded signal of the surrounding block can be used in the block to be decoded, the prediction signal with higher accuracy can be generated again by performing the intra prediction again by using the surrounding decoded signal. The decoded signal can be obtained by adding the residual signal. Therefore, even an encoded bitstream encoded by the image encoding device of the present invention can be correctly decoded by the image decoding device of the present embodiment, and the quality is good even if the code amount is small as a whole. A decoded image can be obtained.

(画像復号プログラム)
図6は、本発明になる画像復号プログラムの一実施の形態により動作する情報処理装置の一例の構成図を示す。同図において、情報処理装置600は、各種の情報を入力するための入力装置601と、各種の情報を出力するための出力装置602と、本発明の一実施の形態の画像復号プログラムにより動作する中央処理制御装置603と、外部記憶装置604と、中央処理制御装置603による演算処理の際の作業領域などに用いる一時記憶装置605と、外部と通信するための通信装置606とが、双方向のバス607により接続された構成とされている。
(Image decoding program)
FIG. 6 shows a configuration diagram of an example of an information processing apparatus that operates according to an embodiment of an image decoding program according to the present invention. In the figure, an information processing device 600 is operated by an input device 601 for inputting various types of information, an output device 602 for outputting various types of information, and an image decoding program according to an embodiment of the present invention. A central processing control device 603, an external storage device 604, a temporary storage device 605 used as a work area for arithmetic processing by the central processing control device 603, and a communication device 606 for communicating with the outside are bidirectional. It is configured to be connected by a bus 607.

中央処理制御装置603は、本発明の一実施の形態の画像復号プログラムが記録媒体から、あるいは通信ネットワークを介して配信されて通信装置606により取り込まれ、図4に示した、エントロピー復号器402に相当するエントロピー復号手段608、再予測制御器404に相当する再予測制御手段609、処理位置制御器406に相当する処理位置制御手段610、逆量子化器408に相当する逆量子化手段611、逆直交変換器409に相当する逆直交変換手段612、予測器414に相当する予測手段613、加算器411に相当する加算手段614の各機能を少なくとも有し、図4に示した一実施の形態の画像復号装置と同様の動作をソフトウェア処理により実行する。   The central processing control device 603 receives the image decoding program according to the embodiment of the present invention from a recording medium or via a communication network and is captured by the communication device 606, and is stored in the entropy decoder 402 illustrated in FIG. Corresponding entropy decoding means 608, re-prediction control means 609 corresponding to the re-prediction controller 404, processing position control means 610 corresponding to the processing position controller 406, inverse quantization means 611 equivalent to the inverse quantizer 408, inverse 4 has at least the functions of an inverse orthogonal transform means 612 corresponding to the orthogonal transformer 409, a prediction means 613 corresponding to the predictor 414, and an adder means 614 corresponding to the adder 411. The same operation as that of the image decoding apparatus is executed by software processing.

これにより、本実施の形態の画像復号プログラムにより、図4に示した一実施の形態の画像復号装置と同様に、本発明の画像符号化装置によって符号化した符号化ビットストリームであっても、正しく復号することができ、全体として符号量が少なくても、品質の良い復号画像を得ることができる。   As a result, the encoded bitstream encoded by the image encoding device of the present invention can be encoded by the image decoding program of the present embodiment, similarly to the image decoding device of the embodiment shown in FIG. It is possible to correctly decode, and it is possible to obtain a high-quality decoded image even if the code amount as a whole is small.

なお、以上の実施の形態の説明では、イントラ予測の予測モードなどの方法は、H.264/AVC符号化または復号装置や、その方法、そのプログラムをベースとして説明したが、本発明では、これに限らず、異なるイントラ予測方法、直交変換、量子化、逆量子化、逆直交変換、エントロピー符号化など、MPEG1やMPEG2やMPEG4等の他の符号化方式または復号装置等の構成要素を用いて、イントラ予測を行う際に、周囲のブロックの復号信号を生成した後に、再度符号化対象のブロックの予測信号を再予測によって更新する符号化方式、装置または復号方式、装置等であれば適用可能である。   In the above description of the embodiment, the method such as the prediction mode of intra prediction has been described based on the H.264 / AVC encoding or decoding apparatus, the method, and the program thereof. Not only, but also other intra prediction methods, orthogonal transforms, quantization, inverse quantization, inverse orthogonal transforms, entropy encoding, and other components such as MPEG1, MPEG2, MPEG4, etc. Applicable to any encoding method, device or decoding method, device, etc. that, when performing intra prediction, generates a decoded signal of a surrounding block and then updates the prediction signal of the block to be encoded again by re-prediction It is.

また、本発明の画像復号装置は、画質は劣化するが、図1の画像符号化装置や図3のコンピュータで符号化して得られた符号化ビットストリーム以外の符号化ビットストリームにも適用可能である。   In addition, the image decoding apparatus of the present invention can be applied to encoded bit streams other than the encoded bit stream obtained by encoding with the image encoding apparatus of FIG. 1 or the computer of FIG. is there.

本発明の画像符号化装置の一実施の形態のブロック図である。It is a block diagram of one embodiment of an image coding device of the present invention. 本発明の画像符号化装置の一実施の形態の動作説明用フローチャートである。It is a flowchart for operation | movement description of one Embodiment of the image coding apparatus of this invention. 本発明の画像符号化プログラムの一実施の形態により動作する情報処理装置の一例の構成図である。It is a block diagram of an example of the information processing apparatus which operate | moves by one Embodiment of the image coding program of this invention. 本発明の画像復号装置の一実施の形態のブロック図である。It is a block diagram of one embodiment of an image decoding device of the present invention. 本発明の画像復号装置の一実施の形態の動作説明用フローチャートである。It is a flowchart for operation | movement description of one Embodiment of the image decoding apparatus of this invention. 本発明の画像復号プログラムの一実施の形態により動作する情報処理装置の一例の構成図である。It is a block diagram of an example of the information processing apparatus which operate | moves by one Embodiment of the image decoding program of this invention. 本発明のイントラ予測を行うブロックの順序及び再予測処理の様子を示した概念図である。It is the conceptual diagram which showed the order of the block which performs the intra prediction of this invention, and the mode of a re-prediction process. 本発明のイントラ予測方法において、新たに追加されたイントラ予測のモードおよび予測方向の一例を示した概念図である。In the intra prediction method of this invention, it is the conceptual diagram which showed an example of the mode and prediction direction of the newly added intra prediction. 従来のイントラ予測を行う場合の、ブロックの処理順序を示した概念図である。It is the conceptual diagram which showed the processing order of the block in the case of performing the conventional intra prediction. 従来のイントラ予測方法におけるイントラ予測のモードおよび予測方向を示した概念図である。It is the conceptual diagram which showed the mode and prediction direction of the intra prediction in the conventional intra prediction method.

符号の説明Explanation of symbols

100 画像符号化装置
101、401 入力信号
102 ピクチャ格納メモリ
103、403 再予測制御情報
104、404 再予測制御器
105、405 処理位置制御情報
106、406 処理位置制御器
107、415 復号ピクチャ格納メモリ
108、114、412 予測補助情報
109、414 予測器
110、413 予測ピクチャ格納メモリ
111 減算器
112、410 差分ピクチャ格納メモリ
113 残差制御器
115 直交変換器
116 量子化器
117、407 スイッチ
118、408 逆量子化器
119、409 逆直交変換器
120、411 加算器
121 エントロピー符号化器
122、416 出力信号
400 画像復号装置
402 エントロピー復号器
DESCRIPTION OF SYMBOLS 100 Image coding apparatus 101, 401 Input signal 102 Picture storage memory 103, 403 Re-prediction control information 104, 404 Re-prediction controller 105, 405 Processing position control information 106, 406 Processing position controller 107, 415 Decoded picture storage memory 108 , 114, 412 Predictive auxiliary information 109, 414 Predictor 110, 413 Predictive picture storage memory 111 Subtractor 112, 410 Differential picture storage memory 113 Residual controller 115 Orthogonal transformer 116 Quantizer 117, 407 Switch 118, 408 Inverse Quantizer 119, 409 Inverse orthogonal transformer 120, 411 Adder 121 Entropy encoder 122, 416 Output signal 400 Image decoding device 402 Entropy decoder

Claims (8)

入力された符号化対象の画像信号の一画面領域を所定の矩形領域毎に分割し、符号化対象領域を、分割された前記矩形領域において処理すべき対象となっている矩形領域とし、前記符号化対象領域に属する画像の原信号に対して、前記処理すべき対象となっている矩形領域の周囲の矩形領域の復号信号を利用して所定の面内予測を行うと共に予測信号を生成する画像符号化装置であって、
前記符号化対象領域の前記一画面領域における位置を管理し、この位置を示すための処理位置制御信号を出力する処理位置制御手段と、
前記矩形領域のうち所定の一の矩形領域に属する画像の原信号に対して、その矩形領域の周囲の矩形領域の復号信号を用いて前記所定の面内予測を行うと共に、予め定められた複数の予測方法のうち、供給された予測補助情報に基づいて特定される予測方法によって前記所定の一の矩形領域における予測信号を生成し、生成した予測信号と、この予測信号の生成に用いた予測方法を示す情報とを出力する予測手段と、
前記所定の一の矩形領域における画像の原信号から、前記予測手段から供給された前記予測信号を減算することにより残差信号を生成するとともに、前記予測手段から供給された前記予測方法を示す情報に基づいて、前記複数の予測方法のうち未使用の予測方法を特定し、特定した予測情報を予測補助情報として前記予測手段に供給して予測信号を生成させる処理を繰り返し、未使用の予測方法がなくなったら、前記複数の予測方法に対応して得られた複数の残差信号から、所定の評価方法に基づいて残差信号を選択する残差信号生成・選択手段と、
前記所定の一の矩形領域における選択された残差信号に対して直交変換を施して直交変換係数情報を生成し、その直交変換係数情報に対して量子化を施して量子化後情報を生成する量子化後情報生成手段と、
前記所定の一の矩形領域における前記量子化後情報に対してエントロピー符号化を行う符号化手段と、
前記量子化後情報に対して、逆量子化及び逆直交変換を施して復号残差信号を生成する復号残差信号生成手段と、
前記所定の一の矩形領域における前記復号残差信号と前記予測信号とを加算して前記所定の一の矩形領域における復号信号を生成する加算手段と、
前記処理位置制御手段からの前記処理位置制御信号に基づき、既に前記予測信号を生成し、符号化を行った前記矩形領域に対して、再度予測処理を実行するか否かを所定のルールに基づいて制御する再予測制御手段と、
を有し、
前記再予測制御手段により前記予測信号生成手段、前記残差信号生成・選択手段、前記量子化後情報生成手段、前記復号残差信号生成手段及び前記加算手段を制御して、最初の前記所定の一の矩形領域として前記符号化対象領域を設定してその符号化対象領域における前記予測信号、前記残差信号、前記量子化後情報、前記復号残差信号及び前記復号信号を生成させ、続いて前記所定の一の矩形領域として前記符号化対象領域の周囲の矩形領域のうち符号化が完了していない一の矩形領域を設定して、その矩形領域における前記予測信号、前記残差信号、前記量子化後情報、前記復号残差信号及び前記復号信号を生成させた後、前記符号化対象領域の符号化済みの画像信号に対して、前記復号信号を生成した前記符号化対象領域の周囲の矩形領域の当該復号信号を用いて、その符号化対象領域における前記予測信号、前記残差信号、前記量子化後情報、前記復号残差信号及び前記復号信号をそれぞれ更新した後、前記符号化手段による再符号化を行わせることを特徴とする画像符号化装置。
One screen area of the input encoding target image signal is divided into predetermined rectangular areas, and the encoding target area is set as a rectangular area to be processed in the divided rectangular area. An image that performs a predetermined in-plane prediction and generates a prediction signal for an original signal of an image belonging to a conversion target region using a decoded signal of a rectangular region around the rectangular region to be processed An encoding device comprising:
Processing position control means for managing the position of the encoding target area in the one-screen area and outputting a processing position control signal for indicating the position ;
To the original signal of an image belonging to a predetermined one of the rectangular area of the rectangular area, it performs the predetermined intra prediction using the decoded signal of the rectangular area surrounding the rectangular region, a plurality of predetermined Among the prediction methods, a prediction signal in the predetermined rectangular area is generated by a prediction method specified based on the supplied prediction auxiliary information, and the prediction signal generated and the prediction used for generating the prediction signal Prediction means for outputting information indicating a method ;
From the original signal of the image in the predetermined one of the rectangular regions, and generates a Rizan difference signal by the subtracting the prediction signal supplied from the prediction unit, the prediction method supplied from the prediction means Based on the information indicated, an unused prediction method is identified from among the plurality of prediction methods, and the process of supplying the identified prediction information as prediction auxiliary information to the prediction means to generate a prediction signal is repeated. When there is no prediction method, residual signal generation / selection means for selecting a residual signal based on a predetermined evaluation method from a plurality of residual signals obtained corresponding to the plurality of prediction methods ;
Orthogonal transform is performed on the selected residual signal in the predetermined rectangular area to generate orthogonal transform coefficient information, and the orthogonal transform coefficient information is quantized to generate post-quantization information. Post-quantization information generation means;
Encoding means for performing entropy encoding on the post-quantization information in the predetermined one rectangular area;
Decoding residual signal generation means for generating a decoding residual signal by performing inverse quantization and inverse orthogonal transformation on the post-quantization information;
Adding means for adding the decoded residual signal and the prediction signal in the predetermined rectangular area to generate a decoded signal in the predetermined rectangular area;
Based on the processing position control signal from the processing position control means , based on a predetermined rule whether or not to perform the prediction process again on the rectangular area where the prediction signal has already been generated and encoded. and the re-predictive control means that controls Te,
Have
The reprediction control means controls the prediction signal generation means, the residual signal generation / selection means, the post-quantization information generation means, the decoded residual signal generation means, and the addition means, Setting the encoding target area as one rectangular area and generating the prediction signal, the residual signal, the post-quantization information, the decoded residual signal, and the decoded signal in the encoding target area; Set one rectangular area in which encoding is not completed among rectangular areas around the encoding target area as the predetermined one rectangular area, and the prediction signal, the residual signal, After generating the post-quantization information, the decoded residual signal, and the decoded signal, the encoded image signal in the encoding target area is generated around the encoding target area around which the decoded signal is generated. Rectangle By using the decoded signal of the region, updating the prediction signal, the residual signal, the post-quantization information, the decoded residual signal, and the decoded signal in the encoding target region, respectively, by the encoding unit An image encoding apparatus that performs re-encoding.
前記再予測制御手段は、
前記符号化対象領域の周囲の矩形領域のうち符号化が完了していないすべての周囲の矩形領域を順次に設定して、各矩形領域における前記予測信号、前記残差信号、前記量子化後情報、前記復号残差信号及び前記復号信号をそれぞれ生成した後、前記符号化対象領域の符号化済みの画像信号に対して、前記符号化対象領域の周囲の各矩形領域の当該復号信号を利用して、その符号化対象領域における前記予測信号、前記残差信号、前記量子化後情報、前記復号残差信号及び前記復号信号をそれぞれ更新した後、前記符号化手段による再符号化を行わせることを特徴とする請求項1記載の画像符号化装置。
The re-prediction control means includes
By sequentially setting all surrounding rectangular areas that have not been encoded among the rectangular areas around the encoding target area, the prediction signal, the residual signal, and the post-quantization information in each rectangular area Then, after generating the decoded residual signal and the decoded signal, respectively, the decoded signal of each rectangular area around the encoding target area is used for the encoded image signal of the encoding target area. And updating the prediction signal, the residual signal, the post-quantization information, the decoded residual signal, and the decoded signal in the encoding target region, and then performing re-encoding by the encoding unit. The image encoding device according to claim 1.
前記再予測制御手段は、
前記符号化対象領域における前記予測信号、前記残差信号、前記量子化後情報、前記復号残差信号及び前記復号信号の更新と、前記符号化対象領域の周囲の矩形領域のうち符号化が完了していない周囲の矩形領域における前記予測信号、前記残差信号、前記量子化後情報、前記復号残差信号及び前記復号信号の更新とを、設定した回数だけ繰り返し行わせることを特徴とする請求項2記載の画像符号化装置。
The re-prediction control means includes
Updating of the prediction signal, the residual signal, the post-quantization information, the decoded residual signal, and the decoded signal in the encoding target region, and encoding of the rectangular region around the encoding target region is completed. The update of the prediction signal, the residual signal, the post-quantization information, the decoded residual signal, and the decoded signal in a surrounding rectangular area that is not performed is performed a set number of times. Item 3. The image encoding device according to Item 2.
入力された符号化対象の画像信号の一画面領域を所定の矩形領域毎に分割し、符号化対象領域を、分割された前記矩形領域において処理すべき対象となっている矩形領域とし、前記符号化対象領域に属する画像の原信号に対して、前記処理すべき対象となっている矩形領域の周囲の矩形領域の復号信号を利用して所定の面内予測を行うと共に予測信号を生成する動作をコンピュータにより実行させる画像符号化プログラムであって、
前記コンピュータを、
前記符号化対象領域の前記一画面領域における位置を管理し、この位置を示すための処理位置制御信号を出力する処理位置制御手段と、
前記矩形領域のうち所定の一の矩形領域に属する画像の原信号に対して、その矩形領域の周囲の矩形領域の復号信号を用いて前記所定の面内予測を行うと共に、予め定められた複数の予測方法のうち、供給された予測補助情報に基づいて特定される予測方法によって前記所定の一の矩形領域における予測信号を生成し、生成した予測信号と、この予測信号の生成に用いた予測方法を示す情報とを出力する予測手段と、
前記所定の一の矩形領域における画像の原信号から、前記予測手段から供給された前記予測信号を減算することにより残差信号を生成するとともに、前記予測手段から供給された前記予測方法を示す情報に基づいて、前記複数の予測方法のうち未使用の予測方法を特定し、特定した予測情報を予測補助情報として前記予測手段に供給して予測信号を生成させる処理を繰り返し、未使用の予測方法がなくなったら、前記複数の予測方法に対応して得られた複数の残差信号から、所定の評価方法に基づいて残差信号を選択する残差信号生成・選択手段と、
前記所定の一の矩形領域における選択された残差信号に対して直交変換を施して直交変換係数情報を生成し、その直交変換係数情報に対して量子化を施して量子化後情報を生成する量子化後情報生成手段と、
前記所定の一の矩形領域における前記量子化後情報に対してエントロピー符号化を行う符号化手段と、
前記量子化後情報に対して、逆量子化及び逆直交変換を施して復号残差信号を生成する復号残差信号生成手段と、
前記所定の一の矩形領域における前記復号残差信号と前記予測信号とを加算して前記所定の一の矩形領域における復号信号を生成する加算手段と、
前記処理位置制御手段からの前記処理位置制御信号に基づき、既に前記予測信号を生成し、符号化を行った前記矩形領域に対して、再度予測処理を実行するか否かを所定のルールに基づいて制御する再予測制御手段と
して機能させ、前記再予測制御手段により、最初の前記所定の一の矩形領域として前記符号化対象領域を設定してその符号化対象領域における前記予測信号、前記残差信号、前記量子化後情報、前記復号残差信号及び前記復号信号を生成し、続いて前記所定の一の矩形領域として前記符号化対象領域の周囲の矩形領域のうち符号化が完了していない一の矩形領域を設定して、その矩形領域における前記予測信号、前記残差信号、前記量子化後情報、前記復号残差信号及び前記復号信号を生成した後、前記符号化対象領域の符号化済みの画像信号に対して、前記復号信号を生成した前記符号化対象領域の周囲の矩形領域の当該復号信号を利用して、その符号化対象領域における前記予測信号、前記残差信号、前記量子化後情報、前記復号残差信号及び前記復号信号をそれぞれ更新した後、前記符号化手段による再符号化を行わせることを特徴とする画像符号化プログラム。
One screen area of the input encoding target image signal is divided into predetermined rectangular areas, and the encoding target area is set as a rectangular area to be processed in the divided rectangular area. An operation for performing a predetermined in-plane prediction and generating a prediction signal for an original signal of an image belonging to a conversion target region using a decoded signal of a rectangular region around the rectangular region to be processed An image encoding program for causing a computer to execute
The computer,
Processing position control means for managing the position of the encoding target area in the one-screen area and outputting a processing position control signal for indicating the position ;
To the original signal of an image belonging to a predetermined one of the rectangular area of the rectangular area, it performs the predetermined intra prediction using the decoded signal of the rectangular area surrounding the rectangular region, a plurality of predetermined Among the prediction methods, a prediction signal in the predetermined rectangular area is generated by a prediction method specified based on the supplied prediction auxiliary information, and the prediction signal generated and the prediction used for generating the prediction signal Prediction means for outputting information indicating a method ;
From the original signal of the image in the predetermined one of the rectangular regions, and generates a Rizan difference signal by the subtracting the prediction signal supplied from the prediction unit, the prediction method supplied from the prediction means Based on the information indicated, an unused prediction method is identified from among the plurality of prediction methods, and the process of supplying the identified prediction information as prediction auxiliary information to the prediction means to generate a prediction signal is repeated. When there is no prediction method, residual signal generation / selection means for selecting a residual signal based on a predetermined evaluation method from a plurality of residual signals obtained corresponding to the plurality of prediction methods ;
Orthogonal transform is performed on the selected residual signal in the predetermined rectangular area to generate orthogonal transform coefficient information, and the orthogonal transform coefficient information is quantized to generate post-quantization information. Post-quantization information generation means;
Encoding means for performing entropy encoding on the post-quantization information in the predetermined one rectangular area;
Decoding residual signal generation means for generating a decoding residual signal by performing inverse quantization and inverse orthogonal transformation on the post-quantization information;
Adding means for adding the decoded residual signal and the prediction signal in the predetermined rectangular area to generate a decoded signal in the predetermined rectangular area;
Based on the processing position control signal from the processing position control means , based on a predetermined rule whether or not to perform the prediction process again on the rectangular area where the prediction signal has already been generated and encoded. to function as a re-predictive control means that controls Te, wherein the re-predictive control unit, the prediction signal at the encoding target area by setting the encoding target area as the first predetermined one of the rectangular region, The residual signal, the post-quantization information, the decoded residual signal, and the decoded signal are generated, and then encoding is completed among the rectangular regions around the encoding target region as the predetermined one rectangular region After setting one rectangular area that has not been generated and generating the prediction signal, the residual signal, the post-quantization information, the decoded residual signal, and the decoded signal in the rectangular area, the encoding target area Sign of For the encoded image signal, using the decoded signal in the rectangular area around the encoding target area that generated the decoded signal, the prediction signal in the encoding target area, the residual signal, An image encoding program, wherein after the quantization, the decoded residual signal, and the decoded signal are updated, re-encoding is performed by the encoding unit.
符号化対象の画像信号の一画面領域を所定の矩形領域毎に分割し、符号化対象領域を、分割された前記矩形領域において処理すべき対象となっている矩形領域とし、前記符号化対象領域に属する画像の原信号に対して、前記処理すべき対象となっている矩形領域の周囲の矩形領域の復号信号を利用して所定の面内予測を行って符号化して得られた符号化ビットストリームに対して復号動作を行って、復号した画像信号を出力する画像復号装置であって、
前記符号化ビットストリームから、前記各矩形領域における残差信号に対して直交変換及び逆量子化を施して得られた量子化後情報を少なくとも復号するエントロピー復号手段と、
復号された前記量子化後情報に対して、逆量子化及び逆直交変換処理を施して各矩形領域の復号残差信号を生成する復号残差信号生成手段と、
復号信号を生成する復号対象の矩形領域の位置を管理し、この位置を示すための処理位置制御信号を出力する処理位置制御手段と、
前記処理位置制御手段よりの処理位置制御信号に基づき現在復号対象となっている矩形領域の位置を特定し、その復号対象となっている矩形領域の周囲の領域の復号信号を用いて所定の面内予測を行うと共に、予め定められた複数の予測方法のうち、供給された予測補助情報に基づいて特定される予測方法によって前記矩形領域における予測信号を生成し、生成した予測信号と、この予測信号の生成に用いた予測方法を示す情報とを出力する予測手段と、
前記予測信号と前記復号残差信号とを加算して前記復号信号を生成する加算手段と、
既に前記予測信号を生成した矩形領域に対して、再度予測処理を実行するか否かを所定のルールに基づいて制御する再予測制御手段と
を有し、前記再予測制御手段により前記予測手段、前記復号残差信号生成手段及び前記加算手段を制御して、前記復号対象となっている矩形領域における前記予測信号、前記復号残差信号及び前記復号信号を生成させ、続いて前記復号対象となっている矩形領域の周囲の矩形領域のうち復号が完了していない一の矩形領域を設定して、その矩形領域における前記予測信号、前記復号残差信号及び前記復号信号を生成させた後、前記復号対象となっている矩形領域の画像信号に対して、前記復号信号を生成した前記周囲の矩形領域の当該復号信号を用いて、その復号対象となっている矩形領域における前記予測信号、前記復号残差信号及び前記復号信号をそれぞれ更新することを特徴とする画像復号装置。
One screen area of the image signal to be encoded is divided into predetermined rectangular areas, and the encoding target area is a rectangular area to be processed in the divided rectangular area, and the encoding target area A coded bit obtained by performing a predetermined in-plane prediction using a decoded signal of a rectangular area around the rectangular area to be processed with respect to an original signal of an image belonging to An image decoding apparatus that performs a decoding operation on a stream and outputs a decoded image signal,
Entropy decoding means for decoding at least post-quantization information obtained by performing orthogonal transform and inverse quantization on the residual signal in each rectangular region from the encoded bitstream;
Decoding residual signal generating means for generating a decoding residual signal of each rectangular region by performing inverse quantization and inverse orthogonal transform processing on the decoded post-quantization information;
Processing position control means for managing the position of a rectangular area to be decoded for generating a decoded signal and outputting a processing position control signal for indicating the position ;
Based on the processing position control signal from the processing position control means, the position of the rectangular area that is currently the decoding target is specified, and a predetermined surface is used by using the decoding signal of the area around the rectangular area that is the decoding target. The prediction signal in the rectangular area is generated by a prediction method specified based on the supplied prediction auxiliary information among a plurality of predetermined prediction methods, and the generated prediction signal and the prediction Prediction means for outputting information indicating a prediction method used for signal generation ;
Adding means for adding the prediction signal and the decoded residual signal to generate the decoded signal;
Re-prediction control means for controlling whether or not to execute the prediction process again on the rectangular area that has already generated the prediction signal based on a predetermined rule, and the prediction means by the re-prediction control means, The decoding residual signal generating means and the adding means are controlled to generate the prediction signal, the decoding residual signal, and the decoding signal in the rectangular area to be decoded, and subsequently become the decoding target. Setting one rectangular area that has not been decoded among rectangular areas around the rectangular area, and generating the prediction signal, the decoded residual signal, and the decoded signal in the rectangular area, For the image signal of the rectangular area to be decoded, the prediction in the rectangular area to be decoded is performed using the decoded signal of the surrounding rectangular area that has generated the decoded signal. An image decoding apparatus that updates a signal, the decoded residual signal, and the decoded signal, respectively.
前記再予測制御手段は、
前記復号対象となっている矩形領域の周囲の矩形領域のうち復号が完了していないすべての周囲の矩形領域を順次に設定して、各矩形領域における前記予測信号、前記復号残差信号及び前記復号信号をそれぞれ生成した後、前記復号対象となっている矩形領域の復号済みの画像信号に対して、前記復号対象となっている矩形領域の周囲の各矩形領域の当該復号信号を用いて、その復号対象となっている矩形領域における前記予測信号、前記復号残差信号及び前記復号信号をそれぞれ更新することを特徴とする請求項5記載の画像復号装置。
The re-prediction control means includes
By sequentially setting all surrounding rectangular areas that have not been decoded among the rectangular areas around the rectangular area to be decoded, the prediction signal, the decoding residual signal, and the After generating each decoded signal, for the decoded image signal of the rectangular area to be decoded, using the decoded signal of each rectangular area around the rectangular area to be decoded, The image decoding apparatus according to claim 5, wherein the prediction signal, the decoded residual signal, and the decoded signal in the rectangular area to be decoded are updated.
前記再予測制御手段は、
前記復号対象となっている矩形領域における前記予測信号、前記復号残差信号及び前記復号信号の更新と、前記復号対象となっている矩形領域の周囲の矩形領域のうち復号が完了していない周囲の矩形領域における前記予測信号、前記復号残差信号及び前記復号信号の更新とを、設定した回数だけ繰り返し行わせることを特徴とする請求項6記載の画像復号装置。
The re-prediction control means includes
The prediction signal, the decoding residual signal, and the decoding signal in the rectangular area to be decoded are updated, and the surroundings of the rectangular area around the rectangular area to be decoded that have not been decoded The image decoding apparatus according to claim 6, wherein the prediction signal, the decoded residual signal, and the update of the decoded signal in the rectangular area are repeatedly performed a set number of times.
請求項1記載の画像符号化装置又は請求項4記載の画像符号化プログラムで動作するコンピュータにより生成された符号化ビットストリームに対して復号動作を行って、復号した画像信号を出力する画像復号処理をコンピュータに実行させる画像復号プログラムであって、
前記コンピュータを、
前記符号化ビットストリームから、前記各矩形領域における残差信号に対して直交変換及び逆量子化を施して得られた量子化後情報を少なくとも復号するエントロピー復号手段と、
復号された前記量子化後情報に対して、逆量子化及び逆直交変換処理を施して各矩形領域の復号残差信号を生成する復号残差信号生成手段と、
復号信号を生成する復号対象の矩形領域の位置を管理し、この位置を示すための処理位置制御信号を出力する処理位置制御手段と、
前記処理位置制御手段よりの処理位置制御信号に基づき現在復号対象となっている矩形領域の位置を特定し、その復号対象となっている矩形領域の周囲の領域の復号信号を用いて所定の面内予測を行うと共に、予め定められた複数の予測方法のうち、供給された予測補助情報に基づいて特定される予測方法によって前記矩形領域における予測信号を生成し、生成した予測信号と、この予測信号の生成に用いた予測方法を示す情報とを出力する予測手段と、
前記予測信号と前記復号残差信号とを加算して前記復号信号を生成する加算手段と、
既に前記予測信号を生成した矩形領域に対して、再度予測処理を実行するか否かを所定のルールに基づいて制御する再予測制御手段と
して機能させ、前記再予測制御手段により前記予測手段、前記復号残差信号生成手段及び前記加算手段を制御して、前記復号対象となっている矩形領域における前記予測信号、前記復号残差信号及び前記復号信号を生成させ、続いて前記復号対象となっている矩形領域の周囲の矩形領域のうち復号が完了していない一の矩形領域を設定して、その矩形領域における前記予測信号、前記復号残差信号及び前記復号信号を生成させた後、前記復号対象となっている矩形領域の画像信号に対して、前記復号信号を生成した前記周囲の矩形領域の当該復号信号を用いて、その復号対象となっている矩形領域における前記予測信号、前記復号残差信号及び前記復号信号をそれぞれ更新することを特徴とする画像復号プログラム。
An image decoding process for performing a decoding operation on an encoded bitstream generated by a computer operating with the image encoding apparatus according to claim 1 or the image encoding program according to claim 4 and outputting a decoded image signal An image decoding program for causing a computer to execute
The computer,
Entropy decoding means for decoding at least post-quantization information obtained by performing orthogonal transform and inverse quantization on the residual signal in each rectangular region from the encoded bitstream;
Decoding residual signal generating means for generating a decoding residual signal of each rectangular region by performing inverse quantization and inverse orthogonal transform processing on the decoded post-quantization information;
Processing position control means for managing the position of a rectangular area to be decoded for generating a decoded signal and outputting a processing position control signal for indicating the position ;
Based on the processing position control signal from the processing position control means, the position of the rectangular area that is currently the decoding target is specified, and a predetermined surface is used by using the decoding signal of the area around the rectangular area that is the decoding target. The prediction signal in the rectangular area is generated by a prediction method specified based on the supplied prediction auxiliary information among a plurality of predetermined prediction methods, and the generated prediction signal and the prediction Prediction means for outputting information indicating a prediction method used for signal generation ;
Adding means for adding the prediction signal and the decoded residual signal to generate the decoded signal;
It functions as a re-prediction control means for controlling whether or not to execute the prediction process again on the rectangular area that has already generated the prediction signal , based on a predetermined rule, and the prediction means by the re-prediction control means Controlling the decoded residual signal generating means and the adding means to generate the prediction signal, the decoded residual signal, and the decoded signal in the rectangular area that is the decoding target; After setting the one rectangular area that has not been decoded among the rectangular areas around the rectangular area that is, and generating the prediction signal, the decoded residual signal, and the decoded signal in the rectangular area, For the image signal in the rectangular area that is the decoding target, the decoded signal in the surrounding rectangular area that generated the decoded signal is used to An image decoding program that updates the prediction signal, the decoded residual signal, and the decoded signal, respectively.
JP2008122920A 2008-05-09 2008-05-09 Image encoding device, image encoding program, image decoding device, and image decoding program Expired - Fee Related JP4831114B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008122920A JP4831114B2 (en) 2008-05-09 2008-05-09 Image encoding device, image encoding program, image decoding device, and image decoding program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008122920A JP4831114B2 (en) 2008-05-09 2008-05-09 Image encoding device, image encoding program, image decoding device, and image decoding program

Publications (2)

Publication Number Publication Date
JP2009272972A JP2009272972A (en) 2009-11-19
JP4831114B2 true JP4831114B2 (en) 2011-12-07

Family

ID=41439113

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008122920A Expired - Fee Related JP4831114B2 (en) 2008-05-09 2008-05-09 Image encoding device, image encoding program, image decoding device, and image decoding program

Country Status (1)

Country Link
JP (1) JP4831114B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2938073A1 (en) * 2014-04-24 2015-10-28 Thomson Licensing Methods for encoding and decoding a picture and corresponding devices

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2056606A1 (en) * 2006-07-28 2009-05-06 Kabushiki Kaisha Toshiba Image encoding and decoding method and apparatus

Also Published As

Publication number Publication date
JP2009272972A (en) 2009-11-19

Similar Documents

Publication Publication Date Title
JP7343573B2 (en) Apparatus and method for dequantization
CN114650419B (en) Encoder, decoder and corresponding methods for intra prediction
JP4927207B2 (en) Encoding method, decoding method and apparatus
JP6164600B2 (en) Divided block encoding method in video encoding, divided block decoding method in video decoding, and recording medium for realizing the same
JP4844449B2 (en) Moving picture encoding apparatus, method, program, moving picture decoding apparatus, method, and program
JP2021036676A (en) Multidimensional quantization techniques for video coding/decoding systems
KR102140331B1 (en) Method for intra prediction and apparatus thereof
JP2010268259A (en) Image processing device and method, and program
JP2010016454A (en) Image encoding apparatus and method, image decoding apparatus and method, and program
JPWO2006073116A1 (en) VIDEO ENCODING METHOD AND DEVICE, VIDEO DECODING METHOD AND DEVICE, ITS PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM
CN104685874A (en) Devices and methods for processing of partition mode in high efficiency video coding
JP2010035137A (en) Image processing device and method, and program
CN104041038A (en) Method for encoding and decoding images, encoding and decoding device, and corresponding computer programs
JP4762938B2 (en) Data embedding device, data extracting device, data embedding method, and data extracting method
KR20150133825A (en) Video-encoding device, video-encoding method, and program
JP2022514921A (en) Methods and equipment for the interaction between intra-prediction mode and block difference pulse code modulation mode
JP2007013298A (en) Image coding apparatus
JP2022501870A (en) Video coding and decoding
JP2007235944A (en) Method and system for selecting modes for encoding macroblocks in sequence of frames of video
TWI776072B (en) Method, apparatus and system for encoding and decoding a transformed block of video samples
WO2016194380A1 (en) Moving image coding device, moving image coding method and recording medium for storing moving image coding program
JP4831114B2 (en) Image encoding device, image encoding program, image decoding device, and image decoding program
CN112740691A (en) Method and device for encoding and decoding a data stream representing at least one image
KR101668133B1 (en) Method for predicting a block of image data, decoding and coding devices implementing said method
US20150237345A1 (en) Video coding device, video coding method, and video coding program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100624

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100909

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110608

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110614

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110802

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110905

R151 Written notification of patent or utility model registration

Ref document number: 4831114

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140930

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140930

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140930

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees