JPH10191338A - Image encoder and image decoder - Google Patents

Image encoder and image decoder

Info

Publication number
JPH10191338A
JPH10191338A JP28823797A JP28823797A JPH10191338A JP H10191338 A JPH10191338 A JP H10191338A JP 28823797 A JP28823797 A JP 28823797A JP 28823797 A JP28823797 A JP 28823797A JP H10191338 A JPH10191338 A JP H10191338A
Authority
JP
Japan
Prior art keywords
image
unit
frequency
coefficient
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP28823797A
Other languages
Japanese (ja)
Other versions
JP3624655B2 (en
Inventor
Taro Yokose
太郎 横瀬
Kazunori So
一憲 宋
Shunichi Kimura
俊一 木村
Yutaka Koshi
裕 越
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP28823797A priority Critical patent/JP3624655B2/en
Publication of JPH10191338A publication Critical patent/JPH10191338A/en
Application granted granted Critical
Publication of JP3624655B2 publication Critical patent/JP3624655B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide encoding and decoding methods which efficiently compress without any distinction between a natural image and an artificial image. SOLUTION: An input image is converted by a DCT transforming part 20. A coefficient analyzing part 30 compares a constant that is preliminarily defined with coefficient data, 120 and a high pass coefficient masking part 50 and an inverse transforming part 60 acquire low pass image data 150 of the input data based on the comparison result. A pixel thinning part 70 receives the data 150 and creates a thinning image based on the comparison result. The thinning image and coefficient information are sent to a decoding side. A decoder decodes an image from the thinning image and the coefficient information.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は画像符号化復号装置
に関するものであり、特に多値の入力画像に対する非可
逆符号化に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image encoding / decoding apparatus, and more particularly to irreversible encoding of a multi-valued input image.

【0002】[0002]

【従来の技術】画像は一般に非常に大量のデータとなる
ので、蓄積や伝送の際には符号化によって圧縮するのが
一般的である。このとき画像符号化の対象となる画像デ
ータを2つに大別すると、例えば自然画像と人工画像に
分けられる。
2. Description of the Related Art Since an image generally contains a very large amount of data, it is general to compress the image by encoding when storing or transmitting the image. At this time, if image data to be subjected to image encoding is roughly classified into two, for example, it is divided into a natural image and an artificial image.

【0003】前者は実在する画像を何らかの手段でデジ
タルデータに変換したもので、例えば写真をスキャナで
読み取ったり、風景をデジタルカメラで取り込んだもの
がこれに相当する。後者は実在しない画像を何らかの手
段でデジタルデータとして作成したもので、例えばコン
ピュータ・グラフィックスやワードプロセッサによって
作られた原稿等がこれに相当する。以降、自然画像、人
工画像という言葉はこの定義で用いる。
[0003] The former is a method in which an existing image is converted into digital data by some means. For example, a photograph is read by a scanner or a landscape is captured by a digital camera. The latter is an image in which a non-existent image is created as digital data by some means. For example, an original created by computer graphics or a word processor corresponds to this. Hereinafter, the terms natural image and artificial image are used in this definition.

【0004】一般的に自然画像はデジタル変換時にノイ
ズが重畳され、高域成分が劣化する傾向がある。この結
果として、得られるデジタルデータは下位ビットの情報
量が多く、使われる色数も多い。また周波数分析すると
成分が低域に集中しやすく、高域は減衰する。
In general, noise is superimposed on a natural image at the time of digital conversion, and the high frequency component tends to deteriorate. As a result, the obtained digital data has a large amount of information of lower bits and a large number of colors used. Also, when frequency analysis is performed, the components tend to be concentrated in the low band, and the high band is attenuated.

【0005】逆に人工画像は故意にノイズを加えた場合
を除いて下位ビットの情報量は多くなく、使われる色も
特定色に集中しやすい。またエッジや細線等がシャープ
に出るため、高域にも重要な情報が多く含まれる。
On the other hand, the artificial image does not have a large amount of information of lower bits except for a case where noise is intentionally added, and the colors used are likely to concentrate on a specific color. Also, since edges and fine lines appear sharply, important information is also included in high frequencies.

【0006】以上の事実を確認する2つの実験例を図3
0から図32に示す。第1の実験としてDCT(離散コ
サイン変換:Discrete CosineTran
sform) 処理によって得られる係数に対して、個
別に2乗平均して平方根をとった値をいくつかの画像に
ついて調べた。この平方根を図30に示す8つのエリア
別に加算した結果を同図b)に示す。DCT係数は左上
から右下にいくにつれ周波数が高くなるように表記する
ので、図30ではx軸で右側が高い周波数にあたる。同
図から明らかなように自然画像は高域になるに従って成
分が減少するのに対し、人工画像は周波数にかかわらず
成分が分布する。
FIG. 3 shows two experimental examples for confirming the above facts.
0 to FIG. As a first experiment, DCT (Discrete Cosine Transform: Discrete Cosine Trans)
The values obtained by individually averaging the squares of the coefficients obtained by the processing were examined for some images. The result of adding this square root for each of the eight areas shown in FIG. 30 is shown in FIG. Since the DCT coefficient is described such that the frequency increases from the upper left to the lower right, in FIG. 30, the right side on the x-axis corresponds to the higher frequency. As can be seen from the figure, the components of the natural image decrease as the frequency becomes higher, whereas the components of the artificial image are distributed regardless of the frequency.

【0007】第2の実験は画像から隣り合った画素値を
取り出し、左側の画素値を右側の画素値から減算した結
果の統計をとった。これは一般には前値差分等と呼ばれ
る値である。図32は第2の実験結果である。同図から
明らかなように人工画像では自然画像に比較して前値差
分が0に集中する。これは左側の画素値から右側の画素
値を予測する前値予測の予測精度が高くなることを示
す。
In the second experiment, adjacent pixel values were extracted from the image, and statistics of the result obtained by subtracting the left pixel value from the right pixel value were obtained. This is a value generally called a previous value difference or the like. FIG. 32 shows the results of the second experiment. As is clear from the figure, the previous value difference concentrates on 0 in the artificial image as compared to the natural image. This indicates that the prediction accuracy of the previous value prediction for predicting the right pixel value from the left pixel value increases.

【0008】以下、自然画像と人工画像のそれぞれに対
して有効な画像符号化手法をそれぞれ第1、第2の従来
例として述べる。
Hereinafter, image coding methods effective for natural images and artificial images will be described as first and second conventional examples, respectively.

【0009】まず第1の従来例として自然画像に対する
従来の符号化技術について説明する。もともと自然画像
は情報量が非常に多いので、何らかの手法で情報を量子
化することが必要になる。そこで量子化の効率について
考えた場合、自然画像は周波数成分が低域に集中するの
で、低域を細かく、高域を粗く量子化することにより、
平均誤差を小さくした量子化が実現できる。すなわち、
画質への影響を極力少なくし、かつ効率的に情報量を削
減することができる。
First, as a first conventional example, a conventional encoding technique for a natural image will be described. Since natural images originally have a very large amount of information, it is necessary to quantize the information by some method. Therefore, when considering the efficiency of quantization, natural images concentrate frequency components in the low band, so by quantizing the low band finely and the high band coarsely,
Quantization with a reduced average error can be realized. That is,
The effect on image quality can be minimized and the amount of information can be efficiently reduced.

【0010】画像符号化の一手法である周波数変換符号
化はこの特性を利用し、入力画像を周波数変換し高域成
分の情報を特に粗く量子化する。周波数変換符号化の代
表例としては、例えば国際標準であるJPEG(Joi
nt Photographic Experts G
roup)のDCT方式があげれられる。以下、第1の
従来例としてJPEG−DCT方式について説明する。
Frequency conversion coding, which is one method of image coding, utilizes this characteristic to perform frequency conversion on an input image and quantize high-frequency component information particularly coarsely. As a typical example of frequency conversion coding, for example, JPEG (Joi) which is an international standard
nt Photographic Experts G
loop) DCT method. Hereinafter, the JPEG-DCT method will be described as a first conventional example.

【0011】第1の従来例の説明に入る前にDCTにつ
いて説明する。画像符号化で用いられるDCTは正確に
は二次元DCTと呼ばれるもので、横方向と縦方向の2
つの一次元DCTを独立に処理することによって求めら
れる。”カラー静止画像の国際標準符号化方式−JPE
Gアルゴリズム−”(遠藤、インターフェース、199
1.12、pp160−182)によれば、変換する画
像ブロックをx(m,n)、変換された係数ブロックを
y(u,v)と表記すると、8bit画像に対する8×
8のDCTの変換式と逆変換式は次のようにかける。
Prior to the description of the first conventional example, DCT will be described. The DCT used in image coding is exactly what is called a two-dimensional DCT.
It is determined by processing one one-dimensional DCT independently. "International Standard Coding for Color Still Images-JPE
G algorithm-"(Endo, Interface, 199
According to 1.12, pp. 160-182), when an image block to be transformed is represented by x (m, n) and a transformed coefficient block is represented by y (u, v), 8 ×
The DCT transform equation and the inverse transform equation are applied as follows.

【0012】[0012]

【数1】 図33および図34はそれぞれ第1の従来例の画像非可
逆符号化装置および復号装置の構成例である。同図は前
出”カラー静止画像の国際標準符号化方式−JPEGア
ルゴリズム−”p.163の図3を部分的に抜き出し、
用語を修正したものである。図33および図34におい
て、10は画像入力部、20はDCT部、35は係数量
子化部、45は係数出力部、110は入力画像データ、
120は係数データ、170は量子化係数データ、22
5は係数入力部、240は逆DCT部、250は復号画
像出力部、260は係数逆量子化部、320は復号画像
データ、330は逆量子化係数データである。
(Equation 1) FIGS. 33 and 34 are configuration examples of a first conventional image lossy encoding device and a decoding device, respectively. The figure is the same as the above-mentioned "International standard encoding method for color still images-JPEG algorithm-" p. 163 is partially extracted from FIG.
The term has been modified. 33 and 34, 10 is an image input unit, 20 is a DCT unit, 35 is a coefficient quantization unit, 45 is a coefficient output unit, 110 is input image data,
120 is coefficient data, 170 is quantized coefficient data, 22
5 is a coefficient input unit, 240 is an inverse DCT unit, 250 is a decoded image output unit, 260 is a coefficient inverse quantization unit, 320 is decoded image data, and 330 is inverse quantized coefficient data.

【0013】図33および図34の各部について説明す
る。図33の符号化装置は以下の構成よりなる。画像入
力部10は外部より画像を入力し、入力画像データ11
0としてDCT部20へ送出する。DCT部20は入力
画像データ110にDCT処理を行い、その結果を係数
データ120として係数量子化部30へ送出する。係数
量子化部30は係数データ120に対して予め定められ
た方法で量子化処理を行い、量子化係数データ170と
して係数出力部90へ送出する。係数出力部90は量子
化係数データ170を外部へ出力する。
[0014] Each part of FIGS. 33 and 34 will be described. The encoding device of FIG. 33 has the following configuration. The image input unit 10 inputs an image from the outside, and input image data 11
It is transmitted to the DCT unit 20 as 0. The DCT unit 20 performs a DCT process on the input image data 110, and sends the result to the coefficient quantization unit 30 as coefficient data 120. The coefficient quantization unit 30 performs a quantization process on the coefficient data 120 by a predetermined method, and outputs the result to the coefficient output unit 90 as quantized coefficient data 170. The coefficient output unit 90 outputs the quantized coefficient data 170 to the outside.

【0014】次に図34の復号装置は以下の構成よりな
る。係数入力部220は外部より係数を入力し、量子化
係数データ170として係数逆量子化部260へ送出す
る。係数逆量子化部260は量子化係数データ170に
対して係数量子化部30で行われた量子化の逆変換とな
るような逆量子化を行い、逆量子化係数データ330と
して逆DCT部240へ送出する。逆DCT部240は
逆量子化係数データ330に対してDCT部20で行わ
れたDCT処理の逆変換となる逆DCT処理を行い、そ
の結果を復号画像データ320として復号画像出力部2
50へ送出する。復号画像出力部250は復号画像デー
タ320を外部へ出力する。
Next, the decoding apparatus shown in FIG. 34 has the following configuration. The coefficient input unit 220 inputs a coefficient from the outside, and sends the coefficient to the coefficient inverse quantization unit 260 as quantized coefficient data 170. The coefficient inverse quantization unit 260 performs inverse quantization on the quantized coefficient data 170 so as to be an inverse transform of the quantization performed by the coefficient quantization unit 30, and generates an inverse DCT unit 240 as inverse quantized coefficient data 330. Send to The inverse DCT unit 240 performs an inverse DCT process, which is an inverse transform of the DCT process performed by the DCT unit 20, on the inverse quantized coefficient data 330, and outputs the result as decoded image data 320 to the decoded image output unit 2.
Send to 50. The decoded image output unit 250 outputs the decoded image data 320 to the outside.

【0015】以上の構成は第1の従来例の一部であり、
通常は符号化装置では量子化係数データ170にHuf
fman符号やQM符号等の可変長符号化処理を行い、
復号装置では可変長符号化処理に対応する復号を行って
量子化係数データ170を得るのが一般的な構成であ
る。これらの部分は本発明の本質とは関係がなく、また
この部分の省略が第1の従来例の本質を損なうものでも
ないので、ここでは説明を省略する。
The above configuration is a part of the first conventional example,
Normally, the encoding device uses Huf as the quantization coefficient data 170.
Performs variable length encoding processing such as fman code and QM code,
In a general configuration, a decoding device performs decoding corresponding to the variable-length encoding process to obtain quantized coefficient data 170. Since these parts have nothing to do with the essence of the present invention, and omitting these parts does not impair the essence of the first conventional example, the explanation is omitted here.

【0016】以上の構成に基づいて第1の従来例の動作
について説明する。図35および図36は従来例の動作
を示すフローチャートである。
The operation of the first conventional example based on the above configuration will be described. 35 and 36 are flowcharts showing the operation of the conventional example.

【0017】まず図35を用いて第1の従来例の符号化
手順について説明する。S10では画像入力部10にお
いて外部より画像の入力を行い、入力画像データ110
を得る。S20ではDCT部20においてDCT処理を
行い、係数データ120を得る。S35では係数量子化
部30において係数データ120に対して予め定められ
た方法で量子化処理を行い、量子化係数データ170を
得る。S75では係数出力部90において量子化係数デ
ータ170を外部へ出力する。S80では入力された入
力画像データ110の処理が全て終了したかどうかを判
定し、終了していなければS10へ戻り、終了していれ
ば符号化手順を終了する。
First, the encoding procedure of the first conventional example will be described with reference to FIG. In S10, an image is input from the outside in the image input unit 10, and input image data 110 is input.
Get. In S20, the DCT processing is performed in the DCT section 20 to obtain coefficient data 120. In S35, the coefficient quantization section 30 performs a quantization process on the coefficient data 120 by a predetermined method to obtain quantized coefficient data 170. In S75, the coefficient output section 90 outputs the quantized coefficient data 170 to the outside. In S80, it is determined whether or not all the processing of the input image data 110 has been completed. If not completed, the process returns to S10, and if completed, the encoding procedure ends.

【0018】次に図36を用いて第1の従来例の復号手
順について説明する。S115では係数入力部220に
おいて外部より係数の入力を行い、量子化係数データ1
70を得る。S125では係数逆量子化部260におい
て逆量子化処理を行い、逆量子化係数データ330を得
る。S130では逆DCT部240において逆量子化係
数データに対して逆DCT処理を行い、復号画像データ
320を得る。S140では復号画像出力部250にお
いて復号画像データ320を外部へ出力する。S150
では入力された量子化係数データ170の処理が全て終
了したかどうかを判定し、終了していなければS115
へ戻り、終了していれば復号手順を終了する。
Next, the decoding procedure of the first conventional example will be described with reference to FIG. In S115, the coefficient input unit 220 inputs a coefficient from the outside, and sets the quantized coefficient data 1
Get 70. In S125, the coefficient inverse quantization unit 260 performs an inverse quantization process to obtain inverse quantized coefficient data 330. In S130, the inverse DCT section 240 performs inverse DCT processing on the inverse quantized coefficient data to obtain decoded image data 320. At S140, the decoded image output unit 250 outputs the decoded image data 320 to the outside. S150
In step S115, it is determined whether or not the processing of the input quantized coefficient data 170 has been completed.
Then, if the decoding has been completed, the decoding procedure ends.

【0019】以上の動作の中で係数量子化部35で行わ
れる量子化処理について説明する。前述したように一般
の周波数変換符号化では、低域成分に比較して高域成分
を粗く量子化する。JPEG−DCT方式では次の式の
線形量子化を用いる。ここでroundは引数に最も近
い整数を返す関数である。
The quantization processing performed by the coefficient quantization unit 35 in the above operation will be described. As described above, in general frequency conversion coding, a high frequency component is coarsely quantized compared to a low frequency component. In the JPEG-DCT method, the following equation is used for linear quantization. Here, round is a function that returns the integer closest to the argument.

【0020】[0020]

【数2】 図37はJPEG−DCT方式の推奨量子化テーブルで
ある(前出”カラー静止画像の国際標準符号化方式−J
PEGアルゴリズム−”p.167図9による)。同図
中の数字が量子化ステップを表し、数値が大きいほど粗
く量子化することに相当する。量子化テーブルは(1)
式のDCT係数同様に左上から右下に向かって周波数が
高くなるよう表記されるので、高域成分が特に粗く量子
化されていることになる。
(Equation 2) FIG. 37 shows a recommended quantization table of the JPEG-DCT method (see “International Standard Coding Method for Color Still Images-J.
PEG algorithm— "p.167" (refer to FIG. 9). The numbers in the figure represent quantization steps, and the larger the numerical value, the coarser the quantization. The quantization table is (1).
Similarly to the DCT coefficient in the equation, the frequency is described from the upper left to the lower right, so that the high-frequency component is quantized particularly coarsely.

【0021】次に第2の従来例として、人工画像に対す
る従来の符号化技術について説明する。人工画像では図
32で示したように同じ色が空間的に局在して出現する
ことが多いので、周辺画素による画素値予測と予測誤差
の符号化を組み合せる予測符号化が有効である。以下、
予測符号化の代表例として前述の国際標準JPEGで定
められた可逆符号化方式であるSpatial方式を第
2の従来例として説明する。
Next, as a second conventional example, a conventional encoding technique for an artificial image will be described. In an artificial image, the same color often appears spatially and locally as shown in FIG. 32, so that predictive coding that combines pixel value prediction with surrounding pixels and prediction error coding is effective. Less than,
As a typical example of predictive coding, a Spatial method, which is a lossless coding method defined by the above-mentioned international standard JPEG, will be described as a second conventional example.

【0022】第2の従来例の具体的な説明に入る前に予
測符号化について説明する。予測符号化は次に符号化し
ようとする画素の画素値を予測し、次の式で得られる予
測誤差を符号化する手法である。
Prior to a specific description of the second conventional example, predictive coding will be described. The predictive coding is a method of predicting a pixel value of a pixel to be coded next, and coding a prediction error obtained by the following equation.

【0023】[0023]

【数3】 (予測誤差)=(実際の画素値)−(予測値) (4) 図31に示したように人工画像では予測誤差が0に集中
するから、一般には自然画像よりも符号量を削減するこ
とができる。また特に可逆の予測符号化は、符号量制御
ができない反面、画質が劣化する可能性はない。
(Prediction error) = (actual pixel value) − (prediction value) (4) As shown in FIG. 31, since the prediction error is concentrated on 0 in the artificial image, the code amount is generally larger than that of the natural image. Can be reduced. In particular, lossless predictive coding cannot control the code amount, but does not degrade image quality.

【0024】以下、第2の従来例の具体的な説明を行
う。図38および図39はそれぞれ第2の従来例の画像
可逆符号化装置、復号装置の構成図である。同図は前
出”カラー静止画像の国際標準符号化方式−JPEGア
ルゴリズム−”p.173の図17を部分的に抜き出
し、復号装置を加え、用語を修正したものである。図
中、図33および図34と同様の部分は同じ符号を付し
て説明を省略する。25は予測部、46は予測誤差出力
部、226は予測誤差入力部、171は予測誤差データ
である。
Hereinafter, the second conventional example will be specifically described. FIGS. 38 and 39 are configuration diagrams of a second conventional image lossless encoding device and decoding device, respectively. The figure is the same as the above-mentioned "International standard encoding method for color still images-JPEG algorithm-" p. 17 is partially extracted from FIG. 17, a decoding device is added, and terms are modified. In the figure, the same parts as those in FIGS. 33 and 34 are denoted by the same reference numerals, and description thereof will be omitted. 25 is a prediction unit, 46 is a prediction error output unit, 226 is a prediction error input unit, and 171 is prediction error data.

【0025】図38および図39の各部について説明す
る。図38の符号化装置は以下の構成よりなる。予測部
25は入力画像データ110を用いて次に符号化する画
素値を予測し、実際の画素値との差分を予測誤差データ
171として予測誤差出力部46へ送出する。
Each part of FIGS. 38 and 39 will be described. 38 has the following configuration. The prediction unit 25 predicts a pixel value to be encoded next using the input image data 110, and sends a difference from an actual pixel value to the prediction error output unit 46 as prediction error data 171.

【0026】図39の復号装置は以下の構成よりなる。
予測誤差入力部226は予測誤差を外部より入力し、予
測誤差データ171として予測部25へ送出する。予測
部25は符号化装置の予測部25と同一であるが、次の
画素を予測のために復号した画像を参照する点が異な
る。
The decoding device shown in FIG. 39 has the following configuration.
The prediction error input unit 226 inputs a prediction error from outside and sends it to the prediction unit 25 as prediction error data 171. The prediction unit 25 is the same as the prediction unit 25 of the encoding device, except that the prediction unit 25 refers to an image obtained by decoding the next pixel for prediction.

【0027】以上の構成に基づいて第2の従来例の動作
について説明する。図40および図41は従来例の動作
を示すフローチャートである。
The operation of the second conventional example will be described based on the above configuration. 40 and 41 are flowcharts showing the operation of the conventional example.

【0028】まず図40を用いて第1の従来例の符号化
手順について説明する。図35と同様の部分は同一の符
号を付し、説明を省略する。S25では予測部25にお
いて(4)式より予測誤差を算出する。S76では予測
誤差出力部46においてS25で算出した予測誤差デー
タ171を外部へ出力する。
First, the encoding procedure of the first conventional example will be described with reference to FIG. 35 are denoted by the same reference numerals, and description thereof will be omitted. In S25, the prediction unit 25 calculates a prediction error from equation (4). In S76, the prediction error output unit 46 outputs the prediction error data 171 calculated in S25 to the outside.

【0029】次に図41を用いて第1の従来例の復号手
順について説明する。図36と同様の部分は同一の符号
を付し、説明を省略する。S116では予測誤差入力部
226において外部より予測誤差を入力する。S135
では予測部25において予測値と予測誤差の加算によっ
て画素値を算出する。
Next, the decoding procedure of the first conventional example will be described with reference to FIG. 36 are given the same reference numerals, and description thereof is omitted. In S116, a prediction error is input from outside to the prediction error input unit 226. S135
Then, the prediction unit 25 calculates a pixel value by adding the prediction value and the prediction error.

【0030】動作説明中、予測誤差算出処理について説
明する。JPEG−Spatial方式では図42に示
した7つの予測器のうち、どれか1つを使うように定め
られている。例えば予測式をaとした場合、これから符
号化する画素xの左隣りの画素値を予測値とすればよ
い。
In the description of the operation, the prediction error calculation processing will be described. In the JPEG-Spatial system, one of the seven predictors shown in FIG. 42 is defined to be used. For example, when the prediction formula is a, the pixel value on the left of the pixel x to be encoded may be set as the prediction value.

【0031】以上第1、第2の従来例を説明したが、以
下ではいずれか単独では自然画像と人工画像の区別なく
効率的に符号化するのは難しいことを示す。
Although the first and second conventional examples have been described above, it will be described below that it is difficult to efficiently encode a natural image and an artificial image without any distinction.

【0032】人工画像では高域成分にも重要な情報が含
まれるので、図37のように高域が粗い量子化を行うと
画質劣化、例えばモスキート・ノイズが発生する。図3
7a)に示した量子化テーブルによって発生したモスキ
ート・ノイズの例を図43a)およびb)に示す。同図
a)が入力画像、同図b)が復号画像である。このよう
なノイズのためにJPEG−DCT方式のような周波数
変換符号化では、人工画像に対して画質を維持したまま
符号量を削減することが難しい。この様子を図44に示
す。
In the artificial image, important information is also included in the high-frequency component. Therefore, if the high-frequency quantization is performed as shown in FIG. 37, the image quality deteriorates, for example, mosquito noise occurs. FIG.
Examples of mosquito noise generated by the quantization table shown in 7a) are shown in FIGS. 43a) and b). FIG. 7A shows an input image, and FIG. 7B shows a decoded image. Due to such noise, it is difficult to reduce the code amount in the frequency conversion coding such as the JPEG-DCT method while maintaining the image quality of the artificial image. This is shown in FIG.

【0033】一方、自然画像はノイズの影響で近隣画素
同士でも画素値が異なるため、JPEG−Spatia
l方式のような可逆の予測符号化では符号量が小さくな
らない。この様子を図45に示す。また可逆符号化は画
質と符号量をトレード・オフにできないので、符号量制
御ができない。これは蓄積媒体の容量や通信帯域等に直
接影響するので、システムの構築を難しくする。
On the other hand, a natural image has different pixel values even between neighboring pixels due to the influence of noise, so that JPEG-Spatia
The code amount does not decrease in lossless predictive coding such as the 1-method. This is shown in FIG. Further, in lossless encoding, since the image quality and the code amount cannot be traded off, the code amount cannot be controlled. This directly affects the capacity of the storage medium, the communication band, and the like, and makes it difficult to construct a system.

【0034】このように第1、第2の従来例では有効に
符号化できない画像が存在する。この問題を解決するた
めに非可逆符号化と可逆符号化とを部分毎に使い分ける
手法が考えられる。そのような例として特開平6−11
3145号公報がある。以下、第3の従来例として該公
報に記載された発明について説明する。
As described above, there are images that cannot be effectively encoded in the first and second conventional examples. In order to solve this problem, a method of selectively using irreversible encoding and lossless encoding for each part can be considered. As such an example, Japanese Patent Laid-Open Publication No.
There is 3145 gazette. Hereinafter, the invention described in the publication will be described as a third conventional example.

【0035】図46は第3の従来例の画像処理装置の構
成図である。同図は特開平6−113145号公報の主
旨を損なわないよう、該公報の図1の一部を省略し、用
語を修正したものである。図中、15は人工画像入力
部、16は自然画像入力部、90は人工画像符号化部、
91は自然画像符号化部、92は人工画像記憶部、93
は自然画像記憶部、94は人工画像復号部、95は自然
画像復号部、96は画像合成部、112は入力人工画像
データ、113は入力自然画像データ、114は人工画
像符号データ、115は自然画像符号データ、116は
復号人工画像データ、117は復号自然画像データであ
る。
FIG. 46 is a block diagram of a third conventional image processing apparatus. In this figure, a part of FIG. 1 of the publication is omitted and terms are modified so as not to impair the gist of JP-A-6-113145. In the figure, 15 is an artificial image input unit, 16 is a natural image input unit, 90 is an artificial image encoding unit,
91 is a natural image coding unit, 92 is an artificial image storage unit, 93
Is a natural image storage unit, 94 is an artificial image decoding unit, 95 is a natural image decoding unit, 96 is an image synthesis unit, 112 is input artificial image data, 113 is input natural image data, 114 is artificial image code data, and 115 is natural image data. Image code data, 116 is decoded artificial image data, and 117 is decoded natural image data.

【0036】図46の各部について説明する。人工画像
入力部15および自然画像入力部16はそれぞれ外部よ
り人工画像、自然画像を入力し、入力人工画像データ1
12、入力自然画像データ113として人工画像符号化
部90、自然画像符号化部91へ送出する。人工画像符
号化部90および自然画像符号化部91はそれぞれ入力
人工画像データ112、入力自然画像データ113にそ
れぞれに予め定められた手法で符号化を行い、人工画像
符号データ114、自然画像符号データ115として、
人工画像記憶部92、自然画像記憶部93へ送出する。
人工画像記憶部92および自然画像記憶部93はそれぞ
れ人工画像符号データ114、自然画像符号データ11
5を一時的に記憶し、それぞれ人工画像復号部94、自
然画像復号部95へ送出する。人工画像復号部94およ
び自然画像復号部95はそれぞれ人工画像符号化部9
0、自然画像符号化部91で行われた符号化に対応する
復号処理を人工画像符号データ114、自然画像符号デ
ータ115に対して行い、復号人工画像データ116、
復号自然画像データ117として画像合成部96へ送出
する。画像合成部96は復号人工画像データ116と復
号自然画像データ117の合成を行う。
Each part of FIG. 46 will be described. The artificial image input unit 15 and the natural image input unit 16 input an artificial image and a natural image from the outside, respectively.
12. The input natural image data 113 is sent to the artificial image encoding unit 90 and the natural image encoding unit 91. The artificial image encoding unit 90 and the natural image encoding unit 91 encode the input artificial image data 112 and the input natural image data 113, respectively, by a predetermined method. As 115,
The information is sent to the artificial image storage unit 92 and the natural image storage unit 93.
The artificial image storage unit 92 and the natural image storage unit 93 store the artificial image code data 114 and the natural image code data 11 respectively.
5 is temporarily stored and sent to the artificial image decoding unit 94 and the natural image decoding unit 95, respectively. The artificial image decoding unit 94 and the natural image decoding unit 95 each include an artificial image encoding unit 9.
0, a decoding process corresponding to the encoding performed by the natural image encoding unit 91 is performed on the artificial image code data 114 and the natural image code data 115, and the decoded artificial image data 116
The decoded natural image data 117 is sent to the image synthesizing unit 96. The image combining unit 96 combines the decoded artificial image data 116 and the decoded natural image data 117.

【0037】以上の説明の中で人工画像符号化部90で
行われる符号化は、該特許の第1実施例において「ラン
レングス符号化方式等の可逆方式の機能を持つ」という
記述がされている。また自然画像符号化部91で行われ
る符号化は、やはり該特許の第1実施例において「JP
EG等の画像圧縮方式」という記述がされている。なお
該特許でいうJPEGとは本説明でいうJPEG−DC
T方式のことを指す。
In the above description, the coding performed by the artificial image coding unit 90 is described in the first embodiment of the patent as "having a function of a reversible method such as a run-length coding method". I have. The encoding performed by the natural image encoding unit 91 is also described in the first embodiment of the patent as "JP
"Image compression method such as EG". The JPEG referred to in the patent is JPEG-DC referred to in the present description.
Refers to the T method.

【0038】[0038]

【発明が解決しようとする課題】第1、第2の従来例に
ついてはそれぞれ自然画像、人工画像に特化して設計さ
れているため、いずれか単独の手法で両方の画像を効率
的に扱うのが困難であることは既に指摘した。
Since the first and second prior arts are designed specifically for natural images and artificial images, respectively, both of the images can be efficiently handled by a single method. It has already been pointed out that it is difficult.

【0039】第3の従来例においては自然画像と人工画
像が全く異なる方式で並列に符号化復号されるため、一
般には両処理の処理時間が一致しない。このため符号化
時は全ての符号データが、復号時は全ての画像データが
出揃うまで外部に出力することができなくなり、符号化
装置には最低1画像分の符号バッファが、また復号装置
にも最低1画像分の画像バッファが必要となる。これら
は1系統の方式しか持たない画像符号化復号装置であれ
ば不要な構成である。
In the third conventional example, since the natural image and the artificial image are encoded and decoded in a completely different manner in parallel, the processing times of both processes generally do not match. For this reason, all the code data cannot be output to the outside at the time of encoding until all the image data are available at the time of decoding, and the encoding device has a code buffer for at least one image, and the decoding device also has An image buffer for at least one image is required. These are unnecessary configurations if the image encoding / decoding apparatus has only one system.

【0040】また符号化装置、復号装置共に2系統以上
持つので、装置規模の増大を招く。さらに全く異なる複
数の符号で画像を表現するため、伝送や蓄積の際などに
符号の取扱いが複雑になる。さらに復号画像の画質につ
いても、符号化手法の切替え部分でノイズが発生するこ
とがある。
Since both the encoding device and the decoding device have two or more systems, the size of the device is increased. Further, since an image is represented by a plurality of completely different codes, handling of the codes becomes complicated at the time of transmission and storage. Further, with respect to the image quality of the decoded image, noise may be generated at the switching part of the encoding method.

【0041】本発明は上述した事情に鑑みてなされたも
ので、自然画像と人工画像の区別なく、効率的な圧縮が
可能な単一の符号化装置および復号装置を提供すること
を目的とする。
The present invention has been made in view of the above circumstances, and has as its object to provide a single encoding device and a single decoding device capable of efficiently compressing a natural image and an artificial image without distinction. .

【0042】[0042]

【課題を解決するための手段】本発明は以上の目的を達
成するためにつぎのよな構成を採用している。まず画像
符号化装置の発明について説明する。
The present invention employs the following structure to achieve the above object. First, the invention of the image encoding device will be described.

【0043】請求項1の発明によれば、画像符号化装置
において、画像を入力する画像入力手段と、前記画像入
力手段により入力された画像の周波数成分を求める周波
数変換を行う周波数変換手段と、前記周波数変換手段に
より求められた周波数成分を閾値処理する閾値処理手段
と、前記閾値処理手段により閾値処理された結果に応じ
て、前記画像入力手段により入力された画像の低域周波
数成分の画像を出力する低域周波数画像出力手段と、前
記閾値処理手段により閾値処理された結果に応じて、前
記低域周波数画像出力手段により出力された画像に対し
て所定の間引き処理を行う画素間引き手段と、前記閾値
処理手段により閾値処理された結果を出力する係数情報
出力手段と、前記画素間引き手段により間引き処理され
た画像を出力する間引き画像出力手段とを具備すること
を特徴とする。
According to the first aspect of the present invention, in the image encoding apparatus, image input means for inputting an image, frequency conversion means for performing frequency conversion for obtaining a frequency component of the image input by the image input means, A threshold processing unit that performs threshold processing on the frequency component obtained by the frequency conversion unit; and, based on a result of the threshold processing performed by the threshold processing unit, an image of a low-frequency component of the image input by the image input unit. Low-frequency image output means for outputting, and pixel thinning means for performing a predetermined thinning process on an image output by the low-frequency image output means, according to a result of threshold processing by the threshold processing means, Coefficient information output means for outputting a result of the threshold processing by the threshold processing means; and an image which has been subjected to the thinning processing by the pixel thinning means. Characterized by comprising a pull image output unit.

【0044】この構成においては、画像を最適な解像度
で表現することにより、冗長成分を抑圧し符号量を削減
する。最適な解像度を求めるために周波数分析を行い、
この分析結果に基づいて画素の間引き処理を行ってい
る。
In this configuration, the image is represented at the optimum resolution, thereby suppressing the redundant component and reducing the code amount. Perform frequency analysis to find the optimal resolution,
Pixel thinning processing is performed based on the analysis result.

【0045】また、請求項2の発明によれば、画像復号
装置において、画像を入力する画像入力手段と、前記画
像入力手段により入力された画像の周波数成分を求める
周波数変換を行う周波数変換手段と、前記周波数変換手
段により求められた周波数成分を閾値処理する閾値処理
手段と、前記閾値処理手段により閾値処理された結果に
応じて前記周波数変換手段により求められた周波数成分
のうち高域周波数成分を0で置き換える高域係数マスク
手段と、前記高域係数マスク手段により高域周波数成分
を0で置き換えた周波数成分を画像に変換する逆周波数
変換を行う逆変換手段と、前記閾値処理手段により閾値
処理された結果に応じて、前記逆変換手段により変換さ
れた画像に対して所定の間引き処理を行う画素間引き手
段と、前記閾値処理手段により閾値処理された結果を出
力する係数情報出力手段と、前記画素間引き手段により
間引き処理された画像を出力する間引き画像出力手段と
を具備することを特徴とする。
According to a second aspect of the present invention, in the image decoding apparatus, there are provided image input means for inputting an image, and frequency conversion means for performing frequency conversion for obtaining a frequency component of the image input by the image input means. A threshold processing unit that performs threshold processing on the frequency component obtained by the frequency conversion unit; and a high-frequency component among the frequency components obtained by the frequency conversion unit in accordance with a result of the threshold processing performed by the threshold processing unit. High frequency coefficient masking means for replacing with 0, inverse transforming means for performing inverse frequency transformation for converting a frequency component in which high frequency components have been replaced with 0 by the high frequency coefficient masking means into an image, and threshold processing by the threshold processing means A pixel thinning unit that performs a predetermined thinning process on the image converted by the inverse conversion unit in accordance with the result obtained by the inverse conversion unit; And coefficient information output means for outputting a result of the threshold processing by means, characterized by comprising a thinned image output means for outputting the thinned processed image by the pixel thinning unit.

【0046】この構成においても、画像を最適な解像度
で表現することにより、冗長成分を抑圧し符号量を削減
することができる。
Also in this configuration, by expressing an image with an optimum resolution, it is possible to suppress a redundant component and reduce the code amount.

【0047】また、請求項3の発明によれば、画像符号
化装置において、画像を入力する画像入力手段と、前記
画像入力手段により入力された画像の周波数成分を求め
る周波数変換を行う周波数変換手段と、前記周波数変換
手段により求められた周波数成分を閾値処理する閾値処
理手段と、前記閾値処理手段により閾値処理された結果
に応じて、前記画像入力手段により入力された画像に対
して所定の間引き処理を行う画素間引き手段と、前記閾
値処理手段により閾値処理された結果を出力する係数情
報出力手段と、前記画素間引き手段により間引き処理さ
れた画像を出力する間引き画像出力手段とを具備するこ
とを特徴とする。
According to a third aspect of the present invention, in the image encoding apparatus, image input means for inputting an image, and frequency conversion means for performing frequency conversion for obtaining a frequency component of the image input by the image input means. A threshold processing unit for performing threshold processing on the frequency component obtained by the frequency conversion unit; and a predetermined thinning-out operation on the image input by the image input unit according to a result of the threshold processing performed by the threshold processing unit. Pixel thinning means for performing processing, coefficient information output means for outputting a result of threshold processing by the threshold processing means, and thinned image output means for outputting an image thinned by the pixel thinning means. Features.

【0048】この構成においても、画像を最適な解像度
で表現することにより、冗長成分を抑圧し符号量を削減
することができる。
Also in this configuration, by expressing an image at an optimum resolution, redundant components can be suppressed and the code amount can be reduced.

【0049】また、請求項4の発明によれば、画像符号
化装置において、画像を入力する画像入力手段と、前記
画像入力手段により入力された画像を、所定の間引き処
理及び所定の補間処理により疑似復号画像を生成する疑
似復号画像生成手段と、前記疑似復号画像生成手段によ
り生成された疑似復号画像と前記画像入力手段により入
力された画像との誤差により間引き率を求める係数分析
手段と、前記係数分析手段により求められた間引き率に
応じて、前記画像入力手段により入力された画像に対し
て所定の間引き処理を行う画素間引き手段と、前記係数
分析手段により求められた間引き率を出力する係数情報
出力手段と、前記画素間引き手段により間引き処理され
た画像を出力する間引き画像出力手段とを具備すること
を特徴とする。
According to a fourth aspect of the present invention, in the image coding apparatus, the image input means for inputting an image and the image input by the image input means are subjected to predetermined thinning processing and predetermined interpolation processing. A pseudo-decoded image generating means for generating a pseudo-decoded image; a coefficient analyzing means for determining a thinning rate based on an error between the pseudo-decoded image generated by the pseudo-decoded image generating means and the image input by the image input means; Pixel thinning means for performing a predetermined thinning process on the image input by the image input means according to the thinning rate obtained by the coefficient analyzing means, and a coefficient for outputting the thinning rate obtained by the coefficient analyzing means It is characterized by comprising an information output unit and a thinned-out image output unit that outputs an image thinned out by the pixel thinning-out unit.

【0050】この構成においても、画像を最適な解像度
で表現することにより、冗長成分を抑圧し符号量を削減
することができる。
Also in this configuration, by expressing an image with an optimum resolution, it is possible to suppress a redundant component and reduce the code amount.

【0051】また、請求項5の発明によれば、請求項4
の画像符号化装置において、前記係数分析手段で用いら
れる誤差は、画素値誤差、誤差の絶対値、誤差の二乗値
のうちいずれかの最大値、またはダイナミックレンジ、
分散、SN比のいずれかであることを特徴とする。
According to the invention of claim 5, according to claim 4,
In the image coding apparatus of the above, the error used in the coefficient analysis means is a pixel value error, the absolute value of the error, the maximum value of any one of the squares of the error, or the dynamic range,
It is one of variance and SN ratio.

【0052】また、請求項6の発明によれば、請求項4
の画像符号化装置において、前記疑似復号画像生成手段
の所定の補間処理とは、最近傍補間、4点線形補間、9
点2次補間、またはローパスフィルタ処理のいずれかで
あることを特徴とする。
According to the invention of claim 6, according to claim 4,
In the image coding apparatus of the above, the predetermined interpolation processing of the pseudo-decoded image generation means includes nearest neighbor interpolation, four-point linear interpolation,
It is characterized by being either point quadratic interpolation or low-pass filter processing.

【0053】また、請求項7の発明によれば、画像符号
化装置において、画像に対して周波数変換しエントロピ
ー符号化を行った符号を入力する符号入力手段と、前記
符号入力手段により入力された符号に対して該符号に行
われたエントロピー符号化の逆変換にあたる復号を行う
ことにより周波数成分を得るエントロピー復号手段と、
前記エントロピー復号手段で得られた周波数成分を閾値
処理する閾値処理手段と、前記閾値処理手段により閾値
処理された結果に応じて、前記エントロピー復号手段で
得られた周波数成分のうち高域周波数成分を0で置き換
える高域係数マスク手段と、前記高域係数マスク手段に
より高域周波数成分を0で置き換えた周波数成分を画像
に変換する逆周波数変換を行う逆変換手段と、前記閾値
処理手段により閾値処理された結果に応じて、前記逆変
換手段により変換された画像に対して所定の間引き処理
を行う画素間引き手段と、前記閾値処理手段により閾値
処理された結果を出力する係数情報出力手段と、前記画
素間引き手段により間引き処理された画像を出力する間
引き画像出力手段とを具備することを特徴とする。
According to the seventh aspect of the present invention, in the image coding apparatus, code input means for inputting a code obtained by performing frequency conversion and entropy coding on an image, and input by the code input means. Entropy decoding means for obtaining a frequency component by performing decoding corresponding to the inverse transform of the entropy encoding performed on the code,
A threshold processing unit that performs threshold processing on the frequency component obtained by the entropy decoding unit; and a high-frequency component among the frequency components obtained by the entropy decoding unit according to a result of the threshold processing performed by the threshold processing unit. High frequency coefficient masking means for replacing with 0, inverse transforming means for performing inverse frequency transformation for converting a frequency component in which high frequency components have been replaced with 0 by the high frequency coefficient masking means into an image, and threshold processing by the threshold processing means A pixel thinning unit that performs a predetermined thinning process on the image converted by the inverse conversion unit in accordance with the result, a coefficient information output unit that outputs a result of the threshold processing by the threshold processing unit, And a thinning-out image output unit for outputting an image thinned out by the pixel thinning-out unit.

【0054】また、請求項8の発明によれば、請求項7
に記載の画像符号化装置において、前記エントロピー復
号手段の復号とは、ハフマン符号化、算術符号化または
QM符号化のいずれかであることを特徴とする。
According to the invention of claim 8, according to claim 7,
Wherein the decoding by the entropy decoding means is one of Huffman coding, arithmetic coding and QM coding.

【0055】また、請求項9の発明によれば、画像符号
化装置において、画像を入力する画像入力手段と、前記
画像入力手段により入力された画像の周波数成分を求め
る周波数変換を行う周波数変換手段と、前記周波数変換
手段により求められた周波数成分を閾値処理する閾値処
理手段と、前記閾値処理手段により閾値処理された結果
に応じて、前記周波数変換手段で得られた周波数成分の
うち高域周波数成分を0で置き換える高域係数マスク手
段と、前記高域係数マスク手段により高域周波数成分を
0で置き換えた周波数成分を画像に変換する逆周波数変
換を行う逆変換手段と、前記閾値処理手段により閾値処
理された結果に応じて、前記逆変換手段により変換され
た画像に対して所定の間引き処理を行う画素間引き手段
と、前記画素間引き手段で得られた間引き画像と前記閾
値処理手段により閾値処理された結果とを合成するデー
タ合成手段と、前記データ合成手段で合成された合成デ
ータを出力する合成データ出力手段とを具備することを
特徴とする。
According to the ninth aspect of the present invention, in the image encoding apparatus, image input means for inputting an image, and frequency conversion means for performing frequency conversion for obtaining a frequency component of the image input by the image input means. A threshold processing unit that performs threshold processing on the frequency component obtained by the frequency conversion unit; and a high-frequency component among the frequency components obtained by the frequency conversion unit in accordance with a result of the threshold processing performed by the threshold processing unit. A high-frequency coefficient masking means for replacing the component with 0, an inverse transforming means for performing an inverse frequency transform for converting a frequency component in which the high-frequency component has been replaced with 0 by the high-frequency coefficient masking means into an image, and the threshold processing means A pixel thinning unit that performs a predetermined thinning process on the image converted by the inverse conversion unit in accordance with a result of the threshold processing; Data synthesis means for synthesizing the thinned image obtained by the means and the result of threshold processing by the threshold processing means, and synthesized data output means for outputting synthesized data synthesized by the data synthesis means. Features.

【0056】この構成においても、画像を最適な解像度
で表現することにより、冗長成分を抑圧し符号量を削減
することができる。
Also in this configuration, by expressing an image at an optimum resolution, redundant components can be suppressed and the code amount can be reduced.

【0057】また、請求項10の発明によれば、画像符
号化装置において、画像を入力する画像入力手段と、係
数情報を入力する係数情報入力手段と、前記画像入力手
段により入力された画像の周波数成分を求める周波数変
換を行う周波数変換手段と、前記係数情報入力手段によ
り入力された係数情報に応じて、前記周波数変換手段に
より求められた周波数成分のうち高域周波数成分を0で
置き換える高域係数マスク手段と、前記高域係数マスク
手段により高域周波数成分を0で置き換えた周波数成分
を画像に変換する逆周波数変換を行う逆変換手段と、前
記係数情報入力手段により入力された係数情報に応じ
て、前記逆変換手段により変換された画像に対して所定
の間引き処理を行う画素間引き手段と、前記係数情報入
力手段により入力された係数情報を出力する係数情報出
力手段と、前記画素間引き手段により間引き処理された
画像を出力する間引き画像出力手段とを具備することを
特徴とする。
According to a tenth aspect of the present invention, in the image encoding apparatus, an image inputting means for inputting an image, coefficient information inputting means for inputting coefficient information, and an image inputting means for inputting the image by the image inputting means. Frequency conversion means for performing frequency conversion for obtaining a frequency component; and a high-frequency component for replacing high-frequency components with zero among the frequency components obtained by the frequency conversion means in accordance with the coefficient information input by the coefficient information input means. Coefficient masking means, inverse transforming means for performing an inverse frequency transformation for converting a frequency component obtained by replacing the high frequency component with 0 by the high frequency coefficient masking means to an image, and coefficient information input by the coefficient information inputting means. Accordingly, a pixel decimation unit that performs a predetermined decimation process on the image converted by the inverse conversion unit, and an image that is input by the coefficient information input unit. And coefficient information output means for outputting the coefficient information, characterized by comprising a thinned image output means for outputting the thinned processed image by the pixel thinning unit.

【0058】この構成においても、画像を最適な解像度
で表現することにより、冗長成分を抑圧し符号量を削減
することができる。
Also in this configuration, by expressing an image with an optimal resolution, redundant components can be suppressed and the code amount can be reduced.

【0059】また、請求項11の発明によれば、請求項
1ないし8または10に記載の画像符号化装置におい
て、さらに、前記間引き画像出力手段により出力される
間引き画像に対して画像符号化を行う画像符号化手段を
有することを特徴とする。
According to the eleventh aspect of the present invention, in the image encoding apparatus according to any one of the first to eighth or tenth aspects, further, image encoding is performed on the thinned image output by the thinned image output means. It is characterized by having an image coding means for performing.

【0060】また、請求項12の発明によれば、請求項
11に記載の画像符号化装置において、前記画像符号化
手段で行われる画像符号化は、可逆符号化または予測符
号化のいずれか若しくは両方であることを特徴とする。
According to a twelfth aspect of the present invention, in the image encoding apparatus according to the eleventh aspect, the image encoding performed by the image encoding means is either lossless encoding or predictive encoding or It is characterized by both.

【0061】また、請求項13の発明によれば、請求項
1ないし8または10に記載の画像符号化装置におい
て、さらに、前記係数情報出力手段により出力される係
数情報に対して情報源符号化を行う係数情報符号化手段
を有することを特徴とする。
According to a thirteenth aspect of the present invention, in the image encoding apparatus according to any one of the first to eighth or tenth aspects, furthermore, the source information encoding is performed on the coefficient information output by the coefficient information output means. And a coefficient information encoding unit for performing

【0062】また、請求項14の発明によれば、請求項
2、9、10に記載の画像符号化装置において、前記周
波数変換手段および前記逆変換手段で行われる周波数変
換は、離散コサイン変換、フーリエ変換、離散サイン変
換、サブバンド変換またはウェーブレット変換であるこ
とを特徴とする。
According to a fourteenth aspect of the present invention, in the image coding apparatus according to the second, ninth, or tenth aspect, the frequency transform performed by the frequency transforming means and the inverse transforming means is a discrete cosine transform, It is a Fourier transform, a discrete sine transform, a sub-band transform or a wavelet transform.

【0063】また、請求項15の発明によれば、請求項
1ないし3、7ないし9に記載の画像符号化装置におい
て、前記閾値処理手段の閾値処理は、所定の量子化テー
ブルを閾値とした閾値処理であることを特徴とする。
According to a fifteenth aspect of the present invention, in the image encoding apparatus according to any one of the first to third and seventh to ninth aspects, the threshold value processing of the threshold value processing means uses a predetermined quantization table as a threshold value. It is characterized by threshold processing.

【0064】また、請求項16の発明によれば、請求項
15に記載の画像符号化装置において、前記閾値処理手
段で用いられる量子化テーブルは、外部から設定できる
ことを特徴とする。
According to a sixteenth aspect of the present invention, in the image coding apparatus according to the fifteenth aspect, the quantization table used in the threshold value processing means can be set externally.

【0065】また、請求項17の発明によれば、請求項
2、7ないし10に記載の画像符号化装置において、前
記高域係数マスク手段は、前記閾値処理手段により最高
周波数成分より大きい成分を0に置換することを特徴と
する。
According to a seventeenth aspect of the present invention, in the image encoding apparatus according to any one of the second to seventh to tenth aspects, the high-frequency coefficient masking means uses the threshold processing means to remove a component larger than the highest frequency component. It is characterized by being replaced with 0.

【0066】また、請求項18の発明によれば、請求項
1ないし17に記載の画像符号化装置において、前記画
素間引き手段の間引き処理は、ブロック内の最高周波数
成分若しくは0でない周波数成分の分布から導かれる割
合に応じて行われることを特徴とする。
According to the eighteenth aspect of the present invention, in the image encoding apparatus according to any one of the first to seventeenth aspects, the thinning-out processing of the pixel thinning-out means includes a distribution of a highest frequency component or a non-zero frequency component in the block. Is performed in accordance with the ratio derived from.

【0067】また、請求項19の発明によれば、請求項
1ないし18に記載の画像符号化装置において、前記画
素間引き手段で行われる間引き処理の間引きの割合は、
予め定められた所定の値に量子化されることであること
を特徴とする。
According to the nineteenth aspect of the present invention, in the image encoding apparatus according to any one of the first to eighteenth aspects, the ratio of the thinning-out processing performed by the pixel thinning-out means is as follows:
It is characterized in that it is quantized to a predetermined value.

【0068】また、請求項20の発明によれば、請求項
1ないし18に記載の画像符号化装置において、前記画
素間引き手段の所定の間引き処理は、格子状に画素が残
すこと、縦方向と横方向に同じ割合で行うこと、残る画
素がほぼ等間隔になるように行うこと、周辺画素中のピ
ーク値を優先的に残すことであることを特徴とする。
According to a twentieth aspect of the present invention, in the image encoding apparatus according to any one of the first to eighteenth aspects, the predetermined thinning-out processing of the pixel thinning-out means includes: leaving pixels in a grid pattern; It is characterized in that it is performed at the same ratio in the horizontal direction, that the remaining pixels are arranged at substantially equal intervals, and that peak values in peripheral pixels are preferentially left.

【0069】また、請求項21の発明によれば、請求項
1ないし20に記載の画像符号化装置において、前記画
素間引き手段の間引き処理は、前記画像入力手段により
入力された画像がすでに画像符号化装置により符号化さ
れたことがある場合には前回間引かれた画素と同じ画素
を間引くことであることを特徴とする。
According to a twenty-first aspect of the present invention, in the image encoding apparatus according to any one of the first to twentieth aspects, the thinning-out processing of the pixel thinning-out means includes the step of: If the image has been encoded by the encoding device, the same pixel as the previously thinned pixel is thinned out.

【0070】また、請求項22の発明によれば、請求項
1ないし21に記載の画像符号化装置において、さら
に、前記画素間引き手段により間引き処理された画像の
画素値を量子化する画素値量子化手段を有することを特
徴とする。
According to a twenty-second aspect of the present invention, in the image coding apparatus according to any one of the first to twenty-first aspects, further, a pixel value quantization unit quantizes a pixel value of an image thinned by the pixel thinning unit. It is characterized by having a conversion means.

【0071】また、請求項23の発明によれば、請求項
22に記載の画像符号化装置において、前記画素値量子
化手段は、前記閾値処理手段により閾値処理された結果
に応じて量子化ステップを変更すること、または前記閾
値処理手段で使用される閾値の大きさに応じて量子化ス
テップを変更することであることを特徴とする。
According to a twenty-third aspect of the present invention, in the image encoding apparatus according to the twenty-second aspect, the pixel value quantizing means performs a quantization step according to a result of threshold processing by the threshold processing means. Or changing the quantization step in accordance with the size of the threshold used in the threshold processing means.

【0072】また、請求項24の発明によれば、請求項
1ないし23に記載の画像符号化装置において、さら
に、前記画像入力手段により入力された画像に対して所
定の分析を行い前記閾値処理手段で使用する閾値を決定
する画像判定手段を有することを特徴とする。
According to a twenty-fourth aspect of the present invention, in the image coding apparatus according to any one of the first to twenty-third aspects, the threshold value processing is further performed by performing a predetermined analysis on the image input by the image input means. The image processing apparatus further includes an image determination unit that determines a threshold used by the unit.

【0073】また、請求項25の発明によれば、請求項
24に記載の画像符号化装置において、前記画像判定手
段は、自然画像と人工画像の違いを判定し、人工画像の
場合は閾値を0として前記閾値処理手段における閾値処
理で0にされる周波数成分が発生しないように制御する
ことを特徴とする。
According to a twenty-fifth aspect of the present invention, in the image coding apparatus according to the twenty-fourth aspect, the image determining means determines a difference between a natural image and an artificial image, and sets a threshold value for an artificial image. It is characterized in that control is performed such that a frequency component which is set to 0 in the threshold processing by the threshold processing means is not generated.

【0074】また、請求項26の発明によれば、請求項
24に記載の画像符号化装置前記画像判定手段の所定の
分析処理は、画素値のダイナミックレンジの測定、画素
値のヒストグラムの測定、画素値の下位ビットのエント
ロピーの測定、エッジの急峻さの測定、線の太さの測
定、周波数成分の測定、外部から指定されること、また
はエッジ、パターン、グラデーション、線のうち少なく
とも1つ以上の成分を検出することを特徴とする。
According to a twenty-sixth aspect of the present invention, in the image coding apparatus according to the twenty-fourth aspect, the predetermined analysis processing of the image judging means includes measuring a dynamic range of pixel values, measuring a histogram of pixel values, Measurement of lower bits entropy of pixel value, measurement of edge steepness, measurement of line thickness, measurement of frequency component, externally specified, or at least one of edge, pattern, gradation, and line Is detected.

【0075】つぎに画像復号装置について説明する。Next, the image decoding apparatus will be described.

【0076】請求項27の発明によれば、画像復号装置
において、係数情報を入力する係数情報入力手段と、間
引き画像を入力する間引き画像入力手段と、前記間引き
画像入力手段により入力された間引き画像と前記係数情
報入力手段により入力された係数情報に応じて、所定の
手法で周波数成分を算出する係数補間手段と、前記係数
補間手段により算出された周波数成分を画像に変換する
逆周波数変換を行う逆変換手段と、前記逆変換手段によ
り変換された画像を出力する復号画像出力手段とを具備
することを特徴とする。
According to a twenty-seventh aspect of the present invention, in the image decoding apparatus, coefficient information input means for inputting coefficient information, thinned image input means for inputting a thinned image, and a thinned image input by the thinned image input means And a coefficient interpolating means for calculating a frequency component by a predetermined method in accordance with the coefficient information input by the coefficient information input means, and an inverse frequency conversion for converting the frequency component calculated by the coefficient interpolating means into an image. It is characterized by comprising: an inverse conversion unit; and a decoded image output unit that outputs an image converted by the inverse conversion unit.

【0077】この構成においては、周波数分析に応じて
適応的に間引きを行って圧縮した画像データを復号する
ことができる。
With this configuration, it is possible to adaptively thin out the image data in accordance with the frequency analysis and decode the compressed image data.

【0078】また、請求項28の発明によれば、画像復
号装置において、画像の一定領域であるブロック毎の係
数情報を入力する係数情報入力手段と、ブロック毎の間
引き画像を入力する間引き画像入力手段と、前記間引き
画像入力手段により入力された間引き画像と前記係数情
報入力手段により入力された係数情報とに応じて所定の
手法で画素値を補間する画素値補間手段と、前記画素値
補間手段により補間された画像を出力する復号画像出力
手段とを具備することを特徴とする。
According to the twenty-eighth aspect of the present invention, in the image decoding apparatus, coefficient information input means for inputting coefficient information for each block, which is a fixed area of the image, and thinned image input for inputting a thinned image for each block Means, pixel value interpolating means for interpolating pixel values by a predetermined method according to the thinned image input by the thinned image input means and the coefficient information input by the coefficient information input means, and the pixel value interpolating means And a decoded image output means for outputting an image interpolated by the above.

【0079】この構成においても、周波数分析に応じて
適応的に間引きを行って圧縮した画像データを復号する
ことができる。
Also in this configuration, it is possible to adaptively thin out in accordance with the frequency analysis and decode the compressed image data.

【0080】また、請求項29の発明によれば、請求項
28に記載の画像復号装置において、前記画素値補間手
段の所定の手法は、最近傍補間、4点線形補間、9点2
次補間、ローパスフィルタ処理であることを特徴とす
る。
According to a twenty-ninth aspect of the present invention, in the image decoding apparatus according to the twenty-eighth aspect, the predetermined method of the pixel value interpolating means is nearest neighbor interpolation, four-point linear interpolation, nine-point two-point interpolation,
It is characterized by the following interpolation and low-pass filter processing.

【0081】また、請求項30の発明によれば、画像復
号装置において、係数情報と間引き画像の合成されたデ
ータである合成データを入力する合成データ入力手段
と、前記合成データ入力手段により入力された合成デー
タを間引き画像と係数情報に分解するデータ分解手段
と、前記データ分解手段により分解された間引き画像と
係数情報とに応じて、所定の手法で周波数成分を算出す
る係数補間手段と、前記係数補間手段により算出された
周波数成分を画像に変換する逆周波数変換する逆変換手
段と、前記逆変換手段により変換された画像を出力する
復号画像出力手段とを具備することを特徴とする。
According to a thirty-fourth aspect of the present invention, in the image decoding apparatus, synthesized data input means for inputting synthesized data which is data obtained by synthesizing coefficient information and a thinned image, and input by the synthesized data input means Data decomposing means for decomposing the synthesized data into a thinned image and coefficient information, and coefficient interpolating means for calculating a frequency component by a predetermined method according to the thinned image and coefficient information decomposed by the data decomposing means, It is characterized by comprising inverse transform means for transforming the frequency component calculated by the coefficient interpolating means into an image for inverse frequency transform, and decoded image output means for outputting the image transformed by the inverse transform means.

【0082】この構成においても、周波数分析に応じて
適応的に間引きを行って圧縮した画像データを復号する
ことができる。
Also in this configuration, it is possible to decode image data compressed by adaptively thinning out according to frequency analysis.

【0083】また、請求項31の発明によれば、請求項
27ないし30に記載の画像復号装置において、さら
に、間引き画像に対して画像符号化した符号を、画像に
復号する画像復号手段を有し、前記間引き画像入力手段
は、前記画像復号手段により復号された画像を間引き画
像として入力することを特徴とする。
According to a thirty-first aspect of the present invention, in the image decoding apparatus according to the twenty-seventh to thirty-seventh aspects, there is further provided an image decoding means for decoding a code obtained by image-encoding a thinned image into an image. The thinned image input unit inputs the image decoded by the image decoding unit as a thinned image.

【0084】また、請求項32の発明によれば、請求項
31に記載の画像復号装置において、前記画像復号手段
で行われる復号は、可逆符号化の逆処理、予測符号化の
逆処理であることを特徴とする。
According to a thirty-second aspect of the present invention, in the image decoding apparatus according to the thirty-first aspect, the decoding performed by the image decoding means is a reverse process of lossless coding and a reverse process of predictive coding. It is characterized by the following.

【0085】また、請求項33の発明によれば、請求項
27ないし32に記載の画像復号装置において、さら
に、前記逆変換手段により変換された画像のうち前記間
引き画像入力手段により入力された間引き画像に含まれ
る画素については、前記間引き画像の画素値で置き換え
る画素値補正手段を有し、前記復号画像出力手段は、前
記画素値補正手段により補正された画像を出力すること
を特徴とする。
According to a thirty-third aspect of the present invention, in the image decoding device according to the thirty-seventh to thirty-second aspects, further, among the images converted by the inverse conversion means, the decimation input by the decimation image input means. Pixels included in an image are provided with pixel value correction means for replacing the pixel values of the thinned image with pixel values, and the decoded image output means outputs an image corrected by the pixel value correction means.

【0086】また、請求項34の発明によれば、請求項
27、30に記載の画像復号装置において、前記逆変換
手段の周波数変換は、離散コサイン変換、フーリエ変
換、離散サイン変換、サブバンド変換またはウェーブレ
ット変換であることを特徴とする。
According to a thirty-fourth aspect of the present invention, in the image decoding device according to the twenty-seventh or thirty-fourth aspect, the frequency transform of the inverse transform means is a discrete cosine transform, a Fourier transform, a discrete sine transform, a subband transform. Alternatively, it is a wavelet transform.

【0087】また、請求項35の発明によれば、請求項
27、30に記載の画像復号装置において、前記係数補
間手段で行われる係数補間は、周波数係数と画素値に関
する線形の連立方程式を解くこと、周波数係数と画素値
に関する線形の連立方程式に対して事前に求められた逆
行列の演算、または間引き画像に対するローパスフィル
タ処理もしくはその近似処理であることを特徴とする。
According to a thirty-fifth aspect of the present invention, in the image decoding apparatus according to the twenty-seventh or thirty-seventh aspect, the coefficient interpolation performed by the coefficient interpolation means solves a linear simultaneous equation relating to a frequency coefficient and a pixel value. In addition, it is an operation of an inverse matrix obtained in advance for a linear simultaneous equation relating to a frequency coefficient and a pixel value, or a low-pass filter process on a thinned image or an approximation thereof.

【0088】また、請求項36の発明によれば、画像符
号化復号装置おいて、画像を入力する画像入力手段と、
前記画像入力手段により入力された画像の周波数成分を
求める周波数変換を行う周波数変換手段と、前記周波数
変換手段により求められた周波数成分を閾値処理する閾
値処理手段と、前記閾値処理手段により閾値処理された
結果に応じて前記周波数変換手段により求められた周波
数成分のうち高域周波数成分を0で置き換える高域係数
マスク手段と、前記高域係数マスク手段により高域周波
数成分を0で置き換えた周波数成分を画像に変換する逆
周波数変換を行う第1の逆変換手段と、前記閾値処理手
段により閾値処理された結果に応じて、前記第1の逆変
換手段により変換された画像に対して所定の間引き処理
を行う画素間引き手段と、前記閾値処理手段により閾値
処理された結果を出力する係数情報出力手段と、前記画
素間引き手段により間引き処理された画像を出力する間
引き画像出力手段前記係数情報出力手段により出力され
た閾値処理された結果である係数情報を入力する係数情
報入力手段と、前記間引き画像出力手段により出力され
た間引き画像を入力する間引き画像入力手段と、前記間
引き画像入力手段により入力された間引き画像と前記係
数情報入力手段により入力された係数情報に応じて、所
定の手法で周波数成分を算出する係数補間手段と、前記
係数補間手段により算出された周波数成分を画像に変換
する逆周波数変換を行う第2の逆変換手段と、前記第2
の逆変換手段により変換された画像を出力する復号画像
出力手段を具備することを特徴とする。
According to a thirty-sixth aspect of the present invention, in the image encoding / decoding device, an image input means for inputting an image,
A frequency conversion unit for performing frequency conversion for obtaining a frequency component of the image input by the image input unit; a threshold processing unit for performing threshold processing on the frequency component obtained by the frequency conversion unit; High frequency coefficient masking means for replacing high frequency components with 0 among the frequency components obtained by the frequency converting means according to the result, and frequency components for replacing high frequency components with 0 by the high frequency coefficient masking means. A first inverse transform unit for performing an inverse frequency transform for converting the image into an image, and a predetermined thinning-out process for the image transformed by the first inverse transform unit in accordance with a result of threshold processing by the threshold process unit Pixel thinning means for performing processing, coefficient information output means for outputting a result of threshold processing by the threshold processing means, and pixel thinning means A thinned image output means for outputting a thinned image; coefficient information input means for inputting coefficient information which is a result of threshold processing output by the coefficient information output means; and a thinned image output by the thinned image output means. A thinned image inputting means for inputting, a coefficient interpolating means for calculating a frequency component by a predetermined method according to a thinned image input by the thinned image inputting means and coefficient information input by the coefficient information inputting means, A second inverse transform unit for performing an inverse frequency transform for transforming the frequency component calculated by the coefficient interpolation unit into an image;
And a decoded image output means for outputting an image converted by the inverse conversion means.

【0089】この構成においては、画像を最適な解像度
で表現することにより、冗長成分を抑圧し符号量を削減
する。最適な解像度を求めるために周波数分析を行い、
この分析結果に基づいて画素の間引き処理を行ってい
る。そして、周波数分析に応じて適応的に間引きを行っ
て圧縮した画像データを復号することができる。
In this configuration, the image is represented at the optimum resolution, thereby suppressing the redundant component and reducing the code amount. Perform frequency analysis to find the optimal resolution,
Pixel thinning processing is performed based on the analysis result. Then, it is possible to decode the image data compressed by adaptively thinning out according to the frequency analysis.

【0090】また、請求項37の発明によれば、画像符
号方法において、画像を入力するステップ1と、前記ス
テップ1により入力された画像の周波数成分を求める周
波数変換を行うステップ2と、前記ステップ2により求
められた周波数成分を閾値処理するステップ3と、前記
ステップ3により閾値処理された結果に応じて前記ステ
ップ2により求められた周波数成分のうち高域周波数成
分を0で置き換えるステップ4と、前記ステップ4によ
り高域周波数成分を0で置き換えた周波数成分を画像に
変換する逆周波数変換を行うステップ5と、前記ステッ
プ3により閾値処理された結果に応じて、前記ステップ
5により変換された画像に対して所定の間引き処理を行
うステップ6と、前記ステップ3により閾値処理された
結果を出力するステップ7と、前記ステップ6により間
引き処理された画像を出力するステップ8を具備するこ
とを特徴とする。
According to a thirty-seventh aspect of the present invention, in the image coding method, step 1 for inputting an image, step 2 for performing frequency conversion for obtaining a frequency component of the image input in step 1; Step 3 of performing threshold processing on the frequency component obtained in Step 2; and Step 4 of replacing a high-frequency component in the frequency component obtained in Step 2 with 0 according to the result of the threshold processing in Step 3; A step 5 of performing an inverse frequency conversion for converting a frequency component obtained by replacing the high frequency component with 0 in the step 4 into an image, and an image converted in the step 5 according to the result of the threshold processing in the step 3 Step 6 for performing a predetermined thinning process on the image data, and a step for outputting the result of the threshold processing in Step 3 above. And-up 7, characterized in that it comprises a step 8 which outputs the image thinning process in the step 6.

【0091】この構成においても、画像を最適な解像度
で表現することにより、冗長成分を抑圧し符号量を削減
することができる。
Also in this configuration, by expressing an image at an optimum resolution, it is possible to suppress a redundant component and reduce the code amount.

【0092】また、請求項38の発明によれば、画像復
号方法において、係数情報を入力するステップ1と、間
引き画像を入力するステップ2と、前記ステップ2によ
り入力された間引き画像と前記ステップ1により入力さ
れた係数情報に応じて、所定の手法で周波数成分を算出
するステップ3と、前記ステップ3により貸出された周
波数成分を画像に変換する逆周波数変換を行うステップ
4と、前記ステップ4により変換された画像を出力する
ステップ5を具備することを特徴とする。
According to a thirty-eighth aspect of the present invention, in the image decoding method, a step 1 for inputting coefficient information, a step 2 for inputting a thinned image, the thinned image input in step 2 and the step 1 Step 3 of calculating a frequency component by a predetermined method in accordance with the coefficient information input by Step 3, Step 4 of performing an inverse frequency conversion of converting the frequency component lent by Step 3 into an image, and Step 4 The method comprises the step of outputting a converted image.

【0093】この構成においても、周波数分析に応じて
適応的に間引きを行って圧縮した画像データを復号する
ことができる。
Also in this configuration, it is possible to adaptively thin out in accordance with the frequency analysis and decode the compressed image data.

【0094】また本発明はマルチプレーン画像の符号化
に適用できる。
The present invention can be applied to encoding of a multi-plane image.

【0095】[0095]

【発明の実施の形態】以下、本発明の実施例について説
明する。まず、DCTを用いた第1の実施例を説明し、
つぎにDCT以外の周波数変換手法を用いた第2の実施
例を説明する。最後に、本発明を画像処理に応用した例
を第3の実施例として説明する。
Embodiments of the present invention will be described below. First, a first embodiment using DCT will be described.
Next, a second embodiment using a frequency conversion method other than DCT will be described. Finally, an example in which the present invention is applied to image processing will be described as a third embodiment.

【0096】[実施例1]本発明の第1の実施例の具体
的な説明の前に、本発明の基本的な考え方について述べ
る。デジタル画像のデータ量は解像度と画素あたりのビ
ット数によって決まる。そして画像フォーマットは解像
度、ビット数いずれも定数で固定するのが一般的であ
る。
[Embodiment 1] Prior to a specific description of the first embodiment of the present invention, a basic concept of the present invention will be described. The data amount of a digital image is determined by the resolution and the number of bits per pixel. In general, both the resolution and the number of bits of the image format are fixed by constants.

【0097】しかし画像の情報量は局所的に変化する。
例えば画素値の変化が全くないところでは最高解像度の
必要はないし、ビット数も制限できる。これはすなわ
ち、固定の画像フォーマットは冗長な情報を含むことを
意味する。
However, the information amount of the image locally changes.
For example, where there is no change in pixel value, the highest resolution is not required, and the number of bits can be limited. This means that the fixed image format contains redundant information.

【0098】特に自然画像についてはデジタル変換する
機器の周波数特性や解像度によって、その画像の最高解
像度が制限される。例えば解像度sのスキャナで入力し
たデジタル画像を解像度2sの画像フォーマットで管理
する場合、本来意味のある画素はs2/(2s)2=1/
4に過ぎない。この現象は出力機器の高解像度化や画像
の拡大処理等で顕著になる。
In particular, the maximum resolution of a natural image is limited by the frequency characteristics and resolution of the device for digital conversion. For example, when a digital image input by a scanner having a resolution of s is managed in an image format having a resolution of 2 s, originally significant pixels are s 2 / (2s) 2 = 1 /
Only four. This phenomenon becomes conspicuous when the resolution of an output device is increased or when an image is enlarged.

【0099】そこで画像を最適な解像度で表現すること
を考える。デジタル画像で必要な解像度はその画像が持
つ最高周波数に依存する。例えば解像度のピッチpは、
その画像が持つ最高周波数の周期Tの半分の長さT/2
より短くできない。これを逆に考えれば、その解像度が
許す最高周波数まで使っていない画像は冗長な画素を含
んでいるといえる。そのような冗長な画素は間引いて
も、最高周波数さえわかっていれば後で周辺画素から補
間することが可能である。
Therefore, the expression of an image at an optimum resolution will be considered. The resolution required for a digital image depends on the highest frequency of the image. For example, the resolution pitch p is
Half the length T / 2 of the cycle T of the highest frequency of the image
Can't be shorter. Considering this conversely, it can be said that an image that is not used up to the highest frequency allowed by the resolution contains redundant pixels. Even if such redundant pixels are decimated, it is possible to interpolate later from peripheral pixels as long as the highest frequency is known.

【0100】以上の原理に基づき、本発明は画像を最適
な解像度で表現することにより、冗長成分を抑圧し符号
量を削減する。上述の最適な解像度への解像度変換は画
素の間引き処理によって実現する。また最適な解像度を
求めるための分析処理は周波数分析によって行う。符号
化復号処理は間引いた画像に対して行う。
Based on the above principle, the present invention suppresses a redundant component and reduces a code amount by expressing an image at an optimum resolution. The resolution conversion to the above-described optimum resolution is realized by a pixel thinning process. The analysis for obtaining the optimum resolution is performed by frequency analysis. The encoding / decoding process is performed on the thinned image.

【0101】式で表すと以上で示した本発明の原理は次
のようにかける。いま符号化しようとする画像の周波数
成分v(f)がある周波数fsより上では全て0になる
とする。
The above-described principle of the present invention expressed by the following formula is applied as follows. And now all it becomes zero above the frequency f s which is the frequency component v (f) of the image to be coded.

【0102】[0102]

【数4】 周波数fsは周波数分析によって求めることができる。
一方、画像フォーマットのピッチをpとすると表現可能
な最高周波数fmaxは前述の通り次のようになる。
(Equation 4) The frequency fs can be obtained by frequency analysis.
On the other hand, assuming that the pitch of the image format is p, the maximum frequency f max that can be expressed is as follows as described above.

【0103】[0103]

【数5】 当然fs≦fmaxである。さてfsを表現するのに必要な
解像度のピッチpsは(6)式同様、次式で求められ
る。
(Equation 5) Of course, f s ≦ f max . Now, the pitch p s of the resolution required to express f s is obtained by the following equation, as in the equation (6).

【0104】[0104]

【数6】 このときfs≦fmaxであるからp≧psとなる。このピ
ッチpsこそ本発明でいうところの最適な解像度を示し
ている。
(Equation 6) In this case consists of a f s ≦ f max and p ≧ p s. This pitch p s indicates the optimum resolution in the present invention.

【0105】本発明の効果は定性的には次のように説明
される。入力が人工画像の場合は図31からもわかるよ
うに高域成分に情報が多く含まれるのでほとんどの画素
は間引けない。しかし第2の従来例の説明で述べたよう
に予測符号化等で十分可逆圧縮できるため、間引けなく
ても問題ない。また入力が自然画像の場合は第1の従来
例で述べたように高域成分はある程度量子化しても構わ
ない。従ってある程度小さい高域成分は無視してもよ
く、最高周波数を下げることができるから、結局必要な
解像度すなわち画素数も少なくてすむ。
The effect of the present invention is qualitatively described as follows. When the input is an artificial image, as can be seen from FIG. 31, since the high frequency component contains a lot of information, most pixels cannot be thinned. However, as described in the description of the second conventional example, since lossless compression can be sufficiently performed by predictive coding or the like, there is no problem even if thinning is not performed. When the input is a natural image, the high frequency component may be quantized to some extent as described in the first conventional example. Therefore, the high-frequency component which is small to some extent can be ignored, and the maximum frequency can be lowered, so that the required resolution, that is, the number of pixels can be reduced.

【0106】従来例の問題点を本発明の観点から述べる
と次のように表現できる。第1の従来例は画像が持つべ
き本来の解像度に無関係に周波数成分の量子化を行う。
上述したように周波数成分の量子化は高域についてみれ
ば小成分を無視する行為であるから、解像度を強制的に
低くすることに等しい。従って部分的に最大の解像度が
必要な人工画像に対して画質劣化を生じるか、量子化を
細かくして符号量が増加するかのいずれかとなる。
The problems of the conventional example can be expressed as follows from the viewpoint of the present invention. In the first conventional example, the quantization of the frequency component is performed irrespective of the original resolution that the image should have.
As described above, the quantization of frequency components is an act of ignoring small components in the high frequency range, and is equivalent to forcibly reducing the resolution. Therefore, the image quality is degraded for an artificial image that partially requires the maximum resolution, or the amount of code is increased by reducing the quantization.

【0107】一方、第2の従来例は自然画像について本
来必要のない高い解像度で符号化を行うため、符号量を
削減することができない。
On the other hand, in the second conventional example, encoding of a natural image is performed at a high resolution which is not originally required, so that the code amount cannot be reduced.

【0108】また、第3の従来例は非可逆符号化と可逆
符号化を、全く異なる空間である周波数空間と画素値空
間で別々に行うため課題で指摘したような歪みが発生す
る。この点、本発明は全ての画像を解像度という共通の
観点で処理するので、そのような歪みを生じない。
In the third conventional example, since the lossy encoding and the lossless encoding are performed separately in the frequency space and the pixel value space, which are completely different spaces, distortion as mentioned in the problem occurs. In this regard, since the present invention processes all images from a common viewpoint of resolution, such distortion does not occur.

【0109】本発明の概略構成は以下のようになる。本
発明は可逆の予測符号化を基本とし、量子化が必要な自
然画像についてはその前段で画素を間引くことにより非
可逆化を実現する。画素の間引き処理は周波数分析と量
子化により、与えられた画像が最適な解像度であるかど
うかを判定しつつ行う。一方、人工画像については間引
き処理が無効なので、量子化を厳しく行い可逆符号化に
不要な画素のみを間引く。
The schematic configuration of the present invention is as follows. The present invention is based on lossless predictive encoding, and realizes irreversible loss of a natural image that requires quantization by thinning out pixels in the preceding stage. The pixel thinning process is performed while judging whether or not a given image has an optimum resolution by frequency analysis and quantization. On the other hand, since the thinning-out processing is invalid for the artificial image, the quantization is strictly performed and only the pixels unnecessary for the lossless encoding are thinned out.

【0110】次に本実施例の動作原理を具体的に説明す
る。本実施例では簡易な周波数分析としてDCTを用い
る。DCTとその逆変換は前掲の(1)、(2)式で表
される。すなわち、DCT係数y(u,v)は画素値x
(m,n)の線形和であり、8×8のDCTであれば6
4個の式を書き並べることによって1つのDCT処理が
表現される。
Next, the operation principle of this embodiment will be specifically described. In this embodiment, DCT is used for simple frequency analysis. The DCT and its inverse transform are represented by the above-mentioned equations (1) and (2). That is, the DCT coefficient y (u, v) is calculated based on the pixel value x
It is a linear sum of (m, n), and 6 for an 8 × 8 DCT.
One DCT process is expressed by writing and arranging four expressions.

【0111】ここでDCT係数はブロック内の周波数成
分に相当する。従ってあるブロックが高域成分を持たな
いことを式で表現すると、いまu、v方向の最高周波数
をそれぞれfu、fvとすれば(8)式のようになる(た
だし0≦fu、fv≦7)。
Here, the DCT coefficient corresponds to a frequency component in the block. Therefore, if the expression that a certain block does not have a high-frequency component is expressed by an expression, if the highest frequencies in the u and v directions are f u and f v , respectively, the expression (8) is obtained (where 0 ≦ fu , f v ≦ 7).

【0112】[0112]

【数7】 さて(8)式を満たすDCT係数y(u,v)は(64
−(fu+1)×(fv+1))個あるので、8×8DC
Tの64個の式のうち(64−(fu+1)×(fv
1))個の式は左辺が0になる。これはDCT処理を、
引数が画素値で未知数がDCT係数である線形連立方程
式と考えれば、未知数が64個から(fu+1)×(fv
+1)個に減ることに相当する。すなわち(64−(f
u+1)×(fv+1))個の式が冗長となるから、引数
となる画素値のうち(64−(fu+1)×(fv
1))個は式の操作によって除去できる。結局(fu
1)×(fv+1)個の画素値さえわかっていれば、D
CT処理という連立方程式を解くことにより後から64
個のDCT係数、ひいては画素値を再構成することが可
能であることがわかる。
(Equation 7) Now, the DCT coefficient y (u, v) satisfying the expression (8) is (64)
- (f u +1) × ( f v +1)) because the pieces there, 8 × 8DC
Of the 64 formula of T (64- (f u +1) × (f v +
1)) expressions have 0 on the left side. This is a DCT process,
Considering a linear system of equations in which the arguments are pixel values and the unknowns are DCT coefficients, the number of unknowns is 64 ( fu + 1) × (f v
+1). That is, (64− (f
Since u + 1) × ( fv + 1)) expressions become redundant, (64− ( fu + 1) × ( fv +
1)) can be removed by the operation of the equation. Eventually ( fu +
1) If only the pixel values of × (f v +1) are known, D
Solving a simultaneous equation called CT processing gives 64
It can be seen that it is possible to reconstruct the number of DCT coefficients and thus the pixel values.

【0113】ただしここでは計算精度は考慮していな
い。また簡単のため64個の連立式として説明したが、
2次元DCTの性質から2次元独立の8個の連立式の組
合せと考えて処理してもよい。また以上の事実は8×8
以外のDCTでも、定数以外は何ら違いがない。
However, the calculation accuracy is not considered here. Also, for simplicity, the explanation was made as 64 simultaneous expressions,
The processing may be considered as a combination of eight simultaneous two-dimensional independent formulas from the property of the two-dimensional DCT. The above fact is 8 × 8
There is no difference between DCTs other than the constant except for the constant.

【0114】以上の理論により8×8ブロックのうちn
y個の画素が間引けるわけだが、間引き方に制限が加わ
る。2次元DCTは1次元DCTの組合せで行われるた
め、最終的に(fu+1)×(fv+1)個の画素が残る
ように間引かれなければならない。ただし2次元独立で
例えばu方向の補間を先に行うような構成であれば、u
方向の補間が終わった時にv方向に(fv+1)個の画
素が残るようになっていればよい。このとき画素の間隔
に制限はないが、画素値は整数精度しか持てないため、
空間的に近い画素を残すと補間される画素値精度が低下
することがある。
According to the above theory, n out of 8 × 8 blocks
Although y pixels can be thinned out, there is a restriction on the way of thinning out. Since two-dimensional DCT is performed by a combination of one-dimensional DCT, it must be thinned out so that finally ( fu + 1) * ( fv + 1) pixels remain. However, if the configuration is such that interpolation in the u-direction is performed first two-dimensionally independently, u
What is necessary is that (f v +1) pixels remain in the v direction when the interpolation of the direction is completed. At this time, the pixel interval is not limited, but since the pixel value can have only integer precision,
If a spatially close pixel is left, the accuracy of the interpolated pixel value may decrease.

【0115】簡単のため8画素の1次元DCTの例を用
いて、以上の論理を式で示す。まず1次元DCTの変換
式は(1)式から容易に(9)式が導ける。
For simplicity, the above logic is expressed by an equation using an example of a one-dimensional DCT of eight pixels. First, the equation (9) can be easily derived from the equation (1) for the transform equation of the one-dimensional DCT.

【0116】[0116]

【数8】 (9)式は単なる積和の形になっているから行列表現で
きる。cosの項をd(u,m)と表現すれば(10)
式を得る。
(Equation 8) Equation (9) can be expressed as a matrix because it is simply a sum of products. If the term of cos is expressed as d (u, m), (10)
Get the expression.

【0117】[0117]

【数9】 ここでfu=2とすればy(u)=0 (u>2)だか
ら、(10)式は
(Equation 9) Here, if f u = 2, y (u) = 0 (u> 2).

【0118】[0118]

【数10】 となる。(11)式の下側の5つの式は左辺が0で固定
されるので、これを上側の3つの式に代入することで右
辺の変数が消去できる。例えばx(3)からx(7)を
消去すれば、結局(12)式を得る。
(Equation 10) Becomes Since the left side of the lower five equations of the equation (11) is fixed to 0, the variables on the right side can be deleted by substituting the lower three equations into the upper three equations. For example, if x (7) is deleted from x (3), Equation (12) is eventually obtained.

【0119】[0119]

【数11】 (12)式からx(0)、x(1)、x(2)の3つの
画素値がわかればy(0)、y(1)、y(2)が求め
られる。y(3)からy(7)は0であることがわかっ
ているから、後は(9)式の逆変換によってx(3)か
らx(7)が補間できる。(11)式で消去する変数の
選び方に制限はないので、(12)式の右辺に選ばれる
画素値は個数さえ合えばどのような組合せでもよい。た
だし前述のように間隔を広くとったほうが補間の精度が
良い、といった性質はある。
[Equation 11] If three pixel values x (0), x (1), and x (2) are known from equation (12), y (0), y (1), and y (2) can be obtained. Since it is known that y (3) to y (7) are 0, x (3) to x (7) can be interpolated by the inverse transformation of equation (9). There is no restriction on how to select the variable to be deleted in the equation (11), so that the pixel values selected on the right side of the equation (12) may be any combination as long as the number is the same. However, as described above, there is a property that the wider the interval, the better the accuracy of interpolation.

【0120】間引き方の例を図5に示す。同図a)は明
らかに上述の条件を満たす。同図b)はまずu方向の補
間を行い、次にv方向の補間を行うことで復号が可能で
ある。同図c)d)はいずれも制限を満たさない。
FIG. 5 shows an example of a thinning method. FIG. 4a clearly satisfies the above-mentioned condition. In FIG. 3B, decoding can be performed by first performing interpolation in the u direction and then performing interpolation in the v direction. FIGS. C) and d) do not satisfy the restrictions.

【0121】間引き方の拡張について述べる。以上では
簡単のために(8)式に基づいた間引きについて説明し
た。実際、(8)式は本実施例の始めに説明した本発明
の概念をよく表現している。しかし本実施例においては
補間処理は連立方程式に帰着できるから、(8)式を拡
張することができる。すなわちfu以下であってもその
成分がv成分によらず0となる周波数fsuが存在する
場合、周波数fsuに関する8つの式は連立方程式から
削除できる。従ってu方向に残す画素数はfu個に減ら
せる。fsuは複数であってもよい。またv方向につい
ても同じように考えられる。
An extension of the thinning method will be described. In the above, the thinning-out based on the expression (8) has been described for simplicity. In fact, equation (8) expresses well the concept of the present invention described at the beginning of this embodiment. However, in the present embodiment, since the interpolation processing can be reduced to simultaneous equations, the equation (8) can be extended. That is, when the frequency fs u even less f u is 0 regardless of the component v component is present, eight equations for frequency fs u can remove from the simultaneous equations. Therefore, the number of pixels left in the u direction can be reduced to f u . fs u may be a plurality. The same applies to the v direction.

【0122】また以上ではfu、fvに独立に基づいた間
引き処理を行ったが、両軸ともfu、fvのいずれか高い
方の周波数に合わせてもよい。これにより間引ける画素
数は減少するが、間引くパターンも減少するので係数分
析処理や補間処理等の処理を単純化できる。もちろん画
質劣化を許容すればfu、fvの平均値や最低値等の値で
もよい。あるいはfu、fvの値を例えば0、1、3、7
のいずれか、といったふうに適当に量子化しても同様の
効果を得る。
In the above description , the thinning process is performed independently based on f u and f v , but both axes may be set to the higher frequency of f u or f v . This reduces the number of pixels that can be thinned out, but also reduces the number of patterns to be thinned out, so that processes such as coefficient analysis processing and interpolation processing can be simplified. Of course, values such as the average value and the minimum value of f u and f v may be used as long as image quality degradation is allowed. Alternatively, the values of f u and f v are, for example, 0, 1, 3, 7
The same effect can be obtained even if quantization is performed appropriately, such as

【0123】ちなみに(8)式はu、v方向の最高周波
数に依存して書かれるので、有効な周波数成分のエリア
はDCT係数ブロック上では長方形を形成する。これは
2次元DCTが1次元DCTの組合せによって実現され
ることに起因する。もし、2次元の変換基底が互いに完
全に独立であれば長方形以外の自由形状に拡張すること
ができる。例えば周波数成分上で左上三角成分だけ残す
ように制限してもよい。この場合、間引き方の制限もな
くなる。
Incidentally, since the expression (8) is written depending on the highest frequency in the u and v directions, the area of the effective frequency component forms a rectangle on the DCT coefficient block. This is because the two-dimensional DCT is realized by a combination of the one-dimensional DCT. If the two-dimensional transform bases are completely independent of each other, they can be extended to free shapes other than rectangles. For example, the upper left triangular component may be limited to remain on the frequency component. In this case, there is no restriction on the method of thinning.

【0124】DCT係数の量子化について述べる。JP
EG−DCT方式の説明で述べたように周波数変換符号
化では、高域成分を粗く量子化することにより画質の劣
化を抑えたまま符号量を削減できる。本実施例において
も例えば図37の量子化テーブルを用いた量子化処理の
適用が可能である。量子化により0になる周波数成分が
増えるが、上で述べた原理はほぼそのまま適用できる。
The quantization of DCT coefficients will be described. JP
As described in the description of the EG-DCT method, in the frequency transform coding, by coarsely quantizing the high frequency component, the code amount can be reduced while suppressing the deterioration of the image quality. Also in the present embodiment, for example, a quantization process using the quantization table of FIG. 37 can be applied. Although the frequency components that become 0 by quantization increase, the principle described above can be applied almost as it is.

【0125】そこで量子化の具体的な適用手順について
述べる。本発明では周波数変換は画像の分析だけに用
い、実際の量子化は画素の間引きで実現する。従って周
波数成分の量子化は厳密には絶対値に対する閾値処理で
実現される。すなわち、各周波数成分を対応する量子化
ステップと比較し、より小さければその周波数成分を0
とする処理を行う。量子化テーブルが適切に設定されて
いれば、閾値処理された係数データを逆DCT処理する
ことにより画質劣化がなく、かつ高域成分が制限された
画像を得ることができる。これ以降は上で述べた原理を
そのまま適用すればよい。まとめると次の手順になる。 [係数データを量子化する場合のアルゴリズム] ステップ1:DCT処理を行う。 ステップ2:係数データを閾値処理し、量子化ステップ
より小さい成分は0とする。このときの最高周波数成分
をfu、fvとする。 ステップ3:逆DCT処理を行う。 ステップ4:ステップ2で求めたfu、fvに基づいて間
引き処理を行う。画像が残っていればステップ1へ。
A specific procedure for applying quantization will now be described. In the present invention, the frequency conversion is used only for analyzing the image, and the actual quantization is realized by thinning out the pixels. Therefore, the quantization of the frequency component is strictly realized by threshold processing for the absolute value. That is, each frequency component is compared with the corresponding quantization step, and if it is smaller, the frequency component is set to 0.
Is performed. If the quantization table is appropriately set, by performing inverse DCT processing on the coefficient data subjected to the threshold processing, it is possible to obtain an image with no image quality degradation and with limited high-frequency components. From then on, the principle described above may be applied as it is. The next step is to summarize. [Algorithm when Quantizing Coefficient Data] Step 1: DCT processing is performed. Step 2: The coefficient data is subjected to threshold processing, and components smaller than the quantization step are set to 0. The highest frequency component of this time is f u, f v. Step 3: Perform inverse DCT processing. Step 4: A thinning process is performed based on f u and f v obtained in step 2. If any images remain, go to step 1.

【0126】さてステップ2ではfu、fv以下の周波数
でもたまたま0に閾値処理される成分が発生する。この
アルゴリズムではステップ4の間引き処理はステップ2
で求まるfu、fvに基づくから、このような成分は無理
に0にしなくても間引き/補間処理ともに処理量は変わ
らない。したがってステップ2とステップ3の間に次の
ような処理が入ってもよい。
In step 2, a component which happens to be thresholded to zero occurs at a frequency lower than f u and f v . In this algorithm, the thinning process in step 4 is performed in step 2
Since these components are based on f u and f v obtained by the above equation, the processing amount does not change in both the thinning / interpolation processing even if such components are not forcibly set to 0. Therefore, the following processing may be inserted between step 2 and step 3.

【0127】ステップ2.5:fu、fv以下の周波数成
分で0に閾値処理されたものがあれば、閾値処理前のデ
ータに戻す。
Step 2.5: If any of the frequency components equal to or less than f u and f v have been thresholded to 0, the data is restored to the data before the threshold processing.

【0128】さて本発明では後段に予測符号化等の圧縮
手段を想定している。以上で述べた原理によって後段に
送出する画素数を削減することができるので、本発明の
副次的な効果として後段の処理軽減が可能である。これ
は後段で色変換、拡縮、回転、クリッピング等の画像処
理を行う場合でも有効なので、本発明を画像処理のアク
セラレータとして応用することもできる。
In the present invention, compression means such as predictive coding is assumed at the subsequent stage. Since the number of pixels to be sent to the subsequent stage can be reduced according to the principle described above, the processing at the subsequent stage can be reduced as a secondary effect of the present invention. This is effective even when image processing such as color conversion, enlargement / reduction, rotation, and clipping is performed in the subsequent stage, so that the present invention can also be applied as an accelerator for image processing.

【0129】以上で原理については説明したので、本実
施例の具体的な説明に移る。以下、上述した後段部分を
除き、自然画像に対する画素間引き処理を行う部分につ
いて説明する。
Now that the principle has been described, a specific description of the present embodiment will be given. Hereinafter, a portion that performs a pixel thinning process on a natural image, excluding the above-described subsequent portion, will be described.

【0130】図1および図2は本発明の第1の実施例を
示すブロック図である。図中、図33および図34と同
様の部分には同一の符号を付して説明を省略する。図1
および図2において、30は係数分析部、40は係数分
析出力部、50は高域係数マスク部、60は逆DCT
部、70は画素間引き部、80は間引き画像出力部、1
30は係数分析データ、140は低域係数データ、15
0は低域画像データ、160は間引き画像データ、21
0は間引き画像入力部、220は係数分析入力部、23
0は係数補間部、310は補間係数データである。
FIGS. 1 and 2 are block diagrams showing a first embodiment of the present invention. In the figure, the same parts as those in FIGS. 33 and 34 are denoted by the same reference numerals, and description thereof will be omitted. FIG.
2 and FIG. 2, reference numeral 30 denotes a coefficient analysis unit, 40 denotes a coefficient analysis output unit, 50 denotes a high-frequency coefficient mask unit, and 60 denotes an inverse DCT.
Unit, 70 is a pixel thinning unit, 80 is a thinned image output unit, 1
30 is coefficient analysis data, 140 is low frequency coefficient data, 15
0 is low-frequency image data, 160 is thinned image data, 21
0 is a thinned image input unit, 220 is a coefficient analysis input unit, 23
0 is a coefficient interpolation unit, and 310 is interpolation coefficient data.

【0131】図1および図2の各部について説明する。
図1の符号化装置は以下の構成よりなる。係数分析部3
0は予め定められた定数と係数データ120の比較を行
い、その比較結果を係数分析データ130として係数分
析出力部40、高域係数マスク部50および画素間引き
部70のそれぞれへ送出する。係数分析出力部40は係
数分析データ130を外部へ出力する。高域係数マスク
部50は係数分析データ130に基づき係数データ12
0の高域係数の一部を0で置き換え、低域係数データ1
40として逆DCT部60へ送出する。逆DCT部60
は低域係数データ140に対してDCT部20で行われ
たDCT処理の逆変換にあたる逆DCT処理を行い、低
域画像データ150として画素間引き部70へ送出す
る。画素間引き部70は予め設定された間引き方法と係
数分析データ130に基づき低域画像データ150に対
して間引き処理を行い、間引き画像データ160として
間引き画像出力部80へ送出する。間引き画像出力部8
0は間引き画像データ160を外部へ送出する。
Each part in FIGS. 1 and 2 will be described.
The encoding device of FIG. 1 has the following configuration. Coefficient analysis unit 3
0 compares the coefficient data 120 with a predetermined constant, and sends the result of the comparison to the coefficient analysis output unit 40, the high-frequency coefficient mask unit 50, and the pixel thinning unit 70 as coefficient analysis data 130. The coefficient analysis output unit 40 outputs the coefficient analysis data 130 to the outside. The high-frequency coefficient masking section 50 stores coefficient data 12 based on the coefficient analysis data 130.
Part of the high-frequency coefficient of 0 is replaced with 0, and the low-frequency coefficient data 1
As 40, it is transmitted to the inverse DCT unit 60. Inverse DCT unit 60
Performs inverse DCT processing corresponding to the inverse transform of the DCT processing performed by the DCT section 20 on the low-frequency coefficient data 140, and sends the result to the pixel thinning section 70 as low-frequency image data 150. The pixel thinning section 70 performs thinning processing on the low-frequency image data 150 based on a preset thinning method and coefficient analysis data 130, and outputs the thinned image data 160 to the thinned image output section 80. Thinned image output unit 8
0 sends out the thinned image data 160 to the outside.

【0132】次に図2の復号装置は以下の構成よりな
る。間引き画像入力部210は外部より間引き画像の入
力を行い、間引き画像データ160として係数補間部2
30へ送出する。係数分析入力部220は外部より係数
分析データの入力を行い、係数分析データ130として
係数補間部230へ送出する。係数補間部230は係数
分析データ130に基づいて間引き画像データ160に
対してDCT係数の補間処理を施し、その結果を補間係
数データ310として逆DCT部240へ送出する。逆
DCT部240は補間係数データ310に逆DCT処理
を施し、復号画像データ320として復号画像出力部2
50へ送出する。
Next, the decoding apparatus of FIG. 2 has the following configuration. The thinned image input unit 210 inputs a thinned image from the outside and outputs the thinned image data 160 to the coefficient interpolation unit 2.
30. The coefficient analysis input unit 220 inputs coefficient analysis data from the outside, and sends it to the coefficient interpolation unit 230 as coefficient analysis data 130. The coefficient interpolation unit 230 performs interpolation processing of DCT coefficients on the thinned image data 160 based on the coefficient analysis data 130, and sends the result to the inverse DCT unit 240 as interpolation coefficient data 310. The inverse DCT unit 240 performs an inverse DCT process on the interpolation coefficient data 310 and outputs the decoded image data 320 as decoded image data 320.
Send to 50.

【0133】以上の構成に基づいて第1の実施例の動作
について説明する。図3および図4は本発明の第1の実
施例の動作を示すフローチャートである。
The operation of the first embodiment will be described based on the above configuration. FIGS. 3 and 4 are flowcharts showing the operation of the first embodiment of the present invention.

【0134】まず図3を用いて本実施例の符号化手順に
ついて説明する。S10では画像入力部10において外
部より画像の入力を行い、入力画像データ110を得
る。S20ではDCT部20においてDCT処理を行
い、係数データ120を得る。S30では係数分析部3
0において係数データ120と予め定められた定数との
比較を行い、その結果を係数分析データ130として得
る。S40では高域係数マスク部50において係数分析
データ130に基づき係数データ120の高域成分の一
部を0で置き換え、低域係数データ140とする。S5
0では逆DCT部60において低域係数データ140に
逆DCT処理を行い、低域画像データ150を得る。S
60では画素間引き部70において係数分析データ13
0に基づいて画素の間引き処理を行い、間引き画像デー
タ160を得る。S70では係数分析出力部40および
間引き画像出力部80において、それぞれ係数分析デー
タ130および間引き画像データ160を外部に出力す
る。S80ではS10で入力された入力画像データ11
0が全て処理されたかどうかを判断し、未処理データが
あればS10へ戻り、すべて処理されていれば符号化手
順を終了する。
First, the encoding procedure of this embodiment will be described with reference to FIG. In S10, an image is input from the outside in the image input unit 10, and input image data 110 is obtained. In S20, the DCT processing is performed in the DCT section 20 to obtain coefficient data 120. In S30, the coefficient analysis unit 3
At 0, the coefficient data 120 is compared with a predetermined constant, and the result is obtained as coefficient analysis data 130. In S40, a part of the high-frequency component of the coefficient data 120 is replaced with 0 based on the coefficient analysis data 130 in the high-frequency coefficient mask unit 50 to obtain low-frequency coefficient data 140. S5
If the value is 0, the inverse DCT unit 60 performs inverse DCT processing on the low-frequency coefficient data 140 to obtain low-frequency image data 150. S
At 60, the coefficient analysis data 13 at the pixel thinning unit 70
Pixel thinning processing is performed based on 0, and thinned image data 160 is obtained. In S70, the coefficient analysis output unit 40 and the thinned image output unit 80 output the coefficient analysis data 130 and the thinned image data 160, respectively, to the outside. In S80, the input image data 11 input in S10
It is determined whether all 0s have been processed. If there is unprocessed data, the process returns to S10, and if all 0s have been processed, the encoding procedure ends.

【0135】次に図4を用いて本実施例の復号手順につ
いて説明する。S110では間引き画像入力部210お
よび係数分析入力部220において、それぞれ間引き画
像データ160および係数分析データ130を外部より
入力する。S120では係数補間部230において間引
き画像データ160と係数分析データ130に基づいて
補間係数データ310を得る。S130では逆DCT部
240において補間係数データ310に逆DCT処理を
施し、復号画像データ320を得る。S140では復号
画像出力部250において復号画像データ320を外部
へ出力する。S150ではS110で入力された間引き
画像データ160および係数分析データ130が全て処
理されたかどうかを判断し、未処理データがあればS1
10へ戻り、すべて処理されていれば復号手順を終了す
る。
Next, the decoding procedure of this embodiment will be described with reference to FIG. In S110, the thinned image data 160 and the coefficient analysis data 130 are externally input to the thinned image input unit 210 and the coefficient analysis input unit 220, respectively. In S120, the coefficient interpolation unit 230 obtains interpolation coefficient data 310 based on the thinned image data 160 and the coefficient analysis data 130. In S130, the inverse DCT section 240 performs an inverse DCT process on the interpolation coefficient data 310 to obtain decoded image data 320. At S140, the decoded image output unit 250 outputs the decoded image data 320 to the outside. In S150, it is determined whether or not all of the thinned image data 160 and coefficient analysis data 130 input in S110 have been processed.
Returning to step 10, if all processes have been completed, the decoding procedure ends.

【0136】以上の動作中の係数分析処理について説明
する。係数分析処理はJPEG−DCT方式で用いる量
子化テーブルのように高域係数に対して粗い定数を使用
する。ただし前述したように量子化ではなく、単なる閾
値処理によってDCT係数の有効性を判断する。
The coefficient analysis processing during the above operation will be described. In the coefficient analysis processing, a coarse constant is used for a high-frequency coefficient like a quantization table used in the JPEG-DCT method. However, as described above, the validity of the DCT coefficient is determined not by quantization but by simple threshold processing.

【0137】JPEG−DCT方式の推奨テーブルを用
いた場合の係数分析処理の流れを図6を用いて説明す
る。同図a)はDCT処理で得られる係数データ120
の例である。これに対してJPEG−DCT方式の量子
化を行うと、同図b)の量子化係数データを得る。本実
施例では閾値処理を行うので、例えば有効係数を1、無
効係数を0で表すと同図c)のような係数分析データ1
30を得る。
The flow of the coefficient analysis process in the case where the recommended table of the JPEG-DCT system is used will be described with reference to FIG. FIG. 7A shows coefficient data 120 obtained by DCT processing.
This is an example. On the other hand, when the quantization of the JPEG-DCT method is performed, the quantized coefficient data of FIG. In this embodiment, threshold processing is performed. For example, if the effective coefficient is represented by 1 and the invalid coefficient is represented by 0, the coefficient analysis data 1 as shown in FIG.
Obtain 30.

【0138】本実施例の説明の始めに述べたように、間
引ける画素数はu、v各方向の最高周波数に応じて決ま
るから、この情報は同図d)としても必要な情報は失わ
れない。またフォーマットとしては(4,4)といった
ふうに略記してもよい。この係数分析データ130に基
づいて高域係数マスク部50で作成される低域係数デー
タ140は同図e)のようになる。
As described at the beginning of the description of the present embodiment, the number of pixels to be decimated is determined according to the maximum frequency in each of u and v directions. Absent. The format may be abbreviated as (4, 4). The low-frequency coefficient data 140 created by the high-frequency coefficient mask unit 50 based on the coefficient analysis data 130 is as shown in FIG.

【0139】また動作中、S120で係数補間部230
において行われる係数補間処理は、本実施例の説明の始
めに述べたように連立方程式を解くことによって行われ
る。なお選択される連立方程式は例えば8×8ブロック
で高々64通りの組合せしかないから、前もって逆行列
を求めておけば簡単に処理が可能である。
During operation, the coefficient interpolation unit 230 is executed at S120.
Is performed by solving simultaneous equations as described at the beginning of the description of this embodiment. Note that the simultaneous equations selected are, for example, at most 64 combinations of 8 × 8 blocks, and therefore, if the inverse matrix is obtained in advance, the processing can be easily performed.

【0140】また動作中、S70において出力される間
引き画像データ160が後段の符号化装置で符号化され
ることを前提としていることは既に述べたが、これと同
様に係数分析データ130が何らかの情報源符号化によ
って符号化されてもよい。
In operation, it has already been described that it is assumed that the thinned image data 160 output in S70 is encoded by the encoding device at the subsequent stage, but similarly, the coefficient analysis data 130 contains some information. It may be encoded by source encoding.

【0141】以上のように本実施例によれば、後段に可
逆符号化を用いることで、自然画像を効果的に非可逆符
号化することが可能である。人工画像を符号化する場合
には、図1の符号化装置の係数分析部30で行う閾値処
理に用いる量子化テーブルの値を全て0にすればよい。
これにより係数データの量子化が行われなくなるので、
計算誤差がなければ図1の符号化装置は可逆符号化装置
として動作する。もちろん人工画像が入力される際には
図1の構成をバイパスするようなデータパスを別に設け
ても構わない。
As described above, according to this embodiment, it is possible to effectively perform irreversible encoding on a natural image by using reversible encoding in the subsequent stage. When encoding an artificial image, all values of the quantization table used for the threshold processing performed by the coefficient analysis unit 30 of the encoding device in FIG.
As a result, the quantization of the coefficient data is not performed.
If there is no calculation error, the encoding device of FIG. 1 operates as a lossless encoding device. Of course, when an artificial image is input, a separate data path that bypasses the configuration of FIG. 1 may be provided.

【0142】また、図1の符号化装置の広域係数マスク
部50と逆DCT部60とにおける処理は、結局は画像
入力部10により入力された画像の高周波領域をカット
すること、すなわちローパスフィルタ処理と同じ処理と
なる。したがって、広域係数マスク部50と逆DCT部
60とをローパスフィルタとすることも可能である。
The processing performed by the wide area coefficient masking section 50 and the inverse DCT section 60 of the encoding apparatus shown in FIG. 1 is to cut off the high frequency region of the image input by the image input section 10, ie, to perform low-pass filter processing. Is the same processing as. Therefore, the wide area coefficient mask section 50 and the inverse DCT section 60 can be a low-pass filter.

【0143】[第1の拡張例]本実施例の拡張について
述べる。JPEG−DCT方式と本実施例を復号画像で
比較したときに異なる点として、JPEG−DCT方式
では全ての画素値が入力画像のそれと微妙に異なる可能
性があるのに対し、本実施例では間引かれなかった画素
はそのまま復号側に送られることがあげられる。一例と
してJPEG−DCT方式による復号画像と入力画像の
画素値の差分の絶対値の平均を、いくつかの自然画像に
ついてとった。これを係数データの分析結果で層別した
結果を図7に示す。横軸の係数分析結果は次式で算出し
た。
[First Extension Example] An extension of this embodiment will be described. The difference between the JPEG-DCT method and the present embodiment in the decoded image is that, in the JPEG-DCT method, all the pixel values may be slightly different from those of the input image. Pixels not subtracted are sent to the decoding side as they are. As an example, the average of the absolute values of the differences between the pixel values of the decoded image according to the JPEG-DCT method and the input image was obtained for some natural images. FIG. 7 shows the result of stratifying the result by the analysis result of the coefficient data. The result of coefficient analysis on the horizontal axis was calculated by the following equation.

【0144】[0144]

【数12】 前述の例では逆DCT処理した画像を復号画像としてそ
のまま出力するので、間引かれなかった画素でも計算誤
差等によって画素値がずれることがある。本実施例では
この復号画像を出力する前に、間引かれなかった画素を
改めて本来の画素値に戻してやることが可能である。こ
のような処理を入れておいた場合、再符号化した際に同
じように間引くことで全く同一の間引き画像が得られ
る。従って符号化復号を繰り返しても画質劣化が重なら
ない非可逆符号化を実現できる。これが本実施例の第1
の拡張例である。
(Equation 12) In the above-described example, since the image subjected to the inverse DCT processing is output as a decoded image as it is, even if the pixels are not thinned out, the pixel value may be shifted due to a calculation error or the like. In this embodiment, it is possible to return the pixels that have not been thinned back to the original pixel values before outputting the decoded image. When such processing is performed, the same thinned-out image can be obtained by thinning out in the same way when re-encoding. Therefore, irreversible encoding can be realized in which image quality degradation does not overlap even if encoding and decoding are repeated. This is the first of this embodiment.
This is an extension example of.

【0145】再符号化の際に最初の符号化と同じ画素を
間引くためには、係数情報データ130および間引き画
像データ160に間引き方の情報を含めればよい。図8
はそのようなデータ形式の例である。この例ではヘッダ
として間引き手法に関するデータを含めている。この間
引き手法データは図9のように係数情報データ130に
応じた間引き方を列挙したものでもよいし、単に予めつ
けたIDを示すようなものでもよい。もちろん間引き方
が係数情報データ130以外の条件に依存しない符号化
装置で符号化復号を繰り返す場合は、このような仕組み
は必要ない。
In order to thin out the same pixels as in the first encoding at the time of re-encoding, the coefficient information data 130 and the thinned-out image data 160 may include information on how to thin out. FIG.
Is an example of such a data format. In this example, data relating to the thinning method is included as a header. The decimation method data may be a list of decimation methods according to the coefficient information data 130 as shown in FIG. 9, or may simply indicate an ID given in advance. Of course, such a mechanism is not necessary when the encoding and decoding are repeated by an encoding device in which the decimation method does not depend on conditions other than the coefficient information data 130.

【0146】図10は本実施例の第1の拡張例における
復号装置の構成図である。図中、図1と同様の部分には
同一の符号を付して説明を省略する。241は画素値補
正部、321は補正復号画像データである。
FIG. 10 is a configuration diagram of a decoding device in a first extended example of the present embodiment. In the figure, the same parts as those in FIG. 1 are denoted by the same reference numerals, and description thereof will be omitted. Reference numeral 241 denotes a pixel value correction unit, and 321 denotes corrected decoded image data.

【0147】図10の各部について説明する。画素値補
正部241は復号画像データ320のうち、間引き画像
データ160によって与えられる画素については、間引
き画像データ160の画素値に置き換える。その結果を
補正復号画像データ321として復号画像出力部250
へ送出する。他の部分の説明と動作の説明は前述の説明
と大差ないため省略する。
Each part of FIG. 10 will be described. The pixel value correction unit 241 replaces the pixels provided by the thinned image data 160 in the decoded image data 320 with the pixel values of the thinned image data 160. The result is output to the decoded image output unit 250 as corrected decoded image data 321.
Send to The description of the other parts and the description of the operation are not greatly different from those described above, and will not be repeated.

【0148】[第2の拡張例]本実施例の拡張に戻る。
前出の図7で見たようにJPEG−DCT方式にならっ
て考えれば、本実施例の後段で予測符号化する際に画素
値を量子化してもそれほど画質に影響を与えないことが
期待される。ここで許される量子化は周波数成分に対し
て行う閾値処理に依存すると考えられるから、両者を連
携して制御すれば効率的な量子化が可能である。前出の
図7の例は図37a)の量子化テーブルで固定的に閾値
処理した結果だが、係数データの分析結果によって復号
誤差の絶対値の傾向が掴める。これを参考に画素値量子
化処理を行ってもよい。例えば誤差は一様分布で発生す
ると仮定して量子化ステップを誤差値の平均の2倍と見
積もれば、(14)式が分析タイプ毎に成立する。
[Second Extension Example] Returning to the extension of this embodiment.
Considering the JPEG-DCT method as seen in FIG. 7 described above, it is expected that the image quality will not be significantly affected even if the pixel value is quantized at the time of predictive encoding in the latter stage of the present embodiment. You. Since the quantization allowed here is considered to depend on the threshold processing performed on the frequency component, efficient quantization is possible by controlling both in cooperation. The example of FIG. 7 described above is a result of fixed threshold processing in the quantization table of FIG. 37 a), but the tendency of the absolute value of the decoding error can be grasped from the analysis result of the coefficient data. The pixel value quantization processing may be performed with reference to this. For example, assuming that the error occurs in a uniform distribution, if the quantization step is estimated to be twice the average of the error value, equation (14) holds for each analysis type.

【0149】[0149]

【数13】 (量子化ステップ)=(復号誤差絶対値平均)×2 (14) 誤差分布が例えば0を中心にした偏りがあるのであれ
ば、(14)式の2はもう少し小さい値でもよい。いず
れにしてもこの値は統計処理によって実験的に算出でき
る。もちろんもっと複雑な仮定をいれて(14)式を非
線形演算で算出してもよい。以上が本実施例の第2の拡
張例である。
(Quantization step) = (average of decoding error absolute value) × 2 (14) If the error distribution has a bias centered on, for example, 0, 2 in equation (14) may be a slightly smaller value. . In any case, this value can be calculated experimentally by statistical processing. Of course, the equation (14) may be calculated by a non-linear operation under a more complicated assumption. The above is the second extended example of the present embodiment.

【0150】図11は本実施例の第2の拡張例における
符号化装置の構成図である。図中、図1と同様の部分に
は同一の符号を付して説明を省略する。71は画素値量
子化部、161は量子化間引き画像データである。
FIG. 11 is a configuration diagram of an encoding device in a second extended example of the present embodiment. In the figure, the same parts as those in FIG. 1 are denoted by the same reference numerals, and description thereof will be omitted. 71 is a pixel value quantization unit, and 161 is quantization thinned image data.

【0151】図11の各部について説明する。画素値量
子化部71は係数分析部30で用いられる閾値と係数分
析データ130とに基づき、復号画像データ160に対
して予め定められた手法で画素値を量子化し、量子化復
号画像データ161として間引き画像出力部80へ送出
する。他の部分の説明と動作の説明は前述の説明と大差
ないため省略する。
Each part of FIG. 11 will be described. The pixel value quantization unit 71 quantizes the pixel value of the decoded image data 160 by a predetermined method based on the threshold value used in the coefficient analysis unit 30 and the coefficient analysis data 130, and generates the quantized decoded image data 161. The data is sent to the thinned image output unit 80. The description of the other parts and the description of the operation are not greatly different from those described above, and will not be repeated.

【0152】以上の例で、もちろん画素値量子化部71
における量子化が閾値や係数分析データ130に関連し
ない、固定的なものでも構わない。
In the above example, of course, the pixel value quantization unit 71
May be fixed and not related to the threshold value or the coefficient analysis data 130.

【0153】[第3の拡張例]本実施例の第3の拡張例
について述べる。係数分析処理に用いられる閾値を制御
することで非可逆符号化と可逆符号化のいずれも実行可
能であることはすでに述べた。以下、このような閾値制
御がダイナミックに行われる変形例を第3の拡張例とし
て述べる。
[Third Extended Example] A third extended example of this embodiment will be described. As described above, both lossy coding and lossless coding can be performed by controlling the threshold used in the coefficient analysis processing. Hereinafter, a modified example in which such threshold control is dynamically performed will be described as a third extended example.

【0154】図12は本実施例の第3の拡張例の構成図
である。図中、31は画像判定部、131は閾値制御デ
ータである。
FIG. 12 is a configuration diagram of a third extended example of the present embodiment. In the figure, 31 is an image determination unit, and 131 is threshold control data.

【0155】図12の各部について説明する。画像判定
部31は入力画像データ110に対して予め定められた
手法で画像の判定を行い、その結果を閾値制御データ1
31として係数分析部30へ送出する。他の部分の説明
と動作の説明は前述の説明と大差ないため省略する。
Each part in FIG. 12 will be described. The image determination unit 31 performs image determination on the input image data 110 by a predetermined method, and compares the result with the threshold control data 1.
It is sent to the coefficient analysis unit 30 as 31. The description of the other parts and the description of the operation are not greatly different from those described above, and will not be repeated.

【0156】画像判定部31は自然画像と人工画像の判
定を行う。具体的には画素値の分布の広がり方、下位ビ
ットのエントロピー、エッジの急峻さ等からノイズの有
無が推定されるので、これに基づいて判定を行う。図は
省略するが、外部から自然画像と人工画像の区別がサイ
ド情報として送られるような構成でもよい。この場合画
像判定部31はサイド情報から閾値制御データ131へ
の変換を行う。
The image judging section 31 judges a natural image and an artificial image. Specifically, since the presence or absence of noise is estimated from the spread of the pixel value distribution, the entropy of the lower bits, the sharpness of the edge, and the like, the determination is made based on this. Although illustration is omitted, a configuration in which a distinction between a natural image and an artificial image is sent from the outside as side information may be employed. In this case, the image determination unit 31 converts the side information into the threshold control data 131.

【0157】このような閾値制御は画像毎に行われるも
のでも、画像の局所毎に行われるものでもよい。また自
然画像と人工画像という区別にとらわれず、画像の局所
的な性質に基づいて制御されるものでもよい。例えば画
素値や周波数成分の分布、エッジの鋭さ、パターンの有
無、細線の有無、グラデーションの有無等が指標となり
得る。
Such threshold control may be performed for each image or may be performed for each local portion of the image. In addition, the control may be performed based on the local properties of the image, regardless of the distinction between the natural image and the artificial image. For example, the distribution of pixel values and frequency components, the sharpness of edges, the presence or absence of patterns, the presence or absence of thin lines, the presence or absence of gradation, and the like can be used as indices.

【0158】[第1の簡易化]次に本実施例の簡易化に
ついて述べる。図2の復号装置において係数補間部23
0と逆DCT部240の代わりに直接画素値を補間する
手段を設けてもよい。ここでいう画素値を補間する手段
というのは、画像処理で行われるような最近傍補間、4
点線形補間、9点2次補間など、画素値を補間するもの
であれば何でもよい。この場合、やはり本実施例の原理
が成立しないので画質劣化は避けられない。しかし原理
的には本実施例で行う係数補間処理はDCT係数上での
ローパスフィルタ的な効果があり、上で列挙した画素値
補間処理もまたローパスフィルタ的な効果があることか
ら、非常に簡単な近似とみなすことが可能である。以上
が本実施例の第1の簡易化例である。
[First Simplification] Next, the simplification of this embodiment will be described. In the decoding apparatus of FIG.
A means for directly interpolating pixel values may be provided instead of the 0 and inverse DCT section 240. The means for interpolating pixel values here is the nearest neighbor interpolation, such as performed in image processing,
Any method may be used as long as it interpolates pixel values, such as point linear interpolation and 9-point secondary interpolation. In this case, since the principle of the present embodiment does not hold, image quality degradation is inevitable. However, in principle, the coefficient interpolation processing performed in this embodiment has a low-pass filter effect on DCT coefficients, and the pixel value interpolation processing enumerated above also has a low-pass filter effect. It can be regarded as an approximate approximation. The above is the first simplified example of the present embodiment.

【0159】図13は本実施例の第1の簡易化例の構成
図である。図中、図2と同様の部分には同一の符号を付
して説明を省略する。231は画素値補間部である。
FIG. 13 is a configuration diagram of a first simplified example of the present embodiment. In the figure, the same parts as those in FIG. 2 are denoted by the same reference numerals, and description thereof will be omitted. 231 is a pixel value interpolation unit.

【0160】図13の各部について説明する。画素値補
間部231は間引き画像データ160に対して予め定め
られた手法で間引かれた画素を補間し、復号画像データ
320として復号画像出力部250へ送出する。他の部
分の説明と動作の説明は前述の説明と大差ないため省略
する。
The components in FIG. 13 will be described. The pixel value interpolating unit 231 interpolates the thinned-out image data 160 with the thinned-out pixels by a predetermined method, and outputs the thinned-out image data 160 to the decoded image output unit 250 as decoded image data 320. The description of the other parts and the description of the operation are not greatly different from those described above, and will not be repeated.

【0161】上述のように第1の簡易化例における画素
値補間はローパスフィルタの効果があるため、同数の画
素を間引いても選択する画素に依存して画質に差を生じ
る可能性がある。また制限を守れば画素選択はある程度
自由に行えることは既に述べた。そこで例えば残す画素
を選択する際にブロック内のピーク値を選択するように
調整すればブロックのダイナミックレンジを損なわずに
すむ。
As described above, since the pixel value interpolation in the first simplification example has the effect of a low-pass filter, even if the same number of pixels are thinned out, a difference in image quality may occur depending on the selected pixel. Also, as described above, the pixel selection can be freely performed to some extent if the restrictions are observed. Therefore, for example, when selecting a peak value in a block when selecting a pixel to be left, the dynamic range of the block is not impaired.

【0162】また画素値補間を行う場合は(8)式が成
立する必要はないので、折り返し歪みの問題を除けば間
引き処理の対象となる画像は高域を制限されていなくて
もよい。従って例えば図1の符号化装置において高域係
数マスク部50と逆DCT部60を設ける代わりに直接
入力画像データ110を画素間引き部70へ送出しても
よい。この場合、大幅に処理を簡易化することができ
る。この構成図を図14に示す。各部および動作の説明
は省略する。なお図1の係数分析部30で高域成分に対
していかなる量子化も行わない場合は、入力画像が既に
(8)式を満たす。従って画質や符号量への影響なくや
はり図14の構成で符号化装置が実現できる。
When pixel value interpolation is performed, equation (8) does not need to be satisfied. Therefore, except for the problem of aliasing distortion, the image to be subjected to the thinning processing need not be limited to a high frequency band. Therefore, for example, instead of providing the high-frequency coefficient mask unit 50 and the inverse DCT unit 60 in the encoding device of FIG. 1, the input image data 110 may be directly sent to the pixel thinning unit 70. In this case, the processing can be greatly simplified. This configuration is shown in FIG. Description of each part and operation is omitted. When no quantization is performed on the high-frequency component in the coefficient analysis unit 30 in FIG. 1, the input image already satisfies Expression (8). Therefore, the encoding apparatus can be realized with the configuration shown in FIG. 14 without affecting the image quality or the code amount.

【0163】さらに復号装置で画素値補間を行う場合で
も、符号化装置で復号画像をシミュレートすることが可
能である。従って図1の係数分析部30の代わりに画素
値補間された復号画像データ320をシミュレートし、
入力画像データ110との誤差を評価しつつ係数情報デ
ータ130を決定するような手段を設けてもよい。誤差
の評価はSN比でもよいし、誤差の最大値、分散、ダイ
ナミックレンジ等でもよい。この場合、係数情報データ
130は単に画素の間引き率を意味する。この場合周波
数分析を行わないので、明らかにDCT部20は省略で
きる。構成は類推が可能なので構成図以下の説明は省略
する。
Further, even when the pixel value interpolation is performed by the decoding device, it is possible to simulate the decoded image by the encoding device. Therefore, instead of the coefficient analysis unit 30 of FIG. 1, the decoded image data 320 in which the pixel value is interpolated is simulated,
Means may be provided for determining the coefficient information data 130 while evaluating an error with respect to the input image data 110. The evaluation of the error may be based on the SN ratio, the maximum value of the error, the variance, the dynamic range, or the like. In this case, the coefficient information data 130 simply means the pixel thinning rate. In this case, since the frequency analysis is not performed, the DCT section 20 can obviously be omitted. Since the configuration can be analogized, the description below the configuration diagram is omitted.

【0164】[第2の簡易化]次に入力として画像の代
わりにDCT係数を受け取る場合を考える。例えばJP
EG−DCT方式で符号化された画像を受け取る場合、
対応するエントロピー復号によって得られるデータは画
素値ではなくてDCT係数になる。このような場合は図
1の符号化装置の係数分析部30および高域係数マスク
部50に、DCT係数を直接入力すればよい。こうすれ
ばDCT部20とその処理を省略することができる。こ
れが本実施例の第2の簡易化例である。
[Second Simplification] Next, consider a case where a DCT coefficient is received as an input instead of an image. For example, JP
When receiving an image encoded by the EG-DCT method,
The data obtained by the corresponding entropy decoding is not a pixel value but a DCT coefficient. In such a case, the DCT coefficients may be directly input to the coefficient analysis unit 30 and the high-frequency coefficient mask unit 50 of the encoding device in FIG. By doing so, the DCT unit 20 and its processing can be omitted. This is a second simplified example of the present embodiment.

【0165】図15は本実施例の第2の簡易化例の構成
図である。図中、図1と同様の部分には同一の符号を付
して説明を省略する。11は符号入力部、21はエント
ロピー復号部、111は符号データである。
FIG. 15 is a configuration diagram of a second simplified example of the present embodiment. In the figure, the same parts as those in FIG. 1 are denoted by the same reference numerals, and description thereof will be omitted. 11 is a code input unit, 21 is an entropy decoding unit, and 111 is code data.

【0166】図15の各部について説明する。符号入力
部11は外部より符号を入力し、符号データ111とし
てエントロピー復号部21へ送出する。エントロピー復
号部21は符号データ111を復号し、係数データ12
0として係数分析部30および高域係数マスク部50へ
送出する。他の部分の説明と動作の説明は前述の説明と
大差ないため省略する。
Each part of FIG. 15 will be described. The code input unit 11 inputs a code from outside and sends it to the entropy decoding unit 21 as code data 111. The entropy decoding unit 21 decodes the code data 111 and outputs the coefficient data 12
The value is sent to the coefficient analysis unit 30 and the high-frequency coefficient mask unit 50 as 0. The description of the other parts and the description of the operation are not greatly different from those described above, and will not be repeated.

【0167】このようにDCT係数が入力となる場合に
は、すでにDCT係数に量子化がかかっている場合も想
定される。この場合エントロピー復号部21で逆量子化
処理を行う必要がある。
When a DCT coefficient is input as described above, it is assumed that the DCT coefficient has already been quantized. In this case, it is necessary for the entropy decoding unit 21 to perform an inverse quantization process.

【0168】さらに入力される符号の量子化ステップが
係数分析部30に予め定められた量子化ステップよりも
粗い場合、各部の処理が簡略化できる。ひとつは係数分
析部30における係数分析処理に関し、0でない係数が
閾値処理の結果0になることはないので、閾値処理でな
く単に周波数成分が0か0以外かを判断すればよい。ま
た同様の理由で高域係数マスク部50と逆DCT部60
で行われる処理は画像劣化なしに省略できる。図15の
復号装置はこのような場合に、上述の部分をバイパスで
きるような構成でも構わない。
Further, when the quantization step of the input code is coarser than the quantization step predetermined in the coefficient analysis section 30, the processing of each section can be simplified. One is related to the coefficient analysis processing in the coefficient analysis unit 30. Since a coefficient other than 0 does not become 0 as a result of the threshold processing, it is only necessary to judge whether the frequency component is 0 or other than 0 instead of the threshold processing. For the same reason, the high-frequency coefficient mask unit 50 and the inverse DCT unit 60
Can be omitted without image degradation. In such a case, the decoding device in FIG. 15 may have a configuration capable of bypassing the above-described portion.

【0169】[第3の簡易化]次に第3の簡易化例を説
明する。図1および図2の構成によれば係数分析データ
130と間引き画像データ160については独立に入出
力が行われるが、両方のデータをまとめてて入出力して
も構わない。これが第3の簡易化例である。
[Third Simplification] Next, a third simplification example will be described. According to the configurations of FIGS. 1 and 2, the coefficient analysis data 130 and the thinned image data 160 are input and output independently, but both data may be input and output collectively. This is a third simplified example.

【0170】図16は本実施例の第3の簡易化例の構成
図である。図中、図1と同様の部分には同一の符号を付
して説明を省略する。72はデータ合成部、81は合成
データ出力部、162は合成データである。
FIG. 16 is a configuration diagram of a third simplified example of the present embodiment. In the figure, the same parts as those in FIG. 1 are denoted by the same reference numerals, and description thereof will be omitted. 72 is a data synthesizing unit, 81 is a synthesized data output unit, and 162 is synthesized data.

【0171】図16の各部について説明する。データ合
成部72は係数分析データ130と間引き画像データ1
60を合成し、合成データ162として合成データ出力
部81へ送出する。合成データ出力部81は合成データ
162を外部へ出力する。他の部分の説明と動作の説明
は前述の説明と大差ないため省略する。また第3の簡易
化例の符号化装置に対応する復号装置に関しても類推が
容易なため説明を省略する。
The components in FIG. 16 will be described. The data synthesizing unit 72 includes the coefficient analysis data 130 and the thinned image data 1
60 are combined and sent to the combined data output unit 81 as combined data 162. The composite data output unit 81 outputs the composite data 162 to the outside. The description of the other parts and the description of the operation are not greatly different from those described above, and will not be repeated. Also, a description of the decoding device corresponding to the coding device of the third simplified example is omitted because it can be easily analogized.

【0172】データ合成部72で行われるデータ合成処
理について説明する。合成データ162は復号装置で係
数分析データ130と間引き画像データ160に分解で
きるように合成する必要がある。そのような例としては
図17のように単純に2つをまとめる方式や、図18の
ようにブロック毎にまとめる方式等、いくつかの例が考
えられる。もちろんこれ以外の単位でまとめてもよい。
The data synthesizing process performed by the data synthesizing section 72 will be described. The combined data 162 needs to be combined so that the decoding device can decompose it into the coefficient analysis data 130 and the thinned image data 160. As such an example, there are several examples such as a method of simply combining two as shown in FIG. 17 and a method of combining each block as shown in FIG. Of course, other units may be used.

【0173】[第4の簡易化]次に第4の簡易化例を説
明する。前もって入力画像の有効な周波数成分がわかっ
ているような場合には、外部から係数情報を指定しても
よい。これが第4の簡易化例である。
[Fourth Simplification] Next, a fourth simplification example will be described. If the effective frequency component of the input image is known in advance, coefficient information may be designated from outside. This is the fourth simplified example.

【0174】図19は本実施例の第4の簡易化例の構成
図である。図中、図1と同様の部分には同一の符号を付
し、各部および動作の説明は省略する。
FIG. 19 is a configuration diagram of a fourth simplified example of the present embodiment. In the figure, the same parts as those in FIG. 1 are denoted by the same reference numerals, and description of each part and operation is omitted.

【0175】このような構成をとると、例えば高域成分
が明らかにノイズだと分かっているような場合に、直接
0にする成分を指定できるので符号量が減少する。その
ような画像の例としては例えば低解像度のスキャナで入
力された後に拡大された自然画像があげられる。このよ
うな拡大画像は拡大によるぼけを抑制するために、エッ
ジ強調等の処理がかけられることがある。このような処
理によって生成される高周波成分はノイズとはいえな
い。しかし復号後に再現することも可能なので、本発明
でいうところの最適な解像度で再現する必要はない。一
方、第1の従来例ではこのような画像でも高域まで再現
するので、符号量が削減できない。この現象は出力機器
の解像度が向上するにつれ顕著になる。この様子を示す
のが図27である。
With such a configuration, for example, when it is known that the high frequency component is clearly noise, the component to be set to 0 can be directly specified, so that the code amount is reduced. An example of such an image is, for example, a natural image that has been input by a low-resolution scanner and then enlarged. Such an enlarged image may be subjected to processing such as edge enhancement in order to suppress blurring due to enlargement. The high-frequency components generated by such processing cannot be said to be noise. However, since reproduction can be performed after decoding, it is not necessary to reproduce at the optimum resolution according to the present invention. On the other hand, in the first conventional example, even such an image is reproduced up to a high frequency, so that the code amount cannot be reduced. This phenomenon becomes more pronounced as the resolution of the output device increases. FIG. 27 shows this state.

【0176】最後に本実施例の一形態に基づいて自然画
像と人工画像を符号化した実験結果例を図20に示す。
またある自然画像について本実施例の一形態と第1の従
来例に基づいて作成した復号画像と入力画像の差分画像
を図28および図29に示す。
Finally, FIG. 20 shows an example of an experimental result obtained by encoding a natural image and an artificial image based on one embodiment of the present embodiment.
FIGS. 28 and 29 show a difference image between a decoded image and an input image created based on one embodiment of the present embodiment and the first conventional example for a certain natural image.

【0177】[実施例2]本発明の基本的な発想は自然
画像においていわばオーバーサンプリングされていると
見なせる画素を間引き、画素空間上で非可逆の符号化処
理を実現することにある。この考え方はDCT以外の周
波数変換手法へも拡張することが可能である。以下、本
発明の第2の実施例として一般的な周波数変換手法を用
いた実施例について述べる。
[Embodiment 2] The basic idea of the present invention is to thin out the pixels which can be regarded as being oversampled in a natural image so as to realize irreversible encoding processing in a pixel space. This concept can be extended to frequency conversion methods other than DCT. Hereinafter, an embodiment using a general frequency conversion method will be described as a second embodiment of the present invention.

【0178】図21および図22はそれぞれ本発明の第
2の実施例の画像符号化装置、復号装置の構成図であ
る。図中、図1と同様の部分には同じ符号を付して説明
を省略する。22は周波数変換部、61は逆変換部、2
42は逆変換部である。
FIGS. 21 and 22 are block diagrams of an image coding apparatus and a decoding apparatus according to the second embodiment of the present invention, respectively. In the figure, the same parts as those in FIG. 22 is a frequency converter, 61 is an inverse converter, 2
Reference numeral 42 denotes an inverse conversion unit.

【0179】図21および図22の各部について説明す
る。周波数変換部22は何らかの手法で入力画像データ
110を周波数変換し、得られる周波数成分を係数デー
タ120として係数分析部30および高域係数マスク部
50へ送出する。逆変換部61および逆変換部242は
それぞれ係数データ140、310に対し、周波数変換
部22で行われる周波数変換の逆変換を施し、その結果
をそれぞれ低域画像データ150、復号画像データ32
0として出力する。他の部分の説明と動作の説明は本発
明の第1の実施例の説明と大差ないため省略する。
The components shown in FIGS. 21 and 22 will be described. The frequency conversion unit 22 converts the frequency of the input image data 110 by some method, and sends out the obtained frequency components as the coefficient data 120 to the coefficient analysis unit 30 and the high-frequency coefficient mask unit 50. The inverse transform unit 61 and the inverse transform unit 242 perform inverse transform of the frequency transform performed by the frequency transform unit 22 on the coefficient data 140 and 310, respectively, and output the results to the low-frequency image data 150 and the decoded image data 32, respectively.
Output as 0. The description of the other parts and the operation is not substantially different from the description of the first embodiment of the present invention, and will not be repeated.

【0180】以上の説明の中で、周波数変換処理は周波
数変換できるものであれば何でもよい。例えば高速フー
リエ変換、離散サイン変換、サブバンド分割等がこれに
あたる。
In the above description, the frequency conversion processing may be anything that can perform frequency conversion. For example, fast Fourier transform, discrete sine transform, subband division, and the like correspond to this.

【0181】係数補間部230における補間処理は使用
する周波数変換処理に依存する。第1の実施例ではDC
Tに対して線形連立方程式を解くことで補間が実現でき
ることを説明した。高速フーリエ変換で画像をブロック
化する場合や、離散サイン変換に対しては同様の手法が
応用できる。
The interpolation processing in the coefficient interpolation section 230 depends on the frequency conversion processing to be used. In the first embodiment, DC
It has been described that interpolation can be realized by solving a linear simultaneous equation for T. A similar method can be applied to a case where an image is divided into blocks by a fast Fourier transform or to a discrete sine transform.

【0182】サブバンド分割の場合は例えばバンド毎に
有効性を判定し、無効とみなしたバンドの成分を0とす
ることで高域係数をマスクできる。補間時は間引き画像
から低域バンドの成分を再構成し、高域バンドを0で補
えば係数補間が実現できる。
In the case of sub-band division, for example, the validity is determined for each band, and the high-frequency coefficient can be masked by setting the components of the band regarded as invalid to 0. At the time of interpolation, coefficient interpolation can be realized by reconstructing low band components from the thinned image and supplementing the high band with zero.

【0183】また全ての周波数変換手法にいえることだ
が、係数補間部230で行う補間を図13の構成のよう
に画素値補間で置き換えれば、簡易的にではあるが補間
処理が実現できる。
As can be said for all the frequency conversion methods, if the interpolation performed by the coefficient interpolation unit 230 is replaced by pixel value interpolation as in the configuration of FIG.

【0184】[実施例3]以上では本発明を画像符号化
装置、復号装置として説明してきたが、見方を変えるこ
とで一部の画像処理装置に応用することができる。以
下、本発明の第3の実施例として、マルチプレーン画像
を扱う画像符号化装置に本発明を応用した実施例につい
て述べる。 詳細の説明に入る前に、マルチプレーン画
像を定義する。ここでいうマルチプレーン画像とは、異
なる素材画像を重ね合わせてつくる画像で、それぞれの
素材画像を別個に扱っておいて出力時に1枚に重ね合わ
せるものを指す。ただし別個に扱うのは素材画像毎では
なくて、第3の従来例で述べたように自然画像と人工画
像といった画像種別に応じて分類してもよい。別個に扱
う素材画像、すなわちプレーンの個数はいくつでも構わ
ないが、以下の説明では簡単のために自然画像と人工画
像および切換情報の3プレーンからなるものとする。図
23はこのような画像の説明図である。
[Embodiment 3] Although the present invention has been described as an image coding apparatus and a decoding apparatus, the present invention can be applied to some image processing apparatuses by changing the viewpoint. Hereinafter, as a third embodiment of the present invention, an embodiment will be described in which the present invention is applied to an image coding apparatus that handles multi-plane images. Before going into the details, a multi-plane image is defined. Here, the multi-plane image is an image created by overlapping different material images, and refers to an image in which each material image is handled separately and is overlapped on one sheet at the time of output. However, they are not separately handled for each material image, but may be classified according to image types such as natural images and artificial images as described in the third conventional example. The number of material images to be treated separately, that is, the number of planes may be any. However, in the following description, for simplicity, it is assumed that the image is composed of three planes of a natural image, an artificial image, and switching information. FIG. 23 is an explanatory diagram of such an image.

【0185】図23では人工画像を自然画像に上書きし
て出力画像を得ている。ここで自然画像を符号化するこ
とを考えると、上書きされる部分は出力画像の生成には
必要ないので、この部分を符号化に都合の良い画素値に
置き換えてやれば圧縮率を向上することができる。図2
4はそのような画素値置換の説明図である。図24d)
に斜線でハッチングした部分が、画素値を置換できる部
分である。
In FIG. 23, an output image is obtained by overwriting a natural image with an artificial image. Considering the encoding of a natural image, the overwritten portion is not necessary for generating an output image, so if this portion is replaced with a pixel value that is convenient for encoding, the compression ratio can be improved. Can be. FIG.
FIG. 4 is an explanatory diagram of such pixel value replacement. (FIG. 24d)
The portions hatched with diagonal lines are the portions where the pixel values can be replaced.

【0186】しかし実際には周波数を使った符号化に都
合のよい画素値を求めるのは簡単ではない。画素値置換
で最も単純なのは、白または黒などの固定値で埋めてし
まう手法である。これだと処理は簡単だが、画素値置換
部分と元画像部分との境界でエッジが発生する可能性が
あり、周波数変換符号化では高圧縮率は望めない。これ
に対して置換に使う固定値を残った画素値の平均値など
で置き換えてやれば、エッジは発生しにくくなるが、最
適な画素値である保証はない。しかも平均値を求めなけ
ればならず、処理負荷が大きい。
However, actually, it is not easy to obtain a pixel value convenient for encoding using frequency. The simplest method of pixel value replacement is a method of filling with a fixed value such as white or black. With this, the processing is simple, but an edge may occur at the boundary between the pixel value replacement portion and the original image portion, and a high compression ratio cannot be expected in frequency conversion coding. On the other hand, if the fixed value used for the replacement is replaced with the average value of the remaining pixel values, an edge is less likely to occur, but there is no guarantee that the pixel value is the optimum. In addition, an average value must be obtained, and the processing load is large.

【0187】ところで図24d)をよく見ると、第1の
実施例および図5で説明した間引き方の条件を満たして
いることがわかる。そこでこれを間引き画像と考えて、
本発明の係数補間処理を応用して周波数変換することを
考える。本発明によれば間引き画像を表現する周波数成
分の組合せのうち、なるべく高域を0とするような組合
せを求めることができる。例えば前出のJPEG−DC
T方式の場合、低域から符号化していくので、高域を0
にするということは符号量を小さくすることと同義であ
る。しかも本発明の場合、置き換え部分の画素を埋める
必要がないので、付加的な処理も発生しない。これが本
実施例の基本アイディアである。
By carefully examining FIG. 24d), it can be seen that the conditions for the thinning method described in the first embodiment and FIG. 5 are satisfied. So we consider this a thinned image,
Consider frequency conversion by applying the coefficient interpolation processing of the present invention. According to the present invention, of the combinations of frequency components representing a thinned image, it is possible to obtain a combination that sets as high a frequency as possible to zero. For example, the aforementioned JPEG-DC
In the case of the T system, encoding is performed from the low band,
Is equivalent to reducing the code amount. In addition, in the case of the present invention, since it is not necessary to fill the pixels of the replacement part, no additional processing occurs. This is the basic idea of the present embodiment.

【0188】図25は本発明の第3の実施例の画像処理
装置の構成図である。図中、図1、29、42と同様の
部分には同一の符号を付して説明を省略する。17は切
換情報入力部、118は入力切換データである。
FIG. 25 is a block diagram of an image processing apparatus according to the third embodiment of the present invention. In the figure, the same parts as those in FIGS. 1, 29, and 42 are denoted by the same reference numerals, and description thereof will be omitted. Reference numeral 17 denotes a switching information input unit, and 118 denotes input switching data.

【0189】図25の各部について説明する。切換情報
入力部17は入力切換データ118を外部より入力し、
画素間引き部70へ送出する。画素間引き部70につい
ては説明を補足する。画素間引き部70は入力自然画像
データ113に対して、入力切換データ118が人工画
像を選択する部分に間引き処理を行い、間引き画像デー
タ160として出力する。
Each part in FIG. 25 will be described. The switching information input unit 17 inputs input switching data 118 from outside,
The data is sent to the pixel thinning unit 70. The description of the pixel thinning unit 70 will be supplemented. The pixel thinning section 70 performs thinning processing on the input natural image data 113 at the portion where the input switching data 118 selects the artificial image, and outputs the thinned image data 160.

【0190】動作については他の実施例などの説明から
類推が可能なので、説明を省略する。
Since the operation can be inferred from the description of the other embodiments and the like, the description is omitted.

【0191】画素間引き部70で行われる間引き処理は
本発明の第1の実施例で説明した、間引き方の条件を満
たすように間引く。この例を図26に示す。図26a)
のような切換情報が与えられたとき、図26b)のよう
な間引き方をすれば、本発明の係数補間処理を適用する
ことができる。人工画像を選択するにもかかわらず、画
素値を保存する画素が残るが、この部分は固定値や平均
値で置き換えてもよい。
The thinning-out process performed by the pixel thinning-out section 70 is performed so as to satisfy the thinning-out condition described in the first embodiment of the present invention. This example is shown in FIG. (FIG. 26a)
When such switching information is provided, the coefficient interpolation processing of the present invention can be applied by performing a thinning method as shown in FIG. Despite the selection of the artificial image, a pixel for storing the pixel value remains, but this part may be replaced with a fixed value or an average value.

【0192】なお、本実施例は第2の実施例と同様、D
CT以外の周波数変換へも容易に拡張可能である。ま
た、係数出力部45の後にエントロピー符号化を行うの
が普通だが、本発明の本質に影響しないのでここでは説
明を省略する。また、本実施例によって作成された符号
は、例えば第1の従来例で述べた復号器によって復号が
可能であるので、復号に関する説明は省略する。
This embodiment is similar to the second embodiment in that D
It can be easily extended to frequency conversion other than CT. Although it is common to perform entropy encoding after the coefficient output unit 45, the description is omitted here because it does not affect the essence of the present invention. Further, the code created by the present embodiment can be decoded by, for example, the decoder described in the first conventional example, so that the explanation on the decoding is omitted.

【0193】[0193]

【発明の効果】以上の説明から明らかなように本発明に
よれば自然画像、人工画像の区別なく、単一の装置で効
率的な符号化復号処理を実現できる。従って2つの符号
化方式を組み合せる場合に比較してページメモリを除去
できる等の効果がある。さらに、本発明の後段で画像処
理を行うことにより画像処理の高速化を実現できる。さ
らに、符号化/復号処理の繰り返して画質の劣化しない
符号化復号処理を実現できる。さらに、実際の高解像度
入力画像は一般的に低解像度の画像を拡大したものが多
い。このような場合、拡大前の実効解像度に対するのと
同様の符号量で符号化できる。さらに本発明をマルチプ
レーン画像の符号化処理に適用することにより、上書き
される画素を含む画像を効率的に符号化することができ
る。
As is apparent from the above description, according to the present invention, efficient encoding / decoding processing can be realized with a single device without distinction between natural images and artificial images. Therefore, there is an effect that the page memory can be removed as compared with the case where two encoding methods are combined. Further, by performing the image processing in a later stage of the present invention, the speed of the image processing can be increased. Further, it is possible to realize an encoding / decoding process in which image quality is not deteriorated by repeating the encoding / decoding process. Further, in many cases, an actual high-resolution input image is generally obtained by enlarging a low-resolution image. In such a case, encoding can be performed with the same code amount as for the effective resolution before enlargement. Further, by applying the present invention to the encoding processing of a multi-plane image, an image including pixels to be overwritten can be efficiently encoded.

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

【図1】 本発明の第1の実施例の画像符号化装置を示
す構成図である。
FIG. 1 is a configuration diagram illustrating an image encoding device according to a first embodiment of the present invention.

【図2】 本発明の第1の実施例の画像復号装置を示す
構成図である。
FIG. 2 is a configuration diagram illustrating an image decoding device according to a first embodiment of the present invention.

【図3】 本発明の第1の実施例の画像符号化装置の符
号化処理の動作の一例を示すフローチャートである。
FIG. 3 is a flowchart illustrating an example of an operation of an encoding process of the image encoding device according to the first embodiment of the present invention.

【図4】 本発明の第1の実施例の画像復号装置の復号
処理の動作の一例を示すフローチャートである。
FIG. 4 is a flowchart illustrating an example of an operation of a decoding process of the image decoding device according to the first embodiment of the present invention.

【図5】 本発明の第1の実施例における間引き処理の
説明図である。
FIG. 5 is an explanatory diagram of a thinning process according to the first embodiment of the present invention.

【図6】 本発明の第1の実施例における係数データの
処理の説明図である。
FIG. 6 is an explanatory diagram of processing of coefficient data in the first embodiment of the present invention.

【図7】 JPEG−DCT方式の復号画像における画
素値の誤差に関する説明図である。
FIG. 7 is an explanatory diagram regarding a pixel value error in a JPEG-DCT decoded image.

【図8】 再符号化の間引きのための情報を説明する図
である。
FIG. 8 is a diagram illustrating information for thinning out re-encoding.

【図9】 再符号化の間引きのための情報を説明する図
である。
FIG. 9 is a diagram illustrating information for thinning out re-encoding.

【図10】 本発明の第1の実施例における拡張例を示
す構成図である。
FIG. 10 is a configuration diagram showing an extended example in the first embodiment of the present invention.

【図11】 本発明の第1の実施例における拡張例を示
す構成図である。
FIG. 11 is a configuration diagram showing an extended example in the first embodiment of the present invention.

【図12】 本発明の第1の実施例における拡張例を示
す構成図である。
FIG. 12 is a configuration diagram showing an extended example in the first embodiment of the present invention.

【図13】 本発明の第1の実施例における簡易化例を
示す構成図である。
FIG. 13 is a configuration diagram showing a simplified example in the first embodiment of the present invention.

【図14】 本発明の第1の実施例における簡易化例を
示す構成図である。
FIG. 14 is a configuration diagram showing a simplified example in the first embodiment of the present invention.

【図15】 本発明の第1の実施例における簡易化例を
示す構成図である。
FIG. 15 is a configuration diagram showing a simplified example in the first embodiment of the present invention.

【図16】 本発明の第1の実施例における簡易化例を
示す構成図である。
FIG. 16 is a configuration diagram showing a simplified example in the first embodiment of the present invention.

【図17】 本発明の第1の実施例における簡易化例を
示す図である。
FIG. 17 is a diagram showing a simplified example in the first embodiment of the present invention.

【図18】 本発明の第1の実施例における簡易化例を
示す図である。
FIG. 18 is a diagram showing a simplified example in the first embodiment of the present invention.

【図19】 本発明の第1の実施例における簡易化例を
示す構成図である。
FIG. 19 is a configuration diagram showing a simplified example according to the first embodiment of the present invention.

【図20】 本発明の第1の実施例の実験結果例を示す
説明図である。
FIG. 20 is an explanatory diagram showing an example of an experimental result of the first example of the present invention.

【図21】 本発明の第2の実施例の画像符号化装置を
示す構成図である。
FIG. 21 is a configuration diagram illustrating an image encoding device according to a second embodiment of the present invention.

【図22】 本発明の第2の実施例の画像復号装置を示
す構成図である。
FIG. 22 is a configuration diagram illustrating an image decoding device according to a second embodiment of the present invention.

【図23】 本発明の第3の実施例のマルチプレーン画
像を説明する図である。
FIG. 23 is a diagram illustrating a multi-plane image according to the third embodiment of the present invention.

【図24】 本発明の第の実施例における画素値の置換
を説明する図である。
FIG. 24 is a diagram illustrating replacement of pixel values according to the second embodiment of the present invention.

【図25】 本発明の第3の実施例の画像処理装置を示
す構成図である。
FIG. 25 is a configuration diagram illustrating an image processing apparatus according to a third embodiment of the present invention.

【図26】 本発明の第3の実施例の動作を説明するで
ある。
FIG. 26 is a diagram for explaining the operation of the third embodiment of the present invention.

【図27】 第1の実施例と第1の従来例の符号量の比
較を模式的に示した説明図である。
FIG. 27 is an explanatory diagram schematically showing a comparison of a code amount between the first embodiment and the first conventional example.

【図28】 第1の実施例と第1の従来例の画質劣化の
比較を示した説明図である。
FIG. 28 is an explanatory diagram showing a comparison of image quality deterioration between the first embodiment and the first conventional example.

【図29】 第1の実施例と第1の従来例の画質劣化の
比較を示した説明図である。
FIG. 29 is an explanatory diagram showing a comparison of image quality degradation between the first embodiment and the first conventional example.

【図30】 画像の特性を示す実験例の説明図である。FIG. 30 is an explanatory diagram of an experimental example showing characteristics of an image.

【図31】 画像の特性を示す実験例の説明図である。FIG. 31 is an explanatory diagram of an experimental example showing characteristics of an image.

【図32】 画像の特性を示す実験例の説明図である。FIG. 32 is an explanatory diagram of an experimental example showing characteristics of an image.

【図33】 第1の従来例の画像符号化装置を示す構成
図である。
FIG. 33 is a configuration diagram illustrating a first conventional example of an image encoding device.

【図34】 第1の従来例の画像復号装置を示す構成図
である。
FIG. 34 is a configuration diagram illustrating a first conventional image decoding apparatus.

【図35】 第1の従来例における符号化処理の動作の
一例を示すフローチャートである。
FIG. 35 is a flowchart showing an example of an operation of an encoding process in the first conventional example.

【図36】 第1の従来例における復号処理の動作の一
例を示すフローチャートである。
FIG. 36 is a flowchart showing an example of the operation of the decoding process in the first conventional example.

【図37】 第1の従来例で使用する量子化テーブル例
の説明図である。
FIG. 37 is an explanatory diagram of an example of a quantization table used in the first conventional example.

【図38】 第2の従来例の画像符号化装置を示す構成
図である。
FIG. 38 is a configuration diagram illustrating a second conventional image coding apparatus.

【図39】 第2の従来例の画像復号装置を示す構成図
である。
FIG. 39 is a configuration diagram illustrating a second conventional image decoding apparatus.

【図40】 第2の従来例における符号化処理の動作の
一例を示すフローチャートである。
FIG. 40 is a flowchart showing an example of the operation of the encoding process in the second conventional example.

【図41】 第2の従来例における復号処理の動作の一
例を示すフローチャートである。
FIG. 41 is a flowchart showing an example of the operation of the decoding process in the second conventional example.

【図42】 第2の従来例で使用する予測器の説明図で
ある。
FIG. 42 is an explanatory diagram of a predictor used in the second conventional example.

【図43】 モスキートノイズの説明図である。FIG. 43 is an explanatory diagram of mosquito noise.

【図44】 第1の従来例による実験例の説明図であ
る。
FIG. 44 is an explanatory diagram of an experimental example according to the first conventional example.

【図45】 第2の従来例による実験例の説明図であ
る。
FIG. 45 is an explanatory diagram of an experimental example according to a second conventional example.

【図46】 第3の従来例を示す構成図である。FIG. 46 is a configuration diagram showing a third conventional example.

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

10 画像入力部 11 符号入力部 15 人工画像入力部 16 自然画像入力部 20 DCT部 21 エントロピー復号部 22 周波数変換部 25 予測部 30 係数分析部 31 画像判定部 35 係数量子化部 40 係数情報出力部 45 係数出力部 46 予測誤差出力部 50 高域係数マスク部 60 逆DCT部 61 逆変換部 70 画素間引き部 71 画素値量子化部 72 データ合成部 80 間引き画像出力部 81 合成データ出力部 90 人工画像符号化部 91 自然画像符号化部 92 人工画像記憶部 93 自然画像記憶部 94 人工画像復号部 95 自然画像復号部 96 画像合成部 110 入力画像データ 111 符号データ 112 入力人工画像データ 113 入力自然画像データ 114 人工画像符号データ 115 自然画像符号データ 116 復号人工画像データ 117 復号自然画像データ 120 係数データ 130 係数分析データ 131 閾値制御データ 140 低域係数データ 150 低域画像データ 160 間引き画像データ 161 量子化間引き画像データ 162 合成データ 170 量子化係数データ 171 予測誤差データ 210 間引き画像入力部 220 係数情報入力部 225 係数入力部 226 予測誤差入力部 230 係数補間部 231 画素値補間部 240 逆DCT部 241 画素値補正部 242 逆変換部 250 復号画像出力部 310 補間係数データ 320 復号画像データ 321 補正復号画像データ 330 逆量子化係数データ Reference Signs List 10 image input unit 11 code input unit 15 artificial image input unit 16 natural image input unit 20 DCT unit 21 entropy decoding unit 22 frequency conversion unit 25 prediction unit 30 coefficient analysis unit 31 image determination unit 35 coefficient quantization unit 40 coefficient information output unit 45 coefficient output unit 46 prediction error output unit 50 high frequency coefficient mask unit 60 inverse DCT unit 61 inverse transform unit 70 pixel thinning unit 71 pixel value quantization unit 72 data synthesis unit 80 thinned image output unit 81 synthesized data output unit 90 artificial image Encoding unit 91 Natural image encoding unit 92 Artificial image storage unit 93 Natural image storage unit 94 Artificial image decoding unit 95 Natural image decoding unit 96 Image synthesis unit 110 Input image data 111 Code data 112 Input artificial image data 113 Input natural image data 114 Artificial image code data 115 Natural image code data 116 No. artificial image data 117 decoded natural image data 120 coefficient data 130 coefficient analysis data 131 threshold control data 140 low band coefficient data 150 low band image data 160 thinned image data 161 quantized thinned image data 162 synthesized data 170 quantized coefficient data 171 prediction Error data 210 Thinned image input unit 220 Coefficient information input unit 225 Coefficient input unit 226 Prediction error input unit 230 Coefficient interpolation unit 231 Pixel value interpolation unit 240 Inverse DCT unit 241 Pixel value correction unit 242 Inverse transformation unit 250 Decoded image output unit 310 Interpolation Coefficient data 320 Decoded image data 321 Corrected decoded image data 330 Inverse quantization coefficient data

───────────────────────────────────────────────────── フロントページの続き (72)発明者 越 裕 神奈川県足柄上郡中井町境430 グリーン テクなかい 富士ゼロックス株式会社内 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Hiroshi Koshi 430, Nakai-cho, Ashigarakami-gun, Kanagawa Prefecture Green Tech Nakai Inside Fuji Xerox Co., Ltd.

Claims (44)

【特許請求の範囲】[Claims] 【請求項1】 画像を入力する画像入力手段と、 前記画像入力手段により入力された画像の周波数成分を
求める周波数変換を行う周波数変換手段と、 前記周波数変換手段により求められた周波数成分を閾値
処理する閾値処理手段と、 前記閾値処理手段により閾値処理された結果に応じて、
前記画像入力手段により入力された画像の低域周波数成
分の画像を出力する低域周波数画像出力手段と 、前記閾値処理手段により閾値処理された結果に応じ
て、前記低域周波数画像出力手段により出力された画像
に対して所定の間引き処理を行う画素間引き手段と、 前記閾値処理手段により閾値処理された結果を出力する
係数情報出力手段と、 前記画素間引き手段により間引き処理された画像を出力
する間引き画像出力手段とを具備することを特徴とする
画像符号化装置。
1. An image input unit for inputting an image, a frequency conversion unit for performing frequency conversion for obtaining a frequency component of an image input by the image input unit, and a threshold processing for the frequency component obtained by the frequency conversion unit Threshold processing means, and according to a result of threshold processing by the threshold processing means,
A low-frequency image output means for outputting an image of a low-frequency component of the image input by the image input means; and an output by the low-frequency image output means in accordance with a result of threshold processing by the threshold processing means Pixel thinning means for performing a predetermined thinning process on the processed image, coefficient information output means for outputting a result of threshold processing by the threshold processing means, and thinning for outputting an image thinned by the pixel thinning means An image encoding apparatus comprising: an image output unit.
【請求項2】 画像を入力する画像入力手段と、 前記画像入力手段により入力された画像の周波数成分を
求める周波数変換を行う周波数変換手段と、 前記周波数変換手段により求められた周波数成分を閾値
処理する閾値処理手段と、 前記閾値処理手段により閾値処理された結果に応じて前
記周波数変換手段により求められた周波数成分のうち高
域周波数成分を0で置き換える高域係数マスク手段と、 前記高域係数マスク手段により高域周波数成分を0で置
き換えた周波数成分を画像に変換する逆周波数変換を行
う逆変換手段と、 前記閾値処理手段により閾値処理された結果に応じて、
前記逆変換手段により変換された画像に対して所定の間
引き処理を行う画素間引き手段と、 前記閾値処理手段により閾値処理された結果を出力する
係数情報出力手段と、 前記画素間引き手段により間引き処理された画像を出力
する間引き画像出力手段とを具備することを特徴とする
画像符号化装置。
2. An image input unit for inputting an image, a frequency conversion unit for performing frequency conversion for obtaining a frequency component of the image input by the image input unit, and a threshold process for the frequency component obtained by the frequency conversion unit Threshold processing means for performing, threshold processing by the threshold processing means, high-frequency coefficient masking means for replacing high-frequency components among the frequency components obtained by the frequency conversion means with 0, the high-frequency coefficients An inverse transform unit that performs an inverse frequency transform for converting a frequency component obtained by replacing a high frequency component with 0 by a mask unit into an image, and according to a result of threshold processing performed by the threshold processing unit,
A pixel thinning unit that performs a predetermined thinning process on the image converted by the inverse conversion unit; a coefficient information output unit that outputs a result of the threshold processing by the threshold processing unit; and a thinning process performed by the pixel thinning unit. An image encoding apparatus comprising: a thinned image output unit that outputs a compressed image.
【請求項3】 画像を入力する画像入力手段と、 前記画像入力手段により入力された画像の周波数成分を
求める周波数変換を行う周波数変換手段と、 前記周波数変換手段により求められた周波数成分を閾値
処理する閾値処理手段と、 前記閾値処理手段により閾値処理された結果に応じて、
前記画像入力手段により入力された画像に対して所定の
間引き処理を行う画素間引き手段と、 前記閾値処理手段により閾値処理された結果を出力する
係数情報出力手段と、 前記画素間引き手段により間引き処理された画像を出力
する間引き画像出力手段とを具備することを特徴とする
画像符号化装置。
3. An image input unit for inputting an image, a frequency conversion unit for performing frequency conversion for obtaining a frequency component of the image input by the image input unit, and a threshold process for the frequency component obtained by the frequency conversion unit Threshold processing means, and according to a result of threshold processing by the threshold processing means,
A pixel thinning unit that performs a predetermined thinning process on the image input by the image input unit; a coefficient information output unit that outputs a result of the threshold processing by the threshold processing unit; and a thinning process that is performed by the pixel thinning unit. An image encoding apparatus comprising: a thinned image output unit that outputs a compressed image.
【請求項4】 画像を入力する画像入力手段と、 前記画像入力手段により入力された画像を、所定の間引
き処理及び所定の補間処理により疑似復号画像を生成す
る疑似復号画像生成手段と、 前記疑似復号画像生成手段により生成された疑似復号画
像と前記画像入力手段により入力された画像との誤差に
より間引き率を求める係数分析手段と、 前記係数分析手段により求められた間引き率に応じて、
前記画像入力手段により入力された画像に対して所定の
間引き処理を行う画素間引き手段と、 前記係数分析手段により求められた間引き率を出力する
係数情報出力手段と、 前記画素間引き手段により間引き処理された画像を出力
する間引き画像出力手段とを具備することを特徴とする
画像符号化装置。
4. An image input unit for inputting an image, a pseudo-decoded image generation unit for generating a pseudo-decoded image of the image input by the image input unit by a predetermined thinning process and a predetermined interpolation process, Coefficient analysis means for obtaining a thinning rate based on an error between the pseudo decoded image generated by the decoded image generation means and the image input by the image input means, and according to the thinning rate obtained by the coefficient analysis means,
A pixel thinning unit that performs a predetermined thinning process on the image input by the image input unit; a coefficient information output unit that outputs a thinning rate obtained by the coefficient analyzing unit; and a thinning process that is performed by the pixel thinning unit. An image encoding apparatus comprising: a thinned image output unit that outputs a compressed image.
【請求項5】 前記係数分析手段で用いられる誤差は、
画素値誤差、誤差の絶対値または誤差の二乗値のうちい
ずれかの最大値、あるいはダイナミックレンジ、分散ま
たはSN比のいずれかであることを特徴とする請求項4
に記載の画像符号化装置。
5. An error used in the coefficient analysis means,
5. The pixel value error, the maximum value of any one of the absolute value of the error and the square value of the error, or one of the dynamic range, the variance, and the S / N ratio.
An image encoding device according to claim 1.
【請求項6】 前記疑似復号画像生成手段の所定の補間
処理とは、最近傍補間、4点線形補間、9点2次補間ま
たはローパスフィルタ処理のいずれかであることを特徴
とする請求項4に記載の画像符号化装置。
6. The method according to claim 4, wherein the predetermined interpolation processing of the pseudo-decoded image generation means is one of nearest neighbor interpolation, four-point linear interpolation, nine-point secondary interpolation, and low-pass filter processing. An image encoding device according to claim 1.
【請求項7】 画像に対して周波数変換しエントロピー
符号化を行った符号を入力する符号入力手段と、 前記符号入力手段により入力された符号に対して該符号
に行われたエントロピー符号化の逆変換にあたる復号を
行うことにより周波数成分を得るエントロピー復号手段
と、 前記エントロピー復号手段で得られた周波数成分を閾値
処理する閾値処理手段と、 前記閾値処理手段により閾値処理された結果に応じて、
前記エントロピー復号手段で得られた周波数成分のうち
高域周波数成分を0で置き換える高域係数マスク手段
と、 前記高域係数マスク手段により高域周波数成分を0で置
き換えた周波数成分を画像に変換する逆周波数変換を行
う逆変換手段と、 前記閾値処理手段により閾値処理された結果に応じて、
前記逆変換手段により変換された画像に対して所定の間
引き処理を行う画素間引き手段と、 前記閾値処理手段により閾値処理された結果を出力する
係数情報出力手段と、 前記画素間引き手段により間引き処理された画像を出力
する間引き画像出力手段とを具備することを特徴とする
画像符号化装置。
7. A code input means for inputting a code obtained by performing frequency conversion and entropy coding on an image, and an inverse of entropy coding performed on the code input by the code input means. Entropy decoding means for obtaining a frequency component by performing decoding corresponding to the conversion, threshold processing means for performing threshold processing on the frequency component obtained by the entropy decoding means, according to the result of threshold processing by the threshold processing means,
High-frequency coefficient masking means for replacing high-frequency components of the frequency components obtained by the entropy decoding means with 0, and converting the frequency components in which the high-frequency components have been replaced with 0 by the high-frequency coefficient masking means into an image. Inverting means for performing an inverse frequency conversion, and according to the result of threshold processing by the threshold processing means,
A pixel thinning unit that performs a predetermined thinning process on the image converted by the inverse conversion unit; a coefficient information output unit that outputs a result of the threshold processing by the threshold processing unit; and a thinning process that is performed by the pixel thinning unit. An image encoding apparatus comprising: a thinned image output unit that outputs a compressed image.
【請求項8】 前記エントロピー復号手段の復号とは、
ハフマン符号化、算術符号化またはQM符号化のいずれ
かであることを特徴とする請求項7に記載の画像符号化
装置。
8. The decoding of the entropy decoding means includes:
The image encoding device according to claim 7, wherein the image encoding device is one of Huffman encoding, arithmetic encoding, and QM encoding.
【請求項9】 画像を入力する画像入力手段と、 前記画像入力手段により入力された画像の周波数成分を
求める周波数変換を行う周波数変換手段と、 前記周波数変換手段により求められた周波数成分を閾値
処理する閾値処理手段と、 前記閾値処理手段により閾値処理された結果に応じて、
前記周波数変換手段で得られた周波数成分のうち高域周
波数成分を0で置き換える高域係数マスク手段と、 前記高域係数マスク手段により高域周波数成分を0で置
き換えた周波数成分を画像に変換する逆周波数変換を行
う逆変換手段と、 前記閾値処理手段により閾値処理された結果に応じて、
前記逆変換手段により変換された画像に対して所定の間
引き処理を行う画素間引き手段と、 前記画素間引き手段で得られた間引き画像と前記閾値処
理手段により閾値処理された結果とを合成するデータ合
成手段と、 前記データ合成手段で合成された合成データを出力する
合成データ出力手段とを具備することを特徴とする画像
符号化装置。
9. An image input unit for inputting an image, a frequency conversion unit for performing frequency conversion for obtaining a frequency component of the image input by the image input unit, and a threshold process for the frequency component obtained by the frequency conversion unit Threshold processing means, and according to a result of threshold processing by the threshold processing means,
High-frequency coefficient masking means for replacing high-frequency components with 0 among the frequency components obtained by the frequency converting means, and converting the frequency components in which the high-frequency components have been replaced with 0 by the high-frequency coefficient masking means into an image. Inverting means for performing an inverse frequency conversion, and according to the result of threshold processing by the threshold processing means,
Pixel thinning means for performing a predetermined thinning process on the image converted by the inverse converting means; and data synthesis for synthesizing the thinned image obtained by the pixel thinning means and the result of threshold processing by the threshold processing means Means, and combined data output means for outputting combined data combined by the data combining means.
【請求項10】 画像を入力する画像入力手段と、 係数情報を入力する係数情報入力手段と、 前記画像入力手段により入力された画像の周波数成分を
求める周波数変換を行う周波数変換手段と、 前記係数情報入力手段により入力された係数情報に応じ
て、前記周波数変換手段により求められた周波数成分の
うち高域周波数成分を0で置き換える高域係数マスク手
段と、 前記高域係数マスク手段により高域周波数成分を0で置
き換えた周波数成分を画像に変換する逆周波数変換を行
う逆変換手段と、 前記係数情報入力手段により入力された係数情報に応じ
て、前記逆変換手段により変換された画像に対して所定
の間引き処理を行う画素間引き手段と、 前記係数情報入力手段により入力された係数情報を出力
する係数情報出力手段と、 前記画素間引き手段により間引き処理された画像を出力
する間引き画像出力手段とを具備することを特徴とする
画像符号化装置。
10. An image input unit for inputting an image, coefficient information input unit for inputting coefficient information, frequency conversion unit for performing frequency conversion for obtaining a frequency component of the image input by the image input unit, and the coefficient A high-frequency coefficient masking means for replacing high-frequency components among the frequency components obtained by the frequency converting means with 0 according to the coefficient information input by the information inputting means; and a high-frequency coefficient by the high-frequency coefficient masking means. An inverse transform unit for performing an inverse frequency transform for converting a frequency component in which the component is replaced with 0 into an image, and an image transformed by the inverse transform unit according to the coefficient information input by the coefficient information input unit. Pixel thinning means for performing a predetermined thinning process; coefficient information output means for outputting coefficient information input by the coefficient information input means; Image encoding device characterized by comprising a thinned image output means for outputting the thinned processed image by thinning means.
【請求項11】 さらに、前記間引き画像出力手段によ
り出力される間引き画像に対して画像符号化を行う画像
符号化手段を有することを特徴とする請求項1ないし8
または10に記載の画像符号化装置。
11. The image processing apparatus according to claim 1, further comprising image encoding means for performing image encoding on the thinned image output by said thinned image output means.
Or the image encoding device according to 10.
【請求項12】 前記画像符号化手段で行われる画像符
号化は、可逆符号化または予測符号化のいずれか若しく
は両方であることを特徴とする請求項11に記載の画像
符号化装置。
12. The image coding apparatus according to claim 11, wherein the image coding performed by said image coding means is one or both of lossless coding and predictive coding.
【請求項13】 さらに、前記係数情報出力手段により
出力される係数情報に対して情報源符号化を行う係数情
報符号化手段を有することを特徴とする請求項1ないし
8または10に記載の画像符号化装置。
13. The image according to claim 1, further comprising a coefficient information encoding unit that performs information source encoding on the coefficient information output by the coefficient information output unit. Encoding device.
【請求項14】 前記周波数変換手段および前記逆変換
手段で行われる周波数変換は、離散コサイン変換、フー
リエ変換、離散サイン変換、サブバンド変換またはウェ
ーブレット変換であることを特徴とする請求項2、9、
10に記載の画像符号化装置。
14. The frequency transform performed by the frequency transforming means and the inverse transforming means is a discrete cosine transform, a Fourier transform, a discrete sine transform, a sub-band transform, or a wavelet transform. ,
The image encoding device according to claim 10.
【請求項15】 前記閾値処理手段の閾値処理は、所定
の量子化テーブルを閾値とした閾値処理であることを特
徴とする請求項1ないし3、7ないし9に記載の画像符
号化装置。
15. The image coding apparatus according to claim 1, wherein the threshold processing of the threshold processing means is a threshold processing using a predetermined quantization table as a threshold.
【請求項16】 前記閾値処理手段で用いられる量子化
テーブルは、外部から設定できることを特徴とする請求
項15に記載の画像符号化装置。
16. The image coding apparatus according to claim 15, wherein the quantization table used by said threshold value processing means can be set externally.
【請求項17】 前記高域係数マスク手段は、前記閾値
処理手段により最高周波数成分より大きい成分を0に置
換することを特徴とする請求項2、7ないし10に記載
の画像符号化装置。
17. The image coding apparatus according to claim 2, wherein said high-frequency coefficient masking means replaces a component larger than a highest frequency component with 0 by said threshold value processing means.
【請求項18】 前記画素間引き手段の間引き処理は、
ブロック内の最高周波数成分若しくは0でない周波数成
分の分布から導かれる割合に応じて行われることを特徴
とする請求項1ないし17に記載の画像符号化装置。
18. The thinning-out processing of the pixel thinning-out means,
18. The image coding apparatus according to claim 1, wherein the coding is performed in accordance with a ratio derived from a distribution of a highest frequency component or a non-zero frequency component in the block.
【請求項19】 前記画素間引き手段で行われる間引き
処理の間引きの割合は、予め定められた所定の値に量子
化されることであることを特徴とする請求項1ないし1
8に記載の画像符号化装置。
19. The method according to claim 1, wherein the rate of thinning-out processing performed by said pixel thinning-out means is quantized to a predetermined value.
9. The image encoding device according to 8.
【請求項20】 前記画素間引き手段の所定の間引き処
理は、格子状に画素を残すこと、縦方向と横方向に同じ
割合で行うこと、残る画素がほぼ等間隔になるように行
うこと、周辺画素中のピーク値を優先的に残すことであ
ることを特徴とする請求項1ないし18に記載の画像符
号化装置。
20. The predetermined thinning-out processing of the pixel thinning-out means includes: leaving pixels in a grid, performing the same ratio in a vertical direction and a horizontal direction, performing the remaining pixels at substantially equal intervals, 19. The image encoding apparatus according to claim 1, wherein a peak value in a pixel is preferentially left.
【請求項21】 前記画素間引き手段の間引き処理は、
前記画像入力手段により入力された画像がすでに画像符
号化装置により符号化されたことがある場合には前回間
引かれた画素と同じ画素を間引くことであることを特徴
とする請求項1ないし20に記載の画像符号化装置。
21. The thinning-out processing of the pixel thinning means,
21. The method according to claim 1, wherein when an image input by said image input means has already been encoded by an image encoding device, the same pixel as the previously thinned pixel is eliminated. An image encoding device according to claim 1.
【請求項22】 さらに、前記画素間引き手段により間
引き処理された画像の画素値を量子化する画素値量子化
手段を有することを特徴とする請求項1ないし21に記
載の画像符号化装置。
22. The image coding apparatus according to claim 1, further comprising a pixel value quantizing means for quantizing a pixel value of the image thinned out by said pixel thinning means.
【請求項23】 前記画素値量子化手段は、前記閾値処
理手段により閾値処理された結果に応じて量子化ステッ
プを変更すること、または前記閾値処理手段で使用され
る閾値の大きさに応じて量子化ステップを変更すること
であることを特徴とする請求項22に記載の画像符号化
装置。
23. The pixel value quantization unit changes a quantization step according to a result of threshold processing by the threshold processing unit, or changes a quantization step according to a threshold value used by the threshold processing unit. 23. The image encoding apparatus according to claim 22, wherein a quantization step is changed.
【請求項24】 さらに、前記画像入力手段により入力
された画像に対して所定の分析を行い前記閾値処理手段
で使用する閾値を決定する画像判定手段を有することを
特徴とする請求項1ないし23に記載の画像符号化装
置。
24. An image processing apparatus according to claim 1, further comprising image determination means for performing a predetermined analysis on the image input by said image input means and determining a threshold value used by said threshold value processing means. An image encoding device according to claim 1.
【請求項25】 前記画像判定手段は、自然画像と人工
画像の違いを判定し、人工画像の場合は閾値を0として
前記閾値処理手段における閾値処理で0にされる周波数
成分が発生しないように制御することを特徴とする請求
項24に記載の画像符号化装置。
25. The image determining means determines a difference between a natural image and an artificial image, and sets a threshold value to 0 in the case of an artificial image so that a frequency component which is set to 0 in the threshold processing by the threshold processing means does not occur. The image encoding apparatus according to claim 24, wherein the apparatus performs control.
【請求項26】 前記画像判定手段の所定の分析処理
は、画素値のダイナミックレンジの測定、画素値のヒス
トグラムの測定、画素値の下位ビットのエントロピーの
測定、エッジの急峻さの測定、線の太さの測定、周波数
成分の測定、外部から指定されること、またはエッジ、
パターン、グラデーション、線のうち少なくとも1つ以
上の成分を検出することを特徴とする請求項24に記載
の画像符号化装置。
26. The predetermined analysis processing of the image determination means includes a measurement of a dynamic range of a pixel value, a measurement of a histogram of a pixel value, a measurement of entropy of a lower bit of a pixel value, a measurement of a steepness of an edge, and a measurement of a line. Measurement of thickness, measurement of frequency components, specified from outside, or edge,
The image encoding apparatus according to claim 24, wherein at least one component among a pattern, a gradation, and a line is detected.
【請求項27】 係数情報を入力する係数情報入力手段
と、 間引き画像を入力する間引き画像入力手段と、 前記間引き画像入力手段により入力された間引き画像と
前記係数情報入力手段により入力された係数情報に応じ
て、所定の手法で周波数成分を算出する係数補間手段
と、 前記係数補間手段により算出された周波数成分を画像に
変換する逆周波数変換を行う逆変換手段と、 前記逆変換手段により変換された画像を出力する復号画
像出力手段とを具備することを特徴とする画像復号装
置。
27. A coefficient information input means for inputting coefficient information, a thinned image input means for inputting a thinned image, a thinned image input by the thinned image input means, and coefficient information input by the coefficient information input means. According to the coefficient interpolation means for calculating a frequency component by a predetermined method, an inverse conversion means for performing an inverse frequency conversion for converting the frequency component calculated by the coefficient interpolation means to an image, And a decoded image output means for outputting a decoded image.
【請求項28】 画像の一定領域であるブロック毎の係
数情報を入力する係数情報入力手段と、 ブロック毎の間引き画像を入力する間引き画像入力手段
と、 前記間引き画像入力手段により入力された間引き画像と
前記係数情報入力手段により入力された係数情報とに応
じて所定の手法で画素値を補間する画素値補間手段と、 前記画素値補間手段により補間された画像を出力する復
号画像出力手段とを具備することを特徴とする画像復号
装置。
28. A coefficient information input means for inputting coefficient information for each block which is a fixed area of an image, a thinned image input means for inputting a thinned image for each block, and a thinned image input by the thinned image input means Pixel value interpolation means for interpolating pixel values by a predetermined method according to the coefficient information input by the coefficient information input means, and decoded image output means for outputting an image interpolated by the pixel value interpolation means. An image decoding device, comprising:
【請求項29】 前記画素値補間手段の所定の手法は、
最近傍補間、4点線形補間、9点2次補間、またはロー
パスフィルタ処理であることを特徴とする請求項28に
記載の画像復号装置。
29. The predetermined method of the pixel value interpolation means is as follows:
29. The image decoding apparatus according to claim 28, wherein the image decoding is one of nearest-neighbor interpolation, four-point linear interpolation, nine-point secondary interpolation, and low-pass filter processing.
【請求項30】 係数情報と間引き画像の合成されたデ
ータである合成データを入力する合成データ入力手段
と、 前記合成データ入力手段により入力された合成データを
間引き画像と係数情報に分解するデータ分解手段と、 前記データ分解手段により分解された間引き画像と係数
情報とに応じて、所定の手法で周波数成分を算出する係
数補間手段と、 前記係数補間手段により算出された周波数成分を画像に
変換する逆周波数変換する逆変換手段と、 前記逆変換手段により変換された画像を出力する復号画
像出力手段とを具備することを特徴とする画像復号装
置。
30. Synthesized data input means for inputting synthesized data which is data obtained by synthesizing coefficient information and a thinned image, and data decomposition for decomposing the synthesized data input by the synthesized data input means into a thinned image and coefficient information. Means, coefficient interpolating means for calculating a frequency component by a predetermined method in accordance with the thinned image decomposed by the data decomposing means and the coefficient information, and converting the frequency component calculated by the coefficient interpolating means into an image. An image decoding apparatus, comprising: an inverse transform unit for performing inverse frequency conversion; and a decoded image output unit for outputting an image converted by the inverse transform unit.
【請求項31】 さらに、間引き画像に対して画像符号
化した符号を、画像に復号する画像復号手段を有し、前
記間引き画像入力手段は、前記画像復号手段により復号
された画像を間引き画像として入力することを特徴とす
る請求項27ないし30に記載の画像復号装置。
31. An image decoding unit for decoding a code obtained by image-encoding a thinned image into an image, wherein the thinned image input unit uses the image decoded by the image decoding unit as a thinned image. 31. The image decoding device according to claim 27, wherein the image is inputted.
【請求項32】 前記画像復号手段で行われる復号は、
可逆符号化の逆処理、または予測符号化の逆処理である
ことを特徴とする請求項31に記載の画像復号装置。
32. The decoding performed by the image decoding means,
32. The image decoding apparatus according to claim 31, wherein the image decoding apparatus performs reverse processing of reversible coding or reverse processing of predictive coding.
【請求項33】 さらに、前記逆変換手段により変換さ
れた画像のうち前記間引き画像入力手段により入力され
た間引き画像に含まれる画素については、前記間引き画
像の画素値で置き換える画素値補正手段を有し、前記復
号画像出力手段は、前記画素値補正手段により補正され
た画像を出力することを特徴とする請求項27ないし3
2に記載の画像復号装置。
33. A pixel value correcting unit for replacing pixels included in the thinned image input by the thinned image input unit in the image converted by the inverse conversion unit with pixel values of the thinned image. The decoded image output means outputs an image corrected by the pixel value correction means.
3. The image decoding device according to 2.
【請求項34】 前記逆変換手段の周波数変換は、離散
コサイン変換、フーリエ変換、離散サイン変換、サブバ
ンド変換またはウェーブレット変換であることを特徴と
する請求項27、30に記載の画像復号装置。
34. The image decoding apparatus according to claim 27, wherein the frequency transform of the inverse transform means is a discrete cosine transform, a Fourier transform, a discrete sine transform, a subband transform, or a wavelet transform.
【請求項35】 前記係数補間手段で行われる係数補間
は、周波数係数と画素値に関する線形の連立方程式を解
くこと、周波数係数と画素値に関する線形の連立方程式
に対して事前に求められた逆行列の演算、または間引き
画像に対するローパスフィルタ処理もしくはその近似処
理であることを特徴とする請求項27、30に記載の画
像復号装置。
35. The coefficient interpolation performed by the coefficient interpolation means includes solving a linear simultaneous equation relating to a frequency coefficient and a pixel value, and an inverse matrix previously obtained for the linear simultaneous equation relating to a frequency coefficient and a pixel value. 31. The image decoding apparatus according to claim 27, wherein the calculation is a low-pass filter process on a thinned image or an approximation thereof.
【請求項36】 画像を入力する画像入力手段と、 前記画像入力手段により入力された画像の周波数成分を
求める周波数変換を行う周波数変換手段と、 前記周波数変換手段により求められた周波数成分を閾値
処理する閾値処理手段と、 前記閾値処理手段により閾値処理された結果に応じて前
記周波数変換手段により求められた周波数成分のうち高
域周波数成分を0で置き換える高域係数マスク手段と、 前記高域係数マスク手段により高域周波数成分を0で置
き換えた周波数成分を画像に変換する逆周波数変換を行
う第1の逆変換手段と、 前記閾値処理手段により閾値処理された結果に応じて、
前記第1の逆変換手段により変換された画像に対して所
定の間引き処理を行う画素間引き手段と、 前記閾値処理手段により閾値処理された結果を出力する
係数情報出力手段と、 前記画素間引き手段により間引き処理された画像を出力
する間引き画像出力手段前記係数情報出力手段により出
力された閾値処理された結果である係数情報を入力する
係数情報入力手段と、 前記間引き画像出力手段により出力された間引き画像を
入力する間引き画像入力手段と、 前記間引き画像入力手段により入力された間引き画像と
前記係数情報入力手段により入力された係数情報に応じ
て、所定の手法で周波数成分を算出する係数補間手段
と、 前記係数補間手段により算出された周波数成分を画像に
変換する逆周波数変換を行う第2の逆変換手段と、 前記第2の逆変換手段により変換された画像を出力する
復号画像出力手段とを具備することを特徴とする画像符
号化復号装置。
36. Image input means for inputting an image, frequency conversion means for performing frequency conversion for obtaining a frequency component of the image input by the image input means, and threshold processing of the frequency component obtained by the frequency conversion means Threshold processing means for performing, threshold processing by the threshold processing means, high-frequency coefficient masking means for replacing high-frequency components among the frequency components obtained by the frequency conversion means with 0, the high-frequency coefficients A first inverse transform unit that performs inverse frequency transform for converting a frequency component obtained by replacing a high frequency component with 0 by a mask unit into an image, and according to a result of the threshold process performed by the threshold process unit,
A pixel thinning unit that performs a predetermined thinning process on the image converted by the first inverse conversion unit; a coefficient information output unit that outputs a result of the threshold processing by the threshold processing unit; A thinned image output unit that outputs a thinned image; a coefficient information input unit that inputs coefficient information that is a result of threshold processing output by the coefficient information output unit; and a thinned image that is output by the thinned image output unit. A thinned image input means for inputting, a coefficient interpolation means for calculating a frequency component by a predetermined method according to a thinned image input by the thinned image input means and coefficient information input by the coefficient information input means, A second inverse transform unit that performs inverse frequency transform for transforming the frequency component calculated by the coefficient interpolation unit into an image; Picture coding and decoding apparatus, characterized by comprising a decoding image output means for outputting the converted image by the inverse transformation means.
【請求項37】 画像を入力するステップ1と、 前記ステップ1により入力された画像の周波数成分を求
める周波数変換を行うステップ2と、 前記ステップ2により求められた周波数成分を閾値処理
するステップ3と、 前記ステップ3により閾値処理された結果に応じて前記
ステップ2により求められた周波数成分のうち高域周波
数成分を0で置き換えるステップ4と、 前記ステップ4により高域周波数成分を0で置き換えた
周波数成分を画像に変換する逆周波数変換を行うステッ
プ5と、 前記ステップ3により閾値処理された結果に応じて、前
記ステップ5により変換された画像に対して所定の間引
き処理を行うステップ6と、 前記ステップ3により閾値処理された結果を出力するス
テップ7と、 前記ステップ6により間引き処理された画像を出力する
ステップ8とを具備することを特徴とする画像符号方
法。
37. A step 1 for inputting an image, a step 2 for performing frequency conversion for obtaining a frequency component of the image input in the step 1, and a step 3 for performing threshold processing on the frequency component obtained in the step 2. A step 4 in which high-frequency components of the frequency components obtained in step 2 are replaced with 0 according to the result of the threshold processing in step 3, and a frequency in which the high-frequency components are replaced with 0 in step 4 Step 5 of performing inverse frequency conversion for converting the component into an image, and Step 6 of performing predetermined thinning processing on the image converted in Step 5 in accordance with the result of the threshold processing in Step 3; Step 7 of outputting the result of the threshold processing in Step 3; Image encoding method characterized by comprising the steps 8 to output an image.
【請求項38】 係数情報を入力するステップ1と、 間引き画像を入力するステップ2と、 前記ステップ2により入力された間引き画像と前記ステ
ップ1により入力された係数情報に応じて、所定の手法
で周波数成分を算出するステップ3と、 前記ステップ3により算出された周波数成分を画像に変
換する逆周波数変換を行うステップ4と、 前記ステップ4により変換された画像を出力するステッ
プ5とを具備することを特徴とする画像復号方法。
38. A step 1 for inputting coefficient information, a step 2 for inputting a thinned image, and a predetermined method according to the thinned image input in step 2 and the coefficient information input in step 1. A step of calculating a frequency component; a step of performing an inverse frequency conversion of converting the frequency component calculated in the step into an image; and a step of outputting the image converted in the step. An image decoding method characterized by the following.
【請求項39】 画像を入力する画像入力手段と、 切換情報を入力する切換情報入力手段と、 前記切換情報に従い前記入力画像に対して所定の間引き
処理を行う画素間引き手段と、 前記間引き処理によって得られた間引き画像と前記切換
情報に応じて所定の手法で周波数成分を算出する係数補
間手段と、 前記周波数成分を量子化する係数量子化手段と、 前記量子化した周波数成分を外部へ出力する係数出力手
段とを具備することを特徴とする画像符号化装置。
39. An image input unit for inputting an image, a switching information input unit for inputting switching information, a pixel thinning unit for performing a predetermined thinning process on the input image according to the switching information, Coefficient interpolating means for calculating a frequency component by a predetermined method according to the obtained thinned image and the switching information; coefficient quantizing means for quantizing the frequency component; and outputting the quantized frequency component to the outside. An image encoding device comprising: coefficient output means.
【請求項40】 さらに前記係数出力手段にエントロピ
ー符号化手段を具備し、前記量子化した周波数成分にハ
フマン符号化、算術符号化、QM符号化、ユニバーサル
符号化などの可変長符号化を行うことを特徴とする請求
項39に記載の画像符号化装置。
40. The apparatus according to claim 26, wherein said coefficient output means further comprises entropy coding means, and performs variable length coding such as Huffman coding, arithmetic coding, QM coding, universal coding, etc. on said quantized frequency components. The image encoding device according to claim 39, wherein:
【請求項41】 前記係数補間手段で算出される周波数
成分は、離散コサイン変換、フーリエ変換、離散サイン
変換、サブバンド変換またはウェーブレット変換で算出
されることを特徴とする請求項39または40に記載の
画像符号化装置。
41. The method according to claim 39, wherein the frequency component calculated by the coefficient interpolation means is calculated by a discrete cosine transform, a Fourier transform, a discrete sine transform, a subband transform, or a wavelet transform. Image encoding device.
【請求項42】 前記画素間引き手段の所定の間引き処
理は、前記切換情報に従い前記入力画像のうち上書きさ
れない画素を残すように行われることを特徴とする請求
項39、40または41に記載の画像符号化装置。
42. The image according to claim 39, wherein the predetermined thinning processing of the pixel thinning means is performed according to the switching information so as to leave a pixel which is not overwritten in the input image. Encoding device.
【請求項43】 前記画素間引き手段の所定の間引き処
理は、格子状に画素を残すこと、縦方向と横横行に同じ
割合で行うこと、残る画素がほぼ当間隔になるように行
うこと、周辺画素中のピーク値を優先的に残すことであ
ることを特徴とする請求項39、40、41または42
に記載の画像符号化装置。
43. The predetermined thinning-out processing of the pixel thinning-out means includes: leaving pixels in a grid, performing the same ratio in the vertical direction and the horizontal direction, performing the remaining pixels at substantially equal intervals, 43. The method according to claim 39, wherein the peak value in the pixel is preferentially left.
An image encoding device according to claim 1.
【請求項44】 前記係数補間手段で行われる係数補間
は、周波数係数と画素値に関する線形の連立方程式を解
くこと、周波数係数と画素値に関する線形の連立方程式
に対して事前に求められた逆行列の演算、または間引き
画像に対するローパスフィルタ処理もしくはその近似処
理であることを特徴とする請求項39、40、41、4
2または43に記載の画像符号化装置。
44. Coefficient interpolation performed by the coefficient interpolation means includes solving a linear simultaneous equation relating to a frequency coefficient and a pixel value, and an inverse matrix obtained in advance for a linear simultaneous equation relating to a frequency coefficient and a pixel value. 41. A low-pass filter process on a thinned image or an approximation thereof.
44. The image encoding device according to 2 or 43.
JP28823797A 1996-10-25 1997-10-21 Image coding apparatus and image decoding apparatus Expired - Fee Related JP3624655B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28823797A JP3624655B2 (en) 1996-10-25 1997-10-21 Image coding apparatus and image decoding apparatus

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP8-283581 1996-10-25
JP28358196 1996-10-25
JP28823797A JP3624655B2 (en) 1996-10-25 1997-10-21 Image coding apparatus and image decoding apparatus

Publications (2)

Publication Number Publication Date
JPH10191338A true JPH10191338A (en) 1998-07-21
JP3624655B2 JP3624655B2 (en) 2005-03-02

Family

ID=26555101

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28823797A Expired - Fee Related JP3624655B2 (en) 1996-10-25 1997-10-21 Image coding apparatus and image decoding apparatus

Country Status (1)

Country Link
JP (1) JP3624655B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001359096A (en) * 1999-06-08 2001-12-26 Matsushita Electric Ind Co Ltd Image coder
US7180948B2 (en) 2001-04-05 2007-02-20 Nec Corporation Image decoder and image decoding method having a frame mode basis and a field mode basis
JP2008263288A (en) * 2007-04-10 2008-10-30 Fuji Xerox Co Ltd Image processing system and program
CN114812790A (en) * 2022-03-30 2022-07-29 江南工业集团有限公司 Anti-interference method and device for acoustic signal processing
CN117409299A (en) * 2023-12-15 2024-01-16 武汉纺织大学 Image internal shielding relation prediction method based on multi-scale pooling convertors

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001359096A (en) * 1999-06-08 2001-12-26 Matsushita Electric Ind Co Ltd Image coder
US7180948B2 (en) 2001-04-05 2007-02-20 Nec Corporation Image decoder and image decoding method having a frame mode basis and a field mode basis
JP2008263288A (en) * 2007-04-10 2008-10-30 Fuji Xerox Co Ltd Image processing system and program
CN114812790A (en) * 2022-03-30 2022-07-29 江南工业集团有限公司 Anti-interference method and device for acoustic signal processing
CN114812790B (en) * 2022-03-30 2023-09-12 江南工业集团有限公司 Method and device for resisting interference in acoustic signal processing
CN117409299A (en) * 2023-12-15 2024-01-16 武汉纺织大学 Image internal shielding relation prediction method based on multi-scale pooling convertors
CN117409299B (en) * 2023-12-15 2024-03-05 武汉纺织大学 Image internal shielding relation prediction method based on multi-scale pooling convertors

Also Published As

Publication number Publication date
JP3624655B2 (en) 2005-03-02

Similar Documents

Publication Publication Date Title
US6650786B2 (en) Image encoding apparatus and image decoding apparatus
US6516096B2 (en) Image encoding apparatus and image decoding apparatus
EP1901562B1 (en) Video decoding apparatus
US5881176A (en) Compression and decompression with wavelet style and binary style including quantization by device-dependent parser
US6256415B1 (en) Two row buffer image compression (TROBIC)
KR100351654B1 (en) Transform-domain correction of real-domain errors
KR100360013B1 (en) Error reduction in transformed digital data
US6529633B1 (en) Parallel difference coding method for lossless compression and real time decompression
JP3461821B2 (en) Memory management system and memory management method
US7477791B2 (en) Image processing device, method and recording medium for compressing image data
JPH10503359A (en) Method and apparatus for reducing image data compression noise
EP0316418A1 (en) Hierarchical encoding method and apparatus for efficiently communicating image sequences.
US5719961A (en) Adaptive technique for encoder and decoder signal transformation
US4885636A (en) Block adaptive linear predictive coding with adaptive gain and bias
US10867412B2 (en) Data compression by means of adaptive subsampling
KR100357658B1 (en) Reduced-error processing of transformed digital data
JP3624655B2 (en) Image coding apparatus and image decoding apparatus
WO1988010544A1 (en) Block adaptive linear predictive coding with adaptive gain and bias
US6584225B1 (en) Frequency domain halftoning
JP2901656B2 (en) Image coding device
JP4328727B2 (en) Image compression / decompression method, image compression apparatus, and image expansion apparatus
US7099523B2 (en) Method and system for scaling a signal sample rate
JP2002209111A (en) Image encoder, image communication system and program recording medium
JP2891251B2 (en) Image encoding device and image decoding device
JPH09205552A (en) Image coding method and device therefor

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041005

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041014

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20041109

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041122

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20071210

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20081210

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091210

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20101210

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees