JPH1023257A - Binarization circuit and image reader - Google Patents

Binarization circuit and image reader

Info

Publication number
JPH1023257A
JPH1023257A JP8177670A JP17767096A JPH1023257A JP H1023257 A JPH1023257 A JP H1023257A JP 8177670 A JP8177670 A JP 8177670A JP 17767096 A JP17767096 A JP 17767096A JP H1023257 A JPH1023257 A JP H1023257A
Authority
JP
Japan
Prior art keywords
level
reference voltage
low
level reference
converter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8177670A
Other languages
Japanese (ja)
Inventor
Oaki Yamanaka
大明 山中
Atsushi Kubota
敦 久保田
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.)
TEC CORP
Original Assignee
TEC 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 TEC CORP filed Critical TEC CORP
Priority to JP8177670A priority Critical patent/JPH1023257A/en
Publication of JPH1023257A publication Critical patent/JPH1023257A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To automatically set an input image range of a binarization means to a proper value, in response to an actual state of an analog signal outputted from an image sensor. SOLUTION: An analog image signal ASIG, generated by applying photoelectric conversion to a reflected light from an original D by an image sensor 1, is binarized by an A/D converter 91. A low reference VREF-, being the lower limit of an input range of the A/D converter 91, is generated variably by a D/A converter 92 depending on a low reference decision means 11a, based on a black reference signal outputted from the image sensor 1, when a light source 6 is not lighted. Furthermore, a high reference VREF+, being the higher limit of an input range, is generated variably by the D/A converter 92 depending on a high reference decision means 11b, based on a white reference signal generated by the image sensor 1, by applying photoelectric conversion to the reflected light from a transmission white roller 5f.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、アナログ状態の画
像信号を2値化して2値画像データを生成する2値化回
路および、この2値化回路により、イメージセンサによ
り原稿からの反射光を光電変換して生成した画像信号を
2値化して前記原稿に形成された画像に対応する2値画
像データを生成する画像読取装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a binarization circuit for binarizing an image signal in an analog state to generate binary image data, and using the binarization circuit, a reflected light from a document by an image sensor. The present invention relates to an image reading apparatus that binarizes an image signal generated by photoelectric conversion and generates binary image data corresponding to an image formed on the document.

【0002】[0002]

【従来の技術】図4は従来の画像読取装置の要部構成を
示す図である。
2. Description of the Related Art FIG. 4 is a diagram showing a configuration of a main part of a conventional image reading apparatus.

【0003】CCD(Charge Copled Device)などを用
いてなるイメージセンサ1から出力されたアナログ画像
信号ASIGは、増幅器2で増幅されたのち、A/Dコンバ
ータ3に入力される。A/Dコンバータ3は、アナログ
画像信号ASIGのサンプルホールドを行なった上で、2値
化を行なって2値データ(2値画像データ)を生成す
る。
An analog image signal ASIG output from an image sensor 1 using a CCD (Charge Coupled Device) or the like is amplified by an amplifier 2 and then input to an A / D converter 3. The A / D converter 3 samples and holds the analog image signal ASIG, and then performs binarization to generate binary data (binary image data).

【0004】さてA/Dコンバータ3は、リファレンス
電圧VREF+ ,VREF- で示されるレベル範囲の信号を取り
込む。すなわち、図4の例では、リファレンス電圧VREF
+ は5Vの電圧を逆方向のダイオードの電圧降下により
低下させた3Vととし、またリファレンス電圧VREF- は
接地することで0Vととしており、この0V以上、3V
以下の範囲でアナログ画像信号ASIGを取り込む。
The A / D converter 3 takes in a signal in a level range represented by reference voltages VREF + and VREF-. That is, in the example of FIG. 4, the reference voltage VREF
+ Is 3 V, which is a voltage of 5 V reduced by the voltage drop of the diode in the reverse direction, and the reference voltage VREF- is 0 V when grounded.
The analog image signal ASIG is taken in the following range.

【0005】[0005]

【発明が解決しようとする課題】このためリファレンス
電圧VREF+ ,VREF- は図5に示すように、アナログ画像
信号ASIGの全てがA/Dコンバータ3などの2値化手段
の入力範囲内となり、かつアナログ画像信号ASIGの最大
レベルがリファレンス電圧VREF+ にできるだけ近く、ま
たアナログ画像信号ASIGの最小レベルがリファレンス電
圧VREF- にできるだけ近くなるように設定されることが
望ましい。
Therefore, as shown in FIG. 5, the reference voltages VREF + and VREF- are all within the input range of the binarizing means such as the A / D converter 3, as shown in FIG. It is desirable that the maximum level of the analog image signal ASIG is set as close as possible to the reference voltage VREF +, and the minimum level of the analog image signal ASIG is set as close as possible to the reference voltage VREF-.

【0006】ところが従来では、リファレンス電圧VREF
+ ,VREF- は固定的に定められている。このため、2値
化手段の入力範囲とアナログ画像信号ASIGのレベルとを
適正な関係に保つためには、イメージセンサの出力レベ
ルのばらつき精度を良くしなければならない。
Conventionally, however, the reference voltage VREF
+ And VREF- are fixedly determined. For this reason, in order to maintain an appropriate relationship between the input range of the binarizing means and the level of the analog image signal ASIG, it is necessary to improve the variation accuracy of the output level of the image sensor.

【0007】また、イメージセンサの出力レベルのばら
つき精度を良くしたとしても、ばらつきを完全に無くす
ことはできないので、ある程度のばらつきに対応し得る
ようにリファレンス電圧VREF+ ,VREF- を適切に設定す
る必要がある。このためには、細かい分析作業を行なう
必要があって多くの時間を要するとともに、高度なノウ
ハウを必要とする。
Further, even if the accuracy of the variation of the output level of the image sensor is improved, the variation cannot be completely eliminated. Therefore, it is necessary to appropriately set the reference voltages VREF + and VREF- so as to cope with a certain variation. There is. For this purpose, it is necessary to perform a detailed analysis work, which requires a lot of time, and also requires advanced know-how.

【0008】本発明はこのような事情を考慮してなされ
たものであり、その目的とするところは第1に、2値化
手段の入力範囲をアナログ信号の実際の状態に応じた適
切な値に容易に設定することが可能な2値化回路を提供
することにある。
The present invention has been made in view of such circumstances. The first object of the present invention is to set the input range of the binarizing means to an appropriate value corresponding to the actual state of the analog signal. To provide a binarization circuit which can be easily set.

【0009】また第2に、2値化手段の入力範囲をイメ
ージセンサが出力するアナログ信号の実際の状態に応じ
た適切な値に自動的に設定することが可能な画像読取装
置を提供することにある。
Second, there is provided an image reading apparatus capable of automatically setting an input range of a binarizing means to an appropriate value according to an actual state of an analog signal output from an image sensor. It is in.

【0010】[0010]

【課題を解決するための手段】第1の目的を達成するた
めに本発明は、入力されるアナログ信号を例えばA/D
コンバータなどの2値化手段により所定のロウレベルリ
ファレンス電圧以上、所定のハイレベルリファレンス電
圧以下の範囲で取り込んで2値化するようにし、かつ前
記ロウレベルリファレンス電圧は外部から指定されるロ
ウリファレンス設定値に応じて例えばD/Aコンバータ
などのロウレベルリファレンス電圧発生手段が可変的に
発生し、また前記ハイレベルリファレンス電圧は外部か
ら指定されるハイリファレンス設定値に応じて例えばD
/Aコンバータなどのハイレベルリファレンス電圧発生
手段が可変的に発生するようにした。
In order to achieve the first object, the present invention provides a method for converting an input analog signal into, for example, an A / D signal.
Binarization means such as a converter takes in a range of a predetermined low-level reference voltage or more and a predetermined high-level reference voltage or less to binarize, and the low-level reference voltage is set to a low-level reference value specified from the outside. In response, a low-level reference voltage generating means such as a D / A converter is variably generated, and the high-level reference voltage is set to, for example, D in accordance with a high reference setting value specified from the outside.
A high-level reference voltage generating means such as a / A converter is variably generated.

【0011】また第2の目的を達成するために本発明
は、イメージセンサによって原稿からの反射光を光電変
換して生成した前記反射光の光量に応じたレベルを有し
たアナログ信号を、例えばA/Dコンバータなどの2値
化手段により所定のロウレベルリファレンス電圧以上、
所定のハイレベルリファレンス電圧以下の範囲で取り込
んで2値化するようにし、かつ前記ロウレベルリファレ
ンス電圧は、前記イメージセンサが出力する所定の黒基
準信号に基づいてロウリファレンス決定手段により決定
したロウリファレンス設定値に応じて例えばD/Aコン
バータなどのロウレベルリファレンス電圧発生手段が可
変的に発生し、また前記ハイレベルリファレンス電圧
は、前記イメージセンサが出力する所定の白基準信号に
基づいてハイリファレンス決定手段により決定したハイ
リファレンス設定値に応じて例えばD/Aコンバータな
どのハイレベルリファレンス電圧発生手段が可変的に発
生するようにした。
According to another aspect of the present invention, an analog signal having a level corresponding to the amount of reflected light generated by photoelectrically converting reflected light from a document by an image sensor, for example, A A predetermined low-level reference voltage or more by binarizing means such as a / D converter,
The data is taken in a range equal to or less than a predetermined high-level reference voltage and binarized, and the low-level reference voltage is determined by a row reference setting unit determined by a row reference determining unit based on a predetermined black reference signal output from the image sensor. For example, a low-level reference voltage generating means such as a D / A converter is variably generated according to the value, and the high-level reference voltage is determined by a high-reference determining means based on a predetermined white reference signal output from the image sensor. High-level reference voltage generating means such as a D / A converter is variably generated according to the determined high reference setting value.

【0012】これらの手段を講じたことにより、入力さ
れる任意のアナログ信号またはイメージセンサによって
生成されたアナログ信号は、2値化手段により所定のロ
ウレベルリファレンス電圧以上、所定のハイレベルリフ
ァレンス電圧以下の範囲で取り込まれて2値化される
が、前記ロウレベルリファレンス電圧および前記ハイレ
ベルリファレンス電圧はそれぞれ、外部からの指示に応
じて、あるいは前記イメージセンサが出力する所定の黒
基準信号および白基準信号に基づいてロウリファレンス
決定手段およびハイリファレンス決定手段により決定さ
れたロウリファレンス設定値およびハイリファレンス設
定値に応じて可変的に設定される。従って、2値化手段
に与えられるアナログ信号の実際の状態に応じて、2値
化手段の入力範囲を適切に設定することが可能となる。
By taking these means, an arbitrary analog signal to be inputted or an analog signal generated by the image sensor is converted by the binarizing means into a predetermined low-level reference voltage or more and a predetermined high-level reference voltage or less. The low-level reference voltage and the high-level reference voltage are taken in the range and binarized, respectively, in response to an external instruction or a predetermined black reference signal and a white reference signal output by the image sensor. It is variably set according to the low reference setting value and the high reference setting value determined by the low reference determining means and the high reference determining means based on the setting. Therefore, it is possible to appropriately set the input range of the binarization unit according to the actual state of the analog signal supplied to the binarization unit.

【0013】[0013]

【発明の実施の形態】以下、図面を参照して本発明の一
実施形態につき説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0014】図1は本実施形態に係る画像読取装置の要
部構成を示す図である。なお、図4と同一部分には同一
符号を付し、その詳細な説明は省略する。
FIG. 1 is a diagram showing a main configuration of an image reading apparatus according to this embodiment. The same parts as those in FIG. 4 are denoted by the same reference numerals, and detailed description thereof will be omitted.

【0015】この図に示すように本実施形態の画像読取
装置は、ラインセンサ1、増幅器2、原稿搬送機構部
5、光源6、光源駆動部7、センサ駆動部8、2値化回
路9、信号レベル検出部10および制御部11を有して
なる。このうち、光源駆動部7、センサ駆動部8、2値
化回路9および信号レベル検出部10は、システムバス
12を介して制御部11にそれぞれ接続されている。
As shown in FIG. 1, the image reading apparatus according to the present embodiment comprises a line sensor 1, an amplifier 2, a document transport mechanism 5, a light source 6, a light source driving unit 7, a sensor driving unit 8, a binarizing circuit 9, It has a signal level detection unit 10 and a control unit 11. Among them, the light source driving unit 7, the sensor driving unit 8, the binarizing circuit 9, and the signal level detecting unit 10 are connected to the control unit 11 via the system bus 12.

【0016】原稿搬送機構部5は、キックローラ5a、
自給ゴム板ユニット5b、自給ローラ5c、送信駆動ロ
ーラ5d、ピンチローラ5e、送信白色ローラ5f、送
信駆動ローラ5gおよびピンチローラ5hよりなる。そ
してこの原稿搬送機構部5は、キックローラ5a、自給
ローラ5c、送信駆動ローラ5dおよび送信駆動ローラ
5gが、図示しないモータの回転力を図示しない伝達機
構を介して受けてそれぞれ回転することで、原稿トレイ
Tにセットされた原稿Dを1枚ずつ図中の右から左に向
けて搬送する。
The document transport mechanism 5 includes a kick roller 5a,
The self-supply rubber plate unit 5b, self-supply roller 5c, transmission drive roller 5d, pinch roller 5e, transmission white roller 5f, transmission drive roller 5g, and pinch roller 5h. The original transport mechanism 5 is configured such that the kick roller 5a, the self-supply roller 5c, the transmission driving roller 5d, and the transmission driving roller 5g receive the torque of a motor (not shown) via a transmission mechanism (not shown) and rotate. The documents D set on the document tray T are conveyed one by one from right to left in the figure.

【0017】光源6は、原稿搬送機構部5によって搬送
される原稿Dに対し、送信白色ローラ5fの下方におい
て光を照射する。光源駆動部7は、光源6への給電を行
なうものであり、点灯/消灯を制御する。
The light source 6 irradiates the original D transported by the original transport mechanism 5 with light below the transmission white roller 5f. The light source driving unit 7 supplies power to the light source 6 and controls turning on / off.

【0018】ラインセンサ1は、多数の光電変換素子
(図示せず)を一次元配列して一体化してなり、光電変
換素子の配列方向が原稿Dの搬送方向に交差する方向
(図中の奥行方向)に沿うように配置されている。この
ラインセンサ1は、光源6から発せられ原稿Dで反射し
た光を各光電変換素子が光電変換して得られた電荷を順
次出力することで1ライン分のアナログ画像信号ASIGを
生成・出力する。ラインセンサ1は、センサ駆動部5に
より駆動制御が行なわれ、上述の動作をセンサ駆動部8
から与えられる駆動信号に同期したタイミングで周期的
に繰り返す。そして、ラインセンサ1が出力するアナロ
グ画像信号ASIGは、増幅器2へと与えられる。増幅器2
は、アナログ画像信号ASIGが2値化回路9にて2値化処
理を行うのに適したレベルとなるように定めた利得でア
ナログ画像信号ASIGを増幅し、2値化回路9および信号
レベル検出部10へと与える。
The line sensor 1 is formed by integrating a large number of photoelectric conversion elements (not shown) in a one-dimensional array, and a direction in which the arrangement direction of the photoelectric conversion elements intersects the conveying direction of the document D (depth in the figure). Direction). The line sensor 1 generates and outputs an analog image signal ASIG for one line by sequentially outputting electric charges obtained by each photoelectric conversion element performing photoelectric conversion of light emitted from the light source 6 and reflected by the document D. . Drive control of the line sensor 1 is performed by the sensor drive unit 5, and the above-described operation is performed by the sensor drive unit 8.
Is periodically repeated at a timing synchronized with the drive signal given from the controller. Then, the analog image signal ASIG output from the line sensor 1 is given to the amplifier 2. Amplifier 2
Amplifies the analog image signal ASIG with a gain determined so that the analog image signal ASIG is at a level suitable for performing the binarization processing in the binarization circuit 9, and performs the binarization circuit 9 and signal level detection. Give to part 10.

【0019】2値化回路9は、A/Dコンバータ91お
よびD/Aコンバータ92,93から構成されており、
増幅器2で増幅されたのちのアナログ画像信号ASIGはA
/Dコンバータ91に入力される。
The binarizing circuit 9 comprises an A / D converter 91 and D / A converters 92 and 93.
The analog image signal ASIG amplified by the amplifier 2 is A
/ D converter 91.

【0020】A/Dコンバータ91は、D/Aコンバー
タ92から出力されるロウリファレンスVREF- およびD
/Aコンバータ93から出力されるハイリファレンスVR
EF+により定まるレベル範囲でアナログ画像信号ASIGを
取り込み、2値化を行なって2値データを生成する。
The A / D converter 91 outputs the row reference VREF- and D
Reference VR output from the A / A converter 93
The analog image signal ASIG is taken in a level range determined by EF +, binarized, and binary data is generated.

【0021】D/Aコンバータ92,93はそれぞれ、
システムバス12を介して制御部11に接続されてい
る。そしてD/Aコンバータ92は、制御部11から設
定されるロウリファレンス設定値に応じた電圧レベルの
ロウリファレンスVREF- を出力し、またD/Aコンバー
タ93は、制御部11から設定されるハイリファレンス
設定値に応じた電圧レベルのハイリファレンスVREF+ を
出力する。なお本実施形態においては、D/Aコンバー
タ92,93にはそれぞれ、ハイレベルとして5Vが与
えられ、またロウレベルとしては接地により0Vが与え
られており、D/Aコンバータ92,93は、ロウリフ
ァレンスVREF- およびハイリファレンスVREF+ を0V〜
5Vの範囲で変化させるものとなっている。
The D / A converters 92 and 93 are respectively
It is connected to the control unit 11 via the system bus 12. The D / A converter 92 outputs a low reference VREF- having a voltage level corresponding to the low reference set value set by the control unit 11, and the D / A converter 93 outputs a high reference set by the control unit 11. Outputs the high reference VREF + at the voltage level according to the set value. In this embodiment, the D / A converters 92 and 93 are each supplied with 5 V as a high level and 0 V as a low level by grounding. VREF- and high reference VREF + are
It is changed within the range of 5V.

【0022】信号レベル検出部10は、増幅器2で増幅
されたのちのアナログ画像信号ASIGのレベルを検出し、
その検出結果をシステムバス12を介して制御部11へ
と通知する。
The signal level detecting section 10 detects the level of the analog image signal ASIG amplified by the amplifier 2,
The detection result is notified to the control unit 11 via the system bus 12.

【0023】制御部11は、各部の動作を総括的に制御
して画像読取装置としての動作を実現するものである。
この制御部11は、例えばマイクロコンピュータを主制
御回路として有し、画像読取装置における周知の一般的
な制御手段に加えて、ロウリファレンス決定手段11a
およびハイリファレンス決定手段11bを有する。この
うちロウリファレンス決定手段11aは、光源6を点灯
させない状態におけるアナログ画像信号ASIGのレベ
ル、すなわち黒基準信号のレベルに基づいて、ロウリフ
ァレンスVREF- のレベルを決定し、これに対応するロウ
リファレンス設定値をD/Aコンバータ92に設定する
処理を行うものである。またハイリファレンス決定手段
11bは、光源6を点灯させた状態での送信白色ローラ
5fからの反射光をラインセンサ1が光電変換する際の
アナログ画像信号ASIGのレベル、すなわち白基準信
号のレベルに基づいて、ハイリファレンスVREF+ のレベ
ルを決定し、これに対応するハイリファレンス設定値を
D/Aコンバータ93に設定する処理を行うものであ
る。
The control section 11 controls the overall operation of each section to realize the operation as an image reading apparatus.
The control unit 11 includes, for example, a microcomputer as a main control circuit, and includes a row reference determination unit 11a in addition to a well-known general control unit in an image reading apparatus.
And high reference determining means 11b. The row reference determining means 11a determines the level of the row reference VREF- based on the level of the analog image signal ASIG in a state where the light source 6 is not turned on, that is, the level of the black reference signal, and sets the corresponding row reference VREF-. The processing for setting the value in the D / A converter 92 is performed. Further, the high reference determining means 11b determines the level of the analog image signal ASIG when the line sensor 1 photoelectrically converts the reflected light from the transmission white roller 5f with the light source 6 turned on, that is, the level of the white reference signal. Thus, the level of the high reference VREF + is determined, and a process of setting the high reference set value corresponding to the level to the D / A converter 93 is performed.

【0024】次に以上のように構成された画像読取装置
の動作を説明する。まず制御部11は、読取動作を開始
するのに先立って、次のような準備動作を行なう。すな
わち制御部11は図2に示すようにまず、センサ駆動部
8に対してラインセンサ1の駆動開始を指示する(ステ
ップST1)。これに応じてセンサ駆動部8は、ライン
センサ1への駆動信号の供給を開始し、ラインセンサ1
を動作させる。これによりラインセンサ1は光電変換動
作を行なってアナログ画像信号ASIGを出力するようにな
るが、ここでは光源6が未点灯であるのでラインセンサ
1に光は入射しておらず、上述のアナログ画像信号ASIG
は最低レベルとなる。
Next, the operation of the image reading apparatus configured as described above will be described. First, the control unit 11 performs the following preparatory operation before starting the reading operation. That is, as shown in FIG. 2, the control unit 11 first instructs the sensor driving unit 8 to start driving the line sensor 1 (step ST1). In response to this, the sensor driver 8 starts supplying a drive signal to the line sensor 1 and
To work. As a result, the line sensor 1 performs the photoelectric conversion operation and outputs the analog image signal ASIG. However, since the light source 6 is not turned on, no light is incident on the line sensor 1 and the above-described analog image signal is output. Signal ASIG
Is the lowest level.

【0025】そこで制御部11は、その状態における信
号レベル検出部10での検出結果を取り込むことでアナ
ログ画像信号ASIGの最低レベルを認識する(ステップS
T2)。そして制御部11はロウリファレンス決定手段
11aにより、このアナログ画像信号ASIGの最低レベル
に基づいてロウリファレンスVREF- のレベルを決定し、
それに対応するロウリファレンス設定値をD/Aコンバ
ータ92に設定する(ステップST3)。なおロウリフ
ァレンスVREF- のレベルは、例えばアナログ画像信号AS
IGの最低レベルよりも若干小さな値に設定する。
Then, the control unit 11 recognizes the lowest level of the analog image signal ASIG by taking in the detection result of the signal level detection unit 10 in that state (Step S).
T2). Then, the control unit 11 determines the level of the row reference VREF- based on the lowest level of the analog image signal ASIG by the row reference determining unit 11a,
The corresponding row reference set value is set in the D / A converter 92 (step ST3). Note that the level of the row reference VREF- is, for example, the analog image signal AS
Set to a value slightly smaller than the lowest level of IG.

【0026】続いて制御部11は、光源駆動部7に対し
て光源6の点灯を指示する(ステップST4)。これに
応じて光源駆動部7は、光源6への給電を開始し、光源
6を点灯させる。かくして光源6からは光が発せられる
ようになり、送信白色ローラ5fでの反射光がラインセ
ンサ1に入射するようになる。ここで送信白色ローラ5
fは、その表面が均一な白色になっている。従って、こ
の状態でのアナログ画像信号ASIGは最高レベルとなる。
Subsequently, the control section 11 instructs the light source drive section 7 to turn on the light source 6 (step ST4). In response to this, the light source driving unit 7 starts supplying power to the light source 6 and turns on the light source 6. Thus, light is emitted from the light source 6, and the light reflected by the transmission white roller 5f enters the line sensor 1. Here the transmission white roller 5
f has a uniform white surface. Therefore, the analog image signal ASIG in this state has the highest level.

【0027】そこで制御部11は、その状態における信
号レベル検出部10での検出結果を取り込むことでアナ
ログ画像信号ASIGの最高レベルを認識する(ステップS
T5)。そして制御部11はハイリファレンス決定手段
11bにより、このアナログ画像信号ASIGの最高レベル
に基づいてハイリファレンスVREF+ のレベルを決定し、
それに対応するハイリファレンス設定値をD/Aコンバ
ータ93に設定する(ステップST6)。なお、ハイリ
ファレンスVREF+ のレベルは、例えばアナログ画像信号
ASIGの最高レベルよりも若干大きな値に設定する。
Then, the control unit 11 recognizes the highest level of the analog image signal ASIG by taking in the detection result of the signal level detection unit 10 in that state (Step S).
T5). Then, the control unit 11 determines the level of the high reference VREF + based on the highest level of the analog image signal ASIG by the high reference determination unit 11b,
The corresponding high reference set value is set in the D / A converter 93 (step ST6). Note that the level of the high reference VREF + is, for example, an analog image signal.
Set a value slightly higher than the highest level of ASIG.

【0028】以上のような準備動作により、D/Aコン
バータ92,93が出力するロウリファレンスVREF- お
よびハイリファレンスVREF+ によって示されるA/Dコ
ンバータ91の入力範囲は、ラインセンサ1が実際に出
力する信号のレベルを考慮して、アナログ画像信号ASIG
の全てを入力可能なように設定される。すなわち図3
(a)(b)に示すように、アナログ画像信号ASIGのレ
ベルが異なればロウリファレンスVREF- およびハイリフ
ァレンスVREF+ も変化する。
With the above preparation operation, the line sensor 1 actually outputs the input range of the A / D converter 91 indicated by the low reference VREF- and the high reference VREF + output by the D / A converters 92 and 93. Considering the signal level, the analog image signal ASIG
Is set so that all can be input. That is, FIG.
As shown in (a) and (b), if the level of the analog image signal ASIG differs, the low reference VREF- and the high reference VREF + also change.

【0029】こののち、制御部11は原稿搬送機構部5
を動作させて原稿Dの搬送を行なう。これにより、ライ
ンセンサ1は原稿Dに形成された画像を読み取り、対応
するアナログ画像信号ASIGを出力する。このアナログ画
像信号ASIGは増幅器2で増幅されたのち、A/Dコンバ
ータ91にて全信号が取り込まれて2値化がなされ、2
値データに変換される。
Thereafter, the control section 11 controls the document transport mechanism section 5
Is operated to transport the document D. Thus, the line sensor 1 reads an image formed on the document D and outputs a corresponding analog image signal ASIG. After the analog image signal ASIG is amplified by the amplifier 2, all the signals are taken in by the A / D converter 91 and binarized.
Converted to value data.

【0030】以上のように本実施形態によれば、2値化
回路9は、A/Dコンバータ91の入力範囲がD/Aコ
ンバータ92,93への設定値によって任意に変化させ
ることができるので、ラインセンサ1の特性に応じて、
A/Dコンバータ91の入力範囲を適切に設定すること
ができる。従って、ラインセンサ1の特性に製品間での
ばらつきがあったとしても、実際に装着されたラインセ
ンサ1の特性に応じて適切にA/Dコンバータ91の入
力範囲を設定することができ、常に最適な2値化処理を
行なうことができる。
As described above, according to the present embodiment, the binarizing circuit 9 can arbitrarily change the input range of the A / D converter 91 according to the set values of the D / A converters 92 and 93. , According to the characteristics of the line sensor 1,
The input range of the A / D converter 91 can be set appropriately. Therefore, even if the characteristics of the line sensor 1 vary from product to product, the input range of the A / D converter 91 can be appropriately set according to the characteristics of the line sensor 1 actually mounted. Optimal binarization processing can be performed.

【0031】また本実施形態によれば、黒基準信号のレ
ベルおよび白基準信号のレベルをそれぞれ検出し、黒基
準信号のレベルに基づいてロウリファレンスVREF- を、
また白基準信号のレベルに基づいてハイリファレンスVR
EF+ をそれぞれ自動的に決定するので、ユーザや保守者
の手間が増加することはなく、かつ設定ミスが生じるこ
とも防止できる。
According to this embodiment, the level of the black reference signal and the level of the white reference signal are detected, and the row reference VREF- is determined based on the level of the black reference signal.
High reference VR based on the level of the white reference signal
Since each EF + is automatically determined, the trouble of the user and the maintenance person does not increase, and the setting error can be prevented.

【0032】また本実施形態によれば、読取動作を行な
う必要が生じる毎に、ロウリファレンスVREF- およびハ
イリファレンスVREF+ の設定、すなわちA/Dコンバー
タ91の入力範囲の設定を準備動作として行なっている
ので、ラインセンサ1の特性が周囲温度などの影響で変
動する場合でも、常に現状に即して適切にA/Dコンバ
ータ91の入力範囲を設定することができ、常に最適な
2値化処理を行なうことができる。
According to the present embodiment, every time a reading operation is required, the setting of the low reference VREF- and the high reference VREF +, that is, the setting of the input range of the A / D converter 91 is performed as a preparatory operation. Therefore, even when the characteristics of the line sensor 1 fluctuate due to the influence of the ambient temperature or the like, the input range of the A / D converter 91 can always be appropriately set in accordance with the current situation, and the optimum binarization processing is always performed. Can do it.

【0033】なお本発明は前記実施形態に限定されるも
のではない。例えば前記実施形態では、画像読取装置と
しての実施形態を説明しているが、2値化回路9を独立
させ、任意のアナログ信号の2値化を行なうのに用いる
ようにしても良い。
The present invention is not limited to the above embodiment. For example, in the above-described embodiment, the embodiment as an image reading apparatus is described. However, the binarization circuit 9 may be made independent and used to binarize an arbitrary analog signal.

【0034】また前記実施形態では、ロウリファレンス
およびハイリファレンスを、イメージセンサ1が出力す
る黒基準信号および白基準信号に基づいて自動的に設定
するものとしているが、例えばスイッチによる設定や数
値入力を受け付け、それにより指定されたレベルにロウ
リファレンスおよびハイリファレンスを設定するように
することで手動設定を可能としても良い。
In the above-described embodiment, the low reference and the high reference are automatically set based on the black reference signal and the white reference signal output from the image sensor 1. The manual setting may be enabled by accepting and setting the low reference and the high reference to the level specified by the reception.

【0035】また前記実施形態では、読取動作を開始す
る毎にロウリファレンスおよびハイリファレンスを自動
設定を行なっているが、このロウリファレンスおよびハ
イリファレンスの自動設定は、例えば一定周期で定期的
に行なったり、あるいはユーザや保守者からの実行指示
に応じて行なうようにする等、任意のタイミングで行な
うようにして良い。
In the above-described embodiment, the row reference and the high reference are automatically set each time the reading operation is started. However, the automatic setting of the row reference and the high reference is performed, for example, periodically at a constant period. Alternatively, it may be performed at an arbitrary timing, such as in response to an execution instruction from a user or a maintenance person.

【0036】このほか、本発明の要旨を逸脱しない範囲
で種々の変形実施が可能である。
In addition, various modifications can be made without departing from the gist of the present invention.

【0037】[0037]

【発明の効果】本発明は、入力されるアナログ信号を例
えばA/Dコンバータなどの2値化手段により所定のロ
ウレベルリファレンス電圧以上、所定のハイレベルリフ
ァレンス電圧以下の範囲で取り込んで2値化するように
し、かつ前記ロウレベルリファレンス電圧は外部から指
定されるロウリファレンス設定値に応じて例えばD/A
コンバータなどのロウレベルリファレンス電圧発生手段
が可変的に発生し、また前記ハイレベルリファレンス電
圧は外部から指定されるハイリファレンス設定値に応じ
て例えばD/Aコンバータなどのハイレベルリファレン
ス電圧発生手段が可変的に発生するようにしたので、2
値化手段の入力範囲をアナログ信号の実際の状態に応じ
た適切な値に容易に設定することが可能な2値化回路と
なる。
According to the present invention, an analog signal to be input is fetched and binarized by a binarizing means such as an A / D converter in a range from a predetermined low-level reference voltage to a predetermined high-level reference voltage. And the low-level reference voltage is, for example, D / A according to a row reference set value specified externally.
A low-level reference voltage generating means such as a converter is variably generated, and the high-level reference voltage is variably generated by a high-level reference voltage generating means such as a D / A converter in accordance with a high reference set value specified from the outside. So that 2
A binarization circuit that can easily set the input range of the value conversion means to an appropriate value according to the actual state of the analog signal.

【0038】また本発明は、イメージセンサによって原
稿からの反射光を光電変換して生成した前記反射光の光
量に応じたレベルを有したアナログ信号を、例えばA/
Dコンバータなどの2値化手段により所定のロウレベル
リファレンス電圧以上、所定のハイレベルリファレンス
電圧以下の範囲で取り込んで2値化するようにし、かつ
前記ロウレベルリファレンス電圧は、前記イメージセン
サが出力する所定の黒基準信号に基づいてロウリファレ
ンス決定手段により決定したロウリファレンス設定値に
応じて例えばD/Aコンバータなどのロウレベルリファ
レンス電圧発生手段が可変的に発生し、また前記ハイレ
ベルリファレンス電圧は、前記イメージセンサが出力す
る所定の白基準信号に基づいてハイリファレンス決定手
段により決定したハイリファレンス設定値に応じて例え
ばD/Aコンバータなどのハイレベルリファレンス電圧
発生手段が可変的に発生するようにしたので、2値化手
段の入力範囲をイメージセンサが出力するアナログ信号
の実際の状態に応じた適切な値に自動的に設定すること
が可能な画像読取装置となる。
Further, according to the present invention, an analog signal having a level corresponding to the amount of the reflected light generated by photoelectrically converting the reflected light from the original by an image sensor is converted into, for example, an A / A signal.
Binarization means such as a D-converter takes in a range from a predetermined low-level reference voltage or higher to a predetermined high-level reference voltage or lower and binarizes, and the low-level reference voltage is a predetermined level output from the image sensor. A low-level reference voltage generator such as a D / A converter is variably generated according to a row reference set value determined by the row reference determiner based on the black reference signal, and the high-level reference voltage is controlled by the image sensor. The high-level reference voltage generating means such as a D / A converter is variably generated according to the high reference setting value determined by the high reference determining means based on a predetermined white reference signal output by Set the input range of the Jisensa automatically becomes possible image reading apparatus to be set to an appropriate value corresponding to the actual state of the analog signal to be output.

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

【図1】本発明の一実施形態に係る画像読取装置の要部
構成を示す図。
FIG. 1 is a diagram showing a main configuration of an image reading apparatus according to an embodiment of the present invention.

【図2】図1中の制御部11の処理手順を示すフローチ
ャート。
FIG. 2 is a flowchart showing a processing procedure of a control unit 11 in FIG.

【図3】アナログ画像信号の状態に対するロウリファレ
ンスVREF- およびハイリファレンスVREF+ の設定状態の
例を示す図。
FIG. 3 is a diagram showing an example of a setting state of a low reference VREF- and a high reference VREF + with respect to the state of an analog image signal.

【図4】従来の画像読取装置の要部構成を示す図。FIG. 4 is a diagram illustrating a main configuration of a conventional image reading apparatus.

【図5】図4中のA/Dコンバータ3の入力範囲と入力
信号との関係を示す図。
FIG. 5 is a diagram showing a relationship between an input range and an input signal of the A / D converter 3 in FIG. 4;

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

1…ラインセンサ 2…増幅器 5…原稿搬送機構部 6…光源 7…光源駆動部 8…センサ駆動部 9…2値化回路 91…A/Dコンバータ 92,93…D/Aコンバータ 10…信号レベル検出部 11…制御部 11a…ロウリファレンス決定手段 11b…ハイリファレンス決定手段 DESCRIPTION OF SYMBOLS 1 ... Line sensor 2 ... Amplifier 5 ... Document conveyance mechanism part 6 ... Light source 7 ... Light source drive part 8 ... Sensor drive part 9 ... Binarization circuit 91 ... A / D converter 92, 93 ... D / A converter 10 ... Signal level Detector 11 ... Controller 11a ... Low reference determining means 11b ... High reference determining means

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 入力されるアナログ信号を所定のロウレ
ベルリファレンス電圧以上、所定のハイレベルリファレ
ンス電圧以下の範囲で取り込んで2値化する2値化手段
と、 外部から指定されるロウリファレンス設定値に応じて可
変的に前記ロウレベルリファレンス電圧を発生するロウ
レベルリファレンス電圧発生手段と、 外部から指定されるハイリファレンス設定値に応じて可
変的に前記ハイレベルリファレンス電圧を発生するハイ
レベルリファレンス電圧発生手段とを具備したことを特
徴とする2値化回路。
1. A binarizing means for receiving an input analog signal in a range from a predetermined low-level reference voltage to a predetermined high-level reference voltage and converting the analog signal into a binary value, Low-level reference voltage generating means for variably generating the low-level reference voltage in response to the high-level reference voltage, and high-level reference voltage generating means for variably generating the high-level reference voltage in response to a high-reference set value specified externally. A binarization circuit, comprising:
【請求項2】 原稿からの反射光を光電変換して前記反
射光の光量に応じたレベルを有したアナログ信号を生成
するイメージセンサと、 このイメージセンサが生成するアナログ信号を所定のロ
ウレベルリファレンス電圧以上、所定のハイレベルリフ
ァレンス電圧以下の範囲で取り込んで2値化する2値化
手段と、 外部から指定されるロウリファレンス設定値に応じて可
変的に前記ロウレベルリファレンス電圧を発生するロウ
レベルリファレンス電圧発生手段と、 外部から指定されるハイリファレンス設定値に応じて可
変的に前記ハイレベルリファレンス電圧を発生するハイ
レベルリファレンス電圧発生手段と、 前記イメージセンサが出力する所定の黒基準信号に基づ
いて前記ロウリファレンス設定値を決定し、前記ロウレ
ベルリファレンス電圧発生手段へと指定するロウリファ
レンス決定手段と、 前記イメージセンサが出力する所定の白基準信号に基づ
いて前記ハイリファレンス設定値を決定し、前記ハイレ
ベルリファレンス電圧発生手段へと指定するハイリファ
レンス決定手段とを具備したことを特徴とする画像読取
装置。
2. An image sensor for photoelectrically converting reflected light from a document to generate an analog signal having a level corresponding to the amount of the reflected light, and converting the analog signal generated by the image sensor into a predetermined low-level reference voltage. As described above, binarization means for taking in and binarizing within a range of a predetermined high-level reference voltage or less, and low-level reference voltage generation for variably generating the low-level reference voltage according to a row reference set value specified from the outside Means, high-level reference voltage generating means for variably generating the high-level reference voltage according to a high-reference set value specified from the outside, and the low-level reference voltage based on a predetermined black reference signal output from the image sensor. Determine the reference setting value, and A low reference determining means for specifying to the pressure generating means; and a high reference determining means for determining the high reference setting value based on a predetermined white reference signal output from the image sensor and specifying to the high level reference voltage generating means. And an image reading device.
【請求項3】 ロウリファレンス決定手段およびハイリ
ファレンス決定手段は、原稿読取を開始する前の準備動
作として、ロウリファレンス設定値およびハイリファレ
ンス設定値の決定および指定を行なうことを特徴とする
請求項2に記載の画像読取装置。
3. The low reference determining means and the high reference determining means determine and designate a low reference setting value and a high reference setting value as a preparatory operation before starting document reading. The image reading device according to claim 1.
JP8177670A 1996-07-08 1996-07-08 Binarization circuit and image reader Pending JPH1023257A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8177670A JPH1023257A (en) 1996-07-08 1996-07-08 Binarization circuit and image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8177670A JPH1023257A (en) 1996-07-08 1996-07-08 Binarization circuit and image reader

Publications (1)

Publication Number Publication Date
JPH1023257A true JPH1023257A (en) 1998-01-23

Family

ID=16035062

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8177670A Pending JPH1023257A (en) 1996-07-08 1996-07-08 Binarization circuit and image reader

Country Status (1)

Country Link
JP (1) JPH1023257A (en)

Similar Documents

Publication Publication Date Title
US5406062A (en) Sensitivity adjustment circuit for bar code scanner and method therefor
US20060291010A1 (en) Scanning speed control device and method
US4745488A (en) Image reader
US8854704B2 (en) Image reading apparatus and image forming apparatus
JPH11266363A (en) Pre-processing unit for image data
US5014332A (en) Image reader
JPH1023257A (en) Binarization circuit and image reader
US6181444B1 (en) Image reading apparatus and information storing medium used therefor
US7433093B2 (en) Method and apparatus for increasing signal to noise ratio
US6144680A (en) Laser driving apparatus and image forming apparatus using the same
JP3262609B2 (en) Image reading device
JPH1013670A (en) Image reader
JP2752551B2 (en) Barcode scanner sensitivity adjustment circuit
JPH11331481A (en) Image reader
JPH04292064A (en) Picture reader
JPS61193274A (en) Bar code reader
JP2000115479A (en) Image reader, its control method and storage medium
RU2154916C2 (en) Method and device for image data scanning in image processing system
JPS6339141B2 (en)
JPH0560610A (en) Photoelectric detector
JP2002247300A (en) Image reader
JPS6278973A (en) Image reader
JP2935387B2 (en) Image reading device
JP2000069237A (en) Control method for image reader
JP2000278482A (en) Image reader

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050705

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050719

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050920

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20051018