JPH02112394A - Moving image signal smoothing processor - Google Patents

Moving image signal smoothing processor

Info

Publication number
JPH02112394A
JPH02112394A JP63264205A JP26420588A JPH02112394A JP H02112394 A JPH02112394 A JP H02112394A JP 63264205 A JP63264205 A JP 63264205A JP 26420588 A JP26420588 A JP 26420588A JP H02112394 A JPH02112394 A JP H02112394A
Authority
JP
Japan
Prior art keywords
block
pixel
circuit
encoding
signal
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
JP63264205A
Other languages
Japanese (ja)
Inventor
Yoshitaka Nakano
中野 吉孝
Toru Shibuya
徹 澁谷
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.)
NEC Corp
NEC Miyagi Ltd
Original Assignee
NEC Corp
NEC Miyagi 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 NEC Corp, NEC Miyagi Ltd filed Critical NEC Corp
Priority to JP63264205A priority Critical patent/JPH02112394A/en
Publication of JPH02112394A publication Critical patent/JPH02112394A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE:To reduce block distortion without lowering the resolution of a picture by executing the smoothing filter processing of different intensity by the coarse and fine block of an encoding parameter and by a picture element position and further changing the intensity of a smoothing filter in response to the rough of the encoding parameter. CONSTITUTION:To a moving image which is encoded by block unit processing, the smoothing filter processing of the different intensity is executed by the coarse and fine block of the encoding parameter and by the picture element position. Further, the rough of the encoding parameter is decided by a block deciding circuit 107 and in response to such a decided result, the intensity of a smoothing filter 111 is hourly changed. Thus, the block distortion of an encoding and forecasting picture can be widely reduced due to the smoothing filter 111 and simultaneously, the picture at the time of decoding can obtain the large improvement of picture quality on vision as well. The lowering of the resolution can be reduced wholly in the encoding and forecasting picture and the picture at the time of the decoding. Then, the picture to be visually easily observed can be obtained.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はブロック単位処理を基本とした動画像符号器に
入力する動画像信号に対して平滑化処理を施す装置に係
り、特に入力画像9号の全体的な解像度の低下を抑える
とともに、符号化歪による画像品質の劣化を軽減するこ
とができる動画像信号平滑化処理装置に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a device that performs smoothing processing on a moving image signal input to a moving image encoder based on block unit processing, and in particular, The present invention relates to a moving image signal smoothing processing device that can suppress deterioration in overall resolution of a signal and reduce deterioration in image quality due to encoding distortion.

〔従来の技術〕[Conventional technology]

画像信号の高能率符号化を行なうため、主にブロック単
位で適応的に符号化する動画像符号化復号化方式および
その装置が多く使われている。このとき、符号化による
ブロック歪を除去する方法には、−船釣に復号化し良画
像信号に対して全画面に同じ特性の平滑化フィルタを用
いるか、あるいはブロック境界部分のみに用いるという
方法が知られている。
In order to perform high-efficiency encoding of image signals, moving image encoding/decoding systems and devices that adaptively encode mainly block by block are widely used. At this time, there are two ways to remove block distortion caused by encoding: - Decoding on a boat and using a smoothing filter with the same characteristics on the entire screen for good image signals, or using it only on block boundaries. Are known.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の動画像符号化装置において、符号化する
ための予測画像信号は受信側の復号画像と同じ画像であ
り、受信側では符号化による歪が見えてしまい、視覚的
に画像品質の劣化を伴うことが多い。特に、ブロック単
位で適応的に符号化復号化する場合では、第8図の(b
)のように符号化予測画像および復号画像は符号化によ
るブロック歪を生じていることが多い。この第8図は従
来の動画像符号化装置における課題を説明するための図
で、(a)は横軸に時間、u軸に振幅をとって表わした
入力画傷信号を示したものであり、(b)は符号化予測
画像を示したものである。そして、(b)における(ハ
)は前符号化によるブロック歪を示す。
In the conventional video encoding device described above, the predicted image signal to be encoded is the same image as the decoded image on the receiving side, and the distortion due to encoding is visible on the receiving side, resulting in visual deterioration of image quality. is often accompanied by In particular, in the case of adaptively encoding and decoding on a block-by-block basis, (b
), encoded predicted images and decoded images often have block distortion due to encoding. FIG. 8 is a diagram for explaining problems in conventional video encoding devices, and (a) shows an input image defect signal expressed with time on the horizontal axis and amplitude on the u axis. , (b) shows encoded predicted images. And (c) in (b) indicates block distortion due to pre-encoding.

このよう表ブロック歪は通常のTV画面では見慣れない
歪であるため、視覚上、致命的な画質劣化となってしま
うという課題がある。そこで、従来は一般的方法として
復号化した動画像に対して全画面に同じ特性の平滑化フ
ィルタ(後置フィルタ)が用いられ、画面の解像度が全
体的に低下してしまうことが多いという課題があった。
Since such front block distortion is distortion that is not familiar to ordinary TV screens, there is a problem in that it causes a fatal visual quality deterioration. Therefore, conventionally, as a general method, a smoothing filter (post filter) with the same characteristics is used for the entire screen of the decoded video image, which has the problem of often reducing the overall screen resolution. was there.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の動画像信号平滑化処理装置は、ブロック単位処
理を基本とした動画像符号器に入力する動画像信号に対
して平滑化処理を施す装置において、符号化処理するブ
ロックが動ブロックか静止ブロックかを判定する回路と
、符号化パラメータを記憶するメモリ回路と、このメモ
リ回路へ書込む符号化パラメータを動静ブロック識別信
号に応じて選択する回路と、上記符号化パラメータが粗
いか細かいかを判定する回路と、画素の位置をカウント
するカウント回路と、このカウント回路における画素カ
ウント値と周囲の画素領域並びに上記符号化パラメータ
の粗細判定結果を参照して分割する画素領域を判別する
判定回路と、この判定回路で判別された画素領域ごとに
各ブロックにおける符号化パラメータの粗さに応じて平
滑度を制御する回路と、上記平滑度を制御する信号にし
たがい上記動画像信号の平滑化フィルタ処理を行なう回
路を有するものである。
The moving picture signal smoothing processing device of the present invention is a device that performs smoothing processing on a moving picture signal input to a moving picture encoder based on block unit processing. A circuit that determines whether the encoding is a block, a memory circuit that stores encoding parameters, a circuit that selects encoding parameters to be written to this memory circuit according to a motion/static block identification signal, and a circuit that determines whether the encoding parameters are coarse or fine. a determining circuit, a counting circuit that counts the position of a pixel, and a determining circuit that determines a pixel area to be divided by referring to the pixel count value in this counting circuit, the surrounding pixel area, and the coarse determination result of the encoding parameter. , a circuit that controls the smoothness according to the roughness of the encoding parameter in each block for each pixel region determined by the determination circuit, and a smoothing filter process of the moving image signal according to the signal that controls the smoothness. It has a circuit that performs this.

〔作用〕[Effect]

本発明においては、ブロック単位処理で符号化する動画
*に対して、符号化パラメータの粗細ブロック別および
画素位置側に強さの異なる平滑化フィルタ処理を行ない
、さらに符号化パラメータの粗さに応じて時間的に平滑
化フィルタの強さを換える。
In the present invention, smoothing filter processing with different strengths is applied to each coarse block and pixel position side of the encoding parameter on a video* to be encoded by block unit processing, and further, according to the coarseness of the encoding parameter. The strength of the smoothing filter is changed over time.

〔実施例〕〔Example〕

以下、図面に基づき本発明の実施例を詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail based on the drawings.

第1図は本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

図において、101m は非線形レベル変換器、101
b  はフレームメモリで、これらはノイズリデエーサ
102に内蔵されている。103は走査変換器、104
は動静ブロック判定回路で、この動静ブロック判定回路
104は符号化処理するブロックが動ブロックか静止ブ
ロックかを判定する回路である。
In the figure, 101m is a nonlinear level converter, and 101m is a nonlinear level converter.
b is a frame memory, which is built into the noise reducer 102. 103 is a scan converter, 104
is a moving/static block determining circuit, and this moving/static block determining circuit 104 is a circuit that determines whether a block to be encoded is a moving block or a static block.

105は画素の位置をカウントするカウント回路である
画素アドレスカウンタ、106はこのカウント回路にお
ける画素カウント値と周囲の画素領域並びに符号化パラ
メータの粗細判定結果を参照して分割する画素領域を判
別する判定回路である画素領域判別回路、107は符号
化パラメータが粗いか細かいかを判定する回路であるブ
ロック判定回路、108は画素領域判別回路106で判
別された画素領域コとに各ブロックにおける符号化パラ
メータの粗さに応じて平滑度を制御する回路であるフィ
ルタ特性制御回路、109は走査変換器、110は遅延
回路、111は平滑度を制御する信号にしたがい動画像
信号の平滑化フィルタ処理を行う回路である平滑化フィ
ルタ、112は符号器、113はバッファメモリ、11
5は符号化パラメータを記憶するメモリ回路、114は
このメモリ回路115へ書込む符号化パラメータを動静
ブロック識別信号に応じて選択する回路であるセレクタ
である。
105 is a pixel address counter which is a counting circuit that counts the position of a pixel, and 106 is a determination unit that determines a pixel area to be divided by referring to the pixel count value in this counting circuit, surrounding pixel areas, and coarse determination results of encoding parameters. A pixel area discriminating circuit 107 is a circuit that determines whether the encoding parameters are coarse or fine; 108 is a block determining circuit that determines whether the encoding parameters are coarse or fine; and 108 is a circuit that determines the encoding parameters for each block in the pixel area determined by the pixel area discriminating circuit 106. 109 is a scan converter; 110 is a delay circuit; 111 is a circuit for smoothing the moving image signal according to a signal for controlling the smoothness; A smoothing filter which is a circuit, 112 is an encoder, 113 is a buffer memory, 11
5 is a memory circuit for storing encoding parameters, and 114 is a selector which is a circuit for selecting encoding parameters to be written into the memory circuit 115 in accordance with a motion block identification signal.

第2図および第3図は第1図の動作説明に供するタイム
チャートで、第2図の(−)はブロック同期を示したも
のであり、(b)は有効/無効画素識別信号、(C)は
有効画素カフ/)、(d)は動静ブロック識別信号を示
したものである。また、第3図の(−)はブロック同期
を示したものであり、(b)は画素カラン)、(e)は
パラメータ識別信号、(d)は画素領域識別信号、(e
)はフィルタ特性を示したものである。
2 and 3 are time charts for explaining the operation in FIG. ) shows the effective pixel cuff/), and (d) shows the moving/static block identification signal. In addition, (-) in FIG. 3 indicates block synchronization, (b) is a pixel run), (e) is a parameter identification signal, (d) is a pixel area identification signal, (e
) shows the filter characteristics.

第4図は本発明の詳細な説明するための図で、(−)は
横軸に時間、縦軸に振幅をとって表わした平滑化フィル
タ処理後の入力画像1号を示し、(b)は平滑化フィル
タ処理による符号化予測画像を示す。
FIG. 4 is a diagram for explaining the present invention in detail, where (-) indicates input image No. 1 after smoothing filter processing, with time on the horizontal axis and amplitude on the vertical axis; (b) indicates a coded predicted image obtained by smoothing filter processing.

第5図および第6図は本発明における画素領域の分割方
法を説明するための図で、第5図において、(ロ)はパ
ラメータが細かいブロックを示し、eつはパラメータが
粗いブロックを示す。そして、Pn:パラメータ、nく
2のとき細、n≧2のとき粗である。また、画素領域■
〜■に対するフィルタ特性の強さは■〈■く■く■く■
である。
5 and 6 are diagrams for explaining the method of dividing a pixel area according to the present invention. In FIG. 5, (b) shows a block with fine parameters, and e shows a block with coarse parameters. Pn: parameter, fine when n×2, coarse when n≧2. In addition, the pixel area■
The strength of the filter characteristics for ~■ is ■〈■ku■ku■ku■
It is.

第7図は本発明におけるフィルタ処理の制御方法を説明
するための図で、Pkは最も粗いパラメータのときを示
し、Poは最も細かいパラメータのときを示す。そして
、Pn :パラメータ、n=0〜にである。
FIG. 7 is a diagram for explaining the filter processing control method according to the present invention, where Pk indicates the coarsest parameter and Po indicates the finest parameter. And Pn: parameter, n=0~.

つぎに第1図に示す実施例の動作を第2図ないし第7図
を参照して説明する。
Next, the operation of the embodiment shown in FIG. 1 will be explained with reference to FIGS. 2 to 7.

第1図において、入力6偉信号1はまず、ノイズリデュ
ーサ102に入力される。このノイズリデューサ102
では、入力6偉信号1とフレームメモ17101b  
から読み出される6偉信号4との差分をとり、この差分
画像信号2を非線形レベル変換器101m  に入力し
、差分の小さいノイズレベルをゼロにできるだけ近づけ
るような非線形変換を行なう。このとき、符号器112
から出力されるフレーム間引き信号8にしたがい非線形
レベル変換器1011 の出力をゼロにし、新しい画像
が入力されるのを中止する。そして、非線形変換された
差分画像信号3は画像信号4に加算されて、その加算結
果の入力6偉信号5をふたたびフレームメモリ101b
  K入力し1.また、この入力画像信号5は遅延回路
110に入力される。さらに、差分6偉信号3を走査変
換器103に入力する。
In FIG. 1, input signal 1 is first input to noise reducer 102. In FIG. This noise reducer 102
So input 6 signal 1 and frame memo 17101b
The differential image signal 2 is inputted to the nonlinear level converter 101m, and nonlinear conversion is performed to bring the small noise level of the difference as close to zero as possible. At this time, encoder 112
The output of the nonlinear level converter 1011 is set to zero according to the frame thinning signal 8 output from the nonlinear level converter 1011, and input of a new image is stopped. The non-linearly converted differential image signal 3 is added to the image signal 4, and the input signal 5 resulting from the addition is sent to the frame memory 101b again.
Enter K1. Further, this input image signal 5 is input to a delay circuit 110. Furthermore, the differential signal 3 is input to the scan converter 103.

この走査変換器103ではTVライン走査の差分画像信
号3をまず、有効画素判定を行なう。そして、画素単位
に閾値Tu以下であれば無効画素(0)、閾値Tuより
大きければ有効画素(1)と判定し、この有効/無効画
素判定結果をブロック単位のライン走査に変換して有効
/無効画素識別信号9をブロックスキャン変換時のブロ
ック同期(it号11と一緒に第2図(、)(b)のよ
うに出力する。動ブロツク/静止ブロック判定回路であ
る動静ブロック判定回路104において、ブロック同期
信号11をリセット信号として有効/無効画素識別信号
9はブロックごとに加算され有効画素数を計算する(第
2図(C)参照)。そして、有効画素数が閾値Tm以下
であれば静止ブロック(0)、閾値Tmより大きければ
動ブロック(1)と判定し、動静ブロック識別信号10
を出力する(第2図(d)参照)。この動静ブ四ツク識
別信号10はセレクタ114および符号器112に入力
される。ブロック同期信号11は画素アドレスカウンタ
105に入力され、ブロック内の画素の位置を示す画素
カウント値12を出力する(第3図(b)参照)。この
画素カウント値12は画素領域判別回路106に入力さ
れる。
This scan converter 103 first performs valid pixel determination on the TV line scan differential image signal 3. Then, if the pixel is less than or equal to the threshold Tu, it is determined to be an invalid pixel (0), and if it is larger than the threshold Tu, it is determined to be a valid pixel (1), and this valid/invalid pixel determination result is converted to line scanning in block units to be valid/invalid pixel. The invalid pixel identification signal 9 is output together with the block synchronization signal (IT No. 11) during block scan conversion as shown in FIG. , the valid/invalid pixel identification signal 9 is added for each block using the block synchronization signal 11 as a reset signal to calculate the number of effective pixels (see Fig. 2 (C)).And if the number of effective pixels is less than the threshold Tm If the block is larger than the threshold value Tm, it is determined to be a motion block (1), and a motion/static block identification signal 10 is determined.
(See Figure 2(d)). This dynamic block identification signal 10 is input to a selector 114 and an encoder 112. The block synchronization signal 11 is input to the pixel address counter 105, which outputs a pixel count value 12 indicating the position of the pixel within the block (see FIG. 3(b)). This pixel count value 12 is input to the pixel area determination circuit 106.

この画素領域判別回路106において、画素カウント値
12とブロック判定回路107より出力されるパラメー
タの粗/細を表わすパラメータ識別信号14(第3図(
c)参照)を用いて5つの画素領域を表わす識別信号で
ある画素領域識別信号13を出力する(第3図(d)参
照)。
In this pixel area discrimination circuit 106, the pixel count value 12 and a parameter identification signal 14 (see FIG.
c)) to output a pixel area identification signal 13 which is an identification signal representing five pixel areas (see FIG. 3(d)).

このパラメータ識別信号14については以下に詳しく説
明する。
This parameter identification signal 14 will be explained in detail below.

まず、パラメータ識別信号14が粗いパラメータのブロ
ック領域を表わしているとき、これからフィルタ処理を
する画素が境界の画素かそれともその内側の画素かを画
素カウント値12によって判別し、第5図に示すように
■の領域か■の領域に分割する。また、細かいパラメー
タのブロック領域を表しているときは、周囲のパラメー
タ識別信号を参照して粗いパラメータのブロックが隣接
しているか否かを判定し、粗いパラメータのブロックが
隣接している場合にはブロック境界から1画素目か2画
素目かそれとも3画素以上離れた内側の画素かを画素カ
ウン十値12によって判別し、■の領域と■の領域およ
び■の領域と■の領域に分割する。さらに互いに隣接し
た細かいパラメータのブロックの境界の画素かその内側
の画素かを画素カウント値12によって判別し、■の領
域と■の領域に分割する。このように分割された5つの
画素領域を表す識別信号である画素領域識別信号13は
フィルタ特性制御回路108に入力される。
First, when the parameter identification signal 14 represents a block area with coarse parameters, it is determined whether the pixel to be subjected to filter processing is a boundary pixel or a pixel inside the boundary pixel based on the pixel count value 12, and as shown in FIG. Divide into ■ area or ■ area. In addition, when representing a block area with fine parameters, it is determined whether blocks with coarse parameters are adjacent by referring to the surrounding parameter identification signals, and if blocks with coarse parameters are adjacent, It is determined by the pixel count 12 whether it is the first pixel, the second pixel, or the inner pixel that is three or more pixels away from the block boundary, and the pixel is divided into a region of ■, a region of ■, a region of ■, and a region of ■. Furthermore, it is determined whether the pixel is a boundary pixel of mutually adjacent fine parameter blocks or a pixel inside thereof, based on the pixel count value 12, and the pixel is divided into a region (■) and a region (2). A pixel area identification signal 13, which is an identification signal representing the five pixel areas divided in this way, is input to a filter characteristic control circuit 108.

このフィルタ特性制御回路108において、符号化パラ
メータが粗いときにはブロック内の■、■の領域にそれ
ぞれボケの強いフィルタ特性E、F(第3図(e)およ
び第7図参照)を選択し、■の領域にやや強めのフィル
タ特性D(第3図(e)および第7図参照)を選択する
。また符号化パラメータが細かいときにはボケの弱いフ
ィルタ特性A(第7図参照)を選択する。すなわち、第
5図に示した■〜■の画素領域に対して、パラメータの
粗さに適したフィルタ特性を第7図のように選択するフ
ィルタ特性制御信号16を出力する(第3図(e)参照
)。このフィルタ特性制御信号16は走査変換器109
においてブロック単位のライン走査をTVラインの走査
に変換し、TVラインの走査層にフィルタ特性制御信号
1Tを画素単位に出力する。
In this filter characteristic control circuit 108, when the encoding parameter is coarse, filter characteristics E and F (see FIG. 3(e) and FIG. 7) with strong blur are selected for the regions of ■ and ■ in the block, respectively. A slightly stronger filter characteristic D (see FIG. 3(e) and FIG. 7) is selected in the region. Furthermore, when the encoding parameters are fine, filter characteristic A (see FIG. 7) with weak blur is selected. That is, the filter characteristic control signal 16 for selecting the filter characteristic suitable for the roughness of the parameter as shown in FIG. )reference). This filter characteristic control signal 16 is transmitted to the scan converter 109.
In the block unit line scanning is converted to TV line scanning, and a filter characteristic control signal 1T is output to the TV line scanning layer in pixel units.

そして、遅延回路110においてノイズリデューサ出力
画像信号である入力6偉信号5はフィルタ特性が決定さ
れる前記過程の時間だけ遅延し、遅延回路出力画像信号
6を平滑化フィルタ111に入力し、フィルタ特性制御
信号17にしたがって画素領域ごとにフィルタ特性の強
さ(特性係数)を切換えて平滑化処理を行ない、平滑化
フィルタ出力画傷信号7を出力する。
Then, in the delay circuit 110, the input signal 5, which is the noise reducer output image signal, is delayed by the time of the process in which the filter characteristics are determined, and the delay circuit output image signal 6 is input to the smoothing filter 111, and the filter characteristics are Smoothing processing is performed by switching the strength of the filter characteristic (characteristic coefficient) for each pixel region according to the control signal 17, and a smoothed filter output image flaw signal 7 is output.

第1図における平滑化フィルタ111では、周囲の画素
および中心の画素に特性係数を掛合わせることによシ平
滑化処理され、そのため少なくとも32イン以上のライ
ンメそりが必要である。そして、平滑化フィルタ出力6
偉信号Tは符号器112において動静ブロック識別信号
10にしたがい符号化され、符号化圧縮信号20をバッ
ファメモリ113に入力し、一定の伝送速度で符号化圧
縮信号21が読み出される。この符号器112における
符号化拡バッファメモリ113から出力されるバッファ
メモリ占有量22が閾値Tf以下になるまで待つて行な
う。このとき、符号化しないフレームを表す間引き信号
8を出力し、ノイズリデューサ102の非線形レベル変
換器101a  において間引きを行なう。そして、符
号化は符号化する前に1フレ一ム時間かけてパラメータ
の決定を行ない、決定された符号化パラメータ18にし
たがって次の1フレームで符号化を行なう。この符号化
パラメータ18はセレクタ114に入力され、動静ブロ
ック識別信号10にしたがい過去の符号化パラメータ1
9(メモリ回路115から読み出されたパラメータ)か
あるいは現在の符号化パラメータ18かを選択する。動
静ブロック識別信号10が動ブロックのときは現在の符
号化パラメータ1Bを選び、静止ブロックのときは過去
の符号化パラメータ19を選ぶ。このように選ばれたパ
ラメータ15はメモリ回路115に書き込まれる。ここ
で、静止ブロックのパラメータは動ブロックにならない
かぎり書き換えられない。
The smoothing filter 111 in FIG. 1 performs smoothing processing by multiplying the surrounding pixels and the central pixel by a characteristic coefficient, and therefore requires a line mesh of at least 32 inches or more. And smoothing filter output 6
The signal T is encoded by the encoder 112 according to the motion block identification signal 10, the encoded compressed signal 20 is input to the buffer memory 113, and the encoded compressed signal 21 is read out at a constant transmission rate. The process waits until the buffer memory occupancy 22 output from the encoding expansion buffer memory 113 in the encoder 112 becomes equal to or less than the threshold Tf. At this time, a thinning signal 8 representing a frame that is not encoded is output, and thinning is performed in the nonlinear level converter 101a of the noise reducer 102. Then, before encoding, parameters are determined over a period of time for one frame, and encoding is performed in the next frame according to the determined encoding parameters 18. This encoding parameter 18 is input to the selector 114, and the past encoding parameter 1 is inputted according to the motion block identification signal 10.
9 (the parameter read from the memory circuit 115) or the current encoding parameter 18. When the moving/static block identification signal 10 is a moving block, the current encoding parameter 1B is selected, and when it is a still block, the past encoding parameter 19 is selected. The parameters 15 selected in this way are written into the memory circuit 115. Here, the parameters of a static block cannot be rewritten unless it becomes a moving block.

パラメータ15はブロック判定回路107とフィルタ特
性制御回路108に入力される。このブロック判定回路
107ではパラメータ15が細かいパラメータのブロッ
クかあるいは粗いパラメータのブロックかを判定する。
Parameter 15 is input to block determination circuit 107 and filter characteristic control circuit 108 . This block determination circuit 107 determines whether the parameter 15 is a fine parameter block or a coarse parameter block.

たとえば、パラメータ15がpn(n=o〜k)のよう
にに通りのパラメータであるとする。nが判定の閾値T
pより大きいとき粗いパラメータのブロックとする。ま
たnが判定の閾値Tp以下のとき細かいパラメータのブ
ロックとする。この判定結果としてブロックごとのパラ
メータの粗/細を表すパラメータ識別信号14を出力す
る。
For example, assume that the parameter 15 is a valid parameter such as pn (n=ok). n is the judgment threshold T
When it is larger than p, it is considered a coarse parameter block. Further, when n is less than or equal to the determination threshold Tp, the block is determined to be a detailed parameter block. As a result of this determination, a parameter identification signal 14 representing coarse/fine parameters of each block is output.

なお、以上の説明においてく画素領域を5つに分割した
場合について述べたが、第6図に示す(&)〜(f)の
よ1うに2つの画素領域に分割してもよい。
In the above description, a case has been described in which the pixel area is divided into five parts, but it may be divided into two pixel areas as shown in (&) to (f) in FIG.

また、□□□)〜(ロ)のように3つの画素領域に分割
してもよい。さらに第6図および後述する(4)〜(1
))のように4つの画素領域に分割してもよい。
Alternatively, the pixel area may be divided into three pixel areas such as □□□) to (b). Furthermore, in FIG. 6 and (4) to (1) described below,
)) may be divided into four pixel areas.

そして、本発明によると、入力する動画像信号が、たと
えば、第8図の(、)のような輪郭部分で高域周波数成
分を含んだブロックのある画像の場合、このブロックは
動きに伴い動ブロックと判定されることか多く、動ブロ
ックを符号化することKよって符号化予測画像にブロッ
ク歪を生じる(第8図の(b)の(ハ)参照)。この符
号化予測画像を視覚的にブロック歪のない滑らかな画像
にする九め、ブロック歪が生じるであろう動ブロックの
境界の画素およびその画素に近い位置にある画素、ある
いはブロックの内側の画素に対して高域周波数をカット
する平滑化フィルタ処理を行なう(第4図のく&)参照
)と、第4図の(b)のようにブロック歪の少ない画像
が得られる。さらに詳しく述べると、符号化予測画像に
おいてブロック歪の少ない視覚的に滑らかな画像にする
ため、粗いノくラメータで符号化するブロックの境界の
画素とその内側の画素および細かいパラメータで符号化
するブロックの境界の画素とその内側の画素の領域ごと
に平滑化フィルタの特性を切り換えて用いる。第5図に
おいて、パラメータPn(n=o〜に、 Oが最も細か
く、kが最も粗い)がPOとPl のときノくラメータ
が細かいブロックとする。Plよりも粗いと亀パラメー
タが粗いブロックとする。フィルタ特性の強さが第7図
に示すように、特性Aく特性B〈特性Cく特性りく特性
Eく特性Fとなる特性係数を用意し、これらの特性を切
換える領域を次の5つの領域とする。
According to the present invention, if the input moving image signal is an image with a block containing high-frequency components in the contour part, such as (,) in FIG. It is often determined that the moving block is a block, and encoding the moving block causes block distortion in the encoded predicted image (see (c) of (b) in FIG. 8). To make this coded predicted image visually smooth without block distortion, pixels at the boundary of the moving block where block distortion would occur, pixels located near that pixel, or pixels inside the block. When a smoothing filter process is performed to cut the high frequencies (see ``&'' in FIG. 4), an image with less block distortion can be obtained as shown in FIG. 4(b). More specifically, in order to create a visually smooth image with less block distortion in the encoded predicted image, pixels at the boundaries of blocks encoded with coarse parameters, pixels inside them, and blocks encoded with fine parameters. The characteristics of the smoothing filter are switched and used for each region of boundary pixels and pixels inside the boundary. In FIG. 5, when the parameter Pn (n=o~, where O is the finest and k is the coarsest) is PO and Pl, it is assumed that the block has a fine parameter. If it is coarser than Pl, it is assumed that the block has a rough parameter. As shown in Figure 7, characteristic coefficients are prepared such that the strength of the filter characteristics is characteristic A, characteristic B, characteristic C, characteristic E, characteristic F, and the areas in which these characteristics are switched are divided into the following five areas. shall be.

■ 細かいパラメータで符号化するブロック内における
ブロック境界の画素より内側の画素領域、かつ粗いパラ
メータで符号化するブロックとの境界から3画素以上離
れた細かいパラメータで符号化するブロック内における
画素領域。
■ A pixel area inside a block boundary pixel in a block to be encoded with fine parameters, and a pixel area in a block to be encoded with fine parameters that is three or more pixels away from the boundary with a block to be encoded with coarse parameters.

■ 互いに隣接した細かいバラメー・夕で符号化するブ
ロック内における境界の周囲画素領域(ただし、■の領
域は除く)。
■ A pixel area surrounding the boundary within a block to be encoded with adjacent fine parameters (excluding the area marked ■).

■ 粗いパラメータで符号化するブロックの境界から2
画素前れた、あるいは少なくとも2画素以上離れた細か
いパラメータで符号化するブロック内における画素領域
■ 2 from the boundary of the block encoded with coarse parameters
A pixel area within a block that is encoded using detailed parameters that are a pixel ahead or at least two pixels apart.

■ 粗いパラメータで符号化するブロック内における境
界の画素より内側の画素領域。
■ The pixel region inside the boundary pixel within the block to be encoded with coarse parameters.

■ 粗いパラメータで符号化するブロックと隣接し次細
かいパラメータで符号化するブロックとの境界の画素お
よび互いに隣接した粗いパラメータで符号化するブロッ
ク内における境界の周囲画素領域。
■ Pixels at the boundary between a block encoded with coarse parameters and an adjacent block encoded with finer parameters, and pixel areas surrounding the boundaries within mutually adjacent blocks encoded with coarse parameters.

そして、フィルタ処理をする画素が粗いパラメータで符
号化するブロック内の画素のとき、ブロック境界の画素
かその内側の画素かを判別し、■の領域と■の領域に分
割する。また、細かいパラメータで符号化するブロック
内の画素のとき、周囲ブロックを参照して動ブロックが
隣接しているか否かを判定し、粗いパラメータで符号化
するブロックが隣接している場合はブロック境界から1
画素目か2画素目かそれとも3画素以上離れた内側の画
素かを判別し、■の領域と■の領域および■の領域と■
の領域に分割する。さらに互いに隣接した細かいパラメ
ータで符号化するブロックの境界の画素かその内側の画
素かを判別し、■の領域と■の領域に分割する。たとえ
ば、このように分割された画素が■の領域のときはフィ
ルタ特性Aを選び、■の領域のときはフィルタ特性Bを
選び、■の領域のときはフィルタ特性Cを選び、■の領
域のときはフィルタ特性りを選び、■の領域のときはフ
ィルタ特性Eを選んで用いる。すなわち5つの画素領域
に対して■く■く■く■く■のようにフィルタ特性の強
さを切換えることによって輪郭部分を含む粗いパラメー
タで符号化するブロックの高域周波数成分をカットする
ことができる。
When a pixel to be subjected to filter processing is a pixel within a block to be encoded with coarse parameters, it is determined whether the pixel is a pixel at a block boundary or a pixel inside the block boundary, and the pixel is divided into a region (■) and a region (2). Also, when a pixel in a block is encoded with fine parameters, it is determined whether the moving block is adjacent by referring to the surrounding blocks, and if the block to be encoded with coarse parameters is adjacent, the block boundary is from 1
Determine whether it is the 1st pixel, the 2nd pixel, or the inner pixel that is 3 or more pixels away, and compare the ■ area, the ■ area, and the ■ area.
Divide into areas. Furthermore, it is determined whether the pixel is a pixel at the boundary of the block to be encoded or a pixel inside the block to be encoded using fine parameters adjacent to each other, and the pixel is divided into a region (■) and a region (2). For example, if the pixel divided in this way is in the area ■, select filter characteristic A, if it is in the area ■, select filter characteristic B, if it is in the area ■, select filter characteristic C, and if the pixel is in the area ■, select filter characteristic A. When the filter characteristic is in the region (■), filter characteristic E is selected and used. In other words, by switching the strength of the filter characteristics for five pixel regions like ■ku■ku■ku■ku■, it is possible to cut the high frequency components of the block encoded with coarse parameters including the contour part. can.

以上の説明では画素を■〜■の領域に分割したが、5つ
の領域を組合せることにより次に示す(、)〜争)のよ
うに選んでもよい。第6図K (a)〜(4)までの領
域分割を示す。
In the above explanation, the pixel is divided into regions (1) to (2), but by combining the five regions, the following (,) to () may be selected. FIG. 6K shows area divisions in (a) to (4).

(&)■+■、■+■十■の2つの領域に分割する。(&) Divide into two areas: ■+■ and ■+■10■.

(b)  ■+■+■、■+■の2つの領域に分割する
(b) Divide into two areas: ■+■+■ and ■+■.

(C)■+■+■+■、■の2つの領域に分割する。(C) Divide into two areas: ■+■+■+■, and ■.

(d)  ■+■、■+■十■の2つの領域に分割する
(d) Divide into two areas: ■+■ and ■+■10■.

(e)  ■+■+■、■+■の2つの領域に分割する
(e) Divide into two areas: ■+■+■ and ■+■.

(f)  ■、■+■+■十■の2つの領域に分割する
(f) Divide into two areas: ■, ■+■+■10■.

(g)  ■、■、■十〇十〇の3つの領域に分割する
(g) Divide into three areas: ■, ■, and ■1010.

■ ■+■、■、■十■の3つの領域に分割する。■ Divide into three areas: ■+■, ■, and ■10■.

(1)  ■十〇+■、■、■の3つの領域に分割する
(1) Divide into three areas: ■10+■, ■, ■.

(j)  ■+■、■、■十〇の3つの領域に分割する
(j) Divide into three areas: ■+■, ■, and ■10.

(2)■、■十〇、■+■の3つの領域に分割する。(2) Divide into three areas: ■, ■10, and ■+■.

V)■+■、■、■、■の4つの領域に分割する。V) Divide into four areas: ■+■, ■, ■, ■.

(ハ)■、■+■、■、■の4つの領域に分割する。(c) Divide into four areas: ■, ■+■, ■, ■.

(、)  ■+■、■、■、■の4つの領域に分割する
(,) Divide into four areas: ■+■, ■, ■, ■.

(o)  ■、■、■、■+■の4つの領域に分割する
(o) Divide into four areas: ■, ■, ■, and ■+■.

争)■、■、■、■十〇の4つの領域に分割する。Conflict) Divide into four areas: ■, ■, ■, ■10.

さらに、符号化パラメータの粗さに応じてフィルタ特性
の強さを換える。第7図において、たとえば符号化のパ
ラメータが粗いときはブロック歪が大きくなるので第5
図の■、■の画素領域にボケが強いフィルタ特性Eおよ
び特性Fを用いる。
Furthermore, the strength of the filter characteristics is changed depending on the coarseness of the encoding parameters. In Fig. 7, for example, when the encoding parameters are coarse, the block distortion becomes large, so the fifth
Filter characteristics E and F, which have strong blur, are used in the pixel regions marked with ■ and ■ in the figure.

逆に符号化のパラメータが細いときはブロック歪は顕著
に現れないので第5図の■、■、■、■。
On the other hand, when the encoding parameters are thin, block distortion does not appear conspicuously.

■の画素領域にはボケが最も弱いフィルタ特性Aを用い
る。このように符号化パラメータの粗さに応じて平滑化
フィルタの特性を時間的に換えて用いることによって、
符号化歪の少ない場合には復号画像の解像度の低下を抑
え、符号化歪の大きい場合には画質が改善できるという
特徴がある。
Filter characteristic A, which provides the weakest blur, is used for the pixel region (2). In this way, by changing the characteristics of the smoothing filter temporally depending on the roughness of the encoding parameter,
It has the characteristic that when the encoding distortion is small, a decrease in the resolution of the decoded image can be suppressed, and when the encoding distortion is large, the image quality can be improved.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、ブロック単位処理で符号
化する動画像に対して、符号化パラメータの粗細ブロッ
ク別および画素位置別に強さの異なる平滑化フィルタ処
理を行い、さらに符号化パラメータの粗さに応じて時間
的に平滑化フィルタの強さを換えることにより、平滑化
フィルタにより符号化予測画像のブロック歪を大幅に軽
減できる恵め、同時に復号時の画像も視覚上大きな画質
改善を得ることができる。また、符号化の異なる画素領
域および符号化パラメータの粗さに合わせて平滑化フィ
ルタの特性を変えて平滑化処理するので、符号化予測画
像および復号時の画像全体の解像度の低下を少なくでき
、視覚的に見やすい画像が得られるという効果がある。
As explained above, the present invention performs smoothing filter processing with different strengths for each coarse block and pixel position of encoding parameters on a moving image to be encoded by block-by-block processing, and By changing the strength of the smoothing filter over time depending on the situation, the block distortion of the encoded predicted image can be significantly reduced using the smoothing filter, and at the same time, the visual quality of the decoded image can be significantly improved. be able to. In addition, since the smoothing process is performed by changing the characteristics of the smoothing filter according to the different pixel regions to be encoded and the roughness of the encoding parameters, it is possible to reduce the decrease in the resolution of the encoded predicted image and the entire image during decoding. This has the effect of providing visually easy-to-see images.

さらに、平滑化フィルタにより動ブロツク内の信号の著
しいレベル変化を滑らかにすることができるので、符号
化時の発生情報量の削減にも効果がある。
Furthermore, since the smoothing filter can smooth out significant level changes in the signal within a moving block, it is also effective in reducing the amount of information generated during encoding.

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

第1図は本発明による動画像信号平滑化処理装置の一実
施例を示すブロック図、第2図および第3図は第1図の
動作説明に供するタイムチャート、第4図は本発明の詳
細な説明するための説明図、第5図および第6図は本発
明における画素領域の分割方法を説明するための説明図
、第7図は本発明に訃けるフィルタ処理の制御方法を説
明するための説明図、第8図は従来の動画像符号化装置
における課題を説明するための説明図である。 104・拳・・ilE!!静ブロッタブロック判定回路
・−・・画素アドレスカウンタ、106・・φ・画素領
域判別回路、107・・・・ブロック判定回路、108
・・・・フィルタ特性制御回路、111・・・・平滑化
フィルタ、115・−・・メモリ回路。
FIG. 1 is a block diagram showing an embodiment of a moving image signal smoothing processing device according to the present invention, FIGS. 2 and 3 are time charts for explaining the operation of FIG. 1, and FIG. 4 is a detailed diagram of the present invention. FIG. 5 and FIG. 6 are explanatory diagrams for explaining the method of dividing a pixel area in the present invention, and FIG. 7 is an explanatory diagram for explaining the filter processing control method according to the present invention. FIG. 8 is an explanatory diagram for explaining problems in a conventional video encoding device. 104・Fist・ilE! ! Static blotter block determination circuit --- Pixel address counter, 106...φ Pixel area determination circuit, 107... Block determination circuit, 108
... Filter characteristic control circuit, 111 ... Smoothing filter, 115 ... Memory circuit.

Claims (1)

【特許請求の範囲】[Claims] ブロック単位処理を基本とした動画像符号器に入力する
動画像信号に対して平滑化処理を施す装置において、符
号化処理するブロックが動ブロックか静止ブロックかを
判定する回路と、符号化パラメータを記憶するメモリ回
路と、このメモリ回路へ書込む符号化パラメータを動静
ブロック識別信号に応じて選択する回路と、前記符号化
パラメータが粗いか細かいかを判定する回路と、画素の
位置をカウントするカウント回路と、このカウント回路
における画素カウント値と周囲の画素領域並びに前記符
号化パラメータの粗細判定結果を参照して分割する画素
領域を判別する判定回路と、この判定回路で判別された
画素領域ごとに各ブロックにおける符号化パラメータの
粗さに応じて平滑度を制御する回路と、前記平滑度を制
御する信号にしたがい前記動画像信号の平滑化フィルタ
処理を行なう回路を有することを特徴とする動画像信号
平滑化処理装置。
A device that performs smoothing processing on a video signal input to a video encoder based on block unit processing includes a circuit that determines whether a block to be encoded is a moving block or a still block, and a circuit that determines encoding parameters. A memory circuit for storing, a circuit for selecting encoding parameters to be written into the memory circuit according to a motion/static block identification signal, a circuit for determining whether the encoding parameters are coarse or fine, and a counter for counting pixel positions. a determination circuit that determines a pixel region to be divided by referring to the pixel count value in this counting circuit, surrounding pixel regions, and coarse determination results of the encoding parameters; A moving image characterized by comprising a circuit that controls smoothness according to the roughness of an encoding parameter in each block, and a circuit that performs smoothing filter processing on the moving image signal according to a signal that controls the smoothness. Signal smoothing processing device.
JP63264205A 1988-10-21 1988-10-21 Moving image signal smoothing processor Pending JPH02112394A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63264205A JPH02112394A (en) 1988-10-21 1988-10-21 Moving image signal smoothing processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63264205A JPH02112394A (en) 1988-10-21 1988-10-21 Moving image signal smoothing processor

Publications (1)

Publication Number Publication Date
JPH02112394A true JPH02112394A (en) 1990-04-25

Family

ID=17399947

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63264205A Pending JPH02112394A (en) 1988-10-21 1988-10-21 Moving image signal smoothing processor

Country Status (1)

Country Link
JP (1) JPH02112394A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020034078A1 (en) * 2018-08-14 2020-02-20 Huawei Technologies Co., Ltd. Event-based adaptation of coding parameters for video image encoding

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020034078A1 (en) * 2018-08-14 2020-02-20 Huawei Technologies Co., Ltd. Event-based adaptation of coding parameters for video image encoding
US11490092B2 (en) 2018-08-14 2022-11-01 Huawei Technologies Co., Ltd. Event-based adaptation of coding parameters for video image encoding

Similar Documents

Publication Publication Date Title
US6320905B1 (en) Postprocessing system for removing blocking artifacts in block-based codecs
US6226050B1 (en) Signal adaptive filtering method for reducing ringing noise and signal adaptive filter
US5404178A (en) Noise eliminating circuit
US5877813A (en) Loop filtering method for reducing blocking effects and ringing noise of a motion-compensated image
JP2947186B2 (en) Flicker reduction circuit
JPH08186714A (en) Noise removal of picture data and its device
JP3222496B2 (en) Video signal processing device
JPH07203428A (en) Image processing method and its device
US20030107582A1 (en) Noise reducing method, noise reducing device, medium, and program
JPH08237669A (en) Picture signal processor, picture signal processing method and picture signal decoder
US5444493A (en) Method and apparatus for providing intra-field interpolation of video signals with adaptive weighting based on gradients of temporally adjacent fields
CN1984237A (en) Scene change detector and method thereof
KR20060095960A (en) Block noise reduction device and image display device
EP1039760A2 (en) Apparatus and method of block noise detection and reduction
KR20040065967A (en) Methods and apparatus for removing blocking artifacts of MPEG signals in real-time video reception
JP3046379B2 (en) Image coding device
US5787207A (en) Method and apparatus for minimizing blockiness in reconstructed images
JPH05316361A (en) Block distortion elimination filter
JPH09172621A (en) Interpolation device and interpolation method for compressed high resolution video signal
JPH0714211B2 (en) Method and apparatus for removing block distortion in moving picture coding
JPH0884342A (en) Video signal decoder
EP1342367B1 (en) Spatial smoothing process and device for dark regions of an image
JPH02112394A (en) Moving image signal smoothing processor
JPS58190184A (en) Inter-frame interpolation method
JP3193078B2 (en) System environment adaptive contour compensation method