JP4768011B2 - Moving picture encoding apparatus and moving picture decoding apparatus - Google Patents

Moving picture encoding apparatus and moving picture decoding apparatus Download PDF

Info

Publication number
JP4768011B2
JP4768011B2 JP2008506197A JP2008506197A JP4768011B2 JP 4768011 B2 JP4768011 B2 JP 4768011B2 JP 2008506197 A JP2008506197 A JP 2008506197A JP 2008506197 A JP2008506197 A JP 2008506197A JP 4768011 B2 JP4768011 B2 JP 4768011B2
Authority
JP
Japan
Prior art keywords
image
pixel value
block
filter processing
predicted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2008506197A
Other languages
Japanese (ja)
Other versions
JPWO2007108254A1 (en
Inventor
真毅 高橋
友子 青野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2008506197A priority Critical patent/JP4768011B2/en
Publication of JPWO2007108254A1 publication Critical patent/JPWO2007108254A1/en
Application granted granted Critical
Publication of JP4768011B2 publication Critical patent/JP4768011B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/86Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving reduction of coding artifacts, e.g. of blockiness
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/80Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
    • H04N19/82Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation involving filtering within a prediction loop
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression

Description

本発明は、量子化対象画像を複数のブロックに分割して符号化する動画像符号化装置、及び、動画像復号装置に関するものである。   The present invention relates to a moving image encoding apparatus and a moving image decoding apparatus that divide and encode a quantization target image into a plurality of blocks.

膨大な情報量をもつ動画像を効率的に伝送したり記録したりするために、画像データを複数のブロックに分割してブロック毎に量子化・符号化する技術が広く用いられている。ブロック毎に量子化・符号化された動画像においては、各ブロックの境界において輝度レベル等の画素値が不連続に変化するブロック歪(ブロックノイズ)が発生する。このブロック歪を低減する技術として、非特許文献1に記載のH.264/AVC動画像符号化方式におけるデブロッキングフィルタが知られている。   In order to efficiently transmit and record a moving image having an enormous amount of information, a technique of dividing image data into a plurality of blocks and quantizing and encoding each block is widely used. In a moving image quantized and encoded for each block, block distortion (block noise) in which pixel values such as luminance levels discontinuously change occurs at the boundary of each block. As a technique for reducing the block distortion, the H.P. A deblocking filter in the H.264 / AVC video coding system is known.

以下、H.264/AVC動画像符号化方式により動画像を符号化する動画像符号化装置100、および、同方式により符号化された動画像を復号する動画像復号装置200について、図11〜図15を参照しながら説明する。   Hereinafter, H.C. FIG. 11 to FIG. 15 regarding a moving picture encoding apparatus 100 that encodes a moving picture using the H.264 / AVC moving picture encoding scheme and a moving picture decoding apparatus 200 that decodes a moving picture encoded using the same scheme. While explaining.

〔従来の動画像符号化装置の構成〕
図11は、H.264/AVC動画像符号化方式により動画像を符号化する動画像符号化装置100の概略構成を示す機能ブロック図である。図11に示したように、動画像符号化装置100は、DCT部1、量子化部2、可変長符号化部3、逆量子化部4、IDCT部5、デブロッキングフィルタ処理部6、フレームメモリ7、イントラ予測部8、インター予測部9、及び、上記各部を制御する符号化制御部10を備えている。
[Configuration of Conventional Video Encoding Device]
FIG. 1 is a functional block diagram illustrating a schematic configuration of a moving image encoding apparatus 100 that encodes a moving image using an H.264 / AVC moving image encoding method. As shown in FIG. 11, the moving picture coding apparatus 100 includes a DCT unit 1, a quantization unit 2, a variable length coding unit 3, an inverse quantization unit 4, an IDCT unit 5, a deblocking filter processing unit 6, a frame A memory 7, an intra prediction unit 8, an inter prediction unit 9, and an encoding control unit 10 that controls each of the above units are provided.

DCT部1は、原画像から後述する予測画像を減算して得られる差分画像を4×4画素あるいは8×8画素からなるブロックに分割し、各ブロックの画像信号を直交変換(整数精度DCT)する。当該直交変換により得られた変換係数(離散コサイン変換におけるDCT係数に相当)は、量子化部2に送られる。量子化部2は、符号化制御部10から供給される量子化パラメータに従って、各ブロックの変換係数を量子化する。量子化の結果得られた量子化代表値は、可変長符号化部3と逆量子化部4とに送られる。   The DCT unit 1 divides a difference image obtained by subtracting a prediction image described later from an original image into blocks each having 4 × 4 pixels or 8 × 8 pixels, and orthogonally transforms the image signals of each block (integer precision DCT). To do. A transform coefficient (corresponding to a DCT coefficient in discrete cosine transform) obtained by the orthogonal transform is sent to the quantization unit 2. The quantization unit 2 quantizes the transform coefficient of each block according to the quantization parameter supplied from the encoding control unit 10. The quantized representative value obtained as a result of the quantization is sent to the variable length coding unit 3 and the inverse quantization unit 4.

可変長符号化部3は、符号化制御部10から供給される各種符号化パラメータと、量子化部3から供給される量子化代表値(量子化された各ブロックの変換係数)を可変長符号化する。可変長符号化部3による符号化の結果得られた符号化データは、後述する動画像復号装置200に送出される。   The variable length encoding unit 3 converts the various encoding parameters supplied from the encoding control unit 10 and the quantized representative value (transformed coefficient of each quantized block) supplied from the quantization unit 3 into a variable length code. Turn into. The encoded data obtained as a result of encoding by the variable length encoding unit 3 is sent to the moving picture decoding apparatus 200 described later.

逆量子化部4は、符号化制御部10から供給される量子化パラメータに従って、量子化部3から供給される量子化代表値(量子化された各ブロックの変換係数)を逆量子化する。すなわち、逆量子化部4は、量子化部2による上記量子化操作の逆の操作により、量子化代表値から各ブロックの変換係数を復元する。逆量子化により復元された各ブロックの変換係数は、IDCT部5に送られる。IDCT部5は、逆量子化により得られた各ブロックの変換係数を空間領域の画像信号に変換し、差分画像を復元する。ここで、IDCT部5が変換係数に適用する逆直交変換は、DCT部1が適用する直交変換の逆変換(整数精度IDCT)である。IDCT部5により復元された差分画像と予測画像とを加算して得られる局所復号画像は、デブロッキングフィルタ処理部6に送られる。   The inverse quantization unit 4 inversely quantizes the quantization representative value (transformed coefficient of each quantized block) supplied from the quantization unit 3 according to the quantization parameter supplied from the encoding control unit 10. That is, the inverse quantization unit 4 restores the transform coefficient of each block from the quantized representative value by an operation reverse to the quantization operation by the quantization unit 2. The transform coefficient of each block restored by inverse quantization is sent to the IDCT unit 5. The IDCT unit 5 converts the transform coefficient of each block obtained by inverse quantization into an image signal in the spatial domain, and restores the difference image. Here, the inverse orthogonal transform applied to the transform coefficient by the IDCT unit 5 is the inverse transform (integer accuracy IDCT) of the orthogonal transform applied by the DCT unit 1. The locally decoded image obtained by adding the difference image restored by the IDCT unit 5 and the predicted image is sent to the deblocking filter processing unit 6.

デブロッキングフィルタ処理部6は、予測画像と差分画像とが加算された局所復号画像におけるブロック歪を除去するために、該局所復号画像に対して適応的なフィルタ処理を行う。デブロッキングフィルタ処理部6による適応的なフィルタ処理の詳細については、後に詳しく説明する。   The deblocking filter processing unit 6 performs adaptive filter processing on the local decoded image in order to remove block distortion in the local decoded image obtained by adding the predicted image and the difference image. Details of adaptive filter processing by the deblocking filter processing unit 6 will be described in detail later.

デブロッキングフィルタ処理部6によりブロック歪が除去された局所復号画像は、フレームメモリ7に一時的に記憶される。フレームメモリ7は、複数の局所復号画像を記憶することが可能である。フレームメモリ7に記憶されている局所復号画像は、参照画像としてイントラ予測部8、あるいは、インター予測部9によって参照される。   The locally decoded image from which block distortion has been removed by the deblocking filter processing unit 6 is temporarily stored in the frame memory 7. The frame memory 7 can store a plurality of locally decoded images. The locally decoded image stored in the frame memory 7 is referred to by the intra prediction unit 8 or the inter prediction unit 9 as a reference image.

イントラ予測部8は、フレーム内予測を行うことにより、フレームメモリ7に記録された参照画像から予測画像を生成する。イントラ予測部8は、H.264/AVC動画像符号化標準において定義されている複数の予測モード(予測アルゴリズム)によるフレーム内予測を行うことが可能であり、符号化制御部10により指定された予測モードによるフレーム内予測を実行する。   The intra prediction unit 8 generates a predicted image from the reference image recorded in the frame memory 7 by performing intra-frame prediction. The intra-prediction unit 8 It is possible to perform intra-frame prediction using a plurality of prediction modes (prediction algorithms) defined in the H.264 / AVC video coding standard, and execute intra-frame prediction using a prediction mode specified by the encoding control unit 10. To do.

インター予測部9は、符号化制御部10により決定された動きベクトルとフレームメモリ7に記憶された参照画像とに基づいて、フレーム間予測(動き補償予測)によって予測画像を生成する。インター予測部9は、符号化制御部10により指定されたサイズのブロックを用いて、また、符号化制御部10により指定された複数の参照画像を用いてフレーム間予測を行う。   The inter prediction unit 9 generates a prediction image by inter-frame prediction (motion compensation prediction) based on the motion vector determined by the encoding control unit 10 and the reference image stored in the frame memory 7. The inter prediction unit 9 performs inter-frame prediction using a block having a size specified by the encoding control unit 10 and using a plurality of reference images specified by the encoding control unit 10.

符号化制御部10は、フレーム内予測とフレーム間予測とのうち何れの予測方法により予測画像を生成するかを判定し、判定された予測方法に応じた各種符号化パラメータを決定する。フレーム内予測を行う場合の符号化パラメータには、フレーム内予測における予測モードを指定する情報が含まれる。また、フレーム間予測を行う場合の符号化パラメータには、動きベクトル、ブロックサイズ、および、参照画像を指定する情報が含まれる。さらに、符号化制御部10は、量子化部2と逆量子化部4とに対して量子化パラメータを指定する。   The encoding control unit 10 determines which prediction method is used to generate a prediction image among intra-frame prediction and inter-frame prediction, and determines various encoding parameters according to the determined prediction method. The encoding parameter when performing intra-frame prediction includes information specifying a prediction mode in intra-frame prediction. In addition, the encoding parameters when performing inter-frame prediction include information specifying a motion vector, a block size, and a reference image. Furthermore, the encoding control unit 10 specifies a quantization parameter for the quantization unit 2 and the inverse quantization unit 4.

次に、図11に示した動画像符号化装置100の符号化動作について説明する。概略的に言えば、動画像符号化装置100は、以下のステップ1〜6を繰り返すことにより、動画像の符号化を行う。   Next, the encoding operation of the moving image encoding device 100 shown in FIG. 11 will be described. Schematically speaking, the moving image encoding apparatus 100 encodes a moving image by repeating the following steps 1 to 6.

(ステップ1) 符号化制御部10が、フレーム内予測を行うかフレーム間予測を行うかを判定し、符号化に必要な符号化パラメータおよび量子化パラメータを決定する。   (Step 1) The encoding control unit 10 determines whether to perform intra-frame prediction or inter-frame prediction, and determines an encoding parameter and a quantization parameter necessary for encoding.

(ステップ2) ステップ1における判定結果に応じて、イントラ予測部8またはインター予測部9が、フレームメモリ7に蓄積された参照画像を基に予測画像を生成する。   (Step 2) In accordance with the determination result in Step 1, the intra prediction unit 8 or the inter prediction unit 9 generates a prediction image based on the reference image stored in the frame memory 7.

(ステップ3) ステップ2にて生成された予測画像と入力された原画像との差分画像が生成され、DCT部1に供給される。   (Step 3) A difference image between the predicted image generated in Step 2 and the input original image is generated and supplied to the DCT unit 1.

(ステップ4)DCT部1と量子化部2とが、ステップ3にて得られた差分画像の画像信号をブロック毎に直交変換し、得られた変換係数を量子化する。得られた量子化代表値は、可変長符号化部3により可変長符号化されて、符号化データとして出力される。   (Step 4) The DCT unit 1 and the quantization unit 2 orthogonally transform the image signal of the difference image obtained in step 3 for each block, and quantize the obtained transform coefficient. The obtained quantized representative value is variable-length encoded by the variable-length encoding unit 3 and output as encoded data.

(ステップ5) 逆量子化部4とIDCT部5とが、ステップ4にて得られた量子化代表値を逆量子化して差分画像を復元する。   (Step 5) The inverse quantization unit 4 and the IDCT unit 5 dequantize the quantized representative value obtained in step 4 to restore the difference image.

(ステップ6) ステップ5にて復元された差分画像とステップ2にて生成された予測画像とが加算され、得られた局所復号画像がデブロッキングフィルタ処理部6に供給される。   (Step 6) The difference image restored in step 5 and the predicted image generated in step 2 are added, and the obtained locally decoded image is supplied to the deblocking filter processing unit 6.

(ステップ7) デブロッキングフィルタ処理部6により、ステップ6にて得られた局所復号画像からブロック歪が除去され、ブロック歪が低減された局所復号画像がフレームメモリ7に参照画像として蓄積される。   (Step 7) The deblocking filter processing unit 6 removes block distortion from the local decoded image obtained in step 6, and the local decoded image with reduced block distortion is stored in the frame memory 7 as a reference image.

〔従来の動画像復号装置の構成〕
次に、H.264/AVC動画像符号化方式により符号化された動画像を復号する動画像復号装置200について、図12に基づいて説明する。図12に示したように、動画像復号装置200は、逆量子化部4、IDCT部5、デブロッキングフィルタ処理部6、フレームメモリ7、イントラ予測部8、インター予測部9、および、可変長復号部20を備えている。
[Configuration of Conventional Video Decoding Device]
Next, H.I. A moving picture decoding apparatus 200 that decodes a moving picture encoded by the H.264 / AVC moving picture encoding method will be described with reference to FIG. As shown in FIG. 12, the moving picture decoding apparatus 200 includes an inverse quantization unit 4, an IDCT unit 5, a deblocking filter processing unit 6, a frame memory 7, an intra prediction unit 8, an inter prediction unit 9, and a variable length. A decoding unit 20 is provided.

ここで、動画像復号装置200を構成する機能ブロックのうち、上述した動画像符号化装置100(図11)にない機能ブロックは、可変長復号部20のみである。動画像符号化装置100と同一機能を有するブロックについては、名称および符号を同一とし説明を省略する。可変長復号部20は、符号化パラメータおよび量子化代表値(量子化された変換係数)を可変長復号する機能を有している。   Here, among the functional blocks constituting the moving image decoding apparatus 200, the only functional block not included in the above-described moving image encoding apparatus 100 (FIG. 11) is the variable length decoding unit 20. About the block which has the same function as the moving image encoder 100, a name and code | symbol are the same and description is abbreviate | omitted. The variable length decoding unit 20 has a function of variable length decoding the encoding parameter and the quantized representative value (quantized transform coefficient).

図12に示した動画像復号装置200は、概略的に言えば、以下のステップ1〜6を繰り返すことにより、符号化データを復号する。   Generally speaking, the moving picture decoding apparatus 200 shown in FIG. 12 decodes encoded data by repeating the following steps 1 to 6.

(ステップ1) 可変長復号部20が、符号化データを可変長復号し、符号化パラメータと量子化代表値(量子化された変換係数)とを得る。   (Step 1) The variable length decoding unit 20 performs variable length decoding on the encoded data to obtain an encoding parameter and a quantized representative value (quantized transform coefficient).

(ステップ2) 復号された符号化パラメータに従い、イントラ予測部8またはインター予測部9が、フレームメモリ7に蓄積された参照画像を基に予測画像を生成する。   (Step 2) In accordance with the decoded encoding parameter, the intra prediction unit 8 or the inter prediction unit 9 generates a prediction image based on the reference image stored in the frame memory 7.

(ステップ3) 逆量子化部4とIDCT部5とが、ステップ1にて得られた量子化代表値を逆量子化して差分画像を復元する。   (Step 3) The inverse quantization unit 4 and the IDCT unit 5 dequantize the quantized representative value obtained in step 1 to restore the difference image.

(ステップ4) ステップ3にて復元された差分画像とステップ2にて生成された予測画像とが加算され、得られた復号画像がデブロッキングフィルタ処理部6に供給される。   (Step 4) The difference image restored in step 3 and the predicted image generated in step 2 are added, and the obtained decoded image is supplied to the deblocking filter processing unit 6.

(ステップ5) デブロッキングフィルタ処理部6により、ステップ4にて得られた復号画像からブロック歪が除去され、ブロック歪が低減された復号画像がフレームメモリ7に蓄積される。フレームメモリ7に蓄積された復号画像は、任意のタイミングで読み出して参照画像あるいは表示用画像として利用され得る。   (Step 5) The deblocking filter processing unit 6 removes block distortion from the decoded image obtained in step 4, and stores the decoded image with reduced block distortion in the frame memory 7. The decoded image stored in the frame memory 7 can be read at an arbitrary timing and used as a reference image or a display image.

(ステップ6) フレームメモリに蓄積された復号画像が表示用画像として適切なタイミングでディスプレイ等の画像映出手段に出力される。
〔デブロッキングフィルタ〕
上述した通り、H.264/AVC動画像符号化方式では、動画像符号化装置100および動画像復号装置200の双方において、共通のデブロッキングフィルタ処理部6を用いることにより、動画像の量子化・逆量子化過程で発生するブロック歪を低減している。以下、このデブロッキングフィルタ処理部6について、図13〜図15を参照しながら、もう少し詳しく説明する。
(Step 6) The decoded image stored in the frame memory is output to an image projection means such as a display at an appropriate timing as a display image.
[Deblocking filter]
As described above, H.C. In the H.264 / AVC moving picture coding system, the common deblocking filter processing unit 6 is used in both the moving picture coding apparatus 100 and the moving picture decoding apparatus 200, so that the moving picture is quantized and dequantized. The generated block distortion is reduced. Hereinafter, the deblocking filter processing unit 6 will be described in more detail with reference to FIGS. 13 to 15.

図13は、H.264/AVC動画像符号化方式による動画像の符号化処理における、量子化対象画像(原画像と予測画像との差分画像)のブロック分割パターンを示す説明図である。図13に示したように、量子化対象画像は、W×H個の矩形状のブロックに分割される。W×H個のブロックには、量子化対象画像の左上端から順にB〜BW×H−1の符号を付している。FIG. 2 is an explanatory diagram illustrating a block division pattern of a quantization target image (a difference image between an original image and a predicted image) in a moving image encoding process using the H.264 / AVC moving image encoding method. As shown in FIG. 13, the quantization target image is divided into W × H rectangular blocks. The W × H blocks are assigned B 0 to B W × H−1 in order from the upper left end of the quantization target image.

図14は、図13に示した量子化対象画像中の隣接する2つのブロック、ブロックBとブロックBn+1とを示す図である。図14に示したように、ブロックBおよびブロックBn+1は、それぞれ4行4列に配列された計16個の画素から構成されている。図13の符号化対象画像を構成する全てのブロックB〜BW×H−1は、ブロックBと同様、4行4列に配列された16画素から構成されている。FIG. 14 is a diagram showing two adjacent blocks, block Bn and block Bn + 1 , in the quantization target image shown in FIG. As shown in FIG. 14, each of the block B n and the block B n + 1 is composed of a total of 16 pixels arranged in 4 rows and 4 columns. As with the block Bn , all the blocks B 0 to B W × H−1 constituting the encoding target image in FIG. 13 are composed of 16 pixels arranged in 4 rows and 4 columns.

量子化対象画像を構成する画素は、該画素を含むブロックを特定する変数nと、このブロック中で該画素の位置を特定する変数u、vとの組み合わせ(n、u、v)で指定することができる。すなわち、画素(n、u、v)は、ブロックBのu列目v行目の画素である。また、以下の説明において、画素(n、u、v)の属性値をX(n、u、v)のように表記する。例えば、符号化対象画像における画素(n、u、v)の画素値はP(n、u、v)のように表記する。The pixel constituting the quantization target image is designated by a combination (n, u, v) of a variable n for specifying a block including the pixel and variables u and v for specifying the position of the pixel in the block. be able to. That is, the pixel (n, u, v) is a pixel in the u-th column and the v-th row of the block B n . In the following description, the attribute value of the pixel (n, u, v) is expressed as X (n, u, v). For example, the pixel value of the pixel (n, u, v) in the encoding target image is expressed as P (n, u, v).

図13および図14に示したブロックB〜BW×H−1が、動画像の符号化における直交変換・量子化・逆量子化・逆直交変換の一連の処理の処理単位となる。すなわち、量子化対象画像の画像データは、ブロックB〜BW×H−1毎に変換係数に変換されて量子化される。The blocks B 0 to B W × H−1 shown in FIG. 13 and FIG. 14 are processing units of a series of processes of orthogonal transform, quantization, inverse quantization, and inverse orthogonal transform in moving image coding. That is, the image data of the quantization target image is converted into a conversion coefficient for each block B 0 to B W × H−1 and quantized.

しかしながら、量子化は非可逆的な過程であるため、逆量子化・逆直交変換により量子化対象画像を復元したとしても、復元された画像は符号化対象画像とは一致せず、復元された画像における隣接ブロック間の境界にはブロック歪が発生する。このブロック歪を低減するのがデブロッキングフィルタ処理部6である。   However, since quantization is an irreversible process, even if the image to be quantized is restored by inverse quantization / inverse orthogonal transformation, the restored image does not match the image to be encoded and has been restored. Block distortion occurs at the boundary between adjacent blocks in the image. The deblocking filter processing unit 6 reduces this block distortion.

H.264/AVC動画像符号化方式で用いられるデブロッキングフィルタ処理部6は、水平方向に隣接するブロック(B、Bn+1)間のフィルタ処理、および、垂直方向に隣接するブロック(B、Bn+W)間のフィルタ処理をぞれぞれ独立に行う。また、デブロッキングフィルタ処理部6が行うフィルタ処理のフィルタ強度は、各ブロックに適用された予測モード等の条件に応じて、適応的に設定される。H. The deblocking filter processing unit 6 used in the H.264 / AVC moving image coding system performs filtering between blocks (B n , B n + 1 ) adjacent in the horizontal direction, and blocks (B n , B adjacent in the vertical direction). n + W ) are independently filtered. Further, the filter strength of the filter processing performed by the deblocking filter processing unit 6 is adaptively set according to conditions such as a prediction mode applied to each block.

デブロッキングフィルタ処理部6が行うフィルタ処理の一例として、水平方向に隣接するブロックBとブロックBn+1とに対する、最も強いフィルタ強度でのフィルタ処理演算を以下に示す。なお、以下の各式において、P(n、u、v)はデブロッキングフィルタ処理の処理対象画像(動画像符号化装置100における局所復号画像、あるいは、動画像復号装置200における復号画像)における画素(n、u、v)の画素値、P´(n、u、v)はデブロッキングフィルタ処理部6が出力するフィルタ出力画像における画素(n、u、v)の画素値を表す。As an example of the filter processing performed by the deblocking filter processing unit 6, a filter processing calculation with the strongest filter strength for the block Bn and the block Bn + 1 adjacent in the horizontal direction is shown below. In each of the following expressions, P (n, u, v) is a pixel in the processing target image (local decoded image in the moving image encoding device 100 or decoded image in the moving image decoding device 200) of the deblocking filter process. The pixel value (n, u, v) and P ′ (n, u, v) represent the pixel value of the pixel (n, u, v) in the filter output image output by the deblocking filter processing unit 6.

Figure 0004768011
Figure 0004768011

Figure 0004768011
Figure 0004768011

Figure 0004768011
Figure 0004768011

Figure 0004768011
Figure 0004768011

Figure 0004768011
Figure 0004768011

Figure 0004768011
Figure 0004768011

Figure 0004768011
Figure 0004768011

Figure 0004768011
Figure 0004768011

なお詳細な説明は省略するが、同様のフィルタ処理が垂直方向の隣接ブロック間に対しても適用される。   Although a detailed description is omitted, the same filtering process is applied to adjacent blocks in the vertical direction.

上記フィルタ処理の処理対象画像に対する作用を、図15(a)〜(c)に示す。図15(a)は、ブロックBとブロックBn+1とにおける、原画像の画素値p(n、u、v)を表すグラフである。図15(b)は、ブロックBとブロックBn+1とにおける、デブロッキングフィルタ処理部6の処理対象となる復号画像の画素値P(n、u、v)を表すグラフである。図15(b)に示すように、復号画像においては、ブロック境界における画素値の不連続な変化、すなわち、ブロック歪が発生している。図15(c)は、復号画像にデブロッキングフィルタ6によるフィルタリング処理を施した後の画像の、ブロックBとブロックBn+1とにおける画素値P´(n、u、v)を表すグラフである。デブロッキングフィルタ6により隣接ブロック間に渡る画素値の畳み込みが行われるため、復元された符号化対象画像における画素値の不連続な変化は平滑化され、ブロック歪は低減される。
ITU-T Recommendation H.264:"Advanced Video Coding for generic audiovisual services" (2003)
The effect | action with respect to the process target image of the said filter process is shown to Fig.15 (a)-(c). FIG. 15A is a graph showing pixel values p (n, u, v) of the original image in the block B n and the block B n + 1 . FIG. 15B is a graph showing the pixel value P (n, u, v) of the decoded image to be processed by the deblocking filter processing unit 6 in the block B n and the block B n + 1 . As shown in FIG. 15B, in the decoded image, discontinuous changes in pixel values at block boundaries, that is, block distortion occurs. FIG. 15C is a graph showing pixel values P ′ (n, u, v) in the block B n and the block B n + 1 of the image after the filtering processing by the deblocking filter 6 is performed on the decoded image. . Since the deblocking filter 6 performs convolution of pixel values across adjacent blocks, discontinuous changes in pixel values in the restored encoding target image are smoothed, and block distortion is reduced.
ITU-T Recommendation H.264: "Advanced Video Coding for generic audiovisual services" (2003)

しかしながら、上記従来の動画像符号化装置においては、デブロッキングフィルタによってブロック歪みを低減した副作用として、画像のボケ、あるいは、動画再生時の画像のチラツキといったブロック歪とは別の画質劣化が発生してしまうという問題があった。   However, in the above-described conventional video encoding apparatus, as a side effect of reducing the block distortion by the deblocking filter, image quality deterioration different from the block distortion such as image blurring or image flickering at the time of moving image reproduction occurs. There was a problem that.

デブロッキングフィルタの副作用について、以下、もう少し詳しく説明する。上述した式(1)〜(8)から明らかなように、フィルタ処理対象画像の画素値をP(n、u、v)とすると、フィルタ処理前のブロックBの平均画素値〈P〉と、フィルタ処理後のブロックBの平均画素値〈P´〉とは、それぞれ以下の式で与えられる。The side effects of the deblocking filter will be described in more detail below. As is clear from the above-described equations (1) to (8), when the pixel value of the image to be filtered is P (n, u, v), the average pixel value <P n > of the block B n before the filtering process And the average pixel value <P ′ n > of the block B n after the filter processing is given by the following equations, respectively.

Figure 0004768011
Figure 0004768011

Figure 0004768011
Figure 0004768011

すなわち、フィルタ処理の前後で、各ブロックにおける平均画素値は異なる。従って、従来のデブロッキングフィルタを用いた場合、フィルタ処理の前後で各ブロックにおける平均画素値が保存されないので、フィルタ処理により原画像と復号画像との平均画素値の差が拡大され得る。   That is, the average pixel value in each block is different before and after the filtering process. Therefore, when the conventional deblocking filter is used, the average pixel value in each block is not stored before and after the filtering process, and thus the difference in the average pixel value between the original image and the decoded image can be expanded by the filtering process.

そうすると、動画像符号化装置においては、原画像に対して平均画素値の差を有する局所復号画像を参照画像として予測画像が生成されることになる。また、動画像復号装置においては、原画像に対して平均画素値差を有する復号画像が参照画像あるいは表示用画像として生成されることになる。このため、動画像における画像のボケやちらつきが生ずることになる。   Then, in the moving image encoding device, a predicted image is generated using a locally decoded image having a difference in average pixel value from the original image as a reference image. In the moving image decoding apparatus, a decoded image having an average pixel value difference with respect to the original image is generated as a reference image or a display image. For this reason, blurring or flickering of the image in the moving image occurs.

本発明は、上記の問題点に鑑みてなされたものであり、その目的は、復号された動画像におけるブロック歪を低減でき、また、画像のボケやちらつきといった副作用を生じることのない動画像符号化装置および動画像復号装置を実現することにある。   The present invention has been made in view of the above-described problems, and an object of the present invention is to reduce a moving image code that can reduce block distortion in a decoded moving image and does not cause side effects such as image blurring and flickering. It is to implement | achieve a conversion apparatus and a moving image decoding apparatus.

本発明に係る動画像符号化装置は、上記課題を解決するために、画像を複数のブロックに分割して各ブロックの画像データを量子化し、該量子化により得られた量子化代表値を符号化する動画像符号化装置において、上記量子化前の画像データに対し、ブロック歪を発生させる周波数成分を除去するフィルタ処理を施すフィルタ処理手段を備えたことを特徴としている。   In order to solve the above-described problem, the video encoding apparatus according to the present invention divides an image into a plurality of blocks, quantizes the image data of each block, and encodes a quantized representative value obtained by the quantization. The moving picture encoding apparatus is characterized by comprising filter processing means for performing filter processing for removing frequency components that generate block distortion on the image data before quantization.

上記フィルタ処理手段は、上記量子化前の画像データから、ブロック歪を発生させる周波数成分を除去する。このため、上記量子化の対象となる量子化対象画像は、ブロック歪を発生させる周波数成分が予め除去されたものとなる。従って、上記フィルタ処理手段によるフィルタ処理が施された量子化対象画像を量子化・逆量子化して得られる復号画像は、ブロック歪が低減されたものとなる。しかも、上記フィルタ処理手段により予め除去された周波数成分は、上記フィルタ処理手段のフィルタ処理の逆変換に相当する逆フィルタ処理により、復元することが可能である。   The filter processing means removes a frequency component that causes block distortion from the image data before quantization. For this reason, the quantization target image to be quantized is obtained by removing frequency components that generate block distortion in advance. Therefore, a decoded image obtained by quantizing / inverse-quantizing the quantization target image that has been subjected to the filter processing by the filter processing means has reduced block distortion. In addition, the frequency component previously removed by the filter processing means can be restored by an inverse filter process corresponding to the inverse transform of the filter process of the filter process means.

すなわち、上記の構成を有する動画像符号化装置は、ブロック歪が低減された復号画像を、特定の周波数成分を欠落させることなく復元し得る符号化データを生成することができるという効果を奏する。   That is, the moving picture coding apparatus having the above configuration has an effect that it can generate coded data that can restore a decoded picture with reduced block distortion without missing a specific frequency component.

本発明の動画像符号化装置においては、上記フィルタ処理手段が行うフィルタ処理は、上記各ブロックの平均画素値を処理の前後で不変に保つものである、ことが好ましい。   In the moving image encoding apparatus of the present invention, it is preferable that the filter processing performed by the filter processing means is to keep the average pixel value of each block unchanged before and after the processing.

上記の構成によれば、上記フィルタ処理手段によるフィルタ処理は、上記各ブロックの平均画素値(例えば、平均輝度レベル)を不変に保つように行われる。このため、従来のデブロッキングフィルタを用いた動画像符号化装置において発生していた、フィルタ処理前後でブロック毎の平均画素値が保存されないことに起因する画面のボケやチラツキを有効に防止することができるという更なる効果を奏する。   According to said structure, the filter process by the said filter process means is performed so that the average pixel value (for example, average luminance level) of each said block may be kept unchanged. For this reason, it is possible to effectively prevent blurring and flickering of the screen caused by the fact that the average pixel value for each block is not stored before and after the filtering process, which has occurred in a conventional video encoding apparatus using a deblocking filter. There is a further effect of being able to.

本発明の動画像符号化装置においては、予測画像を生成する予測画像生成手段と、局所復号画像に対し、上記フィルタ処理の逆変換に相当する逆フィルタ処理を行う逆フィルタ処理手段とを更に備え、上記予測画像生成手段は、上記逆フィルタ処理が施された局所復号画像を参照画像として上記予測画像を生成すること、が好ましい。   The moving image encoding apparatus of the present invention further includes a predicted image generating unit that generates a predicted image, and an inverse filter processing unit that performs an inverse filter process corresponding to the inverse transform of the filter process on the local decoded image. Preferably, the predicted image generation means generates the predicted image using the locally decoded image subjected to the inverse filter processing as a reference image.

上記の構成によれば、予測画像生成手段は、上記逆フィルタ処理が施された局所復号画像を参照画像として予測画像を生成することができる。すなわち、予測画像生成手段は、ブロック歪が低減され、かつ、特定の周波数成分が欠落することのない参照画像、すなわち、原画像に近似する参照画像に基づいて予測画像を生成することができるという効果を奏する。   According to said structure, the estimated image production | generation means can produce | generate an estimated image by using the local decoded image to which the said reverse filter process was performed as a reference image. That is, the predicted image generation means can generate a predicted image based on a reference image in which block distortion is reduced and a specific frequency component is not lost, that is, a reference image that approximates the original image. There is an effect.

なお、上記予測画像生成手段が予測画像を生成する方法としては、フレーム内予測、あるいは、フレーム間予測等を用いることができる。また、上記予測画像生成手段は、これらの予測方法を、符号化の対象となる画像の状態に応じて適宜切り替えて用いるものであっても良い。   As a method for generating a predicted image by the predicted image generation unit, intra-frame prediction, inter-frame prediction, or the like can be used. Further, the predicted image generation means may switch between these prediction methods as appropriate according to the state of the image to be encoded.

なお、上記逆フィルタ処理手段が施す逆フィルタ処理は、上記フィルタ処理手段のフィルタ処理に対し、厳密な逆変換に相当するものであっても良いし、近似的な逆変換に相当するものであっても良い。すなわち、上記逆フィルタ処理は、最終的な動画像の品質に悪影響を与えない範囲で厳密な逆変換を近似するものであれば十分であり、例えば、フィルタ処理演算の演算精度(例えば整数精度)程度の誤差は許容される。   Note that the inverse filter processing performed by the inverse filter processing means may correspond to a strict inverse transform or an approximate inverse transform with respect to the filter processing of the filter processing means. May be. That is, the inverse filter processing is sufficient if it approximates a strict inverse transform within a range that does not adversely affect the quality of the final moving image. For example, the calculation accuracy of the filter processing calculation (eg, integer accuracy) A degree of error is acceptable.

本発明の動画像符号化装置においては、上記量子化の対象となる量子化対象画像は、上記予測画像と上記フィルタ処理が施された原画像との差分画像であり、上記局所復号画像は、当該動画像符号化装置において上記量子化代表値を逆量子化して得られた画像データと上記予測画像の画像データとを加算して得られる画像である、ことが好ましい。   In the video encoding device of the present invention, the quantization target image to be quantized is a difference image between the predicted image and the original image subjected to the filtering process, and the local decoded image is It is preferable that the image is obtained by adding the image data obtained by dequantizing the quantized representative value and the image data of the predicted image in the moving image coding apparatus.

上記構成によれば、原画像が上記フィルタ処理の処理対象画像となり、上記フィルタ処理が施された原画像と予測画像との差分画像が量子化対象画像となる。そして、当該量子化対象画像を量子化して得られた量子化代表値を逆量子化して得られる画像データと上記予測画像の画像データとを加算して得られる局所復号画像が上記逆フィルタ処理の対象となり、上記逆フィルタ処理を施された局所復号画像が予測画像を生成するための参照画像とされる。従って、上記構成によれば、予測画像生成手段は、原画像をより良く近似する参照画像に基づいて予測画像を生成することができる。   According to the above configuration, the original image becomes the processing target image of the filtering process, and the difference image between the original image subjected to the filtering process and the predicted image becomes the quantization target image. The local decoded image obtained by adding the image data obtained by dequantizing the quantized representative value obtained by quantizing the quantization target image and the image data of the predicted image is the result of the inverse filter processing. The local decoded image that is the target and has been subjected to the inverse filter processing is used as a reference image for generating a predicted image. Therefore, according to the above configuration, the predicted image generation unit can generate a predicted image based on the reference image that better approximates the original image.

本発明の動画像符号化装置においては、上記量子化の対象となる量子化対象画像は、上記予測画像と原画像との差分画像に上記フィルタ処理が施されたものであり、上記局所復号画像は、当該動画像符号化装置において上記量子化代表値を逆量子化して得られた画像データと上記予測画像の画像データとを加算して得られる画像であること、が好ましい。   In the video encoding device of the present invention, the quantization target image to be quantized is obtained by performing the filtering process on the difference image between the predicted image and the original image, and the locally decoded image. Is preferably an image obtained by adding the image data obtained by dequantizing the quantized representative value and the image data of the predicted image in the moving picture coding apparatus.

上記構成によれば、予測画像と原画像との差分画像が上記フィルタ処理の対象となり、フィルタ処理が施された当該差分画像が量子化の対象となる。一方、当該量子化対象画像を量子化して得られた量子化代表値を逆量子化して得られる画像データと上記予測画像の画像データとを加算して得られる局所復号画像が上記逆フィルタ処理の対象となり、上記逆フィルタ処理を施された局所復号画像が予測画像を生成するための参照画像とされる。従って、上記構成によれば、予測画像生成手段は、原画像をより良く近似する参照画像に基づいて予測画像を生成することができる。   According to the above configuration, the difference image between the predicted image and the original image is the target of the filtering process, and the difference image subjected to the filtering process is the target of quantization. On the other hand, the local decoded image obtained by adding the image data obtained by dequantizing the quantized representative value obtained by quantizing the quantization target image and the image data of the predicted image is the result of the inverse filter processing. The local decoded image that is the target and has been subjected to the inverse filter processing is used as a reference image for generating a predicted image. Therefore, according to the above configuration, the predicted image generation unit can generate a predicted image based on the reference image that better approximates the original image.

本発明の動画像符号化装置においては、上記フィルタ処理手段は、上記フィルタ処理の対象となる処理対象画像の画像データから減算する画素値を、上記予測画像の画像データから算出するものであり、上記逆フィルタ処理手段は、上記逆フィルタ処理の対象となる処理対象画像の画像データに加算する画素値を、上記フィルタ処理手段と同一の方法で上記予測画像の画像データから算出するものである、ことが好ましい。   In the moving image encoding apparatus of the present invention, the filter processing means calculates a pixel value to be subtracted from the image data of the processing target image to be subjected to the filtering process from the image data of the predicted image, The inverse filter processing means calculates a pixel value to be added to the image data of the processing target image to be subjected to the inverse filter processing from the image data of the predicted image in the same manner as the filter processing means. It is preferable.

上記の構成によれば、上記フィルタ処理手段が処理対象画像の画像データから減算する画素値と、上記逆フィルタ処理手段が処理対象画像の画像データに加算する画素値とは、同一の予測画像から同一の方法により算出される。従って、上記フィルタ処理手段が処理対象画像から除去したブロック歪を発生させる周波数成分を、上記逆フィルタ処理手段はより完全に復元できる。   According to said structure, the pixel value which the said filter process means subtracts from the image data of a process target image, and the pixel value which the said reverse filter process means adds to the image data of a process target image are from the same estimated image. It is calculated by the same method. Therefore, the inverse filter processing unit can more completely restore the frequency component that generates the block distortion removed from the processing target image by the filter processing unit.

本発明に係る動画像復号装置は、上記の課題を解決するために、ブロック歪を発生させる周波数成分が除去された画像データを符号化して得られた符号化データを復号する動画像復号装置であって、復号して得られた復号画像の画像データに対し、上記除去された周波数成分を復元する逆フィルタ処理を施す逆フィルタ処理手段を備えたことを特徴としている。   In order to solve the above problems, a moving image decoding apparatus according to the present invention is a moving image decoding apparatus that decodes encoded data obtained by encoding image data from which frequency components that generate block distortion are removed. The image processing apparatus includes an inverse filter processing unit that performs inverse filter processing for restoring the removed frequency component on the image data of the decoded image obtained by decoding.

上記動画像復号装置は、ブロック歪を発生させる周波数成分が予め除去された画像データを符号化して得られた符号化データを復号する。ここで、符号化データは、予めブロック歪を発生させる周波数成分が除去されたものであるので、復号して得られる復号画像におけるブロック歪は抑えられている。そして、復号して得られた復号画像は、上記逆フィルタ処理手段により、符号化の過程で除去された周波数成分を復元される。従って、上記逆フィルタ処理を復号画像は、ブロック歪が低減され、かつ、特定の周波数成分が欠落することのない画像、すなわち原画像をより良く近似する画像となる。   The moving picture decoding apparatus decodes encoded data obtained by encoding image data from which a frequency component causing block distortion has been removed in advance. Here, since the encoded data is obtained by removing frequency components that generate block distortion in advance, block distortion in a decoded image obtained by decoding is suppressed. And the decoded image obtained by decoding restores the frequency component removed in the process of encoding by the inverse filter processing means. Therefore, the decoded image obtained by performing the inverse filter process is an image in which block distortion is reduced and a specific frequency component is not lost, that is, an image that better approximates the original image.

すなわち、上記の構成を有する動画像符号化装置は、ブロック歪が低減された復号画像を、特定の周波数成分を欠落させることなく復元することができるという効果を奏する。   That is, the moving picture coding apparatus having the above configuration has an effect that a decoded picture with reduced block distortion can be restored without missing a specific frequency component.

本発明の他の目的、特徴、および優れた点は、以下に示す記載によって十分分かるであろう。また、本発明の利点は、添付図面を参照した次の説明で明白になるであろう。   Other objects, features, and advantages of the present invention will be fully understood from the following description. The advantages of the present invention will become apparent from the following description with reference to the accompanying drawings.

本発明の一実施の形態に係る動画像符号化装置の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the moving image encoder which concerns on one embodiment of this invention. 本発明の一実施の形態に係る動画像復号装置の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the moving image decoding apparatus which concerns on one embodiment of this invention. 図1に示した動画像符号化装置のフィルタ処理部による、フィルタ処理演算の概要を示したフローチャートである。3 is a flowchart showing an outline of a filter processing calculation by a filter processing unit of the moving image encoding device shown in FIG. 1. 図3に示したフィルタ処理演算の作用を示すグラフであり、フィルタ処理の対象となる処理対象画像の画素値を表すグラフである。It is a graph which shows the effect | action of the filter process calculation shown in FIG. 3, and is a graph showing the pixel value of the process target image used as the object of a filter process. 図3に示したフィルタ処理演算の作用を示すグラフであり、処理対象画像のブロック毎の平均画素値を表すグラフである。It is a graph which shows the effect | action of the filter processing calculation shown in FIG. 3, and is a graph showing the average pixel value for every block of a process target image. 図3に示したフィルタ処理演算の作用を示すグラフであり、図4(b)に示した平均画素値を用いた線型補間により得られた予測値を表すグラフである。FIG. 4 is a graph showing an operation of the filter processing calculation shown in FIG. 3, and is a graph showing a predicted value obtained by linear interpolation using the average pixel value shown in FIG. 4 (b). 図3に示したフィルタ処理演算の作用を示すグラフであり、フィルタ出力画像の画素値を表すグラフである。It is a graph which shows the effect | action of the filter process calculation shown in FIG. 3, and is a graph showing the pixel value of a filter output image. 図1に示した動画像符号化装置、および、図2に示した動画像復号装置が備えている逆フィルタ処理部による、逆フィルタ処理演算の概要を示したフローチャートである。3 is a flowchart showing an overview of inverse filter processing calculation by an inverse filter processing unit included in the video encoding device shown in FIG. 1 and the video decoding device shown in FIG. 2. 図5に示した逆フィルタ処理演算の作用を示すグラフであり、逆フィルタ処理の対象となる処理対象画像の画素値を表すグラフである。6 is a graph showing the operation of the inverse filter processing calculation shown in FIG. 5, and is a graph showing the pixel value of the processing target image that is the target of the inverse filter processing. 図5に示した逆フィルタ処理演算の作用を示すグラフであり、処理対象画像のブロック毎の平均画素値を表すグラフである。It is a graph which shows the effect | action of the inverse filter process calculation shown in FIG. 5, and is a graph showing the average pixel value for every block of a process target image. 図5に示した逆フィルタ処理演算の作用を示すグラフであり、図6(b)に示した平均画素値を用いた線型補間により得られた予測値を表すグラフである。FIG. 6 is a graph showing an operation of the inverse filter processing calculation shown in FIG. 5, and is a graph showing a prediction value obtained by linear interpolation using the average pixel value shown in FIG. 図5に示した逆フィルタ処理演算の作用を示すグラフであり、逆フィルタ出力画像の画素値を表すグラフである。It is a graph which shows the effect | action of the reverse filter process calculation shown in FIG. 本発明の一実施の形態に係る動画像符号化装置の他の構成例を示す機能ブロック図である。It is a functional block diagram which shows the other structural example of the moving image encoder which concerns on one embodiment of this invention. 本発明の一実施の形態に係る動画像復号装置の他の構成例を示すものであり、図7の動画像符号化装置に対応する動画像復号装置の構成を示す機能ブロック図である。FIG. 9 is a functional block diagram illustrating another configuration example of the video decoding device according to the embodiment of the present invention and illustrating a configuration of the video decoding device corresponding to the video encoding device in FIG. 7. 本発明の一実施の形態に係る動画像符号化装置の他の構成例を示す機能ブロック図である。It is a functional block diagram which shows the other structural example of the moving image encoder which concerns on one embodiment of this invention. 本発明の一実施の形態に係る動画像復号装置の他の構成例を示すものであり、図9の動画像符号化装置に対応する動画像復号装置の構成を示す機能ブロック図である。FIG. 10 is a functional block diagram illustrating another configuration example of a video decoding device according to an embodiment of the present invention and illustrating a configuration of a video decoding device corresponding to the video encoding device in FIG. 9. 従来の技術を示すものであり、デブロッキングフィルタを備えた動画像符号化装置の構成を示す機能ブロック図である。It is a functional block diagram which shows the prior art and shows the structure of the moving image encoder provided with the deblocking filter. 従来の技術を示すものであり、図11に示した動画像符号化装置に対応する動画像復号装置の構成を示す機能ブロック図である。FIG. 12 is a functional block diagram illustrating a conventional technique and illustrating a configuration of a video decoding device corresponding to the video encoding device illustrated in FIG. 11. 量子化の対象となる量子化対象画像、あるいは、フィルタ処理の対象となる処理対象画像における、画像の分割パターンを示す説明図である。It is explanatory drawing which shows the division pattern of the image in the quantization object image used as the object of quantization, or the process object image used as the object of a filter process. 図13に示した分割パターンにより複数のブロックに分割された画像における、隣接する2つのブロックを拡大して示した拡大図である。It is the enlarged view which expanded and showed two adjacent blocks in the image divided | segmented into the several block with the division | segmentation pattern shown in FIG. 従来技術を示すものであり、デブロッキングフィルタの作用を示すグラフである。とくに、符号化の対象となる原画像の画素値を示すグラフである。It is a graph which shows a prior art and shows the effect | action of a deblocking filter. In particular, it is a graph showing pixel values of an original image to be encoded. 従来技術を示すものであり、デブロッキングフィルタの作用を示すグラフである。とくに、ブロック歪を含む局所復号画像の画素値を示すグラフである。It is a graph which shows a prior art and shows the effect | action of a deblocking filter. In particular, it is a graph showing pixel values of a locally decoded image including block distortion. 従来技術を示すものであり、デブロッキングフィルタの作用を示すグラフである。とくにデブロッキングフィルタの出力画像の画素値を示すグラフである。It is a graph which shows a prior art and shows the effect | action of a deblocking filter. It is a graph which especially shows the pixel value of the output image of a deblocking filter.

符号の説明Explanation of symbols

300 動画像符号化装置
400 動画像復号装置
1 DCT部
2 量子化部
3 可変長符号化部
4 逆量子化部
5 IDCT部
7 フレームメモリ
8 イントラ予測部
9 インター予測部
10 符号化制御部
11 フィルタ処理部(フィルタ処理手段)
12 逆フィルタ処理部(逆フィルタ処理手段)
300a、300b 動画像符号化装置
400a、400b 動画像復号装置
DESCRIPTION OF SYMBOLS 300 Moving image encoder 400 Moving image decoder 1 DCT part 2 Quantization part 3 Variable length encoding part 4 Inverse quantization part 5 IDCT part 7 Frame memory 8 Intra prediction part 9 Inter prediction part 10 Coding control part 11 Filter Processing unit (filter processing means)
12 Inverse filter processing unit (inverse filter processing means)
300a, 300b moving image encoding device 400a, 400b moving image decoding device

本発明の動画像符号化装置の一実施形態について、図1〜図10に基づいて説明すれば以下の通りである。   An embodiment of the moving picture coding apparatus of the present invention will be described below with reference to FIGS.

〔動画像符号化装置の構成〕
はじめに、本実施の形態に係る動画像符号化装置の構成について説明する。図1は本実施形態に係る動画像符号化装置300の概略構成を示した機能ブロック図である。図1に示したように、動画像符号化装置300は、DCT部1、量子化部2、可変長符号化部3、逆量子化部4、IDCT部5、フレームメモリ7、イントラ予測部8、インター予測部9、符号化制御部10、フィルタ処理部11、及び、逆フィルタ処理部12を備えている。
[Configuration of Video Encoding Device]
First, the configuration of the video encoding apparatus according to the present embodiment will be described. FIG. 1 is a functional block diagram showing a schematic configuration of a moving image encoding apparatus 300 according to the present embodiment. As shown in FIG. 1, the moving picture coding apparatus 300 includes a DCT unit 1, a quantization unit 2, a variable length coding unit 3, an inverse quantization unit 4, an IDCT unit 5, a frame memory 7, and an intra prediction unit 8. , An inter prediction unit 9, an encoding control unit 10, a filter processing unit 11, and an inverse filter processing unit 12.

図1の動画像符号化装置300と従来の動画像符号化装置100(図11)との相違点は、動画像符号化装置300が、従来のデブロッキングフィルタ6の代わりに、フィルタ処理部11と逆フィルタ処理部12とを備えている点である。図1において、従来の動画像符号化装置100と同一機能を有するブロックについては、図11と同一の名称および符号を用いて示し、その説明を省略する。   The difference between the moving picture coding apparatus 300 of FIG. 1 and the conventional moving picture coding apparatus 100 (FIG. 11) is that the moving picture coding apparatus 300 uses the filter processing unit 11 instead of the conventional deblocking filter 6. And an inverse filter processing unit 12. In FIG. 1, blocks having the same functions as those of the conventional moving image encoding apparatus 100 are denoted by the same names and reference numerals as those in FIG. 11, and description thereof is omitted.

動画像符号化装置300に特徴的な構成は、フィルタ処理部11、および、逆フィルタ処理部12である。フィルタ処理部11は、符号化の対象となる原画像を処理対象画像とし、該処理対象画像からブロック歪を発生させる周波数成分を除去するフィルタ処理を行う。DCT部1には、フィルタ処理部11によるフィルタ処理が施された画像から、イントラ予測部8あるいはインター予測部9により生成された予測画像が減算された差分画像が供給される。   A characteristic configuration of the moving image encoding apparatus 300 is a filter processing unit 11 and an inverse filter processing unit 12. The filter processing unit 11 uses the original image to be encoded as a processing target image, and performs a filtering process to remove a frequency component that generates block distortion from the processing target image. The DCT unit 1 is supplied with a difference image obtained by subtracting the prediction image generated by the intra prediction unit 8 or the inter prediction unit 9 from the image subjected to the filter processing by the filter processing unit 11.

一方、逆フィルタ処理部12には、逆量子化部4とIDCT部5とにより復元された差分画像と、イントラ予測部8あるいはインター予測部9により生成された予測画像とを加算して得られる局所復号画像が供給される。逆フィルタ処理部12は、この局所復号画像を処理対象画像とし、該処理対象画像に対してフィルタ処理部11が行うフィルタ処理の逆変換に相当する逆フィルタ処理を行う。逆フィルタ処理部12による逆フィルタ処理が施された局所復号画像は、参照画像としてフレームメモリ7に蓄積され、イントラ予測部8あるいはインター予測部9による予測画像の生成に利用される。   On the other hand, the inverse filter processing unit 12 is obtained by adding the difference image restored by the inverse quantization unit 4 and the IDCT unit 5 and the prediction image generated by the intra prediction unit 8 or the inter prediction unit 9. A locally decoded image is supplied. The inverse filter processing unit 12 sets the local decoded image as a processing target image, and performs an inverse filtering process corresponding to the inverse transformation of the filter process performed by the filter processing unit 11 on the processing target image. The locally decoded image that has been subjected to the inverse filter processing by the inverse filter processing unit 12 is stored in the frame memory 7 as a reference image, and is used for generation of a predicted image by the intra prediction unit 8 or the inter prediction unit 9.

DCT部1と量子化部2とは、量子化対象画像を複数のブロックに分割して各ブロックの画像データを量子化するものである。従って、量子化された画像を逆量子化して得られる復号画像にはブロック歪が含まれ得る。すなわち、予測画像を生成するために動画像符号化装置300の内部で生成される局所復号画像、および、後述の動画像復号装置で生成される復号画像にはブロック歪が含まれ得る。しかしながら、動画像符号化装置300において、DCT部1に供給される量子化対象画像は、フィルタ処理部11よるフィルタ処理が施された画像と予測画像の差分画像である。フィルタ処理部11は、ブロック歪を発生させる周波数成分を予め取り除くよう処理対象画像に作用するので、量子化・逆量子化の過程で発生するブロック歪を有効に低減することができる。   The DCT unit 1 and the quantization unit 2 divide the quantization target image into a plurality of blocks and quantize the image data of each block. Therefore, a block image can be included in a decoded image obtained by dequantizing a quantized image. That is, block distortion may be included in a locally decoded image generated inside the moving image encoding device 300 to generate a predicted image and a decoded image generated by a moving image decoding device described later. However, in the moving image encoding device 300, the quantization target image supplied to the DCT unit 1 is a difference image between the image subjected to the filter processing by the filter processing unit 11 and the predicted image. Since the filter processing unit 11 acts on the processing target image so as to remove in advance the frequency component that generates block distortion, it is possible to effectively reduce block distortion that occurs in the process of quantization / inverse quantization.

また、イントラ予測部8またはインター予測部9が予測画像を生成するために参照する参照画像は、逆フィルタ処理部12による逆フィルタ処理が施された局所復号画像である。従って、原画像から除去された周波数成分は、参照画像において復元されている。すなわち、イントラ予測部8およびインター予測部9は、ブロック歪が低減されていると同時に、特定の周波数成分が欠落することのない参照画像に基づいて、予測画像を生成することができる。   Further, the reference image that the intra prediction unit 8 or the inter prediction unit 9 refers to in order to generate a predicted image is a locally decoded image that has been subjected to the inverse filter processing by the inverse filter processing unit 12. Therefore, the frequency component removed from the original image is restored in the reference image. That is, the intra prediction unit 8 and the inter prediction unit 9 can generate a prediction image based on a reference image in which a specific frequency component is not lost while the block distortion is reduced.

換言すれば、従来の動画像符号化装置100では量子化処理によって失われていた空間周波数成分を、動画像符号化装置300では、フィルタ処理部11にて一旦除去し、逆フィルタ処理部12にて復元することにより、量子化処理の影響を回避して、ブロック歪の発生を抑えることができる。   In other words, the spatial frequency component lost by the quantization processing in the conventional video encoding device 100 is temporarily removed by the filter processing unit 11 in the video encoding device 300, and is then sent to the inverse filter processing unit 12. Thus, the influence of the quantization process can be avoided and the occurrence of block distortion can be suppressed.

また、フィルタ処理部11および逆フィルタ処理部12は、従来の動画像符号化装置100におけるデブロッキングフィルタ処理部6とは異なり、後述するとおり、各ブロックにおける処理前後の平均画素値(例えば、平均輝度レベル)を保つよう構成することができる。従って、デブロッキングフィルタ処理に起因する、画像のボケや動画再生時のチラツキなどの問題を回避することができる。
〔動画像復号装置の構成〕
図2は、図1に示した動画像符号化装置300に対応する動画像復号装置400の概略構成を示した機能ブロック図である。図2に示したように、動画像復号装置400は、逆量子化部4、IDCT部5、フレームメモリ7、イントラ予測部8、インター予測部9、可変長復号部20、および、逆フィルタ処理部12を備えている。
Also, the filter processing unit 11 and the inverse filter processing unit 12 are different from the deblocking filter processing unit 6 in the conventional moving image encoding device 100, as described later, average pixel values before and after processing in each block (for example, average) (Luminance level) can be maintained. Therefore, it is possible to avoid problems such as blurring of images and flickering during reproduction of moving images due to the deblocking filter processing.
[Configuration of video decoding apparatus]
FIG. 2 is a functional block diagram showing a schematic configuration of a video decoding device 400 corresponding to the video encoding device 300 shown in FIG. As illustrated in FIG. 2, the moving picture decoding apparatus 400 includes an inverse quantization unit 4, an IDCT unit 5, a frame memory 7, an intra prediction unit 8, an inter prediction unit 9, a variable length decoding unit 20, and an inverse filter process. Part 12 is provided.

図2の動画像復号装置400と従来の動画像復号装置200(図12)との相違点は、動画像復号装置400が、従来のデブロッキングフィルタ6の代わりに、逆フィルタ処理部12を備えている点である。図2において、従来の動画像復号装置200と同一機能を有するブロックについては、図12と同一の名称および符号を用いて示し、その説明を省略する。   The difference between the moving picture decoding apparatus 400 of FIG. 2 and the conventional moving picture decoding apparatus 200 (FIG. 12) is that the moving picture decoding apparatus 400 includes an inverse filter processing unit 12 instead of the conventional deblocking filter 6. It is a point. In FIG. 2, blocks having the same functions as those of the conventional moving image decoding apparatus 200 are denoted by the same names and symbols as those in FIG. 12, and description thereof is omitted.

動画像復号装置400が復号する符号化データは、動画像符号化装置300において、ブロック歪を発生させる周波数成分が除去された原画像に基づいて生成されたものである。動画像復号装置400の可変長復号部20は、この符号化データを復号し、逆量子化部4とIDCT部5とは、該復号により得られた値を逆量子化する。逆量子化により復元される画像は、原画像から予測画像を減算して得られた差分画像に相当するものである。動画像復号装置400は、この復元された差分画像にイントラ予測部8またはインター予測部9により生成された予測画像を加算し、復号画像を生成する。   The encoded data decoded by the moving image decoding apparatus 400 is generated based on the original image from which the frequency component that generates block distortion is removed in the moving image encoding apparatus 300. The variable length decoding unit 20 of the video decoding device 400 decodes the encoded data, and the inverse quantization unit 4 and the IDCT unit 5 inversely quantize the values obtained by the decoding. The image restored by inverse quantization corresponds to a difference image obtained by subtracting the predicted image from the original image. The moving picture decoding apparatus 400 adds the predicted image generated by the intra prediction unit 8 or the inter prediction unit 9 to the restored difference image to generate a decoded image.

動画像復号装置400が備えている逆フィルタ処理部12は、動画像符号化装置300が備えている逆フィルタ処理部12と同一の逆フィルタ処理を行う。すなわち、逆フィルタ処理部12は、ブロック歪を発生させる周波数成分が欠落している復号画像に対し、符号化時に除去された周波数成分を復元するように作用する。逆フィルタ処理部12による逆フィルタ処理が施された復号画像は、予測画像を生成するための参照画像としてイントラ予測部8あるいはインター予測部9により参照されるとともに、表示用画像として出力される。   The inverse filter processing unit 12 included in the video decoding device 400 performs the same inverse filter processing as the inverse filter processing unit 12 included in the video encoding device 300. That is, the inverse filter processing unit 12 operates to restore the frequency component removed at the time of encoding on the decoded image lacking the frequency component that generates block distortion. The decoded image on which the inverse filter processing by the inverse filter processing unit 12 is performed is referred to by the intra prediction unit 8 or the inter prediction unit 9 as a reference image for generating a prediction image, and is output as a display image.

以上のようにして、逆フィルタ処理部12の作用により、原画像から除去された周波数成分が、表示用画像あるいは参照画像において復元される。すなわち、動画像復号装置400は、ブロック歪が低減されていると同時に、特定の周波数成分が欠落することのない表示用画像を出力することができる。また、ブロック歪が低減されていると同時に、特定の周波数成分が欠落することのない参照画像に基づいて予測画像を生成することができる。   As described above, the frequency component removed from the original image by the operation of the inverse filter processing unit 12 is restored in the display image or the reference image. That is, the moving picture decoding apparatus 400 can output a display image in which a specific frequency component is not lost while the block distortion is reduced. In addition, the prediction image can be generated based on the reference image in which the specific frequency component is not lost at the same time that the block distortion is reduced.

〔フィルタ処理の詳細〕
次に、動画像符号化装置300に含まれるフィルタ処理部11が行うフィルタ処理について詳しく説明する。
[Details of filtering]
Next, filter processing performed by the filter processing unit 11 included in the moving image encoding apparatus 300 will be described in detail.

フィルタ処理部11は、水平方向のフィルタ処理と垂直方向のフィルタ処理とを、フィルタ処理の対象となる処理対象画像を複数のブロックに分割して実行する。ここで、フィルタ処理部11が処理対象画像を分割する分割パターンは、図13と図14とに示したとおりであり、DCT部1と量子化部2とが量子化のために量子化対象画像を分割する分割パターンと同一である。   The filter processing unit 11 performs horizontal filter processing and vertical filter processing by dividing a processing target image to be filtered into a plurality of blocks. Here, the division pattern in which the filter processing unit 11 divides the processing target image is as shown in FIGS. 13 and 14, and the DCT unit 1 and the quantization unit 2 perform the quantization target image for quantization. Is the same as the division pattern for dividing.

フィルタ処理部11は、当該フィルタ処理部11が出力するフィルタ出力画像におけるブロックBの画像データを、処理対象画像における当該ブロックBの画像データと当該ブロックBに隣接するブロックの画像データとから算出する。水平方向のフィルタ処理においては、ブロックBの画像データが、当該ブロックBの右側に隣接するブロックB+1画像データを参照して算出され、垂直方向のフィルタ処理においては、ブロックBの画像データが、当該ブロックの下側に隣接するブロックBn+Wの画像データを参照して算出される。Filter processing unit 11, the image data of the block B n of the filter output image in which the filter processing unit 11 outputs the image data of the blocks adjacent to the image data and the block B n of the block B n of the processing target image Calculate from In the filter processing in the horizontal direction, the image data of the block B n is calculated with reference to the block B n +1 image data adjacent to the right side of the block B n, the vertical direction in the filtering, the block B n The image data is calculated with reference to the image data of the block B n + W adjacent below the block.

以下、水平方向のフィルタ処理においてフィルタ処理部11が実行するフィルタ処理演算について、図3と図4とを参照しながら説明する。なお、1つのブロックBの画素値(例えば、輝度レベル)を算出するためのフィルタ処理演算について説明する。フィルタ処理部11は、以下に説明するフィルタ処理演算を、全ての隣接2ブロックについて繰り返すことにより、水平方向のフィルタ処理を完了する。なお、上記繰り返しは、(B、B)、(B、B)、(B、B)・・・というように、隣接する偶数番目と奇数番目のブロックを対にし、これら全ての対について上記フィルタ処理演算を実行するものであってもよいし、(B、B)、(B、B)、(B、B)・・・というように、全てのブロックについて、次のブロックを参照しながら、上記フィルタ処理演算を実行するものであっても良い。ただし、これらの繰り返しにおいて、隣接しないブロック同士の対、例えば、画像右端のブロックBk×W−1(kは整数)と該ブロック下段左端に位置する次のブロックBk×Wとからなる対に対しては、上記フィルタ処理を行わないものとする。Hereinafter, the filter processing calculation executed by the filter processing unit 11 in the horizontal filter processing will be described with reference to FIGS. 3 and 4. In addition, the filter processing calculation for calculating the pixel value (for example, luminance level) of one block Bn is demonstrated. The filter processing unit 11 completes the horizontal filter processing by repeating the filter processing calculation described below for all adjacent two blocks. Note that the above repetition is performed by pairing adjacent even-numbered and odd-numbered blocks such as (B 1 , B 2 ), (B 3 , B 4 ), (B 5 , B 6 ). The above-mentioned filter processing calculation may be executed for all pairs, or (B 1 , B 2 ), (B 2 , B 3 ), (B 3 , B 4 ), etc. With respect to this block, the filtering processing calculation may be executed while referring to the next block. However, in these repetitions, a pair of non-adjacent blocks, for example, a pair consisting of a block B k × W−1 (k is an integer) at the right end of the image and a next block B k × W located at the lower left end of the block. For the above, the above filter processing is not performed.

図3は、フィルタ処理部11が実行するフィルタ処理演算を概略的に説明するフローチャートである。図3に示したように、フィルタ処理部11によるフィルタ処理演算は、平均画素値を算出するステップS1と、予測値を算出するステップS2と、フィルタ出力画像を算出するステップS3とを含んでいる。ステップS1〜S3について更に詳しく説明すれば以下の通りである。なお、以下の説明では、ブロックBに属する4行4列に配列された16画素のうち、v行目に配列された4画素の画素値を算出するフィルタ処理演算について述べる。フィルタ処理部11は、以下に述べるフィルタ処理演算を、ブロックBの1行目から4行目について、順次、あるいは、並列的に実行することにより、ブロックBに属する全ての画素の画素値を算出する。FIG. 3 is a flowchart schematically illustrating the filter processing calculation executed by the filter processing unit 11. As shown in FIG. 3, the filter processing calculation by the filter processing unit 11 includes a step S1 for calculating an average pixel value, a step S2 for calculating a predicted value, and a step S3 for calculating a filter output image. . Steps S1 to S3 will be described in more detail as follows. In the following description, a filtering process operation for calculating a pixel value of 4 pixels arranged in the v-th row among 16 pixels arranged in 4 rows and 4 columns belonging to the block Bn will be described. The filter processing unit 11 performs the filter processing operation described below for the first to fourth rows of the block B n sequentially or in parallel, so that the pixel values of all the pixels belonging to the block B n are obtained. Is calculated.

(ステップS1) フィルタ処理部11は、処理対象画像におけるブロックBのv行目に配列された4画素の平均画素値<pn、v>と、処理対象画像におけるブロックBn+1のv行目に配列された4画素の平均画素値<pn+1、v>とを算出する。フィルタ処理部11が、これらの平均画素値を算出するための算出式は以下の通りである。(Step S1) filter processing unit 11, the average pixel values of four pixels arranged in v-th row of the block B n of the processing target image <p n, v> and, v-th row of the block B n + 1 in the processing target image The average pixel value <p n + 1, v > of the four pixels arranged in ( 1 ) is calculated. The calculation formula for the filter processing unit 11 to calculate these average pixel values is as follows.

Figure 0004768011
Figure 0004768011

ここで、p(n、u、v)は、処理対象画像の画素(n、u、v)における画素値である。図4(a)は、処理対象画像の画素値を示したグラフである。図4(b)は、上記ステップS1において得られた、平均画素値を表すグラフである。 Here, p (n, u, v) is a pixel value in the pixel (n, u, v) of the processing target image. FIG. 4A is a graph showing pixel values of the processing target image. FIG. 4B is a graph showing the average pixel value obtained in step S1.

(ステップS2) フィルタ処理部11は、ステップS1にて得られた平均画素値<pn、v>と<pn+1、v>とを用いた線型補間により、ブロックBのv行目の各画素についての予測値ppred(n、u、v)と、ブロックBn+1のv行目の各画素についての予測値ppred(n+1、u、v)とを算出する。フィルタ処理部11が予測値ppred(n、u、v)とppred(n+1、u、v)とを算出するための算出式は以下の通りである。(Step S2) The filter processing unit 11 performs linear interpolation using the average pixel values <p n, v > and <p n + 1, v > obtained in step S1, for each row of the block B n in the v row. A predicted value p pred (n, u, v) for the pixel and a predicted value p pred (n + 1, u, v) for each pixel in the v-th row of the block B n + 1 are calculated. The calculation formula for the filter processing unit 11 to calculate the predicted values p pred (n, u, v) and p pred (n + 1, u, v) is as follows.

Figure 0004768011
Figure 0004768011

Figure 0004768011
Figure 0004768011

図4(c)は、上記ステップS2により得られた、予測値を表したグラフである。   FIG. 4C is a graph showing the predicted value obtained in step S2.

(ステップS3) フィルタ処理部11は、ステップS2にて得られた予測値ppred(n、u、v)と、ステップS1にて得られたブロックBの平均画素値<pn、v>との差を処理対象画像から除去すべき除去成分とし、処理対象画像の画素値p(n、u、v)から該除去成分を減算することにより、フィルタ出力画像の画素値p´(n、u、v)を算出する。フィルタ処理部11aフィルタ出力画像の画素値p´(n、u、v)を算出するために用いる算出式は以下の通りである。(Step S3) The filter processing unit 11 calculates the predicted value p pred (n, u, v) obtained in step S2 and the average pixel value <p n, v > of the block B n obtained in step S1. Is a removal component to be removed from the processing target image, and subtracting the removal component from the pixel value p (n, u, v) of the processing target image, thereby obtaining a pixel value p ′ (n, u, v) is calculated. The calculation formula used to calculate the pixel value p ′ (n, u, v) of the filter processing unit 11a filter output image is as follows.

Figure 0004768011
Figure 0004768011

図4(d)は、上記ステップS3により得られた、フィルタ出力画像の画素値を表したグラフである。   FIG. 4D is a graph showing the pixel value of the filter output image obtained in step S3.

ここで、フィルタ出力画像におけるブロックBの平均画素値は、処理対象画像におけるブロックBの平均画素値と一致する、すなわち、フィルタ処理部11は、各ブロックの平均画素値を処理の前後で不変に保つものである点に注意されたい。このため、当該フィルタ処理による動画像のボケやチラツキの誘発を防止することが可能になる。Here, the average pixel value of the block B n in the filter output image matches the average pixel value of the block B n in the processing target image. That is, the filter processing unit 11 calculates the average pixel value of each block before and after the processing. Note that it remains constant. For this reason, it is possible to prevent blurring and flickering of moving images due to the filter processing.

フィルタ処理部11は、上述のように水平方向のフィルタ処理を行った後、垂直方向のフィルタ処理を行う。垂直方向のフィルタ処理演算は、ブロックBの画像データを、該ブロックBの下側に隣接するブロックBn+Wを参照して算出するものであるが、その算出方法については水平方向のフィルタ処理と同様であるので、その説明を省略する。また、上記水平方向のフィルタ処理と、上記垂直方向のフィルタ処理とは互いに独立であるので、フィルタ処理部11が、垂直方向のフィルタ処理を行った後で、水平方向のフィルタ処理を行う構成としても良い。The filter processing unit 11 performs the filtering process in the vertical direction after performing the filtering process in the horizontal direction as described above. Filtering operation in the vertical direction, the image data of the block B n, but is intended to calculate with reference to the block B n + W adjacent to the lower side of the block B n, the filter processing in the horizontal direction for its calculation method Since this is the same, the description thereof is omitted. In addition, since the horizontal filter processing and the vertical filter processing are independent of each other, the filter processing unit 11 performs the horizontal filter processing after performing the vertical filter processing. Also good.

〔逆フィルタ処理の詳細〕
次に、動画像符号化装置300、および、動画像復号装置400に含まれる逆フィルタ処理部12が行う逆フィルタ処理について説明する。
[Details of inverse filter processing]
Next, the inverse filter processing performed by the inverse filter processing unit 12 included in the video encoding device 300 and the video decoding device 400 will be described.

逆フィルタ処理部12は、フィルタ処理部11と同様、水平方向の逆フィルタ処理と垂直方向の逆フィルタ処理とを、処理対象画像を複数のブロックに分割して実行する。ここで、逆フィルタ処理部12が処理対象画像を分割する分割パターンは、フィルタ処理部11が処理対象画像を分割する分割パターンと同一である。   Similar to the filter processing unit 11, the inverse filter processing unit 12 executes the horizontal reverse filter processing and the vertical reverse filter processing by dividing the processing target image into a plurality of blocks. Here, the division pattern in which the inverse filter processing unit 12 divides the processing target image is the same as the division pattern in which the filter processing unit 11 divides the processing target image.

逆フィルタ処理部12は、ブロックBの画像データを、処理対象画像における当該ブロックBの画像データ、および、当該ブロックBに隣接するブロックの画像データから算出する。具体的には、水平方向のフィルタ処理においては、ブロックBの画像データを、処理対象画像において当該ブロックBの右側に隣接するブロックBn+1画像データを参照して算出し、垂直方向のフィルタ処理においては、ブロックBの画像データを、当該ブロックBの下側に隣接するブロックBn+Wの画像データを参照して算出する。Inverse filter processing unit 12, the image data of the block B n, the block B n image data of the processing target image, and is calculated from the image data of the block adjacent to the block B n. Specifically, in the filter processing in the horizontal direction, the image data of the block B n, calculated with reference to the block B n + 1 image data adjacent to the right side of the block B n in the process target image, the vertical filter in the processing, the image data of the block B n, is calculated by referring to the image data of the block B n + W adjacent the lower side of the block B n.

以下、水平方向の逆フィルタ処理において逆フィルタ処理部が実行する逆フィルタ処理演算について、図5と図6とを参照しながら説明する。なお、以下では、1つのブロックBの画素値(例えば輝度レベル)を算出するための逆フィルタ処理演算について説明する。逆フィルタ処理部12は、以下に説明するフィルタ処理演算を、全ての隣接2ブロックについて繰り返すことにより、水平方向のフィルタ処理を完了する。Hereinafter, the inverse filter processing calculation performed by the inverse filter processing unit in the horizontal inverse filter processing will be described with reference to FIGS. 5 and 6. In the following, an inverse filter processing calculation for calculating a pixel value (for example, a luminance level) of one block Bn will be described. The inverse filter processing unit 12 repeats the filter processing operation described below for all adjacent two blocks, thereby completing the horizontal filter processing.

図5は、逆フィルタ処理部12が実行する逆フィルタ処理演算を概略的に説明するフローチャートである。図5に示したように、逆フィルタ処理部12によるフィルタ処理演算は、平均画素値を算出するステップT1と、予測値を算出するステップT2と、逆フィルタ出力画像を算出するステップT3とを含んでいる。ステップT1〜T3について更に詳しく説明すれば以下の通りである。なお、以下の説明では、ブロックBに属する4行4列に配列された16画素のうち、v行目に配列された4画素の画素値を算出する逆フィルタ処理演算について述べる。逆フィルタ処理部12は、以下に述べる逆フィルタ処理演算を、ブロックBの1行目から4行目について、順次、あるいは、並列的に実行することにより、ブロックBに属する全ての画素の画素値を算出するものである。FIG. 5 is a flowchart schematically illustrating the inverse filter processing calculation executed by the inverse filter processing unit 12. As shown in FIG. 5, the filter processing calculation by the inverse filter processing unit 12 includes a step T1 for calculating an average pixel value, a step T2 for calculating a predicted value, and a step T3 for calculating an inverse filter output image. It is out. Steps T1 to T3 will be described in more detail as follows. In the following description, an inverse filter processing operation for calculating a pixel value of 4 pixels arranged in the v-th row among 16 pixels arranged in 4 rows and 4 columns belonging to the block Bn will be described. The inverse filter processing unit 12 performs the inverse filter processing operation described below for the first to fourth rows of the block B n sequentially or in parallel, thereby calculating all the pixels belonging to the block B n . The pixel value is calculated.

(ステップT1) 逆フィルタ処理部12は、処理対象画像におけるブロックBのv行目に配列された4画素の平均画素値<Pn、v>と、処理対象画像におけるブロックBn+1のv行目に配列された4画素の平均画素値<Pn+1、v>とを算出する。逆フィルタ処理部12が、平均画素値<Pn、v>と<Pn+1、v>とを算出するために用いる算出式は以下の通りである。(Step T1) inverse filter processing unit 12, processing the average pixel values of four pixels arranged in v-th row of the block B n of the target image <P n, v> and, v rows of the block B n + 1 in the processing target image The average pixel value <P n + 1, v > of the four pixels arranged in the eye is calculated. The calculation formula used by the inverse filter processing unit 12 to calculate the average pixel values <P n, v > and <P n + 1, v > is as follows.

Figure 0004768011
Figure 0004768011

ここで、P(n、u、v)は、処理対象画像の画素(n、u、v)における画素値である。図6(a)は、処理対象画像の画素値を示したグラフであり、図6(b)は、上記ステップT1において得られた、平均画素値を表すグラフである。   Here, P (n, u, v) is a pixel value in the pixel (n, u, v) of the processing target image. FIG. 6A is a graph showing the pixel values of the processing target image, and FIG. 6B is a graph showing the average pixel values obtained in step T1.

(ステップT2) 逆フィルタ処理部12は、ステップT1にて得られた平均画素値<Pn、v>と<Pn+1、v>とを用いた線型補間により、ブロックBのv行目の各画素についての予測値Ppred(n、u、v)と、ブロックBn+1のv行目の各画素についての予測値Ppred(n+1、u、v)とを算出する。逆フィルタ処理部12が予測値Ppred(n、u、v)とPpred(n+1、u、v)とを算出するために用いる算出式は以下の通りである。(Step T2) The inverse filter processing unit 12 performs linear interpolation using the average pixel values <P n, v > and <P n + 1, v > obtained in step T1 , and the v th row of the block B n A predicted value P pred (n, u, v) for each pixel and a predicted value P pred (n + 1, u, v) for each pixel in the v-th row of the block B n + 1 are calculated. The calculation formula used by the inverse filter processing unit 12 to calculate the predicted values P pred (n, u, v) and P pred (n + 1, u, v) is as follows.

Figure 0004768011
Figure 0004768011

Figure 0004768011
Figure 0004768011

図6(c)は、上記ステップT2により得られた、予測値を表したグラフである。   FIG. 6C is a graph showing the predicted value obtained in step T2.

(ステップT3)
逆フィルタ処理部12は、ステップT2にて得られた予測値Ppred(n、u、v)と、ステップT1にて得られたブロックBの平均画素値<Pn、v>との差を処理対象画像に付加すべき付加成分とし、処理対象画像の画素値P(n、u、v)に該付加成分を加算することにより、フィルタ出力画像の画素値P´(n、u、v)を算出する。逆フィルタ処理部12が逆フィルタ出力画像の画素値P´(n、u、v)を算出するために用いる算出式は以下の通りである。
(Step T3)
The inverse filter processing unit 12 determines the difference between the predicted value P pred (n, u, v) obtained in step T2 and the average pixel value <P n, v > of the block B n obtained in step T1. Is added to the processing target image, and the additional component is added to the pixel value P (n, u, v) of the processing target image, thereby obtaining the pixel value P ′ (n, u, v) of the filter output image. ) Is calculated. The calculation formula used by the inverse filter processing unit 12 to calculate the pixel value P ′ (n, u, v) of the inverse filter output image is as follows.

Figure 0004768011
Figure 0004768011

図6(d)は、上記ステップT3により得られた、逆フィルタ出力画像の画素値を表したグラフである。ここで、逆フィルタ出力画像におけるブロックBの平均画素値は、処理対象画像におけるブロックBの平均画素値と一致する点に注意されたい。このため、動画像のボケやチラツキの発生は有効に防止される。FIG. 6D is a graph showing the pixel value of the inverse filter output image obtained in step T3. Here, it should be noted that the average pixel value of the block Bn in the inverse filter output image matches the average pixel value of the block Bn in the processing target image. For this reason, the occurrence of blurring and flickering of moving images is effectively prevented.

逆フィルタ処理部12は、上述のように水平方向の逆フィルタ処理を行った後、垂直方向の逆フィルタ処理を行う。垂直方向の逆フィルタ処理演算は、ブロックBの画像データを、該ブロックBの下側に隣接するブロックBn+Wを参照して算出するものであるが、その算出方法については水平方向の逆フィルタ処理と同様であるので、その説明を省略する。また、上記水平方向の逆フィルタ処理と、上記垂直方向の逆フィルタ処理とは互いに独立であるので、逆フィルタ処理部12は、垂直方向の逆フィルタ処理を行った後で、水平方向の逆フィルタ処理を行う構成としても良い。The inverse filter processing unit 12 performs the inverse filter process in the horizontal direction as described above, and then performs the inverse filter process in the vertical direction. The inverse filtering operation in the vertical direction, the image data of the block B n, but is intended to calculate with reference to the block B n + W adjacent to the lower side of the block B n, opposite horizontal direction about the calculation method Since this is the same as the filtering process, the description thereof is omitted. In addition, since the horizontal reverse filter processing and the vertical reverse filter processing are independent from each other, the reverse filter processing unit 12 performs the horizontal reverse filter processing after performing the vertical reverse filter processing. It is good also as a structure which performs a process.

以上のように定義された逆フィルタ処理部12が行う逆フィルタ処理は、フィルタ処理部11が行う上記フィルタ処理の逆変換に相当する。すなわち、フィルタ処理部11の出力p´(n、u、v)と逆フィルタ処理部12の入力P(n、u、v)との間にp´(n、u、v)=P(n、u、v)の関係が成り立つとき、フィルタ処理部11の入力p(n、u、v)と逆フィルタ処理部12の出力P´(n、u、v)との間にp(n、u、v)=P´(n、u、v)の関係が成り立つ。従って、フィルタ処理部11のフィルタ処理により、処理対象画像から除去されたブロック歪を発生させる周波数成分は、逆フィルタ処理部12の逆フィルタ処理により復元される。従って、復元画像において、特定の周波数成分が欠落するようなことはない。   The inverse filter processing performed by the inverse filter processing unit 12 defined as described above corresponds to the inverse transformation of the filter processing performed by the filter processing unit 11. That is, p ′ (n, u, v) = P (n) between the output p ′ (n, u, v) of the filter processing unit 11 and the input P (n, u, v) of the inverse filter processing unit 12. , U, v), the relationship between the input p (n, u, v) of the filter processor 11 and the output P ′ (n, u, v) of the inverse filter processor 12 is p (n, The relationship u, v) = P ′ (n, u, v) is established. Therefore, the frequency component that generates the block distortion removed from the processing target image by the filter processing of the filter processing unit 11 is restored by the inverse filter processing of the inverse filter processing unit 12. Therefore, a specific frequency component is not lost in the restored image.

〔フィルタ処理および逆フィルタ処理についての付記事項〕
以上の説明において、フィルタ処理部11が算出する予測値は、隣接ブロックの平均画素値を用いた線型補間により算出されるものとしたが、本発明はこれに限定されるものではない。すなわち、フィルタ処理部11がフィルタ出力画像の画素値を算出するために用いる予測値は、例えば、ブロック単位の平均画素値を基に算出される予測値であっても良いし、あるいは、隣接する3つのブロックの平均画素値<Pn−1、v>、<Pn、v>、<Pn+1、v>を用いて3次補間により算出される値であっても良い。また、詳細な説明は省略するが、これらのフィルタ処理を行うフィルタ処理部11に対応する逆フィルタ処理部12は、これらのフィルタ処理の逆変換に相当する逆フィルタ処理を行うものとして容易に構成され得る。
[Additional notes on filtering and inverse filtering]
In the above description, the predicted value calculated by the filter processing unit 11 is calculated by linear interpolation using the average pixel value of the adjacent block, but the present invention is not limited to this. That is, the prediction value used by the filter processing unit 11 to calculate the pixel value of the filter output image may be, for example, a prediction value calculated based on an average pixel value in units of blocks, or is adjacent. It may be a value calculated by cubic interpolation using the average pixel values <P n−1, v >, <P n, v >, <P n + 1, v > of the three blocks. Although a detailed description is omitted, the inverse filter processing unit 12 corresponding to the filter processing unit 11 that performs these filter processes is easily configured to perform an inverse filter process corresponding to the inverse transformation of these filter processes. Can be done.

なお、ブロック毎の予測値の平均画素値がブロック毎の入力画像の平均画素値と異なる予測を用いる場合には、フィルタ出力に、予測値の平均画素値と入力画像の平均画素値との差を加え、フィルタ入力及びフィルタ出力の平均画素値が維持されるように補正する構成とすることが好ましい。   In addition, when using the prediction in which the average pixel value of the prediction value for each block is different from the average pixel value of the input image for each block, the difference between the average pixel value of the prediction value and the average pixel value of the input image is used as the filter output. It is preferable to make a correction so that the average pixel value of the filter input and the filter output is maintained.

また、以上の説明において、フィルタ処理部11は、1次元的なフィルタ処理を水平方向と垂直方向とに対して独立に行うものとしたが、本発明はこれに限定されるものではなく、2次元的なフィルタ処理を行う構成としても良い。フィルタ処理部11が行う2次元的なフィルタ処理の一例を説明すれば、以下の通りである。   In the above description, the filter processing unit 11 performs one-dimensional filter processing independently in the horizontal direction and the vertical direction. However, the present invention is not limited to this. A configuration that performs dimensional filtering may be used. An example of a two-dimensional filter process performed by the filter processing unit 11 will be described as follows.

2次元的なフィルタ処理を行う場合、フィルタ処理部11は、上下左右に隣接する4つのブロックの画素値を参照して、注目ブロックの画素値を算出する。フィルタ処理部11が注目ブロックBの画素値を算出するために行うフィルタ処理演算は、以下のステップ1〜3を含む。When performing two-dimensional filter processing, the filter processing unit 11 calculates the pixel value of the block of interest with reference to the pixel values of four blocks that are adjacent vertically and horizontally. The filter processing calculation performed by the filter processing unit 11 to calculate the pixel value of the target block Bn includes the following steps 1 to 3.

(ステップ1) フィルタ処理部11は、注目ブロックBの平均画素値、及び、注目ブロックBの上下左右に隣接するブロックBn−1、Bn+1、Bn−W、Bn+Wの平均画素値を算出する。フィルタ処理部11が、上記各ブロックの平均画素値を算出するために用いる算出式は以下の通りである。(Step 1) filter processing unit 11, the average pixel value of the block of interest B n, and the block B n-1 are vertically and horizontally adjacent to each of the target block B n, B n + 1, B n-W, average pixel of B n + W Calculate the value. The calculation formula used by the filter processing unit 11 to calculate the average pixel value of each block is as follows.

Figure 0004768011
Figure 0004768011

(ステップ2) フィルタ処理部11は、上記ステップ1にて得られた上記各ブロックの平均画素値を用いた線型補間により、ブロックBの各画素についての予測値ppred(n、u、v)を算出する。フィルタ処理部11が予測値ppred(n、u、v)を算出するために用いる算出式は以下の通りである。(Step 2) The filter processing unit 11 performs the prediction value p pred (n, u, v) for each pixel of the block B n by linear interpolation using the average pixel value of each block obtained in Step 1 above. ) Is calculated. The calculation formula used for the filter processing unit 11 to calculate the predicted value p pred (n, u, v) is as follows.

Figure 0004768011
Figure 0004768011

(ステップ3)フィルタ処理部11は、ステップ2にて得られた予測値ppred(n、u、v)と、ステップ1にて得られたブロックBの平均画素値<pn、v>との差を処理対象画像から除去すべき除去成分とし、処理対象画像の画素値p(n、u、v)から該除去成分を減算することにより、フィルタ出力画像の画素値p´(n、u、v)を算出する。フィルタ処理部11がフィルタ出力画像におけるブロックBの画素値p´(n、u、v)を算出するための算出式は以下の通りである。(Step 3) The filter processing unit 11 calculates the predicted value p pred (n, u, v) obtained in Step 2 and the average pixel value <p n, v > of the block B n obtained in Step 1. Is a removal component to be removed from the processing target image, and subtracting the removal component from the pixel value p (n, u, v) of the processing target image, thereby obtaining a pixel value p ′ (n, u, v) is calculated. The calculation formula for the filter processing unit 11 to calculate the pixel value p ′ (n, u, v) of the block B n in the filter output image is as follows.

Figure 0004768011
Figure 0004768011

ブロック歪を発生させる周波数成分を2次元的なフィルタ処理により除去する場合、フィルタ処理部11は、各ブロック対して上記ステップ1〜3を繰り返すことにより、フィルタ出力画像全体の画素値を算出する。また、詳細な説明は省略するが、対応する逆フィルタ処理部12は、当該フィルタ処理部11のフィルタ処理の逆変換に相当する逆フィルタ処理を行うものとして構成され得る。
〔変形例1〕
動画像符号化装置300の一変形例について、図7と図8とに基づいて説明する。
When removing a frequency component that generates block distortion by two-dimensional filter processing, the filter processing unit 11 calculates the pixel value of the entire filter output image by repeating steps 1 to 3 for each block. Although a detailed description is omitted, the corresponding inverse filter processing unit 12 may be configured to perform an inverse filter process corresponding to the inverse transformation of the filter process of the filter processing unit 11.
[Modification 1]
A modification of the moving image encoding apparatus 300 will be described with reference to FIGS.

図7は、動画像符号化装置300の一変形例である動画像符号化装置300aの概略構成を示した機能ブロック図である。図7に示したように、動画像符号化装置300aは、DCT部1、量子化部2、可変長符号化部3、逆量子化部4、IDCT部5、フレームメモリ7、イントラ予測部8、インター予測部9、符号化制御部10、フィルタ処理部11a、及び、逆フィルタ処理部12aを備えている。   FIG. 7 is a functional block diagram illustrating a schematic configuration of a video encoding device 300a which is a modification of the video encoding device 300. As illustrated in FIG. 7, the moving image coding apparatus 300a includes a DCT unit 1, a quantization unit 2, a variable length coding unit 3, an inverse quantization unit 4, an IDCT unit 5, a frame memory 7, and an intra prediction unit 8. , An inter prediction unit 9, an encoding control unit 10, a filter processing unit 11a, and an inverse filter processing unit 12a.

動画像符号化装置300aと動画像符号化装置300(図1)との相違点は、動画像符号化装置300aが、フィルタ処理部11の代わりに、予測画像に基づいてフィルタ処理を実行するフィルタ処理部11aを備え、また、逆フィルタ処理部12の代わりに、予測画像に基づいて逆フィルタ処理を実行する逆フィルタ処理部12aを備えている点である。また、図7に示したように、イントラ予測部8およびインター予測部9が、生成した予測画像をフィルタ処理部11aと逆フィルタ処理部12aとに供給する点である。図7において、図1の動画像符号化装置300と同一機能を有するブロックについては、図1と同一の名称および符号を用いて示し、その説明を省略する。   The difference between the moving image encoding device 300a and the moving image encoding device 300 (FIG. 1) is that the moving image encoding device 300a performs a filter process based on a predicted image instead of the filter processing unit 11. The processing unit 11a is provided, and instead of the inverse filter processing unit 12, an inverse filter processing unit 12a that performs inverse filter processing based on the predicted image is provided. Further, as shown in FIG. 7, the intra prediction unit 8 and the inter prediction unit 9 supply the generated predicted image to the filter processing unit 11a and the inverse filter processing unit 12a. 7, blocks having the same functions as those of the moving picture coding apparatus 300 in FIG. 1 are denoted by the same names and symbols as those in FIG. 1, and description thereof is omitted.

図8は、図7に示した動画像符号化装置300aに対応する動画像復号装置400aの概略構成を示した機能ブロック図である。図8に示したように、動画像復号装置400aは、逆量子化部4、IDCT部5、フレームメモリ7、イントラ予測部8、インター予測部9、可変長復号部20、および、逆フィルタ処理部12aを備えている。   FIG. 8 is a functional block diagram showing a schematic configuration of a moving picture decoding apparatus 400a corresponding to the moving picture encoding apparatus 300a shown in FIG. As illustrated in FIG. 8, the video decoding device 400a includes an inverse quantization unit 4, an IDCT unit 5, a frame memory 7, an intra prediction unit 8, an inter prediction unit 9, a variable length decoding unit 20, and an inverse filter process. A portion 12a is provided.

図8の動画像復号装置400aと動画像復号装置400(図2)との相違点は、動画像復号装置400aが、逆フィルタ処理部12の代わりに、動画像符号化装置300aと同じ逆フィルタ処理部12aを備えている点である。また、図8に示したように、イントラ予測部8およびインター予測部9が、生成した予測画像を逆フィルタ処理部12aに供給する点である。   The difference between the moving picture decoding apparatus 400a and the moving picture decoding apparatus 400 (FIG. 2) in FIG. 8 is that the moving picture decoding apparatus 400a uses the same inverse filter as the moving picture encoding apparatus 300a instead of the inverse filter processing unit 12. It is the point provided with the process part 12a. Further, as shown in FIG. 8, the intra prediction unit 8 and the inter prediction unit 9 supply the generated predicted image to the inverse filter processing unit 12a.

動画像符号化装置300aおよび動画像復号装置400aに好適に用いることができるフィルタ処理部11aと逆フィルタ処理部12aとについて説明すれば以下の通りである。   The filter processing unit 11a and the inverse filter processing unit 12a that can be suitably used in the moving image encoding device 300a and the moving image decoding device 400a will be described as follows.

フィルタ処理部11aおよび逆フィルタ処理部12aは、フィルタ出力画像における各ブロックの画像データを、イントラ予測部8あるいはインター予測部9から供給される予測画像の画像データから算出する。具体的には、水平方向のフィルタ処理においては、ブロックBの画像データを、予測画像におけるブロックBおよびブロックBn+1の画像データを参照して算出し、垂直方向のフィルタ処理においては、ブロックBの画像データを、予測画像におけるブロックBおよびブロックBn+Wの画像データを参照して算出する。以下では、1つのブロックBの画素値を算出するためのフィルタ処理演算について説明するが、フィルタ処理部11aおよび逆フィルタ処理部12aは、以下に説明するフィルタ演算処理を繰り返すことで、フィルタ出力画像全体の水平方向のフィルタ処理を完了する。また、垂直方向のフィルタ処理を同様に実行することで、全体のフィルタ処理を完了する。The filter processing unit 11a and the inverse filter processing unit 12a calculate the image data of each block in the filter output image from the image data of the prediction image supplied from the intra prediction unit 8 or the inter prediction unit 9. Specifically, in the filter processing in the horizontal direction, the image data of the block B n, calculated by referring to the image data of the block B n and the block B n + 1 in the prediction image, the filtering process in the vertical direction, the block the image data of B n, is calculated by referring to the image data of the block B n and the block B n + W in the prediction image. Hereinafter, the filter processing calculation for calculating the pixel value of one block Bn will be described. However, the filter processing unit 11a and the inverse filter processing unit 12a repeat the filter calculation processing described below to output the filter output. Complete the horizontal filtering of the entire image. Further, the entire filtering process is completed by executing the filtering process in the vertical direction in the same manner.

水平方向のフィルタ処理においてフィルタ処理部11aが実行するフィルタ処理演算は、以下のステップS1a〜S3aを含んで構成される。   The filter processing calculation executed by the filter processing unit 11a in the horizontal filter processing includes the following steps S1a to S3a.

(ステップS1a) フィルタ処理部11aは、予測画像におけるブロックBのv行目に配列された4画素の平均画素値<qn、v>と、処理対象画像におけるブロックBn+1のv行目に配列された4画素の平均画素値<qn+1、v>とを算出する。フィルタ処理部11aが、これらの平均画素値を算出するための算出式は以下の通りである。(Step S1a) The filter processing unit 11a and the average pixel value <q n, v > of the four pixels arranged in the v-th row of the block B n in the predicted image and the v-th row of the block B n + 1 in the processing target image. The average pixel value <q n + 1, v > of the arranged four pixels is calculated. The calculation formula for the filter processing unit 11a to calculate these average pixel values is as follows.

Figure 0004768011
Figure 0004768011

ここで、q(n、u、v)は、予測画像の画素(n、u、v)における画素値である。   Here, q (n, u, v) is a pixel value in the pixel (n, u, v) of the predicted image.

(ステップS2a) フィルタ処理部11aは、ステップS1aにて得られた平均画素値<qn、v>と<qn+1、v>とを用いた線型補間により、ブロックBのv行目の各画素についての予測値qpred(n、u、v)と、ブロックBn+1のv行目の各画素についての予測値qpred(n+1、u、v)とを算出する。フィルタ処理部11aが予測値qpred(n、u、v)とqpred(n+1、u、v)とを算出するための算出式は以下の通りである。(Step S2a) The filter processing unit 11a performs linear interpolation using the average pixel values <qn , v > and <qn + 1, v > obtained in step S1a, for each v-th row of the block Bn. A predicted value q pred (n, u, v) for the pixel and a predicted value q pred (n + 1, u, v) for each pixel in the v-th row of the block B n + 1 are calculated. The calculation formula for the filter processing unit 11a to calculate the predicted values q pred (n, u, v) and q pred (n + 1, u, v) is as follows.

Figure 0004768011
Figure 0004768011

Figure 0004768011
Figure 0004768011

(ステップS3a) フィルタ処理部11aは、ステップS2aにて得られた予測値qpred(n、u、v)と、ステップS1aにて得られたブロックBの平均画素値<qn、v>との差を処理対象画像から除去すべき除去成分とし、処理対象画像の画素値p(n、u、v)から該除去成分を減算することにより、フィルタ出力画像の画素値p´(n、u、v)を算出する。フィルタ処理部11aがフィルタ出力画像の画素値p´(n、u、v)を算出するために用いる算出式は以下の通りである。(Step S3a) The filter processing unit 11a calculates the predicted value q pred (n, u, v) obtained in step S2a and the average pixel value <q n, v > of the block B n obtained in step S1a. Is a removal component to be removed from the processing target image, and subtracting the removal component from the pixel value p (n, u, v) of the processing target image, thereby obtaining a pixel value p ′ (n, u, v) is calculated. The calculation formula used by the filter processing unit 11a to calculate the pixel value p ′ (n, u, v) of the filter output image is as follows.

Figure 0004768011
Figure 0004768011

なお、上記ステップS1a〜S3aは、ブロックBに属する4行4列に配列された16画素のうち、v行目に配列された4画素の画素値を算出するフィルタ処理演算であるが、上記ステップS1a〜S3aをブロックBの1行目から4行目について、順次、あるいは、並列的に実行することにより、ブロックBに属する全ての画素の画素値が算出される。In addition, although said step S1a-S3a is a filter process calculation which calculates the pixel value of 4 pixels arranged in the v row among 16 pixels arranged in 4 rows and 4 columns which belong to block Bn , step S1a~S3a from the first row of the block B n for the fourth line, sequentially, or by executing in parallel, the pixel values of all pixels belonging to the block B n is calculated.

垂直方向のフィルタ処理においてフィルタ処理部12aが実行する逆フィルタ処理演算は、以下のステップT1a〜T3aを含んで構成される。   The inverse filter processing calculation executed by the filter processing unit 12a in the vertical filter processing includes the following steps T1a to T3a.

(ステップT1a) 逆フィルタ処理部12aは、予測画像におけるブロックBのv行目に配列された4画素の平均画素値<qn、v>と、予測画像におけるブロックBn+1のv行目に配列された4画素の平均画素値<qn+1、v>とを算出する。逆フィルタ処理部12aが、平均画素値<qn、v>と<qn+1、v>とを算出するために用いる算出式は、〔数22〕と同一である。(Step T1a) inverse filtering unit 12a, the prediction average pixel values of four pixels arranged in v-th row of the block B n of the image <q n, v> and, in v-th row of the block B n + 1 in the prediction image The average pixel value <q n + 1, v > of the arranged four pixels is calculated. The calculation formula used by the inverse filter processing unit 12a to calculate the average pixel values <qn , v > and <qn + 1, v > is the same as [Equation 22].

(ステップT2a) 逆フィルタ処理部12aは、ステップT1aにて得られた平均画素値<qn、v>と<qn+1、v>とを用いた線型補間により、ブロックBのv行目の各画素についての予測値qpred(n、u、v)と、ブロックBn+1のv行目の各画素についての予測値qpred(n+1、u、v)とを算出する。逆フィルタ処理部12aが予測値qpred(n、u、v)とqpred(n+1、u、v)とを算出するために用いる算出式は、〔数23〕、〔数24〕と同一である。(Step T2a) The inverse filter processing unit 12a performs linear interpolation using the average pixel values <qn , v > and <qn + 1, v > obtained in step T1a, so that the vth row of the block Bn A predicted value q pred (n, u, v) for each pixel and a predicted value q pred (n + 1, u, v) for each pixel in the v-th row of the block B n + 1 are calculated. The calculation formula used by the inverse filter processing unit 12a to calculate the predicted values q pred ( n, u, v) and q pred (n + 1, u, v) is the same as [Formula 23] and [Formula 24]. is there.

(ステップT3a)
逆フィルタ処理部12aは、ステップT2aにて得られた予測値qpred(n、u、v)と、ステップT1aにて得られたブロックBの平均画素値<qn、v>との差を処理対象画像に付加すべき付加成分とし、処理対象画像の画素値P(n、u、v)に該付加成分を加算することにより、フィルタ出力画像の画素値P´(n、u、v)を算出する。逆フィルタ処理部12aが逆フィルタ出力画像の画素値P´(n、u、v)を算出するために用いる算出式は以下の通りである。
(Step T3a)
The inverse filter processing unit 12a calculates the difference between the predicted value q pred (n, u, v) obtained in step T2a and the average pixel value <q n, v > of the block B n obtained in step T1a. Is added to the processing target image, and the additional component is added to the pixel value P (n, u, v) of the processing target image, thereby obtaining the pixel value P ′ (n, u, v) of the filter output image. ) Is calculated. The calculation formula used by the inverse filter processing unit 12a to calculate the pixel value P ′ (n, u, v) of the inverse filter output image is as follows.

Figure 0004768011
Figure 0004768011

なお、上記ステップT1a〜T3aは、ブロックBに属する4行4列に配列された16画素のうち、v行目に配列された4画素の画素値を算出するフィルタ処理演算であるが、上記ステップT1a〜T3aをブロックBの1行目から4行目について、順次、あるいは、並列的に実行することにより、ブロックBに属する全ての画素の画素値が算出される。The steps T1a to T3a are filter processing operations for calculating the pixel values of 4 pixels arranged in the v-th row among 16 pixels arranged in 4 rows and 4 columns belonging to the block Bn. step T1a~T3a from the first row of the block B n for the fourth line, sequentially, or by executing in parallel, the pixel values of all pixels belonging to the block B n is calculated.

以上のように、フィルタ処理部11aは、フィルタ処理の対象となる対象画像の画像データから減算する画素値を、予測画像の画像データから算出する。また、逆フィルタ処理部12aは、逆フィルタ処理の対象となる処理対象画像の画像データに加算する画素値を、上記フィルタ処理手段と同一の方法で予測画像の画像データから算出する。すなわち、フィルタ処理部11aが処理対象画像から減算する画素値と、逆フィルタ処理部12aが処理対象画像に加算する画素値とは、同一の予測画像から算出される同一の画像値となる。従って、フィルタ処理部11aと逆フィルタ処理部12aとによれば、量子化誤差程度の違いをもつ処理対象画像に基づいてフィルタ処理・逆フィルタ処理を行う動画像符号化装置300と比べ、フィルタ処理部11aが処理対象画像から除去したブロック歪を発生させる周波数成分を、上記逆フィルタ処理部12aにてより完全に復元できる。
〔変形例2〕
動画像符号化装置300の他の変形例について、図9と図10とに基づいて説明する。
As described above, the filter processing unit 11a calculates the pixel value to be subtracted from the image data of the target image to be filtered from the image data of the predicted image. Further, the inverse filter processing unit 12a calculates a pixel value to be added to the image data of the processing target image to be subjected to the inverse filtering process from the image data of the predicted image by the same method as the filter processing unit. That is, the pixel value that the filter processing unit 11a subtracts from the processing target image and the pixel value that the inverse filter processing unit 12a adds to the processing target image are the same image value calculated from the same predicted image. Therefore, according to the filter processing unit 11a and the inverse filter processing unit 12a, compared with the moving image encoding apparatus 300 that performs the filter processing / inverse filter processing based on the processing target image having a difference in quantization error level, the filter processing is performed. The frequency component that generates block distortion removed from the processing target image by the unit 11a can be more completely restored by the inverse filter processing unit 12a.
[Modification 2]
Another modification of the moving picture coding apparatus 300 will be described with reference to FIGS. 9 and 10.

図9は、動画像符号化装置300の他の変形例である動画像符号化装置300bの概略構成を示した機能ブロック図である。図9に示したように、動画像符号化装置300aは、DCT部1、量子化部2、可変長符号化部3、逆量子化部4、IDCT部5、フレームメモリ7、イントラ予測部8、インター予測部9、符号化制御部10、フィルタ処理部11b及び、逆フィルタ処理部12bを備えている。   FIG. 9 is a functional block diagram illustrating a schematic configuration of a video encoding device 300b which is another modification of the video encoding device 300. As illustrated in FIG. 9, the moving picture coding apparatus 300a includes a DCT unit 1, a quantization unit 2, a variable length coding unit 3, an inverse quantization unit 4, an IDCT unit 5, a frame memory 7, and an intra prediction unit 8. , An inter prediction unit 9, an encoding control unit 10, a filter processing unit 11b, and an inverse filter processing unit 12b.

動画像符号化装置300bと動画像符号化装置300(図1)との相違点は、動画像符号化装置300aが、フィルタ処理部11の代わりに、予測画像に基づいてフィルタ処理を実行するフィルタ処理部11bを備え、逆フィルタ処理部12の代わりに、予測画像に基づいて逆フィルタ処理を実行する逆フィルタ処理部12aを備えている点である。また、更なる相違点は、フィルタ処理部11bがDCT部1の直前に設けられ、原画像と予測画像との差分画像をフィルタ処理の処理対象画像としている点である。なお、フィルタ処理部11bおよび逆フィルタ処理部12bがフィルタ処理のために用いる予測画像は、ともに、イントラ予測部8またはインター予測部9から供給される。   The difference between the moving image encoding device 300b and the moving image encoding device 300 (FIG. 1) is that the moving image encoding device 300a performs a filter process based on a predicted image instead of the filter processing unit 11. It is the point provided with the process part 11b and having the reverse filter process part 12a which performs the reverse filter process based on a predicted image instead of the reverse filter process part 12. A further difference is that the filter processing unit 11b is provided immediately before the DCT unit 1, and uses a difference image between the original image and the predicted image as a processing target image of the filter processing. Note that the prediction images used for the filter processing by the filter processing unit 11b and the inverse filter processing unit 12b are both supplied from the intra prediction unit 8 or the inter prediction unit 9.

図9に示したように、動画像符号化装置300bにおける、フィルタ処理部11bと逆フィルタ処理部12bとを除く機能ブロックは、図1の動画像符号化装置300と同一である。従って、図9において、図1の動画像符号化装置300と同一機能を有するブロックについては、図1と同一の名称および符号を用いて示し、その説明を省略する。   As shown in FIG. 9, the functional blocks of the moving image encoding device 300b excluding the filter processing unit 11b and the inverse filter processing unit 12b are the same as those of the moving image encoding device 300 of FIG. Therefore, in FIG. 9, blocks having the same functions as those of the moving picture coding apparatus 300 of FIG.

図10は、図9に示した動画像符号化装置300bに対応する動画像復号装置400bの概略構成を示した機能ブロック図である。図10に示したように、動画像復号装置400bは、逆量子化部4、IDCT部5、フレームメモリ7、イントラ予測部8、インター予測部9、可変長復号部20、および、逆フィルタ処理部12bを備えている。   FIG. 10 is a functional block diagram showing a schematic configuration of a moving picture decoding apparatus 400b corresponding to the moving picture encoding apparatus 300b shown in FIG. As illustrated in FIG. 10, the video decoding device 400b includes an inverse quantization unit 4, an IDCT unit 5, a frame memory 7, an intra prediction unit 8, an inter prediction unit 9, a variable length decoding unit 20, and an inverse filter process. A portion 12b is provided.

図10の動画像復号装置400bと動画像復号装置400(図2)との相違点は、動画像復号装置400bが、逆フィルタ処理部12の代わりに、動画像符号化装置300bと同一の逆フィルタ処理部12bを備えている点である。また、図10に示したように、イントラ予測部8およびインター予測部9が生成した予測画像が、逆フィルタ処理部12bに供給される点である。   The difference between the moving image decoding apparatus 400b and the moving image decoding apparatus 400 (FIG. 2) in FIG. 10 is that the moving image decoding apparatus 400b is the same as the moving image encoding apparatus 300b, instead of the inverse filter processing unit 12. The filter processing unit 12b is provided. Further, as shown in FIG. 10, the prediction image generated by the intra prediction unit 8 and the inter prediction unit 9 is supplied to the inverse filter processing unit 12b.

以下、動画像符号化装置300bに好適なフィルタ処理部11bにおけるフィルタ処理と、動画像符号化装置300および動画像復号装置400bに好適な逆フィルタ処理部12bにおける逆フィルタ処理とについて説明する。   Hereinafter, the filtering process in the filter processing unit 11b suitable for the moving image coding apparatus 300b and the inverse filtering process in the inverse filter processing unit 12b suitable for the moving image coding apparatus 300 and the moving image decoding apparatus 400b will be described.

フィルタ処理部11bおよび逆フィルタ処理部12bは、フィルタ出力画像における各ブロックの画像データを、イントラ予測部8あるいはインター予測部9から供給される予測画像の画像データから算出する。具体的には、水平方向のフィルタ処理においては、ブロックBの画像データを、予測画像におけるブロックBおよびブロックBn+1の画像データを参照して算出し、垂直方向のフィルタ処理においては、ブロックBの画像データを、予測画像におけるブロックBおよびブロックBn+Wの画像データを参照して算出する。以下では、1つのブロックBの画素値を算出するためのフィルタ処理演算について説明するが、フィルタ処理部11bおよび逆フィルタ処理部12bは、以下に説明するフィルタ演算処理を繰り返すことで、フィルタ出力画像全体の水平方向のフィルタ処理を完了する。また、垂直方向のフィルタ処理を同様に実行することで、全体のフィルタ処理を完了する。The filter processing unit 11b and the inverse filter processing unit 12b calculate the image data of each block in the filter output image from the image data of the prediction image supplied from the intra prediction unit 8 or the inter prediction unit 9. Specifically, in the filter processing in the horizontal direction, the image data of the block B n, calculated by referring to the image data of the block B n and the block B n + 1 in the prediction image, the filtering process in the vertical direction, the block the image data of B n, is calculated by referring to the image data of the block B n and the block B n + W in the prediction image. Hereinafter, the filter processing calculation for calculating the pixel value of one block Bn will be described. However, the filter processing unit 11b and the inverse filter processing unit 12b repeat the filter calculation processing described below to output the filter output. Complete the horizontal filtering of the entire image. Further, the entire filtering process is completed by executing the filtering process in the vertical direction in the same manner.

フィルタ処理部11bが水平方向のフィルタ処理において実行するフィルタ処理演算は、以下のステップS1b〜S3bを含んで構成される。   The filter processing calculation executed by the filter processing unit 11b in the horizontal filter processing includes the following steps S1b to S3b.

(ステップS1b) フィルタ処理部11bは、予測画像におけるブロックBのv行目に配列された4画素の平均画素値<qn、v>と、処理対象画像におけるブロックBn+1のv行目に配列された4画素の平均画素値<qn+1、v>とを算出する。フィルタ処理部11bが、これらの平均画素値を算出するための算出式は、〔数22〕と同一である。(Step S1b) The filter processing unit 11b includes the average pixel value <q n, v > of four pixels arranged in the v-th row of the block B n in the predicted image and the v-th row of the block B n + 1 in the processing target image. The average pixel value <q n + 1, v > of the arranged four pixels is calculated. The calculation formula for the filter processing unit 11b to calculate these average pixel values is the same as [Equation 22].

(ステップS2b) フィルタ処理部11bは、ステップS1bにて得られた平均画素値<qn、v>と<qn+1、v>とを用いて、ブロックBのv行目の各画素についての予測値q´pred(n、u、v)と、ブロックBn+1のv行目の各画素についての予測値q´pred(n+1、u、v)とを算出する。フィルタ処理部11bが予測値q´pred(n、u、v)とq´pred(n+1、u、v)とを算出するための算出式は以下の通りである。(Step S2b) The filter processing unit 11b uses the average pixel values <qn , v > and <qn + 1, v > obtained in step S1b, for each pixel in the vth row of the block Bn . A predicted value q ′ pred (n, u, v) and a predicted value q ′ pred (n + 1, u, v) for each pixel in the v-th row of the block B n + 1 are calculated. Calculation formulas for the filter processing unit 11b to calculate the predicted values q ′ pred (n, u, v) and q ′ pred (n + 1, u, v) are as follows.

Figure 0004768011
Figure 0004768011

Figure 0004768011
Figure 0004768011

(ステップS3b) フィルタ処理部11bは、フィルタ処理対象画像(原画像と予測画像との差分画像)の画素値p(n、u、v)から、ステップS2bにて得られた予測値q´pred(n、u、v)を減算することにより、フィルタ出力画像の画素値p´(n、u、v)を算出する。フィルタ処理部11bがフィルタ出力画像の画素値p´(n、u、v)を算出するために用いる算出式は以下の通りである。(Step S3b) The filter processing unit 11b obtains the predicted value q ′ pred obtained in step S2b from the pixel value p (n, u, v) of the filter processing target image (difference image between the original image and the predicted image). The pixel value p ′ (n, u, v) of the filter output image is calculated by subtracting (n, u, v). The calculation formula used by the filter processing unit 11b to calculate the pixel value p ′ (n, u, v) of the filter output image is as follows.

Figure 0004768011
Figure 0004768011

なお、上記ステップS1b〜S3bは、ブロックBに属する4行4列に配列された16画素のうち、v行目に配列された4画素の画素値を算出するフィルタ処理演算であるが、上記ステップS1b〜S3bをブロックBの1行目から4行目について、順次、あるいは、並列的に実行することにより、ブロックBに属する全ての画素の画素値が算出される。The steps S1b to S3b are filter processing operations for calculating the pixel values of the four pixels arranged in the vth row among the 16 pixels arranged in the 4th row and the 4th column belonging to the block Bn. step S1b~S3b from the first row of the block B n for the fourth line, sequentially, or by executing in parallel, the pixel values of all pixels belonging to the block B n is calculated.

垂直方向のフィルタ処理において逆フィルタ処理部12bが実行する逆フィルタ処理演算は、以下のステップT1b〜T3bを含んで構成される。   The inverse filter processing calculation executed by the inverse filter processing unit 12b in the vertical filter processing includes the following steps T1b to T3b.

(ステップT1b) 逆フィルタ処理部12bは、予測画像におけるブロックBのv行目に配列された4画素の平均画素値<qn、v>と、予測画像におけるブロックBn+1のv行目に配列された4画素の平均画素値<qn+1、v>とを算出する。逆フィルタ処理部12bが、これらの平均画素値を算出するために用いる算出式は〔数22〕と同一である。(Step T1b) inverse filtering unit 12b, predicted average pixel values of four pixels arranged in v-th row of the block B n of the image <q n, v> and, in v-th row of the block B n + 1 in the prediction image The average pixel value <q n + 1, v > of the arranged four pixels is calculated. The calculation formula used by the inverse filter processing unit 12b to calculate these average pixel values is the same as [Equation 22].

(ステップT2b) 逆フィルタ処理部12bは、ステップT1bにて得られた平均画素値<qn、v>と<qn+1、v>とを用いて、ブロックBのv行目の各画素についての予測値qpred(n、u、v)と、ブロックBn+1のv行目の各画素についての予測値qpred(n+1、u、v)とを算出する。逆フィルタ処理部12bが予測値qpred(n、u、v)とqpred(n+1、u、v)とを算出するために用いる算出式は、〔数27〕〔数28〕と同一である。(Step T2b) The inverse filter processing unit 12b uses the average pixel values <qn , v > and <qn + 1, v > obtained in step T1b for each pixel in the vth row of the block Bn. Predicted value q pred (n, u, v) and a predicted value q pred (n + 1, u, v) for each pixel in the v-th row of the block B n + 1 are calculated. The calculation formula used by the inverse filter processing unit 12b to calculate the predicted values q pred (n, u, v) and q pred (n + 1, u, v) is the same as [Expression 27] and [Expression 28]. .

(ステップT3b)
逆フィルタ処理部12bは、逆フィルタ処理対象画像の画素値P(n、u、v)に、ステップT2bにて得られた予測値qpred(n、u、v)を加算することにより、フィルタ出力画像の画素値P´(n、u、v)を算出する。逆フィルタ処理部12bがフィルタ出力画像の画素値P´(n、u、v)を算出するために用いる算出式は以下の通りである。
(Step T3b)
The inverse filter processing unit 12b adds the predicted value q pred (n, u, v) obtained in step T2b to the pixel value P (n, u, v) of the inverse filter processing target image, thereby obtaining a filter. A pixel value P ′ (n, u, v) of the output image is calculated. The calculation formula used by the inverse filter processing unit 12b to calculate the pixel value P ′ (n, u, v) of the filter output image is as follows.

Figure 0004768011
Figure 0004768011

なお、上記ステップT1b〜T3bは、ブロックBに属する4行4列に配列された16画素のうち、v行目に配列された4画素の画素値を算出するフィルタ処理演算であるが、上記ステップT1b〜T3bをブロックBの1行目から4行目について、順次、あるいは、並列的に実行することにより、ブロックBに属する全ての画素の画素値が算出される。The above steps T1b to T3b are filter processing operations for calculating pixel values of 4 pixels arranged in the v-th row among 16 pixels arranged in 4 rows and 4 columns belonging to the block Bn. step T1b~T3b from the first row of the block B n for the fourth line, sequentially, or by executing in parallel, the pixel values of all pixels belonging to the block B n is calculated.

以上のように、フィルタ処理部11bは、フィルタ処理の対象となる対象画像の画像データから減算する画素値を、予測画像の画像データから算出する。また、逆フィルタ処理部12bは、逆フィルタ処理の対象となる処理対象画像の画像データに加算する画素値を、上記フィルタ処理手段と同一の方法で予測画像の画像データから算出する。すなわち、フィルタ処理部11bが処理対象画像から減算する画素値と、逆フィルタ処理部12bが処理対象画像に加算する画素値とは、同一の予測画像から算出される同一の画像値となる。従って、フィルタ処理部11bと逆フィルタ処理部12bとによれば、量子化誤差程度の違いをもつ処理対象画像に基づいてフィルタ処理・逆フィルタ処理を行う動画像符号化装置300と比べ、フィルタ処理部11bが処理対象画像から除去したブロック歪を発生させる周波数成分を、上記逆フィルタ処理部12bにてより完全に復元できる。
〔付記事項〕
なお、本発明は上述した実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能である。すなわち、請求項に示した範囲で適宜変更した技術的手段を組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。例えば、本発明は以下のように構成することができる。
As described above, the filter processing unit 11b calculates the pixel value to be subtracted from the image data of the target image to be filtered from the image data of the predicted image. Further, the inverse filter processing unit 12b calculates a pixel value to be added to the image data of the processing target image to be subjected to the inverse filtering process from the image data of the predicted image by the same method as the filter processing unit. That is, the pixel value that the filter processing unit 11b subtracts from the processing target image and the pixel value that the inverse filter processing unit 12b adds to the processing target image are the same image value calculated from the same predicted image. Therefore, according to the filter processing unit 11b and the inverse filter processing unit 12b, compared with the moving image encoding apparatus 300 that performs the filter processing / inverse filter processing based on the processing target image having a difference in the degree of quantization error, the filter processing is performed. The frequency component that generates block distortion removed from the processing target image by the unit 11b can be restored more completely by the inverse filter processing unit 12b.
[Additional Notes]
In addition, this invention is not limited to embodiment mentioned above, A various change is possible in the range shown to the claim. That is, embodiments obtained by combining technical means appropriately modified within the scope of the claims are also included in the technical scope of the present invention. For example, the present invention can be configured as follows.

本発明に係る動画像符号化装置は、画像を複数のブロックに分割し、符号化する動画像符号化装置であって、前記ブロック単位の画像に対し所定のフィルタ処理を行うフィルタ処理手段と、前記フィルタ処理手段の逆変換である逆フィルタ処理を行う逆フィルタ処理手段を備えるように構成されていてもよい。   A moving image encoding apparatus according to the present invention is a moving image encoding apparatus that divides an image into a plurality of blocks and encodes the image, and a filter processing unit that performs a predetermined filter process on the image in block units; You may comprise so that the reverse filter process means which performs the reverse filter process which is the reverse transformation of the said filter process means may be provided.

また、本発明に係る動画像符号化装置においては、前記フィルタ処理手段は、隣接する複数ブロックの符号化対象画像を基に、当該ブロックの符号化対象画像に対し所定のフィルタ処理を行うように構成されていてもよい。   Moreover, in the moving image encoding device according to the present invention, the filter processing unit performs a predetermined filter process on the encoding target image of the block based on the encoding target images of a plurality of adjacent blocks. It may be configured.

また、本発明に係る動画像符号化装置は、前記ブロック単位に画面内予測、あるいは画面間予測を行う予測手段を備え、前記フィルタ処理手段は、前記予測手段が出力する隣接した複数ブロックの予測画像を基に、当該ブロックの符号化対象画像に対し所定のフィルタ処理を行うように構成されていてもよい。   The video encoding apparatus according to the present invention further includes prediction means for performing intra prediction or inter prediction for each block, and the filter processing means predicts a plurality of adjacent blocks output by the prediction means. Based on the image, a predetermined filtering process may be performed on the encoding target image of the block.

また、本発明に係る動画像符号化装置は、前記ブロック単位に画面内予測、あるいは画面間予測を行う予測手段を備え、前記フィルタ処理手段は、前記予測手段が出力する隣接した複数ブロックの予測画像を基に、当該ブロックの符号化対象画像と予測画像の差分画像に対し所定のフィルタ処理を行うように構成されていてもよい。   The video encoding apparatus according to the present invention further includes prediction means for performing intra prediction or inter prediction for each block, and the filter processing means predicts a plurality of adjacent blocks output by the prediction means. Based on the image, a predetermined filter process may be performed on the difference image between the encoding target image and the predicted image of the block.

また、本発明に係る動画像復号装置は、前記ブロック毎に符号化された動画像データを復号する動画像復号装置であって、前記逆フィルタ処理手段を備えるように構成されていてもよい。   The moving picture decoding apparatus according to the present invention is a moving picture decoding apparatus for decoding moving picture data encoded for each block, and may be configured to include the inverse filter processing means.

最後に、本発明の動画像符号化装置300、300a、300b、および、本発明の動画像復号装置400、400a、400bの上記各ブロックは、特にフィルタ処理手段11・11a・11b、および、逆フィルタ処理手段12・12a・12bは、ハードウエアロジックによって構成されるものであってもよいし、次のようにCPUを用いてソフトウェアによって実現されるものであってもよい。   Finally, the above-described blocks of the moving image encoding devices 300, 300a, 300b of the present invention and the moving image decoding devices 400, 400a, 400b of the present invention are particularly adapted to the filter processing means 11, 11a, 11b and vice versa. The filter processing means 12, 12a, and 12b may be configured by hardware logic, or may be realized by software using a CPU as follows.

すなわち、上記動画像符号化装置・動画像復号装置は、各機能を実現する制御プログラムの命令を実行するCPU(central processing unit)、上記プログラムを格納したROM(read only memory)、上記プログラムを展開するRAM(random access memory)、上記プログラムおよび各種データを格納するメモリ等の記憶装置(記録媒体)などを備えている。そして、本発明の目的は、上述した機能を実現するソフトウェアである上記動画像符号化装置・動画像復号装置の制御プログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)をコンピュータで読み取り可能に記録した記録媒体を、上記動画像符号化装置・動画像復号装置に供給し、そのコンピュータ(またはCPUやMPU)が記録媒体に記録されているプログラムコードを読み出し実行することによっても、達成可能である。   That is, the moving image encoding device / moving image decoding device develops a CPU (central processing unit) that executes instructions of a control program that realizes each function, a ROM (read only memory) that stores the program, and the program. A random access memory (RAM), and a storage device (recording medium) such as a memory for storing the program and various data. An object of the present invention is to read a program code (execution format program, intermediate code program, source program) of a control program of the above-described moving image encoding apparatus / moving image decoding apparatus, which is software that realizes the above-described functions, by a computer. It is also achieved by supplying a recording medium recorded as possible to the moving picture encoding apparatus / moving picture decoding apparatus, and reading and executing the program code recorded on the recording medium by the computer (or CPU or MPU). Is possible.

上記記録媒体としては、例えば、磁気テープやカセットテープ等のテープ系、フロッピー(登録商標)ディスク/ハードディスク等の磁気ディスクやCD−ROM/MO/MD/DVD/CD−R等の光ディスクを含むディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM/EPROM/EEPROM/フラッシュROM等の半導体メモリ系などを用いることができる。   Examples of the recording medium include a tape system such as a magnetic tape and a cassette tape, a magnetic disk such as a floppy (registered trademark) disk / hard disk, and an optical disk such as a CD-ROM / MO / MD / DVD / CD-R. Card system such as IC card, IC card (including memory card) / optical card, or semiconductor memory system such as mask ROM / EPROM / EEPROM / flash ROM.

また、上記動画像符号化装置・動画像復号装置を通信ネットワークと接続可能に構成し、上記プログラムコードは通信ネットワークを介して供給してもよい。この通信ネットワークとしては、特に限定されず、例えば、インターネット、イントラネット、エキストラネット、LAN、ISDN、VAN、CATV通信網、仮想専用網(virtual private network)、電話回線網、移動体通信網、衛星通信網等が利用可能である。また、通信ネットワークを構成する伝送媒体としては、特に限定されず、例えば、IEEE1394、USB、電力線搬送、ケーブルTV回線、電話線、ADSL回線等の有線でも、IrDAやリモコンのような赤外線、Bluetooth(登録商標)、802.11無線、HDR、携帯電話網、衛星回線、地上波デジタル網等の無線でも利用可能である。なお、本発明は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。   Further, the moving image encoding device / moving image decoding device may be configured to be connectable to a communication network, and the program code may be supplied via the communication network. The communication network is not particularly limited. For example, the Internet, intranet, extranet, LAN, ISDN, VAN, CATV communication network, virtual private network, telephone line network, mobile communication network, satellite communication. A net or the like is available. Further, the transmission medium constituting the communication network is not particularly limited. For example, even in the case of wired such as IEEE 1394, USB, power line carrier, cable TV line, telephone line, ADSL line, etc., infrared rays such as IrDA and remote control, Bluetooth ( (Registered trademark), 802.11 wireless, HDR, mobile phone network, satellite line, terrestrial digital network, and the like can also be used. The present invention can also be realized in the form of a computer data signal embedded in a carrier wave in which the program code is embodied by electronic transmission.

本発明に係る動画像符号化装置は、以上のように、画像を複数のブロックに分割して各ブロックの画像データを量子化し、該量子化により得られた量子化代表値を符号化する動画像符号化装置において、上記量子化前の画像データに対し、ブロック歪を発生させる周波数成分を除去するフィルタ処理を施すフィルタ処理手段を備えている。   As described above, the moving image encoding apparatus according to the present invention divides an image into a plurality of blocks, quantizes image data of each block, and encodes a quantized representative value obtained by the quantization. The image encoding device includes filter processing means for performing filter processing for removing frequency components that generate block distortion on the image data before quantization.

従って、ブロック歪が低減された復号画像を、特定の周波数成分を欠落させることなく復元し得る符号化データを生成することができる。   Therefore, it is possible to generate encoded data that can restore a decoded image with reduced block distortion without losing a specific frequency component.

また、本発明に係る動画像復号装置は、以上のように、ブロック歪を発生させる周波数成分が除去された画像データを符号化して得られた符号化データを復号する動画像復号装置であって、復号して得られた復号画像の画像データに対し、上記除去された周波数成分を復元する逆フィルタ処理を施す逆フィルタ処理手段を備えている。   The moving picture decoding apparatus according to the present invention is a moving picture decoding apparatus that decodes encoded data obtained by encoding image data from which frequency components that generate block distortion are removed as described above. The image processing apparatus includes an inverse filter processing unit that performs inverse filter processing for restoring the removed frequency component on the image data of the decoded image obtained by decoding.

従って、ブロック歪が低減された復号画像を、特定の周波数成分を欠落させることなく復号することができる
発明の詳細な説明の項においてなされた具体的な実施形態または実施例は、あくまでも、本発明の技術内容を明らかにするものであって、そのような具体例にのみ限定して狭義に解釈されるべきものではなく、本発明の精神と次に記載する請求の範囲内で、いろいろと変更して実施することができるものである。
Accordingly, a decoded image with reduced block distortion can be decoded without losing a specific frequency component. The specific embodiments or examples made in the detailed description section of the present invention are not limited to the present invention. The technical contents of the present invention should be clarified, and should not be construed in a narrow sense by limiting only to such specific examples, but various modifications may be made within the spirit of the present invention and the following claims. Can be implemented.

本発明は、動画像を符号化して記憶する動画像記憶装置、動画像を符号化して送信する動画像送信装置、あるいは、動画像を復号して再生する動画像再生装置等として好適に利用することができる。具体的には、例えば、ハードディスクレコーダや携帯電話端末など対して、好適に利用することができる。   The present invention is suitably used as a moving image storage device that encodes and stores a moving image, a moving image transmission device that encodes and transmits a moving image, or a moving image reproducing device that decodes and reproduces a moving image. be able to. Specifically, for example, it can be suitably used for a hard disk recorder or a mobile phone terminal.

Claims (9)

画像を複数のブロックに分割して各ブロックの画像データを量子化し、該量子化により得られた量子化代表値を符号化する動画像符号化装置において、
上記量子化前の画像データに対し、ブロック歪を発生させる周波数成分を除去するフィルタ処理を施すフィルタ処理手段を備えており、
上記フィルタ処理手段は、
上記フィルタ処理の対象となる処理対象画像の各ブロックにおける平均画素値を算出する平均画素値算出処理と、
上記処理対象画像の各画素の画素値を、上記平均画素値算出処理にて算出された、該画素を含むブロックにおける平均画素値、及び、該ブロックに隣接する隣接ブロックにおける平均画素値から、補間によって予測する予測処理と、
上記処理対象画像の各画素について、上記予測処理にて予測された当該画素の予測画素値と、上記平均画素値算出処理にて算出された当該画素が属するブロックの平均画素値との差を、上記処理対象画像から除去すべき除去成分とし、当該除去成分を上記処理対象画像の当該画素の画素値から減算する減算処理と、を実行するものである、
ことを特徴とする動画像符号化装置。
In a video encoding device that divides an image into a plurality of blocks, quantizes the image data of each block, and encodes the quantized representative value obtained by the quantization,
Filtering means for applying a filtering process to remove frequency components that generate block distortion is applied to the image data before quantization.
The filtering means is
An average pixel value calculation process for calculating an average pixel value in each block of the processing target image to be subjected to the filtering process;
The pixel value of each pixel of the processing target image is interpolated from the average pixel value calculated in the average pixel value calculation process in the block including the pixel and the average pixel value in the adjacent block adjacent to the block. A prediction process predicted by
For each pixel of the processing target image, the difference between the predicted pixel value of the pixel predicted by the prediction process and the average pixel value of the block to which the pixel calculated by the average pixel value calculation process belongs, A removal component to be removed from the processing target image, and a subtraction process for subtracting the removal component from a pixel value of the pixel of the processing target image.
A moving picture coding apparatus characterized by the above.
上記フィルタ処理手段が行うフィルタ処理は、上記各ブロックの平均画素値を処理の前後で不変に保つものである、
ことを特徴とする請求項1に記載の動画像符号化装置。
The filter processing performed by the filter processing means is to keep the average pixel value of each block unchanged before and after processing.
The moving picture coding apparatus according to claim 1, wherein:
予測画像を生成する予測画像生成手段と、
局所復号画像に対し、上記フィルタ処理の逆変換に相当する逆フィルタ処理を行う逆フィルタ処理手段とを更に備え、
上記予測画像生成手段は、上記逆フィルタ処理が施された局所復号画像を参照画像として上記予測画像を生成するものであり、
上記量子化の対象となる量子化対象画像は、上記予測画像と上記フィルタ処理が施された原画像との差分画像であり、
上記局所復号画像は、当該動画像符号化装置において上記量子化代表値を逆量子化して得られた画像データと上記予測画像の画像データとを加算して得られる画像である、
ことを特徴とする請求項1又は2に記載の動画像符号化装置。
A predicted image generating means for generating a predicted image;
An inverse filter processing means for performing an inverse filter process corresponding to the inverse transform of the filter process on the locally decoded image;
The predicted image generation means generates the predicted image using the local decoded image subjected to the inverse filter processing as a reference image,
The quantization target image to be quantized is a difference image between the predicted image and the original image subjected to the filtering process.
The locally decoded image is an image obtained by adding the image data obtained by dequantizing the quantized representative value and the image data of the predicted image in the moving image coding apparatus.
The moving picture coding apparatus according to claim 1 or 2 , wherein
予測画像を生成する予測画像生成手段と、
局所復号画像に対し、上記フィルタ処理の逆変換に相当する逆フィルタ処理を行う逆フィルタ処理手段とを更に備え、
上記予測画像生成手段は、上記逆フィルタ処理が施された局所復号画像を参照画像として上記予測画像を生成するものであり、
上記量子化の対象となる量子化対象画像は、上記予測画像と原画像との差分画像に上記フィルタ処理が施されたものであり、
上記局所復号画像は、当該動画像符号化装置において上記量子化代表値を逆量子化して得られた画像データと上記予測画像の画像データとを加算して得られる画像である、
ことを特徴とする請求項1又は2に記載の動画像符号化装置。
A predicted image generating means for generating a predicted image;
An inverse filter processing means for performing an inverse filter process corresponding to the inverse transform of the filter process on the locally decoded image;
The predicted image generation means generates the predicted image using the local decoded image subjected to the inverse filter processing as a reference image,
The quantization target image to be quantized is obtained by performing the filtering process on the difference image between the predicted image and the original image,
The locally decoded image is an image obtained by adding the image data obtained by dequantizing the quantized representative value and the image data of the predicted image in the moving image coding apparatus.
The moving picture coding apparatus according to claim 1 or 2 , wherein
原画像から予測画像を減算して得られた差分画像を複数のブロックに分割して各ブロックの画像データを量子化し、該量子化により得られた量子化代表値を符号化する動画像符号化装置において、Video coding that divides the difference image obtained by subtracting the predicted image from the original image into a plurality of blocks, quantizes the image data of each block, and encodes the quantized representative value obtained by the quantization In the device
上記原画像又は上記差分画像に対し、ブロック歪を発生させる周波数成分を除去するフィルタ処理を施すフィルタ処理手段を備えており、  Filter processing means for applying a filter process for removing a frequency component that generates block distortion to the original image or the difference image,
上記フィルタ処理手段は、  The filtering means is
上記予測画像の各ブロックにおける平均画素値を算出する平均画素値算出処理と、    An average pixel value calculation process for calculating an average pixel value in each block of the predicted image;
上記フィルタ処理の対象となる処理対象画像の各画素の画素値を、上記平均画素値算出処理にて算出された、該画素を含むブロックにおける平均画素値、及び、該ブロックに隣接する隣接ブロックにおける平均画素値から、補間によって予測する予測処理と、    The pixel value of each pixel of the processing target image to be filtered is calculated by the average pixel value calculation process, the average pixel value in the block including the pixel, and the adjacent block adjacent to the block A prediction process for predicting by interpolation from the average pixel value;
上記処理対象画像の各画素について、上記予測処理にて予測された当該画素の予測画素値と、上記平均画素値算出処理にて算出された当該画素が属するブロックの平均画素値との差を、上記処理対象画像から除去すべき除去成分とし、当該除去成分を上記処理対象画像の当該画素の画素値から減算する減算処理と、を実行するものである、    For each pixel of the processing target image, the difference between the predicted pixel value of the pixel predicted by the prediction process and the average pixel value of the block to which the pixel calculated by the average pixel value calculation process belongs, A removal component to be removed from the processing target image, and a subtraction process for subtracting the removal component from a pixel value of the pixel of the processing target image.
ことを特徴とする動画像符号化装置。A moving picture coding apparatus characterized by the above.
ブロック歪を発生させる周波数成分が除去された画像データを符号化して得られた符号化データを復号する動画像復号装置であって、
上記符号化データを復号して得られた差分画像、又は、該差分画像に予測画像を加算して得られた復号画像の画像データに対し、上記除去された周波数成分を復元する逆フィルタ処理を施す逆フィルタ処理手段を備えており、
上記逆フィルタ処理手段は、
上記逆フィルタ処理の対象となる処理対象画像の各ブロックにおける平均画素値を算出する平均画素値算出処理と
上記処理対象画像の各画素の画素値を、上記平均画素値算出処理にて算出された、該画素を含むブロックにおける平均画素値、及び、該ブロックに隣接する隣接ブロックにおける平均画素値から、補間によって予測する予測処理と、
上記処理対象画像の各画素について、上記予測処理にて予測された当該画素の予測画素値と、上記平均画素値算出処理にて算出された当該画素が属するブロックの平均画素値との差を、上記処理対象画像に付加すべき付加成分とし、当該付加成分を上記処理対象画像の当該画素の画素値に加算する加算処理と、を実行するものである、
ことを特徴とする動画像復号装置。
A video decoding device that decodes encoded data obtained by encoding image data from which frequency components that generate block distortion are removed,
An inverse filter process for restoring the removed frequency component is performed on the difference image obtained by decoding the encoded data or the image data of the decoded image obtained by adding the prediction image to the difference image. An inverse filter processing means for applying,
The inverse filter processing means includes:
An average pixel value calculation process for calculating an average pixel value in each block of the processing target image to be subjected to the inverse filtering process ;
The pixel value of each pixel of the processing target image is interpolated from the average pixel value calculated in the average pixel value calculation process in the block including the pixel and the average pixel value in the adjacent block adjacent to the block. A prediction process predicted by
For each pixel of the processing target image, the difference between the predicted pixel value of the pixel predicted by the prediction process and the average pixel value of the block to which the pixel calculated by the average pixel value calculation process belongs, An additional component to be added to the processing target image, and adding the additional component to a pixel value of the pixel of the processing target image.
A moving picture decoding apparatus characterized by the above.
ブロック歪を発生させる周波数成分が除去された画像データを符号化して得られた符号化データを復号する動画像復号装置であって、  A video decoding device that decodes encoded data obtained by encoding image data from which frequency components that generate block distortion are removed,
上記符号化データを復号して得られた差分画像、又は、該差分画像に予測画像を加算して得られた復号画像の画像データに対し、上記除去された周波数成分を復元する逆フィルタ処理を施す逆フィルタ処理手段を備えており、  An inverse filter process for restoring the removed frequency component is performed on the difference image obtained by decoding the encoded data or the image data of the decoded image obtained by adding the prediction image to the difference image. An inverse filter processing means for applying,
上記逆フィルタ処理手段は、  The inverse filter processing means includes:
上記予測画像の各ブロックにおける平均画素値を算出する平均画素値算出処理と、    An average pixel value calculation process for calculating an average pixel value in each block of the predicted image;
上記フィルタ処理の対象となる処理対象画像の各画素の画素値を、上記平均画素値算出処理にて算出された、該画素を含むブロックにおける平均画素値、及び、該ブロックに隣接する隣接ブロックにおける平均画素値から、補間によって予測する予測処理と、    The pixel value of each pixel of the processing target image to be filtered is calculated by the average pixel value calculation process, the average pixel value in the block including the pixel, and the adjacent block adjacent to the block A prediction process for predicting by interpolation from the average pixel value;
上記処理対象画像の各画素について、上記予測処理にて予測された当該画素の予測画素値と、上記平均画素値算出処理にて算出された当該画素が属するブロックの平均画素値との差を、上記処理対象画像に付加すべき付加成分とし、当該付加成分を上記処理対象画像の当該画素の画素値に加算する加算処理と、を実行するものである、    For each pixel of the processing target image, the difference between the predicted pixel value of the pixel predicted by the prediction process and the average pixel value of the block to which the pixel calculated by the average pixel value calculation process belongs, An additional component to be added to the processing target image, and adding the additional component to a pixel value of the pixel of the processing target image.
ことを特徴とする動画像復号装置。A moving picture decoding apparatus characterized by the above.
請求項1からまでの何れか1項に記載の動画像符号化装置を備えた動画像記録装置であって、当該動画像符号化装置にて符号化された動画像を記録する動画像記録装置。A moving image recording apparatus comprising the moving image encoding device according to any one of claims 1 to 5 , wherein the moving image recording records a moving image encoded by the moving image encoding device. apparatus. 請求項6又は7に記載の動画像復号装置を備えた動画像再生装置であって、当該動画像復号装置にて復号された動画像を再生する動画像再生装置。A moving image reproducing apparatus comprising the moving image decoding apparatus according to claim 6 , wherein the moving image reproducing apparatus reproduces a moving image decoded by the moving image decoding apparatus.
JP2008506197A 2006-03-17 2007-02-14 Moving picture encoding apparatus and moving picture decoding apparatus Expired - Fee Related JP4768011B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008506197A JP4768011B2 (en) 2006-03-17 2007-02-14 Moving picture encoding apparatus and moving picture decoding apparatus

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2006075685 2006-03-17
JP2006075685 2006-03-17
JP2008506197A JP4768011B2 (en) 2006-03-17 2007-02-14 Moving picture encoding apparatus and moving picture decoding apparatus
PCT/JP2007/052575 WO2007108254A1 (en) 2006-03-17 2007-02-14 Moving picture coding device and moving picture decoding device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2011109829A Division JP2011166832A (en) 2006-03-17 2011-05-16 Filter device

Publications (2)

Publication Number Publication Date
JPWO2007108254A1 JPWO2007108254A1 (en) 2009-08-06
JP4768011B2 true JP4768011B2 (en) 2011-09-07

Family

ID=38522291

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2008506197A Expired - Fee Related JP4768011B2 (en) 2006-03-17 2007-02-14 Moving picture encoding apparatus and moving picture decoding apparatus
JP2011109829A Pending JP2011166832A (en) 2006-03-17 2011-05-16 Filter device

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2011109829A Pending JP2011166832A (en) 2006-03-17 2011-05-16 Filter device

Country Status (2)

Country Link
JP (2) JP4768011B2 (en)
WO (1) WO2007108254A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012077719A1 (en) * 2010-12-09 2012-06-14 シャープ株式会社 Image decoding device and image coding device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0319488A (en) * 1989-06-15 1991-01-28 Matsushita Electric Ind Co Ltd Block coding and decoding device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3529432B2 (en) * 1994-06-30 2004-05-24 株式会社東芝 Video encoding / decoding device
JPH11177993A (en) * 1997-12-12 1999-07-02 Nec Corp Moving image encoding device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0319488A (en) * 1989-06-15 1991-01-28 Matsushita Electric Ind Co Ltd Block coding and decoding device

Also Published As

Publication number Publication date
JPWO2007108254A1 (en) 2009-08-06
WO2007108254A1 (en) 2007-09-27
JP2011166832A (en) 2011-08-25

Similar Documents

Publication Publication Date Title
KR101749269B1 (en) Apparaus and method for video encoding and decoding apparatus using adaptive in loop filter
JP4455487B2 (en) Decoding device, decoding method, and program
JP4533081B2 (en) Image encoding apparatus and method
WO2010001911A1 (en) Filter device
KR100853336B1 (en) Image encoding apparatus and image decoding apparatus
JP2006157481A (en) Image coding apparatus and method thereof
WO2009084340A1 (en) Moving image encoder and moving image decoder
JP4875007B2 (en) Moving picture coding apparatus, moving picture coding method, and moving picture decoding apparatus
JP5534261B2 (en) Moving image processing apparatus, moving image processing method, and moving image processing program
JP4768011B2 (en) Moving picture encoding apparatus and moving picture decoding apparatus
WO2008007717A1 (en) Dynamic image decoding device and dynamic image encoding device
TWI517673B (en) Dynamic image predictive coding method, dynamic image predictive coding program, dynamic image prediction decoding device, dynamic image prediction decoding method and dynamic image prediction decoding program
JP4784618B2 (en) Moving picture encoding apparatus, moving picture decoding apparatus, moving picture encoding program, and moving picture decoding program
JP2015076765A (en) Image processing device, control method thereof, and computer program
KR100628839B1 (en) Method for detecting and compensating corner outlier
JP2007221208A (en) Method and device for encoding moving picture
CN114430904A (en) Video compression using intra-loop image-level controllable noise generation
JP2020058075A (en) Moving image prediction encoding device, moving image prediction decoding device, moving image prediction encoding method, moving image prediction decoding method, and recording medium
JP3709106B2 (en) Image compression and decompression device
JP4719108B2 (en) VIDEO ENCODING METHOD, VIDEO ENCODING DEVICE, VIDEO ENCODING PROGRAM, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING THE PROGRAM
JP2003125417A (en) Image coder and its method
JP2006287848A (en) Scalable encoding method, scalable decoding method, apparatuses therefor, programs therefor, and computer readable recording medium with the programs recorded thereon
JP2009278473A (en) Image processing device, imaging apparatus mounting the same, and image reproducing device
JP2010050860A (en) Image display apparatus, recorded image reproducing apparatus and image processing method
WO2009133938A1 (en) Time-varying image encoding and decoding device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110315

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110516

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110614

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110615

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140624

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees