[go: nahoru, domu]

JP3333894B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP3333894B2
JP3333894B2 JP04732195A JP4732195A JP3333894B2 JP 3333894 B2 JP3333894 B2 JP 3333894B2 JP 04732195 A JP04732195 A JP 04732195A JP 4732195 A JP4732195 A JP 4732195A JP 3333894 B2 JP3333894 B2 JP 3333894B2
Authority
JP
Japan
Prior art keywords
color
histogram
document
data
original
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
JP04732195A
Other languages
Japanese (ja)
Other versions
JPH08251402A (en
Inventor
勝久 外山
好彦 廣田
Original Assignee
ミノルタ株式会社
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 ミノルタ株式会社 filed Critical ミノルタ株式会社
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)

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 reading an image of a document by photoelectrically converting the image, and performing image processing such as background adjustment from an 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. Documents to be processed by the image processing apparatus are various, and include a full-color document, a single-color document, a character / line drawing, a photograph, a map, a halftone document, a photographic paper photograph, a printed photograph, and the like. In order to read these various originals and copy them appropriately, it is desirable to switch the image processing content according to the types of the originals. For this reason, conventionally, a user selects a document type on the operation panel, and the image processing apparatus performs appropriate image processing according to the selection.

【0003】[0003]

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

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

【0005】[0005]

【課題を解決するための手段】本発明に係る画像処理装
置は、光電変換素子により原稿を読み取って得られた3
原色のR,G,B信号を明度信号に変換する明度信号作成
器と、前記明度信号を基に原稿中の無彩色画素のヒスト
グラムを作成する第1のヒストグラム作成手段と、前記
明度信号を基に原稿中の有彩色画素のヒストグラムを作
成する第2のヒストグラム作成手段と、前記第1及び第
2のヒストグラム作成手段によって作成されたヒストグ
ラムから原稿種別を判定する原稿種別判定手段と、前記
原稿種別判定手段の判定結果に基づいて画像処理内容を
切換える処理切換手段とを備える。また、好ましくは、
前記画像処理装置は、さらに、前記ヒストグラムの分布
状況を解析する解析手段を有し、前記原稿種別判定手段
は、前記解析手段による解析結果に基づいて原稿種別を
判定する。また、前記画像処理装置において、たとえ
ば、前記解析手段は、前記無彩色画素と有彩色画素の画
素数をカウントする。また、前記画像処理装置におい
て、たとえば、前記解析手段は、前記各ヒストグラムを
それぞれ明度レベルに関して複数のブロックに分割し、
ブロック毎に無彩色画素と有彩色画素の画素数をカウ
ントする。
An image processing apparatus according to the present invention has a three-dimensional image obtained by reading an original with a photoelectric conversion element.
A lightness signal generator for converting the R, G, B signals of the primary colors into lightness signals, first histogram generating means for generating a histogram of achromatic pixels in the document based on the lightness signals, and Second histogram creating means for creating a histogram of chromatic pixels in the original, original type determining means for determining the original type from the histograms created by the first and second histogram creating means, Processing switching means for switching image processing contents based on the determination result of the determination means. Also, preferably,
The image processing apparatus further includes an analysis unit that analyzes a distribution state of the histogram, and the document type determination unit determines a document type based on an analysis result by the analysis unit. In the image processing apparatus, for example, the analysis unit counts the number of the achromatic pixels and the chromatic pixels. Further, in the image processing device, for example, the analysis unit may store the histogram
Divide into multiple blocks for each brightness level,
The number of achromatic pixels and chromatic pixels is counted for each block.

【0006】[0006]

【作用】画像処理装置において、種々の原稿に対して原
稿の種別を自動的に判別し、最適な画像処理を選択す
る。このため、原稿を予備スキャンすることにより、読
取データから、人間の比視感度(明るさ)に近い明度
(VH)を求め、明度のヒストグラムを作成し、それを
解析することにより原稿種別(好ましくは、文字線画、
写真およびそれぞれに対するフルカラー、モノクロカラ
ーを含む)を自動的に判定する。この判別は、ヒストグ
ラムを基に行う。この判別結果は、好ましくは、表示手
段により表示される。そして、それぞれの原稿種別に適
した画像処理(たとえば、下地調整、黒文字判別の有無
または階調再現切換)を選択し、切換える。これによ
り、下地調整などの画像処理を、フルカラーモードでも
モノクロカラーモードでも一義的に処理することができ
る。
In the image processing apparatus, the type of the original is automatically determined for various originals, and the optimum image processing is selected. For this reason, the original is preliminarily scanned to obtain a lightness (VH) close to human relative luminous efficiency (brightness) from the read data, a lightness histogram is created, and the histogram is analyzed to determine the original type (preferably). Is a character line drawing,
(Including full color and monochrome color for photos and each). This determination is made based on the histogram. This determination result is preferably displayed by the display means. Then, image processing (for example, background adjustment, presence or 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 performed in both the full color mode and 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 original is read by the image scanner unit 30, and signal processing is performed by the digital signal processing unit 10. Printer unit 20
Prints out an image corresponding to the document image read by the image scanner unit 30 on paper in full color. In the image scanner section 30, the original placed on the original platen glass 31 is pressed by the pressing plate 39, but this is replaced when an automatic original feeder (not shown) is mounted. The original on the platen glass 31 is a lamp 32
And is guided to mirrors 33a, 33b, 33c, and forms an image on a linear full-color sensor (CCD) 36 by a lens 34. The full-color information red (R), green (G),
The signal is converted into a blue (B) component and sent to the signal processing unit 10.
By driving the scanner motor 37, the first
The slider 35 moves at a speed V, and the second slider 40 mechanically moves at a speed of V / 2 in a direction perpendicular to the electrical scanning direction of the color sensor, and scans the entire original. A white plate 38 for shading correction is provided at an end of the document table 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上を走査す
る。
[0008] The signal processing section 10 electrically processes the read signal, and outputs magenta (M), cyan (C), yellow (Y),
It is separated into black (Bk) components and sent to the printer unit 20. With respect to one original scan in the image scanner unit 30, one component of C, M, Y, and Bk is sequentially sent to the printer unit 20, and one printout is completed by a total of four original scans. Sequential transfer method). Signal processing unit 10
The image signals of C, M, Y, and Bk sent therefrom are driven and modulated by the laser diode drive (PHC unit) in accordance with the image signal level. The laser beam scans the photosensitive drum 206 via the polygon mirror 215, the f-θ lens 216, and the return 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 is composed of developing units 208a, 208b, 208c, 208d of C, M, Y, Bk. The developing units 208a, 208b, 208c, 208d come in contact with the photosensitive drum 206, The electrostatic latent image formed on the photosensitive drum 206 charged by the toner is developed with toner. On the other hand, the paper feed units 201a, 201
b, 201c to transfer drum 202
The transfer roller 205 conveys the image developed on the photosensitive drum 206 to the sheet by the transfer roller 205. After the four colors C, M, Y, and Bk are sequentially transferred in this manner, the separation chargers 209a and 209b
The paper is separated and conveyed by the fixing roller 210a,
The sheet passes through 210b and is discharged to the sheet discharge tray 211. 218 and 219 are reference position sensors for the transfer drum,
Reference numeral 20 denotes a separation claw for separating the sheet 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 in 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 that is photoelectrically converted into R, G, and B color separation information. These signals are sent to the signal processing unit 10. The A / D converter 100 converts the 400 DPI image data photoelectrically converted by the CCD sensor 36 into 8 bits (256 gradations) for each of R, G, B color information by the A / D converter.
To digital data. Shading correction unit 1
02, the data obtained by reading the white plate 38 for shading correction before reading the document is independently stored for each of R, G, and B in order to eliminate light amount unevenness in the main scanning direction of the R, G, and B data. Is stored in a shading memory (not shown) as reference data, converted to a reciprocal number, and then multiplied by read data of document information to correct shading. The line-to-line correction unit 104 uses an internal field memory (not shown) in accordance with the scan speed (magnification on the sub-scanning side) to match the reading position of each of the R, G, and B sensor chips in the scan direction. Then, delay control is performed on the white data in line units, and R, G, and B data are output. The timing control unit 106 controls the CCD sensor 3
6. A / D converter 100, shading corrector 102
And the timing of the line-to-line 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-to-line correction unit 104,
For the G and B data, the scaling / movement control unit 108
Using two line memories for scaling for each of G and B data,
Input / output is alternately performed on one line, and the writing timing and the reading timing are independently controlled to perform scaling / movement control in the main scanning direction. In this control, interpolation processing is performed before writing on the reduction side and after reading on the enlargement side in accordance with the scaling factor, thereby preventing image loss and rattling. Further, by this control, image repeat processing, enlarged continuous shooting processing, and mirror processing are performed. The histogram generation unit 110 generates a lightness signal from the inter-line corrected R, G, B data obtained by preliminary scanning the document information, and generates a histogram of the document. Based on the obtained histogram information, an automatic color selection judgment for judging whether the original is color / black and white, an original background level judgment for automatically skipping the original background level, and an original mode for copy operation
(Standard / Photo mode) settings are made automatically.

【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 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 unit 1
Reference numeral 16 receives the V, Cr, and Cb data and performs an editing operation such as color change or coloring by detecting a closed loop area based on an optional specification of an editor. The bill recognizing unit 118 determines whether or not the document loaded on the document glass 31 is a bill, a securities, or the like, and instructs copy prohibition based on the result. Image interface 1
20 is V, sent through 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 image data color signal interfaces, this block converts R, G, B signals from V, Cr, Cb signals, X, Y, Z signals and L * , a * , b, which are general color spaces. * It has a function of converting it into a signal or the like and outputting it to an external device, or conversely converting image data transferred from the outside into V, Cr and Cb signals. Further, C, M, Y, and Bk data to be transferred to the printer unit 20 are transferred to an external device,
There is also a function of receiving C, M, Y, and 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 section 124 includes a second image selector 1
After selecting one of the V, Cr, and Cb data output from the image interface unit 120 or the editing processing unit 116 via the H.26, image synthesis (inset / character synthesis) with the original data from the HVC conversion unit 114 is performed. Do. The HVC adjustment unit 128 controls the lightness (V: brightness), hue (H: hue), and saturation (C: V) of the V, Cr, Cb data from the image synthesis unit 124.
For the purpose of performing image adjustment corresponding to three human senses of "visibility", adjustment is performed independently 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 based on the brightness 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 section 134, first, the LOG correction section 1
36 converts the reconverted R, G, B data into density data (D
(R, DG, DB), while the monochrome data generation unit 138 generates tone data (DV) for monochrome reproduction after creating brightness data from the R, G, B data. UCR ・
The BP processing unit 140 uses the difference (MAX (R, G, B) -MIN (R, G, B)) between the maximum value and the minimum value of the R, G, B data as document saturation information, and outputs the DR, DG, DB minimum value (MIN (DR, DG,
DB)) as the under color components of the document, and performs under color removal and black printing in accordance with those values, and converts the DR, DG, and DB data to C
Create O, MO, YO, Bk data. The masking calculation unit 142 performs a masking calculation process for color correction,
The C, M, Y data (CO, MO, YO) after the 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 monochrome DV data as a monochrome copy mode when it is determined that the monochrome is determined by the designation of the operation panel or the ACS determination.
In the full color mode, according to the reproduction process signal (CODE), the masking operation 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, based on the R, G, B data, the area discriminating section 146 calculates a difference between the minimum value (MIN (R, G, B)) and the maximum value and the minimum value (MAX (R, G, B) -MIN). (R, G, B)), the discrimination such as black character discrimination and halftone dot discrimination is performed, and the result (JD signal)
And the correction data (USM signal). Further, in order to achieve both the reproducibility of the image character area and the granularity of the image, an LIMOS signal for changing the image reproduction cycle is output to the printer. The MTF correction unit / sharpness adjustment unit 148
The input C, M, Y, and Bk data are subjected to edge correction, color fringing correction, smoothing processing, and the like based on the area determination result, thereby performing optimal correction of a copy image. Further, the gamma correction / color balance adjustment unit 150 adjusts the gamma curve and the color balance of C, M, Y, and Bk according to the density level information input from the operation panel. Thus, the C, M, Y, and Bk data subjected to various corrections are transferred to the printer together with the LIMOS signal for switching the gradation reproduction method, and a full color copy image of 400 DPI and 256 gradations 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, a copy operation mode of the full-color copying machine will be described. FIG. 4 shows a basic screen on the operation panel 154, and the user can set various modes. (A) Background processing (AE processing and manual setting) First, whether automatic exposure (AE) processing should be performed for the background processing.
You can choose to select one level of manual designation of the stage. In the AE process, five types of originals are determined from the original histogram information by the preliminary scan operation.
(Color standard (base white, with background color) / photo original and black-and-white standard / photo original), color standard (base white) or black-and-white standard original, perform brightness gradation complementarity as shown in FIGS. For other types (photos), the manual center level is automatically selected. At the time of manual designation, 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 original modes is automatically selected based on the determination of the original type by the preliminary scanning operation. If it is determined that the document is a black-and-white document, one of the monochrome standard / photograph mode is automatically selected, and a monochrome mode copy operation in the black one-color reproduction process is performed. For color originals, color standard originals /
Automatically select one of the photo modes and select C, M, Y, Bk
A copy operation is performed by a full-color reproduction process using colors.
The same applies to the manual mode. However, when the monochrome standard / photograph mode is selected, the operation screen is changed to a monochrome mode operation screen (not shown), and the R, G, and B data for determining the grayscale data for monochrome as original parameters are set. Choose a mixing ratio. (In the ACS mode, the R, G, and B average sensitivity distributions are set as defaults, and in the manual mode, the relative luminous efficiency distributions are set as defaults.) The reproduction color can be selected from 16 colors including black. In addition, C, M, Y,
Color separation mode to reproduce Bk data on paper, negative / positive inversion, base color, image erase
Create function to adjust image, hue (hue) / saturation
Image quality adjustment function to simultaneously display five or more monitor images by simultaneously changing five types (brightness) / sharpness / gamma correction (contrast contrast) / color balance (RC / GM / BY / copy density) There is. In each case, detailed description is omitted.

【0018】(4)予備スキャン動作 本実施例の複写機では、予備スキャン動作を行なって、
その結果を解析して原稿種別を判別したり、自動露光
(AE)処理や自動カラー選択(ACS)処理を行う。原稿
走査ユニットは、コピー前には、本スキャン時の原稿基
準位置とは逆のシェーディング補正板38側に停止して
いる。操作パネル154でコピーボタンが押されると、
ランプ点灯後に、補正データを読み取るために移動して
シェーディング補正板38をスキャンし、原稿のヒスト
グラムデータを作成しながら原稿基準位置に戻る。作成
されたヒストグラムデータから自動露光処理および自動
カラー選択処理を確定し、本スキャン動作を開始する。
これにより、ファーストコピー時間を短縮している。
(4) Preliminary Scan Operation In the copying machine of this embodiment, a preliminary scan operation is performed to
Analyze the results to determine the type of original, and
(AE) processing and automatic color selection (ACS) processing are performed. The document scanning unit is stopped on the side of the shading correction plate 38 opposite to the document reference position at the time of the main scan before copying. When the copy button is pressed on the operation panel 154,
After the lamp is turned on, it moves to read the correction data, scans the shading correction plate 38, and returns to the original reference position while creating histogram data of the original. The automatic exposure process and the automatic color selection process are determined 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) Generation of Histogram Next, generation of a histogram in the preliminary scanning 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, and B data in the document area during the preliminary scan operation. Before starting the preliminary scan, the inside of the histogram memories 202 and 204 is initialized in advance.
The PU 152 writes “0” to the histogram memories 202 and 204 at addresses of all gradation levels (0 to 255). From the R, G, B data (8 bits) input from the line-to-line 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である
のは、自動露光処理で、明度・色差信号に分離したデー
タに対して補正をするためであり、後で詳細に説明す
る。
## EQU00001 ## VH = 0.31640625 * R + 0.65625 * G + 0.02734375 * B (1) The brightness signal obtained by this equation is approximated to human relative visibility (brightness). Here, the reason why the histogram is created is not the R, G, and B data, but the brightness data VH, in order to correct the data separated into the brightness / color difference signals by the automatic exposure process. This will be described in detail.

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

【0021】ヒストグラムメモリ202、204にアド
レスADRが入力されると、そのアドレスのヒストグラ
ムデータを読みだし、加算器208、210によりその
データに+1を加えて、再び同じアドレスに書き込む。
すなわち、ヒストグラムの動作としては、8ドットを1
周期とするリードモデファイライトサイクルとなり、ヒ
ストグラムメモリ202、204のアドレスが階調レベ
ル(明度)を示し、データが各階調レベルの度数(個数)
を表わしている。予備スキャンが終了した時点で、CP
U152は、ヒストグラムメモリ202、204から各
階調の度数データを読み出す。後で説明するように、予
備スキャン動作で得られたヒストグラムデータより、自
動露光動作、自動カラー選択動作などの内容を決定す
る。
When an address ADR is input to the histogram memories 202 and 204, the histogram data at that address is read out, the adders 208 and 210 add +1 to the data, and write the data again to the same address.
That is, the operation of the histogram is as follows.
The cycle is a read-modify-write cycle, and the addresses of the histogram memories 202 and 204 indicate the gradation level (lightness), and the data is the frequency (number) of each gradation level.
Is represented. When the preliminary scan is completed, the 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, the automatic color selection operation, and the like are determined from the histogram data obtained by 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"レベルであり、全画素に
ついて書き込みが可能である。
The two types of histogram memories 202 and 204 are provided for automatic color selection processing. The first histogram memory 202 simply calculates the brightness histogram of the document, and the second histogram memory 204 calculates the histogram of achromatic dots in the document. Therefore, the minimum value circuit 212 and the maximum value circuit 21
4 detects the MAX value and the MIN value of the input R, G, B data, and obtains the difference between them by the subtraction circuit 216. Then, the comparator 218 determines that the difference is a predetermined level (SRE).
F) When it is determined that it is smaller, the writing of the brightness VH data into the second histogram memory 204 is permitted.
A small (MAX value−MIN value) of the R, G, B data indicates that the document data is achromatic data. Therefore, the second histogram memory 2
04 means that a histogram is calculated only for achromatic 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 Process (ACS) The automatic color selection mode is to determine whether the original loaded on the original platen glass 31 is a black-and-white original or a color original, and automatically determine the copy mode. Mode. As a result, the copy speed of a black-and-white document can be increased because the image needs to be reproduced in the reproduction process of only Bk. 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's awareness.

【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 lightness 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 step 04 is shown. The CPU 152 calculates the second histogram 2 from each frequency (h1 (n)) of the first histogram 202.
04 is subtracted from each frequency (h2 (n)), and the third histogram
(h3 (n) = h1 (n) -h2 (n)) is created. this is,
4 shows a histogram of a chromatic portion of a document. As shown in FIG. 7, two types of histogram memories 202 and 204 are provided.
For example, the following amounts can be analyzed from the two histograms created in (1). From the first histogram memory 202, W = the number of dots in the background (white) area (n = μ1 to 255) in the document, M = monochrome halftone (gray) area (n = μ2 to μ)
1) the number of dots, B = the number of dots in the black area (n = 0 to μ2), and S = the sum of the total frequencies of the first histogram = the total number of pixels in the document size. Further, the second histogram memory 204
, 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 the automatic color selection, based on the brightness data,
The document type is determined from the ratio between the achromatic color and the chromatic color. Specifically, using S and C obtained from the histogram, the ratio of chromatic color dots in the document is obtained, and color copy is performed.
Judge whether to make 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 between chromatic color and (chromatic color + achromatic color). That is, if the judgment formula (C / S) is equal to or less than the reference value,
Since there are few chromatic colors, a black-and-white copy mode is set. If it is larger than the reference value, a full-color copy mode is set because there are many chromatic colors. Here, by using S as the denominator, the determination of the automatic color selection, in particular, the influence of the document size can be ignored.

【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 the automatic color mode selection of the CPU 152. First, the histogram creation unit 110
As a result, the first and second histogram memories 202 and 20
Then, a brightness histogram is created in step S4 (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 (YES in step S106), it is determined that the document is a color document (step S108). Otherwise (NO in step S110), it is determined that the document is a monochrome document. (Step S112).

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

【0028】自動カラー選択もヒストグラムより得ら
れ、原稿種別は、ヒストグラムを解析して行っている
(図9参照)。原稿種別判断の考え方は以下の通りであ
る。カラー原稿と白黒原稿とは、先に自動カラー選択に
ついて説明したように、ヒストグラムより無彩色である
画素の数と有彩色である画素の数を求め、有彩色である
画素の数と無彩色全体の画素数の比がある基準値より大
きいとカラー原稿であると判断し、そうでないと、白黒
原稿であると判断する。また、写真原稿と標準原稿と
は、ヒストグラムの分布より判断できる。標準原稿と
は、主に文字からなる原稿であり、ヒストグラムは、図
12や図13に示すような2値的な分布を示す。ここ
で、下地が白でない場合も考慮する。2値的な分布を示
す場合は、標準原稿であると判断し、そうでない場合は
写真原稿であると判断する。具体的には、ヒストグラム
から濃度範囲(黒側)の画素数と、白付近の画素数と比
較し、前者が少ないと2値的分布であるとして、標準原
稿であると判断する。カラー標準原稿の場合は、下地が
白の場合がこれにより判断できる。カラー原稿の場合に
は、下地色が付いている標準原稿とカラー写真原稿との
区別が必要なので、ヒストグラムにおける分布が広範囲
で平均的であるものをカラー写真原稿であると判断し、
そうでない場合は、下地色付きカラー標準原稿であると
判断する。具体的には、ヒストグラムにおける最大値と
最小値との差で判断している。
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 document type is as follows. For color documents and black-and-white documents, as described above for automatic color selection, the number of achromatic pixels and the number of chromatic pixels are obtained from the histogram, and the number of chromatic pixels and the entire achromatic color are calculated. If the ratio of the number of pixels is larger than a certain reference value, it is determined that the document is a color document. Otherwise, it is determined that the document is a monochrome document. The photographic original and the standard original can be determined from the distribution of the histogram. The standard original is an original mainly composed of characters, and the histogram shows a binary distribution as shown in FIGS. Here, the case where the background is not white is also considered. If it shows a binary distribution, it is determined that the document is a standard document; otherwise, it is determined that it is a photographic document. More specifically, the number of pixels in the density range (black side) is compared with the number of pixels in the vicinity of white from the histogram. In the case of a color standard document, it can be determined from this that the background is white. In the case of a color original, it is necessary to distinguish between a standard original with a base color and a color photo original, so that a histogram whose distribution in the histogram is wide and average is determined to be a color photo original.
Otherwise, it is determined that the original is a color standard original with a base color. Specifically, the determination is made based on 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, various frequency sums G25, G24, G23, G22, G
21, G20, G35, G34, G33, G32, G31, G
30 and furthermore, the background level a (the gradation level indicating the maximum frequency when the output data ID is 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) 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.
5 corresponds to the output data ID, and these values correspond to the six ranges of the output data (0.2 or less, 0.2 to 0.4, 0.4).
~ 0.6, 0.6-0.8, 0.8-1.1, 1.1 or more), h2 (n) or h2 (n) depending on whether the brightness data is larger or smaller than the threshold value SREF. h3 (n) (= h1
(n) -h2 (n)). In FIG. 10, the ranges indicated by C, M, Y, R, G, and B indicate the ranges of VH in the corresponding colors.

【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, photos (a) and (c) and standard manuscripts (b) and
In order to distinguish between (d) and the standard original with a background color (e), a determination is made between a photographic original and an original with a background color. First, based on the processing result of the aforementioned automatic color selection (ACS),
(B) and the color originals (c), (d), and (e) can be determined (step S202). If the determination result of the automatic color selection is color (Y in step S202)
ES), and proceeds to step S204 to determine the type of the color document (here, α2 represents a threshold). First, the output data (ID) achromatic color of 0.4 or more and the output data (ID)
When the sum of the frequencies with 0.2 or more chromatic colors (corresponding to a portion other than the white background) accounts for a small percentage of the total document frequency (Sn) (YES in step S204), there are many white background portions. It is determined that the document is white (base white) (b) (step S206). Then, for image processing, the background adjustment
Automatic exposure (AE) processing is set, black character discrimination 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) 0.2 or more accounts for a large proportion of the total document frequency (S) (NO in step S204), It is determined whether the ratio occupied by the frequency sum in the frequency block having a chromatic color is very high (step S210, where α
3 represents a threshold value). Specifically, the ratio between the difference between the maximum frequency sum and the minimum frequency sum in the chromatic frequency blocks G30 to G34 and the total document frequency is calculated. If this ratio is not very high (step S210: NO), since the image data is not average over all lightness gradations, it is determined that the base of the color standard document is colored (a) (step S212). In the image processing, the background adjustment is set at the center of 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 set at the center of the manual photograph setting, the black character discrimination processing is not set, the gradation reproduction switching processing is not set, and the original mode is the color photograph 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 determination result of the automatic color selection (ACS) is not a color (NO in step S202),
The process proceeds to step S220 (where α1 represents a threshold value). If the sum of the frequencies of the achromatic colors having the output data (ID) of 0.4 or more in the total document frequency (S) is small (YES in step S220), it is determined that the document is a monochrome photograph (e) (step S222). For the image processing, the background adjustment sets the center of the photo manual, does not set the black character discrimination processing, does not set the gradation reproduction switching processing, and sets the original mode 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 original (d) (step S22).
6) Regarding image processing, background adjustment is performed by automatic exposure (AE).
The process is set, the tone reproduction switching process is set without setting the black character discrimination process, 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 uneasy because the result of determination of the document type is not known. Therefore, by displaying the document type on the operation panel 154, the user can immediately understand the determination result. Through the above processing, the determination of the document types (a) to (e) and the setting of the image processing corresponding thereto have been made. Table 1 shows the contents of the automatic color selection (ACS), the image processing mode, and the document mode for each document type. Table 2
Indicates the setting 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 image data into HVC data. The HVC conversion unit 114 includes a matrix calculator that converts R, G, and B data into a signal in a color space including a lightness signal (V) and two types of color difference signals (Cr, Cb).

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

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

【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 a processing unit after the image synthesizing unit 124,
In step 6, image editing such as color change is performed. On the other hand, the bill recognizing unit 118 determines whether the original is a bill, a securities, or the like, and instructs prohibition of the copy operation. Then, in the image synthesizing unit 124, the V, Cr, and Cb signals output from the HVC conversion unit 114 are temporarily input to the delay memory 115, and synchronized with the image signal from the editing processing unit 116.
Then, the image synthesizing unit 124 synthesizes an image based on the output data (V, Cr, Cb) of the delay memory 115 and the output data (V, Cr, Cb) of the image selector 126. Typical synthesizing methods include watermark synthesizing, inlay synthesizing, and character synthesizing, but a 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 adjustment unit 128
Is 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 of the H, V, and C signals. .

【数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 to Mdata (3).
Bit) as a switching signal, the image signal and the eight kinds of coefficient groups are selected in real time. In this way,
Adjustments similar to human sensations are made, facilitating image adjustments according to operator preferences.

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

【0039】さらに具体的に説明すると、下地調整は、
自動的な自動露光処理またはマニュアル設定により行わ
れる。図4の基本操作画面において、ユーザは、自動露
光処理を行うかマニュアル指定8段階の1つのレベルを
選択するのかを選ぶことができる。自動露光処理では、
予備スキャン動作によって原稿ヒストグラム情報から5
種の原稿種別(カラー標準(下地白,下地色付き)/写真原
稿及び白黒標準/写真原稿)を行う(図9参照)。すで
に図9に示したように、カラー標準原稿(下地白)か白黒
標準原稿ならば、図12と図13に示すような明度階調
補性を行い、他の原稿種別ならばマニュアル中央レベル
設定を自動選択する。
More specifically, the background adjustment is as follows.
This is performed by automatic automatic exposure processing or manual setting. In 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 specification. In the automatic exposure process,
5 from original histogram information by preliminary scan operation
Different types of originals (color standard (base 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 original is a color standard original (white background) or a black-and-white standard original, the brightness gradation complementarity as shown in FIGS. 12 and 13 is performed. Is automatically selected.

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

【数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 original (base 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 the background level, and b indicates
At the character level. In other words, as shown in FIG. 12, for a black-and-white standard original, the background is skipped and, at the same time, light characters such as pencils are darkened and copied in a legible manner. Therefore, lightness between a + 8 and b is expanded to 0-255, data V in the above from a + 8 from below and b is discarded. On the other hand, in a color standard document, the background is simply skipped. For color standard document, as shown in FIG. 13, data V in between 8 and b is expanded to 0-255, data on the b is discarded. In this embodiment, the level at which the background is skipped is set to 0 to 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 a monochrome / color standard original, 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 document in the first histogram memory 202. First, in order to determine the background level of the document, n = 136 to 255 (ID 0.
4 or less), a gradation level m at which h1 (n) obtains the maximum frequency is obtained. Then, a = m−8 and the background brightness is set to 255. Similarly, only in the case of a black and white document, n = 0 to 120 (ID 0.
(4 or more), a gradation level 1 at which h1 (n) obtains the maximum frequency is obtained. Then, b = 1 + 8, and the brightness of the character portion = 0. The reason for setting a = m−8 is that the histogram distribution is a normal distribution having a certain variation near the level m, so that the variation is ± 8 and the gradation near the level m is reliably skipped. is there. Similarly,
The reason for setting b = l + 8 is to ensure that the gradation near level 1 is black. The reason why the control is not performed by b in the color original standard mode is that characters are 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 ), only the density information (V) is controlled without changing the color information of the original. Therefore, the background level can be automatically adjusted without changing the color information of the color original. Color difference signal C
For the r and Cb components, no correction is performed (V out =
V), the color balance does not collapse.

【0044】さらに、操作パネル154で設定されるマ
ニュアル設定(自動露光処理解除)では、下地レベル値を
可変するための明度補正を行うことが出来る。このモー
ドは、モノクロ/カラー及び写真/標準モードで異な
り、マニュアル設定値が7段階であり、±0を中心とし
て−1〜−4は下地がとぶ方向に、+1,+2はかぶる
方向になるようにしている(図4参照)。詳細な設定内
容については、カラー標準モード、モノクロ標準モード
および写真モードにおいて、表2に示すように、マニュ
アル設定の各レベル+2〜−4が設定されている。
Further, in the manual setting (cancellation of the automatic exposure processing) set on the operation panel 154, the brightness correction for changing the background level value can be performed. This mode differs between monochrome / color and photo / standard modes, and has seven manual setting values. -1 to -4 are centered around ± 0, and the bases are +1 and +2. (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, each level of manual setting +2 to -4 is 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 determination processing (color blur correction) in the MTF correction unit 148. As shown in Table 1, this process is performed on a color standard document. This is performed to optimize the image reproduction of black characters when a color image and a monochrome image are mixed. First, in the portion determined by the region determination unit 146 as an edge portion of a black character, C, M, Y
The component data is attenuated, and the Bk component data is Bk1
The edge emphasis is performed while slightly thickening the character by adding the data of the lightness V to the data of 00%.

【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
In order to convert the signals into R, G, and B signals, the inverse matrix operation of the above-described matrix is performed as follows, and R, G, and B are output.

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

【0047】[0047]

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

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

【図1】 デジタルカラー複写機の全体を示す図式的な
断面図である。
FIG. 1 is a schematic 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 a 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 state of sampling in histogram generation.

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

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

【図8】 ヒストグラムから得られる種々の量を示す図
である
FIG. 8 shows various quantities 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 the relationship between a brightness signal and various signals (G25 to G35).

【図11】 HVC調整部、自動露光(AE)処理部およ
びHVC逆変換部の図である。
FIG. 11 is a diagram illustrating 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 original brightness distribution before and after AE processing for a monochrome color standard original.

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

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

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

フロントページの続き (56)参考文献 特開 平2−144567(JP,A) 特開 平2−884(JP,A) 特開 平6−152962(JP,A) 特開 平2−205984(JP,A) 特開 平6−284281(JP,A) 特開 平6−205204(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 1/40 - 1/409 H04N 1/46 H04N 1/60 Continuation of front page (56) References JP-A-2-144567 (JP, A) JP-A-2-884 (JP, A) JP-A-6-152962 (JP, A) JP-A-2-2055984 (JP, A) JP-A-6-284281 (JP, A) JP-A-6-205204 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H04N 1/40-1/409 H04N 1/46 H04N 1/60

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 光電変換素子により原稿を読み取って得
られた3原色のR,G,B信号を明度信号に変換する明度
信号作成器と、 前記明度信号を基に原稿中の無彩色画素のヒストグラム
を作成する第1のヒストグラム作成手段と、 前記明度信号を基に原稿中の有彩色画素のヒストグラム
を作成する第2のヒストグラム作成手段と、 前記第1及び第2のヒストグラム作成手段によって作成
されたヒストグラムから原稿種別を判定する原稿種別判
定手段と、 前記原稿種別判定手段の判定結果に基づいて画像処理内
容を切換える処理切換手段とを備えることを特徴とする
画像処理装置。
1. A brightness signal generator for converting R, G, and B signals of three primary colors obtained by reading a document by a photoelectric conversion element into a brightness signal, and an achromatic color pixel in the document based on the brightness signal. First histogram creating means for creating a histogram, second histogram creating means for creating a histogram of chromatic pixels in the document based on the lightness signal, and first and second histogram creating means. An image processing apparatus comprising: a document type determining unit configured to determine a document type based on the histogram; and a processing switching unit configured to switch image processing content based on a determination result of the document type determining unit.
【請求項2】 さらに、前記ヒストグラムの分布状況を
解析する解析手段を有し、前記原稿種別判定手段は、前
記解析手段による解析結果に基づいて原稿種別を判定す
ることを特徴とする請求項1記載の画像処理装置。
2. The apparatus according to claim 1, further comprising an analyzing unit configured to analyze a distribution state of the histogram, wherein the document type determining unit determines a document type based on an analysis result by the analyzing unit. The image processing apparatus according to any one of the preceding claims.
【請求項3】 前記解析手段は、前記無彩色画素と有彩
色画素の画素数をカウントすることを特徴とする請求項
2記載の画像処理装置。
3. The image processing apparatus according to claim 2, wherein the analysis unit counts the number of the achromatic pixels and the chromatic pixels.
【請求項4】 前記解析手段は、前記各ヒストグラムを
それぞれ明度レベルに関して複数のブロックに分割し、
ブロック毎に無彩色画素と有彩色画素の画素数をカウ
ントすることを特徴とする請求項3記載の画像処理装
置。
Wherein said analyzing means, said each histogram
Divide into multiple blocks for each brightness level,
4. The image processing apparatus according to claim 3, wherein the number of achromatic pixels and chromatic pixels is counted for each block.
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 JPH08251402A (en) 1996-09-27
JP3333894B2 true 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)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6351558B1 (en) 1996-11-13 2002-02-26 Seiko Epson Corporation Image processing system, image processing method, and medium having an image processing control program recorded thereon
JP4240236B2 (en) * 1996-11-13 2009-03-18 セイコーエプソン株式会社 Image processing apparatus, image processing method, medium storing image processing program, and printing apparatus
US6738527B2 (en) 1997-06-09 2004-05-18 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, and image evaluation method and a medium on which an image evaluation program is recorded
JP3780810B2 (en) 2000-03-27 2006-05-31 コニカミノルタビジネステクノロジーズ株式会社 Image processing circuit
JP4496602B2 (en) 2000-05-17 2010-07-07 コニカミノルタビジネステクノロジーズ株式会社 Image processing method and image processing apparatus
JP3964300B2 (en) * 2002-10-10 2007-08-22 シャープ株式会社 Image processing apparatus, image forming apparatus, and image processing method
JP4496239B2 (en) * 2007-07-31 2010-07-07 シャープ株式会社 Image processing method, image processing apparatus, image forming apparatus, image reading apparatus, computer program, and recording medium
JP4758402B2 (en) * 2007-08-24 2011-08-31 シャープ株式会社 Image forming apparatus
JP4500865B2 (en) 2008-04-30 2010-07-14 キヤノン株式会社 Image processing apparatus, image processing method, program, and storage medium
JP5851235B2 (en) * 2011-12-22 2016-02-03 シャープ株式会社 Image processing apparatus, image forming apparatus, digital camera, image processing method, computer program, and storage medium
JP6060734B2 (en) 2013-02-28 2017-01-18 ブラザー工業株式会社 Image processing apparatus, image processing method, and image processing program
JP2016048828A (en) * 2014-08-27 2016-04-07 沖電気工業株式会社 Information processing device, information processing method, and program
JP6958003B2 (en) * 2017-06-12 2021-11-02 セイコーエプソン株式会社 Image processing equipment and printing system

Also Published As

Publication number Publication date
JPH08251402A (en) 1996-09-27

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
JP2993014B2 (en) Image quality control method for image processing device
JP3401977B2 (en) Image reproduction device
US5189523A (en) Image processing apparatus
EP1524842A2 (en) System and method for generating black and white reproductions of color documents
JPH05207280A (en) System for eliminating fogged background and eliminating background for image forming device
JP3333894B2 (en) Image processing device
JPH10341341A (en) Image processor
EP0675639B1 (en) Image processing apparatus and method
JP3477858B2 (en) Image processing apparatus and image data processing method
JP3376081B2 (en) Image processing method and apparatus
JP4226278B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium recording the same
JP3407525B2 (en) Image reproduction device
JPH08149323A (en) Image processor
JP3176212B2 (en) Image processing device
JP2002218271A (en) Image processor, image formation device and image, processing method
JP2001127989A (en) Image-forming device
JP3289530B2 (en) Image processing device
JP3079630B2 (en) Image processing device
JP3077241B2 (en) Image processing device
JP3360456B2 (en) Image processing device
JPH04342370A (en) Image forming device
JPH08186728A (en) Image processor
JP3220812B2 (en) Image processing 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