JP3496911B2 - Document judgment device - Google Patents

Document judgment device

Info

Publication number
JP3496911B2
JP3496911B2 JP04410397A JP4410397A JP3496911B2 JP 3496911 B2 JP3496911 B2 JP 3496911B2 JP 04410397 A JP04410397 A JP 04410397A JP 4410397 A JP4410397 A JP 4410397A JP 3496911 B2 JP3496911 B2 JP 3496911B2
Authority
JP
Japan
Prior art keywords
document
pattern
color
signal
generation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP04410397A
Other languages
Japanese (ja)
Other versions
JPH10243221A (en
Inventor
敏 大内
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP04410397A priority Critical patent/JP3496911B2/en
Publication of JPH10243221A publication Critical patent/JPH10243221A/en
Application granted granted Critical
Publication of JP3496911B2 publication Critical patent/JP3496911B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 【0001】 【発明の属する技術分野】本発明は、入力原稿が電子写
真式のカラー複写機で出力されたジェネレーション原稿
であるか否かを高精度に判定する原稿判定装置に関す
る。 【0002】 【従来の技術】通常、カラー複写機では、カラースキャ
ナで得られたRGB信号に対し、原稿の色再現を忠実に
行う目的で色補正が行われている。ところで、カラース
キャナにおけるカラー読み取り分光特性としては等色関
数の近似的なものしか得られない。その結果、色材の異
なる例えば印刷インキと印画紙のある色について、人間
が見て等しく見える色でも、カラースキャナで得られる
RGB信号に違いが生じることになる。このため、一般
的に印刷原稿に合わせて色補正の設計を行うことから、
概略的に言えば印刷原稿以外の色材からなる他の原稿の
色は合わないことになる。 【0003】また、カラー複写機に入力される原稿の一
つにカラー複写機で出力した原稿、孫コピーあるいはジ
ェネレーションと呼ばれているもの(以下、ジェネレー
ション原稿)がある。このジェネレーション原稿の色再
現についても上記した問題が生じる。すなわち、印刷用
に設計された唯一の色補正手段では、ジェネレーション
原稿の色再現は保証されない。 【0004】このような問題に対して、本出願人は、先
に、ジェネレーション原稿に打たれた追跡パターンを積
極的に検出し、ジェネレーション原稿であると判明した
ならば、それに応じた色補正を行なうことで、印刷原稿
/ジェネレーション原稿ともに、自動的に色再現を保証
するカラー画像処理装置および出力原稿判定装置を提案
した。 【0005】また、特開平7−336541号公報に記
載された装置では、ジェネレーション原稿に打たれた追
跡パターンを積極的に検出し、ジェネレーション原稿で
あると判明したならば、それに応じたγ補正を行なうこ
とにより、リニアな階調特性を有する出力画像を得るも
のである。 【0006】 【発明が解決しようとする課題】ところで、上記提案し
た装置では、イエローの追跡パターンを検出する場合、
固定の閾値で二値化している。カラー複写機で出力され
た画像の中にはいわゆる再生紙を使っている場合もあ
り、この場合地肌レベルも高くなるため、地レベルの低
い紙に閾値を合わせた場合、うまく追跡パターンが検出
できないと言う問題がある。 【0007】一方、前記公報に記載されている追跡のパ
ターン検出方法では、上記したように原稿の地レベルに
左右されることはないが、他の原稿もジェネレーション
原稿と誤判定する可能性が高い。具体的には、前掲した
公報に記載されたパターン検出は、3×3のマスクを用
いて、注目画素iの濃度が以下の論理式を満たし、かつ
該画素がイエローであるとき、識別パターンとして検出
する。 【0008】ドット検出信号=(i<a)∩(i<b)
∩(i<c)∩(i<d)∩(i<e)∩(i<f)∩
(i<g)∩(i<h)。 【0009】このような検出式では、パターンの限定が
小さいため、地レベルが高い場合の追跡パターンを検出
できるものの、網点原稿はじめインクジェット原稿な
ど、すなわち中問調を小さなドットで表現する絵柄原稿
あるいはノイズを誤検出する可能性が高い。 【0010】本発明は上記した事情を考慮してなされた
もので、本発明の目的は、対象原稿が電子写真方式のカ
ラー複写機で出力された原稿であるか否かを高精度に判
定する原稿判定装置を提供することにある。 【0011】 【課題を解決するための手段】前記目的を達成するため
に、請求項1記載の発明では、原稿をr、g、bのデジ
タル信号として読み出し、追跡パターンに相当する画素
を検出する手段と、該検出結果を基に前記原稿がカラー
複写機による出力画像であるか否かを判定する手段とを
備えた原稿判定装置であって、前記追跡パターンに相当
する画素を検出する手段は、r信号を二値化する手段
と、該二値化された信号と白画素パターンとのパターン
マッチングを行なう第1の手段と、g信号を二値化する
手段と、該二値化された信号と白画素パターンとのパタ
ーンマッチングを行なう第2の手段と、b信号に対して
局所的に平均値を求める手段と、該平均値を基に前記b
信号を二値化する手段と、該二値化された信号と追跡パ
ターンとのパターンマッチングを行なう第3の手段と、
前記第1、第2、第3の全ての手段でマッチングしたと
き注目画素を追跡パターンとして判定する手段と、から
構成されていることを特徴としている。 【0012】 【発明の実施の形態】以下、本発明の一実施例を図面を
用いて具体的に説明する。本発明では、プレスキャンを
利用して、原稿のカラー複写機出力である画像に特有な
追跡パターンを下地のレベルに左右されることなく適応
的に二値化し、その後、追跡パターン特有の形を積極的
に利用して検出することにより、ジェネレーション原稿
を精度よく判定する。 【0013】<ジェネレーション原稿判定装置> 図1は、本発明のジェネレーション原稿判定装置の構成
を示す。ジェネレーション原稿であるか否かを判定する
ため、本実施例の装置では、カラー複写機出力画像に必
ず印字されている追跡パターンに注目し、追跡パターン
をパターンマッチングを利用して検出する。一般に、追
跡パターンは、400dpiのプリンタにおいて特有の
形状(例えば1画素×3画素の程度)でイエロートナー
で印字される。従って、従来から幾つかの方法でこの追
跡パターンを検出する方法がとられている。 【0014】その一つの方法として、前述した本出願人
が提案した方法があるが、固定の閾値で二値化した後、
パターンマッチングしていることから、再生紙など若干
色のついたジェネレーション原稿に打たれた追跡パター
ンを、意図通りに検出できない問題があることは前述し
た通りである。 【0015】また、他の方法として、前掲した公報の方
法があるが、網点印刷や、デイザ出力されたインクジェ
ット原稿も、局所的には上記追跡パターンと類似した情
報をかなりの頻度で持っているため、これらをジェネレ
ーション原稿と間違える可能性がある。また、黄色のス
パイクノイズも追跡パターンとして誤検出する可能性も
高く、その結果として原稿の判定を誤るという問題があ
る。 【0016】そこで、本発明の装置では、上記した問題
を解決するような追跡パターン検出手段を備えたジュネ
レーション原稿判定装置を提案するものである。 【0017】以下に、本発明の装置の各部を詳述する。 カラースキャナ1; CCDカメラなどの光電変換素子を有し、原稿を読み取
って、赤、緑、青の3色の色分解信号(アナログ)を得
て、これら3信号に対して、A/D変換を行い、rgb
のデジタル信号(各8ビット)を出力する。スキャナの
解像度は400dpiとする。 【0018】Log変換部2; スキャナからの信号は、概ね反射率リニアな信号であ
り、これを濃度リニアな信号に変換する。従って、Lo
g変換後の出力信号としては、紙白を0、黒を255と
する。 【0019】MTF補正部3; 後段の二値化処理の前処理として、rg信号それぞれに
対して、MTF補正フィルタを施す。図2は、MTF補
正フィルタの係数の一例を示す。 【0020】二値化処理部4(r,g用); 二値化処理部4では、固定の閾値で二値化を行なう。こ
こで、閾値として、本発明では、再生紙を考慮した(つ
まり、再生紙の地を白と判定するような)閾値を設定す
る。 【0021】平均値算出(+加算処理)部5; 地レベルに依存しないような二値化の閾値を設定するた
め、まず注目画素周辺の平均値を求める。ここでは、例
えば図3に示すような1×5画素内の平均値を求める。
そして、この平均値を二値化用閾値とする。あるいは、
追跡パターン形状をより明確に出力するために、この平
均値に所定の値を加算して、二値化用閾値としても良
い。 【0022】二値化処理部4(b用); 上記した平均値算出部5で算出された閾値で二値化を行
なう。ここで、閾値として、本発明では、再生紙を考慮
した(つまり、再生紙の地を白と判定するような)閾値
を設定する。 【0023】パターンマッチング回路6; PM1(r、g信号用パターン) 図4(a)は、r、g信号用パターンを示す。これによ
り、rやgの補色であるところのシアン色やマゼンタ色
が注目画素近傍に存在せず、言い替えればイエロー領域
を検出することになる。 【0024】PM2(b信号用パターン) 図4(b)は、b信号用パターンを示す。ここでは代表
的なパターンである400dpiプリンタで1画素×3
画素の追跡パターンを検出するためのパターンを準備し
た。一般に、印刷の網点ドットは円形や正方形であり、
準備したようなパターンにヒットすることはない。 【0025】総合判定部7; 3つのパターンマッチング回路から出力が全てonすな
わち全てマッチングしたとき、注目画素を追跡パターン
画素として判定する。 【0026】計数器8; 所定の領域内(例えば原稿全面)において、前述した追
跡パターンの画素数を計数する。 【0027】比較器9; 前述した追跡パターン画素の計数値(V)と所定の閾値
(THgen)を比較し、ジェネレーション原稿である
否かを判定する。V>THgenであれば、原稿がジェ
ネレーション原稿であるという信号を出力する。 【0028】図5は、色補正回路を設けた、本発明のジ
ェネレーション原稿判定装置の他の構成を示す。この色
補正処理の詳細については後述する。色補正回路を設け
る理由は、以下の通りである。イエロー単色で打たれた
追跡パターンをRGB信号で見た場合、理想的な色分解
はできず、RG信号にもイエロー成分がレスポンスして
しまう。すなわち、信号レベルが0ではない。また、B
信号にも若干理想からのずれが生じ、本来の追跡パター
ン形状(1×3画素)から若干その形が崩れる可能性が
ある。そこで、R,G,B信号を色補正処理したC,
M,Y信号から追跡パターンを検出するものである。 【0029】なお、後述するように色補正係数として、
印刷原稿用とジェネレーション用があるが、原稿認識を
行なうプレスキャン時にはジェネレーション用色補正係
数を設定しておくと、追跡パターンが理想に近い形にな
るので検出には有利に働き、判定性能が向上する。 【0030】〈ジェネレーション原稿判定装置を利用し
た画像再生装置〉 ここでは、前述した図1のジェネレーション原稿判定装
置を利用して、画像を再生する装置(カラー画像処理装
置)について説明する。図6は、本発明の画像再生装置
の構成を示す。図において、21はカラースキャナ、2
2はLog変換回路、23は色補正回路、24はカラー
プリンタ、25は原稿判定回路、26は色補正係数格納
部である。 【0031】以下、説明を簡単にするため、準備する色
補正手段としては、網点写真(印刷)用とジェネレーシ
ョン原稿用の2種類を持つことにする。もちろん、例え
ば特開平6−197218号公報に記載された技術を利
用して、さらに銀塩写真(印画紙)用やそれらの混在用
などを準備することは、広範囲の原稿に対しての色の忠
実性を保証する意味で有効である。 【0032】装置を構成する各部分を説明する。カラー
スキャナ21は前述した通りである。 Log変換回路22; カラースキャナ21の出力信号は概ね反射率リニアな信
号である。これを色補正処理により有利な濃度信号(R
GB信号)に変換する。これにより、色補正変換の線形
性がより保証され、言い替えれば色補正回路を簡単化す
ることができる。 【0033】色補正回路23; ここでは次のような線形一次式で色補正を行うものとす
る。すなわち、R,G,BをLog変換後の信号(各8
ビット)とし、Y,M,Cをプリンタ駆動信号とし、a
0〜a3、b0〜b3、c0〜c3を色補正係数群とす
ると、本色補正回路は、式(1)によって表される。 【0034】 C=a0+a1×R+a2×G+a3×B M=b0+b1×R+b2×G+b3×B Y=c0+c1×R+c2×G+c3×B ...式(1) 本装置では、印刷原稿用の色補正係数群とジェネレーシ
ョン原稿用の色補正係数群を準備する。 【0035】カラープリンタ24; ここでは、シアン、マゼンタ、イエローの3色で画像を
作成するプリンタであって、駆動信号(C,M,Y)を
受取り、画像を作成する。なお、プリンタがブラックを
加えた4色再生のときは、例えばmin(C,M,Y)
でブラック信号を作成し、その分をC,M,Yから引く
いわゆるUCR処理によって駆動信号を作り、プリント
アウトすればよい。 【0036】原稿判定回路25; ここでは、図1に示すジェネレーション原稿判定装置を
使用する。従って、その判定は、ジェネレーション原稿
(電子写真式プリンタ原稿)とそれ以外、つまり印刷原
稿を識別し、その結果を出力する。原稿判定回路25は
プレスキャン時に作動する。プレスキャン時には、原稿
の全体をスキャンする必要はなく、原稿の一部、例えば
白地の可能性の高い原稿周囲だけでもよい。また、さら
には、プレスキャンを行なわずに、画像を再生して行く
途中で、色補正係数を切り替えるようにしてもよい。す
なわち、初期値としては印刷用色補正係数を設定し、ス
キャンしている途中のいずれかの位置で原稿の判定を行
ない、ジェネレーション原稿と判明したらば、それ以降
はジェネレーション原稿用の色補正係数に切り替える。 【0037】次に、準備する色補正係数群の設定方法
は、基本的には前掲した特開平6−197218号公報
に記載された手順で決める。該公報には、網点写真用、
銀塩写真用の設定方法が記載されていて、ここでは特に
ジェネレーション原稿用の色補正係数の設定方法の一例
について説明する。 【0038】(イ)次式のようなプリンタ近似式(L
*,a*,b*−C,M,Y)を求める。すなわち、C
MY信号を適当な間隔で選択し、図7に示すようなカラ
ーパッチ群を電子写真式プリンタ(カラー複写機のプリ
ンタ部)を使用して作成する。ここで、カラープリンタ
は、シアン、マゼンタ、イエローの3色各8ビット信号
を入力するものとする。混色パッチを適当な計測計(L
*,a*,b*)で測定する。これらのデータ群に対し
最小二乗法を利用し、式(2)を得る。 【0039】C=α0+α1L*+α2a*+α3b*
+α4L*L*+α5a*a*+α6b*b*+α7L
*a*+α8a*b*+α9b*L* M=β0+β1L*+β2a*+β3b*+β4L*L
*+β5a*a*+β6b*b*+β7L*a*+β8
a*b*+β9b*L* Y=γ0+γ1L*+γ2a*+γ3b*+γ4L*L
*+γ5a*a*+γ6b*b*+γ7L*a*+γ8
a*b*+γ9b*L* ...式(2) 【0040】(ロ)さらに、図7のようなカラーパッチ
群を(このとき数種類の電子写真式プリンタを使用して
パッチを作成するとデータが平均化される)カラースキ
ャナから入力し、Log変換後の各パッチのR,G,B
信号を得る。一方、これらカラーパッチを測色計で計測
し、各パッチのL*,a*,b*値を得る。 【0041】(ハ)以上により、上記(2)式を介して
(R,G,B−C,M,Y)のデータ群を得ることがで
きる。このデータ群に対して、上記(1)式に対し最小
二乗法を用いて、ジェネレーション原稿色とプリントア
ウトされた色が合うような色補正係数群(a0〜a3、
b0〜b3、c0〜c3)を求める。 【0042】このようにして決定されたジェネレーショ
ン原稿用の色補正係数は、ROMあるいはRAMで構成
された色補正係数格納部26に設定される。プレスキャ
ン時に原稿判定回路25が作動し、原稿がジェネレーシ
ョン原稿であるか否かを判定する。ジェネレーション原
稿であると判定されたときには、色補正係数格納部26
内のジェネレーション原稿用係数を選択する信号が出力
される。そして、本スキャン時に、選択されたジェネレ
ーション原稿用係数が読み出されて色補正回路23に設
定され、ジェネレーション原稿に適した色補正係数を用
い、式(1)に従って色補正処理が行われる。 【0043】上記した実施例ではジェネレーション原稿
判定装置を使用して、色補正係数を切り替える例を示し
たが、本発明はこれに限定されるものではなく、本発明
の原稿判定装置を使用して、例えば前掲した特開平7−
336541号公報に記載の画像処理装置に適用し、原
稿に応じて階調補正手段を変更することも可能である。 【0044】 【発明の効果】以上、説明したように、本発明によれ
ば、原稿が電子写真式のプリンタを持つカラー複写機で
出力された原稿(ジェネレーション原稿)であるか否か
を高精度に判定することが可能となる。特に、再生紙に
代表されるような地レベルの高い紙に追跡パターンが打
たれている場合でも、安定して該パターンを検出するこ
とができ、つまりジェネレーション原稿であると判定す
ることが可能である。また、パターンマッチングによっ
て検出すべきパターンを正確に限定しているので、従来
比較的誤判定していた印刷原稿やインクジェット出力原
稿をジェネレーション原稿であると誤判定することがほ
とんどなくなる。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document determination method for determining with high accuracy whether an input document is a generation document output by an electrophotographic color copying machine. Equipment related. 2. Description of the Related Art Normally, in a color copying machine, color correction is performed on an RGB signal obtained by a color scanner in order to faithfully reproduce the color of a document. By the way, as a color reading spectral characteristic of a color scanner, only an approximate color matching function can be obtained. As a result, for a certain color of different color materials, for example, a certain color of printing ink and printing paper, a difference occurs in RGB signals obtained by a color scanner even if the color looks the same when viewed by a human. For this reason, since color correction is generally designed according to the print original,
Roughly speaking, the colors of other documents made of color materials other than the printed document do not match. [0003] One of the originals input to the color copier includes an original output by the color copier, a grandchild copy or a generation (hereinafter referred to as a generation original). The above-described problem also occurs in color reproduction of this generation original. That is, the color reproduction of the generation original is not guaranteed by the only color correction unit designed for printing. [0004] In response to such a problem, the present applicant has previously positively detected a tracking pattern struck on a generation original, and if it is determined that the original is a generation original, performs color correction in accordance therewith. By doing so, a color image processing device and an output document discriminating device that automatically guarantee color reproduction for both print documents and generation documents have been proposed. In the apparatus described in Japanese Patent Application Laid-Open No. Hei 7-336541, a chase pattern hit on a generation document is positively detected, and if it is determined that the document is a generation document, a gamma correction corresponding thereto is performed. By doing so, an output image having linear gradation characteristics is obtained. [0006] By the way, in the above proposed device, when a yellow tracking pattern is detected,
Binarization is performed with a fixed threshold. Some of the images output by the color copier use so-called recycled paper. In this case, the background level is also high. Therefore, if the threshold value is adjusted to a paper with a low ground level, the tracking pattern cannot be detected properly. There is a problem to say. On the other hand, in the tracking pattern detection method described in the above-mentioned publication, the original is not influenced by the ground level of the original as described above, but there is a high possibility that other originals are erroneously determined to be generation originals. . Specifically, the pattern detection described in the above-mentioned publication uses a 3 × 3 mask, and when the density of the target pixel i satisfies the following logical expression and the pixel is yellow, the pattern is detected as an identification pattern. To detect. Dot detection signal = (i <a) ∩ (i <b)
{(I <c)} (i <d) {(i <e)} (i <f)}
(I <g) ∩ (i <h). In such a detection method, since the pattern limitation is small, a tracking pattern can be detected when the ground level is high. However, a dot document or an ink jet document, that is, a picture document expressing a medium tone with small dots. Alternatively, the possibility of erroneously detecting noise is high. The present invention has been made in consideration of the above circumstances, and an object of the present invention is to determine with high precision whether or not a target document is a document output by an electrophotographic color copying machine. An object of the present invention is to provide a document determination device. In order to achieve the above object, according to the first aspect of the present invention, an original is composed of r, g, and b digital images.
A document reading device for reading out a pixel signal corresponding to a tracking pattern, and a device for determining whether the document is an output image of a color copying machine based on the detection result. Means for detecting a pixel corresponding to the tracking pattern, means for binarizing the r signal
And a pattern of the binarized signal and a white pixel pattern
First means for matching and binarizing the g signal
Means and a pattern of the binarized signal and a white pixel pattern.
A second means for performing the tone matching, and for the b signal
Means for locally obtaining an average value, and b
Means for binarizing the signal, and the binarized signal and the tracking signal;
Third means for performing pattern matching with the turn,
Matching by all of the first, second and third means
Means for determining the pixel of interest as a tracking pattern.
It is characterized by being constituted . Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. In the present invention, a pre-scan is used to adaptively binarize a tracking pattern peculiar to an image output from a color copier of a document without being affected by the level of a background, and thereafter, a shape peculiar to the tracking pattern is formed. By actively utilizing and detecting, the generation original is determined with high accuracy. <Generation Document Judgment Apparatus> FIG. 1 shows a configuration of a generation document judgment apparatus of the present invention. In order to determine whether or not the document is a generation document, the apparatus according to the present embodiment focuses on the tracking pattern always printed on the output image of the color copying machine, and detects the tracking pattern using pattern matching. Generally, the tracking pattern is printed with a yellow toner in a specific shape (for example, about 1 pixel × 3 pixels) in a 400 dpi printer. Therefore, conventionally, a method of detecting this tracking pattern by several methods has been adopted. As one of the methods, there is a method proposed by the present applicant as described above, but after binarization with a fixed threshold value,
As described above, since the pattern matching is performed, there is a problem that a tracking pattern hit on a slightly colored generation original such as recycled paper cannot be detected as intended. [0015] As another method, there is a method disclosed in the above-mentioned gazette. However, a halftone printing or a dither-output ink jet document locally has information similar to the above-mentioned tracking pattern at a considerable frequency. Therefore, they may be mistaken for generation manuscripts. Further, there is a high possibility that the yellow spike noise is erroneously detected as a tracking pattern, and as a result, there is a problem that the determination of the document is erroneously performed. In view of the above, the apparatus according to the present invention proposes a generation document judging apparatus provided with a tracking pattern detecting means for solving the above-mentioned problem. Hereinafter, each part of the apparatus of the present invention will be described in detail. The color scanner 1 has a photoelectric conversion element such as a CCD camera, reads an original, obtains color separation signals (analog) of three colors of red, green, and blue, and A / D converts these three signals. And rgb
(8 bits each) are output. The resolution of the scanner is 400 dpi. Log conversion unit 2 The signal from the scanner is a signal having a substantially linear reflectance, and is converted into a signal having a linear density. Therefore, Lo
The output signal after the g conversion is 0 for paper white and 255 for black. MTF correction unit 3: As a pre-process of the subsequent binarization process, an MTF correction filter is applied to each of the rg signals. FIG. 2 shows an example of the coefficients of the MTF correction filter. Binarization processing section 4 (for r and g); The binarization processing section 4 performs binarization with a fixed threshold. Here, in the present invention, a threshold value is set in consideration of recycled paper (that is, such that the ground of the recycled paper is determined to be white). Average value calculation (+ addition processing) section 5: In order to set a threshold value for binarization independent of the ground level, first, an average value around the target pixel is obtained. Here, for example, an average value in 1 × 5 pixels as shown in FIG. 3 is obtained.
Then, the average value is used as a threshold for binarization. Or
In order to output the tracking pattern shape more clearly, a predetermined value may be added to this average value to obtain a threshold for binarization. Binarization processing section 4 (for b): Binarization is performed using the threshold value calculated by the average value calculation section 5 described above. Here, in the present invention, a threshold value is set in consideration of recycled paper (that is, such that the ground of the recycled paper is determined to be white). Pattern matching circuit 6: PM1 (pattern for r and g signals) FIG. 4A shows a pattern for r and g signals. As a result, cyan and magenta colors, which are complementary colors of r and g, do not exist near the target pixel, in other words, the yellow area is detected. PM2 (pattern for b signal) FIG. 4B shows a pattern for b signal. Here, a typical pattern of a 400 dpi printer is 1 pixel × 3 pixels.
A pattern for detecting a pixel tracking pattern was prepared. Generally, halftone dots for printing are circular or square,
You won't hit the pattern you prepared. Comprehensive judging section 7: When all the outputs from the three pattern matching circuits are on, that is, when all of the outputs match, the target pixel is judged as a tracking pattern pixel. A counter 8 counts the number of pixels of the above-mentioned tracking pattern in a predetermined area (for example, the entire surface of the document). Comparator 9: Compares the count value (V) of the tracking pattern pixels described above with a predetermined threshold (THgen) to determine whether or not the document is a generation document. If V> THgen, a signal indicating that the document is a generation document is output. FIG. 5 shows another configuration of the generation original discriminating apparatus of the present invention provided with a color correction circuit. The details of the color correction processing will be described later. The reason for providing the color correction circuit is as follows. When a tracking pattern hit with a single yellow color is viewed with an RGB signal, ideal color separation cannot be performed, and a yellow component also responds to the RG signal. That is, the signal level is not 0. Also, B
There is a possibility that the signal slightly deviates from the ideal, and the shape is slightly distorted from the original tracking pattern shape (1 × 3 pixels). Therefore, C, which is obtained by subjecting the R, G, B signals to color correction processing,
A tracking pattern is detected from the M and Y signals. As will be described later, a color correction coefficient is
There are two types, one for printed originals and one for generations, but if you set a color correction coefficient for generation during pre-scanning for document recognition, the tracking pattern will be closer to ideal, so it will be advantageous for detection and improve judgment performance. I do. <Image Reproducing Apparatus Using Generation Document Determining Apparatus> Here, an apparatus (color image processing apparatus) for reproducing an image using the above-described generation document determining apparatus shown in FIG. 1 will be described. FIG. 6 shows the configuration of the image reproducing apparatus of the present invention. In the figure, 21 is a color scanner, 2
2 is a Log conversion circuit, 23 is a color correction circuit, 24 is a color printer, 25 is a document determination circuit, and 26 is a color correction coefficient storage unit. Hereinafter, for the sake of simplicity, it is assumed that there are two types of color correction means to be prepared, one for halftone photographs (printing) and the other for generation documents. Needless to say, using the technology described in JP-A-6-197218, for example, further preparing for silver halide photographs (photographic paper) or for mixing them, etc. It is effective in guaranteeing fidelity. Each part of the apparatus will be described. The color scanner 21 is as described above. Log conversion circuit 22; The output signal of the color scanner 21 is a signal having a substantially linear reflectance. This is converted into an advantageous density signal (R
(GB signal). Thereby, the linearity of the color correction conversion is further ensured, in other words, the color correction circuit can be simplified. Color correction circuit 23: Here, it is assumed that color correction is performed by the following linear linear equation. That is, the signals after the R, G, and B log conversion (each 8
Bit), Y, M, and C are printer drive signals, and a
Assuming that 0 to a3, b0 to b3, and c0 to c3 are color correction coefficient groups, the present color correction circuit is represented by Expression (1). C = a0 + a1 × R + a2 × G + a3 × B M = b0 + b1 × R + b2 × G + b3 × B Y = c0 + c1 × R + c2 × G + c3 × B. . . Equation (1) In this apparatus, a color correction coefficient group for a print document and a color correction coefficient group for a generation document are prepared. Here, the color printer 24 is a printer that creates an image in three colors of cyan, magenta, and yellow, and receives drive signals (C, M, Y) to create an image. When the printer reproduces four colors by adding black, for example, min (C, M, Y)
, A drive signal is created by so-called UCR processing of subtracting the black signal from C, M, and Y, and printed out. Document determination circuit 25; Here, the generation document determination device shown in FIG. 1 is used. Therefore, the determination is made by discriminating between the generation document (electrophotographic printer document) and the other, that is, the printed document, and outputting the result. The document determination circuit 25 operates at the time of prescan. At the time of pre-scanning, it is not necessary to scan the entire original, and only a part of the original, for example, the periphery of the original having a high possibility of a white background may be used. Further, the color correction coefficient may be switched during the reproduction of the image without performing the prescan. That is, a printing color correction coefficient is set as an initial value, a document is determined at any position during scanning, and if it is determined that the document is a generation document, the color correction coefficient is switched to a generation document after that. . Next, the method of setting the prepared color correction coefficient group is basically determined by the procedure described in the above-mentioned Japanese Patent Application Laid-Open No. Hei 6-197218. The gazette includes a halftone photo,
A setting method for a silver halide photograph is described. Here, an example of a method for setting a color correction coefficient for a generation original will be described. (A) A printer approximation formula (L
*, A *, b * -C, M, Y). That is, C
The MY signal is selected at appropriate intervals, and a color patch group as shown in FIG. 7 is created using an electrophotographic printer (printer unit of a color copying machine). Here, it is assumed that the color printer inputs 8-bit signals for each of the three colors cyan, magenta, and yellow. The mixed-color patch is measured using a suitable measuring instrument (L
*, A *, b *). Equation (2) is obtained by using the least squares method for these data groups. C = α0 + α1L * + α2a * + α3b *
+ Α4L * L * + α5a * a * + α6b * b * + α7L
* A * + α8a * b * + α9b * L * M = β0 + β1L * + β2a * + β3b * + β4L * L
* + Β5a * a * + β6b * b * + β7L * a * + β8
a * b * + β9b * L * Y = γ0 + γ1L * + γ2a * + γ3b * + γ4L * L
* + Γ5a * a * + γ6b * b * + γ7L * a * + γ8
a * b * + γ9b * L *. . . (B) Further, a group of color patches as shown in FIG. 7 is input from a color scanner (the data is averaged when patches are created using several types of electrophotographic printers). , R, G, B of each patch after Log conversion
Get the signal. On the other hand, these color patches are measured by a colorimeter to obtain L *, a *, b * values of each patch. (C) As described above, a data group of (R, G, BC, M, Y) can be obtained through the above equation (2). Using this data group, a color correction coefficient group (a0 to a3,
b0 to b3, c0 to c3) are obtained. The color correction coefficients for the generation original determined in this way are set in the color correction coefficient storage section 26 constituted by a ROM or a RAM. At the time of pre-scanning, the document determination circuit 25 operates to determine whether the document is a generation document. If it is determined that the document is a generation document, the color correction coefficient storage unit 26
The signal for selecting the coefficient for the generation document in the above is output. Then, at the time of the main scan, the selected generation document coefficient is read out and set in the color correction circuit 23, and the color correction process is performed according to equation (1) using a color correction coefficient suitable for the generation document. In the above-described embodiment, an example is shown in which the color correction coefficient is switched by using the generation original discriminating apparatus. However, the present invention is not limited to this. For example, Japanese Patent Laid-Open No. 7-
It is also possible to apply to the image processing apparatus described in JP-A-336541 and change the gradation correction means according to the document. As described above, according to the present invention, it is possible to accurately determine whether or not a document is a document (generation document) output by a color copying machine having an electrophotographic printer. Can be determined. In particular, even when a tracking pattern is hit on a high-level paper such as recycled paper, the pattern can be stably detected, that is, it can be determined that the document is a generation original. is there. In addition, since the pattern to be detected is accurately limited by the pattern matching, a printed document or an ink jet output document which has been relatively erroneously determined in the past is hardly erroneously determined to be a generation document.

【図面の簡単な説明】 【図1】本発明のジェネレーション原稿判定装置の構成
を示す。 【図2】MTF補正フィルタの係数の一例を示す。 【図3】注目画素周辺の平均値を求める際の参照画素の
一例を示す。 【図4】(a)、(b)は、ジェネレーション原稿判定
用のパターンを示す。 【図5】ジェネレーション原稿判定装置の他の構成を示
す。 【図6】本発明の画像再生装置の構成を示す。 【図7】カラーパッチの例を示す。 【符号の説明】 1 カラースキャナ 2 Log変換部 3 MTF補正部 4 二値化処理部 5 平均値算出部 6 パターンマッチング回路 7 総合判定部 8 計数器 9 比較器
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 shows a configuration of a generation original discriminating apparatus of the present invention. FIG. 2 shows an example of coefficients of an MTF correction filter. FIG. 3 shows an example of a reference pixel when calculating an average value around a target pixel. FIGS. 4A and 4B show patterns for generation original determination. FIG. 5 shows another configuration of the generation original discriminating apparatus. FIG. 6 shows a configuration of an image reproducing apparatus according to the present invention. FIG. 7 shows an example of a color patch. [Description of Signs] 1 Color scanner 2 Log conversion unit 3 MTF correction unit 4 Binarization processing unit 5 Average value calculation unit 6 Pattern matching circuit 7 Overall judgment unit 8 Counter 9 Comparator

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 1/40 G03G 15/01 H04N 1/60 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) H04N 1/40 G03G 15/01 H04N 1/60

Claims (1)

(57)【特許請求の範囲】 【請求項1】 原稿をr、g、bのデジタル信号として
読み出し、追跡パターンに相当する画素を検出する手段
と、該検出結果を基に前記原稿がカラー複写機による出
力画像であるか否かを判定する手段とを備えた原稿判定
装置であって、 前記追跡パターンに相当する画素を検出する手段は、r信号を二値化する手段と、該二値化された信号と白画
素パターンとのパターンマッチングを行なう第1の手段
と、 g信号を二値化する手段と、該二値化された信号と白画
素パターンとのパターンマッチングを行なう第2の手段
と、 b信号に対して局所的に平均値を求める手段と、該平均
値を基に前記b信号を二値化する手段と、該二値化され
た信号と追跡パターンとのパターンマッチングを行なう
第3の手段と、 前記第1、第2、第3の全ての手段でマッチングしたと
き注目画素を追跡パターンとして判定する手段と、 から構成されている ことを特徴とする原稿判定装置。
(57) Claims: 1. A means for reading a document as r, g, b digital signals and detecting a pixel corresponding to a tracking pattern, and based on the detection result, Means for determining whether or not the document is an output image from a color copying machine, wherein the means for detecting a pixel corresponding to the tracking pattern includes means for binarizing an r signal; , The binarized signal and the white image
First means for performing pattern matching with an elementary pattern
Means for binarizing the g signal, and the binarized signal and a white image
Second means for performing pattern matching with an elementary pattern
Means for locally obtaining an average value for the b signal;
Means for binarizing the b signal based on the value;
Pattern matching between the detected signal and the tracking pattern
The third means and the first, second, and third means have matched.
Original determination apparatus characterized by being configured the pixel of interest comes from, means for determining a tracking pattern.
JP04410397A 1997-02-27 1997-02-27 Document judgment device Expired - Lifetime JP3496911B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04410397A JP3496911B2 (en) 1997-02-27 1997-02-27 Document judgment device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04410397A JP3496911B2 (en) 1997-02-27 1997-02-27 Document judgment device

Publications (2)

Publication Number Publication Date
JPH10243221A JPH10243221A (en) 1998-09-11
JP3496911B2 true JP3496911B2 (en) 2004-02-16

Family

ID=12682287

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04410397A Expired - Lifetime JP3496911B2 (en) 1997-02-27 1997-02-27 Document judgment device

Country Status (1)

Country Link
JP (1) JP3496911B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4662873B2 (en) * 2006-03-23 2011-03-30 Hoya株式会社 Pattern matching system
JP5206890B1 (en) * 2012-03-23 2013-06-12 富士ゼロックス株式会社 Image processing apparatus and image processing program
JP5928719B2 (en) 2012-08-08 2016-06-01 富士ゼロックス株式会社 Image processing apparatus and image processing program
JP5939393B2 (en) 2012-08-08 2016-06-22 富士ゼロックス株式会社 Image processing apparatus and image processing program

Also Published As

Publication number Publication date
JPH10243221A (en) 1998-09-11

Similar Documents

Publication Publication Date Title
JP3100391B2 (en) Color image area separation device
US6424742B2 (en) Image processing apparatus for discriminating image field of original document plural times and method therefor
US5477335A (en) Method and apparatus of copying of black text on documents using a color scanner
JP4496239B2 (en) Image processing method, image processing apparatus, image forming apparatus, image reading apparatus, computer program, and recording medium
US20050078867A1 (en) System and method for generating black and white reproductions of color documents
JP2002232708A (en) Image processing device, image forming device using the same, and image processing method
JP3736535B2 (en) Document type identification device
JP3530324B2 (en) Document determination method and apparatus
US6750984B1 (en) Image processing apparatus
JP3496911B2 (en) Document judgment device
JP2002218232A (en) Image processor, image formation device provided with the same and image processing method
JPH10126631A (en) Original type judging method, color image processor and recording medium
JP3224172B2 (en) Color image processing equipment
JP3253117B2 (en) Image processing apparatus and method
JP3847565B2 (en) Image processing apparatus, image forming apparatus including the same, and image processing method
JP4043982B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and computer-readable recording medium recording the same
US20040109605A1 (en) System for processing object areas of an image
JP3375992B2 (en) Image processing apparatus and method
JP3636802B2 (en) Output document determination apparatus and method
JPH0541796A (en) Copying machine
JP3330406B2 (en) Image processing device
JP2000324338A (en) Original kind recognition device
JP3449502B2 (en) Image processing device
JP3153221B2 (en) Color image processing equipment
JP3281391B2 (en) Full-color image reproducing apparatus and full-color image reproducing method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071128

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20081128

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20081128

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091128

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101128

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111128

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111128

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121128

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20131128

Year of fee payment: 10

EXPY Cancellation because of completion of term