JPH0230626B2 - - Google Patents
Info
- Publication number
- JPH0230626B2 JPH0230626B2 JP56121462A JP12146281A JPH0230626B2 JP H0230626 B2 JPH0230626 B2 JP H0230626B2 JP 56121462 A JP56121462 A JP 56121462A JP 12146281 A JP12146281 A JP 12146281A JP H0230626 B2 JPH0230626 B2 JP H0230626B2
- Authority
- JP
- Japan
- Prior art keywords
- document
- read signal
- threshold value
- discharging
- charging
- 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
Links
- 238000001514 detection method Methods 0.000 claims description 20
- 238000007599 discharging Methods 0.000 claims description 12
- 238000000034 method Methods 0.000 description 7
- 239000003990 capacitor Substances 0.000 description 5
- 238000010586 diagram Methods 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 238000003079 width control Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/04—Scanning 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)
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 binarization threshold in such a facsimile document reading device, there is a method of detecting a highlighted portion of a document by assuming that the ground color (background color 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 the detected highlight portion, 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 original document, and similarly set a threshold value based on that value to obtain a binary signal. In the former method, for example, if there is a white spot in the document, it becomes noise in the document, and this white spot is detected as a highlight part, 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 erroneous binarized signal would be generated.
また、後者の方法では挿入される原稿の大きさ
が種々ある場合、原稿でない所が地の明るさの情
報としてまちがつて混入するおそれがあるので、
地の明るさを検出する位置範囲を必ず原稿のある
場所に限定しなければならなくなる。しかしそう
すると地の明るさを検出する位置に書かれている
文字等の情報を検出して検出内容を誤ることが考
えられる。そこで地の明るさの検出を正しく行な
うためにその原稿の部位の数ライン分の主走査方
向の読み取り信号を積分することにより、その部
位に書かれている情報の影響を少なくしている。 In addition, in the latter method, if there are various sizes of inserted originals, there is a risk that non-original areas may be mistakenly included as background brightness information.
The position range for detecting the background brightness must be limited to the location where the document is located. 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 directionality is such that the background color changes slowly from white to black, and conversely, changes from black to white faster.
上に述べた方法は地の色の変化は急激に変化す
ることはなく、1枚の原稿の地色はほぼ同じで少
なくとも2〜3ラインは同じ閾値で固定しても充
分対応できることを仮定している。 The method described above assumes that the background color does not change suddenly, that the background color of one document is almost the same, and that it is sufficient to fix at least 2 to 3 lines with the same threshold value. ing.
しかし閾値の応答の変化の遅い地色の方向へ原
稿の地色が変化した場合、すなわち明るい地色か
ら暗い地色に変化した場合には、前述の方向性を
持たせたことがわざわいして、灰色の地を二値化
した結果黒の情報として読み取つてしまう欠点が
あつた。このような現象が原稿周辺部を除く他の
部分で起こる場合には、通常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 light background color to a dark background color, the above-mentioned directionality becomes a problem. However, when a gray background is binarized, it is read as black information. 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 now considered as information, ``fogging'' may occur. For normal documents, the background color is white and does not change significantly, 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 to make the back plate 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 or not a document is inserted detects a sudden change in the brightness of the background color when reading a document with a white background close to gray, and the direction changes 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 sudden changes in the brightness of the background, resulting in "fogging", especially at the leading edge.
occurs.
従つて本発明はこのような従来の欠点を解決す
るもので、主走査読み取り信号を積分してその積
分値に基づき二値化する場合の閾値を決定する場
合、原稿の先端部にかぶりなどの誤情報を発生さ
せることなく、原稿を正確に二値化して読み取る
ことができる原稿読み取り装置の提供を目的とす
る。 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, it is necessary to avoid fogging or the like on the leading edge of the document. To provide a document reading device capable of accurately binarizing and reading a document without generating erroneous information.
本発明によれば、この目的を達成する為に原稿
の有無によつて積分の時定数を切り替えるように
している。具体的には原稿がない場合には二値化
する場合の閾値を灰色の情報を白と判断する方向
に変化させ、また原稿がある場合には閾値を灰色
の情報を黒と判断する方向へ変化させるように積
分の時定数を変化させる。これによつて原稿の地
が暗い場合に発生する先端の「かぶり」をなくす
ことが可能になる。 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 "fogging" at the leading edge that occurs when the background of the document is dark.
即ち、本発明は、原稿を読み取ることにより発
生された読み取り信号を閾値と比較することによ
り二値化する原稿読み取り装置において、前記読
み取り信号に応じて充放電を行なう充放電手段
と、前記充放電手段の充電量に基づいて読み取り
信号の二値化用の閾値を形成する形成手段と、前
記形成手段により形成された閾値と前記読み取り
信号を比較することにより読み取り信号を二値化
する比較手段と、原稿の有無を検出する検出手段
と、前記検出手段の検出出力に応じて前記充放電
手段の放電が原稿有りの場合よりも原稿無しの場
合のほうが早くなる様に前記検出手段の検出出力
に応じて前記充放電手段の放電時定数を切り替え
る切り替え手段とを有することを特徴とする原稿
読み取り装置を提供するものである。 That is, the present invention provides a document reading device that binarizes a read signal generated by reading a document by comparing it with a threshold value, including a charging/discharging means that performs charging/discharging according to the read signal, and a charge/discharge means for performing charging/discharging according to the read signal; forming means for forming a threshold for binarizing the read signal based on the amount of charge of the means; and comparing means for binarizing the read signal by comparing the threshold formed by the forming means and the read signal. , a detection means for detecting the presence or absence of a document, and a detection output of the detection means so that the discharge of the charging/discharging means is faster when there is no document than when there is a document, according to the detection output of the detection means. The present invention provides a document reading device characterized in that it has a switching means for switching the discharge time constant of the charging and discharging means accordingly.
以下添付図面を参照して本発明の一実施例を詳
細に説明する。 An embodiment of the present invention will be described in detail below with reference to the accompanying drawings.
第1図には本発明に係る原稿読み取り装置が図
示されており、この読み取り装置には原稿を主、
副走査方向に順次読み取つてアナログ信号を発生
する原稿読み取り回路1が設けられる。この原稿
読み取り回路1の出力Aには第2図のA′に図示
したように各ラインごとに読み取り信号が現れ
る。この読み取り信号はスイツチ3を介して演算
増幅器4の非反転入力部に入力されるとともに比
較器15の一方の入力部に入力される。スイツチ
3は背景(すなわち地)の明るさを検出し、原稿
の主走査方向のある定められた部分(幅)を信号
として取り込む為の背景検知幅制御回路2により
オン・オフされる。この制御回路2は第2図の
B′に示したような波形の信号を発生し、この信
号がハイレベルの間スイツチ3は閉じ読み取り信
号A′が演算増幅器4に入力される。演算増幅器
4はこのようにして地の明るさを検知するバツフ
アとなつており、ダイオード5とともに動作し、
抵抗7に印加されている電圧より高い電圧が演算
増幅器4に入力された時のみ、演算増幅器が動作
するように構成されている。抵抗7はコンデンサ
8とともに積分器を構成しており、地の明るさは
コンデンサ8の充電量として検出される。この場
合コンデンサ8への充電時定数は抵抗7とコンデ
ンサ8の容量によつて決められ、また放電時定数
は抵抗9によつて定められる。これら抵抗7、コ
ンデンサ8及び抵抗9からなる構成が本発明の充
放電手段に対応する。 FIG. 1 shows a document reading device according to the present invention.
A document reading circuit 1 is provided that sequentially reads documents in the sub-scanning direction and generates analog signals. At the output A of the original reading circuit 1, a reading signal appears for each line as shown at A' in FIG. This read signal is input via switch 3 to the non-inverting input of operational amplifier 4 and to one input of comparator 15. The switch 3 is turned on and off by a background detection width control circuit 2 which detects the brightness of the background (ground) and captures a predetermined portion (width) of the document in the main scanning direction as a signal. This control circuit 2 is shown in FIG.
A signal having a waveform as shown in B' is generated, and while this signal is at a high level, the switch 3 is closed and the read signal A' is input to the operational amplifier 4. In this way, the operational amplifier 4 serves as a buffer for detecting the brightness of the ground, and operates together with the diode 5.
The operational amplifier is configured to operate only when a voltage higher than the voltage applied to the resistor 7 is input to the operational amplifier 4. 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. The configuration consisting of these resistor 7, capacitor 8, and resistor 9 corresponds to the charging/discharging means of the present invention.
抵抗9には並列にスイツチ10を介して抵抗1
2が接続されており、スイツチ10は原稿頭出し
検出回路6によつて制御される。この検出回路6
は第2図のC′に図示したように原稿が検出されな
い時ハイレベルの信号を出してスイツチ10をオ
ンにし、原稿が検出されるとローレベルとなつて
スイツチ10はオフになる。 Resistor 1 is connected in parallel to resistor 9 via switch 10.
2 is connected, and the switch 10 is controlled by the document cue detection circuit 6. This detection circuit 6
As shown in C' of FIG. 2, when a document is not detected, a high level signal is output to turn on the switch 10, and when a document is detected, the signal becomes low level and the switch 10 is turned off.
この検出回路6が本発明の検出手段に対応し、
また、抵抗12及びスイツチ10からなる構成が
本発明の切り替え手段に対応する。 This detection circuit 6 corresponds to the detection means of the present invention,
Further, the configuration consisting of the resistor 12 and the switch 10 corresponds to the switching means of the present invention.
11は演算増幅器で、地の明るさを検出した信
号に対し閾値を決定する回路を接続する為のバツ
フアとなつており、その閾値は抵抗13,14の
分割比によつて決められ、その出力波形は第2図
のD′のようになる。これら抵抗13及び14か
らなる構成が本発明の形成手段に対応する。これ
が比較器15の他方の入力となつて読み取り信号
Aを比較器15で比較して二値化する場合の閾値
となり、比較器15からは二値化された読み取り
信号が出力される。 Reference numeral 11 denotes an operational amplifier, which serves as 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 The waveform will look like D' in Figure 2. The configuration consisting of these resistors 13 and 14 corresponds to the forming means of the present invention. This becomes the other input of the comparator 15 and becomes a threshold when the read signal A is compared and binarized by the comparator 15, and the comparator 15 outputs the binarized read signal.
この比較器15が本発明の比較手段に対応す
る。 This comparator 15 corresponds to the comparison means of the present invention.
このような構成において、原稿読み取り回路1
からはA′のような読み取り信号が発生し、制御
回路2によりオン・オフされるスイツチ3を介し
て第2図のB′のハイレベルの期間に相当する間
読み取り信号が積分され、その積分値に対応する
値(D)が比較器15の他方の入力部に入力される。
この場合原稿がない場合には第2図のC′1に図示
したように検出回路6からハイレベルの信号が発
生し、それによつてスイツチ10がオンとなり、
抵抗9,12が並列に接続される。その結果、積
分器の放電は速くなり、演算増幅器11の非反転
入力に入る積分値は小さくなる。それによつて比
較器15の閾値は低下し、原稿の地が暗くて灰色
の情報が現れる場合、それを白と判断するように
なる。一方原稿が検出されるとスイツチ10がオ
フとなり、積分値が大きくなつて比較器15の閾
値は前よりも大きくなり、それにより通常の積分
動作並びにその積分値に基いた二値化の読み取り
を行う。すなわち第2図の閾値D′よりも小さい
読み取り信号A′を黒と判断して読み取り信号を
発生して行く。 In such a configuration, the document reading circuit 1
A read signal like A' is generated from , and the read signal is integrated through the switch 3 which is turned on and off by the control circuit 2 during a period corresponding to the high level period of B' in FIG. A value (D) corresponding to the 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 in C'1 of FIG. 2 , and the switch 10 is turned on.
Resistors 9 and 12 are connected in parallel. 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. On the other hand, when a document is detected, the switch 10 is turned off, and the integral value becomes larger, so that 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. conduct. 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 the presence or absence of a document is provided, and its time constant is switched depending on the presence or absence of a document. The discharge time constant for detection is made faster, while the discharge time constant is switched to a slower value when the original is inserted and reading begins. This eliminates "fogging" at the leading edge of the original, which occurs when the original is dark, without making major changes to the circuit. ” can be eliminated, accurate binarized information can be obtained, and a document reading device can be obtained that can perform reliable reading scanning.
第1図は本発明に係る原稿読み取り装置の構成
を示したブロツク回路図、第2図は第1図の各部
に発生する信号波形を示した波形図である。
1…原稿読み取り回路、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. DESCRIPTION OF SYMBOLS 1... Original reading circuit, 2... Background detection width control circuit, 6... Original beginning detection circuit, 15... Comparator.
Claims (1)
り信号を閾値と比較することにより二値化する原
稿読み取り装置において、 前記読み取り信号に応じて充放電を行なう充放
電手段と、 前記充放電手段の充電量に基づいて読み取り信
号の二値化用の閾値を形成する形成手段と、 前記形成手段により形成された閾値と前記読み
取り信号を比較することにより読み取り信号を二
値化する比較手段と、 原稿の有無を検出する検出手段と、 前記検出手段の検出出力に応じて前記充放電手
段の放電が原稿有りの場合よりも原稿無しの場合
のほうが速くなる様に前記検出手段の検出出力に
応じて前記充放電手段の放電時定数を切り替える
切り替え手段とを有することを特徴とする原稿読
み取り装置。[Scope of Claims] 1. A document reading device that binarizes a read signal generated by reading a document by comparing it with a threshold value, comprising: a charging/discharging means that performs charging/discharging according to the read signal; forming means for forming a threshold value for binarizing the read signal based on the amount of charge of the discharging means; and a comparing means for binarizing the read signal by comparing the threshold value formed by the forming means and the read signal. and a detection means for detecting the presence or absence of a document, and a detection output of the detection means such that the discharge of the charging/discharging means is faster when there is no document than when there is a document, according to the detection output of the detection means. a switching device for switching a discharge time constant of the charging and discharging device according to the switching device.
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 JPS5824267A (en) | 1983-02-14 |
JPH0230626B2 true 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) |
-
1981
- 1981-08-04 JP JP56121462A patent/JPS5824267A/en active Granted
Also Published As
Publication number | Publication date |
---|---|
JPS5824267A (en) | 1983-02-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4929844A (en) | Apparatus for detecting the presence and size of a document | |
JPH0330143B2 (en) | ||
US4801788A (en) | Bar code scanner for a video signal which has a shading waveform | |
JPH0230626B2 (en) | ||
JPS6221306B2 (en) | ||
EP0505970B1 (en) | White level detection circuit for an optical image reader | |
EP0049388B1 (en) | Video signal detector | |
JPS629956B2 (en) | ||
JP2572805B2 (en) | Mark recognition circuit for mark reader | |
JP3027400B2 (en) | Image binarization circuit | |
JP2576370B2 (en) | ID mark reading device | |
JPS6126744B2 (en) | ||
JPS6019872B2 (en) | Defect inspection device | |
JPH0799573A (en) | Original reader | |
JP3234276B2 (en) | Image reading device | |
JPS5856574A (en) | Signal binarizing circuit | |
JPS62226292A (en) | Optical type character reading device | |
JPS5845874B2 (en) | Video signal quantization method | |
JPS6031362A (en) | Video signal binary-coding system | |
JPH0447387A (en) | Binarization method | |
JPH09243331A (en) | Document size detecting device | |
JPH0536556U (en) | Label detector | |
JPH06121164A (en) | Picture processor | |
JPH0155796B2 (en) | ||
JPH0152952B2 (en) |