JPH0662246A - Correcting method for dark time signal for image reader - Google Patents

Correcting method for dark time signal for image reader

Info

Publication number
JPH0662246A
JPH0662246A JP4216128A JP21612892A JPH0662246A JP H0662246 A JPH0662246 A JP H0662246A JP 4216128 A JP4216128 A JP 4216128A JP 21612892 A JP21612892 A JP 21612892A JP H0662246 A JPH0662246 A JP H0662246A
Authority
JP
Japan
Prior art keywords
correction value
subtraction circuit
error
terminal
signal
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
JP4216128A
Other languages
Japanese (ja)
Inventor
Kazuya Umeyama
一也 梅山
Atsushi Yoshida
淳 吉田
Kenji Ozawa
健二 小沢
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.)
Seikosha KK
Original Assignee
Seikosha KK
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 Seikosha KK filed Critical Seikosha KK
Priority to JP4216128A priority Critical patent/JPH0662246A/en
Publication of JPH0662246A publication Critical patent/JPH0662246A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To accurately correct a dark time signal at an image reader. CONSTITUTION:The dark time signal from an array-shaped photosensor 11 is inputted to one terminal of a subtraction circuit 12, the other terminal of the subtraction circuit 12 is held at a fixed value, and a first correction value is stored corresponding to a signal outputted from the subtraction circuit 12 at that time. Next, the dark time signal from the photo-sensor 11 is inputted to one terminal of the subtraction circuit 12, the first correction value is inputted to the other terminal of the subtraction circuit 12, and error between a value corresponding to the signal outputted from the subtraction circuit 12 at that time and the first correction value is calculated. When the error is not settled within a previously decided range, a second correction value prepared based on the error is stored.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、画像読取り装置におけ
る暗時信号の補正方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dark signal correction method in an image reading apparatus.

【0002】[0002]

【従来の技術】CCD等の複数のセルをアレイ状に設け
た光センサによって原稿面を読取る場合、暗時において
も光センサの出力からはオフセット(暗時信号)が生じ
ており、このオフセット値は各セル毎にばらついてい
る。したがって、予めオフセット値を各セル毎に記憶し
ておき、原稿面を読取る際にこのオフセット値を差引く
ことにより、暗時補正を行なっている。
2. Description of the Related Art When a document surface is read by an optical sensor having a plurality of cells such as CCDs arranged in an array, an offset (dark signal) is produced from the output of the optical sensor even in the dark. Varies from cell to cell. Therefore, the offset value is stored in advance for each cell, and the dark correction is performed by subtracting the offset value when reading the document surface.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
補正方法では補正デ―タの作成を1回しか行なわないた
め、補正誤差が大きくなったり、電気系のオフセット誤
差を除去できない等の問題点があった。
However, in the conventional correction method, since the correction data is created only once, there are problems that the correction error becomes large and the offset error of the electric system cannot be removed. there were.

【0004】本発明の目的は、画像読取り装置におい
て、精度よく暗時信号の補正を行なうことが可能な方法
を提供することである。
It is an object of the present invention to provide a method capable of accurately correcting a dark signal in an image reading device.

【0005】[0005]

【課題を解決するための手段】本発明における画像読取
り装置の暗時信号の補正方法は、アレイ状の光センサか
らの暗時信号を減算回路の一方の端子に入力するととも
に上記減算回路の他方の端子を一定値に保持し、そのと
きに上記減算回路から出力される信号に対応した第1補
正値を記憶する過程と、上記光センサからの暗時信号を
上記減算回路の一方の端子に入力するとともに上記減算
回路の他方の端子に上記第1補正値を入力し、そのとき
に上記減算回路から出力される信号に対応した値と上記
第1補正値との誤差を求める過程と、上記誤差が予め決
められた範囲にないときに上記誤差に基いて作成される
第2補正値を記憶する過程とを有する。
According to the method of correcting a dark signal of an image reading apparatus in the present invention, a dark signal from an array of photosensors is input to one terminal of a subtraction circuit and the other of the subtraction circuits is input. Of the first correction value corresponding to the signal output from the subtraction circuit at that time, and the dark signal from the photosensor to one terminal of the subtraction circuit. A step of inputting the first correction value to the other terminal of the subtraction circuit and at the same time obtaining an error between the value corresponding to the signal output from the subtraction circuit and the first correction value; Storing a second correction value created based on the error when the error is not within a predetermined range.

【0006】[0006]

【実施例】図1は実施例を示したブロック図、図2は図
1の動作を示したフロ―チャ―トである。
1 is a block diagram showing an embodiment, and FIG. 2 is a flow chart showing the operation of FIG.

【0007】光センサ11は、複数のセルをアレイ状に
設けたものであり、CCD等のライン状のセンサで構成
されている。減算回路12は、そのプラス入力に光電変
換信号を入力し、そのマイナス入力に後述のD/A変換
回路17から出力される補正デ―タをゲインアンプ18
およびスイッチ19を通して入力するものである。A/
D変換回路13は、減算回路12からの出力をA/D変
換するものである。ラインバッファメモリ14は、A/
D変換回路13からの出力を一時的に記憶するものであ
る。CPU15は、ラインバッファメモリ14からのデ
―タとRAM16からのテ―タとの比較動作等を行なう
ものである。RAM16は、CPU15等からの補正デ
―タを記憶するものである。D/A変換回路17は、補
正デ―タをD/A変換してゲインアンプ18に送出する
ものである。スイッチ19は、ゲインアンプ18の出力
またはグランド端子のいずれか一方を減算回路に入力す
るものである。
The optical sensor 11 comprises a plurality of cells arranged in an array and is composed of a linear sensor such as a CCD. The subtraction circuit 12 inputs the photoelectric conversion signal to its plus input, and inputs the correction data output from a D / A conversion circuit 17 described later to its minus input to the gain amplifier 18
And input through the switch 19. A /
The D conversion circuit 13 is for A / D converting the output from the subtraction circuit 12. The line buffer memory 14 is A /
The output from the D conversion circuit 13 is temporarily stored. The CPU 15 performs a comparison operation between the data from the line buffer memory 14 and the data from the RAM 16. The RAM 16 stores the correction data from the CPU 15 and the like. The D / A conversion circuit 17 D / A converts the correction data and sends it to the gain amplifier 18. The switch 19 inputs either the output of the gain amplifier 18 or the ground terminal to the subtraction circuit.

【0008】つぎに、図1の動作を図2のフロ―チャ―
トを参照して説明する。
Next, the operation of FIG. 1 will be described with reference to the flow chart of FIG.
It will be described with reference to FIG.

【0009】スイッチ19をグランド側にした状態で
(a)、光センサ11を暗状態にし、暗時信号を減算回
路12に入力する。減算回路12からの信号はA/D変
換回路13を通してラインバッファメモリ14に入力さ
れる(b)。ラインバッファメモリ14のデ―タは初期
補正値(第1補正値)として、RAM16に記憶される
(c)。すなわち、光センサ11の各セル毎の暗時信号
に対応したデ―タがRM16に記憶されることになる。
With the switch 19 set to the ground side (a), the photosensor 11 is set to the dark state and the dark signal is input to the subtraction circuit 12. The signal from the subtraction circuit 12 is input to the line buffer memory 14 through the A / D conversion circuit 13 (b). The data of the line buffer memory 14 is stored in the RAM 16 as an initial correction value (first correction value) (c). That is, the data corresponding to the dark signal for each cell of the optical sensor 11 is stored in the RM 16.

【0010】つぎに、スイッチ19をゲインアンプ18
側すなわちRAM16側にした状態で(d)、光センサ
11からの暗時信号を再び減算回路12に入力する
(e)。減算回路12からの信号はA/D変換回路13
を通してラインバッファメモリ14に入力され、CPU
15によりRAM16内の補正値すなわち初期補正値と
比較され、両者の誤差が求められる(f)。誤差が予め
決められた一定値よりも小さい場合には(g)、初期補
正値を最終的な補正値とし、補正値作成動作は終了す
る。
Next, the switch 19 is set to the gain amplifier 18
Side (i.e., the RAM 16 side) (d), the dark signal from the optical sensor 11 is input to the subtraction circuit 12 again (e). The signal from the subtraction circuit 12 is the A / D conversion circuit 13
Input to the line buffer memory 14 through the CPU
The value 15 is compared with the correction value in the RAM 16, that is, the initial correction value, and the error between them is obtained (f). When the error is smaller than the predetermined constant value (g), the initial correction value is set as the final correction value, and the correction value creation operation is ended.

【0011】上記誤差が一定値よりも大きい場合には
(g)、初期補正値(第1補正値)に代えて新補正値
(第2補正値)が作成される(h)。通常は、誤差の半
分を初期補正値に加えるかまたは減じるかして、新補正
値を作成する。そして、新補正値が初期補正値の代わり
にRAM16に記憶される(i)。
If the error is larger than a certain value (g), a new correction value (second correction value) is created instead of the initial correction value (first correction value) (h). Usually, half of the error is added to or subtracted from the initial correction value to create a new correction value. Then, the new correction value is stored in the RAM 16 instead of the initial correction value (i).

【0012】このようにして新補正値がRAM16に記
憶されると、再び上記d〜iの動作が行なわれる。すな
わち、再び光センサ11からの暗時信号に基くデ―タと
新補正値(第2補正値)との誤差が求められる。そし
て、誤差が上記一定値よりも小さい場合には、第2補正
値を最終的な補正値として、補正値作成動作は終了す
る。誤差が一定値よりも大きい場合には、先に述べた方
法と同様にして、第2補正値の代わりに新補正値(第3
補正値)がRAM16に記憶される。
When the new correction value is stored in the RAM 16 in this way, the operations d to i are performed again. That is, the error between the data based on the dark signal from the optical sensor 11 and the new correction value (second correction value) is obtained again. Then, when the error is smaller than the above-mentioned fixed value, the second correction value is set as the final correction value, and the correction value creating operation is ended. When the error is larger than the constant value, the new correction value (third correction value)
The correction value) is stored in the RAM 16.

【0013】以下同様にして、誤差が一定値よりも小さ
くなるまで上記d〜iの動作が行なわれる。
In the same manner, the above operations d to i are performed until the error becomes smaller than a constant value.

【0014】[0014]

【発明の効果】本発明では、誤差が一定値よりも小さく
なるまで補正動作を行なうので、精度よく暗時信号の補
正を行なうことが可能となる。
According to the present invention, since the correction operation is performed until the error becomes smaller than a fixed value, it is possible to accurately correct the dark signal.

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

【図1】本発明の実施例を示したブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】図1の動作を示したフロ―チャ―トである。FIG. 2 is a flow chart showing the operation of FIG.

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

11……光センサ 12……減算回路 15……CPU 16……RAM 11 ... Optical sensor 12 ... Subtraction circuit 15 ... CPU 16 ... RAM

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 アレイ状の光センサからの暗時信号を減
算回路の一方の端子に入力するとともに上記減算回路の
他方の端子を一定値に保持し、そのときに上記減算回路
から出力される信号に対応した第1補正値を記憶する過
程と、 上記光センサからの暗時信号を上記減算回路の一方の端
子に入力するとともに上記減算回路の他方の端子に上記
第1補正値を入力し、そのときに上記減算回路から出力
される信号に対応した値と上記第1補正値との誤差を求
める過程と、 上記誤差が予め決められた範囲にないときに上記誤差に
基いて作成される第2補正値を記憶する過程とを有する
画像読取り装置の暗時信号の補正方法。
1. A dark signal from an array of photosensors is input to one terminal of a subtraction circuit and the other terminal of the subtraction circuit is held at a constant value, and at that time is output from the subtraction circuit. The process of storing the first correction value corresponding to the signal, and the dark signal from the photosensor is input to one terminal of the subtraction circuit and the first correction value is input to the other terminal of the subtraction circuit. , A step of obtaining an error between the value corresponding to the signal output from the subtraction circuit and the first correction value at that time, and when the error is not within a predetermined range, it is created based on the error. A method for correcting a dark signal of an image reading apparatus, the method including storing a second correction value.
JP4216128A 1992-08-13 1992-08-13 Correcting method for dark time signal for image reader Pending JPH0662246A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4216128A JPH0662246A (en) 1992-08-13 1992-08-13 Correcting method for dark time signal for image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4216128A JPH0662246A (en) 1992-08-13 1992-08-13 Correcting method for dark time signal for image reader

Publications (1)

Publication Number Publication Date
JPH0662246A true JPH0662246A (en) 1994-03-04

Family

ID=16683703

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4216128A Pending JPH0662246A (en) 1992-08-13 1992-08-13 Correcting method for dark time signal for image reader

Country Status (1)

Country Link
JP (1) JPH0662246A (en)

Similar Documents

Publication Publication Date Title
US20020122129A1 (en) CMOS image sensor improving picture quality
US4745488A (en) Image reader
EP0484924B1 (en) Image signal correcting circuit device for use in image data processing apparatus
JP3804113B2 (en) Solid-state imaging device
JPS58172061A (en) Signal processor
US20020012127A1 (en) Image reading device and image forming apparatus
JPH0662246A (en) Correcting method for dark time signal for image reader
JPS5814671A (en) Picture signal processor
JP3091084B2 (en) Signal processing circuit
JPH05183143A (en) Multielement light sensor device
JPH06292000A (en) Method for correcting read signal in picture reader
JPS63228882A (en) Image signal processing system
JP4103901B2 (en) Solid-state imaging device
JP3226534B2 (en) Document reading device
JPS62163470A (en) Image processor
JP3112962B2 (en) Image reading device
JPH06164917A (en) Picture reader
JPH05207278A (en) Picture reader
JPH04291575A (en) Image scanner
JPH065882B2 (en) Image sensor output correction circuit
JPS62180669A (en) Original reader
JPH0879518A (en) Method and device for image reading
JPS61135276A (en) Shading corrector
JPH01228373A (en) Image input device
JPH0654947B2 (en) Signal processor