JPH10294859A - Image processing unit, image processing method, image reader, copying machine and recording medium - Google Patents

Image processing unit, image processing method, image reader, copying machine and recording medium

Info

Publication number
JPH10294859A
JPH10294859A JP9104729A JP10472997A JPH10294859A JP H10294859 A JPH10294859 A JP H10294859A JP 9104729 A JP9104729 A JP 9104729A JP 10472997 A JP10472997 A JP 10472997A JP H10294859 A JPH10294859 A JP H10294859A
Authority
JP
Japan
Prior art keywords
image
processing
enlargement
unit
image data
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
JP9104729A
Other languages
Japanese (ja)
Other versions
JP3225884B2 (en
Inventor
Toshiyuki Yamada
俊之 山田
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 JP10472997A priority Critical patent/JP3225884B2/en
Publication of JPH10294859A publication Critical patent/JPH10294859A/en
Application granted granted Critical
Publication of JP3225884B2 publication Critical patent/JP3225884B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Processing (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain an image with high image quality even in the case of magnification and reduction when both digital filter processing and magnification reduction processing are applied to an input image. SOLUTION: When a high magnification reduction rate SCR higher than a threshold level TH is designated by a UI (user interface) 2, a select signal generating section 67 outputs a selection signal SL to select an A input and each of selectors 64-66 selects the A input. Thus, image data are processed in the order of digital filter processing and magnification reduction processing. On the other hand, when the UI 2 designates a magnification reduction rate SCR lower than the threshold level TH, the select signal generating section 67 outputs a selection signal SL to select a B input and each of the selectors 64-66 selects the B input. Thus, the image processing is applied to the image data in the order of magnification reduction processing and digital filter processing.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、画像処理装置、
画像処理方法、画像読取装置、複写機および記録媒体に
関する。
The present invention relates to an image processing apparatus,
The present invention relates to an image processing method, an image reading device, a copying machine, and a recording medium.

【0002】[0002]

【従来の技術】ディジタル複写機等においては、原稿読
取り部で原稿を読み取ると、その読取り画像をディジタ
ル値に変換した後、シェーディング補正を行い、必要に
応じてディジタルフィルタ処理や拡大縮小処理を施した
りする。シェーディング補正においては、原稿照明用光
源、読取りレンズ、ラインセンサ等が原因で発生する濃
度ムラを補正する。ディジタルフィルタ処理では、原稿
の種類に応じてフィルタ処理をする。すなわち、写真原
稿の場合には濃度が滑らかに変化する方が望ましいの
で、高周波成分を低減するような平滑化のフィルタ処理
を施す。一方、文字原稿の場合には文字がくっきりと現
れる方が望ましいので、高周波成分を強調するようなエ
ッジ強調のフィルタ処理を施す。拡大縮小処理では、画
素の補間あるいは間引きにより画像の拡大縮小が行われ
る。こうした処理を行う装置に関する従来技術として
は、例えば特開平3−40179号や特開平2−132
967号が知られている。
2. Description of the Related Art In a digital copying machine or the like, when a document is read by a document reading unit, the read image is converted into a digital value, shading correction is performed, and digital filter processing and enlargement / reduction processing are performed as necessary. Or In the shading correction, density unevenness caused by a document illumination light source, a reading lens, a line sensor, and the like is corrected. In digital filter processing, filter processing is performed according to the type of the document. That is, in the case of a photographic original, it is desirable that the density changes smoothly. Therefore, a smoothing filter process for reducing high-frequency components is performed. On the other hand, in the case of a character original, it is desirable that the characters appear clearly, so that an edge emphasizing filter process for emphasizing high frequency components is performed. In the enlargement / reduction processing, the image is enlarged / reduced by interpolation or thinning out of pixels. As a prior art relating to an apparatus for performing such processing, for example, JP-A-3-40179 or JP-A-2-132
No. 967 is known.

【0003】[0003]

【発明が解決しようとする課題】ところで、例えば特開
平3−40179号のように拡大縮小処理の後段でディ
ジタルフィルタ処理を行う構成においては、拡大処理の
後にディジタルフィルタによるエッジ強調処理を行って
も、拡大処理の濃度補間により文字のエッジ部分の周波
数が低くなるので、エッジ強調がなされず、ぼけた画像
になるという問題があった。一方、例えば特開平2−1
32967号のようにディジタルフィルタ処理の後段で
拡大縮小処理を行う構成においては、ディジタルフィル
タによるエッジ強調処理によって網点の画素毎の濃度差
が拡大された後に縮小処理による画素の間引きが行われ
ることになり、網点部分の縮小処理での網点周波数と縮
小処理の補間対象画素の周期のずれによるモアレ(縞模
様)が強調されるという問題があった。また、このモア
レを抑制するため拡大縮小処理部の前段に網点周波数を
下げる平滑化フィルタを設けることが考えられるが、ハ
ードウェアの追加を伴うのに加え、文字部分に対しても
平滑化処理が施されるため文字の画質劣化を招いてしま
う。
By the way, in a configuration in which digital filter processing is performed after the enlargement / reduction processing as disclosed in, for example, Japanese Patent Application Laid-Open No. H3-40179, it is possible to perform edge enhancement processing using a digital filter after enlargement processing. However, since the frequency of the edge portion of the character is lowered by the density interpolation in the enlargement process, there is a problem that the edge is not emphasized and the image becomes blurred. On the other hand, for example,
In a configuration in which enlargement / reduction processing is performed at a stage subsequent to digital filter processing as in No. 32967, pixels are thinned out by reduction processing after the density difference of each halftone dot pixel is enlarged by edge enhancement processing by the digital filter. Therefore, there is a problem that moire (striped pattern) due to a difference between a halftone dot frequency in a halftone dot reduction process and a cycle of a pixel to be interpolated in the reduction process is emphasized. In order to suppress this moiré, it is conceivable to provide a smoothing filter for lowering the halftone frequency in a stage preceding the enlargement / reduction processing unit. However, in addition to the addition of hardware, the smoothing processing is also performed for the character part. Is performed, the image quality of characters is deteriorated.

【0004】この発明は、このような背景の下になされ
たもので、入力画像に対してディジタルフィルタ処理と
拡大縮小処理の双方を施す場合に拡大、縮小のいずれに
おいても高画質な画像を得ることができるを提供するこ
とを目的としている。
The present invention has been made under such a background. When both digital filter processing and enlargement / reduction processing are performed on an input image, a high-quality image is obtained in both enlargement and reduction. It is intended to provide you with the ability.

【0005】[0005]

【課題を解決するための手段】上述した課題を解決する
ために、この発明は、入力されるディジタル画像データ
に対し指定された拡縮率で画像の拡大または縮小処理を
施す拡大縮小部と、前記ディジタル画像データに対しそ
の画像の種類に応じて平滑化またはエッジ強調のフィル
タ処理を施すディジタルフィルタ部とを備えた画像処理
装置において、前記指定された拡縮率に応じて、前記デ
ィジタル画像データに対し前記拡大縮小部と前記ディジ
タルフィルタ部のいずれの処理を先に実行するかを切り
換える切換手段を具備することを特徴としている。
In order to solve the above-mentioned problems, the present invention provides an enlargement / reduction section for performing an image enlargement or reduction process on input digital image data at a designated enlargement / reduction ratio; A digital filter unit for performing a smoothing or edge emphasizing filter process on the digital image data according to the type of the image. It is characterized by comprising switching means for switching which of the scaling unit and the digital filter unit is executed first.

【0006】[0006]

【発明の実施の形態】以下、図面を参照して、この発明
の一実施形態について説明する。 A:実施形態 (1)実施形態の全体構成 図1は本発明の一実施形態にかかるディジタル複写機の
全体構成を示すブロック図である。図1において、1は
マイクロプロセッサ等からなる制御部であり、バスBU
Sを介し接続される装置各部を制御する。2は入力操作
を受け付けるUI(ユーザ・インタフェース)であり、
制御部1から供給されるメニュー表示情報や各種設定情
報を表示する液晶パネルと、入力操作を検出するタッチ
パネルセンサによって構成されている。操作者は、この
UI2を介し、複写指示、原稿種類(文字原稿か写真原
稿か)の指定、拡大縮小の倍率(以下、拡縮率SCRと
いう)の入力等を行う。なお、本実施形態において写真
原稿といった場合には文字原稿でない、あるいは主とし
て文字を含まない原稿という意味である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. A: Embodiment (1) Overall Configuration of Embodiment FIG. 1 is a block diagram showing the overall configuration of a digital copying machine according to an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a control unit including a microprocessor or the like, and a bus BU.
It controls each part of the device connected via S. Reference numeral 2 denotes a UI (user interface) for receiving an input operation;
The control unit 1 includes a liquid crystal panel that displays menu display information and various setting information supplied from the control unit 1, and a touch panel sensor that detects an input operation. Through the UI 2, the operator performs a copy instruction, a designation of a document type (a text document or a photo document), an input of a scaling ratio (hereinafter, referred to as a scaling ratio SCR), and the like. Note that, in the present embodiment, a photo original means a document which is not a character original or which does not mainly include characters.

【0007】また、3はCCD(Charge Coupled Devic
e)センサであり、図示しない光源と共働して原稿画像を
走査し画像信号を生成する。4はA/D(アナログ/デ
ィジタル)変換器であり、CCDセンサ3によって生成
される入力画像信号を256階調の濃度値を表す8ビッ
トのディジタル画像データに変換する。5はシェーディ
ング補正部であり、画像読み取り時に発生する入力画像
データの濃度ムラを補正する。
[0007] Reference numeral 3 denotes a CCD (Charge Coupled Device).
e) A sensor that scans a document image in cooperation with a light source (not shown) to generate an image signal. Reference numeral 4 denotes an A / D (analog / digital) converter, which converts an input image signal generated by the CCD sensor 3 into 8-bit digital image data representing a density value of 256 gradations. Reference numeral 5 denotes a shading correction unit that corrects density unevenness of input image data generated when reading an image.

【0008】6は画像処理部であり、UI2において指
定された原稿種類に応じて画像データのエッジ強調処理
または平滑化処理を施すとともに、UI2において指定
された拡縮率SCRに応じて画像データの拡大処理また
は縮小処理を施す。この画像処理部6の詳細については
後述する。
Reference numeral 6 denotes an image processing unit which performs edge enhancement processing or smoothing processing of the image data according to the type of the original specified by the UI 2 and enlarges the image data according to the scaling ratio SCR specified by the UI 2. Perform processing or reduction processing. Details of the image processing unit 6 will be described later.

【0009】7はページメモリであり、画像処理部6に
よって処理が施された後の入力画像データをページ単位
でビットマップ展開するためのRAM(Random Access M
emory)である。このディジタル複写機は、画像処理部6
によって処理された入力画像データを直接出力するモー
ドと、一旦ページメモリ7に格納し必要に応じて読み出
して出力するモードとを有している。
Reference numeral 7 denotes a page memory, which is a RAM (Random Access Memory) for bitmap-developing the input image data processed by the image processing unit 6 in page units.
emory). This digital copying machine has an image processing unit 6
There is a mode in which the input image data processed by the above is directly output, and a mode in which the input image data is temporarily stored in the page memory 7 and read and output as needed.

【0010】8はガンマ補正部であり、画像処理部6か
ら直接供給される画像データまたはページメモリ7から
読み出される画像データに対し後述する画像出力部10
の特性に合うよう階調補正を行う。9はスクリーン生成
部であり、ページメモリ7からガンマ補正部8を介し供
給される画像データに基づき感光体の露光を行い該画像
データに対応した静電潜像を形成する。10は画像出力
部であり、上記静電潜像に対応したトナー画像を感光体
上に形成し該トナー画像を紙等の印刷媒体に転写し定着
させた後出力する。
Reference numeral 8 denotes a gamma correction unit, which outputs image data supplied directly from the image processing unit 6 or image data read from the page memory 7 to an image output unit 10 described later.
Is performed so as to match the characteristics of (1). Reference numeral 9 denotes a screen generation unit that exposes the photoconductor based on image data supplied from the page memory 7 via the gamma correction unit 8, and forms an electrostatic latent image corresponding to the image data. An image output unit 10 forms a toner image corresponding to the electrostatic latent image on a photoconductor, transfers the toner image to a printing medium such as paper, fixes the toner image, and outputs the image.

【0011】(2)画像処理部6の詳細 次に、画像処理部6の詳細について説明する。図2は画
像処理部6の構成を示すブロック図である。同図におい
て、61はディジタルフィルタ部であり、UI2におい
て指定された原稿種類に応じて画像データのエッジ強調
処理または平滑化処理を施す。また、62は拡縮部であ
り、UI2において指定された拡縮率SCRに応じて画
像データの拡大処理または縮小処理を施す。これらディ
ジタルフィルタ部61と拡縮部62は、ワークエリアと
して入力画像データを1ライン単位で記憶するラインバ
ッファ(後述する)を各々備えている。ディジタルフィ
ルタ部61と拡縮部62の詳細については後述する。
(2) Details of Image Processing Unit 6 Next, details of the image processing unit 6 will be described. FIG. 2 is a block diagram illustrating a configuration of the image processing unit 6. In the figure, reference numeral 61 denotes a digital filter unit, which performs edge enhancement processing or smoothing processing of image data according to the type of document specified on the UI 2. An enlargement / reduction unit 62 performs enlargement or reduction processing of image data according to the enlargement / reduction ratio SCR specified on the UI 2. Each of the digital filter unit 61 and the enlargement / reduction unit 62 includes a line buffer (described later) that stores input image data in units of lines as a work area. The details of the digital filter section 61 and the scaling section 62 will be described later.

【0012】64〜66は各々セレクタであり、A,B
2つの入力端から入力される画像データのいずれか一方
をセレクト信号発生部67から供給される選択信号SL
に応じて選択し出力する。セレクタ64の入力端Aとセ
レクタ65の入力端Bには、シェーディング補正部5の
出力が供給されている。また、セレクタ64の出力はデ
ィジタルフィルタ部61に入力され、セレクタ65の出
力は拡縮部62に入力されている。さらに、ディジタル
フィルタ部61の出力は、セレクタ65の入力端Aとセ
レクタ66の入力端Bに入力されている。一方、拡縮部
62の出力は、セレクタ64の入力端Bとセレクタ66
の入力端Aに入力されている。また、セレクタ66の出
力は、図1に示すページメモリ7またはガンマ補正部8
に転送される。
Reference numerals 64 to 66 denote selectors, respectively, A and B
Either one of the image data input from the two input terminals is used as the selection signal SL supplied from the selection signal generation unit 67.
Select and output according to. The output of the shading correction unit 5 is supplied to the input terminal A of the selector 64 and the input terminal B of the selector 65. The output of the selector 64 is input to the digital filter unit 61, and the output of the selector 65 is input to the scaling unit 62. Further, the output of the digital filter section 61 is input to the input terminal A of the selector 65 and the input terminal B of the selector 66. On the other hand, the output of the scaling unit 62 is connected to the input terminal B of the selector 64 and the selector 66.
Is input to the input terminal A of the. The output of the selector 66 is supplied to the page memory 7 or the gamma correction unit 8 shown in FIG.
Is forwarded to

【0013】図2において、セレクト信号発生部67
は、UI2において指定された拡縮率SCRとしきい値
設定部68において設定されているしきい値THとを比
較し、該比較結果に応じて各セレクタ64〜66に選択
信号SLを供給する。すなわち、指定された拡縮率SC
Rがしきい値THより高い場合、各セレクタ64〜66
にA入力を選択させる選択信号SLを出力し、指定され
た拡縮率SCRがしきい値THより低い場合、各セレク
タ64〜66にB入力を選択させる選択信号SLを出力
する。
In FIG. 2, select signal generating section 67
Compares the enlargement / reduction ratio SCR specified in the UI 2 with the threshold value TH set in the threshold value setting unit 68, and supplies a selection signal SL to each of the selectors 64 to 66 according to the comparison result. That is, the designated scaling ratio SC
When R is higher than the threshold value TH, each of the selectors 64-66
Outputs a selection signal SL that causes the selectors 64 to 66 to select the B input when the designated scaling ratio SCR is lower than the threshold value TH.

【0014】このような構成により、UI2においてし
きい値THより高い拡縮率SCRが指定されると、セレ
クト信号発生部67からA入力を選択させる選択信号S
Lが出力され、各セレクタ64〜66はA入力を選択す
る。これにより、シェーディング補正部6から供給され
る画像データは、セレクタ64、ディジタルフィルタ部
61、セレクタ65、拡縮部62およびセレクタ66の
経路をたどる。この結果、画像データは、ディジタルフ
ィルタ処理、拡大処理の順に画像処理が施される。な
お、ここでいう拡大処理とは、しきい値THより拡縮率
SCRが高いという意味での拡大処理であって、設定さ
れるしきい値THが100%より低い場合には一部の縮
小処理も含まれる。
With such a configuration, when the enlargement / reduction ratio SCR higher than the threshold value TH is specified in the UI 2, the selection signal S for selecting the A input from the selection signal generation unit 67 is selected.
L is output, and each of the selectors 64-66 selects the A input. Accordingly, the image data supplied from the shading correction unit 6 follows the path of the selector 64, the digital filter unit 61, the selector 65, the scaling unit 62, and the selector 66. As a result, the image data is subjected to image processing in the order of digital filter processing and enlargement processing. Note that the enlargement process here is an enlargement process in the sense that the enlargement / reduction ratio SCR is higher than the threshold value TH. When the set threshold value TH is lower than 100%, some of the reduction processes are performed. Is also included.

【0015】一方、UI2においてしきい値THより低
い拡縮率SCRが指定されると、セレクト信号発生部6
7からB入力を選択させる選択信号SLが出力され、各
セレクタ64〜66はB入力を選択する。これにより、
シェーディング補正部6から供給される画像データは、
セレクタ65、拡縮部62、セレクタ64、ディジタル
フィルタ部61およびセレクタ66の経路をたどる。こ
の結果、画像データは、縮小処理、ディジタルフィルタ
処理の順に画像処理が施される。なお、ここでいう縮小
処理とは、しきい値THより拡縮率SCRが低いという
意味での縮小処理であって、設定されるしきい値THが
100%より高い場合には一部の拡大処理も含まれる。
On the other hand, when the enlargement / reduction ratio SCR lower than the threshold value TH is designated in the UI 2, the select signal generator 6
7, a selection signal SL for selecting the B input is output, and each of the selectors 64 to 66 selects the B input. This allows
The image data supplied from the shading correction unit 6 is
The path of the selector 65, the scaling unit 62, the selector 64, the digital filter unit 61, and the selector 66 is followed. As a result, the image data is subjected to image processing in the order of reduction processing and digital filter processing. Here, the reduction process is a reduction process in the sense that the enlargement / reduction ratio SCR is lower than the threshold value TH. When the set threshold value TH is higher than 100%, a part of the enlargement process is performed. Is also included.

【0016】(3)ディジタルフィルタ部61の詳細 次に、ディジタルフィルタ部61の詳細について説明す
る。図3は、ディジタルフィルタ部61の構成を示すブ
ロック図である。同図において、611,612はFI
FO(先入れ先出しメモリ)であり、各々入力画素を1
ライン分記憶し1ラインに相当する時間だけ遅らせて出
力する。これらFIFO611,612が前述のディジ
タルフィルタ部61が備えるラインバッファに相当す
る。また、613〜618は入力画素を1クロック(1
画素に相当する時間)だけ遅らせるラッチである。ま
ず、入力画素はFIFO611およびラッチ613に入
力される。FIFO611は、入力画素を1ライン遅ら
せた後FIFO612およびラッチ615に出力する。
FIFO612は、入力画素をさらに1ライン遅らせた
後ラッチ617に出力する。一方、ラッチ613,61
5,617は、それぞれの入力画素を1クロック遅らせ
た後ラッチ614,616,618に出力する。ラッチ
614,616,618は、さらにそれぞれの入力画素
を1クロック遅らせて出力する。
(3) Details of Digital Filter Unit 61 Next, details of the digital filter unit 61 will be described. FIG. 3 is a block diagram showing a configuration of the digital filter unit 61. In the figure, 611 and 612 are FIs.
FO (First-In-First-Out Memory), where each input pixel is 1
The data is stored for the number of lines, and output with a delay corresponding to the time corresponding to one line. The FIFOs 611 and 612 correspond to the line buffers included in the digital filter unit 61 described above. Reference numerals 613 to 618 denote input pixels for one clock (1
This is a latch that delays by a time corresponding to a pixel. First, an input pixel is input to the FIFO 611 and the latch 613. The FIFO 611 outputs the input pixel to the FIFO 612 and the latch 615 after delaying the input pixel by one line.
The FIFO 612 outputs the input pixel to the latch 617 after further delaying the input pixel by one line. On the other hand, the latches 613 and 61
5, 617 delays each input pixel by one clock and then outputs to the latches 614, 616, 618. The latches 614, 616, 618 further delay each input pixel by one clock and output.

【0017】こうして、入力画像データについて3×3
の画素ウィンドウが生成される。すなわち、図4に示す
ように、FIFO612の出力d02、ラッチ617の
出力d01およびラッチ618の出力d00によって1
ライン目の3画素が構成され、FIFO611の出力d
12、ラッチ615の出力d11およびラッチ616の
出力d10によって2ライン目の3画素が構成され、最
後に入力された画素d22、ラッチ613の出力d21
およびラッチ614の出力d20によって3ライン目の
3画素が構成される。図5はこのような画素ウィンドウ
の生成過程をタイムチャートによって示したものであ
る。同図において、Di,jはウィンドウの構成画素を
表し、iはライン番号をjはカラム番号を示している。
この図に示すように、画素ウィンドウWは新たな入力画
素Di,jが供給される毎に順次遷移していく。
Thus, the input image data is 3 × 3
Are generated. That is, as shown in FIG. 4, 1 is determined by the output d02 of the FIFO 612, the output d01 of the latch 617, and the output d00 of the latch 618.
The three pixels on the line are formed, and the output d of the FIFO 611
12, the output d11 of the latch 615 and the output d10 of the latch 616 constitute the third pixel on the second line, and the pixel d22 input last and the output d21 of the latch 613
And the output d20 of the latch 614 forms the third pixel on the third line. FIG. 5 is a time chart showing a process of generating such a pixel window. In the figure, Di, j represents the constituent pixels of the window, i represents the line number, and j represents the column number.
As shown in this figure, the pixel window W sequentially transitions each time a new input pixel Di, j is supplied.

【0018】さて再び図3に戻って回路後段を説明す
る。同図において、加算器621〜623、除算器62
4,625、乗算器626〜628およびリミット回路
629は、上述した回路前段において生成された3×3
の画素ウィンドウに対し、予め設定されたフィルタ係数
a〜cに応じて平滑化またはエッジ強調の処理を施す。
フィルタ係数a〜cは、図4に示す画素ウィンドウの各
構成画素に対し図6のように対応しており、平滑化の場
合とエッジ強調の場合とではそれぞれ例えば図7に示す
ような値が設定される。
Returning to FIG. 3, the latter stage of the circuit will be described. In the figure, adders 621 to 623, a divider 62
4,625, the multipliers 626 to 628 and the limit circuit 629 are the 3 × 3
Are subjected to smoothing or edge emphasis processing in accordance with preset filter coefficients a to c.
The filter coefficients a to c correspond to the respective constituent pixels of the pixel window shown in FIG. 4 as shown in FIG. 6. In the case of smoothing and the case of edge enhancement, for example, the values as shown in FIG. Is set.

【0019】ここで、図8は回路後段の動作を示すタイ
ムチャートである。以下、この図8と図3を参照し、回
路後段の動作を説明する。まず、ウィンドウを構成する
画素d20、d00、d02およびd22の値は、加算
器621において加算され(信号dataCi)、さら
に除算器624によって2ビットシフトされることによ
り1/4倍される(信号dataCi/4)。同様に、
ウィンドウを構成する画素画素d12、d21、d10
およびd01の値は、加算器621において加算され
(信号dataBi)、除算器625によって2ビット
シフトされることにより1/4倍される(信号data
Bi/4)。
FIG. 8 is a time chart showing the operation at the subsequent stage of the circuit. Hereinafter, the operation of the subsequent stage of the circuit will be described with reference to FIGS. First, the values of the pixels d20, d00, d02, and d22 constituting the window are added in the adder 621 (signal dataCi), and further shifted by 2 bits by the divider 624 to be multiplied by 1/4 (signal dataCi). / 4). Similarly,
Pixels d12, d21, d10 constituting a window
And the value of d01 are added in an adder 621 (signal dataBi), and are shifted by 2 bits by a divider 625 to be multiplied by 1/4 (signal data).
Bi / 4).

【0020】そして、除算器624の出力dataCi
/4は、乗算器626において係数cが乗算され(信号
dCi)、除算器625の出力dataBi/4は、乗
算器628において係数bが乗算される(信号dB
i)。また、ウィンドウ中央の画素d11の値(信号d
ataAi)は、乗算器627において係数aが乗算さ
れる(信号dAi)。さらに、これら乗算器626〜6
28の出力dCi,dBi,dAiは加算器629にお
いて加算され(dOUTi)、リミット回路629を経
て出力される(dOi)。リミット回路629では、加
算器269の出力dOUTiに対して以下のようにリミ
ットをかける。すなわち、dOUTi>255の場合、
dOi=255とし、dOUTi<0の場合、dOi=
0とする。
The output dataCi of the divider 624 is
/ 4 is multiplied by the coefficient c in the multiplier 626 (signal dCi), and the output data Bi / 4 of the divider 625 is multiplied by the coefficient b in the multiplier 628 (signal dB).
i). The value of the pixel d11 at the center of the window (signal d
ataAi) is multiplied by a coefficient a in a multiplier 627 (signal dAi). Furthermore, these multipliers 626-6
The outputs dCi, dBi, dAi of 28 are added in an adder 629 (dOUTi) and output via a limit circuit 629 (dOi). The limit circuit 629 limits the output dOUTi of the adder 269 as follows. That is, if dOUTi> 255,
When dOi = 255 and dOUTi <0, dOi = 255.
Set to 0.

【0021】このように、ディジタルフィルタ部61に
おいては、UI2において指定される原稿種類が写真原
稿の場合、平滑化に対応したフィルタ係数a〜c(図7
参照)が設定され、画像を滑らかに表現するよう平滑化
処理が施される。一方、指定される原稿種類が文字原稿
の場合、エッジ強調に対応したフィルタ係数a〜c(図
7参照)が設定され、文字の輪郭をシャープに表現する
ようエッジ強調処理が施される。
As described above, in the digital filter section 61, when the document type specified in the UI 2 is a photo document, the filter coefficients a to c corresponding to the smoothing (FIG. 7)
) Is set, and a smoothing process is performed to express the image smoothly. On the other hand, when the specified document type is a text document, filter coefficients a to c (see FIG. 7) corresponding to edge emphasis are set, and edge emphasis processing is performed so as to express the outline of the character sharply.

【0022】(4)拡縮部62の詳細 次に、図9〜図12を参照し、拡縮部62の詳細につい
て説明する。図9は、拡縮部62の構成を示すブロック
図であり、図10〜12は拡縮部62の動作を示すタイ
ミングチャートである。図9において、拡縮部62は、
クロック生成/タイミング制御部651、2入力2出力
のセレクタ661,662、2入力1出力のセレクタ6
63〜666、書込アドレスカウンタ671、読出アド
レスカウンタ672、SRAM673,674、バッフ
ァ675,676、補間回路680およびゲート690
によって構成されている。
(4) Details of the enlargement / reduction unit 62 Next, the details of the enlargement / reduction unit 62 will be described with reference to FIGS. FIG. 9 is a block diagram showing the configuration of the enlargement / reduction unit 62, and FIGS. 10 to 12 are timing charts showing the operation of the enlargement / reduction unit 62. In FIG. 9, the scaling unit 62 includes:
Clock generation / timing control section 651, 2-input 2-output selectors 661, 662, 2-input / 1-output selector 6
63 to 666, a write address counter 671, a read address counter 672, SRAMs 673 and 674, buffers 675 and 676, an interpolation circuit 680, and a gate 690.
It is constituted by.

【0023】クロック生成/タイミング制御部651に
は、1画素のタイミングをとる画素クロックVCLK、
1ラインのタイミングをとるライン信号VVLD、画像
出力のタイミングをとるゲート制御信号IMVLD,D
VLD、およびUI2において指定された拡縮率SCR
が入力される。そして、クロック生成/タイミング制御
部651は、セレクタ661の入力端Aに画素クロック
VCLKを出力し、セレクタ662の入力端Bに画素ク
ロックVCLKのパルスを拡縮率SCRに応じて間引い
たクロックVCLK′を出力する(図10参照)。この
図では、拡縮率SCRが150%または66%の場合を
示している。
The clock generation / timing control unit 651 includes a pixel clock VCLK for timing one pixel,
A line signal VVLD for timing one line, and gate control signals IMVLD and D for timing image output.
VLD and scaling ratio SCR specified in UI2
Is entered. Then, the clock generation / timing control unit 651 outputs the pixel clock VCLK to the input terminal A of the selector 661, and outputs the clock VCLK ′ obtained by thinning out the pulse of the pixel clock VCLK to the input terminal B of the selector 662 in accordance with the scaling ratio SCR. Output (see FIG. 10). This figure shows a case where the scaling ratio SCR is 150% or 66%.

【0024】また、セレクタ661には、拡大/縮小の
いずれか(この場合、拡縮率SCRが100%より大き
いか否か)によって制御される選択信号E/Rが供給さ
れる。この選択信号E/Rに基づき、セレクタ661
は、拡大の場合、A入力(画素クロックVCLK)を書
込アドレスカウンタ671に出力し、B入力(間引きさ
れたクロックVCLK′)を読出アドレスカウンタ67
2に出力する。一方、縮小の場合、B入力(間引きされ
たクロックVCLK′)を書込アドレスカウンタ671
に出力し、A入力(画素クロックVCLK)を読出アド
レスカウンタ672に出力する。
The selector 661 is supplied with a selection signal E / R which is controlled by either enlargement / reduction (in this case, whether the enlargement / reduction ratio SCR is greater than 100%). Based on the selection signal E / R, a selector 661 is selected.
Outputs the A input (pixel clock VCLK) to the write address counter 671 and the B input (decimated clock VCLK ′) to the read address counter 67
Output to 2. On the other hand, in the case of reduction, the B input (thinned-out clock VCLK ') is written to the write address counter 671.
And outputs the A input (pixel clock VCLK) to the read address counter 672.

【0025】書込アドレスカウンタ671は、SRAM
673,674に対する書き込みアドレスをカウントア
ップするカウンタであり、読出アドレスカウンタ672
は、SRAM673,674に対する読み出しアドレス
をカウントアップするカウンタである。ここで、SRA
M673,674は、各々1ライン分の画像データを記
憶するラインバッファであり、カウンタ671,672
は、1ライン毎にクリアされる。
The write address counter 671 is an SRAM
A read address counter 672 is a counter that counts up write addresses for the write addresses 672 and 674.
Is a counter for counting up a read address for the SRAMs 673 and 674. Where SRA
M673 and 674 are line buffers for storing image data for one line each, and counters 671 and 672
Is cleared line by line.

【0026】例えば拡縮率150%による拡大時におい
ては、図10に示すように、書込アドレスカウンタ67
1は、画素クロックVCLKに応じてカウントアップを
行い、読出アドレスカウンタ672は、間引きされたク
ロックVCLK′に応じてカウントアップを行う。この
結果、SRAM673(または674)のアドレスを順
次歩進して書き込まれた画像データに対し、2回に1回
の頻度で同じアドレスから読み出しが行われるため、拡
縮率150%による拡大となる。
For example, at the time of enlargement at an enlargement / reduction ratio of 150%, as shown in FIG.
1 counts up according to the pixel clock VCLK, and the read address counter 672 counts up according to the thinned clock VCLK '. As a result, the image data written by sequentially increasing the address of the SRAM 673 (or 674) is read out from the same address once every two times, so that the enlargement is performed at an enlargement / reduction ratio of 150%.

【0027】一方、拡縮率66%による縮小時において
は、図10に示すように、書込アドレスカウンタ671
は、間引きされたクロックVCLK′に応じてカウント
アップを行い、読出アドレスカウンタ672は、画素ク
ロックVCLKに応じてカウントアップを行う。この結
果、2回に1回の頻度でSRAM673(または67
4)の同じアドレスに画像データが書き込まれ、これが
順次読み出されるため、拡縮率66%による縮小とな
る。
On the other hand, at the time of reduction at the enlargement / reduction ratio of 66%, as shown in FIG.
Performs the count-up according to the thinned clock VCLK ′, and the read address counter 672 performs the count-up according to the pixel clock VCLK. As a result, once every two SRAMs 673 (or 67
4) The image data is written to the same address and is sequentially read out, so that the image data is reduced at a scaling ratio of 66%.

【0028】セレクタ662には、クロック生成/タイ
ミング制御部651がライン信号VVLDに基づいて生
成するライン区間を示すタイミング信号LTIMが選択
信号として供給される。セレクタ662は、この選択信
号LTIMに応じて1ライン周期でA入力とB入力の出
力先を切り換える。これによって、SRAM673,6
74は、1ライン毎に読み出し動作と書き込み動作が交
互に行われる。すなわち、SRAM673の読み出しが
行われる間は、SRAM674に対し次のラインの書き
込みが行われ、SRAM674の読み出しが行われる間
は、SRAM673に対し次のラインの書き込みが行わ
れる。また、セレクタ663は、選択信号として供給さ
れるタイミング信号LTIMに基づき、セレクタ662
と同期して1ライン毎にA入力とB入力を交互に切り換
えて出力する。
To the selector 662, a timing signal LTIM indicating a line section generated by the clock generation / timing control unit 651 based on the line signal VVLD is supplied as a selection signal. The selector 662 switches the output destination of the A input and the B input in one line cycle according to the selection signal LTIM. Thereby, the SRAMs 673, 6
At 74, a read operation and a write operation are performed alternately for each line. In other words, the next line is written to the SRAM 674 while the SRAM 673 is being read, and the next line is written to the SRAM 673 while the SRAM 674 is being read. Further, the selector 663 selects the selector 662 based on the timing signal LTIM supplied as the selection signal.
A input and B input are alternately switched and output for each line in synchronization with.

【0029】入力画像データは、以下のように処理され
る。まず、拡大時においては、複数回読み出される画素
とこれに次いで読み出される画素との間で、濃度の段差
が生ずるため、これら画素間で濃度を補間する処理が行
われる。一方、縮小時においては、複数回同じアドレス
に書き込まれることにより間引きされる画素の近傍でギ
ザギザが生ずるため、間引かれる画素とその1つ前の画
素との間で濃度を補間する処理が行われる。
The input image data is processed as follows. First, at the time of enlargement, since a density step occurs between a pixel read out a plurality of times and a pixel read out next, a process of interpolating the density between these pixels is performed. On the other hand, at the time of reduction, jaggedness occurs near the pixel to be thinned out by being written to the same address a plurality of times. Therefore, processing for interpolating the density between the pixel to be thinned and the immediately preceding pixel is performed. Will be

【0030】ここで、拡大時においては、SRAM67
3(または674)からの読み出し後において初めて複
数回読み出された画素の値が分かるので、その読み出し
後に濃度補間の処理を行う。すなわち、拡大時において
セレクタ664〜666は選択信号E/Rに基づきA入
力を選択することから、入力画像データは、セレクタ6
66→バッファ676(または677)→SRAM67
3(または674)→バッファ676(または677)
→セレクタ663→セレクタ665→補間回路680→
セレクタ664→ゲート690の経路をたどり、拡大処
理後、濃度補間される。
At the time of enlargement, the SRAM 67
Since the value of the pixel read out a plurality of times can be known for the first time after reading from 3 (or 674), the density interpolation processing is performed after the reading. That is, at the time of enlargement, the selectors 664 to 666 select the A input based on the selection signal E / R.
66 → buffer 676 (or 677) → SRAM 67
3 (or 674) → buffer 676 (or 677)
→ selector 663 → selector 665 → interpolation circuit 680 →
Following the path from the selector 664 to the gate 690, the density interpolation is performed after the enlargement processing.

【0031】一方、縮小時においては、SRAM673
(または674)に書き込んだ時点で間引きした画素は
なくなってしまうので、その書き込みを行う前に濃度補
間の処理を行う。すなわち、縮小時においてセレクタ6
64〜666は選択信号E/Rに基づきB入力を選択す
ることから、セレクタ665→補間回路680→セレク
タ666→バッファ676(または677)→SRAM
673(または674)→バッファ676(または67
7)→セレクタ663→セレクタ664→ゲート690
の経路をたどり、濃度補間後、縮小処理される。
On the other hand, at the time of reduction, the SRAM 673
Since the pixels thinned out at the time of writing to (or 674) disappear, the density interpolation processing is performed before the writing. That is, at the time of reduction, the selector 6
Since 64 to 666 select the B input based on the selection signal E / R, the selector 665 → interpolator 680 → selector 666 → buffer 676 (or 677) → SRAM
673 (or 674) → buffer 676 (or 67)
7) → selector 663 → selector 664 → gate 690
After the density interpolation, a reduction process is performed.

【0032】ここで、補間回路680は、拡大の場合、
SRAM673(または674)の同じアドレスを複数
回読み出して次のアドレスに移る直前の画素の値につい
ては、その値と次の読み出し画素の値の平均をとって濃
度補間後の値とする。一方、縮小の場合、間引く直前の
画素の値と間引かれる画素の値の平均をとって濃度補間
後の値とする。図12に示すタイミングチャートは、拡
縮率300%による拡大の場合と拡縮率33%による縮
小の場合の濃度補間の例を各々示したものである。
Here, the interpolation circuit 680 performs
Regarding the value of the pixel immediately before reading the same address of the SRAM 673 (or 674) a plurality of times and moving to the next address, the average of that value and the value of the next read pixel is taken as the value after density interpolation. On the other hand, in the case of reduction, the value of the pixel immediately before thinning and the value of the pixel to be thinned are averaged to obtain the value after density interpolation. The timing chart shown in FIG. 12 shows an example of the density interpolation in the case of the enlargement at the enlargement / reduction ratio of 300% and the case of the reduction in the enlargement / reduction ratio of 33%, respectively.

【0033】(5)実施形態の作用効果 本実施形態によれば、拡縮率SCRに応じてディジタル
フィルタ部61、拡縮部62との処理順序を可変にする
ことで、拡縮率SCRがしきい値THより高いという意
味での拡大時には、ディジタルフィルタ部61によるフ
ィルタ処理、拡縮部62による拡大処理という順序で画
像処理が行われる。これによって、拡大処理の濃度補間
による文字エッジ部分の周波数低下による文字のボケを
軽減することができる。一方、拡縮率SCRがしきい値
THより低いという意味での縮小時には、拡縮部62に
よる縮小処理、ディジタルフィルタ部61によるフィル
タ処理という順序で画像処理が行われる。これによっ
て、モアレの原因となる網点の画素毎の濃度差の拡大を
抑え、網点部分のモアレを軽減することができる。この
結果、平滑化のフィルタ等の複雑なハードウェアの追加
なしに拡大時、縮小時双方において画質の向上を図るこ
とが可能となる。
(5) Effects of the Embodiment According to the present embodiment, the processing order of the digital filter unit 61 and the enlargement / reduction unit 62 is made variable according to the enlargement / reduction ratio SCR, so that the enlargement / reduction ratio SCR becomes equal to the threshold value. At the time of enlargement in the sense of being higher than TH, image processing is performed in the order of filter processing by the digital filter unit 61 and enlargement processing by the enlargement / reduction unit 62. As a result, blurring of the character due to a decrease in the frequency of the character edge portion due to the density interpolation in the enlargement processing can be reduced. On the other hand, at the time of reduction in the sense that the enlargement / reduction ratio SCR is lower than the threshold value TH, image processing is performed in the order of reduction processing by the enlargement / reduction unit 62 and filter processing by the digital filter unit 61. As a result, it is possible to suppress an increase in the density difference between pixels of a halftone dot that causes moire, and to reduce the moire at the halftone dot portion. As a result, it is possible to improve the image quality during both enlargement and reduction without adding complicated hardware such as a smoothing filter.

【0034】B:変形例 本発明は、上述した実施形態に限定されず、例えば以下
のような種々の変形が可能である。 (1)UI2において指定された原稿の種類(文字原稿
か写真原稿か)に応じて異なるしきい値TH1,TH2
のいずれかを選択し、該選択したしきい値と拡縮率SC
Rを比較して処理順序を切り換えるようにすることが可
能である。この場合、図13に示すように、原稿の種類
に対応するしきい値TH1,TH2をしきい値設定部6
8に記憶しておき、UI2において指定された原稿の種
類に応じて対応するしきい値がセレクト信号発生部67
に供給されるように構成すればよい。
B: Modifications The present invention is not limited to the above-described embodiment, and for example, the following various modifications are possible. (1) Different thresholds TH1 and TH2 depending on the type of document (text document or photo document) specified in UI2
And the selected threshold value and scaling ratio SC
It is possible to switch the processing order by comparing R. In this case, as shown in FIG. 13, threshold values TH1 and TH2 corresponding to the type of the original are
8 and a threshold corresponding to the type of the original designated on the UI 2 is selected by the select signal generator 67.
What is necessary is just to be comprised so that it may be supplied.

【0035】例えば特開平7−107293号公報に
は、文字原稿の場合、拡縮部、ディジタルフィルタ部の
順、写真原稿の場合、ディジタルフィルタ部、拡縮部の
順に処理することが好ましいことから、原稿の種類に応
じて上記処理順序を切り換える技術が記載されている。
この技術思想を上記実施形態に応用し、文字原稿の場
合、拡縮部、ディジタルフィルタ部の順になり易くする
ため、高い方のしきい値を選択し、写真原稿の場合、デ
ィジタルフィルタ部、拡縮部の順になり易くするため、
低い方のしきい値を選択するようにすればよい。
For example, Japanese Unexamined Patent Publication No. 7-107293 discloses that, in the case of a character original, it is preferable to process the enlargement / reduction unit and the digital filter unit in order, and in the case of a photo original, it is preferable to process the digital filter unit and the enlargement / reduction unit in this order. There is described a technique for switching the processing order according to the type.
Applying this technical idea to the above-described embodiment, a higher threshold value is selected in order to facilitate the order of the enlargement / reduction section and the digital filter section in the case of a character original, and the digital filter section and the enlargement / reduction section in the case of a photo original. In order to make it easier to
What is necessary is just to select the lower threshold value.

【0036】また、指定される原稿の種類が実施形態の
ように2種類でなく、例えば3種類以上である場合に
は、各種類に対応したしきい値TH1,TH2,……を
記憶しておくようにすればよい。
If the number of types of originals to be specified is not two as in the embodiment, but is three or more, threshold values TH1, TH2,... Corresponding to each type are stored. It should be kept.

【0037】また、実施形態のように、原稿を単位とし
て画像の属性を識別する場合には、文字と写真あるいは
絵が混在する原稿については、通常、文字画像であるも
のとして処理すれば画質の劣化は比較的少ない。しか
し、1枚の原稿について文字の部分と写真あるいは絵の
部分を識別する、いわゆるTI(テキスト/イメージ)
分離を行い、この結果を基にしきい値設定部68のしき
い値TH1,TH2を随時切り換えるようにすれば、よ
りきめ細かな処理が可能となる。例えば図14に示すよ
うに、ディジタルフィルタ部61、拡縮部62という順
序で画像処理を行う系統と、拡縮部62、ディジタルフ
ィルタ部61という順序で画像処理を行う系統の2つの
処理系統を設ける一方、TI分離部70によって画像デ
ータの所定単位ごとにTIの識別を行い、この識別結果
に応じて図13に示すしきい値設定部68のしきい値T
H1,TH2を切り換える構成とする。この場合、セレ
クト信号発生部67は、TI分離部70が画像データを
識別するサイクルでセレクタ71に供給する選択信号S
EL′を制御する。これにより、1枚の原稿について順
次入力される画像データが文字の部分か否かに応じて適
切なしきい値と拡縮率SCRが比較され、この比較結果
に応じて画像処理の処理順序が切り換えられる。
In the case where the attributes of an image are identified in units of an original as in the embodiment, an original in which characters and photographs or pictures are mixed is usually processed as a character image, so that the image quality can be improved. Deterioration is relatively small. However, so-called TI (text / image), which distinguishes a character portion from a photograph or picture portion in one document,
Separation is performed, and the threshold values TH1 and TH2 of the threshold value setting unit 68 are switched at any time based on the result, whereby more detailed processing can be performed. For example, as shown in FIG. 14, two processing systems are provided: a system that performs image processing in the order of the digital filter unit 61 and the scaling unit 62, and a system that performs image processing in the order of the scaling unit 62 and the digital filter unit 61. , The TI separation unit 70 identifies the TI for each predetermined unit of image data, and according to the identification result, the threshold value T of the threshold value setting unit 68 shown in FIG.
H1 and TH2 are switched. In this case, the select signal generator 67 supplies the select signal S to the selector 71 in the cycle in which the TI separator 70 identifies the image data.
EL 'is controlled. Thus, an appropriate threshold value and an enlargement / reduction ratio SCR are compared according to whether or not image data sequentially input for one document is a character portion, and the processing order of image processing is switched according to the comparison result. .

【0038】(2)また、写真原稿(すなわち文字以外
の原稿)の場合は、拡縮率SCRにかかわらず、ディジ
タルフィルタ部61、拡縮部62という順序で画像処理
を行うことが好ましいと考えられる。したがって、例え
ば、図15に示すように、UI2において指定された原
稿の種類について情報をセレクト信号発生部67に供給
し、セレクト信号発生部67を図16に示すアルゴリズ
ムに従って動作するように構成すればよい。すなわち、
UI2において指定された原稿の種類が文字原稿でない
場合、拡縮率SCRにかかわらずA入力を選択させる選
択信号SLを各セレクタ64〜66に供給する。一方、
UI2において指定された原稿の種類が文字原稿である
場合、実施形態のように、拡縮率SCRに応じて選択信
号SLを制御する。
(2) In the case of a photographic original (ie, an original other than text), it is considered preferable to perform image processing in the order of the digital filter unit 61 and the enlargement / reduction unit 62 regardless of the enlargement / reduction ratio SCR. Therefore, for example, as shown in FIG. 15, by supplying information on the type of the original specified on the UI 2 to the select signal generating section 67, the select signal generating section 67 is configured to operate according to the algorithm shown in FIG. Good. That is,
When the type of the original specified on the UI 2 is not a character original, a selection signal SL for selecting the A input is supplied to each of the selectors 64 to 66 regardless of the scaling ratio SCR. on the other hand,
When the type of the document specified on the UI 2 is a character document, the selection signal SL is controlled according to the scaling ratio SCR as in the embodiment.

【0039】(3)また、実施形態では、しきい値TH
を特に限定しなかったが、しきい値THが仮にTH=1
(100%)であれば、通常の意味での拡大か縮小かで
ディジタルフィルタ部61と拡縮部62の処理順序が切
り換えられる。また、TH>1であれば、しきい値TH
より拡縮率SCRが高いという意味での拡大か否かで上
記処理順序が切り換えられ、TH<1であれば、しきい
値THより拡縮率SCRが低いという意味での縮小か否
かで上記処理順序が切り換えられる。このしきい値TH
は、例えばどの程度の拡縮率SCRで処理順序を切り換
えた場合に最も画質が良いかを実験的に調べることによ
って選定すればよい。
(3) In the embodiment, the threshold value TH
Is not particularly limited, but if the threshold TH is TH = 1
If it is (100%), the processing order of the digital filter unit 61 and the enlargement / reduction unit 62 is switched depending on the enlargement or reduction in the usual sense. If TH> 1, the threshold value TH
The above-mentioned processing order is switched depending on whether the enlargement / reduction ratio SCR is higher or not. If TH <1, the above-mentioned process is performed depending on whether the enlargement / reduction ratio SCR is lower than the threshold value TH or not. The order is switched. This threshold TH
May be selected by, for example, experimentally examining the best image quality when the processing order is switched at what scale SCR.

【0040】(4)また、実施形態において示した回路
等は一例に過ぎず、これらの回路等の構成は本発明の範
囲内で適宜変更可能である。
(4) The circuits and the like shown in the embodiments are merely examples, and the configurations of these circuits and the like can be appropriately changed within the scope of the present invention.

【0041】(5)また、実施形態では本発明をディジ
タル複写機として構成した例を示したが、このような形
態に限らず、例えば実施形態における画像処理部6に相
当する部分を含んだイメージスキャナ等の画像読取装置
として構成することも可能である。
(5) In the embodiment, an example is shown in which the present invention is configured as a digital copying machine. However, the present invention is not limited to such an embodiment, and for example, an image including a portion corresponding to the image processing unit 6 in the embodiment. It is also possible to configure as an image reading device such as a scanner.

【0042】(6)また、実施形態における画像処理部
6の処理をソフトウェア的に実現する場合、該処理を実
行する制御プログラムをROM、フロッピーディスク等
の記録媒体に記録し、該記録媒体を介して制御プログラ
ムを他の複写機等に移植させることも可能である。
(6) When the processing of the image processing unit 6 in the embodiment is realized by software, a control program for executing the processing is recorded on a recording medium such as a ROM or a floppy disk, and is transmitted via the recording medium. Thus, the control program can be ported to another copying machine or the like.

【0043】[0043]

【発明の効果】以上説明したように、この発明によれ
ば、入力画像に対してディジタルフィルタ処理と拡大縮
小処理の双方を施す場合に拡大、縮小のいずれにおいて
も高画質な画像を得ることができる。
As described above, according to the present invention, when both the digital filter processing and the enlargement / reduction processing are performed on an input image, a high quality image can be obtained in both enlargement and reduction. it can.

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

【図1】 本発明の実施形態にかかるディジタル複写機
の全体構成を示すブロック図である。
FIG. 1 is a block diagram showing an overall configuration of a digital copying machine according to an embodiment of the present invention.

【図2】 図1に示す複写機における画像処理部の構成
を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of an image processing unit in the copying machine shown in FIG.

【図3】 図2に示す画像処理部におけるディジタルフ
ィルタ部の構成を示すブロック図である。
FIG. 3 is a block diagram illustrating a configuration of a digital filter unit in the image processing unit illustrated in FIG. 2;

【図4】 図3に示すディジタルフィルタ部において生
成される画素ウィンドウを示す概念図である。
FIG. 4 is a conceptual diagram showing a pixel window generated in the digital filter unit shown in FIG.

【図5】 図3に示すディジタルフィルタ部の回路前段
の動作を説明するためのタイミングチャートである。
FIG. 5 is a timing chart for explaining the operation of the digital filter section shown in FIG. 3 at a stage preceding the circuit;

【図6】 図3に示すディジタルフィルタ部のフィルタ
係数と図4に示す画素ウィンドウとの対応関係を示す概
念図である。
FIG. 6 is a conceptual diagram showing the correspondence between the filter coefficients of the digital filter unit shown in FIG. 3 and the pixel windows shown in FIG.

【図7】 フィルタ係数の具体的な数値を例示する図で
ある。
FIG. 7 is a diagram illustrating specific numerical values of filter coefficients.

【図8】 図3に示すディジタルフィルタ部の回路後段
の動作を説明するためのタイミングチャートである。
8 is a timing chart for explaining the operation of the digital filter section shown in FIG. 3 at a stage subsequent to the circuit.

【図9】 図2に示す画像処理部におけるの拡縮部の構
成を示すブロック図である。
9 is a block diagram illustrating a configuration of a scaling unit in the image processing unit illustrated in FIG. 2;

【図10】 図9に示す拡縮部の動作を説明するための
タイミングチャートである。
FIG. 10 is a timing chart for explaining the operation of the scaling unit shown in FIG. 9;

【図11】 図9に示す拡縮部の動作を説明するための
タイミングチャートである。
FIG. 11 is a timing chart for explaining the operation of the scaling unit shown in FIG. 9;

【図12】 図9に示す拡縮部における補間回路による
濃度補間処理を説明するためのタイミングチャートであ
る。
FIG. 12 is a timing chart for explaining density interpolation processing by an interpolation circuit in the scaling unit shown in FIG. 9;

【図13】 本発明の変形例の要部を示すブロック図で
ある。
FIG. 13 is a block diagram showing a main part of a modification of the present invention.

【図14】 図13に示す変形例においてTI分離を適
用した場合の画像処理部の構成例を示すブロック図であ
る。
14 is a block diagram illustrating a configuration example of an image processing unit when TI separation is applied in the modification illustrated in FIG.

【図15】 本発明の他の変形例の要部を示すブロック
図である。
FIG. 15 is a block diagram showing a main part of another modification of the present invention.

【図16】 図15に示す変形例におけるセレクト信号
発生部の動作アルゴリズムを示すフローチャートであ
る。
FIG. 16 is a flowchart showing an operation algorithm of a select signal generation unit in the modification shown in FIG.

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

1…制御部、2…UI、3…CCD、4…A/D変換
器、5…シェーディング補正部、6…画像処理部、7…
ページメモリ、8…ガンマ補正部、9…スクリーン生成
部、10…画像出力部、61…ディジタルフィルタ部、
62…拡縮部、64,65,66,71,661〜66
6…セレクタ、67…セレクト信号発生部(切換手段、
比較手段、切換制御手段)、68…しきい値設定部(し
きい値選択手段)、70…TI分離部、611,612
…FIFO、613〜618…ラッチ、621〜623
…加算器、624,625…除算器、626〜628…
乗算器、629…リミット回路、651…クロック生成
/タイミング制御部、671…書込アドレスカウンタ、
672…読出アドレスカウンタ、673,674…SR
AM、675,676…バッファ、690…ゲート。
DESCRIPTION OF SYMBOLS 1 ... Control part, 2 ... UI, 3 ... CCD, 4 ... A / D converter, 5 ... Shading correction part, 6 ... Image processing part, 7 ...
Page memory, 8: Gamma correction unit, 9: Screen generation unit, 10: Image output unit, 61: Digital filter unit,
62 ... enlargement / reduction part, 64, 65, 66, 71, 661 to 66
6 selector, 67 select signal generator (switching means,
Comparing means, switching control means), 68: threshold setting section (threshold selecting means), 70: TI separating section, 611, 612
... FIFO, 613-618 ... Latch, 621-623
... Adders, 624, 625 ... Dividers, 626-628 ...
Multiplier 629 limit circuit 651 clock generation / timing control unit 671 write address counter
672: Read address counter, 673, 674 ... SR
AM, 675, 676... Buffer, 690.

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 入力されるディジタル画像データに対し
指定された拡縮率で画像の拡大または縮小処理を施す拡
大縮小部と、 前記ディジタル画像データに対しその画像の種類に応じ
て平滑化またはエッジ強調のフィルタ処理を施すディジ
タルフィルタ部とを備えた画像処理装置において、 前記指定された拡縮率に応じて、前記ディジタル画像デ
ータに対し前記拡大縮小部と前記ディジタルフィルタ部
のいずれの処理を先に実行するかを切り換える切換手段
を具備することを特徴とする画像処理装置。
1. An enlargement / reduction unit for performing an enlargement / reduction process on an input digital image data at a designated enlargement / reduction ratio, and smoothing or edge emphasizing the digital image data according to the type of the image. An image processing apparatus comprising: a digital filter unit that performs a filtering process according to (1), wherein any of the scaling unit and the digital filter unit is executed first on the digital image data in accordance with the designated scaling ratio An image processing apparatus, comprising: switching means for switching whether to perform image processing.
【請求項2】 請求項1記載の画像処理装置において、 前記切換手段は、 前記指定された拡縮率と所定のしきい値とを比較する比
較手段を備え、 前記比較手段による比較結果に基づき、前記拡縮率が前
記しきい値より高い場合、前記ディジタルフィルタ部、
次いで前記拡大縮小部の順に、前記拡縮率が前記しきい
値より低い場合、前記拡大縮小部、次いで前記ディジタ
ルフィルタ部の順に処理を行うよう処理順序を切り換え
ることを特徴とする画像処理装置。
2. The image processing apparatus according to claim 1, wherein the switching unit includes a comparing unit that compares the designated scaling ratio with a predetermined threshold value, and based on a comparison result by the comparing unit. When the scaling ratio is higher than the threshold, the digital filter unit;
An image processing apparatus, wherein, in the order of the enlargement / reduction unit, when the enlargement / reduction ratio is lower than the threshold value, the processing order is switched so that processing is performed in the order of the enlargement / reduction unit and then the digital filter unit.
【請求項3】 請求項2記載の画像処理装置において、
さらに、 入力されるディジタル画像データの画像の種類に応じて
異なるしきい値を前記比較手段に設定するしきい値選択
手段を具備することを特徴とする画像処理装置。
3. The image processing apparatus according to claim 2, wherein
The image processing apparatus further comprises threshold value selecting means for setting a different threshold value in the comparing means according to the type of image of the input digital image data.
【請求項4】 請求項3記載の画像処理装置において、 前記画像の種類は、文字画像とその他の画像のいずれか
であることを特徴とする画像処理装置。
4. The image processing apparatus according to claim 3, wherein the type of the image is one of a character image and another image.
【請求項5】 請求項4記載の画像処理装置において、 前記しきい値選択手段は、文字画像の場合、高い方のし
きい値を設定し、その他の画像の場合、低い方のしきい
値を設定することを特徴とする画像処理装置。
5. The image processing apparatus according to claim 4, wherein said threshold value selecting means sets a higher threshold value for a character image and a lower threshold value for other images. An image processing apparatus characterized by setting:
【請求項6】 入力されるディジタル画像データに対し
指定された拡縮率で画像の拡大または縮小処理を施す拡
大縮小部と、 前記ディジタル画像データに対しその画像の種類に応じ
て平滑化またはエッジ強調のフィルタ処理を施すディジ
タルフィルタ部とを備えた画像処理装置において、 前記ディジタル画像データの画像の種類が文字画像でな
い場合、該ディジタル画像データに対し前記ディジタル
フィルタ部、次いで前記拡大縮小部の順に処理を施す一
方、前記画像の種類が文字画像の場合、前記指定された
拡縮率に応じて、前記ディジタル画像データに対し前記
拡大縮小部と前記ディジタルフィルタ部のいずれの処理
を先に実行するかを切り換える切換制御手段を具備する
ことを特徴とする画像処理装置。
6. An enlarging / reducing unit for enlarging or reducing an input digital image data at a designated enlargement / reduction ratio, and smoothing or edge emphasizing the digital image data according to the type of the image. An image processing apparatus comprising: a digital filter unit that performs a filtering process described above, wherein when the image type of the digital image data is not a character image, the digital image data is processed in the order of the digital filter unit, and then the scaling unit. On the other hand, when the type of the image is a character image, which of the enlargement / reduction unit and the digital filter unit is to be executed first on the digital image data according to the designated enlargement / reduction ratio is determined. An image processing apparatus comprising switching control means for switching.
【請求項7】 入力されるディジタル画像データに対し
指定された拡縮率で画像の拡大または縮小処理を施す拡
大縮小処理段階と、 前記ディジタル画像データに対しその画像の種類に応じ
て平滑化またはエッジ強調のフィルタ処理を施すディジ
タルフィルタ処理段階とを備えた画像処理方法におい
て、 前記指定された拡縮率に応じて、前記ディジタル画像デ
ータに対し前記拡大縮小処理段階と前記ディジタルフィ
ルタ処理段階のいずれの段階を先に実行するかを切り換
える切換段階を有することを特徴とする画像処理方法。
7. An enlarging / reducing process for enlarging or reducing an input digital image data at a designated enlarging / reducing ratio, and smoothing or edge-processing the digital image data according to the type of the image. An image processing method comprising a digital filter processing step of performing an emphasis filter processing, wherein any one of the enlargement / reduction processing step and the digital filter processing step is performed on the digital image data according to the designated enlargement / reduction ratio. An image processing method having a switching step of switching whether or not to execute first.
【請求項8】 請求項7記載の画像処理方法において、 前記切換段階は、 入力されるディジタル画像データの画像の種類に応じて
異なるしきい値を選択するしきい値選択段階と、 指定された拡縮率と前記しきい値選択段階で選択された
しきい値とを比較する比較段階とを備え、 前記比較手段による比較結果に基づき、前記拡縮率が前
記しきい値より高い場合、前記ディジタルフィルタ処理
段階、次いで前記拡大縮小処理段階の順に、前記拡縮率
が前記しきい値より低い場合、前記拡大縮小処理段階、
次いで前記ディジタルフィルタ処理段階の順に実行する
よう処理順序を切り換えることを特徴とする画像処理方
法。
8. The image processing method according to claim 7, wherein said switching step includes a threshold value selecting step of selecting a different threshold value according to an image type of the input digital image data. A comparing step of comparing a scaling ratio with a threshold value selected in the threshold value selecting step, wherein when the scaling ratio is higher than the threshold value based on a comparison result by the comparing means, the digital filter Processing step, then in the order of the scaling processing step, if the scaling ratio is lower than the threshold, the scaling processing step;
Next, the processing order is switched so as to be executed in the order of the digital filter processing steps.
【請求項9】 入力されるディジタル画像データに対し
指定された拡縮率で画像の拡大または縮小処理を施す拡
大縮小処理段階と、 前記ディジタル画像データに対しその画像の種類に応じ
て平滑化またはエッジ強調のフィルタ処理を施すディジ
タルフィルタ処理段階とを備えた画像処理方法におい
て、 前記ディジタル画像データの画像の種類が文字画像でな
い場合、該ディジタル画像データに対し前記ディジタル
フィルタ処理段階、次いで前記拡大縮小処理段階の順に
処理を施す一方、前記画像の種類が文字画像の場合、前
記指定された拡縮率に応じて、前記ディジタル画像デー
タに対し前記拡大縮小処理段階と前記ディジタルフィル
タ処理段階のいずれを先に実行するかを切り換える切換
制御段階を備えることを特徴とする画像処理方法。
9. An enlargement / reduction processing step of performing an enlargement / reduction processing of an input digital image data at a designated enlargement / reduction ratio, and smoothing or edge processing of the digital image data according to the type of the image. A digital filter processing step of performing an emphasis filter processing, wherein when the image type of the digital image data is not a character image, the digital filter processing step is performed on the digital image data, and then the scaling processing is performed. While processing is performed in the order of steps, when the type of the image is a character image, according to the specified scaling ratio, the digital image data is subjected to either the scaling processing step or the digital filter processing step first. An image processing method, comprising: a switching control step of switching between execution and execution.
【請求項10】 請求項1ないし6のいずれかに記載の
画像処理装置を備えた画像読取装置。
10. An image reading device comprising the image processing device according to claim 1.
【請求項11】 請求項1ないし6のいずれかに記載の
画像処理装置を備えた複写機。
11. A copying machine comprising the image processing device according to claim 1.
【請求項12】 入力されるディジタル画像データに対
し指定された拡縮率で画像の拡大または縮小処理を施す
拡大縮小処理部と、前記ディジタル画像データに対しそ
の画像の種類に応じて平滑化またはエッジ強調のフィル
タ処理を施すディジタルフィルタ処理部とを備えた画像
処理装置を制御するコンピュータによって実行される制
御プログラムであって、 前記指定された拡縮率に応じて、前記ディジタル画像デ
ータに対し前記拡大縮小処理部と前記ディジタルフィル
タ処理部のいずれの処理を先に実行するかを切り換える
切換手順を備えている制御プログラムを記憶したコンピ
ュータにより読み取り可能な記録媒体。
12. An enlargement / reduction processing unit for performing enlargement / reduction processing of an input digital image data at a designated enlargement / reduction ratio, and smoothing or edge processing of the digital image data according to the type of the image. A control program executed by a computer that controls an image processing apparatus including a digital filter processing unit that performs enhancement filter processing, the control method comprising: A computer-readable recording medium storing a control program having a switching procedure for switching which of a processing unit and a digital filter processing unit is executed first.
JP10472997A 1997-04-22 1997-04-22 Image processing device, image processing method, image reading device, copying machine, and recording medium Expired - Fee Related JP3225884B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10472997A JP3225884B2 (en) 1997-04-22 1997-04-22 Image processing device, image processing method, image reading device, copying machine, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10472997A JP3225884B2 (en) 1997-04-22 1997-04-22 Image processing device, image processing method, image reading device, copying machine, and recording medium

Publications (2)

Publication Number Publication Date
JPH10294859A true JPH10294859A (en) 1998-11-04
JP3225884B2 JP3225884B2 (en) 2001-11-05

Family

ID=14388597

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10472997A Expired - Fee Related JP3225884B2 (en) 1997-04-22 1997-04-22 Image processing device, image processing method, image reading device, copying machine, and recording medium

Country Status (1)

Country Link
JP (1) JP3225884B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003046811A (en) * 2001-07-31 2003-02-14 Matsushita Electric Ind Co Ltd Video signal processing circuit
JP2021012596A (en) * 2019-07-08 2021-02-04 キヤノン株式会社 Calculation processing device and calculation processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003046811A (en) * 2001-07-31 2003-02-14 Matsushita Electric Ind Co Ltd Video signal processing circuit
JP2021012596A (en) * 2019-07-08 2021-02-04 キヤノン株式会社 Calculation processing device and calculation processing method

Also Published As

Publication number Publication date
JP3225884B2 (en) 2001-11-05

Similar Documents

Publication Publication Date Title
JPH07262360A (en) Image processing apparatus and method
JP2003153006A (en) Image processing device
EP2230830A2 (en) Image processing apparatus and control method of image forming apparatus
JP3176195B2 (en) Image processing device
JP3317446B2 (en) Image processing device
US5742406A (en) Image processing apparatus
JP3357776B2 (en) Image processing method
JP3007001B2 (en) Image processing apparatus and method
JP3225884B2 (en) Image processing device, image processing method, image reading device, copying machine, and recording medium
JPH1079866A (en) Image processing apparatus and method
JP2829931B2 (en) Image processing device
US5729357A (en) Image processing apparatus
JPH11203467A (en) Display device and display method
JPH11196258A (en) Image processing apparatus and method
KR100463552B1 (en) Cubic convolution interpolation apparatus and method
JPH04362792A (en) Pixel density conversion device
JP2829930B2 (en) Image processing device
JP2002259960A (en) Image processing apparatus and image processing method
JP3526936B2 (en) Image magnifier
EP0920190B1 (en) Unsharp masking for draft mode rendering of digital images
JPH10126609A (en) Image processor
KR100242028B1 (en) Image Zoom In / Out Method using Interpolation
JPS62180475A (en) Picture processor
JPH0640086A (en) Color image forming device
JP3658895B2 (en) Image processing apparatus, image processing method, and storage medium

Legal Events

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

Free format text: PAYMENT UNTIL: 20070831

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20080831

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090831

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100831

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110831

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120831

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees