JPH0923426A - Method and device for decoding picture - Google Patents

Method and device for decoding picture

Info

Publication number
JPH0923426A
JPH0923426A JP7169845A JP16984595A JPH0923426A JP H0923426 A JPH0923426 A JP H0923426A JP 7169845 A JP7169845 A JP 7169845A JP 16984595 A JP16984595 A JP 16984595A JP H0923426 A JPH0923426 A JP H0923426A
Authority
JP
Japan
Prior art keywords
orthogonal transform
decoding
image
unit
inverse
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
JP7169845A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Yashima
由幸 八島
Hiroshi Kodera
博 小寺
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 JP7169845A priority Critical patent/JPH0923426A/en
Publication of JPH0923426A publication Critical patent/JPH0923426A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a correction picture of high picture quality with the absolute minimum number of circuit constitution in picture decoding. SOLUTION: When decoding is continuously executed on a real time, switches 116 and 107 are changed over to contact points 1162 and 1071 . A low pass filter processing, an orthogonal conversion processing, a clipping processing and an inverse orthogonal conversion processing are executed on a decoding picture 106, and a corrected picture 113 is obtained. Then, it is outputted to an output terminal 114 and is accumulated in a frame memory 115. When decoding is stopped in a prescribed frame, the switch 107 is changed over to a contact point 1072 and a series of processings are repetitively executed on the corrected picture 113 accumulated in the frame memory 115.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ディジタル画像信
号を小ブロックに分割して、小ブロックごとに直交変換
を行って得られた直交変換係数を定められた量子化ステ
ップ幅で量子化して量子化代表値を得て、量子化代表値
に対応する符号を割り当てて記録された該符号を解読し
て量子化代表値を再生し、再生された量子化代表値を逆
直交変換して復号画像信号を得る画像復号方法および装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention divides a digital image signal into small blocks, and quantizes an orthogonal transform coefficient obtained by performing an orthogonal transform for each small block with a predetermined quantization step width. The decoded representative value is obtained, the code corresponding to the quantized representative value is allocated, the recorded code is decoded to reproduce the quantized representative value, and the reproduced quantized representative value is subjected to inverse orthogonal transform to obtain a decoded image. The present invention relates to an image decoding method and apparatus for obtaining a signal.

【0002】[0002]

【従来の技術】画像の高能率符号化方法として、離散コ
サイン変換に代表される直交変換を利用するものがあ
る。
2. Description of the Related Art As a highly efficient image coding method, there is a method using an orthogonal transform represented by a discrete cosine transform.

【0003】図4は一般的な直交変換符号化・復号装置
のブロック図である。まず、入力端子201から入力さ
れた画像202は、小ブロック分割部203にてN×N
の小ブロックに分割される。分割された小ブロックごと
に直交変換部204にて直交変換され、得られた直交変
換係数に対して、量子化部205において定められた量
子化特性で量子化が行われる。次に、符号割当部206
にて量子化代表値に対して符号が割り当てられ、符号化
データ207が出力端子208を通じて蓄積あるいは伝
送される。一方、復号時には、入力端子209から得ら
れる符号化データ210から、符号解読部211にて符
号が解読され、逆量子化部212において各直交変換係
数に対する量子化代表値が再生され、逆直交変換部21
3にて逆直交変換が行われ復号画像データ214として
出力端子215に出力される。
FIG. 4 is a block diagram of a general orthogonal transform coding / decoding device. First, the image 202 input from the input terminal 201 is N × N in the small block dividing unit 203.
It is divided into small blocks. The orthogonal transformation unit 204 performs orthogonal transformation on each of the divided small blocks, and the obtained orthogonal transformation coefficient is quantized with the quantization characteristic determined by the quantization unit 205. Next, the code allocation unit 206
At, a code is assigned to the quantized representative value, and the encoded data 207 is stored or transmitted through the output terminal 208. On the other hand, at the time of decoding, the code decoding unit 211 decodes the code from the coded data 210 obtained from the input terminal 209, and the inverse quantization unit 212 reproduces the quantized representative value for each orthogonal transform coefficient, and the inverse orthogonal transform is performed. Part 21
Inverse orthogonal transformation is performed at 3, and the decoded image data 214 is output to the output terminal 215.

【0004】量子化方法は一般的に、図5に示すよう
に、入力値FがFi ≦F<Fi+1 のとき、量子化代表値
がFi'(ただし、Fi ≦Fi'<Fi+1 )となるように設
定される。
As shown in FIG. 5, the quantization method is generally such that when the input value F is F i ≤F <F i + 1 , the quantization representative value is F i '(where F i ≤F i It is set so that '<F i + 1 ).

【0005】このような直交変換符号化方法において
は、小ブロックを単位として符号化が行われ、圧縮率を
高く設定した場合には量子化が粗くなされるため、復号
された画像にブロック雑音等の画質劣化が検知されると
いう問題が生じる。
In such an orthogonal transform coding method, coding is performed in units of small blocks, and when the compression rate is set high, the quantization is rough, so that the decoded image has block noise or the like. There is a problem that the deterioration of the image quality is detected.

【0006】これを避けるために種々の方法が考えられ
ているが、原画像が満たすべき複数の拘束条件を設定し
て、符号化によって劣化している復号画像をこれら全て
の拘束条件を満たすように繰り返し修正して、結果とし
て原画像になるべく近いものに復元していく方法がある
(A. Zakhor,“Iterative procedures for reductionof
blocking effects in transform image coding,”IEEE
Trans. on Circuitsand Systems for Video Technolog
y, Vol.2, No.1, pp.91-95, March 1992)。
Various methods have been considered to avoid this, but a plurality of constraint conditions that the original image must satisfy are set so that the decoded image deteriorated by encoding satisfies all of these constraint conditions. There is a method to reconstruct the image as close as possible to the original image as a result (A. Zakhor, “Iterative procedures for reductionof
blocking effects in transform image coding, ”IEEE
Trans. On Circuitsand Systems for Video Technolog
y, Vol.2, No.1, pp.91-95, March 1992).

【0007】この文献中の方法では、拘束条件として、
原画像は滑らかであるという条件と、量子化代表値か
ら、量子化される前の真の値の存在する範囲が限定され
るという条件の2つを用いている。前者は画像にローパ
ルスフィルタを施すことで達成される。後者は、量子化
代表値がFi'である場合には量子化前の真の値FはFi
≦F<Fi+1 に存在するはずであるので、これを満たす
ように修正を施していけばよい。
In the method in this document, the constraint condition is
The condition that the original image is smooth and the condition that the range in which the true value before quantization is present are limited from the quantized representative value are used. The former is achieved by applying a low pulse filter to the image. In the latter case, when the quantized representative value is F i ′, the true value F before quantization is F i
Since it must exist in ≦ F <F i + 1 , it may be modified to satisfy this.

【0008】具体的にはまず、得られた復号信号に対し
てローパスフィルタを施す。次に、ローパスフィルタを
施した信号を直交変換する。このとき得られる直交変換
係数FL は、ローパスフィルタを施す前の信号を直交変
換して得られる係数Fi'とは異なり、必ずしも後者の条
件を満たしていない。したがって、以下の条件によって
L を修正する。
Specifically, first, a low pass filter is applied to the obtained decoded signal. Next, the low-pass filtered signal is orthogonally transformed. The orthogonal transform coefficient F L obtained at this time is different from the coefficient F i ′ obtained by orthogonally transforming the signal before the low-pass filter is applied, and does not necessarily satisfy the latter condition. Therefore, FL is modified according to the following conditions.

【0009】[0009]

【数1】 すなわち、真の値の範囲を越えたものについては、真の
値の範囲のうち最大値あるいは最小値にクリッピングす
る処理を行う。クリッピングにより修正された直交変換
係数を逆直交変換して修正された画像データを得る。以
上のローパスフィルタ、直交変換、クリッピング、逆直
交変換を定められた回数繰り返すことにより最終的な修
正画像が得られる。
[Equation 1] That is, if the value exceeds the true value range, the clipping process is performed to the maximum value or the minimum value in the true value range. The orthogonal transform coefficient corrected by clipping is subjected to inverse orthogonal transform to obtain corrected image data. A final corrected image is obtained by repeating the above low-pass filter, orthogonal transformation, clipping, and inverse orthogonal transformation a predetermined number of times.

【0010】図6は以上述べた復号画像の修正方法を実
行するブロック図である。復号時に、入力端子101か
ら入力された符号化データ102から、符号解読部10
3にて符号が解読された後、逆量子化部104にて各直
交変換係数に対する量子化代表値が再生され、逆直交変
換部105にて逆直交変換が行われ復号画像データ10
6が得られる。復号画像データ106に対して、ローパ
スフィルタ部1081においてフィルタリングが施され
た後、直交変換部1091 にて直交変換が施され、得ら
れた直交変換係数はクリッピング部1101 に入力され
る。クリッピング部1101 においては、逆量子化部1
04で用いられた量子化代表値によって範囲設定部11
0で求まる量子化前の値のとり得る最大値・最小値を用
いて、直交変換係数が修正される。修正された直交変換
係数は逆直交変換部111において逆変換が施され、1
回目の修正画像1131 が得られる。この修正画像11
1 に対してローパルスフィルタ部1082 において2
回目のローパスフィルタが施され、直交変換部1092
にて直交変換が施され、得られた直交変換係数はクリッ
ピング部1102 に入力される。クリッピングブ110
2 においては、1回目と同様に直交変換係数が修正さ
れ、修正された直交変換係数は逆直交変換部1112
おいて逆変換が施され、2回目の修正画像1132 が得
られる。同様にして定められた回数だけ処理が繰り返さ
れ、得られたn回目の修正画像113nが最終的に出力
端子114に出力される。
FIG. 6 shows the method of correcting a decoded image described above.
It is a block diagram to perform. Input terminal 101 when decoding
From the encoded data 102 input from the code decoding unit 10
After the code is deciphered in step 3, the dequantization unit 104 demultiplexes each code
The quantized representative value for the alternating transform coefficient is reproduced, and the inverse orthogonal transform is
Inverse orthogonal transform is performed in the conversion unit 105 and the decoded image data 10
6 is obtained. For the decoded image data 106,
Filter unit 1081Filtered in
Then, the orthogonal transformation unit 1091 Orthogonal transformation is performed in
The extracted orthogonal transform coefficient is used as the clipping unit 110.1 Entered in
You. Clipping part 1101 In, the inverse quantizer 1
The range setting unit 11 according to the quantized representative value used in 04.
Use the maximum and minimum values that can be taken by the value before quantization obtained by 0
Then, the orthogonal transform coefficient is modified. Modified orthogonal transform
The coefficient is inversely transformed by the inverse orthogonal transformation unit 111, and 1
Third corrected image 1131 Is obtained. This modified image 11
3 1 For the low pulse filter unit 108Two At 2
The second low-pass filter is applied, and the orthogonal transformation unit 109Two 
The orthogonal transformation coefficient is applied to the obtained
Ping unit 110Two Is input to Clipping 110
Two In the same way as the first time, the orthogonal transformation coefficient is corrected.
Then, the corrected orthogonal transform coefficient is applied to the inverse orthogonal transform unit 111.Two To
Inverse conversion is applied to the second corrected image 113.Two Get
Can be The process is repeated the same number of times
And the obtained n-th corrected image 113nFinally output
It is output to the terminal 114.

【0011】[0011]

【発明が解決しようとする課題】上記で述べたような方
法において、復号された映像信号に対して、ローパスフ
ィルタ処理・直交変換・直交変換係数クリッピング処理
・逆直交変換処理を繰り返す必要がある。直交変換符号
化によって現れるブロック歪み等を除去するためには少
なくとも数回の繰り返しが必要で、繰り返し回数が増え
るほど画質が向上することが知られている。
In the method as described above, it is necessary to repeat low-pass filter processing, orthogonal transformation, orthogonal transformation coefficient clipping processing, and inverse orthogonal transformation processing for the decoded video signal. It is known that at least several iterations are required to remove block distortions and the like that appear due to orthogonal transform coding, and the image quality improves as the number of iterations increases.

【0012】ここで、復号時に必要となるのは、対象が
1フレームのみからなる静止画像の場合には、上記ロー
パスフィルタ処理・直交変換・直交変換係数クリッピン
グ処理・逆直交変換処理の回路が各1つづつあれば、修
正処理された画像をもう一度同じ回路に入力することを
次々に繰り返すことによって実行できる。
Here, when decoding is required for a still image consisting of only one frame, the circuits for low-pass filter processing, orthogonal transformation, orthogonal transformation coefficient clipping processing and inverse orthogonal transformation processing are required for decoding. One by one, the corrected image can be input to the same circuit again by repeating it one after another.

【0013】しかしながら、この方法を動画像に対して
適用しようとすると、各フレームに対して上記繰り返し
処理を行う必要があるため、例えば1フレームに対して
n回の繰り返し処理を行おうとすると、ローパスフィル
タ処理・直交変換・直交変換係数クリッピング処理・逆
直交変換処理の回路が各n個必要となる。
However, if this method is applied to a moving image, it is necessary to perform the above-described iterative processing for each frame. Therefore, for example, when iterative processing is performed n times for one frame, low-pass processing is performed. N circuits for filter processing, orthogonal transformation, orthogonal transformation coefficient clipping processing, and inverse orthogonal transformation processing are required.

【0014】以上のようなことから、動画像信号に対し
て最終的に得られる修正画像を原画像に近いものに収束
させるためには、莫大なハードウェアの増加につながる
という問題点があった。
As described above, in order to converge the corrected image finally obtained for the moving image signal to the one close to the original image, there is a problem that a huge amount of hardware is required. .

【0015】本発明の目的は、必要最小限の回路構成
で、画質のよい修正画像が得られる画像復号方法および
装置を提供することにある。
It is an object of the present invention to provide an image decoding method and apparatus capable of obtaining a corrected image with high image quality with a minimum necessary circuit configuration.

【0016】[0016]

【課題を解決するための手段】本発明の画像復号方法
は、得られた復号画像に対して、ローパスフィルタを施
す処理と、ローパスフィルタ後の画像信号を小ブロック
に分割して直交変換を施す処理と、得られた直交変換係
数が定められた範囲に存在するかどうかを判定する処理
と、存在しない場合にはその範囲内にクリッピングする
処理と、クリッピング処理が施された直交変換係数を逆
直交変換して修正画像を得る処理を、リアルタイムで画
像を復号する場合には実行しないか一度だけ実行し、あ
るフレームで復号を停止した場合には、停止している間
繰り返し実行することを特徴とする。
According to an image decoding method of the present invention, a process of applying a low-pass filter to an obtained decoded image, and an image signal after the low-pass filter is divided into small blocks and orthogonal transformation is performed. The process, the process of determining whether the obtained orthogonal transform coefficient exists in the specified range, the process of clipping in the range when it does not exist, and the inverse process of the orthogonal transform coefficient subjected to the clipping process. The process of obtaining a corrected image by orthogonal transformation is not executed when the image is decoded in real time, or is executed only once, and when decoding is stopped at a certain frame, it is repeatedly executed while stopped. And

【0017】また、本発明の画像復号装置は、入力端子
と、出力端子と、該入力端子から入力された符号化デー
タの符号を解読する符号解読部と、該符号解読部の出力
から各直交変換係数に対する量子化代表値を再生する逆
量子化部と、前記量子化代表値を逆直交変化し、復号画
像データを得る逆直交変換部と、前記量子化代表値か
ら、その係数の真の値がとり得る範囲の最大値・最小値
を求める範囲検出部と、修正済み画像を蓄えるフレーム
メモリと、前記逆直交変換部の出力を、前記出力端子に
接続された一方の接点または他方の接点に切り換え出力
する第1のスイッチと、第1のスイッチが他方の接点に
切り換えられ、符号を連続的にリアルタイムで行う場合
には第1のスイッチを介して前記逆直交変換部の出力に
切り換えられ、復号をあるフレームで停止した場合に
は、前記フレームメモリの出力に接続される第2のスイ
ッチと、該第2のスイッチを介して復号画像データまた
は修正済み画像を入力し、フィルタリングを施すローパ
スフィルタ部と、該ローパスフィルタ部の出力を直交変
換し、直交変換係数を得る直交変換部と、前記直交変換
係数を前記範囲検出部で求められた最大値と最小値の間
にあるように修正するクリッピング部と、修正された直
交変換係数に逆変換を施し、修正画像を得、前記出力端
子に出力するとともに前記フレームメモリに蓄える逆直
交変換部を有する。
Further, the image decoding apparatus of the present invention has an input terminal, an output terminal, a code decoding unit for decoding the code of the encoded data input from the input terminal, and an orthogonal output from the output of the code decoding unit. The inverse quantization unit for reproducing the quantized representative value for the transform coefficient, the inverse orthogonal transform unit for inversely orthogonally changing the quantized representative value to obtain the decoded image data, and the quantized representative value from the true of the coefficient. A range detection unit for obtaining the maximum value / minimum value of a range of values, a frame memory for storing a corrected image, and the output of the inverse orthogonal transformation unit, one contact or the other contact connected to the output terminal And a first switch for switching and outputting to the other contact, and in the case of performing the code continuously in real time, it is switched to the output of the inverse orthogonal transforming unit via the first switch. , Decryption When stopped at a certain frame, a second switch connected to the output of the frame memory, and a low-pass filter unit for inputting decoded image data or a corrected image through the second switch and performing filtering. An orthogonal transform unit that obtains an orthogonal transform coefficient by orthogonally transforming the output of the low-pass filter unit, and a clipping unit that corrects the orthogonal transform coefficient so as to be between the maximum value and the minimum value obtained by the range detection unit. And an inverse orthogonal transform unit that performs inverse transform on the corrected orthogonal transform coefficient to obtain a corrected image, outputs the corrected image to the output terminal, and stores the corrected image in the frame memory.

【0018】[0018]

【発明の実施の形態】通常の復号再生時、すなわちリア
ルタイムで画像を復号している場合には、ローパスフィ
ルタ・直交変換・直交変換係数クリッピング・逆直交変
換の一連の処理は、実行されないかまたは一度だけ実行
されることになるが、符号化復号された動画像のフレー
ムを静止させて観察するという符号化雑音が非常に目に
つく状態では、ローパスフィルタ・直交変換・直交変換
係数クリッピング・逆直交変換の一連の処理が何度も繰
り返し実行されることになる。
BEST MODE FOR CARRYING OUT THE INVENTION During normal decoding / reproduction, that is, when an image is being decoded in real time, a series of processes of low-pass filter, orthogonal transform, orthogonal transform coefficient clipping, and inverse orthogonal transform is not executed or Although it will be executed only once, in the state where the coding noise that observes the frame of the coded and decoded video still is still noticeable, the low pass filter, the orthogonal transform, the orthogonal transform coefficient clipping, and the inverse transform coefficient A series of processes of orthogonal transformation will be repeatedly executed many times.

【0019】[0019]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0020】図1は本発明の一実施例の画像復号装置の
ブロック図である。本実施例の画像復号装置は、入力端
子101と、出力端子114と、入力端子101から入
力された符号化データ102の符号を解読する符号解読
部103と、符号解読部103の出力から各直交変換係
数に対する量子化代表値を再生する逆量子化部104
と、量子化代表値を逆直交変換し、復号画像データ10
6を得る逆直交変換部105と、前記量子化代表値か
ら、その係数の真の値がとり得る範囲の最大値・最小値
を求める範囲検出部111と、修正済み画像113を蓄
えるフレームメモリ115と、逆直交変換部105の出
力106を、出力端子114に接続された一方の接点1
161 または他方の接点1162 に切り換え出力するス
イッチ116と、スイッチ116が他方の接点1162
に切り換えられ、復号を連続的にリアルタイムで行う場
合には接点1071 に接続され、復号をあるフレームで
停止した場合には、接点1072 に切り換わりフレーム
メモリ115の出力に接続されるスイッチ107と、ス
イッチ107を介して復号画像データ106または修正
済み画像113を入力し、フィルタリングを施すローパ
スフィルタ部108と、ローパスフィルタ部108の出
力を直交変換し、直交変換係数を得る直交変換部109
と、直交変換係数を範囲検出部111で求められた最大
値と最小値の間にあるように修正するクリッピング部1
10と、修正された直交変換係数に逆変換を施し、修正
画像113を得、出力端子114に出力するとともにフ
レームメモリ115に蓄える逆直交変換部112で構成
されている。
FIG. 1 is a block diagram of an image decoding apparatus according to an embodiment of the present invention. The image decoding apparatus according to the present embodiment includes an input terminal 101, an output terminal 114, a code decoding unit 103 that decodes the code of the encoded data 102 input from the input terminal 101, and an orthogonal output from the output of the code decoding unit 103. Inverse quantization section 104 for reproducing the quantized representative value for the transform coefficient
And the quantized representative value is subjected to inverse orthogonal transformation to obtain the decoded image data 10
6, an inverse orthogonal transformation unit 105, a range detection unit 111 that obtains the maximum and minimum values of the range that the true value of the coefficient can take from the quantized representative value, and a frame memory 115 that stores a corrected image 113. And the output 106 of the inverse orthogonal transformation unit 105 is connected to the output terminal 114 by one contact 1
16 1 or the switch 116 for switching and outputting to the other contact 116 2 and the switch 116 is the other contact 116 2
When the decoding is continuously performed in real time, the switch 107 is connected to the contact 107 1 , and when the decoding is stopped at a certain frame, the switch 107 is switched to the contact 107 2 and connected to the output of the frame memory 115. Then, the decoded image data 106 or the corrected image 113 is input via the switch 107, the low-pass filter unit 108 that performs filtering, and the orthogonal transform unit 109 that orthogonally transforms the output of the low-pass filter unit 108 to obtain an orthogonal transform coefficient.
And a clipping unit 1 for correcting the orthogonal transform coefficient so as to be between the maximum value and the minimum value obtained by the range detection unit 111.
10 and an inverse orthogonal transformation unit 112 that performs inverse transformation on the corrected orthogonal transformation coefficient to obtain a corrected image 113, outputs it to the output terminal 114, and stores it in the frame memory 115.

【0021】次に、本実施例の動作を説明する。Next, the operation of this embodiment will be described.

【0022】復号時に、入力端子101から入力された
符号化データ102から、符号解読部103にて符号が
解読された後、逆量子化部104にて各直交変換係数に
対する量子化代表値が再生され、逆直交変換部105に
て逆直交変換が行われ復号画像データ106が得られ
る。
At the time of decoding, after the code is decoded by the code decoding unit 103 from the coded data 102 input from the input terminal 101, the inverse quantization unit 104 reproduces the quantized representative value for each orthogonal transform coefficient. Then, the inverse orthogonal transform unit 105 performs inverse orthogonal transform to obtain decoded image data 106.

【0023】復号が連続的にリアルタイムで行われてい
る場合には、スイッチ116が接点1162 に、スイッ
チ107が接点1071 に切り換わり、ローパスフィル
タ部108には復号画像データ106が入力される。す
なわち、復号画像データ106に対して、ローパスフィ
ルタ部108においてフィルタリングが施された後、直
交変換部109にて直交変換が施され、得られた直交変
換係数はクリッピング部110に入力される。一方、逆
量子化部104において求まる量子化代表値から、範囲
検出部111においてその係数の真の値(量子化前の
値)がとり得る範囲の最大値・最小値が求められ、クリ
ッピング部110に入力される。クリッピング部110
においては、求められた最大値と最小値の間に入るよう
に直交変換係数に修正が施される。修正された直交変換
係数は逆直交変換部112において逆変換が施され修正
画像113が得られ、出力端子114に出力されるとと
もにフレームメモリ115に入力される。
When the decoding is continuously performed in real time, the switch 116 is switched to the contact 116 2 and the switch 107 is switched to the contact 107 1 , and the decoded image data 106 is input to the low pass filter section 108. . That is, the decoded image data 106 is filtered by the low-pass filter unit 108, then orthogonally transformed by the orthogonal transformation unit 109, and the obtained orthogonal transformation coefficient is input to the clipping unit 110. On the other hand, from the quantized representative value obtained by the inverse quantization unit 104, the range detection unit 111 obtains the maximum value / minimum value of the range that the true value of the coefficient (value before quantization) can take, and the clipping unit 110. Entered in. Clipping part 110
In, the orthogonal transform coefficient is modified so as to fall between the obtained maximum value and minimum value. The corrected orthogonal transform coefficient is inversely transformed by the inverse orthogonal transform unit 112 to obtain a corrected image 113, which is output to the output terminal 114 and input to the frame memory 115.

【0024】一方、復号をあるフレームで停止した場合
にはスイッチ107が接点1072に切り換えられ(ス
イッチ106は接点1162に切り換わったまま)、ロ
ーパスフィルタ部108にはフレームメモリ115に蓄
えられている修正済み画像113が入力される。すなわ
ち、修正済み画像データ113に対して、ローパスフィ
ルタ部108においてフィルタリングが施された後、直
交変換部109にて直交変換が施され、得られた直交変
換係数はクリッピング部110に入力される。一方、逆
量子化部104において求まる量子化代表値から、範囲
検出部111においてその係数の真の値(量子化前の
値)が取り得る範囲の最大値・最小値が求められ、クリ
ッピング部110に入力される。クリッピング部110
においては、求められた最大値と最小値の間に入るよう
に直交変換係数の修正が施される。修正された直交変換
係数は逆直交変換部112において逆変換が施され新た
な修正画像113が得られ、出力端子114に出力され
るとともに、フレームメモリ115に蓄えられる。フレ
ームメモリ115の内容は、ローパスフィルタ処理・直
交変換・直交変換係数クリッピング処理・逆直交変換処
理のループを一度施されるごとに更新される。そして、
復号を停止している間、これらの処理が繰り返し実行さ
れ、出力端子114にはその時点で逆直交変換部112
にて処理された画像データ113が出力される。
On the other hand, when the decoding is stopped at a certain frame, the switch 107 is switched to the contact 107 2 (the switch 106 remains switched to the contact 116 2 ) and stored in the frame memory 115 in the low-pass filter section 108. The corrected image 113 that has been input is input. That is, the corrected image data 113 is filtered by the low-pass filter unit 108, then orthogonally transformed by the orthogonal transformation unit 109, and the obtained orthogonal transformation coefficient is input to the clipping unit 110. On the other hand, from the quantized representative value obtained by the inverse quantization unit 104, the maximum value / minimum value of the range in which the true value (value before quantization) of the coefficient can be obtained by the range detection unit 111, and the clipping unit 110 Entered in. Clipping part 110
In, the orthogonal transform coefficient is modified so as to fall between the obtained maximum value and minimum value. The corrected orthogonal transform coefficient is inversely transformed in the inverse orthogonal transform unit 112 to obtain a new corrected image 113, which is output to the output terminal 114 and stored in the frame memory 115. The contents of the frame memory 115 are updated every time a loop of low-pass filter processing, orthogonal transformation, orthogonal transformation coefficient clipping processing, and inverse orthogonal transformation processing is performed. And
While the decoding is stopped, these processes are repeatedly executed, and the output terminal 114 has the inverse orthogonal transform unit 112 at that time.
The image data 113 processed in is output.

【0025】なお、リアルタイム復号時にこれら一連の
処理を実行しないときにはスイッチ116は接点116
1 に切り換えられ、復号画像データ106がそのまま出
力端子104に出力される。
When the series of processes are not executed at the time of real-time decoding, the switch 116 turns the contact 116.
It is switched to 1 , and the decoded image data 106 is output to the output terminal 104 as it is.

【0026】次に、本実施例の具体例を示す。本具体例
は、情報圧縮方法として離散コサイン変換を用いる場合
を考える。
Next, a specific example of this embodiment will be shown. In this example, the case of using discrete cosine transform as an information compression method will be considered.

【0027】符号化において、入力画像を8×8の小ブ
ロックf(i,j)(i,j=0,1,2,・・・・・
7)に分けて離散コサイン変換を施し、変換係数F
(i,j)を得る。変換係数F(i,j)を、図2に示
すような、ステップ幅2dの量子化器によって量子化す
る。
In the encoding, the input image is divided into 8 × 8 small blocks f (i, j) (i, j = 0,1,2, ...
Discrete cosine transform is applied to 7) and transform coefficient F
(I, j) is obtained. The transform coefficient F (i, j) is quantized by a quantizer having a step width of 2d as shown in FIG.

【0028】このとき、量子化前の値F(i,j)が、 2nd−d≦F(i,j)<2nd+d であれば、量子化代表値F’(i,j)は、 F’(i,j)=2nd となる。この場合、復号時では逆に、F’(i,j)=
2ndが伝送されてきた場合、量子化前の真の値F
(i,j)は、2nd−d≦F(i,j)<2nd+d
の範囲にあることがわかる。
At this time, if the value F (i, j) before quantization is 2nd-d≤F (i, j) <2nd + d, the quantized representative value F '(i, j) is F'. (I, j) = 2nd. In this case, conversely at the time of decoding, F ′ (i, j) =
When 2nd is transmitted, the true value F before quantization
(I, j) is 2nd−d ≦ F (i, j) <2nd + d
It can be seen that it is within the range.

【0029】復号時において逆量子化部104で得られ
た量子化代表値F’(i,j)が2ndであった場合を
考える。まず、F’(i,j)を逆直交変換部105で
逆離散コサイン変換して、復号画像106
Consider a case where the quantized representative value F ′ (i, j) obtained by the inverse quantization unit 104 at the time of decoding is 2nd. First, F ′ (i, j) is subjected to inverse discrete cosine transform in the inverse orthogonal transform unit 105, and the decoded image 106

【0030】[0030]

【外1】 を得る。この復号画像[Outside 1] Get. This decoded image

【0031】[0031]

【外2】 に対して、最初にローパスフィルタ部108で以下のよ
うな2次元ローパスフィルタを施す。
[Outside 2] First, the low-pass filter unit 108 applies the following two-dimensional low-pass filter.

【0032】[0032]

【数2】 このローパスフィルタは小ブロックの境界ではその境界
をまたいで施す。ローパスフィルタが施された画像信号
に対して、直交変換部109で8×8の小ブロックごと
に離散コサイン変換を施し、得られたり離散コサイン変
換係数を
[Equation 2] This low-pass filter is applied across the boundaries of small blocks. The orthogonal transform unit 109 performs a discrete cosine transform for each 8 × 8 small block on the image signal to which the low-pass filter has been applied, and obtains the obtained discrete cosine transform coefficient.

【0033】[0033]

【外3】 とする。[Outside 3] And

【0034】[0034]

【外4】 に対し、クリッピング部110で以下のようなクリッピ
ング処理を行う。
[Outside 4] On the other hand, the clipping unit 110 performs the following clipping processing.

【0035】[0035]

【数3】 クリッピング処理の様子を図3に示す。クリッピング処
理が施された変換係数を逆直交変換部112で逆離散コ
サイン変換して、1回目の修正画像
(Equation 3) The state of clipping processing is shown in FIG. The inverse orthogonal cosine transform is performed by the inverse orthogonal transform unit 112 on the transform coefficient subjected to the clipping process, and the first corrected image is obtained.

【0036】[0036]

【外5】 を得る。復号がリアルタイムで行われている場合にはこ
の修正画像
[Outside 5] Get. This corrected image if the decoding is done in real time

【0037】[0037]

【外6】 が最終的な画像として観測される。[Outside 6] Is observed as the final image.

【0038】一方、復号をあるフレームで停止した場合
には、以上の処理を繰り返し実行して、ある時点に得ら
れているn回目の修正画像
On the other hand, when the decoding is stopped at a certain frame, the above process is repeatedly executed to obtain the n-th corrected image obtained at a certain time.

【0039】[0039]

【外7】 がその時点での出力画像として観測される。[Outside 7] Is observed as the output image at that time.

【0040】[0040]

【発明の効果】以上説明したように、本発明は、ローパ
スフィルタ処理・直交変換・直交変換係数クリッピング
処理・逆直交変換処理の回路を各一つづつ具備するのみ
で、符号化復号された動画像のフレームを静止させて観
察するという符号化雑音が非常に目につく状態では、ロ
ーパスフィルタ処理・直交変換・直交変換係数クリッピ
ング処理・逆直交変換処理が何度も繰り返し実行される
ことになるので(実際には、ローパスフィルタ・直交変
換・直交変換係数クリッピング・逆直交変換の一連の処
理を十数回繰り返せば修正画像は収束する)、フレーム
を停止させた後、数秒のうちに画質のよい修正画像が得
られることになり、また、リアルタイムで復号が行われ
ている場合もローパスフィルタ・直交変換、直交変換係
数クリッピング・逆直交変換の一連の処理を一度は実行
するので(この場合は何度も繰り返して実行することは
できないが、リアルタイムの復号が行われている場合に
は、動画像として常に変化するフレームを観察すること
になるため、静止しているときほど目立たないので一度
実行するのみで十分である)、結果として、必要最小限
の回路構成で、符号化雑音が目につきやすいフレーム停
止状態での再生画像の画質が時間とともに向上するとい
う効果がある。
As described above, according to the present invention, only one circuit for each of low-pass filter processing, orthogonal transformation, orthogonal transformation coefficient clipping processing, and inverse orthogonal transformation processing is provided, and a coded and decoded moving image is obtained. In the state where the coding noise, where the image frame is observed still, is very noticeable, the low-pass filtering process, the orthogonal transform, the orthogonal transform coefficient clipping process, and the inverse orthogonal transform process are repeatedly executed. Therefore (actually, the corrected image will converge if you repeat the series of processing of low-pass filter, orthogonal transformation, orthogonal transformation coefficient clipping, and inverse orthogonal transformation a dozen times). A good corrected image can be obtained, and even when decoding is performed in real time, a low-pass filter, orthogonal transform, orthogonal transform coefficient clipping, Since a series of orthogonal transformation processes is executed once (in this case, it is not possible to repeat it many times, but when real-time decoding is performed, observe frames that constantly change as moving images. Therefore, it is not as noticeable as when stationary, so it is sufficient to execute it once. As a result, with the minimum necessary circuit configuration, it is easy to notice the coding noise of the reproduced image in the frame stopped state. The effect is that the image quality improves with time.

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

【図1】本発明の一実施例の画像復号装置のブロック図
である。
FIG. 1 is a block diagram of an image decoding apparatus according to an embodiment of the present invention.

【図2】図1の実施例における量子化特性を示す図であ
る。
FIG. 2 is a diagram showing a quantization characteristic in the embodiment of FIG.

【図3】図1の実施例における直交変換係数クリッピン
グ処理を説明する図である。
FIG. 3 is a diagram illustrating an orthogonal transform coefficient clipping process in the embodiment of FIG.

【図4】一般的な直交変換符号化・復号装置のブロック
図である。
FIG. 4 is a block diagram of a general orthogonal transform encoding / decoding device.

【図5】直交変換符号に用いられる直交変換係数量子化
方法を説明する図である。
FIG. 5 is a diagram illustrating an orthogonal transform coefficient quantization method used for an orthogonal transform code.

【図6】ローパスフィルタと直交変換係数クリッピング
の繰り返しによる復号画像を修正する従来の方法を示す
ブロック図である。
FIG. 6 is a block diagram showing a conventional method for correcting a decoded image by repeating a low-pass filter and orthogonal transform coefficient clipping.

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

101 入力端子 102 入力画像 103 符号解読部 104 逆量子化部 105 逆直交変換部 106 復号画像データ 107 スイッチ 1071 ,1072 接点 108,1081 ,1082 ローパスフィルタ部 109,1091 ,1092 直交変換部 110,1001 ,1102 クリッピング部 111 範囲検出部 112,1121 ,1122 逆直交変換部 113,1131 ,1132,113n 修正画像 114 出力端子 115 フレームメモリ 116 スイッチ 1161 ,1162 接点101 Input Terminal 102 Input Image 103 Code Decoding Section 104 Inverse Quantization Section 105 Inverse Orthogonal Transformation Section 106 Decoded Image Data 107 Switches 107 1 , 107 2 Contacts 108, 108 1 , 108 2 Low Pass Filter Sections 109, 109 1 , 109 2 Orthogonal Conversion unit 110, 100 1 , 110 2 Clipping unit 111 Range detection unit 112, 112 1 , 112 2 Inverse orthogonal conversion unit 113, 113 1 , 113 2 , 113 n Corrected image 114 Output terminal 115 Frame memory 116 Switch 116 1 , 116 2 contacts

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ディジタル画像信号を小ブロックに分割
して、小ブロックごとに直交変換を行って得られた直交
変換係数を定められた量子化ステップ幅で量子化して量
子化代表値を得て、量子化代表値に対応する符号を割り
当てて記録された該符号を解読して量子化代表値を再生
し、再生された量子化代表値を逆直交変換して復号画像
信号を得る画像復号方法において、 得られた復号画像に対して、ローパスフィルタを施す処
理と、ローパスフィルタ後の画像信号を小ブロックに分
割して直交変換を施す処理と、得られた直交変換係数が
定められた範囲に存在するかどうかを判定する処理と、
存在しない場合にはその範囲内にクリッピングする処理
と、クリッピング処理が施された直交変換係数を逆直交
変換して修正画像を得る処理を、リアルタイムで画像を
復号する場合には実行しないか一度だけ実行し、あるフ
レームで復号を停止した場合には、停止している間繰り
返し実行することを特徴とする画像復号方法。
1. A digital image signal is divided into small blocks, and an orthogonal transform coefficient obtained by performing an orthogonal transform for each small block is quantized with a predetermined quantization step width to obtain a quantized representative value. , An image decoding method for allocating a code corresponding to a quantized representative value, decoding the recorded code to reproduce the quantized representative value, and inverse orthogonally transforming the reproduced quantized representative value to obtain a decoded image signal In the above, in the obtained decoded image, a process of applying a low-pass filter, a process of dividing the image signal after the low-pass filter into small blocks and performing an orthogonal transform, and an obtained orthogonal transform coefficient within a predetermined range. The process of determining whether it exists,
If it does not exist, the process of clipping within that range and the process of obtaining the corrected image by performing the inverse orthogonal transform on the orthogonal transform coefficient that has been subjected to the clipping process are not executed when decoding the image in real time or only once. An image decoding method, which is characterized in that, when the image is executed and the decoding is stopped at a certain frame, it is repeatedly executed while the frame is stopped.
【請求項2】 入力端子と、出力端子と、該入力端子か
ら入力された符号化データの符号を解読する符号解読部
と、該符号解読部の出力から各直交変換係数に対する量
子化代表値を再生する逆量子化部と、前記量子化代表値
を逆直交変換し、復号画像データを得る逆直交変換部
と、前記量子化代表値から、その係数の真の値がとり得
る範囲の最大値・最小値を求める範囲検出部と、修正済
み画像を蓄えるフレームメモリと、前記逆直交変換部の
出力を、前記出力端子に接続された一方の接点または他
方の接点に切り換え出力する第1のスイッチと、第1の
スイッチが他方の接点に切り換えられ、復号を連続的に
リアルタイムで行う場合には第1のスイッチを介して前
記逆直交変換部の出力に切り換えられ、復号をあるフレ
ームで停止した場合には、前記フレームメモリの出力に
接続される第2のスイッチと、該第2のスイッチを介し
て復号画像データまたは修正済み画像を入力し、フィル
タリングを施すローパスフィルタ部と、該ローパスフィ
ルタ部の出力を直交変換し、直交変換係数を得る直交変
換部と、前記直交変換係数を前記範囲検出部で求められ
た最大値と最小値の間にあるように修正するクリッピン
グ部と、修正された直交変換係数に逆変換を施し、修正
画像を得、前記出力端子に出力するとともに前記フレー
ムメモリに蓄える逆直交変換部を有する画像復号装置。
2. An input terminal, an output terminal, a code decoding section for decoding the code of coded data input from the input terminal, and a quantization representative value for each orthogonal transform coefficient from the output of the code decoding section. The inverse quantization unit for reproducing, the inverse orthogonal transform unit for inverse orthogonally transforming the quantized representative value to obtain decoded image data, and the maximum value of the range that the true value of the coefficient can take from the quantized representative value. A range detection unit that obtains a minimum value, a frame memory that stores a corrected image, and a first switch that switches and outputs the output of the inverse orthogonal transform unit to one contact or the other contact connected to the output terminal. Then, the first switch is switched to the other contact, and when the decoding is continuously performed in real time, it is switched to the output of the inverse orthogonal transform unit via the first switch and the decoding is stopped at a certain frame. In case Is a second switch connected to the output of the frame memory, a low-pass filter unit for inputting the decoded image data or the corrected image through the second switch and filtering, and an output of the low-pass filter unit. Orthogonal transform unit to obtain an orthogonal transform coefficient, a clipping unit that corrects the orthogonal transform coefficient so as to be between the maximum value and the minimum value obtained by the range detection unit, and the corrected orthogonal transform An image decoding device having an inverse orthogonal transform unit which performs inverse transform on a coefficient to obtain a corrected image, outputs the corrected image to the output terminal, and stores the corrected image in the frame memory.
JP7169845A 1995-07-05 1995-07-05 Method and device for decoding picture Pending JPH0923426A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7169845A JPH0923426A (en) 1995-07-05 1995-07-05 Method and device for decoding picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7169845A JPH0923426A (en) 1995-07-05 1995-07-05 Method and device for decoding picture

Publications (1)

Publication Number Publication Date
JPH0923426A true JPH0923426A (en) 1997-01-21

Family

ID=15894004

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7169845A Pending JPH0923426A (en) 1995-07-05 1995-07-05 Method and device for decoding picture

Country Status (1)

Country Link
JP (1) JPH0923426A (en)

Similar Documents

Publication Publication Date Title
US5454051A (en) Method of reducing block artifacts created by block transform compression algorithms
KR100265722B1 (en) Image processing method and apparatus based on block
JP2673778B2 (en) Noise reduction device for video decoding
KR0159559B1 (en) Adaptive postprocessing method of a digital image data
US5719961A (en) Adaptive technique for encoder and decoder signal transformation
JPH0832975A (en) Image data post-treatment and its device
JP4796228B2 (en) Apparatus and method for restoring compression constant in encoding region
JP3365572B2 (en) Image signal processing method
JPH08214309A (en) Image signal encoder
JPH10224790A (en) Filter eliminating block noise in companded image and filter method
JP4975223B2 (en) Compressed image processing method
JPH09149414A (en) Picture signal decoder
JP3627291B2 (en) Block distortion removing apparatus and method
JP2901656B2 (en) Image coding device
JP2002064821A (en) Method for compressing dynamic image information and its system
JPH04322593A (en) Picture coder and its decoder
JPH0923426A (en) Method and device for decoding picture
JP2831139B2 (en) Image signal decoding device
JPH04369191A (en) Picture compression/decoding device
JPH08191444A (en) Video signal decoder
JP2891251B2 (en) Image encoding device and image decoding device
JP3807110B2 (en) Image encoding device
JP3403561B2 (en) Moving picture coding method and apparatus therefor
JP3175906B2 (en) Image encoding / decoding method
JP3458883B2 (en) Image processing method and image processing apparatus