JPS5824267A - Original reader - Google Patents

Original reader

Info

Publication number
JPS5824267A
JPS5824267A JP56121462A JP12146281A JPS5824267A JP S5824267 A JPS5824267 A JP S5824267A JP 56121462 A JP56121462 A JP 56121462A JP 12146281 A JP12146281 A JP 12146281A JP S5824267 A JPS5824267 A JP S5824267A
Authority
JP
Japan
Prior art keywords
document
original
switch
time constant
signal
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.)
Granted
Application number
JP56121462A
Other languages
Japanese (ja)
Other versions
JPH0230626B2 (en
Inventor
Minoru Ogata
尾方 実
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 JP56121462A priority Critical patent/JPS5824267A/en
Publication of JPS5824267A publication Critical patent/JPS5824267A/en
Publication of JPH0230626B2 publication Critical patent/JPH0230626B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/04Scanning arrangements, i.e. arrangements for the displacement of active reading or reproducing elements relative to the original or reproducing medium, or vice versa

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To prevent fogging at a front end by changing a time constant for integration according to the presence of an original in a reader which reads an original through changing into a binary-coded signal. CONSTITUTION:A detecting circuit 6 which detects whether an original is inserted or not is provided and according to the presence of the original, time constants of an integrator composed of a resistance 7 and a capacitor 8 are changed with a switch 10; a discharge time constant for the detection of ground lightness is increased by turning on the switch 10 when the original is not inserted, or decreased by turning off the switch 10 when the original is inserted and its read starts. Thus, fogging at the front end of the original which occurs when the ground of the original is dark is eliminated to perform secure reading and inspection.

Description

【発明の詳細な説明】 本発明は、原稿読み取り装置、特にファクシミリなどに
おいて原稿に書かれた情報を二値化信号に変換させて読
み取る原稿読み取り装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a document reading device, and particularly to a document reading device that converts information written on a document into a binary signal and reads the signal in a facsimile machine or the like.

従来、このようなファクシミリの原稿読み取シ装置にお
いて二値化の閾値を決定する場合に地の色(原稿の背景
の色)は白色とみて原稿のハイライト部を検出する方法
がある。この方法では、原稿の1〜数ラインのハイライ
ト部を検出し、それによシ閾値を定め、ハイライト部の
明るさの変化に従ってその閾値を変化させて二値化信号
を得ていた。また他の方法としてはハイライト部を検出
するのではなく、原稿の地の明るさの平均値を検出し、
同様にそれに基づいて閾値を定め二値化信号を得ていた
。前者の方法では例えば、原稿の中に白抜は等があると
原稿の雑音となり、この白抜けがハイライト部として検
出され、それによって閾値はより白情報を多く含む方向
に対応する値になって誤った二値化信号が発生する可能
性があった。
Conventionally, when determining a threshold value for binarization in such a facsimile document reading device, there is a method of detecting a highlighted portion of the document by assuming that the ground color (the color of the background of the document) is white. In this method, a highlighted portion of one to several lines of a document is detected, a threshold value is determined based on this, and the threshold value is changed in accordance with changes in the brightness of the highlighted portion to obtain a binarized signal. Another method is to detect the average brightness of the background of the document instead of detecting the highlighted area.
Similarly, a threshold value was determined based on this and a binarized signal was obtained. In the former method, for example, if there are white areas in the document, they become noise in the document, and these white areas are detected as highlights, and the threshold value is set to a value that corresponds to a direction that contains more white information. There was a possibility that an incorrect binarized signal would be generated.

また、後者の方法では挿入される原稿の大きさが種々あ
る場合、原稿でない所が地の明るさの情報としてまちが
って混入するおそれがあるので、地の明るさを検出する
位置範囲を必ず原稿のある場所に限定しなければならな
くなる。しかしそうすると地の明るさを検出する位置に
書かれている文字等の情報を検出して検出内容を誤るこ
とが考えられる。そこで地の明るさの検出を正しく行な
うためにその原稿の部位の数ライン分の主走査方向の読
み取り信号を積分することにより、その部位に書かれて
いる情報の影響を少なくしている。
In addition, with the latter method, if there are various sizes of originals to be inserted, there is a risk that non-original areas may be mistakenly included as ground brightness information, so be sure to set the position range for detecting the ground brightness to the original. It will have to be limited to certain locations. However, if this is done, it is possible that information such as letters written at the position where the brightness of the ground is detected may be detected and the detected content may be incorrect. Therefore, in order to accurately detect the brightness of the background, the influence of the information written on that part is reduced by integrating the read signal in the main scanning direction for several lines of that part of the document.

さらにこの方法において走査にともない地色の明るさの
変化する方向に対して二値化の閾値の変化に対する応答
の速さを変化させて地色の検出に対する雑音情報の影響
を取り除くことが行なわれている。例えば地の色が白だ
とすると地色が白から黒の方に変化する方向には遅く、
逆に黒から白の方に変化する方向に対しては速めるよう
に方向性をもたせている。
Furthermore, in this method, the influence of noise information on detection of the ground color is removed by changing the speed of response to a change in the binarization threshold in the direction in which the brightness of the ground color changes as the background color changes during scanning. ing. For example, if the background color is white, the background color changes slowly from white to black.
On the other hand, the directionality is given to speed up the change from black to white.

上に述べた方法は地の色の変化は急激に変化することは
なく、1枚の原稿の地色はほぼ同じで少なくとも2〜3
ラインは同じ閾値で固定しても充分対応できることを仮
定している。
In the method described above, the background color does not change suddenly, and the background color of one manuscript is almost the same, and there are at least 2 to 3
It is assumed that even if the lines are fixed at the same threshold value, it will be sufficient.

しかし閾値の応答の変化の遅い地色の方向へ原稿の地色
が変化した場合、すなわち明るい地色から地色に変化し
た場合には、前述の方向性を持たせたことがわざわいし
て、灰色の地を二値化した結果点の情報として読み取っ
てしまう欠点があった。このような現象が原稿周辺部を
除く他の部分で起こる場合には、通常1枚の原稿の地の
明るさの変化は大きくないので問題は少ないが、原稿中
に地色が白から黒に反転し黒を情報と読み取っていたも
のも白を情報とみなすような地の色の情報の場合「かぶ
シ」が生じるおそれがある。通常の文書は地色は白で大
きな変動はなく、また情報は黒であるので主走査方向に
対しては必ず原稿の地の明るさが検出されており問題は
ないが、副走査方向に対しては原稿が挿入されるまで背
板の部分の明るさを検出することになる。ファクシミリ
などでは原稿が挿入された場合、主走査方向での原稿の
幅の大小により背板を走査しなければならない。この場
合背板の色は原稿の地色、すなわち一般には白と同色に
した方が都合が良いことから通常背板の色は白になって
いる。その為、原稿が挿      1人されるか否か
に従って地色を検出する回路は灰色に近い白地の原稿を
読み取るとき急激な地色の明るさの変動を検出し、その
方向は白から黒へと変化する方向として検出される。こ
の為比較的地が暗い原稿では閾値が地の明るさの急激な
変動においつかない為、特に先端部分で「かぶり」が生
じる。
However, if the background color of the original changes toward the background color where the threshold response changes slowly, that is, if the background color changes from a bright background color to a background color, the above-mentioned directionality may become a problem. , there was a drawback that the gray background was read as information from the binarized result point. If this kind of phenomenon occurs in other parts of the original except for the peripheral areas, there is usually not a big change in the brightness of the background of a single document, so it is not a problem, but if the background color changes from white to black in the original, it is not a problem. If the background color information is reversed and black is read as information, but white is considered to be information, there is a risk that ``kabushi'' may occur. For normal documents, the background color is white and does not vary greatly, and the information is black, so the brightness of the background of the document is always detected in the main scanning direction and there is no problem, but in the sub-scanning direction In this case, the brightness of the back plate is detected until the document is inserted. When a document is inserted in a facsimile machine, the back plate must be scanned depending on the width of the document in the main scanning direction. In this case, it is convenient for the back plate to be the same color as the background color of the document, that is, generally white, so the color of the back plate is usually white. Therefore, the circuit that detects the background color depending on whether a document is inserted or not detects a sudden change in the brightness of the background color when reading a document with a white background that is close to gray, and the direction of the change is from white to black. It is detected as the direction of change. For this reason, for originals with relatively dark backgrounds, the threshold value does not respond to rapid changes in the brightness of the background, resulting in "fogging" especially at the leading edge.

従って本発明はこのような従来の欠点を解決するもので
、主走査読み取り信号を積分してその積分値に基づき二
値化する場合の閾値を決定する場合、原稿の先端部にか
ぶりなどの誤情報を発生させることなく、原稿を正確に
二値化して読み取ることができる原稿読み取り装置の提
供を目的とする。
Therefore, the present invention solves such conventional drawbacks, and when determining the threshold value for integrating the main scanning read signal and binarizing it based on the integrated value, errors such as fogging at the leading edge of the original are avoided. To provide a document reading device capable of accurately binarizing and reading a document without generating information.

本発明によれば、この目的を達成する為に原稿の有無に
よって積分の時定数を切り替えるようにしている。具体
的には原稿がない場合には二値化する場合の閾値を灰色
の情報を白と判断する方向に変化させ、また原稿がある
場合には閾値を灰色の情報を黒と判断する方向へ変化さ
せるように積分の時定数を変化させる。これによって原
・稿の地が暗い場合に発生する先端の1かぶシ」をなく
すことが可能になる。
According to the present invention, in order to achieve this objective, the time constant of integration is switched depending on the presence or absence of a document. Specifically, when there is no original, the threshold value for binarization is changed to judge gray information as white, and when there is an original, the threshold is changed to judge gray information as black. The time constant of integration is changed to change the time constant of the integral. This makes it possible to eliminate the ``edge'' that occurs when the background of the manuscript is dark.

以下添付図面を参照して本発明の一実施例を詳細に説明
する。
An embodiment of the present invention will be described in detail below with reference to the accompanying drawings.

第1図には本発明に係る原稿読み取り装置が図示されて
おり、この読み取り装置には原稿を主副走査方向に順次
読み取ってアナログ信号を発生する原稿読み取り回路1
が設けられる。この原稿読み取り回路1の出力Aには第
2図のA′に図示したように各ラインごとに読み取シ信
号が現れる。
FIG. 1 shows a document reading device according to the present invention, and this reading device includes a document reading circuit 1 that sequentially reads a document in the main and sub-scanning directions and generates an analog signal.
is provided. At the output A of the original reading circuit 1, a reading signal appears for each line as shown at A' in FIG.

この読み取り信号はスイッチ3を介して演算増幅器4の
非反転入力部に入力されるとともに比較器15の一方の
入力部に入力される。スイッチ3は背景(すなわち地)
の明るさを検出し、原稿の主走査方向のある定められた
部分(幅)を信号として取り込む為の背景検知幅制御回
路2によりオン・オフされる。この制御回路2は第2図
のB′に示したような波形の信号を発生し、この信号が
ハイレベルの間スイッチ3は閉じ読み取シ信号A′が演
算増幅器4に入力される。演算増幅器4はこのようにし
て地の明るさを検知するバッファとなっており、ダイオ
ード5とともに動作し、抵抗7に印加されている電圧よ
り高い電圧が演算増幅器4に入力された時のみ、演算増
幅器が動作するように構成されている。抵抗7はコンデ
ンサ8とともに積分器を構成しており、地の明るさはコ
ンデンサ8の充電量として検出される。この場合コンデ
ンサ8への充電時定数は抵抗7とコンデンサ8の容量に
よって決められ、また放電時定数は抵抗9によって定め
られる。
This read signal is input via switch 3 to a non-inverting input of operational amplifier 4 and to one input of comparator 15 . Switch 3 is background (i.e. ground)
The background detection width control circuit 2 detects the brightness of the document and captures a predetermined portion (width) in the main scanning direction of the document as a signal. This control circuit 2 generates a signal having a waveform as shown in FIG. In this way, the operational amplifier 4 functions as a buffer that detects the brightness of the ground, and operates together with the diode 5, and only when a voltage higher than the voltage applied to the resistor 7 is input to the operational amplifier 4, the operational amplifier 4 performs the calculation. The amplifier is configured to operate. The resistor 7 and the capacitor 8 constitute an integrator, and the brightness of the ground is detected as the amount of charge of the capacitor 8. In this case, the charging time constant of the capacitor 8 is determined by the resistor 7 and the capacitance of the capacitor 8, and the discharging time constant is determined by the resistor 9.

抵抗9には並列にスイッチ10を介して抵抗12が接続
されておシ、スイッチ10は原ら頭出し検出回路6によ
って制御される。この検出回路6は第2図のC′に図示
したように原稿が検出されない時ノ・イレベルの信号を
出してスイッチ10をオンにし、原稿が検出されるとロ
ーレベルとなってスイッチ10はオフになる。
A resistor 12 is connected in parallel to the resistor 9 via a switch 10, and the switch 10 is controlled by the starting position detection circuit 6. As shown in C' in FIG. 2, this detection circuit 6 outputs a signal at a low level and turns on a switch 10 when a document is not detected, and when a document is detected, the signal becomes low level and the switch 10 is turned off. become.

11は演算増幅器で、地の明るさを検出した信号に対し
閾値を決定する回路を接続する為のバッファと々つてお
シ、その閾値は抵抗13 、14の分割比によって決め
られ、その出力波形は第2図のD′のようになる。これ
が比較器15の他方の入力となって読み取り信号Aを比
較器15で比較して二値化する場合の閾値となり、比較
器15からは二値化された読み取り信号が出力される。
11 is an operational amplifier, which is connected to a buffer for connecting a circuit that determines a threshold value for a signal that detects the brightness of the ground.The threshold value is determined by the division ratio of resistors 13 and 14, and its output waveform becomes like D' in FIG. This becomes the other input of the comparator 15 and becomes a threshold value when the read signal A is compared and binarized by the comparator 15, and the comparator 15 outputs the binarized read signal.

このような構成において、原稿読み取り回路1からはA
′のよう々読み取り信号が発生し、制御回路2によりオ
ン・オフされるスイッチ3を介して第2図のB′の・・
イレベルの期間に相当する間読み取シ信号が積分され、
その積分値に対応する値(D)が比較器15の他方の入
力部に入力される。この場合原稿がない場合には第2図
のC’+に図示したように検出回路6からハイレベルの
信号が発生し、それによってスイッチ10がオンとカリ
、抵抗9,12が並列に接続される。その結果、積分器
の放電は速くなり、演算増幅器11の非反転入力に入る
積分値は小さくなる。それによって比較器15の閾値は
低下し、原稿の地が暗くて灰色の情報が現れる場合、そ
れを白と判断する。ように々る。一方原稿が検出される
とスイッチ10がオフとなり、積分値が大きくなって比
較器15の閾値は前よりも大きくなシ、それにより通常
の積分動作並びにその積分値に基いた二値化の読み取り
を行う。すなわち第2図の閾値D′よりも小さい読み取
り信号A′を黒と判断して読み取り信号を発生して行く
In such a configuration, from the original reading circuit 1, A
A read signal such as 'B' in FIG.
The read signal is integrated for a period corresponding to the level period, and
A value (D) corresponding to the integral value is input to the other input section of the comparator 15. In this case, if there is no original, a high level signal is generated from the detection circuit 6 as shown at C'+ in FIG. 2, which turns on the switch 10 and connects the resistors 9 and 12 in parallel. Ru. As a result, the integrator discharges faster and the integral value entering the non-inverting input of operational amplifier 11 becomes smaller. As a result, the threshold value of the comparator 15 is lowered, and when the background of the document is dark and gray information appears, it is determined to be white. Yonitaru. On the other hand, when a document is detected, the switch 10 is turned off, and the integral value becomes large, and the threshold value of the comparator 15 becomes larger than before, so that the normal integral operation and the binarization reading based on the integral value are performed. I do. That is, a read signal A' smaller than the threshold value D' in FIG. 2 is determined to be black, and a read signal is generated.

以上説明したように本発明によれば原稿を挿入したか否
かを検知する手段が設けられ、その時定数は原稿の有無
によって切り替えるようにしており、その場合原稿が挿
入されていない場合に地の明るさ検出の放電時定数を速
くシ、一方原稿が挿入され読み始める時に放電時定数を
遅く切り替えるようにしているので、回路を大幅に変更
することなく、原稿の地が暗い場合に生ずる先端の「か
ぶり」をなくすことが可能であり、正確な二値化情報が
得られ、確実な読み取り走査を行うことができる原稿読
み取り装置が得られる。
As explained above, according to the present invention, a means for detecting whether or not a document has been inserted is provided, and its time constant is switched depending on the presence or absence of a document. The discharge time constant for brightness detection is switched quickly, while the discharge time constant is switched slowly when the document is inserted and reading begins, so the edge of the document that occurs when the document has a dark background can be eliminated without major changes to the circuit. A document reading device that can eliminate "fogging", obtain accurate binarized information, and perform reliable reading and scanning can be obtained.

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

第1図は本発明に係る原稿読み取り装置の構成を示した
ブロック回路図、第2図は第1図の各部に発生する信号
波形を示した波形図である。 l・・・原稿読み取り回路、2・・・背景検知幅制御回
路、6・・・原稿頭出し検出回路、15・・・比較器。
FIG. 1 is a block circuit diagram showing the configuration of a document reading apparatus according to the present invention, and FIG. 2 is a waveform diagram showing signal waveforms generated in each part of FIG. 1. l... Original reading circuit, 2... Background detection width control circuit, 6... Original beginning detection circuit, 15... Comparator.

Claims (2)

【特許請求の範囲】[Claims] (1)原稿から読み取った読み取り出力信号を主走査方
向の読み取り信号の積分値で定めた閾値により二値化信
号に変換する原稿読み取り装置において、原稿の有無を
検出する検知手段を設け、前記積分の時定数を原稿の有
無によって切シ替えることを特徴とする原稿読み取シ装
置。
(1) In a document reading device that converts a read output signal read from a document into a binary signal using a threshold determined by an integral value of the read signal in the main scanning direction, a detection means for detecting the presence or absence of a document is provided, and the A document reading device characterized in that the time constant of the document is switched depending on the presence or absence of a document.
(2)原稿がない場合に前記積分の時定数を早くするよ
うにしたことを特徴とする特許請求の範囲第1項に記載
の原稿読み取り装置。
(2) The document reading device according to claim 1, wherein the time constant of the integration is made faster when there is no document.
JP56121462A 1981-08-04 1981-08-04 Original reader Granted JPS5824267A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56121462A JPS5824267A (en) 1981-08-04 1981-08-04 Original reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56121462A JPS5824267A (en) 1981-08-04 1981-08-04 Original reader

Publications (2)

Publication Number Publication Date
JPS5824267A true JPS5824267A (en) 1983-02-14
JPH0230626B2 JPH0230626B2 (en) 1990-07-09

Family

ID=14811729

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56121462A Granted JPS5824267A (en) 1981-08-04 1981-08-04 Original reader

Country Status (1)

Country Link
JP (1) JPS5824267A (en)

Also Published As

Publication number Publication date
JPH0230626B2 (en) 1990-07-09

Similar Documents

Publication Publication Date Title
JPS59205678A (en) Input device for form information
US4929844A (en) Apparatus for detecting the presence and size of a document
US4801788A (en) Bar code scanner for a video signal which has a shading waveform
JPS5913232A (en) Copying machine
JPS6221306B2 (en)
JPS5824267A (en) Original reader
EP0505970B1 (en) White level detection circuit for an optical image reader
KR970004630A (en) Apparatus and method for binarizing image in image processing apparatus
JPS629956B2 (en)
JP3027400B2 (en) Image binarization circuit
JPH06189128A (en) Image processing device
JP2718718B2 (en) Image reading device
JP3234276B2 (en) Image reading device
JP2576370B2 (en) ID mark reading device
JPS6126744B2 (en)
JPH0799573A (en) Original reader
JPH0155796B2 (en)
JPH0793680B2 (en) Image signal binarization circuit
JP2983556B2 (en) Background level detection circuit of document reading device
JPH09243331A (en) Document size detecting device
JPH06121164A (en) Picture processor
JPS62226292A (en) Optical type character reading device
JPS63108866A (en) Image reader
JPH03219776A (en) Picture signal processor
JPH0536556U (en) Label detector