JP2001245298A - Image coder, image coding method and medium storing image coding program - Google Patents

Image coder, image coding method and medium storing image coding program

Info

Publication number
JP2001245298A
JP2001245298A JP2000056164A JP2000056164A JP2001245298A JP 2001245298 A JP2001245298 A JP 2001245298A JP 2000056164 A JP2000056164 A JP 2000056164A JP 2000056164 A JP2000056164 A JP 2000056164A JP 2001245298 A JP2001245298 A JP 2001245298A
Authority
JP
Japan
Prior art keywords
image
filter
coding
storing
encoding
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
JP2000056164A
Other languages
Japanese (ja)
Inventor
Hideaki Kimata
英明 木全
Yoshiyuki Yashima
由幸 八島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2000056164A priority Critical patent/JP2001245298A/en
Publication of JP2001245298A publication Critical patent/JP2001245298A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an image coder that can enhance its coding efficiency, while preventing deterioration in visual quality in coding of a moving image signal, and to provide an image coding method and a medium storing an image coding program. SOLUTION: A coding deterioration measuring section 17 calculates value denoting the degree of deterioration through coding, on the basis of an image that is received from an image input section 11, the band of which is limited by a pre-filter section 12, and that is stored in a storage section 13 for the image after filtering, and also on the basis of an image resulting from coding the stored image by an image coding section 14, that is decoded by a local decoding section 15, and that is stored in a decoded image storage section 16. A filter control section selects a frequency characteristics C2 to eliminate more high-frequency components for the frequency characteristics of the filter adopted by the per-filter section 12, when the deterioration by the coding is large, but selects a frequency characteristics C1 which does not delete high-frequency components for the frequency characteristics of the filter adopted by the pre-filter section 12, when the deterioration by the coding is small.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、動画像信号の符号
化を行う、特に帯域制限を伴う符号化を行う画像符号化
装置、画像符号化方法及び画像符号化プログラムを記憶
した媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image encoding apparatus for encoding a moving image signal, in particular, encoding with a band limitation, an image encoding method, and a medium storing an image encoding program. is there.

【0002】[0002]

【従来の技術】MPEG−2等、一般的に動画像符号化
では、画像情報に対してDCT(離散コサイン変換)を
適用し、その係数を量子化する。この量子化により、符
号化効率を向上することが可能であるが、他方で復号画
像に特有な歪み(量子化歪み)が発生する。この量子化
歪みによって画質が劣化する。
2. Description of the Related Art Generally, in moving picture coding such as MPEG-2, DCT (Discrete Cosine Transform) is applied to image information and its coefficient is quantized. Although the quantization efficiency can be improved by this quantization, on the other hand, distortion (quantization distortion) peculiar to the decoded image occurs. The image quality is degraded by the quantization distortion.

【0003】このような量子化歪みを低減するために、
符号化前に予め画像にフィルタリングを施して帯域を制
限することが行われている。一般的に、画像の高周波成
分は視覚に与える影響が少ないため、フィルタによって
特に高周波を制限することにより、視覚的な劣化を引き
起こさずに符号化効率を向上している。一般的に、高周
波を制限する量が多いほど、量子化歪みを低減すること
ができる。
In order to reduce such quantization distortion,
Prior to encoding, filtering is performed on an image in advance to limit the band. In general, the high-frequency components of an image have little effect on vision, so that the filter is used to restrict particularly high frequencies, thereby improving coding efficiency without causing visual degradation. In general, as the amount of limiting the high frequency increases, the quantization distortion can be reduced.

【0004】帯域を制限するフィルタには、画面内画素
間の相関を利用する空間フィルタと、フレーム間画素間
の相関を利用する時間フィルタとがある。
The filters for limiting the band include a spatial filter using the correlation between pixels in a screen and a time filter using the correlation between pixels between frames.

【0005】このうち、空間フィルタの1つとして移動
平均フィルタがある。このフィルタでは、図1に示すよ
うに、求める画素を中心にした、縦N画素、横N画素
(Nタップ)の正方形の領域を設定し、その正方形に含
まれる画素の画像情報を式(1)に示す重み付け加算を
することによって、その画素の画像情報を求める。
[0005] Among them, there is a moving average filter as one of the spatial filters. In this filter, as shown in FIG. 1, a square area of N pixels vertically and N pixels horizontally (N taps) is set around the pixel to be obtained, and the image information of the pixels included in the square is expressed by Expression (1). ) Is performed to obtain image information of the pixel.

【0006】[0006]

【数1】 (Equation 1)

【0007】但し、I(x,y):横x,縦yの画素に
おける入力画像、 O(x,y):横x,縦yの画素における出力画像。
Here, I (x, y): an input image at horizontal x and vertical y pixels, and O (x, y): an output image at horizontal x and vertical y pixels.

【0008】この処理を画面内の各画素に施すことによ
って、画面全体に移動平均フィルタを施す。このフィル
タの周波数特性はタップ数Nと重み付け係数Wによって
特徴付けられ、帯域制限後の視覚特性はこれらの値に依
存する。一般的にタップ数Nが大きいほど、広範囲な画
素の平均となるため、隣り合う画素間の差が少なくな
り、より高周波成分が削除される。
By performing this processing on each pixel in the screen, a moving average filter is applied to the entire screen. The frequency characteristic of this filter is characterized by the number of taps N and the weighting coefficient W, and the visual characteristic after band limitation depends on these values. In general, as the number of taps N increases, the average of a wide range of pixels becomes larger, so that the difference between adjacent pixels decreases, and higher frequency components are removed.

【0009】時間フィルタには、図2に示すように、前
フレームと現フレームの同じ画素の画像情報から、式
(2)に示す重み付け平均を行い、その値を画素の画像
情報とする方法がある。
As shown in FIG. 2, the temporal filter performs a weighted averaging shown in equation (2) from the image information of the same pixel in the previous frame and the current frame, and uses the value as the image information of the pixel. is there.

【0010】[0010]

【数2】 (Equation 2)

【0011】但し、I(x,y):横x,縦yの画素に
おける現フレームの入力画像、 PrevI(x,y):横x,縦yの画素における前フ
レームの入力画像、 O(x,y):横x,縦yの画素における出力画像。
Here, I (x, y): the input image of the current frame in horizontal x, vertical y pixels, PrevI (x, y): the input image of the previous frame in horizontal x, vertical y pixels, O (x , Y): Output image at horizontal x and vertical y pixels.

【0012】一般に、前フレームと現フレームの画像情
報の差が大きい場合の残像を防ぎつつ、フレーム間予測
符号化の符号化効率を向上することを目的として関数F
を設定する。この残像を防ぐことと、符号化効率を向上
することはトレードオフの関係にある。例えば、残像を
防ぐことを優先する場合の時間フィルタでは、前フレー
ムと現フレームの画像情報の差が大きい場合には重み付
け平均値を現フレームの値に、差が小さい場合には重み
付け平均値を前フレームの値に近くなるように式(2)
の関数Fを設定する。
In general, the function F is used to improve the coding efficiency of inter-frame predictive coding while preventing image lag when the difference between the image information of the previous frame and the current frame is large.
Set. There is a trade-off between preventing this afterimage and improving the coding efficiency. For example, in a temporal filter where priority is given to preventing afterimages, the weighted average value is set to the value of the current frame when the difference between the image information of the previous frame and the current frame is large, and the weighted average value is set to the value of the current frame when the difference is small. Equation (2) to be close to the value of the previous frame
Is set.

【0013】また、以上説明した空間フィルタと時間フ
ィルタを組み合わせた時空間フィルタを定義することが
可能である。例えば、現フレーム縦N横N画素と前フレ
ーム縦N横N画素の画像情報を入力とし、それらの重み
付け平均値を出力とするフィルタを定義することが可能
である。
Further, it is possible to define a spatio-temporal filter combining the above-described spatial filter and temporal filter. For example, it is possible to define a filter that receives the image information of the current frame vertical N horizontal N pixels and the previous frame vertical N horizontal N pixels and outputs the weighted average value thereof.

【0014】一般的に動画像符号化では、符号化効率を
向上するために、可変長符号化が用いられる。そのため
フレーム毎に発生符号量が変化する。そこで、上記のよ
うなフィルタを符号化効率の向上に利用するため、符号
化後の発生符号量に依存して、フィルタの周波数特性を
変更する方法が提案されている。
Generally, in moving picture coding, variable-length coding is used to improve coding efficiency. Therefore, the generated code amount changes for each frame. Therefore, in order to use the above filter for improving the coding efficiency, a method of changing the frequency characteristic of the filter depending on the generated code amount after coding has been proposed.

【0015】このような方法では、発生符号量を各フレ
ームで同程度になるように周波数特性を変更する。即
ち、発生符号量が多い場合には、より多くの帯域を制限
するように周波数特性を変更し、逆に、発生符号量が少
ない場合には、より少ない帯域を制限するように周波数
特性を変更する。この方法は、伝送速度が一定の伝送路
を介して動画像を伝送するシステムにおいては、各フレ
ームの発生符号量を制御できるため有効である。
In such a method, the frequency characteristic is changed so that the amount of generated code is substantially the same in each frame. That is, when the generated code amount is large, the frequency characteristic is changed so as to restrict more bands, and conversely, when the generated code amount is small, the frequency characteristic is changed so as to restrict a smaller band. I do. This method is effective in a system for transmitting a moving image via a transmission line having a constant transmission speed because the amount of generated codes of each frame can be controlled.

【0016】[0016]

【発明が解決しようとする課題】しかし、発生符号量を
各フレームで同程度にするようにフィルタを制御する方
法では、符号量が多いフレームにおいて、フィルタによ
って著しく帯域が制限され、高周波成分のみでなく低周
波成分の画像情報まで削除される場合がある。低周波成
分は視覚に与える影響が大きいため、削除すると着しく
視覚的品質が低下する。
However, in the method of controlling the filter so that the generated code amount is the same in each frame, in a frame having a large code amount, the band is remarkably limited by the filter, and only the high frequency component is used. And even the image information of the low frequency component may be deleted. Since the low-frequency component has a large effect on vision, the visual quality is degraded steadily when it is deleted.

【0017】さらに、CD−ROM等の蓄積メディアに
蓄積された符号化データを復号し再生する場合や、符号
化データを伝送する時に符号化データを一旦受信端末で
全て受信して蓄積し、その蓄積した符号化データを復号
する場合のように、符号化側から復号側への伝送速度が
一定である必要のないシステムもある。このようなシス
テムでは、各フレームの符号化データの発生符号量を同
程度にする必要がない。発生符号量を同程度にするよう
にフィルタを制御すると、不必要に高周波を削除し、視
覚的品質の劣化を引き起こす。
Further, when the encoded data stored in a storage medium such as a CD-ROM is decoded and reproduced, or when the encoded data is transmitted, the encoded data is once received and accumulated by a receiving terminal, and the Some systems do not require a constant transmission speed from the encoding side to the decoding side, such as when decoding stored encoded data. In such a system, it is not necessary to make the generated code amount of the encoded data of each frame the same. If the filters are controlled so that the generated code amounts are substantially the same, high frequencies are unnecessarily removed, and the visual quality is degraded.

【0018】以上のように、フィルタを制御して各フレ
ームの発生符号量を同程度にする方法では、発生符号量
を同程度にすることにより、むしろ視覚的品質の劣化を
引き起こす場合があった。この問題は、フィルタを制御
する目的が、発生符号量を制御することであって、符号
化による各フレームの復号画像の劣化の度合いを制御す
ることにないために発生すると考えられる。
As described above, in the method of controlling the filters so that the generated code amounts of the respective frames are substantially the same, the visual code quality may be rather deteriorated by making the generated code amounts the same. . It is considered that this problem occurs because the purpose of controlling the filter is to control the generated code amount, and not to control the degree of deterioration of the decoded image of each frame due to coding.

【0019】本発明の目的は、動画像信号の符号化にお
いて視覚的品質の劣化を防ぎつつ符号化効率を向上可能
な画像符号化装置、画像符号化方法及び画像符号化プロ
グラムを記憶した媒体を提供することにある。
An object of the present invention is to provide an image encoding apparatus, an image encoding method, and a medium storing an image encoding program capable of improving encoding efficiency while preventing visual quality deterioration in encoding of a moving image signal. To provide.

【0020】[0020]

【課題を解決するための手段】上記の課題を解決するた
め、本発明では、符号化による各フレームの復号画像の
劣化の度合いを制御するために、符号化データを一旦復
号し、その復号画像とフィルタ適用後の画像とを比較す
ることによって、符号化による画像の劣化の度合いを測
定する。そして、劣化の度合いをフィルタの周波数特性
の制御に利用する。
In order to solve the above-mentioned problems, in the present invention, in order to control the degree of deterioration of a decoded image of each frame due to encoding, encoded data is decoded once, and the decoded image is decoded. By comparing the image with the image after applying the filter, the degree of image deterioration due to encoding is measured. Then, the degree of deterioration is used for controlling the frequency characteristics of the filter.

【0021】フィルタ適用後の画像と復号画像とを比較
する方法として、各画素の画像情報の差の分散や標準偏
差等が考えられる。この方法では、分散や標準偏差が大
きい場合には、符号化による劣化が大きいとする。ま
た、画面を小領域に分割して、その領域を単位に符号化
を行う場合には、その領域毎に分散や標準偏差を求める
方法もある。例えば、縦横16画素ずつの領域であるマ
クロブロック(MB)毎に標準偏差を求め、標準偏差の
大きいMBが多い場合に符号化による劣化が大きいとす
る方法もある。また、DCTをMB単位に行う符号化方
式では一般的に、隣接MB間の境界画素において符号化
の劣化が大きくなるため、隣接MB間の境界付近の画素
の標準偏差を求める方法も考えられる。
As a method of comparing the decoded image with the image after applying the filter, the variance and the standard deviation of the difference of the image information of each pixel can be considered. In this method, when the variance and the standard deviation are large, it is assumed that the deterioration due to the encoding is large. When the screen is divided into small regions and encoding is performed in units of the regions, there is a method of calculating the variance and the standard deviation for each region. For example, there is a method in which a standard deviation is obtained for each macroblock (MB), which is an area of 16 pixels in the vertical and horizontal directions, and when there are many MBs having a large standard deviation, deterioration due to encoding is large. In addition, in an encoding method in which DCT is performed in units of MBs, generally, the degradation of encoding becomes large at a boundary pixel between adjacent MBs.

【0022】このようにして符号化による劣化を測定
し、劣化が大きい場合には、次のフレームに適用するフ
ィルタで高周波成分をより削除するようにフィルタの周
波数特性を制御する。
In this way, the deterioration due to encoding is measured, and if the deterioration is large, the filter applied to the next frame controls the frequency characteristics of the filter so as to further remove high frequency components.

【0023】さらに、符号化による劣化の度合いだけで
なく、フィルタを適用することによって発生する符号化
前の画像の劣化の度合いを測定し、これら2種類の劣化
の度合いからフィルタを制御する方法も考えられる。こ
の方法は、フィルタによって不必要に高周波成分を削除
することを避けるのに好適である。例えば、符号化によ
る劣化の度合いが大きい時に、次のフレームで高周波成
分をより削除するように制御するフィルタの場合を考え
る。符号化による劣化が大きい時には、フィルタによる
劣化の度合いを測定し、劣化が大きい場合には高周波成
分の削除する度合いを少なくし、劣化が小さい場合には
高周波成分の削除する度合いを多くする。これにより、
フィルタによる劣化が大きいために視覚的品質が低下す
るのを防ぐことができる。
Further, there is also a method of measuring not only the degree of deterioration due to coding but also the degree of deterioration of an image before coding generated by applying a filter, and controlling the filter based on these two kinds of degree of deterioration. Conceivable. This method is suitable for avoiding unnecessary removal of high-frequency components by a filter. For example, consider a case of a filter that controls so that high-frequency components are further removed in the next frame when the degree of deterioration due to encoding is large. When the degree of deterioration due to encoding is large, the degree of deterioration due to the filter is measured. When the degree of deterioration is large, the degree of high-frequency component deletion is reduced, and when the degree of deterioration is small, the degree of high-frequency component deletion is increased. This allows
It is possible to prevent the visual quality from being deteriorated due to the large deterioration caused by the filter.

【0024】また、以上のように、符号化による劣化の
度合いを測定して制御したフィルタや、符号化による劣
化とフィルタによる劣化の度合いを測定して制御したフ
ィルタを、次のフレームの入力画像に対して適用するだ
けではなく、現フレームの入力画像に対して適用して再
度符号化を行うのも好適である。
Further, as described above, a filter controlled by measuring the degree of deterioration due to coding or a filter controlled by measuring the degree of deterioration caused by coding and the degree of deterioration caused by the filter is input to the input image of the next frame. It is also preferable to apply the method to the input image of the current frame and perform the encoding again.

【0025】以上のように本発明によれば、符号化によ
る各フレームの復号画像の劣化の度合いを測定し、劣化
の度合いを用いて入力画像のフィルタの制御を行う。こ
れにより、符号化による各フレームの復号画像の劣化の
度合いを制御しつつ符号化することが可能である。
As described above, according to the present invention, the degree of deterioration of the decoded image of each frame due to encoding is measured, and the filter of the input image is controlled using the degree of deterioration. This makes it possible to perform encoding while controlling the degree of deterioration of the decoded image of each frame due to encoding.

【0026】[0026]

【発明の実施の形態】以下、図面を用いて本発明の実施
の形態を詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0027】図3は本発明の第1の実施の形態の構成を
示すもので、ここでは符号化による劣化の度合いからフ
ィルタの周波数特性を制御する。図3において、11は
画像入力部、12はプレフィルタ部、13はフィルタ後
画像蓄積部、14は画像符号化部、15は局所復号部、
16は復号画像蓄積部、17は符号化劣化測定部、18
はフィルタ制御部である。
FIG. 3 shows the configuration of the first embodiment of the present invention. Here, the frequency characteristic of the filter is controlled based on the degree of deterioration due to encoding. In FIG. 3, 11 is an image input unit, 12 is a pre-filter unit, 13 is a filtered image storage unit, 14 is an image encoding unit, 15 is a local decoding unit,
16 is a decoded image storage unit, 17 is an encoding deterioration measuring unit, 18
Is a filter control unit.

【0028】符号化による劣化の度合いを計測する尺度
としては、符号化データを一旦復号した復号画像とフィ
ルタ適用後の画像との間におけるPSNRを用いる。こ
の値をPSNR1とする。このPSNR1の値が30以
上の場合には符号化による劣化が小さいと判定し、30
未満の場合には劣化が大きいと判定することにする。P
SNR1の計算式を式(3)に示す。
As a measure for measuring the degree of deterioration due to encoding, a PSNR between a decoded image once decoded from encoded data and an image after applying a filter is used. This value is set to PSNR1. If the value of PSNR1 is 30 or more, it is determined that deterioration due to encoding is small, and 30
If it is less than the above, it is determined that the deterioration is large. P
The equation for calculating SNR1 is shown in equation (3).

【0029】[0029]

【数3】 (Equation 3)

【0030】但し、Out(i,j):横i,縦jの画
素における復号画像、 FilterdIm(i,j):横i,縦jの画素にお
けるフィルタ適用後の画像、 M:画面の横方向の画素数、 N:画面の縦方向の画素数。
Here, Out (i, j): a decoded image at the pixel of horizontal i and vertical j, Filtered Im (i, j): an image after applying the filter at the pixel of horizontal i and vertical j, M: horizontal direction of the screen N: the number of pixels in the vertical direction of the screen.

【0031】この実施の形態では、符号化による劣化の
度合いが大きい場合には、より多く高周波成分を削除す
るようにフィルタの周波数特性を制御するものとする。
以下、動作について説明する。
In this embodiment, when the degree of deterioration due to encoding is large, the frequency characteristics of the filter are controlled so as to remove more high-frequency components.
Hereinafter, the operation will be described.

【0032】フィルタ制御部18はプレフィルタ部12
のフィルタの周波数特性を制御する。周波数特性C2の
フィルタは周波数特性C1のフィルタよりも高周波成分
を多く削除するものとする。初期状態はC1とする。本
実施の形態では、符号化による劣化が大きい場合にフィ
ルタの周波数特性をC2に設定し、符号化による劣化が
小さい場合にはフィルタの周波数特性をC1に設定する
ものとする。
The filter control unit 18 is provided with the pre-filter unit 12
Control the frequency characteristics of the filter. The filter of the frequency characteristic C2 removes more high frequency components than the filter of the frequency characteristic C1. The initial state is C1. In the present embodiment, the frequency characteristic of the filter is set to C2 when the deterioration due to coding is large, and the frequency characteristic of the filter is set to C1 when the deterioration due to coding is small.

【0033】画像入力部11は1フレーム分の画像情報
を取得し、次のフレームの画像情報を取得するまで画像
情報を保持しているものとする。まず、画像入力部11
から得られた現フレームの画像情報に対して、プレフィ
ルタ部12でフィルタを適用し、帯域制限をする。フィ
ルタ適用後の画像をフィルタ後画像蓄積部13に蓄積す
る。画像符号化部14はフィルタ後画像蓄積部13に蓄
積された画像を入力画像として符号化する。符号化デー
タを局所復号部15にて復号し、復号画像を復号画像蓄
積部16に蓄積する。
It is assumed that the image input section 11 acquires image information for one frame and holds the image information until the image information for the next frame is acquired. First, the image input unit 11
The pre-filter unit 12 applies a filter to the image information of the current frame obtained from, and limits the band. The image after the filter application is stored in the filtered image storage unit 13. The image coding unit 14 codes the image stored in the filtered image storage unit 13 as an input image. The encoded data is decoded by the local decoding unit 15 and the decoded image is stored in the decoded image storage unit 16.

【0034】符号化劣化測定部17はフィルタ後画像蓄
積部13と復号画像蓄積部16に蓄積された画像からP
SNR1を計算する。PSNR1の値が30未満の場
合、フィルタ制御部18はプレフィルタ部12で適用す
るフィルタの周波数特性をC2に設定し、30以上の場
合には周波数特性をC1に設定する。この周波数特性を
設定したフィルタを次のフレームに適用する。
The coding deterioration measuring unit 17 calculates P based on the images stored in the filtered image storage unit 13 and the decoded image storage unit 16.
Calculate SNR1. When the value of PSNR1 is less than 30, the filter control unit 18 sets the frequency characteristic of the filter applied by the pre-filter unit 12 to C2, and when it is 30 or more, sets the frequency characteristic to C1. The filter in which this frequency characteristic is set is applied to the next frame.

【0035】第1の実施の形態のように、復号画像とフ
ィルタ適用後の画像とを比較することによって符号化に
よる劣化の度合いを測定することができる。この度合い
に従ってフィルタの周波数特性を制御することによっ
て、次のフレームにおいて符号化による劣化の少ない復
号画像となる符号化データが得られる。
As in the first embodiment, the degree of deterioration due to coding can be measured by comparing the decoded image with the image after applying the filter. By controlling the frequency characteristics of the filter in accordance with this degree, encoded data that becomes a decoded image with little deterioration due to encoding in the next frame can be obtained.

【0036】上記第1の実施の形態では、C1とC2を
切り替える目安として、PSNR1の値が30の場合を
示したが、これは一例であり、画像の性質に応じて他の
適切な値が取られる場合もある。また、フィルタの周波
数特性としてC1とC2の2種類のみ切り替える場合を
示したが、高周波成分の削除特性が異なるフィルタを3
種類以上設け、PSNR1の値に応じて高周波成分の削
除の程度をより細かく変更しても良い。
In the first embodiment, the case where the value of PSNR1 is 30 is shown as a guide for switching between C1 and C2. However, this is an example, and other appropriate values may be set according to the properties of the image. May be taken. Also, the case where only two types of frequency characteristics of the filter are switched, C1 and C2, has been described.
More than one type may be provided, and the degree of high-frequency component deletion may be more finely changed according to the value of PSNR1.

【0037】図4は本発明の第2の実施の形態を示すも
ので、ここでは符号化による劣化の度合いとフィルタに
よる劣化の度合いとからフィルタの周波数特性を制御す
る。図4において、第1の実施の形態と同一構成部分は
同一符号をもって表す。即ち、11は画像入力部、12
はプレフィルタ部、13はフィルタ後画像蓄積部、14
は画像符号化部、15は局所復号部、16は復号画像蓄
積部、17は符号化劣化測定部、21は帯域制限劣化測
定部、22はフィルタ制御部である。
FIG. 4 shows a second embodiment of the present invention, in which the frequency characteristics of a filter are controlled based on the degree of deterioration due to encoding and the degree of deterioration due to a filter. 4, the same components as those of the first embodiment are denoted by the same reference numerals. That is, 11 is an image input unit, 12
Is a pre-filter unit, 13 is a filtered image storage unit, 14
Denotes an image encoding unit, 15 denotes a local decoding unit, 16 denotes a decoded image storage unit, 17 denotes an encoding deterioration measuring unit, 21 denotes a band limit deterioration measuring unit, and 22 denotes a filter control unit.

【0038】符号化による劣化の度合いを計測する尺度
としては、符号化データを一旦復号した復号画像とフィ
ルタ適用後の画像との間におけるPSNRを用いる。こ
の値をPSNR1とする。このPSNR1の値が30以
上の場合には符号化による劣化が小さいと判定し、30
未満の場合には劣化が大きいと判定することにする。
As a measure for measuring the degree of deterioration due to encoding, the PSNR between the decoded image once decoded from the encoded data and the image after applying the filter is used. This value is set to PSNR1. If the value of PSNR1 is 30 or more, it is determined that deterioration due to encoding is small, and 30
If it is less than the above, it is determined that the deterioration is large.

【0039】また、フィルタによる劣化の度合いを計測
する尺度としては、フィルタ適用前の画像と適用後の画
像との間におけるPSNRを用いる。この値をPSNR
2とする。このPSNR2の値が40以上の場合にはフ
ィルタによる劣化が小さいと判定し、40未満の場合に
は劣化が大きいと判定することにする。PSNR1の計
算式は式(3)と同じである。PSNR2の計算式を式
(4)に示す。
As a scale for measuring the degree of deterioration due to the filter, the PSNR between the image before the filter application and the image after the filter application is used. This value is called PSNR
Let it be 2. If the value of PSNR2 is 40 or more, it is determined that the deterioration due to the filter is small, and if it is less than 40, it is determined that the deterioration is large. The equation for calculating PSNR1 is the same as equation (3). The equation for calculating PSNR2 is shown in equation (4).

【0040】[0040]

【数4】 (Equation 4)

【0041】但し、FilterdIm(i,j):横
i,縦jの画素におけるフィルタ適用後の画像、 Im(i,j):横i,縦jの画素におけるフィルタ適
用前の画像、 M:画面の横方向の画素数、 N:画面の縦方向の画素数。
Where FilteredIm (i, j): the image after applying the filter on the pixels in the horizontal i and vertical j, Im (i, j): the image before applying the filter on the pixels in the horizontal i, vertical j, M: the screen N: the number of pixels in the vertical direction of the screen.

【0042】この実施の形態では、符号化による劣化の
度合いが大きい場合に、フィルタによる劣化の度合いを
計測し、フィルタによる劣化の度合いが小さい場合に
は、より多く高周波成分を削除するようにフィルタの周
波数特性を制御するものとする。符号化による劣化の度
合いが大きい場合であっても、フィルタによる劣化の度
合いが大きい場合には、フィルタの周波数特性を変更し
ない。符号化による劣化の度合いが小さい場合に、高周
波成分を削除しないようにフィルタの周波数特性を制御
するものとする。以下、動作について説明する。
In this embodiment, when the degree of deterioration due to encoding is large, the degree of deterioration due to the filter is measured, and when the degree of deterioration due to the filter is small, the filter is designed to delete more high-frequency components. Is controlled. Even when the degree of deterioration due to encoding is large, if the degree of deterioration due to the filter is large, the frequency characteristics of the filter are not changed. When the degree of degradation due to encoding is small, the frequency characteristics of the filter are controlled so as not to remove high frequency components. Hereinafter, the operation will be described.

【0043】フィルタ制御部22はプレフィルタ部12
のフィルタの周波数特性を制御する。周波数特性C2の
フィルタは周波数特性C1のフィルタよりも高周波成分
を多く削除するものとする。初期状態はC1とする。本
実施の形態では、符号化による劣化が大きく、かつフィ
ルタによる劣化が小さい場合にはフィルタの周波数特性
をC2に設定する。符号化による劣化が小さい場合に
は、フィルタの周波数特性をC1に設定するものとす
る。それ以外の場合、即ち、符号化による劣化が大き
く、かつフィルタによる劣化が大きい場合にはフィルタ
の周波数特性を変更しない。
The filter control unit 22 includes the pre-filter unit 12
Control the frequency characteristics of the filter. The filter of the frequency characteristic C2 removes more high frequency components than the filter of the frequency characteristic C1. The initial state is C1. In the present embodiment, when deterioration due to encoding is large and deterioration due to the filter is small, the frequency characteristic of the filter is set to C2. When the deterioration due to the encoding is small, the frequency characteristic of the filter is set to C1. In other cases, that is, when deterioration due to encoding is large and deterioration due to the filter is large, the frequency characteristics of the filter are not changed.

【0044】画像入力部11は1フレーム分の画像情報
を取得し、次のフレームの画像情報を取得するまで画像
情報を保持しているものとする。まず、画像入力部11
から得られた現フレームの画像情報に対して、プレフィ
ルタ部12でフィルタを適用し、帯域制限をする。フィ
ルタ適用後の画像をフィルタ後画像蓄積部13に蓄積す
る。画像符号化部14はフィルタ後画像蓄積部13に蓄
積された画像を入力画像として符号化する。符号化デー
タを局所復号部15にて復号し、復号画像を復号画像蓄
積部16に蓄積する。
It is assumed that the image input unit 11 acquires image information for one frame and holds the image information until image information for the next frame is acquired. First, the image input unit 11
The pre-filter unit 12 applies a filter to the image information of the current frame obtained from, and limits the band. The image after the filter application is stored in the filtered image storage unit 13. The image coding unit 14 codes the image stored in the filtered image storage unit 13 as an input image. The encoded data is decoded by the local decoding unit 15 and the decoded image is stored in the decoded image storage unit 16.

【0045】符号化劣化測定部17はフィルタ後画像蓄
積部13と復号画像蓄積部16に蓄積された画像からP
SNR1を計算する。PSNR1の値が30未満の場
合、帯域制限劣化測定部21は画像入力部11とフィル
タ後画像蓄積部13に蓄積された画像からPSNR2を
計算する。PSNR2の値が40以上の場合には、フィ
ルタ制御部22はプレフィルタ部12で適用するフィル
タの周波数特性をC2に設定する。PSNR2の値が4
0未満の場合には、フィルタ制御部22はフィルタの周
波数特性を現フレームと同じ特性に設定する。PSNR
1の値が30以上の場合には周波数特性をC1に設定す
る。この周波数特性を設定したフィルタを次のフレーム
に適用する。
The encoding deterioration measuring unit 17 calculates P based on the images stored in the filtered image storing unit 13 and the decoded image storing unit 16.
Calculate SNR1. If the value of PSNR1 is less than 30, the band-limit degradation measuring unit 21 calculates PSNR2 from the images stored in the image input unit 11 and the filtered image storage unit 13. When the value of PSNR2 is 40 or more, the filter control unit 22 sets the frequency characteristic of the filter applied by the pre-filter unit 12 to C2. When the value of PSNR2 is 4
If it is less than 0, the filter control unit 22 sets the frequency characteristics of the filter to the same characteristics as the current frame. PSNR
If the value of 1 is 30 or more, the frequency characteristic is set to C1. The filter in which this frequency characteristic is set is applied to the next frame.

【0046】第2の実施の形態のように、復号画像とフ
ィルタ適用後の画像を比較し、さらにフィルタ適用前と
適用後の画像を比較することによって、符号化による劣
化の度合いだけではなく、フィルタによる劣化の度合い
を測定することができる。これらの度合いに従ってフィ
ルタの周波数特性を制御することによって、次のフレー
ムにおいて、符号化による劣化が少ないだけではなく、
フィルタによる低周波成分の削除を避けた符号化データ
を得ることができる。
As in the second embodiment, the decoded image is compared with the image after the filter is applied, and the image before and after the filter is applied is compared. The degree of deterioration by the filter can be measured. By controlling the frequency characteristics of the filter according to these degrees, not only is there little degradation due to coding in the next frame, but also
It is possible to obtain encoded data in which low-frequency components are not deleted by the filter.

【0047】上記第2の実施の形態では、C1とC2を
切り替える目安として、PSNR1とPSNR2の値が
それぞれ30と40の場合を示したが、これは一例であ
り、画像の性質に応じて他の適切な値が取られる場合も
ある。また、フィルタの周波数特性としてC1とC2の
2種類のみ切り替える場合を示したが、高周波成分の削
除特性が異なるフィルタを3種類以上設け、PSNR1
とPSNR2の値に応じて高周波成分の削除の程度をよ
り細かく変更しても良い。
In the second embodiment, the case where the values of PSNR1 and PSNR2 are 30 and 40, respectively, is shown as a guide for switching between C1 and C2. However, this is an example, and other values may be used depending on the properties of the image. In some cases, an appropriate value is taken. Also, the case where only two types of filters, C1 and C2, are switched as the frequency characteristics of the filter has been described.
And the degree of high-frequency component deletion may be changed more finely in accordance with the values of PSNR2 and PSNR2.

【0048】図5は本発明の第3の実施の形態を示すも
ので、ここでは第2の実施の形態と同様に、符号化によ
る劣化の度合いとフィルタによる劣化の度合いとからフ
ィルタの周波数特性を制御するとともに、第2の実施の
形態と異なり、符号化による劣化の度合いが大きい場合
には制御したフィルタを現フレームの画像に対して適用
する。即ち、周波数特性を制御したフィルタを現フレー
ムの画像に適用するか、次フレームの画像に適用するか
を判断して、現フレームまたは次フレームの画像にフィ
ルタを適用する。現フレームの画像に適用した場合に
は、再度現フレームの符号化を行う。
FIG. 5 shows a third embodiment of the present invention. Here, as in the second embodiment, the frequency characteristic of the filter is determined from the degree of deterioration due to coding and the degree of deterioration due to the filter. Is controlled and, unlike the second embodiment, when the degree of deterioration due to encoding is large, the controlled filter is applied to the image of the current frame. That is, it is determined whether the filter whose frequency characteristic is controlled is applied to the image of the current frame or the image of the next frame, and the filter is applied to the image of the current frame or the next frame. When applied to the image of the current frame, the encoding of the current frame is performed again.

【0049】図5において、第1、第2の実施の形態と
同一構成部分は同一符号をもって表す。即ち、11は画
像入力部、12はプレフィルタ部、13はフィルタ後画
像蓄積部、14は画像符号化部、15は局所復号部、1
6は復号画像蓄積部、17は符号化劣化測定部、21は
帯域制限劣化測定部、22はフィルタ制御部、31は入
力画像選択部、32は画像選択手段、33は前画像蓄積
部、34は符号化データ蓄積部、35は符号化データ選
択手段である。
In FIG. 5, the same components as those of the first and second embodiments are denoted by the same reference numerals. That is, 11 is an image input unit, 12 is a pre-filter unit, 13 is a filtered image storage unit, 14 is an image encoding unit, 15 is a local decoding unit, 1
6 is a decoded image storage unit, 17 is an encoding deterioration measurement unit, 21 is a band limit deterioration measurement unit, 22 is a filter control unit, 31 is an input image selection unit, 32 is an image selection unit, 33 is a previous image storage unit, 34 Denotes an encoded data storage unit, and 35 denotes encoded data selection means.

【0050】第2の実施の形態と同様に、符号化による
劣化の度合いを計測する尺度としては、符号化データを
一旦復号した復号画像とフィルタ適用後の画像との間に
おけるPSNR1を用い、フィルタによる劣化の度合い
を計測する尺度としては、フィルタ適用前の画像と適用
後の画像との間におけるPSNR2を用いる。
As in the second embodiment, as a scale for measuring the degree of deterioration due to encoding, the PSNR1 between the decoded image obtained by temporarily decoding the encoded data and the image to which the filter has been applied is used. As a scale for measuring the degree of deterioration due to, the PSNR2 between the image before applying the filter and the image after applying the filter is used.

【0051】フィルタの周波数特性の制御方法は第2の
実施の形態の場合と同様である。以下、動作について説
明する。
The control method of the frequency characteristic of the filter is the same as that of the second embodiment. Hereinafter, the operation will be described.

【0052】画像入力部11は1フレーム分の画像情報
を取得し、次のフレームの画像情報を取得するまで画像
情報を保持しているものとする。まず、画像入力部11
が現フレームの画像を取得する際には、前画像蓄積部3
3には画像入力部11に蓄積されている前フレームの画
像を蓄積する。画像入力部11から得られた現フレーム
の画像情報に対して、プレフィルタ部12でフィルタを
適用し、帯域制限をする。フィルタ適用後の画像をフィ
ルタ後画像蓄積部13に蓄積する。画像符号化部14は
フィルタ後画像蓄積部13に蓄積された画像を入力画像
として符号化する。符号化データを局所復号部15にて
復号し、復号画像を復号画像蓄積部16に蓄積する。符
号化データは符号化データ蓄積部34に蓄積される。
It is assumed that the image input unit 11 acquires image information for one frame and holds the image information until image information for the next frame is acquired. First, the image input unit 11
When acquiring the image of the current frame, the previous image storage unit 3
3 stores the image of the previous frame stored in the image input unit 11. The pre-filter unit 12 applies a filter to the image information of the current frame obtained from the image input unit 11 to limit the band. The image after applying the filter is stored in the filtered image storage unit 13. The image coding unit 14 codes the image stored in the filtered image storage unit 13 as an input image. The encoded data is decoded by the local decoding unit 15, and the decoded image is stored in the decoded image storage unit 16. The encoded data is stored in the encoded data storage unit 34.

【0053】符号化劣化測定部17はフィルタ後画像蓄
積部13と復号画像蓄積部16に蓄積された画像からP
SNR1を計算する。PSNR1の値が30未満の場
合、帯域制限劣化測定部21は画像入力部11とフィル
タ後画像蓄積部13に蓄積された画像からPSNR2を
計算する。PSNR2の値が40以上の場合には、フィ
ルタ制御部22はプレフィルタ部12で適用するフィル
タの周波数特性をC2に設定する。PSNR2の値が4
0未満の場合には、フィルタ制御部22はフィルタの周
波数特性を現フレームと同じ特性に設定する。PSNR
1の値が30以上の場合には周波数特性をC1に設定す
る。
The coding deterioration measuring section 17 calculates P based on the images stored in the filtered image storing section 13 and the decoded image storing section 16.
Calculate SNR1. If the value of PSNR1 is less than 30, the band-limit degradation measuring unit 21 calculates PSNR2 from the images stored in the image input unit 11 and the filtered image storage unit 13. When the value of PSNR2 is 40 or more, the filter control unit 22 sets the frequency characteristic of the filter applied by the pre-filter unit 12 to C2. When the value of PSNR2 is 4
If it is less than 0, the filter control unit 22 sets the frequency characteristics of the filter to the same characteristics as the current frame. PSNR
If the value of 1 is 30 or more, the frequency characteristic is set to C1.

【0054】ここで、PSNR1の値が30以上の場
合、入力画像選択部31は画像選択手段32を変更し、
次にフィルタを適用する画像を画像入力部11の画像に
設定する。同時に符号化データ選択手段35を変更し、
符号化データ蓄積部34に蓄積された符号化データを出
力するように設定する。入力画像選択部31が、フィル
タを適用する画像を画像入力部11の画像に設定してい
るため、画像入力部11は次のフレームの画像を取得す
る。画像入力部11に蓄積されている次のフレームの画
像にフィルタを適用し、フィルタ適用後の画像を符号化
する。
Here, when the value of PSNR1 is 30 or more, the input image selecting section 31 changes the image selecting means 32,
Next, the image to which the filter is applied is set as the image of the image input unit 11. At the same time, the encoded data selection means 35 is changed,
The setting is made so that the encoded data stored in the encoded data storage unit 34 is output. Since the input image selection unit 31 has set the image to which the filter is applied as the image of the image input unit 11, the image input unit 11 acquires the image of the next frame. The filter is applied to the image of the next frame stored in the image input unit 11, and the image after the filter application is encoded.

【0055】即ち、符号化による劣化が小さい場合に
は、符号化データを出力し、次のフレームの画像にフィ
ルタを適用して符号化する。
That is, when the deterioration due to the encoding is small, the encoded data is output, and the image of the next frame is encoded by applying a filter.

【0056】また、PSNR1の値が30未満でPSN
R2の値が40以上の場合には、入力画像選択部31は
画像選択手段32を変更し、次にフィルタを適用する画
像を前画像蓄積部33の画像に設定する。同時に符号化
データ選択手段35を変更し、符号化データ蓄積部34
に蓄積された符号化データを出力しないように設定す
る。入力画像選択部31が、フィルタを適用する画像を
前画像蓄積部33の画像に設定しているため、画像入力
部11は次のフレームの画像を取得しない。前画像蓄積
部33は画像入力部11に蓄積されている現フレームの
画像を蓄積する。前画像蓄積部33に蓄積されている現
フレームの画像にフィルタを適用し、フィルタ適用後の
画像を符号化する。
If the value of PSNR1 is less than 30, the PSN
When the value of R2 is 40 or more, the input image selection unit 31 changes the image selection unit 32, and sets the image to which the filter is next applied to the image of the previous image storage unit 33. At the same time, the coded data selection means 35 is changed and the coded data storage section 34 is changed.
Is set so as not to output the coded data stored in. Since the input image selection unit 31 sets the image to which the filter is applied as the image of the previous image storage unit 33, the image input unit 11 does not acquire the image of the next frame. The previous image storage unit 33 stores the image of the current frame stored in the image input unit 11. A filter is applied to the current frame image stored in the previous image storage unit 33, and the image after the filter application is encoded.

【0057】即ち、符号化による劣化が大きい場合であ
って、フィルタによる劣化が小さい場合には、符号化デ
ータを出力せず、現フレームの画像にフィルタを適用し
て符号化する。
That is, when the deterioration due to the coding is large and the deterioration due to the filter is small, the coded data is not output, and the current frame image is coded by applying the filter.

【0058】また、PSNR1の値が30未満でPSN
R2の値が40未満の場合には、入力画像選択部31は
画像選択手段32を変更し、次にフィルタを適用する画
像を画像入力部11の画像に設定する。同時に符号化デ
ータ選択手段35を変更し、符号化データ蓄積部34に
蓄積された符号化データを出力するように設定する。入
力画像選択部31が、フィルタを適用する画像を画像入
力部11の画像に設定しているため、画像入力部11は
次のフレームの画像を取得する。画像入力部11に蓄積
されている次のフレームの画像にフィルタを適用し、フ
ィルタ適用後の画像を符号化する。
When the value of PSNR1 is less than 30, PSN
When the value of R2 is less than 40, the input image selection unit 31 changes the image selection unit 32, and sets the image to which the filter is to be applied next to the image of the image input unit 11. At the same time, the coded data selection means 35 is changed so that the coded data stored in the coded data storage unit 34 is output. Since the input image selection unit 31 has set the image to which the filter is applied as the image of the image input unit 11, the image input unit 11 acquires the image of the next frame. The filter is applied to the image of the next frame stored in the image input unit 11, and the image after the filter application is encoded.

【0059】即ち、符号化による劣化が大きい場合であ
っても、フィルタによる劣化が大きい場合には、符号化
データを出力し、次のフレームの画像にフィルタを適用
して符号化する。
That is, even when the deterioration due to the encoding is large, when the deterioration due to the filter is large, the encoded data is output, and the image of the next frame is encoded by applying the filter.

【0060】第3の実施の形態では、符号化による劣化
の度合いが大きい場合には、周波数特性を制御したフィ
ルタを次のフレームの画像に適用して符号化するのか、
制御したフィルタを現フレームに適用して再度符号化す
るのかを判断する。これにより、符号化による劣化の度
合いの大きいフレームに対して、より高周波成分を削除
するフィルタを適用して再度符号化することが可能とな
る。
In the third embodiment, when the degree of deterioration due to coding is large, whether to apply a filter whose frequency characteristic is controlled to the image of the next frame and perform coding.
It is determined whether to apply the controlled filter to the current frame and encode again. This makes it possible to apply a filter for removing higher frequency components to a frame having a high degree of deterioration due to encoding, and encode the frame again.

【0061】また、第3の実施の形態では、符号化によ
る劣化とフィルタによる劣化の度合いの両方を用いてフ
ィルタの周波数特性を変更したが、符号化による劣化の
度合いのみ用いて周波数特性を変更しても良い。
In the third embodiment, the frequency characteristic of the filter is changed using both the degree of deterioration due to coding and the degree of deterioration due to the filter. However, the frequency characteristic is changed using only the degree of deterioration due to coding. You may.

【0062】上記第3の実施の形態では、C1とC2を
切り替える目安として、PSNR1とPSNR2の値が
それぞれ30と40の場合を示したが、これは一例であ
り、画像の性質に応じて他の適切な値が取られる場合も
ある。また、フィルタの周波数特性としてC1とC2の
2種類のみ切り替える場合を示したが、高周波成分の削
除特性が異なるフィルタを3種類以上設け、PSNR1
とPSNR2の値に応じて高周波成分の削除の程度をよ
り細かく変更しても良い。
In the third embodiment, the case where the values of PSNR1 and PSNR2 are 30 and 40, respectively, is shown as a guide for switching between C1 and C2. However, this is an example, and other values may be used depending on the properties of the image. In some cases, an appropriate value is taken. Also, the case where only two types of filters, C1 and C2, are switched as the frequency characteristics of the filter has been described.
And the degree of high-frequency component deletion may be changed more finely in accordance with the values of PSNR2 and PSNR2.

【0063】[0063]

【発明の効果】以上説明したように、本発明によれば、
符号化による各フレームの復号画像の劣化の度合いやフ
ィルタによる入力画像の劣化の度合いを測定し、これら
の劣化の度合いを用いて入力画像のフィルタの制御を行
う。これにより、符号化による各フレームの復号画像の
劣化の度合いを制御することが可能である。また、周波
数特性を制御したフィルタを次のフレームに適用するの
ではなく、現フレームに適用することによって、現フレ
ームにおいて発生する、符号化による劣化を小さくする
ことが可能となる。
As described above, according to the present invention,
The degree of deterioration of the decoded image of each frame due to encoding and the degree of deterioration of the input image due to the filter are measured, and the filter of the input image is controlled using the degree of deterioration. This makes it possible to control the degree of deterioration of the decoded image of each frame due to encoding. In addition, by applying the filter whose frequency characteristic is controlled to the current frame instead of applying the filter to the next frame, it is possible to reduce the degradation caused by encoding that occurs in the current frame.

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

【図1】空間フィルタの一例を示す説明図FIG. 1 is an explanatory diagram showing an example of a spatial filter.

【図2】時間フィルタの一例を示す説明図FIG. 2 is an explanatory diagram showing an example of a time filter.

【図3】本発明の第1の実施の形態を示す構成図FIG. 3 is a configuration diagram showing a first embodiment of the present invention.

【図4】本発明の第2の実施の形態を示す構成図FIG. 4 is a configuration diagram showing a second embodiment of the present invention.

【図5】本発明の第3の実施の形態を示す構成図FIG. 5 is a configuration diagram showing a third embodiment of the present invention.

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

11:画像入力部、12:プレフィルタ部、13:フィ
ルタ後画像蓄積部、14:画像符号化部、15:局所復
号部、16:復号画像蓄積部、17:符号化劣化測定
部、18,22:フィルタ制御部、21:帯域制限劣化
測定部、31:入力画像選択部、32:画像選択手段、
33:前画像蓄積部、34:符号化データ蓄積部、3
5:符号化データ選択手段。
11: image input unit, 12: pre-filter unit, 13: filtered image storage unit, 14: image coding unit, 15: local decoding unit, 16: decoded image storage unit, 17: coding deterioration measurement unit, 18, 22: Filter control unit, 21: Band limit deterioration measuring unit, 31: Input image selecting unit, 32: Image selecting unit,
33: previous image storage unit, 34: encoded data storage unit, 3
5: Coded data selection means.

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C021 PA18 PA34 PA38 PA58 PA62 PA72 PA74 PA79 RB00 RB05 RC01 SA24 XB02 YA00 YC08 YC09 5C059 KK01 KK04 KK23 LA00 MA00 MA05 PP04 SS20 TA69 TB07 TC08 TC33 TD01 TD04 TD05 UA12 UA34 5J064 AA01 BB14 BC01 BC02 BC11 BC18 BC29 BD03 BD04  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5C021 PA18 PA34 PA38 PA58 PA62 PA72 PA74 PA79 RB00 RB05 RC01 SA24 XB02 YA00 YC08 YC09 5C059 KK01 KK04 KK23 LA00 MA00 MA05 PP04 SS20 TA69 TB07 TC08 TC33 TD01 TD04 TD05 TD05 UA05 BC01 BC02 BC11 BC18 BC29 BD03 BD04

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 画像の帯域を制限し、その画像を符号化
する動画像の符号化装置であって、 画像を取得する画像入力部と、 画像の帯域を制限するプレフィルタ部と、 帯域を制限した画像を蓄積するフィルタ後画像蓄積部
と、 画像を符号化する画像符号化部と、 符号化データを復号する局所復号部と、 復号画像を蓄積する復号画像蓄積部と、 前記フィルタ後画像蓄積部に蓄積された画像と、前記復
号画像蓄積部に蓄積された画像とから符号化による劣化
の度合いを測定する符号化劣化測定部と、 符号化による劣化の度合いからプレフィルタ部の周波数
特性を制御するフィルタ制御部とを備えたことを特徴と
する画像符号化装置。
1. A moving picture coding apparatus for limiting a band of an image and coding the image, comprising: an image input unit for acquiring an image; a pre-filter unit for limiting a band of the image; A filtered image storage unit for storing the restricted image, an image coding unit for coding the image, a local decoding unit for decoding coded data, a decoded image storage unit for storing the decoded image, and the filtered image A coding deterioration measuring unit that measures the degree of deterioration due to coding from the image stored in the storage unit and the image stored in the decoded image storing unit; and a frequency characteristic of the pre-filter unit based on the degree of deterioration due to coding. And a filter control unit for controlling the image coding.
【請求項2】 画像の帯域を制限し、その画像を符号化
する動画像の符号化装置であって、 画像を取得する画像入力部と、 画像の帯域を制限するプレフィルタ部と、 帯域を制限した画像を蓄積するフィルタ後画像蓄積部
と、 画像を符号化する画像符号化部と、 符号化データを復号する局所復号部と、 復号画像を蓄積する復号画像蓄積部と、 前記フィルタ後画像蓄積部に蓄積された画像と、前記復
号画像蓄積部に蓄積された画像とから符号化による劣化
の度合いを測定する符号化劣化測定部と、 前記画像入力部で取得される画像と、前記フィルタ後画
像蓄積部に蓄積された画像とからフィルタによる劣化の
度合いを測定する帯域制限劣化測定部と、 符号化による劣化の度合いと、フィルタによる劣化の度
合いとからプレフィルタ部の周波数特性を制御するフィ
ルタ制御部とを備えたことを特徴とする画像符号化装
置。
2. A moving picture coding apparatus for limiting a band of an image and coding the image, comprising: an image input unit for acquiring an image; a pre-filter unit for limiting a band of the image; A filtered image storage unit for storing the restricted image, an image coding unit for coding the image, a local decoding unit for decoding coded data, a decoded image storage unit for storing the decoded image, and the filtered image An image stored in a storage unit, an encoding deterioration measurement unit that measures the degree of deterioration due to coding from the image stored in the decoded image storage unit, an image acquired by the image input unit, and the filter A band-limited degradation measuring unit that measures the degree of degradation due to the filter from the image stored in the post-image storage unit; and a frequency of the pre-filter unit based on the degree of degradation due to the encoding and the degree of degradation due to the filter. An image encoding device, comprising: a filter control unit that controls characteristics.
【請求項3】 請求項1または2に記載の画像符号化装
置において、フィルタ制御部で周波数特性を制御したプ
レフィルタ部を、現フレームの画像に適用するのか、次
フレームに適用するのかを選択する入力画像選択部を備
えたことを特徴とする画像符号化装置。
3. The image coding apparatus according to claim 1, wherein the pre-filter unit whose frequency characteristics are controlled by the filter control unit is selected to be applied to an image of a current frame or to a next frame. An image encoding apparatus comprising:
【請求項4】 画像の帯域を制限し、その画像を符号化
する動画像の符号化方法であって、 画像を取得する画像入力ステップと、 画像の帯域を制限するプレフィルタステップと、 帯域を制限した画像を蓄積するフィルタ後画像蓄積ステ
ップと、 画像を符号化する画像符号化ステップと、 符号化データを復号する局所復号ステップと、 復号画像を蓄積する復号画像蓄積ステップと、 前記フィルタ後画像蓄積ステップにて蓄積された画像
と、前記復号画像蓄積ステップにて蓄積された画像とか
ら符号化による劣化の度合いを測定する符号化劣化測定
ステップと、 符号化による劣化の度合いからプレフィルタステップの
周波数特性を制御するフィルタ制御ステップとを備えた
ことを特徴とする画像符号化方法。
4. A moving picture coding method for limiting a band of an image and coding the image, comprising: an image inputting step of acquiring an image; a pre-filtering step of limiting a band of the image; A filtered image storing step of storing the restricted image, an image coding step of coding the image, a local decoding step of decoding coded data, a decoded image storing step of storing a decoded image, and the filtered image A coding deterioration measuring step of measuring the degree of deterioration due to coding from the image stored in the storing step and the image stored in the decoded image storing step; and a pre-filtering step based on the degree of deterioration due to coding. A filter control step of controlling frequency characteristics.
【請求項5】 画像の帯域を制限し、その画像を符号化
する動画像の符号化方法であって、 画像を取得する画像入力ステップと、 画像の帯域を制限するプレフィルタステップと、 帯域を制限した画像を蓄積するフィルタ後画像蓄積ステ
ップと、 画像を符号化する画像符号化ステップと、 符号化データを復号する局所復号ステップと、 復号画像を蓄積する復号画像蓄積ステップと、 前記フィルタ後画像蓄積ステップにて蓄積された画像
と、前記復号画像蓄積ステップにて蓄積された画像とか
ら符号化による劣化の度合いを測定する符号化劣化測定
ステップと、 前記画像入力ステップで取得される画像と、前記フィル
タ後画像蓄積ステップにて蓄積された画像とからフィル
タによる劣化の度合いを測定する帯域制限劣化測定ステ
ップと、 符号化による劣化の度合いと、フィルタによる劣化の度
合いとからプレフィルタステップの周波数特性を制御す
るフィルタ制御ステップとを備えたことを特徴とする画
像符号化方法。
5. A moving image coding method for limiting a band of an image and coding the image, comprising: an image inputting step of acquiring an image; a pre-filtering step of limiting a band of the image; A filtered image storing step of storing the restricted image, an image coding step of coding the image, a local decoding step of decoding coded data, a decoded image storing step of storing a decoded image, and the filtered image An image stored in the storing step, an encoding deterioration measuring step of measuring a degree of deterioration due to coding from the image stored in the decoded image storing step, and an image acquired in the image input step; A band-limited deterioration measuring step of measuring the degree of deterioration by the filter from the image stored in the filtered image storing step; An image coding method, comprising: a filter control step of controlling a frequency characteristic of a pre-filter step based on a degree of deterioration due to image formation and a degree of deterioration due to a filter.
【請求項6】 請求項4または5に記載の画像符号化方
法において、フィルタ制御ステップで周波数特性を制御
したプレフィルタステップを、現フレームの画像に適用
するのか、次フレームに適用するのかを選択する入力画
像選択ステップを備えたことを特徴とする画像符号化方
法。
6. The image coding method according to claim 4, wherein the pre-filter step of controlling the frequency characteristics in the filter control step is applied to an image of a current frame or to a next frame. An image encoding method, comprising:
【請求項7】 画像の帯域を制限し、その画像を符号化
する動画像の符号化プログラムを記憶した媒体であっ
て、 前記プログラムはコンピュータに読み取られた際、該コ
ンピュータに、 画像を取得する画像入力ステップと、 画像の帯域を制限するプレフィルタステップと、 帯域を制限した画像を蓄積するフィルタ後画像蓄積ステ
ップと、 画像を符号化する画像符号化ステップと、 符号化データを復号する局所復号ステップと、 復号画像を蓄積する復号画像蓄積ステップと、 前記フィルタ後画像蓄積ステップにて蓄積された画像
と、前記復号画像蓄積ステップにて蓄積された画像とか
ら符号化による劣化の度合いを測定する符号化劣化測定
ステップと、 符号化による劣化の度合いからプレフィルタステップの
周波数特性を制御するフィルタ制御ステップとからなる
処理を実行させることを特徴とする画像符号化プログラ
ムを記憶した媒体。
7. A medium storing a moving image encoding program for limiting a band of an image and encoding the image, wherein the computer reads the image when the program is read by the computer. An image input step, a pre-filter step for limiting an image band, a filtered image storage step for storing an image with a limited band, an image encoding step for encoding an image, and a local decoding for decoding encoded data Measuring the degree of deterioration due to coding from the decoded image storing step of storing the decoded image, the image stored in the filtered image storing step, and the image stored in the decoded image storing step. A filter that controls the frequency characteristics of the pre-filter step based on the degree of degradation due to encoding and an encoding degradation measurement step A medium storing an image encoding program for executing a process including a control step.
【請求項8】 画像の帯域を制限し、その画像を符号化
する動画像の符号化プログラムを記憶した媒体であっ
て、 前記プログラムはコンピュータに読み取られた際、該コ
ンピュータに、 画像を取得する画像入力ステップと、 画像の帯域を制限するプレフィルタステップと、 帯域を制限した画像を蓄積するフィルタ後画像蓄積ステ
ップと、 画像を符号化する画像符号化ステップと、 符号化データを復号する局所復号ステップと、 復号画像を蓄積する復号画像蓄積ステップと、 前記フィルタ後画像蓄積ステップにて蓄積された画像
と、前記復号画像蓄積ステップにて蓄積された画像とか
ら符号化による劣化の度合いを測定する符号化劣化測定
ステップと、 前記画像入力ステップで取得される画像と、前記フィル
タ後画像蓄積ステップにて蓄積された画像とからフィル
タによる劣化の度合いを測定する帯域制限劣化測定ステ
ップと、 符号化による劣化の度合いと、フィルタによる劣化の度
合いとからプレフィルタステップの周波数特性を制御す
るフィルタ制御ステップとからなる処理を実行させるこ
とを特徴とする画像符号化プログラムを記憶した媒体。
8. A medium storing a moving image encoding program for limiting a band of an image and encoding the image, wherein the computer reads the image when the computer reads the program. An image input step, a pre-filter step for limiting an image band, a filtered image storage step for storing an image with a limited band, an image encoding step for encoding an image, and a local decoding for decoding encoded data Measuring the degree of deterioration due to coding from the decoded image storing step of storing the decoded image, the image stored in the filtered image storing step, and the image stored in the decoded image storing step. An encoding deterioration measuring step, an image acquired in the image input step, and accumulation in the filtered image accumulation step A band-limited degradation measuring step of measuring the degree of degradation due to the filter from the obtained image, and a filter control step of controlling the frequency characteristic of the pre-filter step based on the degree of degradation due to the encoding and the degree of degradation due to the filter. A medium storing an image encoding program for executing processing.
【請求項9】 請求項7または8に記載の画像符号化プ
ログラムを記憶した媒体において、フィルタ制御ステッ
プで周波数特性を制御したプレフィルタステップを、現
フレームの画像に適用するのか、次フレームに適用する
のかを選択する入力画像選択ステップを備えたことを特
徴とする画像符号化プログラムを記憶した媒体。
9. A medium storing the image encoding program according to claim 7 or 8, wherein a pre-filter step of controlling frequency characteristics in the filter control step is applied to an image of a current frame or to a next frame. A medium storing an image encoding program, comprising: an input image selecting step of selecting whether to perform the operation.
JP2000056164A 2000-03-01 2000-03-01 Image coder, image coding method and medium storing image coding program Pending JP2001245298A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000056164A JP2001245298A (en) 2000-03-01 2000-03-01 Image coder, image coding method and medium storing image coding program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000056164A JP2001245298A (en) 2000-03-01 2000-03-01 Image coder, image coding method and medium storing image coding program

Publications (1)

Publication Number Publication Date
JP2001245298A true JP2001245298A (en) 2001-09-07

Family

ID=18577165

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000056164A Pending JP2001245298A (en) 2000-03-01 2000-03-01 Image coder, image coding method and medium storing image coding program

Country Status (1)

Country Link
JP (1) JP2001245298A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002152758A (en) * 2000-11-10 2002-05-24 Nippon Telegr & Teleph Corp <Ntt> Image coder and image coding method
JP2008135977A (en) * 2006-11-28 2008-06-12 Ntt Docomo Inc Pictorial image adjusting amount determining device, method and program, and pictorial image processing device
JP2009027610A (en) * 2007-07-23 2009-02-05 Nippon Telegr & Teleph Corp <Ntt> Moving image coding method, scalable moving image coding method, moving image coding apparatus, scalable moving image coding apparatus, program thereof and computer readable recording medium with the program recorded thereon
JP2012231526A (en) * 2009-04-20 2012-11-22 Dolby Lab Licensing Corp Method and filter selector for selecting pre-processing filter

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002152758A (en) * 2000-11-10 2002-05-24 Nippon Telegr & Teleph Corp <Ntt> Image coder and image coding method
JP2008135977A (en) * 2006-11-28 2008-06-12 Ntt Docomo Inc Pictorial image adjusting amount determining device, method and program, and pictorial image processing device
US8150194B2 (en) 2006-11-28 2012-04-03 Ntt Docomo, Inc. Image adjustment amount determination device, image adjustment amount determination method, image adjustment amount determination program, and image processing device
JP2009027610A (en) * 2007-07-23 2009-02-05 Nippon Telegr & Teleph Corp <Ntt> Moving image coding method, scalable moving image coding method, moving image coding apparatus, scalable moving image coding apparatus, program thereof and computer readable recording medium with the program recorded thereon
JP4709189B2 (en) * 2007-07-23 2011-06-22 日本電信電話株式会社 Scalable video encoding method, scalable video encoding device, program thereof, and computer-readable recording medium recording the program
JP2012231526A (en) * 2009-04-20 2012-11-22 Dolby Lab Licensing Corp Method and filter selector for selecting pre-processing filter

Similar Documents

Publication Publication Date Title
JP4372197B2 (en) Image encoding apparatus and image decoding apparatus
JP4666411B2 (en) Image decoding method and image decoding apparatus
US20090304086A1 (en) Method and system for video coder and decoder joint optimization
KR100522938B1 (en) Apparatus for removing block artifacts and a removing method using the same and display having a apparatus for removing block artifacts
JP3648446B2 (en) Image coding apparatus and image coding method
Tai et al. Low complexity deblocking method for DCT coded video signals
JP2002077909A (en) Image encoder and image encoding method amd medium recording program describing the method
JP2001245298A (en) Image coder, image coding method and medium storing image coding program
KR20060127158A (en) Ringing artifact reduction for compressed video applications
JPH0818957A (en) Automatic threshold setting method for conditional filter and its decoding method
JPH10108197A (en) Image coder, image coding control method, and medium storing image coding control program
JP2007020216A (en) Encoding apparatus, encoding method, filtering apparatus and filtering method
JPH08191444A (en) Video signal decoder
KR100464000B1 (en) Blocking phenomenon eliminating method for video coder
KR100213025B1 (en) Circuit for improving picture quality in image signal processing apparatus
JPH0750837A (en) Motion picture coder
JPH10164578A (en) Image encoder and encoder
JPH0898178A (en) Picture encoding device
JP2006166103A (en) Moving picture encoder, method thereof, program thereof, and storage medium thereof
JP2006166104A (en) Moving picture encoder, method thereof, program thereof, and storage medium thereof
GOTO et al. A Deblocking Method using Wavelet Transform for MPEG-II format
JPH0738900A (en) Dynamic image encoding device
JP2007006533A (en) Encoding apparatus, encoding method, filter processing apparatus and filter processing method
KR20050079690A (en) Method for filtering