JP3080466B2 - Image input device - Google Patents

Image input device

Info

Publication number
JP3080466B2
JP3080466B2 JP04033417A JP3341792A JP3080466B2 JP 3080466 B2 JP3080466 B2 JP 3080466B2 JP 04033417 A JP04033417 A JP 04033417A JP 3341792 A JP3341792 A JP 3341792A JP 3080466 B2 JP3080466 B2 JP 3080466B2
Authority
JP
Japan
Prior art keywords
black level
odd
bit
ccd
black
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP04033417A
Other languages
Japanese (ja)
Other versions
JPH05236274A (en
Inventor
博之 浅井
幹雄 室崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
PFU Ltd
Original Assignee
PFU Ltd
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 PFU Ltd filed Critical PFU Ltd
Priority to JP04033417A priority Critical patent/JP3080466B2/en
Publication of JPH05236274A publication Critical patent/JPH05236274A/en
Application granted granted Critical
Publication of JP3080466B2 publication Critical patent/JP3080466B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、CCDを用いた画像入
力装置に関し特に、CCD出力中の奇数ビットと偶数ビ
ットの間に生じるレベルの変動を補正するようにした画
像入力装置に関する。
The present invention relates in particular relates to an image input device using a CCD, and to correct the variation in level occurring between the odd bits and even bits in the CCD output image
It relates to an image input device.

【0002】CCDを用いた画像入力装置では、画像読
み取り結果のビデオ信号のコントラストを高め、S/N
を改善するために、黒基準と白基準に基づいて信号のダ
イナミックレンジを設定するようにしている。黒基準は
CCDに内蔵されており、黒基準ビット(マスクビッ
ト)として出力されるのでこれを使用できるが、照明光
源を消して暗くした状態でのCCD出力を使用すること
もできる。この黒基準ビットの値に基づいて黒レベルが
設定されるが、さらに原稿中の黒色に追従して補正され
る。また白基準は、たとえば原稿読取台の一部に設けら
れていて原稿読み取り開始に先立って読み取られ、得ら
れた白レベルはさらに原稿の地色に追従して補正され
る。
In an image input device using a CCD, the contrast of a video signal as a result of image reading is increased, and the S / N ratio is increased.
In order to improve the dynamic range, the dynamic range of the signal is set based on the black reference and the white reference. The black reference is built in the CCD and is output as a black reference bit (mask bit), so that it can be used. However, it is also possible to use the CCD output in a darkened state by turning off the illumination light source. The black level is set based on the value of the black reference bit, and is further corrected to follow the black color in the document. The white reference is provided, for example, on a part of the document reading table and is read prior to the start of document reading, and the obtained white level is further corrected by following the ground color of the document.

【0003】一般に照明光源やCCDのライン特性は一
様ではなく、このような黒基準や白基準をCCDで読み
取って得られる黒レベルや白レベルのライン分布にはム
ラができるため、必要な補正量もライン上の位置によっ
て異なってくる。
In general, the line characteristics of the illumination light source and the CCD are not uniform, and the line distribution of the black level and the white level obtained by reading such a black reference and a white reference with the CCD can be uneven. The amount also depends on the position on the line.

【0004】本発明は、特にCCD出力信号に対する黒
レベルの補正を、低コストで効果的に行う手段を提供す
るものである。
SUMMARY OF THE INVENTION The present invention provides a means for effectively correcting the black level particularly for a CCD output signal at low cost.

【0005】[0005]

【従来の技術】図7ないし図9により、従来のCCDの
レベル補正方法を説明する。図7は、黒レベル補正を1
ライン分のビデオ信号の全ビットについてビット単位で
行う黒レベル全ビット補正回路の構成図であり、図中の
1は1チャネル型のCCD、2はアンプ、3はA/D変
換器、4は1ライン分の各ビットの黒レベルを記憶する
ラインメモリ、5はD/A変換器、6は比較器、7は黒
レベル補正アルゴリズムROMである。
2. Description of the Related Art A conventional CCD level correcting method will be described with reference to FIGS. FIG. 7 shows that the black level correction is 1
FIG. 2 is a configuration diagram of a black level all bit correction circuit that performs a bit unit for all bits of a video signal for a line, wherein 1 is a one-channel CCD, 2 is an amplifier, 3 is an A / D converter, and 4 is A line memory for storing a black level of each bit for one line, a D / A converter 5, a comparator 6, and a black level correction algorithm ROM 7 are shown.

【0006】CCD出力のアナログ・ビデオ信号は、ア
ンプ2で増幅され、A/D変換器3のビデオ信号入力端
子Vinに入力されてデジタル信号に変換され、デジタル
・ビデオ信号として出力される。
[0006] Analog video signal of the CCD output is amplified by the amplifier 2 is input to the video signal input terminal V in the A / D converter 3 is converted into a digital signal, and output as digital video signals.

【0007】CCDのライン走査(ラスタ)と同期して
ラインメモリ4からライン上の各ビット位置の黒レベル
がデジタル信号形式で読み出され、D/A(デジタル・
アナログ)変換器5でアナログ信号に変換されてA/D
(アナログ・デジタル)変換器3の黒レベル入力端子B
inに印加される。
The black level at each bit position on the line is read out from the line memory 4 in the form of a digital signal in synchronization with the line scanning (raster) of the CCD, and the D / A (digital
A / D converter 5
(Analog / digital) black level input terminal B of converter 3
It is applied to the in.

【0008】A/D変換器3は、VinとBinにそれぞれ
入力されたアナログ・ビデオ信号と黒レベルとの差の信
号をサンプリングし、デジタル信号に変換して出力す
る。なおここでは、白レベルの補正回路は簡単化のため
図示を省略されている。
[0008] A / D converter 3 samples the signal of the difference between V in and B in the analog video signals input to the black level, and outputs the converted digital signal. Here, the illustration of the white level correction circuit is omitted for simplification.

【0009】黒レベル補正アルゴリズムROM7は、比
較器6からの差出力に基づいて黒レベルの補正値を生成
する関数テーブルをもつ。この関数テーブルは、ライン
メモリ4に記憶されている黒レベルと、CCD出力のア
ナログビデオ信号中の黒レベルとの間に生じたずれを、
ラインメモリ4の黒レベルにある割合いで反映させ、黒
レベル追従補正が実際の黒レベル変化よりもゆるやかに
行われるようにする。
The black level correction algorithm ROM 7 has a function table for generating a black level correction value based on the difference output from the comparator 6. This function table shows the difference between the black level stored in the line memory 4 and the black level in the analog video signal output from the CCD.
The black level of the line memory 4 is reflected at a certain rate so that the black level follow-up correction is performed more slowly than the actual black level change.

【0010】ラインメモリ4の黒レベルの補正は、原稿
の読み取り開始前の黒基準読み取り時および原稿の読み
取り中に行われ、ラインごとに更新されたラインメモリ
4の黒レベルは次のラインの走査時に使用され、また同
時に更新されていく。この図7の従来例回路は、ライン
上の全ビットについてビット単位で補正を行うため補正
の精度は高いが、回路量が増大する欠点をもつ。
The correction of the black level of the line memory 4 is performed at the time of black reference reading before the reading of the original is started and during the reading of the original, and the black level of the line memory 4 updated for each line is determined by scanning the next line. Sometimes used and updated at the same time. The conventional circuit shown in FIG. 7 performs correction on a bit-by-bit basis for all bits on a line, but has high correction accuracy, but has the disadvantage of increasing the amount of circuits.

【0011】図8の従来例回路は、図7の従来例回路に
くらべて簡易な構成をもち、1ラインの黒レベルをDC
レベルで一様に補正する。図中の1はCCD、2はアン
プ、3はA/D変換器、8は黒レベル補正処理を行うM
PU、9はデジタルビデオ信号を取り込む入力ポート、
10は黒レベルデータを設定する出力ポート、11は黒
レベルデータをアナログ信号に変換するD/A変換器で
ある。
The conventional circuit shown in FIG. 8 has a simpler structure than the conventional circuit shown in FIG.
Correct evenly at the level. In the figure, 1 is a CCD, 2 is an amplifier, 3 is an A / D converter, and 8 is an M for performing black level correction processing.
PU, 9 is an input port for capturing a digital video signal,
Reference numeral 10 denotes an output port for setting black level data, and reference numeral 11 denotes a D / A converter for converting the black level data into an analog signal.

【0012】MPU8は、原稿読み取り開始前に出力ポ
ート10に黒レベルの初期値を設定し、黒基準読み取り
時のデジタルビデオ信号を入力ポート9から取り込んで
出力ポート10の黒レベルを更新して原稿読み取りを開
始させる。原稿読み取り中にラインごとにデジタルビデ
オ信号から黒レベルを検出して、それにより黒レベルの
更新をさらに行うこともできる。しかしこの従来例回路
では、ライン上での各ビットの黒レベル間の変動を補正
できない欠点をもつ。
The MPU 8 sets an initial value of the black level in the output port 10 before starting the reading of the original, takes in the digital video signal at the time of the black reference reading from the input port 9 and updates the black level of the output port 10 to update the original. Start reading. It is also possible to detect the black level from the digital video signal line by line while reading the original, and thereby further update the black level. However, this conventional circuit has a drawback that it is impossible to correct the variation between the black levels of each bit on the line.

【0013】ビット間の黒レベル変動の原因としては、
CCDに印加されるクロックのデューティが50%から
ずれると、奇数ビットと偶数ビットでサンプル・ホール
ドS/Hのタイミングに誤差が生じ、クロックの立上り
(または立下り)からの出力遅延時間は一定であること
から、奇数ビットと偶数ビットの出力レベルが異なって
しまうということがある。図9にその例を示す。
The cause of the black level fluctuation between bits is as follows.
If the duty of the clock applied to the CCD deviates from 50%, an error occurs in the sample / hold S / H timing between the odd bit and the even bit, and the output delay time from the rising (or falling) of the clock is constant. For this reason, the output levels of the odd and even bits may be different. FIG. 9 shows an example.

【0014】図9の(a)は、CCDのクロックCCD
φ CLKのデューティが50%あり、奇数ビットと
偶数ビットのCCD出力のレベルが同じである場合を示
す。図9の(b)は、クロックCCD φ CLKのデ
ューティが60%になって、奇数ビットと偶数ビットの
レベルに差が生じることを示す。このようなデューティ
の変動は、クロックの立下りがクロック発生回路の特性
の違いによって変わることによって起こる。
FIG. 9A shows a clock CCD of a CCD.
This shows a case where the duty of φ CLK is 50% and the CCD output levels of the odd and even bits are the same. FIG. 9B shows that the duty ratio of the clock CCD φ CLK becomes 60% and a difference occurs between the levels of the odd-numbered bits and the even-numbered bits. Such a change in duty occurs when the falling edge of the clock changes due to a difference in the characteristics of the clock generation circuit.

【0015】CCD出力の奇数ビットと偶数ビットの間
にレベル差が生じる原因としては他に、CCDが奇数ビ
ット用と偶数ビット用に別のチャネルをもち、各チャネ
ルの出力を合成して1チャネルとして出力する型のもの
である場合に、各チャネルの物理的特性にずれがあると
きが考えられる。このような奇偶ビット間のレベル差が
あると、ティザ処理により2値化画像を生成した場合ざ
らついた印象の画像となり、画質が低下するという問題
があった。
Another cause of the level difference between the odd bit and the even bit of the CCD output is that the CCD has different channels for the odd bit and the even bit, and the output of each channel is synthesized to produce one channel. In the case of the type that outputs the data as the above, there may be a case where the physical characteristics of each channel are shifted. When there is such a level difference between the odd and even bits, when the binarized image is generated by the tethering process, the image has a rough impression, and there is a problem that the image quality is deteriorated.

【0016】[0016]

【発明が解決しようとする課題】本発明は、CCDを用
いた画像入力装置において,少ない回路量で奇偶ビット
間のレベル差を簡単に補正できる手段を提供することを
目的としている。
SUMMARY OF THE INVENTION The present invention uses a CCD.
It is an object of the present invention to provide means for easily correcting a level difference between odd and even bits with a small amount of circuit in an image input device .

【0017】本発明は特に、奇偶ビット間のレベル差に
着目してその解消を図るものである。
In particular, the present invention aims at eliminating the level difference between odd and even bits by focusing on the level difference.

【0018】[0018]

【課題を解決するための手段】本発明は、上記課題を解
決するために、単一クロックで駆動されるCCDを備
え,該単一クロックの順次のHレベル期間とLレベル期
間にCCDから奇数ビットと偶然ビットのビデオ信号を
交互に読み出すようにした画像入力装置において,原稿
読み取り開始前にCCDに黒基準読み取りを行なわせ,
そのときCCDから出力されるビデオ信号の奇数ビット
と偶然ビットの黒レベル差を検出する手段と,検出され
た奇数ビットと偶数ビットの黒レベル差により,上記C
CDを駆動する単一クロックのデューティを,該黒レベ
ル差が小さくなる方向に変化させる手段とを有する構
成,およびさらに,ビデオ信号の奇数ビットと偶数ビッ
トの黒レベル差を検出する手段は,複数の奇数ビットの
黒レベルの平均値と複数の偶数ビットの黒レベルの平均
値との差を検出する構成を有するようにした。
In order to solve the above-mentioned problems, the present invention comprises a CCD driven by a single clock.
The sequential H-level period and L-level period of the single clock
In the meantime, odd and accidental bit video signals are
In an image input device that reads data alternately,
Let the CCD perform black reference reading before starting reading,
Odd bits of the video signal output from the CCD at that time
Means for detecting the black level difference between bits
Due to the black level difference between the odd and even bits,
The duty of the single clock for driving the CD is
Means for changing the difference in the direction in which the difference
And even the odd and even bits of the video signal.
The means for detecting the black level difference of the
Average of black level and average of multiple even-numbered black levels
A configuration for detecting a difference from a value is provided.

【0019】図1の(a),(b)に、これら本発明の
原理的構成を示す。図1の(a)は、奇数ビットと偶数
ビットとで黒レベル補正を別々に行うレベル補正方法の
構成で、図中、1はCCD、2はCCD出力のアナログ
・ビデオ信号を増幅するアンプ、3はアナログ・ビデオ
信号をデジタル・ビデオ信号に変換するA/D(アナロ
グ・デジタル)変換器、8は黒レベルの補正処理を制御
するMPU、9はデジタル・ビデオ信号を取り込む入力
ポート、10および11はそれぞれ偶数ビットと奇数ビ
ット用の黒レベルデータを設定する出力ポート、12は
出力ポート10および11の各黒レベルデータを、クロ
ックφckによって交互に選択するセレクタである。
FIGS. 1A and 1B show the basic configuration of the present invention. FIG. 1A shows a configuration of a level correction method for separately performing black level correction for odd-numbered bits and even-numbered bits. In the figure, reference numeral 1 denotes a CCD, 2 denotes an amplifier for amplifying an analog video signal output from the CCD, Reference numeral 3 denotes an A / D (analog / digital) converter for converting an analog video signal into a digital video signal; 8, an MPU for controlling black level correction processing; 9, an input port for receiving a digital video signal; Reference numeral 11 denotes an output port for setting black level data for even-numbered bits and odd-numbered bits. Reference numeral 12 denotes a selector for alternately selecting each black level data of the output ports 10 and 11 in response to a clock φck .

【0020】CCD1による原稿読み取り開始前に黒基
準となる黒レベルをデジタル・ビデオ信号から偶数ビッ
ト、奇数ビットを交互に入力ポート9へ取り込み、MP
U8によって、偶数ビットの黒レベルは出力ポート1
0、奇数ビットの黒レベルは出力ポート10′に設定す
る。セレクタ12は、クロックφckのHレベル時に、入
力端子Aに入力されている偶数ビット用の黒レベルデー
タを選択し、クロックφ ckのLレベル時には入力端子B
に入力されている奇数ビット用の黒レベルを選択する。
セレクタ12によって選択された黒レベルは、D/A変
換器11でデジタル・アナログ変換され、A/D変換器
3の黒レベル入力端子Binに入力される。
Before the document reading by the CCD 1 is started, the black
The reference black level from the digital video signal
And odd-numbered bits are alternately taken into input port 9 and MP
U8 sets the even-level black level to output port 1
0, the odd bit black level is set to the output port 10 '.
You. The selector 12 receives the clock φckAt H level of
Black level data for even-numbered bits input to input terminal A
Clock φ ckInput terminal B at L level
Select the black level for odd-numbered bits that is input to.
The black level selected by the selector 12 changes according to the D / A conversion.
Digital-to-analog conversion by the converter 11 and an A / D converter
3 black level input terminal BinIs input to

【0021】A/D変換器3では、アナログ・ビデオ入
力端子Vinに入力されるアナログ・ビデオ信号の偶奇の
ビットと、黒レベル入力端子Binに入力される黒レベル
の偶奇とは同期させられており、それぞれのタイミング
で対応するアナログ・ビデオ信号と黒レベルとの差が、
アナログ・デジタル変換されて出力される。
[0021] In the A / D converter 3, it is synchronized with odd bits of analog video signal input to the analog video input terminal V in, the black level of the even and odd input to the black level input terminal B in The difference between the corresponding analog video signal and the black level at each timing is
It is converted from analog to digital and output.

【0022】MPU8は、一定数の偶数ビットの黒レベ
ルを平均化したものを偶数ビットの黒レベルとし、同様
に一定数の奇数ビットの黒レベルを平均化したものを奇
数ビットの黒レベルとし、それぞれを出力ポート10と
出力ポート10′に設定することができる。また原稿読
み取り開始後に各黒レベルを追従補正することもでき
る。
The MPU 8 averages a certain number of even-numbered black levels as an even-numbered black level, and similarly averages a certain number of odd-numbered black levels as an odd-numbered black level. Each can be set to the output port 10 and the output port 10 '. Following the start of document reading, each black level can be tracked and corrected.

【0023】次に図1の(b)は、クロックのデューテ
ィを変化させるレベル補正方法の構成で、図中の1はC
CD、2はアンプ、3はA/D変換器、8はレベル補正
制御を行うMPU、9は入力ポート、10は出力ポー
ト、11はD/A変換器、13はデューティを可変にで
きるクロック発生回路である。
FIG. 1B shows a configuration of a level correction method for changing the duty of the clock.
CD, 2 is an amplifier, 3 is an A / D converter, 8 is an MPU for performing level correction control, 9 is an input port, 10 is an output port, 11 is a D / A converter, and 13 is a clock generator capable of changing the duty. Circuit.

【0024】図1の(b)に示すレベル補正方法では、
MPU8は原稿の読み取り開始前に、図1の(a)の場
合と同様に、デジタル・ビデオ信号中の偶数ビットと奇
数ビットの黒基準のレベルを入力ポート9から取り込む
が、出力ポート10に設定する黒レベルデータは偶数ビ
ットと奇数ビットの各黒レベルを平均化したものとし、
他方、クロック発生回路13に与えるデューティ制御信
号は、偶数ビットと奇数ビットの各黒レベルの差に基づ
いて生成する。
In the level correction method shown in FIG.
The MPU 8 takes in the even-numbered bits and the odd-numbered bits of the digital video signal from the input port 9 from the input port 9 in the same manner as in FIG. Black level data to be averaged black levels of even and odd bits,
On the other hand, the duty control signal given to the clock generation circuit 13 is generated based on the difference between each black level of the even-numbered bits and the odd-numbered bits.

【0025】クロック発生回路13は、MPU8から与
えられるデューティ制御信号に従って定まるデューティ
のクロックを発生し、CCD1に供給する。CCD1で
は、クロックのデューティが変化するとそれに応じて偶
数ビットと奇数ビットのアナログ・ビデオ信号の出力レ
ベルを変化させる。この場合、デューティ制御信号は、
デジタル・ビデオ信号から検出する偶数ビットと奇数ビ
ット間のレベル差をなくす方向にクロックのデューティ
を変化させるように生成される。
The clock generation circuit 13 generates a clock having a duty determined according to a duty control signal supplied from the MPU 8 and supplies the clock to the CCD 1. In the CCD 1, when the duty of the clock changes, the output levels of the even-bit and odd-bit analog video signals change accordingly. In this case, the duty control signal is
It is generated so as to change the duty of the clock in a direction to eliminate the level difference between the even bit and the odd bit detected from the digital video signal.

【0026】[0026]

【作用】図1の(a),(b)に示す本発明のレベル補
正方法の作用を、図2の(a),(b)に示す波形図を
用いて説明する。
The operation of the level correction method of the present invention shown in FIGS. 1A and 1B will be described with reference to the waveform diagrams shown in FIGS. 2A and 2B.

【0027】図2の(a)は、図1の(a)の構成に対
応する波形図であり、はデューティが偶数ビット60
%、奇数ビット40%にずれたクロックの例、はその
結果デジタル・ビデオ信号の偶数ビットと奇数ビットか
ら検出される各黒レベルとレベル差を示す。
FIG. 2A is a waveform diagram corresponding to the configuration of FIG. 1A.
The example of a clock shifted to 40%, the odd bits, indicates the respective black level and level difference detected from the even and odd bits of the digital video signal.

【0028】は、の検出レベル差に応じて図1の
(a)のアナログ・デジタル変換器3に供給される偶数
ビット用と奇数ビット用の各補正黒レベルを示す。は
の補正黒レベルを用いてアナログ・デジタル変換され
た結果のデジタル・ビデオ信号の黒レベルをアナログ形
式で表したものである。このように、偶数ビットと奇数
ビットのそれぞれのグループ別に黒レベル補正を行う簡
単な方法で、ビット間のレベル変動を除去することがで
きる。
1 shows respective corrected black levels for even-numbered bits and odd-numbered bits supplied to the analog-to-digital converter 3 in FIG. Represents the black level of a digital video signal obtained as a result of analog-to-digital conversion using the corrected black level in an analog format. As described above, the level variation between bits can be removed by a simple method of performing the black level correction for each group of the even-numbered bits and the odd-numbered bits.

【0029】図2の(b)は、図1の(a)の構成に対
応する波形図であり、′は図2の(a)のと同じ6
0%,40%のデューティのクロックの例である。この
結果、′のように偶数ビットと奇数ビット間にレベル
差が検出されると、′に点で示すようにクロックのデ
ューティを変化させる制御が行われる。このように偶数
ビットと奇数ビット間のレベル差を検出してクロックの
デューティにフィードバックする簡単な方法で、ビット
間のレベル変動を除去することができる。
FIG. 2 (b) is a waveform diagram corresponding to the configuration of FIG. 1 (a).
This is an example of a clock having a duty of 0% and 40%. As a result, when a level difference is detected between the even-numbered bits and the odd-numbered bits as indicated by 制 御, control is performed to change the duty of the clock as indicated by 点. As described above, the level fluctuation between bits can be removed by a simple method of detecting the level difference between the even-numbered bits and the odd-numbered bits and feeding back the duty difference of the clock.

【0030】[0030]

【実施例】図3ないし図6により、本発明の実施例を説
明する。図3は、図1の(a)および図2の(a)に示
す本発明方法の実施例の動作フローである。図におい
て、(1)ないし(3)は原稿読み取り開始前の動作で
あり、(1)で照明光源をOFFの状態とし、(2)で
照明を暗くした状態でのCCD出力を黒基準レベルとし
てA/D変換し、結果のデジタル・ビデオ信号を偶数ビ
ット、奇数ビット別に入力ポートからMPUへ読み込
む。(3)でMPUにより偶数ビットの黒レベルと奇数
ビットの黒レベルを別の出力ポートにそれぞれ書き込
む。続く(4)および(5)は原稿読み取り時の動作で
あり、(4)で照明光源を点灯し、(5)で出力ポート
に書き込まれている偶数ビットと奇数ビットの黒レベル
を入力アナログ・ビデオ信号の偶、奇のビットに同期さ
せて読み出し、D/A変換してA/D変換器に入力し、
アナログ・ビデオ信号をデジタル・ビデオ信号に変換す
る。(5)の動作は各ラインごとに繰り返される。ここ
で(1),(2)の代わりにCCD出力のマスクビット
を黒基準として用い、(3)以後の動作につなぐことも
可能である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to FIGS. FIG. 3 is an operation flow of the embodiment of the method of the present invention shown in FIG. 1 (a) and FIG. 2 (a). In the figure, (1) to (3) are operations before the start of document reading. In (1), the illumination light source is turned off, and in (2), the CCD output with the illumination dark is set as the black reference level. A / D conversion is performed, and the resulting digital video signal is read from the input port to the MPU for each of the even and odd bits. In (3), the MPU writes the even-numbered bit black level and the odd-numbered bit black level to different output ports. Subsequent operations (4) and (5) are for reading the original document. In (4), the illumination light source is turned on. Read in synchronization with even and odd bits of the video signal, D / A convert and input to the A / D converter,
Convert an analog video signal to a digital video signal. The operation of (5) is repeated for each line. Here, instead of (1) and (2), it is also possible to use the mask bit of the CCD output as a black reference and to connect to the operation after (3).

【0031】図4は、図1の(b)および図2の(b)
に示す本発明方法の実施例の動作フローである。
(1)′でCCD出力の黒基準ビット(マスクビット)
をA/D変換後のデジタル・ビデオ信号で監視し、奇数
ビット(ODDで表す)と偶数ビット(EVENで表
す)を別々に検出する。(2)′でレベル差AをODD
−EVENにより求める。(3)′では、A>0,A=
0,A<0を判別し、処理を切り分ける。A>0の場合
は(4)′でデューティを増加させる制御を行い、A<
0の場合は、(5)′でデューティを減少させる制御を
行う。A=0の場合はデューティ変更の必要がないので
終了する。A>0,A<0の場合、(1)′ないし
(5)′の動作が繰り返され、A=0となった時点で終
了する。A=0となった後は、原稿読み取りの開始が可
能となる。
FIGS. 4 (b) and 2 (b)
5 is an operation flow of the embodiment of the method of the present invention shown in FIG.
(1) 'is the black reference bit (mask bit) of the CCD output
Is monitored with the digital video signal after A / D conversion, and odd bits (represented by ODD) and even bits (represented by EVEN) are separately detected. (2) ′ ODD the level difference A
-Determined by EVEN. (3) ′, A> 0, A =
0, A <0, and the process is separated. If A> 0, control is performed to increase the duty in (4) ′, and A <0
In the case of 0, control for reducing the duty is performed in (5) '. If A = 0, there is no need to change the duty, so the process ends. When A> 0 and A <0, the operations of (1) ′ to (5) ′ are repeated, and the operation ends when A = 0. After A = 0, document reading can be started.

【0032】図5は、図1の(b)におけるクロック発
生回路13中に設けられるデューティ補正回路の実施例
回路であり、図6はその動作波形図である。図5におい
て、14は多段の遅延回路であり、入力される基本クロ
ックφck0を僅かずつ遅延させたクロックφck1 〜φ
ckn をφck0 とともに出力する。15はセレクタであ
り、クロックφck0 〜φckn の任意の1つのクロックφ
cki をデューティ制御信号に基づいて選択する。16は
ANDゲートであり、セレクタ15から出力されたクロ
ックφcki と元の基本クロックφck0 との一致をとり、
結果をクロックφckとして出力する。図6にこれらの各
クロックφck0 〜φcki 〜φckn と、φckの相互のタイ
ミング関係が例示されている。
FIG. 5 shows an embodiment of the duty correction circuit provided in the clock generation circuit 13 in FIG. 1B, and FIG. 6 is an operation waveform diagram thereof. In FIG. 5, reference numeral 14 denotes a multi-stage delay circuit, which includes clocks φ ck1 to φ ck1 which slightly delay the input basic clock φ ck0.
ckn is output together with φ ck0 . Reference numeral 15 denotes a selector, which is any one of the clocks φ ck0 to φ ckn.
cki is selected based on the duty control signal. An AND gate 16 matches the clock φ cki output from the selector 15 with the original basic clock φ ck0 ,
The result is output as clock φck . Each clock φ ck0ckickn of Figure 6, the mutual timing relationships phi ck is illustrated.

【0033】図5のデューティ補正回路では、デューテ
ィ制御信号は図4の(4)′,(5)′に応じてA>0
の場合は+1歩進指示、A<0の場合は−1歩進指示を
行うものとされる。セレクタ15は、現在の選択位置
を、+1あるいは−1の指示により前後に更新するよう
に動作する。
In the duty correction circuit of FIG. 5, the duty control signal is A> 0 in accordance with (4) 'and (5)' of FIG.
In the case of (1), a step increment instruction is performed, and in the case of A <0, a step increment instruction is performed. The selector 15 operates to update the current selected position forward or backward according to the instruction of +1 or -1.

【0034】デューティを補正する他の実施例として
は、レジスタと、レジスタにより設定値を更新されるプ
ログラマブルカウンタとを用いることができる。この場
合、カウンタのフルカウント値をレジスタに設定してデ
ューティ制御信号によって増減制御できるようにし、カ
ウンタにより高速クロックをカウントさせて、フルカウ
ントによるオーバーフローあるいはアンダーフローする
タイミングがずれるのを利用し、デューティを変化させ
る。
As another embodiment for correcting the duty, a register and a programmable counter whose set value is updated by the register can be used. In this case, the full count value of the counter is set in a register so that it can be increased or decreased by a duty control signal, and the counter is used to count the high-speed clock. Let it.

【0035】[0035]

【発明の効果】本発明によれば、従来の黒レベル全ビッ
ト補正方法にくらべてはるかに少ない回路量で奇偶ビッ
ト間のレベル変動を補正することができ、低コストで入
力画像の品質改善を図ることができる。
According to the present invention, the level variation between odd and even bits can be corrected with a much smaller circuit amount than the conventional black level all bit correction method, and the quality of an input image can be improved at low cost. Can be planned.

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

【図1】本発明の原理的構成図である。FIG. 1 is a diagram showing the basic configuration of the present invention.

【図2】本発明の作用を説明する動作波形図である。FIG. 2 is an operation waveform diagram illustrating an operation of the present invention.

【図3】奇偶ビット別に黒レベル補正を行う本発明方法
の実施例の動作フロー図である。
FIG. 3 is an operation flowchart of an embodiment of the method of the present invention for performing black level correction for odd and even bits.

【図4】クロックのデューティを変化させて黒レベル補
正を行う本発明方法の実施例の動作フロー図である。
FIG. 4 is an operation flowchart of an embodiment of a method of the present invention for performing black level correction by changing the duty of a clock.

【図5】クロックのデューティ補正回路の実施例の構成
図である。
FIG. 5 is a configuration diagram of an embodiment of a clock duty correction circuit.

【図6】クロックのデューティ補正回路の実施例の動作
波形図である。
FIG. 6 is an operation waveform diagram of the embodiment of the clock duty correction circuit.

【図7】従来の黒レベル全ビット補正回路の構成図であ
る。
FIG. 7 is a configuration diagram of a conventional black level all bit correction circuit.

【図8】従来の黒レベルDCレベル補正回路の構成図で
ある。
FIG. 8 is a configuration diagram of a conventional black level DC level correction circuit.

【図9】クロックのデューティによるレベル変動を説明
する動作波形図である。
FIG. 9 is an operation waveform diagram illustrating a level change due to a clock duty.

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

1 CCD 2 アンプ 3 A/D変換器 8 MPU 9 入力ポート 10,10′ 出力ポート 11 D/A変換器 12 セレクタ 13 クロック発生回路 DESCRIPTION OF SYMBOLS 1 CCD 2 amplifier 3 A / D converter 8 MPU 9 input port 10, 10 'output port 11 D / A converter 12 selector 13 clock generation circuit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平3−184469(JP,A) 特開 平2−174465(JP,A) 特開 昭62−183671(JP,A) 特開 昭61−142861(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 1/40 - 1/409 H04N 1/46 H04N 1/60 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-3-184469 (JP, A) JP-A-2-174465 (JP, A) JP-A-62-183671 (JP, A) JP-A-61-186 142861 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H04N 1/40-1/409 H04N 1/46 H04N 1/60

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 単一クロックで駆動されるCCDを備
え,該単一クロックの順次のHレベル期間とLレベル期
間にCCDから奇数ビットと偶然ビットのビデオ信号を
交互に読み出すようにした画像入力装置において, 原稿読み取り開始前にCCDに黒基準読み取りを行なわ
せ,そのときCCDから出力されるビデオ信号の奇数ビ
ットと偶数ビットの黒レベル差を検出する手段と, 検出された奇数ビットと偶数ビットの黒レベル差によ
り,上記CCDを駆動する単一クロックのデューティ
を,該黒レベル差が小さくなる方向に変化させる手段と
を有することを特徴とする画像入力装置。
1. A CCD which is driven by a single clock.
The sequential H-level period and L-level period of the single clock
In the meantime, odd and accidental bit video signals are
In an image input device that reads data alternately, black reference reading is performed on the CCD before starting reading the document.
The odd-numbered video signal output from the CCD at that time.
Means for detecting the black level difference between the odd bit and the even bit, and the means for detecting the black level difference between the odd bit and the even bit.
The duty of a single clock to drive the CCD
Means for changing the black level difference in a direction in which the black level difference becomes smaller.
An image input device comprising:
【請求項2】 請求項1において,ビデオ信号の奇数ビ
ットと偶数ビットの黒レベル差を検出する手段は,複数
の奇数ビットの黒レベルの平均値と複数の偶数ビットの
黒レベルの平均値との差を検出するものであることを特
徴とする画像入力装置。
2. An odd-numbered video signal according to claim 1,
There are multiple means to detect the black level difference between the bit and the even bit.
The average of the black level of the odd-numbered bits and the
Specially, it detects the difference from the average black level.
Image input device.
JP04033417A 1992-02-20 1992-02-20 Image input device Expired - Fee Related JP3080466B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04033417A JP3080466B2 (en) 1992-02-20 1992-02-20 Image input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04033417A JP3080466B2 (en) 1992-02-20 1992-02-20 Image input device

Publications (2)

Publication Number Publication Date
JPH05236274A JPH05236274A (en) 1993-09-10
JP3080466B2 true JP3080466B2 (en) 2000-08-28

Family

ID=12386001

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04033417A Expired - Fee Related JP3080466B2 (en) 1992-02-20 1992-02-20 Image input device

Country Status (1)

Country Link
JP (1) JP3080466B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3720755B2 (en) 2001-11-27 2005-11-30 キヤノン株式会社 Image reading apparatus, image reading system, image reading method, and program thereof
US20050279527A1 (en) 2004-06-17 2005-12-22 Johnson Douglas E Cable and method of making the same

Also Published As

Publication number Publication date
JPH05236274A (en) 1993-09-10

Similar Documents

Publication Publication Date Title
US4402015A (en) Picture signal pre-processing method for a picture reproducing machine
JP2001028716A (en) Pixel signal gain amplifier circuit
JPH0736405A (en) Gradation correction system for display device
JP3080466B2 (en) Image input device
JP2008294566A (en) Analog front-end circuit, and electronic equipment
JPH1132345A (en) Digital image correction device and display device
JP3276026B2 (en) Image data adjustment method for image reading device
JPH05143022A (en) Multigradation liquid crystal display device
JPH0614188A (en) Image processing device
JP2965350B2 (en) Error correction device for image sensor
JP2757360B2 (en) 1-7 code conversion circuit
KR100203582B1 (en) Projector having flyback pulse generator circuit
JPH11308409A (en) Image reader and method for image reduction reading
JPH10336452A (en) Image reader
JPS62185458A (en) Image sensor reader
JP2605746B2 (en) Image defect correction device for solid-state imaging device
JPS5914938B2 (en) PCM signal error correction method
JPH04192878A (en) Image reader
JPH099000A (en) Ccd drive system and method therefor
JP2001022316A (en) Drive circuit for video display device
JPH0779345A (en) Image sensor output correction circuit
JPH08298593A (en) Original reader
JPH09179533A (en) Liquid crystal display device
JPH09163381A (en) Agc circuit
JPH11122562A (en) Image correction device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees