JP2005348176A - Image processor - Google Patents

Image processor Download PDF

Info

Publication number
JP2005348176A
JP2005348176A JP2004166328A JP2004166328A JP2005348176A JP 2005348176 A JP2005348176 A JP 2005348176A JP 2004166328 A JP2004166328 A JP 2004166328A JP 2004166328 A JP2004166328 A JP 2004166328A JP 2005348176 A JP2005348176 A JP 2005348176A
Authority
JP
Japan
Prior art keywords
information
pixel
pixel block
decoding
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004166328A
Other languages
Japanese (ja)
Inventor
Takashi Masuno
貴司 増野
Tatsuro Shigesato
達郎 重里
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2004166328A priority Critical patent/JP2005348176A/en
Publication of JP2005348176A publication Critical patent/JP2005348176A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To reduce a huge line memory for vertical filter processing in an image processor and to reduce power consumption for filter processing. <P>SOLUTION: The image processor is constituted so that it comprises a post filter 2 having a vertical filter part which outputs information about at least a part of pixel groups including a pixel group in the vicinity of a vertical boundary between a decoding object pixel block and a vertical pixel block among pixel groups consisting at least a part of the decoding object pixel block, the decoding object pixel block adjacent in the perpendicular direction and the vertical pixel block as distortion correction pixel information and an information for display storage part 3 which holds the distortion correction pixel information outputted from the post filter, pieces of encoding information about a decoding object image frame consisting of a plurality of pixel blocks are sequentially inputted in a decoding part 1 by unit of pixel block as the encoding information about the decoding object pixel block and image frame information for display constituted of pieces of distortion correction pixel information outputted for each of the plurality of pixel blocks are held in the information for display recording part 3. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、画像復号装置における画像復号化技術に関し、より詳しくは、所定の画素ブロック単位で直交変換及び量子化処理する画像符号化方式の圧縮符号データを復号化した後に行う表示画像のフィルタ処理技術に関するものである。   The present invention relates to an image decoding technique in an image decoding apparatus, and more specifically, a display image filtering process performed after decoding compressed code data of an image encoding method that performs orthogonal transform and quantization processing in units of predetermined pixel blocks. It is about technology.

MPEG(Moving Picture Experts Group)等の画像圧縮方式を用いた地上波デジタルテレビジョン放送の規格化が進められており、安価で低消費電力なMPEG復号装置が求められている。   The standardization of terrestrial digital television broadcasting using an image compression method such as MPEG (Moving Picture Experts Group) is underway, and an inexpensive and low power consumption MPEG decoding device is required.

従来方式のMPEG復号装置では、予測符号化の予測精度、直交変換及び量子化/逆量子化の過程で生じた歪や視覚上ノイズを除去するために、表示デバイスに画像情報を出力する時点で2次元のブロッック間歪除去フィルタ処理やモスキートノイズフィルタ処理を施していた(例えば、非特許文献1参照)。この2次元処理での垂直方向のフィルタには、垂直方向のフィルタタップ数分のラインメモリが用いられ、MPEG復号半導体デバイス内に内蔵されている。   In a conventional MPEG decoding apparatus, when image information is output to a display device in order to remove prediction accuracy of predictive encoding, distortion and visual noise generated in the process of orthogonal transform and quantization / inverse quantization. Two-dimensional inter-block distortion removal filter processing and mosquito noise filter processing have been performed (for example, see Non-Patent Document 1). As the vertical filter in the two-dimensional processing, as many line memories as the number of vertical filter taps are used and are built in the MPEG decoding semiconductor device.

従来のポストフィルタを含むMPEG復号装置について説明する。図15に示された従来の典型的なMPEG復号装置は、入力バッファ111と、逆可変長符号化部(iVLD)112と、逆量子化部113と、逆離散コサイン変換部(iDCT)114と、動き補償予測部115と、加算器116と、フレームメモリ105と、ポストフィルタ102と、画像出力処理部104とを備えている。このMPEG復号装置では、画像フレームを複数に分割してなる複数の画素ブロックに対して、画素ブロック単位ごとに、復号対象画素ブロックの符号化情報(符号信号)が入力バッファ111に入力される。符号信号には、復号対象画素ブロックの復号化情報を再現するために、符号化差分画像情報と、予測モード情報と、動きベクトル情報と、量子化粒度(量子化ステップ)情報とが含まれている。   An MPEG decoding apparatus including a conventional post filter will be described. A conventional typical MPEG decoding apparatus shown in FIG. 15 includes an input buffer 111, an inverse variable length encoding unit (iVLD) 112, an inverse quantization unit 113, an inverse discrete cosine transform unit (iDCT) 114, A motion compensation prediction unit 115, an adder 116, a frame memory 105, a post filter 102, and an image output processing unit 104. In this MPEG decoding apparatus, the encoding information (code signal) of the decoding target pixel block is input to the input buffer 111 for each pixel block for a plurality of pixel blocks obtained by dividing an image frame into a plurality of pixels. The encoded signal includes encoded difference image information, prediction mode information, motion vector information, and quantization granularity (quantization step) information in order to reproduce the decoding information of the decoding target pixel block. Yes.

入力バッファ111へ入力された符号化情報に含まれる符号化差分画像情報及び量子化粒度情報は、逆可変長符号化部112へ出力され、符号化情報に含まれる予測モード情報及び動きベクトル情報は、動き補償予測部115へ出力される。逆可変長符号化部112は、入力バッファ111からの符号化情報を逆可変長符号化する。逆可変長符号化された符号化差分画像情報と量子化粒度情報とは逆量子化部113へ出力される。逆量子化部113は、逆可変長符号化部112からの量子化粒度情報を参照して、逆可変長符号化部112で逆可変長符号化された符号化差分画像情報を逆量子化する。逆量子化された符号化差分画像情報は、逆離散コサイン変換部114へ出力される。逆離散コサイン変換部114は、逆量子化された符号化差分画像情報を逆離散コサイン変換し、逆量子化された符号化差分画像情報から復号対象画素ブロックに対する復号化差分画像情報を生成する。復号化差分画像情報は、加算器116に出力される。動き補償予測部115は、動き補償モード情報及び動きベクトル情報を参照して参照画素アドレスを算出し、算出された参照画素アドレスに基づいて、既に処理されてフレームメモリ105に保持されている参照画像フレームの情報から予測画像情報を抽出する。予測画像情報は、加算器116に出力される。加算器116は、逆離散コサイン変換部114からの差分画像情報と動き補償予測部115からの予測画像情報とに基づいて、復号対象画素ブロックの復号化情報を生成する。復号化情報は、フレームメモリ105に出力される。フレームメモリ105は、加算器116からの復号化情報を追加的に保持する。   The encoded differential image information and the quantization granularity information included in the encoded information input to the input buffer 111 are output to the inverse variable length encoding unit 112, and the prediction mode information and the motion vector information included in the encoded information are And output to the motion compensation prediction unit 115. The inverse variable length encoding unit 112 performs inverse variable length encoding on the encoded information from the input buffer 111. The encoded variable image information and the quantization granularity information subjected to inverse variable length encoding are output to the inverse quantization unit 113. The inverse quantization unit 113 refers to the quantization granularity information from the inverse variable length encoding unit 112, and inversely quantizes the encoded differential image information that has been inverse variable length encoded by the inverse variable length encoding unit 112. . The inversely quantized encoded difference image information is output to the inverse discrete cosine transform unit 114. The inverse discrete cosine transform unit 114 performs inverse discrete cosine transform on the inversely quantized encoded difference image information, and generates decoded difference image information for the decoding target pixel block from the inversely quantized encoded difference image information. The decoded difference image information is output to the adder 116. The motion compensation prediction unit 115 calculates a reference pixel address with reference to the motion compensation mode information and motion vector information, and a reference image that has already been processed and held in the frame memory 105 based on the calculated reference pixel address. Predictive image information is extracted from the frame information. The predicted image information is output to the adder 116. The adder 116 generates decoding information of the decoding target pixel block based on the difference image information from the inverse discrete cosine transform unit 114 and the prediction image information from the motion compensation prediction unit 115. The decoding information is output to the frame memory 105. The frame memory 105 additionally holds the decoding information from the adder 116.

復号対象画像フレームを構成する全画素ブロックに対して、上記の処理を画素ブロックごとに繰り返すことによって、フレームメモリ105には、最終的には復号対象画像フレームの全体に関するフレーム画像情報が保持されることとなる。   By repeating the above processing for all pixel blocks constituting the decoding target image frame for each pixel block, the frame memory 105 finally holds frame image information relating to the entire decoding target image frame. It will be.

フレームメモリ105には、図16の左図に示されたように、動き補償予測を行うために必要な複数の画像フレームが、フレーム単位で保持されている。また、各画像フレームは、図16の右図に示されたように、画像フレームを分割して画素ブロック(図16の右図に示された区画)単位で保持されている。フレームメモリ105に保持されている画像フレームの情報は、所定の表示フレームレートで順次に読み出されてポストフィルタ102に出力される。ポストフィルタ102は、読み出された画像フレームにおける画素ブロック間歪を補正して、補正された画像フレームの情報を画像出力処理部104に出力する。補正された画像フレームの情報は、画像出力処理部104で所定のTV信号方式に変換されて出力信号として出力される。   In the frame memory 105, as shown in the left diagram of FIG. 16, a plurality of image frames necessary for performing motion compensation prediction are held in units of frames. Further, as shown in the right diagram of FIG. 16, each image frame is divided and held in units of pixel blocks (sections shown in the right diagram of FIG. 16). Image frame information held in the frame memory 105 is sequentially read out at a predetermined display frame rate and output to the post filter 102. The post filter 102 corrects the inter-pixel block distortion in the read image frame, and outputs the corrected image frame information to the image output processing unit 104. The corrected image frame information is converted into a predetermined TV signal system by the image output processing unit 104 and output as an output signal.

ここで、従来の典型的なポストフィルタについて詳しく説明する。フレームメモリ105から読み出された画像情報は、図17に示されたように、ポストフィルタ102内の歪検出部123で、画素ブロックの境界における画素ブロック間歪の有無が検査され、検査結果に応じて、水平フィルタ125の水平フィルタ係数を調整して画素ブロック間歪を補正する。これにより視覚的に画像の歪みが軽減する。   Here, a conventional typical post filter will be described in detail. As shown in FIG. 17, the image information read from the frame memory 105 is inspected for the presence or absence of inter-pixel block distortion at the pixel block boundary by the distortion detection unit 123 in the post filter 102, and the inspection result is obtained. Accordingly, the horizontal filter coefficient of the horizontal filter 125 is adjusted to correct inter-pixel block distortion. This visually reduces image distortion.

歪検出部123は、具体的には、図18に示された構成である。歪み検出部123は、水平に隣接する2つの画素ブロックにおいて、画素ブロック境界を挟んで左右に隣接する画素に対する差分絶対値が、一方の画素ブロック内における境界近傍で隣接する画素に対する差分絶対値の平均値より大きく、他方の画素ブロックにおける境界近傍で隣接する画素に対する差分絶対値の平均値より大きく、かつ所定の閾値よりも大きい場合に画素ブロック間に視覚上の歪があると検出する。   Specifically, the distortion detection unit 123 has the configuration shown in FIG. In the two horizontally adjacent pixel blocks, the distortion detection unit 123 calculates the absolute value of the difference between pixels adjacent to the left and right across the pixel block boundary, and the difference absolute value of the adjacent pixels near the boundary in one pixel block. It is detected that there is a visual distortion between the pixel blocks when the average value is larger than the average value of the absolute difference values for adjacent pixels in the vicinity of the boundary in the other pixel block and larger than a predetermined threshold value.

ここで、図18と図21を用いて歪検出部の動作を具体的に説明する。図21に示すように、水平方向に隣接する左側の画素ブロック及び右側の画素ブロックにおける同一ライン上の画素の画素値をP00〜P07及びP10〜P17とする。Data Inから入力されたP00〜P07及びP10〜P17は、2段構成のシフトレジスタ148a及び148bに順次保持される。減算器141では、水平に隣接する画素間の画素値の差が計算され、絶対値化回路(ABS)142ではその差が絶対値化される。具体的には、絶対値化回路142からは、差分絶対値|P01−P02|、|P02−P03|、・・・、|P07−P10|、・・・、|P16−P17|が順次に出力される。   Here, the operation of the distortion detection unit will be specifically described with reference to FIGS. As shown in FIG. 21, the pixel values of pixels on the same line in the left pixel block and the right pixel block adjacent in the horizontal direction are P00 to P07 and P10 to P17. P00 to P07 and P10 to P17 input from Data In are sequentially held in two-stage shift registers 148a and 148b. The subtractor 141 calculates a difference in pixel value between horizontally adjacent pixels, and the absolute value circuit (ABS) 142 converts the difference into an absolute value. Specifically, from the absolute value conversion circuit 142, the absolute difference values | P01-P02 |, | P02-P03 |,..., | P07-P10 |,. Is output.

この絶対値化回路142の出力である差分絶対値は、5段のシフトレジスタ148g、148f、148e、148d及び148cで順次保持される。例えば、5段のシフトレジスタ148g、148f、148e、148d及び148cには、それぞれ、|P01−P02|、|P02−P03|、|P03−P04|、|P04−P05|及び|P05−P06|が保持される。加算器149a及び除算器146aを介して、水平に隣接する画素に対する差分絶対値の平均が求められる。また、同様に、加算器149b及び除算器146bを介して、水平に隣接する画素に対する差分絶対値の平均が求められる。なお、シフトレジスタ148h、148i及び148jには、それぞれ、シフトレジスタ148c、148d及び148eと同じ差分絶対値が保持されている。   The absolute difference value, which is the output of the absolute value circuit 142, is sequentially held in five stages of shift registers 148g, 148f, 148e, 148d and 148c. For example, five-stage shift registers 148g, 148f, 148e, 148d, and 148c have | P01-P02 |, | P02-P03 |, | P03-P04 |, | P04-P05 |, and | P05-P06 | Is retained. Through the adder 149a and the divider 146a, an average of absolute difference values for horizontally adjacent pixels is obtained. Similarly, the average of absolute difference values for horizontally adjacent pixels is obtained via the adder 149b and the divider 146b. The shift registers 148h, 148i, and 148j hold the same absolute difference values as the shift registers 148c, 148d, and 148e, respectively.

水平方向に配列した画素の画素値が順次に、入力され、シフトレジスタ148g、148f、148e、148d及び148cに保持される差分絶対値が、それぞれ、|P05−P06|、|P06−P07|、|P07−P10|、|P10−P11|及び|P11−P12|であるとき、除算器146aからの出力は、(|P10−P11|+|P11−P12|)/2となり、除算器146bからの出力は、(|P05−P06|+|P06−P07|)/2となる。これらは、各ブロック内の境界近傍における画素に対する差分絶対値の平均値、つまり、各ブロック内の変化の大きさを指標する値である。また、このときのシフトレジスタ148iからの出力は、画素ブロックの境界を挟む水平に隣接する2つの画素の差分絶対値|P07−P10|であり、画素ブロック間の段差の大きさを指標する値である。比較器144では、|P07−P10|と閾値レジスタ143に設定されている歪検出閾値とを比較し、|P07−P10|が歪検出閾値より大きければ、論理和回路147に真値を示す信号を出力し、|P07−P10|が歪検出閾値より小さければ、論理和回路147に偽値を示す信号を出力する。また、比較器145a及び145bでは、それぞれ、(|P10−P11|+|P11−P12|)/2及び(|P05−P06|+|P06−P07|)/2と|P07−P10|とを比較し、|P07−P10|が大きければ、論理和回路147に真値を示す信号を出力し、|P07−P10|が歪検出閾値より小さければ、論理和回路147に偽値を示す信号を出力する。論理和回路147では、比較器144、145a及び145bからの信号が全て真値を示す信号であれば、歪検出結果出力として、真値を示す信号を出力し、少なくとも1つが偽値を示す信号であれば、偽値を示す信号を出力する。   The pixel values of the pixels arranged in the horizontal direction are sequentially input, and the difference absolute values held in the shift registers 148g, 148f, 148e, 148d, and 148c are | P05-P06 |, | P06-P07 | When | P07-P10 |, | P10-P11 |, and | P11-P12 |, the output from the divider 146a is (| P10-P11 | + | P11-P12 |) / 2, and from the divider 146b. The output of (| P05−P06 | + | P06−P07 |) / 2 is obtained. These are average values of absolute difference values for pixels near the boundary in each block, that is, values indicating the magnitude of change in each block. Also, the output from the shift register 148i at this time is the difference absolute value | P07−P10 | between two horizontally adjacent pixels across the boundary of the pixel block, and is a value indicating the size of the step between the pixel blocks. It is. The comparator 144 compares | P07-P10 | with the distortion detection threshold set in the threshold register 143. If | P07-P10 | is larger than the distortion detection threshold, a signal indicating a true value to the OR circuit 147. If | P07-P10 | is smaller than the distortion detection threshold value, a signal indicating a false value is output to the OR circuit 147. In the comparators 145a and 145b, (| P10-P11 | + | P11-P12 |) / 2 and (| P05-P06 | + | P06-P07 |) / 2 and | P07-P10 | If | P07-P10 | is large, a signal indicating a true value is output to the OR circuit 147, and if | P07-P10 | is smaller than the distortion detection threshold, a signal indicating a false value is output to the OR circuit 147. Output. In the OR circuit 147, if the signals from the comparators 144, 145a, and 145b are all signals indicating true values, a signal indicating true values is output as a distortion detection result output, and at least one of the signals indicates a false value. If so, a signal indicating a false value is output.

図19に示したように、水平フィルタ125では、フィルタ係数決定部124で選択された水平フィルタ係数セットを参照して、復号化されたフレーム画像に対して、水平画像ラインごとに、水平フィルタ処理を行う。水平フィルタ125からの画像情報は、垂直フィルタ126へ出力される。   As illustrated in FIG. 19, the horizontal filter 125 refers to the horizontal filter coefficient set selected by the filter coefficient determination unit 124 and performs horizontal filter processing for each horizontal image line on the decoded frame image. I do. Image information from the horizontal filter 125 is output to the vertical filter 126.

垂直フィルタ126は、ラインメモリ131b〜131eと、乗算器133a〜133eと、乗算器133a〜133eの出力を加算する加算器134と、シフタ135とを備えている。垂直フィルタ126では、水平画像ラインごとに入力される画像情報は、垂直フィルタのタップ数分のラインメモリ131b〜131eに順次に保持される。各ラインメモリ131a〜131eには、画像フレームを構成する水平画素数分の画素に関する画像情報を格納できる大きさが必要であった。なお、最後段以外のラインメモリ131b〜131dは、次水平画像ライン用のラインメモリ131c〜131eと垂直フィルタ演算回路とに接続されており、一方、最後段のラインメモリ131eは垂直フィルタ演算回路に接続されている。水平フィルタ処理された画像情報は、各ラインメモリ131b〜131eで1ライン分づつ遅延させられて蓄積される。つまり、水平フィルタ125からの出力がk番目の水平画像ラインに関する画像情報であれば、ラインメモリ131bには、(k−1)番目の水平画像ラインに関する画素情報が蓄積され、ラインメモリ131cには、(k−2)番目の水平画像ラインに関する画像情報が蓄積され、ラインメモリ131dには、(k−3)番目の水平画像ラインに関する画像情報が蓄積され、ラインメモリ131eには、(k−4)番目の水平画像ラインに関する画像情報が蓄積される。   The vertical filter 126 includes line memories 131b to 131e, multipliers 133a to 133e, an adder 134 for adding the outputs of the multipliers 133a to 133e, and a shifter 135. In the vertical filter 126, image information input for each horizontal image line is sequentially held in the line memories 131b to 131e for the number of taps of the vertical filter. Each of the line memories 131a to 131e needs to be large enough to store image information related to the number of horizontal pixels constituting the image frame. The line memories 131b to 131d other than the last stage are connected to the line memories 131c to 131e for the next horizontal image line and the vertical filter arithmetic circuit, while the last line memory 131e is connected to the vertical filter arithmetic circuit. It is connected. The image information subjected to the horizontal filter processing is accumulated by being delayed by one line in each of the line memories 131b to 131e. That is, if the output from the horizontal filter 125 is image information relating to the kth horizontal image line, pixel information relating to the (k−1) th horizontal image line is stored in the line memory 131b, and the line memory 131c is stored. , Image information related to the (k-2) th horizontal image line is stored, image information related to the (k-3) th horizontal image line is stored in the line memory 131d, and (k− 4) Image information relating to the horizontal image line is accumulated.

乗算器133aにおいては、k番目の水平画像ラインに関する画像情報に係数レジスタ132aに保持された係数が乗算され、同様に、乗算器133bにおいては(k−1)番目の水平画像ラインに関する画像情報に係数レジスタ132bに保持されたフィルタ係数が乗算され、乗算器133cにおいては(k−2)番目の水平画像ラインに関する画像情報に係数レジスタ132cに保持された係数が乗算され、乗算器133dにおいては(k−3)番目の水平画像ラインに関する画像情報に係数レジスタ132dに保持された係数が乗算され、乗算器133eにおいては(k−4)番目の水平画像ラインに関する画像情報に係数レジスタ132eに保持されたフィルタ係数が乗算される。乗算器133a〜133eからの出力は加算器134において加算された後に、シフタ135を介して画像出力処理部104へ出力される。   The multiplier 133a multiplies the image information related to the kth horizontal image line by the coefficient held in the coefficient register 132a. Similarly, the multiplier 133b converts the image information related to the (k−1) th horizontal image line to the image information related to the (k−1) th horizontal image line. The filter coefficient held in the coefficient register 132b is multiplied. In the multiplier 133c, the image information related to the (k-2) th horizontal image line is multiplied by the coefficient held in the coefficient register 132c, and in the multiplier 133d ( The image information related to the (k-3) th horizontal image line is multiplied by the coefficient held in the coefficient register 132d. In the multiplier 133e, the image information related to the (k-4) th horizontal image line is held in the coefficient register 132e. Multiplied by the filter coefficients. Outputs from the multipliers 133 a to 133 e are added by the adder 134 and then output to the image output processing unit 104 via the shifter 135.

フィルタ係数決定部124は、歪検出部123における検出結果に応じて、水平フィルタ125での水平フィルタ処理に用いる水平フィルタ係数セット及び垂直フィルタ126での垂直フィルタ処理に用いる垂直フィルタ係数セットを選択する。具体的には、図20に示されたように、フィルタ係数決定部124は、複数の水平フィルタ係数セット及び複数の垂直フィルタ係数セットを保持する係数テーブル保持部151と、歪検出部123における歪検出結果をエンコードするエンコーダ152と、エンコーダ152からの出力に基づいて係数テーブル保持部151から1つの水平フィルタ係数セット及び1つの垂直フィルタ係数セットを選択するセレクタ153とで構成されている。図20に示された例によれば、セレクタ153によって選択された水平フィルタ係数セットの各々の係数は水平フィルタ125に出力され、一方、セレクタ153によって選択された垂直フィルタ係数セットの各々の係数は係数レジスタ132a〜132eに出力される。例えば、セレクタ153によって、係数テーブル保持部151における係数セット1又は係数セット2が選択される。この例では、ローパスフィルタとして機能させる係数セット1及びフィルタとして機能させずに透過させる係数セット2のいずれか1つが、水平フィルタ係数セット及び垂直フィルタ係数セットとして選択される。
1989年テレビジョン学会全国大会19-11.pp.467-468(july 1989)「動画像符号化におけるエッジ保存形ブロック歪み除去フィルタの検討」
The filter coefficient determination unit 124 selects a horizontal filter coefficient set used for horizontal filter processing in the horizontal filter 125 and a vertical filter coefficient set used for vertical filter processing in the vertical filter 126 according to the detection result in the distortion detection unit 123. . Specifically, as illustrated in FIG. 20, the filter coefficient determination unit 124 includes a coefficient table holding unit 151 that holds a plurality of horizontal filter coefficient sets and a plurality of vertical filter coefficient sets, and a distortion in the distortion detection unit 123. The encoder 152 includes an encoder 152 that encodes a detection result, and a selector 153 that selects one horizontal filter coefficient set and one vertical filter coefficient set from the coefficient table holding unit 151 based on an output from the encoder 152. According to the example shown in FIG. 20, each coefficient of the horizontal filter coefficient set selected by the selector 153 is output to the horizontal filter 125, while each coefficient of the vertical filter coefficient set selected by the selector 153 is It is output to the coefficient registers 132a to 132e. For example, the selector 153 selects the coefficient set 1 or the coefficient set 2 in the coefficient table holding unit 151. In this example, one of coefficient set 1 that functions as a low-pass filter and coefficient set 2 that transmits without functioning as a filter is selected as the horizontal filter coefficient set and the vertical filter coefficient set.
1989 National Congress of the Institute of Television Engineers 19-11.pp.467-468 (july 1989) "Examination of edge-preserving block distortion removal filter for video coding"

従来のMPEG復号装置で用いられるフィルタ処理方法では、垂直フィルタ処理で用いる複数のラインメモリは、フレームを構成する水平画素数分の画素データを蓄積させる必要があるため、ラインメモリの占める面積が大きく小型化を阻む要因、また半導体デバイスのコストを押し上げる要因となっていた。   In the filter processing method used in the conventional MPEG decoding apparatus, since the plurality of line memories used in the vertical filter processing are required to store pixel data for the number of horizontal pixels constituting the frame, the area occupied by the line memory is large. This was a factor that hindered miniaturization and a factor that increased the cost of semiconductor devices.

また、復号された画像情報を、所定のフレームレートで表示デバイスに出力する際に、直前に表示したフレーム画像と同一フレーム画像であっても、フィルタ処理は逐次に行わなければならず、常にフィルタ処理させる電力が必要になっていた。   Also, when the decoded image information is output to the display device at a predetermined frame rate, even if it is the same frame image as the frame image displayed immediately before, the filtering process must be performed sequentially, and the filter is always filtered. Electric power to be processed was necessary.

そこで、本発明では、画像処理装置における垂直フィルタ処理のための巨大なラインメモリを削減する。   Therefore, in the present invention, a huge line memory for vertical filter processing in the image processing apparatus is reduced.

上記の課題を解決するために、本発明に係る画像復号装置は、複数の画素からなる復号対象画素ブロックの符号化情報の入力に応じて、符号化情報を復号化して復号化情報を生成する復号部と、復号対象画素ブロックと垂直方向に隣接する垂直画素ブロックの少なくとも一部の情報を保持し、かつ復号部からの復号化情報の入力に応じて復号化情報を追加的に保持する画素保持部、及び、復号化情報と画素保持部に保持された垂直画素ブロックの少なくとも一部の情報とを含む処理ブロック情報をフィルタ処理して処理ブロック情報を修正し、復号対象画素ブロック及び垂直画素ブロックの少なくとも一部を構成する画素群のうち復号対象画素ブロックと垂直画素ブロックとの垂直境界近傍の画素群を含む少なくとも一部の画素群の情報を歪補正画素情報として出力する垂直フィルタ部を有するポストフィルタと、ポストフィルタから出力された歪補正画素情報を保持する表示用情報記憶部とを含み、復号部には、複数の画素ブロックからなる復号対象画像フレームの符号化情報が画素ブロック単位で順次に復号対象画素ブロックの符号化情報として入力され、表示用情報記録部には、複数の画素ブロックごとに出力された歪補正画素情報で構成された表示用画像フレーム情報が保持される構成である。   In order to solve the above-described problem, an image decoding apparatus according to the present invention generates decoding information by decoding encoding information in accordance with input of encoding information of a decoding target pixel block including a plurality of pixels. A pixel that holds at least part of information of a decoding unit and a vertical pixel block that is adjacent to the decoding target pixel block in the vertical direction, and additionally holds decoding information according to the input of decoding information from the decoding unit The processing block information is corrected by filtering the processing block information including the holding unit and the decoding information and at least a part of the vertical pixel block information held in the pixel holding unit, and the decoding target pixel block and the vertical pixel Distorts information on at least some of the pixel groups, including the pixel group in the vicinity of the vertical boundary between the pixel block to be decoded and the vertical pixel block, among the pixel groups that form at least a part of the block A post filter having a vertical filter unit that outputs as positive pixel information; and a display information storage unit that holds distortion correction pixel information output from the post filter. The decoding unit includes a plurality of pixel blocks to be decoded. The encoding information of the image frame is sequentially input as the encoding information of the decoding target pixel block in units of pixel blocks, and the display information recording unit is configured with distortion correction pixel information output for each of the plurality of pixel blocks. The display image frame information is held.

本発明の画像復号装置であれば、ポストフィルタにおける画素ブロック間歪の補正を画素ブロック単位の入力に応じて行えるために、ポストフィルタの垂直方向の画素ブロック間歪を補正する際に用いられるラインメモリの容量を低減することができる。   In the image decoding apparatus according to the present invention, since the distortion between the pixel blocks in the post filter can be corrected according to the input in units of pixel blocks, the line used when correcting the distortion between the pixel blocks in the vertical direction of the post filter is used. Memory capacity can be reduced.

本発明に係る画像復号装置は、上述のように、復号部と、画素保持部及び垂直フィルタ部とを備えた画素ブロック単位の入力に応じてブロック間歪の補正を行うポストフィルタと、表示用情報記憶部とを含む。ここで、復号対象画素ブロックの情報、垂直画素ブロックの情報、画素群の情報等の情報には、各画素ブロックや画素群を構成する画素に関する画素値が含まれている。なお、画素値は、例えば、モノクロ表示の場合であれば、輝度値を意味し、フルカラー表示の場合であれば、輝度成分(Y成分)の値(輝度値)及び2種類の色差成分(I成分及びQ成分、又は、Cr成分及びCb成分)の値や、3種類の色成分(R成分、G成分、B成分)の値を意味する。また、各画素ブロックの情報や画素群の情報には、更に、画素ブロック内又は画像フレーム内での位置を特定するためのアドレスが含まれていてもよい。   As described above, an image decoding apparatus according to the present invention includes a decoding unit, a post filter that corrects inter-block distortion according to an input in units of pixel blocks, a pixel holding unit, and a vertical filter unit. Information storage unit. Here, information such as information on the decoding target pixel block, information on the vertical pixel block, information on the pixel group, and the like includes pixel values relating to the pixels constituting each pixel block and pixel group. The pixel value means, for example, a luminance value in the case of monochrome display, and a luminance component (Y component) value (luminance value) and two types of color difference components (I) in the case of full color display. Component and Q component, or Cr component and Cb component) and three types of color components (R component, G component, and B component). The information for each pixel block and the information for the pixel group may further include an address for specifying the position in the pixel block or the image frame.

本発明のポストフィルタは、復号対象画素ブロックに対する画素ブロック間歪みの補正に必要な垂直画素ブロックの少なくとも一部の画素に関する情報を画素保持部に保持させ、復号対象画素ブロックの符号化情報と画素保持部に保持された垂直画素ブロックの少なくとも一部の情報とを含む処理ブロック情報を垂直フィルタ部に入力することによって、処理ブロック単位で垂直方向の画素ブロック間歪の補正を行う。したがって、従来の画像復号装置のように、画像フレームの水平画像ラインを構成する全画素に関する情報を保持する必要がなく、垂直方向の画素ブロック間歪を補正する際に用いられるラインメモリの容量を低減することができる。ここで、垂直画素ブロックは、復号対象画素ブロックと垂直方向に隣接する画素ブロックであり、復号対象画素ブロックより過去に復号部において復号化された画素ブロックである。   The post filter according to the present invention causes the pixel holding unit to hold information on at least some of the pixels in the vertical pixel block necessary for correcting the distortion between the pixel blocks with respect to the decoding target pixel block. By inputting processing block information including at least a part of information of the vertical pixel block held in the holding unit to the vertical filter unit, the distortion between the pixel blocks in the vertical direction is corrected in units of processing blocks. Therefore, unlike the conventional image decoding apparatus, it is not necessary to hold information about all the pixels constituting the horizontal image line of the image frame, and the capacity of the line memory used for correcting the distortion between the pixel blocks in the vertical direction is reduced. Can be reduced. Here, the vertical pixel block is a pixel block that is adjacent to the decoding target pixel block in the vertical direction, and is a pixel block that has been decoded by the decoding unit in the past from the decoding target pixel block.

垂直画素ブロックを構成する一部の画素のみの情報を蓄積する場合には、画素保持部に垂直画素ブロックを構成する全画素の情報を蓄積する場合に比べて、画素保持部に保持する情報量を低減できると共に、ポストフィルタで処理する情報量を低減できる。したがって、ポストフィルタ処理の高速化を図ることができる。   The amount of information held in the pixel holding unit when storing information on only a part of the pixels constituting the vertical pixel block compared to the case of storing information on all the pixels constituting the vertical pixel block in the pixel holding unit And the amount of information processed by the post filter can be reduced. Therefore, the post filter processing can be speeded up.

また、画像処理装置の復号部に入力される画像情報の入力フレーム数が、フレーム補間、ライン補間等によって、画像処理装置から表示装置へ出力される表示フレーム数より少ない場合には、ポストフィルタにおける消費電力を低減することができる。本発明のポストフィルタでは、入力フレーム数と同数の画像フレームに対してフィルタ処理を行い、フィルタ処理後の画像フレームに基づいて補間フレーム情報や補間ライン情報を生成できるからである。なお、従来のポストフィルタでは、処理すべき画像フレーム数が入力フレーム数に依存せず、フレーム補間、ライン補間等を行った後の最終的な表示フレームと同数の画像フレームに対してフィルタ処理を行わなければならなかった。   When the number of input frames of image information input to the decoding unit of the image processing device is smaller than the number of display frames output from the image processing device to the display device by frame interpolation, line interpolation, etc., Power consumption can be reduced. This is because the post filter according to the present invention can perform filter processing on the same number of image frames as the number of input frames and generate interpolation frame information and interpolation line information based on the image frames after the filter processing. In the conventional post filter, the number of image frames to be processed does not depend on the number of input frames, and filter processing is performed on the same number of image frames as the final display frame after frame interpolation, line interpolation, and the like. Had to be done.

また、本発明のポストフィルタは、復号対象画素ブロック及び垂直画素ブロックの少なくとも一部を構成する画素群のうち復号対象画素ブロックと垂直画素ブロックとの垂直境界近傍の画素群を含む少なくとも一部の画素群に関する歪補正画素情報を生成する。ここで、垂直境界近傍の画素群とは、復号対象画素ブロックと垂直画素ブロックとの境界に隣接する画素を意味する。なお、歪補正画素情報の生成された画素群には、垂直境界近傍画素群を構成する少なくとも1つの画素が含まれていればよい。また、歪補正画素情報の生成された画素群には、復号対象画素ブロックを構成する全画素が含まれていてもよいし、一部の画素のみが含まれていてもよい。   In addition, the post filter of the present invention includes at least a part of a pixel group in the vicinity of a vertical boundary between the decoding target pixel block and the vertical pixel block among pixel groups constituting at least a part of the decoding target pixel block and the vertical pixel block. Distortion correction pixel information relating to the pixel group is generated. Here, the pixel group in the vicinity of the vertical boundary means a pixel adjacent to the boundary between the decoding target pixel block and the vertical pixel block. Note that the pixel group in which the distortion correction pixel information is generated only needs to include at least one pixel constituting the vertical boundary neighboring pixel group. In addition, the pixel group in which the distortion correction pixel information is generated may include all the pixels constituting the decoding target pixel block, or may include only a part of the pixels.

本発明に係る画像復号装置では、垂直境界近傍の画素群が、前記復号対象画素ブロックを構成する画素と、前記垂直画素ブロックの少なくとも一部を構成する画素とを含む構成とすることができる。復号対象画像フレームを構成する全画素ブロックの復号化情報がポストフィルタに入力されて、復号対象画像フレームに対するポストフィルタ処理が完了した時点で、復号対象画像フレームに対する垂直方向の画素ブロック間歪の補正が行われていればよいため、ポストフィルタに入力される復号対象画素ブロックの復号化情報ごとに、復号対象画素ブロックを構成する全画素に対する歪補正画素情報を生成しなくてもよい。したがって、上記の構成であれば、復号対象画素ブロックの復号化情報のポストフィルタへの入力に応じて、符号対象画素ブロックを構成する全画素に対する歪補正画素情報を生成しなくても、復号対象画素ブロックより未来に処理される復号対象画素ブロックに隣接する画素ブロックの情報がポストフィルタに入力された際に、復号対象画素ブロックの全画素に対する歪補正画素情報の生成を完了させることができる。   In the image decoding apparatus according to the present invention, the pixel group in the vicinity of the vertical boundary may include a pixel that constitutes the decoding target pixel block and a pixel that constitutes at least a part of the vertical pixel block. Correction of distortion between pixel blocks in the vertical direction with respect to the decoding target image frame when the decoding information of all the pixel blocks constituting the decoding target image frame is input to the post filter and the post filter processing for the decoding target image frame is completed. Therefore, it is not necessary to generate distortion correction pixel information for all pixels constituting the decoding target pixel block for each decoding information of the decoding target pixel block input to the post filter. Therefore, with the above configuration, the decoding target can be obtained without generating distortion correction pixel information for all the pixels constituting the encoding target pixel block according to the input to the post filter of the decoding information of the decoding target pixel block. Generation of distortion correction pixel information for all the pixels of the decoding target pixel block can be completed when information on the pixel block adjacent to the decoding target pixel block to be processed in the future from the pixel block is input to the post filter.

本発明に係る画像復号装置では、ポストフィルタが、復号対象画素ブロックの復号化情報と垂直画素ブロックの情報とに基づいて、復号対象画素ブロックと垂直画素ブロックとの間の画素ブロック間歪を検出する歪検出部と、歪検出部における画素ブロック間歪の検出結果に応じて垂直フィルタ係数セットを決定するフィルタ係数決定部とを更に有し、ポストフィルタの垂直フィルタ部が、垂直フィルタ係数セットを参照して、処理ブロック情報をフィルタ処理する構成とすることができる。この構成であれば、復号対象画素ブロックの復号化情報と垂直画素ブロックの情報とに基づいて、画素ブロック間歪のない又は小さい場合と、画素ブロック間歪みの大きい場合とで、異なるフィルタ処理を行うことができる。垂直画素ブロックの情報としては、復号対象画素ブロックより前に復号化された復号部からの垂直画素ブロックの情報を用いてもよいし、画素保持部に垂直画素ブロックの全ての情報が保持されている場合には、画素保持部から抽出される垂直画素ブロックの情報を用いてもよい。   In the image decoding apparatus according to the present invention, the post filter detects distortion between pixel blocks between the decoding target pixel block and the vertical pixel block based on the decoding information of the decoding target pixel block and the information of the vertical pixel block. And a filter coefficient determining unit that determines a vertical filter coefficient set according to the detection result of the inter-pixel block distortion in the distortion detecting unit, and the vertical filter unit of the post filter includes the vertical filter coefficient set. With reference to the processing block information, it can be configured to filter. With this configuration, different filter processing is performed depending on whether the pixel block distortion is small or small and the pixel block distortion is large or small, based on the decoding information of the decoding target pixel block and the vertical pixel block information. It can be carried out. As information on the vertical pixel block, information on the vertical pixel block from the decoding unit decoded before the pixel block to be decoded may be used, or all information on the vertical pixel block is held in the pixel holding unit. If it is, information on the vertical pixel block extracted from the pixel holding unit may be used.

本発明に係る画像復号装置では、ポストフィルタが、復号対象画素ブロックの復号化情報と復号対象画素ブロックと水平に隣接する水平画素ブロックの情報とに基づいて、復号対象画素ブロックと水平画素ブロックとの間の画素ブロック間歪を検出する歪検出部と、歪検出部における画素ブロック間歪の検出結果に応じて垂直フィルタ係数セットを決定するフィルタ係数決定部とを更に有し、ポストフィルタの垂直フィルタ部が、垂直フィルタ係数セットを参照して、処理ブロック情報をフィルタ処理する構成とすることができる。この構成であれば、復号対象画素ブロックの復号化情報と水平画素ブロックの情報とに基づいて、画素ブロック間歪のない又は小さい場合と、画素ブロック間歪みの大きい場合とで、異なるフィルタ処理を行うことができる。   In the image decoding device according to the present invention, the post filter includes a decoding target pixel block and a horizontal pixel block based on decoding information on the decoding target pixel block and information on a horizontal pixel block horizontally adjacent to the decoding target pixel block. A distortion detection unit that detects inter-pixel block distortion between the first and second pixels, and a filter coefficient determination unit that determines a vertical filter coefficient set according to the detection result of the inter-pixel block distortion in the distortion detection unit. The filter unit may be configured to filter the processing block information with reference to the vertical filter coefficient set. With this configuration, different filter processing is performed depending on whether the pixel block distortion is small or small and the pixel block distortion is large or small, based on the decoding information of the decoding target pixel block and the horizontal pixel block information. It can be carried out.

本発明に係る画像復号装置では、ポストフィルタが、復号対象画素ブロックの復号化情報と画素保持部に保持された垂直画素ブロックの少なくとも一部の情報とを合成して処理ブロック情報を生成し、歪検出部及び垂直フィルタ部に出力する情報合成部を更に有する構成とすることができる。この構成であれば、復号対象画素ブロックの復号化情報と垂直画素ブロックの少なくとも一部の情報とが関連付けられて垂直フィルタ部に出力されるために、垂直フィルタ部は、簡便かつ確実に、画素ブロック間歪みの補正に必要な情報を得ることができる。例えば、処理ブロック情報が、復号対象画素ブロックの復号化情報と画素保持部に保持された垂直画素ブロックの少なくとも一部の情報とを連結した情報とすることができる。なお、垂直フィルタ部には、符号対象画素ブロックの復号化情報と垂直画素ブロックの少なくとも一部の情報とが関連付けられて入力される限りにおいて、いかなる方法で入力されてもよい。例えば、復号対象画素ブロック情報とそれに対する垂直画素ブロックの情報とを同期させて個別に垂直フィルタ部に供給する構成であってもよい。   In the image decoding device according to the present invention, the post filter generates processing block information by combining the decoding information of the decoding target pixel block and the information of at least a part of the vertical pixel block held in the pixel holding unit, An information synthesizing unit that outputs to the distortion detecting unit and the vertical filter unit may be further included. With this configuration, since the decoding information of the decoding target pixel block and the information of at least a part of the vertical pixel block are associated with each other and output to the vertical filter unit, the vertical filter unit simply and reliably Information necessary for correcting the distortion between blocks can be obtained. For example, the processing block information can be information obtained by connecting the decoding information of the decoding target pixel block and at least a part of the information of the vertical pixel block held in the pixel holding unit. The vertical filter unit may be input by any method as long as the decoding information of the encoding target pixel block and at least a part of the information of the vertical pixel block are input in association with each other. For example, the decoding target pixel block information and the vertical pixel block information corresponding thereto may be synchronized and supplied individually to the vertical filter unit.

本発明に係る画像復号装置では、復号対象画像フレームと異なる参照画像フレームの情報を保持する復号用情報記憶部を更に含み、復号対象画素ブロックの符号化情報が、符号化差分画像情報と、量子化粒度情報と、動きベクトル情報とを有し、復号部が、量子化粒度情報を参照して符号化差分画像情報を逆量子化する逆量子化部と、逆量子化部で逆量子化された符号化差分画像情報を逆直交変換して復号化差分画像情報を生成する逆直交変換部と、動きベクトル情報及び復号用情報記憶部に保持された参照画像フレームの情報を参照して予測画像情報を生成する動き補償予測部と、復号化差分画像情報と予測画像情報とに基づいて復号対象画素ブロックの復号化情報を生成し、復号化情報を復号用情報記憶部及びポストフィルタに出力する加算器とを有し、ポストフィルタのフィルタ係数決定部が、量子化粒度情報及び動きベクトル情報の少なくとも一方を更に参照して、垂直フィルタ係数セットを決定する構成とすることができる。この構成であれば、動き補償予測を行って符号化された復号対象画像フレームの符号化情報から表示用画像フレームの情報を生成することができる。また、復号対象画像フレームの後に処理される画像フレームに対する動き補償予測において復号対象画像フレームの情報が参照される場合には、復号用情報保持部に現復号化画素ブロック情報を書き込む必要があるが、この書き込みと同時に復号対象画素ブロックの復号化情報をポストフィルタに入力することができる。つまり、復号用情報保持部への書き込みと復号対象画素ブロックの符号化情報の入力に応じたフィルタ処理とを並列処理で実行することができる。更に、歪検出部における画素ブロック間歪の検出結果と共に、量子化粒度情報及び動きベクトル情報を参照することによって、画素ブロック間歪みを補正するための良好な垂直フィルタ係数セットを決定することができる。   The image decoding apparatus according to the present invention further includes a decoding information storage unit that holds information of a reference image frame different from the decoding target image frame, and the encoding information of the decoding target pixel block includes encoding difference image information, quantum The decoding unit is dequantized by an inverse quantization unit that inversely quantizes encoded difference image information with reference to the quantization granularity information, and an inverse quantization unit. An inverse orthogonal transform unit that generates decoded differential image information by performing inverse orthogonal transform on the encoded differential image information, and a prediction image with reference to motion vector information and reference image frame information held in the decoding information storage unit Based on the motion compensated prediction unit that generates information, the decoded differential image information and the predicted image information, the decoding information of the decoding target pixel block is generated, and the decoding information is output to the decoding information storage unit and the post filter And a adder, filter coefficient determining section of the post filter, with additional reference to at least one of the quantization granularity information and motion vector information may be configured to determine the vertical filter coefficient sets. With this configuration, it is possible to generate display image frame information from the encoding information of the decoding target image frame encoded by performing motion compensation prediction. In addition, when the information of the decoding target image frame is referred to in the motion compensation prediction for the image frame processed after the decoding target image frame, it is necessary to write the current decoding pixel block information in the decoding information holding unit. Simultaneously with this writing, the decoding information of the decoding target pixel block can be input to the post filter. That is, the writing to the decoding information holding unit and the filtering process according to the input of the encoding information of the decoding target pixel block can be executed in parallel processing. Further, by referring to the quantization granularity information and the motion vector information together with the detection result of the inter-pixel block distortion in the distortion detection unit, a good vertical filter coefficient set for correcting the inter-pixel block distortion can be determined. .

表示用情報記憶部と復号用情報記録部とは、異なるメモリ素子で構成されていてもよいし、同一のメモリ素子において異なる領域に割り当てられたメモリであってもよい。   The display information storage unit and the decoding information recording unit may be configured by different memory elements, or may be memories allocated to different areas in the same memory element.

本発明に係る画像復号装置では、復号対象画素ブロックと水平に隣接する水平画素ブロックの少なくとも一部の情報を更に保持し、処理ブロック情報が、画素保持部に保持された水平画素ブロックの少なくとも一部の情報を更に含み、ポストフィルタが、処理ブロック情報をフィルタ処理して、復号対象画素ブロック、垂直画素ブロックの少なくとも一部及び水平画素ブロックの少なくとも一部を構成する画素群のうち復号対象画素ブロックと水平画素ブロックとの水平境界近傍の画素群を含む少なくとも一部の画素群の情報を修正し、修正された処理ブロック情報を垂直フィルタ部に出力する水平フィルタ部を更に有し、垂直フィルタ部が、復号対象画素ブロック、垂直画素ブロックの少なくとも一部及び水平画素ブロックの少なくとも一部を構成する画素群のうち垂直境界近傍の画素群と水平境界近傍の画素群とを含む少なくとも一部の画素群の情報を出力する構成とすることが好ましい。この構成であれば、復号対象画素ブロックに対する画素ブロック間歪みの補正に必要な水平画素ブロックの少なくとも一部の情報を更に画素保持部に保持させ、復号対象画素ブロックの符号化情報と画素保持部に保持された垂直画素ブロックの少なくとも一部の情報と画素保持部に保持された水平画素ブロックの少なくとも一部の情報とを含む処理ブロック情報を垂直フィルタ部に入力することによって、処理ブロック単位で垂直方向及び水平方向の画素ブロック間歪の補正を行うことができる。つまり、垂直方向と水平方向との2次元の画素ブロック間歪の補正を行うことができる。したがって、垂直方向の画素ブロック間歪のみを補正する場合に比べて、更に画質の高い画像を形成することができる。ここで、水平画素ブロックは、復号対象画素ブロックよりも過去に復号部において復号化された画素ブロックである。また、水平境界近傍の画素群とは、復号対象画素ブロックと水平画素ブロックとの境界に隣接する画素を意味する。なお、歪補正画素情報の生成された画素群には、水平境界近傍の画素群を構成する少なくとも1つの画素が含まれていればよい。以下において、垂直フィルタ部と水平フィルタ部とを備え、2次元の画素ブロック間歪の補正を行う画像処理装置を、2次元歪補正の画像処理装置とも称する。   The image decoding apparatus according to the present invention further holds at least part of information of a horizontal pixel block horizontally adjacent to the decoding target pixel block, and the processing block information is at least one of the horizontal pixel blocks held in the pixel holding unit. A pixel to be decoded from among a group of pixels constituting a pixel block to be decoded, at least a part of a vertical pixel block, and at least a part of a horizontal pixel block. A vertical filter that further includes a horizontal filter unit that corrects information of at least a part of the pixel group including a pixel group near a horizontal boundary between the block and the horizontal pixel block, and outputs the corrected processing block information to the vertical filter unit; At least one of the decoding target pixel block, the vertical pixel block, and the horizontal pixel block. It is preferable to adopt a configuration that outputs at least information of a portion of the pixel group and a pixel group of the pixel group and the horizontal vicinity of the border of neighboring vertical boundary of a pixel group constituting the. With this configuration, at least a part of the horizontal pixel block information necessary for correcting the inter-pixel block distortion for the decoding target pixel block is further held in the pixel holding unit, and the encoding information of the decoding target pixel block and the pixel holding unit are stored. Processing block information including at least a part of information of the vertical pixel block held in the pixel holding unit and information of at least a part of the horizontal pixel block held in the pixel holding unit to the vertical filter unit It is possible to correct distortion between pixel blocks in the vertical direction and the horizontal direction. That is, it is possible to correct two-dimensional distortion between pixel blocks in the vertical direction and the horizontal direction. Therefore, it is possible to form an image with higher image quality than when correcting only the distortion between pixel blocks in the vertical direction. Here, the horizontal pixel block is a pixel block decoded in the decoding unit in the past than the decoding target pixel block. The pixel group in the vicinity of the horizontal boundary means a pixel adjacent to the boundary between the decoding target pixel block and the horizontal pixel block. Note that the pixel group in which the distortion correction pixel information is generated only needs to include at least one pixel constituting the pixel group near the horizontal boundary. Hereinafter, an image processing apparatus that includes a vertical filter unit and a horizontal filter unit and corrects a two-dimensional distortion between pixel blocks is also referred to as a two-dimensional distortion correction image processing apparatus.

本発明に係る2次元歪補正の画像復号装置では、水平境界近傍の画素群が、復号対象画素ブロックを構成する画素と、水平画素ブロックの少なくとも一部を構成する画素とを含む構成することができる。この構成であれば、上記の垂直境界近傍の画素群に対する場合と同様に、ポストフィルタに入力される符号対象画素ブロックの復号化情報ごとに、符号対象画素ブロックを構成する全部の画素に対する歪補正画素情報を生成しなくとも、復号対象画素ブロックより未来に処理される復号対象画素ブロックに隣接する画素ブロックの情報がポストフィルタに入力された際に、復号対象画素ブロックに対する歪補正画素情報の生成を完了させることができる。   In the two-dimensional distortion correction image decoding apparatus according to the present invention, the pixel group in the vicinity of the horizontal boundary may include a pixel constituting the decoding target pixel block and a pixel constituting at least a part of the horizontal pixel block. it can. With this configuration, as in the case of the pixel group in the vicinity of the vertical boundary described above, distortion correction for all the pixels constituting the encoding target pixel block is performed for each decoding information of the encoding target pixel block input to the post filter. Even if pixel information is not generated, generation of distortion-corrected pixel information for a decoding target pixel block when information on a pixel block adjacent to the decoding target pixel block processed in the future from the decoding target pixel block is input to the post filter. Can be completed.

本発明に係る2次元歪補正の画像復号装置では、ポストフィルタが、復号対象画素ブロック情報と画素保持部に保持された垂直画素ブロックの少なくとも一部の情報と画素保持部に保持された水平画素ブロックの少なくとも一部の情報とを合成して処理ブロック情報を生成し、歪検出部に出力する情報合成部を更に有する構成とすることができる。この構成であれば、2次元のブロック間歪補正に必要な情報を関連づけて水平フィルタ部及び垂直フィルタ部へ供給できるために、簡便かつ確実に、処理ブロック情報に垂直フィルタ部及び水平フィルタ部でそれぞれ垂直方向のフィルタ処理及び水平方向のフィルタ処理を行うことができる。   In the two-dimensional distortion correction image decoding apparatus according to the present invention, the post filter includes decoding target pixel block information, information on at least a part of the vertical pixel block held in the pixel holding unit, and horizontal pixels held in the pixel holding unit. An information synthesizing unit that synthesizes at least a part of information of the block to generate processing block information and outputs it to the distortion detection unit can be adopted. With this configuration, information necessary for two-dimensional inter-block distortion correction can be associated and supplied to the horizontal filter unit and the vertical filter unit, so that the processing block information can be easily and reliably added to the vertical filter unit and the horizontal filter unit. Each of the filter processing in the vertical direction and the filter processing in the horizontal direction can be performed.

本発明に係る2次元歪補正の画像復号装置では、画素保持部に保持される参照画素情報が、復号対象画素ブロックと、垂直画素ブロックと水平画素ブロックとに隣接し、復号対象画素ブロック、垂直画素ブロック及び水平画素ブロックと異なる対角画素ブロックの少なくとも一部の情報を更に含み、処理ブロック情報が、画素保持部に保持された対角画素ブロックの少なくとも一部の情報を更に含み、ポストフィルタの水平フィルタ部が、処理ブロック情報をフィルタ処理して、復号対象画素ブロック、垂直画素ブロックの少なくとも一部、水平画素ブロックの少なくとも一部及び対角画素ブロックの少なくとも一部を構成する画素群のうち水平境界近傍の画素群を含む少なくとも一部の画素群の情報を修正し、垂直フィルタ部が、復号対象画素ブロック、垂直画素ブロックの少なくとも一部及び水平画素ブロックの少なくとも一部を構成する画素群のうち垂直境界近傍の画素群と水平境界近傍の画素群とを含む少なくとも一部の画素群の情報を出力する構成とすることができる。この構成であれば、復号対象画素ブロック、垂直画素ブロックの少なくとも一部、水平画素ブロックの少なくとも一部及び対角画素ブロックの少なくとも一部を構成する画素群の情報からなる処理ブロック情報に対して垂直フィルタ部及び水平フィルタ部でそれぞれ垂直方向のフィルタ処理及び水平方向のフィルタ処理を行える。   In the two-dimensional distortion correction image decoding apparatus according to the present invention, the reference pixel information held in the pixel holding unit is adjacent to the decoding target pixel block, the vertical pixel block, and the horizontal pixel block, and the decoding target pixel block, vertical The pixel block and the horizontal pixel block further include information on at least a part of a diagonal pixel block, and the processing block information further includes information on at least a part of the diagonal pixel block held in the pixel holding unit, and a post filter Of the pixel group constituting the decoding target pixel block, at least a part of the vertical pixel block, at least a part of the horizontal pixel block, and at least a part of the diagonal pixel block. Among them, the information of at least some pixel groups including the pixel group near the horizontal boundary is corrected, and the vertical filter unit Information on at least some pixel groups including a pixel group near the vertical boundary and a pixel group near the horizontal boundary among the pixel groups constituting at least a part of the elementary block, the vertical pixel block, and the horizontal pixel block. It can be set as the structure which outputs. With this configuration, with respect to processing block information including information on a pixel group constituting at least a part of a decoding target pixel block, a vertical pixel block, at least a part of a horizontal pixel block, and at least a part of a diagonal pixel block. A vertical filter process and a horizontal filter process can be performed in the vertical filter unit and the horizontal filter unit, respectively.

本発明に係る2次元歪補正の画像復号装置では、ポストフィルタの水平フィルタ部が、処理ブロック情報をフィルタ処理して、復号対象画素ブロック、垂直画素ブロックの少なくとも一部、水平画素ブロックの少なくとも一部及び対角画素ブロックの少なくとも一部を構成する画素群のうち水平境界近傍の画素群及び復号対象画素ブロックと対角画素ブロックとの対角境界近傍の画素群を含む少なくとも一部の画素群の情報を修正し、垂直フィルタ部が、復号対象画素ブロック、垂直画素ブロックの少なくとも一部及び水平画素ブロックの少なくとも一部を構成する画素群のうち垂直境界近傍の画素群と水平境界近傍の画素群と対角境界近傍の画素群とを含む少なくとも一部の画素群の情報を出力する構成とすることができる。この構成であれば、更に、対角画素ブロックの一部の画素に対する歪補正画素情報を生成することができる。   In the two-dimensional distortion correction image decoding apparatus according to the present invention, the horizontal filter unit of the post filter filters the processing block information, and at least one of the decoding target pixel block, the vertical pixel block, and the horizontal pixel block. And at least a part of pixel groups including a pixel group near the horizontal boundary and a pixel group near the diagonal boundary between the decoding target pixel block and the diagonal pixel block The pixel group near the vertical boundary and the pixel near the horizontal boundary among the pixel groups constituting the pixel block to be decoded, at least part of the vertical pixel block, and at least part of the horizontal pixel block are corrected by the vertical filter unit. The information of at least some pixel groups including the group and the pixel group near the diagonal boundary can be output. With this configuration, distortion correction pixel information for some pixels of the diagonal pixel block can be further generated.

本発明に係る2次元歪補正の画像復号装置では、ポストフィルタが、復号対象画素ブロックの復号化情報、前記画素保持部に保持された前記垂直画素ブロックの少なくとも一部の情報、画素保持部に保持された水平画素ブロックの少なくとも一部の情報及び画素保持部に保持された対角画素ブロックの少なくとも一部の情報を合成して処理ブロック情報を生成し、歪検出部及び水平フィルタ部に出力する情報合成部を更に有する構成とすることができる。   In the image decoding apparatus for two-dimensional distortion correction according to the present invention, the post filter includes decoding information on the pixel block to be decoded, information on at least a part of the vertical pixel block held in the pixel holding unit, and a pixel holding unit. The processing block information is generated by synthesizing at least a part of information of the held horizontal pixel block and at least a part of the diagonal pixel block held in the pixel holding unit, and output to the distortion detection unit and the horizontal filter unit The information synthesizing unit may be further included.

本発明に係る2次元歪補正の画像復号装置では、ポストフィルタが、復号対象画素ブロックの復号化情報と垂直画素ブロックの情報とに基づいて、復号対象画素ブロックと垂直画素ブロックとの間の画素ブロック間歪を検出する歪検出部と、歪検出部における画素ブロック間歪の検出結果に応じて垂直フィルタ係数セット及び水平フィルタ係数セットを決定するフィルタ係数決定部とを更に有し、ポストフィルタの垂直フィルタ部が、垂直フィルタ係数セットを参照してフィルタ処理し、ポストフィルタの水平フィルタ部が、水平フィルタ係数セットを参照してフィルタ処理する構成とすることができる。この構成であれば、復号対象画素ブロックと垂直画素ブロックとを参照して、垂直フィルタ係数セット及び水平フィルタ係数セットを決定することができる。   In the image decoding apparatus for two-dimensional distortion correction according to the present invention, the post filter is a pixel between the decoding target pixel block and the vertical pixel block based on the decoding information of the decoding target pixel block and the information of the vertical pixel block. A distortion detection unit that detects inter-block distortion; and a filter coefficient determination unit that determines a vertical filter coefficient set and a horizontal filter coefficient set according to a detection result of inter-pixel block distortion in the distortion detection unit. The vertical filter unit may perform a filtering process with reference to the vertical filter coefficient set, and the horizontal filter unit of the post filter may perform a filtering process with reference to the horizontal filter coefficient set. With this configuration, the vertical filter coefficient set and the horizontal filter coefficient set can be determined with reference to the decoding target pixel block and the vertical pixel block.

本発明に係る2次元歪補正の画像復号装置では、ポストフィルタが、復号対象画素ブロックの復号化情報と水平画素ブロックの情報とに基づいて、復号対象画素ブロックと水平画素ブロックとの間の画素ブロック間歪を検出する歪検出部と、歪検出部における画素ブロック間歪の検出結果に応じて垂直フィルタ係数セット及び水平フィルタ係数セットを決定するフィルタ係数決定部とを更に有し、ポストフィルタの垂直フィルタ部が、垂直フィルタ係数セットを参照してフィルタ処理し、ポストフィルタの水平フィルタ部が、水平フィルタ係数セットを参照してフィルタ処理する構成とすることができる。この構成であれば、復号対象画素ブロックと水平画素ブロックとを参照して、垂直フィルタ係数セット及び水平フィルタ係数セットを決定することができる。   In the image decoding apparatus for two-dimensional distortion correction according to the present invention, the post filter is a pixel between the decoding target pixel block and the horizontal pixel block based on the decoding information of the decoding target pixel block and the information of the horizontal pixel block. A distortion detection unit that detects inter-block distortion; and a filter coefficient determination unit that determines a vertical filter coefficient set and a horizontal filter coefficient set according to a detection result of inter-pixel block distortion in the distortion detection unit. The vertical filter unit may perform a filtering process with reference to the vertical filter coefficient set, and the horizontal filter unit of the post filter may perform a filtering process with reference to the horizontal filter coefficient set. With this configuration, the vertical filter coefficient set and the horizontal filter coefficient set can be determined with reference to the decoding target pixel block and the horizontal pixel block.

本発明に係る2次元歪補正の画像復号装置では、復号対象画像フレームと異なる参照画像フレームの情報を保持する復号用情報記憶部を更に含み、復号対象画素ブロックの符号化情報が、符号化差分画像情報と、量子化粒度情報と、動きベクトル情報とを有し、復号部が、量子化粒度情報を参照して符号化差分画像情報を逆量子化する逆量子化部と、逆量子化部で逆量子化された符号化差分画像情報を逆直交変換して復号化差分画像情報を生成する逆直交変換部と、動きベクトル情報及び復号用情報記憶部に保持された参照画像フレームの情報を参照して予測画像情報を生成する動き補償予測部と、復号化差分画像情報と予測画像情報とに基づいて復号対象画素ブロックの復号化情報を生成し、復号化情報を復号用情報記憶部及びポストフィルタに出力する加算器とを有し、ポストフィルタのフィルタ係数決定部が、量子化粒度情報及び動きベクトル情報の少なくとも一方を更に参照して、垂直フィルタ係数セット及び水平フィルタ係数セットを決定する構成とすることができる。この構成であれば、動き補償予測を行って符号化された復号対象画像フレームの情報から、水平フィルタ部及び容量を低減したラインメモリを有する垂直フィルタ部によって、表示用画像フレームの情報を生成することができる。また、復号対象画素ブロックの復号化情報の復号用情報保持部への書き込みと復号対象画素ブロックの符号化情報の入力に応じたフィルタ処理とを並列処理で実行することができる。更に、歪検出部における画素ブロック間歪の検出結果と共に、量子化粒度情報及び動きベクトル情報を参照することによって、画素ブロック間歪みを補正するための良好な垂直フィルタ係数セットを選択することができる。垂直フィルタ係数セットと、垂直フィルタ係数セットとして、同じ係数セットが選択されてもよいし、それぞれで異なる係数セットが選択されてもよい。   The image decoding apparatus for two-dimensional distortion correction according to the present invention further includes a decoding information storage unit that holds information of a reference image frame different from the decoding target image frame, and the encoding information of the decoding target pixel block includes an encoding difference. An inverse quantization unit having image information, quantization granularity information, and motion vector information, and a decoding unit inversely quantizes the encoded difference image information with reference to the quantization granularity information, and an inverse quantization unit Information of the reference image frame held in the motion vector information and the decoding information storage unit, and the inverse orthogonal transform unit that generates the decoded differential image information by performing the inverse orthogonal transform on the encoded differential image information dequantized in step A motion compensation prediction unit that generates prediction image information with reference to the decoding information of the pixel block to be decoded based on the decoded difference image information and the prediction image information, and stores the decoding information in a decoding information storage unit; Post fee And an adder that outputs to the data filter, wherein the filter coefficient determination unit of the post filter further determines the vertical filter coefficient set and the horizontal filter coefficient set by further referring to at least one of the quantization granularity information and the motion vector information It can be. With this configuration, information on a display image frame is generated from information on a decoding target image frame encoded by motion compensation prediction by a horizontal filter unit and a vertical filter unit having a line memory with a reduced capacity. be able to. In addition, writing of decoding information of the decoding target pixel block to the decoding information holding unit and filtering processing according to the input of the encoding information of the decoding target pixel block can be executed in parallel processing. Furthermore, by referring to the quantization granularity information and the motion vector information together with the detection result of the inter-pixel block distortion in the distortion detection unit, a good vertical filter coefficient set for correcting the inter-pixel block distortion can be selected. . The same coefficient set may be selected as the vertical filter coefficient set and the vertical filter coefficient set, or different coefficient sets may be selected for each.

表示用情報記憶部と復号用情報記録部とは、異なるメモリ素子で構成されていてもよいし、同一のメモリ素子において異なる領域に割り当てられたメモリであってもよい。   The display information storage unit and the decoding information recording unit may be configured by different memory elements, or may be memories allocated to different areas in the same memory element.

なお、本発明に係る画像復号装置では、復号化画素ブロック情報の生成後に行う処理に特徴を有するため、復号部は公知のいかなる構成であってもよい。   Note that the image decoding apparatus according to the present invention is characterized by processing performed after generation of decoded pixel block information, and thus the decoding unit may have any known configuration.

(実施の形態1)
本実施の形態1においては、動き補償予測技術を用いて可変長符号化された復号対象画素ブロックの符号化情報(符号信号)を復号し、復号された復号化情報を含む処理ブロック情報に基づいて、2次元ブロック間歪を補正する画像復号装置について説明する。なお、ポストフィルタ処理する際の処理ブロック情報が、復号対象画素ブロックの復号化情報、垂直画素ブロックの一部の情報、水平画素ブロックの一部の情報及び対角画素ブロックの一部の情報で構成されている場合について説明する。
(Embodiment 1)
In the first embodiment, coding information (code signal) of a decoding target pixel block that has been subjected to variable-length coding using a motion compensation prediction technique is decoded, and based on processing block information that includes the decoded decoding information. An image decoding apparatus that corrects distortion between two-dimensional blocks will be described. Note that the processing block information at the time of post-filter processing includes decoding information of a decoding target pixel block, information on a part of a vertical pixel block, information on a part of a horizontal pixel block, and information on a part of a diagonal pixel block. The case where it comprises is demonstrated.

本実施の形態1に係る画像復号装置は、図1に示されたように、入力バッファ11、逆可変長符号化(iVLD)部12、逆量子化部13、逆離散コサイン変換(iDCT)部(逆直交変換部)14、動き補償予測部15、加算器16からなる復号部1と、ポストフィルタ2と、表示用フレーム領域(表示用情報記憶部)3及びローカルデコード参照用フレーム領域(復号用情報記憶部)5とを有するフレームメモリ素子10と、画像出力処理部4とを含む構成である。   As shown in FIG. 1, the image decoding apparatus according to the first embodiment includes an input buffer 11, an inverse variable length coding (iVLD) unit 12, an inverse quantization unit 13, an inverse discrete cosine transform (iDCT) unit. (Inverse Orthogonal Transform Unit) 14, Decoding Unit 1 Consisting of Motion Compensation Prediction Unit 15, Adder 16, Post Filter 2, Display Frame Region (Display Information Storage Unit) 3, and Local Decode Reference Frame Region (Decode For example, a frame memory device 10 having an information storage unit 5 and an image output processing unit 4.

入力バッファ11へ入力された符号化情報(符号信号)に含まれる符号化差分画像情報及び量子化粒度情報は、逆可変長符号化部12へ出力され、符号化情報に含まれる予測モード情報及び動きベクトル情報は、動き補償予測部15へ出力される。逆可変長符号化部12は、入力バッファ11からの符号化差分画像情報を逆可変長符号化する。逆可変長符号化された符号化差分画像情報と量子化粒度情報とは逆量子化部13へ出力される。逆量子化部13は、逆可変長符号化部12からの量子化粒度情報を参照して、逆可変長符号化部12で可変長符号化された符号化差分画像情報を逆量子化する。逆量子化された符号化差分画像情報は、逆離散コサイン変換部14へ出力される。逆離散コサイン変換部14は、逆量子化された符号化差分画像情報を逆離散コサイン変換し、逆量子化された符号化差分画像情報から復号対象画素ブロックに対する復号化差分画像情報を生成する。復号化差分画像情報は、加算器16に出力される。動き補償予測部15は、動き補償モード情報及び動きベクトル情報を参照して参照画素アドレスを算出し、参照画素アドレスに基づいて、既に処理されてローカルデコード参照用フレーム領域5に保持されている予測画像情報を抽出する。抽出された予測画像情報は、加算器16に出力される。加算器16は、逆離散コサイン変換部14からの差分画像情報と動き補償予測部15からの予測画像情報とに基づいて、復号対象画素ブロックの復号化情報を生成する。復号化情報は、フレームメモリ素子10に出力され、フレームメモリ素子10のローカルデコード参照用フレーム領域5に格納される。画素ブロックごとに復号及びフレームメモリ素子10への格納が繰り返されて、図2に示されたように、復号対象画素ブロックを含む復号対象画像フレーム(図2中のローカルデコード参照用フレームにおける1つのFrame)がフレームメモリ素子10に蓄積される。フレームメモリ素子10に蓄積された復号対象画像フレームは、復号対象画像フレームより後(未来)に復号化される画像フレームに対する参照画像フレームとなる。   The encoded differential image information and the quantization granularity information included in the encoded information (code signal) input to the input buffer 11 are output to the inverse variable length encoding unit 12, and the prediction mode information included in the encoded information and The motion vector information is output to the motion compensation prediction unit 15. The inverse variable length encoding unit 12 performs inverse variable length encoding on the encoded difference image information from the input buffer 11. The encoded variable image information and the quantization granularity information subjected to inverse variable length encoding are output to the inverse quantization unit 13. The inverse quantization unit 13 refers to the quantization granularity information from the inverse variable length encoding unit 12 and inversely quantizes the encoded difference image information that has been variable length encoded by the inverse variable length encoding unit 12. The inversely quantized encoded difference image information is output to the inverse discrete cosine transform unit 14. The inverse discrete cosine transform unit 14 performs inverse discrete cosine transform on the inversely quantized encoded difference image information, and generates decoded difference image information for the decoding target pixel block from the inversely quantized encoded difference image information. The decoded difference image information is output to the adder 16. The motion compensation prediction unit 15 calculates a reference pixel address by referring to the motion compensation mode information and the motion vector information, and based on the reference pixel address, a prediction that has already been processed and held in the local decoding reference frame region 5 Extract image information. The extracted predicted image information is output to the adder 16. The adder 16 generates decoding information of the decoding target pixel block based on the difference image information from the inverse discrete cosine transform unit 14 and the prediction image information from the motion compensation prediction unit 15. The decoded information is output to the frame memory element 10 and stored in the local decoding reference frame area 5 of the frame memory element 10. Decoding and storage in the frame memory element 10 are repeated for each pixel block, and as shown in FIG. 2, the decoding target image frame including the decoding target pixel block (one of the local decoding reference frames in FIG. 2) Frame) is stored in the frame memory device 10. The decoding target image frame stored in the frame memory element 10 serves as a reference image frame for an image frame decoded after (future) the decoding target image frame.

また、復号対象画素ブロックの復号化情報は、フレームメモリ素子10のローカルデコード参照用フレーム領域5に出力されると同時に、ポストフィルタ2に出力される。これに応じてポストフィルタ2からは、復号対象フレームを構成する全画素に対する歪補正画素情報が順次にフレームメモリ素子10の表示用フレーム領域3に出力されて格納される。   Further, the decoding information of the decoding target pixel block is output to the local filter reference frame area 5 of the frame memory element 10 and simultaneously to the post filter 2. In response to this, the post-filter 2 sequentially outputs distortion correction pixel information for all the pixels constituting the decoding target frame to the display frame area 3 of the frame memory element 10 and stores them.

復号対象画像フレームを構成する全画素ブロックに対して、上記の処理を画素ブロックごとに繰り返すことによって、図2に示されたように、画素ブロック間歪の補正された表示用画像フレーム(図2中の表示用フレームにおける1つのFrame)がフレームメモリ素子10に蓄積される。   By repeating the above processing for all pixel blocks constituting the decoding target image frame for each pixel block, as shown in FIG. 2, a display image frame with corrected inter-pixel block distortion (FIG. 2). One frame) in the middle display frame is stored in the frame memory element 10.

表示用フレーム領域3に格納されたポストフィルタ処理済みの表示用画像フレームは、所定の表示フレームレートで順次に読み出され、画像出力処理部4で所定のTV信号方式等に準拠した画像信号に変換されて出力信号として出力される。   The post-filter processed display image frames stored in the display frame area 3 are sequentially read out at a predetermined display frame rate, and are converted into image signals compliant with a predetermined TV signal system or the like by the image output processing unit 4. It is converted and output as an output signal.

ここで、ポストフィルタ2の構成及びポストフィルタ処理について説明する。図3に示されたように、ポストフィルタ2は、画素保持部21と、情報合成部22と、歪検出部23と、フィルタ係数決定部24と、水平フィルタ部25と、垂直フィルタ部26とを備えた構成である。   Here, the configuration of the post filter 2 and post filter processing will be described. As shown in FIG. 3, the post filter 2 includes a pixel holding unit 21, an information synthesis unit 22, a distortion detection unit 23, a filter coefficient determination unit 24, a horizontal filter unit 25, and a vertical filter unit 26. It is the structure provided with.

画素保持部21は、復号対象画素ブロックより前(過去)に復号化された画素ブロックの情報の少なくとも一部を保持しており、復号対象画素ブロックの情報が入力されると、復号対象画素ブロックの情報の一部を、未来に復号化される画素ブロックの画素ブロック間歪を補正するために追加的に保持する。具体的には、復号対象画素ブロックの符号化情報が入力される前(過去)に、復号対象画素ブロックに対する垂直画素ブロックの一部の情報、復号対象画素ブロック対する水平画素ブロックの一部の情報及び復号対象画素ブロックに対する対角画素ブロックの一部の情報とが保持されている。   The pixel holding unit 21 holds at least a part of the information of the pixel block decoded before (past) the decoding target pixel block, and when the decoding target pixel block information is input, the decoding target pixel block A part of the information is additionally held in order to correct the inter-pixel distortion of the pixel block to be decoded in the future. Specifically, before the encoding information of the decoding target pixel block is input (past), information on a part of the vertical pixel block for the decoding target pixel block and information on a part of the horizontal pixel block for the decoding target pixel block And information on a part of the diagonal pixel block with respect to the decoding target pixel block.

なお、復号対象画素ブロックに隣接する全ての画素ブロック(8個の画素ブロック)に対する画素ブロック間歪の補正を終えると、画素保持部に保持されていた復号対象画素ブロックの情報は削除される。   Note that when the correction of inter-pixel block distortion for all the pixel blocks (eight pixel blocks) adjacent to the decoding target pixel block is completed, the information on the decoding target pixel block held in the pixel holding unit is deleted.

情報合成部22は、復号対象画素ブロックの符号化情報と、画素保持部21に保持されている垂直画素ブロックの一部の情報、水平画素ブロックの一部の情報及び対角画素ブロックの一部の情報とを合成して処理ブロック情報を生成し、処理ブロック情報を歪検出部23に出力する。例えば、復号部1からの符号化情報が入力された際に、図3に示されたようなスイッチ素子によって、復号化情報に、垂直画素ブロックの一部の情報、水平画素ブロックの一部の情報及び対角画素ブロックの一部の情報を所定の配列となるように追加する。以下においては、復号対象画素ブロック、垂直画素ブロックの一部、水平画素ブロックの一部及び対角画素ブロックの一部からなる画素群を処理ブロックとも称する。   The information synthesis unit 22 encodes the decoding target pixel block, the partial information of the vertical pixel block held in the pixel holding unit 21, the partial information of the horizontal pixel block, and the diagonal pixel block. And processing block information is generated, and the processing block information is output to the distortion detection unit 23. For example, when the encoding information from the decoding unit 1 is input, the switch element as illustrated in FIG. 3 causes the decoding information to include the partial information of the vertical pixel block and the partial information of the horizontal pixel block. Information and information on a part of the diagonal pixel block are added so as to have a predetermined arrangement. Hereinafter, a pixel group including a decoding target pixel block, a part of a vertical pixel block, a part of a horizontal pixel block, and a part of a diagonal pixel block is also referred to as a processing block.

歪検出部23では、情報合成部22から読み出された処理ブロック情報と、復号対象画素ブロックの直前に復号化された水平画素ブロックの情報とに基づいて、復号対象画素ブロックと水平画素ブロックとの境界における画素ブロック間歪の有無が検査される。フィルタ係数決定部24では、歪検出部23での検査結果に応じて、水平フィルタ部25における水平フィルタ処理で参照する水平フィルタ係数セット及び垂直フィルタ部26における垂直フィルタ処理で参照する垂直フィルタ係数セットを決定する。   In the distortion detection unit 23, based on the processing block information read from the information synthesis unit 22 and the information on the horizontal pixel block decoded immediately before the decoding target pixel block, the decoding target pixel block and the horizontal pixel block The presence or absence of inter-pixel block distortion at the boundary is checked. In the filter coefficient determination unit 24, a horizontal filter coefficient set referred to in the horizontal filter process in the horizontal filter unit 25 and a vertical filter coefficient set referred to in the vertical filter process in the vertical filter unit 26 according to the inspection result in the distortion detection unit 23. To decide.

歪検出部23は、具体的には、図4に示された構成である。この構成であれば、水平に隣接する2つの画素ブロックにおいて、画素ブロックの境界を挟んで左右に隣接する画素に対する差分絶対値が、一方の画素ブロック内における境界近傍で隣接する画素に対する差分絶対値の平均値より大きく、他方の画素ブロック内における境界近傍で隣接する画素に対する差分絶対値の平均値より大きく、かつ所定の閾値の範囲よりも大きい場合に画素ブロック間に視覚上の歪があると検出する。   Specifically, the strain detection unit 23 has the configuration shown in FIG. With this configuration, in two horizontally adjacent pixel blocks, the difference absolute value for pixels adjacent to the left and right across the boundary of the pixel block is the difference absolute value for pixels adjacent in the vicinity of the boundary in one pixel block. If there is a visual distortion between the pixel blocks when the average absolute value of the difference between adjacent pixels in the vicinity of the boundary in the other pixel block is larger than the average value of the threshold value and larger than the predetermined threshold range. To detect.

歪検出の動作は、図18に示された従来の歪検出部と概ね同じであるが、2つの歪検出閾値を設定できることで、歪の大きさの検出範囲を従来よりも詳細に指定することができる。なお、従来の歪検出部においては、歪の有無の2値判定であったので、図20に示されたように、フィルタ係数決定部は、係数セット1及び2のいずれか一方の選択しか行えなかった。   The operation of distortion detection is almost the same as that of the conventional distortion detection unit shown in FIG. 18, but the two distortion detection threshold values can be set, so that the detection range of the distortion magnitude can be specified in more detail than the conventional one. Can do. In the conventional distortion detection unit, since the binary determination of the presence / absence of distortion is made, the filter coefficient determination unit can select only one of coefficient sets 1 and 2 as shown in FIG. There wasn't.

ここで、図4を用いて歪検出部の動作を具体的に説明する。なお、図21をも参照する。水平方向に隣接する左側の画素ブロック及び右側の画素ブロックにおける同一ライン上の画素の画素値をP00〜P07及びP10〜P17とする(図21参照)。   Here, the operation of the distortion detection unit will be specifically described with reference to FIG. Reference is also made to FIG. The pixel values of the pixels on the same line in the left pixel block and the right pixel block adjacent in the horizontal direction are P00 to P07 and P10 to P17 (see FIG. 21).

水平方向に配列した画素の画素値が順次に入力され、シフトレジスタ48g、48f、48e、48d及び48cに保持される差分絶対値が、それぞれ、|P05−P06|、|P06−P07|、|P07−P10|、|P10−P11|及び|P11−P12|であるとき、除算器146aからの出力は、(|P10−P11|+|P11−P12|)/2となり、除算器146bからの出力は、(|P05−P06|+|P06−P07|)/2となる。これらは、各ブロック内の境界近傍で水平に隣接する画素に対する差分絶対値の平均値、つまり、各ブロック内の変化の大きさ指標する値である。また、このときのシフトレジスタ48jからの出力は、画素ブロックの境界を挟み水平に隣接する2つの画素の差分絶対値|P07−P10|であり、画素ブロック間の段差の大きさを指標する値である。なお、ここまでの動作は、従来の動作と同一である。   The pixel values of the pixels arranged in the horizontal direction are sequentially input, and the difference absolute values held in the shift registers 48g, 48f, 48e, 48d, and 48c are | P05-P06 |, | P06-P07 |, | When P07-P10 |, | P10-P11 |, and | P11-P12 |, the output from the divider 146a is (| P10-P11 | + | P11-P12 |) / 2, and the output from the divider 146b. The output is (| P05−P06 | + | P06−P07 |) / 2. These are average values of absolute differences with respect to horizontally adjacent pixels in the vicinity of the boundary in each block, that is, values indicating the magnitude of change in each block. The output from the shift register 48j at this time is the difference absolute value | P07-P10 | of two pixels horizontally adjacent across the boundary of the pixel block, and is a value indicating the size of the step between the pixel blocks. It is. The operation so far is the same as the conventional operation.

比較器44aでは、|P07−P10|と閾値レジスタ43a(閾値レジスタ1)に設定されている歪検出閾値とを比較し、|P07−P10|が大きければ、論理和回路47aに真値を示す信号を出力し、|P07−P10|が小さければ、論理和回路47aに偽値を示す信号を出力する。また、同様に、比較器44bでは、|P07−P10|と閾値レジスタ43b(閾値レジスタ2)に設定されている歪検出閾値とを比較し、|P07−P10|が大きければ、論理和回路47bに真値を示す信号を出力し、|P07−P10|が小さければ、論理和回路47bに偽値を示す信号を出力する。比較器45aでは、従来と同様に、(|P10−P11|+|P11−P12|)/2と|P07−P10|とを比較し、|P07−P10|が大きければ、論理和回路47a及び47bに真値を示す信号を出力し、|P07−P10|が小さければ、論理和回路47a及び47bに偽値を示す信号を出力する。また、比較器45bでは、従来と同様に、(|P05−P06|+|P06−P07|)/2と|P07−P10|とを比較し、|P07−P10|が大きければ、論理和回路47a及び47bに真値を示す信号を出力し、|P07−P10|が小さければ、論理和回路47a及び47bに偽値を示す信号を出力する。   The comparator 44a compares | P07-P10 | with the distortion detection threshold value set in the threshold value register 43a (threshold value register 1). If | P07-P10 | is large, the logical sum circuit 47a indicates a true value. If | P07-P10 | is small, a signal indicating a false value is output to the OR circuit 47a. Similarly, the comparator 44b compares | P07-P10 | with the distortion detection threshold set in the threshold register 43b (threshold register 2), and if | P07-P10 | is large, the OR circuit 47b. If | P07-P10 | is small, a signal indicating a false value is output to the OR circuit 47b. In the comparator 45a, (| P10-P11 | + | P11-P12 |) / 2 and | P07-P10 | are compared with each other, and if | P07-P10 | is large, the OR circuit 47a and A signal indicating a true value is output to 47b, and if | P07-P10 | is small, a signal indicating a false value is output to the OR circuits 47a and 47b. Further, the comparator 45b compares (| P05-P06 | + | P06-P07 |) / 2 with | P07-P10 | as in the conventional case, and if | P07-P10 | A signal indicating a true value is output to 47a and 47b, and if | P07-P10 | is small, a signal indicating a false value is output to the OR circuits 47a and 47b.

論理和回路47aでは、比較器44a、45a及び45bからの信号が全て真値を示す信号であれば、真値を示す信号を出力し、少なくとも1つが偽値を示す信号であれば、偽値を示す信号を出力する。また、同様に、論理和回路47bでは、比較器44b、45a及び45bからの信号が全て真値を示す信号であれば、真値を示す信号を出力し、少なくとも1つが偽値を示す信号であれば、偽値を示す信号を出力する。より具体的には、図4における閾値レジスタ(閾値レジスタ1)43bが閾値レジスタ(閾値レジスタ2)43aの設定値より小さい設定にした場合、歪検出結果出力1と歪検出結果出力2の出力との組み合わせに応じて、例えば、
歪検出結果出力1=0(偽値),歪検出結果出力2=0(偽値):歪無し
歪検出結果出力1=1(真値),歪検出結果出力2=0(偽値):歪の下限検出
歪検出結果出力1=1(真値),歪検出結果出力2=1(真値):歪の上限検出
と、多段階の歪検出を行うことができる。
In the OR circuit 47a, if all the signals from the comparators 44a, 45a, and 45b are signals indicating true values, a signal indicating a true value is output, and if at least one signal indicates a false value, a false value is output. A signal indicating is output. Similarly, in the OR circuit 47b, if all the signals from the comparators 44b, 45a and 45b are signals indicating true values, a signal indicating true values is output, and at least one is a signal indicating false values. If there is, a signal indicating a false value is output. More specifically, when the threshold register (threshold register 1) 43b in FIG. 4 is set to be smaller than the set value of the threshold register (threshold register 2) 43a, the distortion detection result output 1 and the distortion detection result output 2 are output. Depending on the combination of, for example,
Distortion detection result output 1 = 0 (false value), distortion detection result output 2 = 0 (false value): distortion-free distortion detection result output 1 = 1 (true value), distortion detection result output 2 = 0 (false value): Strain lower limit detection Strain detection result output 1 = 1 (true value), Strain detection result output 2 = 1 (true value): Upper limit detection of strain and multi-stage strain detection can be performed.

水平フィルタ部25では、フィルタ係数決定部24で決定された水平フィルタ係数セットを用いて、情報合成部22で生成された処理ブロック情報を水平フィルタ処理して処理ブロック情報を修正する。これにより、水平方向の画素ブロック間歪が補正され、水平方向の画像の歪みが軽減されることとなる。水平フィルタ部25では、図5に示されたように、フィルタ係数決定部24で決定され、係数レジスタ62a〜62eに保持された水平フィルタ係数セットを参照して、処理ブロック内の水平画像ラインごとに、水平フィルタ処理を行う。具体的には、図5に示されたように、各係数レジスタ62a〜62eに設定された係数と各画素の画素値とを各乗算回路63a〜63eで乗算し、全ての乗算結果を加算回路64で加算する。シフタ67では、係数の総和が1となるよう除算(ビットシフト)し、水平フィルタ処理された画像情報を出力する。   The horizontal filter unit 25 uses the horizontal filter coefficient set determined by the filter coefficient determination unit 24 to correct the processing block information by performing horizontal filter processing on the processing block information generated by the information synthesis unit 22. Thereby, the distortion between the pixel blocks in the horizontal direction is corrected, and the distortion of the image in the horizontal direction is reduced. As shown in FIG. 5, the horizontal filter unit 25 refers to the horizontal filter coefficient set determined by the filter coefficient determination unit 24 and held in the coefficient registers 62 a to 62 e for each horizontal image line in the processing block. Next, horizontal filter processing is performed. Specifically, as shown in FIG. 5, the coefficients set in the coefficient registers 62a to 62e and the pixel values of the pixels are multiplied by the multiplier circuits 63a to 63e, and all multiplication results are added to the adder circuit. Add at 64. The shifter 67 performs division (bit shift) so that the sum of the coefficients becomes 1, and outputs the image information subjected to the horizontal filter processing.

水平フィルタ部25で水平フィルタ処理された画像情報は、垂直フィルタ26へ出力される。なお、従来の画像復号装置においては、符号対象画像フレームを構成する水平画像ラインごとに水平フィルタ処理が行われていた。   The image information subjected to the horizontal filter processing by the horizontal filter unit 25 is output to the vertical filter 26. In the conventional image decoding apparatus, horizontal filter processing is performed for each horizontal image line constituting the encoding target image frame.

垂直フィルタ部26は、図3に示すように、乗算器33a〜33eと、乗算器33a〜33eの出力を加算する加算器34と、シフタ27とを備えている。垂直フィルタ26では、処理ブロック内の水平画像ラインごとに入力される画像情報は、垂直フィルタ26のタップ数分のラインメモリ31b〜31eに順次に保持される。各ラインメモリ31a〜31eは、処理ブロックを構成する水平画素数分の画素に関する画像情報を格納できる大きさである。なお、従来のポストフィルタにおけるラインメモリでは、復号対象画像フレームを構成する水平画素数分の画素に関する画像情報が格納できなければならなかった。   As shown in FIG. 3, the vertical filter unit 26 includes multipliers 33 a to 33 e, an adder 34 that adds the outputs of the multipliers 33 a to 33 e, and a shifter 27. In the vertical filter 26, image information input for each horizontal image line in the processing block is sequentially held in the line memories 31 b to 31 e for the number of taps of the vertical filter 26. Each of the line memories 31a to 31e has a size capable of storing image information related to the number of horizontal pixels constituting the processing block. It should be noted that the line memory in the conventional post filter must be able to store image information relating to the number of horizontal pixels constituting the decoding target image frame.

また、図3に示された最後段以外のラインメモリ31b〜31dは、次の水平画像ライン用のラインメモリ31c〜31eと乗算器33b〜33dとに接続されており、一方、最後段のラインメモリ31eは乗算器33eのみに接続されている。水平フィルタ処理された画像情報は、各ラインメモリ31b〜31eで1ライン分づつ遅延させられて蓄積される。つまり、水平フィルタ25からの出力がk番目の水平画像ラインに関する画像情報であれば、ラインメモリ31bには、(k−1)番目の水平画像ラインに関する画像情報が蓄積され、ラインメモリ31cには、(k−2)番目の水平画像ラインに関する画像情報が蓄積され、ラインメモリ31dには、(k−3)番目の水平画像ラインに関する画像情報が蓄積され、ラインメモリ31eには、(k−4)番目の水平画像ラインに関する画像情報が蓄積される。   Further, the line memories 31b to 31d other than the last stage shown in FIG. 3 are connected to the line memories 31c to 31e for the next horizontal image line and the multipliers 33b to 33d. The memory 31e is connected only to the multiplier 33e. The image information subjected to the horizontal filter processing is accumulated by being delayed by one line in each of the line memories 31b to 31e. That is, if the output from the horizontal filter 25 is image information related to the kth horizontal image line, the image information related to the (k−1) th horizontal image line is stored in the line memory 31b, and the line memory 31c stores it. , Image information related to the (k-2) th horizontal image line is stored, image information related to the (k-3) th horizontal image line is stored in the line memory 31d, and (k− 4) Image information relating to the horizontal image line is accumulated.

乗算器33aにおいてはk番目の水平画像ラインに関する画像情報に、係数レジスタ32aに保持されたフィルタ係数が乗算され、同様に、乗算器33bにおいては(k−1)番目の水平画像ラインに関する画像情報に係数レジスタ32bに保持されたフィルタ係数が乗算され、乗算器33cにおいては(k−2)番目の水平画像ラインに関する画像情報に係数レジスタ32cに保持されたフィルタ係数が乗算され、乗算器33dにおいては(k−3)番目の水平画像ラインに関する画像情報に係数レジスタ32dに保持されたフィルタ係数が乗算され、乗算器33eにおいては(k−4)番目の水平画像ラインに関する画像情報に係数レジスタ32eに保持されたフィルタ係数が乗算される。乗算器33a〜33eからの出力は加算器34において加算された後に、シフタ35を介して画像出力処理部4へ出力される。   The multiplier 33a multiplies the image information related to the kth horizontal image line by the filter coefficient held in the coefficient register 32a. Similarly, the multiplier 33b uses the image information related to the (k-1) th horizontal image line. Is multiplied by the filter coefficient held in the coefficient register 32b, and the multiplier 33c multiplies the image information about the (k-2) th horizontal image line by the filter coefficient held in the coefficient register 32c, and the multiplier 33d Is multiplied by the filter coefficient held in the coefficient register 32d by the image information relating to the (k-3) th horizontal image line, and in the multiplier 33e, the image information relating to the (k-4) th horizontal image line is multiplied by the coefficient register 32e. Is multiplied by the filter coefficient held in the. Outputs from the multipliers 33 a to 33 e are added by the adder 34 and then output to the image output processing unit 4 via the shifter 35.

ここで、フィルタ係数決定部24において、水平フィルタ係数セット及び垂直フィルタ係数セットを決定する方法について説明する。図6に示されたように、フィルタ係数決定部24は、複数のフィルタ係数セットを保持する係数テーブル保持部51と、歪検出部23における歪検出結果をエンコードするエンコーダ52と、エンコーダ52からの出力に基づいて係数テーブル保持部51から水平フィルタ係数セットと垂直フィルタ係数セットとして用いる1つの係数セットを選択するセレクタ53とで構成されている。セレクタ53によって選択されたフィルタ係数セットの各々のフィルタ係数は、それぞれ、水平フィルタ部25における係数レジスタ62a〜62e(図5参照)及び垂直フィルタ部26における係数レジスタ32a〜32e(図3参照)に出力される。図6に示された係数テーブルを備えた係数テーブル保持部51であれば、係数セット1〜8の中から1つの係数セットが選択される。例えば、係数セット4が選択された場合、係数レジスタ32a及び係数レジスタ62a並びに係数レジスタ32e及び係数レジスタ62eには、−6が格納され、係数レジスタ32b及び係数テーブル62b並びに係数レジスタ32d及び係数レジスタ62dには、34が格納され、係数レジスタ32c及び係数テーブル62cには、72が格納される(図3及び図5参照)。なお、図6における係数テーブルには、係数セット1から係数セット8に向かって、順次に、ローパスフィルタの特性が緩やかとなる場合が示されている。   Here, a method of determining the horizontal filter coefficient set and the vertical filter coefficient set in the filter coefficient determination unit 24 will be described. As shown in FIG. 6, the filter coefficient determination unit 24 includes a coefficient table holding unit 51 that holds a plurality of filter coefficient sets, an encoder 52 that encodes a distortion detection result in the distortion detection unit 23, It is composed of a selector 53 that selects one coefficient set to be used as a horizontal filter coefficient set and a vertical filter coefficient set from the coefficient table holding unit 51 based on the output. The filter coefficients of the filter coefficient set selected by the selector 53 are respectively stored in coefficient registers 62a to 62e (see FIG. 5) in the horizontal filter unit 25 and coefficient registers 32a to 32e (see FIG. 3) in the vertical filter unit 26. Is output. If the coefficient table holding unit 51 includes the coefficient table shown in FIG. 6, one coefficient set is selected from the coefficient sets 1 to 8. For example, when the coefficient set 4 is selected, −6 is stored in the coefficient register 32a and the coefficient register 62a, and the coefficient register 32e and the coefficient register 62e, and the coefficient register 32b and the coefficient table 62b, and the coefficient register 32d and the coefficient register 62d are stored. 34 is stored, and 72 is stored in the coefficient register 32c and the coefficient table 62c (see FIGS. 3 and 5). Note that the coefficient table in FIG. 6 shows a case where the characteristics of the low-pass filter become gradually lower from the coefficient set 1 toward the coefficient set 8.

図6に示されたように、歪検出結果出力1と歪検出出力結果2と歪検出閾値とをエンコーダ52でエンコードすることで、歪検出閾値に応じて、多段階のフィルタ係数(フィルタ係数1〜8)から選択的に1つのフィルタ係数を選出できる。   As shown in FIG. 6, the encoder 52 encodes the distortion detection result output 1, the distortion detection output result 2, and the distortion detection threshold value, so that a multi-stage filter coefficient (filter coefficient 1) is generated according to the distortion detection threshold value. ˜8) can selectively select one filter coefficient.

ここで、具体例を用いて、ポストフィルタ2における2次元の画素ブロック間歪み補正について説明する。なお、以下において、復号対象画像フレームにおける最上段の左端の画素ブロックをB(1,1)、最上段の右端の画素ブロックをB(1,N)、最下段の左端の画素ブロックをB(N,1)と表し、また、画素ブロックごとの復号化において、復号対象画素ブロックの最上段の左端の画素をE(1,1)、最上段の右端の画素をE(1,8)、最下段の左端の画素をE(8,1)と表す。また、各情報は、画素値を意味する。   Here, a two-dimensional inter-pixel block distortion correction in the post filter 2 will be described using a specific example. In the following description, the uppermost leftmost pixel block in the decoding target image frame is B (1,1), the uppermost rightmost pixel block is B (1, N), and the lowermost leftmost pixel block is B (1, N). N, 1), and in decoding for each pixel block, the uppermost leftmost pixel of the pixel block to be decoded is E (1,1), the uppermost rightmost pixel is E (1,8), The leftmost pixel at the bottom is represented as E (8,1). Each information means a pixel value.

図7(a)において、正方形の区画は、画素ブロックを表している。図7(a)に示されたように、復号対象画素ブロックB(1,1)を構成するグレーの5角形で表された画素(E(1,1)〜E(1,8)、E(2,1)〜E(2,8)、・・・、E(8,1)〜E(8,8))に関する情報(復号対象画素ブロックの情報)が、順次にポストフィルタ2に入力される。復号対象画素ブロックB(1,1)の情報が入力されると、図8(a)に示されたように、画素保持部21には、丸印で示された画素群(E(1,5)〜E(1,8)、E(2,5)〜E(2,8)、・・・、E(4,5)〜E(4,8)、E(5,1)〜E(5,8)、E(6,1)〜E(6,8)、・・・、E(8,1)〜E(8,8))に関する情報が格納される。   In FIG. 7A, square sections represent pixel blocks. As shown in FIG. 7A, pixels (E (1,1) to E (1,8), E, which are represented by gray pentagons constituting the decoding target pixel block B (1,1)). (2,1) to E (2,8),..., E (8,1) to E (8,8)) (decoding target pixel block information) are sequentially input to the post filter 2. Is done. When the information of the decoding target pixel block B (1, 1) is input, as shown in FIG. 8A, the pixel holding unit 21 stores the pixel group (E (1, 1, 5) to E (1,8), E (2,5) to E (2,8), ..., E (4,5) to E (4,8), E (5,1) to E (5, 8), E (6, 1) to E (6, 8), ..., E (8, 1) to E (8, 8)) are stored.

図7(b)に示されたように、復号対象画像フレームの境界線を中心に内側の画素のミラー処理を行って、復号対象画像フレーム外のミラー画素群(E(−1,−1)〜E(−1,8)、E(0,−1)〜E(0,8)、E(1,−1)〜E(1,0)、E(2,−1)〜E(2,0)、・・・、E(8,−1)〜E(8,0))を仮想的に形成する。B(1,1)の画素群とミラー画素群とが処理ブロックとなる。   As shown in FIG. 7B, the inner pixel is subjected to mirror processing around the boundary line of the decoding target image frame, and a mirror pixel group (E (-1, -1) outside the decoding target image frame is displayed. ~ E (-1,8), E (0, -1) ~ E (0,8), E (1, -1) ~ E (1,0), E (2, -1) ~ E (2 , 0), ..., E (8, -1) to E (8, 0)) are virtually formed. The pixel group of B (1,1) and the mirror pixel group are processing blocks.

図7(b)において、グレーの菱形で表された画素群(E(1,1)〜E(1,6)、E(2,1)〜E(2,6)、・・・、E(6,1)〜E(6,6))が歪補正対象画群であり、最終的に歪補正画素情報の形成される画素群である。また、グレーの上三角形で表された画素群(E(−1,−1)〜E(−1,8)、E(0,−1)〜E(0,8)、E(1,−1)〜E(1,0)及びE(1,7)〜E(1,8)、E(2,−1)〜E(2,0)及びE(2,7)〜E(2,8)、・・・、E(6,−1)〜E(6,0)及びE(6,7)〜E(6,8)、E(7,−1)〜E(7,8)、E(8,−1)〜E(8,8))がポストフィルタ処理において参照する第1の参照画素群である。なお、第1の参照画素群は、フィルタ未処理の画素群に対する情報又はその情報から導出された情報を有する画素群である。   In FIG. 7B, the pixel groups (E (1,1) to E (1,6), E (2,1) to E (2,6),... (6, 1) to E (6, 6)) is a distortion correction target image group, and is a pixel group in which distortion correction pixel information is finally formed. In addition, pixel groups (E (−1, −1) to E (−1, 8), E (0, −1) to E (0, 8), E (1, −) represented by gray upper triangles. 1) to E (1,0) and E (1,7) to E (1,8), E (2, -1) to E (2,0) and E (2,7) to E (2, 8), ..., E (6, -1) to E (6,0) and E (6,7) to E (6,8), E (7, -1) to E (7,8) , E (8, -1) to E (8,8)) are a first reference pixel group to which reference is made in the post filter processing. Note that the first reference pixel group is a pixel group having information on the unfiltered pixel group or information derived from the information.

引き続き、歪補正対象画素群の情報と第1の参照画素群の情報とに基づいて、水平フィルタ部25における水平フィルタ処理及び垂直フィルタ部26における垂直フィルタ処理によって歪補正対象画素群に対する歪補正画素情報が生成される。図7(c)に示されたように、復号対象画素ブロックB(1,1)において黒丸で表された画素群(E(1,1)〜E(1,6)、E(2,1)〜E(2,6)、・・・、E(8,1)〜E(8,6))は、歪補正画素情報が生成されて歪補正の完了したフィルタ処理済の画素群を表し、白丸で表された画素群(E(1,7)〜E(1,8)、E(2,7)〜E(2,8)、・・・、E(6,7)〜E(6,8)、E(7,1)〜E(7,8)、E(8,1)〜E(8,8))は、歪補正画素情報が生成されず、歪補正の完了していないフィルタ未処理の画素群を表す。   Subsequently, based on the information on the distortion correction target pixel group and the information on the first reference pixel group, the distortion correction pixel for the distortion correction target pixel group is obtained by the horizontal filter process in the horizontal filter unit 25 and the vertical filter process in the vertical filter unit 26. Information is generated. As shown in FIG. 7C, pixel groups (E (1,1) to E (1,6), E (2,1) represented by black circles in the decoding target pixel block B (1,1). ) To E (2,6),..., E (8,1) to E (8,6)) represent a filtered pixel group in which distortion correction pixel information is generated and distortion correction is completed. , Pixel groups represented by white circles (E (1,7) to E (1,8), E (2,7) to E (2,8),..., E (6,7) to E ( 6, 8), E (7, 1) to E (7, 8), E (8, 1) to E (8, 8)), distortion correction pixel information is not generated, and distortion correction is completed. Represents no unfiltered pixel group.

次に、図7(d)にグレーの5角形で示された画素群(E(1,1)〜E(1,8)、E(2,1)〜E(2,8)、・・・、E(8,1)〜E(8,8))からなる復号対象画素ブロックB(1,2)の情報が、ポストフィルタ2に入力される。復号対象画素ブロックB(1,2)の情報の入力に伴って、画素保持部21には、復号対象画素ブロックB(1,2)のうち図8(b)に丸印で示された画素群(E(1,5)〜E(1,8)、E(2,5)〜E(2,8)、・・・、E(4,5)〜E(4,8)、E(5,1)〜E(5,8)、E(6,1)〜E(6,8)、・・・、E(8,1)〜E(8,8))に関する情報が格納される。   Next, the pixel groups (E (1,1) to E (1,8), E (2,1) to E (2,8),..., Shown in FIG. The information of the decoding target pixel block B (1, 2) consisting of E (8, 1) to E (8, 8)) is input to the post filter 2. Along with the input of information on the decoding target pixel block B (1, 2), the pixel holding unit 21 displays the pixels indicated by circles in FIG. 8B among the decoding target pixel block B (1, 2). Groups (E (1,5) to E (1,8), E (2,5) to E (2,8),..., E (4,5) to E (4,8), E ( 5,1) to E (5,8), E (6,1) to E (6,8),..., E (8,1) to E (8,8)) are stored. .

引き続き、図7(e)に示されたように、復号対象画像フレームの境界線を中心に内側の画素のミラー処理を行って、復号対象画像フレーム外のミラー画素群(E(−1,−3)〜E(−1,8)、E(0,−3)〜E(0,8))を仮想的に形成する。なお、画素保持部21に格納されている画素ブロックB(1,1)における右半分の画素群に関する情報とミラー画素群に関する情報とが、復号対象画素ブロックB(1,2)の情報に追加されて水平フィルタ部25へと出力される。   Subsequently, as shown in FIG. 7E, the inner pixels are mirrored around the boundary line of the decoding target image frame, and the mirror pixel group (E (−1, − 3) to E (-1,8), E (0, -3) to E (0,8)) are virtually formed. The information about the right half pixel group and the information about the mirror pixel group in the pixel block B (1, 1) stored in the pixel holding unit 21 is added to the information of the decoding target pixel block B (1, 2). And output to the horizontal filter unit 25.

図7(e)において、グレーの菱形で表された画素(E(1,−1)〜E(1,6)、E(2,−1)〜E(2,6)、・・・、E(6,−1)〜E(6,6))が歪補正対象画群であり、最終的に歪補正画素情報の生成される画素群である。また、グレーの上三角形で表された画素群(E(−1,−1)〜E(−1,8)、E(0,−1)〜E(0,8)、E(1,7)〜E(1,8)、E(2,7)〜E(2,8)、・・・、E(6,7)〜E(6,8)、E(7,−3)〜E(7,8)、E(8,−3)〜E(8,8))が、ポストフィルタ処理において参照する第1の参照画素群である。また、グレーの下三角形で表された画素群(E(−1,−3)及びE(−1,−2)、E(0,−3)及びE(0,−2)、・・・、E(6,−3)及びE(6,−2))が、ポストフィルタ処理において参照される第2の参照画素群である。ここで、第2の参照画素群は、フィルタ処理済の画素群に対するフィルタ処理前の情報を有する画素群又はフィルタ処理前の情報から導出された情報を有する画素群である。   In FIG. 7 (e), pixels (E (1, -1) to E (1,6), E (2, -1) to E (2,6),... E (6, -1) to E (6, 6)) are distortion correction target image groups, and are finally pixel groups for which distortion correction pixel information is generated. In addition, pixel groups (E (-1, -1) to E (-1, 8), E (0, -1) to E (0, 8), E (1, 7) represented by gray upper triangles. ) To E (1,8), E (2,7) to E (2,8), ..., E (6,7) to E (6,8), E (7, -3) to E (7, 8) and E (8, -3) to E (8, 8)) are the first reference pixel group to be referred to in the post filter processing. In addition, pixel groups (E (−1, −3) and E (−1, −2), E (0, −3) and E (0, −2),. , E (6, -3) and E (6, -2)) are the second reference pixel group referred to in the post filter processing. Here, the second reference pixel group is a pixel group having information before filter processing for a pixel group that has been filtered or a pixel group having information derived from information before filter processing.

引き続き、歪補正対象画素群と第1の参照画素群と第2の参照画素群とに関する情報(処理ブロック情報)に基づいて、水平フィルタ部25における水平フィルタ処理及び垂直フィルタ部26における垂直フィルタ処理によって、歪補正対象画素群に対する歪補正画素情報が生成される。図7(f)に示されたように、黒丸で表された画素群は、フィルタ処理済の画素群となる。   Subsequently, based on information (processing block information) regarding the distortion correction target pixel group, the first reference pixel group, and the second reference pixel group, the horizontal filter process in the horizontal filter unit 25 and the vertical filter process in the vertical filter unit 26 are performed. Thus, distortion correction pixel information for the distortion correction target pixel group is generated. As shown in FIG. 7F, the pixel group represented by a black circle is a filtered pixel group.

次に、復号対象画素ブロックB(1,2)に対する処理と同一のフィルタ処理が、画素ブロックB(1,3)〜画素ブロックB(1,N−1)に対して行われる。   Next, the same filtering process as that for the decoding target pixel block B (1,2) is performed on the pixel block B (1,3) to the pixel block B (1, N-1).

次に、図7(g)にグレーの5角形で示された画素群(E(1,1)〜E(1,8)、E(2,1)〜E(2,8)、・・・、E(8,1)〜E(8,8))からなる復号対象画素ブロックB(1,N)の情報が、ポストフィルタ2に入力される。復号対象画素ブロックB(1,N)の情報の入力に伴って、画素保持部21には、復号対象画素ブロックのうち図8(c)に白丸で示された画素群(E(5,1)〜E(5,8)、E(6,1)〜E(6,8)、・・・、E(8,1)〜E(8,8))に関する情報が格納される。   Next, the pixel groups (E (1,1) to E (1,8), E (2,1) to E (2,8), etc.) indicated by gray pentagons in FIG. The information of the decoding target pixel block B (1, N) composed of E (8, 1) to E (8, 8)) is input to the post filter 2. With the input of information on the decoding target pixel block B (1, N), the pixel holding unit 21 stores the pixel group (E (5, 1) indicated by white circles in FIG. 8C among the decoding target pixel blocks. ) To E (5,8), E (6,1) to E (6,8),..., E (8,1) to E (8,8)) are stored.

引き続き、図7(h)に示されたように、復号対象画像フレームの境界線を中心に内側の画素のミラー処理を行って、復号対象画像フレーム外のミラー画素群(E(−1,−3)〜E(−1,10)、E(0,−3)〜E(0,10)、E(1,9)〜E(1,10)、E(2,9)〜E(2,10)、・・・、E(8,9)〜E(8,10))を仮想的に形成する。   Subsequently, as shown in FIG. 7 (h), mirror processing of inner pixels is performed around the boundary line of the decoding target image frame, and a mirror pixel group (E (−1, − 3) to E (-1,10), E (0, -3) to E (0,10), E (1,9) to E (1,10), E (2,9) to E (2 , 10), ..., E (8,9) to E (8,10)) are virtually formed.

図7(h)において、グレーの菱形で表された画素群(E(1,−1)〜E(1,8)、E(2,−1)〜E(2,8)、・・・、E(6,−1)〜E(6,8))が歪補正対象画素であり、最終的に歪補正画素情報の生成される画素群である。また、グレーの上三角形で表された画素群(E(−1,−1)〜E(−1,10)、E(0,−1)〜E(0,10)、E(1,9)〜E(1,10)、E(2,9)〜E(2,10)、・・・、E(6,9)〜E(6,10)、E(7,−3)〜E(7,10)、E(8,−3)〜E(8,10))がポストフィルタ処理において参照される第1の参照画素群である。また、グレーの下三角形で表された画素群(E(−1,−3)及びE(−1,−2)、E(−2,−3)及びE(−2,−2)、・・・、E(6,−3)及びE(6,−2))が、ポストフィルタ処理において参照される第2の参照画素群である。   In FIG. 7H, pixel groups (E (1, -1) to E (1,8), E (2, -1) to E (2,8),. , E (6, -1) to E (6, 8)) are distortion correction target pixels, and finally a pixel group in which distortion correction pixel information is generated. In addition, pixel groups (E (-1, -1) to E (-1, 10), E (0, -1) to E (0, 10), E (1, 9) represented by upper triangles of gray. ) To E (1,10), E (2,9) to E (2,10), ..., E (6,9) to E (6,10), E (7, -3) to E (7, 10) and E (8, -3) to E (8, 10)) are a first reference pixel group referred to in the post filter processing. In addition, pixel groups (E (−1, −3) and E (−1, −2), E (−2, −3) and E (−2, −2)) represented by gray lower triangles, .., E (6, -3) and E (6, -2)) are the second reference pixel group referred to in the post filter processing.

引き続き、歪補正対象画素と第1の参照画素群と第2の参照画素群とに関する情報(処理ブロック情報)に基づいて、水平フィルタ部25における水平フィルタ処理及び垂直フィルタ部26における垂直フィルタ処理によって、歪補正対象画素群に対する歪補正画素情報が生成される。図7(i)に示されたように、黒丸で表された画素群は、フィルタ処理済の画素群となる。   Subsequently, based on the information (processing block information) regarding the distortion correction target pixel, the first reference pixel group, and the second reference pixel group, the horizontal filter process in the horizontal filter unit 25 and the vertical filter process in the vertical filter unit 26 are performed. Then, distortion correction pixel information for the distortion correction target pixel group is generated. As shown in FIG. 7 (i), the pixel group represented by the black circle is a filtered pixel group.

次に、図9(a)にグレーの5角形で示された画素群(E(1,1)〜E(1,8)、E(2,1)〜E(2,8)、・・・、E(8,1)〜E(8,8))からなる復号対象画素ブロックB(2,1)の情報が、ポストフィルタ2に入力される。復号対象画素ブロックB(1,2)の情報の入力に伴って、画素保持部21には、画素ブロックB(2,1)のうち図10(a)に白丸で示された画素群(E(1,5)〜E(1,8)、E(2,5)〜E(2,8)、・・・、E(4,5)〜E(4,8)、E(5,1)〜E(5,8)、E(6,1)〜E(6,8)、・・・、E(8,1)〜E(8,8))に関する情報が格納される。   Next, the pixel groups (E (1,1) to E (1,8), E (2,1) to E (2,8)) shown in FIG. The information of the decoding target pixel block B (2, 1) composed of E (8, 1) to E (8, 8)) is input to the post filter 2. Along with the input of information on the decoding target pixel block B (1,2), the pixel holding unit 21 stores the pixel group (E shown in white circles in FIG. 10A) of the pixel block B (2,1). (1,5) to E (1,8), E (2,5) to E (2,8), ..., E (4,5) to E (4,8), E (5,1 ) To E (5,8), E (6,1) to E (6,8),..., E (8,1) to E (8,8)) are stored.

引き続き、図9(b)に示されたように、復号対象画像フレームの境界線を中心に内側の画素のミラー処理を行って、復号対象画像フレーム外のミラー画素群(E(−3,−1)〜E(−3,0)、E(−2,−1)〜E(−2,0)、・・・、E(8,−1)〜E(8,0))を仮想的に形成する。なお、画素保持部21に格納されている画素ブロックB(1,1)における下半分の画素群に関する情報とミラー画素群に関する情報とが、画素ブロックB(2,1)の情報に追加されて水平フィルタ部25へと出力される。   Subsequently, as shown in FIG. 9B, the inner pixel is mirrored around the boundary line of the decoding target image frame, and the mirror pixel group (E (−3, − 1) to E (-3, 0), E (-2, -1) to E (-2, 0), ..., E (8, -1) to E (8, 0)) To form. The information about the lower half pixel group and the information about the mirror pixel group in the pixel block B (1, 1) stored in the pixel holding unit 21 are added to the information of the pixel block B (2, 1). It is output to the horizontal filter unit 25.

図9(b)において、グレーの菱形で表された画素群(E(−1,1)〜E(−1,6)、E(0,1)〜E(0,6)、・・・、E(6,1)〜E(6,6))が歪補正対象画素であり、最終的に歪補正画素情報の形成される画素群である。また、グレーの上三角形で表された画素群(E(−1,−1)〜E(−1,0)及びE(−1,7)〜E(−1,8)、E(0,−1)〜E(0,0)及びE(0,7)〜E(0,8)、・・・、E(6,−1)〜E(6,0)及びE(6,7)〜E(6,8)、E(7,−1)〜E(7,8)、E(8,−1)〜E(8,8))がポストフィルタ処理において参照される第1の参照画素群である。また、グレーの下三角形で表された画素群(E(−3、−1)〜E(−3,8)、E(−2、−1)〜E(−2,8))がポストフィルタ処理において参照される第2の参照画素群である。   In FIG. 9B, pixel groups (E (-1, 1) to E (-1, 6), E (0, 1) to E (0, 6) represented by gray rhombuses,... , E (6,1) to E (6,6)) are distortion correction target pixels, and finally a pixel group in which distortion correction pixel information is formed. In addition, pixel groups (E (-1, -1) to E (-1, 0), E (-1, 7) to E (-1, 8), E (0, -1) to E (0,0) and E (0,7) to E (0,8), ..., E (6, -1) to E (6,0) and E (6,7) To E (6,8), E (7, -1) to E (7,8), and E (8, -1) to E (8,8)) are referred to in the post-filter processing. It is a pixel group. Further, pixel groups (E (−3, −1) to E (−3, 8), E (−2, −1) to E (−2, 8)) represented by gray lower triangles are post-filters. It is the 2nd reference pixel group referred in processing.

引き続き、歪補正対象画素群と第1の参照画素群と第2の参照画素群とに関する情報(処理ブロック情報)に基づいて、水平フィルタ部25における水平フィルタ処理及び垂直フィルタ部26における垂直フィルタ処理によって、歪補正対象画素群に対する歪補正画素情報が生成される。図9(c)に示されたように、黒丸で表された画素群は、フィルタ処理済の画素群となる。   Subsequently, based on information (processing block information) regarding the distortion correction target pixel group, the first reference pixel group, and the second reference pixel group, the horizontal filter process in the horizontal filter unit 25 and the vertical filter process in the vertical filter unit 26 are performed. Thus, distortion correction pixel information for the distortion correction target pixel group is generated. As shown in FIG. 9C, a pixel group represented by a black circle is a filtered pixel group.

次に、図9(d)にグレーの5角形で示された画素群(E(1,1)〜E(1,8)、E(2,1)〜E(2,8)、・・・、E(8,1)〜E(8,8))からなる復号対象画素ブロックB(2,2)の情報が、ポストフィルタ2に入力される。復号対象画素ブロックB(2,2)の情報の入力に伴って、画素保持部21には、復号対象画素ブロックB(2,2)のうち図10(b)に白丸で示された画素群(E(1,5)〜E(1,8)、E(2,5)〜E(2,8)、・・・、E(4,5)〜E(4,8)、E(5,1)〜E(5,8)、E(6,1)〜E(6,8)、・・・、E(8,1)〜E(8,8))に関する情報が格納される。なお、画素保持部21に格納されている画素ブロックB(1,2)における下半分の画素群に関する情報と画素保持部21に格納されている画素ブロックB(2,1)における右半分の画素群に関する情報とが復号対象画素ブロックB(2,2)の情報に追加されて水平フィルタ部25へと出力される。   Next, the pixel groups (E (1,1) to E (1,8), E (2,1) to E (2,8), etc.) indicated by gray pentagons in FIG. The information of the decoding target pixel block B (2, 2) consisting of E (8, 1) to E (8, 8)) is input to the post filter 2. Along with input of information on the decoding target pixel block B (2, 2), the pixel holding unit 21 includes a group of pixels indicated by white circles in FIG. 10B among the decoding target pixel block B (2, 2). (E (1,5) to E (1,8), E (2,5) to E (2,8), ..., E (4,5) to E (4,8), E (5 , 1) to E (5,8), E (6,1) to E (6,8),..., E (8,1) to E (8,8)) are stored. The information about the lower half pixel group in the pixel block B (1, 2) stored in the pixel holding unit 21 and the right half pixel in the pixel block B (2, 1) stored in the pixel holding unit 21 Information regarding the group is added to the information of the decoding target pixel block B (2, 2) and output to the horizontal filter unit 25.

図9(e)に示されたように、グレーの菱形で表された画素群(E(−1,−1)〜E(−1,6)、E(0,−1)〜E(0,6)、・・・、E(6,−1)〜E(6,6))が歪補正対象画素群であり、最終的に歪補正画素情報の生成される画素群である。また、グレーの上三角形で表された画素群(E(−1,7)〜E(−1,8)、E(0,7)〜E(0,8)、・・・、E(6,7)〜E(6,8)、E(7,−3)〜E(7,8)、E(8,−3)〜E(8,8))がポストフィルタ処理において参照される第1の参照画素群である。また、グレーの下三角形で表された画素群(E(−3,−3)〜E(−3,8)、E(−2,−3)〜E(−2,8)、E(−1,−3)〜E(−1,−2)、E(0,−3)〜E(0,−2)、・・・、E(6,−3)〜E(6,−2))がポストフィルタ処理において参照される第2の参照画素群である。   As shown in FIG. 9E, pixel groups (E (-1, -1) to E (-1, 6), E (0, -1) to E (0) represented by gray rhombuses. , 6),..., E (6, −1) to E (6, 6)) are distortion correction target pixel groups, and are finally pixel groups for which distortion correction pixel information is generated. In addition, pixel groups (E (−1,7) to E (−1,8), E (0,7) to E (0,8),. , 7) to E (6, 8), E (7, -3) to E (7, 8), E (8, -3) to E (8, 8)) are referred to in the post filter processing. 1 is a reference pixel group. In addition, pixel groups (E (-3, -3) to E (-3,8), E (-2, -3) to E (-2,8), E (- 1, -3) to E (-1, -2), E (0, -3) to E (0, -2), ..., E (6, -3) to E (6, -2) ) Is a second reference pixel group referred to in the post filter processing.

引き続き、歪補正対象画素群と第1の参照画素群と第2の参照画素群とに関する情報(処理ブロック情報)に基づいて、水平フィルタ部25における水平フィルタ処理及び垂直フィルタ部26における垂直フィルタ処理によって、歪補正対象画素群に対する歪補正画素情報が生成される。図9(f)に示されたように、黒丸で表された画素群は、フィルタ処理済の画素群となる。   Subsequently, based on information (processing block information) regarding the distortion correction target pixel group, the first reference pixel group, and the second reference pixel group, the horizontal filter process in the horizontal filter unit 25 and the vertical filter process in the vertical filter unit 26 are performed. Thus, distortion correction pixel information for the distortion correction target pixel group is generated. As shown in FIG. 9F, the pixel group represented by a black circle is a filtered pixel group.

次に、B(2,2)に対する処理と同一のフィルタ処理が、B(2,3)〜B(2,N−1)に対して行われる。   Next, the same filtering process as that for B (2,2) is performed for B (2,3) to B (2, N-1).

次に、図9(g)にグレーの5角形で示された画素群(E(1,1)〜E(1,8)、E(2,1)〜E(2,8)、・・・、E(8,1)〜E(8,8))からなる復号対象画素ブロックB(2,N)の情報が、ポストフィルタ2に入力される。復号対象画素ブロックB(2,N)の情報の入力に伴って、画素保持部21には、復号対象画素ブロックB(2,N)のうち図10(c)に白丸で示された画素群(E(5,1)〜E(5,8)、E(6,1)〜E(6,8)、・・・、E(8,1)〜E(8,8))に関する情報が格納される。   Next, the pixel groups (E (1,1) to E (1,8), E (2,1) to E (2,8)) shown in FIG. The information of the decoding target pixel block B (2, N) composed of E (8, 1) to E (8, 8)) is input to the post filter 2. Along with the input of information on the decoding target pixel block B (2, N), the pixel holding unit 21 includes a group of pixels indicated by white circles in FIG. 10C among the decoding target pixel block B (2, N). (E (5,1) to E (5,8), E (6,1) to E (6,8), ..., E (8,1) to E (8,8)) Stored.

引き続き、図9(h)に示されたように、復号対象画像フレームの境界線を中心に内側の画素のミラー処理を行って、復号対象画像フレーム外のミラー画素群(E(−3,9)〜E(−3,10)、E(−2,9)〜E(−2,10)、・・・、E(8,9)〜E(8,10))を仮想的に形成する。なお、画素保持部21に格納されている画素ブロックB(1,N)における右半分の画素群に関する情報と画素保持部21に格納されている画素ブロックB(2,N−1)における右半分の画素群に関する情報とが復号対象画素ブロックB(1,N)の情報に追加されて、水平フィルタ部25へと出力される。   Subsequently, as shown in FIG. 9 (h), mirror processing of inner pixels is performed around the boundary line of the decoding target image frame, and a mirror pixel group (E (−3, 9) outside the decoding target image frame is performed. ) To E (-3, 10), E (-2, 9) to E (-2, 10), ..., E (8, 9) to E (8, 10)) are virtually formed. . The information about the right half pixel group in the pixel block B (1, N) stored in the pixel holding unit 21 and the right half in the pixel block B (2, N−1) stored in the pixel holding unit 21. Is added to the information of the decoding target pixel block B (1, N), and is output to the horizontal filter unit 25.

図9(h)に示されたように、グレーの菱形で表された画素群(E(−1,−1)〜E(−1,8)、E(0,−1)〜E(0,8)、・・・、E(6,−1)〜E(6,8))が歪補正対象画素群であり、最終的に歪補正画素情報の生成される画素群である。また、グレーの上三角形で表された画素群(E(−1,9)〜E(−1,10)、E(0,9)〜E(0,10)、・・・、E(6,9)〜E(6,10)、E(7,−3)〜E(7,10)、E(8,−3)〜E(8,10))がポストフィルタ処理において参照される第1の参照画素群である。また、グレーの下三角形で表された画素群(E(−3,−3)〜E(−3,10)、E(−2,−3)〜E(−2,10)、E(−1,−3)〜E(−1,−2)、E(−2,−3)〜E(−2,−2)、・・・、E(6,−3)〜E(6,−2))がポストフィルタ処理において参照される第2の参照画素群である。   As shown in FIG. 9H, pixel groups (E (-1, -1) to E (-1, 8), E (0, -1) to E (0) represented by gray rhombuses. , 8),..., E (6, −1) to E (6, 8)) are distortion correction target pixel groups, and are finally pixel groups for which distortion correction pixel information is generated. In addition, pixel groups (E (−1,9) to E (−1,10), E (0,9) to E (0,10),. , 9) to E (6, 10), E (7, -3) to E (7, 10), E (8, -3) to E (8, 10)) are referred to in the post-filter processing. 1 is a reference pixel group. In addition, pixel groups (E (-3, -3) to E (-3,10), E (-2, -3) to E (-2,10), E (- 1, -3) to E (-1, -2), E (-2, -3) to E (-2, -2), ..., E (6, -3) to E (6,- 2)) is a second reference pixel group referred to in the post filter processing.

引き続き、歪補正対象画素群と第1の参照画素群と第2の参照画素群とに関する情報(処理ブロック情報)に基づいて、水平フィルタ部25における水平フィルタ処理及び垂直フィルタ部26における垂直フィルタ処理によって、歪補正対象画素に対する歪補正画素情報が生成される。図9(i)に示されたように、黒丸で表された画素群は、フィルタ処理済の画素群となる。   Subsequently, based on information (processing block information) regarding the distortion correction target pixel group, the first reference pixel group, and the second reference pixel group, the horizontal filter process in the horizontal filter unit 25 and the vertical filter process in the vertical filter unit 26 are performed. Thus, distortion correction pixel information for the distortion correction target pixel is generated. As shown in FIG. 9I, the pixel group represented by a black circle is a filtered pixel group.

次に、画素ブロックB(2,1)〜画素ブロックB(2,N)に対する処理と同一のフィルタ処理が、画素ブロックB(3,1)〜画素ブロックB(3,N)、画素ブロックB(3,1)〜画素ブロックB(3,N)、・・・、画素ブロックB(N−1,1)〜画素ブロックB(N−1,N)に対して行われる。   Next, the same filter processing as the processing for the pixel block B (2, 1) to the pixel block B (2, N) is performed as the pixel block B (3, 1) to the pixel block B (3, N) and the pixel block B. (3, 1) to pixel block B (3, N),..., Pixel block B (N-1, 1) to pixel block B (N-1, N).

次に、図11(a)にグレーの5角形で示された画素群(E(1,1)〜E(1,8)、E(2,1)〜E(2,8)、・・・、E(8,1)〜E(8,8))からなる復号対象画素ブロックB(N,1)の情報が、ポストフィルタ2に入力される。復号対象画素ブロックB(N,1)の情報の入力に伴って、画素保持部21には、復号対象画素ブロックB(N,1)のうち図12(a)に白丸で示された画素群(E(1,5)〜E(1,8)、E(2,5)〜E(2,8)、・・・、E(8,5)〜E(8,8))に関する情報が格納される。   Next, the pixel groups (E (1,1) to E (1,8), E (2,1) to E (2,8)) shown in FIG. The information of the decoding target pixel block B (N, 1) consisting of E (8, 1) to E (8, 8)) is input to the post filter 2. With the input of information on the decoding target pixel block B (N, 1), the pixel holding unit 21 stores a pixel group indicated by a white circle in FIG. 12A among the decoding target pixel blocks B (N, 1). (E (1,5) to E (1,8), E (2,5) to E (2,8),..., E (8,5) to E (8,8)) Stored.

引き続き、図11(b)に示されたように、復号対象画像フレームの境界線を中心に内側の画素のミラー処理を行って、復号対象画像フレーム外のミラー画素群(E(−3,−1)〜E(−3,0)、E(−2,−1)〜E(−2,0)、・・・、E(8,−1)〜E(8,0)、E(9,−1)〜E(−2,8)、E(10,−1)〜E(10,8))を仮想的に形成する。なお、画素保持部21に格納されている画素ブロックB(N−1,1)における下半分の画素群に関する情報とミラー画素群に関する情報とが、復号対象画素ブロックB(N,1)の情報に追加されて水平フィルタ部25へと出力される。   Subsequently, as shown in FIG. 11B, the inner pixel is subjected to mirror processing around the boundary line of the decoding target image frame, and the mirror pixel group (E (−3, − 1) to E (-3, 0), E (-2, -1) to E (-2, 0), ..., E (8, -1) to E (8, 0), E (9 , -1) to E (-2,8) and E (10, -1) to E (10,8)) are virtually formed. The information about the lower half pixel group and the information about the mirror pixel group in the pixel block B (N−1, 1) stored in the pixel holding unit 21 is information about the decoding target pixel block B (N, 1). And output to the horizontal filter unit 25.

図11(b)に示されたように、グレーの菱形で表された画素群(E(−1,1)〜E(−1,6)、E(0,1)〜E(0,6)、・・・、E(8,1)〜E(8,6))が歪補正対象画素であり、最終的に歪補正画素情報の形成される画素群である。また、グレーの上三角形で表された画素群(E(−1,−1)〜E(−1,0)及びE(−1,7)〜E(−1,8)、E(0,−1)〜E(0,0)及びE(0,7)〜E(0,8)、・・・、E(8,−1)〜E(8,0)及びE(8,7)〜E(8,8)、E(9,−1)〜E(9,8)、E(10,−1)〜E(10,8))がポストフィルタ処理において参照される第1の参照画素群である。また、グレーの下三角形で表された画素群(E(−3、−1)〜E(−3,8)、E(−2、−1)〜E(−2,8))がポストフィルタ処理において参照される第2の参照画素群である。   As shown in FIG. 11B, pixel groups (E (-1, 1) to E (-1, 6), E (0, 1) to E (0, 6) represented by gray rhombuses. ),..., E (8,1) to E (8,6)) are distortion correction target pixels, and finally a pixel group in which distortion correction pixel information is formed. In addition, pixel groups (E (-1, -1) to E (-1, 0), E (-1, 7) to E (-1, 8), E (0, -1) to E (0,0) and E (0,7) to E (0,8), ..., E (8, -1) to E (8,0) and E (8,7) To E (8,8), E (9, -1) to E (9,8), and E (10, -1) to E (10,8)) are referred to in the post-filter processing. It is a pixel group. Further, pixel groups (E (−3, −1) to E (−3, 8), E (−2, −1) to E (−2, 8)) represented by gray lower triangles are post-filters. It is the 2nd reference pixel group referred in processing.

引き続き、歪補正対象画素群と第1の参照画素群と第2の参照画素群とに関する情報(処理ブロック情報)に基づいて、水平フィルタ部25における水平フィルタ処理及び垂直フィルタ部26における垂直フィルタ処理によって、歪補正対象画素群に対する歪補正画素情報が生成される。図11(c)に示されたように、黒丸で表された画素群は、フィルタ処理済の画素となる。   Subsequently, based on information (processing block information) regarding the distortion correction target pixel group, the first reference pixel group, and the second reference pixel group, the horizontal filter process in the horizontal filter unit 25 and the vertical filter process in the vertical filter unit 26 are performed. Thus, distortion correction pixel information for the distortion correction target pixel group is generated. As shown in FIG. 11C, a pixel group represented by a black circle is a filtered pixel.

次に、図11(d)にグレーの5角形で示された画素群(E(1,1)〜E(1,8)、E(2,1)〜E(2,8)、・・・、E(8,1)〜E(8,8))からなる復号対象画素ブロックB(N,2)の情報が、ポストフィルタ2に入力される。復号対象画素ブロックB(N,2)の情報の入力に伴って、画素保持部21には、復号対象画素ブロックB(N,2)のうち図12(b)に白丸で示された画素群(E(1,5)〜E(1,8)、E(2,5)〜E(2,8)、・・・、E(8,5)〜E(8,8))に関する情報が格納される。なお、画素保持部21に格納されている画素ブロックB(N−1,2)における下半分の画素群に関する情報と画素保持部21に格納されている画素ブロックB(N,1)における右半分の画素群に関する情報とミラー画素群に関する情報とが、復号対象画素ブロックB(N,2)の情報に追加されて水平フィルタ部25へと出力される。   Next, the pixel groups (E (1,1) to E (1,8), E (2,1) to E (2,8)) shown in FIG. The information of the decoding target pixel block B (N, 2) composed of E (8, 1) to E (8, 8)) is input to the post filter 2. With the input of information on the decoding target pixel block B (N, 2), the pixel holding unit 21 stores a pixel group indicated by a white circle in FIG. 12B among the decoding target pixel block B (N, 2). (E (1,5) to E (1,8), E (2,5) to E (2,8),..., E (8,5) to E (8,8)) Stored. The information about the lower half pixel group in the pixel block B (N-1, 2) stored in the pixel holding unit 21 and the right half in the pixel block B (N, 1) stored in the pixel holding unit 21 The information regarding the pixel group and the information regarding the mirror pixel group are added to the information of the decoding target pixel block B (N, 2) and output to the horizontal filter unit 25.

図11(e)に示されたように、グレーの菱形で表された画素群(E(−1,−1)〜E(−1,6)、E(0,−1)〜E(0,6)、・・・、E(8,−1)〜E(8,6))が歪補正対象画素群であり、最終的に歪補正画素情報の生成される画素群である。また、グレーの上三角形で表された画素群(E(−1,7)〜E(−1,8)、E(0,7)〜E(0,8)、・・・、E(6,7)〜E(6,8)、E(7,−3)〜E(7,−2)及びE(7,7)〜E(7,8)、E(8,−3)〜E(8,−2)及びE(8,7)〜E(8,8)、E(7,−3)〜E(7,8)、E(8,−3)〜E(8,8))がポストフィルタ処理において参照される第1の参照画素群である。また、グレーの下三角形で表された画素群(E(−3,−3)〜E(−3,8)、E(−2,−3)〜E(−2,8)、E(−1,−3)〜E(−1,−2)、E(0,−3)〜E(0,−2)、・・・、E(6,−3)〜E(6,−2))がポストフィルタ処理において参照される第2の参照画素群である。   As shown in FIG. 11E, pixel groups (E (-1, -1) to E (-1, 6), E (0, -1) to E (0) represented by gray rhombuses. , 6),..., E (8, −1) to E (8, 6)) are distortion correction target pixel groups, and are finally pixel groups for which distortion correction pixel information is generated. In addition, pixel groups (E (−1,7) to E (−1,8), E (0,7) to E (0,8),. , 7) to E (6,8), E (7, -3) to E (7, -2) and E (7,7) to E (7,8), E (8, -3) to E (8, -2) and E (8,7) to E (8,8), E (7, -3) to E (7,8), E (8, -3) to E (8,8) ) Is a first reference pixel group referred to in the post filter processing. In addition, pixel groups (E (-3, -3) to E (-3,8), E (-2, -3) to E (-2,8), E (- 1, -3) to E (-1, -2), E (0, -3) to E (0, -2), ..., E (6, -3) to E (6, -2) ) Is a second reference pixel group referred to in the post filter processing.

引き続き、歪補正対象画素群と第1の参照画素群と第2の参照画素群とに関する情報(処理ブロック情報)に基づいて、水平フィルタ部25における水平フィルタ処理及び垂直フィルタ部26における垂直フィルタ処理によって、歪補正対象画素群に対する歪補正画素情報が生成される。図11(f)に示されたように、黒丸で表された画素群は、フィルタ処理済の画素群となる。   Subsequently, based on information (processing block information) regarding the distortion correction target pixel group, the first reference pixel group, and the second reference pixel group, the horizontal filter process in the horizontal filter unit 25 and the vertical filter process in the vertical filter unit 26 are performed. Thus, distortion correction pixel information for the distortion correction target pixel group is generated. As shown in FIG. 11F, the pixel group represented by a black circle is a filtered pixel group.

次に、B(N,2)に対する処理と同一のフィルタ処理が、B(N,3)〜B(N,N−1)に対して行われる。   Next, the same filtering process as that for B (N, 2) is performed for B (N, 3) to B (N, N-1).

次に、図11(g)にグレーの5角形で示された画素群(E(1,1)〜E(1,8)、E(2,1)〜E(2,8)、・・・、E(8,1)〜E(8,8))からなる復号対象画素ブロックB(N,N)の情報が、ポストフィルタ2に入力される。なお、画素保持部21には、図12(c)に示されたように、復号対象画素ブロックB(N,N)の情報は全く格納されない。   Next, pixel groups (E (1, 1) to E (1, 8), E (2, 1) to E (2, 8),..., Shown in FIG. The information of the decoding target pixel block B (N, N) composed of E (8, 1) to E (8, 8)) is input to the post filter 2. Note that the pixel holding unit 21 does not store any information of the decoding target pixel block B (N, N) as shown in FIG.

引き続き、図11(h)に示されたように、復号対象画像フレームの境界線を中心に内側の画素のミラー処理を行って、復号対象画像フレーム外のミラー画素群(E(−3,9)〜E(−3,10)、E(−2,9)〜E(−2,10)、・・・、E(8,9)〜E(8,10)、E(9,−3)〜E(9,10)、E(10,−3)〜E(10,10))を仮想的に形成する。なお、画素保持部21に格納されている画素ブロックB(N−1,N)における下半分の画素群に関する情報と画素保持部21に格納されている画素ブロックB(N,N−1)における右半分の画素群に関する情報とミラー画素群に関する情報とが、復号対象画素ブロックB(N,N)の情報に追加されて水平フィルタ部25へと出力される。   Subsequently, as shown in FIG. 11 (h), the inner pixel is mirrored around the boundary line of the decoding target image frame, and the mirror pixel group (E (−3, 9) outside the decoding target image frame is displayed. ) To E (-3,10), E (-2,9) to E (-2,10), ..., E (8,9) to E (8,10), E (9, -3) ) To E (9, 10) and E (10, -3) to E (10, 10)) are virtually formed. The information about the lower half pixel group in the pixel block B (N−1, N) stored in the pixel holding unit 21 and the pixel block B (N, N−1) stored in the pixel holding unit 21 Information on the right-half pixel group and information on the mirror pixel group are added to the information on the decoding target pixel block B (N, N) and output to the horizontal filter unit 25.

図11(h)に示されたように、グレーの菱形で表された画素群(E(−1,−1)〜E(−1,8)、E(0,−1)〜E(0,8)、・・・、E(8,−1)〜E(8,8))が歪補正対象画素群であり、最終的に歪補正画素情報の生成される画素群である。また、グレーの上三角形で表された画素群(E(−1,9)〜E(−1,10)、E(0,9)〜E(0,10)、・・・、E(6,9)〜E(6,10)、E(7,−3)〜E(7,−2)及びE(7,9)〜E(7,10)、E(8,−3)〜E(8,−2)及びE(8,9)〜E(8,10)、E(9,−3)〜E(9,10)、E(10,−3)〜E(10,10))がポストフィルタ処理において参照される第1の参照画素群である。また、グレーの下三角形で表された画素群(E(−3,−3)〜E(−3,10)、E(−2,−3)〜E(−2,10)、E(−1,−3)〜E(−1,−2)、E(−2,−3)〜E(−2,−2)、・・・、E(6,−3)〜E(6,−2))がポストフィルタ処理において参照される第2の参照画素群である。   As shown in FIG. 11 (h), pixel groups (E (-1, -1) to E (-1, 8), E (0, -1) to E (0) represented by gray rhombuses. , 8),..., E (8, −1) to E (8, 8)) are distortion correction target pixel groups, and are finally pixel groups for which distortion correction pixel information is generated. In addition, pixel groups (E (−1,9) to E (−1,10), E (0,9) to E (0,10),. , 9) to E (6, 10), E (7, -3) to E (7, -2) and E (7, 9) to E (7, 10), E (8, -3) to E (8, -2) and E (8,9) to E (8,10), E (9, -3) to E (9,10), E (10, -3) to E (10,10) ) Is a first reference pixel group referred to in the post filter processing. In addition, pixel groups (E (-3, -3) to E (-3,10), E (-2, -3) to E (-2,10), E (- 1, -3) to E (-1, -2), E (-2, -3) to E (-2, -2), ..., E (6, -3) to E (6,- 2)) is a second reference pixel group referred to in the post filter processing.

引き続き、歪補正対象画素と第1の参照画素群と第2の参照画素群とに関する情報(処理ブロック情報)に基づいて、水平フィルタ部25における水平フィルタ処理及び垂直フィルタ部26における垂直フィルタ処理によって、歪補正対象画素群に対する歪補正画素情報が生成される。図11(i)に示されたように、黒丸で表された画素群は、フィルタ処理済の画素群となる。   Subsequently, based on the information (processing block information) regarding the distortion correction target pixel, the first reference pixel group, and the second reference pixel group, the horizontal filter process in the horizontal filter unit 25 and the vertical filter process in the vertical filter unit 26 are performed. Then, distortion correction pixel information for the distortion correction target pixel group is generated. As shown in FIG. 11 (i), the pixel group represented by a black circle is a filtered pixel group.

これにより、復号対象画像フレームを構成する全画素ブロックの符号化情報のポストフィルタに対する入力が完了すると共に、復号対象画像フレームを構成する全画素に対するフィルタ処理が完了する。以後は、上記の復号対象画像フレームと同様にして、他の画像フレームに対するフィルタ処理を順次に行う。   Thereby, the input to the post filter of the encoding information of all the pixel blocks constituting the decoding target image frame is completed, and the filtering process for all the pixels constituting the decoding target image frame is completed. Thereafter, filter processing is sequentially performed on the other image frames in the same manner as the above-described decoding target image frames.

上記における説明及び図7(h)、図9(h)、図11(h)から明らかなように、処理ブロック情報における水平画素数が最も多くなるのは、各段の右端の画素ブロックをフィルタ処理する場合であり、最大の水平画素数は14個である。したがって、従来においては、少なくとも8×N個分の画素の情報が保持できなければならなかったが、本具体例の場合、垂直フィルタ26におけるラインメモリ31a〜31eは、14個分の画素の情報が保持できる容量でよいことがわかる。   As apparent from the above description and FIGS. 7 (h), 9 (h), and 11 (h), the number of horizontal pixels in the processing block information is the largest because the pixel block at the right end of each stage is filtered. In this case, the maximum number of horizontal pixels is 14. Therefore, conventionally, it has been necessary to hold information of at least 8 × N pixels, but in the case of this example, the line memories 31a to 31e in the vertical filter 26 store information of 14 pixels. It can be seen that the capacity can be held.

また、外部に接続される表示装置が、NTSC方式のTVであった場合、画像出力処理部4は、NTSC方式の表示フレームレートである毎秒30フレームの画像情報をフレームメモリから読み出すことになる。入力バッファ11に入力される画像情報が、毎秒15フレーム等、表示フレームレートより小さい場合には、ポストフィルタ2では、入力バッファに入力されるフレーム数と同数の画像フレームに対してフィルタ処理を行うため、従来のポストフィルタに比べて、フィルタ処理すべきフレーム数を減少させることができる。したがって、ポストフィルタを駆動する時間を減少でき、ポストフィルタ2における消費電力を削減できる。特に、表示装置が表示フレームレートの高い液晶表示装置等の場合であれば、その効果が顕著となる。   When the externally connected display device is an NTSC system TV, the image output processing unit 4 reads image information of 30 frames per second, which is the NTSC system display frame rate, from the frame memory. When the image information input to the input buffer 11 is smaller than the display frame rate, such as 15 frames per second, the post filter 2 performs filter processing on the same number of image frames as input to the input buffer. Therefore, the number of frames to be filtered can be reduced as compared with the conventional post filter. Therefore, the time for driving the post filter can be reduced, and the power consumption in the post filter 2 can be reduced. In particular, when the display device is a liquid crystal display device having a high display frame rate, the effect becomes remarkable.

(実施の形態2)
本実施の形態2においては、ポストフィルタにおけるフィルタ係数決定部が歪検出部の結果と共に量子化粒度情報及び動きベクトル情報を参照して、垂直フィルタ係数セットと水平フィルタ係数セットとを個別に選択する画像復号装置について説明する。
(Embodiment 2)
In the second embodiment, the filter coefficient determination unit in the post filter refers to the quantization granularity information and the motion vector information together with the result of the distortion detection unit, and individually selects the vertical filter coefficient set and the horizontal filter coefficient set. An image decoding apparatus will be described.

なお、フィルタ係数決定部以外の構成は、上記の実施の形態1に係る画像復号装置と概ね同一の構成であるため、それらの相違部分についてのみ説明する。   Since the configuration other than the filter coefficient determination unit is substantially the same as the configuration of the image decoding apparatus according to the first embodiment, only those differences will be described.

本実施の形態2の画像復号装置は、図13に示されたように、入力バッファ11、逆可変長符号化(iVLD)部12、逆量子化部13、逆離散コサイン変換(iDCT)部(逆直交変換部)14、動き補償予測部15、加算器16からなる復号部1と、ポストフィルタ2と、表示用フレーム領域(表示用情報記憶部)3及びローカルデコード参照用フレーム領域(復号用情報記憶部)5とを有するフレームメモリ素子10と画像出力処理部4と、を含む構成である。逆量子化部13がポストフィルタ2に量子化粒度情報を出力し、動き補償予測部15がポストフィルタ2に動きベクトル情報を出力していること以外は、図1に示された画像復号装置と同一の構成である。   As shown in FIG. 13, the image decoding apparatus according to the second embodiment includes an input buffer 11, an inverse variable length coding (iVLD) unit 12, an inverse quantization unit 13, an inverse discrete cosine transform (iDCT) unit ( A decoding unit 1 comprising an inverse orthogonal transform unit) 14, a motion compensation prediction unit 15 and an adder 16, a post filter 2, a display frame region (display information storage unit) 3, and a local decoding reference frame region (for decoding) And a frame memory element 10 having an information storage unit 5 and an image output processing unit 4. 1 except that the inverse quantization unit 13 outputs quantization granularity information to the post filter 2 and the motion compensated prediction unit 15 outputs motion vector information to the post filter 2. It is the same configuration.

図14に示されたように、量子化粒度情報と動きベクトル情報とは、ポストフィルタのフィルタ係数決定部におけるエンコーダ52に入力される。セレクタ53では、歪検出結果1及び歪検出結果2と共に量子化粒度情報及び動きベクトル情報とを参照して、垂直フィルタにおける係数レジスタに登録する垂直フィルタ係数セットと、水平フィルタ部における係数レジスタに登録する水平フィルタ係数セットとを個別に選択する。逆量子化部12からの量子化粒度情報に含まれる量子化粒度の大小の情報や、動き補償予測部15からの動きベクトルの長さの大小(動きの速さ)の情報に応じて、フィルタ処理の重みを調整する。   As shown in FIG. 14, the quantization granularity information and the motion vector information are input to the encoder 52 in the filter coefficient determination unit of the post filter. The selector 53 refers to the quantization granularity information and the motion vector information together with the distortion detection result 1 and the distortion detection result 2, and registers the vertical filter coefficient set to be registered in the coefficient register in the vertical filter and the coefficient register in the horizontal filter unit. The horizontal filter coefficient set to be selected is selected individually. Depending on the quantization granularity information included in the quantization granularity information from the inverse quantization unit 12 and the motion vector length information (speed of motion) from the motion compensation prediction unit 15, a filter is used. Adjust the processing weight.

例えば、復号する画像の量子化粒度が大きい(荒い)場合、復号した画像に歪が発生しやすい。この歪を目立たなくするために、量子化粒度が大きい場合には、歪成分である高周波成分を抑える係数セットを選択する。逆に、量子化粒度が充分に小さい場合、より穏やかなフィルタ処理を行える係数セットを選択する。また、動きの大きな画素ブロック(動きベクトルの大きい場合)では、動き補償の精度や伝送に使用できる符号量の制約によって画像に歪が発生しやすい。この歪みを目立たなくするためには、動きの大きな画素ブロックには、動きの小さな画素ブロックより歪成分を大きく抑える係数セットを選択する。   For example, when the quantization granularity of the image to be decoded is large (rough), the decoded image is likely to be distorted. In order to make this distortion inconspicuous, a coefficient set that suppresses a high-frequency component that is a distortion component is selected when the quantization granularity is large. Conversely, if the quantization granularity is sufficiently small, a coefficient set that can perform more gentle filtering is selected. In a pixel block with a large motion (when the motion vector is large), distortion is likely to occur in the image due to the accuracy of motion compensation and the restriction on the amount of code that can be used for transmission. In order to make this distortion inconspicuous, a coefficient set that suppresses a distortion component larger than that of a pixel block with small motion is selected for a pixel block with large motion.

本発明は、画像復号装置におけるポストフィルタのラインメモリの容量を低減させるために利用できる。また、本発明は、画像復号装置における消費電力を低減させるために利用できる。   The present invention can be used to reduce the capacity of a post filter line memory in an image decoding apparatus. The present invention can also be used to reduce power consumption in an image decoding apparatus.

図1は、実施の形態1に係る画像復号装置の構成を概念的に表すブロック図である。FIG. 1 is a block diagram conceptually showing the configuration of the image decoding apparatus according to the first embodiment. 図2は、実施の形態1に係る画像復号装置のフレームメモリ素子に蓄積される情報を説明するための説明図である。FIG. 2 is an explanatory diagram for explaining information accumulated in a frame memory element of the image decoding apparatus according to Embodiment 1. 図3は、実施の形態1に係る画像復号装置のポストフィルタの構成を概念的に表すブロック図である。FIG. 3 is a block diagram conceptually showing the structure of the post filter of the image decoding apparatus according to the first embodiment. 図4は、実施の形態1に係る画像復号装置のポストフィルタにおける歪検出部の構成を概念的に表すブロック図である。FIG. 4 is a block diagram conceptually showing the structure of the distortion detector in the post filter of the image decoding apparatus according to Embodiment 1. 図5は、実施の形態1に係る画像復号装置のポストフィルタにおける水平フィルタ部の構成を概念的に表すブロック図である。FIG. 5 is a block diagram conceptually showing the configuration of the horizontal filter section in the post filter of the image decoding apparatus according to Embodiment 1. 図6は、実施の形態1に係る画像復号装置のポストフィルタにおけるフィルタ係数決定部の構成を表すブロック図である。FIG. 6 is a block diagram illustrating a configuration of a filter coefficient determination unit in the post filter of the image decoding apparatus according to Embodiment 1. 図7(a)〜(i)は、実施の形態1に係る画像復号装置における最上段の画素ブロックに対するポストフィルタ処理を説明するための説明図である。FIGS. 7A to 7I are explanatory diagrams for describing post-filter processing for the uppermost pixel block in the image decoding apparatus according to Embodiment 1. FIG. 図8は、実施の形態1に係る画像復号装置における最上段の画素ブロックに対して画素保持部に蓄積される情報を説明するための説明図である。FIG. 8 is an explanatory diagram for explaining information accumulated in the pixel holding unit with respect to the uppermost pixel block in the image decoding apparatus according to the first embodiment. 図9(a)〜(i)は、実施の形態1に係る画像復号装置における中段の画素ブロックに対するポストフィルタ処理を説明するための説明図である。FIGS. 9A to 9I are explanatory diagrams for describing post-filter processing for the middle-stage pixel block in the image decoding apparatus according to Embodiment 1. FIG. 図10は、実施の形態1に係る画像復号装置における中段の画素ブロックに対して画素保持部に蓄積される情報を説明するための説明図である。FIG. 10 is an explanatory diagram for explaining information accumulated in the pixel holding unit for the middle-stage pixel block in the image decoding apparatus according to the first embodiment. 図11(a)〜(i)は、実施の形態1に係る画像復号装置における最下段の画素ブロックに対するポストフィルタ処理を説明するための説明図である。FIGS. 11A to 11I are explanatory diagrams for describing post-filter processing for the lowermost pixel block in the image decoding apparatus according to the first embodiment. 図12は、実施の形態1に係る画像復号装置における最下段の画素ブロックに対して画素保持部に蓄積される情報を説明するための説明図である。FIG. 12 is an explanatory diagram for explaining information accumulated in the pixel holding unit for the lowermost pixel block in the image decoding device according to the first embodiment. 図13は、実施の形態2に係る画像復号装置の構成を概念的に表すブロック図である。FIG. 13 is a block diagram conceptually showing the configuration of the image decoding apparatus according to the second embodiment. 図14は、実施の形態2に係る画像復号装置のポストフィルタにおけるフィルタ係数決定部の構成を表すブロック図である。FIG. 14 is a block diagram illustrating a configuration of a filter coefficient determination unit in the post filter of the image decoding apparatus according to Embodiment 2. 図15は、従来の典型的な画像復号装置の構成を概念的に表すブロック図である。FIG. 15 is a block diagram conceptually showing the structure of a conventional typical image decoding apparatus. 図16は、従来の典型的な画像復号装置のフレームメモリに蓄積される情報を説明するための説明図である。FIG. 16 is an explanatory diagram for explaining information stored in a frame memory of a conventional typical image decoding apparatus. 図17は、従来の典型的な画像復号装置のポストフィルタの構成を概念的に表すブロック図である。FIG. 17 is a block diagram conceptually showing the structure of a post filter of a typical conventional image decoding apparatus. 図18は、従来の典型的な画像復号装置のポストフィルタにおける歪検出部の構成を概念的に表すブロック図である。FIG. 18 is a block diagram conceptually showing the structure of the distortion detector in the post filter of a conventional typical image decoding apparatus. 図19は、従来の典型的な画像復号装置のポストフィルタにおける水平フィルタ部の構成を概念的に表すブロック図である。FIG. 19 is a block diagram conceptually showing the structure of a horizontal filter section in a post filter of a conventional typical image decoding apparatus. 図20は、従来の典型的な画像復号装置のポストフィルタにおけるフィルタ係数決定部の構成を表すブロック図である。FIG. 20 is a block diagram illustrating a configuration of a filter coefficient determination unit in a post filter of a conventional typical image decoding apparatus. 図21は、従来のブロック歪検出部の動作の説明するために、ブロック内部の画素の配列を表わす説明図である。FIG. 21 is an explanatory diagram showing the arrangement of pixels inside a block in order to explain the operation of a conventional block distortion detector.

符号の説明Explanation of symbols

1 復号部
2 ポストフィルタ
3 表示用フレーム領域(表示用情報記憶部)
4 画像出力処理部
5,105 ローカルデコード参照用フレーム領域(復号用情報記憶部)
10 フレームメモリ素子
11,111 入力バッファ
12,112 逆可変長符号化部
13,113 逆量子化部
14,114 逆離散コサイン変換部(逆直交変換部)
15,115 動き補償予測部
16,116 加算回路
21 画素保持部
22 スイッチ素子(情報合成部)
23,123 歪検出部
24,134 フィルタ係数決定部
25,125 水平フィルタ部
26,126 垂直フィルタ部
32,62,132 係数レジスタ
33,63,133 乗算回路
34,64,134 加算回路
35,65,135 シフタ
41,141 減算回路
42,142 絶対値化回路
43,143 閾値レジスタ
44,45,144,145 比較回路
46,146 除算回路
47,147 論理和回路
48,148 シフトレジスタ
49,149 加算回路
51,151 係数テーブル保持部
52,152 エンコーダ
53,153 セレクタ
DESCRIPTION OF SYMBOLS 1 Decoding part 2 Post filter 3 Display frame area (Display information storage part)
4 Image output processing unit 5,105 Local decoding reference frame area (decoding information storage unit)
10 Frame memory element 11, 111 Input buffer 12, 112 Inverse variable length encoding unit 13, 113 Inverse quantization unit 14, 114 Inverse discrete cosine transform unit (inverse orthogonal transform unit)
15, 115 Motion compensation prediction unit 16,116 Adder circuit 21 Pixel holding unit 22 Switch element (information synthesis unit)
23,123 Distortion detection unit 24,134 Filter coefficient determination unit 25,125 Horizontal filter unit 26,126 Vertical filter unit 32,62,132 Coefficient register 33,63,133 Multiplication circuit 34,64,134 Addition circuit 35,65, 135 Shifter 41, 141 Subtraction circuit 42, 142 Absolute value conversion circuit 43, 143 Threshold register 44, 45, 144, 145 Comparison circuit 46, 146 Division circuit 47, 147 OR circuit 48, 148 Shift register 49, 149 Addition circuit 51 151 Coefficient table holding unit 52, 152 Encoder 53, 153 Selector

Claims (16)

複数の画素からなる復号対象画素ブロックの符号化情報の入力に応じて、前記符号化情報を復号化して復号化情報を生成する復号部と、
前記復号対象画素ブロックと垂直方向に隣接する垂直画素ブロックの少なくとも一部の情報を保持し、かつ前記復号部からの前記復号化情報の入力に応じて前記復号化情報を追加的に保持する画素保持部、及び、前記復号化情報と前記画素保持部に保持された前記垂直画素ブロックの少なくとも一部の情報とを含む処理ブロック情報をフィルタ処理して前記処理ブロック情報を修正し、前記復号対象画素ブロック及び前記垂直画素ブロックの少なくとも一部を構成する画素群のうち前記復号対象画素ブロックと前記垂直画素ブロックとの垂直境界近傍の画素群を含む少なくとも一部の画素群の情報を歪補正画素情報として出力する垂直フィルタ部を有するポストフィルタと、
前記ポストフィルタから出力された前記歪補正画素情報を保持する表示用情報記憶部とを含み、
前記復号部には、複数の画素ブロックからなる復号対象画像フレームの符号化情報が画素ブロック単位で順次に前記復号対象画素ブロックの前記符号化情報として入力され、前記表示用情報記録部には、前記複数の画素ブロックごとに出力された前記歪補正画素情報で構成された表示用画像フレーム情報が保持される画像復号装置。
A decoding unit that decodes the encoding information and generates decoding information in response to input of the encoding information of a decoding target pixel block including a plurality of pixels;
Pixels that hold at least part of information of a vertical pixel block that is adjacent to the decoding target pixel block in the vertical direction, and additionally hold the decoding information according to the input of the decoding information from the decoding unit A decoding unit that corrects the processing block information by filtering the processing block information including the decoding information and at least a part of the vertical pixel block information held in the pixel holding unit, and the decoding target Information on at least a part of pixel groups including a pixel group in the vicinity of a vertical boundary between the pixel block to be decoded and the vertical pixel block among pixel groups constituting at least a part of the pixel block and the vertical pixel block is a distortion correction pixel. A post filter having a vertical filter part to output as information;
A display information storage unit that holds the distortion correction pixel information output from the post filter,
Encoding information of a decoding target image frame composed of a plurality of pixel blocks is sequentially input to the decoding unit as the encoding information of the decoding target pixel block in units of pixel blocks, and the display information recording unit includes An image decoding apparatus in which display image frame information configured by the distortion correction pixel information output for each of the plurality of pixel blocks is held.
前記垂直境界近傍の画素群が、前記復号対象画素ブロックを構成する画素と、前記垂直画素ブロックの少なくとも一部を構成する画素とを含む請求項1に記載の画像復号装置。   The image decoding device according to claim 1, wherein the pixel group in the vicinity of the vertical boundary includes a pixel constituting the decoding target pixel block and a pixel constituting at least a part of the vertical pixel block. 前記ポストフィルタが、前記復号対象画素ブロックの前記復号化情報と前記垂直画素ブロックの情報とに基づいて、前記復号対象画素ブロックと前記垂直画素ブロックとの間の画素ブロック間歪を検出する歪検出部と、前記歪検出部における前記画素ブロック間歪の検出結果に応じて垂直フィルタ係数セットを決定するフィルタ係数決定部とを更に有し、
前記ポストフィルタの前記垂直フィルタ部が、前記垂直フィルタ係数セットを参照して、前記処理ブロック情報をフィルタ処理する請求項1に記載の画像復号装置。
Distortion detection in which the post filter detects inter-pixel block distortion between the decoding target pixel block and the vertical pixel block based on the decoding information of the decoding target pixel block and the information of the vertical pixel block And a filter coefficient determination unit that determines a vertical filter coefficient set according to the detection result of the inter-pixel block distortion in the distortion detection unit,
The image decoding device according to claim 1, wherein the vertical filter unit of the post filter filters the processing block information with reference to the vertical filter coefficient set.
前記ポストフィルタが、前記復号対象画素ブロックの前記復号化情報と前記復号対象画素ブロックと水平に隣接する水平画素ブロックの情報とに基づいて、前記復号対象画素ブロックと前記水平画素ブロックとの間の画素ブロック間歪を検出する歪検出部と、前記歪検出部における前記画素ブロック間歪の検出結果に応じて垂直フィルタ係数セットを決定するフィルタ係数決定部とを更に有し、
前記ポストフィルタの前記垂直フィルタ部が、前記垂直フィルタ係数セットを参照して、前記処理ブロック情報をフィルタ処理する請求項1に記載の画像復号装置。
Based on the decoding information of the decoding target pixel block and information of a horizontal pixel block that is horizontally adjacent to the decoding target pixel block, the post filter is arranged between the decoding target pixel block and the horizontal pixel block. A distortion detection unit that detects inter-pixel block distortion; and a filter coefficient determination unit that determines a vertical filter coefficient set according to the detection result of the inter-pixel block distortion in the distortion detection unit;
The image decoding device according to claim 1, wherein the vertical filter unit of the post filter filters the processing block information with reference to the vertical filter coefficient set.
前記ポストフィルタが、前記復号対象画素ブロックの復号化情報と前記画素保持部に保持された前記垂直画素ブロックの少なくとも一部の情報とを合成して前記処理ブロック情報を生成し、前記歪検出部及び前記垂直フィルタ部に出力する情報合成部を更に有する請求項3又は4に記載の画像処理装置。   The post filter generates the processing block information by synthesizing the decoding information of the decoding target pixel block and the information of at least a part of the vertical pixel block held in the pixel holding unit, and the distortion detecting unit The image processing apparatus according to claim 3, further comprising an information synthesis unit that outputs to the vertical filter unit. 前記処理ブロック情報が、前記復号対象画素ブロック情報と前記画素保持部に保持された前記垂直画素ブロックの少なくとも一部の情報とを連結した情報である請求項5に記載の画像復号装置。   The image decoding apparatus according to claim 5, wherein the processing block information is information obtained by connecting the decoding target pixel block information and at least a part of information of the vertical pixel block held in the pixel holding unit. 前記復号対象画像フレームと異なる参照画像フレームの情報を保持する復号用情報記憶部を更に含み、
前記復号対象画素ブロックの符号化情報が、符号化差分画像情報と、量子化粒度情報と、動きベクトル情報とを有し、
前記復号部が、前記量子化粒度情報を参照して前記符号化差分画像情報を逆量子化する逆量子化部と、前記逆量子化部で逆量子化された前記符号化差分画像情報を逆直交変換して復号化差分画像情報を生成する逆直交変換部と、前記動きベクトル情報及び前記復号用情報記憶部に保持された前記参照画像フレームの情報を参照して予測画像情報を生成する動き補償予測部と、前記復号化差分画像情報と前記予測画像情報とに基づいて前記復号対象画素ブロックの前記復号化情報を生成し、前記復号化情報を前記復号用情報記憶部及び前記ポストフィルタに出力する加算器とを有し、
前記ポストフィルタの前記フィルタ係数決定部が、前記量子化粒度情報及び前記動きベクトル情報の少なくとも一方を更に参照して、前記垂直フィルタ係数セットを決定する請求項3又は4に記載の画像復号装置。
A decoding information storage unit that holds information of a reference image frame different from the decoding target image frame;
The encoding information of the decoding target pixel block includes encoded difference image information, quantization granularity information, and motion vector information,
The decoding unit inversely quantizes the encoded differential image information with reference to the quantization granularity information, and reverses the encoded differential image information inversely quantized by the inverse quantization unit. An inverse orthogonal transform unit that performs orthogonal transform to generate decoded difference image information, and a motion that generates predicted image information with reference to the motion vector information and information of the reference image frame held in the decoding information storage unit Based on the compensation prediction unit, the decoded differential image information and the predicted image information, the decoding information of the pixel block to be decoded is generated, and the decoding information is stored in the decoding information storage unit and the post filter. An adder for outputting,
The image decoding device according to claim 3 or 4, wherein the filter coefficient determination unit of the post filter determines the vertical filter coefficient set by further referring to at least one of the quantization granularity information and the motion vector information.
前記画素保持部が、前記復号対象画素ブロックと水平に隣接する水平画素ブロックの少なくとも一部の情報を更に保持し、
前記処理ブロック情報が、前記画素保持部に保持された前記水平画素ブロックの少なくとも一部の情報を更に含み、
前記ポストフィルタが、前記処理ブロック情報をフィルタ処理して、前記復号対象画素ブロック、前記垂直画素ブロックの少なくとも一部及び前記水平画素ブロックの少なくとも一部を構成する画素群のうち前記復号対象画素ブロックと前記水平画素ブロックとの水平境界近傍の画素群を含む少なくとも一部の画素群の情報を修正し、修正された前記処理ブロック情報を前記垂直フィルタ部に出力する水平フィルタ部を更に有し、
前記垂直フィルタ部が、前記復号対象画素ブロック、前記垂直画素ブロックの少なくとも一部及び前記水平画素ブロックの少なくとも一部を構成する画素群のうち前記垂直境界近傍の画素群と前記水平境界近傍の画素群とを含む少なくとも一部の画素群の情報を出力する請求項1に記載の画像復号装置。
The pixel holding unit further holds at least part of information of a horizontal pixel block horizontally adjacent to the decoding target pixel block;
The processing block information further includes information on at least a part of the horizontal pixel block held in the pixel holding unit,
The post-filter filters the processing block information, and the decoding target pixel block among the pixel group constituting the decoding target pixel block, at least a part of the vertical pixel block, and at least a part of the horizontal pixel block And a horizontal filter unit that corrects information of at least a part of pixel groups including a pixel group near a horizontal boundary between the horizontal pixel block and outputs the corrected processing block information to the vertical filter unit,
The vertical filter unit includes a pixel group in the vicinity of the vertical boundary and a pixel in the vicinity of the horizontal boundary among the pixel groups constituting the pixel block to be decoded, at least a part of the vertical pixel block, and at least a part of the horizontal pixel block. The image decoding device according to claim 1, wherein information on at least a part of pixel groups including the group is output.
前記水平境界近傍の画素群が、前記復号対象画素ブロックを構成する画素と、前記水平画素ブロックの少なくとも一部を構成する画素とを含む請求項8に記載の画像復号装置。   The image decoding device according to claim 8, wherein the pixel group in the vicinity of the horizontal boundary includes a pixel constituting the decoding target pixel block and a pixel constituting at least a part of the horizontal pixel block. 前記ポストフィルタが、前記復号対象画素ブロック情報と前記画素保持部に保持された前記垂直画素ブロックの少なくとも一部の情報と前記画素保持部に保持された前記水平画素ブロックの少なくとも一部の情報とを合成して前記処理ブロック情報を生成し、前記歪検出部に出力する情報合成部を更に有する請求項8に記載の画像処理装置。   The post filter includes the pixel block information to be decoded, information on at least part of the vertical pixel block held in the pixel holding unit, and information on at least part of the horizontal pixel block held in the pixel holding unit. The image processing apparatus according to claim 8, further comprising an information combining unit that generates the processing block information by combining the information and outputs the processing block information to the distortion detection unit. 前記画素保持部に保持される前記参照画素情報が、前記復号対象画素ブロックと、前記垂直画素ブロックと前記水平画素ブロックとに隣接し、前記復号対象画素ブロック、前記垂直画素ブロック及び前記水平画素ブロックと異なる対角画素ブロックの少なくとも一部の情報を更に含み、
前記処理ブロック情報が、前記画素保持部に保持された前記対角画素ブロックの少なくとも一部の情報を更に含み、
前記ポストフィルタの水平フィルタ部が、前記処理ブロック情報をフィルタ処理して、前記復号対象画素ブロック、前記垂直画素ブロックの少なくとも一部、前記水平画素ブロックの少なくとも一部及び前記対角画素ブロックの少なくとも一部を構成する画素群のうち前記水平境界近傍の画素群を含む少なくとも一部の画素群の情報を修正し、
前記垂直フィルタ部が、前記復号対象画素ブロック、前記垂直画素ブロックの少なくとも一部及び前記水平画素ブロックの少なくとも一部を構成する画素群のうち前記垂直境界近傍の画素群と前記水平境界近傍の画素群とを含む少なくとも一部の画素群の情報を出力する請求項8に記載の画像復号装置。
The reference pixel information held in the pixel holding unit is adjacent to the decoding target pixel block, the vertical pixel block, and the horizontal pixel block, and the decoding target pixel block, the vertical pixel block, and the horizontal pixel block Further comprising at least part of information of a diagonal pixel block different from
The processing block information further includes at least a part of the diagonal pixel block held in the pixel holding unit;
A horizontal filter unit of the post filter filters the processing block information to obtain at least a part of the pixel block to be decoded, at least a part of the vertical pixel block, at least a part of the horizontal pixel block, and at least a diagonal pixel block. Correcting information of at least some pixel groups including a pixel group near the horizontal boundary among pixel groups constituting a part,
The vertical filter unit includes a pixel group in the vicinity of the vertical boundary and a pixel in the vicinity of the horizontal boundary among the pixel groups constituting the pixel block to be decoded, at least a part of the vertical pixel block, and at least a part of the horizontal pixel block. The image decoding device according to claim 8, wherein information on at least a part of pixel groups including the group is output.
前記ポストフィルタの前記水平フィルタ部が、前記処理ブロック情報をフィルタ処理して、前記復号対象画素ブロック、前記垂直画素ブロックの少なくとも一部、前記水平画素ブロックの少なくとも一部及び前記対角画素ブロックの少なくとも一部を構成する画素群のうち前記水平境界近傍の画素群及び前記復号対象画素ブロックと前記対角画素ブロックとの対角境界近傍の画素群を含む少なくとも一部の画素群の情報を修正し、
前記垂直フィルタ部が、前記復号対象画素ブロック、前記垂直画素ブロックの少なくとも一部及び前記水平画素ブロックの少なくとも一部を構成する画素群のうち前記垂直境界近傍の画素群と前記水平境界近傍の画素群と前記対角境界近傍の画素群とを含む少なくとも一部の画素群の情報を出力する請求項11に記載の画像復号装置。
The horizontal filter unit of the post filter filters the processing block information to obtain the decoding target pixel block, at least a part of the vertical pixel block, at least a part of the horizontal pixel block, and the diagonal pixel block. Information on at least a part of pixel groups including a pixel group near the horizontal boundary and a pixel group near the diagonal boundary between the pixel block to be decoded and the diagonal pixel block among at least a part of the pixel group is corrected. And
The vertical filter unit includes a pixel group in the vicinity of the vertical boundary and a pixel in the vicinity of the horizontal boundary among the pixel groups constituting the pixel block to be decoded, at least a part of the vertical pixel block, and at least a part of the horizontal pixel block. The image decoding device according to claim 11, wherein information on at least a part of pixel groups including a group and a pixel group near the diagonal boundary is output.
前記ポストフィルタが、前記復号対象画素ブロックの復号化情報、前記画素保持部に保持された前記垂直画素ブロックの少なくとも一部の情報、前記画素保持部に保持された前記水平画素ブロックの少なくとも一部の情報及び前記画素保持部に保持された前記対角画素ブロックの少なくとも一部の情報を合成して前記処理ブロック情報を生成し、前記歪検出部及び前記水平フィルタ部に出力する情報合成部を更に有する請求項8又は11に記載の画像処理装置。   The post filter includes decoding information of the decoding target pixel block, information of at least a part of the vertical pixel block held in the pixel holding unit, and at least a part of the horizontal pixel block held in the pixel holding unit. And an information synthesis unit that generates the processing block information by synthesizing at least a part of the diagonal pixel blocks held in the pixel holding unit and outputs the processed block information to the distortion detection unit and the horizontal filter unit. The image processing apparatus according to claim 8, further comprising: 前記ポストフィルタが、前記復号対象画素ブロックの前記復号化情報と前記垂直画素ブロックの情報とに基づいて、前記復号対象画素ブロックと前記垂直画素ブロックとの間の画素ブロック間歪を検出する歪検出部と、前記歪検出部における前記画素ブロック間歪の検出結果に応じて垂直フィルタ係数セット及び水平フィルタ係数セットを決定するフィルタ係数決定部とを更に有し、
前記ポストフィルタの前記垂直フィルタ部が、前記垂直フィルタ係数セットを参照してフィルタ処理し、
前記ポストフィルタの前記水平フィルタ部が、前記水平フィルタ係数セットを参照してフィルタ処理する請求項8又は11に記載の画像復号装置。
Distortion detection in which the post filter detects inter-pixel block distortion between the decoding target pixel block and the vertical pixel block based on the decoding information of the decoding target pixel block and the information of the vertical pixel block A filter coefficient determination unit that determines a vertical filter coefficient set and a horizontal filter coefficient set according to a detection result of the inter-pixel block distortion in the distortion detection unit,
The vertical filter portion of the post filter performs filtering with reference to the vertical filter coefficient set;
The image decoding apparatus according to claim 8 or 11, wherein the horizontal filter unit of the post filter performs a filtering process with reference to the horizontal filter coefficient set.
前記ポストフィルタが、前記復号対象画素ブロックの前記復号化情報と前記水平画素ブロックの情報とに基づいて、前記復号対象画素ブロックと前記水平画素ブロックとの間の画素ブロック間歪を検出する歪検出部と、前記歪検出部における前記画素ブロック間歪の検出結果に応じて垂直フィルタ係数セット及び水平フィルタ係数セットを決定するフィルタ係数決定部とを更に有し、
前記ポストフィルタの前記垂直フィルタ部が、前記垂直フィルタ係数セットを参照してフィルタ処理し、
前記ポストフィルタの前記水平フィルタ部が、前記水平フィルタ係数セットを参照してフィルタ処理する請求項8又は11に記載の画像復号装置。
Distortion detection in which the post filter detects inter-pixel block distortion between the decoding target pixel block and the horizontal pixel block based on the decoding information of the decoding target pixel block and the information of the horizontal pixel block A filter coefficient determination unit that determines a vertical filter coefficient set and a horizontal filter coefficient set according to a detection result of the inter-pixel block distortion in the distortion detection unit,
The vertical filter portion of the post filter performs filtering with reference to the vertical filter coefficient set;
The image decoding apparatus according to claim 8 or 11, wherein the horizontal filter unit of the post filter performs a filtering process with reference to the horizontal filter coefficient set.
前記復号対象画像フレームと異なる参照画像フレームの情報を保持する復号用情報記憶部を更に含み、
前記復号対象画素ブロックの符号化情報が、符号化差分画像情報と、量子化粒度情報と、動きベクトル情報とを有し、
前記復号部が、前記量子化粒度情報を参照して前記符号化差分画像情報を逆量子化する逆量子化部と、前記逆量子化部で逆量子化された前記符号化差分画像情報を逆直交変換して復号化差分画像情報を生成する逆直交変換部と、前記動きベクトル情報及び前記復号用情報記憶部に保持された前記参照画像フレームの情報を参照して予測画像情報を生成する動き補償予測部と、前記復号化差分画像情報と前記予測画像情報とに基づいて前記復号対象画素ブロックの前記復号化情報を生成し、前記復号化情報を前記復号用情報記憶部及び前記ポストフィルタに出力する加算器とを有し、
前記ポストフィルタの前記フィルタ係数決定部が、前記量子化粒度情報及び前記動きベクトル情報の少なくとも一方を更に参照して、前記垂直フィルタ係数セット及び前記水平フィルタ係数セットを決定する請求項14又は15に記載の画像復号装置。
A decoding information storage unit that holds information of a reference image frame different from the decoding target image frame;
The encoding information of the decoding target pixel block includes encoded difference image information, quantization granularity information, and motion vector information,
The decoding unit inversely quantizes the encoded differential image information with reference to the quantization granularity information, and reverses the encoded differential image information inversely quantized by the inverse quantization unit. An inverse orthogonal transform unit that performs orthogonal transform to generate decoded difference image information, and a motion that generates predicted image information with reference to the motion vector information and information of the reference image frame held in the decoding information storage unit Based on the compensation prediction unit, the decoded differential image information and the predicted image information, the decoding information of the pixel block to be decoded is generated, and the decoding information is stored in the decoding information storage unit and the post filter. An adder for outputting,
The filter coefficient determining unit of the post filter further determines the vertical filter coefficient set and the horizontal filter coefficient set by further referring to at least one of the quantization granularity information and the motion vector information. The image decoding device described.
JP2004166328A 2004-06-03 2004-06-03 Image processor Pending JP2005348176A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004166328A JP2005348176A (en) 2004-06-03 2004-06-03 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004166328A JP2005348176A (en) 2004-06-03 2004-06-03 Image processor

Publications (1)

Publication Number Publication Date
JP2005348176A true JP2005348176A (en) 2005-12-15

Family

ID=35500117

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004166328A Pending JP2005348176A (en) 2004-06-03 2004-06-03 Image processor

Country Status (1)

Country Link
JP (1) JP2005348176A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008034951A (en) * 2006-07-26 2008-02-14 Sony Corp Video signal processing method and processor, and video signal decoding method
JP2008048181A (en) * 2006-08-17 2008-02-28 Fujitsu Ltd Deblocking filter, image coding apparatus, and image decoding apparatus
JP2010041064A (en) * 2008-07-31 2010-02-18 Sony Corp Image processing unit, image processing method, and program
US7889188B2 (en) * 2006-06-29 2011-02-15 Lg Display Co., Ltd. Flat panel display and method of controlling picture quality thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7889188B2 (en) * 2006-06-29 2011-02-15 Lg Display Co., Ltd. Flat panel display and method of controlling picture quality thereof
JP2008034951A (en) * 2006-07-26 2008-02-14 Sony Corp Video signal processing method and processor, and video signal decoding method
JP2008048181A (en) * 2006-08-17 2008-02-28 Fujitsu Ltd Deblocking filter, image coding apparatus, and image decoding apparatus
JP4712642B2 (en) * 2006-08-17 2011-06-29 富士通セミコンダクター株式会社 Deblocking filter, image encoding device, and image decoding device
JP2010041064A (en) * 2008-07-31 2010-02-18 Sony Corp Image processing unit, image processing method, and program
JP4613990B2 (en) * 2008-07-31 2011-01-19 ソニー株式会社 Image processing apparatus, image processing method, and program

Similar Documents

Publication Publication Date Title
JP4145275B2 (en) Motion vector detection / compensation device
JP2013070399A (en) Scalable video coding with filtering of lower layers
JP4749377B2 (en) Block noise removal device
US8305489B2 (en) Video conversion apparatus and method, and program
EP2235951B1 (en) Method for improving the colour sharpness in video- and still-images
WO2011078003A1 (en) Device, method, and program for image processing
JP6409516B2 (en) Picture coding program, picture coding method, and picture coding apparatus
US8681877B2 (en) Decoding apparatus, decoding control apparatus, decoding method, and program
KR101081074B1 (en) Method of down-sampling data values
US20090022408A1 (en) Imiage processing apparatus and image processing program
JP4284265B2 (en) Moving picture coding apparatus, moving picture coding method, moving picture decoding apparatus, and moving picture decoding method
US20230421786A1 (en) Chroma from luma prediction for video coding
JP2010098352A (en) Image information encoder
US8116584B2 (en) Adaptively de-blocking circuit and associated method
JP2005348176A (en) Image processor
US6507673B1 (en) Method and apparatus for video encoding decision
JP2006508584A (en) Method for vector prediction
TWI486061B (en) Method and system for motion compensated picture rate up-conversion using information extracted from a compressed video stream
US8588305B2 (en) Two-dimensional interpolation architecture for motion compensation in multiple video standards
KR20210072093A (en) Encoder, decoder and method for inter prediction
US20110129160A1 (en) Image processing apparatus and image processing method in the image processing apparatus
US11463716B2 (en) Buffers for video coding in palette mode
JP4781306B2 (en) Block noise removal device
JP2005521310A (en) Video signal post-processing method
JP4582378B2 (en) Image noise reduction apparatus and image noise reduction method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070531

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090630

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090730

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20091119