JP3077204B2 - Image reading device - Google Patents

Image reading device

Info

Publication number
JP3077204B2
JP3077204B2 JP03008013A JP801391A JP3077204B2 JP 3077204 B2 JP3077204 B2 JP 3077204B2 JP 03008013 A JP03008013 A JP 03008013A JP 801391 A JP801391 A JP 801391A JP 3077204 B2 JP3077204 B2 JP 3077204B2
Authority
JP
Japan
Prior art keywords
density
document
color
output
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP03008013A
Other languages
Japanese (ja)
Other versions
JPH04339460A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP03008013A priority Critical patent/JP3077204B2/en
Publication of JPH04339460A publication Critical patent/JPH04339460A/en
Application granted granted Critical
Publication of JP3077204B2 publication Critical patent/JP3077204B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Control Or Security For Electrophotography (AREA)
  • Facsimile Scanning Arrangements (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、複写機、ファクシミ
リ、プリンタ等に用いる画像読取装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image reading apparatus used for a copying machine, a facsimile, a printer, and the like.

【0002】[0002]

【従来の技術】近年、複写機やファクシミリ、あるいは
プリンタ等の画像記録装置において、赤(R)、緑
(G)及び青(B)の色信号を発生するフルカラーセン
サを用いることによって、フルカラーの画像記録を行う
画像記録装置、あるいは黒色と黒色以外の1色の2色を
用いて画像記録を行う、いわゆるプラス1カラー方式の
画像記録装置が盛んに開発されている。そして、このよ
うなフルカラーセンサを用いる画像記録装置において
は、フルカラーセンサから出力される画像データにデジ
タル処理を施すことによって、いわゆるフリーレジが達
成されている。即ち、図8に示すように、プラテン1の
所定の位置には図中2で示すように、レジストレーショ
ン位置(以下、レジ位置と称す)を示すマークが付され
ているが、デジタル処理を行う画像記録装置においては
原稿3をプラテン1の任意の位置に載置することがで
き、この場合、読み取られた画像データに基づいて、副
走査方向(SS)の最小値Xmin 、最大値Xmax 、及び
主走査方向(FS)の最小値Ymin 、最大値Ymax を検
知することによって、原稿3が載置されている位置及び
原稿サイズを認識することができる。これがフリーレジ
と称されているものであるが、この場合、Xmin ,X
max ,Ymin ,Ymaxの4つの値を検知するために、種
々の提案がなされている。
2. Description of the Related Art In recent years, a full-color sensor for generating red (R), green (G) and blue (B) color signals has been used in an image recording apparatus such as a copying machine, a facsimile, a printer, or the like. 2. Description of the Related Art An image recording apparatus for performing image recording or an image recording apparatus of a so-called plus one color system for performing image recording using two colors of black and one color other than black has been actively developed. In an image recording apparatus using such a full-color sensor, so-called free registration is achieved by performing digital processing on image data output from the full-color sensor. That is, as shown in FIG. 8, a mark indicating a registration position (hereinafter, referred to as a registration position) is attached to a predetermined position of the platen 1 as shown in FIG. 8, but digital processing is performed. In the image recording apparatus, the document 3 can be placed at any position on the platen 1. In this case, the minimum value X min and the maximum value X max in the sub-scanning direction (SS) are determined based on the read image data. By detecting the minimum value Y min and the maximum value Y max in the main scanning direction (FS), the position where the document 3 is placed and the document size can be recognized. This is called a free cash register. In this case, X min , X
Various proposals have been made to detect four values of max , Ymin , and Ymax .

【0003】その内の一つにプラテンカバーの原稿押え
面(以下、単に原稿押え面と称す)に関するものがあ
る。即ち、原稿検知の方式としては、原稿の濃度と原稿
押え面の濃度差を利用して原稿検知を行う方式と、原稿
と原稿押え面の色の相違に基づいて原稿検知を行う方式
が知られており、前者においては、原稿押え面は黒ある
いは鏡面に形成され、後者においては原稿押え面に黄色
等の所定の色が施されている。
One of them relates to a document holding surface of a platen cover (hereinafter, simply referred to as a document holding surface). That is, as a method of document detection, a method of performing document detection using a density difference between a document and a document pressing surface, and a method of performing document detection based on a difference in color between the document and the document pressing surface are known. In the former, the original pressing surface is formed in a black or mirror surface, and in the latter, the original pressing surface is given a predetermined color such as yellow.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、前者の
方式においては、使用するに際して原稿押え面を汚さな
いように注意する必要があるばかりでなく、原稿として
トレーシングペーパーやOHP用紙あるいは薄紙等の透
過率の高い用紙を用いる場合には、原稿と原稿押え面と
の濃度差が小さくなるので原稿検知が難しくなり、更に
原稿検知ができたとしても原稿押え面の黒が原稿に裏写
りすることによってその他の2次障害が生じるという問
題がある。
However, in the former method, it is necessary not only to take care not to stain the original pressing surface when using the original, but also to transmit the original such as tracing paper, OHP paper or thin paper. When using paper with a high ratio, the density difference between the original and the original pressing surface becomes smaller, making it difficult to detect the original.Furthermore, even if the original can be detected, the black of the original pressing surface will show through to the original There is a problem that other secondary failures occur.

【0005】また、後者の方式においては、プラテンカ
バーが閉鎖されている場合には問題ないが、厚い原稿な
どプラテンカバーを閉鎖できない状態においては、フル
カラーセンサの焦点深度が浅いこともあって、原稿押え
面の色を良好に検知することができないという問題があ
る。
In the latter method, there is no problem when the platen cover is closed. However, when the platen cover cannot be closed, such as a thick document, the depth of focus of the full-color sensor is small. There is a problem that the color of the holding surface cannot be detected well.

【0006】本発明は、上記の課題を解決するものであ
って、2次障害を生じることなく、良好に原稿検知を行
うことができる画像読取装置を提供することを目的とす
るものである。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems, and an object of the present invention is to provide an image reading apparatus capable of detecting a document satisfactorily without causing a secondary obstacle.

【0007】[0007]

【課題を解決するための手段及び作用】上記の目的を達
成するために、本発明の画像読取装置は、原稿を光学的
に走査して読み取る画像読取装置において、読み取られ
た画像データに対し、濃度が第1の閾値以下の画素につ
いては濃度値を零として出力し、濃度が前記第1の閾値
より大きい第2の閾値を越える画素については入力され
た濃度値を出力し、濃度が前記第1の閾値を越え、且つ
前記第2の閾値以下の画素については濃度値を上げて出
力する手段と、前記手段を経た画像データに基づいて原
稿検知処理を行う原稿検知手段とを備えることを特徴と
する。
In order to achieve the above-mentioned object, an image reading apparatus according to the present invention comprises: For a pixel whose density is equal to or less than the first threshold, the density value is output as zero, and for a pixel whose density exceeds a second threshold larger than the first threshold, the input density value is output. The image processing apparatus further comprises: means for increasing the density value of a pixel exceeding the first threshold value and being equal to or less than the second threshold value and outputting the result; and document detecting means for performing document detection processing based on image data passed through the means. And

【0008】本発明によれば、原稿の地肌濃度レベルが
低下された後に原稿検知が行われるので、原稿の地肌濃
度と背景の濃度との濃度差を大きくすることができ、そ
の結果原稿検知の精度を向上させることができる。
According to the present invention, since the original detection is performed after the background density level of the original is reduced, the density difference between the background density of the original and the background density can be increased, and as a result, the original detection can be performed. Accuracy can be improved.

【0009】[0009]

【実施例】以下、図面を参照しつつ実施例を説明する。Embodiments will be described below with reference to the drawings.

【0010】図1は本発明に係る画像読取装置をプラス
1カラー方式の複写機に適用した場合の一実施例の構成
を示す概略のブロック図であり、図中、4はイメージ入
力ターミナル(以下、IITと称す)、5はデジタル化
処理手段、6は色分離手段(以下、CSと称す)、7は
地肌除去手段、8はデジタルフィルタ(以下、DFと称
す)、9は原稿検知手段を示す。
FIG. 1 is a schematic block diagram showing the configuration of an embodiment in which the image reading apparatus according to the present invention is applied to a plus one color copying machine. In the drawing, reference numeral 4 denotes an image input terminal (hereinafter referred to as an image input terminal). , IIT), 5 is a digitizing processing unit, 6 is a color separation unit (hereinafter, referred to as CS), 7 is a background removal unit, 8 is a digital filter (hereinafter, referred to as DF), and 9 is a document detection unit. Show.

【0011】以下、各ブロックについて説明する。Hereinafter, each block will be described.

【0012】IIT4は、プラテンガラス。プラテンカ
バー、原稿を照射するための走査光学系、フルカラーセ
ンサ及びこれらの駆動回路を備えるものであり、緑
(G)、青(B)、赤(R)の3色アナログ濃度信号を
出力する。そして、プラテンカバーの原稿押え面には所
定の濃度のグレーが施されている。このグレーをどのよ
うな濃度にするかは必要に応じて設定できるが、濃度を
高くし過ぎると上述したように透過率の高い原稿の場合
には裏写りして原稿検知が難しくなるので、通常の原稿
の地肌とは明確に濃度差を認識できる濃度で、且つ裏写
りを避けることができる濃度とする。そこで、本実施例
では濃度を絶対白から絶対黒まで256階調とすると
き、170程度のグレー濃度を原稿押え面に施すものと
する。なお、フルカラーセンサとしては密着型のフルカ
ラーセンサを使用することも可能であり、また原稿を白
色光で照射したときの反射光を縮小光学系を介してフル
カラーセンサに導く、いわゆる縮小型フルカラーセンサ
を使用することも可能であり、その他のフルカラーセン
サを使用することも可能である。更に図1においては
G,B,Rのアナログ濃度信号は同時に出力されるよう
に示されているが、点順次に出力されるようになされて
いてもよいものである。
IIT4 is a platen glass. It includes a platen cover, a scanning optical system for irradiating a document, a full-color sensor, and a driving circuit for these components, and outputs three-color analog density signals of green (G), blue (B), and red (R). The original pressing surface of the platen cover is given a predetermined density of gray. The density of this gray can be set as required.However, if the density is too high, it will be difficult to detect the original if it is a document with high transmittance as described above. The density is such that the density difference can be clearly recognized from the background of the original document and that the show-through can be avoided. Therefore, in this embodiment, when the density is set to 256 gradations from absolute white to absolute black, a gray density of about 170 is applied to the original pressing surface. It is also possible to use a contact-type full-color sensor as the full-color sensor. It is also possible to use other full-color sensors. Further, in FIG. 1, the G, B, and R analog density signals are shown to be output simultaneously, but they may be output in a dot-sequential manner.

【0013】さて、原稿検知はプリスキャン時に行う。
そこで、プリスキャンの速度が重要な問題となる。プリ
スキャンは、プリスキャンの時間を短縮して単位時間当
りのコピー枚数を上げるために、高速に行われるのが一
般的である。従って、プリスキャンはコピースキャン時
の何倍かの速度で行われることになるが、このときプリ
スキャンの速度を原稿検知手段9における画像データの
サンプリング周期に対応して設定することにより、簡単
な回路構成で、且つ短時間に原稿検知を行うことができ
る。そこで、本実施例では、原稿検知手段9での画像デ
ータのサンプリングをN(但しNは2の冪数)画素おき
に行うものとするとき、プリスキャンの速度をコピース
キャンのN倍の速度で行うようにする。
The document detection is performed at the time of prescan.
Therefore, the speed of prescan is an important issue. The prescan is generally performed at high speed in order to shorten the prescan time and increase the number of copies per unit time. Therefore, the prescan is performed at several times the speed of the copy scan. At this time, by setting the speed of the prescan corresponding to the sampling period of the image data in the document detecting means 9, a simple operation is performed. Document detection can be performed with a circuit configuration in a short time. Therefore, in the present embodiment, when the sampling of the image data by the document detecting means 9 is performed at every N (where N is a power of 2) pixels, the prescan speed is set to be N times as fast as the copy scan. To do.

【0014】具体的には次のようである。後述するよう
に、原稿検知手段9は、原稿のエッジ部の白を検知する
ためにFS方向に4画素おきに画像データをサンプリン
グを行い、濃度が原稿押え面の濃度から白に変化してか
ら白画素が3ポイント連続したときに当該3ポイント目
を原稿エッジと判断する。従って、画素密度は予め設定
されているから、原稿検知手段9は原稿エッジと判断し
た範囲のポイント数を4倍することによって原稿のFS
方向の寸法を求めることができる。ポイント数を4倍す
る処理は2ビットシフトするだけでよいから。簡単な回
路で、且つ高速に行うことができる。
The details are as follows. As will be described later, the document detection unit 9 samples image data every four pixels in the FS direction in order to detect white at the edge of the document, and after the density changes from the density of the document pressing surface to white. When three white pixels continue, the third point is determined to be the document edge. Therefore, since the pixel density is set in advance, the document detecting means 9 increases the FS of the document by multiplying the number of points in the range determined as the document edge by four.
The dimension in the direction can be determined. The process of quadrupling the number of points only requires shifting by 2 bits. It can be performed at high speed with a simple circuit.

【0015】これに対して、SS方向の寸法は、後述す
るように、SS方向の原稿エッジの範囲に入っているス
キャナのステッピングモータに供給されるクロックまた
はそれに相当する信号をカウントすることによって行
う。ステッピングモータを使用する場合には、クロック
の数が距離を表すことになり、いまコピースキャン時の
速度を100%とし、このときにクロック数がそのまま
寸法を表すものとすると、スキャン速度が4倍の場合に
は寸法はカウントしたクロック数を4倍して求めること
ができる。従って、プリスキャンの速度が原稿検知手段
9における画素データのサンプリング間隔に対応したも
のでない場合、例えばプリスキャンがコピースキャンの
5倍で行われるような場合には、SS方向の寸法を求め
るには、原稿エッジの範囲に入っていいるクロック数を
5倍することになるが、このような演算は煩雑であり、
時間も要する。しかし、プリスキャンが終了すると即座
にコピースキャンが開始されるから、原稿検知のために
時間を要するのは好ましくないものである。そこで、寸
法を求めるための演算をFS方向と同じ演算で行えるよ
うに、プリスキャンの速度を設定するのである。従って
本実施例ではプリスキャンの速度はコピースキャンの速
度の4倍で行う。これによって、FS方向、SS方向共
に2ビットシフトを行うだけで短時間に且つ容易に原稿
の寸法を求めることができる。
On the other hand, the dimension in the SS direction is determined by counting a clock supplied to a stepping motor of a scanner or a signal corresponding thereto, which is located within the range of the document edge in the SS direction, as described later. . In the case of using a stepping motor, the number of clocks represents the distance. If the speed at the time of copy scanning is assumed to be 100% and the number of clocks directly represents the size at this time, the scanning speed is quadrupled. In this case, the dimension can be obtained by multiplying the counted clock number by four. Therefore, when the speed of the pre-scan does not correspond to the sampling interval of the pixel data in the document detecting unit 9, for example, when the pre-scan is performed at five times the copy scan, the size in the SS direction is determined. , The number of clocks within the range of the document edge is multiplied by 5, but such an operation is complicated.
It takes time. However, since the copy scan is started immediately after the pre-scan is completed, it is not preferable that time is required for document detection. Therefore, the prescan speed is set so that the calculation for obtaining the dimensions can be performed by the same calculation as in the FS direction. Therefore, in this embodiment, the pre-scanning speed is four times the copy scanning speed. As a result, the size of the document can be easily obtained in a short time simply by performing a 2-bit shift in both the FS direction and the SS direction.

【0016】IIT4から出力されたG,B,Rのアナ
ログ濃度信号はデジタル化処理手段5に入力され、利得
調整、オフセット調整が施された後に所定のビット数、
例えば8ビットのデジタル濃度信号となされ、更にシェ
ーディング補正が施された後に3色のデジタル信号は同
時信号としてCS6に入力される。
The analog density signals of G, B, and R output from the IIT 4 are input to the digitizing means 5, and after a gain adjustment and an offset adjustment are performed, a predetermined number of bits,
For example, an 8-bit digital density signal is formed, and after further shading correction, the three-color digital signal is input to CS6 as a simultaneous signal.

【0017】CS6は入力されたG,B,Rの濃度に基
づいて、当該画素が指定された色(以下、これを有彩色
と称す)かそれ以外の色(以下、これを無彩色と称す)
かを判断し、濃度データと、各種のフラグ、図1ではメ
インカラーフラグ(MCF)及びサブカラーフラグ(S
CF)の2つのフラグを出力する。MCFとSCFは画
素が有彩色か無彩色かを示すフラグであり、MCFは無
彩色の画素で、且つその濃度が所定の値、例えば濃度範
囲が絶対白から絶対黒まで256階調とした場合10〜
20程度の値、以上の時にのみ1、それ以外は0となさ
れ、SCFは有彩色の画素で、且つその濃度が所定の
値、例えば上記の濃度範囲では1、以上の時にのみ1と
なされるものとする。
Based on the input G, B, and R densities, the CS 6 determines whether the pixel is a designated color (hereinafter referred to as a chromatic color) or another color (hereinafter referred to as an achromatic color). )
The density data, various flags, a main color flag (MCF) and a sub color flag (S
CF) are output. MCF and SCF are flags indicating whether a pixel is chromatic or achromatic. MCF is an achromatic pixel and its density is a predetermined value, for example, when the density range is 256 gradations from absolute white to absolute black. 10
A value of about 20 is set to 1 only when the value is equal to or more than 0, and the value is set to 0 otherwise. Shall be.

【0018】プラス1カラー方式の複写機においては、
画素は無彩色か有彩色のいずれかであるから、画素が無
彩色か有彩色かを示すフラグは一つで足りるが、上記の
ようにMCFとSCFの2種類のフラグを用いるのは次
のような理由による。即ち、人間に白と見える部分もフ
ルカラーセンサで読み取ると極小さい値ではあるが零以
外のある濃度値を有している。従って、一つのフラグで
無彩色と有彩色を区別する場合には、その濃度で出力さ
れることになり、絶対白ではなく、ある零でない濃度を
持って出力されることになる。しかし、このようなこと
は望ましいことではなく、無彩色で小さい濃度値を有す
る画素は実際は絶対白で出力するのが望ましいものであ
る。そこで、無彩色と有彩色の区別を行うフラグ、この
場合SCFと、無彩色の画素について絶対白で出力する
か、読み取って得られた濃度で出力するかを区別するフ
ラグ、この場合MCF、の二種類のフラグを用いるので
ある。従って、最終段の画像出力部ではMCF=0とな
された画素は、実際はある濃度を有するが、絶対白、即
ち濃度零として扱われる。
In a plus one color copying machine,
Since a pixel is either achromatic or chromatic, only one flag is required to indicate whether the pixel is achromatic or chromatic. However, as described above, the two types of flags, MCF and SCF, are used as follows. For such reasons. That is, a portion which looks white to a human has a density value which is extremely small when read by a full color sensor but is not zero. Therefore, when an achromatic color and a chromatic color are distinguished by one flag, the image is output at that density, and is output with a certain non-zero density, not absolute white. However, this is not desirable, and it is desirable that pixels having an achromatic color and a small density value are actually output in absolute white. Therefore, a flag for distinguishing between achromatic colors and chromatic colors, in this case, SCF, and a flag for distinguishing whether to output the achromatic pixels in absolute white or the density obtained by reading, in this case, MCF, Two types of flags are used. Therefore, in the final stage of the image output unit, the pixel for which MCF = 0 is actually provided with a certain density, but is treated as absolute white, that is, zero density.

【0019】また、CS6が出力する画像データ、即ち
濃度データについては次のようである。濃度は黒と色と
では色の方が濃度が小さく、そのために有彩色の濃度と
無彩色の濃度との間に差を生じてしまうので、無彩色の
画素については、例えば、下記の(1)式で求められる
値を濃度データとして出力するが、有彩色の画素の濃度
については(2)式のように係数Kを掛けて出力する。
The image data output by the CS 6, ie, the density data, is as follows. Regarding the density of black and color, the density of the color is smaller than that of the color, and this causes a difference between the density of the chromatic color and the density of the achromatic color. Therefore, for the achromatic pixel, for example, the following (1) ) Is output as density data, and the density of a chromatic pixel is output by multiplying by a coefficient K as in equation (2).

【0020】 (G/2)+(3R/8)+(B/8) …(1) ((G/2)+(3R/8)+(B/8))×K …(2) Kの値は色によって異なり、各色について実験的に求め
られる。
(G / 2) + (3R / 8) + (B / 8) (1) ((G / 2) + (3R / 8) + (B / 8)) × K (2) K Varies depending on the color and is determined experimentally for each color.

【0021】次に、地肌除去手段7について説明する。
地肌除去手段7は、図2に示すように地肌除去部11と
地肌レベル検出部12を備える。地肌レベル検出部12
はプリスキャン時に次の動作を行い、地肌除去スレッシ
ュレベルTHRDを求める。まずサンプリング部13
は、入力される濃度データを、主走査方向(FS)及び
副走査方向(SS)についてそれぞれ所定の間隔でサン
プリングする。FS方向のサンプリングは、通常のサン
プリングのように所定の間隔で濃度データを取り込むと
いうのではなく、所定の画素数の濃度データを監視し、
その中の最小の濃度値を当該サンプリング範囲の濃度と
して取り込むことによってサンプリングを行うものであ
る。例えば96画素間隔でサンプリングを行うものとす
ると、サンプリング部13は、当該主走査ラインの最初
の96画素を監視してその中の最小濃度を取り込み、次
に、その次の96画素、即ち、第97番目の画素から第
192番目の画素までを監視して、その中の最小濃度値
を取り込む動作を1ラインについて繰り返し行うのであ
る。
Next, the background removing means 7 will be described.
The background removing unit 7 includes a background removing unit 11 and a background level detecting unit 12, as shown in FIG. Background level detector 12
Performs the following operation at the time of pre-scan to obtain the background removal threshold level THRD. First, the sampling unit 13
Samples the input density data at predetermined intervals in the main scanning direction (FS) and the sub-scanning direction (SS). The sampling in the FS direction does not take in density data at predetermined intervals as in normal sampling, but monitors density data of a predetermined number of pixels.
Sampling is performed by taking the minimum density value among them as the density of the sampling range. For example, if sampling is performed at an interval of 96 pixels, the sampling unit 13 monitors the first 96 pixels of the main scanning line and captures the minimum density therein, and then monitors the next 96 pixels, that is, the first 96 pixels. The operation of monitoring the 97th pixel to the 192nd pixel and taking in the minimum density value among them is repeated for one line.

【0022】また、SS方向については所定のライン
数、例えば96ライン間隔でゲートを行ない、上述した
FS方向のサンプリングを有効とすることによってサン
プリングを行う。
In the SS direction, gates are performed at a predetermined number of lines, for example, at intervals of 96 lines, and sampling is performed by enabling the above-described sampling in the FS direction.

【0023】サンプリング部13でサンプリングされた
濃度データはヒストグラム作成部14に供給され、所定
の濃度エリア毎のヒストグラムが作成される。ヒストグ
ラムの例を図3に示す。図3においては、濃度階調を0
〜255の256階調とした場合において、濃度が0〜
143の範囲について、0〜8の9つの濃度エリアが設
定されている。即ち、この場合には地肌レベルは濃度値
が143以下であるものとなされている。各濃度エリア
の濃度範囲は図3Bに示すようである。
The density data sampled by the sampling section 13 is supplied to a histogram creating section 14, where a histogram is created for each predetermined density area. FIG. 3 shows an example of the histogram. In FIG. 3, the density gradation is 0
In the case of 256 gradations of 255 to 255, the density is 0 to
For the range 143, nine density areas 0 to 8 are set. That is, in this case, the background level has a density value of 143 or less. The density range of each density area is as shown in FIG. 3B.

【0024】プリスキャンが終了するとヒストグラム作
成が完了し、地肌除去レベル決定部15は作成されたヒ
ストグラムに基づいて地肌除去レベルを決定する。その
動作は次のようである。
When the prescan is completed, the creation of the histogram is completed, and the background removal level determination section 15 determines the background removal level based on the created histogram. The operation is as follows.

【0025】まず、地肌除去レベル決定部15は、ヒス
トグラムの度数を高濃度側からサーチし、予め設定され
ている濃度チェック値を最初に越える濃度エリアを検知
し、検知された濃度エリアに属する地肌スレッシュレベ
ル(DEC)(図3B参照)を求め、更に当該地肌スレ
ッシュレベル(DEC)に予め設定されているオフセッ
ト値(OFST)を加算して地肌除去スレッシュレベル
(THRD)を得、地肌除去部11に出力する。また、
濃度チェック値を越える度数が存在しない場合には、予
め定められたスレッシュレベル(OHPT)、例えば原
稿がOHP用紙でも有効に地肌除去を行えるレベルを地
肌除去スレッシュレベル(THRD)として出力する。
濃度チェック値は面積換算で100cm2 程度の度数に
設定しておけば通常使用されるサイズの原稿に対して最
適な地肌除去レベルを求めることができる。
First, the background removal level determination unit 15 searches the frequency of the histogram from the high density side, detects a density area that first exceeds a preset density check value, and detects a background area belonging to the detected density area. A threshold level (DEC) (see FIG. 3B) is obtained, and a preset offset value (OFST) is added to the background threshold level (DEC) to obtain a background removal threshold level (THRD). Output to Also,
If there is no frequency exceeding the density check value, a predetermined threshold level (OHPT), for example, a level at which the background can be effectively removed even if the original is an OHP sheet, is output as a background removal threshold (THRD).
If the density check value is set to a frequency of about 100 cm 2 in terms of area, an optimum background removal level can be obtained for a document of a normally used size.

【0026】以上のようにしてプリスキャン時に求めら
れた地肌除去スレッシュレベル(THRD)は地肌除去
部11に与えられて、コピースキャン時に地肌除去が行
われる。その動作は次のようである。
The background removal threshold (THRD) determined at the time of pre-scan as described above is given to the background removal unit 11, and the background removal is performed at the time of copy scan. The operation is as follows.

【0027】地肌除去部11は、地肌除去スレッシュレ
ベルTHRDを用いて、図4に示す入出力特性を設定す
る。即ち、入力画像データ(濃度)がTHRD以下の場
合には出力画像データを零とし、入力画像データがTH
RDの 1.5倍を越える場合にはそのまま出力し、入力画
像データがTHRDを越え、且つTHRDの 1.5倍以下
である場合には、入力画像データとTHRDとの差を3
倍して出力する。
The background removal unit 11 sets the input / output characteristics shown in FIG. 4 using the background removal threshold level THRD. That is, when the input image data (density) is equal to or less than THRD, the output image data is set to zero, and the input image data is set to THRD.
If the input image data exceeds 1.5 times RD, and the input image data exceeds THRD and is 1.5 times or less than THRD, the difference between the input image data and THRD is calculated by three.
Multiply and output.

【0028】地肌除去部11は上述した地肌除去の動作
を行うと共に、MCF,SCFの値を補正する。即ち、
上述したように、無彩色の画素については濃度が所定の
レベル以上であるときにはMCFは「1」となされ、有
彩色の画素についても濃度が所定のレベル以上であると
きにはSCFは「1」となされているが、上記の地肌除
去により濃度が零または前記所定のレベル未満になるこ
とがある。そこで、地肌除去部11は、地肌除去によっ
て濃度が所定のレベル未満になった場合、無彩色につい
てはMCFを零と補正し、有彩色についてはSCFを零
と補正する。
The background removal unit 11 performs the above-described background removal operation and corrects the values of MCF and SCF. That is,
As described above, the MCF is set to “1” when the density is higher than a predetermined level for achromatic pixels, and the SCF is set to “1” when the density is higher than a predetermined level for chromatic pixels. However, the density may become zero or less than the predetermined level due to the background removal described above. Therefore, when the density becomes lower than the predetermined level due to the background removal, the background removal unit 11 corrects the MCF to zero for achromatic colors and corrects the SCF to zero for chromatic colors.

【0029】以上がコピースキャン時における地肌除去
部11の動作であるが、プリスキャン時には、THRD
として予め定められた値、例えば80が設定されて、図
5に示す入出力特性が設定される。従って、プリスキャ
ン時には図5に示す入出力特性により地肌除去が行わ
れ、このことによって、地肌濃度が高い原稿の場合にも
地肌濃度レベルを減少させることができるので、原稿の
地肌と背景との濃度差を大きくすることができ、その結
果、後段の原稿検知手段9での原稿検知の精度を向上さ
せることができる。
The operation of the background removing unit 11 during copy scanning has been described above.
Is set in advance, for example, 80, and the input / output characteristics shown in FIG. 5 are set. Therefore, at the time of pre-scanning, the background removal is performed according to the input / output characteristics shown in FIG. 5, which can reduce the background density level even in the case of a document having a high background density. The density difference can be increased, and as a result, the accuracy of document detection by the document detection means 9 at the subsequent stage can be improved.

【0030】DF8は文字や線のエッジを強調したり、
中間調画像に対しては網点除去を行うものであり、例え
ば注目画素を中心とした5×5のマトリクスで構成され
る。そして、コピースキャン時には該マトリクスの各画
素には所定の値が書き込まれるが、プリスキャン時に
は、無彩色の画素に対しては図6Aに示すマトリクスが
用いられ、有彩色の画素に対しては図6Bのマトリクス
を用いる。これによって無彩色画素はそのままの濃度デ
ータが出力され、有彩色画素については濃度が1/K倍
されて出力される。このKは上記(2)式の係数であ
る。
DF8 emphasizes the edges of characters and lines,
The halftone image is subjected to halftone dot removal, and is composed of, for example, a 5 × 5 matrix centered on a pixel of interest. At the time of copy scanning, a predetermined value is written to each pixel of the matrix. At the time of pre-scanning, the matrix shown in FIG. 6A is used for achromatic pixels, and FIG. A 6B matrix is used. As a result, the density data of the achromatic pixel is output as it is, and the density of the chromatic pixel is output by multiplying 1 / K. This K is a coefficient of the above equation (2).

【0031】このようにするのは次のような理由によ
る。CS6は有彩色に対しては(2)式で示される濃度
データを出力するが、これはコピー画像の色を原稿画像
の色と一致させるためである。しかしこれによると、有
彩色、即ち現在指定されている色のカラーペーパーを原
稿に用いる場合には原稿の地肌濃度が上がってしまうこ
とになり、原稿地肌濃度と背景濃度の差が小さくなるの
で、原稿検知を行うためには好ましくないものとなる。
そこで、本実施例ではDF8において、CS6で掛けら
れる係数の逆数を掛けることによって有彩色の濃度を低
下させる。これによってカラーペーパーが用いられた場
合においても原稿検知の精度を向上させることができ
る。
This is done for the following reason. The CS 6 outputs the density data represented by the expression (2) for the chromatic color, in order to match the color of the copy image with the color of the original image. However, according to this, when a chromatic color, that is, a color paper of a currently designated color is used for a document, the background density of the document increases, and the difference between the background density of the document and the background density decreases. This is not preferable for performing document detection.
Therefore, in this embodiment, the density of the chromatic color is reduced by multiplying the inverse of the coefficient multiplied by CS6 in DF8. As a result, the accuracy of document detection can be improved even when color paper is used.

【0032】原稿検知手段9は濃度データ、MCF,S
CFを後段に出力すると共に、次の動作により図8に示
すXmin ,Xmax ,Ymin ,Ymax を求める。
The original detecting means 9 detects density data, MCF, S
The CF is output to the subsequent stage, and X min , X max , Y min , and Y max shown in FIG. 8 are obtained by the following operation.

【0033】まず、図7Aに示すように、入力された画
像データGDを所定の濃度閾値THを用いて図7Bに示
すように二値化する。原稿エッジは、二値化された画像
データを4画素おきにサンプリングし、そのサンプリン
グデータに対して、原稿部と見なされる画像データが3
ポイント連続したとき、その3ポイント目を原稿エッジ
と判断する。これにより、例えば図7Bの20で示すよ
うな範囲の狭い白の部分は疑データと判断され、20で
示すような広い白の部分のみが原稿データを判断され
る。
First, as shown in FIG. 7A, the input image data GD is binarized as shown in FIG. 7B using a predetermined density threshold TH. The document edge is obtained by sampling the binarized image data every four pixels, and comparing the sampled data with image data regarded as a document portion by 3 pixels.
When the points are continuous, the third point is determined as the document edge. Thus, for example, a white portion having a narrow range as indicated by reference numeral 20 in FIG. 7B is determined to be suspect data, and only a wide white portion as indicated by reference numeral 20 is determined to be document data.

【0034】そして、FS方向の最小値Ymin は、Mラ
イン目において最初に原稿のエッジを検出した画像デー
タのアドレスをラッチし、(M−2k)ライン目でのエ
ッジのアドレス値と比較してより小さい値を書き換えて
ラッチする作業を、例えば2kライン毎に繰り返して求
める。
The minimum value Y min in the FS direction is obtained by latching the address of the image data in which the edge of the original document is first detected on the M-th line and comparing it with the address value of the edge on the (M−2k) -th line. The operation of rewriting and latching the smaller value is repeatedly obtained, for example, every 2k lines.

【0035】同様にYmax は、主走査の終端方向から画
像データを見て、最初に原稿のエッジを検出したアドレ
スをラッチし、(M−2k)ライン目でのエッジのアド
レス値と比較してより大きい値を書き換えてラッチする
作業を、例えば2kライン毎に繰り返して求める。な
お、kはプリスキャンの速度をコピースキャンの速度の
k倍としたときの値であり、また、Ymax を求める際に
ラッチするアドレスはFS方向からカウントしたアドレ
スである。
Similarly, Ymax latches the address at which the edge of the document is first detected by looking at the image data from the end direction of the main scanning, and compares it with the address value of the edge on the (M-2k) th line. The operation of rewriting and latching a larger value is repeatedly obtained for every 2k lines, for example. Incidentally, k is the value when k times the speed of the copy scan speed prescan, also address latch when determining the Y max is the address counted from the FS direction.

【0036】SS方向の最小値Xmin 及び最大値Xmax
は、所定のポイント数以上の原稿データを有するステッ
ピングモータ駆動用クロックをカウントし、その最初と
最後のラインをラッチすることによって求める。
The minimum value X min and the maximum value X max in the SS direction
Is obtained by counting a stepping motor driving clock having document data of a predetermined number of points or more, and latching the first and last lines.

【0037】なお、これらのXmin ,Xmax ,Ymin
max を求めるに際して、レジ位置からの寸法をmm等の
所定の単位で表す場合には、上述したようにアドレスま
たはクロックのカウント数を4倍する処理を行うことは
当然である。
Note that these X min , X max , Y min ,
In obtaining the Y max, to represent the size of the registration position on the predetermined unit of mm or the like, it is natural to perform a quadrupling processing number count address or clock as described above.

【0038】以上のようにして求められたXmin ,X
max,Ymin ,Ymax は図示しない制御手段に送られ
て、自動倍率選択機能が設定されたときには倍率決定の
ために、自動用紙選択機能が設定されたときにはコピー
用紙サイズ決定のために使用される。
X min , X obtained as described above
The maximum , Ymin , and Ymax are sent to control means (not shown), and are used for determining a magnification when the automatic magnification selection function is set, and for determining a copy paper size when the automatic paper selection function is set. You.

【0039】以上、本発明の一実施例について説明した
が、本発明は上記実施例に限定されるものではなく、種
々の変形が可能であることは当業者に明らかである。
Although the embodiment of the present invention has been described above, the present invention is not limited to the above embodiment, and it is apparent to those skilled in the art that various modifications are possible.

【0040】[0040]

【発明の効果】以上の説明から明らかなように、本発明
によれば、原稿検知に先立って、予め原稿の地肌濃度と
背景濃度との濃度差が大きくなされるので、高精度に原
稿検知を行うことができるものである。
As is apparent from the above description, according to the present invention, the density difference between the background density and the background density of the original is increased before the original is detected. Is what you can do.

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

【図1】 本発明に係る画像読取装置をプラス1カラー
方式の複写機に適用した場合の一実施例の構成を示す概
略のブロック図である。
FIG. 1 is a schematic block diagram showing a configuration of an embodiment when an image reading apparatus according to the present invention is applied to a plus one color type copying machine.

【図2】 地肌除去手段の構成例を示す図である。FIG. 2 is a diagram illustrating a configuration example of a background removing unit.

【図3】 地肌除去手段のヒストグラム作成部の動作を
説明するための図である。
FIG. 3 is a diagram for explaining an operation of a histogram creating unit of the background removing unit.

【図4】 コピースキャン時に地肌除去部に設定される
入出力特性を示す図である。
FIG. 4 is a diagram illustrating input / output characteristics set in a background removal unit during copy scanning.

【図5】 プリスキャン時に地肌除去部に設定される入
出力特性を示す図である。
FIG. 5 is a diagram illustrating input / output characteristics set in a background removal unit during pre-scanning.

【図6】 デジタルフィルタの動作を説明するための図
である。
FIG. 6 is a diagram for explaining the operation of the digital filter.

【図7】 原稿検知動作を説明するための図である。FIG. 7 is a diagram for explaining a document detection operation.

【図8】 フリーレジを説明するための図である。FIG. 8 is a diagram for explaining a free cash register.

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

4…イメージ入力ターミナル、5…デジタル化処理手
段、6…色分離手段、7…地肌除去手段、8…デジタル
フィルタ、9…原稿検知手段。
4 image input terminal, 5 digitization processing means, 6 color separation means, 7 background removal means, 8 digital filter, 9 document detection means.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】原稿を光学的に走査して読み取る画像読取
装置において、 読み取られた画像データに対し、濃度が第1の閾値以下
の画素については濃度値を零として出力し、濃度が前記
第1の閾値より大きい第2の閾値を越える画素について
は入力された濃度値を出力し、濃度が前記第1の閾値を
越え、且つ前記第2の閾値以下の画素については濃度値
を上げて出力する手段と、 前記手段を経た画像データに基づいて原稿検知処理を行
う原稿検知手段とを備えることを特徴とする画像読取装
置。
An image reading device that optically scans a document to output a density value of a pixel having a density equal to or lower than a first threshold value to zero with respect to the read image data; The input density value is output for a pixel exceeding a second threshold greater than the threshold of 1, and the density value is increased and output for a pixel whose density exceeds the first threshold and is equal to or less than the second threshold. An image reading device comprising: a document detecting unit that performs a document detecting process based on image data that has passed through the unit.
JP03008013A 1991-01-25 1991-01-25 Image reading device Expired - Fee Related JP3077204B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03008013A JP3077204B2 (en) 1991-01-25 1991-01-25 Image reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03008013A JP3077204B2 (en) 1991-01-25 1991-01-25 Image reading device

Publications (2)

Publication Number Publication Date
JPH04339460A JPH04339460A (en) 1992-11-26
JP3077204B2 true JP3077204B2 (en) 2000-08-14

Family

ID=11681465

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03008013A Expired - Fee Related JP3077204B2 (en) 1991-01-25 1991-01-25 Image reading device

Country Status (1)

Country Link
JP (1) JP3077204B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2678395B2 (en) 1990-07-30 1997-11-17 三田工業株式会社 Image processor equipped with document detection means
JP2009246620A (en) * 2008-03-31 2009-10-22 Brother Ind Ltd Image data generating device

Also Published As

Publication number Publication date
JPH04339460A (en) 1992-11-26

Similar Documents

Publication Publication Date Title
JPH0646255A (en) Picture processing unit
US6175660B1 (en) Image reading apparatus
JP3077204B2 (en) Image reading device
JP3073837B2 (en) Image region separation device and image region separation method
JP2886693B2 (en) Background removal method for image recording device
JP3253117B2 (en) Image processing apparatus and method
US20040109605A1 (en) System for processing object areas of an image
JP3316077B2 (en) Background density level detector
JP3206932B2 (en) Image processing method and apparatus
JP2000508460A (en) How to determine the geometric data of an attention-related image section
JP3200090B2 (en) Image processing method and apparatus
JPH05219370A (en) Picture processing unit
JP3121026B2 (en) Color image processing equipment
JP2672541B2 (en) Image processing device
JP2629183B2 (en) Image area identification device
JP3230286B2 (en) Image processing device
JPH10215382A (en) Color image processing unit
JP2682985B2 (en) Image processing method
JPH07288657A (en) Detector for size of original
JP3359045B2 (en) Image processing apparatus and image processing method
JPH08251385A (en) Image processing unit
JPH0671308B2 (en) Image signal processing method
JPH0736607B2 (en) Image signal processing method
JP2000151937A (en) Image reader, method for discriminating read image and storage medium
JPH0338782A (en) Detector for density of original

Legal Events

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

Free format text: PAYMENT UNTIL: 20090616

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees