JP2003018600A - Image decoding apparatus - Google Patents

Image decoding apparatus

Info

Publication number
JP2003018600A
JP2003018600A JP2001203073A JP2001203073A JP2003018600A JP 2003018600 A JP2003018600 A JP 2003018600A JP 2001203073 A JP2001203073 A JP 2001203073A JP 2001203073 A JP2001203073 A JP 2001203073A JP 2003018600 A JP2003018600 A JP 2003018600A
Authority
JP
Japan
Prior art keywords
filter
image
low
contour
pass filter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001203073A
Other languages
Japanese (ja)
Inventor
Masaki Nobori
正樹 昇
Akira Hase
昌 長谷
Hiroki Watanabe
浩己 渡辺
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2001203073A priority Critical patent/JP2003018600A/en
Publication of JP2003018600A publication Critical patent/JP2003018600A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To solve the problems where, in a conventional MPEG image decoding apparatus, a low-pass filter may act even on the part which requires no noise removal because filtering is controlled based on a motion information for high quantization precision, and the block distortion is promoted by quantization error to degrade image quality if an edge enhancement filter is used. SOLUTION: While predicting appearance of block distortion and mosquitos with the use of the quantization information at encoding, a low-pass filter or an edge enhancement filter is appropriately selected to act on a decoded image, to raise quality of an output image.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、MPEG等の画像
符号化方式により圧縮された画像信号の復号装置に適用
して有効な技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique effectively applied to a decoding device for an image signal compressed by an image encoding system such as MPEG.

【0002】[0002]

【従来の技術】従来の画像復号装置においては、出力画
像に含まれるノイズを低減するために、ローパスフィル
タを用いるのが一般的である。例えばMPEGなどの画
像符号化方式では、画像の動きが大きい場合には、符号
化効率が悪化する。このため発生する符号量を削減する
ために、符号化時に量子化を荒くするため、その結果符
号化の単位であるブロックごとに、歪みが発生すること
がしばしばある(以下ブロック歪みと呼ぶ。)このブロ
ック歪みによる画像劣化を軽減するために、画像の動き
量が大きい場合には、ローパスフィルタを復号画像に適
用し、これらのブロック歪みを除去する手法が一般的に
よく知られている。
2. Description of the Related Art In a conventional image decoding device, a low pass filter is generally used to reduce noise contained in an output image. For example, in an image encoding system such as MPEG, the encoding efficiency deteriorates when the motion of the image is large. Therefore, in order to reduce the generated code amount, the quantization is roughened at the time of encoding, and as a result, distortion often occurs in each block which is a unit of encoding (hereinafter referred to as block distortion). In order to reduce the image deterioration due to the block distortion, a method of applying a low pass filter to a decoded image to remove the block distortion is generally well known when the amount of motion of the image is large.

【0003】[0003]

【発明が解決しようとする課題】従来のローパスフィル
タによるブロック歪みの除去方法では、画像フレーム単
位でローパスフィルタを適用しているために、ブロック
歪みが発生していない部分についてもローパスフィルタ
が適用されてしまい、画像全体がボケるという問題があ
る。
In the conventional method of removing block distortion by the low-pass filter, since the low-pass filter is applied for each image frame, the low-pass filter is also applied to a portion where no block distortion occurs. There is a problem that the entire image is blurred.

【0004】また、ブロック歪みは符号化時の量子化精
度が低い場合に発生することが多いため、量子化精度が
高ければ、動き量が大きくてもブロック歪みは発生しに
くくなる。しかし、従来手法であるローパスフィルタに
よるブロック歪み除去方法では、前の画像との差分情報
である動き情報のみを参照しているために、符号化時の
量子化精度が高い場合にもローパスフィルタを適用して
しまい画像全体がボケるという問題がある。
Since block distortion often occurs when the quantization accuracy at the time of encoding is low, if the quantization accuracy is high, the block distortion is less likely to occur even if the motion amount is large. However, in the block distortion removal method using the low-pass filter that is the conventional method, since only the motion information that is the difference information from the previous image is referred to, the low-pass filter is used even when the quantization accuracy at the time of encoding is high. There is a problem that the whole image is blurred because it is applied.

【0005】また、一般的に輪郭が強調されている画像
は、輪郭が落ちた画像よりも「良い画像として」認識さ
れるため、画像内において輪郭を強調する必要がある。
しかし、従来手法では、ブロック歪みを除去するための
ローパスフィルタを適用するために、画像の輪郭部も同
時にボケてしまうという間題がある。
[0007] Further, an image in which the contour is emphasized is generally recognized as “a better image” than an image in which the contour is dropped, so that the contour needs to be emphasized in the image.
However, the conventional method has a problem that the outline portion of the image is also blurred at the same time because the low-pass filter for removing the block distortion is applied.

【0006】本発明の目的は、動きの大きな画像に対し
て符号量を減らすために量子化ステップを大きくとった
場合に発生するブロック歪を低減するとともに画像の輪
郭がぼけるのを防止して、表示画質を向上させることが
できる画像復号装置を提供する。この発明の前記ならび
にそのほかの目的と新規な特徴については、本明細書の
記述および添付図面から明らかになるであろう。
An object of the present invention is to reduce block distortion that occurs when a large quantization step is taken in order to reduce the code amount for an image with a large motion, and to prevent the outline of the image from being blurred. Provided is an image decoding device capable of improving display image quality. The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

【0007】[0007]

【課題を解決するための手段】本願において開示される
発明のうち代表的なものの概要を説明すれば、下記のと
おりである。すなわち、本発明では、復号器の後段にお
いて、量子化パラメータを制御信号として用いたフィル
タ処理を行なう。つまり、ブロック歪みが発生している
部分に対してのみローパスフィルタが作用するように、
動き情報ではなく符号化時における量子化情報を用い
て、ローパスフィルタの作用を制御するようにした。ま
た、ブロック歪みが存在しない部分に対しては、入力画
像の輪郭部を強調するために、輪郭部を強調するフィル
タ(以下、輪郭強調フィルタ)を作用させる。
The typical ones of the inventions disclosed in the present application will be outlined below. That is, in the present invention, the filtering process using the quantization parameter as the control signal is performed in the subsequent stage of the decoder. In other words, the low-pass filter acts only on the part where block distortion occurs,
The operation of the low-pass filter is controlled by using the quantization information at the time of encoding instead of the motion information. In addition, a filter for emphasizing the contour portion (hereinafter, contour emphasizing filter) is applied to the portion having no block distortion in order to enhance the contour portion of the input image.

【0008】これらの具体的な実現手法としては、復号
画像の出力部にローパスフィルタと輪郭強調フィルタを
設け、符号化時の量子化情報を用いて、このローパスフ
ィルタと輪郭強調フィルタを適宜切り替えることによ
り、画像に作用させる。
As a concrete method for realizing these, a low-pass filter and a contour emphasis filter are provided in the output part of the decoded image, and the low-pass filter and the contour emphasis filter are appropriately switched using the quantization information at the time of encoding. To act on the image.

【0009】また、本手法を発展させた構成としては、
量子化情報によるブロック歪み除去フィルタ等を用い
て、輪郭強調を行う前にブロック歪みを除去し、その
後、輪郭強調フィルタを画像全体にわたって作用させる
ことで、ノイズを抑制した輪郭強調を行う。
Further, as a configuration obtained by developing this method,
By using a block distortion removal filter or the like based on quantization information, block distortion is removed before contour enhancement is performed, and then the contour enhancement filter is operated over the entire image to perform contour enhancement with noise suppressed.

【0010】[0010]

【発明の実施の形態】以下、本発明の好適な実施例を図
面に基づいて説明する。図1は本発明の画像復号装置の
一実施例ある。本実施例の画像フィルタ装置108は、復
号画像入力端子101と、量子化パラメータ入力端子102
と、処理画像出力端子103と、制御装置104と、ローパス
フィルタ105と、輪郭強調フィルタ106と、選択回路107
で構成されており、復号器109が出力した復号画像117を
入力画像とする。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows an embodiment of the image decoding apparatus of the present invention. The image filter device 108 of the present embodiment includes a decoded image input terminal 101 and a quantization parameter input terminal 102.
A processed image output terminal 103, a control device 104, a low-pass filter 105, an edge enhancement filter 106, and a selection circuit 107.
The decoded image 117 output by the decoder 109 is used as an input image.

【0011】復号器109は、可変長復号器(VLD)110
と、逆量子化器(IQ)111と、逆離散コサイン変換器
(IDCT)112とで構成されており、入力符号化画像1
13は本復号器109によって復号処理され、復号画像117を
出力する。同時に、逆量子化器111から逆量子化の際に
使用した量子化パラメータのテーブルを、量子化パラメ
ータ信号118として制御回路104に与える。この実施例の
画像フィルタ装置108は、ローパスフィルタ105と、輪郭
強調フィルタ106と、いずれかのフィルタで処理された
画像を選択する選択回路107と、量子化パラメータ値に
基づいて前記選択回路107を制御する制御回路104とによ
って構成されている。
The decoder 109 is a variable length decoder (VLD) 110.
, An inverse quantizer (IQ) 111, and an inverse discrete cosine transformer (IDCT) 112.
13 is decoded by the main decoder 109 and outputs a decoded image 117. At the same time, the table of the quantization parameter used in the dequantization from the dequantizer 111 is given to the control circuit 104 as the quantization parameter signal 118. The image filter device 108 of this embodiment includes a low-pass filter 105, an edge enhancement filter 106, a selection circuit 107 for selecting an image processed by any filter, and the selection circuit 107 based on a quantization parameter value. And a control circuit 104 for controlling.

【0012】復号画像入力端子101に入力された復号画
像信号117は、ローパスフィルタ105と輪郭強調フィルタ
106の両方に入力される。それと同時に、制御回路104が
その復号画像の量子化パラメータ信号118を元に、制御
信号121を制御回路107に送り、量子化パラメータ値が大
きい場合にはローパスフィルタ出力信号119を、量子化
パラメータ値が小さい場合には輪郭強調フィルタ出力信
号120を選択して、出力端子103から出力画像信号122と
して出力する。
The decoded image signal 117 input to the decoded image input terminal 101 is a low-pass filter 105 and a contour enhancement filter.
Entered in both 106. At the same time, the control circuit 104 sends the control signal 121 to the control circuit 107 based on the quantization parameter signal 118 of the decoded image, and when the quantization parameter value is large, the low-pass filter output signal 119 is changed to the quantization parameter value. If is smaller, the contour emphasis filter output signal 120 is selected and output from the output terminal 103 as the output image signal 122.

【0013】本実施例の画像復号装置の特徴は画像フィ
ルタ装置108にある。以下、この画像フィルタ装置部分
について説明する。図5はローパスフィルタの一例であ
る。このローパスフィルタは3タップのフィルタとなっ
ており、2個の遅延回路501と積和演算器とで構成され
ており、入力画素504は遅延回路501にそれぞれ入力さ
れ、遅延される。そして、遅延回路501の各出力に対
し、タップ係数502を作用させて加算し、最後に平均化
処理503を行い出力画素505を得る。本実施例のフィルタ
は、中心の画素値にその隣の画素値に対して2倍の重み
をつけて、1/4をかけることで低周波成分を通過させ
る。
The image decoding apparatus of this embodiment is characterized by the image filter apparatus 108. The image filter device portion will be described below. FIG. 5 shows an example of the low pass filter. This low-pass filter is a 3-tap filter, which is composed of two delay circuits 501 and a product-sum calculator, and input pixels 504 are input to the delay circuits 501 and delayed. Then, the tap coefficient 502 is applied to each output of the delay circuit 501 to add them, and finally the averaging process 503 is performed to obtain an output pixel 505. The filter of the present embodiment passes a low frequency component by multiplying the pixel value at the center by twice the pixel value next to the pixel value and multiplying it by 1/4.

【0014】図6は輪郭強調フィルタにおいて必要とな
るハイパスフィルタの一例である。図5と同様に、3タ
ップのフィルタであり、2個の遅延回路601と積和演算
器とで構成されており、入力画素604は遅延回路601に入
力されて遅延される。本実施例のフィルタのタップ係数
値602は、隣の画素との差分をとることで、高周波成分
のみを通過させる。
FIG. 6 shows an example of a high-pass filter required in the contour emphasis filter. As in FIG. 5, the filter is a 3-tap filter and is composed of two delay circuits 601 and a product-sum calculator, and the input pixel 604 is input to the delay circuit 601 and delayed. The tap coefficient value 602 of the filter of the present embodiment allows only high-frequency components to pass by taking the difference from the adjacent pixel.

【0015】図7は図6のハイパスフィルタを用いて輪
郭強調フィルタ708の構成例を示す。この実施例の輪郭
強調フィルタ708は、図7のように、入力画像704に対し
てハイパスフィルタ706を作用させ、出力である輪郭を
本来の入力画像704に、加算器で足し合わせて出力画像7
05を得ることで実現できる。本実施例の輪郭強調フィル
タを、ローパスフィルタと同様に3タップで実現するた
めには、タップ係数702を図7のように設定する。この
3タップ輪郭強調フィルタ回路は、遅延回路701、タッ
プ係数702で構成されており、画像の高周波領域の成分
を通過させるハイパスフィルタと、元の画素値の和によ
り構成されているため、入力画素704に高域通過成分を
加算したものを出力画素705として、輪郭強調を実現し
ている。
FIG. 7 shows an example of the configuration of the contour emphasis filter 708 using the high pass filter shown in FIG. As shown in FIG. 7, the contour enhancement filter 708 of this embodiment causes the high-pass filter 706 to act on the input image 704, adds the contour of the output to the original input image 704 with an adder, and outputs the output image 7
It can be achieved by getting 05. In order to realize the contour enhancement filter of this embodiment with 3 taps as in the low pass filter, the tap coefficient 702 is set as shown in FIG. This 3-tap contour enhancement filter circuit is composed of a delay circuit 701 and a tap coefficient 702, and is composed of a high-pass filter that allows the components in the high frequency region of the image to pass through and the sum of the original pixel values. The output pixel 705 is obtained by adding a high-pass component to 704 to realize contour enhancement.

【0016】図2は図1の画像復号装置における画像フ
ィルタ装置の実施例の一つを示すものであり、この画像
フィルタ装置208は、復号画像入力端子201と、量子化パ
ラメータ入力端子202と、処理画像出力端子203と、制御
装置104と、ブロック歪み除去フィルタ205と、輪郭強調
フィルタ106と、選択回路107で構成されている。
FIG. 2 shows one embodiment of the image filter device in the image decoding device of FIG. 1. This image filter device 208 includes a decoded image input terminal 201, a quantization parameter input terminal 202, It is composed of a processed image output terminal 203, a control device 104, a block distortion removal filter 205, a contour enhancement filter 106, and a selection circuit 107.

【0017】量子化パラメータ入力端子202に入力され
た量子化パラメータ信号218は、制御回路104に入力さ
れ、信号復号画像入力端子201より入力された復号画像
信号217は、まずブロック歪み除去フィルタ205に入力さ
れる。量子化パラメータ値により制御回路が選択回制御
信号221を出力し、これによりブロック歪み除去フィル
タ出力信号219か復号画像信号217のどちらかが選択さ
れ、輪郭強調フィルタ106で輪郭を強調した後、出力画
像信号222として出力する。
The quantization parameter signal 218 input to the quantization parameter input terminal 202 is input to the control circuit 104, and the decoded image signal 217 input from the signal decoded image input terminal 201 is first input to the block distortion removal filter 205. Is entered. The control circuit outputs the selection-time control signal 221 according to the quantization parameter value, which selects either the block distortion removal filter output signal 219 or the decoded image signal 217, and after the contour emphasis filter 106 emphasizes the contour, outputs it. The image signal 222 is output.

【0018】図1ではローパスフィルタ205と輪郭強調
フィルタ106が選択されていたのに対し、本手法では輪
郭強調を行う前にブロック歪除去フィルタ205で予めノ
イズの原因を取り除いておき、その後に輪郭強調を行う
ため、常に輪郭強調を行うことが可能となる。ブロック
歪除去フィルタ205と輪郭強調フィルタ106の制御につい
ては、図1の場合と同様に、量子化パラメータにより行
う。
In FIG. 1, the low-pass filter 205 and the contour enhancement filter 106 are selected, whereas in this method, the cause of noise is removed in advance by the block distortion removal filter 205 before the contour enhancement is performed, and then the contour is removed. Since emphasis is performed, it is possible to always perform contour emphasis. The block distortion removal filter 205 and the contour enhancement filter 106 are controlled by the quantization parameter, as in the case of FIG.

【0019】以上に述べたように、本実施例において
は、第1のフィルタを1次元ローパスフィルタで構成
し、第2のフィルタを1次元輪郭強調フィルタで構成し
ているが、これらのフィルタとしては2次元フィルタ、
あるいはノイズリデユーサー等、他のフィルタを使用す
ることが可能であり、それらのフィルタに対しても量子
化パラメータ値を用いて制御を行なうことで画質の改善
を図れることが、上記実施例から容易に類推できる。
As described above, in this embodiment, the first filter is a one-dimensional low-pass filter and the second filter is a one-dimensional contour enhancement filter. Is a two-dimensional filter,
Alternatively, another filter such as a noise reducer can be used, and it is easy to improve the image quality by controlling these filters using the quantization parameter value. Can be analogized to.

【0020】図3の画像フィルタ装置は図1の手法の発
展型であり、この画像フィルタ装置308は、復号画像入
力端子301と、量子化パラメータ入力端子302と、処理画
像出力端子303と、制御装置104と、ローパスフィルタ30
5と、輪郭強調フィルタ306と、選択回路107と、輪郭強
調フィルタテーブル309と、ローパスフィルタテーブル3
10で構成されている。
The image filter device of FIG. 3 is a development of the method of FIG. 1, and this image filter device 308 has a decoded image input terminal 301, a quantization parameter input terminal 302, a processed image output terminal 303, and a control. Device 104 and low pass filter 30
5, contour enhancement filter 306, selection circuit 107, contour enhancement filter table 309, and low-pass filter table 3
It consists of 10.

【0021】このフィルタテーブルは、図6で示したよ
うな形態で、ローパスフィルタ105のタップ係数をロー
パスフィルタテーブル310に、輪郭強調フィルタ306のタ
ップ係数を輪郭強調フィルタテーブル309にそれぞれい
くつかずつ持っており、量子化パラメータの値により各
フィルタのタップ係数値を選択することが最大の特徴と
なっている。入力端子301に入力された復号画像信号317
は、ローパスフィルタ105と輪郭強調フィルタ106に入力
される。
This filter table has the tap coefficient of the low-pass filter 105 in the low-pass filter table 310 and the tap coefficient of the contour enhancement filter 306 in the contour enhancement filter table 309 in the form shown in FIG. Therefore, the greatest feature is that the tap coefficient value of each filter is selected according to the value of the quantization parameter. Decoded image signal 317 input to input terminal 301
Is input to the low-pass filter 105 and the contour enhancement filter 106.

【0022】また、量子化パラメータ入力端子302か
ら、量子化パラメータ信号318が制御回路104に入力され
る。この量子化パラメータ値により輪郭強調フィルタテ
ーブル309と、ローパスフィルタテーブル310に対しそれ
ぞれ、輪郭強調フィルタテーブル制御信号323と、ロー
パスフィルタテーブル制御信号324が出力される。そし
て、この制御信号により、輪郭強調フィルタタップ係数
325と、ローパスフィルタタップ係数326が、各フィルタ
回路に渡される。また、制御回路104からの選択回路制
御信号321により、制御回路107はローパスフィルタ出力
信号319と、輪郭強調フィルタ出力信号320のどちらかを
選択し、出力画像信号322とする。
Further, the quantization parameter signal 318 is input to the control circuit 104 from the quantization parameter input terminal 302. With this quantization parameter value, the contour emphasis filter table control signal 323 and the low pass filter table control signal 324 are output to the contour emphasis filter table 309 and the low pass filter table 310, respectively. Then, by this control signal, the edge enhancement filter tap coefficient
325 and the low pass filter tap coefficient 326 are passed to each filter circuit. In addition, the control circuit 107 selects either the low-pass filter output signal 319 or the contour emphasis filter output signal 320 according to the selection circuit control signal 321 from the control circuit 104, and sets it as the output image signal 322.

【0023】ローパスフィルタのタップ係数値を量子化
パラメータ値によって変化させるためのフィルタの構成
例を、図8に示す。図8のフィルタは、遅延回路801
と、タップ係数乗算器802と、平均化係数乗算器803と、
フィルタテーブル806とで構成される5タップのローパ
スフィルタ回路である。
FIG. 8 shows a configuration example of a filter for changing the tap coefficient value of the low-pass filter according to the quantization parameter value. The filter of FIG. 8 has a delay circuit 801.
, A tap coefficient multiplier 802, an averaging coefficient multiplier 803,
It is a 5-tap low-pass filter circuit configured with a filter table 806.

【0024】このフィルタにおいては、入力画素信号80
4の各遅延値が、それぞれのタップに設けられた乗算器8
02でタップ係数によって処理され、最後に全て加算され
た後、平均化乗算器803で平均化され、出力画像805とな
る。フィルタテーブル806には、一例として2つのタッ
プ係数群を示した。右側の係数群は左側の係数群の場合
よりも、フィルタの帯域が狭い特性となっているため
に、より低周波である成分のみを通過させる。従って、
量子化パラメータ値を解析し、ノイズの出現が予想され
る場合には右側の係数を選択し、それ以外の場合には左
側の係数を選択する、ということが可能である。
In this filter, the input pixel signal 80
Each delay value of 4 has a multiplier 8
After being processed by the tap coefficient in 02, and finally added, all are averaged by the averaging multiplier 803 and become the output image 805. In the filter table 806, two tap coefficient groups are shown as an example. Since the coefficient group on the right side has a narrower band of the filter than the coefficient group on the left side, only the component having a lower frequency is passed. Therefore,
It is possible to analyze the quantization parameter value and select the coefficient on the right side when noise is expected to appear, and select the coefficient on the left side otherwise.

【0025】また、輪郭強調フィルタに使用する、可変
タップ係数であるハイパスフィルタの実施例を、図9に
示す。この実施例の輪郭強調フィルタ回路は、遅延回路
901と、タップ係数乗算器902と、α値乗算器903と、フ
ィルタテーブル906とで構成される、5タップの輪郭強
調フィルタ回路である。タップ係数は、フィルタテーブ
ルに906に示されているように、右側は帯域が狭く、左
側は帯域が広くなっている。このように、タップ係数値
を可変とすることで、タップ数を可変とすることができ
る。
FIG. 9 shows an embodiment of a high-pass filter which is a variable tap coefficient and is used for the contour emphasis filter. The contour emphasis filter circuit of this embodiment is a delay circuit.
This is a 5-tap contour enhancement filter circuit configured by 901, a tap coefficient multiplier 902, an α value multiplier 903, and a filter table 906. The tap coefficient has a narrow band on the right side and a wide band on the left side, as indicated by 906 in the filter table. In this way, by changing the tap coefficient value, the number of taps can be changed.

【0026】このフィルタテーブル906は、画像全体の
輪郭が甘い時には、帯域を広げた左側のタップ係数を用
い、輪郭がしっかりしている画像では、帯域の狭い右側
の係数群を用いるというように利用される。図7におい
て示した方法では、原画像に輪郭部を加算することで輪
郭強調を実現しているために、図9の実施例では、量子
化パラメータを解析することで、タップ係数値のみでは
なく、ハイパスフィルタの出力値である輪郭部を、どの
くらい原画像に足し合わせるかを更に考慮している。入
力画素値904は各タップで処理された後、乗算器903でα
値919と乗算され、入力画素値に対してどれだけの輪郭
成分を乗せるかをここで決定する。尚、このα値は、量
子化パラメータを用いて制御される。
The filter table 906 is used such that when the contour of the entire image is unsatisfactory, the tap coefficient on the left side with a wide band is used, and on the image with a firm contour, the coefficient group on the right side with a narrow band is used. To be done. In the method shown in FIG. 7, since the contour enhancement is realized by adding the contour portion to the original image, in the embodiment of FIG. 9, by analyzing the quantization parameter, not only the tap coefficient value but also the tap coefficient value is analyzed. , And how much the contour portion, which is the output value of the high-pass filter, is added to the original image. The input pixel value 904 is processed at each tap, and then is multiplied by α in the multiplier 903.
It is multiplied by the value 919 to determine here how many contour components to put on the input pixel value. The α value is controlled using the quantization parameter.

【0027】図4の構成は図2の手法の発展型であり、
この画像フィルタ装置408は、復号画像入力端子401と、
量子化パラメータ入力端子402と、処理画像出力端子403
と、制御装置104と、ブロック歪み除去フィルタ205と、
輪郭強調フィルタ406と、選択回路107と、輪郭強調フィ
ルタテーブル409と、処理画像出力端子403を備える。復
号画像入力端子401より入力された復号画像信号417は、
ブロック歪み除去フィルタ205に入力される。
The configuration of FIG. 4 is a development of the method of FIG.
This image filter device 408 has a decoded image input terminal 401,
Quantization parameter input terminal 402 and processed image output terminal 403
A control device 104, a block distortion removal filter 205,
A contour enhancement filter 406, a selection circuit 107, a contour enhancement filter table 409, and a processed image output terminal 403 are provided. The decoded image signal 417 input from the decoded image input terminal 401 is
It is input to the block distortion removal filter 205.

【0028】これと同時に、量子化パラメータ入力端子
402に量子化パラメータ信号418が入力され、この信号は
制御回路104に入力される。この制御回路104からの選択
回路制御信号421により、ブロック歪み除去フィルタ出
力信号419と、復号画像信号417のどちらかが、選択回路
107により選択される。このように、入力した画像に対
してブロック歪み除去フィルタ205を作用させておき、
ブロック歪み等を予め除去しておくことで、後段にある
輪郭強調フィルタ106を画像全体に渡って作用させるこ
とが可能である。
At the same time, a quantization parameter input terminal
The quantization parameter signal 418 is input to 402, and this signal is input to the control circuit 104. By the selection circuit control signal 421 from the control circuit 104, either the block distortion removal filter output signal 419 or the decoded image signal 417 is selected by the selection circuit.
Selected by 107. In this way, the block distortion removal filter 205 is applied to the input image,
By removing the block distortion or the like in advance, the contour emphasis filter 106 in the subsequent stage can be operated over the entire image.

【0029】また、制御回路104は、フィルタテーブル4
09に制御信号423を出力して制御し、これにより輪郭強
調フィルタ406のタップ係数425が定まり、輪郭強調フィ
ルタ406に渡される。この輪郭強調フィルタ406では、入
力された画像にこのタップ係数425を作用させた後に、
出力画像信号422として処理画像出力端子403より出力す
る。
Further, the control circuit 104 includes a filter table 4
The control signal 423 is output to 09 for control, whereby the tap coefficient 425 of the contour enhancement filter 406 is determined and passed to the contour enhancement filter 406. In the contour emphasis filter 406, after applying the tap coefficient 425 to the input image,
The output image signal 422 is output from the processed image output terminal 403.

【0030】図4の実施例においては、ブロック歪み除
去フィルタ205を用いたが、ブロック歪み除去に有効な
フィルタの一例として、メディアン・フィルタがある。
図10に示すように、メディアン・フィルタは、遅延回
路1001と比較器1006によって構成されている。フィルタ
のタップ数をnタップとすると、入力画素1004につい
て、その画素値n個全てについて比較し、中央値1007で
ある画素値を出力画素1005として出力する。メディアン
・フィルタは画像本来の輪郭を落とすことなく、ノイズ
成分のみを比較的効率良く除去できるフィルタである。
Although the block distortion removing filter 205 is used in the embodiment of FIG. 4, a median filter is an example of the filter effective for removing block distortion.
As shown in FIG. 10, the median filter is composed of a delay circuit 1001 and a comparator 1006. If the number of taps of the filter is n taps, all n pixel values of the input pixel 1004 are compared, and the pixel value having the median value 1007 is output as the output pixel 1005. The median filter is a filter that can relatively efficiently remove only noise components without losing the original contour of the image.

【0031】以上に述べた、これらのフィルタ構成の最
大の特徴は、全て量子化パラメータによって制御される
ことにある。画像1フレームはマクロブロックの集合に
よって構成されているが、この量子化パラメータは、マ
クロブロック単位で定義される。マクロブロックは、図
11に示すように、画像圧縮符号化の際のDCTブロッ
ク1100が4つ集まったものであり、このマクロブロック
1106単位で量子化パラメータ値は一定である。更に、こ
の量子化パラメータ値は、画像品質に大きな影響を及ぼ
す。
The most important feature of these filter configurations described above is that they are all controlled by the quantization parameter. One image frame is composed of a set of macroblocks, and the quantization parameter is defined for each macroblock. As shown in FIG. 11, a macroblock is a collection of four DCT blocks 1100 for image compression coding.
The quantization parameter value is constant in units of 1106. Furthermore, this quantization parameter value has a great influence on the image quality.

【0032】DCTブロックは、例えば図11に示すよ
うに、直流成分1101、低周波成分1102、垂直方向の高周
波成分1103、水平方向の高周波成分1104、高周波成分11
05に分けることができる。直流成分1101の量子化パラメ
ータの値が大きい場合には、復号画像において量子化誤
差が大きくなり、DCTブロック単位でDCTブロック
領域全体の輝度値が変化し、ブロック状の画像して認識
され、これがブロック歪みとなる。また、高周波成分11
05の領域にある量子化パラメータ値が大きい場合には、
高域に歪みが出るため、モスキートと呼ばれるノイズが
出るほか、高周波成分の情報が欠落しているために、鋭
い輪郭部を表現できなくなり、隣接ブロックとの間でブ
ロック歪みを形成する原因にもなることが一般的に知ら
れている。
As shown in FIG. 11, for example, the DCT block includes a DC component 1101, a low frequency component 1102, a vertical high frequency component 1103, a horizontal high frequency component 1104, and a high frequency component 11.
It can be divided into 05. When the value of the quantization parameter of the DC component 1101 is large, the quantization error becomes large in the decoded image, the brightness value of the entire DCT block area changes in DCT block units, and the image is recognized as a block-like image. It becomes block distortion. In addition, the high frequency component 11
If the quantization parameter value in the region of 05 is large,
In addition to the noise called mosquito, which causes distortion in the high frequency range, the lack of high-frequency component information makes it impossible to express sharp contours, which may cause block distortion between adjacent blocks. It is generally known that

【0033】本発明におけるフィルタ装置は、例えば画
像全体にフィルタリングを行う場合、画像全体に対して
フィルタブロック1107の単位でフィルタリング処理を行
う。フィルタブロック1107の量子化パラメータの扱い方
の一例として、図11のように、フィルタブロック1107
に含まれる各画素の量子化パラメータ値に、画素数を加
重することで求めることができる。この値Qavは、次式
Qav=(NL・NU・Q1+NR・NU・Q2+ NL・ND・Q3+ NR・ND・Q4)/t2
で表される。
The filter device in the present invention is, for example, an image
If you want to filter the whole image,
Filtering is performed in the unit of filter block 1107.
U How to handle quantization parameters in filter block 1107
As an example, as shown in FIG. 11, the filter block 1107
The number of pixels is added to the quantization parameter value of each pixel included in
It can be obtained by overlapping. This value Qav is
Qav = (NL ・ NU ・ Q1 + NR ・ NU ・ Q2 + NL ・ ND ・ Q3 + NR ・ ND ・ Q4) / t2
It is represented by.

【0034】本発明の手法はによれば、このQav値によ
り、フィルタリング処理を作用させる領域にノイズの発
生が予測されるかどうかを、比較的容易かつ正確に推測
できる。このQavの値が大きければ、図1の手法におい
てはローパスフィルタを作用させるし、図2の手法では
ブロック歪み除去フィルタを作用させる。したがって、
量子化パラメータ値の小さいマクロブロック1106では、
ローパスフィルタを作用させて輪郭を落とさずに輪郭強
調を行い、量子化パラメータが大きいマクロブロック11
06ではローパスフィルタが作用し、ノイズの低減が行わ
れる。
According to the method of the present invention, whether or not the occurrence of noise is predicted in the region where the filtering process is performed can be estimated relatively easily and accurately from the Qav value. If the value of Qav is large, the low-pass filter is operated in the method of FIG. 1 and the block distortion removal filter is operated in the method of FIG. Therefore,
In macroblock 1106 with a small quantization parameter value,
A macro block with a large quantization parameter that applies a low-pass filter to enhance the contour without dropping the contour, and 11
In 06, a low-pass filter acts and noise is reduced.

【0035】また、ブロック歪みのみを除去するブロッ
ク歪み除去フィルタの一例として、図13が考えられ
る。量子化パラメータ値は、マクロブロック単位で変化
する。このため、フィルタを作用させるフィルタブロッ
ク1107内において、存在する量子化パラメータ値を垂
直、水平方向について比較し、その最大値max(Q
1,Q3),max(Q2,Q4),max(Q1,Q2),
max(Q3,Q4)をとって、max(Q1,Q3)また
はmax(Q2,Q4)がしきい値よりも大きい場合には
垂直方向へのローパスフィルタを作用させ、max(Q
1,Q2),max(Q3,Q4)がしきい値よりも大きい
場合には水平方向へのローパスフィルタを作用させる。
さらに、本手法では、水平、垂直の両方向に、その値が
可変である水平ブロック境界検出範囲1301と垂直ブロッ
ク境界検出範囲1302が設定されており、この範囲にマク
ロブロック境界1303が存在しない場合には、ブロック境
界を検出せずローパスフィルタを作用させないようにさ
れる。
Further, FIG. 13 is considered as an example of a block distortion removing filter for removing only block distortion. The quantization parameter value changes in macroblock units. Therefore, in the filter block 1107 that operates the filter, the existing quantization parameter values are compared in the vertical and horizontal directions, and the maximum value max (Q
1, Q3), max (Q2, Q4), max (Q1, Q2),
If max (Q3, Q4) is taken and max (Q1, Q3) or max (Q2, Q4) is larger than the threshold value, a low-pass filter in the vertical direction is actuated, and max (Q
When 1, Q2) and max (Q3, Q4) are larger than the threshold value, a horizontal low-pass filter is operated.
Furthermore, in this method, a horizontal block boundary detection range 1301 and a vertical block boundary detection range 1302 whose values are variable are set in both the horizontal and vertical directions, and when the macro block boundary 1303 does not exist in this range. Will not detect block boundaries and will not allow the low-pass filter to work.

【0036】図14、図15は図1に示した本発明の手
法を、回路により実現するための一実施例の構成を示し
たものである。また、同様に図16、図17は、図1の
応用例である図2に示す手法を、回路による実現例を構
成として示したものである。
FIGS. 14 and 15 show the configuration of an embodiment for realizing the method of the present invention shown in FIG. 1 by a circuit. Similarly, FIG. 16 and FIG. 17 show, as a configuration, an implementation example by a circuit of the method shown in FIG. 2 which is an application example of FIG.

【0037】図1を実現するための一例が図14であ
る。この画像フィルタ装置1408は、復号画像入力端子14
01と、量子化パラメータ入力端子1402と、処理画像出力
端子1403と、フィルタ制御部1404と、ローパスフィルタ
1405と、輪郭強調フィルタ1406と、選択回路107と、ロ
ーパスフィルタテーブル1409と、輪郭強調フィルタテー
ブル1410と、タイミング入力端子1411と、ローパスフィ
ルタ制御部1412と、輪郭強調フィルタ制御部1413と、ロ
ーパスフィルタのラインメモリ1414と、輪郭強調フィル
タのラインメモリ1415と、選択回路制御部1416で構成さ
れている。ラインメモリ1414と1415は、フィルタ適用の
際に画像数ライン分のデータの保存のために用いる。復
号画像信号1417は入力端子1401より入力され、ローパス
フィルタ1405と輪郭強調フィルタ1406に入力される。
FIG. 14 shows an example for realizing FIG. This image filter device 1408 has a decoded image input terminal 14
01, quantization parameter input terminal 1402, processed image output terminal 1403, filter control unit 1404, low-pass filter
1405, contour enhancement filter 1406, selection circuit 107, low-pass filter table 1409, contour enhancement filter table 1410, timing input terminal 1411, low-pass filter control unit 1412, contour enhancement filter control unit 1413, low-pass filter The line memory 1414, the line memory 1415 of the contour emphasis filter, and the selection circuit controller 1416. The line memories 1414 and 1415 are used to store data for several lines of an image when applying a filter. The decoded image signal 1417 is input from the input terminal 1401 and is input to the low pass filter 1405 and the contour enhancement filter 1406.

【0038】これと同時に、フィルタ制御部1404に対し
て、入力端子1402と1411より量子化パラメータ信号と14
18タイミング信号1419が入力され解析される。このフィ
ルタ制御部1404に含まれているローパスフィルタ制御部
1412と、輪郭強調フィルタ制御部1413によりそれぞれ、
ローパスフィルタ制御信号1424と輪郭強調フィルタ制御
信号1423が、ローパスフィルタテーブル1409および輪郭
強調フィルタテーブル1410に与えられる。
At the same time, the filter control unit 1404 receives the quantization parameter signals 14 and 14 from the input terminals 1402 and 1411.
18 Timing signal 1419 is input and analyzed. The low-pass filter control unit included in this filter control unit 1404.
1412 and the contour enhancement filter control unit 1413,
The low pass filter control signal 1424 and the contour enhancement filter control signal 1423 are provided to the low pass filter table 1409 and the contour enhancement filter table 1410.

【0039】これにより、適切なローパスフィルタのタ
ップ係数1426と輪郭強調フィルタのタップ係数1425が、
各フィルタ回路へ渡される。また、選択回路制御回路14
16からの選択回路制御信号1421により選択回路107を制
御して、ローパスフィルタ1405の出力、または輪郭強調
フィルタ1406の出力のどちらかが選択され、処理画像出
力端子1403より出力画像信号1422が出力される。本回路
においては、ローパスフィルタ1405と輪郭強調フィルタ
1406が独自のメモリ1414と1415を持っているため、比較
的遅延の少ない動作が可能である。
As a result, the tap coefficient 1426 of the appropriate low-pass filter and the tap coefficient 1425 of the contour enhancement filter are
It is passed to each filter circuit. In addition, the selection circuit control circuit 14
The selection circuit control signal 1421 from 16 controls the selection circuit 107 to select either the output of the low pass filter 1405 or the output of the contour enhancement filter 1406, and the output image signal 1422 is output from the processed image output terminal 1403. It In this circuit, the low-pass filter 1405 and the edge enhancement filter
Since the 1406 has its own memories 1414 and 1415, it is possible to operate with relatively little delay.

【0040】これに対してデータバスを用いてメモリを
統一したものが、図15の画像フィルタ装置1508であ
る。この輪郭強調フィルタ回路は、復号画像入力端子15
01と、量子化パラメータ入力端子1502と、処理画像出力
端子1503と、フィルタ制御部1504と、ローパスフィルタ
1505と、輪郭強調フィルタ回路1506と、選択回路107
と、ローパスフィルタテーブル1509と、輪郭強調・フィ
ルタテーブル1510と、タイミング入力端子1511と、ロー
パスフィルタ制御部1512と、輪郭強調フィルタ制御部15
13と、ラインメモリ1514と、選択回路制御部1516を備え
る。入力端子1501から入力された復号画像信号1517は、
ローパスフィルタ105、輪郭強調フィルタ106に入力され
る。
On the other hand, the image filter device 1508 shown in FIG. 15 has a unified memory using a data bus. This contour enhancement filter circuit is provided with a decoded image input terminal 15
01, quantization parameter input terminal 1502, processed image output terminal 1503, filter control unit 1504, low-pass filter
1505, contour enhancement filter circuit 1506, and selection circuit 107
, Low-pass filter table 1509, contour enhancement / filter table 1510, timing input terminal 1511, low-pass filter control unit 1512, and contour enhancement filter control unit 15
13, a line memory 1514, and a selection circuit controller 1516. The decoded image signal 1517 input from the input terminal 1501 is
It is input to the low pass filter 105 and the contour enhancement filter 106.

【0041】また、フィルタ制御部1504に対して、入力
端子1502と1511より量子化パラメータ信号1518とタイミ
ング信号1519が入力され、ローパスフィルタ制御部1512
と、輪郭強調フィルタ制御部1513において解析される。
この2つの制御部から、ローパスフィルタテーブル制御
信号1524と、輪郭強調フィルタテーブル制御信号1523が
ローパスフィルタテーブル1509と輪郭強調フィルタテー
ブル1510へ与えられる。その結果、最適なローパスフィ
ルタタップ係数1526と、輪郭強調フィルタタップ係数15
25が、各フィルタ回路へ与えられる。
Further, the quantization parameter signal 1518 and the timing signal 1519 are inputted to the filter control section 1504 from the input terminals 1502 and 1511, and the low pass filter control section 1512.
Is analyzed by the contour enhancement filter control unit 1513.
The low-pass filter table control signal 1524 and the contour enhancement filter table control signal 1523 are given to the low-pass filter table 1509 and the contour enhancement filter table 1510 from these two control units. As a result, the optimum low-pass filter tap coefficient 1526 and the edge enhancement filter tap coefficient 1526
25 are provided to each filter circuit.

【0042】また、選択回路制御部1516は選択回路制御
信号1512を出力し、選択回路107によって、2個の信号
からいずれか1つが選択され、処理画像出力端子1203か
ら出力画像信号1522として出力される。本回路はローパ
スフィルタ1505と輪郭強調フィルタ1506とが、データバ
スを介してメモリ1514を共有している。このために、図
12の場合よりも回路規模を比較的小さくできるが、回
路全体の制御がやや複雑になる。
Further, the selection circuit control section 1516 outputs a selection circuit control signal 1512, one of the two signals is selected by the selection circuit 107, and is output as an output image signal 1522 from the processed image output terminal 1203. It In this circuit, the low-pass filter 1505 and the contour enhancement filter 1506 share the memory 1514 via the data bus. For this reason, the circuit scale can be made relatively smaller than in the case of FIG. 12, but the control of the entire circuit becomes slightly complicated.

【0043】次に、図2の回路の一実現例を図16、図
17に示す。図16において、画像フィルタ装置1608
は、復号画像入力端子1601と、量子化バラメータ入力端
子1602と、処理画像出力端子1603と、フィルタ制御部16
04と、メディアン・フィルタ1605と、輪郭強調フィルタ
回路1606と、輪郭強調フィルタテーブル409と、メディ
アン・フィルタ制御部1609と、輪郭強調フィルタ制御部
1610と、タイミング入力端子1611と、ラインメモリ1612
と、ラインメモリ1613とを備えてなり、ブロック歪除去
フィルタ205としてメディアン・フィルタ1605を用いて
いる。
Next, an example of realizing the circuit of FIG. 2 is shown in FIGS. In FIG. 16, the image filter device 1608
Is a decoded image input terminal 1601, a quantized parameter input terminal 1602, a processed image output terminal 1603, and a filter control unit 16
04, median filter 1605, contour enhancement filter circuit 1606, contour enhancement filter table 409, median filter control unit 1609, and contour enhancement filter control unit
1610, timing input terminal 1611, line memory 1612
And a line memory 1613, and the median filter 1605 is used as the block distortion removal filter 205.

【0044】図16においては、入力端子1601に復号画
像信号1617が入力され、その画像データはメディアン・
フィルタ1605に入力され、ブロック歪やモスキートノイ
ズを予め除去しておき、その後に輪郭強調フィルタ206
を作用させ、出力画像信号1622を出力する回路構成とな
っており、メディアン・フィルタはメディアン・フィル
タ制御部1609からのメディアン・フィルタ制摘信号1624
により制御される。
In FIG. 16, the decoded image signal 1617 is input to the input terminal 1601 and its image data is the median
The block distortion and mosquito noise that have been input to the filter 1605 are removed in advance, and then the contour enhancement filter 206
Is operated to output the output image signal 1622. The median filter is the median filter control signal 1624 from the median filter control unit 1609.
Controlled by.

【0045】また、輪郭強調フィルタ制御部1610から輪
郭強調フィルタテーブル制御信号1623が出力され、これ
によりフィルタテーブルから輪郭強調フィルタタップ係
数1625が、輪郭強調フィルタ1506に出力される。これら
の制御は、量子化パラメータ制御信号1618と、タイミン
グ信号1619を情報とする制御回路1604により制御され
る。また、本実施例は図12の場合と同様に、メディア
ン・フィルタ1605にはラインメモリ1612、輪郭強調フィ
ルタ1506にはラインメモリ1613がそれぞれ与えられてい
る。本実施例の特徴は、それぞれのフィルタにメモリが
個別に与えられているために、入力端子1601から出力端
子1603にかけて、遅延の少ないフィルタリング処理が可
能である反面、メモリを個別に持つために、回路規模が
大きくなる点にある。
Further, the contour emphasis filter control section 1610 outputs a contour emphasis filter table control signal 1623, which causes the contour emphasis filter tap coefficient 1625 to be outputted from the filter table to the contour emphasis filter 1506. These controls are controlled by the control circuit 1604 which uses the quantization parameter control signal 1618 and the timing signal 1619 as information. In this embodiment, as in the case of FIG. 12, the median filter 1605 is provided with a line memory 1612, and the contour emphasis filter 1506 is provided with a line memory 1613. The feature of the present embodiment is that since each filter is individually provided with a memory, from the input terminal 1601 to the output terminal 1603, filtering processing with a small delay is possible, but on the other hand, since it has an individual memory, The point is that the circuit scale becomes large.

【0046】これに対し、メモリを統一した回路の一実
施例が図17である。この画像フィルタ装置1708は、復
号画御入力端子1701と、量子化パラメータ入力端子1702
と、処理画像出力端子1703と、フィルタ制御部1704と、
メディアン・フィルタ1705と、輪郭強調フィルタ回路17
06と、輪郭強調フィルタ制御部1709と、タイミング信号
入力端子1711と、ラインメモリ1715と、メモリ制御部17
16を備える。復号画像入力端子1701に入力された復号画
像信号1717は、まずメディアン・フィルタ1705に入力さ
れ、ブロック歪等のノイズ除去処理を施される。タイミ
ング信号1719はタイミング信号入力端子1711に、量子化
パラメータ信号1718は量子化パラメータ入力端子1702に
入力される。輪郭強調フィルタ制御部は、量子化パラメ
ータ信号1718により輪郭強調フィルタを制御する。
On the other hand, FIG. 17 shows an embodiment of a circuit in which the memories are unified. This image filter device 1708 includes a decoded image control input terminal 1701 and a quantization parameter input terminal 1702.
A processed image output terminal 1703, a filter control unit 1704,
Median filter 1705 and edge enhancement filter circuit 17
06, the contour emphasis filter control unit 1709, the timing signal input terminal 1711, the line memory 1715, and the memory control unit 17
Equipped with 16. The decoded image signal 1717 input to the decoded image input terminal 1701 is first input to the median filter 1705 and subjected to noise removal processing such as block distortion. The timing signal 1719 is input to the timing signal input terminal 1711, and the quantization parameter signal 1718 is input to the quantization parameter input terminal 1702. The contour emphasis filter control unit controls the contour emphasis filter according to the quantization parameter signal 1718.

【0047】本実施例では、メディアン・フィルタ1705
は制御部ではなく直接量子化パラメータ値を参照しなが
ら動作し、輪郭強調フィルタ1706については、フィルタ
テーブルを輪郭強調フィルタ回路に持つ構成となってお
り、制御信号1723により最適なフィルタリング処理が行
われ、出力画像信号1722が出力される。また、本回路で
は、ラインメモリ1715が共有となっているために、タイ
ミング制御等メモリの管理に複雑な処理が要求される。
これらの処理は、メモリ制御部1716により行われる。
In this embodiment, the median filter 1705
Operates by directly referring to the quantization parameter value, not by the control unit, and the contour emphasis filter 1706 has a structure that has a filter table in the contour emphasis filter circuit. Optimal filtering processing is performed by the control signal 1723. The output image signal 1722 is output. Further, in this circuit, since the line memory 1715 is shared, complicated processing is required for memory management such as timing control.
These processes are performed by the memory control unit 1716.

【0048】この実施例の回路は、メモリを統一したと
いう点では図13の回路と同じであるが、図14の回路
では、2つのフィルタのうち1つが選択されるために、メ
モリにアクセスするフィルタは常に1つであるのに対
し、本実施例ではフィルタが直列接続であり、2個のフ
ィルタが同時に動作するために、メモリにアクセスする
時間が2倍かかる。従って、入力端子1701から出力端子
1703までの遅延が非常に大きくなり、このメモリ統一に
よる遅延値の増加は、図14の場合と比べてより顕著な
ものとなる反面、回路規模を削減することができる。
The circuit of this embodiment is the same as the circuit of FIG. 13 in that the memories are unified, but the circuit of FIG. 14 accesses the memory because one of the two filters is selected. While there is always one filter, in the present embodiment, the filters are connected in series and the two filters operate simultaneously, so that it takes twice as long to access the memory. Therefore, from the input terminal 1701 to the output terminal
The delay up to 1703 becomes very large, and the increase in the delay value due to the unification of the memories becomes more remarkable as compared with the case of FIG. 14, but the circuit scale can be reduced.

【0049】以上本発明者によってなされた発明を実施
例に基づき具体的に説明したが、本発明は上記実施例に
限定されるものではなく、その要旨を逸脱しない範囲で
種々変更可能であることはいうまでもない。
Although the invention made by the present inventor has been specifically described based on the embodiments, the present invention is not limited to the above embodiments, and various modifications can be made without departing from the scope of the invention. Needless to say.

【0050】[0050]

【発明の効果】以上説明したように、本発明によれば、
復号した画像に対しフィルタリングを行う際に、量子化
情報に基づいてフィルタを制御するため、量子化精度が
高い部分へのローパスフィルタの作用がなくなるので、
ブロック歪みの存在しない部分にはローパスフィルタが
作用せず、ブロック歪みが存在する部分にローパスフィ
ルタを作用させることができる。また、量子化情報から
ブロック歪みやモスキートノイズの出現を予測すること
ができるため、ノイズの出現しない部分に対しては輪郭
強調フィルタを作用させることが可能となる。以上のこ
とから、ノイズを抑制した輪郭強調が可能となり、大幅
な画質の改善が図れる。
As described above, according to the present invention,
When filtering the decoded image, the filter is controlled based on the quantization information, so the effect of the low-pass filter on the part with high quantization accuracy disappears,
The low-pass filter does not act on a portion where block distortion does not exist, and the low-pass filter can act on a portion where block distortion exists. Further, since it is possible to predict the appearance of block distortion or mosquito noise from the quantized information, it is possible to apply the contour emphasis filter to the portion where no noise appears. From the above, it is possible to enhance the contour while suppressing noise, and to significantly improve the image quality.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の画像復号装置の原理的構成を示すブロ
ック図である。
FIG. 1 is a block diagram showing a basic configuration of an image decoding apparatus of the present invention.

【図2】図1の画像復号装置におけるフィルタ装置の実
施例を示すブロック図である。
FIG. 2 is a block diagram showing an embodiment of a filter device in the image decoding device of FIG.

【図3】図1の画像復号装置におけるフィルタ装置の他
の実施例を示すブロック図である。
FIG. 3 is a block diagram showing another embodiment of the filter device in the image decoding device in FIG.

【図4】図2のフィルタ装置の実施例を示すブロック図
である。
FIG. 4 is a block diagram showing an embodiment of the filter device of FIG.

【図5】ローパスフィルタの一例を示す概念図である。FIG. 5 is a conceptual diagram showing an example of a low-pass filter.

【図6】ハイパスフィルタの一例を示す概念図である。FIG. 6 is a conceptual diagram showing an example of a high pass filter.

【図7】輪郭強調フィルタの一例を示す概念図である。FIG. 7 is a conceptual diagram showing an example of a contour enhancement filter.

【図8】フィルタテーブルを持つローパスフィルタの一
例を示す概念図である。
FIG. 8 is a conceptual diagram showing an example of a low-pass filter having a filter table.

【図9】フィルタテーブルを持つハイパスフィルタの一
例を示す概念図である。
FIG. 9 is a conceptual diagram showing an example of a high-pass filter having a filter table.

【図10】メディアン・フィルタの一例を示す概念図で
ある。
FIG. 10 is a conceptual diagram showing an example of a median filter.

【図11】DCTブロックの量子化パラメータの領域分
割の一例を示すを示す概念図である。
FIG. 11 is a conceptual diagram showing an example of region division of a quantization parameter of a DCT block.

【図12】フィルタブロックの平均量子化値Qavの算出
の仕方の一例を示す説明図である。
FIG. 12 is an explanatory diagram showing an example of how to calculate an average quantized value Qav of a filter block.

【図13】ブロック歪の検出範囲の一例を示す説明図で
ある。
FIG. 13 is an explanatory diagram showing an example of a block distortion detection range.

【図14】図1の画像復合装置におけるフィルタ装置の
実施例を示すブロック図である。
14 is a block diagram showing an embodiment of a filter device in the image decoding device of FIG.

【図15】図1の画像復合装置におけるフィルタ装置の
他の実施例を示すブロック図である。
15 is a block diagram showing another embodiment of the filter device in the image decoding device of FIG.

【図16】図2のフィルタ装置の他の実施例を示すブロ
ック図である。
16 is a block diagram showing another embodiment of the filter device of FIG.

【図17】図2のフィルタ装置の他の実施例を示すブロ
ック図である。
FIG. 17 is a block diagram showing another embodiment of the filter device of FIG.

【符号の説明】[Explanation of symbols]

101 復号画像入力端子 102 量子化パラメータ入力端子 103 処理画像出力端子 108,208,308,408 画像強調フィルタ装
置 309 輪郭強調フィルタのフィルタテーブル 310 ローパスフィルタのフィルタテーブル 406 輪郭強調フィルタ回路 408 画像強調フィルタ装置 501 遅延回路 502 タップ係数 503 平均化処理係数 708 輪郭強調フィルタ回路 1408,1508,1608,1708 画像フィル
タ装置 109 復号器 1301 水平ブロック境界検出範囲 1302 垂直ブロック境界検出範囲 1404,1504,1604,1704 フィルタ制
御部
101 Decoded Image Input Terminal 102 Quantization Parameter Input Terminal 103 Processed Image Output Terminals 108, 208, 308, 408 Image Enhancement Filter Device 309 Edge Enhancement Filter Filter Table 310 Low-Pass Filter Filter Table 406 Edge Enhancement Filter Circuit 408 Image Enhancement Filter Device 501 delay circuit 502 tap coefficient 503 averaging processing coefficient 708 contour enhancement filter circuits 1408, 1508, 1608, 1708 image filter device 109 decoder 1301 horizontal block boundary detection range 1302 vertical block boundary detection range 1404, 1504, 1604, 1704 filter control Department

フロントページの続き (72)発明者 渡辺 浩己 東京都青梅市新町六丁目16番地の3 株式 会社日立製作所デバイス開発センタ内 Fターム(参考) 5C059 KK03 KK04 MA00 MA23 MC11 PP04 PP22 PP25 TA69 TB08 TC06 TD12 TD15 UA05 UA12 UA14 5J064 AA01 BA09 BB14 BC01 BC08 BC09 BC11 BC16 BC25 BD03Continued front page    (72) Inventor Hiromi Watanabe             3 shares at 6-16 Shinmachi, Ome City, Tokyo             Hitachi Device Development Center F term (reference) 5C059 KK03 KK04 MA00 MA23 MC11                       PP04 PP22 PP25 TA69 TB08                       TC06 TD12 TD15 UA05 UA12                       UA14                 5J064 AA01 BA09 BB14 BC01 BC08                       BC09 BC11 BC16 BC25 BD03

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 画像符号化方式により圧縮された画像信
号を復号する画像復号装置において、第一のフィルタと
第二のフィルタからなり、符号化時に実行された量子化
情報に基づいて、上記第一のフィルタ及び第二のフィル
タを、復号画像に対して切り替えて作用させることを特
徴とする画像復号装置。
1. An image decoding apparatus for decoding an image signal compressed by an image encoding method, comprising: a first filter and a second filter, wherein said first filter and second filter are used based on the quantization information executed at the time of encoding. An image decoding device, characterized in that one filter and a second filter are switched and acted on a decoded image.
【請求項2】 前記第一のフィルタを、ローパスフィル
タで構成し、前記第二のフィルタを、画像の輪郭部を強
調するフィルタで構成し、前記量子化情報として、MP
EG規格の画像符号化におけるDCT係数を符号化する
量子化スケールを用い、量子化スケールがある設定され
た値よりも大きい場合には前記第一のローパスフィルタ
を作用させ、また小さい場合には前記第二のフィルタを
作用させ、復号画像に発生するブロック歪を軽減しかつ
画像の輪郭を強調した復号画像を出力することを特徴と
する請求項1の画像復号装置。
2. The first filter is composed of a low-pass filter, the second filter is composed of a filter for emphasizing a contour portion of an image, and MP is used as the quantization information.
A quantization scale that encodes a DCT coefficient in EG standard image encoding is used. When the quantization scale is larger than a set value, the first low-pass filter is operated, and when it is smaller, the first low-pass filter is operated. 2. The image decoding apparatus according to claim 1, wherein the second filter is operated to reduce the block distortion occurring in the decoded image and output the decoded image in which the contour of the image is emphasized.
【請求項3】 前記第一のフィルタおよび前記第二のフ
ィルタは、各々そのフィルタ係数及びタップ数が可変と
され、量子化情報に基づいてフィルタ係数及びタップ係
数が切り替えられることを特徴とする請求項1の画像復
号装置。
3. The filter coefficient and the number of taps of each of the first filter and the second filter are variable, and the filter coefficient and the tap coefficient are switched based on quantization information. The image decoding device according to item 1.
【請求項4】 前記第一のフィルタとしてブロック歪を
除去することを目的としたローパスフィルタあるいはメ
ディアン・フィルタが用いられるとともに、前記第二の
フィルタとして輪郭を強調するためのフィルタが用いら
れ、前記第一のフィルタは符号化時の量子化情報に基づ
いて作用するか作用しないかが決定され、前記第二のフ
ィルタは、前記第一のフィルタの出力画像に対してフィ
ルタ処理を行なうことを特徴とする請求項1の画像復号
装置。
4. A low-pass filter or a median filter for the purpose of removing block distortion is used as the first filter, and a filter for emphasizing a contour is used as the second filter. It is determined that the first filter acts or does not act based on the quantization information at the time of encoding, and the second filter performs a filtering process on the output image of the first filter. The image decoding device according to claim 1.
JP2001203073A 2001-07-04 2001-07-04 Image decoding apparatus Pending JP2003018600A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001203073A JP2003018600A (en) 2001-07-04 2001-07-04 Image decoding apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001203073A JP2003018600A (en) 2001-07-04 2001-07-04 Image decoding apparatus

Publications (1)

Publication Number Publication Date
JP2003018600A true JP2003018600A (en) 2003-01-17

Family

ID=19039771

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001203073A Pending JP2003018600A (en) 2001-07-04 2001-07-04 Image decoding apparatus

Country Status (1)

Country Link
JP (1) JP2003018600A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1534016A2 (en) * 2003-11-21 2005-05-25 Matsushita Electric Industrial Co., Ltd. Using motion vectors and the occurrence of coefficient quantization levels to drive a noise removal image postprocessing
JP2007522696A (en) * 2004-01-06 2007-08-09 トムソン ライセンシング Method and apparatus for synchronizing audio and video presentation
JP2007281542A (en) * 2006-04-03 2007-10-25 Hitachi Ltd Digital broadcasting receiving device
CN100375519C (en) * 2003-02-21 2008-03-12 松下电器产业株式会社 Moving picture coding method, moving picture decoding method and program
US7382932B2 (en) 2003-11-20 2008-06-03 Canon Kabushiki Kaisha Image processing apparatus and method, and computer program and computer-readable storage medium
JP2008252759A (en) * 2007-03-30 2008-10-16 Sony Corp Video signal processor and video signal processing method
WO2009050889A1 (en) * 2007-10-15 2009-04-23 Panasonic Corporation Video decoding method and video encoding method
JP2009302777A (en) * 2008-06-11 2009-12-24 Canon Inc Decoding device and control method thereof
JP2010081368A (en) * 2008-09-26 2010-04-08 Toshiba Corp Image processor, moving image decoding device, moving image encoding device, image processing method, moving image decoding method, and, moving image encoding method
JP2010193515A (en) * 2010-05-06 2010-09-02 Fujitsu Ltd Image processing method
US7949200B2 (en) 2009-09-18 2011-05-24 Kabushiki Kaisha Toshiba Image processing apparatus, display device, and image processing method
JP2011193391A (en) * 2010-03-16 2011-09-29 Toshiba Corp Apparatus and method for processing image
WO2012008602A1 (en) * 2010-07-16 2012-01-19 シャープ株式会社 Video processing device, video processing method, video processing program, and memory medium

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100375519C (en) * 2003-02-21 2008-03-12 松下电器产业株式会社 Moving picture coding method, moving picture decoding method and program
CN101222632B (en) * 2003-02-21 2012-09-05 松下电器产业株式会社 Moving picture coding method
CN101222633B (en) * 2003-02-21 2012-10-31 松下电器产业株式会社 Picture coding method
US7382932B2 (en) 2003-11-20 2008-06-03 Canon Kabushiki Kaisha Image processing apparatus and method, and computer program and computer-readable storage medium
US7542623B2 (en) 2003-11-20 2009-06-02 Canon Kabushiki Kaisha Image processing apparatus and method, and computer program and computer-readable storage medium
EP1534016A2 (en) * 2003-11-21 2005-05-25 Matsushita Electric Industrial Co., Ltd. Using motion vectors and the occurrence of coefficient quantization levels to drive a noise removal image postprocessing
EP1534016A3 (en) * 2003-11-21 2007-03-07 Matsushita Electric Industrial Co., Ltd. Using motion vectors and the occurrence of coefficient quantization levels to drive a noise removal image postprocessing
JP2007522696A (en) * 2004-01-06 2007-08-09 トムソン ライセンシング Method and apparatus for synchronizing audio and video presentation
US8005337B2 (en) 2004-01-06 2011-08-23 Thomson Licensing Method and apparatus for performing synchronised audio and video presentation
JP2007281542A (en) * 2006-04-03 2007-10-25 Hitachi Ltd Digital broadcasting receiving device
JP2008252759A (en) * 2007-03-30 2008-10-16 Sony Corp Video signal processor and video signal processing method
JP5283628B2 (en) * 2007-10-15 2013-09-04 パナソニック株式会社 Video decoding method and video encoding method
WO2009050889A1 (en) * 2007-10-15 2009-04-23 Panasonic Corporation Video decoding method and video encoding method
JP2009302777A (en) * 2008-06-11 2009-12-24 Canon Inc Decoding device and control method thereof
JP2010081368A (en) * 2008-09-26 2010-04-08 Toshiba Corp Image processor, moving image decoding device, moving image encoding device, image processing method, moving image decoding method, and, moving image encoding method
US7949200B2 (en) 2009-09-18 2011-05-24 Kabushiki Kaisha Toshiba Image processing apparatus, display device, and image processing method
JP2011193391A (en) * 2010-03-16 2011-09-29 Toshiba Corp Apparatus and method for processing image
JP2010193515A (en) * 2010-05-06 2010-09-02 Fujitsu Ltd Image processing method
WO2012008602A1 (en) * 2010-07-16 2012-01-19 シャープ株式会社 Video processing device, video processing method, video processing program, and memory medium
JP2012023683A (en) * 2010-07-16 2012-02-02 Sharp Corp Video processor, video processing method, video processing program and memory medium
US8737465B2 (en) 2010-07-16 2014-05-27 Sharp Kabushiki Kaisha Video processing device, video processing method, video processing program, and storage medium

Similar Documents

Publication Publication Date Title
JP5054826B2 (en) Coding mode determination method and apparatus using spatio-temporal complexity
US7995849B2 (en) Method and apparatus for improving video quality of low bit-rate video
JP4455487B2 (en) Decoding device, decoding method, and program
KR100754181B1 (en) Method and apparatus for reducing mosquito noise in fecoded video sequence
JP2673778B2 (en) Noise reduction device for video decoding
JP4880895B2 (en) Method and apparatus for MPEG artifact reduction
CN110036637B (en) Method and device for denoising and vocalizing reconstructed image
JP5360430B2 (en) Deblocking filter processing apparatus and deblocking filter processing method
US9167271B2 (en) Image processing device, method, and program, dynamic image encoding device, method, and program, dynamic image decoding device, method, and program, and encoding/decoding system and method
KR102359415B1 (en) Interpolation filter for inter prediction apparatus and method for video coding
JP2004215257A (en) Advanced dct-based video encoding method and apparatus
JP2003333603A (en) Method and system implemented by computer and computer readable medium
JP6673599B2 (en) Apparatus and method for video motion compensation
JP2003018600A (en) Image decoding apparatus
Zummach et al. High-throughput cdef architecture for the av1 decoder targeting 4k@ 60fps videos
JP3209171B2 (en) Video encoding device
CA2656207C (en) Image processing method and apparatus, image processing program, and storage medium which stores the program
JPH11177993A (en) Moving image encoding device
EP2320662A1 (en) Compressed image noise removal device and reproduction device
JPH08274996A (en) Image processing unit
JPH11298898A (en) Block distortion reduction circuit
JPH07143483A (en) Adaptive post-processing filter
JPH07307942A (en) Image noise removing device
US20050238241A1 (en) Image compression apparatus generating and using assistant images for deblocking processing and a method thereof
US11785204B1 (en) Frequency domain mode decision for joint chroma coding