JP2003338927A - Color image processing apparatus - Google Patents

Color image processing apparatus

Info

Publication number
JP2003338927A
JP2003338927A JP2002146152A JP2002146152A JP2003338927A JP 2003338927 A JP2003338927 A JP 2003338927A JP 2002146152 A JP2002146152 A JP 2002146152A JP 2002146152 A JP2002146152 A JP 2002146152A JP 2003338927 A JP2003338927 A JP 2003338927A
Authority
JP
Japan
Prior art keywords
processing apparatus
image processing
color image
color
computer
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.)
Withdrawn
Application number
JP2002146152A
Other languages
Japanese (ja)
Inventor
Yasunori Hashimoto
康訓 橋本
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 JP2002146152A priority Critical patent/JP2003338927A/en
Publication of JP2003338927A publication Critical patent/JP2003338927A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Color, Gradation (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To improve printing quality in the character region of a manuscript where characters and photos are mixed in a color copying operation. <P>SOLUTION: A color image processing apparatus is made of an interface section for making connection to a scanner section, a printing section, and a computer. The apparatus outputs image data outputted from the scanner section to the printing section when a copying operation is performed in a photo mode. Image data outputted from the scanner section are sent to the computer via the interface section when the copying operation is performed in a character photo mode. The data are received via the interface section for outputting by the printing section after character region judgment processing is performed at a computer side, and then gray conversion processing is performed. <P>COPYRIGHT: (C)2004,JPO

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 processing apparatus which reads a document in color and prints out in color.

【0002】[0002]

【従来の技術】図7は従来のカラー画像処理装置の例で
あり、本図を用いて動作の説明を行う。101は、原稿
を走査してRGBのアナログ信号を出力するCCD或い
はコンタクトセンサ等の画像撮像素子、102は、画像
撮像素子101から出力されるアナログ信号をディジタ
ル信号に変換するA/D変換器、104は、A/D変換
器102から出力された画像データを変倍処理する変倍
処理部、801は変倍処理部104から出力された画像
データを輝度濃度変換処理する輝度濃度変換処理部、1
03は、輝度濃度変換処理部801から出力された画像
データにマスキング処理を施すマスキング処理部、80
2は、マスキング処理部103から出力された画像信号
に濃度補正処理を施す濃度補正処理部、106は、濃度
補正処理部802から出力された画像データをプリント
出力するインクジェットプリンタ、107は、本カラー
画像処理装置の各部の制御を行うCPU、108は、C
PU107に接続され、ワークエリアとして使用される
RAM、109は、CPU107に接続され、CPU1
07で実行される命令コードを格納するROMである。
2. Description of the Related Art FIG. 7 shows an example of a conventional color image processing apparatus, the operation of which will be described with reference to FIG. Reference numeral 101 is an image pickup device such as a CCD or a contact sensor that scans a document and outputs RGB analog signals, 102 is an A / D converter that converts the analog signals output from the image pickup device 101 into digital signals, Reference numeral 104 is a scaling processing unit that performs scaling processing on the image data output from the A / D converter 102, 801 is a brightness density conversion processing unit that performs brightness density conversion processing on the image data output from the scaling processing unit 104, 1
Reference numeral 03 denotes a masking processing unit for performing a masking process on the image data output from the brightness / density conversion processing unit 801;
Reference numeral 2 is a density correction processing unit that performs density correction processing on the image signal output from the masking processing unit 103, 106 is an inkjet printer that prints out the image data output from the density correction processing unit 802, and 107 is the main color A CPU 108 for controlling each unit of the image processing apparatus is a C
A RAM 109 connected to the PU 107 and used as a work area is connected to the CPU 107, and the CPU 1
This is a ROM that stores the instruction code executed in 07.

【0003】図8は、本カラー画像処理装置によるカラ
ー複写動作の手順を示すフローチャートであり、本図を
用いて動作を説明する。
FIG. 8 is a flow chart showing the procedure of a color copying operation by this color image processing apparatus, and the operation will be described with reference to this figure.

【0004】まず画像撮像素子101で原稿を走査して
アナログ信号を出力する(ステップS901)。次にA
/D変換器102でA/D変換処理を行いアナログ信号
をディジタル信号に変換する(ステップS902)。
First, the image pickup device 101 scans a document to output an analog signal (step S901). Then A
A / D converter 102 performs A / D conversion processing to convert the analog signal into a digital signal (step S902).

【0005】次に変倍処理を行う。スキャナ部のCCD
の画素密度からプリンタ部のヘッドの画素密度に変倍を
行う。変倍の方法は線形補間法或いはSPC法等による
(ステップS903)。
Next, a scaling process is performed. Scanner CCD
The pixel density of the printer unit is changed to the pixel density of the head of the printer unit. The scaling method is a linear interpolation method or an SPC method (step S903).

【0006】変倍処理された画像データはRGBの輝度
信号からCMYの濃度信号への変換を行う(ステップS
904)。輝度濃度変換は色毎にテーブル参照により行
われる。図5にテーブルに格納される特性の例を示す。
横軸は輝度レベルの入力で、縦軸は濃度レベルの出力で
ある。
The image data subjected to the scaling processing is converted from RGB luminance signals into CMY density signals (step S).
904). The brightness density conversion is performed for each color by referring to a table. FIG. 5 shows an example of the characteristics stored in the table.
The horizontal axis represents the luminance level input, and the vertical axis represents the density level output.

【0007】次に画像撮像素子の特性の色空間の画像デ
ータをマスキング処理によりインクジェットプリンタの
特性の色空間に変換する(ステップS905)。
Next, the image data in the characteristic color space of the image pickup device is converted into the characteristic color space of the ink jet printer by masking processing (step S905).

【0008】マスキング処理の演算の方法は、CMYを
入力画像値とし、C′M′Y′を出力画像値とした場
合、次式、すなわち、
The calculation method of the masking process is as follows when CMY is an input image value and C'M'Y 'is an output image value.

【外1】 [Outer 1]

【0009】により行われる。[0009]

【0010】さらにインクジェットプリンタ106の特
性に合わせる為、CMYの各色毎にテーブル参照により
濃度補正処理を行う(ステップS906)。図6にテー
ブルに格納される特性の例を示す。横軸は入力レベルで
縦軸が出力レベルである。
Further, in order to match the characteristics of the ink jet printer 106, density correction processing is performed for each color of CMY by referring to a table (step S906). FIG. 6 shows an example of characteristics stored in the table. The horizontal axis is the input level and the vertical axis is the output level.

【0011】次にCMYの多値信号をインクジェットプ
リンタ106から出力するために誤差拡散法により2値
信号に変換する(ステップS907)。
Next, the CMY multivalued signal is converted into a binary signal by the error diffusion method in order to be output from the ink jet printer 106 (step S907).

【0012】最後に2値化したCMYの信号をインクジ
ェットプリンタ106から出力して(ステップS90
8)本カラー画像処理装置によるカラー複写動作を終了
する。
Finally, the binarized CMY signal is output from the ink jet printer 106 (step S90).
8) The color copying operation by this color image processing apparatus is ended.

【0013】[0013]

【発明が解決しようとする課題】しかしながら従来の例
では文字と写真が混在する原稿において写真モードで複
写動作を行うと、スキャナによる読み取り時の色ズレや
ゴミを読み込むこと等により、文字領域においてグレー
以外の色が出力される欠点があった。
However, in the conventional example, when a copy operation is performed in a photo mode on a document in which characters and photographs are mixed, color misregistration or dust is read during scanning by the scanner, and thus a gray area appears in the character area. There was a defect that colors other than the above were output.

【0014】[0014]

【課題を解決するための手段】コンピュータと接続する
ことによりコンピュータ側で文字領域、写真領域の判定
を行い、文字領域に対してグレー変換処理を行い文字領
域のグレー以外の色を除去することが可能となる。
By connecting to a computer, a character area and a photograph area can be determined on the computer side, and gray conversion processing can be performed on the character area to remove colors other than gray in the character area. It will be possible.

【0015】[0015]

【発明の実施の形態】図1は本発明を実施したカラー画
像処理装置の例であり、本図を用いて動作の説明を行
う。101は、原稿を走査してRGBのアナログ信号を
出力するCCD或いはコンタクトセンサ等の画像撮像素
子、102は、画像撮像素子101から出力されるアナ
ログ信号をディジタル信号に変換するA/D変換器、1
03は、A/D変換器102から出力されるディジタル
信号にマスキング処理を施すマスキング処理部、104
は、マスキング処理部103から出力された画像データ
に変倍処理を施す変倍処理部、105は、変倍処理部1
04から出力される画像データを格納する画像メモリ、
106は、画像メモリ105から読み出された画像デー
タをプリント出力するインクジェットプリンタ、107
は、本カラー画像処理装置の各部の制御を行うCPU、
108は、CPU107に接続され、ワークエリアとし
て使用されるRAM、109は、CPU107に接続さ
れ、CPU107で実行される命令コードを格納するR
OM、110は、本カラー画像処理装置とコンピュータ
等を接続する為のインターフェイス部である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an example of a color image processing apparatus embodying the present invention, and its operation will be described with reference to this drawing. Reference numeral 101 is an image pickup device such as a CCD or a contact sensor that scans a document and outputs RGB analog signals, 102 is an A / D converter that converts the analog signals output from the image pickup device 101 into digital signals, 1
Reference numeral 03 denotes a masking processing unit for performing masking processing on the digital signal output from the A / D converter 102, 104
Is a scaling processing unit that performs scaling processing on the image data output from the masking processing unit 103, and 105 is the scaling processing unit 1.
Image memory for storing image data output from 04,
An inkjet printer 106 prints out the image data read from the image memory 105, and 107.
Is a CPU that controls each part of the color image processing apparatus,
Reference numeral 108 is a RAM that is connected to the CPU 107 and is used as a work area. Reference numeral 109 is an R that is connected to the CPU 107 and stores an instruction code executed by the CPU 107.
The OM 110 is an interface unit for connecting the color image processing apparatus to a computer or the like.

【0016】動作モードは複写動作、スキャナ動作、プ
リンタ動作の3種類の動作があり、複写動作は、本装置
の持つスキャナ部からプリンタ部へ直接画像データを入
力し複写動作するモードおよびスキャナ動作の後コンピ
ュータへデータを渡してからコンピュータで画像処理を
行いプリンタ部へデータを戻して印字するモードがあ
り、スキャナ動作は、本装置のスキャナ部からコンピュ
ータへ画像データを出力し、コンピュータ側のハードデ
ィスク等へRGBの画像データを転送するモードであ
り、プリンタ動作は、コンピュータのハードディスク等
に格納されたRGBの画像データを本装置に出力しイン
クジェットプリンタによりプリント出力するモードであ
る。
There are three types of operation modes, a copy operation, a scanner operation, and a printer operation. The copy operation includes a mode in which image data is directly input from the scanner section of the apparatus to the printer section and a copy operation. There is a mode in which after the data is passed to the computer, the image is processed by the computer and the data is returned to the printer section for printing.The scanner operation is to output the image data from the scanner section of this equipment to the computer and The printer operation is a mode in which the RGB image data stored in the hard disk of the computer is output to this apparatus and is printed out by the inkjet printer.

【0017】以下、順にフローチャートを用いてそれぞ
れの動作を説明する。
The respective operations will be described below in order using a flow chart.

【0018】カラー複写動作について説明する。The color copying operation will be described.

【0019】カラー複写動作には写真モードおよび文字
写真モードがある。
The color copying operation has a photo mode and a character photo mode.

【0020】図2は、カラー複写動作の手順を示すフロ
ーチャートであり本図に従って動作を説明する。まず不
図示のオペレーションパネルより設定された動作モード
を判断する(ステップS200)。
FIG. 2 is a flow chart showing the procedure of the color copying operation, and the operation will be described with reference to this figure. First, the operation mode set on the operation panel (not shown) is determined (step S200).

【0021】写真モードの場合は次の手順で処理が行わ
れる。
In the case of the photograph mode, the processing is performed in the following procedure.

【0022】画像撮像素子101で原稿を走査してアナ
ログ信号を出力する(ステップS201)。次にA/D
変換器102でA/D変換処理を行いアナログ信号をデ
ィジタル信号に変換する(ステップS202)。スキャ
ナ部のマスキング処理部に於いて画像撮像素子の特性の
色空間の画像データをマスキング処理によりNTSCの
RGBの標準色空間に変換する(ステップS203)。
The image pickup device 101 scans the original and outputs an analog signal (step S201). Then A / D
The converter 102 performs A / D conversion processing to convert an analog signal into a digital signal (step S202). In the masking processing section of the scanner section, the image data of the color space having the characteristic of the image pickup device is converted into the NTSC standard RGB color space by masking processing (step S203).

【0023】マスキング処理の演算の方法は、RGBを
入力画像値とし、R′G′B′を出力画像値とした場
合、次式、すなわち、
The calculation method of the masking process is as follows, where RGB is the input image value and R'G'B 'is the output image value.

【外2】 [Outside 2]

【0024】により行われる。[0024]

【0025】次に変倍処理を行う。スキャナ部のCCD
の画素密度からプリンタ部のヘッドの画素密度に変倍を
行う(ステップS204)。
Next, a scaling process is performed. Scanner CCD
The pixel density of is changed to the pixel density of the head of the printer unit (step S204).

【0026】変倍処理された画像データはRGBの輝度
信号からCMYの濃度信号への変換を行う(ステップS
205)。輝度濃度変換は色毎にテーブル参照により行
われる。図5にテーブルに格納される特性の例を示す。
横軸は輝度レベルの入力で、縦軸は濃度レベルの出力で
ある。
The scaled image data is converted from RGB luminance signals into CMY density signals (step S).
205). The brightness density conversion is performed for each color by referring to a table. FIG. 5 shows an example of the characteristics stored in the table.
The horizontal axis represents the luminance level input, and the vertical axis represents the density level output.

【0027】次にプリンタ部のマスキング処理を行い、
標準色空間の画像信号をインクジェットプリンタ106
の色の特性に合わせる為マスキング処理を行う(ステッ
プS206)。
Next, the masking process of the printer unit is performed,
The image signal in the standard color space is transferred to the inkjet printer 106.
Masking processing is performed in order to match the color characteristics of (step S206).

【0028】マスキング処理の演算の方法は、CMYを
入力画像値とし、C′M′Y′を出力画像値とした場
合、次式、すなわち、
The calculation method of the masking process is as follows when CMY is an input image value and C'M'Y 'is an output image value.

【外3】 [Outside 3]

【0029】により行われる。[0029]

【0030】さらにインクジェットプリンタ106の特
性に合わせる為、CMYの各色毎にテーブル参照により
濃度補正処理を行う(ステップS207)。図6にテー
ブルに格納される特性の例を示す。横軸は入力レベルで
縦軸が出力レベルである。
Further, in order to match the characteristics of the ink jet printer 106, density correction processing is performed for each CMY color by referring to a table (step S207). FIG. 6 shows an example of characteristics stored in the table. The horizontal axis is the input level and the vertical axis is the output level.

【0031】次にCMYの多値信号をインクジェットプ
リンタ106から出力するために誤差拡散法により2値
信号に変換する(ステップS208)。
Next, the CMY multivalued signal is converted into a binary signal by the error diffusion method in order to be output from the ink jet printer 106 (step S208).

【0032】最後に2値化したCMYの信号をインクジ
ェットプリンタ106から出力して本カラー画像処理装
置によるカラー複写動作を終了する。
Finally, the binarized CMY signal is output from the ink jet printer 106, and the color copying operation by the present color image processing apparatus is completed.

【0033】また、ステップS200で文字写真モード
が選択された場合は次の様に処理が行われる。
When the character photograph mode is selected in step S200, the following processing is performed.

【0034】まず画像撮像素子101で原稿を走査して
アナログ信号を出力する(ステップS210)。次にA
/D変換器102でA/D変換処理を行いアナログ信号
をディジタル信号に変換する(ステップS211)。ス
キャナ部のマスキング処理部に於いて画像撮像素子の特
性の色空間の画像データをマスキング処理によりNTS
CのRGBの標準色空間に変換する(ステップS21
2)。
First, the image pickup device 101 scans a document to output an analog signal (step S210). Then A
The A / D conversion process is performed by the / D converter 102 to convert the analog signal into a digital signal (step S211). In the masking processing unit of the scanner unit, the image data in the color space having the characteristics of the image pickup device is masked to NTS.
Conversion to the RGB standard color space of C (step S21)
2).

【0035】マスキング処理の演算の方法は、RGBを
入力画像値とし、R′G′B′を出力画像値とした場
合、次式、すなわち、
The calculation method of the masking process is as follows, where RGB is the input image value and R'G'B 'is the output image value.

【外4】 [Outside 4]

【0036】により行われる。[0036]

【0037】次に変倍処理を行う。スキャナ部のCCD
の画素密度からプリンタ部のヘッドの画素密度に変倍を
行う。変倍の方法は線形補間法或いはSPC法等による
(ステップS213)。
Next, a scaling process is performed. Scanner CCD
The pixel density of the printer unit is changed to the pixel density of the head of the printer unit. The scaling method is the linear interpolation method, the SPC method, or the like (step S213).

【0038】次にコンピュータにデータ転送を行う(ス
テップS214)。
Next, the data is transferred to the computer (step S214).

【0039】コンピュータではまず文字領域判定処理を
行う(ステップS215)。
The computer first performs a character area determination process (step S215).

【0040】判定は画像を主走査方向256画素×副走
査方向256画素のブロックに分けてそのブロック毎に
行う。
The determination is performed by dividing the image into blocks each having 256 pixels in the main scanning direction and 256 pixels in the sub scanning direction.

【0041】ブロック内の画素全てに対してそれぞれ式
1の演算を行う。
Equation 1 is calculated for all the pixels in the block.

【0042】 (R−G)2+(G−B)2+(B−R)2<k (式1) Rは対象画素のレッドの値、Gは対象画素のグリーンの
値、Bは対象画素のブルーの値。kは定数。
(R−G) 2 + (G−B) 2 + (B−R) 2 <k (Formula 1) R is the red value of the target pixel, G is the green value of the target pixel, and B is the target. The blue value of the pixel. k is a constant.

【0043】式1が真であれば対象画素はR、G、Bの
値が近いためグレーであると判断する。kはスキャナの
CCD或いはコンタクトセンサや送りのモータ等の精度
により決定する定数であり、例えば50の値である。ま
たグレーであるか否かの判定の方法は他の演算によるこ
とも可能である。
If Expression 1 is true, the target pixel is judged to be gray because the R, G, and B values are close to each other. k is a constant determined by the accuracy of the CCD of the scanner, the contact sensor, the feed motor, or the like, and is a value of 50, for example. Further, the method of determining whether or not the color is gray may be based on another calculation.

【0044】例えば式4による。According to equation 4, for example.

【0045】 |R−G|+|G−B|+|B−R|<k (式4) kの値の例は15である。[0045]   | R-G | + | GB- | + | BR- <k (Equation 4) An example value for k is 15.

【0046】次にブロック内の画素を判定した結果を計
数し真となる画素数Ngrayを求める。
Next, the result of judging the pixels in the block is counted to obtain the number of true pixels Ngray.

【0047】Ngray>d (式2) dは定数。Ngray> d (Equation 2) d is a constant.

【0048】式2が真であればそのブロックは文字領域
であると判断する。
If Expression 2 is true, it is determined that the block is a character area.

【0049】dの値の例は2562×0.9である。An example of the value of d is 256 2 × 0.9.

【0050】全画像エリアに対してブロックに分けて前
記の様に判定を行う。画像サイズが256画素の倍数で
ない場合は終端のブロックのサイズは端数となるが、こ
の場合は式3にて判定を行う。
The entire image area is divided into blocks and the determination is performed as described above. If the image size is not a multiple of 256 pixels, the size of the last block is a fraction, but in this case, the determination is performed using Equation 3.

【0051】 Ngray>d×(存在する画素数)/2562 (式3) dは定数。Ngray> d × (number of existing pixels) / 256 2 (Equation 3) d is a constant.

【0052】以上の処理を行うためには少なくとも25
6ライン分の画像データをメモリに蓄える必要がある。
なお判定するブロックのサイズは本説明の限りでは無
い。
To perform the above processing, at least 25
It is necessary to store the image data for 6 lines in the memory.
The size of the block to be determined is not limited to this description.

【0053】次にステップS215で判定された文字領
域に対してグレー変換処理を行う(ステップS21
6)。
Next, gray conversion processing is performed on the character area determined in step S215 (step S21).
6).

【0054】変換の方法は、グレーと判定されたブロッ
ク内の画素に対してR、G、Bの値の最小値を求め、そ
の値でR、G、B全ての値を置き換える処理を行う。
In the conversion method, the minimum value of R, G, and B values is obtained for the pixels in the block determined to be gray, and the value is used to replace all R, G, and B values.

【0055】また、他の方法としてR、G、Bを全て
(R+G+B)/3で置き換えても良い。更に他の演算
方法によることも可能である。
As another method, all of R, G and B may be replaced by (R + G + B) / 3. It is also possible to use another calculation method.

【0056】コンピュータで処理された画像データはコ
ンピュータから本体にデータ転送される(ステップS2
17)。
The image data processed by the computer is transferred from the computer to the main body (step S2).
17).

【0057】コンピュータより受け取った画像データは
RGBの輝度信号からCMYの濃度信号への変換を行う
(ステップS205)。輝度濃度変換は色毎にテーブル
参照により行われる。図5にテーブルに格納される特性
の例を示す。横軸は輝度レベルの入力で、縦軸は濃度レ
ベルの出力である。
The image data received from the computer is converted from RGB luminance signals into CMY density signals (step S205). The brightness density conversion is performed for each color by referring to a table. FIG. 5 shows an example of the characteristics stored in the table. The horizontal axis represents the luminance level input, and the vertical axis represents the density level output.

【0058】次にプリンタ部のマスキング処理を行い、
標準色空間の画像信号をインクジェットプリンタ106
の色の特性に合わせる為マスキング処理を行う(ステッ
プS206)。
Next, masking processing of the printer unit is performed,
The image signal in the standard color space is transferred to the inkjet printer
Masking processing is performed in order to match the color characteristics of (step S206).

【0059】マスキング処理の演算の方法は、CMYを
入力画像値とし、C′M′Y′を出力画像値とした場
合、次式、すなわち、
The calculation method of the masking process is as follows when CMY is an input image value and C'M'Y 'is an output image value.

【外5】 [Outside 5]

【0060】により行われる。Is performed by

【0061】さらにインクジェットプリンタ106の特
性に合わせる為、CMYの各色毎にテーブル参照により
濃度補正処理を行う(ステップS207)。図6にテー
ブルに格納される特性の例を示す。横軸は入力レベルで
縦軸が出力レベルである。
Further, in order to match the characteristics of the ink jet printer 106, density correction processing is performed for each color of CMY by referring to a table (step S207). FIG. 6 shows an example of characteristics stored in the table. The horizontal axis is the input level and the vertical axis is the output level.

【0062】次にCMYの多値信号をインクジェットプ
リンタ106から出力するために誤差拡散法により2値
信号に変換する(ステップS208)。
Next, the CMY multivalued signal is converted into a binary signal by the error diffusion method in order to be output from the ink jet printer 106 (step S208).

【0063】最後に2値化したCMYの信号をインクジ
ェットプリンタ106から出力して本カラー画像処理装
置によるカラー複写動作を終了する。
Finally, the binarized CMY signal is output from the ink jet printer 106, and the color copying operation by the present color image processing apparatus is completed.

【0064】スキャナ動作について説明する。The scanner operation will be described.

【0065】図3は、スキャナ動作の手順を示すフロー
チャートである。
FIG. 3 is a flow chart showing the procedure of the scanner operation.

【0066】まず画像撮像素子101で原稿を走査して
アナログ信号を出力する(ステップS301)。次にA
/D変換器102でA/D変換処理を行いアナログ信号
をディジタル信号に変換する(ステップS302)。ス
キャナ部のマスキング処理部に於いて画像撮像素子の特
性の色空間の画像データをマスキング処理によりNTS
Cの標準色空間に変換する(ステップS303)。マス
キング処理の方法は複写動作の場合と同様である。
First, the image pickup device 101 scans a document to output an analog signal (step S301). Then A
The A / D conversion process is performed by the / D converter 102 to convert the analog signal into a digital signal (step S302). In the masking processing unit of the scanner unit, the image data in the color space having the characteristics of the image pickup device is masked to NTS.
Conversion to the standard color space of C (step S303). The masking method is the same as in the copying operation.

【0067】スキャナの解像度からコンピュータにより
指示された解像度に変倍処理する(ステップS30
4)。変倍処理の方法は複写動作の場合と同様である。
A scaling process is performed from the resolution of the scanner to the resolution designated by the computer (step S30).
4). The method of scaling processing is the same as in the copying operation.

【0068】最後にインターフェイス部110を介して
コンピュータに画像データを出力してスキャナ動作を終
了する。インターフェイスはBi−Centro、RS
232C、SCSI等のインターフェイスを用いるが、
他のインターフェイスに於いても本発明が適用されるこ
とは言うまでもない。
Finally, the image data is output to the computer through the interface section 110 and the scanner operation is completed. Interface is Bi-Centro, RS
An interface such as 232C or SCSI is used,
It goes without saying that the present invention can be applied to other interfaces.

【0069】プリンタ動作について説明する。The printer operation will be described.

【0070】図4は、プリンタ動作の手順を示すフロー
チャートである。
FIG. 4 is a flow chart showing the procedure of the printer operation.

【0071】まず、コンピュータから入力されるRGB
形式の画像データをインターフェイス部110を介して
受け取り画像メモリ105に格納する(ステップS40
1)。次にCPU107で画像メモリに格納されたRG
Bの画像データに対して輝度濃度変換処理を行う(ステ
ップS402)。輝度濃度変換方法は複写動作の場合と
同様である。次に標準の色空間の画像データをインクジ
ェットプリンタ106の特性に合わせるため、マスキン
グ処理を行う(ステップS403)。マスキング処理の
方法は複写動作の場合と同様である。さらにインクジェ
ットプリンタ106の特性に合わせるため、CMYの各
色毎にテーブル参照により濃度補正処理を行う(ステッ
プS404)。濃度補正処理の方法は複写動作の場合と
同様である。次にコンピュータから入力された画像デー
タの解像度からプリンタの解像度に合う様に変倍処理を
行う(ステップS405)。変倍の方法は複写動作の場
合と同様に線形補間法を用いる。次にCMYの多値信号
をインクジェットプリンタ106から出力するために誤
差拡散法により2値信号に変換する(ステップS40
6)。最後にインクジェットプリンタ106から画像デ
ータをプリント出力してプリンタ動作を終了する。
First, RGB input from the computer
The image data in the format is received via the interface unit 110 and stored in the image memory 105 (step S40).
1). Next, the RG stored in the image memory by the CPU 107
Luminance density conversion processing is performed on the B image data (step S402). The brightness density conversion method is the same as in the copying operation. Next, masking processing is performed to match the image data in the standard color space with the characteristics of the inkjet printer 106 (step S403). The masking method is the same as in the copying operation. Further, in order to match the characteristics of the inkjet printer 106, density correction processing is performed for each CMY color by referring to a table (step S404). The method of density correction processing is the same as in the copying operation. Next, a scaling process is performed so that the resolution of the image data input from the computer matches the resolution of the printer (step S405). The scaling method uses a linear interpolation method as in the copying operation. Next, the CMY multi-level signal is converted into a binary signal by the error diffusion method in order to be output from the inkjet printer 106 (step S40).
6). Finally, the image data is printed out from the inkjet printer 106, and the printer operation is completed.

【0072】以上の説明に於いて、マスキング処理は1
次元のマスキング演算で行う例で説明したが、2次元或
いは更に高次のマスキング演算によれば更に精度の高い
処理が可能となる。また、変倍の処理法として線形補間
法によると記したが、SPC法で簡略化することも可能
であるし、他の変倍法を用いることも可能である。
In the above description, the masking process is 1
Although an example has been described in which the masking calculation is performed in two dimensions, the masking calculation in two dimensions or higher order enables more accurate processing. Further, although the linear interpolation method is described as the scaling method, it can be simplified by the SPC method, or another scaling method can be used.

【0073】[0073]

【発明の効果】文字と写真が混在する原稿において写真
モードで複写動作を行う場合に、文字領域においてグレ
ー以外の色が出力されないため、印字品質が向上する効
果がある。
As described above, when a copy operation is performed in the photo mode on a document in which characters and photographs are mixed, colors other than gray are not output in the character area, so that there is an effect of improving print quality.

【0074】文字領域の判定処理をコンピュータ側で行
うことによりカラー画像処理装置内で文字領域の判定の
ための大容量のメモリを必要としない効果がある。
By performing the character region determination process on the computer side, there is an effect that a large capacity memory for determining the character region is not required in the color image processing apparatus.

【0075】文字領域の判定処理をコンピュータ側で行
うことによりカラー画像処理装置内のCPUの負荷を増
大させない効果がある。
By performing the character area determination processing on the computer side, there is an effect that the load on the CPU in the color image processing apparatus is not increased.

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

【図1】本発明を実施したカラー画像処理装置の例を示
す図。
FIG. 1 is a diagram showing an example of a color image processing apparatus embodying the present invention.

【図2】本発明を実施したカラー画像処理装置によるカ
ラー複写動作の手順を示すフローチャート。
FIG. 2 is a flowchart showing the procedure of a color copying operation by the color image processing apparatus embodying the present invention.

【図3】本発明を実施したカラー画像処理装置によるス
キャナ動作の手順を示すフローチャート。
FIG. 3 is a flowchart showing the procedure of a scanner operation by the color image processing apparatus embodying the present invention.

【図4】本発明を実施したカラー画像処理装置によるプ
リンタ動作の手順を示すフローチャート。
FIG. 4 is a flowchart showing a procedure of printer operation by the color image processing apparatus embodying the present invention.

【図5】輝度濃度変換のテーブルの特性の例を示す図。FIG. 5 is a diagram showing an example of characteristics of a table of luminance density conversion.

【図6】濃度補正処理のテーブルの特性の例を示す図。FIG. 6 is a diagram showing an example of characteristics of a table of density correction processing.

【図7】従来のカラー画像処理装置の例を示す図。FIG. 7 is a diagram showing an example of a conventional color image processing device.

【図8】従来のカラー画像処理装置によるカラー複写動
作の手順を示すフローチャート。
FIG. 8 is a flowchart showing a procedure of a color copying operation by the conventional color image processing apparatus.

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

101 画像撮像素子 102 A/D変換器 103 マスキング処理部 104 変倍処理部 105 画像メモリ 106 インクジェットプリンタ 107 CPU 108 RAM 109 ROM 110 インターフェイス部 101 image pickup device 102 A / D converter 103 Masking processing unit 104 Magnification processing unit 105 image memory 106 inkjet printer 107 CPU 108 RAM 109 ROM 110 Interface section

フロントページの続き Fターム(参考) 2C262 AB13 BA01 BA09 BA10 BA19 BA20 BB03 BB15 DA02 EA06 EA07 GA52 GA57 5B057 AA11 BA02 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CC01 CE17 CE18 CH07 CH08 5C077 LL19 MP08 PP27 PP28 PP32 PP33 PP37 PP38 PP68 PQ12 PQ23 TT02 5C079 HB01 HB02 HB12 LA03 LA06 LB01 MA04 MA11 NA03 NA06 PA02 PA03 Continued front page    F-term (reference) 2C262 AB13 BA01 BA09 BA10 BA19                       BA20 BB03 BB15 DA02 EA06                       EA07 GA52 GA57                 5B057 AA11 BA02 CA01 CA08 CA12                       CA16 CB01 CB08 CB12 CB16                       CC01 CE17 CE18 CH07 CH08                 5C077 LL19 MP08 PP27 PP28 PP32                       PP33 PP37 PP38 PP68 PQ12                       PQ23 TT02                 5C079 HB01 HB02 HB12 LA03 LA06                       LB01 MA04 MA11 NA03 NA06                       PA02 PA03

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 スキャナ部とプリンタ部およびコンピュ
ータと接続する為のインターフェイス部から成り、写真
モードで複写動作を行う時は、スキャナ部から出力され
た画像データをプリンタ部に出力し、文字写真モードで
複写動作を行う時は、スキャナ部から出力された画像デ
ータをインターフェイス部を介してコンピュータへ送
り、コンピュータ側で文字領域判定処理を行ったのちグ
レー変換処理を行ってからインターフェイス部を介して
データを受け取りプリンタ部で出力を行うことを特徴と
するカラー画像処理装置。
1. A scanner unit, a printer unit, and an interface unit for connecting to a computer. When performing a copying operation in the photo mode, the image data output from the scanner unit is output to the printer unit, and the character photo mode is set. When performing a copy operation with, the image data output from the scanner section is sent to the computer through the interface section, the character area determination processing is performed on the computer side, the gray conversion processing is performed, and then the data is transferred through the interface section. A color image processing apparatus, which receives the image and outputs it in a printer unit.
【請求項2】 文字領域の判定単位は、n画素×m画素
(n、mは整数)単位で行うことを特徴とする請求項1
記載のカラー画像処理装置。
2. The unit for determining the character area is n pixels × m pixels (n and m are integers).
The described color image processing device.
【請求項3】 文字領域の判定方法は画素毎に (R−G)2+(G−B)2+(B−R)2<k による判定を行いブロック内で前記式が真となる画素を
計数し定数dよりも大きい時に文字領域であると判断す
ることを特徴とする請求項2記載のカラー画像処理装
置。
3. A method of determining a character area is performed for each pixel by (R−G) 2 + (G−B) 2 + (B−R) 2 <k, and the above formula is true in a block. 3. The color image processing apparatus according to claim 2, wherein the color image processing apparatus determines that the area is a character area when it is larger than a constant d.
【請求項4】 主走査方向がnの倍数ではない場合、或
いは副走査方向がmの倍数ではない場合には請求項3に
おけるkの値に(存在する画素数)/(n×m)を乗じ
て判定することを特徴とする請求項3記載のカラー画像
処理装置。
4. When the main scanning direction is not a multiple of n or the sub scanning direction is not a multiple of m, the value of k in claim 3 is set to (the number of existing pixels) / (n × m). The color image processing apparatus according to claim 3, wherein the determination is made by multiplying.
【請求項5】 文字領域の判定方法は画素毎に |R−G|+|G−B|+|B−R|<k による判定を行いブロック内で前記式が真となる画素を
計数し定数dよりも大きい時に文字領域であると判断す
ることを特徴とする請求項2記載のカラー画像処理装
置。
5. A method for determining a character area is performed by determining | R−G | + | GB− | + | B−R | <k for each pixel and counting pixels for which the above expression is true in a block. The color image processing apparatus according to claim 2, wherein the color image processing apparatus determines that the area is a character area when it is larger than a constant d.
【請求項6】 主走査方向がnの倍数ではない場合、或
いは副走査方向がmの倍数ではない場合には請求項5に
おけるkの値に(存在する画素数)/(n×m)を乗じ
て判定することを特徴とする請求項5記載のカラー画像
処理装置。
6. When the main scanning direction is not a multiple of n, or when the sub scanning direction is not a multiple of m, the value of k in claim 5 is (the number of existing pixels) / (n × m). The color image processing apparatus according to claim 5, wherein the determination is made by multiplying.
JP2002146152A 2002-05-21 2002-05-21 Color image processing apparatus Withdrawn JP2003338927A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002146152A JP2003338927A (en) 2002-05-21 2002-05-21 Color image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002146152A JP2003338927A (en) 2002-05-21 2002-05-21 Color image processing apparatus

Publications (1)

Publication Number Publication Date
JP2003338927A true JP2003338927A (en) 2003-11-28

Family

ID=29705228

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002146152A Withdrawn JP2003338927A (en) 2002-05-21 2002-05-21 Color image processing apparatus

Country Status (1)

Country Link
JP (1) JP2003338927A (en)

Similar Documents

Publication Publication Date Title
US8040569B2 (en) Image processing apparatus and method for contrast processing and intermediate color removal
JP4997204B2 (en) Image reading apparatus and image reading method
US20070058224A1 (en) Image processing apparatus and image processing method
US7411707B2 (en) Image processing apparatus and method thereof
JP4280404B2 (en) Image processing apparatus and method
JP2002330304A (en) High-speed scanner having function of image processing for improving color reproduction and visual appearance thereof
US7616357B2 (en) Image processing apparatus, method for controlling image processing apparatus
JP3333894B2 (en) Image processing device
US20080079970A1 (en) Printing apparatus, printing method, and printing program
JP2001211316A (en) Device and method for image processing, storage medium, and image processing system
JP3190050B2 (en) Color image processing method
JP4295465B2 (en) Image processing device
JP2003338927A (en) Color image processing apparatus
JP3039674B2 (en) Color image processing equipment
JP2000232618A (en) Photo-finishing method, system therefor and recording medium
JP2004128664A (en) Image processor and processing method
KR19980019056A (en) DIGITAL CAMERA
JPH11177825A (en) Image processor
JP5090969B2 (en) Image processing device
JP2951972B2 (en) Image processing device
JP2002016798A (en) Image read method, recording medium and image reader
JP2001320593A (en) Image processing unit, and image forming device provided with it, and image processing method
JP2002125121A (en) Image processing method and image processing unit, and image forming device provided with them
JP2001309189A (en) Image processing unit and method
JP3456169B2 (en) Digital camera

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050802