JPH1155509A - Image reader - Google Patents

Image reader

Info

Publication number
JPH1155509A
JPH1155509A JP9203195A JP20319597A JPH1155509A JP H1155509 A JPH1155509 A JP H1155509A JP 9203195 A JP9203195 A JP 9203195A JP 20319597 A JP20319597 A JP 20319597A JP H1155509 A JPH1155509 A JP H1155509A
Authority
JP
Japan
Prior art keywords
channels
channel
image reading
optical sensor
amplification factor
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
JP9203195A
Other languages
Japanese (ja)
Inventor
Yoshinori Kanesaka
芳則 金坂
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP9203195A priority Critical patent/JPH1155509A/en
Publication of JPH1155509A publication Critical patent/JPH1155509A/en
Pending legal-status Critical Current

Links

Landscapes

  • Transforming Light Signals Into Electric Signals (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide the image reader by adjusting white balance with a minimum reduction in the S/N without adopting a read and away cycle. SOLUTION: Maximum values of data of one line of each channel are read as Vr , Vg , Vb in the step 102, and the values Vr , Vg , Vb are compared with each other and the results are arranged as V1 , V2 , V3 in the larger order in the step 103. In the step 104, a shift pulse interval TSH is adjusted so that the largest output of the channel 1 is a prescribed value (V0 ) to chance the storage time. In this case, the pulse interval TSH is calculated as TSH=T0 ×V0 /V1 . A white reference is read at a set shift pulse interval in the step 202 and outputs V2 , V3 are obtained from amplifiers of channels 2, 3. In the step 205, amplification factors G2 =G0 ×V0 /V2 and G3 =G0 ×V0 /V3 are calculated so that an output signal level from the amplifiers of the channels 2, 3 is V0 .

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、原稿の画像を電気
信号に変換する画像読み取り装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image reading apparatus for converting an image on a document into an electric signal.

【0002】[0002]

【従来の技術】白色光源と3ラインカラーCCDを用い
た画像読み取り装置は、光源の発光分光特性及びCCD
の感度分光特性の違いによりCCD出力信号が色毎に違
いが生じており、いわゆるホワイトバランスが崩れてい
ることがある。そこで、画像取り込みに先立って白基準
板を読み取り、その信号に基づいてホワイトバランス調
整を行っている。すなわち、白基準板を読み取ったとき
に、各色のCCDからの出力が等しくなるように調整す
る。従来の方法として、下記の2通りの方法がある。
2. Description of the Related Art An image reading apparatus using a white light source and a three-line color CCD is known as an emission spectral characteristic of a light source and a CCD.
The CCD output signal differs for each color due to the difference in the sensitivity spectral characteristics of the above, so-called white balance may be lost. Therefore, a white reference plate is read prior to image capture, and white balance adjustment is performed based on the signal. That is, when the white reference plate is read, the adjustment is performed so that the outputs from the CCDs of the respective colors become equal. Conventional methods include the following two methods.

【0003】(1) 各色毎に増幅率を調整可能な増幅器が
設けられ、その増幅率を調整することにより3色のCC
D出力信号レベルのバランスをとる。CCDの蓄積時間
は所定値に固定されている。
(1) An amplifier capable of adjusting the amplification factor for each color is provided, and by adjusting the amplification factor, the CC of three colors can be adjusted.
Balance the D output signal level. The accumulation time of the CCD is fixed to a predetermined value.

【0004】(2) 各色毎にCCDのシフトパルス間隔を
調整して蓄積時間を調整することで、3色のCCD出力
信号レベルのバランスをとる。各色の増幅器の増幅率は
共通にする。
(2) The CCD output signal levels of the three colors are balanced by adjusting the accumulation time by adjusting the CCD shift pulse interval for each color. The amplification factors of the amplifiers of the respective colors are common.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記の
従来のCCDの出力調整方法には以下のような問題点が
ある。
However, the above-mentioned conventional method of adjusting the output of the CCD has the following problems.

【0006】(1) 蓄積時間を固定とし、増幅器の増幅率
を調整する方法であるため、固体差により増幅器の増幅
率の大きいものや小さいものができてくる。増幅率の大
きいものは、信号対ノイズ比(以下S/Nと記す。)が
小さくなる。また、長時間使用していると光源の劣化が
進み、増幅器の増幅率が大きくなるためS/Nが小さく
なる。S/Nが小さくなると、画質が低下する。
(1) Since the accumulation time is fixed and the amplification factor of the amplifier is adjusted, the amplification factor of the amplifier may be large or small depending on individual differences. When the gain is large, the signal-to-noise ratio (hereinafter, referred to as S / N) becomes small. In addition, if the light source is used for a long time, the light source deteriorates and the amplification factor of the amplifier increases, so that the S / N ratio decreases. As the S / N ratio decreases, the image quality deteriorates.

【0007】(2) シフトパルス間隔が色毎に異なるた
め、例えば図5に示すように1ラインの画像データ取り
込みの後にシフトパルス間隔の違いを補正するための読
み捨てサイクルを入れる必要がある。読み捨てサイクル
においても、CCDシフトレジスタの全データを出力し
なければ次のラインの画像データを取り込むことができ
ないので、例えば5000の画素からなるCCDのデー
タを1M〜5M画素/sの割合で転送している場合は、
各ライン間のシフトパルス間隔の差がどれだけ小さい場
合でも、各ライン毎に最低1ms〜5msの時間が余分
にかかる。このため、読み取りにかかる時間が長くな
る。
(2) Since the shift pulse interval differs for each color, for example, as shown in FIG. 5, it is necessary to insert a read-discard cycle for correcting the difference in shift pulse interval after capturing one line of image data. Even in the read-discard cycle, the image data of the next line cannot be fetched unless all the data of the CCD shift register is output. Therefore, for example, CCD data consisting of 5000 pixels is transferred at a rate of 1M to 5M pixels / s. If you have
No matter how small the shift pulse interval difference between the lines is, an extra time of at least 1 ms to 5 ms is required for each line. Therefore, the time required for reading becomes long.

【0008】本発明は上記の問題点を解決するためにな
されたものであり、その目的は、読み捨てサイクルを入
れることなく、S/Nの低下を最小限としてホワイトバ
ランスを調整することができる画像読み取り装置を提供
することにある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to provide an image capable of adjusting a white balance by minimizing a decrease in S / N without inserting a discard cycle. A reading device is provided.

【0009】[0009]

【課題を解決するための手段】本発明の請求項1記載の
画像読み取り装置によれば、光センサの複数のチャンネ
ルで白基準を読み取ったときの出力を比較し、最も出力
信号レベルが大きいチャンネルの出力信号が所定の信号
レベルになるように蓄積時間を変更する蓄積時間変更手
段を備えるため、光センサの感度の個体差、光源の光量
のばらつき、光源の劣化による光量の経時変化などがあ
っても、蓄積時間を変更することにより、増幅率を小さ
くできるので、S/Nの低下を最小限とすることができ
る。
According to the image reading apparatus of the present invention, the outputs when the white reference is read by a plurality of channels of the optical sensor are compared, and the channel having the highest output signal level is compared. Since there is provided a storage time changing means for changing the storage time so that the output signal of the light source becomes a predetermined signal level, there are individual differences in the sensitivity of the optical sensor, variations in the light amount of the light source, and temporal changes in the light amount due to deterioration of the light source. However, since the amplification factor can be reduced by changing the accumulation time, the reduction in S / N can be minimized.

【0010】また、光センサの複数のチャンネルのそれ
ぞれの出力を増幅し、チャンネル毎に増幅率を変更する
ことのできる複数の増幅器と、前記蓄積時間において、
他のチャンネルの光センサの出力信号が所定値になるよ
うに増幅器の増幅率を変更する増幅率変更手段とを備え
るため、光センサの感度の個体差や光源の光量のばらつ
きによる信号化による光量の経時変化などがあっても、
増幅率を変更することにより、複数のチャンネルの増幅
器からの出力信号レベルを揃えることができ、読み捨て
による時間のロスを防ぐことができる。
A plurality of amplifiers capable of amplifying the output of each of the plurality of channels of the optical sensor and changing the amplification factor for each channel;
A gain changing means for changing the gain of the amplifier so that the output signal of the optical sensor of the other channel becomes a predetermined value. Changes over time,
By changing the amplification factor, the output signal levels from the amplifiers of a plurality of channels can be made uniform, and time loss due to discarding can be prevented.

【0011】本発明の請求項2記載の画像読み取り装置
によれば、光センサの複数のチャンネルは、赤、緑およ
び青の光の強度を読み取る3つのチャンネルであるた
め、白色光源により照射した原稿からの光を3原色であ
る赤、緑および青に分解し、それぞれの色の出力信号レ
ベルを揃えることができる。
According to the image reading apparatus of the second aspect of the present invention, since the plurality of channels of the optical sensor are three channels for reading the intensities of red, green, and blue light, the original irradiated by the white light source is used. Can be decomposed into three primary colors, red, green and blue, and the output signal levels of the respective colors can be made uniform.

【0012】本発明の請求項3記載の画像読み取り装置
によれば、光センサは、複数の光電変換素子を並べたラ
インセンサであるため、1ラインの複数の点の光の強度
を同時に読み取ることができる。
According to the image reading apparatus of the third aspect of the present invention, since the optical sensor is a line sensor in which a plurality of photoelectric conversion elements are arranged, it can simultaneously read the light intensities of a plurality of points on one line. Can be.

【0013】本発明の請求項4記載の画像読み取り装置
によれば、光センサの複数のチャンネルで白基準を読み
取ったときの出力を比較するときは、ラインセンサの複
数の素子から出力された出力の最大値を用いるため、蓄
積時間を変更したときにラインセンサに蓄積される電荷
が飽和することや、A/D変換部での変換可能範囲を越
えることを防ぐことができる。
According to the image reading apparatus of the present invention, when comparing the outputs when the white reference is read by the plurality of channels of the optical sensor, the outputs output from the plurality of elements of the line sensor are used. Is used, it is possible to prevent the electric charge accumulated in the line sensor from being saturated when the accumulation time is changed, and to prevent the electric charge from being exceeded by the A / D converter.

【0014】本発明の請求項5記載の画像読み取り装置
によれば、蓄積時間変更手段は、最も出力信号レベルが
大きいチャンネルの出力信号値と所定値との差が所定範
囲外であるときは蓄積時間を再設定するため、より適切
に蓄積時間を決定することができる。
According to the image reading apparatus of the fifth aspect of the present invention, the storage time changing means stores the data when the difference between the output signal value of the channel having the highest output signal level and the predetermined value is out of the predetermined range. Since the time is reset, the accumulation time can be more appropriately determined.

【0015】本発明の請求項6記載の画像読み取り装置
によれば、増幅率変更手段は、最も出力信号レベルが大
きいチャンネル以外の増幅器からの出力信号値と所定値
との差が所定範囲外であるときは該チャンネルの増幅率
を再設定するため、より適切に増幅率を決定することが
できる。
According to the image reading apparatus of the present invention, the amplification factor changing means determines that the difference between the output signal value from the amplifier other than the channel having the highest output signal level and the predetermined value is out of the predetermined range. In some cases, the gain of the channel is reset, so that the gain can be determined more appropriately.

【0016】[0016]

【発明の実施の形態】以下、本発明の実施例を図面に基
づいて詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0017】本発明の一実施例のフラットベッド型の画
像読み取り装置の概略構造を図2に示す。
FIG. 2 shows a schematic structure of a flat bed type image reading apparatus according to an embodiment of the present invention.

【0018】箱型の筐体2の上面に、ガラス等の透明板
からなる原稿台1が設けられている。筐体2の内部に
は、図示しない駆動装置により原稿台1に平行に移動す
るキャリッジ3が設けられ、このキャリッジ3に光源4
と光センサ5とが搭載されている。光源4の照射光は原
稿台1上の原稿8表面で反射され、集光レンズ7により
光センサ5に集光されるようになっている。光センサ5
には、例えばCCD等の電荷蓄積型光センサが多数並べ
られたラインセンサが使用される。原稿台1の上方に
は、写真フィルム等の透過原稿を読み取る場合のため
に、キャリッジ3の移動に伴って移動する第2の光源6
が設けられている。原稿台1の原稿面側には、白基準と
して、高反射率均一反射面をもつ白基準板9が設けられ
ている。
An original table 1 made of a transparent plate such as glass is provided on the upper surface of a box-shaped housing 2. A carriage 3 that is moved in parallel with the document table 1 by a driving device (not shown) is provided inside the housing 2.
And an optical sensor 5. The irradiation light of the light source 4 is reflected on the surface of the original 8 on the original table 1 and is condensed on the optical sensor 5 by the condenser lens 7. Optical sensor 5
For example, a line sensor in which a large number of charge accumulation type optical sensors such as CCDs are arranged is used. Above the platen 1, a second light source 6 that moves with the carriage 3 for reading a transparent original such as a photographic film.
Is provided. On the document surface side of the document table 1, a white reference plate 9 having a high reflectance uniform reflection surface is provided as a white reference.

【0019】上記のように構成された画像読み取り装置
の信号処理装置の構成を表すブロック図を図3に示す。
FIG. 3 is a block diagram showing the configuration of the signal processing device of the image reading apparatus configured as described above.

【0020】光センサ5に蓄積された信号は、増幅器1
1を介してA/D変換部12へ送られ、アナログ信号か
らデジタル信号に変換される。変換されたデジタル信号
はデジタル補正部13で、シェーディング補正、ガンマ
補正、色補正、エッジ強調及び領域拡大/縮小等の諸変
換が行われる。
The signal stored in the optical sensor 5 is transmitted to the amplifier 1
The signal is sent to the A / D conversion unit 12 via 1 and is converted from an analog signal to a digital signal. The converted digital signal is subjected to various conversions such as shading correction, gamma correction, color correction, edge enhancement, and area enlargement / reduction in the digital correction unit 13.

【0021】制御装置14は、CPU、RAM及びRO
M等からなるマイクロコンピュータにより構成され、画
像読み取り装置全体の制御を行い、インターフェイス1
5を介して外部の画像処理装置、例えばパーソナルコン
ピュータに接続される。
The control device 14 includes a CPU, a RAM and an RO
M, etc., which controls the entire image reading apparatus and has an interface 1
5 is connected to an external image processing apparatus, for example, a personal computer.

【0022】カラー画像を読み取る場合、光センサ5は
図4に示すように赤(R:RED)、緑(G:GREE
N)及び青(B:BLUE)のチャンネルを持つ。各チ
ャンネルは、受光ダイオード、転送ゲート、CCDアナ
ログシフトレジスタ(以下CCDと記す。)、電荷電圧
変換部、等から成る。R、G、Bの3原色のフィルタを
もつ受光ダイオード列51、52、53に蓄積された電
荷は、転送ゲート57に加えられるシフトパルスで各色
毎にR−CCD54、G−CCD55及びB−CCD5
6へ転送される。従って、シフトパルス間隔TSHを変更
することにより、各色の受光ダイオード51、52、5
3に電荷を蓄積する時間を変更することができる。各色
の受光ダイオード51、52、53の電荷蓄積時間は共
通であり、任意に変更することができる。CCDへの電
荷の転送は、全画素について同時に行われる。
When reading a color image, the optical sensor 5 is red (R: RED) and green (G: GREE) as shown in FIG.
N) and blue (B: BLUE) channels. Each channel includes a light receiving diode, a transfer gate, a CCD analog shift register (hereinafter referred to as CCD), a charge-voltage converter, and the like. The electric charges accumulated in the light receiving diode arrays 51, 52, 53 having filters of three primary colors of R, G, B are supplied to the R-CCD 54, G-CCD 55 and B-CCD 5 for each color by a shift pulse applied to the transfer gate 57.
6 is transferred. Therefore, by changing the shift pulse interval T SH , the light receiving diodes 51, 52, 5
3, the time for storing the electric charge can be changed. The charge accumulation time of the light receiving diodes 51, 52, 53 of each color is common and can be arbitrarily changed. The transfer of charges to the CCD is performed simultaneously for all pixels.

【0023】CCD54、55、56に転送された各色
の電荷は、ここには図示しない転送クロックにより順
次、電荷電圧変換部58、59、60に転送され、電圧
に変換される。この電圧出力はそれぞれR−増幅器11
1、G−増幅器112、B−増幅器113へ送られ増幅
される。このときの増幅率Gr、Gg、Gbはそれぞれ別
々に設定することができる。シフトパルス間隔すなわち
受光ダイオードの電荷蓄積時間や、各チャンネルの増幅
率は制御装置14に組み込まれたコンピュータプログラ
ムによって制御することができる。
The charges of each color transferred to the CCDs 54, 55, 56 are sequentially transferred to charge-voltage converters 58, 59, 60 by a transfer clock (not shown) and converted into voltages. This voltage output is supplied to the R-amplifier 11 respectively.
1, sent to the G-amplifier 112 and the B-amplifier 113 to be amplified. Amplification factor G r in this case, G g, G b can each be set separately. The shift pulse interval, that is, the charge accumulation time of the light receiving diode and the amplification factor of each channel can be controlled by a computer program incorporated in the control device 14.

【0024】光源4、6としては、希ガス冷陰極管など
の白色光源が用いられるが、光源4、6の分光特性は
R、G、Bの色毎に強度に差がある。また、受光ダイオ
ードの感度も色毎に違いがある。したがって、CCDか
らの出力は色毎に異なり、いわゆるホワイトバランスが
崩れていることがある。
As the light sources 4 and 6, a white light source such as a rare gas cold cathode tube is used, but the spectral characteristics of the light sources 4 and 6 have different intensities for each of R, G and B colors. Further, the sensitivity of the light receiving diode also differs for each color. Therefore, the output from the CCD differs for each color, and the so-called white balance may be lost.

【0025】本発明実施例の画像読み取り装置では、ホ
ワイトバランスの調整を行うため、各色のCCDからの
出力信号レベルが所定値になるように以下の手順でシフ
トパルス間隔と増幅器の増幅率の調整を行う。ホワイト
バランスの調整は、電源投入時、あるいは画像読み取り
の前に必要に応じて制御装置14内に組み込まれたコン
ピュータプログラムが実行されることによって行われ
る。
In the image reading device according to the embodiment of the present invention, in order to adjust the white balance, the shift pulse interval and the amplification factor of the amplifier are adjusted in the following procedure so that the output signal level from the CCD of each color becomes a predetermined value. I do. The adjustment of the white balance is performed by executing a computer program incorporated in the control device 14 as necessary at power-on or before image reading.

【0026】図1は本発明実施例によりホワイトバラン
スを調整する手順を示すフローチャートである。
FIG. 1 is a flowchart showing a procedure for adjusting the white balance according to the embodiment of the present invention.

【0027】まず、ステップ101では初期設定を行
う。シフトパルス間隔TSH=T0とし、R−増幅器11
1、G−増幅器112及びB−増幅器113の増幅率G
r=Gg=Gb=G0と設定する。ここで、G0はS/Nが
小さくならないように適切な値に設定する。G0が大き
いとノイズも大きく増幅されるため、高画質で画像を読
み取りたい場合はG0は小さいほうがよい。
First, in step 101, initialization is performed. The shift pulse interval T SH = T 0 and the R-amplifier 11
1. Amplification rate G of G-amplifier 112 and B-amplifier 113
It is set to r = G g = G b = G 0. Here, G 0 is set to an appropriate value so that S / N does not decrease. Since G 0 is amplified and noise is large large, if you want to read an image with high image quality G 0 better it is small.

【0028】次に、ステップ102でキャリッジを白基
準読み取り位置に移動させ、R−受光ダイオード51、
G−受光ダイオード52及びB−受光ダイオード53で
白基準としての白基準板9からの反射光を読み取る。透
過原稿の場合は、光源6からの光を原稿を通さずに読み
取る。シフトパルス間隔TSHに等しい蓄積時間が経過す
ると、各チャンネルの受光ダイオード51、52、53
の素子に蓄積された電荷はそれぞれCCD54、55、
56へ転送され、その出力はそれぞれのチャンネルの増
幅器111、112、113へ送られる。増幅器からの
出力のうち各チャンネルの1ラインのデータの最大値を
r、Vg、Vbとする。ここで最大値を用いるのは、後
の行程で蓄積時間を変更したときにCCDに蓄積される
電荷が飽和するのを防ぐため、またはA/D変換部12
での変換可能範囲を越えないためであるが、本発明とし
ては、Vr、Vg、Vbに1ラインのデータの平均値を用
いることや、ラインセンサの特定の素子、例えば中央の
素子からの出力を用いることもできる。また、本実施例
のステップ102では増幅器による増幅後の出力を比較
しているが、本発明としては増幅前の出力を用いて比較
することもできる。
Next, in step 102, the carriage is moved to the white reference reading position, and the R-light receiving diode 51,
The G-light receiving diode 52 and the B-light receiving diode 53 read the reflected light from the white reference plate 9 as a white reference. In the case of a transparent original, the light from the light source 6 is read without passing through the original. When the accumulation time equal to the shift pulse interval T SH elapses, the light receiving diodes 51, 52, 53 of each channel
The electric charges accumulated in the elements of the CCDs 54, 55,
The output is sent to the amplifiers 111, 112, 113 of the respective channels. The maximum value of the data for one line of each channel of the output from the amplifier and V r, V g, V b . Here, the maximum value is used to prevent the charge stored in the CCD from being saturated when the storage time is changed in a later process, or to use the A / D converter 12.
However, in the present invention, the average value of one line of data is used for V r , V g , and V b , and a specific element of the line sensor, for example, a central element is used. Can also be used. Although the output after amplification by the amplifier is compared in step 102 of the present embodiment, the comparison can be made using the output before amplification in the present invention.

【0029】ステップ103では、Vr、Vg、Vbを比
較し、出力の大きいチャンネルから順にチャンネル1、
2、3とし、その出力をV1、V2、V3とする。例え
ば、出力の大きさがVb>Vr>Vgの順であるならば、
チャンネル1はB、チャンネル2はR、チャンネル3は
Gであるため、V1=Vb、V2=Vr、V3=Vgとなる。
In step 103, V r , V g , and V b are compared, and channels 1 and 2 are output in descending order of output.
2, 3 and outputs thereof are V 1 , V 2 , and V 3 . For example, if the magnitude of the output is in the order of V b > V r > V g ,
Since channel 1 is B, channel 2 is R, and channel 3 is G, V 1 = V b , V 2 = V r , and V 3 = V g .

【0030】ステップ104では、ステップ103で出
力が最も大きかったチャンネル1からの出力信号レベル
が所定値(V0)になるようにシフトパルス間隔TSH
調整して、蓄積時間を変更する。ここでは、シフトパル
ス間隔TSH=T0×V0/V1と計算する。
In step 104, the accumulation time is changed by adjusting the shift pulse interval T SH so that the output signal level from the channel 1 having the largest output in step 103 becomes a predetermined value (V 0 ). Here, the shift pulse interval T SH is calculated as T SH = T 0 × V 0 / V 1 .

【0031】ステップ105では、ステップ104で計
算したシフトパルス間隔TSHで、ステップ103で出力
が最も大きかったチャンネル1のCCDにより再び白基
準を読み取り、増幅器からの出力をV1とする。ステッ
プ102でVr、Vg、Vbとして平均値を用いた場合、
ステップ105でも平均値を再度求める必要がある。ス
テップ102で特定の素子の出力値を用いた場合、ステ
ップ105では同じ素子の出力値を用いる。ステップ1
02で最大値を用いた場合、再度最大値を選ぶことも、
ステップ102で最大値であった素子の出力値を用いる
こともできる。
[0031] At step 105, the shift pulse interval T SH calculated in step 104, reading again the white reference by the largest was of the channel 1 CCD output in step 103, the output from the amplifier and V 1. When the average value is used as V r , V g , and V b in step 102,
In step 105, it is necessary to obtain the average again. When the output value of a specific element is used in step 102, the output value of the same element is used in step 105. Step 1
When the maximum value is used in 02, the maximum value can be selected again,
The output value of the element which was the maximum value in step 102 can be used.

【0032】ステップ106で、V1とV0が等しいと判
定されれば、ステップ107で、そのときのTSHを最終
のシフトパルス間隔T1と決定する。本実施例において
はV1とV0との差が所定の範囲内、例えば±2%以内で
あれば、等しいと判定する。VbとV0とが差が所定の範
囲外であれば、ステップ104に戻り再びTSHを設定し
なおす。
If it is determined in step 106 that V 1 and V 0 are equal, in step 107, T SH at that time is determined as the final shift pulse interval T 1 . Range difference is given between V 1 and V 0 in this embodiment, if for example Within ± 2% at judges equal. If V b and V 0 and is out of the range difference is given, reset again T SH returns to step 104.

【0033】以上の行程により、シフトパルス間隔が決
定される。
The shift pulse interval is determined by the above steps.

【0034】次に、ステップ201では、シフトパルス
間隔TSHをステップ107で決定したT1とし、ステッ
プ103で最も出力が大きいとされた以外のチャンネル
2、3の増幅率をG2=G3=G0と設定する。上述のス
テップ103での出力の大きさがVb>Vr>Vgの順で
ある例であれば、チャンネル2はR、チャンネル3はG
である。
Next, in step 201, the shift pulse interval T SH is set to T 1 determined in step 107, and the amplification factors of the channels 2 and 3 other than the output which is determined to be the largest in step 103 are G 2 = G 3 = G 0 is set. In the example the magnitude of the output in step 103 described above in the order of V b> V r> V g , channel 2 R, channel 3 G
It is.

【0035】ステップ202では、設定されたシフトパ
ルス間隔及び増幅率でチャンネル2及び3のCCDによ
り白基準を読み取り、増幅器からの出力をV2、V3とす
る。ここでのV2、V3の決定方法は、ステップ105で
のV1の決定方法と同様である。
In step 202, the white reference is read by the CCDs of channels 2 and 3 at the set shift pulse interval and amplification rate, and the outputs from the amplifiers are set to V 2 and V 3 . The method of determining V 2 and V 3 here is the same as the method of determining V 1 in step 105.

【0036】ステップ203で、V2とV0が等しく、か
つ、V3とV0が等しいと判定されると、ステップ204
で、そのときのG2、G3をチャンネル2、3の最終の増
幅率と決定する。本実施例においてはV2及びV3とV0
との差が所定の範囲内、例えば±2%以内であれば、等
しいと判定する。ステップ103での出力の大きさがV
b>Vr>Vgの順である例の場合は、Gb=G0、Gr=G
2、Gg=G3と決定される。
If it is determined in step 203 that V 2 and V 0 are equal and V 3 and V 0 are equal, step 204
Then, G 2 and G 3 at that time are determined as the final amplification factors of the channels 2 and 3. In this embodiment, V 2, V 3 and V 0
If the difference is within a predetermined range, for example, within ± 2%, it is determined that they are equal. The magnitude of the output at step 103 is V
For forward a is an example of b> V r> V g, G b = G 0, G r = G
2 , G g = G 3 is determined.

【0037】ステップ203で、V2及びV3とV0とが
等しくないと判定された場合は、ステップ205で、チ
ャンネル2及びチャンネル3の増幅器からの出力信号レ
ベルがV0になるように、G2=G0×V0/V2、G3=G
0×V0/V3と計算し、ステップ202に戻る。
If it is determined in step 203 that V 2 and V 3 are not equal to V 0 , then in step 205, the output signal levels from the channel 2 and channel 3 amplifiers become V 0 . G 2 = G 0 × V 0 / V 2 , G 3 = G
Calculate 0 × V 0 / V 3 and return to step 202.

【0038】本実施例では、V2とV0、及びV3とV0
同時に比較してV2とV3を設定しているが、V2とV3
を別々に設定することもできる。
[0038] In this embodiment, V 2 and V 0, and although the V 3 and V 0 are compared simultaneously have set V 2 and V 3, also set the V 2 and V 3 independently it can.

【0039】上記のようにシフトパルス間隔および各チ
ャンネルの増幅器の増幅率を設定することにより、白基
準を読み取ったときに最も出力が大きいチャンネルにつ
いての増幅率はG0と一定の値とすることができ、光源
やCCDのチャンネル毎のばらつき、光源の劣化などに
より増幅率が増大することがないので、S/Nの低下を
最小限とし、高画質で画像を読み取ることができる。
By setting the shift pulse interval and the amplification factor of the amplifier of each channel as described above, the amplification factor of the channel having the largest output when reading the white reference is set to a constant value of G 0. Since the amplification factor does not increase due to variations in the light source or CCD channel, deterioration of the light source, etc., it is possible to minimize the decrease in S / N and read an image with high image quality.

【0040】また、各チャンネル間の出力の差は増幅率
を変更することにより調整するため、読み捨て時間など
のロス時間も発生することがなく、高速に画像を読み取
ることができる。
Further, since the difference in output between the channels is adjusted by changing the amplification factor, an image can be read at high speed without any loss time such as a discard time.

【0041】本実施例はフラットベッド型スキャナで示
したが、シートフィードスキャナ、フィルムスキャナに
おいても同様の方法で効果が得られる。また、光センサ
としてCCDラインセンサを用いたが、蓄積型の光セン
サであれば同様の方法で効果が得られる。また、チャン
ネル毎に増幅率を変更する増幅率変更手段として、増幅
器を用いたが、A/D変換器の基準電圧をチャンネル毎
に変更しても全く同様の効果が得られる。
Although the present embodiment has been described with reference to a flatbed type scanner, the same effect can be obtained in a sheet feed scanner and a film scanner. Further, although a CCD line sensor is used as the optical sensor, an effect can be obtained by the same method as long as it is a storage type optical sensor. Further, although an amplifier is used as the gain changing means for changing the gain for each channel, the same effect can be obtained even if the reference voltage of the A / D converter is changed for each channel.

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

【図1】本発明の実施例における画像読み取り装置によ
りホワイトバランスを調整する手順を示すフローチャー
トである。
FIG. 1 is a flowchart illustrating a procedure for adjusting white balance by an image reading apparatus according to an embodiment of the present invention.

【図2】本発明の実施例における画像読み取り装置の一
例の概略構造を示すブロック図である。
FIG. 2 is a block diagram illustrating a schematic structure of an example of an image reading device according to an embodiment of the present invention.

【図3】本発明の実施例における画像読み取り装置の信
号処理装置の機能構成を示すブロック図である。
FIG. 3 is a block diagram illustrating a functional configuration of a signal processing device of the image reading device according to the embodiment of the present invention.

【図4】本発明の実施例における画像読み取り装置の光
センサおよび増幅器の構成を示すブロック図である。
FIG. 4 is a block diagram illustrating a configuration of an optical sensor and an amplifier of the image reading device according to the embodiment of the present invention.

【図5】従来の画像読み取り装置において読み捨てサイ
クルを入れたシフトパルス間隔の調整方法を示す図であ
る。
FIG. 5 is a diagram illustrating a method of adjusting a shift pulse interval including a read-discard cycle in a conventional image reading apparatus.

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

1 原稿台 2 筐体 3 キャリッジ 4 光源 5 光センサ 51 R−受光ダイオード 52 G−受光ダイオード 53 B−受光ダイオード 54 R−アナログシフトレジスタ(R−CCD) 55 G−アナログシフトレジスタ(G−CCD) 56 B−アナログシフトレジスタ(B−CCD) 57 転送ゲート 58 電荷電圧変換部 59 電荷電圧変換部 60 電荷電圧変換部 6 光源 7 集光レンズ 8 原稿 11 増幅器 111 R−増幅器 112 G−増幅器 113 B−増幅器 12 A/D変換部 13 デジタル補正部 14 制御装置 15 インターフェース REFERENCE SIGNS LIST 1 platen 2 housing 3 carriage 4 light source 5 light sensor 51 R-light receiving diode 52 G-light receiving diode 53 B-light receiving diode 54 R-analog shift register (R-CCD) 55 G-analog shift register (G-CCD) 56 B-analog shift register (B-CCD) 57 transfer gate 58 charge-voltage converter 59 charge-voltage converter 60 charge-voltage converter 6 light source 7 condenser lens 8 original 11 amplifier 111 R-amplifier 112 G-amplifier 113 B- Amplifier 12 A / D conversion unit 13 Digital correction unit 14 Control device 15 Interface

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 光源により原稿を照射して原稿からの光
を電気信号に変換する画像読み取り装置において、 前記原稿からの光を電気信号に変換する複数のチャンネ
ルを有する光センサと、 白色基準を定める白基準と、 前記光センサの複数のチャンネルのそれぞれの出力を増
幅し、チャンネル毎に増幅率を変更することのできる複
数の増幅器と、 前記光センサで前記白基準を読み取ったときの前記複数
のチャンネルの出力を比較し、最も出力信号レベルが大
きいチャンネルの出力信号が所定の信号レベルになるよ
うに蓄積時間を変更する蓄積時間変更手段と、 前記蓄積時間において、他のチャンネルの増幅器からの
出力信号が所定値になるように増幅器の増幅率を変更す
る増幅率変更手段と、を備えることを特徴とする画像読
み取り装置。
1. An image reading apparatus for irradiating an original with a light source and converting light from the original into an electric signal, comprising: an optical sensor having a plurality of channels for converting light from the original into an electric signal; A predetermined white reference; a plurality of amplifiers capable of amplifying respective outputs of a plurality of channels of the optical sensor and changing an amplification factor for each channel; and the plurality of amplifiers when the white reference is read by the optical sensor. A storage time changing unit that compares the outputs of the channels of the first and second channels and changes the storage time so that the output signal of the channel with the highest output signal level becomes a predetermined signal level; An image reading apparatus comprising: an amplification factor changing unit that changes an amplification factor of an amplifier so that an output signal has a predetermined value.
【請求項2】 前記光源は白色光源であり、前記光セン
サの複数のチャンネルは、赤、緑および青の光の強度を
読み取る3つのチャンネルであることを特徴とする請求
項1に記載の画像読み取り装置。
2. The image according to claim 1, wherein the light source is a white light source, and the plurality of channels of the light sensor are three channels for reading the intensity of red, green, and blue light. Reader.
【請求項3】 前記光センサは、複数の光電変換素子を
配列したラインセンサであることを特徴とする請求項1
または2のいずれか一項に記載の画像読み取り装置。
3. The optical sensor according to claim 1, wherein the optical sensor is a line sensor in which a plurality of photoelectric conversion elements are arranged.
Or the image reading device according to any one of 2.
【請求項4】 前記光センサで前記白基準を読み取った
ときの前記複数のチャンネルの出力を比較するときは、
前記ラインセンサの複数の素子から出力された出力の最
大値を用いることを特徴とする請求項3に記載の画像読
み取り装置。
4. When comparing the outputs of the plurality of channels when the optical sensor reads the white reference,
The image reading apparatus according to claim 3, wherein a maximum value of outputs output from a plurality of elements of the line sensor is used.
【請求項5】 前記蓄積時間変更手段は、前記最も出力
信号レベルが大きいチャンネルの出力値と所定値との差
が所定範囲外であるときは蓄積時間を再設定することを
特徴とする請求項1〜4のいずれか一項に記載の画像読
み取り装置。
5. The storage time changing means resets the storage time when a difference between an output value of the channel having the highest output signal level and a predetermined value is outside a predetermined range. The image reading device according to any one of claims 1 to 4.
【請求項6】 前記増幅率変更手段は、前記最も出力信
号レベルが大きいチャンネル以外の増幅器からの出力値
と所定値との差が所定範囲外であるときは該チャンネル
の増幅率を再設定することを特徴とする請求項1〜5の
いずれか一項に記載の画像読み取り装置。
6. The amplification factor changing means resets the amplification factor of a channel when a difference between an output value from an amplifier other than a channel having the highest output signal level and a predetermined value is outside a predetermined range. The image reading device according to claim 1, wherein:
JP9203195A 1997-07-29 1997-07-29 Image reader Pending JPH1155509A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9203195A JPH1155509A (en) 1997-07-29 1997-07-29 Image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9203195A JPH1155509A (en) 1997-07-29 1997-07-29 Image reader

Publications (1)

Publication Number Publication Date
JPH1155509A true JPH1155509A (en) 1999-02-26

Family

ID=16470046

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9203195A Pending JPH1155509A (en) 1997-07-29 1997-07-29 Image reader

Country Status (1)

Country Link
JP (1) JPH1155509A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7009740B2 (en) 2000-07-28 2006-03-07 Canon Kabushiki Kaisha Image processing apparatus, image processing method and recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7009740B2 (en) 2000-07-28 2006-03-07 Canon Kabushiki Kaisha Image processing apparatus, image processing method and recording medium

Similar Documents

Publication Publication Date Title
EP1289265B1 (en) Processing of signals from an image sensor consisting of a plurality of sensor chips
US20070070223A1 (en) Image pickup apparatus and image processing method
US9992375B2 (en) Image reading device illuminating a white reference member at a lower luminous intensity to generate black correction data for shading correction
US8107137B2 (en) 4-line CCD sensor and image input apparatus using the same
US6753914B1 (en) Image correction arrangement
US7773805B2 (en) Method and apparatus for flare cancellation for image contrast restoration
US20030072495A1 (en) Image reading apparatus and image reading method
JPH0799850B2 (en) Image reading device for image recording device
US20060103746A1 (en) Image capture device
JP4192111B2 (en) Image input device
JP4013402B2 (en) Image reading device
JPH1188898A (en) Image reader
JPH1155509A (en) Image reader
JP3147887B2 (en) Method of measuring linearity of imaging device and image reading device
JP2001016399A (en) Image reader
JP3287722B2 (en) Image reading device
JPH0416087A (en) Picture reader
JP2001309393A (en) Imaging unit
JP2000125084A (en) Document reader
JPH05191575A (en) Original reader
JP3041020B2 (en) Reading device and reading method
JP3048876B2 (en) Image reading device
JP2003244453A (en) Image reader
JPH114326A (en) Image pickup device
JPH0766987A (en) Original reader

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040720

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040727

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050301