Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH09102870A - Image processor - Google Patents
[go: Go Back, main page]

JPH09102870A - Image processor - Google Patents

Image processor

Info

Publication number
JPH09102870A
JPH09102870A JP7258696A JP25869695A JPH09102870A JP H09102870 A JPH09102870 A JP H09102870A JP 7258696 A JP7258696 A JP 7258696A JP 25869695 A JP25869695 A JP 25869695A JP H09102870 A JPH09102870 A JP H09102870A
Authority
JP
Japan
Prior art keywords
signal
image data
output
edge
pixel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7258696A
Other languages
Japanese (ja)
Inventor
Yuzuru Suzuki
譲 鈴木
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 JP7258696A priority Critical patent/JPH09102870A/en
Publication of JPH09102870A publication Critical patent/JPH09102870A/en
Pending legal-status Critical Current

Links

Landscapes

  • Color, Gradation (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To simplify the configuration of a so-called composite device having functions of a copying machine and a printer or the like altogether. SOLUTION: Image data received via an image reader 401 in the copying mode are multi-value image data, and smoothing processing or edge emphasis or the like is conducted via each of processing sections 402-404. On the other hand, the image data received via a printer interface 601 are multi-value image data or binary image data. In the case of the former data, the processing sections 402-404 for the copying mode are used via a selector 602. On the other hand, in the case of the latter data, processing sections 603, 604 for binary image data are used.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複写機やプリンタ
等の機能を兼ね備えた、いわゆる複合機に用いて好適な
画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus having a function of a copying machine, a printer or the like, which is suitable for use in a so-called multifunction machine.

【0002】[0002]

【従来の技術】電子写真プロセスを用いる複写機、プリ
ンタ等にあっては、像の周縁部を滑らかにするスムージ
ング処理や、周縁部のエッジを強調する処理を行う画像
処理装置が設けられている。これら画像処理装置の処理
対象となる画像データは、多値画像データと二値画像デ
ータとに大別され、供給された画像データの属性に応じ
て最適なスムージング方法、エッジ強調方法等が選択さ
れなければならない。
2. Description of the Related Art A copying machine, a printer or the like which uses an electrophotographic process is provided with an image processing device for performing smoothing processing for smoothing a peripheral portion of an image and processing for enhancing an edge of the peripheral portion. . Image data to be processed by these image processing devices are roughly classified into multi-valued image data and binary image data, and an optimum smoothing method, edge enhancement method, etc. are selected according to the attributes of the supplied image data. There must be.

【0003】従って、従来のプリンタにおいては、多値
画像データ用および二値画像データ用の2系統の画像処
理機能が設けられ、そのうち一方が選択されていた。こ
れら複数の画像処理機能は、別体のハードウエア上で実
現される場合と、共通のハードウエア上で実現される場
合とがある。一方、複写機においては、スキャナから入
力される画像データとしては多値画像データのみを想定
すれば差し支えない。
Therefore, the conventional printer is provided with two systems of image processing functions for multi-valued image data and binary image data, and one of them is selected. These plural image processing functions may be realized on separate hardware or may be realized on common hardware. On the other hand, in a copying machine, only multi-valued image data may be assumed as the image data input from the scanner.

【0004】[0004]

【発明が解決しようとする課題】ところで、近年は、複
写機、プリンタ等の機能を併せ持った複合機が普及して
いる。複合機において複写機能とプリンタ機能とを実現
する場合は、二値プリントデータ用の画像処理機能と、
多値プリントデータ用の画像処理機能と、複写機能用の
画像処理機能とを有する必要がある。しかし、従来の複
合機にあっては、後二者の機能が別体の回路で実現され
ていたため、画像処理装置が大型化し、複合機が高価に
なるという問題があった。この発明は上述した事情に鑑
みてなされたものであり、豊富な機能を有しながら安価
に実現できる画像処理装置を提供することを目的とす
る。
By the way, in recent years, multi-function machines having functions such as a copying machine and a printer have become widespread. When realizing a copy function and a printer function in a multifunction machine, an image processing function for binary print data,
It is necessary to have an image processing function for multi-valued print data and an image processing function for a copying function. However, in the conventional multi-function peripheral, since the latter two functions are realized by separate circuits, there is a problem that the image processing apparatus becomes large and the multi-function peripheral becomes expensive. The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an image processing apparatus that has a wealth of functions and can be realized at low cost.

【0005】[0005]

【課題を解決するための手段】上記課題を解決するため
請求項1記載の構成にあっては、画像データの注目画素
の画素値と該注目画素の周辺画素の画素値とに基づい
て、前記注目画素に係るドットの種別とドットの大きさ
を指定する第1の信号を出力する第1の信号発生手段
と、前記注目画素の画素値と該注目画素の周辺画素の画
素値とに基づいて、前記注目画素に係るドットの種別と
ドットの大きさを指定する第2の信号を出力する第2の
信号発生手段と、前記画像データの属性に応じて、前記
第1のまたは第2の信号のうち一方を選択する出力選択
手段と、この出力選択手段で選択された信号に基づい
て、前記画像データを出力するための表示信号を生成す
る出力制御手段とを具備することを特徴とする。
In order to solve the above-mentioned problems, according to the structure of claim 1, the pixel value of the pixel of interest of the image data and the pixel values of the peripheral pixels of the pixel of interest are used for the purpose. Based on a first signal generating means for outputting a first signal designating a dot type and a dot size relating to the target pixel, the pixel value of the target pixel and the pixel values of peripheral pixels around the target pixel. A second signal generating means for outputting a second signal for designating a dot type and a dot size relating to the pixel of interest, and the first or second signal according to an attribute of the image data. It is characterized by comprising an output selection means for selecting one of the two and an output control means for generating a display signal for outputting the image data based on the signal selected by the output selection means.

【0006】また、請求項2記載の構成にあっては、請
求項1記載の画像処理装置において、前記出力制御手段
は、指定されたドットの大きさに応じたレベルを有する
アナログ信号を生成するアナログ信号発生手段と、指定
されたドットの種別に応じて複数のパターン信号の中か
ら何れかのパターン信号を選択するパターン信号選択手
段とを具備し、選択されたパターン信号と前記アナログ
信号との比較結果に基づいて前記表示信号を生成するも
のであり、前記出力選択手段は、前記画像データが多値
画像データである場合は前記第1の信号を選択する一
方、前記画像データが二値画像データである場合は前記
第2の信号を選択するものであることを特徴とする。
According to a second aspect of the present invention, in the image processing apparatus according to the first aspect, the output control means generates an analog signal having a level according to a designated dot size. An analog signal generating means and a pattern signal selecting means for selecting any pattern signal from a plurality of pattern signals according to a designated dot type are provided, and the selected pattern signal and the analog signal are provided. The display signal is generated based on a comparison result, and the output selection unit selects the first signal when the image data is multi-valued image data, while the image data is a binary image. In the case of data, the second signal is selected.

【0007】また、請求項3記載の構成にあっては、請
求項2記載の画像処理装置において、原稿画像を読取る
原稿画像読取り手段と、プリントデータを受信するプリ
ントデータ受信手段と、前記原稿画像読取り手段の出力
信号および前記プリントデータのうちの一方を前記第1
の信号発生手段に供給する入力選択手段とを具備し、前
記プリントデータ受信手段は、前記入力選択手段の選択
状態にかかわらず前記プリントデータを前記第2の信号
発生手段に供給することを特徴とする。
According to a third aspect of the present invention, in the image processing apparatus according to the second aspect, a document image reading unit that reads a document image, a print data receiving unit that receives print data, and the document image. One of the output signal of the reading means and the print data is used as the first signal.
Input selection means for supplying the print data to the second signal generation means regardless of the selection state of the input selection means. To do.

【0008】また、請求項4記載の構成にあっては、多
値画像データを二値画像データに変換する二値化手段
と、前記多値画像データの属性に基づいて、前記多値画
像データまたは前記二値画像データのうち一方を選択す
る出力選択手段と、この出力選択手段で選択された画像
データを出力する出力制御手段とを具備することを特徴
とする。
Further, in the structure according to the fourth aspect, the multivalued image data is converted based on the binarization means for converting the multivalued image data into the binary image data and the attribute of the multivalued image data. Alternatively, it is characterized by comprising an output selection means for selecting one of the binary image data and an output control means for outputting the image data selected by the output selection means.

【0009】[0009]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

[ 実施形態の構成 ] A.実施形態の全体構成 次に、図1を参照し本発明の第1実施形態の複合機の全
体構成を説明する。図において401は画像読取り装置
であり、原稿を読取り、その結果を画像データとして出
力する。この画像データは、「0」〜「255」の値に
よって表現される「256」階調の多値画像データであ
る。601はプリンタ・インターフェースであり、ホス
トコンピュータ(図示せず)から供給されたプリントデ
ータを受信する。
[Configuration of Embodiment] A. Overall Configuration of Embodiment Next, with reference to FIG. 1, an overall configuration of a multifunction peripheral according to a first embodiment of the present invention will be described. In the figure, reference numeral 401 denotes an image reading device, which reads a document and outputs the result as image data. This image data is multi-valued image data of “256” gradation represented by values of “0” to “255”. A printer interface 601 receives print data supplied from a host computer (not shown).

【0010】このプリントデータは、「256」階調の
多値画像データまたは二値画像データである。プリント
データが二値画像データである場合は、画素値は「0」
または「255」によって表現される。602はセレク
タであり、入力セレクト信号INSELに基づいて、画
像読取り装置401またはプリンタ・インターフェース
601から出力された画像データのうち一方を選択す
る。なお、入力セレクト信号INSELは、画像読取り
装置401を選択すべき場合に“0”、プリンタ・イン
ターフェース601を選択すべき場合に“1”になる。
402は入力階調補正部であり、この選択された画像デ
ータの階調補正を行う。
This print data is multi-valued image data or binary image data of "256" gradation. If the print data is binary image data, the pixel value is "0".
Alternatively, it is expressed by “255”. A selector 602 selects one of the image data output from the image reading device 401 or the printer interface 601 based on the input select signal INSEL. The input select signal INSEL becomes “0” when the image reading device 401 should be selected, and becomes “1” when the printer interface 601 should be selected.
An input gradation correction unit 402 corrects the gradation of the selected image data.

【0011】409はCPUであり、デジタイザ等の入
力装置によって指定された領域データに基づいて、画像
の種別を指定する種別検出信号STYPEを出力する。
403はエッジ補正処理部であり、入力階調補正部40
2で補正された画像データに対してエッジ強調等の処理
を施し、その結果を画像データCD0として出力する。
また、エッジ補正処理部403は、波形制御信号ATB
1(詳細は後述する)を出力する。404は出力階調補
正部であり、画像データCD0の出力階調補正を行い、
その結果を画像データCD1として出力する。
Reference numeral 409 denotes a CPU, which outputs a type detection signal STYPE for designating an image type based on area data designated by an input device such as a digitizer.
Reference numeral 403 denotes an edge correction processing unit, which is an input gradation correction unit 40.
Processing such as edge enhancement is applied to the image data corrected in 2, and the result is output as image data CD0.
Further, the edge correction processing unit 403 determines that the waveform control signal ATB
1 (details will be described later) is output. Reference numeral 404 is an output gradation correction unit that corrects the output gradation of the image data CD0.
The result is output as image data CD1.

【0012】次に、603は二値エッジ判定部であり、
プリントデータの注目画素が二値画像データのエッジを
構成するか否かを判定し、その結果を二値エッジ判定信
号EGHとして出力する。この二値エッジ判定信号EG
Hは、二値画像データのエッジが検出されると“1”、
それ以外の場合に“0”になる信号である。また、60
4は二値用スムージング処理部であり、プリントデータ
が二値画像データであると仮定して、スムージング処理
を行う。そして、二値用スムージング処理部604は、
スムージングの施された(多値化された)画像データC
D2と、波形制御信号ATB2とを出力する。
Next, reference numeral 603 is a binary edge determination unit,
It is determined whether or not the pixel of interest of the print data forms an edge of the binary image data, and the result is output as a binary edge determination signal EGH. This binary edge determination signal EG
H is "1" when the edge of the binary image data is detected,
It is a signal which becomes "0" in other cases. Also, 60
A binary smoothing processing unit 4 performs smoothing processing assuming that the print data is binary image data. Then, the binary smoothing processing unit 604
Smoothed (multi-valued) image data C
D2 and the waveform control signal ATB2 are output.

【0013】605はデコーダ回路であり、入力セレク
ト信号INSELと二値エッジ判定信号EGHとの論理
和を出力セレクト信号OUTSELとして出力する。す
なわち、出力セレクト信号OUTSELは、入力セレク
ト信号INSELによってプリンタ・インターフェース
601が選択され、かつ、二値エッジ判定部603によ
って二値画像データのエッジが検出された場合に“1”
になり、それ以外の場合は“0”になる。
A decoder circuit 605 outputs the logical sum of the input select signal INSEL and the binary edge determination signal EGH as the output select signal OUTSEL. That is, the output select signal OUTSEL is “1” when the printer interface 601 is selected by the input select signal INSEL and the binary edge determination unit 603 detects the edge of the binary image data.
Otherwise, it becomes "0".

【0014】次に、606,607はセレクタであり、
出力セレクト信号OUTSELが“0”である場合は画
像データCD1,波形制御信号ATB1を選択し、
“1”である場合は画像データCD2,波形制御信号A
TB2を選択し、選択した信号を各々画像データCD,
波形制御信号ATBとして出力する。405は波形制御
スクリーン生成部であり、スクリーン信号(三角波)と
上記画像データCDとを比較することにより、該画像デ
ータCDをパルス幅変調する。
Next, 606 and 607 are selectors,
When the output select signal OUTSEL is "0", the image data CD1 and the waveform control signal ATB1 are selected,
If it is "1", the image data CD2, the waveform control signal A
TB2 is selected, and the selected signals are output as image data CD,
The waveform control signal ATB is output. Reference numeral 405 denotes a waveform control screen generation unit, which performs pulse width modulation on the image data CD by comparing the screen signal (triangular wave) with the image data CD.

【0015】406は画像出力装置であり、波形制御ス
クリーン生成部405から出力されたパルス幅変調信号
によってレーザダイオードの点滅状態を制御し、周知の
電子写真プロセスによって、用紙に画像を出力する。す
なわち、画像データCDに応じた大きさのドットが出力
される。408は制御装置であり、上述した各構成要素
を制御する。407は操作・表示パネルであり、ユーザ
によって適宜操作され、複合機の動作モード等を設定す
る。
An image output device 406 controls the blinking state of the laser diode by the pulse width modulation signal output from the waveform control screen generator 405, and outputs an image on paper by a well-known electrophotographic process. That is, dots having a size corresponding to the image data CD are output. A control device 408 controls each of the above-described components. An operation / display panel 407 is appropriately operated by the user to set an operation mode and the like of the multifunction peripheral.

【0016】上述した各構成要素のうち、符号番号が
「600」以上のものはオプションである。すなわち、
プリントデータを出力するための構成要素は、それが必
要なユーザに対してのみ提供されることになる。オプシ
ョンを装着しない場合は、画像読取り装置401から出
力された画像データは入力階調補正部402に直接供給
されることになる。同様に、画像データCD1は画像デ
ータCDとして、波形制御信号ATB1は信号ATBと
して、波形制御スクリーン生成部405に直接供給され
る。以下、上述した構成のうち主要部分の詳細構成を説
明する。
Among the above-mentioned components, those having a code number of "600" or more are optional. That is,
The component for outputting the print data will be provided only to the user who needs it. When the option is not attached, the image data output from the image reading device 401 is directly supplied to the input gradation correction unit 402. Similarly, the image data CD1 as the image data CD and the waveform control signal ATB1 as the signal ATB are directly supplied to the waveform control screen generation unit 405. Hereinafter, the detailed configuration of the main part of the above-described configuration will be described.

【0017】A.波形制御スクリーン生成部405 次に、波形制御スクリーン生成部405の構成を図9を
参照し説明する。図において160はD/A変換回路で
あり、画像データCDをアナログ信号に変換して出力す
る。また、161はパターン発生部であり、200dp
iに相当する周期を有する三角波であるパターン信号S
Aを出力する。また、162は他のパターン発生部であ
り、パターン信号SAに対して「180°」位相の異な
る三角波であるパターン信号SBを出力する。また、1
63もパターン発生部であり、400dipに相当する
周期を有する三角波であるパターン信号SCを出力す
る。
A. Waveform Control Screen Generation Unit 405 Next, the configuration of the waveform control screen generation unit 405 will be described with reference to FIG. In the figure, 160 is a D / A conversion circuit, which converts the image data CD into an analog signal and outputs it. Further, 161 is a pattern generation unit, which has a dp of 200 dp.
The pattern signal S which is a triangular wave having a cycle corresponding to i
Output A. Further, 162 is another pattern generator, which outputs a pattern signal S B which is a triangular wave having a “180 °” phase difference with respect to the pattern signal S A. Also, 1
Reference numeral 63 is also a pattern generator, which outputs a pattern signal S C which is a triangular wave having a cycle corresponding to 400 dips.

【0018】164はセレクタであり、これらパターン
信号SA,SB,SCのうち何れかを波形制御信号ATB
に基づいて選択する。165はコンパレータであり、ア
ナログ信号に変換された画像データCDと、選択された
パターン信号とを比較し、前者のレベルが後者のレベル
以上になる場合に“1”、それ以外の場合に“0”にな
るパルス幅変調信号を出力する。
Reference numeral 164 denotes a selector, which selects one of the pattern signals S A , S B and S C as the waveform control signal ATB.
Select based on Reference numeral 165 denotes a comparator, which compares the image data CD converted into an analog signal with the selected pattern signal, and is "1" when the former level is equal to or higher than the latter level, and "0" otherwise. The pulse width modulation signal that becomes "" is output.

【0019】ここで、「3」種類のパターン信号SA
B,SCを切り換えて使用する技術は従来より知られて
いるものであるが、その理由について図10を参照して
簡単に説明しておく。まず、画像データCDが同図(a)
に示すような多値画像データであった場合、パターン信
号SAのみを用いてパルス幅変調信号を生成すると、同
図(b)に示すように画像が跡切れ、「2線ボケ」と称さ
れる不具合が生じる。
Here, "3" types of pattern signals S A ,
The technique of switching between S B and S C is conventionally known, and the reason will be briefly described with reference to FIG. First, the image data CD is shown in FIG.
When the pulse width modulation signal is generated using only the pattern signal S A in the case of the multi-valued image data as shown in FIG. 5, the image is cut off as shown in FIG. There will be problems.

【0020】そこで、同図(c)に示すように、画像が跡
切れないようにパターン信号SA,SBのうち一方を選択
することにより、「2線ボケ」を防止することができ
る。このように、200dpiの信号としては、「18
0°」位相の異なる二系統の信号を用いるべきである。
また、400dipのパターン信号SCのみを用いてパ
ルス幅変調信号を生成した場合の例を同図(d)に示す。
Therefore, as shown in FIG. 3C, by selecting one of the pattern signals S A and S B so that the image is not traced, "two-line blur" can be prevented. In this way, as the 200 dpi signal, "18
Two lines of signals with different 0 ° phase should be used.
An example of the case where the pulse width modulation signal is generated by using only the pattern signal S C of 400 dip is shown in FIG.

【0021】この図においては、画像は両端のエッジで
跡切れているように見えるが、実際は電子写真プロセス
の再現特性により狭い空白部分は埋められ、出力画像に
跡切れは生じない。さらに、400dipのパターン信
号SCを用いることにより、出力画像の解像度を高くす
ることができる。しかし、パターン信号SCのみを用い
ると、階調度の再現性が悪化するという問題が生じる。
従って、画像の状態等に応じて、200dpiおよび4
00dipのパターン信号のうち好適なものを選択し、
これによって出力すべきドットの種類を変更すべきであ
る。以上が、「3」種類のパターン信号SA,SB,SC
を切り換えて使用すべき理由である。
In this figure, the image appears to be cut off at the edges at both ends, but in reality, the narrow blank area is filled in due to the reproduction characteristics of the electrophotographic process, and no cutout occurs in the output image. Furthermore, the resolution of the output image can be increased by using the pattern signal S C of 400 dip. However, if only the pattern signal S C is used, the problem that the reproducibility of the gradation is deteriorated occurs.
Therefore, depending on the state of the image, etc., 200 dpi and 4
Select a suitable pattern signal from 00 dip,
This should change the type of dots to be output. The above is the pattern signals S A , S B , S C of “3” types.
This is the reason for switching and using.

【0022】なお、200dpiのパターン信号を用い
るべき場合、波形制御信号ATBは、パターン信号
A,SBの区別を直接指令するのではなく、「右エッ
ジ」、「左エッジ」または「エッジ無し」を指令する。
従って、セレクタ164は、指示されたエッジ方向(ま
たはエッジの有無)と、その時点におけるパターン信号
A,SBの位相に基づいて、パターン信号SA,SBのう
ち何れかを選択することになる。
When a 200 dpi pattern signal is to be used, the waveform control signal ATB does not directly instruct the distinction between the pattern signals S A and S B , but the "right edge", "left edge" or "no edge". Command. "
Therefore, the selector 164 selects one of the pattern signals S A and S B based on the instructed edge direction (or presence / absence of an edge) and the phase of the pattern signals S A and S B at that time. become.

【0023】ところで、パターン発生部161,162
の具体的構成として、パターン発生部161,162を
独立したパルス発振器で実現し、両者に位相ロックをか
けて「180°」の位相差を維持する構成が考えられ
る。しかし、かかる構成では2台のパルス発振器とPL
L回路とが必要になり、装置が高価になるという欠点が
ある。そこで、一方のみを独立したパルス発振器として
構成しておき、他方は直流電圧から該パルス電圧を減算
する減算器として実現する構成が一般的に採られてい
る。
By the way, the pattern generators 161, 162
As a specific configuration, a configuration in which the pattern generation units 161 and 162 are realized by independent pulse oscillators and both are phase-locked to maintain a phase difference of “180 °” can be considered. However, in such a configuration, two pulse oscillators and PL
The L circuit is required, and the device is expensive. Therefore, a configuration is generally adopted in which only one is configured as an independent pulse oscillator and the other is realized as a subtractor that subtracts the pulse voltage from a DC voltage.

【0024】ここで、パターン発生部161が独立した
パルス発振器であって、パターン信号SAが理想的な波
形を有していれば、その結果としてパターン信号SB
理想的な波形を有することになる。しかし、充分に高精
度な三角波を発生するパルス発振器は高価であり、その
ようなものを用いることは技術的には可能であっても実
現性に乏しい。
Here, if the pattern generator 161 is an independent pulse oscillator and the pattern signal S A has an ideal waveform, as a result, the pattern signal S B also has an ideal waveform. become. However, a pulse oscillator that generates a sufficiently accurate triangular wave is expensive, and it is technically possible to use such a pulse oscillator, but it is not feasible.

【0025】すなわち、パターン発生部161は可能な
限り簡易な回路で実現されるから、パターン信号S
Aは、理想的な三角波と比較すると歪を有することにな
る。さらに、かかる歪と逆方向の歪がパターン信号SB
にも生ずることになる。その結果、画像データCDのレ
ベルが一定であったとしても、パターン信号SA,SB
うち何れを用いるかによって濃度差が生じることにな
る。この点はパターン信号SCについても同様である。
ここで、パターン信号SA,SB,SCに応じて相違した
スクリーン特性の一例を図11(a)に示す。
That is, since the pattern generator 161 is realized by a circuit as simple as possible, the pattern signal S
A will have distortion when compared to an ideal triangular wave. Further, the distortion in the direction opposite to the distortion is the pattern signal S B.
Will also occur. As a result, even if the level of the image data CD is constant, a density difference occurs depending on which of the pattern signals S A and S B is used. This also applies to the pattern signal S C.
Here, FIG. 11A shows an example of screen characteristics which differ depending on the pattern signals S A , S B and S C.

【0026】A.出力階調補正部404 次に、出力階調補正部404について説明する。出力階
調補正部404は波形制御スクリーン生成部405の前
段に設けられることにより、上述したスクリーン特性の
相違を補償するものである。すなわち、出力階調補正部
404には、パターン信号SA,SB,SCに各々対応す
るテーブルが設けられ、画像データCD0の同一の濃度
に対してほぼ同一の出力画像濃度Doutが得られるよう
に、画像データCD1の濃度を設定する。このテーブル
の特性の一例を図11(b)に示す。
A. Output gradation correction unit 404 Next, the output gradation correction unit 404 will be described. The output gradation correction unit 404 is provided in the preceding stage of the waveform control screen generation unit 405, and compensates for the above-mentioned difference in screen characteristics. That is, the output gradation correction unit 404 is provided with tables corresponding to the pattern signals S A , S B , and S C , respectively, and almost the same output image density Dout is obtained for the same density of the image data CD0. Thus, the density of the image data CD1 is set. An example of the characteristics of this table is shown in FIG.

【0027】ところで、本実施形態にあっては、入力画
像の種類(文字、写真、文字+写真、または地図)に応
じて各種のパラメータが変更される。従って、出力階調
補正部404には、「4」種類の入力画像と「3」種類
のパターン信号とに対応して、「12」種類のテーブル
が設けられている。そして、階調補正制御信号MTSE
Lに基づいて、使用すべきテーブルが選択される。
By the way, in the present embodiment, various parameters are changed according to the type of the input image (character, photograph, character + photograph, or map). Therefore, the output gradation correction unit 404 is provided with “12” types of tables corresponding to “4” types of input images and “3” types of pattern signals. Then, the gradation correction control signal MTSE
A table to be used is selected based on L.

【0028】A.二値エッジ判定部603 次に、二値エッジ判定部603の構成を図13を参照し
説明する。図において280,281はFIFOバッフ
ァであり、主走査方向の1ライン相当分だけプリントデ
ータを遅延させて出力する。従って、FIFOバッファ
280の入力データおよび出力データと、FIFOバッ
ファ281の出力データとによって、「3」ライン分の
プリントデータが得られる。
A. Binary Edge Determination Unit 603 Next, the configuration of the binary edge determination unit 603 will be described with reference to FIG. In the figure, reference numerals 280 and 281 denote FIFO buffers, which delay the print data by one line in the main scanning direction and output it. Therefore, the print data for “3” lines is obtained by the input data and output data of the FIFO buffer 280 and the output data of the FIFO buffer 281.

【0029】282は3×3マトリクス回路であり、
「8」ビットのフリップフロップ「9個」を3行3列
(座標値:(0,0)〜(2,2))に配列して成るものである。
次に、284は「255」判定/カウンタであり、3×
3マトリクス回路282内の各画素値のうち「255」
の値を有するものが存在すると、その座標値を出力す
る。また、285は「0」判定/カウンタであり、3×
3マトリクス回路282内の各画素値のうち「0」の値
を有するものが存在すると、その座標値を出力する。
282 is a 3 × 3 matrix circuit,
It is configured by arranging "9" flip-flops of "8" bits in 3 rows and 3 columns (coordinate values: (0,0) to (2,2)).
Next, 284 is a “255” judgment / counter, which is 3 ×
“255” among the pixel values in the 3 matrix circuit 282
If there is one having the value of, the coordinate value is output. Also, 285 is a “0” judgment / counter, which is 3 ×
If there is a pixel value of "0" among the pixel values in the 3-matrix circuit 282, the coordinate value is output.

【0030】次に、286は論理回路であり、「25
5」判定/カウンタ284および「0」判定/カウンタ
285から出力された座標値に基づいて、3×3マトリ
クス内に二値エッジが存在するか否かを判定し、その結
果を表す二値エッジ判定信号EGHを出力する。すなわ
ち、論理回路286は、主走査方向または副走査方向に
隣接し「255」および「0」の画素値を有する2つ画
素が存在するか否かを判定し、存在する場合は“1”
に、存在しない場合は“0”に、二値エッジ判定信号E
GHを設定する。
Next, 286 is a logic circuit,
Based on the coordinate values output from the “5” determination / counter 284 and the “0” determination / counter 285, it is determined whether or not there is a binary edge in the 3 × 3 matrix, and the binary edge representing the result. The determination signal EGH is output. That is, the logic circuit 286 determines whether or not there are two pixels adjacent to each other in the main scanning direction or the sub-scanning direction and having the pixel values of "255" and "0", and if they are present, "1".
If there is not, it is set to “0”, and the binary edge determination signal E
Set GH.

【0031】次に、283は比較器であり、注目画素
(3×3マトリクス内の座標値(1,1)の画素)は「25
5」に等しいか否かを判定し、等しい場合に“1”に、
等しくない場合に“0”になる二値エッジ信号PD0を
出力する。ところで、上述したように、プリンタ・イン
ターフェース601から二値エッジ判定部603に供給
される画像データは、「256」階調の多値画像デー
タ、または、「0」または「255」の画素値を有する
二値画像データである。
Next, reference numeral 283 is a comparator, and the pixel of interest (pixel of coordinate value (1,1) in the 3 × 3 matrix) is "25.
It is determined whether or not it is equal to "5", and when it is equal to "1",
When they are not equal, the binary edge signal PD0 which becomes "0" is output. By the way, as described above, the image data supplied from the printer interface 601 to the binary edge determination unit 603 is the multivalued image data of “256” gradation or the pixel value of “0” or “255”. It is the binary image data that it has.

【0032】前者の多値画像データが二値エッジ判定部
603に供給された場合は、二値エッジ信号PD0は特
に意味の無い信号になる。一方、後者の二値画像データ
が供給された場合は、二値エッジ信号PD0は、該二値
画像データを一般的な形式(画素値を「0」または
「1」で表現する二値画像データ)に変換したものにな
る。
When the former multi-valued image data is supplied to the binary edge determination unit 603, the binary edge signal PD0 becomes a signal having no meaning. On the other hand, when the latter binary image data is supplied, the binary edge signal PD0 indicates that the binary image data has a general format (binary image data in which a pixel value is represented by "0" or "1"). ) Will be converted to.

【0033】A.二値用スムージング処理部604 次に、二値用スムージング処理部604の構成を図14
を参照し説明する。図において290はFIFOバッフ
ァであり、主走査方向の1ライン相当分づつ、「8」回
に渡って二値エッジ信号PD0を遅延させ出力する。従
って、遅延されていない二値エッジ信号PD0自体と、
このFIFOバッファ290の各出力信号とに基づい
て、「9」ライン分の二値エッジ信号PD0が得られ
る。
A. Binary Smoothing Processing Unit 604 Next, the configuration of the binary smoothing processing unit 604 is shown in FIG.
This will be described with reference to FIG. In the figure, reference numeral 290 is a FIFO buffer, which delays and outputs the binary edge signal PD0 over "8" times by one line in the main scanning direction. Therefore, the undelayed binary edge signal PD0 itself,
Based on each output signal of the FIFO buffer 290, the binary edge signal PD0 for "9" lines is obtained.

【0034】291は窓化回路であり、「1」ビットの
フリップフロップ「81個」を9行9列に配列し、9×
9マトリクス(座標値:(0,0)〜(8,8))を成すものであ
る。292は論理回路であり、窓化回路291の出力信
号(9×9マトリクスの各値)に基づいて、注目画素値
(座標値:(4,4)〜(8,8))を多値化して成る多値画像デ
ータCD2と、波形制御信号ATB2とを出力する。
Numeral 291 is a windowing circuit, in which "81" flip-flops of "1" bit are arranged in 9 rows and 9 columns.
9 matrices (coordinate values: (0,0) to (8,8)) are formed. Reference numeral 292 is a logic circuit, which multi-values the pixel value of interest (coordinate values: (4,4) to (8,8)) based on the output signal (each value of the 9 × 9 matrix) of the windowing circuit 291. The multivalued image data CD2 and the waveform control signal ATB2 are output.

【0035】ここで、二値用スムージング処理部604
によるスムージング処理の一例を図15に示す。同図
(a)は、二値用スムージング処理部604に入力された
二値エッジ信号PD0であり、同図(b)は画像データC
D2を示す。画像データCD2は二値エッジ信号PD0を
多値化し、エッジ部分を中間濃度にしたものになる。ま
た、同図(c)は、この画像データCD2と上記波形制御
信号ATB2とに基づいて、波形制御スクリーン生成部
405で生成されるパルス幅変調信号を示す。
Here, the binary smoothing processing unit 604.
FIG. 15 shows an example of the smoothing process by the. Same figure
(a) is the binary edge signal PD0 input to the binary smoothing processing unit 604, and FIG.
D2 is shown. The image data CD2 is obtained by converting the binary edge signal PD0 into a multi-valued image so that the edge portion has an intermediate density. Further, FIG. 7C shows a pulse width modulation signal generated by the waveform control screen generation unit 405 based on the image data CD2 and the waveform control signal ATB2.

【0036】同図(c)においては、中間濃度部分のレー
ザダイオードの点灯タイミングは、各画素領域の右寄
り、または中央に設定されている。前者は波形制御信号
ATB2によって「200dpi右寄せ」が指令された
ことによるものであり、後者は「400dip」が指令
されたことによるものである。このような画像データC
D2および波形制御信号ATB2を出力する具体的手法
としては、例えば特開平4−186486号公報、特開
平5−6438号公報、または特開平5−46002号
公報等に開示された技術を用いるとよい。
In FIG. 7C, the lighting timing of the laser diode in the intermediate density portion is set to the right or the center of each pixel area. The former is because "200 dpi right justification" is commanded by the waveform control signal ATB2, and the latter is because "400 dip" is commanded. Such image data C
As a specific method of outputting D2 and the waveform control signal ATB2, for example, the technique disclosed in Japanese Patent Application Laid-Open No. 4-186486, Japanese Patent Application Laid-Open No. 5-6438, or Japanese Patent Application Laid-Open No. 5-46002 may be used. .

【0037】B.エッジ補正処理部403 次に、エッジ補正処理部403の概要を図2を参照し説
明する。図において410はマトリクス回路であり、セ
レクタ602を介して入力された画像データに基づい
て、注目画素を中心とする5×5マトリクスを生成す
る。420は空間デジタルフィルタ回路であり、該5×
5マトリクスに対する線形フィルタリング処理により、
エッジの強調を行う。
B. Edge Correction Processing Unit 403 Next, the outline of the edge correction processing unit 403 will be described with reference to FIG. In the figure, reference numeral 410 denotes a matrix circuit, which generates a 5 × 5 matrix centered on the target pixel based on the image data input through the selector 602. 420 is a spatial digital filter circuit,
By the linear filtering process for 5 matrices,
The edge is emphasized.

【0038】430はエッジ検出フィルタ回路であり、
5×5マトリクスの各値に対して効率的に加減算等を行
い、後段の回路に供給するデータを生成する。450、
460および500は、エッジ強度判定回路、エッジ方
向検出回路およびエッジ方向判定ロジック回路であり、
上記波形制御信号ATB1を生成する。また、510は
TRCタグ生成ルックアップテーブルであり、波形制御
信号ATB1等に基づいて、階調補正制御信号MTSE
Lを出力する。
Reference numeral 430 is an edge detection filter circuit,
Efficient addition and subtraction is performed on each value of the 5 × 5 matrix to generate data to be supplied to the circuit in the subsequent stage. 450,
Reference numerals 460 and 500 denote an edge strength determination circuit, an edge direction detection circuit, and an edge direction determination logic circuit,
The waveform control signal ATB1 is generated. Reference numeral 510 is a TRC tag generation look-up table, which is based on the waveform control signal ATB1 and the like and is used for gradation correction control signal MTSE.
L is output.

【0039】480は非線形フィルタ回路であり、空間
デジタルフィルタ回路420から出力された画像データ
に対して、さらに急峻なエッジ強調を行う。この非線形
フィルタ回路480におけるエッジ強調は、エッジ強度
判定回路450から出力されるフィルタ切換信号FCX
によりオン/オフ制御される。以下、エッジ補正処理部
403の各部を詳細に説明する。
Reference numeral 480 is a non-linear filter circuit, which performs sharper edge enhancement on the image data output from the spatial digital filter circuit 420. The edge enhancement in the non-linear filter circuit 480 is performed by the filter switching signal FCX output from the edge strength determination circuit 450.
Is controlled by ON / OFF. Hereinafter, each unit of the edge correction processing unit 403 will be described in detail.

【0040】B−1.マトリクス回路410等 次に、マトリクス回路410等の構成を図3を参照し説
明する。図においてマトリクス回路410は、「8」ビ
ットのフリップフロップを5×5マトリクス状に配列し
て構成されている。これらフリップフロップを、図上右
から左に向かって、および上から下に向かって、アルフ
ァベット順にA〜Yの記号で表す。また、これらフリッ
プフロップの出力信号(「8」ビット×「25」系統)
をマトリクス信号MTXという。
B-1. Matrix Circuit 410 and the Like Next, the configuration of the matrix circuit 410 and the like will be described with reference to FIG. In the figure, the matrix circuit 410 is configured by arranging flip-flops of “8” bits in a 5 × 5 matrix. These flip-flops are represented in alphabetical order by the symbols A to Y from right to left in the figure and from top to bottom. Also, the output signals of these flip-flops ("8" bits x "25" lines)
Is called a matrix signal MTX.

【0041】5×5マトリクス上で最左列のフリップフ
ロップE,J,O,TおよびYには、所定のクロックに
同期して、画像データ中で副走査方向に隣接する「5」
画素の濃度信号CDI0〜CDI4が供給される。これ
ら濃度信号は各画素の濃度を「256」階調(「8」ビ
ット)で表現するものである。供給された濃度信号はフ
リップフロップE,J,O,TおよびYにラッチされ
る。また、それ以前に各フリップフロップにラッチされ
ていた内容は、図上右方向にシフトされる。ここで、フ
リップフロップMに係る画素はエッジ強調等の処理対象
となる注目画素である。
The flip-flops E, J, O, T, and Y in the leftmost column on the 5 × 5 matrix are adjacent to each other in the image data in the sub-scanning direction in synchronization with a predetermined clock signal “5”.
The pixel density signals CDI0 to CDI4 are supplied. These density signals represent the density of each pixel by "256" gradation ("8" bits). The supplied concentration signal is latched in flip-flops E, J, O, T and Y. The contents latched in each flip-flop before that are shifted to the right in the figure. Here, the pixel related to the flip-flop M is a target pixel to be processed such as edge enhancement.

【0042】また、10はCPUバスコントローラであ
り、制御装置408から供給された制御信号に基づい
て、後述する各種のレジスタに必要なデータを書込む。
11はタイミング・コントローラであり、供給されたク
ロック信号等に基づいて、各種の制御信号を出力する。
Reference numeral 10 denotes a CPU bus controller, which writes necessary data in various registers described later based on a control signal supplied from the control device 408.
A timing controller 11 outputs various control signals based on the supplied clock signal and the like.

【0043】B−2.エッジ検出フィルタ430 次に、エッジ検出フィルタ回路430の構成を図4を参
照し説明する。図において21〜28,33〜44は加
算器、29〜32,45〜48は減算器である。加算器
21は、フリップフロップG,H,Iの出力信号を加算
し、加算器22はフリップフロップQ,R,Sの出力信
号を加算し、減算器29は前者の加算結果x1から後者
の加算結果x2を減算し減算結果e5を出力する。
B-2. Edge Detection Filter 430 Next, the configuration of the edge detection filter circuit 430 will be described with reference to FIG. In the figure, 21 to 28 and 33 to 44 are adders, and 29 to 32 and 45 to 48 are subtractors. The adder 21 adds the output signals of the flip-flops G, H and I, the adder 22 adds the output signals of the flip-flops Q, R and S, and the subtracter 29 adds the latter addition result to the latter addition result x1. The result x2 is subtracted and the subtraction result e5 is output.

【0044】ここで、かかる演算の意義について説明し
ておく。まず、5×5マトリクスの内部で注目画素を中
心とする3×3マトリクスを想定する。上記演算は3×
3マトリクスの第1行(最上行)および第3行(最下
行)の強度の差を求めたものである。これは、注目画素
が上エッジを構成する傾向にあるのか、あるいは下エッ
ジを構成する傾向にあるのかを判定する指標になる。
Here, the significance of such calculation will be described. First, assume a 3 × 3 matrix centered on a pixel of interest inside a 5 × 5 matrix. The above calculation is 3 ×
The difference in intensity between the first row (top row) and the third row (bottom row) of the three matrices is obtained. This is an index for determining whether the pixel of interest tends to form the upper edge or the lower edge.

【0045】同様に、加算器23は、フリップフロップ
G,L,Qの出力信号を加算し、加算器24はフリップ
フロップI,N,Sの出力信号を加算し、減算器30は
前者の加算結果y1から後者の加算結果y2を減算し減
算結果e6を出力する。この減算結果e6は、注目画素
が左エッジを構成する傾向にあるのか、あるいは右エッ
ジを構成する傾向にあるのかを判定する指標になる。
Similarly, the adder 23 adds the output signals of the flip-flops G, L, and Q, the adder 24 adds the output signals of the flip-flops I, N, and S, and the subtractor 30 adds the former addition. The latter addition result y2 is subtracted from the result y1 and the subtraction result e6 is output. The subtraction result e6 serves as an index for determining whether the target pixel tends to form the left edge or the right edge.

【0046】次に、加算器25〜28,33〜44は、
5×5マトリクスの各行および列毎の出力信号の加算結
果を出力する。ここで、第1行〜第5行の加算結果をc
1〜c5,第1列〜第5列(列番号は、図1のマトリク
ス回路410内で右側から数える)の加算結果をr1〜
r5とする。加算器33〜38は奇数行および奇数列に
対応し、その対応する行または列に属する「5」個のフ
リップフロップの出力信号がそのまま加算されることに
より、各加算結果が求められる。
Next, the adders 25 to 28 and 33 to 44 are
The addition result of the output signals for each row and column of the 5 × 5 matrix is output. Here, the addition result of the first row to the fifth row is c
1 to c5, 1st to 5th columns (column numbers are counted from the right side in the matrix circuit 410 of FIG. 1), addition results of r1 to
r5. The adders 33 to 38 correspond to odd-numbered rows and odd-numbered columns, and the output signals of the “5” flip-flops belonging to the corresponding rows or columns are added as they are to obtain each addition result.

【0047】一方、加算器25〜28は偶数行および偶
数列に対応する。これら加算器にあっては、先に3×3
マトリクスについて求められた加算結果x1,x2,y
1,y2が流用されることにより、加算結果が求められ
る。例えば、加算器25にあっては、加算結果x1(フ
リップフロップG,H,Iの出力信号の合計)に対し
て、さらにフリップフロップF,Jの出力信号が合計さ
れ、これによって第2行の加算結果c2が得られる。
On the other hand, adders 25 to 28 correspond to even rows and even columns. For these adders, first add 3 × 3
Addition results x1, x2, y obtained for the matrix
The addition result is obtained by diverting 1, y2. For example, in the adder 25, the output signals of the flip-flops F and J are further summed with respect to the addition result x1 (the sum of the output signals of the flip-flops G, H, and I), and the result of the second row is added. The addition result c2 is obtained.

【0048】ここに本実施形態の一つの特徴がある。す
なわち、本実施形態にあっては、3×3マトリクスにお
ける加算結果を流用して5×5マトリクスにおける加算
結果を得ることができる。これにより、後者の演算処理
量を削減でき、簡易な回路を用いて演算を高速に行うこ
とが可能になる。
This is one of the features of this embodiment. That is, in the present embodiment, the addition result in the 5 × 5 matrix can be obtained by diverting the addition result in the 3 × 3 matrix. As a result, the latter calculation processing amount can be reduced, and the calculation can be performed at high speed using a simple circuit.

【0049】次に、加算器41は加算結果c1,c2を
加算して加算結果c7を出力する。すなわち、加算結果
c7は、5×5マトリクス内で注目画素の属する行(第
3行)の上方向に位置する全ての画素濃度の総和にな
る。同様に、加算器42は加算結果c4,c5を加算し
て加算結果c8を出力する。すなわち、加算結果c8
は、注目画素の属する行(第3行)の下方向に位置する
全ての画素濃度の総和になる。次に、減算器47は、両
加算結果c7,c8の差を出力する。
Next, the adder 41 adds the addition results c1 and c2 and outputs the addition result c7. That is, the addition result c7 is the sum of the pixel densities of all the pixels located above the row (third row) to which the pixel of interest belongs in the 5 × 5 matrix. Similarly, the adder 42 adds the addition results c4 and c5 and outputs the addition result c8. That is, the addition result c8
Is the sum of the pixel densities of all the pixels located below the row (third row) to which the pixel of interest belongs. Next, the subtractor 47 outputs the difference between both addition results c7 and c8.

【0050】ここで、減算器47の減算結果は、5×5
マトリクスの列方向すなわち副走査方向の濃度勾配の平
均値に比例する量になる。そこで、この減算結果を「副
走査方向1階微分値e3」と呼ぶ。また、加算器43,
44および減算器48にあっては、各列の加算結果r
1,r2,r4,r5に対して上述したのと同様の演算
が行われ、減算器48の減算結果は行方向すなわち主走
査方向の濃度勾配の平均値に比例する量になる。そこ
で、この減算結果を「主走査方向1階微分値e4」と呼
ぶ。
Here, the subtraction result of the subtractor 47 is 5 × 5.
The amount is proportional to the average value of the density gradient in the column direction of the matrix, that is, the sub-scanning direction. Therefore, this subtraction result is referred to as "first-order differential value e3 in the sub-scanning direction". In addition, the adder 43,
44 and the subtractor 48, the addition result r of each column
The same calculation as that described above is performed on 1, r2, r4, and r5, and the subtraction result of the subtractor 48 becomes an amount proportional to the average value of the density gradient in the row direction, that is, the main scanning direction. Therefore, this subtraction result is referred to as "first-order differential value e4 in the main scanning direction".

【0051】次に、加算器39は、加算結果c1,c5
の各「1/2」の値を加算し、加算結果c6を出力す
る。そして、減算器45は、第3行の加算結果c3から
加算結果c6を減算し、その結果を出力する。換言すれ
ば、減算器45からは、加算結果c1,c3,c5に対
して各々「−1/2」,「1」,「−1/2」の重み付
けを行った後、これらを加算した結果が出力される。な
お、各種値の「1/2」は、単にその値の最下位ビット
を無視すれば得られるから、特に除算回路やシフト回路
等を設ける必要はない。
Next, the adder 39 outputs the addition results c1 and c5.
The respective values of "1/2" are added and the addition result c6 is output. Then, the subtractor 45 subtracts the addition result c6 from the addition result c3 of the third row and outputs the result. In other words, the subtractor 45 weights “−1/2”, “1”, and “−1/2” to the addition results c1, c3, and c5, respectively, and then adds them. Is output. Since "1/2" of various values can be obtained by simply ignoring the least significant bit of the value, it is not necessary to provide a division circuit, a shift circuit, or the like.

【0052】さて、減算器45における減算結果は、副
走査方向の濃度勾配が一定である場合は「0」になり、
濃度勾配に変化が生じた場合はその変化量に応じた値に
なる。すなわち、減算器45から出力される値は、5×
5マトリクス内の副走査方向の濃度勾配の勾配に比例す
る値になる。従って、この値を「副走査方向2階微分値
e1」と呼ぶ。また、加算器40および減算器46にお
いては、各列の加算結果r1,r3,r5に対して同様
の演算が行われ、減算器46からは主走査方向の濃度勾
配の勾配に比例する値になる。従って、この値を「主走
査方向2階微分値e2」と呼ぶ。
Now, the subtraction result in the subtractor 45 becomes "0" when the density gradient in the sub-scanning direction is constant,
If the concentration gradient changes, the value will depend on the amount of change. That is, the value output from the subtractor 45 is 5 ×
5 is a value proportional to the gradient of the density gradient in the sub-scanning direction within the matrix. Therefore, this value is called "second-order differential value e1 in the sub-scanning direction". Further, in the adder 40 and the subtractor 46, the same calculation is performed on the addition results r1, r3, r5 of each column, and the subtractor 46 produces a value proportional to the gradient of the density gradient in the main scanning direction. Become. Therefore, this value is called "second-order differential value e2 in the main scanning direction".

【0053】次に、減算器31は、注目画素値(フリッ
プフロップMの出力信号)からフリップフロップA,Y
の各出力信号の「1/2」を減算する。この値は、注目
画素を通る右上がりの斜線(フリップフロップA,Yを
通る線)に沿った、濃度の2階微分値に対応する値にな
る。そこで、この値を「傾斜方向2階微分値DI1」と
呼ぶ。同様に、減算器32は、注目画素値からフリップ
フロップE,Uの各出力信号の「1/2」を減算する。
そこで、この減算結果を「傾斜方向2階微分値DI2」
と呼ぶ。
Next, the subtractor 31 determines the flip-flops A and Y from the pixel value of interest (the output signal of the flip-flop M).
"1/2" of each output signal of is subtracted. This value is a value corresponding to the second-order differential value of the density along a diagonal line rising to the right (a line passing through the flip-flops A and Y) passing through the pixel of interest. Therefore, this value is referred to as "second-order differential value DI1 in tilt direction". Similarly, the subtractor 32 subtracts "1/2" of each output signal of the flip-flops E and U from the target pixel value.
Therefore, the result of this subtraction is "the second-order differential value DI2 in the tilt direction".
Call.

【0054】B−3.エッジ強度判定回路450および
エッジ方向検出回路460 図5において60〜67は絶対値回路であり、上述した
各演算結果e1〜e6,DI1およびDI2の絶対値を
出力する。また、絶対値回路65は、減算結果e6の符
号を符号信号e6sとして出力する。70は比較器であ
り、副走査方向2階微分値e1の絶対値と主走査方向2
階微分値e2の絶対値との大小関係を比較する。71は
セレクタであり、この比較結果に基づいて、大きい方の
値(以下、値max(|e1|,|e2|)という)を出力
する。
B-3. Edge Strength Determining Circuit 450 and Edge Direction Detection Circuit 460 In FIG. 5, reference numerals 60 to 67 are absolute value circuits, which output the absolute values of the above-mentioned calculation results e1 to e6, DI1 and DI2. Further, the absolute value circuit 65 outputs the sign of the subtraction result e6 as the sign signal e6s. Reference numeral 70 denotes a comparator, which is the absolute value of the second-order differential value e1 in the sub-scanning direction and the second-order differential value e1 in the main scanning direction.
The magnitude relationship with the absolute value of the differential value e2 is compared. Reference numeral 71 denotes a selector, which outputs the larger value (hereinafter, referred to as value max (| e1 |, | e2 |)) based on the comparison result.

【0055】次に、80は閾値レジスタであり、原画像
の種別(文字、写真、文字+写真、および地図)に対応
した「4」種類の閾値ETH1を記憶する。そして、種
別指令信号STYPE’(詳細は後述する)に基づい
て、これら「4」種類の閾値ETH1の中から何れかを
選択して出力する。100は比較器であり、値max
(|e1|,|e2|)が閾値ETH1以上である場合に
“1”、それ以外の場合に“0”となる比較結果FC1
を出力する。
Next, reference numeral 80 denotes a threshold value register, which stores "4" types of threshold value ETH1 corresponding to the type of the original image (character, photograph, character + photograph, and map). Then, based on the type command signal STYPE '(details will be described later), any one of these "4" types of threshold value ETH1 is selected and output. 100 is a comparator, and the value max
The comparison result FC1 which is "1" when (| e1 |, | e2 |) is equal to or greater than the threshold value ETH1 and which is "0" otherwise.
Is output.

【0056】また、81は閾値レジスタであり、「4」
種類の閾値ETH2を記憶する。また、セレクタ91お
よび比較器101は、セレクタ90および比較器100
と同様に構成されている。従って、比較器101は、値
max(|e1|,|e2|)が閾値ETH2以上である場
合に“1”、それ以外の場合に“0”となる比較結果W
C1を出力する。
Reference numeral 81 is a threshold value register, which is "4".
The threshold value ETH2 of the type is stored. The selector 91 and the comparator 101 are the selector 90 and the comparator 100.
Is configured similarly to. Therefore, the comparator 101 outputs “1” when the value max (| e1 |, | e2 |) is equal to or greater than the threshold value ETH2, and otherwise outputs “0” as the comparison result W.
Output C1.

【0057】また、比較器72、セレクタ73、閾値レ
ジスタ82,83、セレクタ92,93および比較器1
02,103から成る部分は、上述した部分と同様に構
成されている。従って、比較器102は、副走査方向1
階微分値e3の絶対値および主走査方向1階微分値e4
の絶対値のうち大きい方の値(以下、値max(|e3
|,|e4|)という)が閾値ETH3以上である場合に
“1”になる比較結果FC2を出力する。同様に、比較
器103は、値max(|e3|,|e4|)が閾値ETH
4以上である場合に“1”になる比較結果WC2を出力
する。
Further, the comparator 72, the selector 73, the threshold registers 82 and 83, the selectors 92 and 93, and the comparator 1
The part consisting of 02 and 103 has the same structure as the above-mentioned part. Therefore, the comparator 102 has the sub-scanning direction 1
Absolute value of the differential value e3 and the primary differential value e4 in the main scanning direction
The larger of the absolute values of (the value max (| e3
, | E4 |)) is greater than or equal to the threshold value ETH3, the comparison result FC2 that is "1" is output. Similarly, the comparator 103 determines that the value max (| e3 |, | e4 |) is the threshold value ETH.
When it is 4 or more, the comparison result WC2 which becomes "1" is output.

【0058】また、比較器74、セレクタ75、閾値レ
ジスタ84、セレクタ94および比較器104から成る
部分も同様に構成されている。従って、比較器102
は、減算結果e5の絶対値および減算結果e6の絶対値
のうち大きい方の値(以下、値max(|e5|,|e6
|)という)が閾値ETH5以上である場合に“1”に
なる比較結果WC3を出力する。
Further, the portion composed of the comparator 74, the selector 75, the threshold value register 84, the selector 94 and the comparator 104 is also similarly constructed. Therefore, the comparator 102
Is the larger of the absolute value of the subtraction result e5 and the absolute value of the subtraction result e6 (hereinafter, the value max (| e5 |, | e6
The comparison result WC3 that becomes "1" is output when the value of () is greater than or equal to the threshold value ETH5.

【0059】さらに、比較器77、セレクタ78、閾値
レジスタ86、セレクタ96および比較器107から成
る部分も同様に構成されている。従って、比較器107
は、傾斜方向2階微分値DI1の絶対値および傾斜方向
2階微分値DI2の絶対値のうち大きい方の値(以下、
値max(|DI1|,|DI2|)という)が閾値ETH
7以上である場合に“1”になる比較結果FWC1を出
力する。
Further, the portion composed of the comparator 77, the selector 78, the threshold value register 86, the selector 96 and the comparator 107 is similarly configured. Therefore, the comparator 107
Is the larger of the absolute value of the tilt direction second-order differential value DI1 and the absolute value of the tilt direction second-order differential value DI2 (hereinafter,
The value max (called | DI1 |, | DI2 |) is the threshold ETH
When it is 7 or more, the comparison result FWC1 which becomes "1" is output.

【0060】次に、76は加算器であり、減算結果e
5,e6の絶対値の平均値(平均値e7)を出力する。
また、95はセレクタであり、種別指令信号STYP
E’に基づいて閾値ETH6を選択し出力する。減算器
108は、上記平均値e7から閾値ETH6を減算し、
閾値e8として出力する。105,106は比較器であ
り、減算結果e5,e6の各絶対値と閾値e8とを比較
し、対応する減算結果が閾値e8以上である場合は
“1”になり、それ以外の場合は“0”になる比較結果
MI2,MI3を各々出力する。
Next, 76 is an adder for subtracting the result e
The average value of the absolute values of 5 and e6 (average value e7) is output.
Further, 95 is a selector, which is a type command signal STYP
The threshold value ETH6 is selected and output based on E '. The subtractor 108 subtracts the threshold value ETH6 from the average value e7,
It is output as the threshold value e8. Reference numerals 105 and 106 are comparators, which compare the absolute values of the subtraction results e5 and e6 with the threshold value e8, and become "1" when the corresponding subtraction result is greater than or equal to the threshold value e8, and "1" otherwise. The comparison results MI2 and MI3 which are 0 "are output.

【0061】ここで、比較結果MI2,MI3の意義に
ついて説明しておく。まず、上述したように、減算結果
e5は、3×3マトリクス内の注目画素が上エッジを構
成する傾向にあるのか、あるいは下エッジを構成する傾
向にあるのかを判定する指標である。従って、その絶対
値は、注目画素が主走査方向のエッジ(上下エッジ)を
構成する傾向の強さを示すことになる。同様に、減算結
果e6は、注目画素が副走査方向のエッジ(左右エッ
ジ)を構成する傾向の強さを示すことになる。
Here, the significance of the comparison results MI2 and MI3 will be described. First, as described above, the subtraction result e5 is an index for determining whether the target pixel in the 3 × 3 matrix tends to form the upper edge or the lower edge. Therefore, the absolute value indicates the strength of the tendency that the target pixel forms an edge (upper and lower edges) in the main scanning direction. Similarly, the subtraction result e6 indicates the strength of the tendency that the target pixel forms an edge (left and right edge) in the sub-scanning direction.

【0062】従って、比較結果MI2,MI3の値によ
って、エッジ方向を判別することが可能である。すなわ
ち、比較結果MI2,MI3が“1”,“0”である場
合は注目画素は主走査方向のエッジを構成する傾向が強
く、“0”,“1”である場合は副走査方向のエッジを
構成する傾向が強いことになる。また、これらの値が
“0”,“0”または“1”,“1”である場合は、注
目画素が主走査方向および副走査方向のエッジを構成す
る傾向は同様であることなる。なお、減算結果e5,e
6の絶対値が近接している場合(両者の差が±|ETH
6|以下である場合)、比較結果MI2,MI3は
“0”,“0”または“1”,“1”になる。このうち
何れになるかは、閾値ETH6の符号(+または−)に
基づく。
Therefore, the edge direction can be discriminated by the values of the comparison results MI2 and MI3. That is, when the comparison results MI2 and MI3 are "1" and "0", the target pixel has a strong tendency to form an edge in the main scanning direction, and when the comparison results MI2 and MI3 are "0" and "1", the edge in the sub-scanning direction. Will tend to be strong. Further, when these values are "0", "0" or "1", "1", the tendency that the pixel of interest constitutes an edge in the main scanning direction and the sub scanning direction is similar. The subtraction results e5, e
When the absolute values of 6 are close to each other (the difference between them is ± | ETH
6 | or less), the comparison results MI2 and MI3 become "0", "0" or "1", "1". Which of these is used is based on the sign (+ or −) of the threshold value ETH6.

【0063】B−4.エッジ方向判定ロジック回路50
0およびTRCタグ生成ルックアップテーブル510 図6において120はOR回路であり、比較結果FC
1,FC2,FWC1の論理和を演算し、その結果をフ
ィルタ切換信号FCXとして出力する。なお、フィルタ
切換信号FCXの用途については後述する。142はO
R回路であり、比較結果WC1〜WC3,FWC1の論
理和を演算し、その結果をエッジ存否判定信号MI1と
して出力する。
B-4. Edge direction determination logic circuit 50
0 and TRC tag generation lookup table 510 In FIG. 6, 120 is an OR circuit, and the comparison result FC
The logical sum of 1, FC2 and FWC1 is calculated, and the result is output as the filter switching signal FCX. The use of the filter switching signal FCX will be described later. 142 is O
The R circuit calculates the logical sum of the comparison results WC1 to WC3 and FWC1 and outputs the result as an edge presence / absence determination signal MI1.

【0064】144,145はレジスタであり、波形制
御信号ATB1の候補となりうる4種類の値を記憶す
る。そして、エッジ判定ロジック・マルチプレクサ14
3は、エッジ存否判定信号MI1、比較結果MI2,M
I3および符号信号e6sが供給されると、下表に基づ
いて、レジスタ144,145に記憶された値のうち一
つを選択し出力する。
Reference numerals 144 and 145 are registers, which store four kinds of values which can be candidates for the waveform control signal ATB1. Then, the edge decision logic multiplexer 14
3 is an edge presence / absence determination signal MI1, comparison results MI2, M
When I3 and the sign signal e6s are supplied, one of the values stored in the registers 144 and 145 is selected and output based on the table below.

【0065】[0065]

【表1】 [Table 1]

【0066】表1において、エッジ存否判定信号MI1
が“0”である場合(エッジが検出されなかた場合)
は、他の信号に拘らず、200dpiの単独の三角波が
選択されるように、波形制御信号ATB1が“00”に
設定される。また、エッジ存否判定信号MI1が“1”
であって比較結果MI3が“0”である場合(副走査方
向のエッジを構成する傾向が弱い場合)は、400di
pの三角波を選択すべく、波形制御信号ATB1が“1
1”に設定される。
In Table 1, the edge presence / absence determination signal MI1
Is "0" (when no edge is detected)
, The waveform control signal ATB1 is set to "00" so that a single triangular wave of 200 dpi is selected regardless of other signals. Further, the edge presence / absence determination signal MI1 is "1".
And the comparison result MI3 is “0” (when the tendency to form an edge in the sub-scanning direction is weak), 400 di
In order to select the triangular wave of p, the waveform control signal ATB1 is set to "1".
1 "is set.

【0067】そして、これ以外の場合は、右寄せあるい
は左寄せが行われるように、波形制御信号ATB1が
“01”または“10”に設定される。この波形制御信
号ATB1は、タイミング合せのために遅延回路146
を介して所定時間(レジスタ147によって指定された
時間)だけ遅延され、波形制御スクリーン生成部405
に供給される。
In other cases, the waveform control signal ATB1 is set to "01" or "10" so that the right or left alignment is performed. The waveform control signal ATB1 is delayed by the delay circuit 146 for timing adjustment.
Is delayed by a predetermined time (time designated by the register 147) via the waveform control screen generation unit 405.
Supplied to

【0068】次に、121〜136はレジスタであり、
階調補正制御信号MTSELの候補となる「16」種類
のデータを記憶する。137は出力階調補正ロジック・
マルチプレクサであり、セレクタ140を介して供給さ
れた「2」ビットのデータと、上記波形制御信号ATB
1(「2」ビット)とを合せた計「4」ビットのデータ
を選択信号とし、上述した「16」種類のデータのうち
何れかを選択し、選択したデータを階調補正制御信号M
TSELとして出力する。
Next, 121 to 136 are registers,
The "16" types of data that are candidates for the gradation correction control signal MTSEL are stored. 137 is an output gradation correction logic
A multiplexer, which is the data of "2" bits supplied through the selector 140 and the waveform control signal ATB.
Data of a total of "4" bits including 1 ("2" bits) is used as a selection signal, and any one of the above "16" types of data is selected, and the selected data is the gradation correction control signal M.
Output as TSEL.

【0069】この階調補正制御信号MTSELは、遅延
回路138を介して所定時間(レジスタ139によって
指定された時間)だけ遅延され、出力階調補正部404
に供給される。また、上述したセレクタ140には、種
別指令信号STYPE’と、他の信号(STRC)とが
供給され、タグ制御レジスタ141の内容に基づいて、
そのうち一方が出力階調補正ロジック・マルチプレクサ
137に供給される。通常の使用状態では、種別指令信
号STYPE’が選択されるように、タグ制御レジスタ
141の内容が設定される。
This gradation correction control signal MTSEL is delayed by a predetermined time (time designated by the register 139) via the delay circuit 138, and the output gradation correction unit 404.
Supplied to The selector 140 described above is supplied with the type command signal STYPE ′ and another signal (STRC), and based on the contents of the tag control register 141,
One of them is supplied to the output gradation correction logic multiplexer 137. In a normal use state, the contents of the tag control register 141 are set so that the type command signal STYPE 'is selected.

【0070】B−5.空間デジタルフィルタ回路420 次に、空間デジタルフィルタ回路420の構成を図7を
参照し説明する。図において265は種別指令レジスタ
であり、ユーザより指定された原稿画像の種別(文字、
写真、文字+写真、または地図)を表す「2」ビットの
データが書込まれる。このデータは、セレクタ266の
一端に供給される。また、セレクタ266の他端には、
CPU409から「2」ビットの種別検出信号STYP
Eが供給される。
B-5. Spatial Digital Filter Circuit 420 Next, the configuration of the spatial digital filter circuit 420 will be described with reference to FIG. In the figure, reference numeral 265 denotes a type command register, which is a type (character,
"2" bit data representing a photograph, a character + a photograph, or a map) is written. This data is supplied to one end of the selector 266. Also, at the other end of the selector 266,
"2" bit type detection signal STYP from CPU 409
E is supplied.

【0071】セレクタ266は、レジスタ267に記憶
されたデータに基づいて、種別指令レジスタ265の内
容、あるいは種別検出信号STYPEのうち一方を選択
し、選択した信号を種別指令信号STYPE’として出
力する。次に、260〜264は加算回路である。加算
回路260は、マトリクス信号MTX内のフリップフロ
ップA,E,U,Yの出力信号を加算し、加算結果S1
を出力する。
The selector 266 selects one of the content of the type command register 265 or the type detection signal STYPE based on the data stored in the register 267, and outputs the selected signal as the type command signal STYPE '. Next, reference numerals 260 to 264 are addition circuits. The adder circuit 260 adds the output signals of the flip-flops A, E, U, and Y in the matrix signal MTX, and adds the result S1.
Is output.

【0072】同様に、加算回路261はフリップフロッ
プB,D,F,J,P,T,V,Xの出力信号を加算し
て加算結果S2を出力し、加算回路262はフリップフ
ロップC,K,O,Wの出力信号を加算して加算結果S
3を出力し、加算回路263はフリップフロップG,
I,Q,Sの出力信号を加算して加算結果S3を出力
し、加算回路264はフリップフロップH,L,N,R
の出力信号を加算して加算結果S5を出力する。
Similarly, the adder circuit 261 adds the output signals of the flip-flops B, D, F, J, P, T, V, and X and outputs the addition result S2. The adder circuit 262 outputs the flip-flops C and K. , O, W output signals are added to add result S
3 and the adder circuit 263 outputs the flip-flop G,
The output signals of I, Q and S are added and the addition result S3 is output, and the adder circuit 264 outputs the flip-flops H, L, N and R.
Output signals are added and the addition result S5 is output.

【0073】170〜175はレジスタであり、係数g
1〜g6を記憶する。これら係数g1〜g6は、原稿種
別に対応して「4」種類づつ記憶されている。180〜
185はセレクタであり、種別指令信号STYPE’に
対応した係数g1〜g6を各々選択して出力する。19
0〜195は乗算回路であり、加算結果S1〜S5およ
び注目画素値dMに対して選択された係数g1〜g6を
各々乗算し、乗算結果S1’〜S5’を出力する。
Reference numerals 170 to 175 denote registers, which have a coefficient g.
Memorize 1 to g6. These coefficients g1 to g6 are stored for each "4" type corresponding to the document type. 180 ~
A selector 185 selects and outputs the coefficients g1 to g6 corresponding to the type command signal STYPE '. 19
Reference numerals 0 to 195 denote multiplication circuits, which multiply the addition results S1 to S5 and the target pixel value dM by the selected coefficients g1 to g6, respectively, and output multiplication results S1 'to S5'.

【0074】次に、200〜205はレジスタであり、
各々シフト量SG1〜SG6を記憶する。これらシフト
量SG1〜SG6も画像種別に対応して「4」種類づつ
記憶されている。210〜215はセレクタであり、種
別指令信号STYPE’に対応したシフト量SG1〜S
G6を各々選択して出力する。220〜225はシフト
回路であり、シフト量SG1〜SG6で指定された桁数
だけ乗算結果S1’〜S5’をシフトし、乗算結果S
1”〜S5”として出力する。
Next, 200 to 205 are registers,
The shift amounts SG1 to SG6 are stored respectively. These shift amounts SG1 to SG6 are also stored for each “4” type corresponding to the image type. Reference numerals 210 to 215 denote selectors, which are shift amounts SG1 to S corresponding to the type command signal STYPE '.
G6 is selected and output. Reference numerals 220 to 225 denote shift circuits, which shift the multiplication results S1 'to S5' by the number of digits designated by the shift amounts SG1 to SG6, respectively.
It is output as 1 "to S5".

【0075】226は加算回路であり、乗算結果S1”
〜S5”を加算し、その結果を修正注目画素値dM’と
して出力する。すなわち、修正注目画素値dM’は、マ
トリクス信号MTXを成す5×5マトリクスの各値に対
して下表2に示す重み付けを行って積和演算した結果に
なる。
Reference numeral 226 denotes an adder circuit, which is the multiplication result S1 ″.
.About.S5 "are added and the result is output as a corrected target pixel value dM '. That is, the corrected target pixel value dM' is shown in Table 2 below for each value of the 5.times.5 matrix forming the matrix signal MTX. It is the result of multiplying and summing products.

【0076】[0076]

【表2】 [Table 2]

【0077】表2において、H1〜H6は重み付け係数
である。本実施例にあっては、マトリクス信号MTX中
で同一の重み付け係数が乗算される信号は、予め加算回
路260〜264において加算される。これにより、乗
算回数が減少し、回路の小規模化と演算の高速化を達成
することが可能になる。ところで、重み付け係数Hn
(但しn=1,2,・・・・,6)は、「gn×2SGn」に
等しい。換言すれば、本実施形態にあっては、加算結果
S1〜S5に重み付け係数H1〜H6を乗算するという
動作が、乗算回路190〜195における乗算とシフト
回路220〜225におけるシフト動作との2段階に分
けて実行されることになる。
In Table 2, H1 to H6 are weighting coefficients. In the present embodiment, signals multiplied by the same weighting coefficient in the matrix signal MTX are added in advance by the adder circuits 260 to 264. As a result, the number of multiplications is reduced, and it is possible to reduce the size of the circuit and speed up the operation. By the way, the weighting coefficient Hn
(However, n = 1, 2, ..., 6) is equal to “gn × 2 SGn ”. In other words, in the present embodiment, the operation of multiplying the addition results S1 to S5 by the weighting factors H1 to H6 is a two-step operation including the multiplication in the multiplication circuits 190 to 195 and the shift operation in the shift circuits 220 to 225. It will be executed separately.

【0078】これにより、本実施形態にあっては、乗算
回路190〜195における被乗数の桁数を揃えること
ができ、乗算回路190〜195を固定小数点型の乗算
器として実現することができる。固定小数点型の乗算器
は浮動小数点型のものより高速化できるから、本実施形
態にあっては、修正注目画素値dM’を一層高速に計算
することが可能になる。
As a result, in this embodiment, the number of digits of the multiplicands in the multiplication circuits 190 to 195 can be made uniform, and the multiplication circuits 190 to 195 can be realized as a fixed-point type multiplier. Since the fixed-point type multiplier can be made faster than the floating-point type multiplier, in the present embodiment, it is possible to calculate the modified pixel value of interest dM ′ at a higher speed.

【0079】ここで、重み付け係数H1〜H6は、注目
画素値dMのエッジを強調するように設定される。例え
ば、注目画素値dMが主走査方向の座標値xに対して図
12(a)の特性A1に示すように山状に変化する場合、
修正注目画素値dM’は、同図の特性A2に示すよう
に、山状の頂部付近は高く、裾野部分は低くなる。
Here, the weighting factors H1 to H6 are set so as to emphasize the edge of the target pixel value dM. For example, when the target pixel value dM changes in a mountain shape with respect to the coordinate value x in the main scanning direction as shown by the characteristic A1 in FIG.
The corrected target pixel value dM ′ is high in the vicinity of the mountain-shaped top portion and is low in the skirt portion, as indicated by the characteristic A2 in FIG.

【0080】ここで、空間デジタルフィルタ回路420
のフィルタリング特性の一例について若干説明してお
く。まず、空間デジタルフィルタ回路420は、巨視的
な画像濃度を変更しないように、空間周波数が「0」で
ある場合はゲインが「0dB」になるように設定され
る。そして、空間周波数が若干高い領域(例えば100
dpi程度)では、エッジ強調を行うために、ゲインは
「0dB」を超えるようになる。しかし、さらに高い空
間周波数(例えば200dpi以上)にあっては、モア
レを防止するため、ゲインは「0dB」未満の値にな
る。すなわち、空間デジタルフィルタ回路420は、バ
ンド強調型のフィルタ特性を有することになる。
Here, the spatial digital filter circuit 420
An example of the filtering characteristics of is described briefly. First, the spatial digital filter circuit 420 is set so that the gain becomes “0 dB” when the spatial frequency is “0” so as not to change the macroscopic image density. Then, a region where the spatial frequency is slightly higher (for example, 100
At about (dpi), the gain exceeds “0 dB” because edge enhancement is performed. However, at a higher spatial frequency (for example, 200 dpi or more), the gain becomes a value less than “0 dB” to prevent moire. That is, the spatial digital filter circuit 420 has band emphasis type filter characteristics.

【0081】B−6.非線形フィルタ回路480 次に、非線形フィルタ回路480の構成を図8を参照し
説明する。図において240〜243はフリップフロッ
プであり、注目画素値dMおよび修正注目画素値dM’
のタイミングを合せるために、注目画素値dMを遅延さ
せて出力する。244は減算回路であり、修正注目画素
値dM’から遅延された注目画素値dMを減算し、減算
結果「dM’−dM」を出力する。この減算結果は、図
12(a)の例にあっては、特性A3に示すようになる。
B-6. Non-Linear Filter Circuit 480 Next, the configuration of the non-linear filter circuit 480 will be described with reference to FIG. In the figure, reference numerals 240 to 243 are flip-flops, which have a target pixel value dM and a modified target pixel value dM ′.
In order to match the timing of, the target pixel value dM is delayed and output. A subtraction circuit 244 subtracts the delayed target pixel value dM from the corrected target pixel value dM ′ and outputs the subtraction result “dM′−dM”. The result of this subtraction is as shown by the characteristic A3 in the example of FIG.

【0082】この減算結果「dM’−dM」を注目画素
値dMに対する第2のフィルタリング結果と考え、その
周波数特性を検討してみる。上述したように、空間周波
数が「0」である場合の修正注目画素値dM’は注目画
素値dMに等しいから、かかる場合は減算結果「dM’
−dM」は「0」になる。すなわち、ゲインは「−∞」
になる。
Considering this subtraction result "dM'-dM" as the second filtering result for the target pixel value dM, the frequency characteristic thereof will be examined. As described above, the corrected target pixel value dM ′ when the spatial frequency is “0” is equal to the target pixel value dM, and in such a case, the subtraction result “dM ′”
-DM "becomes" 0 ". That is, the gain is "-∞"
become.

【0083】また、高い空間周波数(モアレを防止する
ために減衰させている領域)では、減算結果「dM’−
dM」は「0」未満になるから、やはりゲインは「−
∞」になる。そして、両者の中間部分(エッジ強調の行
われている領域)では、ゲインは有限値になる。換言す
れば、減算結果「dM’−dM」は、注目画素値dMの
中間部分の周波数成分を抽出したものになる。
Further, at a high spatial frequency (area attenuated to prevent moire), the subtraction result "dM'-
Since "dM" is less than "0", the gain is also "-".
∞ ”. Then, the gain becomes a finite value in the intermediate portion between them (the area where the edge enhancement is performed). In other words, the subtraction result "dM'-dM" is obtained by extracting the frequency component of the intermediate portion of the target pixel value dM.

【0084】このように、空間デジタルフィルタ回路4
20と減算回路244とを合わせて、バンドパスフィル
タの特性が実現されている。次に、245はレジスタで
あり、画像種別に対応して「4」種類の定数em_pを
記憶する。246はセレクタであり、種別指令信号ST
YPE’に基づいて、対応する定数em_pを選択して
出力する。
As described above, the spatial digital filter circuit 4
20 and the subtraction circuit 244 are combined to realize the characteristics of the bandpass filter. Next, reference numeral 245 is a register which stores "4" types of constants em_p corresponding to the image types. A selector 246 is a type command signal ST
Based on YPE ', a corresponding constant em_p is selected and output.

【0085】247は乗算器であり、上記減算結果「d
M’−dM」に対して選択された定数em_pを乗算
し、乗算結果を修正量dMXとして出力する。すなわ
ち、修正量dMXは、例えば図12(a)の特性A4に示
すようになる。次に、248および249はレジスタで
あり、所定の閾値th_pおよびth_mを各々記憶す
る。250は比較器であり、減算結果「dM’−dM」
が閾値th_p以上になる場合に“1”信号、それ以外
の場合に“0”信号を出力する。
Reference numeral 247 is a multiplier, and the subtraction result "d
M′−dM ”is multiplied by the selected constant em_p, and the multiplication result is output as the correction amount dMX. That is, the correction amount dMX is, for example, as shown by the characteristic A4 in FIG. Next, 248 and 249 are registers, which store predetermined threshold values th_p and th_m, respectively. Reference numeral 250 denotes a comparator, which is the subtraction result "dM'-dM".
Is equal to or greater than the threshold th_p, a "1" signal is output, and in other cases, a "0" signal is output.

【0086】一方、比較器251は、減算結果「dM’
−dM」が閾値th_m以下になる場合に“1”信号、
それ以外の場合に“0”信号を出力する。252はセレ
クタであり、減算結果「dM’−dM」の符号ビットが
供給されると、これに応じて比較器250,251の出
力信号のうち一方を選択して出力する。すなわち、セレ
クタ252は、減算結果「dM’−dM」が「0」以上
である場合は比較器250の出力信号を、「0」未満で
ある場合は比較器251の出力信号を選択する。
On the other hand, the comparator 251 outputs the subtraction result "dM '.
"-DM" is equal to or less than the threshold value th_m, a "1" signal,
In other cases, the "0" signal is output. Reference numeral 252 denotes a selector which, when supplied with the sign bit of the subtraction result “dM′−dM”, selects and outputs one of the output signals of the comparators 250 and 251 in response thereto. That is, the selector 252 selects the output signal of the comparator 250 when the subtraction result “dM′−dM” is “0” or more, and selects the output signal of the comparator 251 when it is less than “0”.

【0087】254はセレクタであり、制御装置408
から供給される制御信号MMS.CNTに基づいて、注
目画素値dMまたは修正注目画素値dM’のうち一方を
選択し出力する。253はセレクタであり、セレクタ2
52の出力信号が“1”である場合は修正量dMX、
“0”である場合は値「0」を選択して出力する。25
5は加算器であり、セレクタ253,254で各々選択
された信号を加算し、加算結果dM1を出力する。
Reference numeral 254 denotes a selector, which is a control device 408.
Control signal MMS. Based on CNT, one of the target pixel value dM and the modified target pixel value dM ′ is selected and output. A selector 253 is a selector 2
When the output signal of 52 is "1", the correction amount dMX,
If it is "0", the value "0" is selected and output. 25
An adder 5 adds the signals selected by the selectors 253 and 254 and outputs the addition result dM1.

【0088】次に、図12(a),(b)を参照して、減算
回路244〜加算器255までの部分の動作を説明す
る。なお、セレクタ254にあっては修正注目画素値d
M’が選択されていることとする。同図(a)において座
標値xが座標値x11未満である区間にあっては、減算結
果「dM’−dM」が「0」未満であるから、セレクタ
252にあっては比較器251の出力信号が選択され
る。ここで、減算結果「dM’−dM」は閾値th_m
以下ではないから、セレクタ252を介して、比較器2
51からセレクタ253に“0”信号が供給される。
Next, the operation of the parts from the subtraction circuit 244 to the adder 255 will be described with reference to FIGS. In the selector 254, the corrected target pixel value d
It is assumed that M'is selected. In the section (a) of the figure, since the subtraction result “dM′−dM” is less than “0” in the section where the coordinate value x is less than the coordinate value x 11 , the selector 252 outputs the output of the comparator 251. The signal is selected. Here, the subtraction result “dM′−dM” is the threshold value th_m.
Since it is not the following, the comparator 2
The “0” signal is supplied from 51 to the selector 253.

【0089】従って、セレクタ253にあっては「0」
が選択され、加算器255の一入力端に供給される。一
方、セレクタ254を介して修正注目画素値dM’が他
入力端に供給される。従って、加算結果dM1は、修正
注目画素値dM’と等しくなる。次に、座標値xがx11
〜x12の区間にあっては、減算結果「dM’−dM」が
閾値th_m以下になるから、セレクタ252を介し
て、比較器251からセレクタ253に“1”信号が供
給される。
Therefore, the selector 253 has "0".
Is selected and supplied to one input terminal of the adder 255. On the other hand, the corrected target pixel value dM ′ is supplied to the other input end via the selector 254. Therefore, the addition result dM1 becomes equal to the corrected target pixel value dM '. Next, the coordinate value x is x 11
In the section of up to x 12 , the subtraction result “dM′−dM” becomes less than or equal to the threshold value th_m, so the “1” signal is supplied from the comparator 251 to the selector 253 via the selector 252.

【0090】これにより、乗算器247からセレクタ2
53を介して、修正量dMXが加算器255に供給され
る。ここで、修正量dMXは負値であるから、図12
(b)に示すように、加算結果dM1は修正注目画素値d
M’よりも低くなる。その後、座標値x12において減算
結果「dM’−dM」が閾値th_mを超えると、比較
器251から再度“0”信号が出力されるから、セレク
タ253において値「0」が選択され、加算結果dM1
は修正注目画素値dM’と等しくなる。
As a result, from the multiplier 247 to the selector 2
The correction amount dMX is supplied to the adder 255 via 53. Here, since the correction amount dMX is a negative value, FIG.
As shown in (b), the addition result dM1 is the corrected target pixel value d
It is lower than M '. After that, when the subtraction result “dM′−dM” exceeds the threshold value th_m at the coordinate value x 12 , the comparator 251 outputs the “0” signal again, so the selector 253 selects the value “0” and the addition result. dM1
Becomes equal to the corrected pixel value of interest dM '.

【0091】その後、座標値xがx12,x13のほぼ中間
値になると、減算結果「dM’−dM」の符号が正に転
換され、セレクタ252においては比較器250の出力
信号が選択される。しかし、この時点では該減算結果は
閾値th_p未満であるから、比較器250からは
“0”信号が出力されている。従って、加算結果dM1
は、引続き、修正量dMXに等しくなる。
After that, when the coordinate value x becomes substantially the intermediate value between x 12 and x 13 , the sign of the subtraction result "dM'-dM" is changed to positive, and the selector 252 selects the output signal of the comparator 250. It However, since the subtraction result is less than the threshold value th_p at this point, the comparator 250 outputs the “0” signal. Therefore, the addition result dM1
Then becomes equal to the correction amount dMX.

【0092】次に、座標値xがx13の区間にあっては、
減算結果「dM’−dM」が閾値th_p以上になるか
ら、セレクタ252を介して、比較器250からセレク
タ253に“1”信号が供給され、このセレクタ253
を介して加算器255に修正量dMXが供給される。こ
こで、修正量dMXは正値であるから、図12(b)に示
すように、加算結果dM1は修正注目画素値dM’より
も高くなる。
Next, in the section where the coordinate value x is x 13 ,
Since the subtraction result “dM′−dM” becomes equal to or larger than the threshold value th_p, the “1” signal is supplied from the comparator 250 to the selector 253 via the selector 252.
The correction amount dMX is supplied to the adder 255 via. Here, since the correction amount dMX is a positive value, the addition result dM1 becomes higher than the correction target pixel value dM ′ as shown in FIG. 12B.

【0093】以後、上述した動作と逆の順序で加算結果
dM1が変化する。すなわち、座標値xがx14〜x15
区間に入ると加算結果dM1は修正注目画素値dM’に
等しくなり、x15〜x16の区間に入ると加算結果dM1
は修正注目画素値dM’よりも低くなる。なお、上述し
た動作はセレクタ254で修正注目画素値dM’が選択
された場合について説明したが、注目画素値dMが選択
された場合であっても同様の動作が行われる。
After that, the addition result dM1 changes in the reverse order of the above operation. That is, the coordinate value x is x 14 ~x enter the addition result to 15 sections of dM1 is equal to the modified target pixel value dM ', result of addition to fall in the interval x 15 ~x 16 dM1
Is lower than the modified pixel value of interest dM '. Although the above-described operation has been described in the case where the corrected target pixel value dM ′ is selected by the selector 254, the same operation is performed even when the target pixel value dM is selected.

【0094】図12(b)において修正注目画素値dM’
と加算結果dM1とを比較すると、エッジを強調する傾
向(山状の頂部付近を高く、裾野部分を低くする傾向)
は、加算結果dM1において一層強くなっていることが
解る。すなわち、本実施形態にあっては、一般的な線形
の空間デジタルフィルタ回路420に僅かな回路(減算
回路244〜加算器255の部分)を追加することによ
り、線形の空間デジタルフィルタ回路では到底為し得な
かった急峻なエッジ強調を行うことが可能になる。
In FIG. 12 (b), the corrected target pixel value dM '
And the addition result dM1 are compared, there is a tendency to emphasize the edge (a tendency to increase the height near the mountain top and lower the foot portion).
It is understood that is stronger in the addition result dM1. That is, in the present embodiment, by adding a small number of circuits (the portion of the subtraction circuit 244 to the adder 255) to the general linear spatial digital filter circuit 420, the linear spatial digital filter circuit is extremely effective. It becomes possible to perform sharp edge enhancement that was not possible.

【0095】図8に戻り、230〜232はフリップフ
ロップであり、修正注目画素値dM’を順次遅延させ
る。フリップフロップ230,231の出力信号は加算
器233において加算される。また、234はレジスタ
であり、所定の定数(例えば「0.25」)を記憶す
る。乗算器236は上記加算結果と該定数とを乗算して
出力する。また、レジスタ235には他の定数(例え
ば、「0.5」)が記憶されている。
Returning to FIG. 8, reference numerals 230 to 232 are flip-flops, which sequentially delay the corrected target pixel value dM '. The output signals of the flip-flops 230 and 231 are added in the adder 233. A register 234 stores a predetermined constant (for example, "0.25"). The multiplier 236 multiplies the addition result by the constant and outputs the result. Further, the register 235 stores another constant (for example, “0.5”).

【0096】フリップフロップ231の出力信号は乗算
器237に供給され、ここで上記他の定数が乗算され
る。乗算器236,237の乗算結果は加算器238に
おいて加算され、その結果は加算結果dM2として出力
される。従って、この加算結果dM2は、修正注目画素
値dM’を平滑化したものになる。256はセレクタで
あり、フィルタ切換信号FCX(図6参照)に基づい
て、加算結果dM1,dM2のうち一方を選択し、選択
した結果を画像データCD0として出力する。
The output signal of the flip-flop 231 is supplied to the multiplier 237, where it is multiplied by the other constants. The multiplication results of the multipliers 236 and 237 are added in the adder 238, and the result is output as the addition result dM2. Therefore, the addition result dM2 is a smoothed version of the modified pixel value of interest dM '. A selector 256 selects one of the addition results dM1 and dM2 based on the filter switching signal FCX (see FIG. 6) and outputs the selected result as image data CD0.

【0097】すなわち、比較結果FC1,FC2,FW
C1のうち何れかが“1”になると(エッジが検出され
ると)フィルタ切換信号FCXが“1”になる。これに
より、加算結果dM1が選択され、急峻なエッジ強調の
行われた結果が画像データCD0として出力される。一
方、フィルタ切換信号FCXが“0”である場合は、注
目画素値dMに対して若干エッジの強調された加算結果
dM2が画像データCD0として出力されることにな
る。
That is, the comparison results FC1, FC2, FW
When any one of C1 becomes "1" (when an edge is detected), the filter switching signal FCX becomes "1". As a result, the addition result dM1 is selected, and the result of the sharp edge enhancement is output as the image data CD0. On the other hand, when the filter switching signal FCX is "0", the addition result dM2 in which the edges are slightly emphasized with respect to the target pixel value dM is output as the image data CD0.

【0098】[ 実施形態の動作 ] A.複写モード ユーザが操作・表示パネル407において所定の操作
(例えばコピースタートボタンの押下)を行うと、複合
機の動作モードが複写モードに設定され、入力セレクト
信号INSELが“0”に設定される。これにより、出
力セレクト信号OUTSELも“0”に設定される。次
に、画像読取り装置401において原稿の内容が読取ら
れると、セレクタ602、入力階調補正部402を介し
てエッジ補正処理部403に画像データが供給される。
その際、CPU409にあっては、原稿画像の種別を示
す種別検出信号STYPEが出力される。
[Operation of Embodiment] A. Copy Mode When the user performs a predetermined operation (for example, pressing a copy start button) on the operation / display panel 407, the operation mode of the multifunction peripheral is set to the copy mode, and the input select signal INSEL is set to "0". As a result, the output select signal OUTSEL is also set to "0". Next, when the content of the original is read by the image reading device 401, the image data is supplied to the edge correction processing unit 403 via the selector 602 and the input gradation correction unit 402.
At that time, the CPU 409 outputs a type detection signal STYPE indicating the type of the original image.

【0099】マトリクス回路410内の5×5マトリク
スにおいてエッジが存在しない場合は、比較結果WC1
〜WC3,FWC1(図5参照)が何れも“0”になる
からエッジ存否判定信号MI1も“0”になる。これに
より、波形制御信号ATB1は“00”に固定され、波
形制御スクリーン生成部405のセレクタ164にあっ
ては、パターン信号SAが選択される。
If there is no edge in the 5 × 5 matrix in the matrix circuit 410, the comparison result WC1
˜WC3 and FWC1 (see FIG. 5) are all “0”, so that the edge presence / absence determination signal MI1 is also “0”. As a result, the waveform control signal ATB1 is fixed to "00", and the selector 164 of the waveform control screen generation unit 405 selects the pattern signal S A.

【0100】次に、5×5マトリクス内で主走査方向ま
たは副走査方向に沿ってある程度強いエッジが発生する
と、比較結果WC1〜WC3のうち何れかが“1”にな
り、エッジ存否判定信号MI1も“1”になる。従っ
て、表1に示すように、比較結果MI2,MI3に基づ
いて波形制御信号ATB1が選択される。これにより、
波形制御スクリーン生成部405(図9参照)にあって
は、パターン信号SA,SB,SCが適宜切り換えられ、
エッジ方向に応じた三角波が選択される。
Next, when a strong edge occurs to some extent along the main scanning direction or the sub-scanning direction within the 5 × 5 matrix, any one of the comparison results WC1 to WC3 becomes "1", and the edge presence / absence determination signal MI1. Also becomes "1". Therefore, as shown in Table 1, the waveform control signal ATB1 is selected based on the comparison results MI2 and MI3. This allows
In the waveform control screen generator 405 (see FIG. 9), the pattern signals S A , S B and S C are appropriately switched,
A triangular wave is selected according to the edge direction.

【0101】しかし、比較結果FC1,FC2,FWC
1のうち何れかが“1”になる程度までエッジが強くな
ければ、フィルタ切換信号FCXは“0”になる。これ
により、セレクタ256(図8参照)にあっては、エッ
ジをやや強調した加算結果dM2が画像データCD0と
して選択され、波形制御スクリーン生成部405に供給
される。
However, the comparison results FC1, FC2, FWC
If the edge is not strong enough to cause any one of "1" to become "1", the filter switching signal FCX becomes "0". As a result, in the selector 256 (see FIG. 8), the addition result dM2 with the edge slightly emphasized is selected as the image data CD0 and supplied to the waveform control screen generation unit 405.

【0102】一方、出力階調補正ロジック・マルチプレ
クサ137においては、上記パターン信号に対応した階
調補正制御信号MTSELが選択される。これにより、
出力階調補正部404にあっては、画像データCD0に
対してパターン信号SA,SB,SCに応じたスクリーン
特性が付与され、その結果が画像データCD1として出
力される。波形制御スクリーン生成部405にあって
は、この画像データCD1と波形制御信号ATB1とに
基づいてパルス幅変調信号が生成される。この結果、画
像出力装置406においては、ややエッジの強調された
画像が用紙に出力される。
On the other hand, in the output gradation correction logic multiplexer 137, the gradation correction control signal MTSEL corresponding to the pattern signal is selected. This allows
In the output gradation correction unit 404, screen characteristics corresponding to the pattern signals S A , S B , and S C are added to the image data CD0, and the result is output as the image data CD1. The waveform control screen generator 405 generates a pulse width modulation signal based on the image data CD1 and the waveform control signal ATB1. As a result, in the image output device 406, an image with slightly enhanced edges is output on a sheet.

【0103】次に、5×5マトリクス内で主走査方向、
副走査方向または傾斜方向に沿ってさらに強いエッジが
発生すると、比較結果FC1,FC2,FWC1のうち
何れかが“1”になり、フィルタ切換信号FCXも
“1”になる。これにより、セレクタ256にあって
は、エッジを相当に強調した加算結果dM1が画像デー
タCD0として選択され、波形制御スクリーン生成部4
05に供給される。これにより、出力階調補正部40
4、波形制御スクリーン生成部405および画像出力装
置406を介して、相当にエッジの強調された画像が用
紙に出力される。
Next, in the 5 × 5 matrix, in the main scanning direction,
When a stronger edge occurs along the sub-scanning direction or the tilt direction, one of the comparison results FC1, FC2, FWC1 becomes "1", and the filter switching signal FCX also becomes "1". As a result, in the selector 256, the addition result dM1 in which the edge is considerably emphasized is selected as the image data CD0, and the waveform control screen generation unit 4
05. As a result, the output gradation correction unit 40
4, through the waveform control screen generation unit 405 and the image output device 406, an image with considerably emphasized edges is output to the paper.

【0104】B.プリントモード ホストコンピュータからプリンタ・インターフェース6
01にプリントデータが供給されると、複合機の動作モ
ードはプリントモードに設定され、入力セレクト信号I
NSELは“1”に設定される。これにより、供給され
たプリントデータは、二値エッジ判定部603および入
力階調補正部402の双方に供給され、双方で並列にス
ムージング処理が行われることになる。
B. Print mode Host computer to printer interface 6
When the print data is supplied to 01, the operation mode of the multifunction peripheral is set to the print mode and the input select signal I
NSEL is set to "1". As a result, the supplied print data is supplied to both the binary edge determination unit 603 and the input gradation correction unit 402, and the smoothing processing is performed in parallel on both.

【0105】ここで、プリントデータが多値画像データ
である場合は、一般的には、二値エッジ判定信号EGH
は“0”になる。これにより、セレクタ606,607
にあっては、画像データCD1および波形制御信号AT
B1が選択される。すなわち、かかる場合は、画像デー
タCD2および波形制御信号ATB2は無視され、複写
モードにおいて説明したのと同様の処理が実行されるこ
とになる。
When the print data is multi-valued image data, the binary edge determination signal EGH is generally used.
Becomes "0". Thereby, the selectors 606 and 607
In this case, the image data CD1 and the waveform control signal AT
B1 is selected. That is, in such a case, the image data CD2 and the waveform control signal ATB2 are ignored, and the same processing as that described in the copy mode is executed.

【0106】一方、プリントデータとして二値画像デー
タが供給されると、二値エッジ判定信号EGHが“1”
になり、出力セレクト信号OUTSELも“1”にな
る。これにより、二値用スムージング処理の結果である
画像データCD2と波形制御信号ATB2とが、セレク
タ606,607を介して波形制御スクリーン生成部4
05に供給される。これにより、二値画像データに適す
るスムージング処理の施された画像が画像出力装置40
6を介して出力される。
On the other hand, when the binary image data is supplied as the print data, the binary edge determination signal EGH becomes "1".
And the output select signal OUTSEL also becomes "1". As a result, the image data CD2 and the waveform control signal ATB2, which are the result of the binary smoothing process, are transferred to the waveform control screen generator 4 via the selectors 606 and 607.
05. As a result, the image that has been subjected to the smoothing processing suitable for the binary image data is output by the image output device 40.
6 is output.

【0107】ここで、プリントデータとして、二値画像
データと多値画像データとを混在させたものが考えられ
る。例えば写真と文字とを合成した画像や、文字に適宜
網かけを施した画像等である。このようなプリントデー
タが供給されると、3×3マトリクス回路282(図1
3参照)内の状態に応じて、セレクタ606,607が
画素毎に切り換えられ、各部分に適したスムージング処
理が施されることになる。
Here, the print data may be a mixture of binary image data and multi-valued image data. For example, it is an image in which a photograph and characters are combined, an image in which characters are appropriately shaded, and the like. When such print data is supplied, the 3 × 3 matrix circuit 282 (see FIG.
3), the selectors 606 and 607 are switched for each pixel, and smoothing processing suitable for each part is performed.

【0108】なお、プリントデータが多値画像データで
あったとしても、「0」および「255」の画素値を有
する画素が隣接する可能性は否定できない。かかる場合
は、プリントデータが多値画像データであるにもかかわ
らず二値画像データであると判定され、二値画像データ
用のスムージング処理が多値画像データに施されること
になる。しかし、かかる状況が発生する可能性は僅かで
あり、画像全体に及ぼす影響は些細なものに過ぎない。
Even if the print data is multi-valued image data, it cannot be denied that pixels having pixel values of "0" and "255" are adjacent to each other. In such a case, it is determined that the print data is binary image data even though the print data is multivalued image data, and the smoothing process for the binary image data is performed on the multivalued image data. However, such a situation is unlikely to occur, and the effect on the entire image is insignificant.

【0109】[ 変形例 ]本発明は、上述した実施形態
に限定されるものではなく、例えば以下のように種々の
変形が可能である。 上記実施形態にあっては、プリントデータが二値画像
データであるか多値画像データであるかの判定は、主走
査方向または副走査方向に隣接し「255」および
「0」の画素値を有する2つ画素が存在するか否かに基
づいて行われた。しかし、かかる判定は、他の条件に基
づいて行ってもよい。例えば、3×3マトリクス回路2
82内の画素値として「255」および「0」が共に存
在し、かつ、それ以外の画素値が存在しない場合にのみ
二値画像データであると判定してもよい。
[Modification] The present invention is not limited to the above-described embodiment, and various modifications can be made, for example, as follows. In the above-described embodiment, the determination as to whether the print data is binary image data or multi-valued image data is performed by determining pixel values of “255” and “0” that are adjacent in the main scanning direction or the sub scanning direction. It has been done based on whether there are two pixels having. However, such a determination may be made based on other conditions. For example, a 3 × 3 matrix circuit 2
It may be determined that the image data is binary image data only when “255” and “0” both exist as pixel values in 82 and no other pixel values exist.

【0110】上記実施形態は本発明をモノクロ複合機
に適用した例を説明したが、上述した各処理を各原色
(シアン、マゼンタ、イエロー、黒)毎に行うことによ
り、本発明をカラー複合機に適用できることは言うまで
もない。
In the above-described embodiment, an example in which the present invention is applied to a monochrome multifunction peripheral has been described. However, the present invention is applied to each primary color (cyan, magenta, yellow, black), so that the present invention is executed. It goes without saying that it can be applied to.

【0111】上記実施形態にあっては、修正注目画素
値dM’にフィルタリング処理を施して加算結果dM2
を生成したが、加算結果dM2に代えて修正注目画素値
dM’をそのままセレクタ256に供給してもよい。
In the above embodiment, the addition target dM2 is obtained by performing the filtering process on the corrected target pixel value dM '.
However, the corrected target pixel value dM ′ may be directly supplied to the selector 256 instead of the addition result dM2.

【0112】[0112]

【発明の効果】以上説明したように請求項1〜3に係る
発明によれば、画像データの属性に応じて、第1のまた
は第2の信号のうち一方を選択するから、同様の属性を
有する画像データに対応して複数の信号発生手段を設け
る必要がなくなる。また、請求項4に係る構成にあって
は、多値画像データの属性に基づいて、多値画像データ
または二値画像データのうち一方が選択される。従っ
て、何れによっても、豊富な機能を安価な構成によって
実現することが可能である。
As described above, according to the inventions according to claims 1 to 3, one of the first and second signals is selected according to the attribute of the image data, so that the same attribute is set. It is not necessary to provide a plurality of signal generating means corresponding to the image data that it has. Further, in the configuration according to claim 4, one of the multivalued image data and the binary image data is selected based on the attribute of the multivalued image data. Therefore, in any case, it is possible to realize abundant functions with an inexpensive structure.

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

【図1】 本発明の一実施形態による複合機の全体構成
を示すブロック図である。
FIG. 1 is a block diagram showing an overall configuration of a multifunction peripheral according to an embodiment of the present invention.

【図2】 エッジ補正処理部403の概略構成を示すブ
ロック図である。
FIG. 2 is a block diagram showing a schematic configuration of an edge correction processing unit 403.

【図3】 マトリクス回路410等のブロック図であ
る。
FIG. 3 is a block diagram of a matrix circuit 410 and the like.

【図4】 エッジ検出フィルタ回路430のブロック図
である。
FIG. 4 is a block diagram of an edge detection filter circuit 430.

【図5】 エッジ強度判定回路450およびエッジ方向
検出回路460のブロック図である。
FIG. 5 is a block diagram of an edge strength determination circuit 450 and an edge direction detection circuit 460.

【図6】 エッジ方向判定ロジック回路500およびT
RCタグ生成ルックアップテーブル510のブロック図
である。
FIG. 6 is an edge direction determination logic circuit 500 and T.
5 is a block diagram of an RC tag generation lookup table 510. FIG.

【図7】 空間デジタルフィルタ回路420のブロック
図である。
7 is a block diagram of a spatial digital filter circuit 420. FIG.

【図8】 非線形フィルタ回路480のブロック図であ
る。
FIG. 8 is a block diagram of a non-linear filter circuit 480.

【図9】 波形制御スクリーン生成部405のブロック
図である。
9 is a block diagram of a waveform control screen generator 405. FIG.

【図10】 画像データのスムージング処理の説明図で
ある。
FIG. 10 is an explanatory diagram of image data smoothing processing.

【図11】 出力階調補正部404の補正特性を示す図
である。
FIG. 11 is a diagram showing correction characteristics of an output gradation correction unit 404.

【図12】 非線形フィルタ回路480の動作説明図で
ある。
FIG. 12 is an operation explanatory diagram of the non-linear filter circuit 480.

【図13】 二値エッジ判定部603のブロック図であ
る。
FIG. 13 is a block diagram of a binary edge determination unit 603.

【図14】 二値用スムージング処理部604のブロッ
ク図である。
FIG. 14 is a block diagram of a binary smoothing processing unit 604.

【図15】 二値用スムージング処理部604の動作説
明図である。
15 is an operation explanatory diagram of the binary smoothing processing unit 604. FIG.

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

401 画像読取り装置(原稿画像読取り手段) 403 エッジ補正処理部(第1の信号発生手段) 405 波形制御スクリーン生成部(出力制御手段) 601 プリンタ・インターフェース(入力選択手段) 604 二値用スムージング処理部(第2の信号発生手
段) 606,607 セレクタ(出力選択手段) 283 比較器(二値化手段)
401 image reading device (original image reading means) 403 edge correction processing section (first signal generation means) 405 waveform control screen generation section (output control means) 601 printer interface (input selection means) 604 binary smoothing processing section (Second signal generating means) 606, 607 Selector (output selecting means) 283 Comparator (binarizing means)

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 画像データの注目画素の画素値と該注目
画素の周辺画素の画素値とに基づいて、前記注目画素に
係るドットの種別とドットの大きさを指定する第1の信
号を出力する第1の信号発生手段と、 前記注目画素の画素値と該注目画素の周辺画素の画素値
とに基づいて、前記注目画素に係るドットの種別とドッ
トの大きさを指定する第2の信号を出力する第2の信号
発生手段と、 前記画像データの属性に応じて、前記第1のまたは第2
の信号のうち一方を選択する出力選択手段と、 この出力選択手段で選択された信号に基づいて、前記画
像データを出力するための表示信号を生成する出力制御
手段とを具備することを特徴とする画像処理装置。
1. A first signal for designating a dot type and a dot size of the pixel of interest based on the pixel value of the pixel of interest of the image data and the pixel values of peripheral pixels of the pixel of interest. A second signal for designating a dot type and a dot size relating to the pixel of interest based on a pixel value of the pixel of interest and a pixel value of peripheral pixels of the pixel of interest. Second signal generating means for outputting the first or second signal generating means according to the attribute of the image data.
Output selection means for selecting one of the signals, and output control means for generating a display signal for outputting the image data based on the signal selected by the output selection means. Image processing device.
【請求項2】 前記出力制御手段は、指定されたドット
の大きさに応じたレベルを有するアナログ信号を生成す
るアナログ信号発生手段と、指定されたドットの種別に
応じて複数のパターン信号の中から何れかのパターン信
号を選択するパターン信号選択手段とを具備し、選択さ
れたパターン信号と前記アナログ信号との比較結果に基
づいて前記表示信号を生成するものであり、 前記出力選択手段は、前記画像データが多値画像データ
である場合は前記第1の信号を選択する一方、前記画像
データが二値画像データである場合は前記第2の信号を
選択するものであることを特徴とする請求項1記載の画
像処理装置。
2. The output control means includes an analog signal generating means for generating an analog signal having a level according to a size of a designated dot, and a plurality of pattern signals according to a type of the designated dot. From the pattern signal selecting means for selecting any of the pattern signals from, to generate the display signal based on the comparison result of the selected pattern signal and the analog signal, the output selecting means, When the image data is multi-valued image data, the first signal is selected, and when the image data is binary image data, the second signal is selected. The image processing apparatus according to claim 1.
【請求項3】 原稿画像を読取る原稿画像読取り手段
と、 プリントデータを受信するプリントデータ受信手段と、 前記原稿画像読取り手段の出力信号および前記プリント
データのうちの一方を前記第1の信号発生手段に供給す
る入力選択手段とを具備し、 前記プリントデータ受信手段は、前記入力選択手段の選
択状態にかかわらず前記プリントデータを前記第2の信
号発生手段に供給することを特徴とする請求項2記載の
画像処理装置。
3. An original image reading means for reading an original image, a print data receiving means for receiving print data, one of an output signal of the original image reading means and the print data, and the first signal generating means. 3. The input selection means for supplying the print data to the second signal generation means, wherein the print data reception means supplies the print data to the second signal generation means regardless of the selection state of the input selection means. The image processing device described.
【請求項4】 多値画像データを二値画像データに変換
する二値化手段と、 前記多値画像データの属性に基づいて、前記多値画像デ
ータまたは前記二値画像データのうち一方を選択する出
力選択手段と、 この出力選択手段で選択された画像データを出力する出
力制御手段とを具備することを特徴とする画像処理装
置。
4. A binarization unit for converting multi-valued image data into binary image data, and one of the multi-valued image data or the binary image data is selected based on an attribute of the multi-valued image data. An image processing apparatus, comprising: an output selecting unit that outputs the image data and an output control unit that outputs the image data selected by the output selecting unit.
JP7258696A 1995-10-05 1995-10-05 Image processor Pending JPH09102870A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7258696A JPH09102870A (en) 1995-10-05 1995-10-05 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7258696A JPH09102870A (en) 1995-10-05 1995-10-05 Image processor

Publications (1)

Publication Number Publication Date
JPH09102870A true JPH09102870A (en) 1997-04-15

Family

ID=17323833

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7258696A Pending JPH09102870A (en) 1995-10-05 1995-10-05 Image processor

Country Status (1)

Country Link
JP (1) JPH09102870A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7064866B1 (en) 1999-08-19 2006-06-20 Ricoh Company, Ltd. Image forming apparatus selectively applying a smoothing operation to image data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7064866B1 (en) 1999-08-19 2006-06-20 Ricoh Company, Ltd. Image forming apparatus selectively applying a smoothing operation to image data

Similar Documents

Publication Publication Date Title
JP2536094B2 (en) Color image processing device
US8477324B2 (en) Image processor and image processing method that uses s-shaped gamma curve
US5886797A (en) Method and apparatus for controlling a spatial filtering process based on characteristics of image data
EP0024902A2 (en) Apparatus and method for converting one-bit image data into gray scale image data
US20030025926A1 (en) Image processing apparatus and image processing method
JP2003153006A (en) Image processing device
JPH0823446A (en) Image processing unit
JPH1185978A (en) Image processing apparatus and method
JP4386216B2 (en) Color printing system and control method thereof
JP2001274989A (en) Image processing device, image processing method, and printer output device
US6118558A (en) Color image forming method and apparatus
EP0949801A2 (en) Image process apparatus, image process method and storage medium
JP3633058B2 (en) Image processing device
JPH09102870A (en) Image processor
JPH09102875A (en) Image processor
JPH09102872A (en) Image processor
JP2008092541A (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JPH02244876A (en) Sharpness improving system for picture processor
JPH0738767A (en) Image binarization processor
JP2001298620A (en) Image forming device
JP4172399B2 (en) Image processing apparatus and program
JP3679900B2 (en) Image processing device
JP3679522B2 (en) Image processing method and apparatus
JP3260807B2 (en) Image processing apparatus and image processing method
JP2000341547A (en) Device and method for image processing

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040903

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050228

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20080318

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20080318

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090318

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100318

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100318

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110318

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120318

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130318

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20140318

Year of fee payment: 9