JP2002044423A - Image processor and processing method - Google Patents

Image processor and processing method

Info

Publication number
JP2002044423A
JP2002044423A JP2000222500A JP2000222500A JP2002044423A JP 2002044423 A JP2002044423 A JP 2002044423A JP 2000222500 A JP2000222500 A JP 2000222500A JP 2000222500 A JP2000222500 A JP 2000222500A JP 2002044423 A JP2002044423 A JP 2002044423A
Authority
JP
Japan
Prior art keywords
block
image
dct
coefficient
dct coefficient
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
JP2000222500A
Other languages
Japanese (ja)
Other versions
JP3775180B2 (en
Inventor
Hiroyuki Oyabu
裕之 大薮
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 JP2000222500A priority Critical patent/JP3775180B2/en
Publication of JP2002044423A publication Critical patent/JP2002044423A/en
Application granted granted Critical
Publication of JP3775180B2 publication Critical patent/JP3775180B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/403Edge-driven scaling; Edge-based scaling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4084Scaling of whole images or parts thereof, e.g. expanding or contracting in the transform domain, e.g. fast Fourier transform [FFT] domain scaling

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Image Processing (AREA)
  • Studio Circuits (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image processor and a processing method for acquiring high quality image by suppressing the occurrence of ringing at the time of magnifying a multi-valued image containing a steep edge. SOLUTION: A block generating section 102 blocks an image signal inputted from an image input section 101 into a specified image number; a DCT- converting section 103 generates DCT coefficients by performing DCT operation on the blocked image signal: a coefficient control section 108 selects a filter table optimal for magnifying the image signal; a multiply section 109 multiplies the DCT coefficient by the filter coefficient on a selected filter table to generate the multiplied value on the low band side of a reverse DCT efficient and a reverse DCT coefficient set with zero on the high band side, and a reverse DCT converting section 111 performs reverse DCT operation on the reverse DCT coefficient to output a magnified image signal.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像処理方法及び
装置に関し、特に多値画像の拡大処理をする画像処理方
法及び装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image processing method and apparatus, and more particularly, to an image processing method and apparatus for performing multi-value image enlargement processing.

【0002】[0002]

【従来の技術】一般に、ディジタル画像を処理するディ
ジタル複写機等において、高画質なディジタル画像を取
得することができるように、画像を読み取るスキャナ等
から入力された画像の解像度よりも、レーザによって感
光体ドラムに描画されて出力される画像の解像度の方を
高く設定している。このような場合、入力された画像の
解像度を出力される画像の解像度に変換する為に、入力
された画像の拡大処理を行う必要がある。
2. Description of the Related Art Generally, in a digital copying machine or the like for processing digital images, a laser is more sensitive than a resolution of an image input from a scanner or the like for reading an image so that a high-quality digital image can be obtained. The resolution of the image drawn and output on the body drum is set higher. In such a case, in order to convert the resolution of the input image to the resolution of the output image, it is necessary to perform an enlargement process on the input image.

【0003】例えば、1画素が8ビット、256段階調
で表現されている多値画像を拡大する方法として、「画
像処理ハンドブック」(高木幹雄 著、下田陽久 監
修、東京大学出版会、p.442−443)に記載され
ている拡大方法においては、最近隣内挿法や共1次内挿
法、3次たたき込み内挿法がある。最近隣内挿法では、
図9(a)に示すように、画像データを内挿したい位置
に最も近い観測点の画像データに基づいて、画像データ
を内挿することにより、多値画像の拡大処理をしてい
た。又、共一時内挿法では、図9(b)に示すように、
画像データを内挿したい位置に最も近い周囲4点の観測
点の画像データ、3次たたき込み内挿法では、図9
(c)に示すように、画像データを内挿したい位置に最
も近い周囲16点の観測点の画像データにそれぞれ基づ
いて、画像データを内挿することにより、多値画像の拡
大処理をしていた。
For example, as a method of enlarging a multi-valued image in which one pixel is expressed in 8 bits and in 256 steps, "Image Processing Handbook" (Mikio Takagi, supervised by Yuki Shimoda, University of Tokyo Press, p.442) -443) include a nearest neighbor interpolation method, a bilinear interpolation method, and a tertiary convolution interpolation method. In nearest neighbor interpolation,
As shown in FIG. 9A, the multivalued image is enlarged by interpolating the image data based on the image data of the observation point closest to the position where the image data is to be interpolated. In the co-temporal interpolation method, as shown in FIG.
The image data of the four surrounding observation points closest to the position where the image data is to be interpolated is obtained by the third-order convolution interpolation method as shown in FIG.
As shown in (c), the multivalued image is enlarged by interpolating the image data based on the image data of the 16 observation points closest to the position where the image data is to be interpolated. Was.

【0004】又、第2522357号特許公報に記載さ
れている「画像の拡大方式」のような画像の拡大方法に
おいては、入力画像の画像信号から、図10(a)に示
すような例えば、縦4画素、横4画素の合計16画素を
1ブロックとする入力画像信号xi(m,n)を生成し
て、このブロックに対してDCT演算を行い、DCT係
数Xi(u,v)を算出する。ブロックサイズを縦N画
素、横N画素とするDCT演算式は式1に示すようにな
る。
In an image enlargement method such as the "image enlargement method" described in Japanese Patent No. 2522357, for example, a vertical image as shown in FIG. An input image signal xi (m, n) is generated in which a total of 16 pixels of 4 pixels and 4 horizontal pixels are defined as one block, and a DCT operation is performed on this block to calculate a DCT coefficient Xi (u, v). . The DCT calculation equation with the block size being N pixels vertically and N pixels horizontally is as shown in Equation 1.

【0005】[0005]

【式1】 そして、入力画像を例えば2倍に拡大するのであれば、
図10(b)に示すような縦8画素、横8画素の合計6
4画素を1ブロックとして、その拡大ブロックの低域側
にDCT演算により得られた係数、又高域側に零をそれ
ぞれ設定して、縦8画素、横8画素の合計64画素を1
ブロックとする逆DCT係数Xo(u,v)を生成し、
この拡大ブロックに対して逆DCT演算を行い、拡大し
た画像の拡大画像信号xo(m,n)を算出する。な
お、DCT演算式は式2に示すようになる。
(Equation 1) And if you want to enlarge the input image twice, for example,
As shown in FIG. 10 (b), a total of 6 pixels of 8 vertical pixels and 8 horizontal pixels
With 4 pixels as one block, the coefficient obtained by the DCT operation is set on the low-frequency side of the enlarged block and zero is set on the high-frequency side, and a total of 64 pixels of 8 vertical pixels and 8 horizontal pixels are set as 1 pixel.
Generate an inverse DCT coefficient Xo (u, v) as a block,
An inverse DCT operation is performed on the enlarged block to calculate an enlarged image signal xo (m, n) of the enlarged image. The DCT operation expression is as shown in Expression 2.

【0006】[0006]

【式2】 最後に、逆DTC演算により算出した拡大画像信号の濃
度レベルを調整する為に、その拡大画像信号xo(m,
n)を拡大比率倍、ここでは2倍にすることで画像の拡
大処理をしていた。
(Equation 2) Finally, in order to adjust the density level of the enlarged image signal calculated by the inverse DTC operation, the enlarged image signal xo (m,
Image magnification processing was performed by multiplying n) by a magnification ratio, here, twice.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上述し
たような多値画像の拡大方法においては、拡大処理の対
象となるブロックに急峻なエッジ部分が含まれている場
合には、ブロックの高域側の信号成分では入力画像の画
素間を線形に補間することができない為、拡大ブロック
において、リンギングが発生して、画質が著しく劣化す
るという問題があった。
However, in the above-described multi-value image enlarging method, when a block to be enlarged includes a steep edge portion, the high-frequency side of the block is Since the signal components of (1) cannot linearly interpolate between the pixels of the input image, there is a problem that ringing occurs in the enlarged block and the image quality is significantly deteriorated.

【0008】そこで、本発明は、急峻なエッジが含まれ
ている多値画像の拡大処理をする際に、リンギングの発
生を抑止して、高画質な画像を取得する画像処理方法及
び装置を提供することを目的とする。
Accordingly, the present invention provides an image processing method and apparatus which suppresses the occurrence of ringing and obtains a high-quality image when enlarging a multivalued image including a steep edge. The purpose is to do.

【0009】[0009]

【課題を解決するための手段】上述した目的を達成する
為に、請求項1の発明は、多値画像の拡大処理を行う画
像処理方法において、前記多値画像の画像信号を複数の
画素からなるブロック単位で読み出し第1のブロックを
生成し、前記第1のブロックに対してDCT変換を行い
第1のDCT係数を生成し、前記第1のブロックを所定
倍した第2のブロックの低域側に前記第1のDCT係数
に所定の定数を乗じた値を設定するとともに、高域側に
零を設定した第2のDCT係数を生成し、該第2のDC
T係数に逆DCT変換を行い、前記多値画像の拡大処理
を行うことを特徴とする。
According to a first aspect of the present invention, there is provided an image processing method for expanding a multi-valued image, comprising the steps of: converting an image signal of the multi-valued image from a plurality of pixels; The first block is read out in units of a block, a first block is generated, a DCT transform is performed on the first block, a first DCT coefficient is generated, and a low frequency band of a second block obtained by multiplying the first block by a predetermined value is generated. Side, a value obtained by multiplying the first DCT coefficient by a predetermined constant is generated, and a second DCT coefficient in which zero is set on the high frequency side is generated.
An inverse DCT transform is performed on the T coefficient, and the multivalued image is enlarged.

【0010】又、請求項2の発明は、請求項1の発明に
おいて、前記定数は、前記第1のブロックを最近隣内挿
法により拡大して第3のブロックを生成し、前記第3の
ブロックに対してDCT変換を行い第3のDCT係数を
生成し、前記第1のブロックと前記第3のブロックとの
それぞれ対応する画素に設定されているDCT係数の比
率に基いて生成されることを特徴とする。
According to a second aspect of the present invention, in the first aspect of the present invention, the constant is obtained by enlarging the first block by nearest neighbor interpolation to generate a third block, DCT transformation is performed on the block to generate a third DCT coefficient, and the third DCT coefficient is generated based on a ratio of the DCT coefficient set to each of the pixels corresponding to the first block and the third block. It is characterized by.

【0011】又、請求項3の発明は、請求項1の発明に
おいて、前記第2のDCT係数は、前記第1のブロック
の特徴を分析し、該分析結果に基いて、予め少なくとも
2つ以上記憶した異なる定数の中から、前記第1のブロ
ックの特徴に対応した定数を選択して生成されることを
特徴とする。
According to a third aspect of the present invention, in the first aspect of the present invention, the second DCT coefficient analyzes a characteristic of the first block, and based on the analysis result, determines at least two DCT coefficients in advance. A constant corresponding to the feature of the first block is selected and generated from the stored different constants.

【0012】又、請求項4の発明は、請求項1の発明に
おいて、前記第1のDCT係数に所定の定数を乗じる量
子化を行い、該量子化した前記第1のDCT係数をエン
トロピ符号化して圧縮処理を施し、該エントロピ符号化
した第1のDCT係数を復号化する際に、該エントロピ
符号化した第1のDCT係数を復号化して、量子化され
た前記第1のDCT係数を生成し、前記第2のブロック
の低域側に、量子化された前記第1のDCT係数に第1
の所定の定数及び第2の所定の定数を乗じた値を設定す
るとともに、高域側に零を設定した第2のDCT係数を
生成し、該第2のDCT係数に逆DCT変換を行い、前
記多値画像の拡大処理に圧縮処理を融合して行うことを
特徴とする。なお、エントロピ符号化とは、ハフマン符
号化や算術符号化等の各符号化方式を総称したものであ
る。
According to a fourth aspect of the present invention, in the first aspect of the present invention, the first DCT coefficient is quantized by multiplying the first DCT coefficient by a predetermined constant, and the quantized first DCT coefficient is entropy-coded. When the entropy-encoded first DCT coefficient is decoded by performing compression processing, the entropy-encoded first DCT coefficient is decoded to generate the quantized first DCT coefficient. The first DCT coefficient quantized on the low-frequency side of the second block is the first DCT coefficient.
And a value multiplied by a predetermined constant and a second predetermined constant, and a second DCT coefficient with zero set on the high frequency side is generated, and the inverse DCT conversion is performed on the second DCT coefficient. The present invention is characterized in that a compression process and a compression process are performed in combination with the multivalue image enlargement process. Note that entropy coding is a general term for each coding method such as Huffman coding and arithmetic coding.

【0013】又、請求項5の発明は、多値画像の拡大処
理を行う画像処理装置において、前記多値画像の画像信
号を複数の画素からなるブロック単位で読み出し第1の
ブロックを生成する第1のブロック生成手段と、前記第
1のブロック生成手段により生成された前記第1のブロ
ックに対してDCT変換を行い第1のDCT係数を生成
する第1のDCT係数生成手段と、前記第1のブロック
を所定倍した第2のブロックの低域側に前記第1のDC
T係数に所定の定数を乗じた値を設定するとともに、高
域側に零を設定した第2のDCT係数を生成する第2の
DCT係数生成手段と、前記第2のDCT係数生成手段
により生成された第2のDCT係数に逆DCT変換を行
い、前記多値画像の拡大処理を行う逆DCT変換手段と
を具備することを特徴とする。
According to a fifth aspect of the present invention, there is provided an image processing apparatus for performing an enlargement process of a multi-valued image, wherein the image signal of the multi-valued image is read out in units of blocks composed of a plurality of pixels to generate a first block. First block generation means, first DCT coefficient generation means for performing DCT transform on the first block generated by the first block generation means to generate first DCT coefficients, and The first DC is added to the low-frequency side of the second block obtained by multiplying the first block by a predetermined number.
A second DCT coefficient generating means for setting a value obtained by multiplying the T coefficient by a predetermined constant and generating a second DCT coefficient in which zero is set on the high frequency side; and a second DCT coefficient generating means for generating the second DCT coefficient. Inverse DCT transforming means for performing an inverse DCT transform on the obtained second DCT coefficient and performing an enlarging process of the multi-valued image.

【0014】[0014]

【発明の実施の形態】本発明に関する画像処理方法及び
装置の一実施例を、添付図面を参照して詳細に説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of an image processing method and apparatus according to the present invention will be described in detail with reference to the accompanying drawings.

【0015】まず、図1を参照して、本発明を適用した
画像処理装置100の構成について説明する。図1は、
画像処理装置100の既略構成を示すブロック図であ
る。
First, the configuration of an image processing apparatus 100 to which the present invention is applied will be described with reference to FIG. FIG.
FIG. 2 is a block diagram illustrating a simplified configuration of the image processing apparatus 100.

【0016】図1において、画像処理装置100は画像
入力部101、ブロック生成部102、DCT変換部1
03、1次バッファ104、エッジ検出部105、エッ
ジ用フィルタテーブル106、非エッジ用フィルタテー
ブル107、係数制御部108、乗算部109、2次バ
ッファ110、逆DCT変換部111及び画像出力部1
12から構成される。
In FIG. 1, an image processing apparatus 100 includes an image input unit 101, a block generation unit 102, a DCT conversion unit 1
03, primary buffer 104, edge detector 105, edge filter table 106, non-edge filter table 107, coefficient controller 108, multiplier 109, secondary buffer 110, inverse DCT transformer 111, and image output unit 1.
12 is comprised.

【0017】画像入力部101は、例えば画像を読み取
るスキャナ等に接続されて、画像信号を入力するもので
ある。ブロック生成部102は、画像入力部101から
入力された画像信号を所定の画素数にブロック化するも
のであり、例えば、入力された画像信号を縦4画素、横
4画素の画素数にブロック化する。DCT変換部103
は、ブロック生成部102でブロック化された画像信号
に対してDCT演算を行うことで、DCT係数を生成す
るのものである。1次バッファ104は、DCT変換部
103で生成されたDCT係数を一時的に蓄積するもの
である。エッジ検出部105は、ブロック生成部102
でブロック化された画像信号の拡大処理の対象となるブ
ロックに、急峻なエッジ部分が含まれているか否かを検
出し、検出結果を示すエッジ検出信号を出力するもので
ある。エッジ用フィルタテーブル106は、画像信号の
拡大処理の対象となるブロックに、急峻なエッジ部分が
含まれている画像信号を拡大処理するのに最適な係数値
が設定されたフィルタテーブルである。非エッジ用フィ
ルタテーブル107は、画像信号の拡大処理の対象とな
るブロックに、急峻なエッジ部分が含まれていない画像
信号を拡大処理するのに最適な係数値が設定されたフィ
ルタテーブルである。係数制御部108は、エッジ用フ
ィルタテーブル106と非エッジ用フィルタテーブル1
07を有し、エッジ検出部105により出力されるエッ
ジ検出信号に基づいて、画像信号の拡大処理に最適なフ
ィルタテーブルを選択するものである。乗算部109
は、係数制御部108と1次バッファ104と同期を取
りながら、逆DCT係数を生成するものである。2次バ
ッファ110は、乗算部109で生成された逆DCT係
数を一時的に蓄積するものである。逆DCT変換部11
1は、2次バッファ110に蓄積されている逆DCT係
数に対して逆DCT演算を行い、画像を拡大した拡大画
像信号を出力するものである。画像出力部112は、例
えばプリンタ等の出力装置に接続されて、逆DCT変換
部111から出力された画像を出力するものである。
The image input unit 101 is connected to, for example, a scanner for reading an image, and inputs an image signal. The block generation unit 102 blocks the image signal input from the image input unit 101 into a predetermined number of pixels. For example, the block generation unit 102 blocks the input image signal into four vertical pixels and four horizontal pixels. I do. DCT converter 103
Is to generate DCT coefficients by performing a DCT operation on the image signal blocked by the block generation unit 102. The primary buffer 104 temporarily stores the DCT coefficients generated by the DCT conversion unit 103. The edge detection unit 105 includes the block generation unit 102
It detects whether or not a block to be subjected to the enlargement processing of the image signal divided into blocks includes a steep edge portion, and outputs an edge detection signal indicating a detection result. The edge filter table 106 is a filter table in which optimal coefficient values are set for enlarging an image signal that includes a steep edge portion in a block to be enlarged. The non-edge filter table 107 is a filter table in which optimal coefficient values are set for enlarging an image signal that does not include a steep edge portion in a block to be enlarged. The coefficient control unit 108 controls the edge filter table 106 and the non-edge filter table 1
07, based on the edge detection signal output by the edge detection unit 105, to select an optimal filter table for the image signal enlargement processing. Multiplication unit 109
Generates an inverse DCT coefficient while synchronizing with the coefficient control unit 108 and the primary buffer 104. The secondary buffer 110 temporarily stores the inverse DCT coefficient generated by the multiplier 109. Inverse DCT converter 11
Numeral 1 is for performing an inverse DCT operation on the inverse DCT coefficient stored in the secondary buffer 110 and outputting an enlarged image signal obtained by enlarging the image. The image output unit 112 is connected to an output device such as a printer, and outputs an image output from the inverse DCT unit 111.

【0018】では、図2を参照して、画像の拡大処理方
法を説明する。図2は、画像の拡大処理をする一連の流
れを示す図である。
Next, an image enlargement processing method will be described with reference to FIG. FIG. 2 is a diagram showing a series of flows for performing image enlargement processing.

【0019】ここでは、1ブロック当たり縦4画素、横
4画素の合計16画素からなる入力画像を2倍の大きさ
に拡大して、1ブロック当たり縦8画素、横8画素の合
計64画素からなる画像に拡大処理をするものとして説
明する。
Here, an input image consisting of a total of 16 pixels, 4 pixels vertically and 4 pixels horizontally, is doubled in size, and a total of 64 pixels of 8 pixels vertically and 8 pixels horizontally per block is obtained. A description will be given assuming that enlargement processing is performed on an image.

【0020】まず、画像入力部101から画像を入力す
ると、ブロック生成部102は図2(a)に示すような
縦4画素、横4画素の合計16画素を1ブロックとする
画像信号a[i,j]を生成する。DCT変換部103
はブロック化された画像信号a[i,j]に対してDC
T演算を行い、図2(b)に示すようなDCT係数b
[i,j]を生成する。
First, when an image is input from the image input unit 101, the block generation unit 102 generates an image signal a [i] having a total of 16 pixels of 4 pixels vertically and 4 pixels horizontally as shown in FIG. , J]. DCT converter 103
Is DC with respect to the blocked image signal a [i, j].
T operation is performed, and a DCT coefficient b as shown in FIG.
Generate [i, j].

【0021】又、エッジ検出部105から出力されるエ
ッジ検出信号に基づいて、図2(c)に示すように、生
成された画像信号a[i,j]を拡大処理するのに最適
なフィルタ係数s[i,j]が設定されているフィルタ
テーブルを選択する。
Also, based on the edge detection signal output from the edge detection unit 105, as shown in FIG. 2C, an optimal filter for expanding the generated image signal a [i, j]. The filter table in which the coefficient s [i, j] is set is selected.

【0022】そして、図2(d)に示すように、i,j
がそれぞれ4未満である画素の逆DCT係数c[i,
j]にはDCT係数b[i,j]に選択されたエッジ用
フィルタのフィルタ係数s[i,j]を乗じた値、又
i,jが4以上である画素の逆DCT係数c[i,j]
には零をそれぞれ設定して、縦8画素、横8画素の合計
64画素を1ブロックとする逆DCT係数c[i,j]
を生成する。この画像信号c[i,j]に対して逆DC
T演算を行い、図2(e)に示すような拡大ブロックを
生成する。
Then, as shown in FIG.
Are less than 4, the inverse DCT coefficients c [i,
j] is the value obtained by multiplying the DCT coefficient b [i, j] by the filter coefficient s [i, j] of the selected edge filter, or the inverse DCT coefficient c [i of the pixel where i, j is 4 or more. , J]
Are set to zero, respectively, and the inverse DCT coefficient c [i, j] with a total of 64 pixels of 8 vertical pixels and 8 horizontal pixels as one block
Generate An inverse DC is applied to this image signal c [i, j].
The T operation is performed to generate an enlarged block as shown in FIG.

【0023】なお、画像の拡大処理を行った際に、逆D
CT演算によって得られたブロックに対して画像濃度を
調整する必要があり、例えば画像を2倍に拡大した場合
には、画像の濃度を2倍に調整しなければならないが、
ここでは逆DCT係数c[i,j]を生成する段階で、
DCT係数b[i,j]の各係数値にフィルタ係数s
[i,j]が既に乗じてある為に、そのような濃度調整
を行う必要はない。又、フィルタテーブルに設定されて
いるフィルタ係数は、画質が劣化しないように考慮して
任意の値を設定しておく。
When the image is enlarged, the inverse D
It is necessary to adjust the image density for the block obtained by the CT operation. For example, when the image is enlarged twice, the image density must be adjusted twice.
Here, at the stage of generating the inverse DCT coefficient c [i, j],
Filter coefficient s is added to each coefficient value of DCT coefficient b [i, j].
Since [i, j] has already been multiplied, there is no need to perform such density adjustment. The filter coefficient set in the filter table is set to an arbitrary value in consideration of the image quality so as not to deteriorate.

【0024】では、図3を参照して、フィルタテーブル
のフィルタ係数の設計方法について説明する。図3は、
フィルタテーブルのフィルタ係数を設計する一連の流れ
を示す図である。
Next, a method of designing the filter coefficients of the filter table will be described with reference to FIG. FIG.
FIG. 9 is a diagram showing a series of flows for designing filter coefficients of a filter table.

【0025】入力画像から生成した図3(a)に示すよ
うなブロックを拡大すると、ブロックは図3(b)に示
す値になる。なお、図中の数字は、1画素当たり8ビッ
ト、256段階調で表現している画像の段階調を示して
いる。
When the block as shown in FIG. 3A generated from the input image is enlarged, the value of the block becomes as shown in FIG. 3B. The numbers in the figure indicate the gradation of the image expressed in 8 bits per pixel and in 256 gradations.

【0026】図3(a)に示したブロックを最近隣内挿
法により拡大すると、図3(b)に示すような係数値を
もつブロックとなり、図3(b)に示したブロックをD
CT変換することにより、図3(d)に示すようなブロ
ックのDCT係数を取得する。又、図3(a)に示した
ブロックについても同様にDCT変換することにより、
図3(c)に示すようなブロックのDCT係数を取得す
る。
When the block shown in FIG. 3A is enlarged by the nearest neighbor interpolation method, it becomes a block having coefficient values as shown in FIG. 3B, and the block shown in FIG.
By performing the CT transformation, DCT coefficients of the block as shown in FIG. In addition, the blocks shown in FIG.
The DCT coefficients of the block as shown in FIG.

【0027】そして、図3(c)に示したブロックの横
i番目、縦j番目の画素と図3(d)に示したブロック
の横i番目、縦j番目の画素との比を算出し、図3
(e)に示すブロックの横i番目、縦j番目にその比を
当てはめて、1ブロック当たり縦4画素、横4画素の合
計16画素とするブロックのフィルタ係数を生成する。
図3(c)に示したブロックは1ブロック当たり縦4画
素、横4画素の合計16画素とするブロックであり、図
3(d)に示したブロックは1ブロック当たり縦8画
素、横8画素の合計64画素とするブロックであり、そ
れぞれのブロックの画素数は異なるが、比率を算出する
際に対応する画素部分は16画素のみであり、他の対応
する画素がない部分はフィルタ係数の値は零となり、従
って、図3(e)に示すような1ブロック当たり縦4画
素、横4画素の合計16画素とするブロックのフィルタ
係数となる。
The ratio between the i-th pixel and the j-th pixel in the block shown in FIG. 3C and the i-th pixel and the j-th pixel in the block shown in FIG. 3D is calculated. , FIG.
By applying the ratio to the i-th row and the j-th row of the block shown in (e), a filter coefficient of a block having a total of 16 pixels of 4 pixels vertically and 4 pixels horizontally is generated.
The block shown in FIG. 3C is a block having a total of 16 pixels of 4 pixels vertically and 4 pixels horizontally, and the block shown in FIG. 3D is 8 pixels vertically and 8 pixels horizontally. Are 64 pixels in total, and the number of pixels in each block is different. However, when calculating the ratio, the pixel portion corresponding to only 16 pixels, and the portion without other corresponding pixels are filter coefficient values. Becomes zero, and thus becomes a filter coefficient of a block having a total of 16 pixels of 4 pixels vertically and 4 pixels horizontally as shown in FIG. 3E.

【0028】このように設計されたフィルタは、フィル
タ係数の最も低域側にあたるDC(Direct Cu
rrent;直流)成分に濃度調整の2が設定され、成
分が高域側になるにつれてDCT係数値が滑らかに減衰
するようになっており、逆DCT変換したブロック内部
において、リンギングが発生するのを抑制する。
The filter designed in this way has a DC (Direct Cu) corresponding to the lowest frequency side of the filter coefficient.
(Rent: direct current) component is set to 2 for density adjustment, and the DCT coefficient value is attenuated smoothly as the component goes to the higher frequency side. Ringing occurs in the inverse DCT transformed block. Suppress.

【0029】ここまで、入力画像が1ブロック当たり縦
4画素、横4画素の画素数からなるブロックを1ブロッ
ク当たり縦8画素、横8画素の画素数からなるブロック
に拡大処理をするものとして説明したが、入力画像の画
素数や出力画像の画素数はそれぞれ任意の値であって良
く、又入力画像を拡大する比率にあっても用途に応じて
任意に設定すれば良い。
Up to this point, a description has been given assuming that an input image is subjected to enlargement processing from a block having 4 vertical pixels and 4 horizontal pixels per block to a block having 8 vertical and 8 horizontal pixels per block. However, the number of pixels of the input image and the number of pixels of the output image may be arbitrary values, and the ratio of enlarging the input image may be arbitrarily set according to the application.

【0030】では、図4及び図5を参照して、画像の拡
大処理の流れを説明する。図4は画像の拡大処理をする
一連の流れを示すフローチャートであり、図5は画像の
拡大処理におけるフィルタ係数の乗算処理の流れを示す
フローチャートである。
Next, the flow of the image enlargement process will be described with reference to FIGS. FIG. 4 is a flowchart showing a series of flows for performing image enlargement processing, and FIG. 5 is a flowchart showing a flow of filter coefficient multiplication processing in image enlargement processing.

【0031】画像入力部101から画像信号を入力し
(ステップ201)、ブロック生成部102は入力した
画像信号を縦横所定の画素数からなるブロックとして生
成する(ステップ202)。DCT変換部103は、ブ
ロック生成部102でブロック化された画像をDCT演
算を行うことで、DCT係数を生成し(ステップ20
3)、1次バッファ104はDCT係数を一時的に蓄積
する(ステップ204)。
An image signal is input from the image input unit 101 (step 201), and the block generation unit 102 generates the input image signal as a block having a predetermined number of vertical and horizontal pixels (step 202). The DCT transform unit 103 generates a DCT coefficient by performing a DCT operation on the image divided by the block generation unit 102 (step 20).
3) The primary buffer 104 temporarily stores DCT coefficients (step 204).

【0032】一方、エッジ検出部105は、画像入力部
101から入力された画像のエッジ部分を検出して、エ
ッジ部分の検出の有無を示すエッジ検出信号を出力し
(ステップ205)、係数制御部108は検出されたエ
ッジ検出信号に基づいて、拡大処理の対象となるブロッ
クに、急峻なエッジ部分が含まれているならば(ステッ
プ206のYES)、エッジ用フィルタテーブル106
を選択し(ステップ207)、又急峻なエッジが含まれ
ていなければ(ステップ206のNO)、非エッジ用フ
ィルタテーブル107を選択する(ステップ208)。
On the other hand, the edge detecting unit 105 detects an edge portion of the image input from the image input unit 101, outputs an edge detection signal indicating whether or not the edge portion is detected (step 205), and controls the coefficient control unit. 108, based on the detected edge detection signal, if the block to be enlarged includes a steep edge portion (YES in step 206), the edge filter table 106
Is selected (step 207), and if no steep edge is included (NO in step 206), the non-edge filter table 107 is selected (step 208).

【0033】乗算部109は、係数制御部108と1次
バッファ104との同期を取りながら、1次バッファ1
04に蓄積されているDCT係数に係数制御部108が
選択したフィルタテーブルのフィルタ係数を乗算するこ
とで、逆DCT係数を生成し(ステップ209)、2次
バッファ110は逆DCT係数を一時的に蓄積する(ス
テップ210)。
The multiplication section 109 synchronizes the coefficient control section 108 with the primary buffer 104 while keeping the primary buffer 1
The inverse DCT coefficient is generated by multiplying the DCT coefficient stored in the buffer 04 by the filter coefficient of the filter table selected by the coefficient control unit 108 (step 209), and the secondary buffer 110 temporarily stores the inverse DCT coefficient. It accumulates (step 210).

【0034】逆DCT変換部111は、2次バッファ1
10に蓄積されている逆DCT係数から逆DCT演算を
行い、拡大ブロックを生成して(ステップ211)、画
像出力部112は逆DCT変換部111で拡大された画
像信号を出力する(ステップ212)。又、ステップ2
09の乗算処理において、逆DCT係数の値を設定する
際に、1次バッファ104に蓄積されているDCT係数
の画素と対応するフィルタテーブルのフィルタ係数の画
素がある部分については(ステップ251のYES)、
逆DCT係数の値に、DCT係数の値にフィルタ係数の
値を乗算した値を設定する(ステップ252)。又、ス
テップ251において、DCT係数の画素に対応するフ
ィルタ係数の画素がない部分については(ステップ25
1のNO)、逆DCT係数の値に零を設定する(ステッ
プ253)。
The inverse DCT transform section 111 has a function of the secondary buffer 1
An inverse DCT operation is performed from the inverse DCT coefficients accumulated in 10 to generate an enlarged block (step 211), and the image output unit 112 outputs an image signal enlarged by the inverse DCT transform unit 111 (step 212). . Step 2
When the value of the inverse DCT coefficient is set in the multiplication process of step 09, the portion where the pixel of the DCT coefficient stored in the primary buffer 104 and the pixel of the filter coefficient of the filter table corresponding to the pixel exist (YES in step 251) ),
A value obtained by multiplying the value of the DCT coefficient by the value of the filter coefficient is set to the value of the inverse DCT coefficient (step 252). Also, in step 251, if there is no filter coefficient pixel corresponding to the DCT coefficient pixel (step 25
(NO at 1), the value of the inverse DCT coefficient is set to zero (step 253).

【0035】ブロックの横方向1列目でまだ画素がある
ならば(ステップ254のYES)、横方向で次の画素
に移って(ステップ255)、同様の処理を行う。そし
て、横方向1列目の全ての画素について処理が終了し
(ステップ254のNO)、続いて横方向で次の列があ
るならば(ステップ256のYES)、横方向2列目に
移って(ステップ257)、同様の処理を行う。横方向
で次の列がなく、つまり逆DCT係数の全ての画素につ
いて値が設定されたならば(ステップ256のNO)、
乗算処理を終了する。
If there are still pixels in the first column in the horizontal direction of the block (YES in step 254), the process moves to the next pixel in the horizontal direction (step 255) and the same processing is performed. Then, the process is completed for all the pixels in the first column in the horizontal direction (NO in step 254), and if there is a next column in the horizontal direction (YES in step 256), the process proceeds to the second column in the horizontal direction. (Step 257) Similar processing is performed. If there is no next column in the horizontal direction, that is, if the values have been set for all pixels of the inverse DCT coefficient (NO in step 256),
The multiplication process ends.

【0036】なお、ステップ205において、エッジ検
出部105がブロック生成部102でブロック化された
画像信号の拡大処理の対象となるブロックに急峻なエッ
ジ部分が含まれているか否かを検出し、その検出結果に
基いて、係数制御部108が急峻なエッジ部分が含まれ
ている画像信号を拡大処理するのに最適な係数値が設定
されているエッジ用フィルタテーブル106を選択し、
それ以外の時には非エッジ用フィルタテーブル107を
選択するように構成しているが、上述したようにフィル
タテーブルのフィルタ係数値は任意に設定することがで
きる為、エッジ用フィルタテーブル106及び非エッジ
用フィルタテーブル107の他にも、複数のフィルタテ
ーブルを用意しておき、生成されたブロックの特徴をよ
り詳細に分析して、ブロックの特徴に最も適したフィル
タテーブルを選択し、拡大処理を行うように構成しても
良い。
In step 205, the edge detection unit 105 detects whether or not a block to be subjected to the enlargement processing of the image signal blocked by the block generation unit 102 includes a steep edge portion. Based on the detection result, the coefficient control unit 108 selects an edge filter table 106 in which an optimal coefficient value is set for performing an enlargement process on an image signal including a steep edge portion,
At other times, the configuration is such that the non-edge filter table 107 is selected. However, since the filter coefficient values of the filter table can be set arbitrarily as described above, the edge filter table 106 and the non-edge In addition to the filter table 107, a plurality of filter tables are prepared, the characteristics of the generated block are analyzed in more detail, the filter table most suitable for the characteristic of the block is selected, and the enlargement process is performed. May be configured.

【0037】さて、上述したようなDCT変換を用いた
画像の拡大処理は、画像の圧縮処理との融合性が高い。
そこで、画像の拡大処理と圧縮処理とを融合させた処理
例について説明する。
The image enlarging process using the DCT transform as described above has high integration with the image compressing process.
Therefore, an example of processing in which image enlargement processing and compression processing are combined will be described.

【0038】まず、図6を参照して、本発明を適用した
画像処理装置150の構成について説明する。図6は、
画像処理装置150の既略構成を示すブロック図であ
る。
First, the configuration of the image processing apparatus 150 to which the present invention is applied will be described with reference to FIG. FIG.
FIG. 2 is a block diagram showing a simplified configuration of the image processing device 150.

【0039】図6において、画像処理装置150は、上
述の画像入力部101、ブロック生成部102、DCT
変換部103、1次バッファ104、2次バッファ11
0、逆DCT変換部111、画像出力部112に加え
て、図中に点線で示される枠内の量子化部151、量子
化フィルタテーブル152、ハフマン符号化部153、
記憶装置154、ハフマン復号化部155、逆量子化部
156、逆量子化フィルタテーブル157から構成され
る。なお、ここで説明する画像処理装置150は図中の
点線示される箇所を除いて、上述の画像処理装置100
と同様の構成である為、画像入力部101、ブロック生
成部102、DCT変換部103、1次バッファ10
4、2次バッファ110、逆DCT変換部111、画像
出力部112については説明を省略する。
In FIG. 6, the image processing device 150 includes the above-described image input unit 101, block generation unit 102, DCT
Conversion unit 103, primary buffer 104, secondary buffer 11
0, an inverse DCT transform unit 111, an image output unit 112, a quantization unit 151, a quantization filter table 152, a Huffman encoding unit 153 in a frame indicated by a dotted line in FIG.
It comprises a storage device 154, a Huffman decoding unit 155, an inverse quantization unit 156, and an inverse quantization filter table 157. Note that the image processing apparatus 150 described here is the same as the above-described image processing apparatus 100 except for the parts indicated by dotted lines in the figure.
Since the configuration is the same as that of, the image input unit 101, the block generation unit 102, the DCT conversion unit 103, and the primary buffer 10
Descriptions of the fourth and second buffers 110, the inverse DCT transformer 111, and the image output unit 112 are omitted.

【0040】量子化フィルタテーブル151は、1次バ
ッファに蓄積されているDCT係数を量子化する量子化
値が設定されているフィルタテーブルである。量子化部
152は、量子化フィルタテーブル151を有し、量子
化フィルタテーブル151に設定されている量子化値に
基づいて、バッファ104に蓄積されているDCT係数
を量子化するものである。ハフマン符号化153は、量
子化部152により量子化されたデータを、ハフマン符
号に符号化するものである。なお、ここでは、ハフマン
符号への符号化を例としているがこの他にも、算術符号
化等を利用することもできる(本明細書中では、これら
の符号化を総称してエントロピ符号化と表現する)。
The quantization filter table 151 is a filter table in which quantization values for quantizing DCT coefficients stored in the primary buffer are set. The quantization unit 152 has a quantization filter table 151, and quantizes the DCT coefficients stored in the buffer 104 based on the quantization values set in the quantization filter table 151. The Huffman encoding 153 encodes the data quantized by the quantization unit 152 into a Huffman code. Here, the encoding to the Huffman code is taken as an example, but in addition to this, arithmetic encoding and the like can also be used (in this specification, these encodings are collectively referred to as entropy encoding. Express).

【0041】記憶装置154は、例えばハードディスク
装置であり、ハフマン符号化部153により符号化され
たハフマン符号データを記憶するものである。ハフマン
復号化部155は、記憶装置154に記憶されているハ
フマン符号データを復号化するものである。逆量子化フ
ィルタテーブル156は、ハフマン復号化部155で復
号化されたデータを逆量子化する逆量子化値が設定され
ているフィルタテーブルである。逆量子化部157は、
逆量子化フィルタテーブル156を有し、逆量子化フィ
ルタテーブル156に設定されている逆量子化値に基づ
いて、ハフマン復号化部155で復号化されたデータを
逆量子化するものである。
The storage device 154 is, for example, a hard disk device, and stores Huffman code data encoded by the Huffman encoding unit 153. The Huffman decoding unit 155 decodes the Huffman coded data stored in the storage device 154. The inverse quantization filter table 156 is a filter table in which inverse quantization values for inversely quantizing the data decoded by the Huffman decoding unit 155 are set. The inverse quantization unit 157 calculates
It has an inverse quantization filter table 156, and inversely quantizes the data decoded by the Huffman decoding unit 155 based on the inverse quantization value set in the inverse quantization filter table 156.

【0042】では、図7を参照して、フィルタテーブル
の量子化値及び逆量子化値の設定方法について説明す
る。
Next, with reference to FIG. 7, a method of setting the quantization value and the inverse quantization value of the filter table will be described.

【0043】図7は、フィルタテーブルに設定した量子
化値及び逆量子化値を示す図である。通常、画像の圧縮
処理のみを行うのであれば、量子化フィルタテーブル1
51と逆量子化フィルタテーブル156とにそれぞれ同
じ量子化値を設定すれば良いが、画像の拡大処理と圧縮
処理との融合処理においては、逆量子化フィルタテーブ
ル156には、量子化フィルタテーブル151に設定さ
れている図7(a)に示すような量子化値に、図3
(e)に示した画像の拡大処理に用いるフィルタ係数を
乗算した、図7(b)に示すような逆量子化値を設定す
る。
FIG. 7 is a diagram showing the quantization value and the inverse quantization value set in the filter table. Normally, if only image compression processing is performed, the quantization filter table 1
51 and the inverse quantization filter table 156 may be set to the same quantization value. However, in the fusion processing of the image enlargement processing and the compression processing, the inverse quantization filter table 156 includes the quantization filter table 151. The quantization value as shown in FIG.
An inverse quantization value as shown in FIG. 7B, which is multiplied by the filter coefficient used for the image enlargement processing shown in FIG.

【0044】このように、逆量子化する際に必要な逆量
子化フィルタテーブル156に対して、画像の拡大処理
をする際に必要なフィルタテーブルの係数を乗算したフ
ィルタを用いることで、画像処理装置150において、
画像の圧縮処理を行うのみならずに画像の拡大処理を融
合して行う。
As described above, by using a filter obtained by multiplying the inverse quantization filter table 156 required for inverse quantization by the coefficient of the filter table required for performing image enlargement processing, image processing is performed. In the device 150,
In addition to performing image compression processing, image enlargement processing is integrated.

【0045】では、図8を参照して、画像の拡大処理と
圧縮処理との融合処理の流れを説明する。
Next, the flow of the fusion process of the image enlargement process and the compression process will be described with reference to FIG.

【0046】図8は、画像の拡大処理と圧縮処理との融
合処理の流れを示すフローチャートである。
FIG. 8 is a flowchart showing the flow of the fusion process of the image enlargement process and the compression process.

【0047】画像入力部101から画像信号を入力し
(ステップ301)、ブロック生成部102は入力した
画像信号を縦横所定の画素数からなるブロックとして生
成する(ステップ302)。DCT変換部103は、ブ
ロック生成部102でブロック化された画像をDCT演
算を行うことで、DCT係数を生成し(ステップ30
3)、1次バッファ104はDCT係数を一時的に蓄積
する(ステップ304)。
An image signal is input from the image input unit 101 (step 301), and the block generation unit 102 generates the input image signal as a block having a predetermined number of vertical and horizontal pixels (step 302). The DCT transform unit 103 generates DCT coefficients by performing a DCT operation on the image divided into blocks by the block generating unit 102 (step 30).
3) The primary buffer 104 temporarily stores DCT coefficients (step 304).

【0048】量子化部152は、量子化フィルタテーブ
ル151を選択して(ステップ305)、量子化フィル
タテーブル151に設定されている量子化値に基づい
て、バッファ104に蓄積されているDCT係数を量子
化し(ステップ306)、ハフマン符号化153は量子
化部152により量子化されたデータをハフマン符号に
符号化し(ステップ307)、記憶装置154はハフマ
ン符号化部153により符号化されたハフマン符号デー
タを記憶する(ステップ308)。
The quantization unit 152 selects the quantization filter table 151 (step 305), and converts the DCT coefficients stored in the buffer 104 based on the quantization values set in the quantization filter table 151. The Huffman coding 153 quantizes the data quantized by the quantization unit 152 into a Huffman code (step 307), and the storage device 154 stores the Huffman code data coded by the Huffman coding unit 153. Is stored (step 308).

【0049】又、記憶装置154に記憶されているハフ
マン符号データを復号化する際は、ハフマン復号化部1
55は、記憶装置154に記憶されているハフマン符号
データを復号化して(ステップ309)、逆量子化部1
57は、逆量子化フィルタテーブル156を選択して
(ステップ310)、逆量子化フィルタテーブル156
に設定されている逆量子化値に基づいて、復号化したデ
ータを逆量子化し(ステップ311)、2次バッファ1
04は逆量子化したデータを一時的に蓄積する(ステッ
プ312)。
When decoding the Huffman code data stored in the storage device 154, the Huffman decoding unit 1
55 decodes the Huffman code data stored in the storage device 154 (Step 309), and
57 selects the inverse quantization filter table 156 (step 310), and executes the inverse quantization filter table 156.
The decoded data is inversely quantized based on the inversely quantized value set in (2) (step 311).
04 temporarily stores the dequantized data (step 312).

【0050】逆DCT変換部111は、2次バッファ1
10に蓄積されている逆量子化したデータに対して逆D
CT演算を行い、拡大ブロックを生成して(ステップ3
13)、画像出力部112は逆DCT変換部111で拡
大された画像信号を出力する(ステップ314)。
The inverse DCT transform section 111 has the secondary buffer 1
10 for the inversely quantized data stored in
Perform CT operation to generate an enlarged block (step 3
13), the image output unit 112 outputs the image signal enlarged by the inverse DCT transform unit 111 (step 314).

【0051】このような融合処理においても、複数の量
子化フィルタテーブル151と逆量子化フィルタテーブ
ル156を用意して、上述のエッジ検出部105により
ブロック生成部102でブロック化された画像信号の拡
大処理の対象となるブロックに、急峻なエッジ部分が含
まれているか否かを検出し、このエッジ検出部105に
より出力されるエッジ検出信号に基づいて、そのブロッ
クを処理する為に最適な量子化フィルタテーブル151
と逆量子化フィルタテーブル156とを選択するように
構成を拡張しても良い。なお、その際に量子化フィルタ
テーブル151に設定される量子化値と逆量子化フィル
タテーブル156に設定される逆量子化値とを、それぞ
れ異なる値に設定しておく。
Also in such a fusion process, a plurality of quantization filter tables 151 and inverse quantization filter tables 156 are prepared, and the edge detection unit 105 expands the image signal blocked by the block generation unit 102. Detects whether a block to be processed includes a steep edge portion, and performs optimal quantization for processing the block based on an edge detection signal output by the edge detection unit 105. Filter table 151
And the inverse quantization filter table 156 may be extended. At this time, the quantization value set in the quantization filter table 151 and the inverse quantization value set in the inverse quantization filter table 156 are set to different values.

【0052】[0052]

【発明の効果】本発明においては、逆DCT係数を生成
する際に、ブロックの低域側にDCT係数にフィルタ係
数を乗じた値、又広域側に零をそれぞれ設定して逆DC
T係数を生成するように構成したので、急峻なエッジが
含まれている多値画像の拡大処理をする際に、リンギン
グの発生を抑止して、高画質な画像を取得することがで
きる。
According to the present invention, when the inverse DCT coefficient is generated, the value obtained by multiplying the DCT coefficient by the filter coefficient on the lower side of the block and zero on the wider side are set.
Since the configuration is such that the T coefficient is generated, it is possible to suppress the occurrence of ringing and obtain a high-quality image when performing enlargement processing of a multivalued image including a steep edge.

【0053】又、予め複数のフィルタテーブルを用意し
ておき、画像のブロックの特徴を分析して、ブロックの
特徴に最も適したフィルタ係数を随時選択しながら画像
の拡大処理を行えることができる為、急峻なエッジが含
まれている多値画像の拡大処理をする際に、画質の劣化
を一層抑えて、高画質な画像を取得することできる。
Further, since a plurality of filter tables are prepared in advance, the characteristics of the blocks of the image are analyzed, and the image expansion processing can be performed while selecting the filter coefficient most suitable for the characteristics of the blocks as needed. In addition, when a multi-valued image including a steep edge is enlarged, a high-quality image can be obtained while further suppressing deterioration of the image quality.

【0054】又、画像の圧縮処理を行う為に、画像デー
タの量子化値を設定した量子化フィルタテーブルと逆量
子化フィルタテーブルに対して、画像の拡大処理を行う
フィルタ係数を考慮した値を設定することで、画像の圧
縮処理を行う回路に、拡大処理を行う為の回路を新たに
追加せずに圧縮処理と拡大処理とを融合することができ
る為、回路構成を簡易にすることができる。
Further, in order to perform image compression processing, a value in consideration of a filter coefficient for performing image expansion processing is added to a quantization filter table and an inverse quantization filter table in which quantization values of image data are set. By setting, it is possible to combine the compression processing and the enlargement processing without newly adding a circuit for performing the enlargement processing to the circuit performing the image compression processing, thereby simplifying the circuit configuration. it can.

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

【図1】画像処理装置100の既略構成を示すブロック
図。
FIG. 1 is a block diagram showing a simplified configuration of an image processing apparatus 100.

【図2】画像の拡大処理をする一連の流れを示す図。FIG. 2 is a diagram showing a series of flows for performing image enlargement processing.

【図3】フィルタテーブルのフィルタ係数を設計する一
連の流れを示す図。
FIG. 3 is a view showing a series of flows for designing a filter coefficient of a filter table.

【図4】画像の拡大処理をする一連の流れを示すフロー
チャート。
FIG. 4 is a flowchart showing a series of flows for performing image enlargement processing.

【図5】画像の拡大処理におけるフィルタ係数の乗算処
理の流れを示すフローチャート。
FIG. 5 is a flowchart showing the flow of filter coefficient multiplication processing in image enlargement processing.

【図6】画像処理装置150の既略構成を示すブロック
図。
FIG. 6 is a block diagram showing a simplified configuration of the image processing apparatus 150.

【図7】フィルタテーブルに設定した量子化値及び逆量
子化値を示す図。
FIG. 7 is a diagram showing a quantization value and an inverse quantization value set in a filter table.

【図8】画像の拡大処理と圧縮処理との融合処理の流れ
を示すフローチャート。
FIG. 8 is a flowchart showing a flow of a fusion process of an image enlargement process and a compression process.

【図9】従来における画像の拡大方法を示す第1の図。FIG. 9 is a first diagram showing a conventional image enlarging method.

【図10】従来における画像の拡大方法を示す第2の
図。
FIG. 10 is a second diagram showing a conventional image enlarging method.

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

100 画像処理装置 101 画像入力部 102 ブロック生成部 103 DCT変換部 104 1次バッファ 105 エッジ検出部 106 エッジ用フィルタテーブル 107 非エッジ用フィルタテーブル 108 係数制御部 109 乗算部 110 2次バッファ 111 逆DCT変換部 112 画像出力部 150 画像処理装置 151 量子化部 152 量子化フィルタテーブル 153 ハフマン符号化部 154 記憶装置 155 ハフマン復号化部 156 逆量子化部 157 逆量子化フィルタテーブル REFERENCE SIGNS LIST 100 Image processing device 101 Image input unit 102 Block generation unit 103 DCT conversion unit 104 Primary buffer 105 Edge detection unit 106 Edge filter table 107 Non-edge filter table 108 Coefficient control unit 109 Multiplication unit 110 Secondary buffer 111 Inverse DCT transformation Unit 112 image output unit 150 image processing device 151 quantization unit 152 quantization filter table 153 Huffman coding unit 154 storage device 155 Huffman decoding unit 156 inverse quantization unit 157 inverse quantization filter table

フロントページの続き Fターム(参考) 5B057 AA11 CA08 CA12 CA16 CB08 CB12 CB16 CD06 CE06 CG05 CH07 CH09 DB02 DB09 DC16 5C023 AA02 AA38 CA02 5C059 KK00 LA00 MA23 ME02 SS28 TA69 TB08 TC01 TD08 UA02 UA05 UA38 5C076 AA21 AA36 BA06 BA07 BA09 BB40 5C078 AA04 BA57 CA14 CA21 DA01 DA02 DB04 Continued on the front page F-term (reference) 5B057 AA11 CA08 CA12 CA16 CB08 CB12 CB16 CD06 CE06 CG05 CH07 CH09 DB02 DB09 DC16 5C023 AA02 AA38 CA02 5C059 KK00 LA00 MA23 ME02 SS28 TA69 TB08 TC01 TD08 UA02 UA05 BA21A075C AA04 BA57 CA14 CA21 DA01 DA02 DB04

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 多値画像の拡大処理を行う画像処理方法
において、 前記多値画像の画像信号を複数の画素からなるブロック
単位で読み出し第1のブロックを生成し、 前記第1のブロックに対してDCT変換を行い第1のD
CT係数を生成し、 前記第1のブロックを所定倍した第2のブロックの低域
側に前記第1のDCT係数に所定の定数を乗じた値を設
定するとともに、高域側に零を設定した第2のDCT係
数を生成し、 該第2のDCT係数に逆DCT変換を行い、前記多値画
像の拡大処理を行うことを特徴とする画像処理方法。
1. An image processing method for performing an enlargement process of a multi-valued image, wherein an image signal of the multi-valued image is read out in units of blocks composed of a plurality of pixels to generate a first block, and a first block is generated. To perform a DCT transform to obtain the first D
A CT coefficient is generated, and a value obtained by multiplying the first DCT coefficient by a predetermined constant is set on a low frequency side of a second block obtained by multiplying the first block by a predetermined number, and zero is set on a high frequency side. An image processing method comprising: generating a second DCT coefficient, performing an inverse DCT transform on the second DCT coefficient, and performing an enlargement process on the multi-valued image.
【請求項2】 前記定数は、 前記第1のブロックを最近隣内挿法により拡大して第3
のブロックを生成し、 前記第3のブロックに対してDCT変換を行い第3のD
CT係数を生成し、 前記第1のブロックと前記第3のブロックとのそれぞれ
対応する画素に設定されているDCT係数の比率に基い
て生成されることを特徴とする請求項1記載の画像処理
方法。
2. The constant is obtained by enlarging the first block by nearest neighbor interpolation to obtain a third block.
And a DCT transform is performed on the third block to obtain a third D
The image processing apparatus according to claim 1, wherein a CT coefficient is generated, and the CT coefficient is generated based on a ratio of DCT coefficients set to pixels corresponding to the first block and the third block, respectively. Method.
【請求項3】 前記第2のDCT係数は、 前記第1のブロックの特徴を分析し、該分析結果に基い
て、予め少なくとも2つ以上記憶した異なる定数の中か
ら、前記第1のブロックの特徴に対応した定数を選択し
て生成されることを特徴とする請求項1記載の画像処理
方法。
3. The second DCT coefficient is obtained by analyzing characteristics of the first block and, based on a result of the analysis, selecting at least two or more different constants stored in advance from the first block. 2. The image processing method according to claim 1, wherein the constant is generated by selecting a constant corresponding to the characteristic.
【請求項4】 前記第1のDCT係数に所定の定数を乗
じる量子化を行い、 該量子化した前記第1のDCT係数をエントロピ符号化
して圧縮処理を施し、 該エントロピ符号化した第1のDCT係数を復号化する
際に、 該エントロピ符号化した第1のDCT係数を復号化し
て、量子化された前記第1のDCT係数を生成し、前記
第2のブロックの低域側に、量子化された前記第1のD
CT係数に第1の所定の定数及び第2の所定の定数を乗
じた値を設定するとともに、高域側に零を設定した第2
のDCT係数を生成し、 該第2のDCT係数に逆DCT変換を行い、 前記多値画像の拡大処理に圧縮処理を融合して行うこと
を特徴とする請求項1記載の画像処理方法。
4. Performing quantization by multiplying the first DCT coefficient by a predetermined constant, performing entropy coding on the quantized first DCT coefficient, performing compression processing, and performing processing on the entropy-coded first DCT coefficient. When decoding the DCT coefficient, the entropy-encoded first DCT coefficient is decoded to generate the quantized first DCT coefficient, and a quantized first DCT coefficient is provided on a low-frequency side of the second block. Said first D
A value obtained by multiplying the CT coefficient by a first predetermined constant and a second predetermined constant is set, and the second is set to zero on the high frequency side.
2. The image processing method according to claim 1, wherein the DCT coefficient is generated, inverse DCT transformation is performed on the second DCT coefficient, and compression processing and fusion processing are performed in combination with the multi-value image expansion processing.
【請求項5】 多値画像の拡大処理を行う画像処理装置
において、 前記多値画像の画像信号を複数の画素からなるブロック
単位で読み出し第1のブロックを生成する第1のブロッ
ク生成手段と、 前記第1のブロック生成手段により生成された前記第1
のブロックに対してDCT変換を行い第1のDCT係数
を生成する第1のDCT係数生成手段と、 前記第1のブロックを所定倍した第2のブロックの低域
側に前記第1のDCT係数に所定の定数を乗じた値を設
定するとともに、高域側に零を設定した第2のDCT係
数を生成する第2のDCT係数生成手段と、 前記第2のDCT係数生成手段により生成された第2の
DCT係数に逆DCT変換を行い、前記多値画像の拡大
処理を行う逆DCT変換手段とを具備することを特徴と
する画像処理装置。
5. An image processing apparatus for performing an enlargement process of a multi-valued image, wherein: a first block generation unit that reads out an image signal of the multi-valued image in a block unit including a plurality of pixels to generate a first block; The first block generated by the first block generating unit;
First DCT coefficient generating means for performing a DCT transformation on the block of the first block to generate a first DCT coefficient; and a first DCT coefficient on a low-frequency side of a second block obtained by multiplying the first block by a predetermined number. A second DCT coefficient generating means for setting a value obtained by multiplying the second DCT coefficient by a predetermined constant, and generating a second DCT coefficient with zero set on the high frequency side; An image processing apparatus comprising: an inverse DCT transform unit that performs an inverse DCT transform on a second DCT coefficient and performs an enlargement process on the multi-valued image.
JP2000222500A 2000-07-24 2000-07-24 Image processing method and apparatus Expired - Fee Related JP3775180B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000222500A JP3775180B2 (en) 2000-07-24 2000-07-24 Image processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000222500A JP3775180B2 (en) 2000-07-24 2000-07-24 Image processing method and apparatus

Publications (2)

Publication Number Publication Date
JP2002044423A true JP2002044423A (en) 2002-02-08
JP3775180B2 JP3775180B2 (en) 2006-05-17

Family

ID=18716733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000222500A Expired - Fee Related JP3775180B2 (en) 2000-07-24 2000-07-24 Image processing method and apparatus

Country Status (1)

Country Link
JP (1) JP3775180B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100930436B1 (en) * 2002-10-17 2009-12-08 (주)휴맥스 홀딩스 Image Resizing Method Using Discrete Cosine Inverse Transform
JP2015011598A (en) * 2013-07-01 2015-01-19 有限会社ビーテック Method for generating image signal interpolation signal
KR20150141475A (en) * 2014-06-10 2015-12-18 한화테크윈 주식회사 Auto focusing filter system based on discrete cosine transform

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100930436B1 (en) * 2002-10-17 2009-12-08 (주)휴맥스 홀딩스 Image Resizing Method Using Discrete Cosine Inverse Transform
JP2015011598A (en) * 2013-07-01 2015-01-19 有限会社ビーテック Method for generating image signal interpolation signal
KR20150141475A (en) * 2014-06-10 2015-12-18 한화테크윈 주식회사 Auto focusing filter system based on discrete cosine transform
KR102130758B1 (en) * 2014-06-10 2020-07-06 한화테크윈 주식회사 Auto focusing filter system based on discrete cosine transform

Also Published As

Publication number Publication date
JP3775180B2 (en) 2006-05-17

Similar Documents

Publication Publication Date Title
JP3461821B2 (en) Memory management system and memory management method
US20020186888A1 (en) Data Processing device and data processing method and recorded medium
US20020122489A1 (en) Image encoding device, electronic camera and recording medium for image encoding program
JPH07107300A (en) Picture encoding device
JP2006279397A (en) Image emphasizing apparatus
JPH05219385A (en) Picture compression expansion method and device
US6856706B2 (en) Image processing method and system, and storage medium
JPH08294119A (en) Image coder/decoder
US6292513B1 (en) Image signal conversion apparatus and method
JP2002044423A (en) Image processor and processing method
JP2006246351A (en) Image coding unit and image decoding unit
JP4315980B2 (en) Image compression apparatus, image compression method, and image compression program product
JPH0951504A (en) Image encoding device and image decoding device
JP4598115B2 (en) Image processing method and apparatus, and recording medium
WO2000056060A1 (en) Image processing device, image processing method, and recorded medium
US7099523B2 (en) Method and system for scaling a signal sample rate
JP2922598B2 (en) Image coding method
JP3709106B2 (en) Image compression and decompression device
JPH10191338A (en) Image encoder and image decoder
JP4250553B2 (en) Image data processing method and apparatus
JPWO2009130942A1 (en) Image encoding apparatus and image decoding apparatus
JPH1188183A (en) Wavelet converter, its method, wavelet inverse converter, its method, image coder, its method, image decoder and its method
JPH0775066A (en) Picture signal converter
JPH09205552A (en) Image coding method and device therefor
JPH0954825A (en) Method and device for processing image

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040218

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051026

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051108

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051222

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: 20060131

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060213

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: 20100303

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110303

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120303

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees