JPH08251402A - Image processing unit - Google Patents

Image processing unit

Info

Publication number
JPH08251402A
JPH08251402A JP7047321A JP4732195A JPH08251402A JP H08251402 A JPH08251402 A JP H08251402A JP 7047321 A JP7047321 A JP 7047321A JP 4732195 A JP4732195 A JP 4732195A JP H08251402 A JPH08251402 A JP H08251402A
Authority
JP
Japan
Prior art keywords
original
color
data
histogram
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP7047321A
Other languages
Japanese (ja)
Other versions
JP3333894B2 (en
Inventor
Katsuhisa Toyama
勝久 外山
Yoshihiko Hirota
好彦 廣田
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.)
Minolta Co Ltd
Original Assignee
Minolta 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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP04732195A priority Critical patent/JP3333894B2/en
Priority to US08/611,473 priority patent/US6118895A/en
Publication of JPH08251402A publication Critical patent/JPH08251402A/en
Application granted granted Critical
Publication of JP3333894B2 publication Critical patent/JP3333894B2/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)
  • Color Electrophotography (AREA)

Abstract

PURPOSE: To select another content of image processing by converting three- primary R, G, B signal obtained from a read original into a lightness signal, generating the histogram of the signals, analyzing automatically the histogram so as to discriminate the type of the original. CONSTITUTION: A lightness generating section 200 calculates lightness data close to a specific visual sense of human being based on R, G, B data. A 1st histogram memory 202 is used to simply obtain the lightness histogram of an original and 2nd histogram memory 204 is used to obtain the histogram of achromatic dots in the original. A minimum value circuit 212 and a maximum value circuit 214 detect a minimum value and a maximum value of the received R, G, B data, and a subtract circuit 216 obtains a difference between the minimum value and the maximum value. When a comparator 218 discriminates it that the difference is smaller than a prescribed level, the original data are discriminated to achromatic data and the write of the lightness data to the 2nd histogram memory 204 is allowed. Thus, it is identified as to whether an original is a black/white original or a color original and its copy made is automatically decided to increase the copy speed of a black/white original.

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 photoelectrically converting an image of an original to read the image and performing image processing such as background adjustment from the obtained digital image signal.

【0002】[0002]

【従来の技術】原稿画像を読み取り処理する画像処理装
置は、フルカラーデジタル複写機などに備えられ、ま
た、デジタルプリンタに接続される。画像処理装置が対
象とする原稿は多様であり、フルカラー原稿、単一色原
稿、文字線画、写真、地図、網点原稿、印画紙写真、印
刷写真などが含まれる。これらの多様な原稿を読み取り
適切にコピーするために、原稿の種類に従って画像処理
内容を切換えることが望ましい。このため、従来は、ユ
ーザーが、操作パネルにおいて原稿種別を選択し、画像
処理装置は、この選択にしたがって、適切な画像処理を
行っていた。
2. Description of the Related Art An image processing apparatus for reading and processing a document image is provided in a full-color digital copying machine or the like and is connected to a digital printer. A variety of originals are targeted by the image processing apparatus, and include full-color originals, single-color originals, character line drawings, photographs, maps, halftone originals, photographic paper photographs, and printed photographs. In order to read and appropriately copy these various originals, it is desirable to switch the image processing contents according to the type of original. Therefore, conventionally, the user selects the document type on the operation panel, and the image processing apparatus performs appropriate image processing according to the selection.

【0003】[0003]

【発明が解決しようとする課題】しかし、ユーザによる
原稿種別のマニュアル選択では、ユーザーの手間がかか
るという問題がある。また、自動原稿搬送装置に種々の
原稿が積載されている場合、マニュアル選択では対応で
きない。また、フルカラー原稿とモノクロカラー原稿を
両方とも処理できなければならない。
However, the manual selection of the document type by the user has a problem that it takes time and effort for the user. Further, when various originals are loaded on the automatic original conveying apparatus, it is not possible to cope with them by manual selection. In addition, it must be able to process both full-color and monochrome color documents.

【0004】本発明の目的は、原稿種別を自動的に判別
できる画像処理装置を提供することである。
An object of the present invention is to provide an image processing apparatus capable of automatically discriminating a document type.

【0005】[0005]

【課題を解決するための手段】本発明に係る画像処理装
置は、光電変換素子により原稿を読み取って得られた3
原色のR,G,B信号を明度信号に変換する明度信号生成
器と、明度信号からヒストグラムを作成するヒストグラ
ム作成手段と、ヒストグラムから原稿種別(好ましく
は、文字線画、写真およびそれぞれに対するフルカラ
ー、モノクロカラーの原稿種別)を判定する原稿種別判
定手段と、原稿種別自動判別モードが選択されていると
きに、原稿種別判定手段の判定結果に基づいて以後の画
像処理内容(たとえば、下地調整、黒文字エッジ強調の
有無または階調再現切換)を切換える処理切換手段とを
備える。
The image processing apparatus according to the present invention is a device obtained by reading an original with a photoelectric conversion element.
A brightness signal generator for converting the R, G, B signals of the primary colors into a brightness signal, a histogram creating means for creating a histogram from the brightness signal, and an original type from the histogram (preferably a character line drawing, a photograph and a full color or monochrome for each). When the original type determining means for determining the original type of color) and the automatic original type determining mode are selected, the subsequent image processing contents (for example, background adjustment, black character edge) based on the determination result of the original type determining means. Processing switching means for switching the presence / absence of emphasis or gradation reproduction switching).

【0006】[0006]

【作用】画像処理装置において、種々の原稿に対して原
稿の種別を自動的に判別し、最適な画像処理を選択す
る。このため、原稿を予備スキャンすることにより、読
取データから、人間の比視感度(明るさ)に近い明度
(VH)を求め、明度のヒストグラムを作成し、それを
解析することにより原稿種別(好ましくは、文字線画、
写真およびそれぞれに対するフルカラー、モノクロカラ
ーを含む)を自動的に判定する。この判別は、ヒストグ
ラムを基に行う。この判別結果は、好ましくは、表示手
段により表示される。そして、それぞれの原稿種別に適
した画像処理(たとえば、下地調整、黒文字判別の有無
または階調再現切換)を選択し、切換える。これによ
り、下地調整などの画像処理を、フルカラーモードでも
モノクロカラーモードでも一義的に処理することができ
る。
In the image processing apparatus, the types of originals are automatically discriminated for various originals and the optimum image processing is selected. Therefore, by performing a preliminary scan of the original, the brightness (VH) close to the human relative visual sensitivity (brightness) is obtained from the read data, a histogram of the brightness is created, and analyzed to analyze the original type (preferably Is a character line drawing,
Automatically determine photos and their full and monochrome colors). This determination is made based on the histogram. The determination result is preferably displayed by the display means. Then, image processing (for example, background adjustment, presence / absence of black character discrimination, or gradation reproduction switching) suitable for each document type is selected and switched. As a result, image processing such as background adjustment can be uniquely processed in either the full color mode or the monochrome color mode.

【0007】[0007]

【実施例】以下、添付の図面を参照して本発明の実施例
を説明する。 (1)デジタルカラー複写機の全体構成 図1はデジタルフルカラー複写機の全体構成を示す。イ
メージスキャナ部30で原稿を読取り、デジタル信号処
理ユニット10で信号処理を行なう。プリンタ部20
は、イメージスキャナ部30で読取られた原稿画像に対
応した画像を用紙にフルカラーでプリント出力する。イ
メージスキャナ部30において、原稿台ガラス31上に
置かれた原稿は、抑え圧板39で押えられるが、自動原
稿送り装置(図示しない)を装着する時には、これが取
って代わる。原稿台ガラス31上の原稿は、ランプ32
で照射され、ミラー33a,33b,33cに導かれ、レ
ンズ34によりリニアフルカラーセンサ(CCD)36上
に像を結び、フルカラー情報レッド(R),グリーン(G),
ブルー(B)成分に変換され信号処理部10に送られる。
なおスキャナ−モータ37を駆動することにより、第1
スライダ35は速度Vで、第2スライダ40はV/2で
カラーセンサの電気的走査方向に対して垂直方向に機械
的に動き、原稿全面を走査する。また、シェーディング
補正用の白色板38は、原稿台ガラス31の端に設けら
れる。
Embodiments of the present invention will be described below with reference to the accompanying drawings. (1) Overall Configuration of Digital Color Copier FIG. 1 shows the overall configuration of a digital full color copier. The document is read by the image scanner unit 30 and signal processing is performed by the digital signal processing unit 10. Printer unit 20
Outputs an image corresponding to the original image read by the image scanner unit 30 on paper in full color. In the image scanner unit 30, the original placed on the original platen glass 31 is pressed by the pressing plate 39, which is replaced when the automatic original feeding device (not shown) is mounted. A document on the platen glass 31 is indicated by a lamp 32.
And is guided to the mirrors 33a, 33b, 33c, forms an image on the linear full-color sensor (CCD) 36 by the lens 34, full-color information red (R), green (G),
It is converted into a blue (B) component and sent to the signal processing unit 10.
By driving the scanner motor 37, the first
The speed of the slider 35 is V, and the speed of the second slider 40 is V / 2 to mechanically move in the direction perpendicular to the electrical scanning direction of the color sensor to scan the entire surface of the original. A white plate 38 for shading correction is provided at the edge of the platen glass 31.

【0008】信号処理部10は、読取られた信号を電気
的に処理し、マゼンタ(M),シアン(C),イエロー(Y),
ブラック(Bk)の各成分に分解してプリンタ部20に送
る。イメージスキャナ部30における1回の原稿走査に
つき、C,M,Y,Bkのうちひとつの成分が順次プリンタ
部20に送られ、計4回の原稿走査により1回のプリン
トアウトが完成する(面順次転送方式)。信号処理部10
より送られてくるC,M,Y,Bkの画像信号は、レーザダ
イオードドライブ(PHC部)で画像信号レベルに応じて
半導体レーザ214を駆動変調する。レーザ光はポリゴ
ンミラー215、f−θレンズ216、折り返しミラー
217a,217bを介して感光ドラム206上を走査す
る。
The signal processing unit 10 electrically processes the read signal, and magenta (M), cyan (C), yellow (Y),
The black (Bk) components are decomposed and sent to the printer unit 20. One component of C, M, Y, and Bk is sequentially sent to the printer unit 20 for each original scanning in the image scanner unit 30, and one printout is completed by a total of four original scanning (surface). Sequential transfer method). Signal processing unit 10
The C, M, Y, and Bk image signals sent from the laser diode drive (PHC unit) drive-modulate the semiconductor laser 214 according to the image signal level. The laser light scans the photosensitive drum 206 via the polygon mirror 215, the f-θ lens 216, and the folding mirrors 217a and 217b.

【0009】現像ユニットは、C,M,Y,Bkの各現像部
208a,208b,208c,208dにより構成され
ており、現像器208a,208b,208c,208dが感
光ドラム206に接し、帯電チャージャー207により
帯電された感光ドラム206上に形成された静電潜像を
トナーで現像する。一方、給紙ユニット201a,201
b,201cより給紙されてきた用紙を転写ドラム202
に吸着チャージャー204により巻き付け、タイミング
ローラ203により転写位置へ搬送し、転写チャージャ
ー205により感光ドラム206上に現像された像を用
紙に転写する。このようにしてC,M,Y,Bkの4色が順
次転写された後、分離チャージャー209a、209b
により用紙は分離され、搬送され、定着ローラ210a,
210bを通過し、排紙トレー211に排出される。な
お、218,219は転写ドラムの基準位置センサ、2
20は用紙を転写ドラムから分離する分離爪である。
The developing unit comprises C, M, Y, and Bk developing units 208a, 208b, 208c, and 208d. The developing units 208a, 208b, 208c, and 208d are in contact with the photosensitive drum 206, and the charging charger 207. The electrostatic latent image formed on the photosensitive drum 206 charged by is developed with toner. On the other hand, the paper feeding units 201a, 201
Transfer drum 202 for the paper fed from b, 201c
It is wound around by the suction charger 204 and conveyed to the transfer position by the timing roller 203, and the image developed on the photosensitive drum 206 by the transfer charger 205 is transferred onto a sheet. After the four colors of C, M, Y, and Bk are sequentially transferred in this manner, the separation chargers 209a and 209b are transferred.
The paper is separated and conveyed by the fixing roller 210a,
It passes through 210b and is discharged to the paper discharge tray 211. 218 and 219 are reference position sensors for the transfer drum,
Reference numeral 20 is a separation claw that separates the paper from the transfer drum.

【0010】(2)信号処理部における画像信号の処理 図2と図3は、信号処理部10の画像処理の全体の構成
を示す。イメージスキャナ部30は、微小光学系によっ
て原稿面からの反射光をリニアCCDセンサ36上に結
像させ、R,G,Bの各色分解情報に光電変換されたアナ
ログ信号を得る。これらの信号は、信号処理部10に送
られる。A/D変換部100は、CCDセンサ36で光
電変換された400DPIの画像データを、A/D変換
器によってR,G,Bの色情報毎に8ビット(256階調)
のデジタルデータに変換する。シェーディング補正部1
02は、R,G,Bデータの主走査方向の光量ムラをなく
すため、各R,G,B毎に独立して、原稿読み取りに先だ
って、シェーディング補正用の白色板38を読み取った
データを内部のシェーディングメモリ(図示しない)に
基準データとして格納しておき、逆数に変換した後で原
稿情報の読み取りデータと乗算してシェーディングの補
正を行う。ライン間補正部104は、R,G,Bの各セン
サチップのスキャン方向の読み取り位置を合わせるため
にスキャン速度(副走査側の変倍率)に応じて、内部のフ
ィールドメモリ(図示しない)を用いて、白色データを
ライン単位でディレイ制御して、R,G,Bのデータを出
力する。タイミング制御部106は、CCDセンサ3
6、A/D変換部100、シェーディング補正部102
およびライン間補正部104のタイミングを制御する。
(2) Processing of Image Signal in Signal Processing Unit FIGS. 2 and 3 show the overall configuration of image processing of the signal processing unit 10. The image scanner unit 30 forms an image of the reflected light from the document surface on the linear CCD sensor 36 by the micro optical system, and obtains an analog signal photoelectrically converted into R, G, B color separation information. These signals are sent to the signal processing unit 10. The A / D conversion unit 100 uses the A / D converter to convert the image data of 400 DPI photoelectrically converted by the CCD sensor 36 into 8 bits (256 gradations) for each R, G, B color information.
Convert to digital data. Shading correction unit 1
In order to eliminate unevenness of the light amount of R, G, B data in the main scanning direction, the data No. 02 has the data read by the white plate 38 for shading correction inside independently for each R, G, B prior to reading the original. Is stored as reference data in a shading memory (not shown), converted into an inverse number, and then multiplied by the read data of the document information to correct the shading. The interline correction unit 104 uses an internal field memory (not shown) according to the scan speed (magnification on the sub-scanning side) in order to match the reading positions of the R, G, and B sensor chips in the scanning direction. Then, the white data is subjected to delay control line by line, and R, G, B data is output. The timing control unit 106 includes the CCD sensor 3
6, A / D conversion unit 100, shading correction unit 102
Also, the timing of the interline correction unit 104 is controlled.

【0011】ライン間補正部104から出力されたR,
G,Bデータについて、変倍・移動制御部108は、R,
G,Bデータ毎に変倍用のラインメモリを2個用いて、
1ラインに入出力を交互に行い、その書き込みタイミン
グと読みだしタイミングを独立して制御することで主走
査方向の変倍・移動制御を行う。この制御において、変
倍率に応じて縮小側では書き込み前に、拡大側では読み
だした後に補間処理を行い、画像の欠損やがたつきを防
止している。また、この制御によって、イメージリピー
ト処理や拡大連写処理、鏡処理を行う。ヒストグラム生
成部110は、原稿情報を予備スキャンして得られたラ
イン間補正後のR,G,Bデータから、明度信号を生成
し、原稿のヒストグラムを作成する。得られたヒストグ
ラム情報から、原稿がカラー/白黒を判断する自動カラ
ー選択判別や原稿の下地レベルを自動的に飛ばすために
原稿下地レベルの判断、及びコピー動作の原稿モード
(標準/写真モード)の設定を自動的に行う。
R output from the line correction unit 104,
For the G and B data, the scaling / movement control unit 108
Using two line memories for scaling for each G and B data,
The input / output is alternately performed on one line, and the write timing and the read timing are controlled independently to perform the scaling / movement control in the main scanning direction. In this control, an interpolation process is performed before writing on the reduction side and after reading on the enlargement side according to the scaling ratio to prevent loss or rattling of the image. Also, by this control, image repeat processing, enlarged continuous shooting processing, and mirror processing are performed. The histogram generation unit 110 generates a brightness signal from the R, G, B data after line-correction obtained by preliminarily scanning the document information, and creates a histogram of the document. From the obtained histogram information, automatic color selection judgment to judge the color / monochrome of the original, judgment of the original background level to automatically skip the background level of the original, and original mode of copy operation
Automatically set (standard / photo mode).

【0012】HVC変換部114は、変倍・移動制御部
108からのR,G,Bデータを明度信号(Vデータ)と色
差信号(Cr,Cbデータ)に一旦変換する。編集処理部1
16は、V,Cr,Cbデータを受けて、オプションである
エディタの指定に基づいて、カラーチェンジや閉ループ
領域検出による色づけなどの編集作業を行う。紙幣認識
部118は、原稿ガラス31上に積載された原稿が、紙
幣や有価証券などであるか否かを判断し、その結果に基
づきコピー禁止を命令する。画像インターフェイス部1
20は、第1画像セレクタ122を介して送られるV,
Cr,Cbデータを受けて、外部装置へイメージデータを
転送する。様々なイメージデータの色信号インターフェ
ースに対応するため、このブロックでは、V,Cr,Cb信
号からR,G,B信号や汎用色空間であるX,Y,Z信号や
*,a*,b*信号などに変換し外部装置へ出力したり、逆
に外部から転送されてくる画像データをV,Cr,Cb信号
に変換する機能を有している。さらにプリンタ部20に
転送するC,M,Y,Bkデータを外部装置に転送したり、
外部装置からのC,M,Y,Bk信号を受けて、プリンタ部
20側に転送する機能もある。
The HVC converter 114 temporarily converts the R, G, B data from the scaling / movement controller 108 into a lightness signal (V data) and a color difference signal (Cr, Cb data). Editing processor 1
Upon receiving the V, Cr, and Cb data, 16 performs an editing operation such as color change or coloring by closed loop area detection based on the designation of an optional editor. The bill recognition unit 118 determines whether or not the originals stacked on the original glass 31 are bills or securities, and instructs copy prohibition based on the result. Image interface section 1
20 is V, which is sent via the first image selector 122,
Upon receiving the Cr and Cb data, the image data is transferred to an external device. In order to support various color signal interfaces of image data, in this block, V, Cr, Cb signals to R, G, B signals and X, Y, Z signals and L * , a * , b which are general color spaces are used. * It has the function of converting to signals etc. and outputting to an external device, or conversely converting the image data transferred from the outside into V, Cr, Cb signals. Further, the C, M, Y, Bk data to be transferred to the printer unit 20 can be transferred to an external device,
It also has a function of receiving C, M, Y, Bk signals from an external device and transferring them to the printer unit 20 side.

【0013】画像合成部124は、第2画像セレクタ1
26を介して画像インターフェイス部120または編集
処理部116から出力されたV,Cr,Cbデータのいずれ
かを選択した後、HVC変換部114からの原稿データ
との画像合成(はめ込み・文字合成)を行う。HVC調整
部128は、画像合成部124からのV,Cr,Cbデータ
について明度(V:明るさ)、色相(H:色合い)、彩度(C:
あざやかさ)という人間の3感覚に対応した画像調整を
行う目的で、操作パネルの指定に基づいてH,V,C毎に
独立して調整を行う。AE処理部130は、ヒストグラ
ム生成部で得られた情報に基づいて、明度成分に対して
原稿の下地レベルを制御する。逆HVC変換部132
は、再びV,Cr,CbデータからR,G,Bデータにデータ
変換をする。
The image synthesizing unit 124 includes the second image selector 1
After selecting any of the V, Cr, and Cb data output from the image interface unit 120 or the edit processing unit 116 via 26, image combination (embedding / character combination) with the document data from the HVC conversion unit 114 is performed. To do. The HVC adjustment unit 128 has a lightness (V: brightness), a hue (H: hue), and a saturation (C: for the V, Cr, and Cb data from the image composition unit 124.
For the purpose of performing image adjustment corresponding to the human sense of "vibrancy", adjustment is independently performed for each of H, V, and C based on the designation of the operation panel. The AE processing unit 130 controls the background level of the document with respect to the lightness component based on the information obtained by the histogram generation unit. Inverse HVC converter 132
Performs data conversion again from V, Cr, Cb data to R, G, B data.

【0014】色補正部134では、まずLOG補正部1
36が、再変換されたR,G,Bデータを濃度データ(D
R,DG,DB)に変換する一方、モノクロデータ生成部
138が、R,G,Bデータより明度データを作成後、モ
ノクロ再現用の階調データ(DV)を生成する。UCR・
BP処理部140は、R,G,Bデータの最大値と最小値
の差(MAX(R,G,B)−MIN(R,G,B))を原稿彩度
情報とし、DR,DG,DBの最小値(MIN(DR,DG,
DB))を原稿下色成分として、それらの値に応じた下色
除去・墨加刷処理を行い、DR,DG,DBデータからC
O,MO,YO,Bkデータを作成する。マスキング演算部
142は、色補正用マスキング演算処理を行って、UC
R処理後のC,M,Yデータ(CO,MO,YO)をプリンタ
部20のカラートナーに応じた色再現用のCMYデータ
に変換する。色データ選択部144は、操作パネルの指
定あるいはACS判別で白黒と判断された場合、白黒コ
ピーモードとして、モノクロ用のDVデータを出力し、
フルカラーモードでは、再現工程信号(CODE)に従
い、C,M,Y再現工程時には、マスキング演算処理デー
タ(C,M,Yデータ)を、Bk再現工程時には、BP処理
データ(Bkデータ)を選択して出力する。
In the color correction unit 134, first, the LOG correction unit 1
36 converts the re-converted R, G, B data into density data (D
While converting to R, DG, and DB), the monochrome data generation unit 138 creates brightness data from the R, G, and B data, and then generates gradation data (DV) for monochrome reproduction. UCR
The BP processing unit 140 uses the difference between the maximum value and the minimum value of R, G, B data (MAX (R, G, B) -MIN (R, G, B)) as the document saturation information, and DR, DG, Minimum value of DB (MIN (DR, DG,
DB)) is used as the original undercolor component of the original and undercolor removal / blackening processing according to those values is performed, and C is determined from the DR, DG, and DB data.
Create O, MO, YO, Bk data. The masking calculation unit 142 performs masking calculation processing for color correction, and
The C, M, Y data (CO, MO, YO) after R processing is converted into CMY data for color reproduction according to the color toner of the printer unit 20. The color data selection unit 144 outputs the monochrome DV data as the monochrome copy mode when the operation panel designation or the ACS determination determines that the color data is monochrome.
In the full color mode, according to the reproduction process signal (CODE), the masking calculation processing data (C, M, Y data) is selected during the C, M, Y reproduction process, and the BP processing data (Bk data) is selected during the Bk reproduction process. Output.

【0015】一方、領域判別部146は、R,G,Bデー
タより、最小値(MIN(R,G,B))と最大値と最小値の
差(MAX(R,G,B)−MIN(R,G,B))より、黒文字
判別や網点判別などの判別を行い、その結果(JD信号)
と補正データ(USM信号)を出力する。また、画像文字
領域の再現性と画像の粒状性を両立するため、プリンタ
側に画像再現周期を可変するためのLIMOS信号を出
力する。MTF補正部/シャープネス調整部148は、
入力されるC,M,Y,Bkデータに対して、領域判別結果
からエッジ強調・色にじみ補正・スムージング処理など
制御することで、コピー画像の最適な補正を行う。さら
に、γ補正/カラーバランス調整部150は、操作パネ
ル上から入力された濃度レベル情報に応じて、γカーブ
やC,M,Y,Bkのカラーバランスを調整する。こうし
て、様々な補正を行ったC,M,Y,Bkデータをプリンタ
側に階調再現方法を切り替えるLIMOS信号とともに
転送し、400DPI、256階調のフルカラーコピー
画像を得る。ここで、CPU152は信号処理部10を
制御し、また、操作パネル154は、データの入出力と
表示を行う。
On the other hand, the area discriminating unit 146 determines the minimum value (MIN (R, G, B)) and the difference between the maximum value and the minimum value (MAX (R, G, B) -MIN) from the R, G, B data. (R, G, B)), the discrimination such as the black character discrimination and the halftone dot discrimination is performed, and the result (JD signal)
And the correction data (USM signal) are output. Further, in order to achieve both the reproducibility of the image character area and the graininess of the image, a LIMOS signal for varying the image reproduction period is output to the printer side. The MTF correction unit / sharpness adjustment unit 148
The input C, M, Y, Bk data is controlled optimally for the copied image by controlling edge enhancement, color fringing correction, smoothing processing, etc., based on the area discrimination result. Further, the γ correction / color balance adjustment unit 150 adjusts the γ curve and the color balance of C, M, Y, Bk according to the density level information input from the operation panel. In this way, the variously corrected C, M, Y, Bk data are transferred to the printer side together with the LIMOS signal for switching the gradation reproduction method, and a 400 DPI, 256 gradation full color copy image is obtained. Here, the CPU 152 controls the signal processing unit 10, and the operation panel 154 performs input / output and display of data.

【0016】(3)複写モード 次に、このフルカラー複写機のコピー動作モードを説明
する。図4は、操作パネル154における基本画面であ
り、ユーザは、各種モードを設定できる。 (a)下地処理(AE処理とマニュアル設定) まず、下地処理について自動露光(AE)処理を行うか8
段階のマニュアル指定の1つのレベルを選択するのかを
選ぶことができる。AE処理では、予備スキャン動作に
よって原稿ヒストグラム情報から5種の原稿種別を行い
(カラー標準(下地白,下地色付き)/写真原稿及び白黒標
準/写真原稿)、カラー標準(下地白)か白黒標準原稿な
らば、図12と図13に示すような明度階調補性を行
い、他の種別(写真)ならばマニュアル中央レベルを自動
選択する。マニュアル指定時には、表2に示すような内
容である。
(3) Copy Mode Next, the copy operation mode of this full-color copying machine will be described. FIG. 4 is a basic screen on the operation panel 154, and the user can set various modes. (A) Base processing (AE processing and manual setting) First, is automatic exposure (AE) processing performed for the base processing?
You can choose whether to select one level of manual designation of stages. In the AE processing, five types of originals are selected from the original histogram information by the preliminary scan operation.
(Color standard (background white, with background color) / photo original and black-and-white standard / photo original), color standard (white background) or black-and-white standard original, perform brightness gradation complementation as shown in FIGS. 12 and 13. , For other types (photos), the manual center level is automatically selected. When the manual is specified, the contents are as shown in Table 2.

【0017】(b)原稿モード ACS(自動カラーモード選択)モードまたは4種の原稿
モードが選択できる。ACSモードを選択すると、予備
スキャン動作による原稿種別の判定により4つの原稿モ
ードのいずれかを自動的に選択する。白黒原稿と判断し
た場合、モノクロ標準/写真モードのいずれかを自動選
択して、ブラック1色再現工程によるモノクロモードコ
ピー動作を行う。カラー原稿ならば、カラー標準原稿/
写真モードのいずれかを自動選択し、C,M,Y,Bkの4
色によるフルカラー再現工程によるコピー動作を行う。
マニュアル時も同様であるが、モノクロ標準/写真モー
ドを選択した場合、操作画面はモノクロモード操作画面
(図示しない)に変わり、原稿パラメータとしてモノク
ロ用階調データを決定するR,G,Bデータの混合比を選
ぶ。(ACSモード時には、R,G,B平均感度分布が、マ
ニュアル時には、比視感度分布がデフォルトとして設定
してある。)また、再現色をブラックを含む16色の中
から選択できる。その他に、原稿面1面毎のC,M,Y,
Bkデータを紙上に再現する色分解モードや、ネガポジ
反転、ベースカラー、画像イレースの画像クリエイト・
画像調整を行うクリエイト機能、色相(色合い)/彩度
(あざやかさ)/シャープネス/γ補正(コントラスト明
暗)/カラーバランス(R−C/G−M/B−Y/コピー
濃度)の5種類を同時に変更して複数のモニタ画像を同
時に表わす画質調整機能がある。いずれも、詳細な説明
は省略する。
(B) Original mode An ACS (automatic color mode selection) mode or four types of original modes can be selected. When the ACS mode is selected, one of the four document modes is automatically selected according to the document type determination by the preliminary scan operation. When it is determined that the original is a black-and-white original, either the monochrome standard mode or the photograph mode is automatically selected, and the monochrome mode copy operation is performed by the black one-color reproduction process. For color originals, color standard originals /
Automatically select one of the photo modes and select C, M, Y, Bk 4
Copy operation is performed by a full-color reproduction process using colors.
The same applies to the manual mode, but when the monochrome standard / photo mode is selected, the operation screen changes to the monochrome mode operation screen (not shown), and the R, G, and B data for determining the gradation data for monochrome as the document parameter is set. Select the mixing ratio. (In the ACS mode, the R, G, B average sensitivity distribution is set as the default in the manual operation, and the relative luminous efficiency distribution is set as the default.) Further, the reproduction color can be selected from 16 colors including black. In addition, C, M, Y,
Image separation mode that reproduces Bk data on paper, negative / positive inversion, base color, image erase
Create function for image adjustment, hue (hue) / saturation
(Brightness) / Sharpness / γ correction (contrast brightness / darkness) / Color balance (RC / GM / BY / copy density) are changed at the same time to display multiple monitor images at the same time. There is. In any case, detailed description is omitted.

【0018】(4)予備スキャン動作 本実施例の複写機では、予備スキャン動作を行なって、
その結果を解析して原稿種別を判別したり、自動露光
(AE)処理や自動カラー選択(ACS)処理を行う。原稿
走査ユニットは、コピー前には、本スキャン時の原稿基
準位置とは逆のシェーディング補正板38側に停止して
いる。操作パネル154でコピーボタンが押されると、
ランプ点灯後に、補正データを読み取るために移動して
シェーディング補正板38をスキャンし、原稿のヒスト
グラムデータを作成しながら原稿基準位置に戻る。作成
されたヒストグラムデータから自動露光処理および自動
カラー選択処理を確定し、本スキャン動作を開始する。
これにより、ファーストコピー時間を短縮している。
(4) Preliminary scanning operation In the copying machine of this embodiment, the preliminary scanning operation is performed,
The result is analyzed to determine the original type and automatic exposure
(AE) processing and automatic color selection (ACS) processing are performed. Before copying, the document scanning unit is stopped on the side of the shading correction plate 38 opposite to the document reference position during main scanning. When the copy button is pressed on the operation panel 154,
After the lamp is turned on, the shading correction plate 38 is moved to scan the correction data to scan it, and returns to the document reference position while creating the histogram data of the document. The automatic exposure process and the automatic color selection process are confirmed from the created histogram data, and the main scan operation is started.
This shortens the first copy time.

【0019】(5)ヒストグラム生成 次に、予備スキャン動作におけるヒストグラム生成につ
いて説明する。図5は、ヒストグラム検出部110のブ
ロック図であり、ヒストグラム検出部110は、予備ス
キャン動作時に、原稿エリア内のR,G,Bデータのヒス
トグラムを求める。予備スキャン開始前にヒストグラム
メモリ202、204内を前もって初期化するため、C
PU152がヒストグラムメモリ202、204に対し
て、すべての階調レベル(0〜255)のアドレスに
“0"を書き込む。ライン間補正部104から入力され
たR,G,Bデータ(8ビット)から、明度作成部200
は、次式に基づいて明度信号(VH)を算出し、これが第
1ヒストグラムメモリ202、第2ヒストグラムメモリ
204にアドレスとして入力される。
(5) Histogram Generation Next, the histogram generation in the preliminary scan operation will be described. FIG. 5 is a block diagram of the histogram detection unit 110. The histogram detection unit 110 obtains a histogram of R, G, B data in the original area during the preliminary scanning operation. Since the histogram memories 202 and 204 are initialized in advance before starting the preliminary scan, C
The PU 152 writes “0” in the addresses of all gradation levels (0 to 255) in the histogram memories 202 and 204. From the R, G, B data (8 bits) input from the interline correction unit 104, the brightness creation unit 200
Calculates a lightness signal (VH) based on the following equation, and this is input to the first histogram memory 202 and the second histogram memory 204 as an address.

【数1】 VH=0.31640625*R+0.65625*G+0.02734375*B (1) この式で求められた明度信号は、人間の比視感度(明る
さ)に近似されている。ここで、ヒストグラム作成の対
象が、R,G,Bデータではなく、明度データVHである
のは、自動露光処理で、明度・色差信号に分離したデー
タに対して補正をするためであり、後で詳細に説明す
る。
## EQU1 ## VH = 0.31640625 * R + 0.65625 * G + 0.02734375 * B (1) The lightness signal obtained by this equation is approximate to the human visual acuity (brightness). Here, the target of the histogram creation is not the R, G, B data but the brightness data VH, because the data separated into the brightness / color difference signals is corrected by the automatic exposure process. Will be described in detail.

【0020】CPU152からのサンプリング間隔設定
値に基づき、サンプリング間隔決定回路206はヒスト
グラムメモリ202、204に取り込む間隔(間引き率)
を決定する。これは、最大原稿サイズ(A3)の全ドット
のヒストグラムを作成すると最大32Mビットのメモリ
容量を必要とするためであり、サンプリング間隔を適度
に(主走査方向:1/8、副走査方向:1/4)間引いて、
1Mビットにしている。図6は、ヒストグラム生成にお
けるサンプリングの状況の1例を示す図である。原稿台
ガラス31上に置かれた原稿(ハッチング部分)が読み
取られるとき、〇印の位置のデータがサンプリングされ
る。さらに、予備スキャン前に原稿サイズが検出されて
おり、タイミング制御部106より各種信号がサンプリ
ング間隔決定回路210に入力される。ここで、原稿サ
イズエリアを示す/HD信号(主走査方向)と/VD信号
(副走査方向)が、サンプリング間隔決定回路210に入
力され、その有効原稿エリア内でしか、ヒストグラムの
生成を許可していない。なお、/TGは、主走査同期信
号であり、1ライン毎の周期を持つ。(本明細書では、
先頭に”/”を付した信号は、負論理信号を意味す
る。)また、VCLKは、画像データの同期クロックで
ある。
Based on the sampling interval set value from the CPU 152, the sampling interval determination circuit 206 takes in the intervals (decimation rate) in the histogram memories 202 and 204.
To decide. This is because creating a histogram of all dots of the maximum document size (A3) requires a maximum memory capacity of 32 Mbits, and the sampling interval is appropriately set (main scanning direction: 1/8, sub-scanning direction: 1). / 4) thinning out,
It is set to 1 Mbit. FIG. 6 is a diagram showing an example of a sampling situation in histogram generation. When a document placed on the platen glass 31 (hatched portion) is read, the data at the position of the circle is sampled. Further, the document size is detected before the preliminary scan, and various signals are input to the sampling interval determination circuit 210 from the timing control unit 106. Here, / HD signal (main scanning direction) and / VD signal indicating the document size area
The (sub-scanning direction) is input to the sampling interval determination circuit 210, and the generation of the histogram is permitted only within the effective original area. It should be noted that / TG is a main scanning synchronization signal and has a cycle for each line. (In this specification,
A signal with "/" at the head means a negative logic signal. ) Further, VCLK is a synchronous clock of image data.

【0021】ヒストグラムメモリ202、204にアド
レスADRが入力されると、そのアドレスのヒストグラ
ムデータを読みだし、加算器208、210によりその
データに+1を加えて、再び同じアドレスに書き込む。
すなわち、ヒストグラムの動作としては、8ドットを1
周期とするリードモデファイライトサイクルとなり、ヒ
ストグラムメモリ202、204のアドレスが階調レベ
ル(明度)を示し、データが各階調レベルの度数(個数)
を表わしている。予備スキャンが終了した時点で、CP
U152は、ヒストグラムメモリ202、204から各
階調の度数データを読み出す。後で説明するように、予
備スキャン動作で得られたヒストグラムデータより、自
動露光動作、自動カラー選択動作などの内容を決定す
る。
When the address ADR is input to the histogram memories 202 and 204, the histogram data of the address is read out, +1 is added to the data by the adders 208 and 210, and the same is written again.
That is, the operation of the histogram is 8 dots per 1
The cycle is a read modify write cycle, the addresses of the histogram memories 202 and 204 indicate gradation levels (brightness), and the data is the frequency (number) of each gradation level.
Is represented. When the preliminary scan is completed, CP
U152 reads the frequency data of each gradation from the histogram memories 202 and 204. As will be described later, the contents of the automatic exposure operation, automatic color selection operation, etc. are determined from the histogram data obtained in the preliminary scan operation.

【0022】ヒストグラムメモリ202、204が2種
用意されているのは、自動カラー選択処理のためであ
る。第1ヒストグラムメモリ202は、原稿の明度ヒス
トグラムを単純に求めており、第2ヒストグラムメモリ
204は、原稿中の無彩色ドットのヒストグラムを求め
ている。このため、最小値回路212と最大値回路21
4は、入力されたR,G,BデータのMAX値とMIN値
を検出し、引算回路216により両者の差を求める。そ
して、比較器218が、その差が所定のレベル(SRE
F)より小さいと判断したときに、明度VHデータの第
2ヒストグラムメモリ204への書き込みを許可する。
R,G,Bデータの(MAX値−MIN値)が小さいとい
うことは、原稿データが無彩色データであるということ
を示している。したがって、第2ヒストグラムメモリ2
04は、有彩色データのときにのみ、ヒストグラムが計
算されることを意味する。なお、第1ヒストグラムメモ
リ202は、/WEが常に"L"レベルであり、全画素に
ついて書き込みが可能である。
Two types of histogram memories 202 and 204 are prepared for automatic color selection processing. The first histogram memory 202 simply finds the brightness histogram of the document, and the second histogram memory 204 finds the histogram of the achromatic dots in the document. Therefore, the minimum value circuit 212 and the maximum value circuit 21
Reference numeral 4 detects the MAX value and the MIN value of the input R, G, B data, and the subtraction circuit 216 obtains the difference between them. Then, the comparator 218 determines that the difference is a predetermined level (SRE
When it is determined to be smaller than F), the writing of the brightness VH data to the second histogram memory 204 is permitted.
That the (MAX value-MIN value) of the R, G, B data is small indicates that the document data is achromatic data. Therefore, the second histogram memory 2
04 means that the histogram is calculated only for chromatic data. In the first histogram memory 202, / WE is always at the “L” level, and writing is possible for all pixels.

【0023】(6)自動カラー選択処理(ACS) 自動カラー選択モードとは、原稿台ガラス31上に積載
された原稿が、白黒原稿かカラー原稿かを識別し、自動
的にコピーモードを決定するモードである。これによ
り、白黒原稿は、Bkだけの再現工程で画像再現をすれ
ばよいために、コピースピードが上がる。特に、自動原
稿搬送装置を使用するときに、白黒原稿とカラー原稿が
混載されていても、操作者が意識せずに、適切なコピー
が得られることになる。
(6) Automatic Color Selection Processing (ACS) The automatic color selection mode discriminates whether the original placed on the original glass 31 is a monochrome original or a color original and automatically determines the copy mode. Mode. As a result, a black-and-white original can be reproduced in an image in a reproduction process of only Bk, so that the copy speed is increased. In particular, when the automatic document feeder is used, even if a black-and-white document and a color document are mixed, an appropriate copy can be obtained without the operator being aware.

【0024】自動カラー選択の判断について以下に説明
する。h1(n)は、第1ヒストグラムメモリ202で作
成された第1ヒストグラムの明度のレベルnでの度数デ
ータを表わし、h2(n)は、第2ヒストグラムメモリ2
04で作成された第2ヒストグラムの明度のレベルnで
の度数データを表わす。CPU152は、第1ヒストグ
ラム202の各度数(h1(n))から第2ヒストグラム2
04の各度数(h2(n))を減算して、第3ヒストグラム
(h3(n)=h1(n)−h2(n))を作成する。これは、
原稿の有彩色部分のヒストグラムを表している。図7に
示すように、2種のヒストグラムメモリ202、204
に作成した2つのヒストグラムから、例えば以下のよう
な量を分析できる。第1ヒストグラムメモリ202よ
り、W=原稿内の下地(白)領域(n=μ1〜255)のド
ット数、M=白黒の中間調(グレー)領域(n=μ2〜μ
1)のドット数、B=黒領域(n=0〜μ2)のドット
数およびS=第1ヒストグラムの総度数和=原稿サイズ
内の総画素数。さらに、第2ヒストグラムメモリ204
から、C=カラー領域(n=σ1〜σ2)のドット数。
すなわち、
The determination of automatic color selection will be described below. h1 (n) represents frequency data at the brightness level n of the first histogram created in the first histogram memory 202, and h2 (n) represents the second histogram memory 2
The frequency data at the lightness level n of the second histogram created in 04 is represented. The CPU 152 determines the second histogram 2 from the frequencies (h1 (n)) of the first histogram 202.
The third histogram by subtracting each frequency (h2 (n)) of 04
(h3 (n) = h1 (n) -h2 (n)) is created. this is,
The histogram of the chromatic portion of the document is shown. As shown in FIG. 7, two types of histogram memories 202 and 204
The following quantities can be analyzed from the two histograms created in the above. From the first histogram memory 202, W = the number of dots in the background (white) area (n = μ1 to 255) in the original, M = black and white halftone (gray) area (n = μ2 to μ)
1) the number of dots, B = the number of dots in the black region (n = 0 to μ2), and S = the sum of the first histogram total frequencies = the total number of pixels in the original size. Further, the second histogram memory 204
Therefore, C = the number of dots in the color area (n = σ1 to σ2).
That is,

【数2】 [Equation 2]

【0025】自動カラー選択では、明度データを基に、
無彩色と有彩色との比から原稿種別を判別する。具体的
には、ヒストグラムから得られたSとCを用いて、原稿
中の有彩色ドットの比を求め、カラーコピーをするか、
白黒コピーをするかを判断している。先に説明したよう
に、Cは、カラー領域(n=σ1〜σ2)のドット数であ
り、Snは原稿サイズ内の総画素数である。したがっ
て、C/Sは、有彩色と(有彩色+無彩色)の比に対応す
る。すなわち、判断式(C/S)が基準値以下であれば、
有彩色が少ないので白黒コピーモードを設定し、基準値
よりも大きければ、有彩色が多いのでフルカラーコピー
モードを設定する。ここに、分母にSを用いることによ
って、自動カラー選択の判断、特に原稿サイズの影響を
無視できる。
In automatic color selection, based on the brightness data,
The document type is discriminated from the ratio of achromatic color to chromatic color. Specifically, using S and C obtained from the histogram, the ratio of chromatic color dots in the document is obtained, and whether or not color copying is performed,
I am deciding whether to make a black and white copy. As described above, C is the number of dots in the color area (n = σ1 to σ2), and Sn is the total number of pixels in the document size. Therefore, C / S corresponds to the ratio of chromatic color to (chromatic color + achromatic color). That is, if the judgment formula (C / S) is less than or equal to the reference value,
Since there are few chromatic colors, the black-and-white copy mode is set, and when it is larger than the reference value, the full-color copy mode is set because there are many chromatic colors. Here, by using S as the denominator, it is possible to ignore the determination of automatic color selection, especially the influence of the document size.

【0026】図8は、CPU152の自動カラーモード
選択のフローを示す。まず、ヒストグラム作成部110
により、第1と第2のヒストグラムメモリ202、20
4に明度のヒストグラムを作成する(ステップS10
0)。次に、ヒストグラムから上記のCとSを求め(ス
テップS102)、比C/Sを計算する(ステップS1
04)。そして、C/Sが所定のしきい値より大きけれ
ば(ステップS106でYES)、カラー原稿であると
判定し(ステップS108)、そうでなければ(ステッ
プS110でNO)、白黒原稿であると判定する(ステ
ップS112)。
FIG. 8 shows a flow of automatic color mode selection by the CPU 152. First, the histogram creation unit 110
To allow the first and second histogram memories 202, 20 to
A brightness histogram is created in step 4 (step S10).
0). Next, the above C and S are obtained from the histogram (step S102), and the ratio C / S is calculated (step S1).
04). If C / S is larger than a predetermined threshold value (YES in step S106), it is determined to be a color original document (step S108), and if not (NO in step S110), it is determined to be a monochrome original document. (Step S112).

【0027】(7) 原稿種別判別 さらに、CPU152は、まず、自動露光(AE)処理の
初めの段階として、ヒストグラムメモリ202、204
の情報および自動カラー選択(ACS)の結果(図8参
照)より、以下のような5種の原稿(表1参照)の判断
を行う。 (a) 白黒写真原稿(白黒写真、白黒高精細網点印刷な
ど) (b) 白黒標準原稿(白黒文字・線画などで、下地の比
較的白い原稿) (c) フルカラー写真原稿(カラー銀塩写真、カラー高
精細網点印刷など) (d) カラー標準原稿(下地白)(色文字・色線画などを
含む、下地の比較的白い原稿) (e) カラー標準原稿(下地色付き)(下地に色が付いて
いる原稿)
(7) Discrimination of Original Type Further, the CPU 152 first sets the histogram memories 202 and 204 as the first stage of the automatic exposure (AE) process.
The following five types of originals (see Table 1) are determined based on the information (1) and the result of automatic color selection (ACS) (see FIG. 8). (a) Black-and-white photo manuscript (black-and-white photo, black-and-white high-definition halftone printing, etc.) (b) Black-and-white standard manuscript (black-and-white characters, line drawings, etc., relatively white background) (c) Full-color photo manuscript (color silver salt photograph , Color high-definition halftone printing, etc.) (d) Color standard document (white background) (relatively white background including color characters and color line drawings) (e) Color standard document (with background color) (color background) (Documents with a)

【0028】自動カラー選択もヒストグラムより得ら
れ、原稿種別は、ヒストグラムを解析して行っている
(図9参照)。原稿種別判断の考え方は以下の通りであ
る。カラー原稿と白黒原稿とは、先に自動カラー選択に
ついて説明したように、ヒストグラムより無彩色である
画素の数と有彩色である画素の数を求め、有彩色である
画素の数と無彩色全体の画素数の比がある基準値より大
きいとカラー原稿であると判断し、そうでないと、白黒
原稿であると判断する。また、写真原稿と標準原稿と
は、ヒストグラムの分布より判断できる。標準原稿と
は、主に文字からなる原稿であり、ヒストグラムは、図
12や図13に示すような2値的な分布を示す。ここ
で、下地が白でない場合も考慮する。2値的な分布を示
す場合は、標準原稿であると判断し、そうでない場合は
写真原稿であると判断する。具体的には、ヒストグラム
から濃度範囲(黒側)の画素数と、白付近の画素数と比
較し、前者が少ないと2値的分布であるとして、標準原
稿であると判断する。カラー標準原稿の場合は、下地が
白の場合がこれにより判断できる。カラー原稿の場合に
は、下地色が付いている標準原稿とカラー写真原稿との
区別が必要なので、ヒストグラムにおける分布が広範囲
で平均的であるものをカラー写真原稿であると判断し、
そうでない場合は、下地色付きカラー標準原稿であると
判断する。具体的には、ヒストグラムにおける最大値と
最小値との差で判断している。
The automatic color selection is also obtained from the histogram, and the document type is determined by analyzing the histogram (see FIG. 9). The concept of determining the manuscript type is as follows. For color originals and black-and-white originals, the number of achromatic pixels and the number of chromatic pixels are obtained from the histogram, and the number of chromatic pixels and the total achromatic If the ratio of the number of pixels is larger than a reference value, it is determined that the original is a color original, and if not, it is determined that the original is a monochrome original. Further, the photographic original and the standard original can be determined from the distribution of the histogram. The standard manuscript is a manuscript mainly composed of characters, and the histogram shows a binary distribution as shown in FIGS. Here, the case where the base is not white is also considered. If it shows a binary distribution, it is judged to be a standard manuscript, and if not, it is judged to be a photographic manuscript. Specifically, the number of pixels in the density range (black side) is compared from the histogram with the number of pixels near white, and if the former is small, it is determined that the original document is a binary document and the document is a standard document. In the case of a color standard document, the case where the background is white can be determined by this. In the case of color originals, it is necessary to distinguish between standard originals with a background color and color photo originals, so it is judged that a color photo original is one with a wide distribution in the histogram and an average,
If not, it is determined that the original document is a color standard document with a background color. Specifically, it is determined by the difference between the maximum value and the minimum value in the histogram.

【0029】図9は、CPU152による原稿種別判別
のフローを示す。まず、第1と第2のヒストグラムメモ
リ202、204のデータh1(n)とh2(n)より、次
に定義する各種度数和G25,G24,G23,G22,G
21,G20,G35,G34,G33,G32,G31,G
30を計算し、さらに、下地レベルa(第2ヒストグラ
ムメモリ204における出力データID0.4以下での
最大度数を示す階調レベル)と文字レベルb(第2ヒス
トグラムメモリ204における出力データID0.6以
上で最大度数を示す階調レベル)を求める(ステップS
200)。
FIG. 9 shows a flow of the document type discrimination by the CPU 152. First, from the data h1 (n) and h2 (n) of the first and second histogram memories 202 and 204, the various sums of frequencies G25, G24, G23, G22, G defined next are given.
21, G20, G35, G34, G33, G32, G31, G
30 is calculated, and further, the background level a (the gradation level indicating the maximum frequency of the output data ID 0.4 or less in the second histogram memory 204) and the character level b (the output data ID 0.6 or more in the second histogram memory 204) are calculated. To obtain the gradation level indicating the maximum frequency (step S
200).

【数3】 図10の左側に示すように、明度VHのレベル0〜25
5は出力データIDと対応するが、これらの値は、出力
データの6つの範囲(0.2以下、0.2〜0.4、0.4
〜0.6、0.6〜0.8、0.8〜1.1、1.1以上)に
おいて、明度データがしきい値SREFより大きいか小
さいかに対応して、h2(n)またはh3(n)(=h1
(n)−h2(n))を集計した値である。なお、図10に
おいて、C,M,Y,R,G,Bで示す範囲は、対応する色
におけるVHの存在範囲を示す。
(Equation 3) As shown on the left side of FIG. 10, the brightness VH levels 0 to 25
5 corresponds to the output data ID, but these values are in the six ranges of the output data (0.2 or less, 0.2 to 0.4, 0.4.
.About.0.6, 0.6 to 0.8, 0.8 to 1.1, 1.1 or more), h2 (n) or h2 (n) or h3 (n) (= h1
(n) -h2 (n)). In addition, in FIG. 10, the range indicated by C, M, Y, R, G, and B indicates the existence range of VH in the corresponding color.

【0030】次に、写真(a)・(c)と標準原稿(b)・
(d)と下地色付き標準原稿(e)を区別するために、写真
原稿および下地色付き原稿の判定を行う。まず、前述の
自動カラー選択(ACS)の処理結果より、白黒原稿(a)
・(b)と、カラー原稿(c)・(d)・(e)との判別を行う
ことが出来る(ステップS202)。もし自動カラー選
択の判別結果がカラーであれば(ステップS202でY
ES)、ステップS204に進み、カラー原稿の種別を
判別する(ここに、α2はしきい値を表す)。まず、出
力データ(ID)0.4以上の無彩色と出力データ(ID)
0.2以上の有彩色との度数和(白下地以外の部分に相
当する)が原稿総度数(Sn)に占める割合が小さい場合
は(ステップS204でYES)、白地部分が多いの
で、カラー標準原稿(下地白)(b)と判断する(ステップ
S206)。そして、画像処理について、下地調整は、
自動露光(AE)処理を設定し、黒文字判別処理を設定
し、階調再現切換処理を設定し、原稿モードをカラー標
準モードとする(ステップS208)。もし出力データ
(ID)0.4以上の無彩色と出力データ(ID)0.2以上
の有彩色との度数和が原稿総度数(S)に占める割合が大
きい場合は(ステップS204でNO)、さらに、有彩
色のある度数ブロックにおける度数和の占める比率が非
常に高いかを判断する(ステップS210、ここに、α
3はしきい値を表す)。具体的には、有彩色のある度数
ブロックG30〜G34の中の最大度数和と最小度数和
との差と原稿総度数との比率を求め、この比率が非常に
は高くないときには(ステップS210でNO)、画像
データが全明度階調にわたって平均的ではないので、カ
ラー標準原稿の下地が色付けされているもの(a)と判断
する(ステップS212)。そして、画像処理につい
て、下地調整は、標準マニュアル設定の中央とし、黒文
字判別処理を設定し、階調再現切換処理を設定し、原稿
モードをカラー標準モードとする(ステップS21
4)。そうでなければ(ステップS210でYES)、
画像データが全明度階調にわたって平均的であるので、
カラー写真原稿(c)であると判断し(ステップS21
6)、画像処理について、下地調整は、写真マニュアル
設定の中央とし、黒文字判別処理を設定せず、階調再現
切換処理も設定せず、原稿モードをカラー写真モードと
する(ステップS218)。
Next, photographs (a) and (c) and standard manuscript (b) and
In order to distinguish (d) from the standard document with a background color (e), a photograph document and a document with a background color are determined. First, from the processing result of the automatic color selection (ACS) described above, a black and white original (a)
It is possible to distinguish between (b) and color originals (c), (d), and (e) (step S202). If the determination result of automatic color selection is color (Y in step S202)
ES), the process proceeds to step S204, and the type of color original is determined (here, α2 represents a threshold value). First, output data (ID) achromatic color of 0.4 or more and output data (ID)
If the sum of frequencies with chromatic colors of 0.2 or more (corresponding to a portion other than the white background) accounts for a small portion of the total document frequency (Sn) (YES in step S204), there are many white background portions, and thus the color standard It is determined that the original (white background) (b) (step S206). And for image processing, the background adjustment is
Automatic exposure (AE) processing is set, black character determination processing is set, gradation reproduction switching processing is set, and the original mode is set to the color standard mode (step S208). If output data
If the sum of the frequencies of the achromatic color of (ID) 0.4 or more and the chromatic color of the output data (ID) of 0.2 or more accounts for a large percentage of the total document frequency (S) (NO in step S204), It is determined whether or not the ratio of the sum of frequencies in the frequency block with chromatic color is very high (step S210, where α
3 represents a threshold value). Specifically, the ratio between the difference between the maximum sum and the minimum sum of the chromatic color frequency blocks G30 to G34 and the total manuscript frequency is calculated, and when this ratio is not very high (in step S210). NO), since the image data is not averaged over all brightness gradations, it is determined that the background of the color standard original is colored (a) (step S212). Regarding the image processing, the background adjustment is centered on the standard manual setting, the black character discrimination processing is set, the gradation reproduction switching processing is set, and the original mode is set to the color standard mode (step S21).
4). Otherwise (YES in step S210),
Since the image data is average over all brightness gradations,
It is determined that the original is a color photograph original (c) (step S21
6) Regarding the image processing, the background adjustment is performed at the center of the photo manual setting, the black character determination processing is not set, the gradation reproduction switching processing is not set, and the original mode is the color photographic mode (step S218).

【0031】一方、もし自動カラー選択(ACS)の判別
結果がカラーでなければ(ステップS202でNO)、
ステップS220に進む(ここにα1はしきい値を表
す)。もし出力データ(ID)0.4以上の無彩色の度数
和が原稿総度数(S)に占める割合が小さい場合には(ス
テップS220でYES)、白黒写真(e)と判断し(ス
テップS222)、画像処理について、下地調整は、写
真マニュアルの中央を設定し、黒文字判別処理を設定せ
ず、階調再現切換処理も設定せず、原稿モードをモノク
ロ標準モードとする(ステップS224)。そうでなけ
れば(ステップS220でNO)、白地部分が多いの
で、白黒標準原稿(d)であると判断し(ステップS22
6)、画像処理について、下地調整は、自動露光(AE)
処理を設定し、黒文字判別処理を設定せず、階調再現切
換処理を設定し、原稿モードをモノクロ標準モードとす
る(ステップS228)。
On the other hand, if the discrimination result of the automatic color selection (ACS) is not color (NO in step S202),
The process proceeds to step S220 (where α1 represents a threshold value). If the achromatic color sum of output data (ID) 0.4 or more is small in the total document frequency (S) (YES in step S220), it is determined to be a black and white photograph (e) (step S222). Regarding the image processing, for the background adjustment, the center of the photograph manual is set, the black character discrimination processing is not set, the gradation reproduction switching processing is not set, and the original mode is set to the monochrome standard mode (step S224). Otherwise (NO in step S220), since there are many white background portions, it is determined that the original is a black and white standard document (d) (step S22).
6) Regarding image processing, background adjustment is automatic exposure (AE)
The processing is set, the black character determination processing is not set, the gradation reproduction switching processing is set, and the original mode is set to the monochrome standard mode (step S228).

【0032】最後に、それぞれの原稿種別判定結果を操
作パネル154の基本操作画面(図4)に表示する(ス
テップS230)。この表示がないと、ユーザは、原稿
種別の判定結果が分からないので不安になるおそれがあ
る。そこで、操作パネル154に原稿種別を表示するこ
とにより、ユーザがすぐに判定結果が理解できるように
した。以上の処理により原稿種別(a)〜(e)の判定およ
びそれに対応する画像処理設定が出来た。表1は、それ
ぞれの原稿種別に対する自動カラー選択(ACS)、画像
処理モードおよび原稿モードの内容を示す。また、表2
は、各種モードでの下地処理の設定を示す。
Finally, the respective document type determination results are displayed on the basic operation screen (FIG. 4) of the operation panel 154 (step S230). Without this display, the user may be uncertain because the determination result of the document type is unknown. Therefore, by displaying the document type on the operation panel 154, the user can immediately understand the determination result. Through the above-described processing, it is possible to determine the document types (a) to (e) and set the image processing corresponding thereto. Table 1 shows the contents of automatic color selection (ACS), image processing mode and document mode for each document type. Also, Table 2
Indicates settings of the background processing in various modes.

【0033】[0033]

【表1】 [Table 1]

【0034】[0034]

【表2】 [Table 2]

【0035】(8)HVC変換とHVC調整 本実施例の複写機は、画像データの処理をHVCデータ
に変換して行なう。HVC変換部114は、R,G,Bデ
ータを明度信号(V)及び2種の色差信号(Cr,Cb)から
なる色空間の信号に変換するマトリクス演算器を備え
る。
(8) HVC conversion and HVC adjustment The copying machine of this embodiment converts the image data into HVC data and performs the processing. The HVC conversion unit 114 includes a matrix calculator that converts R, G, B data into a color space signal composed of a lightness signal (V) and two kinds of color difference signals (Cr, Cb).

【数4】 色相・明度・彩度からなる色の三属性は、V,Cr,Cb信
号を用いて以下のように求められる。
[Equation 4] The three attributes of color, which are hue, lightness, and saturation, are obtained as follows using V, Cr, and Cb signals.

【数5】 明度(Value) = V 彩度(Chroma) = (Cr2+Cb2)1/2 (5) 色相(Hue) = arctan(Cb/Cr) このような信号V,Cr,Cbに変換する理由は、人間の
感覚に類似した処理を行うことによって、高画質化を実
現するとともに、後段で行う処理(画像合成・自動露光
処理・HVC調整)が容易になるためである。
## EQU5 ## Lightness (Value) = V Saturation (Chroma) = (Cr 2 + Cb 2 ) 1/2 (5) Hue (Hue) = arctan (Cb / Cr) Converted to such signals V, Cr, Cb The reason for doing this is that by performing processing that is similar to the human sense, high image quality is realized and the processing that is performed later (image synthesis, automatic exposure processing, HVC adjustment) becomes easier.

【0036】HVC変換部114の出力は、画像合成部
124以降の処理部に転送される他に、編集処理部11
6にてカラーチェンジなどの画像編集を行う。一方、紙
幣認識部118で原稿が紙幣・有価証券などであるかを
判定し、コピー動作の禁止を命令する。そして、画像合
成部124において、HVC変換部114より出力され
たV,Cr,Cb信号は、一旦ディレイメモリ115に入力
され、編集処理部116からの画像信号と同期をとる。
そして、画像合成部124は、ディレイメモリ115の
出力データ(V,Cr,Cb)と画像セレクタ126の出力デ
ータ(V,Cr,Cb)より、画像合成を行う。代表的な合成
方法には、透かし合成、はめ込み合成、文字合成などが
あるが、詳細な説明を省略する。
The output of the HVC conversion unit 114 is transferred to the processing units after the image composition unit 124, and also the editing processing unit 11
At 6, edit images such as color changes. On the other hand, the bill recognition unit 118 determines whether the original is a bill or securities, and issues an instruction to prohibit the copy operation. Then, in the image synthesizing unit 124, the V, Cr, Cb signals output from the HVC converting unit 114 are once input to the delay memory 115 and are synchronized with the image signal from the editing processing unit 116.
Then, the image composition unit 124 performs image composition from the output data (V, Cr, Cb) of the delay memory 115 and the output data (V, Cr, Cb) of the image selector 126. Although typical synthesizing methods include watermark synthesizing, embedding synthesizing, and character synthesizing, detailed description thereof will be omitted.

【0037】図11に示すように、HVC調整部128
は、画質調整モードのために設けられる。HVC調整部
128は、V,Cr,Cbデータを受信して、H,V,C信号
毎に独立して画像調整を行えるように、以下のような行
列演算処理を行うマトリクス演算器128aを備える。
As shown in FIG. 11, the HVC adjusting unit 128
Are provided for the image quality adjustment mode. The HVC adjustment unit 128 includes a matrix calculator 128a that receives the V, Cr, and Cb data and performs the following matrix calculation processing so that image adjustment can be performed independently for each H, V, and C signal. .

【数6】 ここで、qが彩度調整係数であり、θが色相調整係数で
ある。これらの係数は、HVC調整制御部129から出
力され、画質モニタ制御部から送られてくるMdata(3
ビット)を切り替え信号として、画像信号とリアルタイ
ムに8種類の係数群から選択される。このようにして、
人間の感覚に類似した調整を行い、操作者の好みに応じ
た画像調整を容易にしている。
(Equation 6) Here, q is a saturation adjustment coefficient, and θ is a hue adjustment coefficient. These coefficients are output from the HVC adjustment control unit 129 and sent from the image quality monitor control unit by Mdata (3
(Bit) is used as a switching signal and selected from eight types of coefficient groups in real time with the image signal. In this way,
Adjustments similar to those of humans are made to facilitate image adjustments according to operator preference.

【0038】(9)自動露光処理(AE) 原稿種別に従う画像処理の例として、下地処理について
説明する。従来、フルカラー複写機において、自動露光
処理は原稿と異なるカラーバランスのコピーになってし
まう恐れがあるため、モノクロモードでしか作動させず
にいた。しかしフルカラーモードでも黒文字判別のよう
な処理が導入され、白黒・カラー混在原稿が鮮明に再現
されるようになると、裏写りの防止などのため、原稿下
地レベルを自動露光処理のように自動的に最適制御する
必要が生じてきた。本実施例では、人間の比視感度(明
るさ)に近似されている明度信号(VH)を作成し、ヒス
トグラム生成および原稿種別判断を行っている。これに
より、フルカラー原稿の色合いを変化させずかつ白黒/
カラー部分を意識せずに原稿下地レベルを自動的に制御
してコピーする自動露光処理を行っている。すなわち、
一旦画像信号をR,G,B信号からV,Cr,Cb信号に変換
し、そのデータに対し、自動露光処理を行い、再びR,
G,B信号に変換することにより、フルカラーモードも
モノクロモードも一義的な処理を施すことで、下地レベ
ルの最適化が可能になる。さらに、フルカラーモードで
も、色成分信号であるCr,Cbに対して何らの処理も加
えないため、自動露光処理によるカラーバランスの変化
が生じない。
(9) Automatic exposure process (AE) The background process will be described as an example of the image process according to the document type. Conventionally, in a full-color copying machine, the automatic exposure process may result in a copy having a color balance different from that of the original, so that the automatic exposure process is performed only in the monochrome mode. However, even in full-color mode, when processing such as black character discrimination is introduced and clear mixed black-and-white and originals are reproduced, the background level of the originals is automatically adjusted like automatic exposure processing to prevent show-through. The need for optimal control has arisen. In the present embodiment, a lightness signal (VH) that is similar to human relative luminous efficiency (brightness) is created, and histogram generation and document type determination are performed. As a result, the hue of full-color originals is not changed and black and white /
Automatic exposure processing is performed to automatically copy the original background level without being aware of the color portion. That is,
Once the image signal is converted from R, G, B signals to V, Cr, Cb signals, the data is subjected to automatic exposure processing, and then R, G, B again.
By converting into G and B signals, unique processing is performed in both the full-color mode and the monochrome mode, so that the background level can be optimized. Further, even in the full color mode, no processing is applied to the color component signals Cr and Cb, so that the color balance is not changed by the automatic exposure processing.

【0039】さらに具体的に説明すると、下地調整は、
自動的な自動露光処理またはマニュアル設定により行わ
れる。図4の基本操作画面において、ユーザは、自動露
光処理を行うかマニュアル指定8段階の1つのレベルを
選択するのかを選ぶことができる。自動露光処理では、
予備スキャン動作によって原稿ヒストグラム情報から5
種の原稿種別(カラー標準(下地白,下地色付き)/写真原
稿及び白黒標準/写真原稿)を行う(図9参照)。すで
に図9に示したように、カラー標準原稿(下地白)か白黒
標準原稿ならば、図12と図13に示すような明度階調
補性を行い、他の原稿種別ならばマニュアル中央レベル
設定を自動選択する。
More specifically, the background adjustment is
It is performed by automatic automatic exposure processing or manual setting. On the basic operation screen of FIG. 4, the user can select whether to perform the automatic exposure process or to select one of eight levels of manual designation. In the automatic exposure process,
5 from the original histogram information by the prescan operation
Different types of originals (color standard (background white, with background color) / photo original and black-and-white standard / photo original) are performed (see FIG. 9). As shown in FIG. 9, if the color standard original (white background) or the black and white standard original is used, the lightness gradation complementation as shown in FIGS. 12 and 13 is performed, and for other original types, the manual center level is set. Is automatically selected.

【0040】自動露光(AE)処理部130では、ヒスト
グラム生成部110で得られた原稿種別情報に基づい
て、下地除去を行う。ここでは、原稿種別(b)および
(d)については、明度Vについてのルックアップテーブ
ルメモリ(AEテーブル)131aを用いて、自動露光処
理前の明度信号(Vin)から自動露光処理後の明度信号
(Vo ut)を次の補正式によって求め、明度補正を行う。
すなわち、モノクロ標準原稿に対して、
The automatic exposure (AE) processing section 130 performs background removal based on the document type information obtained by the histogram generation section 110. Here, the document type (b) and
As for (d), using a look-up table memory (AE table) 131a for the lightness V, the lightness signal (V in ) before the automatic exposure processing is changed to the lightness signal after the automatic exposure processing.
The (V o ut) determined by the following correction formula, performs the brightness correction.
That is, for monochrome standard manuscripts,

【数7】 Vout=256*(Vin−b−8)/{(a−8)−b} (7) また、カラー標準原稿(下地白)に対して、V out = 256 * (V in −b−8) / {(a−8) −b} (7) Further, for a color standard document (background white),

【数8】 Vout=256*(Vin−8)/(a−8) (8)V out = 256 * (V in −8) / (a−8) (8)

【0041】ここに、aは、下地レベルを示し、bは、
文字レベルである。いいかえれば、図12に示すよう
に、白黒標準原稿に対しては、下地を飛ばすと同時に鉛
筆書きのような薄い文字を濃くして読みやすくコピーす
る。このため、a+8とbの間の明度が0〜255に拡
大され、a+8から下とbから上のデータVinは捨てら
れる。一方、カラー標準原稿では、下地を飛ばすのみと
している。カラー標準原稿に対しては、図13に示すよ
うに、8とbとの間のデータVinが0〜255に拡大さ
れ、bから上のデータは捨てられる。本実施例では、下
地をとばすレベルを0〜8と設定した。
Here, a indicates a background level, and b indicates
It is a character level. In other words, as shown in FIG. 12, with respect to a black and white standard original, the background is removed, and at the same time, light characters such as pencil writing are darkened to make the copy easy to read. Therefore, the brightness between a + 8 and b is expanded to 0 to 255, and the data V in below a + 8 and above b is discarded. On the other hand, in the color standard document, only the background is removed. For a color standard original, as shown in FIG. 13, the data V in between 8 and b is expanded to 0 to 255, and the data above b is discarded. In this embodiment, the level for skipping the background is set to 0-8.

【0042】白黒/カラー標準原稿において、下地レベ
ルaと文字レベルbは、次のように求める。第1ヒスト
グラムメモリ202における原稿全体の明度ヒストグラ
ムh1(n)から以下の値を求める。まず、原稿の下地レ
ベルを判断するため、n=136〜255(ID 0.
4以下)の範囲において、h1(n)が最大度数を得る階
調レベルmを求める。そして、a=m−8とし、下地明
度を255にする。同様に白黒原稿時のみ、原稿内の階
調レベルを判断するため、n=0〜120(ID 0.
4以上)の範囲において、h1(n)が最大度数を得る階
調レベルlを求める。そして、b=l+8とし、文字部
の明度=0にする。a=m−8としているのは、レベル
m付近でヒストグラム分布は、あるバラツキをもった正
規分布をしているから、そのバラツキを±8として、レ
ベルm付近の階調を確実にとばすためである。同様に、
b=l+8としているのは、レベルl付近の階調を確実
に黒にするためである。また、カラー原稿標準モードで
bにより、制御しないのは、文字が黒とは限らないから
である。
In the monochrome / color standard document, the background level a and the character level b are obtained as follows. The following values are obtained from the brightness histogram h1 (n) of the entire original document in the first histogram memory 202. First, n = 136 to 255 (ID 0.
In the range of 4 or less), the gradation level m at which h1 (n) has the maximum frequency is obtained. Then, a = m-8 is set, and the background lightness is set to 255. Similarly, n = 0 to 120 (ID 0.
In the range of 4 or more), the gradation level 1 at which h1 (n) has the maximum frequency is obtained. Then, b = 1 + 8, and the brightness of the character portion = 0. The reason a = m−8 is that the histogram distribution near level m has a normal distribution with some variation, so that the variation is set to ± 8 and gradations near level m are reliably skipped. is there. Similarly,
The reason that b = 1 + 8 is to ensure that the gradation near level 1 is black. Further, the reason why the control is not performed by b in the color original standard mode is that the character is not always black.

【0043】ここで、Cr,Cbの色成分はスルーさせて
いるため(AEテーブル131b,131cでは、Din
out)、原稿の色情報は変化させずに濃淡情報(V)のみ
を制御している。このため、カラー原稿の色情報を変化
させずに、下地レベルの自動調整が行える。色差信号C
r,Cb成分については、補正を行なわないため(Vout
V)、カラーバランスは崩れない。
Here, since the color components of Cr and Cb are passed through (in the AE tables 131b and 131c, D in =
D out ), the color information of the document is not changed, and only the grayscale information (V) is controlled. Therefore, the background level can be automatically adjusted without changing the color information of the color original. Color difference signal C
The r and Cb components are not corrected (V out =
V), the color balance is not lost.

【0044】さらに、操作パネル154で設定されるマ
ニュアル設定(自動露光処理解除)では、下地レベル値を
可変するための明度補正を行うことが出来る。このモー
ドは、モノクロ/カラー及び写真/標準モードで異な
り、マニュアル設定値が7段階であり、±0を中心とし
て−1〜−4は下地がとぶ方向に、+1,+2はかぶる
方向になるようにしている(図4参照)。詳細な設定内
容については、カラー標準モード、モノクロ標準モード
および写真モードにおいて、表2に示すように、マニュ
アル設定の各レベル+2〜−4が設定されている。
Further, in the manual setting (release of automatic exposure processing) set on the operation panel 154, it is possible to perform lightness correction for changing the background level value. This mode is different in monochrome / color and photo / standard mode, and the manual setting value is 7 steps. -1 to -4 is the direction to blow the background, and +1, +2 is the direction to apply the fog around ± 0. (See FIG. 4). As for detailed setting contents, in the color standard mode, the monochrome standard mode, and the photograph mode, as shown in Table 2, the levels +2 to -4 of the manual setting are set.

【0045】原稿種別に対応した他の画像処理として
は、MTF補正部148における黒文字判別処理(色に
じみ補正)がある。表1に示すように、この処理は、カ
ラー標準原稿についてなされる。これは、カラー画像と
白黒画像とが混在するときに、黒文字の画像再現を最適
化するために行なう。まず、領域判別部146により黒
文字のエッジ部と判断された部分において、C,M,Y
成分のデータを減衰させ、Bk成分のデータは、Bk1
00%のデータに明度Vのデータを加算して文字をやや
太らせつつエッジ強調をする。
As another image processing corresponding to the document type, there is a black character discrimination processing (color fringing correction) in the MTF correction section 148. As shown in Table 1, this processing is performed on the color standard original document. This is performed in order to optimize the image reproduction of black characters when a color image and a monochrome image are mixed. First, C, M, and Y are detected in the portion determined to be the edge portion of the black character by the area determination unit 146.
The component data is attenuated, and the Bk component data is Bk1.
The data of the lightness V is added to the data of 00% to slightly thicken the character to enhance the edge.

【0046】(10)逆HVC変換 逆HVC変換部132では、V,Cr,Cb信号から再び、
R,G,B信号に変換するため、前述したマトリクスの逆
行列演算を以下のごとく行い、R,G,Bを出力する。
(10) Inverse HVC conversion In the inverse HVC conversion unit 132, the V, Cr, and Cb signals are again converted into
In order to convert to R, G, B signals, the matrix inverse operation described above is performed as follows, and R, G, B are output.

【数9】 上述のスキャンデータの処理は、明度データに変換して
行ったが、ここで、逆HVC変換を行うことにより、以
降の色補正などのデータ処理は、3原色のデータについ
て行える。
[Equation 9] The above-described scan data processing is performed by converting it to lightness data, but by performing the inverse HVC conversion here, subsequent data processing such as color correction can be performed on the data of the three primary colors.

【0047】[0047]

【発明の効果】カラー原稿と白黒原稿の両方について、
種々の原稿種別を自動的に判定できるので、ユーザが原
稿種別を選択する必要がなくなる。また、自動原稿搬送
装置に種々の原稿が混合して積載されていても、原稿種
別を自動的に判定し、それぞれに最適な画像処理を行う
ことができる。
EFFECTS OF THE INVENTION For both color and black and white originals,
Since various document types can be automatically determined, the user does not need to select the document type. Further, even when various originals are mixed and stacked on the automatic original feeder, the original type can be automatically determined and the optimum image processing can be performed for each.

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

【図1】 デジタルカラー複写機の全体を示す図式的な
断面図である。
FIG. 1 is a schematic cross-sectional view showing an entire digital color copying machine.

【図2】 信号処理部の1部のブロック図である。FIG. 2 is a block diagram of a part of a signal processing unit.

【図3】 信号処理部の残りの部分のブロック図であ
る。
FIG. 3 is a block diagram of the remaining part of the signal processing unit.

【図4】 ヒストグラム生成部のブロック図である。FIG. 4 is a block diagram of a histogram generation unit.

【図5】 ヒストグラム生成におけるサンプリングの状
況を示す図である。
FIG. 5 is a diagram showing a sampling situation in histogram generation.

【図6】 ヒストグラムから得られる種々の量を示す図
である。
FIG. 6 is a diagram showing various amounts obtained from a histogram.

【図7】 自動カラー選択のフロー図である。FIG. 7 is a flowchart of automatic color selection.

【図8】 ヒストグラムから得られる種々の量を示す図
である
FIG. 8 is a diagram showing various amounts obtained from a histogram.

【図9】 画像種別を判別するためのフロー図である。FIG. 9 is a flowchart for determining an image type.

【図10】 明度信号と各種信号(G25〜G35)との関
連を説明するための図である。
FIG. 10 is a diagram for explaining a relationship between a brightness signal and various signals (G25 to G35).

【図11】 HVC調整部、自動露光(AE)処理部およ
びHVC逆変換部の図である。
FIG. 11 is a diagram of an HVC adjustment unit, an automatic exposure (AE) processing unit, and an HVC inverse conversion unit.

【図12】 モノクロカラー標準原稿に対するAE処理
前後の原稿明度分布の変化を表すグラフである。
FIG. 12 is a graph showing a change in document brightness distribution before and after AE processing for a monochrome color standard document.

【図13】 カラー標準原稿(下地白)に対するAE処理
前後の原稿明度分布の変化を表すグラフである。
FIG. 13 is a graph showing changes in the original lightness distribution of a color standard original (white background) before and after AE processing.

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

110 ヒストグラム生成部、 152 CPU、20
0 明度作成部、 202 全画素用の第1ヒストグラ
ムメモリ、204 有彩色用の第2ヒストグラムメモ
リ、208、210 積算用加算器、 212〜218
有彩色識別用回路。
110 histogram generation unit, 152 CPU, 20
0 brightness creation unit, 202 first histogram memory for all pixels, 204 second histogram memory for chromatic colors, 208, 210 adder for integration, 212 to 218
Chromatic color identification circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 光電変換素子により原稿を読み取って得
られた3原色のR,G,B信号を明度信号に変換する明度
信号作成器と、 明度信号を基にヒストグラムを作成するヒストグラム作
成手段と、 ヒストグラムから原稿種別を判定する原稿種別判定手段
と、 原稿種別判定手段の判定結果に基づいて以後の画像処理
内容を切換える処理切換手段とを備えることを特徴とす
る画像処理装置。
1. A lightness signal generator for converting R, G, B signals of three primary colors obtained by scanning an original by a photoelectric conversion element into a lightness signal, and a histogram generation means for generating a histogram based on the lightness signal. An image processing apparatus comprising: a document type determining unit that determines a document type from a histogram; and a process switching unit that switches subsequent image processing contents based on the determination result of the document type determining unit.
JP04732195A 1995-03-07 1995-03-07 Image processing device Expired - Fee Related JP3333894B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP04732195A JP3333894B2 (en) 1995-03-07 1995-03-07 Image processing device
US08/611,473 US6118895A (en) 1995-03-07 1996-03-05 Image forming apparatus for distinguishing between types of color and monochromatic documents

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04732195A JP3333894B2 (en) 1995-03-07 1995-03-07 Image processing device

Publications (2)

Publication Number Publication Date
JPH08251402A true JPH08251402A (en) 1996-09-27
JP3333894B2 JP3333894B2 (en) 2002-10-15

Family

ID=12772015

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04732195A Expired - Fee Related JP3333894B2 (en) 1995-03-07 1995-03-07 Image processing device

Country Status (1)

Country Link
JP (1) JP3333894B2 (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001326815A (en) * 2000-05-17 2001-11-22 Minolta Co Ltd Image processing method and image processing unit
US6975819B2 (en) 2002-10-10 2005-12-13 Sharp Kabushiki Kaisha Image forming apparatus
US7116442B2 (en) 2000-03-27 2006-10-03 Minolta Co., Ltd. Image processing apparatus applicable to different copying types of color copying machines
US7259894B2 (en) 1997-06-09 2007-08-21 Seiko Epson Corporation Image processing apparatus, an image processing method, a medium on which an image processing control program is recorded, an image evaluation device, an image evaluation method and a medium on which an image evaluation program is recorded
JP2009038529A (en) * 2007-07-31 2009-02-19 Sharp Corp Image processing method, image processing device, image forming apparatus, image reading device, computer program, and record medium
JP2009055239A (en) * 2007-08-24 2009-03-12 Sharp Corp Image forming device
US7512263B2 (en) 1996-11-13 2009-03-31 Seiko Epson Corporation Image processing system, image processing method, and medium having an image processing control program recorded thereon
JP2010009609A (en) * 1996-11-13 2010-01-14 Seiko Epson Corp Image processor, image processing method, and medium recorded with image processing program
US8289584B2 (en) 2008-04-30 2012-10-16 Canon Kabushiki Kaisha Image processing method, apparatus and program
JP2013132032A (en) * 2011-12-22 2013-07-04 Sharp Corp Image processing apparatus, image forming apparatus, digital camera, image processing method, computer program, and recording medium
US9191548B2 (en) 2013-02-28 2015-11-17 Brother Kogyo Kabushiki Kaisha Image processing device determining whether image is blank image
JP2016048828A (en) * 2014-08-27 2016-04-07 沖電気工業株式会社 Information processing device, information processing method, and program
CN109016866A (en) * 2017-06-12 2018-12-18 精工爱普生株式会社 Image processing apparatus and print system

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7512263B2 (en) 1996-11-13 2009-03-31 Seiko Epson Corporation Image processing system, image processing method, and medium having an image processing control program recorded thereon
JP2011239462A (en) * 1996-11-13 2011-11-24 Seiko Epson Corp Image processing apparatus, image processing method and medium on which image processing program is recorded
JP2011010342A (en) * 1996-11-13 2011-01-13 Seiko Epson Corp Image processing apparatus, image processing method, and medium on which image processing program is recorded
JP2010009609A (en) * 1996-11-13 2010-01-14 Seiko Epson Corp Image processor, image processing method, and medium recorded with image processing program
US7259894B2 (en) 1997-06-09 2007-08-21 Seiko Epson Corporation Image processing apparatus, an image processing method, a medium on which an image processing control program is recorded, an image evaluation device, an image evaluation method and a medium on which an image evaluation program is recorded
US7940426B2 (en) 1997-06-09 2011-05-10 Seiko Epson Corporation Image processing apparatus, an image processing method, a medium on which an image processing control program is recorded, an image evaluation device, an image evaluation method and a medium on which an image evaluation program is recorded
US8681380B2 (en) 1997-06-09 2014-03-25 Seiko Epson Corporation Image processing apparatus, an image processing method, a medium on which an image processing control program is recorded, an image evaluation device, an image evaluation method and a medium on which an image evaluation program is recorded
US7508548B2 (en) 1997-06-09 2009-03-24 Seiko Epson Corporation Image processing method and image processing apparatus
US8553285B2 (en) 1997-06-09 2013-10-08 Seiko Epson Corporation Image processing apparatus, an image processing method, a medium on which an image processing control program is recorded, an image evaluation device, an image evaluation method and a medium on which an image evaluation program is recorded
US8867099B2 (en) 1997-06-09 2014-10-21 Seiko Epson Corporation Image processing apparatus, an image processing method, a medium on which an image processing control program is recorded, an image evaluation device, an image evaluation method and a medium on which an image evaluation program is recorded
US7755801B2 (en) 1997-06-09 2010-07-13 Seiko Epson Corporation Image processing apparatus, an image processing method, a medium on which an image processing control program is recorded, an image evaluation device, an image evaluation method and a medium on which an image evaluation program is recorded
US7116442B2 (en) 2000-03-27 2006-10-03 Minolta Co., Ltd. Image processing apparatus applicable to different copying types of color copying machines
JP4496602B2 (en) * 2000-05-17 2010-07-07 コニカミノルタビジネステクノロジーズ株式会社 Image processing method and image processing apparatus
US7672008B2 (en) 2000-05-17 2010-03-02 Minolta Co., Ltd. Image processing device, method and program product for separating character, halftone graphic, and halftone photographic regions
JP2001326815A (en) * 2000-05-17 2001-11-22 Minolta Co Ltd Image processing method and image processing unit
US6975819B2 (en) 2002-10-10 2005-12-13 Sharp Kabushiki Kaisha Image forming apparatus
CN1296780C (en) * 2002-10-10 2007-01-24 夏普株式会社 Imaging equipment
JP2009038529A (en) * 2007-07-31 2009-02-19 Sharp Corp Image processing method, image processing device, image forming apparatus, image reading device, computer program, and record medium
US8203773B2 (en) 2007-07-31 2012-06-19 Sharp Kabushiki Kaisha Image processing method, image processing apparatus, image forming apparatus, and recording medium for chromatic content determination
JP2009055239A (en) * 2007-08-24 2009-03-12 Sharp Corp Image forming device
US8289584B2 (en) 2008-04-30 2012-10-16 Canon Kabushiki Kaisha Image processing method, apparatus and program
JP2013132032A (en) * 2011-12-22 2013-07-04 Sharp Corp Image processing apparatus, image forming apparatus, digital camera, image processing method, computer program, and recording medium
US9191548B2 (en) 2013-02-28 2015-11-17 Brother Kogyo Kabushiki Kaisha Image processing device determining whether image is blank image
JP2016048828A (en) * 2014-08-27 2016-04-07 沖電気工業株式会社 Information processing device, information processing method, and program
CN109016866A (en) * 2017-06-12 2018-12-18 精工爱普生株式会社 Image processing apparatus and print system
JP2019003240A (en) * 2017-06-12 2019-01-10 セイコーエプソン株式会社 Image processing apparatus, and printing system

Also Published As

Publication number Publication date
JP3333894B2 (en) 2002-10-15

Similar Documents

Publication Publication Date Title
JP3626966B2 (en) Image processing device
US6118895A (en) Image forming apparatus for distinguishing between types of color and monochromatic documents
JP3401977B2 (en) Image reproduction device
US6538769B2 (en) Image processing apparatus
EP1524842A2 (en) System and method for generating black and white reproductions of color documents
JP4329271B2 (en) Image processing apparatus, image forming apparatus, and image processing method
JP3333894B2 (en) Image processing device
JPH09261491A (en) Image processor
JPH07274021A (en) Picture processor
JP3477858B2 (en) Image processing apparatus and image data processing method
JP3376081B2 (en) Image processing method and apparatus
JP3407525B2 (en) Image reproduction device
JPH08149323A (en) Image processor
JP2006238024A (en) Image processor, image processing method and program, and recording medium
JP3176212B2 (en) Image processing device
JP2002044464A (en) Image processing method and apparatus
JP3289530B2 (en) Image processing device
JP4958626B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP3306875B2 (en) Image forming device
JP3079630B2 (en) Image processing device
JP3812198B2 (en) Image forming apparatus
JP3245883B2 (en) Image forming device
JPH07154593A (en) Image processor
JPH04342370A (en) Image forming device
JP3500639B2 (en) Image forming device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080802

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20080802

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090802

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090802

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100802

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110802

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120802

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130802

Year of fee payment: 11

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees