JP2000196904A - Color image forming device and method for generating lookup table - Google Patents

Color image forming device and method for generating lookup table

Info

Publication number
JP2000196904A
JP2000196904A JP10377654A JP37765498A JP2000196904A JP 2000196904 A JP2000196904 A JP 2000196904A JP 10377654 A JP10377654 A JP 10377654A JP 37765498 A JP37765498 A JP 37765498A JP 2000196904 A JP2000196904 A JP 2000196904A
Authority
JP
Japan
Prior art keywords
color
masking
data
input
look
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10377654A
Other languages
Japanese (ja)
Inventor
Atsushi Otani
篤志 大谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP10377654A priority Critical patent/JP2000196904A/en
Publication of JP2000196904A publication Critical patent/JP2000196904A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To perform color tone adjustment without increasing the number of lookup tables related to masking conversion. SOLUTION: When an adjusted value is inputted from an operation panel 25, a CPU generates data for masking calculation by multiplying the inputted adjusted value for chrominance component by the reference data for masking operation corresponding to the chrominance component stored in a ROM 3 and the generated data are superscribed on a lookup table composed of the data for masking operation.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、カラー画像形成装
置に関するとともにルックアップテーブル生成方法に関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color image forming apparatus and a method for generating a lookup table.

【0002】[0002]

【従来の技術】従来、カラー画像を読み取り、画像処理
を行って印刷出力する装置では、一般的に、R(red
),G(green ),B(blue)の光源を点灯して原稿
を読み、原稿の色分解を行い、輝度−濃度変換、 マス
キング変換、出力γ変換、2値化処理を行って、出力デ
バイスに画像データを出力していた。
2. Description of the Related Art Conventionally, in a device for reading a color image, performing image processing and printing out, generally, R (red)
), G (green) and B (blue) light sources are turned on to read the original, perform color separation of the original, and perform luminance-density conversion, masking conversion, output γ conversion, and binarization processing, and output devices. Output image data to

【0003】画像処理の高速化を図るため、輝度−濃度
変換、マスキング変換、出力γ変換の各変換は、ルック
アップテーブルを用いたテーブル変換が一般的である。
In order to speed up image processing, table conversion using a look-up table is generally used for each of the luminance-density conversion, masking conversion, and output γ conversion.

【0004】[0004]

【発明が解決しようとする課題】色調の調整を可能にす
るには、複数のルックアップテーブルを用意する必要が
あり、例えば、簡単な入力4成分−出力4成分の入力8
ビット、テーブル精度8ビットのマトリクス演算用のテ
ーブルは、データ容量が4KB(=16×256×8ビ
ット)となり、色調の調整段数により、テーブルの総容
量が増加した。
In order to enable color tone adjustment, it is necessary to prepare a plurality of lookup tables. For example, a simple input 4 component-output 4 component input 8
The data capacity of the matrix for matrix operation with 8 bits and table precision is 4 KB (= 16 × 256 × 8 bits), and the total capacity of the table is increased by the number of color tone adjustment stages.

【0005】計算によってテーブルを生成する方法によ
れば、テーブル容量は増大しないものの、複雑なテーブ
ルは生成しにくく、微妙な調整を行いにくいという問題
点があった。
According to the method of generating a table by calculation, although the table capacity does not increase, there is a problem that it is difficult to generate a complicated table and to make fine adjustments.

【0006】本発明の目的は、上記のような問題点を解
決し、記憶装置内のマスキング変換に関係するルックア
ップテーブルの容量を増大させずに、簡略な係数演算で
は得られないルックアップテーブルを生成し、色調の調
整を行うことができるカラー画像形成装置およびルック
アップテーブル生成方法を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems and to increase the capacity of a look-up table related to masking conversion in a storage device without increasing the capacity of the look-up table by a simple coefficient operation. It is an object of the present invention to provide a color image forming apparatus and a look-up table generating method capable of generating a color image and adjusting a color tone.

【0007】[0007]

【課題を解決するための手段】請求項1の発明は、カラ
ー画像形成に供される色成分に対するマスキング演算用
データよりなるルックアップテーブルをストアしたルッ
クアップテーブルストア手段と、該ルックアップテーブ
ルストア手段にストアされているルックアップテーブル
に基づきカラー濃度に対して色変換を行うマスキング演
算手段とを有するカラー画像形成装置において、カラー
画像形成に供される色成分に対するマスキング演算用基
準データよりなる単一の基準テーブルをストアしたスト
ア手段と、色調の調整値を入力するための入力手段と、
該入力手段により調整値が入力された場合に、入力され
た色成分に対する調整値と、該色成分に対応するマスキ
ング演算用基準データとを乗算してマスキング演算用デ
ータを生成する生成手段と、該生成手段により生成され
たマスキング演算用データを前記ルックアップテーブル
に上書きする上書き手段とを備えている。
According to a first aspect of the present invention, there is provided a lookup table storing means for storing a lookup table comprising masking calculation data for a color component to be used for forming a color image, and the lookup table store. And a masking operation unit for performing color conversion on the color density based on the look-up table stored in the unit. Storing means for storing one reference table, input means for inputting a color tone adjustment value,
Generating means for generating masking calculation data by multiplying the adjustment value for the input color component by the masking calculation reference data corresponding to the color component when the adjustment value is input by the input means; Overwriting means for overwriting the look-up table with the masking calculation data generated by the generating means.

【0008】請求項1において、マスキング演算用基準
データの精度は、前記マスキング演算用データの精度よ
り大きくすることができる。
According to the first aspect, the precision of the masking calculation reference data can be greater than the precision of the masking calculation data.

【0009】請求項1において、生成手段は、入力手段
により入力されなかった色に対して、当該色に対応する
マスキング演算用基準データの精度をルックアップテー
ブルのマスキング演算用データの精度に合わせて調整し
マスキング演算用データを生成することができる。
In the present invention, the generation means adjusts the precision of the masking calculation reference data corresponding to the color not input by the input means to the precision of the masking calculation data of the lookup table. The data for the masking calculation can be generated by the adjustment.

【0010】請求項4の発明は、カラー画像形成に供さ
れる色成分に対するマスキング演算用データよりなるル
ックアップテーブルをストアしたルックアップテーブル
ストア手段と、該ルックアップテーブルストア手段にス
トアされているルックアップテーブルに基づきカラー濃
度に対して色変換を行うマスキング演算手段とを有する
カラー画像形成装置のルックアップテーブル生成方法に
おいて、色調の調整値が入力されたとき、入力された色
成分に対する調整値を、カラー画像形成に供される色成
分に対するマスキング演算用基準データよりなる単一の
基準テーブルをストアしたストア手段から読み出す読み
出しステップと、入力された色成分に対する調整値と、
該色成分に対応するマスキング演算用基準データであっ
て前記ストア手段から読み出されたマスキング演算用基
準データとを乗算してマスキング演算用データを生成す
る生成ステップと、生成されたマスキング演算用データ
を前記ルックアップテーブルに上書きする上書きステッ
プとを備えている。
According to a fourth aspect of the present invention, there is provided a look-up table storing means for storing a look-up table comprising masking calculation data for a color component to be used for forming a color image, and the look-up table storing means. In a lookup table generating method for a color image forming apparatus, comprising: a masking operation unit for performing color conversion on a color density based on a lookup table, when a tone adjustment value is input, an adjustment value for the input color component is input. Reading out from a storage means storing a single reference table consisting of masking calculation reference data for color components provided for color image formation, an adjustment value for the input color component,
A generating step of generating masking operation data by multiplying the masking operation reference data corresponding to the color component by the masking operation reference data read from the storage means; and generating the generated masking operation data. Overwriting to the look-up table.

【0011】請求項4において、マスキング演算用基準
データの精度は、マスキング演算用データの精度より大
きくすることができる。
In the present invention, the precision of the masking calculation reference data can be made larger than the precision of the masking calculation data.

【0012】請求項4において、生成ステップは、調整
値入力時に、入力されなかった色に対して、当該色に対
応するマスキング演算用基準データの精度をルックアッ
プテーブルのマスキング演算用データの精度に合わせて
調整しマスキング演算用データを生成することができ
る。
According to a fourth aspect of the present invention, in the generation step, when the adjustment value is input, the accuracy of the masking operation reference data corresponding to the color that has not been input is adjusted to the accuracy of the masking operation data of the lookup table. The data for the masking operation can be generated by adjusting them together.

【0013】[0013]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0014】図1は本発明の一実施の形態を示す。これ
はカラー画像形成装置の例であって、このカラー画像形
成装置はCPU(central processing unit )1と、R
OM(read only memory)3と、SRAM(static ran
dom access memory )4と、モデム5と、画像処理ゲー
トアレイ16と、多機能ゲートアレイ26とが、バス2
を介して、相互に接続してある。
FIG. 1 shows an embodiment of the present invention. This is an example of a color image forming apparatus, and this color image forming apparatus includes a CPU (central processing unit) 1
OM (read only memory) 3 and SRAM (static ran
dom access memory) 4, modem 5, image processing gate array 16, and multifunctional gate array 26
Are connected to each other.

【0015】ROM3は制御プログラムを格納するとと
もに、輝度−濃度変換用ルックアップテーブル(以下、
ルックアップテーブルをLUTと略す)と、出力γ変換
用LUTと、マスキング演算用基準データとが格納して
ある。マスキング演算用基準データは、Cをシアン成分
の値として、Mをマゼンタ成分の値、Yをイエロー成分
の値、Kをブラック成分の値とした場合に、マスキング
処理、すなわち、
The ROM 3 stores a control program and a look-up table for luminance-density conversion (hereinafter referred to as a "look-up table").
A lookup table is abbreviated as LUT), an output γ conversion LUT, and masking calculation reference data. The masking calculation reference data is a masking process when C is a cyan component value, M is a magenta component value, Y is a yellow component value, and K is a black component value.

【0016】[0016]

【数1】 (Equation 1)

【0017】の演算で用いられる符号付き12ビットの
定数であって、 A11 A12 A13 A14 A21 A22 A23 A24 A31 A32 A33 A34 A41 A42 A43 A44 である。しかし、定数A14,A24,A34,A44
に代えて、 A14′= A14−A11−A12−A13 A24′= A24−A21−A22−A23 A34′= A34−A31−A32−A33 A44′= A44−A41−A42−A43 が採用されていて、実際には、定数として、 A11 A12 A13 A14′ A21 A22 A23 A24′ A31 A32 A33 A34′ A41 A42 A43 A44′ が採用されている。
A signed 12-bit constant used in the calculation of A11 A12 A13 A14 A21 A22 A23 A24 A31 A32 A33 A34 A41 A42 A43 A44. However, the constants A14, A24, A34, A44
A14 '= A14-A11-A12-A13 A24' = A24-A21-A22-A23 A34 '= A34-A31-A32-A33 A44' = A44-A41-A42-A43, Actually, A11 A12 A13 A14 'A21 A22 A23 A24' A31 A32 A33 A34 'A41 A42 A43 A44' are adopted as constants.

【0018】CPU1はROM3の制御プログラムに従
って本画像形成装置の各部を制御するものである。SR
AM4は発信元情報と、ユーザ登録情報等を記憶するた
めのものである。
The CPU 1 controls each section of the image forming apparatus according to a control program in the ROM 3. SR
AM4 is for storing transmission source information, user registration information and the like.

【0019】モデム5は画像信号、音声信号を変復調す
るためのものである。
The modem 5 modulates and demodulates image signals and audio signals.

【0020】10はクロスポイントであって、網制御ユ
ニット(以下、NCUという)6、電話機8、コードレ
ス電話機ベースユニット9を選択的に接続するものであ
る。NCU6はモデム5か有線電話機8かクロスポイン
ト10のいずれかと、公衆電話回線7との接続を制御す
るものである。11はコードレス子機である。32はス
ピーカであり、画像形成装置の状態等の情報を音声でユ
ーザに伝えるためのものである。
Reference numeral 10 denotes a cross point for selectively connecting a network control unit (hereinafter, referred to as NCU) 6, a telephone set 8, and a cordless telephone base unit 9. The NCU 6 controls connection between the modem 5, the wired telephone 8, or the cross point 10 and the public telephone line 7. 11 is a cordless handset. Reference numeral 32 denotes a speaker for transmitting information such as the state of the image forming apparatus to the user by voice.

【0021】画像処理ゲートアレイ16はシェーディン
グ補正処理と、画像を単色で読み取った場合の2値化処
理と、カラーで読み取った場合のγ変換処理と、RGB
をYMCKに変換する色変換処理と、読み取りセンサ1
2が読み取った画像データを主走査方向に関し記録ヘッ
ドが記録できる解像度に変換する解像度変換処理と、赤
色,緑色,青色LED(light emitting diode)光源1
3,14,15の点灯制御とを行うものである。
The image processing gate array 16 performs shading correction processing, binarization processing when an image is read in a single color, gamma conversion processing when an image is read in a color, and RGB.
Conversion processing for converting image data into YMCK and reading sensor 1
Resolution conversion processing for converting the image data read by the recording head 2 into a resolution that can be recorded by the recording head in the main scanning direction, and a red, green, and blue LED (light emitting diode) light source 1
Lighting control of 3, 14, and 15 is performed.

【0022】読取センサ12は画像を主走査方向に1ラ
イン分のデータを8pel で読み取るものである。赤色,
緑色,青色LED光源13,14,15は、それぞれ、
読取センサ12が画像を読み取るための光源である。こ
こで、光源にLEDを用いているのは、装置の小型化が
可能であって、LED光源は蛍光燈等と比べると、光量
が安定しており、応答特性も速く、光源の高速な切り換
えが可能であり、従って、シートスルータイプで高速な
画像形成装置を提供できるからである。LED光源の消
費電流は蛍光燈等と比較すると小さいので、消費電力の
小さい家庭向きの画像形成装置を提供することができる
からである。
The reading sensor 12 reads one line of data at 8 pels in an image in the main scanning direction. red,
The green and blue LED light sources 13, 14, 15 are respectively
The reading sensor 12 is a light source for reading an image. Here, the use of the LED as the light source allows the size of the device to be reduced, and the LED light source has a more stable light quantity, faster response characteristics, and faster switching of the light source than fluorescent lamps and the like. This is because a sheet-through type high-speed image forming apparatus can be provided. This is because the current consumption of the LED light source is smaller than that of a fluorescent lamp or the like, so that it is possible to provide an image forming apparatus suitable for homes with low power consumption.

【0023】多機能ゲートアレイ26は、プリントヘッ
ド17と、DRAM(dynamic RAM)18と、プリント
カートリッジセンサ20と、原稿検出センサ21と、用
紙検出センサ22と、読取モータ23のモータドライバ
24と、オペレーションパネル25とに接続されてい
る。また、多機能ゲートアレイ26はプリントヘッド1
7のノズルの配列に合わせて主走査方向に並んだ画像デ
ータを、副走査方向に並んだ画像データに変換するプリ
ントヘッド17に転送する処理や、オペレーションパネ
ル25のキーボードから入力されたキー入力データや各
種センサの出力信号をCPU1が判別できるコード信号
に変換する処理や、読取モータ23のタイミング処理を
行っている。
The multi-function gate array 26 includes a print head 17, a DRAM (dynamic RAM) 18, a print cartridge sensor 20, a document detection sensor 21, a paper detection sensor 22, a motor driver 24 of a reading motor 23, It is connected to the operation panel 25. Further, the multi-function gate array 26 includes the print head 1.
7, the image data arranged in the main scanning direction is transferred to the print head 17 for converting the image data arranged in the sub-scanning direction into image data arranged in the sub-scanning direction, and key input data inputted from the keyboard of the operation panel 25 And a process of converting output signals of various sensors into code signals that can be determined by the CPU 1 and a timing process of the reading motor 23.

【0024】プリントヘッド17は画像を記録するため
のものである。このプリントヘッド17はカラーでの記
録が可能な記録ヘッドと、モノクロでの記録が可能な記
録ヘッドとが交換可能である。ここでは、プリントヘッ
ドとしてインクジェットタイプの記録ヘッドを採用して
おり、副走査方向に複数のノズルが並んでヘッド記録面
が形成されている。記録動作時には、ヘッド装着したキ
ャリッジを(ノズルの配列方向と交差した)主走査方向
に往復運動することで、複数のノズルによる記録幅分の
領域に画像が形成されるようになっている。その後、用
紙を記録幅だけ副走査方向に搬送し、記録動作を繰り返
すことにより、用紙上に画像が形成される。プリントヘ
ッド17としては、熱転写タイプのものであってもよ
い。プリントヘッド17はインクを貯蔵するタンクを内
蔵しているインクカートリッジである。
The print head 17 is for recording an image. The print head 17 is interchangeable between a recording head capable of recording in color and a recording head capable of recording in monochrome. Here, an ink jet type recording head is employed as a print head, and a plurality of nozzles are arranged in the sub-scanning direction to form a head recording surface. At the time of the recording operation, an image is formed in a region corresponding to a recording width by a plurality of nozzles by reciprocating a carriage mounted with a head in a main scanning direction (intersecting the arrangement direction of the nozzles). Then, the image is formed on the sheet by conveying the sheet by the recording width in the sub-scanning direction and repeating the recording operation. The print head 17 may be of a thermal transfer type. The print head 17 is an ink cartridge having a built-in tank for storing ink.

【0025】DRAM18はプリントヘッド17に供給
するための画像データを一時的に蓄えるためのものであ
る。プリントカートリッジセンサ20はプリントカート
リッジの有無と種類を検出するためのものである。原稿
検出センサ21は原稿幅と原稿の有無を検出するための
ものである。用紙検出センサ22は用紙サイズと用紙の
有無を検出するためのものである。
The DRAM 18 is for temporarily storing image data to be supplied to the print head 17. The print cartridge sensor 20 is for detecting the presence and type of the print cartridge. The document detection sensor 21 detects a document width and the presence or absence of a document. The paper detection sensor 22 is for detecting the paper size and the presence or absence of the paper.

【0026】読取モータ23は原稿を搬送するためのも
のである。モータドライバ24は読取モータ23を駆動
するものである。オペレーションパネル25はキーボー
ドと画像形成装置の状態等を表示するLCDを有する。
キーボード上には、後述するが、原稿をカラーで読み取
ってカラーで記録を指示するカラーコピーキーと、モノ
クロで読み取ってモノクロで記録を指示するモノクロコ
ピーキーとが設けてある。
The reading motor 23 is for conveying a document. The motor driver 24 drives the reading motor 23. The operation panel 25 has a keyboard and an LCD for displaying the status of the image forming apparatus and the like.
As will be described later, the keyboard is provided with a color copy key for reading a document in color and instructing recording in color, and a monochrome copy key for reading in monochrome and instructing recording in monochrome.

【0027】27はLFモータであり、用紙を副走査方
向に搬送するためのものである。28はモータドライバ
であり、LFモータ27を駆動するものである。29は
CRモータであり、プリントヘッド17を装着したキャ
リッジを駆動するものである。30はモータドライバで
あり、CRモータ29を駆動するものである。
Reference numeral 27 denotes an LF motor for conveying a sheet in the sub-scanning direction. A motor driver 28 drives the LF motor 27. A CR motor 29 drives a carriage on which the print head 17 is mounted. A motor driver 30 drives the CR motor 29.

【0028】キャリッジに装着されていない未使用のプ
リントカートリッジを収容するスペースは、装置内に設
けられていてもよいし、装置外の別の容器に収容される
ようになっていてもよい。
The space for accommodating unused print cartridges not mounted on the carriage may be provided in the apparatus, or may be accommodated in another container outside the apparatus.

【0029】図2は図1の画像処理ゲートアレイ16の
構成を示す。図2において、2,12〜15は図1と同
一部分を示す。301はA/D(analog-to-digital )
変換回路であり、読取センサ12の出力信号を10ビッ
トのデジタル信号に変換するものである。308はピー
ク検出回路であり、A/D変換回路301によりA/D
変換された画像信号のピーク値を検出するものである。
309はAGC(automatic gain control)回路であ
り、ピーク検出回路308の出力に基づいて、A/D変
換回路301からの10ビットのデジタル信号で表され
た輝度のうち最適な8ビットの輝度領域を選択するもの
である。310はシェーディング/黒補正回路であり、
補正データ蓄積部311に蓄積された補正データに基づ
いてシェーディング補正および黒補正を行い、シェーデ
ィング/黒補正回路310で得られた補正データを補正
データ蓄積部311に蓄積するものである。312はR
GB/YMCK変換回路であり、シェーディング/黒補
正回路310で補正された画像信号をY(イエロー)、
M(マゼンタ)、C(シアン)、K(ブラック)に変換
するものである。
FIG. 2 shows the configuration of the image processing gate array 16 of FIG. 2, reference numerals 2, 12 to 15 denote the same parts as in FIG. 301 is A / D (analog-to-digital)
The conversion circuit converts an output signal of the reading sensor 12 into a 10-bit digital signal. Reference numeral 308 denotes a peak detection circuit.
It detects the peak value of the converted image signal.
Reference numeral 309 denotes an AGC (automatic gain control) circuit which, based on the output of the peak detection circuit 308, determines an optimal 8-bit luminance area of the luminance represented by the 10-bit digital signal from the A / D conversion circuit 301. To choose. 310 is a shading / black correction circuit,
The shading correction and the black correction are performed based on the correction data stored in the correction data storage unit 311, and the correction data obtained by the shading / black correction circuit 310 is stored in the correction data storage unit 311. 312 is R
This is a GB / YMCK conversion circuit that converts the image signal corrected by the shading / black correction circuit 310 into Y (yellow),
It is converted into M (magenta), C (cyan), and K (black).

【0030】304は光量オーバフロー検出回路であ
り、A/D変換回路301の出力が過剰な光量によって
オーバフローしているかどうかを検出するものである。
302はバス2に接続した点灯時間制御レジスタであ
り、LED光源の点灯時間をCPU1から設定するため
のものである。303は点灯時間カウンタであり、LE
D光源の点灯時間を制御するためのものである。305
は点灯時間自動調整回路であり、LED光源の点灯時間
をオーバフローしないように自動調整するものである。
316はバス2に接続したオーバフローレジスタであ
り、光量オーバフローの検出をCPU1からも可能にす
るためのものである。
Reference numeral 304 denotes a light amount overflow detection circuit for detecting whether or not the output of the A / D conversion circuit 301 overflows due to an excessive light amount.
Reference numeral 302 denotes a lighting time control register connected to the bus 2 for setting the lighting time of the LED light source from the CPU 1. 303 is a lighting time counter, LE
This is for controlling the lighting time of the D light source. 305
Is a lighting time automatic adjustment circuit for automatically adjusting the lighting time of the LED light source so as not to overflow.
Reference numeral 316 denotes an overflow register connected to the bus 2 for enabling the CPU 1 to detect a light amount overflow.

【0031】317は光源切換回路であり、光源の点灯
時間を時分割で切り換えるものである。306はバス2
に接続した点灯モード設定レジスタであり、LED光源
の光量を制御するための電流の設定と、光源切換回路3
17を制御するための点灯モードの設定と、各モードで
どの光源を点灯させるかを設定をするためのものであ
る。307は点灯電流制御回路であり、LED光源に供
給する点灯電流を制御するものである。318は光源切
換回路317の光源の点灯を切り換えるためのクロック
(XSH)である。カラー読み取りの場合は、2.5ms
ec毎にクロック(XSH)が光源切換回路317に入力
され、クロック(XSH)が入力されるごとに、光源切
換回路317により、赤色、緑色、青色LED光源1
3,14,15をこの順に切り換えて点灯させるように
なっている。モノクロ読み取りの場合は、2.51msec
ごとにクロック(XSH)が入力され、この場合、緑色
光源のみが必要な時間点灯する。カラー読み取り/モノ
クロ読み取りの切換は点灯モード設定レジスタ306に
よって設定される。319はCPU1から入力される読
取トリガであって、1ライン単位で光源切換回路317
に発行され、この読取トリガ319によって画像処理ゲ
ートアレイ16が活性化される。
A light source switching circuit 317 switches the lighting time of the light source in a time-division manner. 306 is bus 2
A current setting for controlling the amount of light of the LED light source, and a light source switching circuit 3.
This is for setting a lighting mode for controlling the lighting device 17 and for setting a light source to be turned on in each mode. A lighting current control circuit 307 controls the lighting current supplied to the LED light source. 318 is a clock (XSH) for switching the lighting of the light source of the light source switching circuit 317. 2.5ms for color reading
The clock (XSH) is input to the light source switching circuit 317 every ec, and each time the clock (XSH) is input, the red, green, and blue LED light sources 1
3, 14, and 15 are switched in this order and lighted. 2.51msec for monochrome reading
A clock (XSH) is input every time, and in this case, only the green light source is turned on for a necessary time. Switching between color reading and monochrome reading is set by the lighting mode setting register 306. A reading trigger 319 input from the CPU 1 is a light source switching circuit 317 for each line.
And the read trigger 319 activates the image processing gate array 16.

【0032】314は縮小率・マスク領域設定レジスタ
であり、画像のマスク領域や縮小率をCPU1から設定
するためのものである。
Reference numeral 314 denotes a reduction rate / mask area setting register for setting a mask area and a reduction rate of an image from the CPU 1.

【0033】313は解像度変換回路であり、RGB/
YMCK変換回路312からの主走査方向の解像度8pe
l の画像を、プリンタの解像度360dpi に変換した
り、読み取った画像の大きさを縮小したり、不要な画像
をマスクしたりするものである。
Reference numeral 313 denotes a resolution conversion circuit, which outputs RGB /
8 pe in the main scanning direction from the YMCK conversion circuit 312
The image of l is converted into a resolution of 360 dpi of the printer, the size of the read image is reduced, and unnecessary images are masked.

【0034】320は信号線であって、3本の信号線よ
りなり、この信号線320は赤色緑色青色のどの光源を
一点灯させるかを示す。この信号線320は点灯電流制
御回路307と点灯時間設定レジスタ302に接続さ
れ、赤色緑色青色の各光源の点灯時間の点灯時間カウン
タ303へのロードと、点灯電流を供給する光源の選択
とを行っている。321信号線であって、点灯されてい
る光源の色に基づいて各種処理ができるようにするため
の3本の信号線であり、AGC309と、シェーディン
グ/黒補正回路310と、RGB/YMCK変換回路3
12と、解像度変換回路313と、出力レジスタ315
とに接続されている。また、信号線321は信号線32
0に基づいて点灯した光源色の各種処理ができるよう
に、信号線320のタイミングより所定時間遅れたタイ
ミングが出力されている。
A signal line 320 is composed of three signal lines. The signal line 320 indicates which one of red, green and blue light sources is to be turned on. The signal line 320 is connected to the lighting current control circuit 307 and the lighting time setting register 302, and performs loading of the lighting time of each of the red, green, and blue light sources into the lighting time counter 303 and selection of the light source that supplies the lighting current. ing. 321 signal lines, which are three signal lines for enabling various processes to be performed based on the color of the light source being lit, AGC 309, shading / black correction circuit 310, and RGB / YMCK conversion circuit 3
12, a resolution conversion circuit 313, and an output register 315
And connected to. The signal line 321 is connected to the signal line 32.
A timing delayed by a predetermined time from the timing of the signal line 320 is output so that various processes of the light source color lit based on 0 can be performed.

【0035】図3は図1のROM8に格納される制御プ
ログラムの一例を示すフローチャートである。オペレー
タによりオペレーションパネル25が操作され、モノク
ロコピーが指示されたかどうかを判断する(S20
1)。モノクロコピーが指示されていないと判断した場
合は、オペレータによりオペレーションパネル25が操
作され、カラーコピーが指示されたかどうかを判断する
(S202)。カラーコピーが指示されていないと判断
した場合は、S201に戻る。
FIG. 3 is a flowchart showing an example of the control program stored in the ROM 8 of FIG. It is determined whether the operator has operated the operation panel 25 and has instructed monochrome copying (S20).
1). If it is determined that the monochrome copy has not been instructed, the operator operates the operation panel 25 to determine whether or not the color copy has been instructed (S202). If it is determined that the color copy has not been instructed, the process returns to S201.

【0036】他方、カラーコピーが指示されていると判
断した場合は、原稿がセットされているかどうかをセン
サ21の出力によって判断する(S203)。原稿がセ
ットされていないと判断した場合は、「原稿をセットし
てください」という原稿のセットを促すメッセージを、
オペレーションパネル25上のLCDディスプレイに表
示するとともに、スピーカ32で音声により報知し(S
213)、その後、S201に戻る。このメッセージに
よってユーザはコピーが実行されない原因が原稿がない
ことだと分かるので、直ぐに対応することができる。ま
た、表示だけでなく音声でもメッセージが出力されるの
で、LCDディスプレイの表示が見えにくい人であって
も対処方法が分かりやすい。
On the other hand, when it is determined that the color copy is instructed, it is determined whether or not a document is set based on the output of the sensor 21 (S203). If it is determined that the original is not set, a message prompting you to set the original is displayed.
The information is displayed on the LCD display on the operation panel 25, and is notified by voice through the speaker 32 (S
213), and then return to S201. This message allows the user to know that the cause of the non-execution of the copy is that there is no original, so that the user can take immediate action. In addition, since the message is output not only by the display but also by voice, even a person who cannot easily see the display on the LCD display can easily understand the coping method.

【0037】他方、原稿がセットされていると判断した
場合は(S203)、用紙があるかどうかを、用紙検出
センサ22の出力によって判断する(S204)。そし
て、用紙がセットされていないと判断した場合は、「用
紙をセットしてください」という用紙のセットを促すメ
ッセージを、オペレーションパネル25上のLCDディ
スプレイに表示するとともに、スピーカ32で音声によ
り報知し(S214)、その後、S201に戻る。この
メッセージによって、ユーザはコピーが実行されない原
因が用紙がないことだと分かるので、直ぐに対応するこ
とができる。また、表示だけでなく音声でもメッセージ
が出力されるので、LCDディスプレイの表示が見えに
くい人であっても、対処方法が分かりやすい。
On the other hand, if it is determined that a document is set (S203), it is determined whether there is a sheet based on the output of the sheet detection sensor 22 (S204). If it is determined that the paper is not set, a message prompting the user to set the paper is displayed on the LCD display on the operation panel 25, and the speaker 32 notifies the user by voice. (S214), and then return to S201. By this message, the user knows that the cause of the non-execution of copying is that there is no paper, and can take immediate action. In addition, since the message is output not only by the display but also by voice, even a person who is difficult to see the display on the LCD display can easily understand the coping method.

【0038】他方、用紙がセットされていると判断した
場合は(S204)、プリントヘッド17がキャリッジ
に装着されているかどうかを、プリントカートリッジセ
ンサ20の出力によって判断する(S205)。そし
て、キャリッジに装着されていないと判断した場合は、
「カートリッジをセットしてください」というプリント
ヘッド17のセットを促すメッセージを、オペレーショ
ンパネル25上のLCDディスプレイに表示するととも
に、スピーカ32で音声により報知し(S215)、そ
の後、S201に戻る。このメッセージによって、ユー
ザはコピーが実行されない原因がプリントヘッド17が
ないことだと分かるので、直ぐに対応することができ
る。また、表示だけでなく音声でもメッセージが出力さ
れるので、LCDディスプレイの表示が見えにくい人で
あっても、対処方法が分かりやすい。
On the other hand, if it is determined that the paper is set (S204), it is determined whether or not the print head 17 is mounted on the carriage based on the output of the print cartridge sensor 20 (S205). And if it is determined that it is not mounted on the carriage,
A message prompting the user to set the print head 17 "Please set the cartridge" is displayed on the LCD display on the operation panel 25, and is notified by voice through the speaker 32 (S215), and thereafter, the process returns to S201. By this message, the user knows that the cause of the non-execution of the copy is the absence of the print head 17, and can take an immediate action. In addition, since the message is output not only by the display but also by voice, even a person who is difficult to see the display on the LCD display can easily understand the coping method.

【0039】他方、プリントヘッド17がキャリッジに
装着されていると判断した場合は(S205)、カラー
カートリッジが装着されているかどうかを判断する(S
206)。そして、カラーカートリッジが装着されてい
ないと判断した場合は、「カラーカートリッジをセット
してください」というカラープリントヘッド17のセッ
トを促すメッセージを、オペレーションパネル25上の
LCDディスプレイに表示するとともに、スピーカ32
で音声により報知し、その後、S201に戻る。このメ
ッセージによって、ユーザはコピーが実行されない原因
がカラーカートリッジが装着されていないことだと分か
るので、直ぐに対応することができる。また、表示だけ
でなく音声でもメッセージが出力されるので、LCDデ
ィスプレイの表示が見えにくい人であっても対処方法が
分かりやすい。また、カートリッジの種類を判別してか
らカラーコピー動作に入るため、カラーカートリッジが
装着されていないのに、カラーコピー動作(原稿の読み
取り/記録)を実行するといった不具合も発生しないこ
とになる。
On the other hand, if it is determined that the print head 17 is mounted on the carriage (S205), it is determined whether a color cartridge is mounted (S205).
206). If it is determined that the color cartridge is not mounted, a message prompting to set the color print head 17 "Please set the color cartridge" is displayed on the LCD display on the operation panel 25 and the speaker 32 is displayed.
, And then returns to S201. By this message, the user knows that the cause of the non-execution of copying is that the color cartridge is not mounted, and can take immediate action. In addition, since the message is output not only by the display but also by voice, even a person who cannot easily see the display on the LCD display can easily understand the coping method. Further, since the color copy operation is started after the type of the cartridge is determined, there is no problem that the color copy operation (document reading / recording) is executed even though the color cartridge is not mounted.

【0040】他方、カラーカートリッジが装着されてい
ると判断した場合は(S206)、図示しない用紙サイ
ズ検出センサの出力によって、用紙のサイズを検出し
(S207)、さらに、原稿検出センサ21の出力によ
って、原稿の幅を検出する(S208)。原稿の幅を検
出した後、プリスキャン動作を行う(S209)。プリ
スキャン動作については後述する。プリスキャン後、用
紙のサイズと原稿のサイズを基に、用紙に記録できる読
み取り幅を、図2の画像処理ゲートアレイ16内のマス
ク領域・縮小率設定レジスタ314にストアし、カラー
ルックアップテーブルを書き込む(S210)。ここ
で、画像処理ゲートアレイ16では、主走査方向の読み
取り幅以外のマスク処理、解像度変換を行い、DRAM
18内のデータに基づいて、CPU1が副走査方向の解
像度変換を行う。これによって、読取センサ12で読み
取った画像データで用紙に記録できない部分の画像デー
タがマスキング処理される。
On the other hand, if it is determined that the color cartridge is mounted (S206), the size of the paper is detected by the output of a paper size detection sensor (not shown) (S207). Then, the width of the document is detected (S208). After detecting the width of the document, a prescan operation is performed (S209). The pre-scan operation will be described later. After the prescan, the reading width that can be recorded on the paper is stored in the mask area / reduction ratio setting register 314 in the image processing gate array 16 in FIG. 2 based on the paper size and the document size, and the color lookup table is stored. Write (S210). Here, the image processing gate array 16 performs mask processing other than the reading width in the main scanning direction and resolution conversion, and performs DRAM conversion.
The CPU 1 performs resolution conversion in the sub-scanning direction based on the data in. As a result, the image data read by the reading sensor 12 and which cannot be recorded on the sheet is subjected to masking processing.

【0041】本画像形成装置では、用紙のサイズよりも
原稿のサイズが大きい場合に、用紙のサイズに合わせた
画像領域を読み取ることができるようになっている。こ
こで、用紙のサイズと原稿のサイズが異なるにもかかわ
らず画像の読み取りを実行する理由は、本画像形成装置
は主に家庭向けに作られており、家庭では様々なサイズ
の用紙を常備しておくことは一般的でないからである。
もし、用紙と原稿のサイズが異なっただけでコピーを行
わないと、ユーザは、多くの場合、用紙を新たに購入す
るという不都合が生じる。また、用紙のサイズに合わせ
て縮小処理を行わないのは、カラー画像の場合変倍処理
による画像の劣化が著しいためである。特に、高価なカ
ラーの変倍処理を行うと、本画像形成装置のように家庭
用の安価な装置を提供できなくなってしまう。
In the present image forming apparatus, when the size of the original is larger than the size of the paper, an image area corresponding to the size of the paper can be read. Here, the reason why the image is read despite the difference between the paper size and the original size is that the image forming apparatus is mainly designed for home use, and homes are always equipped with various sizes of paper. This is because it is not common.
If copying is not performed simply because the size of the sheet and the document are different, the user often has a disadvantage of purchasing a new sheet. The reason why the reduction process is not performed according to the size of the sheet is that in the case of a color image, the image is significantly deteriorated due to the scaling process. In particular, if an expensive color scaling process is performed, it becomes impossible to provide an inexpensive home-use device like the present image forming apparatus.

【0042】用紙に記録できる読み取り幅を、画像処理
ゲートアレイ16内マスク領域・縮小率設定レジスタ3
14(図2)にセットすると、カラー画像読み取り処理
を行い(S211)、カラー画像記録処理を行い(S2
12)、その後、コピー処理を終了する。
The read width that can be recorded on the paper is determined by the mask area / reduction ratio setting register 3 in the image processing gate array 16.
14 (FIG. 2), a color image reading process is performed (S211), and a color image recording process is performed (S2).
12) Then, the copy processing ends.

【0043】他方、モノクロコピーが指示されていると
判断した場合は(S201)、原稿がセットされている
かどうかを、原稿検出センサ21の出力によって判断す
る(S217)。そして、原稿がセットされていないと
判断した場合は、「原稿をセットしてください」という
原稿のセットを促すメッセージを、オペレーションパネ
ル25上のLCDディスプレイディスプレイに表示する
とともに、スピーカ32で音声により報知し(S22
6)、その後、S201に戻る。このメッセージによっ
て、ユーザはコピーが実行されない原因が原稿がないこ
とだと分かるので、直ぐに対応することができる。ま
た、表示だけでなく音声でもメッセージが出力されるの
で、LCDディスプレイの表示が見えにくい人であって
も対処方法が分かりやすい。
On the other hand, if it is determined that monochrome copying has been instructed (S201), it is determined whether or not a document has been set based on the output of the document detection sensor 21 (S217). If it is determined that the original is not set, a message urging the user to set the original is displayed on the LCD display on the operation panel 25, and the speaker 32 issues a voice message. (S22
6) Then, the process returns to S201. By this message, the user knows that the cause of the non-execution of copying is that there is no original, and can take immediate action. In addition, since the message is output not only by the display but also by voice, even a person who cannot easily see the display on the LCD display can easily understand the coping method.

【0044】他方、原稿がセットされていると判断した
場合は(S217)、用紙があるかどうかを用紙検出セ
ンサ22の出力によって判断する(S218)。そし
て、用紙がセットされていないと判断した場合は、「用
紙をセットしてください」という用紙のセットを促すメ
ッセージを、オペレーションパネル25上のLCDディ
スプレイに表示するとともに、スピーカ32で音声によ
り報知し(S227)、その後、S201に戻る。この
メッセージによって、ユーザはコピーが実行されない原
因が用紙がないことだと分かるので、直ぐに対応するこ
とができる。また、表示だけでなく音声でもメッセージ
が出力されるので、LCDディスプレイの表示が見えに
くい人であっても対処方法が分かり易い。
On the other hand, if it is determined that a document is set (S217), it is determined whether there is a sheet based on the output of the sheet detection sensor 22 (S218). If it is determined that the paper is not set, a message prompting the user to set the paper is displayed on the LCD display on the operation panel 25, and the speaker 32 notifies the user by voice. (S227), and then return to S201. By this message, the user knows that the cause of the non-execution of copying is that there is no paper, and can take immediate action. In addition, since the message is output not only by the display but also by voice, it is easy for a person who cannot easily see the display on the LCD display to understand the coping method.

【0045】他方、用紙がセットされていると判断した
場合は(S218)、プリントヘッド17がキャリッジ
に装着されているかどうかを、プリントカートリッジセ
ンサ20により判断する(S219)。そして、キャリ
ッジに装着されていないと判断した場合は、「カートリ
ッジをセットしてください」というプリントヘッド17
のセットを促すメッセージを、オペレーションパネル2
5上のLCDディスプレイに表示するとともに、スピー
カ32で音声により報知し(S228)、その後、S2
01に戻る。このメッセージによって、ユーザはコピー
が実行されない原因がプリントヘッド17がないことだ
と分かるので、直ぐに対応することができる。また、表
示だけでなく音声でもメッセージを出力するので、LC
Dディスプレイの表示が見えにくい人であっても対処方
法が分かりやすい。
On the other hand, if it is determined that a sheet is set (S218), it is determined by the print cartridge sensor 20 whether the print head 17 is mounted on the carriage (S219). If it is determined that the print head is not mounted on the carriage, the print head 17 "set a cartridge" is displayed.
Operation panel 2
5 is displayed on the LCD display, and is notified by voice through the speaker 32 (S228).
Return to 01. By this message, the user knows that the cause of the non-execution of the copy is the absence of the print head 17, and can take an immediate action. In addition, since messages are output not only by display but also by voice, LC
The coping method is easy to understand even for a person who cannot easily see the display on the D display.

【0046】他方、プリントヘッド17がキャリッジに
装着されている場合は(S219)、図示しない用紙サ
イズ検出センサの出力によって用紙のサイズを検出し
(S220)、原稿検出センサ21の出力によって原稿
の幅を検出する(S221)。そして、プリスキャンを
行う(S222)。プリスキャンについては後述する。
On the other hand, when the print head 17 is mounted on the carriage (S219), the size of the sheet is detected by the output of a sheet size detection sensor (not shown) (S220), and the width of the document is determined by the output of the document detection sensor 21. Is detected (S221). Then, a prescan is performed (S222). The pre-scan will be described later.

【0047】プリスキャンを行った後、用紙のサイズと
原稿のサイズを基に、用紙にあったサイズになるよう
に、縮小率を、画像処理ゲートアレイ16のマスク領域
・縮小率設定レジスタ314(図2)にセットし、モノ
クロルックアップテーブルを書き込む(S223)。こ
こで、画像処理ゲートアレイ16では、主走査方向の読
み取り幅以外のマスク処理、縮小率に合わせた解像度変
換を行う。
After performing the pre-scan, the reduction ratio is set based on the paper size and the original size so as to have a size suitable for the paper, by setting the mask area / reduction ratio setting register 314 (of the image processing gate array 16). 2), and a monochrome lookup table is written (S223). Here, the image processing gate array 16 performs mask processing other than the reading width in the main scanning direction and resolution conversion in accordance with the reduction ratio.

【0048】モノクロ画像読み取り処理を行い(S22
4)、モノクロ画像記録処理を行い(S225)、その
後、コピー処理を終了する。
A monochrome image reading process is performed (S22).
4) A monochrome image recording process is performed (S225), and then the copy process ends.

【0049】図4は図2の画像処理ゲート処理アレイ1
6によるプリスキャン動作の一例を示すフローチャート
である。ハンドスキャンユニットが本体に格納されてい
るとき、プリスキャンが指示されると、プリスキャンが
開始される。カラー読み取りの場合でも、モノクロ読み
取りの場合でも、プリスキャン動作は同じである。
FIG. 4 shows the image processing gate processing array 1 of FIG.
6 is a flowchart illustrating an example of a pre-scan operation according to Example 6. When the prescan is instructed while the hand scan unit is stored in the main body, the prescan is started. The pre-scan operation is the same in both color reading and monochrome reading.

【0050】点灯モード設定レジスタ306にカラーモ
ードを設定する(S501)。この点灯モード設定レジ
スタ306の設定によって、3色の光源の時分割切り換
えが点灯光源切換回路317にセットされる。そして、
赤色、緑色、青色LED光源13,14,15をそれぞ
れ点灯させることを点灯モード設定レジスタ306に設
定する(S502)。ついで、自動調整モードを点灯時
間制御レジスタ302に設定する(S503)。本画像
形成装置では、カラー画像は1ライン当たり7.5msec
で読み取られ、モノクロ画像は1ライン当たり2.5ms
ecで読み取られる。
The color mode is set in the lighting mode setting register 306 (S501). By the setting of the lighting mode setting register 306, the time division switching of the three color light sources is set in the lighting light source switching circuit 317. And
Lighting of the red, green, and blue LED light sources 13, 14, 15 is set in the lighting mode setting register 306 (S502). Next, the automatic adjustment mode is set in the lighting time control register 302 (S503). In this image forming apparatus, a color image is 7.5 msec per line.
Is read, the monochrome image is 2.5ms per line
Read in ec.

【0051】その後、CPU1によりトリガが与えられ
ると、まず、赤色LED光源13が最大点灯時間、例え
ば、2.5msec点灯される。最大点灯時間は点灯時間カ
ウンタ305でカウントされ、カウンタで設定されてい
る時間だけ、点灯電流制御回路307の出力がONにな
って、赤色LED光源13に電流が供給され、赤色LE
D光源13が点灯される。
Thereafter, when a trigger is given by the CPU 1, the red LED light source 13 is first turned on for a maximum lighting time, for example, 2.5 msec. The maximum lighting time is counted by the lighting time counter 305, and the output of the lighting current control circuit 307 is turned ON for the time set by the counter, and the current is supplied to the red LED light source 13 and the red LE
The D light source 13 is turned on.

【0052】そして、赤色LED光源13により不図示
の白色板が照され、その白色板からの反射光が読取セン
サ12で受光されると、受光された光は読取センサ12
内で光電変換されて、アナログ電気信号としてA/D変
換回路301に出力される。A/D変換回路301で
は、入力されたアナログ電気信号が10ビットのデジタ
ル信号に変換される。ついで、このデジタル信号がオー
バフローしているかどうかが、光量オーバフロー検出回
路304により検出される。そして、光量オーバフロー
検出回路304で光量のオーバフローが検出されると、
点灯時間自動調整回路305にトリガが与えられる。
Then, a white plate (not shown) is illuminated by the red LED light source 13 and the reflected light from the white plate is received by the reading sensor 12.
The signal is photoelectrically converted and output to the A / D conversion circuit 301 as an analog electric signal. In the A / D conversion circuit 301, the input analog electric signal is converted into a 10-bit digital signal. Next, the light amount overflow detection circuit 304 detects whether or not the digital signal has overflowed. When the light amount overflow detection circuit 304 detects a light amount overflow,
A trigger is given to the lighting time automatic adjustment circuit 305.

【0053】光量のオーバフローが検出されると、最大
点灯時間から所定時間減算した値(ここでは、2.5ms
ecから2.5/16msecを減算した値)が点灯時間カウ
ンタ303にセットされる。そして、この新たにセット
された値に基づいて、再度、赤色LED光源13が点灯
され、光量オーバフロー検出回路304により光量のオ
ーバフローが検出される。光量のオーバフローが発生し
た場合は、点灯時間自動調整回路305は点灯時間カウ
ンタ303にセットされている点灯時間の値から、再
度、前記所定時間を減算し、得られた値を新たにセット
する。その後、この処理を繰り返し、光量のオーバフロ
ーがなくなった最初の値が、赤色LED光源13の点灯
時間として点灯時間レジスタ302にセットされる。そ
して、この赤色LED光源13の点灯時間に基づいて、
セットされている原稿が読み取られることになる。
When an overflow of the light amount is detected, a value obtained by subtracting a predetermined time from the maximum lighting time (here, 2.5 ms)
(a value obtained by subtracting 2.5 / 16 msec from ec) is set in the lighting time counter 303. Then, based on the newly set value, the red LED light source 13 is turned on again, and the light amount overflow detection circuit 304 detects the light amount overflow. When the light amount overflows, the automatic lighting time adjustment circuit 305 subtracts the predetermined time again from the value of the lighting time set in the lighting time counter 303 and newly sets the obtained value. Thereafter, this process is repeated, and the first value at which the overflow of the light amount has disappeared is set in the lighting time register 302 as the lighting time of the red LED light source 13. Then, based on the lighting time of the red LED light source 13,
The set document is read.

【0054】この処理は、緑色LED光源14と、青色
LED光源15についても、2.5msecごとに時分割に
切り換えながら同様に行われる。
This process is similarly performed for the green LED light source 14 and the blue LED light source 15 while switching over time division every 2.5 msec.

【0055】各色のLED光源の点灯時間の調整が終了
すると、CPU1は各色のLED光源を全て消灯し(S
504)、全ての光源を消灯した状態で、黒補正の指示
をシェーディング/黒補正回路310に対して行う。そ
して、読み取り読取センサ12の各画素ごとの出力のば
らつきを補正する黒補正を行う(S505)。黒補正デ
ータが求められると、黒補正のデータを補正データ蓄積
部311に蓄積し、ついで、CPU1は点灯させる光源
(赤色、緑色、青色LED光源)の種類を点灯モード設
定レジスタ506に設定する(S506)。S503で
求めた各光源の点灯時間に基づいて、各色ごとに時分割
にシェーディング補正を行う指示を画像処理ゲートアレ
イ16に指示する(S507)。シェーディング/黒補
正回路310は不図示の白板を読み取ってシェーディン
グ補正を行い、補正データ蓄積部311に各色ごとの補
正データを蓄積する。
When the adjustment of the lighting time of the LED light source of each color is completed, the CPU 1 turns off all the LED light sources of each color (S1).
504) In the state where all the light sources are turned off, a black correction instruction is issued to the shading / black correction circuit 310. Then, black correction for correcting variations in output of each pixel of the reading / reading sensor 12 is performed (S505). When the black correction data is obtained, the black correction data is stored in the correction data storage unit 311, and the CPU 1 sets the type of the light source to be turned on (red, green, and blue LED light sources) in the lighting mode setting register 506 ( S506). Based on the lighting time of each light source obtained in S503, the image processing gate array 16 is instructed to perform shading correction in a time division manner for each color (S507). The shading / black correction circuit 310 reads a white plate (not shown) to perform shading correction, and stores correction data for each color in the correction data storage unit 311.

【0056】全色のシェーディング補正が完了したかど
うかを判断し(S508)、完了していないと判断した
場合は、完了するのを待ち、他方、完了していると判断
した場合は、プリスキャン処理を終了する。
It is determined whether or not the shading correction of all colors has been completed (S508). If it is determined that the shading correction has not been completed, the process waits for completion. The process ends.

【0057】モノクロ読み取りが指示された場合は、S
503で求めた緑色LED光源14の点灯時間に従っ
て、緑色LED光源14を点灯させる。シェーディング
/黒補正データはカラー時のデータと共用するので、新
たに取得されることはない。
If monochrome reading is instructed, S
The green LED light source 14 is turned on according to the lighting time of the green LED light source 14 obtained in 503. Since the shading / black correction data is shared with the data for color, it is not newly acquired.

【0058】なお、シート読みの場合には、読み取り動
作ごとにLED光源の点灯時間の調整と白基準、暗出力
データの取得が行われるが、これと同じ動作は、電源投
入時の初期設定時にも行なわれる。これは、電源搬入直
後にハンドスキャン動作を可能にするためであり、電源
投入時にハンドスキャナが本体からはずれている場合に
は、本体に取り付けるようにユーザに促すメッセージ
を、オペレーションパネル25のLCDディスプレイに
表示するとともに、スピーカ32で音声により報知す
る。
In the case of sheet reading, adjustment of the lighting time of the LED light source and acquisition of white reference and dark output data are performed for each reading operation. The same operation is performed at the time of initial setting at power-on. Is also performed. This is to enable the hand scan operation immediately after the power is supplied. If the hand scanner is detached from the main unit when the power is turned on, a message prompting the user to attach the main unit to the main unit is displayed on the LCD panel of the operation panel 25. At the same time, and the sound is notified by the speaker 32.

【0059】図5はハンドスキャン時の点灯時間制御手
順の一例を示すフローチャートである。ハンドスキャン
モードでの読み取り指示があると、有効なシェーディン
グデータの有無を確認し(S401)、データがないと
確認した場合は、エラーメッセージをオペレーションパ
ネル25のLCDディスプレイに表示するとともに、ス
ピーカ32で音声により報知し(S410)、エラー終
了となる。
FIG. 5 is a flowchart showing an example of a lighting time control procedure at the time of hand scanning. If there is a reading instruction in the hand scan mode, the presence or absence of valid shading data is checked (S401). If there is no data, an error message is displayed on the LCD display of the operation panel 25 and the speaker 32 is used. Notification is made by voice (S410), and the processing ends with an error.

【0060】他方、有効なシェーディングデータがある
場合は(S401)、モノクロまたはカラーモードのい
ずれかに応じて、各種設定を行い(S402)、カラー
モードまたはモノクロモードのいずれであるかを判断す
る(S403)。カラーモードと判断した場合は、R,
G,B各色の点灯制御パラメータを設定し(S40
4)、モノクロモードと判断した場合は、Gの点灯制御
パラメータを設定する(S405)。この際に指定する
点灯時間は、前述した、ハンドスキャナユニットを本体
格納状態でプリスキャン動作を行った際に決定した値を
用いる。
On the other hand, if there is valid shading data (S401), various settings are made according to the monochrome mode or the color mode (S402), and it is determined whether the mode is the color mode or the monochrome mode (S401). S403). If the color mode is determined, R,
The lighting control parameters for each of the G and B colors are set (S40).
4) If it is determined that the mode is the monochrome mode, the lighting control parameter of G is set (S405). As the lighting time designated at this time, the value determined when the pre-scanning operation is performed with the hand scanner unit stored in the main body described above is used.

【0061】ついで、点灯時間を自動調整せず、書き込
んだ値に従って点灯するように、点灯制御レジスタ30
2を主動調整モードに設定し(S406)、LED光源
を点灯させ(S407)、その後、プリスキャン動作を
終了する。
Next, the lighting control register 30 controls the lighting according to the written value without automatically adjusting the lighting time.
2 is set to the main adjustment mode (S406), the LED light source is turned on (S407), and then the prescan operation ends.

【0062】図6は図2のRGB/YMCK変換回路3
12の構成を示す。図6において、601はレジスタで
あって、R(red ),G(green ),B(blue)ライン
順次に入力される輝度データを1画素分記憶するための
ものである。
FIG. 6 shows the RGB / YMCK conversion circuit 3 shown in FIG.
12 shows the configuration. In FIG. 6, reference numeral 601 denotes a register for storing one pixel of luminance data input in the order of R (red), G (green), and B (blue) lines.

【0063】602はレジスタ601からの出力をアド
レスとするR成分の輝度−濃度変換用LUT RAMで
ある。603はレジスタ601からの出力をアドレスと
するG成分の輝度−濃度変換用LUT RAMである。
604はレジスタ601からの出力をアドレスとするB
成分の輝度−濃度変換用LUT RAMである。
Reference numeral 602 denotes an R component luminance-density conversion LUT RAM having an output from the register 601 as an address. Reference numeral 603 denotes a G component luminance-density conversion LUT RAM having an output from the register 601 as an address.
Reference numeral 604 denotes B whose address is the output from the register 601.
This is a LUT RAM for luminance-density conversion of components.

【0064】605はセレクタであって、入力画素色に
応じて、輝度−濃度変換用LUTRAM602,60
3,604の出力を切り換えて出力するものである。6
07は遅延バッファであって、ライン順次で入力される
R,G,Bデータの同期を取るためのものである。60
6はバッファ制御回路であって、画像データの遅延バッ
ファ607への書き込み、読み出しを制御するものであ
る。
Reference numeral 605 denotes a selector, which is a luminance-density conversion LUTRAM 602, 60 according to the input pixel color.
3, 604. 6
Reference numeral 07 denotes a delay buffer for synchronizing R, G, and B data input in line order. 60
A buffer control circuit 6 controls writing and reading of image data to and from the delay buffer 607.

【0065】608はUCR(under color removal )
回路であり、設定された閾値(UCRT/H )の値と、入力
されたシアン成分の値C,マゼンタ成分の値M,イエロ
ー成分の値Yとから、ブラック成分の値Kを生成するも
のである。すなわち、ブラック成分の値Kは、 min(C,M,Y) > UCR T/Hの場合は、K=min(C,M,Y) −
UCR T/H、 min(C,M,Y) < UCR T/Hの場合は、K=0 である。
608 is UCR (under color removal)
A circuit for generating a black component value K from a set threshold value (UCRT / H), an input cyan component value C, a magenta component value M, and a yellow component value Y. is there. That is, when the value K of the black component is min (C, M, Y)> UCRT / H, K = min (C, M, Y) −
In the case of UCR T / H, min (C, M, Y) <UCRT / H, K = 0.

【0066】レジスタ609はシアン成分画素を一時格
納するためのものである。レジスタ609はマゼンタ成
分画素を一時格納するためのものである。レジスタ60
9はイエロー成分画素を一時格納するためのものであ
る。レジスタ609はブラック成分画素を一時格納する
ためのものである。
The register 609 is for temporarily storing cyan component pixels. The register 609 is for temporarily storing the magenta component pixel. Register 60
Numeral 9 is for temporarily storing yellow component pixels. The register 609 is for temporarily storing a black component pixel.

【0067】613〜628はレジスタ609〜612
の出力をアドレスとするマスキング演算用LUT RA
Mである。
613 to 628 are registers 609 to 612
LUT RA for masking operation using the output of
M.

【0068】629は加算器であり、マスキング演算用
LUT RAM613〜616の出力を加算するもので
ある。630は加算器であり、マスキング演算用LUT
RAM617〜620の出力を加算するものである。
631は加算器であり、マスキング演算用LUT RA
M621〜624の出力を加算するものである。632
は加算器であり、マスキング演算用LUT RAM62
5〜628の出力を加算するものである。
Reference numeral 629 denotes an adder for adding the outputs of the masking calculation LUT RAMs 613 to 616. 630 is an adder, which is an LUT for masking operation
The outputs of the RAMs 617 to 620 are added.
Reference numeral 631 denotes an adder, which is an LUT RA for masking operation.
The outputs of M621 to M624 are added. 632
Is an adder, and a masking calculation LUT RAM 62
5 to 628 are added.

【0069】633は加算器629からの出力をアドレ
スとするシアン成分の出力γ変換用LUT RAMであ
る。634は加算器629からの出力をアドレスとする
マゼンタ成分の出力γ変換用LUT RAMである。6
35は加算器629からの出力をアドレスとするイエロ
ー成分の出力γ変換用LUT RAMである。636は
加算器629からの出力をアドレスとするブラック成分
の出力γ変換用LUTRAMである。
Reference numeral 633 denotes a cyan component output γ conversion LUT RAM having the output from the adder 629 as an address. Reference numeral 634 denotes an output gamma conversion LUT RAM for a magenta component whose address is the output from the adder 629. 6
Numeral 35 denotes an LUT RAM for output component γ conversion of a yellow component having an output from the adder 629 as an address. Reference numeral 636 denotes an LUTRAM for black component output γ conversion using the output from the adder 629 as an address.

【0070】次に、図2のRGB/YMCK変換回路3
12の動作を説明する。カラーコピー動作を開始する
際、CPU1から画像処理ゲートアレイ16に各種設定
を行い、前述したプリスキャン動作を行う(図2のS2
09)。プリスキャン動作が終了すると、ROM3に格
納されている輝度−濃度変換用LUTを、画像処理ゲー
トアレイ16内の輝度−濃度変換用LUT RAM60
2〜604に書き込み、色調の設定値をマスキング演算
用基準データに掛けて生成したマスキング演算用テーブ
ルを、画像処理ゲートアレイ16内のマスキング演算用
LUT RAM613〜628に書き込む(図2のS2
10)。
Next, the RGB / YMCK conversion circuit 3 shown in FIG.
Operation 12 will be described. When the color copy operation is started, various settings are made from the CPU 1 to the image processing gate array 16 and the above-described pre-scan operation is performed (S2 in FIG. 2).
09). When the prescan operation is completed, the luminance-density conversion LUT stored in the ROM 3 is replaced with the luminance-density conversion LUT RAM 60 in the image processing gate array 16.
2 to 604, and a masking calculation table generated by multiplying the color tone set value by the masking calculation reference data is written to the masking calculation LUT RAMs 613 to 628 in the image processing gate array 16 (S2 in FIG. 2).
10).

【0071】色調の調整値として、シアン、マゼンタ、
イエロー、ブラックの各色について±50%、すなわ
ち、50%〜150%の範囲で設定可能である。この色
調の調整値は、オペレータがオペレーションパネル25
を操作して設定することができる。
The color tone adjustment values include cyan, magenta,
It can be set to ± 50% for each color of yellow and black, that is, in the range of 50% to 150%. The operator adjusts the color tone by using the operation panel 25.
Can be set by operating.

【0072】そして、例えば、シアン成分の調整値とし
て110%が設定された場合は、ROM3のマスキング
演算用基準データのシアン成分データ、すなわち、符号
付き12ビットの定数A11,A21,A31,A41
にそれぞれ110/100が乗算される。そして、演算
結果の誤差を抑えるため、得られた12ビットの乗算結
果が上位ビットの9ビットに丸められ、9ビットの定数
α11,α21,α31,α41が生成される。
For example, when the adjustment value of the cyan component is set to 110%, the cyan component data of the masking calculation reference data in the ROM 3, that is, the signed 12-bit constants A11, A21, A31, and A41.
Are multiplied by 110/100, respectively. Then, in order to suppress the error of the operation result, the obtained 12-bit multiplication result is rounded to the upper 9 bits, and 9-bit constants α11, α21, α31, α41 are generated.

【0073】例えば、マゼンタ成分の調整値が設定され
なかった場合は、マゼンタ成分データ、すなわち、符号
付き12ビットの定数A12,A22,A32,A42
がROM3から読み出され、演算結果の誤差を抑えるた
め上位ビットの9ビットに丸められ、9ビットの定数α
12,α22,α32,α42が生成される。
For example, when the adjustment value of the magenta component is not set, the magenta component data, that is, the signed 12-bit constants A12, A22, A32, and A42
Is read from the ROM 3 and rounded to the upper 9 bits to suppress an error in the operation result, and the 9-bit constant α
12, α22, α32 and α42 are generated.

【0074】従って、画像処理ゲートアレイ16内のマ
スキング演算用LUT RAM613,617,62
1,625には、レジスタ609に格納されているシア
ン成分の値C(C=0〜255)と、マスキング演算用
LUT RAM613,617,621,625にそれ
ぞれ格納された定数α11、α12、α13、α14と
の積が格納され、そして、入力されたシアン成分の値C
をアドレスとして、それぞれの積が出力される。
Therefore, the masking calculation LUT RAMs 613, 617, and 62 in the image processing gate array 16 are provided.
1,625, the cyan component value C (C = 0 to 255) stored in the register 609 and the constants α11, α12, α13 stored in the masking calculation LUT RAMs 613, 617, 621, and 625, respectively. The product with α14 is stored, and the input cyan component value C
Are used as addresses, and the respective products are output.

【0075】マスキング演算用LUT RAM614,
618,622,626には、レジスタ610に格納さ
れているマゼンタ成分の値M(M=0〜255)と、マ
スキング演算用LUT RAM614,618,62
2,626にそれぞれ格納されている定数α21、α2
2、α23、α24との積が格納され、そして、入力さ
れたシアン成分の値Cをアドレスとして、それぞれの積
が出力される。
LUT RAM 614 for masking operation
618, 622, and 626 store the value M (M = 0 to 255) of the magenta component stored in the register 610 and the LUT RAMs 614, 618, and 62 for the masking operation.
Constants α21 and α2 stored in
The product of 2, α23, and α24 is stored, and the respective products are output using the input cyan component value C as an address.

【0076】マスキング演算用LUT RAM615,
619,623,627には、レジスタ611に格納さ
れているイエロー成分の値Y(Y=0〜255)と、マ
スキング演算用LUT RAM615,619,62
3,627にそれぞれ格納されている定数α31、α3
2、α33、α34との積が格納され、そして、入力さ
れたシアン成分の値Cをアドレスとして、それぞれの積
が出力される。
LUT RAM 615 for masking operation
619, 623, and 627, the yellow component value Y (Y = 0 to 255) stored in the register 611 and the masking calculation LUT RAMs 615, 619, and 62
Constants α31 and α3 stored in
The product of 2, α33, and α34 is stored, and the respective products are output using the input cyan component value C as an address.

【0077】マスキング演算用LUT RAM616,
620,624,628には、レジスタ612に格納さ
れているブラック成分の値K(K=0〜255)と、マ
スキング演算用LUT RAM616,620,62
4,628にそれぞれ格納されている定数α41、α4
2、α43、α44との積が格納される、そして、入力
されたシアン成分の値Cをアドレスとして、それぞれの
積が出力される。すなわち、マスキング演算用LUT
RAM613には、α11×Cの演算結果が格納され、
マスキング演算用LUT RAM617には、α21×
Cの演算結果が格納され、マスキング演算用LUT R
AM621には、α31×Cの演算結果が格納され、マ
スキング演算用LUT RAM625には、α41×C
の演算結果が格納され、マスキング演算用LUT RA
M614には、α12×Mの演算結果が格納され、マス
キング演算用LUT RAM618には、α22×Mの
演算結果が格納され、マスキング演算用LUT RAM
622には、α32×Mの演算結果が格納され、マスキ
ング演算用LUT RAM626には、α42×Mの演
算結果が格納され、マスキング演算用LUT RAM6
15には、α13×Yの演算結果が格納され、マスキン
グ演算用LUT RAM619には、α23×Yの演算
結果が格納され、マスキング演算用LUT RAM62
3には、α33×Yの演算結果が格納され、マスキング
演算用LUT RAM627には、α43×Yの演算結
果が格納され、マスキング演算用LUT RAM616
には、α14×Kの演算結果が格納され、マスキング演
算用LUT RAM620には、α24×Kの演算結果
が格納され、マスキング演算用LUT RAM624に
は、α34×Kの演算結果が格納され、マスキング演算
用LUT RAM628には、α44×Kの演算結果が
格納される。
LUT RAM 616 for masking operation
620, 624, and 628 store the value K (K = 0 to 255) of the black component stored in the register 612 and the LUT RAMs 616, 620, and 62 for the masking operation.
Constants α41 and α4 stored in
The product of 2, 43, and 44 is stored, and each product is output using the input cyan component value C as an address. That is, the masking calculation LUT
The calculation result of α11 × C is stored in the RAM 613,
The masking calculation LUT RAM 617 has α21 ×
The calculation result of C is stored and the masking calculation LUT R
The AM 621 stores the calculation result of α31 × C, and the masking calculation LUT RAM 625 stores α41 × C
Of the masking calculation LUT RA
The calculation result of α12 × M is stored in M614, and the calculation result of α22 × M is stored in the LUT RAM 618 for masking calculation, and the LUT RAM for masking calculation is stored.
622 stores an operation result of α32 × M, and a masking operation LUT RAM 626 stores an operation result of α42 × M, and a masking operation LUT RAM6.
15 stores the calculation result of α13 × Y, and the LUT RAM 619 for masking calculation stores the calculation result of α23 × Y, and the LUT RAM 62 for masking calculation.
3 stores the calculation result of α33 × Y, and the LUT RAM 627 for masking calculation stores the calculation result of α43 × Y, and the LUT RAM 616 for masking calculation.
Stores the calculation result of α14 × K, the masking calculation LUT RAM 620 stores the calculation result of α24 × K, and the masking calculation LUT RAM 624 stores the calculation result of α34 × K. The calculation LUT RAM 628 stores the calculation result of α44 × K.

【0078】次に、色変換処理を説明する。R、G、B
ライン順次にRGB/CMYK変換回路312入力され
てくるデータは、R、G、B成分ごとに設けた輝度−濃
度変換テーブルRAM602〜604のアドレスとして
入力され、セレクタ605によりセレクト出力され、色
成分ごとに異なる変換が実行され、濃度信号C、M、Y
に変換される。セレクタ605からのデータは、一旦、
遅延バッファ607に蓄積される。遅延バッファ607
はシアン、マゼンタ成分1ライン分の容量を有する。遅
延バッファ607に蓄積されたデータは、Y成分が入力
されるのに同期して、遅延バッファ607から読み出さ
れ、UCR回路608によってブラック成分が生成さ
れ、シアン、マゼンタ、イエロー、ブラック成分はそれ
ぞれレジスタ609〜612に格納される。
Next, the color conversion processing will be described. R, G, B
Data input to the RGB / CMYK conversion circuit 312 in line order is input as an address of a luminance-density conversion table RAM 602 to 604 provided for each of R, G, and B components. Is performed, and the density signals C, M, Y
Is converted to The data from the selector 605 once
The data is accumulated in the delay buffer 607. Delay buffer 607
Has a capacity for one line of cyan and magenta components. The data stored in the delay buffer 607 is read out of the delay buffer 607 in synchronization with the input of the Y component, a black component is generated by the UCR circuit 608, and cyan, magenta, yellow, and black components are respectively These are stored in registers 609 to 612.

【0079】そして、レジスタ609〜612の出力
は、マスキング演算用LUT RAM613〜628の
アドレスとして入力される。
The outputs of the registers 609 to 612 are input as addresses of masking calculation LUT RAMs 613 to 628.

【0080】マスキング演算用LUT RAM613〜
616の出力は加算器629により加算され、加算結果
がマイナスであれば0にクランプされ、255以上であ
れば255にクランプされて、加算器629からシアン
成分のマスキング演算結果として出力γ変換用LUT
RAM633に出力される。
LUT RAM 613 for masking operation
The output of the adder 616 is added by an adder 629. If the addition result is negative, it is clamped to 0. If the addition result is 255 or more, it is clamped to 255.
Output to the RAM 633.

【0081】マスキング演算用LUT RAM617〜
620の出力は加算器630により加算され、加算結果
がマイナスであれば0にクランプされ、255以上であ
れば255にクランプされて、加算器630からマゼン
タ成分のマスキング演算結果として出力γ変換用LUT
RAM634に出力される。
LUT RAM 617 for masking operation
The output of the adder 620 is added by the adder 630. If the addition result is negative, it is clamped to 0, and if it is 255 or more, it is clamped to 255.
Output to RAM 634.

【0082】マスキング演算用LUT RAM621〜
624の出力は加算器631により加算され、加算結果
がマイナスであれば0にクランプされ、255以上であ
れば255にクランプされて、加算器631からイエロ
ー成分のマスキング演算結果として出力γ変換用LUT
RAM635に出力される。
LUT RAMs 621 to 621 for masking operation
The output from the adder 624 is added by an adder 631, and if the addition result is minus, it is clamped to 0;
Output to the RAM 635.

【0083】マスキング演算用LUT RAM625〜
628の出力は加算器632により加算され、加算結果
がマイナスであれば0にクランプされ、255以上であ
れば255にクランプされ、加算器632からブラック
成分のマスキング演算結果として出力γ変換用LUT
RAM636に出力される。
LUT RAM 625 for masking operation
The output of the adder 628 is added by the adder 632. If the addition result is negative, it is clamped to 0; if it is 255 or more, it is clamped to 255.
Output to RAM 636.

【0084】従って、RGB/YMCK変換回路312
では、
Therefore, the RGB / YMCK conversion circuit 312
Then

【0085】[0085]

【数2】 (Equation 2)

【0086】の演算が行われる。Is performed.

【0087】上記Amn(1≦m≦4,1≦n≦4)、
αmn(1≦m≦4,1≦n≦4)は、実際は、基準テ
ーブルと、基準テーブルに基づいて生成されたテーブル
とに対応しており、256×16の基準テーブルデータ
に基づいて変換テーブルデータが生成される。
The above Amn (1 ≦ m ≦ 4, 1 ≦ n ≦ 4),
.alpha.mn (1.ltoreq.m.ltoreq.4, 1.ltoreq.n.ltoreq.4) actually corresponds to a reference table and a table generated based on the reference table, and a conversion table based on 256.times.16 reference table data. Data is generated.

【0088】以上、本発明の概念を簡略化して、基準デ
ータを16個の定数のように取り扱った例を説明した
が、実際には、基準データは、12ビットの符号付き精
度で、例えば、A11に対応するテーブルで256個、
全てでは、256×16個のテーブルデータからなって
いる。
In the above, an example in which the concept of the present invention is simplified and the reference data is treated as 16 constants has been described. In practice, however, the reference data has a signed precision of 12 bits. 256 in the table corresponding to A11,
In all, the table data consists of 256 × 16 table data.

【0089】従って、α項に対する演算用LUT RA
Mに実際に書き込まれるデータの生成は、上記の例で
は、110/100はA11に対応する256個の基準
データに対してそれぞれ乗算され、上位9ビットに丸め
て256個のデータを得ることによって行われている。
Therefore, the calculation LUT RA for the α term
In the above example, the generation of data actually written to M is performed by multiplying 256 reference data corresponding to A11 by 110/100, and rounding up to the upper 9 bits to obtain 256 data. Is being done.

【0090】よって、基準データを定数とした場合よ
り、より細かな調整が可能になる。
Therefore, finer adjustment is possible than when the reference data is a constant.

【0091】[0091]

【発明の効果】以上、説明したように、本発明によれ
ば、上記のように構成したので、マスキング変換に関係
するルックアップテーブルの数を増大させずに、色調の
調整を行うことができる。
As described above, according to the present invention, as described above, the color tone can be adjusted without increasing the number of lookup tables related to masking conversion. .

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

【図1】本発明の一実施の形態を示すブロック図であ
る。
FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】図1の画像処理ゲートアレイ16の構成を示す
ブロック図である。
FIG. 2 is a block diagram showing a configuration of an image processing gate array 16 of FIG.

【図3】図1のROM3に格納される制御プログラムの
一例を示すフローチャートである。
FIG. 3 is a flowchart showing an example of a control program stored in a ROM 3 of FIG.

【図4】図1の画像処理ゲート処理アレイ16によるプ
リスキャン動作の一例を示すフローチャートである。
FIG. 4 is a flowchart illustrating an example of a prescan operation performed by the image processing gate processing array 16 of FIG. 1;

【図5】ハンドスキャン時の点灯時間制御手順の一例を
示すフローチャートである。
FIG. 5 is a flowchart illustrating an example of a lighting time control procedure during hand scanning.

【図6】図2のRGB/YMCK変換回路312の構成
を示すブロック図である。
FIG. 6 is a block diagram showing a configuration of an RGB / YMCK conversion circuit 312 in FIG. 2;

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

1 CPU2 バス 3 ROM 4 SRAM 12 読取センサ 13 赤色LED光源 14 緑色LED光源 15 青色LED光源 16 画像処理ゲートアレイ 18 DRAM 25 オペレーションパネル 26 多機能ゲートアレイ Reference Signs List 1 CPU 2 bus 3 ROM 4 SRAM 12 read sensor 13 red LED light source 14 green LED light source 15 blue LED light source 16 image processing gate array 18 DRAM 25 operation panel 26 multifunctional gate array

フロントページの続き Fターム(参考) 2H030 AA02 AD07 AD12 BB02 5B057 CA01 CA08 CA12 CB01 CB08 CB12 CC01 CE17 CE18 CH01 CH11 5C077 LL17 MP08 NP01 PP33 PP37 PP38 PQ12 PQ23 5C079 HB03 HB12 LA21 LB04 MA05 NA10 Continued on the front page F-term (reference) 2H030 AA02 AD07 AD12 BB02 5B057 CA01 CA08 CA12 CB01 CB08 CB12 CC01 CE17 CE18 CH01 CH11 5C077 LL17 MP08 NP01 PP33 PP37 PP38 PQ12 PQ23 5C079 HB03 HB12 LA21 LB04 MA05 NA10

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 カラー画像形成に供される色成分に対す
るマスキング演算用データよりなるルックアップテーブ
ルをストアしたルックアップテーブルストア手段と、 該ルックアップテーブルストア手段にストアされている
ルックアップテーブルに基づきカラー濃度に対して色変
換を行うマスキング演算手段とを有するカラー画像形成
装置において、 カラー画像形成に供される色成分に対するマスキング演
算用基準データよりなる単一の基準テーブルをストアし
たストア手段と、 色調の調整値を入力するための入力手段と、 該入力手段により調整値が入力された場合に、入力され
た色成分に対する調整値と、該色成分に対応するマスキ
ング演算用基準データとを乗算してマスキング演算用デ
ータを生成する生成手段と、 該生成手段により生成されたマスキング演算用データを
前記ルックアップテーブルに上書きする上書き手段とを
備えたことを特徴とするカラー画像形成装置。
1. A look-up table storing means for storing a look-up table comprising masking calculation data for a color component to be used for forming a color image, and a look-up table stored in the look-up table storing means. A color image forming apparatus having a masking operation unit for performing color conversion on color density, a storage unit storing a single reference table including masking operation reference data for color components provided for color image formation; Input means for inputting an adjustment value of a color tone; and when the adjustment value is input by the input means, multiplying the adjustment value for the input color component by the masking calculation reference data corresponding to the color component Generating means for generating masking calculation data, and generating by the generating means Color image forming apparatus characterized by comprising a overwriting means for overwriting the look-up table the masking operation for data.
【請求項2】 請求項1において、前記マスキング演算
用基準データの精度は、前記マスキング演算用データの
精度より大きくしたことを特徴とするカラー画像形成装
置。
2. The color image forming apparatus according to claim 1, wherein the precision of the masking calculation reference data is greater than the precision of the masking calculation data.
【請求項3】 請求項1において、前記生成手段は、前
記入力手段により入力されなかった色に対して、当該色
に対応するマスキング演算用基準データの精度を前記ル
ックアップテーブルのマスキング演算用データの精度に
合わせて調整しマスキング演算用データを生成すること
を特徴とするカラー画像形成装置。
3. The masking calculation data of the look-up table according to claim 1, wherein, for a color that has not been input by the input means, the generation unit determines the precision of the masking calculation reference data corresponding to the color. A color image forming apparatus that generates data for a masking operation by adjusting according to the accuracy of the image.
【請求項4】 カラー画像形成に供される色成分に対す
るマスキング演算用データよりなるルックアップテーブ
ルをストアしたルックアップテーブルストア手段と、該
ルックアップテーブルストア手段にストアされているル
ックアップテーブルに基づきカラー濃度に対して色変換
を行うマスキング演算手段とを有するカラー画像形成装
置のルックアップテーブル生成方法において、 色調の調整値が入力されたとき、入力された色成分に対
する調整値を、カラー画像形成に供される色成分に対す
るマスキング演算用基準データよりなる単一の基準テー
ブルをストアしたストア手段から読み出す読み出しステ
ップと、 入力された色成分に対する調整値と、該色成分に対応す
るマスキング演算用基準データであって前記ストア手段
から読み出されたマスキング演算用基準データとを乗算
してマスキング演算用データを生成する生成ステップ
と、 生成されたマスキング演算用データを前記ルックアップ
テーブルに上書きする上書きステップとを備えたことを
特徴とするルックアップテーブル生成方法。
4. A look-up table storing means for storing a look-up table comprising masking calculation data for a color component to be used for forming a color image, and a look-up table stored in the look-up table storing means. In a lookup table generating method for a color image forming apparatus having a masking operation unit for performing color conversion on a color density, when an adjustment value of a color tone is input, the adjustment value for the input color component is converted to a color image formation value. A reading step for reading out from a storage means storing a single reference table comprising masking calculation reference data for the color component provided to the color component; an adjustment value for the input color component; and a masking calculation reference corresponding to the color component. Data, read from the store means A look-up table comprising: a generating step of multiplying by masking calculation reference data to generate masking calculation data; and an overwriting step of overwriting the lookup table with the generated masking calculation data. Generation method.
【請求項5】 請求項4において、前記マスキング演算
用基準データの精度は、前記マスキング演算用データの
精度より大きくしたことを特徴とするルックアップテー
ブル生成方法。
5. The lookup table generating method according to claim 4, wherein the precision of the masking calculation reference data is greater than the precision of the masking calculation data.
【請求項6】 請求項4において、前記生成ステップ
は、調整値入力時に、入力されなかった色に対して、当
該色に対応するマスキング演算用基準データの精度を前
記ルックアップテーブルのマスキング演算用データの精
度に合わせて調整しマスキング演算用データを生成する
ことを特徴とするルックアップテーブル生成方法。
6. The masking operation according to claim 4, wherein, when the adjustment value is input, the accuracy of the masking operation reference data corresponding to the color that has not been input is adjusted for the masking operation of the lookup table. A lookup table generation method, wherein data is adjusted in accordance with data accuracy to generate masking calculation data.
JP10377654A 1998-12-29 1998-12-29 Color image forming device and method for generating lookup table Pending JP2000196904A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10377654A JP2000196904A (en) 1998-12-29 1998-12-29 Color image forming device and method for generating lookup table

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10377654A JP2000196904A (en) 1998-12-29 1998-12-29 Color image forming device and method for generating lookup table

Publications (1)

Publication Number Publication Date
JP2000196904A true JP2000196904A (en) 2000-07-14

Family

ID=18509046

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10377654A Pending JP2000196904A (en) 1998-12-29 1998-12-29 Color image forming device and method for generating lookup table

Country Status (1)

Country Link
JP (1) JP2000196904A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009060390A (en) * 2007-08-31 2009-03-19 Brother Ind Ltd Image processor, and image processing program
US8094343B2 (en) 2007-08-31 2012-01-10 Brother Kogyo Kabushiki Kaisha Image processor
US8159716B2 (en) 2007-08-31 2012-04-17 Brother Kogyo Kabushiki Kaisha Image processing device performing image correction by using a plurality of sample images
US8174731B2 (en) 2007-08-31 2012-05-08 Brother Kogyo Kabushiki Kaisha Image processing device outputting image for selecting sample image for image correction
US8311323B2 (en) 2007-08-31 2012-11-13 Brother Kogyo Kabushiki Kaisha Image processor for converting image by using image retrieved based on keyword
US8390905B2 (en) 2007-08-31 2013-03-05 Brother Kogyo Kabushiki Kaisha Image processing device extracting desired region to be used as model for image correction

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009060390A (en) * 2007-08-31 2009-03-19 Brother Ind Ltd Image processor, and image processing program
US8094343B2 (en) 2007-08-31 2012-01-10 Brother Kogyo Kabushiki Kaisha Image processor
US8159716B2 (en) 2007-08-31 2012-04-17 Brother Kogyo Kabushiki Kaisha Image processing device performing image correction by using a plurality of sample images
US8174731B2 (en) 2007-08-31 2012-05-08 Brother Kogyo Kabushiki Kaisha Image processing device outputting image for selecting sample image for image correction
US8284417B2 (en) 2007-08-31 2012-10-09 Brother Kogyo Kabushiki Kaisha Image processing device capable of preventing needless printing
US8311323B2 (en) 2007-08-31 2012-11-13 Brother Kogyo Kabushiki Kaisha Image processor for converting image by using image retrieved based on keyword
US8390905B2 (en) 2007-08-31 2013-03-05 Brother Kogyo Kabushiki Kaisha Image processing device extracting desired region to be used as model for image correction

Similar Documents

Publication Publication Date Title
US8395832B2 (en) Image processing apparatus
EP0562596B1 (en) Color image processing method and apparatus thereof
JPH11112791A (en) Image forming device
US20140160533A1 (en) Image processing apparatus and control method therefor
JP3420444B2 (en) Image forming apparatus, image forming method, and storage medium therefor
US8699791B2 (en) Image processing apparatus, method and storage medium for controlling monochromization and background removal processing
JP2000196904A (en) Color image forming device and method for generating lookup table
JP2017157971A (en) Image processing system, image processing method, and program
US6930808B2 (en) Image processing apparatus and method
JP3815465B2 (en) Color image processing device
US7444028B2 (en) Image processing apparatus for binarizing image data
JP4528170B2 (en) Document reading apparatus and copying apparatus
JP3780134B2 (en) Image reading apparatus and method
JP3564025B2 (en) Image processing apparatus and control method of the image processing apparatus
JP2002262035A (en) Image reader
JP2000287036A (en) Image reader, its method and computer-readable storage medium
JPH11177825A (en) Image processor
JP2001339602A (en) Image processing device
JP2000134431A (en) Image reader, image read method and storage medium
JP4903468B2 (en) Image processing apparatus and image processing method
JPH11179939A (en) Image-processing apparatus and method for controlling recording of the same
JP2006203949A (en) Color image processor
JP2001285656A (en) Color image processing method and color image processing apparatus, and color image forming device
WO2012137478A1 (en) Image reading system, information processing device, and program
JP2000134474A (en) Facsimile equipment and image output method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050513