JPH0818957A - Automatic threshold setting method for conditional filter and its decoding method - Google Patents

Automatic threshold setting method for conditional filter and its decoding method

Info

Publication number
JPH0818957A
JPH0818957A JP14681394A JP14681394A JPH0818957A JP H0818957 A JPH0818957 A JP H0818957A JP 14681394 A JP14681394 A JP 14681394A JP 14681394 A JP14681394 A JP 14681394A JP H0818957 A JPH0818957 A JP H0818957A
Authority
JP
Japan
Prior art keywords
image
threshold value
threshold
filter
conditional
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.)
Granted
Application number
JP14681394A
Other languages
Japanese (ja)
Other versions
JP2813548B2 (en
Inventor
Tan Chiyon Shiyuu
タン・チョン シュー
Mei Shien Shien
メイ・シェン シェン
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP14681394A priority Critical patent/JP2813548B2/en
Publication of JPH0818957A publication Critical patent/JPH0818957A/en
Application granted granted Critical
Publication of JP2813548B2 publication Critical patent/JP2813548B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Picture Signal Circuits (AREA)
  • Television Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Abstract

PURPOSE:To provide an automatic threshold setting method for a conditional filter with flexibility in the setting of the threshold value of the conditional filter and capable of obtaining the optimum picture quality without depending on an encoding method, bit transmission speed and video sequence and its decoding method. CONSTITUTION:An error image can be obtained by taking difference between a local decoded image stored in local decoding frame memory 7 and a video image stored in reference frame memory 9. Threshold value calculation routine 8 to obtain the threshold value of the conditional filter used for the elimination of the noise of a decoded image by obtaining the histogram of the error image and the cutoff point of the histogram by using the ratio of an error picture element in the local decoded image to be filtered decided in advance is provided.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ディジタル記憶及び送
信媒体のための符号化ビデオ信号の品質向上に関し、特
に低ビット伝送速度符号化を経る画像の品質向上を実現
する条件付フィルタの自動閾値設定方法及びその復号方
法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to improving the quality of coded video signals for digital storage and transmission media, and more particularly to automatic thresholding of conditional filters for improving the quality of images undergoing low bit rate coding. The present invention relates to a setting method and its decoding method.

【0002】[0002]

【従来の技術】ビデオ信号の帯域幅圧縮は最近、多くの
活発な研究や標準化努力を引き付け、異なるビット伝送
速度の様々なビデオ信号形式のディジタル符号化のた
め、多くの手法が探索されている。
BACKGROUND OF THE INVENTION Bandwidth compression of video signals has recently attracted much active research and standardization efforts, and many techniques are being explored for digital encoding of various video signal formats at different bit rates. .

【0003】低ビット伝送速度符号化では、離散コサイ
ン変換(DCT)やウェーブレット変換のような現在の
既存の波形ベース符号化手法で良好な画質をもたらすこ
とはできない。ビット伝送速度が低い場合、ブロック
歪、コロナノイズ(DCTによる)、リンギング(ウェ
ーブレット符号化による)により復号画像は重大な画像
の損傷を受ける。従って画像フィルタなどの後処理手法
が、そのようなノイズを除去して受け入れ可能な画質を
もたらすために重要になる。
At low bit rate coding, current existing waveform-based coding techniques such as the Discrete Cosine Transform (DCT) and Wavelet Transform cannot provide good image quality. At low bit rates, the decoded image suffers severe image damage due to block distortion, corona noise (due to DCT) and ringing (due to wavelet coding). Therefore, post-processing techniques such as image filters are important to remove such noise and provide acceptable image quality.

【0004】メジアンフィルタや平均フィルタなどの画
像フィルタでは、フィルタが不必要なノイズを知的に除
去し、画像のオリジナル部分を保持できるように特定の
条件を課すことが重要である。そのような条件を課すフ
ィルタ手法は条件付フィルタ手法と呼ばれる。
In image filters such as median filters and averaging filters, it is important to impose certain conditions so that the filter can intelligently remove unwanted noise and retain the original portion of the image. A filtering technique that imposes such a condition is called a conditional filtering technique.

【0005】例えば、特定画素に対する3x3マトリッ
クスの平均フィルタの条件付フィルタ手法では、近傍の
8つの画素の平均値を最初に得て、前述の特定画素と比
較する。平均値と特定画素の間の差が特定の閾値より小
さい場合は、平均値を特定画素と置換する。この種の条
件付フィルタは不必要なノイズを知的に除去し、オリジ
ナルの高度の詳細をそつなく維持できる。
For example, in the conditional filtering method of a 3 × 3 matrix averaging filter for a specific pixel, the average value of eight neighboring pixels is first obtained and compared with the above-described specific pixel. If the difference between the average value and the specific pixel is less than the specific threshold, replace the average value with the specific pixel. This kind of defensive filter intelligently removes unwanted noise and maintains the original high level of detail.

【0006】しかし条件付フィルタ手法では、適切な閾
値を選択することが常に最も困難な課題の1つであっ
た。本発明の発明者らは、この閾値が符号化手法、符号
化ビット伝送速度、更にビデオシーケンスに依存するこ
とを見いだした。適切な閾値は縁部などの詳細を維持
し、不必要なノイズを除去する。閾値は大きく設定し過
ぎると縁部などの詳細を破壊するのに対し、低すぎると
ノイズの一部を除去しなくなる。現在この閾値は手動な
いし経験的に選ばれており、ビット伝送速度やビデオシ
ーケンスに関わりなく全符号化過程に付いて通常固定さ
れている。
However, in the conditional filtering method, selecting an appropriate threshold value has always been one of the most difficult problems. The inventors of the present invention have found that this threshold depends on the coding technique, the coded bit rate and also the video sequence. Appropriate thresholds keep details such as edges and remove unwanted noise. If the threshold value is set too high, details such as edges will be destroyed, whereas if it is too low, some noise will not be removed. Currently, this threshold is chosen manually or empirically and is usually fixed for the whole coding process regardless of bit rate or video sequence.

【0007】[0007]

【発明が解決しようとする課題】条件付フィルタ手法を
効率的に遂行するためには正しい閾値の選択が非常に重
要である。この閾値は経験的に試行錯誤、即ちある値を
設定してその値がフィルタに適しているかどうかテスト
し、適していなければ別の値を選択して再びテストを行
うという方法を用いて決定しなければならない。
The selection of the correct threshold is very important for the efficient implementation of the conditional filtering technique. This threshold is empirically determined by trial and error, i.e. setting a certain value to test if it is suitable for the filter, and if not, selecting another value and testing again. There must be.

【0008】上述のような適切な閾値を選択する際の困
難さに加えて、この閾値は異なる符号化手法、ビット伝
送速度、更にビデオシーケンスで変化することが分かっ
た。従って、ビット伝送速度やビデオシーケンスに関わ
りなく全符号化過程に対して1つだけの閾値を用いる現
在の方法は、柔軟性がなく同時に最適画質を提供できな
いという課題がある。
In addition to the difficulty in selecting an appropriate threshold as described above, this threshold has been found to vary with different coding schemes, bit rates, and even video sequences. Therefore, current methods that use only one threshold for the whole encoding process regardless of bit rate or video sequence are not flexible and cannot provide optimum image quality at the same time.

【0009】本発明は、従来の条件付フィルタのこのよ
うな課題を考慮し、条件付フィルタの閾値の設定に柔軟
性があり、符号化手法、ビット伝送速度、ビデオシーケ
ンスに依存せずに最適画質を得ることができる条件付フ
ィルタの自動閾値設定方法及びその復号方法を提供する
ことを目的とするものである。
In consideration of such a problem of the conventional conditional filter, the present invention has flexibility in setting the threshold value of the conditional filter, and is optimal without depending on the encoding method, the bit transmission rate, and the video sequence. An object of the present invention is to provide an automatic threshold value setting method for a conditional filter capable of obtaining image quality and a decoding method thereof.

【0010】[0010]

【課題を解決するための手段】本発明は、入力されたビ
デオ画像を符号化し、その符号化したビデオ画像を所定
の符号化方式により復号化して得た局部復号画像と、入
力されたビデオ画像に基づいて、所定の符号化方式の復
号器による復号画像のノイズを除去するために用いる条
件付フィルタの閾値を生成し、その生成した閾値を符号
化した符号化データとともに復号器へ送信する条件付フ
ィルタの自動閾値設定方法である。
According to the present invention, a locally decoded image obtained by encoding an input video image and decoding the encoded video image by a predetermined encoding method, and an input video image are provided. Based on the, the condition of generating the threshold value of the conditional filter used to remove the noise of the decoded image by the decoder of the predetermined encoding method, and transmitting the generated threshold value to the decoder together with the encoded data that has been encoded. This is a method of automatically setting the threshold value of the attached filter.

【0011】すなわち、本発明は条件付フィルタの閾値
を自動的に選択する簡単な方法を提供する。例えば、1
つの画像のビデオシーケンスを符号化した後、オリジナ
ルと符号化した画像の間の差を取って誤差画像を得る。
この誤差画像のヒストグラムを計算する。そこでこのヒ
ストグラムを検査することで閾値を得ることができる。
図2は誤差画像のヒストグラムの一般的な例を示し、誤
差の大部分はゼロ値を中心としている。そこでフィルタ
で除去する予定の誤差の割合を示すパーセント値を決定
する。図2に示すように、陰影領域はフィルタで除去す
る誤差信号の量を示す。そこで閾値1と閾値2を用い
て、閾値1と閾値2の絶対値の平均を取ることで除去す
る誤差値の閾値を計算することができる。この閾値を判
定する方法は更にそれぞれ個々の画像ごとに後フィルタ
過程のために復号器に送られる閾値を求める為に用いる
ことができる。このようにして閾値は様々な種類の符号
化条件やビデオシーケンスに適応できる。
That is, the present invention provides a simple method for automatically selecting the threshold of a defensive filter. For example, 1
After encoding the video sequence of one image, the difference between the original and the encoded image is taken to get the error image.
The histogram of this error image is calculated. Therefore, a threshold can be obtained by inspecting this histogram.
FIG. 2 shows a typical example of a histogram of an error image, where most of the error is centered on the zero value. Therefore, a percentage value indicating the percentage of the error that is scheduled to be removed by the filter is determined. As shown in FIG. 2, the shaded area indicates the amount of error signal to be removed by the filter. Therefore, the threshold of the error value to be removed can be calculated by averaging the absolute values of the threshold 1 and the threshold 2 using the threshold 1 and the threshold 2. This method of determining the threshold can further be used to determine for each individual image the threshold that is sent to the decoder for the post-filtering process. In this way the threshold can be adapted to different types of coding conditions and video sequences.

【0012】また、本発明は、請求項1又は2の条件付
フィルタの自動閾値設定方法により送信されてきた符号
化データ及び閾値を受信し、その受信した符号化データ
から復号画像を得、その復号画像に対して受信した閾値
を利用して条件付フィルタによりフィルタ処理をおこな
う条件付フィルタを用いた復号方法である。
Further, the present invention receives encoded data and a threshold transmitted by the automatic threshold setting method for a conditional filter according to claim 1 or 2, and obtains a decoded image from the received encoded data, It is a decoding method using a conditional filter that performs a filtering process using a conditional filter using a threshold value received for a decoded image.

【0013】[0013]

【作用】本発明は、例えば、ビデオシーケンス内の各々
の画像について、画像を最初に符号化する。次に誤差画
像をオリジナル画像と符号化画像の間の差を取ることで
得る。誤差画像のヒストグラムを次に計算する。ヒスト
グラム例を図2に示す。次に除去する予定の誤差の割合
を示すパーセント値を決定する。この割合は図2の陰影
領域で示す。次にカットオフされるべき誤差値を用いて
条件付フィルタの閾値を計算することができる。この閾
値は次に符号化画像のビットストリームと共に送信す
る。
The invention first encodes an image, eg, for each image in a video sequence. The error image is then obtained by taking the difference between the original image and the encoded image. The histogram of the error image is then calculated. An example histogram is shown in FIG. Next, a percentage value indicating the percentage of the error that is scheduled to be removed is determined. This ratio is shown by the shaded area in FIG. The error value to be cut off can then be used to calculate the threshold of the defensive filter. This threshold is then transmitted with the bitstream of the encoded image.

【0014】また、復号器では閾値を抽出し、その閾値
を画像復号後フィルタ過程で使用する。
Further, the decoder extracts a threshold value and uses the threshold value in the filter process after image decoding.

【0015】[0015]

【実施例】以下に、本発明をその実施例を示す図面に基
づいて説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings showing its embodiments.

【0016】図1は、本発明にかかる第1の実施例の条
件付フィルタの自動閾値設定方法を実現するための符号
器の構成を示すブロック図である。図1において、入力
シーケンス1はビデオシーケンスを構成する一連の画像
である。この画像のシーケンスは画像毎に処理する。
FIG. 1 is a block diagram showing the configuration of an encoder for realizing an automatic threshold value setting method for a conditional filter according to the first embodiment of the present invention. In FIG. 1, an input sequence 1 is a series of images that make up a video sequence. This sequence of images is processed image by image.

【0017】全ての入力画像は配線10を通してブロッ
クサンプリング2ルーチンに送られ、更に配線11を通
して記憶スペースの基準フレームメモリ9へ送られる。
ブロックサンプリング2ルーチンは画像を8x8のサイ
ズの画素ブロックに分割し、その画素ブロックを配線1
2を通してDCT及び動き補償3に送る。このルーチン
で、画素ブロックは動き補償過程を経て離散コサイン変
換(DCT)により空間から周波数領域に変換される。
動き補償過程は、画素ブロックを基準フレームメモリ9
に格納されている先の画像と比較し、更に局部復号フレ
ームメモリ7から局部的に復号された画像を利用するこ
とにより行う。このとき、画像ブロックがシーケンス内
の第1の画像から来る場合、動き補償は行われない。
All input images are sent via line 10 to the block sampling 2 routine and then via line 11 to the reference frame memory 9 of the storage space.
The block sampling 2 routine divides the image into pixel blocks of size 8x8 and routes the pixel blocks to wiring 1.
2 to DCT and motion compensation 3. In this routine, the pixel block is transformed from the space to the frequency domain by a discrete cosine transform (DCT) through a motion compensation process.
In the motion compensation process, the pixel block is stored in the reference frame memory 9
The image is locally compared with the previous image stored in, and the image locally decoded from the locally decoded frame memory 7 is used. At this time, if the image block comes from the first image in the sequence, no motion compensation is performed.

【0018】変換された係数は、次に配線13を通して
量子化4ルーチンに送られ、量子化され量子化係数が生
成される。それらの量子化係数は、次に配線14を通し
てランレングス・可変長符号化5ルーチンに送られる。
このルーチンはハフマン符号化手法を用いてランレング
ス走査及び後に可変長符号化を行う。
The transformed coefficient is then sent to the quantization 4 routine through the wiring 13 and is quantized to generate a quantized coefficient. These quantized coefficients are then sent via line 14 to the run length / variable length coding 5 routine.
This routine uses Huffman coding techniques to perform run-length scanning and later variable length coding.

【0019】量子化係数は更に配線20を通して逆量子
化及び逆DCT6ルーチンに送られ、このルーチンは局
部的に復号した画像を生成し、配線19を通して局部復
号フレームメモリ7に格納する。局部的に復号された画
像は、次に配線18を通して閾値計算8ルーチンに送ら
れる。
The quantized coefficients are further passed through wire 20 to an inverse quantisation and inverse DCT6 routine which produces a locally decoded image and stores it through wire 19 in the locally decoded frame memory 7. The locally decoded image is then sent via wire 18 to a threshold calculation 8 routine.

【0020】閾値計算8ルーチンは、データの送り先で
ある復号器25で使用する条件付フィルタの閾値を計算
する。閾値計算8ルーチンはオリジナル画像を含む基準
フレームメモリ9から配線17を通して入力を受け、配
線18を通して局部復号フレームメモリ7から局部的に
復号した画像を受ける。閾値計算過程の詳細な説明は図
3に示し、次節で説明する。
The threshold value calculation 8 routine calculates the threshold value of the conditional filter used in the decoder 25, which is the destination of the data. The threshold calculation 8 routine receives an input from the reference frame memory 9 containing the original image through the wiring 17 and a locally decoded image from the local decoding frame memory 7 through the wiring 18. A detailed description of the threshold calculation process is shown in FIG. 3 and described in the next section.

【0021】閾値計算8ルーチンで得られた閾値は、次
にランレングス・可変長符号化5ルーチンに送られ、ラ
ンレングス・可変長符号化データと多重化され、その結
果は出力符号化情報22となり、復号器25に送られ
る。
The threshold value obtained by the threshold value calculation 8 routine is then sent to the run length / variable length coding 5 routine and multiplexed with the run length / variable length coded data, and the result is output coding information 22. And is sent to the decoder 25.

【0022】次に、図3を用いて閾値計算8ルーチンの
より詳細な説明を行う。閾値計算8ルーチンへの入力は
それぞれ配線17、18を通したオリジナル画像31と
局部復号画像32である。誤差画像はオリジナル画像と
局部復号画像の間の差を取ることにより誤差計算35ル
ーチンで得られ、配線36を通してヒストグラム計算3
7ルーチンへ送られる。ヒストグラム計算37ルーチン
では誤差画像のヒストグラムを計算し、配線38を通し
て閾値判定39ルーチンに送る。どれくらいの割合の誤
差(即ち符号化ノイズ)を除去することを予定している
かを示すパーセント値は事前に決定する。その値が95
%ならば、約5%だけの符号化ノイズが除去できないこ
とになる。図2で、陰影領域はフィルタすることが要求
される誤差の割合を示し、閾値1と閾値2はカットオフ
点である。閾値1と閾値2の絶対値の平均を、条件付フ
ィルタの閾値として取る。
Next, the threshold calculation 8 routine will be described in more detail with reference to FIG. Inputs to the threshold calculation 8 routine are the original image 31 and the locally decoded image 32, which are passed through the wirings 17 and 18, respectively. The error image is obtained by the error calculation 35 routine by taking the difference between the original image and the locally decoded image, and the histogram calculation 3 is performed through the wiring 36.
Sent to 7 routines. In the histogram calculation 37 routine, the histogram of the error image is calculated and sent to the threshold value judgment 39 routine through the wiring 38. The percentage value indicating how much error (ie coding noise) is planned to be removed is predetermined. Its value is 95
%, It means that only about 5% of the coding noise cannot be removed. In FIG. 2, the shaded area indicates the ratio of the error required to be filtered, and the threshold values 1 and 2 are the cutoff points. The average of the absolute values of threshold 1 and threshold 2 is taken as the threshold of the conditional filter.

【0023】図4は、本発明にかかる第2の実施例の条
件付フィルタを用いた復号方法を実現するための復号器
のブロック図である。図4において、符号器から送信さ
れた符号化情報は配線51を通して入力する。符号化情
報は次に可変長復号及びランレングス復号46を行って
量子化DCT係数を得る。更に条件付フィルタ49の閾
値を符号化情報から得て、配線52、53、54を通し
て条件付フィルタ49ルーチンに送る。
FIG. 4 is a block diagram of a decoder for realizing a decoding method using a conditional filter according to the second embodiment of the present invention. In FIG. 4, the encoded information transmitted from the encoder is input through the wiring 51. The encoded information is then subjected to variable length decoding and run length decoding 46 to obtain quantized DCT coefficients. Further, the threshold value of the conditional filter 49 is obtained from the encoded information and sent to the conditional filter 49 routine through the wirings 52, 53 and 54.

【0024】逆量子化47では量子化DCT係数の逆量
子化を行い、係数は配線53を通して動き補償・逆DC
T48に送る。そこで係数に対して動き補償・逆DCT
を行って次に再構成画像を形成するのに使用する再構成
画素ブロックを生成する。再構成画像は配線54を通し
て条件付フィルタ49に送り、配線55を通して局部復
号フレームメモリ50に送る。局部復号フレームメモリ
50は動き補償・逆DCT48の動き補償過程に使用す
る。
In the inverse quantization 47, the quantized DCT coefficient is inversely quantized, and the coefficient is subjected to motion compensation / inverse DC through the wiring 53.
Send to T48. Therefore, motion compensation / inverse DCT is applied to the coefficient.
To generate a reconstructed pixel block that is then used to form the reconstructed image. The reconstructed image is sent to the conditional filter 49 via the wiring 54 and to the local decoding frame memory 50 via the wiring 55. The local decoding frame memory 50 is used in the motion compensation / inverse DCT 48 motion compensation process.

【0025】条件付フィルタ49ルーチンは条件付中間
フィルタを行って最終出力再構成シーケンスを得る。条
件付フィルタ49過程を更に詳細に図5に示す。
The conditional filter 49 routine performs a conditional intermediate filter to obtain the final output reconstruction sequence. The conditional filter 49 process is shown in more detail in FIG.

【0026】図5は、中間フィルタを用いた条件付フィ
ルタ手法の実施を提供している。図5において、入力画
像60は画素毎に処理する。全ての画素(現在画素)に
付いて、値とその8つの近傍画素値を画素検索61ルー
チンで得て配線66を通して中間計算62ルーチンに送
る。中間計算62ルーチンではそれらの画素値の中間値
を得、配線67を通して検査のため閾値比較63に送
る。現在画素と中間値との間の差の絶対値が条件付フィ
ルタの閾値よりも小さい場合、中間値を用いて現在画素
値64と置換し、さもなければ現在画素値を変更しな
い。処理された画像は、このように画像内の全ての画素
が上記の手順を経て得ることができる。
FIG. 5 provides an implementation of the conditional filter technique with an intermediate filter. In FIG. 5, the input image 60 is processed pixel by pixel. For all pixels (current pixels), the value and its eight neighboring pixel values are obtained in the pixel search 61 routine and sent to the intermediate calculation 62 routine through the wiring 66. The intermediate calculation 62 routine obtains the intermediate value of those pixel values and sends it to the threshold comparison 63 for inspection through the wire 67. If the absolute value of the difference between the current pixel and the median value is less than the threshold of the conditional filter, the median value is used to replace the current pixel value 64, otherwise the current pixel value is unchanged. The processed image is thus obtained with all the pixels in the image going through the above procedure.

【0027】以上のような自動閾値メカニズムを用いる
ことで、後フィルタ過程ではその条件付フィルタ過程の
最適閾値を持つ。このようにして得られた画像のブロッ
ク化、コロナノイズ、不調和ははるかに少なくなる。こ
のメカニズムにより、新しい画像シーケンスを符号化す
るとき及び新しいビット伝送速度を使用するときはいつ
でも追加実験を行う必要なしに最適な条件付フィルタの
閾値を得ることができる。従って異なるビット伝送速度
で符号化した全ての種類のビデオシーケンスに対して最
適閾値を常に用いることができる。
By using the automatic threshold mechanism as described above, the post-filter process has an optimum threshold for the conditional filter process. The resulting image will have much less blocking, corona noise, and discord. This mechanism makes it possible to obtain the optimal defensive filter thresholds when coding a new image sequence and whenever a new bit rate is used, without the need for additional experiments. Therefore, the optimum threshold can always be used for all types of video sequences encoded at different bit rates.

【0028】なお、上記実施例では、符号器で得られた
閾値を符号化データに多重化して復号器へ送信する構成
としたが、これに限らず、閾値を符号化データとは別に
送信する構成としても良い。
In the above embodiment, the threshold value obtained by the encoder is multiplexed with the encoded data and transmitted to the decoder. However, the present invention is not limited to this, and the threshold value is transmitted separately from the encoded data. It may be configured.

【0029】また、上記実施例では、予め決定された閾
値判定39での誤差を除去する割合を95%としたが、
画質劣化の許容限度内であれば、これに限定されるもの
ではない。
Further, in the above embodiment, the rate of removing the error in the predetermined threshold value judgment 39 is set to 95%.
It is not limited to this as long as it is within the allowable limit of image quality deterioration.

【0030】[0030]

【発明の効果】以上述べたところから明らかなように本
発明は、符号化したビデオ画像を所定の符号化方式によ
り復号化して得た局部復号画像と、入力されたビデオ画
像に基づいて、所定の符号化方式の復号器による復号画
像のノイズを除去するために用いる条件付フィルタの閾
値を生成し、その生成した閾値を符号化した符号化デー
タとともに復号器へ送信するので、条件付フィルタの閾
値の設定に柔軟性があり、符号化手法、ビット伝送速
度、ビデオシーケンスに依存せずに最適画質を得ること
ができるという長所を有する。
As is apparent from the above description, according to the present invention, a predetermined decoded image is decoded according to a predetermined coding method, and a predetermined decoded image is obtained based on a locally decoded image and an input video image. The threshold value of the conditional filter used to remove the noise of the image decoded by the decoder of the encoding method is generated, and the generated threshold value is transmitted to the decoder together with the encoded data. There is an advantage that the threshold value is flexible and the optimum image quality can be obtained without depending on the encoding method, the bit transmission rate, and the video sequence.

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

【図1】本発明にかかる第1の実施例の条件付フィルタ
の自動閾値設定方法を実現するための符号器の構成を示
すブロック図である。
FIG. 1 is a block diagram showing a configuration of an encoder for realizing an automatic threshold value setting method for a conditional filter according to a first embodiment of the present invention.

【図2】同第1の実施例におけるオリジナル画像と符号
化画像間の差を取ることで計算した誤差画像のヒストグ
ラムを示す図である。
FIG. 2 is a diagram showing a histogram of an error image calculated by taking a difference between an original image and a coded image in the first embodiment.

【図3】同第1の実施例における条件付フィルタの閾値
計算の詳細なブロック図である。
FIG. 3 is a detailed block diagram of threshold value calculation of the conditional filter in the first embodiment.

【図4】本発明にかかる第2の実施例の条件付フィルタ
を用いた復号方法を実現するための復号器のブロック図
である。
FIG. 4 is a block diagram of a decoder for realizing a decoding method using a conditional filter according to a second embodiment of the present invention.

【図5】同第2の実施例における条件付フィルタの詳細
なブロック図である。
FIG. 5 is a detailed block diagram of a conditional filter according to the second embodiment.

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

3 DCTと動き補償 4 量子化 5 ランレングス及び可変長符号化 6 逆量子化及び逆DCT 7 局部復号フレームメモリ 8 閾値計算 9 基準フレームメモリ 35 誤差画像計算 37 ヒストグラム計算 39 閾値判定 46 可変長復号及びランレングス復号 47 逆量子化 48 動き補償と逆DCT 49 条件付フィルタ 61 画素検索 62 中間計算 63 閾値比較 3 DCT and motion compensation 4 Quantization 5 Run length and variable length coding 6 Inverse quantization and inverse DCT 7 Local decoding frame memory 8 Threshold calculation 9 Reference frame memory 35 Error image calculation 37 Histogram calculation 39 Threshold judgment 46 Variable length decoding and Run length decoding 47 Inverse quantization 48 Motion compensation and inverse DCT 49 Conditional filter 61 Pixel search 62 Intermediate calculation 63 Threshold comparison

フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04B 14/04 D H04N 5/21 Z 7/08 7/081 H04N 7/08 Z Continuation of the front page (51) Int.Cl. 6 Identification code Office reference number FI Technical display location H04B 14/04 D H04N 5/21 Z 7/08 7/081 H04N 7/08 Z

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 入力されたビデオ画像を符号化し、その
符号化したビデオ画像を所定の符号化方式により復号化
して得た局部復号画像と、前記入力されたビデオ画像に
基づいて、前記所定の符号化方式の復号器による復号画
像のノイズを除去するために用いる条件付フィルタの閾
値を生成し、その生成した閾値を前記符号化した符号化
データとともに前記復号器へ送信することを特徴とする
条件付フィルタの自動閾値設定方法。
1. A locally decoded image obtained by encoding an input video image and decoding the encoded video image by a predetermined encoding method, and the predetermined video image based on the input video image. Characterized by generating a threshold value of a conditional filter used for removing noise of a decoded image by a decoder of an encoding system, and transmitting the generated threshold value to the decoder together with the encoded data. Automatic threshold setting method for conditional filters.
【請求項2】 条件付フィルタの前記閾値は、前記ビデ
オ画像と前記局部復号画像との間の差を取ることで誤差
画像を得、その誤差画像のヒストグラムを得、予め決定
されたフィルタすべき前記局部復号画像内の誤差画素の
割合を用いて、前記ヒストグラムのカットオフ点を得る
ことにより、前記閾値を得ることを特徴とする請求項1
記載の条件付フィルタの自動閾値設定方法。
2. The threshold value of the conditional filter is to obtain an error image by taking a difference between the video image and the locally decoded image, obtain a histogram of the error image, and perform a predetermined filter. 2. The threshold value is obtained by obtaining a cutoff point of the histogram by using a ratio of error pixels in the locally decoded image.
Automatic threshold setting method for the conditional filter described.
【請求項3】 請求項1又は2の条件付フィルタの自動
閾値設定方法により送信されてきた前記符号化データ及
び前記閾値を受信し、その受信した符号化データから復
号画像を得、その復号画像に対して前記受信した閾値を
利用して前記条件付フィルタによりフィルタ処理をおこ
なうことを特徴とする条件付フィルタを用いた復号方
法。
3. The coded data and the threshold value transmitted by the automatic threshold value setting method for a conditional filter according to claim 1 are received, a decoded image is obtained from the received coded data, and the decoded image is obtained. A decoding method using a conditional filter, characterized in that filter processing is performed by the conditional filter using the received threshold.
【請求項4】 閾値は前記符号化データに多重化されて
送信されたものであって、前記閾値はその多重化された
受信データから抽出することを特徴とする請求項3記載
の復号方法。
4. The decoding method according to claim 3, wherein the threshold value is transmitted after being multiplexed with the encoded data, and the threshold value is extracted from the multiplexed reception data.
JP14681394A 1994-06-28 1994-06-28 Automatic threshold setting method for conditional filter and decoding method thereof Expired - Fee Related JP2813548B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14681394A JP2813548B2 (en) 1994-06-28 1994-06-28 Automatic threshold setting method for conditional filter and decoding method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14681394A JP2813548B2 (en) 1994-06-28 1994-06-28 Automatic threshold setting method for conditional filter and decoding method thereof

Publications (2)

Publication Number Publication Date
JPH0818957A true JPH0818957A (en) 1996-01-19
JP2813548B2 JP2813548B2 (en) 1998-10-22

Family

ID=15416114

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14681394A Expired - Fee Related JP2813548B2 (en) 1994-06-28 1994-06-28 Automatic threshold setting method for conditional filter and decoding method thereof

Country Status (1)

Country Link
JP (1) JP2813548B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997049250A1 (en) * 1996-06-19 1997-12-24 Matsushita Electric Industrial Co., Ltd. Device and method for encoding picture and device and method for decoding picture
JP2005521310A (en) * 2002-03-26 2005-07-14 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Video signal post-processing method
JP2006245694A (en) * 2005-02-28 2006-09-14 Toshiba Corp Image processing apparatus and method
JP2006310999A (en) * 2005-04-27 2006-11-09 Sony Corp Image processing apparatus and method, and program
JP2013258765A (en) * 2008-01-14 2013-12-26 Thomson Licensing Methods and apparatus for de-artifact filtering using multi-lattice sparsity-based filtering
US10645393B2 (en) 2015-05-12 2020-05-05 Samsung Electronics Co., Ltd. Image encoding method and device for sample value compensation and image decoding method and device for sample value compensation

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997049250A1 (en) * 1996-06-19 1997-12-24 Matsushita Electric Industrial Co., Ltd. Device and method for encoding picture and device and method for decoding picture
US6249610B1 (en) 1996-06-19 2001-06-19 Matsushita Electric Industrial Co., Ltd. Apparatus and method for coding a picture and apparatus and method for decoding a picture
JP2005521310A (en) * 2002-03-26 2005-07-14 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Video signal post-processing method
JP2006245694A (en) * 2005-02-28 2006-09-14 Toshiba Corp Image processing apparatus and method
JP4496106B2 (en) * 2005-02-28 2010-07-07 株式会社東芝 Image processing apparatus and image processing method
JP2006310999A (en) * 2005-04-27 2006-11-09 Sony Corp Image processing apparatus and method, and program
JP2013258765A (en) * 2008-01-14 2013-12-26 Thomson Licensing Methods and apparatus for de-artifact filtering using multi-lattice sparsity-based filtering
US10645393B2 (en) 2015-05-12 2020-05-05 Samsung Electronics Co., Ltd. Image encoding method and device for sample value compensation and image decoding method and device for sample value compensation

Also Published As

Publication number Publication date
JP2813548B2 (en) 1998-10-22

Similar Documents

Publication Publication Date Title
US5844614A (en) Video signal decoding apparatus
US6222881B1 (en) Using numbers of non-zero quantized transform signals and signal differences to determine when to encode video signals using inter-frame or intra-frame encoding
US5850294A (en) Method and apparatus for post-processing images
USRE41422E1 (en) Decoding apparatus including a filtering unit configured to filter an image by performing an averaging operation selectively based on at least one candidate pixel associated with a pixel to be filtered
US8243820B2 (en) Decoding variable coded resolution video with native range/resolution post-processing operation
US6724826B1 (en) Method and apparatus for improving the image quality of transmitted video signals via pre-filtering
KR0159559B1 (en) Adaptive postprocessing method of a digital image data
US7043092B1 (en) Video decoding device and method using a deblocking filtering step
EP0714210A2 (en) Method of reducing mosquito noise generated during decoding process of image data and device for decoding image data using the same
JP2813548B2 (en) Automatic threshold setting method for conditional filter and decoding method thereof
JP2919986B2 (en) Image signal decoding device
JP2002084541A (en) Processing method for compressed image
JP3317982B2 (en) Image signal decoding device
JPH09289642A (en) Video signal coding method, video signal decoding method and device therefor
JPH06233266A (en) Video signal encoder and video signal decoder
JPH08191444A (en) Video signal decoder
JPH08251418A (en) Block distortion reduction device and reduction method
JP2001245298A (en) Image coder, image coding method and medium storing image coding program
JP3403561B2 (en) Moving picture coding method and apparatus therefor
JPH05227431A (en) Mosquito noise reduction device
KR100221308B1 (en) A device for eliminating blocking effects and a moving picture decoder using the device
JPH07154788A (en) Encoder for video signal
JPH0563997A (en) Image signal decoder
JPH07184208A (en) Moving picture coder and decoder
JP2002532028A (en) Signal processing apparatus and method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees