JPH0591319A - Black level adjustment circuit - Google Patents
Black level adjustment circuitInfo
- Publication number
- JPH0591319A JPH0591319A JP3273621A JP27362191A JPH0591319A JP H0591319 A JPH0591319 A JP H0591319A JP 3273621 A JP3273621 A JP 3273621A JP 27362191 A JP27362191 A JP 27362191A JP H0591319 A JPH0591319 A JP H0591319A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- output
- converter
- dark signal
- dark
- 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
Links
Landscapes
- Image Input (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
(57)【要約】 (修正有)
【目的】 黒レベルの調整が自動的に、かつ簡単に精度
良く行える黒レベル調整回路を得る。
【構成】 A/D変換器から出力されたデジタル画像信
号を暗時信号判定手段21において暗時信号用比較値と
比較して、暗時信号レベル判定信号を出力する。次に、
暗時信号調整手段22において暗時信号レベル判定信号
からレベル調整信号を生成して、前記A/D変換器にフ
イードバックし自動的に黒レベルを調整する。
(57) [Summary] (Correction) [Purpose] To obtain a black level adjustment circuit that can automatically and easily and accurately adjust the black level. A digital image signal output from an A / D converter is compared with a dark signal comparison value in a dark signal determination means 21 to output a dark signal level determination signal. next,
The dark signal adjusting means 22 generates a level adjustment signal from the dark signal level determination signal and feeds it back to the A / D converter to automatically adjust the black level.
Description
【0001】[0001]
【産業上の利用分野】この発明は、アナログ画像情報に
おける暗時信号を調整するための黒レベル調整回路に係
わり、例えば画像読取装置であるイメージスキャナにて
読み取られた画像情報に対する黒レベル調整回路に関す
るものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a black level adjusting circuit for adjusting a dark signal in analog image information, and for example, a black level adjusting circuit for image information read by an image scanner which is an image reading device. It is about.
【0002】[0002]
【従来の技術】イメージスキャナとしてCCDイメージ
センサを用いた場合、CCDイメージセンサの出力は暗
時出力電圧の部分から出力され、この出力がアナログ画
像情報として得られるため、信号処理として黒レベル調
整を必要とするものである。この黒レベル調整の例とし
て従来、図5に示すようなものが知られている。図5に
おいて、1は例えばCCDイメージセンサなどからなる
イメージセンサで、読取用光源により照射された原稿の
画像情報を電気信号に変換してアナログ画像情報として
出力するものである。2はこのイメージセンサからのア
ナログ画像情報を受けて、アナログ画像情報の全画素ご
との信号をサンプル/ホールドする全画素サンプル/ホ
ールド回路、3は上記イメージセンサ1からのアナログ
画像情報を受けて、アナログ画像情報の暗時信号をサン
プル/ホールドする暗時信号サンプル/ホールドであ
る。2. Description of the Related Art When a CCD image sensor is used as an image scanner, the output of the CCD image sensor is output from the dark output voltage portion, and this output is obtained as analog image information. Therefore, black level adjustment is performed as signal processing. Is what you need. As an example of this black level adjustment, the one shown in FIG. 5 is conventionally known. In FIG. 5, reference numeral 1 denotes an image sensor such as a CCD image sensor, which converts the image information of the document illuminated by the reading light source into an electric signal and outputs it as analog image information. 2 is an all-pixel sample / hold circuit that receives analog image information from the image sensor and samples / holds a signal for every pixel of the analog image information. 3 receives analog image information from the image sensor 1. A dark signal sample / hold for sampling / holding a dark signal of analog image information.
【0003】4はこれら全画素及び暗時信号サンプル/
ホールド2及び3からのサンプル/ホールド電位を受け
て、両サンプル/ホールド電位間の電位差を増幅する差
動増幅器で、黒レベルを補正するものである。5はこの
差動増幅器のオフセットを調整するための可変抵抗器、
6は上記差動増幅器4からの出力を受けて、アナログ/
デジタル変換するA/D変換器で、基準ハイレベル電圧
として白基準電圧が、基準ローレベル電圧として接地電
圧が入力されているものである。なお、上記全画素及び
暗時信号サンプル/ホールド回路2及び3並びに差動増
幅器4によって構成される回路が、「東芝集積回路技術
資料CCDイメージセンサ(リニアセンサ編)」(発
行:株式会社東芝、発行年:1989年)の54頁にお
ける図6−18に瞬時出力補償回路として示されている
ものである。Reference numeral 4 designates all of these pixels and dark signal samples /
A differential amplifier that receives the sample / hold potentials from the holds 2 and 3 and amplifies the potential difference between the sample / hold potentials is for correcting the black level. 5 is a variable resistor for adjusting the offset of this differential amplifier,
6 receives the output from the differential amplifier 4 and outputs analog /
An A / D converter for digital conversion, in which a white reference voltage is input as a reference high level voltage and a ground voltage is input as a reference low level voltage. The circuit composed of all the pixels and the dark signal sample / hold circuits 2 and 3 and the differential amplifier 4 is described in "Toshiba integrated circuit technical data CCD image sensor (linear sensor)" (published by Toshiba Corporation. It is shown as an instantaneous output compensation circuit in FIGS. 6-18 on page 54 of the publication year: 1989).
【0004】次にこのように構成された回路の動作につ
いて説明する。まず、イメージセンサ1によって読取光
源により照射された原稿に記載あるいは表示された画像
情報を電気信号に変換する。このイメージセンサ1にて
電気信号に変換されたアナログ画像情報における読取信
号は全画素サンプル/ホールド回路2にて全画素につい
てサンプル/ホールドされるとともに、アナログ画像情
報における暗時信号は暗時信号サンプル/ホールド回路
3にてサンプル/ホールドされる。Next, the operation of the circuit thus configured will be described. First, the image information written or displayed on the document illuminated by the reading light source by the image sensor 1 is converted into an electric signal. The read signal in the analog image information converted into an electric signal by the image sensor 1 is sampled / held for all pixels by the all-pixel sample / hold circuit 2, and the dark signal in the analog image information is a dark signal sample. / Hold circuit 3 samples / holds.
【0005】これら全画素及び暗時信号サンプル/ホー
ルド回路2及び3にサンプル/ホールドされた電位は、
差動増幅器4にて差動増幅されることによってアナログ
画像情報の黒レベルが補正されて出力されることにな
る。つまり、イメージセンサ1からのアナログ画像情報
の黒レベル調整は、アナログ画像情報の暗時信号を補正
することによって行われるものである。このようにして
黒レベルが調整された差動増幅器4からのアナログ情報
は、A/D変換器6にてデジタル変換されて黒レベルが
調整されたデジタル画像情報として出力されることにな
るものである。The potentials sampled / held in all the pixels and the dark signal sample / hold circuits 2 and 3 are
By being differentially amplified by the differential amplifier 4, the black level of the analog image information is corrected and output. That is, the black level adjustment of the analog image information from the image sensor 1 is performed by correcting the dark signal of the analog image information. The analog information from the differential amplifier 4 whose black level has been adjusted in this way is digitally converted by the A / D converter 6 and output as digital image information whose black level has been adjusted. is there.
【0006】一方、全画素及び暗時信号サンプル/ホー
ルド2及び3におけるサンプル/ホールドの誤差や差動
増幅器4のオフセット誤差によってA/D変換器6から
のデジタル画像情報に誤差が生じることがあり、この誤
差をなくすため、可変抵抗器5を手動にて調整している
ものである。つまり、可変抵抗器5を手動で調整するこ
とにより黒レベル調整を行っているものである。On the other hand, an error may occur in the digital image information from the A / D converter 6 due to a sample / hold error in all pixels and dark signal sample / holds 2 and 3 and an offset error in the differential amplifier 4. In order to eliminate this error, the variable resistor 5 is manually adjusted. That is, the black level is adjusted by manually adjusting the variable resistor 5.
【0007】なお、A/D変換器のレベル調整方法とし
て、例えば、特開平1−298871号公報に、入力信
号レベルが基準ハイレベル電圧以上となることによって
発生するオーバーフロー信号によって新たな基準ハイレ
ベル電圧を作成し、この新たな基準ハイレベル電圧に基
づいて新たな基準ローレベル電圧を作成し、これら新た
な基準ハイレベル電圧及び基準ローレベル電圧をA/D
変換器に供給するものが示されている。As a level adjusting method of the A / D converter, for example, in Japanese Patent Laid-Open No. 1-298871, a new reference high level is generated by an overflow signal generated when the input signal level becomes higher than the reference high level voltage. A voltage is created, a new reference low level voltage is created based on this new reference high level voltage, and these new reference high level voltage and reference low level voltage are A / D.
What feeds the converter is shown.
【0008】[0008]
【発明が解決しようとする課題】しかるに、図5に示し
た従来例のものにあっては、手動によって可変抵抗器5
の抵抗値を調整することによって差動増幅器4のオフセ
ット値を変えることにより、黒レベルの調整を行ってい
るものであり、調整が困難であるとともに、煩わしく、
調整時のコスト高を引き起こし、ひいては装置としての
コスト高になるという問題点を有しているものであっ
た。However, in the conventional example shown in FIG. 5, the variable resistor 5 is manually operated.
The black level is adjusted by changing the offset value of the differential amplifier 4 by adjusting the resistance value of 1., which is difficult and troublesome.
There is a problem in that the cost at the time of adjustment is increased, which in turn increases the cost of the device.
【0009】この発明は、上記した点に鑑みてなされた
ものであり、黒レベルの調整が自動的に、かつ簡単に精
度良く行える黒レベル調整回路を得ることを目的とする
ものである。The present invention has been made in view of the above points, and an object of the present invention is to obtain a black level adjusting circuit capable of automatically and easily and accurately adjusting a black level.
【0010】[0010]
【課題を解決するための手段】この発明に係わる黒レベ
ル調整回路は、アナログ画像情報をアナログ/デジタル
変換するA/D変換器からのデジタル情報が入力され、
この入力されたデジタル情報を暗時信号用比較値と比較
して暗時信号レベル判定信号を出力する暗時信号判定手
段と、この暗時信号判定手段からの暗時信号レベル判定
信号が入力され、A/D変換器における暗時信号に対す
るレベルを調整するレベル調整信号を出力する暗時信号
調整手段とを設けたものである。A black level adjusting circuit according to the present invention receives digital information from an A / D converter for analog / digital converting analog image information,
The dark signal determining means for comparing the input digital information with the dark signal comparison value and outputting the dark signal level determining signal, and the dark signal level determining signal from the dark signal determining means are input. , And a dark signal adjusting means for outputting a level adjustment signal for adjusting the level of the dark signal in the A / D converter.
【0011】[0011]
【作用】この発明にあっては、暗時信号判定手段が、A
/D変換器からのデジタル情報と暗時信号比較値とを比
較し、暗時信号レベル判定信号を暗時信号調整手段に出
力して暗時信号調整手段からA/D変換器における暗時
信号に対するレベルを調整せしめる。In the present invention, the dark signal determining means is A
The digital information from the A / D converter is compared with the dark signal comparison value, and the dark signal level determination signal is output to the dark signal adjusting means so that the dark signal adjusting means outputs the dark signal in the A / D converter. Adjust the level for.
【0012】[0012]
【実施例】実施例1.以下に、この発明の実施例1を図
1ないし図3に基づいて説明する。図1は黒レベル調整
回路を含む画像読取装置を示す構成図であり、図1にお
いて、11は例えばCCDイメージセンサなどからなる
イメージセンサで、読取用光源により照射された原稿の
画像情報を電気信号に変換してアナログ画像情報として
出力するものである。12はこのイメージセンサからの
アナログ画像情報が入力され、この入力されたアナログ
画像情報をアナログ/デジタル変換してデジタル画像情
報として出力するA/D変換器で、基準ハイレベル電圧
端子R(+)に白基準電圧となる一定電圧が直流電源1
4によって入力されるとともに、基準ローレベル電圧端
子R(−)を有し、この実施例1においては8ビットの
デジタル画像情報を出力しているものである。EXAMPLES Example 1. A first embodiment of the present invention will be described below with reference to FIGS. FIG. 1 is a block diagram showing an image reading apparatus including a black level adjusting circuit. In FIG. 1, 11 is an image sensor including, for example, a CCD image sensor or the like, and an image signal of an original document illuminated by a reading light source is converted into an electric signal. And output as analog image information. Reference numeral 12 is an A / D converter to which analog image information from this image sensor is input and which converts the input analog image information into analog / digital and outputs as digital image information, which is a reference high-level voltage terminal R (+). DC power supply 1 is a constant voltage that becomes the white reference voltage
4 and has a reference low level voltage terminal R (-), and outputs 8-bit digital image information in the first embodiment.
【0013】13はこのA/D変換器の出力端Oに入力
端13aが接続されるとともに出力端13bが上記A/
D変換器12の基準ローレベル電圧端子R(−)に接続
された黒レベル調整回路で、上記A/D変換器12から
のデジタル情報を暗時信号用比較値と比較して暗時信号
レベル判定信号を出力する暗時信号判定手段21と、こ
の暗時信号判定手段21からの暗時信号レベル判定信号
が入力され、上記A/D変換器12における暗時信号に
対するレベルを調整するレベル調整信号を上記A/D変
換器12に出力する暗時信号調整手段とを備えたもので
ある。An input terminal 13a is connected to an output terminal O of this A / D converter 13, and an output terminal 13b is connected to the A / D converter.
A black level adjusting circuit connected to the reference low level voltage terminal R (-) of the D converter 12 compares the digital information from the A / D converter 12 with a dark signal comparison value to obtain a dark signal level. A dark signal determination means 21 for outputting a determination signal, and a dark signal level determination signal from the dark signal determination means 21 are input to adjust the level of the dark signal in the A / D converter 12. And a dark signal adjusting means for outputting a signal to the A / D converter 12.
【0014】図2はこの黒レベル調整回路13のブロッ
ク図を示すものであり、図2において210aは上記入
力端13aに接続される信号入力端Pと暗時信号用比較
値である黒レベルの最小値Qmが入力される比較値入力
端Qmと比較結果を出力する出力端αとを有し、信号入
力端Pに入力されるデジタル情報が比較値入力端Qmに
入力される最小値Qmより小さいと出力端αに“1”と
なるパルスを出力する最小値側比較手段で、この実施例
1のものにあっては、8ビットコンパレータを用いてい
るものであり、最小値Qmも8ビットからなるデジタル
信号になっているものである。FIG. 2 is a block diagram of the black level adjusting circuit 13. In FIG. 2, 210a indicates a signal input terminal P connected to the input terminal 13a and a black level which is a comparison value for dark signal. It has a comparison value input end Q m to which the minimum value Q m is input and an output end α to output the comparison result, and the digital information input to the signal input end P is the minimum input to the comparison value input end Q m. When the value is smaller than the value Q m , it is a minimum value side comparing means for outputting a pulse that becomes “1” at the output terminal α. In the first embodiment, an 8-bit comparator is used, and the minimum value is Q m is also a digital signal composed of 8 bits.
【0015】210bは上記入力端13aに接続される
信号入力端Pと暗時信号用比較値である黒レベルの最大
値QMが入力される比較値入力端QMと比較結果を出力す
る出力端βとを有し、信号入力端Pに入力されるデジタ
ル情報が比較値入力端QMに入力される最大値QMより大
きいと出力端βに“1”となるパルスを出力する最大値
側比較手段で、この実施例1のものにあっては、8ビッ
トコンパレータを用いているものであり、最大値QMも
8ビットからなるデジタル信号になっているものであ
る。211はこれら最小値側及び最大値側比較手段21
0a及び210bからの出力が入力されるORゲートか
らなる第1の論理手段で、上記最小値側及び最大値側比
較手段210a及び210bからのどちらか一方の出力
が“1”であるときに“1”を出力するものである。[0015] 210b outputs a comparison result with the comparison value input Q M to the maximum value Q M of the black level is a signal input terminal P and the dark signal for comparison value which is connected to the input terminal 13a is input output And a maximum value for outputting a pulse of "1" to the output terminal β when the digital information input to the signal input terminal P is larger than the maximum value Q M input to the comparison value input terminal Q M. In the side comparing means of the first embodiment, an 8-bit comparator is used, and the maximum value Q M is also a digital signal consisting of 8 bits. Reference numeral 211 denotes these minimum value side and maximum value side comparing means 21.
The first logic means is composed of an OR gate to which the outputs from 0a and 210b are inputted, and when either one of the outputs from the minimum value side and maximum value side comparison means 210a and 210b is "1", "" 1 "is output.
【0016】212はこの第1の論理手段からの出力と
黒補正タイミング信号BRとが入力されるANDゲート
からなる第2の論理手段で、黒補正タイミング信号BR
が“1”であるときに上記第1の論理手段211からの
出力に応じた信号、つまり、暗時信号レベル判定信号を
出力するものであり、黒補正タイミング信号BRが
“0”であるときは上記第1の論理手段211からの出
力にかかわらず“0”を出力するものである。そして、
これら最小値側及び最大値側比較手段210a及び21
0bと第1及び第2の論理手段211及び212とで暗
時信号判定手段21を構成しているものである。Reference numeral 212 is a second logic means composed of an AND gate to which the output from the first logic means and the black correction timing signal BR are inputted, and the black correction timing signal BR.
Is a signal corresponding to the output from the first logic means 211, that is, a dark signal level determination signal when the black correction timing signal BR is "0". Outputs "0" regardless of the output from the first logic means 211. And
These minimum value side and maximum value side comparing means 210a and 21
0b and the first and second logic means 211 and 212 constitute the dark-time signal determination means 21.
【0017】221は上記第2の論理手段212からの
出力が入力されるカウントイネーブル端子ENと、上記
最大値側比較手段210bからの出力が入力されるカウ
ント方向制御端子U/Dと、クロック信号CKが入力さ
れるクロック入力端子CKと、カウント出力を出力する
カウント出力端子OUTとを有しているカウンタ手段
で、この実施例1のものにあっては上記最小値側比較手
段210aから“1”が出力されるときはダウンカウン
タとして機能し、上記最大値比較手段210bから
“1”が出力されるときはアップカウンタとして機能す
る8ビットアップダウンカウンタである。Reference numeral 221 denotes a count enable terminal EN to which the output from the second logic means 212 is input, a count direction control terminal U / D to which an output from the maximum value side comparison means 210b is input, and a clock signal. Counter means having a clock input terminal CK to which CK is input and a count output terminal OUT for outputting a count output. In the first embodiment, the minimum value side comparing means 210a outputs "1". It is an 8-bit up / down counter that functions as a down counter when "" is output, and as an up counter when "1" is output from the maximum value comparing means 210b.
【0018】222はこのカウンタ手段からの出力が入
力され、この出力をアナログ信号に変換し、レベル調整
信号として上記A/D変換器12の基準ローレベル電圧
端子R(−)に与えるデジタル/アナログ変換器であ
る。そして、これらカウンタ手段221とデジタル/ア
ナログ変換器222によって暗時信号調整手段22を構
成しているものである。The output from the counter means is input to 222, which converts the output into an analog signal and gives it as a level adjustment signal to the reference low level voltage terminal R (-) of the A / D converter 12 which is a digital / analog. It is a converter. The counter means 221 and the digital / analog converter 222 constitute the dark time signal adjusting means 22.
【0019】次に、このように構成された回路の動作に
ついて主として図3に示したタイミングチャートに基づ
いて説明する。まず、イメージセンサ1によって読取光
源により照射された原稿に記載あるいは表示された画像
情報を電気信号に変換する。このイメージセンサ1にて
電気信号に変換されたアナログ画像情報を図3の(c)
にVAとして示している。このアナログ画像情報VAがA
/D変換器12にて量子化、つまり、アナログ/デジタ
ル変換されて図3の(b)に示すデジタル情報VINが出
力される。このデジタル情報VINは暗時信号判定手段2
1に入力されて暗時信号用比較値と比較される。この暗
時信号比較値は、A/D変換器12の基準ローレベル電
圧値が最適となるように設定された最小値Qmと最大値
QMとなっている。Next, the operation of the circuit thus constructed will be described mainly based on the timing chart shown in FIG. First, the image information written or displayed on the document illuminated by the reading light source by the image sensor 1 is converted into an electric signal. The analog image information converted into an electric signal by the image sensor 1 is shown in FIG.
As V A. This analog image information V A is A
The / D converter 12 quantizes, that is, performs analog / digital conversion, and outputs digital information V IN shown in FIG. 3B. This digital information V IN is used as the dark signal determining means 2
It is input to 1 and compared with the dark signal comparison value. The dark signal comparison value has a minimum value Q m and a maximum value Q M set so that the reference low-level voltage value of the A / D converter 12 is optimal.
【0020】上記デジタル情報VINは最小値側及び最大
値側比較手段210a及び210bによってそれぞれ最
小値Qmと最大値QMに比較される。図3における読み取
り周期T1において、図3の(b)に示すようにデジタ
ル情報VINが最小値Qm以下になる場合(図示I及びII
にて示してタイミング)があると、最小値側比較手段2
10aの出力端αに図3の(d)に示すように“1”に
なるパルスが出力される。この時、デジタル情報VINは
最大値QM以下であるので、図3の(e)に示すように
最大値比較手段210bからはパルスは出力されず、
“0”の出力になっている。The digital information V IN is compared with the minimum value Q m and the maximum value Q M by the minimum value side and maximum value side comparing means 210a and 210b, respectively. In the reading cycle T 1 in FIG. 3, when the digital information V IN becomes the minimum value Q m or less as shown in FIG.
, The minimum value side comparison means 2
A pulse that becomes "1" is output to the output terminal α of 10a as shown in FIG. At this time, since the digital information V IN is less than or equal to the maximum value Q M , no pulse is output from the maximum value comparison means 210b as shown in (e) of FIG.
The output is "0".
【0021】読み取り周期T1のタイミングIにおい
て、最小値側比較手段210aから“1”なるパルスが
出力されると、第1の論理手段211から“1”が出力
される。今、黒レベル調整期間であり、図3の(a)に
示すように黒補正タイミング信号BRが“1”になって
いるので、第2の論理手段212からも“1”なるパル
スが出力される。カウンタ手段221は最大値側比較手
段210bから“1”なるパルスが出力されていないの
でダウンカウンタとして機能し、第2の論理手段212
から“1”なるパルスによって活性化され、入力された
クロック信号CKにもとづいてカウントダウンされたカ
ウント出力を出力することになる。At timing I of the reading cycle T 1 , when the minimum value side comparing means 210a outputs a pulse of "1", the first logic means 211 outputs "1". Now, in the black level adjustment period, and the black correction timing signal BR is "1" as shown in FIG. 3A, the second logic means 212 also outputs a pulse of "1". It The counter means 221 functions as a down counter because the pulse "1" is not output from the maximum value side comparison means 210b, and the second logic means 212.
Is activated by the pulse from 1 to “1”, and the count output is counted down based on the input clock signal CK.
【0022】カウンタ手段221からのカウント出力を
受けたD/A変換器222は、このカウント出力をアナ
ログ信号に変換し、A/D変換器12の基準ローレベル
電圧端子R(−)に基準ローレベル電圧値VREFを図3
の(c)にて示すように下げるようにして調整する。ま
た、読み取り周期T1のタイミングIIにおいても、上記
したタイミングIと同様に最小値側比較手段210aか
ら“1”なるパルスが出力されるので、同様に動作して
A/D変換器12の基準ローレベル電圧端子R(−)に
基準ローレベル電圧値VREFを図3の(c)にて示すよ
うに下げるようにして調整する。The D / A converter 222 receiving the count output from the counter means 221 converts this count output into an analog signal, and the reference low level voltage terminal R (-) of the A / D converter 12 receives the reference low level voltage. Figure 3 shows the level voltage value V REF
Adjust by lowering as shown in (c). Also, at the timing II of the reading cycle T 1, the pulse "1" is output from the minimum value side comparing means 210a as in the timing I described above, and thus the same operation is performed and the reference of the A / D converter 12 is obtained. The low level voltage terminal R (-) is adjusted by lowering the reference low level voltage value V REF as shown in FIG. 3 (c).
【0023】次に、読み取り周期T2のタイミングIIIに
おいては、読み取り周期T1のタイミングIにて最小値
側比較手段210aから“1”なるパルスが出力されて
いたものの、基準ローレベル電圧端子R(−)における
基準ローレベル電圧値VREFが調整されているため、最
小値側比較手段210aから“1”なるパルスが出力さ
れず、基準ローレベル電圧値VREFが調整されない。ま
た、読み取り周期T2のタイミングIVにおいては、上記
したタイミングIIと同様に最小値側比較手段210aか
ら“1”なるパルスが出力されるので、上記タイミング
Iで説明したと同様に動作してA/D変換器12の基準
ローレベル電圧端子R(−)に基準ローレベル電圧値V
REFを図3の(c)にて示すように下げるようにして調
整する。Next, at the timing III of the reading cycle T 2 , although the pulse "1" was output from the minimum value side comparing means 210a at the timing I of the reading cycle T 1 , the reference low level voltage terminal R Since the reference low level voltage value V REF in (-) is adjusted, the minimum value side comparison means 210a does not output a pulse of "1", and the reference low level voltage value V REF is not adjusted. Further, at the timing IV of the reading cycle T 2, a pulse "1" is output from the minimum value side comparing means 210a as in the timing II described above, and therefore the same operation as described in the timing I above is performed. The reference low level voltage value V is applied to the reference low level voltage terminal R (-) of the / D converter 12.
Adjust REF so that it is lowered as shown in FIG.
【0024】そして、読み取り周期T3以降になると、
基準ローレベル電圧値VREFは適正な値に調整されてい
るため、もはやデジタル情報VINが最小値Qm以下にな
ることがないので、最小値側比較手段210aから
“1”なるパルスが出力されず、カウンタ手段221は
動作せず、基準ローレベル電圧値VREFが調整されな
い。Then, after the reading cycle T 3 ,
Since the reference low-level voltage value V REF is adjusted to an appropriate value, the digital information V IN will no longer be less than or equal to the minimum value Q m, so the minimum value side comparison means 210a outputs a pulse of “1”. Therefore, the counter means 221 does not operate and the reference low level voltage value V REF is not adjusted.
【0025】一方、上記動作説明ではデジタル情報VIN
が最小値Qm以下になった場合に説明したが、デジタル
情報VINが最大値QM以上になった場合は、最大値比較
手段210bから“1”になるパルスが出力される。こ
の時、デジタル情報VINは最小値Qm以上であるので、
最小値側比較手段210aからはパルスは出力されず、
“0”の出力になっている。最大値側比較手段210b
から“1”なるパルスが出力されると、第1の論理手段
211から“1”が出力される。今、黒レベル調整機関
であり、黒補正タイミング信号BRが“1”になってい
るので、第2の論理手段212からも“1”なるパルス
が出力される。カウンタ手段221は最大値側比較手段
210bから“1”なるパルスが出力されるのでアップ
カウンタとして機能し、第2の論理手段212から
“1”なるパルスによって活性化され、入力されたクロ
ック信号CKにもとづいてカウントアップされたカウン
ト出力を出力することになる。On the other hand, in the above description of the operation, the digital information V IN
Has been described as being equal to or smaller than the minimum value Q m , but when the digital information V IN is equal to or larger than the maximum value Q M , the maximum value comparing means 210b outputs a pulse of "1". At this time, since the digital information V IN is the minimum value Q m or more,
No pulse is output from the minimum value side comparison means 210a,
The output is "0". Maximum value side comparing means 210b
When a pulse of "1" is output from the first logic unit 211, "1" is output. Now, since it is a black level adjustment engine and the black correction timing signal BR is "1", the second logic means 212 also outputs a pulse of "1". The counter means 221 functions as an up counter because the maximum value side comparing means 210b outputs a pulse of "1", and is activated by the pulse of "1" from the second logic means 212, and the input clock signal CK. Based on this, the count output that has been counted up is output.
【0026】カウンタ手段221からのカウント出力を
受けたD/A変換器222は、このカウント出力をアナ
ログ信号に変換し、A/D変換器12の基準ローレベル
電圧端子R(−)に基準ローレベル電圧値VREFを上げ
るようにして調整する。その結果、デジタル情報VINが
最大値QM以上になることがないように、基準ローレベ
ル電圧値VREFは適正な値に調整されるものである。以
上に述べたように、上記実施例1のものにあっては、A
/D変換器12の基準ローレベル電圧値が最適となるよ
うに設定された最小値Qmと最大値QMの範囲外であった
A/D変換器12からのデジタル画像情報VINが、最適
な基準ローレベル電圧値VREFとしてA/D変換器12
にフィードバックされ、自動的に黒レベルの調整が行わ
れることになるものである。The D / A converter 222 receiving the count output from the counter means 221 converts this count output into an analog signal, and the reference low level voltage terminal R (-) of the A / D converter 12 receives the reference low level voltage. Adjustment is performed by increasing the level voltage value V REF . As a result, the reference low level voltage value V REF is adjusted to an appropriate value so that the digital information V IN does not exceed the maximum value Q M. As described above, in the first embodiment, A
The digital image information V IN from the A / D converter 12 that is out of the range of the minimum value Q m and the maximum value Q M set so that the reference low-level voltage value of the / D converter 12 is optimum is The A / D converter 12 is used as the optimum reference low level voltage value V REF.
The black level is automatically adjusted by being fed back to.
【0027】実施例2.図4はこの発明の実施例2を示
すものであり、図において、210a及び210bは上
記実施例1と同様の最小値側及び最大値側比較手段、2
13aは上記最小値側比較手段210aからの出力を受
け、この出力が“1”であると導通状態にされる最小値
側アナログスイッチで、一方の電極は接地されている。
213bは上記最大値側比較手段210bからの出力を
受け、この出力が“1”であると導通状態とされる最大
値側アナログスイッチで、一方の電極は電源端子に接続
されている。そして、これら最小値側及び最大値側比較
手段210a及び210bと最小値側及び最大値アナロ
グスイッチ213a及び213bとによって暗時信号判
定手段を構成しているものである。Example 2. FIG. 4 shows a second embodiment of the present invention. In the figure, 210a and 210b are the minimum value side and maximum value side comparing means similar to those in the first embodiment.
Reference numeral 13a is a minimum value side analog switch which receives the output from the minimum value side comparison means 210a and is made conductive when this output is "1", and one electrode is grounded.
Reference numeral 213b is a maximum value side analog switch which receives the output from the maximum value side comparing means 210b and is made conductive when this output is "1", and one electrode is connected to the power supply terminal. Further, the minimum value side and maximum value side comparing means 210a and 210b and the minimum value side and maximum value analog switches 213a and 213b constitute a dark time signal determining means.
【0028】223は一端が上記最小値側及び最大値ア
ナログスイッチ213a及び213bの他方の電極に接
続された抵抗、224はこの抵抗の他端と接地との間に
接続されたコンデンサで、その電位変化が上記抵抗22
3によって調整されているものである。225は非反転
入力端にコンデンサが接続されるとともに、反転入力端
が出力端に接続されたオペアンプからなるバッファであ
る。そして、これら抵抗223とコンデンサ224とバ
ッファ225とによって暗時信号調整手段22を構成し
ているものである。Reference numeral 223 denotes a resistor whose one end is connected to the other electrode of the minimum value side and maximum value analog switches 213a and 213b, and 224 is a capacitor which is connected between the other end of this resistor and the ground. The change is the resistance 22
It is adjusted by 3. A buffer 225 is composed of an operational amplifier in which a capacitor is connected to the non-inverting input terminal and an inverting input terminal is connected to the output terminal. The resistor 223, the capacitor 224, and the buffer 225 constitute the dark signal adjusting means 22.
【0029】次に、このように構成された回路の動作に
ついて説明する。まず、イメージセンサ1によって読取
光源により照射された原稿に記載あるいは表示された画
像情報を電気信号に変換する。このイメージセンサ1に
て電気信号に変換されたアナログ画像情報VAがA/D
変換器12にて量子化、つまり、アナログ/デジタル変
換されてデジタル情報VINが出力される。このデジタル
情報VINは最小値側及び最大値側比較手段210a及び
210bによってそれぞれ最小値Qm及び最大値QMと比
較される。Next, the operation of the circuit thus constructed will be described. First, the image information written or displayed on the document illuminated by the reading light source by the image sensor 1 is converted into an electric signal. The analog image information V A converted into an electric signal by the image sensor 1 is A / D.
The converter 12 quantizes, that is, performs analog / digital conversion, and outputs digital information V IN . This digital information V IN is compared with the minimum value Q m and the maximum value Q M by the minimum value side and maximum value side comparing means 210a and 210b, respectively.
【0030】デジタル情報VINが最小値Qm以下になる
場合があると、最小値側比較手段210aの出力端αに
“1”になるパルスが出力される。この時、デジタル情
報VINは最大値QM以下であるので、最大値比較手段2
10bからはパルスは出力されず、“0”の出力になっ
ている。最小値側比較手段210aから“1”なるパル
スが出力されると、この“1”になっているパルス期間
最小値側アナログスイッチ213aが導通状態になり、
コンデンサ224に蓄積された電荷が抵抗223及びア
ナログスイッチ213aを介して放電され、コンデンサ
224の電位が下降する。このコンデンサ224の電位
の下降を受けてバッファ225の出力は下降し、A/D
変換器12の基準ローレベル電圧端子R(−)に基準ロ
ーレベル電圧値VREFを下げるようにして調整する。When the digital information V IN may fall below the minimum value Q m , a pulse of "1" is output to the output terminal α of the minimum value side comparing means 210a. At this time, since the digital information V IN is below the maximum value Q M , the maximum value comparing means 2
No pulse is output from 10b, which is an output of "0". When the minimum value side comparing means 210a outputs a pulse of "1", the minimum value side analog switch 213a in the pulse period of "1" becomes conductive,
The electric charge accumulated in the capacitor 224 is discharged through the resistor 223 and the analog switch 213a, and the potential of the capacitor 224 drops. When the potential of the capacitor 224 is lowered, the output of the buffer 225 is lowered and the A / D
The reference low level voltage terminal R (-) of the converter 12 is adjusted by lowering the reference low level voltage value V REF .
【0031】そして、最小値側比較手段210aから
“1”なるパルスが出力されるたびごとに、上記動作が
繰り返され、基準ローレベル電圧値VREFが適正な値に
なるまで調整される。基準ローレベル電圧値VREFが適
正な値になると、もはやデジタル情報VINが最小値Qm
以下になることがないので、最小値側比較手段210a
から“1”なるパルスが出力されず、最小値側アナログ
スイッチ213aは導通状態とされず、コンデンサ22
4の電位は下降しなくなり、基準ローレベル電圧値V
REFが調整されない。Then, each time the minimum value side comparing means 210a outputs a pulse of "1", the above operation is repeated and the reference low level voltage value V REF is adjusted until it becomes an appropriate value. When the reference low level voltage value V REF becomes an appropriate value, the digital information V IN is no longer the minimum value Q m.
Since it does not become the following, the minimum value side comparison means 210a
Does not output a pulse of "1", the analog switch 213a on the minimum value side is not turned on, and the capacitor 22
The potential of 4 no longer drops, and the reference low level voltage value V
REF is not adjusted.
【0032】一方、上記デジタル情報VINが最大値QM
以上になった場合は、最大値比較手段210bから
“1”になるパルスが出力される。この時、デジタル情
報VINは最小値Qm以上であるので、最小値側比較手段
210aからはパルスは出力されず、“0”の出力にな
っている。最大値側比較手段210bから“1”なるパ
ルスが出力されると、この“1”になっているパルス期
間最大値側アナログスイッチ213bが導通状態にな
り、電源端子からアナログスイッチ213b及び抵抗2
23を介してコンデンサ224に電荷が蓄積、つまり充
電され、コンデンサ224の電位が上昇する。このコン
デンサ224の電位の上昇を受けてバッファ225の出
力は上昇し、A/D変換器12の基準ローレベル電圧端
子R(−)に基準ローレベル電圧値VREFを上げるよう
にして調整する。On the other hand, the digital information V IN has the maximum value Q M.
In the case of the above, the maximum value comparing means 210b outputs a pulse of "1". At this time, since the digital information V IN is equal to or greater than the minimum value Q m , no pulse is output from the minimum value side comparison means 210a and “0” is output. When the maximum value side comparing means 210b outputs a pulse of "1", the maximum value side analog switch 213b in the pulse period of "1" becomes conductive, and the analog switch 213b and the resistor 2 are connected from the power supply terminal.
The electric charge is accumulated, that is, charged in the capacitor 224 via 23, and the potential of the capacitor 224 rises. The output of the buffer 225 rises in response to the rise in the potential of the capacitor 224, and the reference low level voltage terminal R (−) of the A / D converter 12 is adjusted to raise the reference low level voltage value V REF .
【0033】そして、最大値側比較手段210bから
“1”なるパルスが出力されるたびごとに、上記動作が
繰り返され、基準ローレベル電圧値VREFが適正な値に
なるまで調整される。基準ローレベル電圧値VREFが適
正な値になると、もはやデジタル情報VINが最大値QM
以下になることがないので、最大値側比較手段210b
から“1”なるパルスが出力されず、最大値側アナログ
スイッチ213bは導通状態とされず、コンデンサ22
4の電位は上昇しなくなり、基準ローレベル電圧値V
REFが調整されない。以上に述べたように、上記実施例
2のものにあっても、A/D変換器12の基準ローレベ
ル電圧値が最適となるように設定された最小値Qmと最
大値QMの範囲外であったA/D変換器12からのデジ
タル画像情報VINが、最適な基準ローレベル電圧値V
REFとしてA/D変換器12にフィードバックされ、自
動的に黒レベルの調整が行われることになるものであ
る。Then, each time the maximum value side comparing means 210b outputs a pulse of "1", the above operation is repeated, and the reference low level voltage value V REF is adjusted until it becomes an appropriate value. When the reference low level voltage value V REF becomes an appropriate value, the digital information V IN is no longer the maximum value Q M.
Since it does not become the following, the maximum value side comparing means 210b
Does not output a pulse of "1", the maximum value side analog switch 213b is not made conductive, and the capacitor 22
The potential of 4 no longer rises, and the reference low level voltage value V
REF is not adjusted. As described above, even in the second embodiment, the range of the minimum value Q m and the maximum value Q M set so that the reference low-level voltage value of the A / D converter 12 is optimum. The digital image information V IN from the A / D converter 12 which is outside is the optimum reference low level voltage value V
It is fed back to the A / D converter 12 as REF , and the black level is automatically adjusted.
【0034】なお、上記実施例1及び2に示したものに
あっては、イメージセンサ11からのアナログ画像信号
に対して適用した場合について説明したが、これに限ら
れるものではなく、黒レベル調整を必要とするものであ
れば適用できるものであり、例えば、CdsやSiフォ
トダイオードなどの黒レベル調整にも適用できるもので
ある。In the first and second embodiments described above, the case where the present invention is applied to the analog image signal from the image sensor 11 has been described, but the present invention is not limited to this, and the black level adjustment is performed. The present invention can be applied as long as the above is required, and for example, can also be applied to black level adjustment of Cds, Si photodiode, and the like.
【0035】[0035]
【発明の効果】この発明は、以上に述べたように、アナ
ログ画像情報をアナログ/デジタル変換するA/D変換
器からのデジタル情報が入力され、この入力されたデジ
タル情報を暗時信号用比較値と比較して暗時信号レベル
判定信号を出力する暗時信号判定手段と、この暗時信号
判定手段からの暗時信号レベル判定信号が入力され、A
/D変換器における暗時信号に対するレベルを調整する
レベル調整信号を出力する暗時信号調整手段とを設けた
ものとしたので、自動的に、かつ簡単に最適な黒レベル
の調整ができ、しかも、黒レベルの調整における誤動作
が防止できるという効果を有するものである。As described above, according to the present invention, the digital information from the A / D converter for analog / digital converting the analog image information is input, and the input digital information is compared for dark signal. A dark signal determination means for outputting a dark signal level determination signal in comparison with a value, and a dark signal level determination signal from this dark signal determination means are input, and A
Since the dark signal adjusting means for outputting the level adjusting signal for adjusting the level of the dark signal in the / D converter is provided, the optimum black level can be automatically and easily adjusted. This has the effect of preventing malfunctions in black level adjustment.
【図1】この発明の実施例1による黒レベル調整回路を
含む画像読取装置を示す構成図。FIG. 1 is a configuration diagram showing an image reading apparatus including a black level adjusting circuit according to a first embodiment of the present invention.
【図2】この発明の実施例1における黒レベル調整回路
を示すブロック線図。FIG. 2 is a block diagram showing a black level adjusting circuit according to the first embodiment of the present invention.
【図3】この発明の実施例1における動作を示すための
タイミングチャート。FIG. 3 is a timing chart showing an operation in the first embodiment of the present invention.
【図4】この発明の実施例2における黒レベル調整回路
を示すブロック線図。FIG. 4 is a block diagram showing a black level adjusting circuit according to a second embodiment of the present invention.
【図5】従来の黒レベル調整回路を含む画像読取装置を
示す構成図。FIG. 5 is a configuration diagram showing an image reading apparatus including a conventional black level adjusting circuit.
12 A/D変換器 13 黒レベル調整回路 21 暗時信号判定手段 22 暗時信号調整手段 12 A / D converter 13 Black level adjusting circuit 21 Dark signal determining means 22 Dark signal adjusting means
─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───
【手続補正書】[Procedure amendment]
【提出日】平成4年6月11日[Submission date] June 11, 1992
【手続補正1】[Procedure Amendment 1]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0003[Name of item to be corrected] 0003
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【0003】4はこれら全画素及び暗時信号サンプル/
ホールド2及び3からのサンプル/ホールド電位を受け
て、両サンプル/ホールド電位間の電位差を増幅する差
動増幅器で、黒レベルを補正するものである。5はこの
差動増幅器のオフセットを調整するための可変抵抗器、
6は上記差動増幅器4からの出力を受けて、アナログ/
デジタル変換するA/D変換器で、基準ハイレベル電圧
として白基準電圧が、基準ローレベル電圧として接地電
圧が入力されているものである。なお、上記全画素及び
暗時信号サンプル/ホールド回路2及び3並びに差動増
幅器4によって構成される回路が、「東芝集積回路技術
資料CCDイメージセンサ(リニアセンサ編)」(発
行:株式会社東芝、発行年:1989年)の54頁にお
ける図6−18に暗時出力補償回路として示されている
ものである。Reference numeral 4 designates all of these pixels and dark signal samples /
A differential amplifier that receives the sample / hold potentials from the holds 2 and 3 and amplifies the potential difference between the sample / hold potentials is for correcting the black level. 5 is a variable resistor for adjusting the offset of this differential amplifier,
6 receives the output from the differential amplifier 4 and outputs analog /
An A / D converter for digital conversion, in which a white reference voltage is input as a reference high level voltage and a ground voltage is input as a reference low level voltage. The circuit composed of all the pixels and the dark signal sample / hold circuits 2 and 3 and the differential amplifier 4 is described in "Toshiba integrated circuit technical data CCD image sensor (linear sensor)" (published by Toshiba Corporation. It is shown as a dark- time output compensation circuit in FIGS. 6-18 on page 54 of the publication year: 1989).
Claims (1)
変換するA/D変換器からのデジタル情報が入力され、
この入力されたデジタル情報を暗時信号用比較値と比較
して暗時信号レベル判定信号を出力する暗時信号判定手
段、この暗時信号判定手段からの暗時信号レベル判定信
号が入力され、上記A/D変換器における暗時信号に対
するレベルを調整するレベル調整信号を出力する暗時信
号調整手段を備えた黒レベル調整回路。1. Digital information from an A / D converter for analog / digital converting analog image information is input,
A dark signal determination means for comparing the input digital information with a dark signal comparison value to output a dark signal level determination signal, and a dark signal level determination signal from the dark signal determination means is input. A black level adjusting circuit having a dark signal adjusting means for outputting a level adjusting signal for adjusting the level of the dark signal in the A / D converter.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3273621A JP2907244B2 (en) | 1991-09-26 | 1991-09-26 | Black level adjustment circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3273621A JP2907244B2 (en) | 1991-09-26 | 1991-09-26 | Black level adjustment circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0591319A true JPH0591319A (en) | 1993-04-09 |
| JP2907244B2 JP2907244B2 (en) | 1999-06-21 |
Family
ID=17530275
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3273621A Expired - Fee Related JP2907244B2 (en) | 1991-09-26 | 1991-09-26 | Black level adjustment circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2907244B2 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63208367A (en) * | 1987-02-24 | 1988-08-29 | Matsushita Graphic Commun Syst Inc | Picture signal correcting device |
| JPH01298871A (en) * | 1988-05-26 | 1989-12-01 | Tokyo Electric Co Ltd | Level setting method for A/D converter in image reading device |
-
1991
- 1991-09-26 JP JP3273621A patent/JP2907244B2/en not_active Expired - Fee Related
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63208367A (en) * | 1987-02-24 | 1988-08-29 | Matsushita Graphic Commun Syst Inc | Picture signal correcting device |
| JPH01298871A (en) * | 1988-05-26 | 1989-12-01 | Tokyo Electric Co Ltd | Level setting method for A/D converter in image reading device |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2907244B2 (en) | 1999-06-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6791607B1 (en) | Optical black and offset correction in CCD signal processing | |
| US6829007B1 (en) | Digital scheme for noise filtering of optical black and offset correction in CCD signal processing | |
| US4801788A (en) | Bar code scanner for a video signal which has a shading waveform | |
| JPS58172061A (en) | Signal processor | |
| JPH06101791B2 (en) | Shading correction method and apparatus for preventing the influence of noise | |
| JPS5925267B2 (en) | optical character reader | |
| JP2001326821A (en) | Image reading apparatus and image forming apparatus | |
| JP2907244B2 (en) | Black level adjustment circuit | |
| JPH05259909A (en) | Automatic offset voltage correction method | |
| JPS6010978A (en) | Amplifier circuit for solid-state image pickup element | |
| JPH06189132A (en) | Image reader | |
| JP2670075B2 (en) | Image full scale determination device | |
| JP2921837B2 (en) | Image reading device | |
| JP3255554B2 (en) | Image processing device | |
| JP2671007B2 (en) | Image sensor circuit | |
| JP3027000B2 (en) | Image reading device | |
| JPS63287161A (en) | Picture reader | |
| JPH0779124A (en) | Gain control amplifier circuit | |
| JPH0130342B2 (en) | ||
| EP0577317A1 (en) | Colour compensation device for an image reader | |
| JPH05153431A (en) | Clamp circuit | |
| JPH10215374A (en) | Reading device and control method thereof | |
| JPH057297A (en) | Image reader | |
| JP3226534B2 (en) | Document reading device | |
| JP2614738B2 (en) | Image input device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |