JP2707733B2 - Image decoding device - Google Patents

Image decoding device

Info

Publication number
JP2707733B2
JP2707733B2 JP14780789A JP14780789A JP2707733B2 JP 2707733 B2 JP2707733 B2 JP 2707733B2 JP 14780789 A JP14780789 A JP 14780789A JP 14780789 A JP14780789 A JP 14780789A JP 2707733 B2 JP2707733 B2 JP 2707733B2
Authority
JP
Japan
Prior art keywords
block
circuit
smoothing
output
image
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.)
Expired - Fee Related
Application number
JP14780789A
Other languages
Japanese (ja)
Other versions
JPH0313064A (en
Inventor
昭雄 藤井
尚 石川
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP14780789A priority Critical patent/JP2707733B2/en
Publication of JPH0313064A publication Critical patent/JPH0313064A/en
Application granted granted Critical
Publication of JP2707733B2 publication Critical patent/JP2707733B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、画像データを複数の画素からなるブロック
単位で符号化するブロック符号化方式における画像復号
化装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image decoding apparatus in a block coding system for coding image data in blocks composed of a plurality of pixels.

[従来の技術] 画像データの符号化技術において伝送帯域を狭くする
方法としては、1画素当たりの平均ビット数を少なくす
る方法、サンプリング周波数を小さくする方法などが知
られている。前者の方法にはブロック符号化がある。ブ
ロック符号化は例えば、1枚の画像の画像データを所定
数のブロックに分割し、各ブロック毎に、ブロック内の
最大値及び最小値間を2k個の量子化ステップに分割し、
各画素をkビットで量子化した符号と、最大値、最小値
及び最大値と最小値との差(所謂ダイナミック・レン
ジ)の何れか2つのコードとを伝送する。
[Related Art] As a method of narrowing a transmission band in an image data encoding technology, a method of reducing an average number of bits per pixel and a method of reducing a sampling frequency are known. The former method includes block coding. For example, the block coding divides image data of one image into a predetermined number of blocks, and divides, between each block, a maximum value and a minimum value in the block into 2 k quantization steps.
A code obtained by quantizing each pixel with k bits and any two codes of a maximum value, a minimum value, and a difference between the maximum value and the minimum value (a so-called dynamic range) are transmitted.

1画素を8ビットで表現するとして、第3図に示すよ
うに、1枚の画像データをm×n個の画素からなるブロ
ックに分割し、これらの各ブロックに上記ブロック符号
化を行なう。量子化ステップに2k個(但し、1≦k≦
8)とするとm×n×8ビットの情報は、8×2+m×
n×kビットになり(16+m×n×k)/(m×n×
8)に圧縮される。
Assuming that one pixel is represented by 8 bits, as shown in FIG. 3, one piece of image data is divided into blocks of m × n pixels, and the above-described block coding is performed on each of these blocks. 2 k quantization steps (where 1 ≦ k ≦
8), the information of m × n × 8 bits is 8 × 2 + m ×
It becomes n × k bits (16 + m × n × k) / (m × n ×
8).

[発明が解決しようとする課題] 上記従来例では、ブロックの画素数m×nを多くする
か、又は量子化ステップ(k)を小さくすることによ
り、圧縮率を上げることができる。しかし、画像データ
の場合、例えば第4図に示すようにブロック内に境界を
もつような絵柄が存在するときには、そのブロックのダ
イナミック・レンジが広くなり、ブロック歪を生じ、画
質の著しい劣化をもたらす。
[Problems to be Solved by the Invention] In the above conventional example, the compression rate can be increased by increasing the number of pixels m × n of the block or by reducing the quantization step (k). However, in the case of image data, for example, when there is a picture having a boundary in a block as shown in FIG. 4, the dynamic range of the block is widened, block distortion occurs, and the image quality is significantly deteriorated. .

そこで本発明は、このような場合であってもブロック
歪を低く抑えられる画像復号化装置を提示することを目
的とする。
Therefore, an object of the present invention is to provide an image decoding apparatus that can suppress block distortion even in such a case.

[課題を解決するための手段] 本発明に係る画像復号化装置は、複数の画素からなる
ブロック単位で符号化された画像データを復元する画像
復号化装置であって、ブロックのダイナミック・レンジ
を判定する判定手段と、復号化された画像データを平滑
化する平滑化手段とを設け、当該判定手段の判定結果に
応じて当該平滑化手段の通過特性を制御することを特徴
とする画像復号化装置。
[Means for Solving the Problems] An image decoding apparatus according to the present invention is an image decoding apparatus for restoring image data encoded in a block unit including a plurality of pixels, and has a dynamic range of a block. Image decoding characterized by comprising a determination means and a smoothing means for smoothing decoded image data, and controlling a pass characteristic of the smoothing means in accordance with a determination result of the determination means. apparatus.

[作用] 上記判定手段によりブロック歪が生じるブロックか否
か、また、ブロック歪の程度を判定できる。この判定結
果に基づいて平滑化手段における通過特性、即ち平滑化
するか否かの決定、平滑化のフィルタ特性の選択等を行
なうことにより、ブロック歪の発生可能性に応じた適切
な処理を施すことになり、従って、画質の良好な画像を
得るとができる。
[Operation] Whether or not a block causes block distortion and the degree of block distortion can be determined by the determination unit. Appropriate processing is performed according to the possibility of occurrence of block distortion by performing a pass characteristic in the smoothing means, that is, determining whether or not to perform smoothing, and selecting a smoothing filter characteristic based on the determination result. Therefore, an image with good image quality can be obtained.

[実施例] 以下、図面を参照して本発明の実施例を説明する。Embodiment An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例の構成ブロック図を示す。
10はアナログ画像信号をディジタル化し、その後、上述
のブロック符号化を施した符号化画像データの入力端子
であり、本実施例では、ブロック内の最大値、最小値及
びそれらの間で各画素をkビットで量子化した符号が入
力するものとする。12はブロック毎に符号化された画像
データを復号するブロック復号化回路、14はブロック復
号化回路12で復号された画像データを平滑化するための
空間フィルタである平滑化フィルタ、16は平滑化フィル
タ14の処理時間に相当する遅延時間の遅延回路、18は受
信したブロックのダイナミック・レンジを、所定の閾値
と比較して平滑化回路14の利用の有無を判定する判定回
路、20は平滑化回路14又は遅延回路16の選択スイッチ、
22はディジタル画像データをアナログ画像信号に変換す
るD/A変換器、24は出力端子である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
Reference numeral 10 denotes an input terminal for digitizing an analog image signal and thereafter performing the above-described block encoding, and in this embodiment, the maximum value, the minimum value in the block, and each pixel between them are determined. It is assumed that a code quantized by k bits is input. 12 is a block decoding circuit for decoding image data encoded for each block, 14 is a smoothing filter which is a spatial filter for smoothing the image data decoded by the block decoding circuit 12, and 16 is smoothing A delay circuit having a delay time corresponding to the processing time of the filter 14, a determination circuit 18 for comparing the dynamic range of the received block with a predetermined threshold value to determine whether or not to use the smoothing circuit 14, and a smoothing circuit 20; A selection switch for the circuit 14 or the delay circuit 16,
22 is a D / A converter for converting digital image data into an analog image signal, and 24 is an output terminal.

第1図の動作を説明する、ブロック復号化回路12は、
入力端子10に入力する符号化データからブロックのダイ
ナミック・レンジを識別し、元の画像データを復元す
る。ブロック復号化回路12の出力は平滑化フィルタ14及
び遅延回路16に供給される。平滑化フィルタ14はブロッ
ク復号化回路12の出力を平滑化してスイッチ20のa接点
に供給し、他方、遅延回路16はブロック復号化回路12の
出力を平滑化フィルタ14の処理時間に相当する時間だけ
遅延させてスイッチ20のb接点に供給する。
The block decoding circuit 12, which explains the operation of FIG.
The dynamic range of the block is identified from the encoded data input to the input terminal 10, and the original image data is restored. The output of the block decoding circuit 12 is supplied to a smoothing filter 14 and a delay circuit 16. The smoothing filter 14 smoothes the output of the block decoding circuit 12 and supplies it to the contact a of the switch 20, while the delay circuit 16 outputs the output of the block decoding circuit 12 to a time corresponding to the processing time of the smoothing filter 14. Is supplied to the b-contact of the switch 20 with a delay.

入力端子10に入力する符号化データはまた、判定回路
18にも印加され、判定回路18は、入力の最大値、最小値
を示すコードからダイナミック・レンジに関する情報を
取り出して所定の閾値と比較し、当該閾値を越える場合
には、ブロック歪の発生するブロックと判定して判定信
号″H″を出力し、当該閾値以下である場合には、ブロ
ック歪が起こらないブロックと判定して判定信号″L″
を出力する。スイッチ20は判定回路18の出力が、″H″
のときには、a接点(即ち、平滑化フィルタ14の出力)
に接続し、判定回路18の出力が″L″のときには、b接
点(即ち、遅延回路16の出力)を接続する。
The encoded data input to the input terminal 10 is
The determination circuit 18 extracts information about the dynamic range from the code indicating the maximum value and the minimum value of the input, compares the information with a predetermined threshold, and if the threshold is exceeded, block distortion occurs. The block is determined and a determination signal “H” is output. If the block is equal to or smaller than the threshold value, the block is determined to be free from block distortion and the determination signal “L” is determined.
Is output. The switch 20 sets the output of the judgment circuit 18 to "H".
, Contact a (that is, the output of the smoothing filter 14)
When the output of the decision circuit 18 is "L", the contact b (that is, the output of the delay circuit 16) is connected.

従って、スイッチ20で選択されたデータは、ブロック
歪が発生するブロックでは平滑化フィルタ処理を経たデ
ータであり、ブロック歪が生じないブロックでは、ブロ
ック復号化回路12で復号されたデータそのものである。
スイッチ20の出力データはD/A変換器22によりアナログ
信号に変換され、出力端子24から出力される。
Therefore, the data selected by the switch 20 is the data that has been subjected to the smoothing filter processing in the block in which the block distortion occurs, and is the data itself decoded by the block decoding circuit 12 in the block in which the block distortion does not occur.
The output data of the switch 20 is converted into an analog signal by the D / A converter 22 and output from the output terminal 24.

このように、ブロックのダイナミック・レンジに応じ
て選択的に復号データを平滑化することにより、ブロッ
ク歪の少ない良好な画像を得ることができる。
As described above, by selectively smoothing the decoded data according to the dynamic range of the block, a good image with less block distortion can be obtained.

第2図は本発明の第2の実施例の構成ブロック図を示
す。第1図と同じ構成要素には同じ符号を付してある。
即ち、本実施例では、第1図のスイッチ20を混合回路26
に変更し、また、判定回路18に代わる判定回路28は、複
数の閾値と各ブロックのダイナミック・レンジとを比較
し、当該レンジの大小を示すpビットの判定信号を出力
する。混合回路26は、判定回路28のpビットの出力に応
じて、平滑化フィルタ14の出力及び遅延回路16の出力を
所定の重み係数の下で加算(混合)して出力する。
FIG. 2 is a block diagram showing the configuration of a second embodiment of the present invention. The same components as those in FIG. 1 are denoted by the same reference numerals.
That is, in this embodiment, the switch 20 shown in FIG.
And a decision circuit 28 replacing the decision circuit 18 compares a plurality of thresholds with the dynamic range of each block, and outputs a p-bit decision signal indicating the magnitude of the range. The mixing circuit 26 adds (mixes) the output of the smoothing filter 14 and the output of the delay circuit 16 under a predetermined weight coefficient in accordance with the p-bit output of the determination circuit 28 and outputs the result.

即ち、判定回路28はブロックのダイナミック・レンジ
を複数の閾値と比較し、当該レンジがどの閾値間に入る
かを示すpビットの判定値cを出力する。そして、この
判定値cに対して混合回路26は例えば、平滑化フィルタ
14の出力に(1−1/2c)を乗算し、遅延回路16の出力に
1/2cを乗算し、両乗算結果を加算してD/A変換器22に出
力する。
That is, the determination circuit 28 compares the dynamic range of the block with a plurality of thresholds, and outputs a p-bit determination value c indicating which threshold the range falls between. Then, for the determination value c, for example, the mixing circuit 26
The output of 14 is multiplied by (1-1 / 2c ), and the output of delay circuit 16 is
The result is multiplied by 1 / 2c , the results of both multiplications are added, and the result is output to the D / A converter 22.

このように、ブロックのダイナミック・レンジに応じ
た重み付けを行なうことにより、ブロック歪に関して、
よりきめ細かく対応することになり、ブロック歪の少な
い良好な画像を得ることができる。また、判定回路28の
pビットの判定信号を平滑化フィルタ14に供給し、平滑
化フィルタ14の平滑化フィルタ特性を当該判定信号によ
り適応的に換える方法によっても、同様の効果が得られ
る。
In this way, by performing weighting according to the dynamic range of the block, regarding block distortion,
It is possible to respond more finely and to obtain a good image with less block distortion. A similar effect can be obtained by a method in which a p-bit determination signal of the determination circuit 28 is supplied to the smoothing filter 14 and the smoothing filter characteristic of the smoothing filter 14 is adaptively changed based on the determination signal.

[発明の効果] 以上の説明から容易に理解できるように、本発明によ
れば、ブロック符号化方式においてブロック内に画像境
界がある場合でも、ブロック歪の発生を低く抑えること
ができ、より良好な画像を復元できる。
[Effects of the Invention] As can be easily understood from the above description, according to the present invention, even when there is an image boundary in a block in the block coding method, the occurrence of block distortion can be suppressed to a low level. You can restore a perfect image.

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

第1図は本発明の一実施例の構成ブロック図、第2図は
本発明の第2の実施例の構成ブロック図、第3図はブロ
ック化の説明図、第4図はブロック符号化で大きなブロ
ック歪の生じる画像例である。 10:入力端子、12:ブロック復号化回路、14:平滑化フィ
ルタ、18,28:判定回路、22:D/A変換器、24:出力端子、2
6:混合回路
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a block diagram showing the configuration of a second embodiment of the present invention, FIG. 3 is an explanatory diagram of block formation, and FIG. It is an example of an image in which large block distortion occurs. 10: input terminal, 12: block decoding circuit, 14: smoothing filter, 18, 28: judgment circuit, 22: D / A converter, 24: output terminal, 2
6: mixing circuit

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数の画素からなるブロック単位で符号化
された画像データを復元する画像復号化装置であって、
ブロックのダイナミック・レンジを判定する判定手段
と、復号化された画像データを平滑化する平滑化手段と
を設け、当該判定手段の判定結果に応じて当該平滑化手
段の通過特性を制御することを特徴とする画像復号化装
置。
1. An image decoding apparatus for restoring image data encoded in a block unit composed of a plurality of pixels, comprising:
A determining unit for determining a dynamic range of the block; and a smoothing unit for smoothing the decoded image data, and controlling a pass characteristic of the smoothing unit in accordance with a determination result of the determining unit. An image decoding device characterized by the following.
JP14780789A 1989-06-09 1989-06-09 Image decoding device Expired - Fee Related JP2707733B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14780789A JP2707733B2 (en) 1989-06-09 1989-06-09 Image decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14780789A JP2707733B2 (en) 1989-06-09 1989-06-09 Image decoding device

Publications (2)

Publication Number Publication Date
JPH0313064A JPH0313064A (en) 1991-01-22
JP2707733B2 true JP2707733B2 (en) 1998-02-04

Family

ID=15438660

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14780789A Expired - Fee Related JP2707733B2 (en) 1989-06-09 1989-06-09 Image decoding device

Country Status (1)

Country Link
JP (1) JP2707733B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5828467A (en) * 1996-10-02 1998-10-27 Fuji Xerox Co., Ltd. Block noise prevention by selective interpolation of decoded image data

Also Published As

Publication number Publication date
JPH0313064A (en) 1991-01-22

Similar Documents

Publication Publication Date Title
KR940006737B1 (en) Picture image coding and decording apparatus
EP0734174A2 (en) A method for adaptively compressing residual digital image data in a DPCM compression system
JPH01200883A (en) Decoder
JPH0746596A (en) Intrablock dc conversion coefficient quantization method
JPS62128621A (en) High-efficient coding device
US5719961A (en) Adaptive technique for encoder and decoder signal transformation
US5107519A (en) Coding device and a decoding device
EP0402149B1 (en) Coding device
JP2911682B2 (en) Motion compensation using the minimum number of bits per motion block as a criterion for block matching
JP3202433B2 (en) Quantization device, inverse quantization device, image processing device, quantization method, inverse quantization method, and image processing method
US5508745A (en) Apparatus for controlling a quantization level to be modified by a motion vector
JP2707733B2 (en) Image decoding device
JPH01236879A (en) Picture encoder
JP2901656B2 (en) Image coding device
JPS63284974A (en) Picture compression system
JP2797411B2 (en) Encoding device
JPH0388488A (en) Picture coding system
JPH0681308B2 (en) Quantization noise suppression method in interframe coding
JP3402212B2 (en) Digital data compression method
JP3144099B2 (en) Adaptive dynamic range encoding or decoding apparatus
KR900004962B1 (en) Picture image transmiting system of telephone
JP2669278B2 (en) Video signal processing device
KR970008415B1 (en) A preprocessing method for moving image coder
KR0157463B1 (en) Adaptive variable length encoding/decoding method for image data
JP3517795B2 (en) Image coding device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071017

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081017

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees