JP3143480B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP3143480B2
JP3143480B2 JP03002252A JP225291A JP3143480B2 JP 3143480 B2 JP3143480 B2 JP 3143480B2 JP 03002252 A JP03002252 A JP 03002252A JP 225291 A JP225291 A JP 225291A JP 3143480 B2 JP3143480 B2 JP 3143480B2
Authority
JP
Japan
Prior art keywords
image
signal
data
black character
black
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP03002252A
Other languages
Japanese (ja)
Other versions
JPH04239269A (en
Inventor
康博 山田
正幸 広瀬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP03002252A priority Critical patent/JP3143480B2/en
Publication of JPH04239269A publication Critical patent/JPH04239269A/en
Application granted granted Critical
Publication of JP3143480B2 publication Critical patent/JP3143480B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Image Processing (AREA)

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 for digitally processing image information, such as a copying machine, a facsimile, a word processor, and a printer.

【0002】[0002]

【従来の技術】従来この種の装置では、黒文字部の記録
再現性を向上するための方法として、文字原稿専用の動
作モードを設けて対応している。
2. Description of the Related Art Conventionally, in this type of apparatus, as a method for improving the recording reproducibility of a black character portion, an operation mode dedicated to a character original is provided.

【0003】この動作モードでは、エッジ強調量を大
きくする。黒信号のレベルを大きくする。といった処
理を適宜選択もしくは組み合わせて画像情報を変換処理
する事で、黒文字部の記録濃度や鮮鋭さを補正してい
る。即ち、では、エッジ強調量を大きくする事によ
り、文字部のエッジ部分での解像度を改善して黒文字部
をより鮮明に再現しようとするものである。また、で
は、記録濃度(黒成分)を濃く再現する事により、文字
部と周辺部とのコントラスト差を大きくする事で黒文字
部をより鮮明に再現しようとするものである。
In this operation mode, the amount of edge enhancement is increased. Increase the level of the black signal. The recording information and the sharpness of the black character portion are corrected by appropriately selecting or combining the above processes to convert the image information. That is, in Japanese Patent Application Laid-Open No. H11-27566, by increasing the amount of edge enhancement, the resolution at the edge portion of the character portion is improved, and the black character portion is intended to be reproduced more clearly. Further, in Japanese Patent Application Laid-Open No. H11-157, the recording density (black component) is reproduced densely, so that the contrast difference between the character portion and the peripheral portion is increased, so that the black character portion is reproduced more clearly.

【0004】[0004]

【発明が解決しようとしている課題】しかしながら、上
記従来例では動作モード自体を切り換えて処理を施すた
め入力する画像情報が黒文字部と階調画像部とが混在し
ているような画像であった場合に、次のような弊害が発
生する。では、階調画像部でのエッジ強調量が過剰に
大きくなるために、画像全体がガサついた感じに再現さ
れると言う問題があり、特に、階調画像部が網点画像で
ある場合には、モアレを発生して著しい画質劣化を生じ
るという問題がある。では、記録濃度(黒成分)を濃
く再現する様にしているため、階調画像部中に含まれる
黒成分も強調されて高濃度で再現されてしまうために、
画像全体が濁った感じに再現されると言う問題があり、
特に、階調画像部が網点画像である場合には、高濃度部
で画像つぶれが発生して著しい画質劣化を生じるという
問題がある。
However, in the above-mentioned conventional example, when the image information to be input for switching the operation mode itself and performing processing is an image in which a black character portion and a gradation image portion are mixed. Then, the following adverse effects occur. However, there is a problem that the entire image is reproduced with a rough feeling because the edge enhancement amount in the gradation image portion becomes excessively large. In particular, when the gradation image portion is a halftone image, However, there is a problem that moiré is generated and remarkable image quality is deteriorated. In the above, the recording density (black component) is reproduced densely, so that the black component contained in the gradation image portion is also emphasized and reproduced at high density.
There is a problem that the whole image is reproduced in a cloudy feeling,
In particular, when the gradation image portion is a halftone image, there is a problem that image collapse occurs in a high density portion and remarkable image quality degradation occurs.

【0005】また、画像が階調画像であるか文字画像で
あるかを識別し、各々に対して異なる処理を行う技術が
知られているが、空間周波数特性の制御という点ではい
まだ改善の余地があった。
There is also known a technique for identifying whether an image is a gradation image or a character image and performing different processing on each of them, but there is still room for improvement in terms of control of spatial frequency characteristics. was there.

【0006】本発明は、かかる従来技術に鑑みてなされ
たものであり、高画質の画像を再生することができる画
像処理装置を提供することを目的とする。
[0006] The present invention has been made in view of such a conventional technique, and has as its object to provide an image processing apparatus capable of reproducing a high-quality image.

【0007】[0007]

【課題を解決するための手段】上記課題を解決するため
に本発明は、画像に応じた画像情報を入力する入力手段
と、前記入力された画像情報に基づいて前記画像の黒文
字部を検出し、該黒文字部を示す信号を出力する第1の
検出手段と、前記入力された画像情報に基づいて前記画
像の黒文字部に隣接する部分を検出し、該黒文字部に隣
接する部分を示す信号を出力する第2の検出手段と、前
記画像情報に対して空間周波数特性を変換する変換手段
とを有し、前記変換手段は、前記黒文字を示す信号と、
前記黒文字部に隣接する部分を示す信号に従って、空間
周波数を変換することを特徴とする。
According to the present invention, there is provided an input means for inputting image information corresponding to an image, and detecting a black character portion of the image based on the input image information. First detecting means for outputting a signal indicating the black character portion, detecting a portion of the image adjacent to the black character portion based on the input image information, and generating a signal indicating a portion adjacent to the black character portion. A second detection unit for outputting, and a conversion unit for converting a spatial frequency characteristic to the image information, wherein the conversion unit includes a signal indicating the black character;
The spatial frequency is converted according to a signal indicating a portion adjacent to the black character portion.

【0008】[0008]

【実施例】以下の本発明の実施例によれば、画像情報を
入力する手段と、該手段より入力された画像情報中の黒
文字部を検出して第1の黒文字検出信号を出力する手段
と、黒文字部に隣接する部分を検出して第2の黒文字検
出信号を出力する手段と、前記画像情報に対して鮮鋭度
を変換する鮮鋭度変換手段を有した画像記録装置におい
て、鮮鋭度変換手段を、入力した画像情報をエリア遅延
する手段と、所定エリアのエッジ量を算出する手段と、
入力した画像情報を前記エッジ量で補正する手段と、入
力画像情報から得られる黒文字検出信号に基づいて前記
エッジ量のレベルを制御する手段とで構成した事によ
り、入力する画像情報が黒文字部と階調画像部とが混在
しているような画像であった場合にも、画質劣化がな
く、しかも文字が鮮明な再生画像を記録できる様にした
ものである。
According to the following embodiments of the present invention, there are provided means for inputting image information, means for detecting a black character portion in the image information input from the means, and outputting a first black character detection signal. An image recording apparatus comprising: means for detecting a portion adjacent to a black character portion and outputting a second black character detection signal; and sharpness conversion means for converting sharpness of the image information. Means for area delay of the input image information, means for calculating the edge amount of the predetermined area,
The input image information is corrected by the edge amount, and the control unit controls the level of the edge amount based on a black character detection signal obtained from the input image information. Even in the case of an image in which a gradation image portion is mixed, it is possible to record a reproduced image in which image quality is not deteriorated and characters are clear.

【0009】図1は、本発明の構成を示すものである。
図1において、1は、原稿を読み取り、R,G,Bのカ
ラー信号に分解するインライン方式の画像読み取りセン
サーでCCDにより構成される。
FIG. 1 shows the configuration of the present invention.
In FIG. 1, reference numeral 1 denotes an in-line type image reading sensor which reads an original and separates the original into R, G, B color signals, and is constituted by a CCD.

【0010】2は、アナログ増幅器、3は、アナログ信
号をデジタル信号に変換するA/Dコンバータ、4は、
読み取り系の特性、例えば原稿照明用ランプやセンサー
の特性を補正するためのシェーディング補正回路、5
は、センサー1のR,G,Bの配列による影響を補正す
るための色ズレ補正回路、6は、原稿の中より、黒レベ
ルの文字を抽出し、黒文字情報を画像信号に付加するた
めの黒文字検出部、7は、画像データを水増し・間引き
することにより原稿を拡大・縮小するための変倍部、8
は、画像データをモニタのためのディスプレイや、FA
X送信のための送信部、蓄積のための記憶部などの他の
外部機器に送ったり、外部機器より画像データを受ける
ための、多値データインターフェイス(I/F)部、9
は、画像信号の内に含まれている画像処理(制御)信号
を画像信号から分離するための制御信号生成部、10
は、画像信号をR,G,BからC,M,Yに変換するた
めの対数変換部、11は、C,M,Y信号の中で、最も
小さいレベルを抽出するための最小値抽出部、12は、
読み取り系の色分解特性と、インクの発色特性を考慮
し、画像信号を補正するためのマスキング処理部、13
は、画像信号の変化点を強調したり、なめらかにするエ
ッジ強調・スムージング部、14は、画像信号をヘッド
のインク吐出量の特性に合わせて補正する、ヘッドシェ
ーディング補正部、15は、画像信号を、使用者の希望
する濃さに合わせる為のγ変換部、16は、多値の画像
信号を、2値の画像信号に変換するための2値化部、1
7は、2値の画像データーを黒文字の情報に基づいて変
換する黒文字処理部、18は、印字ヘッドの幅に合わせ
て、2値の画像データーを必要なだけ遅延する為のヘッ
ド間調整処理部、19は、2値の画像データーをヘッド
駆動信号に変換する回路、20は、バブルジェット方式
を用いた、カラー記録ヘッドである。
2 is an analog amplifier, 3 is an A / D converter for converting an analog signal into a digital signal, and 4 is
A shading correction circuit for correcting characteristics of a reading system, for example, characteristics of a document illumination lamp and a sensor, 5
Is a color shift correction circuit for correcting the influence of the arrangement of R, G, B of the sensor 1, and 6 is for extracting black level characters from the original and adding black character information to the image signal. A black character detection unit 7 for changing the size of the original by inflating and thinning out the image data;
Displays image data on a monitor display or FA
A multi-level data interface (I / F) section 9 for sending to other external devices such as a transmission unit for X transmission, a storage unit for storage, and receiving image data from the external device;
Are control signal generators for separating an image processing (control) signal included in the image signal from the image signal;
Is a logarithmic converter for converting an image signal from R, G, B to C, M, Y. 11 is a minimum value extractor for extracting the smallest level among the C, M, Y signals. , 12 are
A masking processing unit 13 for correcting an image signal in consideration of a color separation characteristic of a reading system and a color development characteristic of ink;
Is an edge emphasizing / smoothing unit that enhances or smoothes a change point of the image signal; 14 is a head shading correction unit that corrects the image signal in accordance with the characteristics of the ink ejection amount of the head; Is a gamma conversion unit for adjusting the image to the desired density of the user, 16 is a binarization unit for converting a multi-valued image signal into a binary image signal, 1
Reference numeral 7 denotes a black character processing unit for converting binary image data based on black character information, and reference numeral 18 denotes a head-to-head adjustment processing unit for delaying the binary image data as necessary according to the width of the print head. , 19 are circuits for converting binary image data into a head drive signal, and 20 is a color recording head using a bubble jet method.

【0011】この記録ヘッドは、熱エネルギーによって
インクに膜沸騰などの状態変化を生起させて、気泡(バ
ブル)を発生させ、このバブルを使用してインクを吐出
口(ノズル)から被記録材に向けて吐出して文字、画像
等の記録を行うバブルジェット式の記録ヘッドである。
この記録ヘッドは各ノズル内に設けられた発熱抵抗体
(ヒータ)のサイズが従来のインクジェット記録に使わ
れている圧電素子と比べて格段に小さく、ノズルの高密
度のマルチ化が可能であって、高品位の記録画像が得ら
れ、高速、低騒音等の特色を有する。
In this recording head, a state change such as film boiling occurs in the ink by thermal energy to generate air bubbles (bubbles), and the inks are discharged from the ejection ports (nozzles) to the recording material using the bubbles. The recording head is a bubble jet type recording head that discharges toward and records characters, images, and the like.
In this recording head, the size of a heating resistor (heater) provided in each nozzle is much smaller than that of a piezoelectric element used in conventional ink jet recording, and high-density multiple nozzles are possible. High quality recorded images can be obtained, and it has characteristics such as high speed and low noise.

【0012】前記構成において、原稿をセンサー1でス
キャンすることにより、原稿情報をR,G,Bの画像信
号に変換する。R,G,Bに変換された画像信号は、増
幅器2により目的のレベルに増幅され、A/D変換器3
によりアナログ信号からデジタル信号(本発明において
は、8bitの多値データー)に変換される。デジタル
信号に変換された画像信号は、シェーディング補正4を
行い、読み取りや変換などの特性に関係する補正を実施
し、最も薄い画像の時0FFH、最も濃い画像の時0O
Hになる。シェーディング補正をうけた画像信号は、色
ズレ補正5を行い、センサー1のRGBRGB…RGB
の並びによる物理的なズレによって発生する色ズレがな
くなるように、例えば同色系の隣の信号間において補正
を行う。
In the above configuration, the document information is converted into R, G, B image signals by scanning the document with the sensor 1. The image signal converted into R, G, and B is amplified to a target level by the amplifier 2, and the A / D converter 3
Thus, the analog signal is converted into a digital signal (8-bit multi-value data in the present invention). The image signal converted into a digital signal is subjected to shading correction 4 to perform correction relating to characteristics such as reading and conversion, such as 0FFH for the lightest image and 0O for the darkest image.
H. The image signal that has been subjected to shading correction is subjected to color shift correction 5, and RGB, RGB,...
For example, correction is performed between adjacent signals of the same color system so that a color shift caused by a physical shift due to the arrangement of the colors is eliminated.

【0013】色ズレ補正をうけた画像信号は、黒文字検
出6を行い、画像の中より黒レベルの文字の部分を抽出
し、画像信号に黒文字の情報を付加する。
The image signal subjected to the color misregistration correction performs black character detection 6, extracts a black level character portion from the image, and adds black character information to the image signal.

【0014】図2(A)に示す黒文字(数字)1をセン
サー1で読みとった例(センサー1は、2点又線の位置
にあったとする)を示す。
FIG. 2A shows an example in which a black character (number) 1 shown in FIG. 2A is read by the sensor 1 (assuming that the sensor 1 is located at two points or a line).

【0015】図2(B)は、(A)の黒文字を拡大した
ものである。図2(C)は、原稿の黒文字信号が、黒文
字検出部6の入力における画像データを示す。画像デー
タの中にXの記号があるが、X記号は他の処理(黒文字
検出部6以降)で生じるデータ書き込みのためのスペー
スとして確保されていることを示す。図2(D)は、後
述の黒文字検出部6で得られる信号KB*、KW*につ
いて示したものである。KB*は、黒文字と判断された
画素(R,G,Bの組)でアクティブ(KB*は負論理
である為、Low)となる。KW*は、黒文字と判断さ
れた周囲の画素(R,G,Bの組)でアクティブ(KW
*は、負論理である為、Low)となる。図2(E)
は、黒文字検出部6の出力における画像データーを示
す。画像データーのX信号の位置にKB*、KW*が入
り、以後R,G,B,Xのセットで1画素に関するデー
タとなる。
FIG. 2B is an enlarged view of the black characters in FIG. FIG. 2C shows image data when the black character signal of the document is input to the black character detection unit 6. An X symbol is present in the image data, but the X symbol indicates that it is secured as a space for writing data generated in other processes (from the black character detection unit 6). FIG. 2D shows signals KB * and KW * obtained by a black character detection unit 6 described later. KB * is active (Low because the KB * is negative logic) at the pixel (a set of R, G, B) determined to be a black character. KW * is active (KW) in surrounding pixels (a set of R, G, B) determined to be a black character.
* Is Low) because of negative logic. FIG. 2 (E)
Indicates image data at the output of the black character detection unit 6. KB * and KW * are inserted in the position of the X signal of the image data, and thereafter, data of one pixel is set by R, G, B and X.

【0016】黒文字検出を受けた画像は、変倍7を行
い、画像が目的の大きさになるように、画像データを画
素ごとに水増し・間引きを実施する。このとき黒文字信
号KB*、KW*もR,G,Bデータと同様に変倍され
る。また、センサー1から変倍7までの処理を実行され
た画像信号は、多値I/F8を用いて、他の外部機器に
送ることも可能である。
The image which has been detected as a black character is subjected to scaling 7 and the image data is padded and thinned out for each pixel so that the image has the desired size. At this time, the black character signals KB * and KW * are also scaled similarly to the R, G and B data. Further, the image signal that has been processed from the sensor 1 to the magnification 7 can be sent to another external device using the multi-valued I / F 8.

【0017】さらに、外部機器でセンサー1から変倍部
7までの処理が実行された画像信号や、多値I/F8よ
り出力した信号に、必要な処理を加え、得られた画像信
号を多値I/F8より入力することも可能である。
Further, necessary processing is performed on an image signal that has been processed by the external device from the sensor 1 to the magnification unit 7 and a signal output from the multi-valued I / F 8, and the obtained image signal is multiplied. It is also possible to input from the value I / F8.

【0018】変倍を受けた画像信号、または、多値I/
F8より入力された画像信号は、制御記号生成9におい
て、画像信号がXのタイミングでX内の必要なビットを
図3に示す様にD−FF(フリップフロップ)30で記
憶し、パク化された画像信号より、X(制御信号のPO
HTO*、MASK*、KW*、KB*)信号を分離す
るとともに、必要な時間ディレーをして出力する。例え
ば、エッジ強調・スムージングのいずれを行うかを示す
信号であるPHOTO*信号は、画像信号よりX信号が
分離されてから、画像信号がエッジ強調・スムージング
部13までの間に遅れる時間(画素数)と同じだけ、P
HOTO*のディレー回路30で前もって遅らせること
により、エッジ強調・スムージング部13の位置で画像
信号と、それに対するPHOTO*を一致させる。図3
(b)は、制御信号生成部9におけるX信号の内容を示
す。KB*/KW*は、前記のとおりである。ここで、
PHOTO*は、画像信号をエッジ強調するか、或いは
スムージングをするかを決める信号であり、MASK*
は、画像を印字するか、または印字しない(マスクす
る)かを決める信号となっている。
An image signal that has undergone scaling or a multi-valued I /
The image signal input from F8 is stored in a D-FF (flip-flop) 30 as shown in FIG. X (PO of control signal)
HTO *, MASK *, KW *, and KB *) signals are separated, and a necessary time delay is output. For example, the PHOTO * signal, which is a signal indicating which of the edge enhancement and the smoothing is to be performed, is the time (the number of pixels) that the image signal is delayed until the edge enhancement and smoothing unit 13 after the X signal is separated from the image signal. ), Just like P
By delaying in advance by the HOTO * delay circuit 30, the image signal and the corresponding PHOTO * at the position of the edge enhancement / smoothing unit 13 are matched. FIG.
(B) shows the content of the X signal in the control signal generator 9. KB * / KW * is as described above. here,
PHOTO * is a signal for determining whether to enhance the edge of the image signal or perform smoothing.
Is a signal for determining whether to print an image or not to print (mask).

【0019】制御信号を分離された画像信号は、LOG
変換部10により、C,M,Yの信号に変換される。L
OG変換された画像信号は、最小値抽出部11において
C,M,Yの画素信号の中から最も小さい値min
(C,M,Y)が選択され、選択された最小値min
(C,M,Y)を下色信号としてXの信号のタイミング
の位置に入れ、C,M,Y,最小値min(C,M,
Y)の画素構成に変更し、次段の処理に送られる。
The image signal from which the control signal is separated is LOG
The conversion unit 10 converts the signals into C, M, and Y signals. L
The image signal that has been subjected to the OG conversion is a minimum value min among the C, M, and Y pixel signals in the minimum value extracting unit 11.
(C, M, Y) is selected and the selected minimum value min
(C, M, Y) is inserted into the timing position of the X signal as a lower color signal, and C, M, Y, the minimum value min (C, M,
The pixel configuration is changed to Y) and sent to the next processing.

【0020】最小値信号がついた画像信号は、マスキン
グ部12において、マスキング処理が加えられ、C,
M,Y,K(黒レベル信号で、Xの位置に入る)の4色
の画像信号に変換される。マスキング処理をされた信号
は、エッジ強調・スムージング部13において画像信号
の変化点を強調したり、なめらかにする処理が施され
る。
The image signal with the minimum value signal is subjected to a masking process in a masking section 12 so that C,
The image signals are converted into four color image signals of M, Y, and K (black level signals, which are located at the position of X). The signal subjected to the masking process is subjected to a process of emphasizing or smoothing a change point of the image signal in the edge emphasizing / smoothing unit 13.

【0021】エッジ強調・スムージング処理された信号
は、ヘッドシェーディング補正4において記録ヘッドの
吐出ノズルごとの記録特性に合わせて補正し、ヘッドの
吐出特性が異なっていても、同じ画像データなら、同じ
印字濃度になるように、画像データを補正する。
The signal subjected to the edge emphasis and smoothing processing is corrected in accordance with the recording characteristics of each discharge nozzle of the recording head in head shading correction 4, and the same printing is performed for the same image data even if the discharge characteristics of the head are different. The image data is corrected so as to have the density.

【0022】ヘッドシェーディング補正処理のされた信
号は、γ変換部15において、使用者が前もって設定し
ておいた濃さの濃度や、C,M,Y,Kのカラーバラン
スになるようにγ変換をする。
The signal subjected to the head shading correction processing is subjected to γ conversion in the γ conversion section 15 so that the density of the density set by the user in advance and the color balance of C, M, Y and K are obtained. do.

【0023】γ変換された信号は、2値化部16によ
り、8bitの多値画像信号から、1bitの2値画像
信号に変換される。
The γ-converted signal is converted by the binarizing section 16 from an 8-bit multi-level image signal to a 1-bit binary image signal.

【0024】2値化された画像信号は、黒文字処理部1
7において、前記黒文字検出部6で得たKB*,KW*
信号をもとに、変換する処理を受ける。例えば、KB*
がアクティブ(0の時)だったら、C,M,Yの信号の
0,Kを1に変換し、黒インクだけで印字したり、KB
*がアクティブで且つ、C,M,Yのいずれかの信号が
1であった場合は、C,M,Yの信号の0,Kを1に変
換し、黒インクだけで印字するように画像信号を変換す
る。また、KW*がアクティブ(0)のときはC,M,
Y,Kの信号を0に変換し、黒文字の周辺を白抜きする
ことによって黒文字のメリハリをつけることもできる。
The binarized image signal is supplied to a black character processing unit 1
7, the KB *, KW * obtained by the black character detection unit 6
The signal undergoes a conversion process based on the signal. For example, KB *
Is active (when it is 0), convert 0, K of C, M, Y signals to 1 and print with black ink only, or
If * is active and one of the C, M, and Y signals is 1, the 0, K of the C, M, and Y signals are converted to 1 and the image is printed using only black ink. Transform the signal. When KW * is active (0), C, M,
By converting the Y and K signals to 0 and whitening the periphery of the black character, the sharpness of the black character can be added.

【0025】黒文字処理のされた画像信号は、ヘッド間
調整処理部18において、ヘッド20のヘッド間の長さ
に対応する時間がディレーされる。
The image signal that has been subjected to the black character processing is delayed in the head-to-head adjustment processing unit 18 for a time corresponding to the length between the heads 20.

【0026】ヘッド間調整処理をされた信号は、ヘッド
駆動部19においてヘッド20をドライブするのに必要
な信号に変換され、ヘッド20を駆動し、インクを吐
出、画像を形成する。
The signal subjected to the head-to-head adjustment processing is converted into a signal necessary for driving the head 20 in the head driving unit 19, and the head 20 is driven to discharge ink and form an image.

【0027】次に黒文字検出部6の詳細について以下に
述べる。
Next, the details of the black character detecting section 6 will be described below.

【0028】<黒文字検出部>黒文字検出部6は図12
に示すごとく黒信号生成部61、該信号の2値化部6
2、2値化データより文字の1部である事を示す信号K
Bとそれに隣接する画素を意味するKW両1bit判定
信号を生成する文字判定部63から構成される。
<Black Character Detecting Unit> The black character detecting unit 6 shown in FIG.
As shown in the figure, a black signal generation unit 61 and a binarization unit 6 for the signal
A signal K indicating that it is a part of a character from the binarized data
B and a character determination unit 63 that generates a 1-bit KW both-bit determination signal indicating a pixel adjacent thereto.

【0029】図13(a)に黒信号生成部31を示す。
図中最大値検出部61及び最小値検出部62はそれぞれ
8bitで表わされるRGB信号を画素毎にそのレベル
を比較し、レベルの最も大きい値と最も小さい値をそれ
ぞれmax(RGB)min(RGB)として得る。加
算器63は同信号の差max(RGB)−min(RG
B)を演算し、その結果を乗算器66で所定定数α倍し
て加算器64でmax(RBG)に加算する。加算結果
は制限器(リミッタ)65にて8bit幅を越えた場合
255に制限して黒信号dを得る。
FIG. 13A shows the black signal generator 31.
In the figure, a maximum value detection unit 61 and a minimum value detection unit 62 compare the levels of the RGB signals represented by 8 bits for each pixel, and determine the maximum value and the minimum value as max (RGB) min (RGB), respectively. Get as. The adder 63 calculates the difference max (RGB) -min (RG
B) is calculated, and the result is multiplied by a predetermined constant α in a multiplier 66 and added to max (RBG) in an adder 64. When the addition result exceeds the 8-bit width by the limiter (limiter) 65, the addition result is limited to 255 to obtain the black signal d.

【0030】図13(b)に本処理の説明図を示す。本
実施例では各色信号R,G,Bとも値が大きい程、白
色、つまりR=G=B=0の時、黒色であるとする。従
って図13(b)でAの部分は色味を有する細線Bの部
分は黒い線を示している。
FIG. 13B is an explanatory diagram of this processing. In this embodiment, it is assumed that the larger the value of each of the color signals R, G, and B, the whiter, that is, the blacker when R = G = B = 0. Therefore, in FIG. 13B, the portion A is a thin line having a color, and the portion B is a black line.

【0031】d=max(RGB)+α〔max(RG
B)−min(RGB)〕…(max(RGB)はグ
レイ成分信号、max(RGB)−min(RGB)は
色味を示す信号、αは色抑圧定数)本処理の物理的意味
はmax(RGB)−min(RGB)を色味ととらえ
かつmax(RGB)をグレイ成分(明るさ)とするな
らばmax(RGB)−min(RGB)が大の時つま
り色味を有する点ではこの値を定数α倍してmax(R
GB)に加える事でより明るい(白い)方向に変換出来
る。従って定数αの値が大である程色味を持つ点をより
白い点とする為に色味を抑圧する程度を表わす値とし
て、αを色抑圧定数と呼ぶ。即ち、不図示のCPUによ
り乗算器66にセットされるαの値を変化させることに
よりdが示す黒成分検出の度合いを変化させることがで
きる。図13(b)ではα=1として表わしたがmax
(RGB)が大きくかつmax(RGB)−min(R
GB)が大きい場合は図13(a)の制限器65により
完全な白い点を表わす最大値255となる。従って生成
される信号dの変化はほぼ黒成分の変化を意味すると考
えられる。
D = max (RGB) + α [max (RG
(B) -min (RGB)] (max (RGB) is a gray component signal, max (RGB) -min (RGB) is a signal indicating tint, α is a color suppression constant) The physical meaning of this processing is max ( If RGB) -min (RGB) is regarded as a color and max (RGB) is a gray component (brightness), this value is obtained when max (RGB) -min (RGB) is large, that is, when the color has a color. Is multiplied by a constant α and max (R
GB) can be converted to a brighter (white) direction. Therefore, as the value of the constant α increases, α is referred to as a color suppression constant as a value representing the degree to which the tint is suppressed in order to make a point having a tint a whiter point. That is, the degree of black component detection indicated by d can be changed by changing the value of α set in the multiplier 66 by a CPU (not shown). In FIG. 13 (b), α = 1, but max
(RGB) is large and max (RGB) -min (R
When GB) is large, the limiter 65 shown in FIG. 13A reaches a maximum value 255 representing a completely white point. Therefore, it is considered that the change in the generated signal d substantially means a change in the black component.

【0032】さて黒信号dは図3に示す2値化部32に
入力される。
The black signal d is input to the binarizing section 32 shown in FIG.

【0033】<2値化部>図15において黒信号dはそ
れぞれ1ライン分づつデータをメモリ71を用いて遅延
保持され順次ライン遅延された5画素分のデータが加算
器72で加算される。さらに該加算値をF/F73で1
画素に遅延保持した5個の加算値をさらに加算器75で
加算する。同加算器出力は入力データより2ラインとし
て画素遅延したつまりメモリ71−2出力をF/F73
−5、73−6で遅延したF/F73−6出力位置を注
目画素位置とするならば、その周辺25画素分の積算値
であり従って除乗器76で1/25倍すれば注目画素近
傍の黒信号の平均値mが得られる。
<Binarization section> In FIG. 15, the data for one line of the black signal d is held and delayed using the memory 71, and the data of five pixels sequentially line-delayed are added by the adder 72. Further, the added value is set to 1 by F / F73.
The five additional values held delayed in the pixel are further added by the adder 75. The output of the adder is delayed by two pixels from the input data, that is, the output of the memory 71-2 is output to the F / F 73.
If the output position of the F / F 73-6 delayed by -5 and 73-6 is set as the target pixel position, it is the integrated value of the surrounding 25 pixels. Is obtained.

【0034】比較器79において注目画素位置のデータ
dを上記平均値mをしきい値として比較してより精細な
2値信号Bが得られる。
The comparator 79 compares the data d at the pixel position of interest with the average value m as a threshold value to obtain a finer binary signal B.

【0035】即ち d<mの時B=1(黒) d≧mの時B=0(白) とする。That is, when d <m, B = 1 (black) When d ≧ m, B = 0 (white).

【0036】さらに加算器77で平均値mとdとの差を
求め絶対値回路78が絶対値に変換した後比較器74で
定数δと比較して2値信号Cが得られる。
Further, a difference between the average values m and d is obtained by an adder 77, converted into an absolute value by an absolute value circuit 78, and then compared with a constant δ by a comparator 74 to obtain a binary signal C.

【0037】即ち |d−m|>δの時C=1 |d−m|≦δの時C=0 とする。That is, C = 1 when | dm |> δ, and C = 0 when | dm | ≦ δ.

【0038】両信号の物理的意味は前者Bが黒信号を高
精細に2値化した信号であり、後者Cが注目画素でのレ
ベル変化量を2値化した信号である。つまりB=1でか
つC=1は注目画素での濃度変化が定数δより大きく、
かつ黒方向に変化していると判断出来る。つまりこの点
が文字細線の一部である確率が高いと言える。
The physical meaning of both signals is that the former B is a signal obtained by binarizing a black signal with high definition, and the latter C is a signal obtained by binarizing the level change amount at a target pixel. That is, when B = 1 and C = 1, the density change at the target pixel is larger than the constant δ,
In addition, it can be determined that it has changed in the black direction. That is, it can be said that there is a high probability that this point is a part of the character thin line.

【0039】しかしながら注目画素が網点で表現された
中間調画像部分である可能性もあるので、この網点を除
去する為に同2bit信号を黒文字識別部33に入力し
文字部の識別を行う。
However, since the pixel of interest may be a halftone image portion represented by a halftone dot, the same two-bit signal is input to the black character discrimination unit 33 to identify the character portion in order to remove the halftone dot. .

【0040】<黒文字識別部>図16に黒文字識別部を
示す。まず入力される2値信号Bはラインメモリ80−
1、80−2、80−3、80−4を用いて順次1ライ
ンづつ遅延保持すると共にフリップフロップ81−0〜
81−9で1画素毎に遅延保持する。従って今、注目す
る画素位置をF/F81−4出力位置とするならば注目
画素い隣接する8画素の2値データBはF/F81−
2、81−4、81−6の入力位置及びF/F81−
2、81−6、81−3、81−5、81−7出力端子
に位置し、注目画素を含む9個の隣接画素データは共に
ゲート回路83−2に入力される。
<Black Character Recognition Unit> FIG. 16 shows a black character recognition unit. First, the input binary signal B is stored in the line memory 80-
1, 80-2, 80-3, and 80-4 to sequentially hold the delay one line at a time, and to use flip-flops 81-0 to 81-0.
At 81-9, the delay is held for each pixel. Therefore, if the target pixel position is the F / F 81-4 output position, the binary data B of the eight pixels adjacent to the target pixel is F / F 81-
Input positions of 2, 81-4, 81-6 and F / F 81-
Nine adjacent pixel data including the target pixel are input to the gate circuit 83-2, located at the output terminals 2, 81-6, 81-3, 81-5, and 81-7.

【0041】同様に考えればゲート回路83−1には前
記注目画素より1ライン後の画素データつまりF/F8
1−2出力位置に隣接する9点、ゲート回路83−4へ
は注目画素より1ライン前のつまりF/F81−6出力
位置に隣接する9点のデータが入力される。同ゲート回
路83内部では(後に詳説するが)それぞれ中央の点が
隣接する8点の2値レベル(0又は1)から反転してい
るか否かつまり中央の点が周辺から孤立して“0”又は
“1”のレベルを有しているか否かによって画素毎に0
〜4の値Sを割り付ける。該値Sはその値が大きい程網
点画素の可能性が大きく逆に0ならば文字等の1部であ
る可能性が高いと言える。なぜならば文字、線は1次元
的に連続したドットの集合であるからである。しかしな
がら文字か否かは必ずしも1点では判断出来ない為に上
記各画素毎に割り付けられた孤立性を示す値Sを2次元
的に積算して判定する。即ち、孤立性の度合いを示す多
値データを判定に用いるものである。まず加算器85−
1でライン方向の3画素分を加算し、その結果をF/F
84−1〜84−6で6画素分遅延保持して加算器85
−2で加算すれば入力画像データBに対して2ラインと
4画素遅れた画素を注目画素位置とするなら注目画素を
中心とする3×7画素分のデータSの加算値Pfが求ま
る。該特徴量Pfは二次元的空間周波数を意味する。つ
まりPf値が大である程注目画素近傍は2値データBの
値が“0”←→“1”の反転が多く、即ち、空間周波数
が高く、従って二次元的にドットが孤立した点が多い事
を意味する。
In the same manner, the gate circuit 83-1 stores pixel data one line after the target pixel, that is, F / F8.
The data of nine points adjacent to the 1-2 output position, and the data of nine points adjacent to the F / F 81-6 output position one line before the target pixel are input to the gate circuit 83-4. In the gate circuit 83, whether or not the center point is inverted from the eight binary levels (0 or 1) of the eight adjacent points, that is, the center point is isolated from the periphery and is "0", as will be described in detail later. Alternatively, 0 is set for each pixel depending on whether or not the pixel has the level of “1”.
Assign a value S of ~ 4. It can be said that the larger the value S is, the greater the possibility of a halftone pixel is, and conversely, if the value S is 0, it is more likely to be a part of a character or the like. This is because characters and lines are a set of one-dimensionally continuous dots. However, since it is not always possible to judge whether a character is a single point or not, the value S indicating the isolation assigned to each pixel is two-dimensionally integrated and determined. That is, multi-value data indicating the degree of isolation is used for the determination. First, the adder 85-
1 adds three pixels in the line direction, and outputs the result as F / F
The adder 85 holds the delay of 6 pixels at 84-1 to 84-6 and holds it.
If the addition is performed at −2, if a pixel delayed by two lines and 4 pixels from the input image data B is set as the target pixel position, an added value Pf of data S of 3 × 7 pixels centered on the target pixel is obtained. The feature amount Pf means a two-dimensional spatial frequency. In other words, as the Pf value increases, the value of the binary data B is more frequently inverted from “0” to “1” in the vicinity of the target pixel, that is, the spatial frequency is high, and therefore, a point where dots are isolated two-dimensionally. Means a lot.

【0042】Pf>KかつC=1かつB=1の時E=1 その他の時 E=0E = 1 when Pf> K, C = 1 and B = 1, otherwise E = 0

【0043】従って該Pf値を所定定数K(4〜5程
度)と比較器86で比較し、かつ、注目画素位置つまり
メモリ80−5、80−6で2ラインとF/F82−1
〜82−4でさらに4画素遅延させた2値信号C及び同
位置の2値信号Bとのアンドをとった87出力値E=1
は、黒文字の一部の点である。
Therefore, the Pf value is compared with a predetermined constant K (approximately 4 to 5) by the comparator 86, and the position of the pixel of interest, that is, two lines in the memories 80-5 and 80-6 and the F / F 82-1
87 output value E = 1 obtained by ANDing binary signal C and binary signal B at the same position further delayed by 4 pixels at .about.82-4.
Are some points of black characters.

【0044】同信号Eと注目画素位置より1ラインとF
/F89−1〜2で2画素遅延させた信号Bを黒文字信
号発生部88に入力し最終出力である黒文字信号KBと
KWを生成する。
One line and F from the signal E and the target pixel position
The signal B delayed by two pixels in / F89-1 and / F89-2 is input to the black character signal generator 88 to generate black character signals KB and KW as final outputs.

【0045】さて、前述のゲート回路83の内部につい
て詳説しておく。図17はゲート回路83を示す図であ
り、中央の画素iに隣接するa,b,c,d,e,f,
g,hは前述したF/F81の各入出力信号Bである。
EX−ORゲート831−1、831−2はa,i,i
方向に注目画素iが反転しているか否かを検出する。つ
まり両EX−ORゲート出力が共に“1”であればアン
ドゲート832−1出力が1となり注目画素iはaih
方向に孤立している。同様にEX−ORゲート831−
3、831−4、ANDゲート832−2はcif方
向、EX−ORゲート831−5、831−6、AND
ゲート832−3はbig方向、EX−ORゲート83
1−7、831−8、ANDゲート832−4はdie
方向の孤立性を検出する。ここでANDゲート833−
1、833−2、ORゲート834は注目画素iがbi
g方向か又はdie方向に連続して同レベル“0”又は
“1”の場合を検出し、該当する場合はORゲート83
4出力が“0”となる。該信号はANDゲート835−
1〜835−4で先述のアンドゲート832−1〜83
2−4出力とアンドし、その出力結果を加算器836で
加算すれば0〜4の値を示すSが求まる。
Now, the inside of the gate circuit 83 will be described in detail. FIG. 17 is a diagram showing the gate circuit 83, in which a, b, c, d, e, f,
g and h are the input / output signals B of the F / F 81 described above.
EX-OR gates 831-1 and 831-2 are a, i, i
It is detected whether or not the target pixel i is inverted in the direction. That is, if both EX-OR gate outputs are "1", the output of the AND gate 832-1 becomes 1 and the target pixel i is aih
Isolated in the direction. Similarly, an EX-OR gate 831-
3, 831-4, AND gate 832-2 are in the cif direction, EX-OR gates 831-5, 831-6, AND
The gate 832-3 is in the big direction, and the EX-OR gate 83
1-7, 831-8, AND gate 832-4 is die
Detects directional isolation. Here, the AND gate 833-
1, 833-2 and the OR gate 834 indicate that the target pixel i is bi
The case where the same level “0” or “1” is detected continuously in the g direction or the die direction is detected.
4 outputs become “0”. This signal is applied to an AND gate 835-
1 to 835-4, the AND gates 832-1 to 83 described above.
If the output is ANDed to 2-4 and the output result is added by an adder 836, S indicating a value of 0 to 4 is obtained.

【0046】アンドゲート833とORゲート834に
よる条件の物理的意味はその連続性が紙面(原稿又は記
録紙面)上で直交する線分である為文字の一部である可
能性が高い。従ってこの場合は一意的にS=0として結
果として特徴量Pfを下げる。尚、Pf値として積算す
る領域は望ましくは7×7程度に方形で本実施例より広
い方が高精細に文字を識別出来る。但し、そのブロック
サイズブロック形状は上述の例に限らず、検出精度等に
応じて適宜設定することができる。
The physical meaning of the condition by the AND gate 833 and the OR gate 834 is likely to be a part of a character because its continuity is a line segment orthogonal to the paper surface (document or recording paper surface). Accordingly, in this case, the characteristic amount Pf is uniquely reduced as S = 0. The area to be integrated as the Pf value is desirably a square of about 7 × 7, and a wider area than in the present embodiment can identify characters with higher definition. However, the block shape of the block size is not limited to the above example, and can be appropriately set according to the detection accuracy and the like.

【0047】次に黒文字信号発生部88の内部を図18
を用いて詳説する。同処理部分は黒文字の一部を示すK
B=1(1bit)信号と該信号に隣接しB=0である
黒文字に隣接する画素位置信号KW=1(1bit)信
号を生成する事を目的とする。前述の1bit信号Eと
Bを入力し、E信号をライン遅延しF/F880−1〜
880−5で1画素毎にさらに遅延する事で注目画素位
置をF/F880−3出力位置とすればORゲート88
1は注目画素に隣接する8画素のうちいずれかがE=1
の時その出力に“1”を得る。従って、B信号をF/F
880−7で遅延し注目画素位置に合わせた後反転して
ANDゲート882に入力すればKW信号が得られる。
Next, the inside of the black character signal generator 88 is shown in FIG.
This will be described in detail with reference to FIG. The processing part is K, which indicates a part of black characters.
An object is to generate a B = 1 (1 bit) signal and a pixel position signal KW = 1 (1 bit) adjacent to the signal and adjacent to a black character with B = 0. The above-mentioned 1-bit signals E and B are input, and the E signal is line-delayed to F / F880-1 to F / F880-1.
If the target pixel position is set to the F / F 880-3 output position by further delaying one pixel at 880-5, the OR gate 88
1 indicates that one of eight pixels adjacent to the target pixel is E = 1
At the time "1" is obtained at the output. Therefore, the B signal is changed to F / F
If the signal is delayed at 880-7, adjusted to the target pixel position, inverted, and input to the AND gate 882, a KW signal is obtained.

【0048】<黒信号生成部の別の実施例(1)>図1
4(a)に黒信号生成の別の実施例を示す。前実施例中
色味抑圧定数はグレイ成分max(RGB)にかかわら
ず一定値αであるが一般にグレイ成分が大、つまり明る
い程、色味を持つ事が多い為に色味抑圧の程度を明るい
程大きくする。そうする事でよりコントラストの高い黒
信号dを生成できる。
<Another Embodiment (1) of Black Signal Generating Unit> FIG.
FIG. 4A shows another embodiment of black signal generation. In the previous embodiment, the tint suppression constant is a constant value α irrespective of the gray component max (RGB), but in general, the gray component is large, that is, the lighter the gray component is, the more the tint is suppressed. Make it bigger. By doing so, a black signal d having higher contrast can be generated.

【0049】[0049]

【外1】 [Outside 1]

【0050】加算器63で得られるmax(RGB)−
min(RGB)の値に乗算器661で最大値検出部6
1出力max(RGB)を乗算しその結果を除算器66
2で定数βで割るβの値は例えば128程度が良好であ
る。さらにその結果を加算器64でmax(RGB)に
加えて制限器65で255にクランプする。
Max (RGB) obtained by the adder 63
The value of min (RGB) is multiplied by the multiplier 661 to the maximum value detection unit 6.
Multiplies one output max (RGB) and divides the result by a divider 66
The value of β divided by the constant β by 2 is preferably, for example, about 128. Further, the result is added to max (RGB) by the adder 64 and clamped to 255 by the limiter 65.

【0051】<黒信号生成部の別の実施例(2)>前実
施例は色味をmax(RGB)とmin(RGB)の差
で定義し、その抑圧を加算演算で実施したが色味をma
x(RGB)とmin(RGB)の比で定義し抑圧をm
ax(RGB)への乗算演算で定義しても良い。つまり
<Another Embodiment (2) of Black Signal Generating Unit> In the previous embodiment, the tint is defined by the difference between max (RGB) and min (RGB), and the suppression is performed by an addition operation. Is ma
The suppression is defined by the ratio of x (RGB) and min (RGB) and the suppression is m
ax (RGB) may be defined. I mean

【0052】[0052]

【外2】 ここで定数γは63程度が良好である。上式によればグ
レイ成分が大程、つまり明るい程色味の抑圧が効果的で
あり又定数γによりその抑圧の程度がある領域つまりm
ax(RGB)、min(RGB)が共に小さい場合緩
和される為、黒成分から多少の色味をおびている場合で
あってもdの値が大きくならずにコントラストの高い黒
信号dを生成出来る。図14(b)の実施例においてま
ず最小値検出部62出力に加算器663で定数γを加え
除算器664で最大値検出部61出力を割る。その後乗
算器665でmax(RGB)を乗算する。
[Outside 2] Here, the constant γ is preferably about 63. According to the above expression, the larger the gray component, that is, the brighter the gray component, the more effective the suppression of the color tint.
Since both ax (RGB) and min (RGB) are alleviated when they are small, a black signal d having a high contrast can be generated without increasing the value of d even when the color is slightly colored from the black component. . In the embodiment of FIG. 14B, first, a constant γ is added to the output of the minimum value detector 62 by the adder 663, and the output of the maximum value detector 61 is divided by the divider 664. Thereafter, the multiplier 665 multiplies the value by max (RGB).

【0053】以上述べた様にR,G,Bの各データより
色味を抑圧した多値データを生成するアルゴリズムは本
発明に限定される事なく特に1次色RGBに限定される
記録色である例えばYMCなど他の色成分信号を用いて
も同様の効果が得られる事は述べるまでもない。
As described above, the algorithm for generating multi-valued data in which the tint is suppressed from each of the R, G, and B data is not limited to the present invention, and is particularly applicable to recording colors limited to the primary colors RGB. It goes without saying that the same effect can be obtained by using another color component signal such as YMC.

【0054】次に、本発明の実施例における特徴的な部
分の1つの処理について、図面を用いて詳細に説明す
る。
Next, one process of a characteristic portion in the embodiment of the present invention will be described in detail with reference to the drawings.

【0055】本実施例において、エッジ強調・スムージ
ングブロック13は、図5に示すように注目画素Eおよ
び該注目画素Eに隣接する8画素(A,B,C,D,
F,G,H,I)の画素データからエッジ変化量を演算
し、該変化量に応じた補正値により前記注目画素Eのデ
ータを補正する事で入力画像の鮮鋭度を変換する。
In this embodiment, the edge emphasizing / smoothing block 13 includes a target pixel E and eight pixels (A, B, C, D, and D) adjacent to the target pixel E as shown in FIG.
An edge change amount is calculated from the pixel data of (F, G, H, I), and the sharpness of the input image is converted by correcting the data of the target pixel E with a correction value corresponding to the change amount.

【0056】図4は、エッジ強調・スムージングブロッ
ク13の回路構成を示したブロック図である。
FIG. 4 is a block diagram showing a circuit configuration of the edge enhancement / smoothing block 13.

【0057】同図において、マスキングブロック12よ
り出力された画像データを、エリア遅延回路1310に
入力して所定期間のデータ遅延をする。図8は該エリア
遅延回路1310の構成を示した図であり、入力した画
素データは、Dフリップフロップ1317、1318を
用いて不図示の画素同期クロックにより画素遅延し図5
に示した位置G,H,Iに相当する画素データとして出
力する。他方、入力した画素データはライン遅延器13
12にも入力しており、該遅延器出力すなわち1ライン
前に入力した画素データは、Dフリップフロップ131
5、1316を用いて不図示の画素同期クロックにより
画素遅延をして図5に示した位置D,E,Fに相当する
画素データとして出力する。
In the figure, image data output from the masking block 12 is input to an area delay circuit 1310 to delay data for a predetermined period. FIG. 8 is a diagram showing the configuration of the area delay circuit 1310. The input pixel data is pixel-delayed by a pixel synchronization clock (not shown) using D flip-flops 1317 and 1318.
Are output as pixel data corresponding to the positions G, H, and I shown in FIG. On the other hand, the input pixel data is supplied to a line delay unit 13.
12, the output of the delay unit, that is, the pixel data input one line before, is output to the D flip-flop 131.
5, 1316, and is output as pixel data corresponding to the positions D, E, and F shown in FIG.

【0058】同様にしてライン遅延器1311の出力す
なわち2ライン前に入力した画素データは、Dフリップ
フロップ1313、1314を用いて不図示の画素同期
クロックにより画素遅延をして図5に示した位置A,
B,Cに相当する画素データとして出力する。これら9
画素位置のデータは、同一のタイミングで出力され、エ
ッジ量演算回路1320に出力される。
Similarly, the output of the line delay unit 1311, that is, the pixel data input two lines before, is pixel-delayed by a pixel synchronization clock (not shown) using D flip-flops 1313 and 1314, and the position shown in FIG. A,
Output as pixel data corresponding to B and C. These 9
The data of the pixel position is output at the same timing and output to the edge amount calculation circuit 1320.

【0059】エッジ量演算回路1320では、予め設定
してあるパラメータ(m,n,s,w)に基づいてエッ
ジ量を演算する。図7は該エッジ量演算回路1320の
構成を示した図であり、注目画素Eのデータは乗算器1
321においてレジスタにセットされた所定の乗算係数
mによって整数倍された後減算器1322の入力Aとな
る。他方、注目画素に隣接する8画素のデータは加算回
路1323において、加算位置選択信号sに基づいて所
定の位置の画素データのみが加算されて、減算器132
2の入力Bとなる。減算器1322は前記2つの入力
A,Bの差(A−B)を演算し出力する。なお、乗算係
数mの設定値は、加算位置選択信号sに基づいて加算処
理される画素数と同一になるように設定してあり、従っ
て注目画素Eおよび加算位置選択信号sに基づいて選択
した画素が全て同一の値である場合に、減算器1322
の出力値が0となる。1/n回路1324は、減算器1
322の出力データをレジスタにセットされた所定の除
算係数nによって1/n倍した後オフセット回路132
5に出力する。オフセット回路1325は、1/n回路
1324の出力データの絶対値がレジスタにセットされ
た所定のオフセットデータw以上の場合には、そのまま
1/n回路1324の出力データをエッジ量演算回路1
320の出力Qとして出力する。他方、オフセットデー
タwよりも小さい場合には0をエッジ量演算回路132
0の出力Qとして出力する。該出力は乗算器1301の
入力Aに接続してある。なお、加算位置選択信号sでの
選択例として、加算対象画素を8画素とした場合におけ
る各画素位置に割り付けられる実際の演算係数値を図6
に示す。
The edge amount calculation circuit 1320 calculates the edge amount based on preset parameters (m, n, s, w). FIG. 7 is a diagram showing a configuration of the edge amount calculation circuit 1320. The data of the target pixel E is
At 321, the signal is multiplied by an integer by a predetermined multiplication coefficient m set in a register, and then becomes the input A of the subtractor 1322. On the other hand, the data of the eight pixels adjacent to the pixel of interest is added to only the pixel data at a predetermined position in the addition circuit 1323 based on the addition position selection signal s, and the subtracter 132
2 is input B. The subtractor 1322 calculates and outputs the difference (A−B) between the two inputs A and B. Note that the set value of the multiplication coefficient m is set to be the same as the number of pixels to be added based on the addition position selection signal s. If all the pixels have the same value, the subtractor 1322
Becomes zero. The 1 / n circuit 1324 is a subtractor 1
322 is multiplied by 1 / n with a predetermined division coefficient n set in a register, and then the offset circuit 132
5 is output. When the absolute value of the output data of the 1 / n circuit 1324 is equal to or larger than the predetermined offset data w set in the register, the offset circuit 1325 outputs the output data of the 1 / n circuit 1324 as it is to the edge amount calculation circuit 1
It is output as the output Q of 320. On the other hand, if it is smaller than the offset data w, 0 is set to the edge amount calculation circuit 132.
Output as an output Q of 0. The output is connected to the input A of the multiplier 1301. As an example of selection using the addition position selection signal s, FIG. 6 shows actual operation coefficient values assigned to each pixel position when the number of pixels to be added is eight.
Shown in

【0060】他方、乗算器1301の入力Bにはセレク
タ1300によって選択した所定乗数値が入力されてお
り、乗算器1301において前記出力Qを所定倍してエ
ッジ量データを生成する。該エッジ量データは加減算器
1302の入力Bに入力する。
On the other hand, a predetermined multiplier value selected by the selector 1300 is input to the input B of the multiplier 1301, and the multiplier 1301 multiplies the output Q by a predetermined value to generate edge amount data. The edge amount data is input to the input B of the adder / subtractor 1302.

【0061】セレクタ1300には、2つの異なる乗数
値(乗数1および乗数2)を入力してあり、乗算器13
01に出力する乗数値を黒文字検出信号に基づいて選択
する。
To the selector 1300, two different multiplier values (multiplier 1 and multiplier 2) are input.
A multiplier value to be output to 01 is selected based on a black character detection signal.

【0062】加減算器1302では、入力Aに入力して
ある注目画素Eのデータに対して前記乗算器1301よ
り出力されるエッジ量データを加算処理もしくは減算処
理をして鮮鋭度変換を行い変換後の画像データを出力す
る。なお、加減算器1302においては変換切換信号
(PHOTO*)を“1”とした場合に加算処理、
“0”とした場合に減算処理が行われるように構成して
ある。
The adder / subtractor 1302 adds or subtracts the edge amount data output from the multiplier 1301 to the data of the target pixel E input to the input A, and performs a sharpness conversion. Output image data. In addition, in the adder / subtractor 1302, when the conversion switching signal (PHOTO *) is set to “1”, the addition processing is performed.
When the value is set to “0”, the subtraction process is performed.

【0063】ここで、エッジ強調・スムージングブロッ
ク13の基本動作を明確にするために図9の各部の信号
の様子を示す。
Here, in order to clarify the basic operation of the edge emphasizing / smoothing block 13, the state of the signals of the respective parts in FIG. 9 will be described.

【0064】図9(A)は、エッジ強調・スムージング
ブロックに入力した画像データを時系列的に示したもの
であり、(a)部は黒細線部を示し、(b)部は白細線
部を示している。
FIG. 9A shows the image data input to the edge emphasis / smoothing block in chronological order. FIG. 9A shows a black thin line portion, and FIG. 9B shows a white thin line portion. Is shown.

【0065】図9(B)は、前記エッジ量のデータの変
化の様子を時系列的に示したものである。
FIG. 9 (B) shows how the data of the edge amount changes in a time-series manner.

【0066】図9(C)は、変換切換信号(PHOTO
*)を“1”とした場合のエッジ強調・スムージングブ
ロックの出力を示したものであり、細線エッジ部で鮮鋭
度が強調(エッジ強調)されている様子を示したもので
ある。
FIG. 9C shows a conversion switching signal (PHOTO).
This shows the output of the edge emphasis / smoothing block when *) is set to "1", and shows how sharpness is emphasized (edge emphasis) at the thin line edge portion.

【0067】図9(D)は、変換切換信号(PHOTO
*)を“0”とした場合のエッジ強調・スムージングブ
ロックの出力を示したものであり、細線エッジ部で鮮鋭
度が低減(スムージング)されている様子を示したもの
である。
FIG. 9D shows a conversion switching signal (PHOTO).
This shows the output of the edge emphasizing / smoothing block when *) is set to "0", and shows how sharpness is reduced (smoothed) at the thin line edge portion.

【0068】次に、図10を用いて黒文字検出信号(K
B*,KW*)によるエッジ強調・スムージングブロッ
クの制御の様子を示す。
Next, referring to FIG. 10, a black character detection signal (K
B *, KW *) to control an edge emphasis / smoothing block.

【0069】図10(A)は、エッジ強調・スムージン
グブロックに入力した画像データを時系列的に示したも
のであり、(c)部は黒文字検出ブロックにより黒文字
と判定された黒細線部を示し、(d)は黒文字検出ブロ
ックにより黒文字と判定されなかった黒細線部を示して
いる。
FIG. 10A shows the image data input to the edge emphasizing / smoothing block in chronological order, and FIG. 10C shows a black thin line portion determined as a black character by the black character detection block. , (D) show a thin black line portion that is not determined as a black character by the black character detection block.

【0070】図10(B)は、黒文字検出信号(BK
*,KW*)の変化の様子を時系列的に示したものであ
る。(BK*,KW*は負論理)図10(C)は、2つ
の黒文字検出信号のうちのKB*のみでセレクタ130
0を制御した場合における、エッジ量データの変化の様
子を時系列的に示したものであり、KB*がHighの
場合に乗数1、KB*がLowの場合に乗数2が選択さ
れるようにしたものである(乗数1<乗数2)。従っ
て、エッジ量データは、黒細線部(c)に対応する位置
でプラス(濃度が濃くなる)方向についてのみ変化量が
増加する事になる。
FIG. 10B shows a black character detection signal (BK
*, KW *) in chronological order. (BK *, KW * are negative logic) FIG. 10C shows the selector 130 using only KB * of the two black character detection signals.
This is a time-series diagram showing how the edge amount data changes when 0 is controlled. A multiplier 1 is selected when KB * is High, and a multiplier 2 is selected when KB * is Low. (Multiplier 1 <Multiplier 2). Therefore, the change amount of the edge amount data increases only in the plus (density) direction at the position corresponding to the black thin line portion (c).

【0071】図10(D)は、変換切換信号(PHOT
O*)を“1”とした場合のエッジ強調・スムージング
ブロックの出力を示したものであり、黒細線部(c)で
特に鮮鋭度が強調(エッジ強調)されている様子を示し
ている。
FIG. 10D shows a conversion switching signal (PHOT).
This shows the output of the edge emphasis / smoothing block when O *) is set to "1", and particularly shows how sharpness (edge emphasis) is emphasized in the thin black line portion (c).

【0072】図10(E)は、2つの黒文字検出信号K
B*,KW*の両方でセレクタ1300を制御した場合
における、エッジ量データの変化の様子を時系列的に示
したものであり、KB*,KW*の両方が“H”の場合
に乗数1、KB*,KW*の一方でも“L”の場合に乗
数2が選択されるようにしたものである(乗数1<乗数
2)。従って、エッジ量データは、黒細線部(c)に対
応する位置でのみプラス・マイナス両方向に変化量が増
加する事になる。
FIG. 10E shows two black character detection signals K
The time series shows how the edge amount data changes when the selector 1300 is controlled by both B * and KW *. When both KB * and KW * are “H”, the multiplier is 1 , KB *, and KW *, the multiplier 2 is selected in the case of “L” (multiplier 1 <multiplier 2). Therefore, the amount of change in the edge amount data increases in both the plus and minus directions only at the position corresponding to the black thin line portion (c).

【0073】図10(F)は、変換切換信号(PHOT
O*)を“1”とした場合のエッジ強調・スムージング
ブロックの出力を示したものであり、黒細線部(c)で
特に鮮鋭度が強調(エッジ強調)されている様子を示し
ている。
FIG. 10F shows a conversion switching signal (PHOT).
This shows the output of the edge emphasis / smoothing block when O *) is set to "1", and particularly shows how sharpness (edge emphasis) is emphasized in the thin black line portion (c).

【0074】なお、以上の説明から明白なように、エッ
ジ強調・スムージングブロック13の回路を図4のよう
に構成する事により、黒文字検出信号(KB*,KW
*)によってエッジ量データの制御を行う事で、鮮鋭度
変化に伴なう弊害(モアレの発生)、ガサツキ感の増加
など)を低減しつつ、黒文字部を鮮明に再現できる様に
したものである。
As is clear from the above description, by configuring the circuit of the edge emphasis / smoothing block 13 as shown in FIG. 4, the black character detection signals (KB *, KW
*) By controlling edge amount data according to *), black characters can be reproduced clearly while reducing the adverse effects (moire generation, increase in rough feeling, etc.) due to the change in sharpness. is there.

【0075】図11は、エッジ強調・スムージングブロ
ック13の別回路構成を示したブロック図である。
FIG. 11 is a block diagram showing another circuit configuration of the edge emphasis / smoothing block 13.

【0076】同図に示した構成例が図4に示した構成例
と相違する点は、図4に示した構成例が注目画素に対し
て補正するエッジ量データを求めるのに際して、エッジ
量演算回路1320の出力値に乗数する乗数値を黒文字
検出信号(KB*,KW*)によって切り換える事で、
エッジ量データの大きさを制御しているのに対して、図
11に示した構成例では、予め設定してある2つの異な
る出力を持つエッジ量演算回路1330および1340
の出力値を黒文字検出信号(KB*,KW*)によって
切り換える事で、エッジ量データの大きさを制御してい
る点にある。
The configuration example shown in FIG. 4 differs from the configuration example shown in FIG. 4 in that the configuration example shown in FIG. By switching the multiplier value for multiplying the output value of the circuit 1320 by the black character detection signal (KB *, KW *),
While the size of the edge amount data is controlled, in the configuration example shown in FIG. 11, edge amount calculation circuits 1330 and 1340 having two different outputs set in advance.
Is controlled by the black character detection signals (KB *, KW *) to control the size of the edge amount data.

【0077】ここで、図11中のエッジ量演算回路13
30および1340は、図7に示した回路構成と同等で
あり、予め設定するパラメータ(m,n,s,w)の相
違によって、同一の入力に対して異なる出力値を得るよ
うにしたものである。これにより、前記構成例と同様に
弊害を低減しつつ黒文字部を鮮明に再現できる様にした
ものである。
Here, the edge amount calculation circuit 13 in FIG.
Numerals 30 and 1340 are equivalent to the circuit configuration shown in FIG. 7, and obtain different output values with respect to the same input due to differences in preset parameters (m, n, s, w). is there. As a result, the black character portion can be clearly reproduced while reducing the adverse effects as in the above configuration example.

【0078】なお、前記各実施例の説明で使用したエッ
ジ量演算回路中のパラメータ(m,n,s,w)の設定
可能範囲を以下に示しておく。(エッジ変化量の演算エ
リアを9画素とした場合) 乗算係数m:0〜8 位置選択信号s:8bit(各bitが画素位置に対
応) 除算係数n:0〜255 オフセットデータw:0〜255
The settable ranges of the parameters (m, n, s, w) in the edge amount calculation circuit used in the description of each of the above embodiments are shown below. (When the calculation area of the edge change amount is 9 pixels) Multiplication coefficient m: 0 to 8 Position selection signal s: 8 bits (each bit corresponds to a pixel position) Division coefficient n: 0 to 255 Offset data w: 0 to 255

【0079】また、図4、図11に示した構成例では、
エッジ変化量の演算エリアを図5に示した注目画素を中
心とする9画素とした場合に付いて説明を行ったが、エ
ッジ変化量の演算エリアはこれに限定されるものではな
く、注目画素を含む任意の画素数からなるエリアで構成
しても良い。
In the configuration examples shown in FIGS. 4 and 11,
The case where the calculation area of the edge change amount is 9 pixels centered on the target pixel shown in FIG. 5 has been described, but the calculation area of the edge change amount is not limited to this. May be constituted by an area composed of an arbitrary number of pixels including.

【0080】次に本発明の実施例において、特に主要素
の1つとなっているγ変換部15の詳細を図19に示
し、以下にその動作を述べる。
Next, in the embodiment of the present invention, in particular, details of the γ-conversion unit 15 which is one of the main elements are shown in FIG. 19, and the operation thereof will be described below.

【0081】図19において、150は、画像信号に相
当するデーターを入力するための固定値であり、C,
M,Y,Kが独立に設定されている。
In FIG. 19, 150 is a fixed value for inputting data corresponding to an image signal.
M, Y, and K are set independently.

【0082】151は、8bitの信号を選択するとき
のセレクタ、152は、γ変換用のテーブルが書き込ま
れているROMである。
Reference numeral 151 denotes a selector for selecting an 8-bit signal, and 152 denotes a ROM in which a table for γ conversion is written.

【0083】153は、入力信号A,Bを乗算し、出力
する回路であり、出力が8bitを越えたとき(オーバ
ーフロー時)は、出力を0FFHに固定する機能を有す
る乗算器、154は、入力信号AからBを減算し、出力
する減演回路であり、出力がアンダーフロー時(Aより
Bが大の時)は、出力を0Hに固定する機能を有する乗
算器。155は、乗算器152をスルーにするデータ
(データ“1”の固定値)が設定されている。
A multiplier 153 multiplies the input signals A and B and outputs the result. When the output exceeds 8 bits (at the time of overflow), a multiplier having a function of fixing the output to 0FFH is provided. A multiplier circuit that subtracts B from signal A and outputs the result. When the output is underflow (when B is larger than A), the multiplier has a function of fixing the output to 0H. In 155, data (fixed value of data “1”) that makes the multiplier 152 pass through is set.

【0084】156は、乗算器154の係数(即ち1H
〜0FFHであり、C,M,Y,Kについて独立して最
適値をセットする。)が不図示のCPUにより設定され
ているレジスタ、157は、減算器154をスルーにす
るデータ(データ“0”の固定値)が設定されているレ
ジスタ、158は、減算器154の係数(即ち0H〜0
FFHであり、C,M,Y,Kにつて独立して最適値を
セットする。)が設定されているレジスタ、159は、
8bitの信号を選択するセレクタ、160は、8bi
tの信号を選択するセレクタ、170は、γ変換用のテ
ーブルが書き込まれているROMである。
156 is a coefficient of the multiplier 154 (that is, 1H
00FFH, and optimal values are set independently for C, M, Y, and K. ) Are set by a CPU (not shown), 157 is a register in which data (fixed value of data “0”) that makes the subtractor 154 through is set, and 158 is a coefficient of the subtractor 154 (that is, a fixed value of “0”). 0H-0
This is FFH, and optimal values are set independently for C, M, Y, and K. ) Is set in the register 159,
The selector for selecting an 8-bit signal, 160
A selector 170 for selecting a signal t is a ROM in which a table for γ conversion is written.

【0085】上記構成において、まず、セレクタ151
により画像信号か、又は、前もって決められている固定
値150のいずれか片方が選択される。画像信号か固定
値の選択は、KB*の信号によって行われる。例えば、
画像が黒文字の時は、KB*=0となり固定値150が
選択され、画像信号が、固定値(例えばC=0H,M=
0H,Y=0H,K=0FFH等)に変更される。画像
が黒文字以外の時は、KB*=1となり画像信号が選択
される。また、操作部よりマニュアルでKB*の信号を
常にKB*=1にする機能を持たせ、セレクタ151を
画像信号のみを選択すべく固定することもできる。
In the above configuration, first, the selector 151
Either the image signal or the predetermined fixed value 150 is selected. The selection of the image signal or the fixed value is performed by the KB * signal. For example,
When the image is a black character, KB * = 0 and the fixed value 150 is selected, and the image signal is set to a fixed value (for example, C = 0H, M =
0H, Y = 0H, K = 0FFH, etc.). When the image is not a black character, KB * = 1 and an image signal is selected. Further, a function of always setting the KB * signal to KB * = 1 manually from the operation unit may be provided, and the selector 151 may be fixed so as to select only the image signal.

【0086】セレクタ151により選択された画像信号
は、ROM152のアドレスA7〜A0に加わる。同時
に、ROM152のアドレスA11〜A8に、使用者が
選択した濃度、又はカラーバランスに対応する信号、ア
ドレスA13〜A12には、C,M,Y,K信号のどの
色が処理されているかを示すカラー切り換え信号が加わ
り、γ変換が実行される。γ変換用ROM152の内部
には、画像信号、濃度選択信号、カラー切り換え信号を
基に画像信号を変換するためのテーブルがまえもって記
憶されており、ROM152のデーター出力端子D7〜
D0より出力される。
The image signal selected by the selector 151 is applied to addresses A7 to A0 of the ROM 152. At the same time, addresses A11 to A8 of the ROM 152 indicate signals corresponding to the density or color balance selected by the user, and addresses A13 to A12 indicate which color of the C, M, Y and K signals is being processed. A color switching signal is added, and γ conversion is performed. A table for converting an image signal based on an image signal, a density selection signal, and a color switching signal is previously stored in the ROM 152 for γ conversion, and data output terminals D7 to D7 of the ROM 152 are stored in advance.
Output from D0.

【0087】γ変換された画像信号は、乗算ブロック1
53の入力端子Aに加わる。また、乗算ブロック153
の入力端子Bには、セレクタ159によって選択された
係数が加わり、画像信号と係数が乗算され出力される。
乗算係数は、KB*によって選択される。例えば、画像
が黒文字の時は、KB*=0となり倍率ブロック156
の中に、まえもって記憶されているデーター(2から2
55)が選択され画像信号のデータを大きく(画像を濃
く)するように働く。画像が黒文字以外の時は、KB*
=1となりセレクタ159により倍率ブロック155の
中に、まえもって記憶されているデーター(1)が選択
され画像信号のデーターをそのまま出力するように働
く。また、本発明において記載していないが、KB*の
信号を常にKB*=1にする機能を有し、セレクタ15
9を倍率ブロック155に固定し画像信号のデーターを
そのまま出力するように設定することもできる。
The gamma-converted image signal is supplied to the multiplication block 1
53 to the input terminal A. The multiplication block 153
To the input terminal B, the coefficient selected by the selector 159 is added, and the image signal is multiplied by the coefficient and output.
The multiplication factor is selected by KB *. For example, when the image is a black character, KB * = 0 and the magnification block 156
In the data previously stored (2 to 2
55) operates to increase the image signal data (make the image darker). If the image is not black text, KB *
= 1, and the selector 159 selects the data (1) previously stored in the magnification block 155, and acts so as to directly output the data of the image signal. Although not described in the present invention, the selector 15 has a function of always setting the KB * signal to KB * = 1.
9 may be fixed to the magnification block 155 so that the image signal data is output as it is.

【0088】乗算ブロック153より出力された画像信
号は、減算器154の入力端子Aに加わる。また、減算
器154の入力端子Bには、セレクタ160によって選
択されたオフセット値が加わり、画像信号よりオフセッ
ト値が減算され出力される。オフセット値は、KW*に
よって選択される。例えば、画像が黒文字の周辺画素の
時は、KE*=0となりオフセットブロック158の中
に、前もって記憶されているデータ(1から255)が
選択され画像信号のデータを小さく(画像をうすく)す
るように働く。画像が黒文字の周辺画素以外の時は、K
W*=1となりセレクタ160によりオフセットブロッ
ク1157の中に、まえもって記憶されているデータ
(値が0)が選択され画像信号のデータをそのまま出力
するように働く。また、本発明において記載していない
が、KW*の信号を常にKW*=1にする機能を有し、
セレクタ160をオフセットブロック157に固定する
こともできる。
The image signal output from the multiplication block 153 is applied to the input terminal A of the subtractor 154. Further, the offset value selected by the selector 160 is added to the input terminal B of the subtractor 154, and the offset value is subtracted from the image signal and output. The offset value is selected by KW *. For example, when the image is a peripheral pixel of a black character, KE * = 0, and the data (1 to 255) stored in advance in the offset block 158 is selected to reduce the image signal data (lighten the image). Work like that. When the image is other than pixels surrounding black characters, K
W * = 1, and the selector 160 selects the data (value 0) previously stored in the offset block 1157, and functions so as to output the image signal data as it is. Although not described in the present invention, a function of always setting a KW * signal to KW * = 1 is provided,
The selector 160 can be fixed to the offset block 157.

【0089】すなわち、γ変換処理において、KB*=
0(黒文字の画素)の時、画像信号を濃い方向に処理
し、KW*=0(黒文字の周辺の画素)の時、画像信号
を淡い方向に処理することにより、画像の印字品位の向
上をはかるものである。
That is, in the γ conversion processing, KB * =
When 0 (pixels of black characters), the image signal is processed in the dark direction, and when KW * = 0 (pixels around the black characters), the image signal is processed in the light direction, thereby improving the print quality of the image. It is a measure.

【0090】本発明の他の実施例を図20を用いて以下
に説明する。
Another embodiment of the present invention will be described below with reference to FIG.

【0091】まず、セレクタ151により画像信号か、
又は、前もって決められている固定値150の片方が選
択される。画像信号か固定値の選択は、KB*の信号に
よって行われる。例えば、画像が黒文字の時は、KB*
=0となり固定値150が選択され、画像信号が、固定
値(例えばC=0H,M=0H,Y=0H,K=0FF
H等)に変更される。画像が黒文字以外の時は、KB*
=1となり画像信号が選択される。また、上述と同様に
KB*の信号を常にKB*=1にする機能を有し、セレ
クタ151を画像信号選択だけに固定することもでき
る。
First, the selector 151 determines whether an image signal
Alternatively, one of the predetermined fixed values 150 is selected. The selection of the image signal or the fixed value is performed by the KB * signal. For example, if the image is black, KB *
= 0, a fixed value 150 is selected, and the image signal is set to a fixed value (for example, C = 0H, M = 0H, Y = 0H, K = 0FF).
H). If the image is not black text, KB *
= 1 and an image signal is selected. Further, similarly to the above, a function of always setting the KB * signal to KB * = 1 can be provided, and the selector 151 can be fixed to only the image signal selection.

【0092】セレクタ151により選択された画像信号
は、ROM170のアドレスA7〜A0に加わる。同時
に、ROM170のアドレスA11〜A8に、使用者が
選択した濃度、又は、カラーバランスに対応する信号、
アドレスA13〜A12には、C,M,Y,K信号のど
の色が処理されているかを示すカラー切り換え信号、ア
ドレスA14には、KB*信号、アドレスA15には、
KW*信号が加わり、γ変換が実行される。γ変換用R
OM170の内部には、画像信号、濃度選択信号、カラ
ー切り換え信号を基に画像信号を変換するためのテーブ
ルが前もって記憶されており、ROM170のデータ出
力端子D7〜D0より出力される。以下に、KB*,K
W*の組み合わせにより、どのような内容のデータが記
憶されているかを示す。
The image signal selected by the selector 151 is applied to addresses A7 to A0 of the ROM 170. At the same time, signals corresponding to the density or color balance selected by the user are stored in the addresses A11 to A8 of the ROM 170.
Addresses A13 to A12 indicate color switching signals indicating which color of the C, M, Y, and K signals are being processed. Address A14 indicates a KB * signal, and address A15 indicates a color switching signal.
The KW * signal is added, and γ conversion is performed. R for γ conversion
A table for converting the image signal based on the image signal, the density selection signal, and the color switching signal is stored in advance in the OM 170, and is output from the data output terminals D7 to D0 of the ROM 170. Below, KB *, K
The combination of W * indicates what kind of data is stored.

【0093】KB*=1,KW*=1の時は、上で述べ
た、γ変換用ROM152と同様な変換が行われるよう
にγ変換用ROM170の内部にデータが記憶されてい
る。
When KB * = 1 and KW * = 1, data is stored in the γ-conversion ROM 170 so that the above-described conversion similar to that of the γ-conversion ROM 152 is performed.

【0094】KB*=0,KW*=1の時は、γ変換用
ROM152のデータにある係数を乗じたデータが出力
されるようにγ変換用ROM170の内部にデータが記
憶されている。
When KB * = 0 and KW * = 1, data is stored inside the γ-conversion ROM 170 so that data obtained by multiplying the data of the γ-conversion ROM 152 by a certain coefficient is output.

【0095】KB*=1,KW*=0の時は、γ変変換
用ROM152のデータからあるオフセット値を引いた
データが出力されるようにγ変換用ROM170の内部
にデータが記憶されている。
When KB * = 1 and KW * = 0, data is stored in the γ-conversion ROM 170 so that data obtained by subtracting a certain offset value from the data of the γ-conversion ROM 152 is output. .

【0096】KB*=0,KW*=0の時は、γ変換用
ROM152のデータにある係数を乗じたデータからあ
るオフセット値を引いたデータが出力されるようにγ変
換用ROM170の内部にデータが記憶されている。
When KB * = 0 and KW * = 0, the γ-conversion ROM 170 is stored in the γ-conversion ROM 170 so that data obtained by subtracting a certain offset value from data obtained by multiplying the data of the γ-conversion ROM 152 by a certain coefficient is output. Data is stored.

【0097】なお、上述の様に、共通の黒文字信号K
B,KWに基づいてエッジ強調・スムージングといった
空間周波数特性の変換と、γ変換の双方を制御可能であ
り、効率良く、しかも高画質となるような画像処理が実
現できる。
As described above, the common black character signal K
Both spatial frequency characteristic conversion such as edge emphasis and smoothing and γ conversion can be controlled based on B and KW, and efficient and high-quality image processing can be realized.

【0098】しかも、処理対象画素のみでなく、その周
辺画素の検出信号も用いているので、より高画質の画像
再生を行うことができる。
Further, since not only the pixel to be processed but also the detection signals of the peripheral pixels are used, it is possible to reproduce a higher quality image.

【0099】なお、出力するデータの形態は2値に限ら
ず、3値、4値など多値データであってもよい。
The form of the output data is not limited to binary, but may be multi-valued data such as ternary or quaternary data.

【0100】また、黒文字の検出方法は、上述のものに
限らない。
The method for detecting a black character is not limited to the method described above.

【0101】また、空間周波数特性を変換するためのマ
トリクスも任意に設定することができる。
A matrix for converting the spatial frequency characteristics can be set arbitrarily.

【0102】以上説明したように、黒文字検出信号に基
づいて選択的に黒文字部分で発生するエッジ量のレベル
を切り換えられるように構成した事により、入力する画
像情報が黒文字部と階調画像部とが混在しているような
画像であった場合にも、画像全体がガサついた感じに再
現されたり、濁った感じに再現されると言う問題がな
く、特に、階調画像部が網点画像である場合でも、モア
レを発生したり、高濃度部で画像つぶれが発生して著し
い画質劣化を生じるという問題がなくなり、しかも文字
が鮮明な再生画像を記録できると言う効果がある。
As described above, since the level of the edge amount generated in the black character portion can be selectively switched based on the black character detection signal, the image information to be input can be switched between the black character portion and the gradation image portion. There is no problem that the whole image is reproduced with a rough feeling or a cloudy feeling even when the image is a mixture of Even in the case of, there is no problem that moiré is generated or the image is crushed in a high-density portion to cause a remarkable deterioration in image quality. In addition, there is an effect that a reproduced image with clear characters can be recorded.

【0103】[0103]

【発明の効果】以上説明したように本発明によれば、画
像に応じた画像情報を入力する入力手段と、前記入力さ
れた画像情報に基づいて前記画像の黒文字部を検出し、
該黒文字部を示す信号を出力する第1の検出手段と、前
記入力された画像情報に基づいて前記画像の黒文字部に
隣接する部分を検出し、該黒文字部に隣接する部分を示
す信号を出力する第2の検出手段と、前記画像情報に対
して空間周波数特性を変換する変換手段とを有し、前記
変換手段は、前記黒文字を示す信号と、前記黒文字部に
隣接する部分を示す信号に従って、空間周波数を変換す
るようにしたので、処理対象である黒文字部の検出結果
だけでなく黒文字部に隣接した部分の検出結果も考慮し
た処理が可能となり、空間周波数を変換する際に伴う問
題、例えばモアレの発生や、ガサツキ感の増加などの問
題を低減しつつ、黒文字を鮮明に再現できる。
As described above, according to the present invention, an input means for inputting image information corresponding to an image, and a black character portion of the image is detected based on the input image information.
First detecting means for outputting a signal indicating the black character portion, detecting a portion of the image adjacent to the black character portion based on the input image information, and outputting a signal indicating a portion adjacent to the black character portion And a conversion unit for converting a spatial frequency characteristic to the image information, the conversion unit according to a signal indicating the black character and a signal indicating a portion adjacent to the black character portion. Since the spatial frequency is converted, it is possible to take into account not only the detection result of the black character portion to be processed but also the detection result of the portion adjacent to the black character portion, and a problem associated with converting the spatial frequency, For example, black characters can be reproduced clearly while reducing problems such as occurrence of moiré and increase in roughness.

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

【図1】本発明を実施した画像記録装置の構成を示す
図。
FIG. 1 is a diagram illustrating a configuration of an image recording apparatus embodying the present invention.

【図2】黒文字部と黒文字検出信号の関係を示す図。FIG. 2 is a diagram illustrating a relationship between a black character portion and a black character detection signal.

【図3】制御信号の構成を示す図。FIG. 3 is a diagram showing a configuration of a control signal.

【図4】エッジ強調・スムージングブロックの回路構成
を示す図。
FIG. 4 is a diagram showing a circuit configuration of an edge enhancement / smoothing block.

【図5】エッジ変化量の演算エリアの一例を示す図。FIG. 5 is a diagram showing an example of an edge change amount calculation area.

【図6】エッジ変化量の演算エリア内の各画素位置に割
り付けられる演算係数値の一例を示す図。
FIG. 6 is a diagram illustrating an example of an operation coefficient value assigned to each pixel position in an edge change amount operation area.

【図7】エッジ量演算回路の構成を示す図。FIG. 7 is a diagram showing a configuration of an edge amount calculation circuit.

【図8】エリア遅延回路の構成を示す図。FIG. 8 is a diagram showing a configuration of an area delay circuit.

【図9】エッジ強調・スムージングブロックの各部の信
号の様子を示す図。
FIG. 9 is a diagram illustrating a state of a signal of each unit of an edge enhancement / smoothing block.

【図10】黒文字検出信号(KB*,KW*)で制御し
た場合のエッジ強調・スムージングブロックの各部の信
号の様子を示す図。
FIG. 10 is a diagram illustrating a state of a signal of each part of an edge emphasis / smoothing block when controlled by a black character detection signal (KB *, KW *).

【図11】エッジ強調・スムージングブロックの別回路
構成を表す図。
FIG. 11 is a diagram illustrating another circuit configuration of the edge enhancement / smoothing block.

【図12】黒文字検出部を示す図。FIG. 12 is a diagram showing a black character detection unit.

【図13】黒信号生成を示す図。FIG. 13 is a diagram showing black signal generation.

【図14】黒信号生成のための別の回路構成を示す図。FIG. 14 is a diagram showing another circuit configuration for generating a black signal.

【図15】2値化部を示す図。FIG. 15 is a diagram showing a binarization unit.

【図16】黒文字識別部を示す図。FIG. 16 is a diagram showing a black character identification unit.

【図17】網点判定の回路を示す図。FIG. 17 is a diagram showing a circuit for halftone dot determination.

【図18】黒文字発生部を示す図。FIG. 18 is a diagram showing a black character generation unit.

【図19】γ変換部の回路構成を示す図。FIG. 19 is a diagram showing a circuit configuration of a γ conversion unit.

【図20】γ変換部の別の回路構成を示す図。FIG. 20 is a diagram showing another circuit configuration of the γ conversion unit.

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

1 インライン方式の画像読み取りセンサー 2 アナログ増幅器 3 A/Dコンバータ 4 シェーディング補正ブロック 5 色ズレ補正ブロック 6 黒文字検出ブロック 7 変倍ブロック 8 多値インターフェイス(I/F)ブロック 9 制御信号生成ブロック 10 対数変換ブロック 11 最小値抽出ブロック 12 マスキングブロック 13 エッジ強調・スムージングブロック 14 ヘッドシェーディング補正ブロック 15 γ変換ブロック 16 2値化ブロック 17 黒文字処理ブロック 18 ヘッド間調整処理ブロック 19 ヘッド駆動信号に変換するブロック 20 バブルジェット方式を用いた、カラー印字ヘッド 30 遅延器 150 黒文字のとき、画像信号を置き換えるデーター
が格納されているブロック 151、159、160 セレクタ 152 γ変換用のROM 153 乗算器 154 引き算器 155、156 倍率データーが格納されているブロッ
ク 157、158 オフセットデーターが格納されている
ブロック
DESCRIPTION OF SYMBOLS 1 In-line type image reading sensor 2 Analog amplifier 3 A / D converter 4 Shading correction block 5 Color shift correction block 6 Black character detection block 7 Zooming block 8 Multi-level interface (I / F) block 9 Control signal generation block 10 Logarithmic conversion Block 11 Minimum value extraction block 12 Masking block 13 Edge emphasis / smoothing block 14 Head shading correction block 15 γ conversion block 16 Binarization block 17 Black character processing block 18 Head adjustment processing block 19 Head conversion signal conversion block 20 Bubble jet Color print head 30 using a system 30 Delay device 150 Blocks 151, 159, 160 storing data for replacing image signals when black characters are used Block block 157 and 158 offset data of ROM 153 multipliers 154 subtracter 155 and 156 magnification data for conversion 2 gamma is stored is stored

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平2−186876(JP,A) 特開 平2−253380(JP,A) 特開 平2−84879(JP,A) 特開 昭63−205238(JP,A) 特開 昭63−180273(JP,A) 特開 平3−72778(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 1/40 - 1/409 H04N 1/46 H04N 1/60 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-2-186876 (JP, A) JP-A-2-253380 (JP, A) JP-A-2-84879 (JP, A) JP-A-63-1988 205238 (JP, A) JP-A-63-180273 (JP, A) JP-A-3-72778 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H04N 1 / 40-1 / 409 H04N 1/46 H04N 1/60

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画像に応じた画像情報を入力する入力手
段と、 前記入力された画像情報に基づいて前記画像の黒文字部
を検出し、該黒文字部を示す信号を出力する第1の検出
手段と、 前記入力された画像情報に基づいて前記画像の黒文字部
に隣接する部分を検出し、該黒文字部に隣接する部分を
示す信号を出力する第2の検出手段と、 前記画像情報に対して空間周波数特性を変換する変換手
段とを有し、 前記変換手段は、前記黒文字を示す信号と、前記黒文字
部に隣接する部分を示す信号に従って、空間周波数を変
換することを特徴とする画像処理装置。
An input unit for inputting image information corresponding to an image; a first detection unit for detecting a black character portion of the image based on the input image information and outputting a signal indicating the black character portion A second detection unit that detects a portion adjacent to a black character portion of the image based on the input image information, and outputs a signal indicating the portion adjacent to the black character portion; An image processing apparatus comprising: a conversion unit configured to convert a spatial frequency characteristic, wherein the conversion unit converts a spatial frequency according to a signal indicating the black character and a signal indicating a portion adjacent to the black character portion. .
【請求項2】 更に、前記変換手段によって空間周波数
特性を変換された画像情報に応じた画像を可視画像形成
するための画像形成手段を有することを特徴とする請求
項1記載の画像処理装置。
2. The image processing apparatus according to claim 1, further comprising image forming means for forming a visible image of an image corresponding to the image information whose spatial frequency characteristics have been converted by said converting means.
【請求項3】 前記画像形成手段は、熱エネルギーによ
る膜沸騰を起こして液滴を吐出するタイプのヘッドを備
えることを特徴とする請求項2記載の画像処理装置。
3. The image processing apparatus according to claim 2, wherein the image forming unit includes a head of a type that causes droplets to be ejected by causing film boiling due to thermal energy.
JP03002252A 1991-01-11 1991-01-11 Image processing device Expired - Fee Related JP3143480B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03002252A JP3143480B2 (en) 1991-01-11 1991-01-11 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03002252A JP3143480B2 (en) 1991-01-11 1991-01-11 Image processing device

Publications (2)

Publication Number Publication Date
JPH04239269A JPH04239269A (en) 1992-08-27
JP3143480B2 true JP3143480B2 (en) 2001-03-07

Family

ID=11524172

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03002252A Expired - Fee Related JP3143480B2 (en) 1991-01-11 1991-01-11 Image processing device

Country Status (1)

Country Link
JP (1) JP3143480B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07107291A (en) * 1993-10-06 1995-04-21 Fuji Xerox Co Ltd Color picture forming device

Also Published As

Publication number Publication date
JPH04239269A (en) 1992-08-27

Similar Documents

Publication Publication Date Title
US6118547A (en) Image processing method and apparatus
EP0652672B1 (en) Image-dependent sharpness enhancement
US8477324B2 (en) Image processor and image processing method that uses s-shaped gamma curve
US5850298A (en) Image processing device eliminating background noise
JP3184512B2 (en) Image processing apparatus and image processing method
US6192152B1 (en) Image processing apparatus
JPH07184072A (en) Exposure change and image processing system
US7411707B2 (en) Image processing apparatus and method thereof
JPH09186881A (en) Emphasized electronic expression generator
US6118558A (en) Color image forming method and apparatus
US6693731B1 (en) Image processing apparatus and method
JP3143480B2 (en) Image processing device
JP3823933B2 (en) Image processing device
JP3334047B2 (en) IMAGE PROCESSING APPARATUS, IMAGE READING APPARATUS AND IMAGE FORMING APPARATUS EQUIPPED WITH THE SAME, IMAGE PROCESSING METHOD, AND COMPUTER-READABLE STORAGE MEDIUM CONTAINING IMAGE PROCESSING PROCEDURE
JP3143481B2 (en) Image processing device
JP2002077647A (en) Image processor
JP2001298620A (en) Image forming device
JP2000032287A (en) Image processor and image processing method
JPH0630272A (en) Device and method for processing image
JPH0877350A (en) Image processor
JP3143511B2 (en) Image processing device
JP3226224B2 (en) Image processing device
JP3316077B2 (en) Background density level detector
JP3039673B2 (en) Image processing apparatus and method
JP2001352456A (en) Image-processing method and image-processing unit, and image-forming device provided with them

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20001121

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

Free format text: PAYMENT UNTIL: 20081222

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20081222

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20091222

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20091222

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20101222

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees