JPH0879541A - Color image processing apparatus and color image processing method - Google Patents

Color image processing apparatus and color image processing method

Info

Publication number
JPH0879541A
JPH0879541A JP6230718A JP23071894A JPH0879541A JP H0879541 A JPH0879541 A JP H0879541A JP 6230718 A JP6230718 A JP 6230718A JP 23071894 A JP23071894 A JP 23071894A JP H0879541 A JPH0879541 A JP H0879541A
Authority
JP
Japan
Prior art keywords
correction
color
output
information
area
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
JP6230718A
Other languages
Japanese (ja)
Inventor
Takashi Nonaka
隆 野中
Eiichi Motoyama
栄一 本山
Fumio Mikami
文夫 三上
Kiyohisa Sugishima
喜代久 杉島
Masayuki Hirose
正幸 広瀬
Shigeo Yamagata
茂雄 山形
Koji Arai
康治 新井
Toshio Hayashi
俊男 林
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 JP6230718A priority Critical patent/JPH0879541A/en
Publication of JPH0879541A publication Critical patent/JPH0879541A/en
Pending legal-status Critical Current

Links

Landscapes

  • Color Image Communication Systems (AREA)

Abstract

(57)【要約】 【目的】 マーキングルールに違反した原稿であっても
正確なマーカ編集処理を行うことができ、所望の画像出
力を得ることができるカラー画像処理装置を提供するこ
とを目的とする。 【構成】 注目画素(履歴色、色、領域)P1に対し
て、まず最初に主走査方向の左画素記憶データP2を用
いて領域を決定する。次に、副走査方向の上画素P3の
履歴コード(履歴色、色、領域の組み合わせをコード化
したもの)と決定された領域とを比較し、ある条件に当
てはまる時は、上画素の領域に置き換える。バンドの先
頭では、上方向に履歴コードがないので、つなぎメモリ
62から履歴コードを取り出して用いる。
(57) [Abstract] [Purpose] It is an object of the present invention to provide a color image processing apparatus capable of performing accurate marker edit processing even for a document violating a marking rule and obtaining a desired image output. To do. [Structure] For a pixel of interest (history color, color, region) P1, a region is first determined by using left pixel storage data P2 in the main scanning direction. Next, the history code of the upper pixel P3 in the sub-scanning direction (coded a combination of history color, color, and area) is compared with the determined area, and when a certain condition is satisfied, the area of the upper pixel is selected. replace. At the beginning of the band, since there is no history code in the upward direction, the history code is retrieved from the connecting memory 62 and used.

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 such as a color copying machine for reading a color-marked original on a monochrome original and performing marker editing processing.

【0002】[0002]

【従来の技術】従来、マーカ編集処理では、閉区間を塗
りつぶすあるいは文字の色を変えるなどの複数の処理を
マーキングの仕方によって自動認識して処理する。モノ
クロ原稿にカラーマーカーで色付けしてマーカー編集を
行うと、例えば図6(a),(b),(c)に示すよう
な出力が得られる。
2. Description of the Related Art Conventionally, in a marker editing process, a plurality of processes such as filling a closed section or changing a character color are automatically recognized and processed according to a marking method. When a monochrome original is colored with color markers and marker editing is performed, for example, outputs as shown in FIGS. 6A, 6B, and 6C are obtained.

【0003】(1)図6(a)に示すように、原稿の所
定の閉区間を塗りつぶしたい場合は、その閉区間の内側
をマーキングすれば、閉区間内が色で塗りつぶされた出
力を得ることができる。(2)図6(b)に示すよう
に、原稿の黒線の色を変更したい場合は、その黒線を包
含する形でマーキングすれば、黒線がマーカーの色で置
き換えられる。(3)図6(c)に示すように、以上
(1)及び(2)の場合の両方を行いたい場合は、前記
(1)及び(2)の複合形で閉区間内を塗りつぶすよう
にすれば、マーカーで包含された部分の色はマーカー色
に置換される。
(1) As shown in FIG. 6 (a), when it is desired to paint a predetermined closed section of a document, the inside of the closed section is marked to obtain an output in which the closed section is painted in color. be able to. (2) As shown in FIG. 6B, when it is desired to change the color of the black line of the original, marking is performed so as to include the black line, and the black line is replaced with the color of the marker. (3) As shown in FIG. 6 (c), when it is desired to perform both of the above cases (1) and (2), the closed section is filled with the composite form of (1) and (2) above. Then, the color of the portion included by the marker is replaced with the marker color.

【0004】上述の(1)、(2)、(3)を同時に自
動的に区別し処理するためには、図7(a),(b)に
示すようなマーキングルール(マーカ色付け条件)が必
要である。
In order to automatically distinguish and process the above (1), (2), and (3) simultaneously, a marking rule (marker coloring condition) as shown in FIGS. 7A and 7B is used. is necessary.

【0005】上記(1)の場合(塗りつぶし)では、図
7(a)に示すように黒枠線101の内側をマーキング
するが(マーキング部102)、その際、黒枠線101
の内側に生じた隙間103、あるいは黒枠線101の外
側に生じたはみ出し104は所定範囲以内であれば許さ
れる(例えば、隙間103の幅103aが1mm以内、
はみ出し104の幅104aが0.3mm以内)。ま
た、上記(2)の場合(色変換)では、図7(a),
(b)に示すように黒文字105を包含する形でその周
囲106をマーキングするが、その際、周囲106を所
定範囲以上に亘って塗りつぶさなければならない(例え
ば、黒文字105からのはみ出し106aが1mm以
上)。
In the case of (1) (filling), the inside of the black frame line 101 is marked as shown in FIG. 7A (marking portion 102), but at that time, the black frame line 101 is marked.
The gap 103 formed on the inside of the gap or the protrusion 104 formed on the outside of the black frame line 101 is allowed within a predetermined range (for example, the width 103a of the gap 103 is within 1 mm,
The width 104a of the protrusion 104 is within 0.3 mm). In the case of the above (2) (color conversion), as shown in FIG.
As shown in (b), the periphery 106 is marked in such a manner as to include the black character 105. At this time, the periphery 106 must be filled over a predetermined range (for example, the protrusion 106a from the black character 105 is 1 mm or more). ).

【0006】この他に、閉区間の内側の黒107は、マ
ーキング部102から所定範囲以上離れていなければな
らない(例えば、マーキング部102と隣接黒線107
との間隔107aが1mm以上)。さらに、閉区間の境
界となる黒枠線101の幅101aは所定値(例えば
0.3mm)以上必要であり、マーカーの塗り幅(マー
キング部102の幅)102aも所定値(例えば0.3
mm)以上必要である。
In addition to this, the black 107 inside the closed section must be separated from the marking part 102 by a predetermined range or more (for example, the marking part 102 and the adjacent black line 107).
And the distance 107a is 1 mm or more). Further, the width 101a of the black frame line 101 serving as the boundary of the closed section needs to be a predetermined value (for example, 0.3 mm) or more, and the coating width of the marker (width of the marking portion 102) 102a is also a predetermined value (for example, 0.3 mm).
mm) or more is required.

【0007】これらの条件を満たす原稿は正確なマーカ
ー編集処理が施される。
Documents satisfying these conditions are subjected to accurate marker editing processing.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、人手に
よってマーキングされる以上、少なからずこのマーキン
グルールに違反することも考えられる。この場合には、
意図しなかった出力が得られるという問題があった。こ
の点を図8(a),(b)を用いて具体的に説明する。
However, since the marking is performed manually, it is possible that the marking rule is violated to some extent. In this case,
There was a problem that unintended output was obtained. This point will be specifically described with reference to FIGS.

【0009】図8(a)に示すZ1は、上記(1)の塗
りつぶしを行う場合において、閉区間の入口部分でマー
キング部102が黒枠線101の外側に許容範囲を越え
てはみ出した場合である。同様に、Z2は、閉区間の入
口部分で黒枠線101とマーキング部102との間に許
容範囲を越えて隙間が生じた場合である。これらの場合
の出力は、同図(a)のZ1’及びZ2’に示すように
白抜け状態となる。
Z1 shown in FIG. 8 (a) is a case where the marking portion 102 extends beyond the allowable range to the outside of the black frame line 101 at the entrance portion of the closed section in the case of performing the filling in (1). . Similarly, Z2 is a case where a gap is generated between the black frame line 101 and the marking portion 102 beyond the allowable range at the entrance portion of the closed section. The output in these cases is in a blank area as indicated by Z1 'and Z2' in FIG.

【0010】図8(b)に示すZ3は、上記(1)の塗
りつぶしを行う場合において、閉区間の出口部分でマー
キング部102が黒枠線101の外側に許容範囲を越え
てはみ出した場合である。同様に、Z4は、閉区間の出
口で黒枠線101とマーキング部102との間に許容範
囲を越えて隙間が生じた場合である。これらの場合の出
力は、同図(b)のZ3’及びZ4’に示すように色を
印字し続けることになる。
Z3 shown in FIG. 8B is a case where the marking portion 102 extends beyond the allowable range to the outside of the black frame line 101 at the exit portion of the closed section in the case of performing the filling in (1) above. . Similarly, Z4 is a case where a gap is generated between the black frame line 101 and the marking portion 102 at the exit of the closed section beyond the allowable range. The output in these cases will continue to print colors as indicated by Z3 'and Z4' in FIG.

【0011】本発明は上記従来の問題点に鑑み、マーキ
ングルールに違反した原稿であっても正確なマーカ編集
処理を行うことができ、所望の画像出力を得ることがで
きるカラー画像処理装置及びカラー画像処理方法を提供
することを目的とする。
In view of the above conventional problems, the present invention is capable of performing accurate marker edit processing even for a document that violates a marking rule and can obtain a desired image output. An object is to provide an image processing method.

【0012】[0012]

【課題を解決するための手段】上記目的を達成するため
に第1の発明であるカラー画像処理装置は、原稿を読み
取って多値データを出力する読み取りセンサと、前記多
値データを、色を表現する複数の色コードに分類するコ
ード化手段と、前記読み取りセンサの1ライン前の処理
情報を記憶する記憶手段と、前記記憶手段の記憶内容を
読み出す読み出し手段と、前記読み出し手段により読み
出されたデータと前記コード化手段の出力データとを合
成して複数の出力コードを決定する出力コード決定手段
と、前記出力コード決定手段の出力コードを所定の補正
条件に応じて補正する補正手段と、前記補正手段から出
力された補正情報を1ライン前の処理情報として前記記
憶手段に記憶させる記憶制御手段と、前記補正手段によ
り補正された出力コードを多値データに変換して出力す
る出力変換手段とを備えたものである。
In order to achieve the above object, a color image processing apparatus according to a first aspect of the present invention includes a reading sensor for reading an original and outputting multi-valued data, and a color sensor for the multi-valued data. Coding means for classifying into a plurality of color codes to be expressed, storage means for storing the processing information of one line before the reading sensor, reading means for reading the stored contents of the storage means, and read by the reading means. Output code determining means for determining a plurality of output codes by synthesizing the output data of the encoding means with the output data of the encoding means, and a correcting means for correcting the output code of the output code determining means according to a predetermined correction condition, Storage control means for storing the correction information output from the correction means in the storage means as processing information of one line before, and output corrected by the correction means The over de is obtained an output converting means for converting the multi-value data.

【0013】第2の発明であるカラー画像処理装置で
は、上記第1の発明において、前記補正手段は、センサ
並び方向の処理済み情報を前記補正情報として生成する
生成手段を有し、前記読み取りセンサの1ライン前の処
理情報を用いて前記出力コード化手段によって決定され
た出力コードを、前記センサ並び方向の処理済み情報に
基づいて補正する構成にしたものである。
According to a second aspect of the present invention, in the color image processing apparatus according to the first aspect of the present invention, the correction means has a generation means for generating processed information in a sensor alignment direction as the correction information. The output code determined by the output coding means using the processing information of one line before is corrected on the basis of the processed information of the sensor alignment direction.

【0014】第3の発明であるカラー画像処理装置で
は、上記第2の発明において、前記補正手段は、1バン
ド前の前記補正情報を記憶しておく補正情報記憶手段
と、前記センサ並び方向の処理済み情報が存在しないバ
ンドの先頭では、前記補正情報記憶手段からこれに対応
した補正情報を取り出す情報取出し手段とを備え、前記
情報取出し手段より取り出された補正情報を、次のバン
ドの補正情報のために記憶するようにしたものである。
According to a third aspect of the present invention, in the color image processing apparatus according to the second aspect of the invention, the correction means stores the correction information for one band before and the sensor alignment direction. At the head of the band where the processed information does not exist, there is provided an information retrieving means for retrieving the corresponding correction information from the correction information storage means, and the correction information retrieved by the information retrieving means is used as the correction information for the next band. It's something I remembered for.

【0015】第4の発明であるカラー画像処理方法で
は、読取りセンサを用いて原稿を読み取って多値データ
を出力する読取り処理と、前記多値データを、色を表現
する複数の色コードに分類するコード化処理と、前記読
み取りセンサの1ライン前の処理情報を記憶する記憶手
段の記憶内容を読み出す読み出し処理と、前記読み出し
処理により読み出されたデータと前記コード化処理によ
りコード化されたデータとを合成して複数の出力コード
を決定する出力コード決定処理と、前記出力コード決定
処理により決定された出力コードを所定の補正条件に応
じて補正する補正処理と、前記補正処理における補正情
報を1ライン前の処理情報として前記記憶手段に記憶さ
せる記憶制御処理と、前記補正処理により補正された出
力コードを多値データに変換して出力する出力変換処理
とを有するものである。
In the color image processing method according to the fourth aspect of the present invention, a reading process of reading an original with a reading sensor and outputting multi-valued data, and the multi-valued data are classified into a plurality of color codes expressing colors. Coding processing, read processing for reading the stored contents of the storage means for storing the processing information of one line before the reading sensor, data read by the reading processing, and data coded by the coding processing. An output code determination process for synthesizing a plurality of output codes, a correction process for correcting the output code determined by the output code determination process according to a predetermined correction condition, and correction information in the correction process. A storage control process for storing in the storage means as process information of one line before, and an output code corrected by the correction process are stored in the multilevel data. In which an output conversion processing for converting to output the.

【0016】[0016]

【作用】上記構成により本発明によれば、読み取りセン
サにより原稿を読み取って得られた多値データを複数の
色コードに分類し、さらに読み取りセンサの1ライン前
の処理情報を記憶手段に記憶する。出力コード決定手段
は、記憶手段中のデータとコード化されたデータとを合
成して複数の出力コードを決定し、補正手段は、前記出
力コード決定手段の出力コードを所定の補正条件に応じ
て補正する。そして、前記補正手段から出力された補正
情報を1ライン前の処理情報として前記記憶手段に記憶
させ、前記補正手段により補正された出力コードを多値
データに変換して出力する。
According to the present invention having the above-described structure, the multi-valued data obtained by reading the original with the reading sensor is classified into a plurality of color codes, and the processing information one line before the reading sensor is stored in the storage means. . The output code determining means determines the plurality of output codes by combining the data in the storage means and the coded data, and the correcting means determines the output code of the output code determining means according to a predetermined correction condition. to correct. Then, the correction information output from the correction means is stored in the storage means as the processing information of one line before, and the output code corrected by the correction means is converted into multivalued data and output.

【0017】これにより、処理すべき注目画素に対し
て、例えば主走査方向の1つ前の既に処理済みの画素情
報と、副走査方向の1つ前の画素情報とを用いて、マー
キングルール違反の部分を周りの画素によって補正する
ことができる。
Thus, for the pixel of interest to be processed, for example, the already-processed pixel information immediately before in the main scanning direction and the pixel information immediately before in the sub-scanning direction are used to violate the marking rule. Can be corrected by surrounding pixels.

【0018】[0018]

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

【0019】図1は、本発明のカラー画像処理装置の実
施例に係るフルカラー複写機の概略構成を示すブロック
図である。
FIG. 1 is a block diagram showing the schematic arrangement of a full-color copying machine according to an embodiment of a color image processing apparatus of the present invention.

【0020】図中1は原稿画像を読み取ってRGBデー
タを出力するCCDラインセンサであり、その出力側に
は、該RGBデータを増幅するアンプ回路2と、増幅さ
れたRGBデータを8ビットのディジタル値に量子化す
るA/D変換器3と、量子化されたRGBデータをシェ
ーディング補正するシェーディング補正回路4と、読み
取られたRGBデータの位置ずれを補正する色ずれ補正
回路5と、このRGBデータから黒文字を検出して黒文
字信号を生成する黒文字検出回路6と、後述するマーカ
ー編集を行うマーカー編集回路7とが順次接続されてい
る。
In the figure, reference numeral 1 denotes a CCD line sensor for reading an original image image and outputting RGB data. An amplifier circuit 2 for amplifying the RGB data and an 8-bit digital signal for the amplified RGB data are provided on the output side. A / D converter 3 for quantizing the RGB value, a shading correction circuit 4 for shading correction of the quantized RGB data, a color shift correction circuit 5 for correcting the positional shift of the read RGB data, and the RGB data A black character detection circuit 6 for detecting a black character and generating a black character signal is sequentially connected to a marker editing circuit 7 for carrying out marker editing described later.

【0021】さらに、マーカー編集回路7の出力側に
は、拡大縮小の変倍を行う変倍回路8と、後述する空間
フィルタ回路13や2値化回路15で用いられる制御信
号を生成する制御信号生成回路9と、LOGテーブルに
従ってLOG変換を行うLOG変換回路10と、LOG
変換後のCMY(シアン、マゼンタ、イエロー)データ
の中の最小値を抽出する最小値抽出回路11と、行列演
算によりマスキングとUCRを行うマスキング・UCR
回路12と、エッジ強調またはスムージング処理を行う
空間フィルタ回路13と、ガンマテーブルに従ってガン
マ変換するガンマ変換回路14と、ディザ法などで8ビ
ットの多値データを2値化する2値化回路15と、CM
YK(シアン、マゼンタ、イエロー、黒)4色用の各ヘ
ッド間の調整をするヘッドタイミング調整回路16と、
調整されたヘッドを駆動するヘッドドライバ回路17と
が順次接続され、そして、ヘッドドライバ回路17の出
力側に4色(CMYK)のBJインクヘッド18が接続
されている。
Further, on the output side of the marker editing circuit 7, a scaling circuit 8 for scaling the scaling and a control signal for generating a control signal used in a spatial filter circuit 13 and a binarization circuit 15 which will be described later. A generation circuit 9; a LOG conversion circuit 10 that performs LOG conversion according to a LOG table;
Minimum value extraction circuit 11 for extracting the minimum value in the converted CMY (cyan, magenta, yellow) data, and masking / UCR for performing masking and UCR by matrix calculation
A circuit 12, a spatial filter circuit 13 that performs edge enhancement or smoothing processing, a gamma conversion circuit 14 that performs gamma conversion according to a gamma table, and a binarization circuit 15 that binarizes 8-bit multivalued data by a dither method or the like. , CM
A head timing adjustment circuit 16 for adjusting the heads for the four YK (cyan, magenta, yellow, black) colors;
A head driver circuit 17 that drives the adjusted head is sequentially connected, and a four-color (CMYK) BJ ink head 18 is connected to the output side of the head driver circuit 17.

【0022】次に、マーカー編集回路7について図2を
用いて詳細に説明する。
Next, the marker editing circuit 7 will be described in detail with reference to FIG.

【0023】CCDラインセンサ1により読み取られた
RGBデータは、LOG変換などの処理が加えられ、1
画素単位にCMYのデータとしてマーカー編集回路7に
入力される。このデータは各8ビット(0〜255)の
値を持つ。但し、マーカー編集処理を行う場合、LOG
変換回路10及びマスキング・UCR回路12は何も処
理を行わない。
The RGB data read by the CCD line sensor 1 is subjected to processing such as LOG conversion, and 1
It is input to the marker editing circuit 7 as CMY data in pixel units. This data has a value of 8 bits (0 to 255). However, when performing marker edit processing, LOG
The conversion circuit 10 and the masking / UCR circuit 12 perform no processing.

【0024】マーカー編集回路7は、マーカー色判別回
路20、副走査方向ノイズ除去回路30、主走査方向ノ
イズ除去回路40、領域判定回路50、領域誤判定補正
回路60、及び出力変換回路70から構成されている。
The marker editing circuit 7 comprises a marker color discriminating circuit 20, a sub-scanning direction noise removing circuit 30, a main scanning direction noise removing circuit 40, a region determining circuit 50, a region error determination correcting circuit 60, and an output converting circuit 70. Has been done.

【0025】前記CMYのデータは、図2のマーカー色
判別回路20の中の白黒判定回路21、及び色判定回路
22に入力される。白黒判定回路21では、CMYの最
小値がある値以上であれば黒、最大値がある値以下であ
れば白とする。色判定回路22では、CMYの最小値を
各値から減算して残った2成分の比で色を判定する。こ
れらで判定された白、黒、色がコード化回路23で次の
表1に対応する色コードに変換され、色判定回路22の
出力がノイズ除去回路に入力される。
The CMY data is input to the black / white judging circuit 21 and the color judging circuit 22 in the marker color judging circuit 20 of FIG. In the black-and-white determination circuit 21, if the minimum value of CMY is above a certain value, it is black, and if the maximum value is below a certain value, it is white. The color determination circuit 22 determines the color by the ratio of the remaining two components after subtracting the minimum value of CMY from each value. The white, black and colors determined by these are converted into color codes corresponding to the following Table 1 by the encoding circuit 23, and the output of the color determination circuit 22 is input to the noise removal circuit.

【0026】[0026]

【表1】 また、黒に関してはハーフトーン出力するために、白黒
判定回路21及び色判定回路22の出力からの黒である
か否かを示す黒信号とCMYの生データとから黒濃度生
成回路24で濃度を作り出す。
[Table 1] In addition, since halftone output is performed for black, the black density generation circuit 24 determines the density from the black signal indicating whether the black is output from the black and white determination circuit 21 and the color determination circuit 22 and the CMY raw data. produce.

【0027】色コードは、副走査方向ノイズ除去回路3
1に入力され、同色の連続する画素数がある値以下であ
ればノイズであると判断して除去する。遅延回路32
は、副走査方向ノイズ除去回路31の処理で遅延が生ず
るので、これに黒濃度を同期させるための回路である。
The color code is the subscanning direction noise removal circuit 3
If the number of consecutive pixels of the same color is less than or equal to a certain value, it is determined to be noise and removed. Delay circuit 32
Is a circuit for synchronizing the black density with a delay caused by the processing of the sub-scanning direction noise removal circuit 31.

【0028】主走査方向ノイズ除去回路は、入力された
データとFIFOで1ライン遅延されたデータを用いて
同じ色の画素の連続性を論理回路41で計算し、FIF
O42に記憶させる。さらに、FIFO42のデータを
使って入力データとFIFO43の出力データのどちら
を色コードとして出力するかを決定する。
The main-scanning-direction noise elimination circuit calculates the continuity of pixels of the same color by the logic circuit 41 using the input data and the data delayed by one line by the FIFO, and the FIF
Store in O42. Further, the data of the FIFO 42 is used to determine which of the input data and the output data of the FIFO 43 is to be output as a color code.

【0029】次に、領域判定回路51の説明を行う。Next, the area determination circuit 51 will be described.

【0030】この回路51は、画像の各画素を4つの領
域のどの領域であるかを決定するものである。この4つ
の領域は、(1)ノーマル領域、(2)ペイント領域、
(3)ライン領域、(4)ペイント内ライン領域、であ
る。
This circuit 51 determines which one of the four areas each pixel of the image is. These four areas are (1) normal area, (2) paint area,
(3) line area and (4) in-paint line area.

【0031】ノーマル領域は、何もしない領域であり、
初期値はこの領域に設定されている。ペイント領域は、
閉区間内を塗りぶす領域である。但し、境界の黒線上で
はノーマル領域とする。さらに、ライン領域は黒色をマ
ーカー色に置き換える領域である。ペイント内ライン領
域は、ペイント領域とライン領域との複合型であり、ペ
イント領域内のライン領域であることを示す。
The normal area is an area that does nothing,
The initial value is set in this area. The paint area is
This is a region where the closed section is painted over. However, the normal area is set on the black line at the boundary. Further, the line area is an area in which black is replaced with a marker color. The in-paint line area is a composite type of the paint area and the line area, and is a line area in the paint area.

【0032】この領域判定回路51は、図3に示すよう
に、センサ128画素があり、各画素(注目画素P1)
について読み取ったデータと主走査方向の1つ前の画素
P2の記憶データとをFIFOメモリ52に記憶してい
る。
As shown in FIG. 3, the area determination circuit 51 has 128 pixels of sensors and each pixel (target pixel P1).
The read data and the storage data of the pixel P2 immediately before in the main scanning direction are stored in the FIFO memory 52.

【0033】記憶データには、ペイント領域時の色を決
定するペイント決定色、ラインあるいはペイント内ライ
ン領域時の色を決定するライン決定色、領域、主走査方
向の黒画素からの距離を記憶しておく横黒カウンタ、色
あるいは白画素からの距離を記憶しておく横色白カウン
タ、1ライン前の読み込んだ画素の色である前色、及び
主走査方向に対して何色から変化して現在の色になった
かを記憶しておく履歴色がある。
The memory data stores the paint-determined color that determines the color in the paint area, the line-determined color that determines the color in the line or in-paint line area, the area, and the distance from the black pixel in the main scanning direction. Horizontal black counter, horizontal color white counter that stores the distance from the color or white pixel, the previous color that is the color of the pixel read one line before, and the current color that has changed from the main scanning direction There is a history color that remembers whether or not the color has changed.

【0034】これらのデータと読み込まれたデータとの
論理合成により、印字色が決定される。その詳細を次の
表2及び表3に示す。
The print color is determined by logical synthesis of these data and the read data. The details are shown in Tables 2 and 3 below.

【0035】[0035]

【表2】 [Table 2]

【0036】[0036]

【表3】 なお、表2及び表3中において、YBK1:黒でクリア
(すきま画素数コンパレータ)、YBK2:黒でクリア
(はみ出し画素数コンパレータ)、YIROWHH:領
域によりクリア条件を変える(ノーマル中:色でクリ
ア、ペイント中:色でクリア、それ以外:クリアな
し)、N:ペイント色、*1:ライン専用モード時には
括弧内の処理を行い、黒、色、白の各カウンタは常に1
(Full)にしておく。
[Table 3] In Tables 2 and 3, YBK1: clear with black (clearance pixel number comparator), YBK2: clear with black (extruded pixel number comparator), YIROWHH: clear condition is changed depending on the area (normal: clear with color, (Painting: Clear with color, other than: No clear), N: Paint color, * 1: Processing in parentheses in line only mode, black, color, and white counters are always 1
Set to (Full).

【0037】簡単な例として、表2及び表3を用いて説
明すると、ペイント領域で前色が白のとき、入力データ
である今色がマーカー色の場合、縦横の黒距離カウンタ
を見て、黒から近いと判断されるとペイント領域にな
り、今色を印字し、ペイント決定色に今色をセットす
る、といった手順で処理を進める。
As a simple example, using Tables 2 and 3, when the previous color is white in the paint area and the current color, which is the input data, is the marker color, the vertical and horizontal black distance counters are checked, If it is determined that the color is closer to black, the area becomes the paint area, the current color is printed, and the current color is set as the paint-determined color.

【0038】前記表2及び表3で注目すべき点は、カウ
ンタを用いている点で、これによって、マーキングを厳
密に黒に隣接しなくともある条件以内であれば黒に隣接
しているものと見做して処理を行うことができる。マー
キングの条件として、はみ出しでなく隙間を許すことを
採用した理由として、はみ出しは、円グラフのようなも
のに対しての色付けができないことや、隙間は修正が可
能であることなどがあげられる。
A point to be noted in the above Tables 2 and 3 is that a counter is used, whereby the marking is adjacent to black as long as it is within a certain condition even if the marking is not strictly adjacent to black. It can be treated as if it were. The reason for adopting the allowance of a gap instead of the protrusion as the marking condition is that the protrusion cannot be colored with respect to a pie chart, and the gap can be corrected.

【0039】また、カウンタは、縦横しか見ていないた
め、仮に斜め方向にマーカー色が黒色に隣接していても
縦横カウンタでは検知できない。この場合は誤動作する
ため領域判定回路51に図4に示すような尾引き処理を
追加して回避している。その方法は、注目画素P1が白
で、前色がマーカー色でかつペイント領域で、縦横いず
れかが黒から近ければ注目画素P1を前色で置き換える
ものである。すなわち、黒画素からの距離A,B,Cの
いずれかが1mm以内で、上記条件のとき注目画素P1
の白を前ラインの色画素にする。これにより、黒とマー
カー色の間の白い隙間はあたかもマーカー色であるかの
ように処理され、斜め方向の隙間にも対処することがで
きる。
Further, since the counter only looks at the vertical and horizontal directions, even if the marker color is adjacent to black in the diagonal direction, it cannot be detected by the vertical and horizontal counters. In this case, since a malfunction occurs, a tailing process as shown in FIG. 4 is added to the area determination circuit 51 to avoid it. This method replaces the pixel of interest P1 with the previous color if the pixel of interest P1 is white, the previous color is a marker color and is a paint area, and either the vertical or horizontal direction is closer to black. That is, if any of the distances A, B, and C from the black pixel is within 1 mm and the above condition is satisfied, the pixel of interest P1
The white of is the color pixel of the previous line. As a result, the white gap between black and the marker color is processed as if it were the marker color, and it is possible to deal with the gap in the diagonal direction.

【0040】さらに、記憶データに縦方向の距離カウン
タが含まれていないのは、現在読み取っているセンサ内
で計算可能であるために、記憶しておく必要がないため
である。領域判定の後は、本発明の特徴を成す領域判定
補正回路61に色コードが入力される。この領域判定補
正回路61は、領域判定回路51の領域判定結果を周囲
の画素と比較し、誤った領域に入っていると判定される
と周囲の画素で補正するものである(詳細は後述す
る)。また、つなぎメモリ(SRAM)62は、バンド
のまたがりで前のバンドの補正を行う元のデータを記憶
しておくためメモリである。
Further, the reason why the stored data does not include the vertical distance counter is that it is not necessary to store it because it can be calculated in the sensor currently being read. After the area determination, the color code is input to the area determination correction circuit 61, which is a feature of the present invention. The area determination correction circuit 61 compares the area determination result of the area determination circuit 51 with surrounding pixels and corrects the surrounding pixels when it is determined that the area is included in an incorrect area (details will be described later). ). Further, the connection memory (SRAM) 62 is a memory for storing original data for correcting the previous band due to band crossing.

【0041】以上に述べた処理後の色コードが出力変換
回路70に入力される。このデータは、セレクタ71に
より、領域判定する前のデータやノイズ除去前のデータ
などの色コードと切り換えることが可能で、印字色判定
回路72に入力される。
The color code after the above processing is input to the output conversion circuit 70. This data can be switched to a color code such as data before area determination or data before noise removal by the selector 71, and is input to the print color determination circuit 72.

【0042】印字色判定回路72は4ビットの色コード
を予め設定されたテーブルでCMYKのデータに変換す
る回路である。また黒に関しては、ハーフトーンを実現
するために、マーカー色判別回路20で生成された黒濃
度を用いて濃度生成回路73で濃度を生成している。
The print color judging circuit 72 is a circuit for converting a 4-bit color code into CMYK data by using a preset table. As for black, the density is generated by the density generation circuit 73 using the black density generated by the marker color discrimination circuit 20 in order to realize halftone.

【0043】出力変換回路70の中には、出力モードと
して、(1)標準バックモード、(2)標準ブルーバッ
クモード、(3)特別ブルーバックモード、の3モード
がある。標準バックモードは、領域判定回路51で生成
された色コードを次の表4に示すCMYKの出力テーブ
ルで変換して出力するモードである。標準ブルーバック
モードは、前記標準バックモードの白と出力決定された
画素をブルーに、黒と出力決定された画素を白にそれぞ
れ変換して出力するもので、OHP原稿で用いるブルー
バック原稿を作成することができる。また、特別ブルー
バックモードは、前記標準ブルーバックモードとほぼ同
じであるが、ペイント領域内の黒だけはそのまま出力す
るモードである。
The output conversion circuit 70 has three output modes: (1) standard back mode, (2) standard blue back mode, and (3) special blue back mode. The standard back mode is a mode in which the color code generated by the area determination circuit 51 is converted by the CMYK output table shown in Table 4 below and output. In the standard blue back mode, the pixels whose output is determined to be white in the standard back mode are converted into blue and the pixels whose output is determined to be black are converted into white, and are output. can do. The special blue back mode is almost the same as the standard blue back mode, but only the black in the paint area is output as it is.

【0044】[0044]

【表4】 以上の処理を終えたCMYKデータは、図1に示した変
倍、マスキング、2値化などの処理を行い、プリンタ部
で印字される。
[Table 4] The CMYK data that has undergone the above processing is subjected to processing such as scaling, masking, and binarization shown in FIG. 1 and printed by the printer unit.

【0045】次に、補正回路61について詳細に説明す
る。
Next, the correction circuit 61 will be described in detail.

【0046】前述したように、図7で示したマーキング
ルールを違反した原稿を処理すると図8に示すような出
力となる。
As described above, when a document that violates the marking rule shown in FIG. 7 is processed, the output shown in FIG. 8 is obtained.

【0047】表2及び表3を参照して詳細に説明する
と、Z1はペイント領域の入口で誤ってライン領域に入
ったものである。ノーマル領域の白から色に変化する場
合で黒が周囲に無いのでライン領域に入ってしまう。さ
らに、色→黒→色とライン領域を続け、色→白と変化し
たところでノーマル領域に戻る。
Explaining in detail with reference to Tables 2 and 3, Z1 is accidentally entered into the line area at the entrance of the paint area. When the color changes from white in the normal area to black, there is no black in the surrounding area, so the area enters the line area. Further, the line area is continued in the order of color → black → color, and when the color → white is changed, the normal area is restored.

【0048】従って、ペイント領域内で一部だけノーマ
ル領域に戻るので、Z1’に示すように白抜けとなる。
Z2の場合も同様にZ2’に示すように白抜けとなる。
Therefore, only a part of the paint area is returned to the normal area, and a blank area is produced as indicated by Z1 '.
Similarly, in the case of Z2, there is a blank area as indicated by Z2 '.

【0049】Z3は、ペイント領域の出口での問題であ
る。ペイントの色から黒に変化した時点でノーマル領域
に戻る。しかし、再びノーマルの黒→色と変化するため
ペイント領域に入る。それ以降は、ペイント終了条件が
存在しないために色を印字し続けることになる。Z4
は、ペイントの色から黒に変化したときに白隙間が広す
ぎるため、ペイント領域内の黒であると判断してペイン
ト領域を続けるために、Z3と同様、ペイント終了条件
が以後存在しないため色を印字し続ける。
Z3 is a problem at the exit of the paint area. When the color of the paint changes to black, it returns to the normal area. However, since it changes from normal black to color again, it enters the paint area. After that, since the paint end condition does not exist, the color is continuously printed. Z4
Since the white gap is too wide when the color of the paint changes to black, it is judged to be black in the paint area and the paint area is continued. Continue printing.

【0050】この手法の問題は、領域情報が主走査方向
のみに対して処理され、副走査方向に対しては完全に独
立であることである。そのため、隣同士の入力データが
同じ白であるにもかかわらず、一方はペイント領域であ
り、もう一方はノーマル領域であるという実際にあって
はならない状態となる。
The problem with this approach is that the area information is processed only in the main scan direction and is completely independent of the sub scan direction. For this reason, even though the input data of the adjacent two are the same white, one is the paint area and the other is the normal area, which is not the actual state.

【0051】そこで、領域判定回路50で主走査方向の
みに対して処理された領域を、補正回路60により副走
査方向に補正する。
Therefore, the area processed by the area determination circuit 50 only in the main scanning direction is corrected in the sub scanning direction by the correction circuit 60.

【0052】図5に示すように注目画素(履歴色、色、
領域)P1に対して、まず最初に主走査方向の左画素P
2の記憶データを用いて領域を決定する。記憶データは
図3に示した情報である。次に、副走査方向の上画素P
3の履歴コード(履歴色、色、領域の組み合わせをコー
ド化したもの)と決定された領域とを比較し、ある条件
に当てはまる時は、上画素の領域に置き換える。
As shown in FIG. 5, the pixel of interest (history color, color,
Region P1 for the left pixel P in the main scanning direction
The area is determined using the stored data of 2. The stored data is the information shown in FIG. Next, the upper pixel P in the sub-scanning direction
The history code of No. 3 (coded a combination of history color, color, and area) is compared with the determined area, and when a certain condition is satisfied, the area is replaced with the area of the upper pixel.

【0053】バンドの先頭では、上方向に履歴コードが
ないので、つなぎメモリ62から履歴コードを取り出し
て用いる。このような処理を行うことにより2次元的に
領域が決定される効果がある。
At the beginning of the band, since there is no history code in the upward direction, the history code is retrieved from the connecting memory 62 and used. By performing such processing, there is an effect that a region is two-dimensionally determined.

【0054】ここで、履歴コードについて、次の表5の
履歴コード決定条件を用いて説明する。
Here, the history code will be described using the history code determination conditions shown in Table 5 below.

【0055】[0055]

【表5】 履歴コードは3ビットで0から5の値をとる。注目画素
(表5では今色)の読取り色が白で領域がノーマルで、
主走査方向の処理済みの記憶データの中の履歴色が黒の
場合はその画素の履歴コードは“0”となる。このコー
ドは、次の表6の補正条件に示す上画素履歴コードとし
て、1つ下の画素の領域補正を行うときに使用される。
以下、履歴コード1から5は表5に示すような条件のと
きに割り付けられる。
[Table 5] The history code is 3 bits and takes a value from 0 to 5. The reading color of the pixel of interest (current color in Table 5) is white and the area is normal,
When the history color in the processed storage data in the main scanning direction is black, the history code of that pixel is "0". This code is used as the upper pixel history code shown in the correction condition of the following Table 6 when performing the area correction of the pixel one below.
Hereinafter, history codes 1 to 5 are assigned under the conditions shown in Table 5.

【0056】[0056]

【表6】 次に、補正条件について説明する。[Table 6] Next, the correction conditions will be described.

【0057】表6の左側から、注目画素の履歴色、読み
取った注目画素の色である今色、主走査方向の領域判定
で決定された領域、及び履歴コード決定条件で既に決定
された副走査方向で1つ前の上画素の履歴コード、の4
つの条件を用いて領域を補正し、さらにその注目画素の
履歴コードを変更する。
From the left side of Table 6, the history color of the target pixel, the current color which is the color of the read target pixel, the area determined by the area determination in the main scanning direction, and the sub-scan already determined by the history code determination condition. 4 of the history code of the previous upper pixel in the direction
The area is corrected using one of the conditions, and the history code of the pixel of interest is changed.

【0058】表6の中で補正がかかる場合だけを説明す
る。補正がかからない場合は領域が正しく判定されてい
る場合である。
In Table 6, only the case where the correction is applied will be described. When no correction is applied, it means that the area is correctly determined.

【0059】履歴色が黒、注目画素が白で主走査方向に
はペイント領域と判定された場合において、上履歴コー
ドが“0”のときは、注目画素が隙間の空き過ぎでペイ
ント領域を正しく終了できなかった場合に対応する。つ
まり、1つ上の画素は白でノーマル領域になっているの
に、その下の画素がペイント領域に入っていることはあ
り得ないので、ノーマル領域に補正する。
When it is determined that the history color is black, the pixel of interest is white, and the area is a paint area in the main scanning direction, and the upper history code is "0", the area of interest is too large for the area of interest to correctly paint the area. It corresponds when it cannot be completed. That is, it is unlikely that the pixel one above is white and is in the normal region, but the pixel below it is not in the paint region, so the pixel is corrected to the normal region.

【0060】次に、履歴色がマーカー色、注目画素が白
で主走査方向にはノーマル領域と判定された場合におい
て、上履歴コードが“1”のときは、注目画素がペイン
ト領域に正しく入ることができなかった場合に対応す
る。つまり、1つ上の画素が履歴色として色を持つ白で
ペイント領域に入っていれば、その下の画素がノーマル
領域ということはあり得ないので、ペイント領域に補正
する。
Next, when it is determined that the history color is the marker color, the target pixel is white, and the normal region is in the main scanning direction, and the upper history code is "1", the target pixel correctly enters the paint region. If you can't do it. In other words, if the pixel one level above is in the paint area with white as the history color and is in the paint area, the pixel below it cannot be the normal area, so the pixel is corrected to the paint area.

【0061】次に、履歴色がマーカー色、注目画素が白
で主走査方向にはペイント領域と判定された場合におい
て、上履歴コードが“0”のときは、ペイント終了のマ
ーカーがはみ出し過ぎてペイント領域を終了できなかっ
た場合に対応する。つまり、1つ上の画素が白でノーマ
ル領域であるのに、その下の画素がペイント領域という
ことはあり得ないので、ノーマル領域に補正する。
Next, in the case where it is determined that the history color is the marker color, the target pixel is white, and the area is the paint area in the main scanning direction, and the upper history code is "0", the paint end marker protrudes too much. It corresponds to the case where the paint area cannot be finished. That is, it is not possible that the pixel above is white and is a normal area, but the pixel below it is a paint area, so the pixel is corrected to a normal area.

【0062】最後に、注目画素がマーカー色でライン領
域にある場合において、上履歴コードが3であるとき
は、ライン領域とペイント領域が隣り合うことになるの
で、上の領域であるペイント領域に補正する。
Finally, when the pixel of interest is in the line area in the marker color and the upper history code is 3, the line area and the paint area are adjacent to each other. to correct.

【0063】以上に説明したような処理を行うことによ
り、図8で説明したような許容量を越える隙間あるいは
はみ出しに対しては、一時は誤った領域に入るが、その
後に補正され、正しい画像出力が可能となる。
By performing the processing as described above, a gap or protrusion exceeding the allowable amount as described with reference to FIG. 8 is temporarily in an erroneous area, but is corrected after that to obtain a correct image. Output is possible.

【0064】なお、上記実施例の補正条件を変更するこ
とができる。具体的には、表6の今色がマーカー色でラ
イン領域にある場合、上履歴コードが3であっても領域
をペイント領域に補正しない。これは、ルール違反した
原稿によって表6の補正の効果が現れる場合と、そうで
ない場合とがあるためである。
The correction conditions of the above embodiment can be changed. Specifically, when the current color in Table 6 is the marker color and is in the line area, even if the upper history code is 3, the area is not corrected to the paint area. This is because there are cases where the effect of the correction in Table 6 appears depending on the document that violates the rule, and cases where it does not.

【0065】[0065]

【発明の効果】以上詳細に説明したように、第1の発明
であるカラー画像処理装置によれば、出力コード決定手
段の出力コードを所定の補正条件に応じて補正するよう
にしたので、マーキングルールに違反した原稿であって
も正確なマーカ編集処理を行うことができ、所望の画像
出力を得ることが可能となる。
As described in detail above, according to the color image processing apparatus of the first invention, the output code of the output code determining means is corrected in accordance with a predetermined correction condition. Even a document that violates the rule can be subjected to accurate marker editing processing, and a desired image output can be obtained.

【0066】第2の発明であるカラー画像処理装置によ
れば、上記第1の発明において、前記補正手段は、セン
サ並び方向の処理済み情報を前記補正情報として生成す
る生成手段を有し、前記読み取りセンサの1ライン前の
処理情報を用いて前記出力コード化手段によって決定さ
れた出力コードを、前記センサ並び方向の処理済み情報
に基づいて補正する構成にしたので、マーキングルール
に違反した原稿を簡易かつ的確に補正することができ
る。
According to the color image processing apparatus of the second invention, in the above-mentioned first invention, the correction means has a generation means for generating processed information in the sensor alignment direction as the correction information. Since the output code determined by the output coding means using the processing information of one line before the reading sensor is corrected based on the processed information of the sensor alignment direction, the document violating the marking rule is corrected. It can be corrected easily and accurately.

【0067】第3の発明であるカラー画像処理装置によ
れば、上記第2の発明において、前記補正手段は、1バ
ンド前の前記補正情報を記憶しておく補正情報記憶手段
と、前記センサ並び方向の処理済み情報が存在しないバ
ンドの先頭では、前記補正情報記憶手段からこれに対応
した補正情報を取り出す情報取出し手段とを備え、前記
情報取出し手段より取り出された補正情報を、次のバン
ドの補正情報のために記憶するようにしたので、マーキ
ングルールに違反した原稿をより正確に補正することが
できる。
According to the color image processing apparatus of the third invention, in the second invention, the correction means is a correction information storage means for storing the correction information of one band before, and the sensor array. At the beginning of the band in which the processed information of the direction does not exist, there is provided an information extracting means for extracting the correction information corresponding to this from the correction information storing means, and the correction information extracted by the information extracting means is stored in the next band. Since the information is stored for the correction information, it is possible to correct the document that violates the marking rule more accurately.

【0068】第4の発明であるカラー画像処理方法で
は、読取り処理と、コード化処理と、読み出し処理と、
出力コード決定処理と、補正処理と、記憶制御処理と、
出力変換処理とを順次実行するので、簡単な画像処理方
法で、マーキングルールに違反した原稿であっても正確
なマーカ編集処理を行うことができ、所望の画像出力を
得ることが可能となる。
In the color image processing method according to the fourth aspect of the invention, the reading process, the coding process, the reading process,
Output code determination processing, correction processing, storage control processing,
Since the output conversion process is sequentially executed, it is possible to perform the accurate marker editing process even for a document that violates the marking rule with a simple image processing method, and it is possible to obtain a desired image output.

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

【図1】本発明のカラー画像処理装置の実施例に係るフ
ルカラー複写機の概略構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a full-color copying machine according to an embodiment of a color image processing apparatus of the present invention.

【図2】マーカー編集回路7の内部構成を示す図であ
る。
FIG. 2 is a diagram showing an internal configuration of a marker editing circuit 7.

【図3】領域判定時の記憶データを示す図である。FIG. 3 is a diagram showing stored data at the time of area determination.

【図4】尾引き処理を説明する図である。FIG. 4 is a diagram illustrating a tailing process.

【図5】補正方法を説明する図である。FIG. 5 is a diagram illustrating a correction method.

【図6】マーカー編集仕様を示す図である。FIG. 6 is a diagram showing a marker editing specification.

【図7】マーキングルールを説明する図である。FIG. 7 is a diagram illustrating a marking rule.

【図8】従来の問題点を説明する図である。FIG. 8 is a diagram illustrating a conventional problem.

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

1 CCDラインセンサ 7 マーカー編集回路 21 白黒判定回路 22 色判定回路 23 コード化回路 24 黒濃度生成回路 51 領域判定回路 52 FIFOメモリ 61 領域判定補正回路 62 つなぎメモリ 72 印字色判定回路 73 濃度生成回路 1 CCD line sensor 7 Marker editing circuit 21 Black-and-white judgment circuit 22 Color judgment circuit 23 Coding circuit 24 Black density generation circuit 51 Area judgment circuit 52 FIFO memory 61 Area judgment correction circuit 62 Connection memory 72 Print color judgment circuit 73 Density generation circuit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 杉島 喜代久 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 広瀬 正幸 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 山形 茂雄 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 新井 康治 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 林 俊男 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Kiyohisa Sugishima 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Masayuki Hirose 3-30-2 Shimomaruko, Ota-ku, Tokyo Kya Non-Incorporated (72) Inventor Shigeo Yamagata 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Inventor Koji Arai 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Inventor Toshio Hayashi 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 原稿を読み取って多値データを出力する
読み取りセンサと、 前記多値データを、色を表現する複数の色コードに分類
するコード化手段と、 前記読み取りセンサの1ライン前の処理情報を記憶する
記憶手段と、 前記記憶手段の記憶内容を読み出す読み出し手段と、 前記読み出し手段により読み出されたデータと前記コー
ド化手段の出力データとを合成して複数の出力コードを
決定する出力コード決定手段と、 前記出力コード決定手段の出力コードを所定の補正条件
に応じて補正する補正手段と、 前記補正手段から出力された補正情報を1ライン前の処
理情報として前記記憶手段に記憶させる記憶制御手段
と、 前記補正手段により補正された出力コードを多値データ
に変換して出力する出力変換手段とを備えたことを特徴
とするカラー画像処理装置。
1. A reading sensor for reading a document and outputting multi-valued data, a coding means for classifying the multi-valued data into a plurality of color codes expressing colors, and a process one line before the reading sensor. A storage unit that stores information, a reading unit that reads out the stored contents of the storage unit, an output that determines a plurality of output codes by combining the data read by the reading unit and the output data of the encoding unit Code determining means, correcting means for correcting the output code of the output code determining means according to a predetermined correction condition, and correction information output from the correcting means is stored in the storage means as processing information of one line before. Storage control means and output conversion means for converting the output code corrected by the correction means into multi-valued data and outputting the multi-valued data. The color image processing apparatus.
【請求項2】 前記補正手段は、 センサ並び方向の処理済み情報を前記補正情報として生
成する生成手段を有し、 前記読み取りセンサの1ライン前の処理情報を用いて前
記出力コード化手段によって決定された出力コードを、
前記センサ並び方向の処理済み情報に基づいて補正する
構成にしたことを特徴とする請求項1記載のカラー画像
処理装置。
2. The correction means has a generation means for generating processed information in the sensor alignment direction as the correction information, and is determined by the output encoding means using the processing information of one line before the reading sensor. Output code
The color image processing apparatus according to claim 1, wherein the color image processing apparatus is configured to perform correction based on processed information of the sensor alignment direction.
【請求項3】 前記補正手段は、 1バンド前の前記補正情報を記憶しておく補正情報記憶
手段と、 前記センサ並び方向の処理済み情報が存在しないバンド
の先頭では、前記補正情報記憶手段からこれに対応した
補正情報を取り出す情報取出し手段とを備え、 前記情報取出し手段より取り出された補正情報を次のバ
ンドの補正情報のために記憶することを特徴とする請求
項2記載のカラー画像処理装置。
3. The correction means includes: correction information storage means for storing the correction information of one band before; and correction information storage means at the head of the band where the processed information of the sensor arrangement direction does not exist. 3. The color image processing according to claim 2, further comprising: information extracting means for extracting the correction information corresponding to the correction information, wherein the correction information extracted by the information extracting means is stored for the correction information of the next band. apparatus.
【請求項4】 読取りセンサを用いて原稿を読み取って
多値データを出力する読取り処理と、 前記多値データを、色を表現する複数の色コードに分類
するコード化処理と、 前記読み取りセンサの1ライン前の処理情報を記憶する
記憶手段の記憶内容を読み出す読み出し処理と、 前記読み出し処理により読み出されたデータと前記コー
ド化処理によりコード化されたデータとを合成して複数
の出力コードを決定する出力コード決定処理と、 前記出力コード決定処理により決定された出力コードを
所定の補正条件に応じて補正する補正処理と、 前記補正処理における補正情報を1ライン前の処理情報
として前記記憶手段に記憶させる記憶制御処理と、 前記補正処理により補正された出力コードを多値データ
に変換して出力する出力変換処理とを有することを特徴
とするカラー画像処理方法。
4. A reading process of reading a document using a reading sensor to output multi-valued data, an encoding process of classifying the multi-valued data into a plurality of color codes representing colors, and a reading process of the reading sensor. A read process for reading the stored contents of the storage means for storing the process information of one line before, and the data read by the read process and the data coded by the coding process are combined to generate a plurality of output codes. Output code determination processing for determining, correction processing for correcting the output code determined by the output code determination processing according to a predetermined correction condition, and correction information in the correction processing as processing information of one line before the storage means And a storage control process for storing the output code corrected by the correction process into multivalued data and outputting the converted output code. A method for processing a color image, which comprises:
JP6230718A 1994-08-31 1994-08-31 Color image processing apparatus and color image processing method Pending JPH0879541A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6230718A JPH0879541A (en) 1994-08-31 1994-08-31 Color image processing apparatus and color image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6230718A JPH0879541A (en) 1994-08-31 1994-08-31 Color image processing apparatus and color image processing method

Publications (1)

Publication Number Publication Date
JPH0879541A true JPH0879541A (en) 1996-03-22

Family

ID=16912228

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6230718A Pending JPH0879541A (en) 1994-08-31 1994-08-31 Color image processing apparatus and color image processing method

Country Status (1)

Country Link
JP (1) JPH0879541A (en)

Similar Documents

Publication Publication Date Title
US7142717B2 (en) Image processing apparatus and method
EP0448330B1 (en) Method and apparatus for processing image
EP0357407B1 (en) Image signal processing apparatus for use in color image reproduction system
US7327492B2 (en) Image processing device and image processing method
US5136401A (en) Image layout apparatus for performing pattern modification such as coloring of an original image
US5245417A (en) Ground fog and ground removing system for image forming apparatus
EP0637886B1 (en) Method of preparing a color image
US7002709B1 (en) Image processing system, image processing method, and image input system
US6330075B1 (en) Image processing method and apparatus
US7365880B2 (en) Image processing apparatus and image processing method
US7466453B2 (en) Image processing apparatus
US6744921B1 (en) Image processing apparatus and method that determines the thickness of characters and lines
EP0643528B1 (en) Image processing apparatus capable of performing marker editing
US5987166A (en) Image processing apparatus capable of marker editing original image
EP0662765B1 (en) Image processing apparatus and method
US6661921B2 (en) Image process apparatus, image process method and storage medium
US7116448B1 (en) Image forming apparatus, image forming system, printer controller, and computer-readable record medium
US20040234134A1 (en) Image processing apparatus and image processing method
JPH0879541A (en) Color image processing apparatus and color image processing method
JPH0884227A (en) Color image processor
JP3070174B2 (en) Image forming device
JP2618893B2 (en) Color image processing equipment
JP3359045B2 (en) Image processing apparatus and image processing method
JP3297466B2 (en) Image processing apparatus and image processing method
JPH08125878A (en) Image processing apparatus and image processing method