JP3105936B2 - Image reading device - Google Patents

Image reading device

Info

Publication number
JP3105936B2
JP3105936B2 JP03101647A JP10164791A JP3105936B2 JP 3105936 B2 JP3105936 B2 JP 3105936B2 JP 03101647 A JP03101647 A JP 03101647A JP 10164791 A JP10164791 A JP 10164791A JP 3105936 B2 JP3105936 B2 JP 3105936B2
Authority
JP
Japan
Prior art keywords
image
correction data
ratio
read
reference plate
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
JP03101647A
Other languages
Japanese (ja)
Other versions
JPH04331571A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP03101647A priority Critical patent/JP3105936B2/en
Publication of JPH04331571A publication Critical patent/JPH04331571A/en
Application granted granted Critical
Publication of JP3105936B2 publication Critical patent/JP3105936B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Facsimile Image Signal Circuits (AREA)

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 reading an image using an image sensor, such as a facsimile, a digital copying machine, a video camera and the like.

【0002】[0002]

【従来の技術】一般に、原稿からの反射光をCCD等の
イメージセンサにより光電変換して読取る装置では、主
として、 光源の照度分布特性(即ち、光源の両端よりも中央
部のほうが照度が高い分布を持つ) レンズの集光特性(レンズの中央に光が集まるとい
う、いわゆるコサイン4乗則がある) イメージセンサの画素毎の感度ムラ といった理由により、シェーディング補正という感度補
正を行うようにしている。
2. Description of the Related Art In general, in an apparatus for reading reflected light from a document by photoelectrically converting the reflected light from an image sensor such as a CCD, the illuminance distribution characteristic of a light source (that is, a distribution in which the illuminance is higher at the center than at both ends of the light source). The light-collecting characteristics of the lens (there is a so-called cosine fourth law in which light converges at the center of the lens) Sensitivity correction called shading correction is performed due to unevenness in sensitivity of each pixel of the image sensor.

【0003】この補正方式は種々あり、シェーディング
補正板等を用いる機械的補正方式の他に、シェーディン
グ補正データを用いる電気的補正方式がある。この電気
的補正方式は、白色基準板を用い、その画像読取り画像
データに基づき1ライン分に渡って平坦になるようなシ
ェーディング補正データを各画素毎に作成してROMに
格納しておき、実際の画像読取り時にはこのシェーディ
ング補正データにより各画素の画像データを補正して出
力することを基本とする。
[0003] There are various types of correction methods, and in addition to a mechanical correction method using a shading correction plate or the like, there is an electrical correction method using shading correction data. This electrical correction method uses a white reference plate, creates shading correction data for each pixel based on the read image data, and stores the shading correction data for each pixel in a ROM. When reading an image, the image data of each pixel is corrected and output based on the shading correction data.

【0004】このようにシェーディング補正を電気的に
行う場合、平坦化率が問題になる。「平坦化率」とは、
読取った画像データの主走査上でのピーク値に対して何
%までシェーディング補正をするかを意味するもので、
この平坦化率が大きいほどS/Nとしてはよいが、その
分、主走査方向両端の受光量の少ない画素の補正ができ
なくなってしまう。つまり、平坦化率は、白色基準板を
読取った時の画像有効範囲での最大値に対する最小値の
比率であることが望ましい。従って、例えば40%のよ
うに特定されたある平坦化率に対するシェーディング補
正データをROMに格納しておいても、その平坦化率自
体が適切であるか否か判らず、適切なシェーディング補
正ができないことになる。
[0004] When the shading correction is performed electrically as described above, the flattening rate becomes a problem. The “flattening rate”
It means what percentage of shading correction is applied to the peak value of the read image data on the main scan.
The higher the flattening rate is, the better the S / N ratio is, but the correspondingly, it becomes impossible to correct the pixels at both ends in the main scanning direction with a small amount of received light. That is, it is desirable that the flattening ratio is a ratio of the minimum value to the maximum value in the image effective range when the white reference plate is read. Therefore, even if the shading correction data for a certain flattening rate specified as, for example, 40% is stored in the ROM, it is not known whether or not the flattening rate itself is appropriate, so that appropriate shading correction cannot be performed. Will be.

【0005】このような点に鑑み、シェーディング補正
用データを格納する複数のROMを設け、30%,40
%,50%,60%のように複数の平坦化率に応じた補
正データ群を格納しておき、平坦化率を選択して対応す
る補正データ群を選択使用するようにしたものが特願平
1−295269号として本出願人により提案されてい
る。この場合、平坦化率の選択は、例えば白色基準板を
読取って得られる画像データ中から、主走査方向上にお
いて、最大値と最小値とを検出してその比率により平坦
化率を求め、この平坦化率に最も近い設定平坦化率を選
択するようにしている。このような複数平坦化率方式に
よれば、単一平坦化方式のように、平坦化率が高すぎて
両端の光量の少ない部分の補正ができないとか、平坦化
率が低すぎてS/Nが悪くなるといった不都合が回避さ
れる。
In view of the above, a plurality of ROMs for storing shading correction data are provided, and 30%, 40%
Japanese Patent Application Laid-Open Publication No. Hei 9 (1995) -19764 discloses a method in which correction data groups corresponding to a plurality of flattening rates such as%, 50%, and 60% are stored, and a flattening rate is selected and a corresponding correction data group is selected and used. It has been proposed by the present applicant as Japanese Patent Application No. 1-295269. In this case, the flattening rate is selected, for example, by detecting the maximum value and the minimum value in the main scanning direction from the image data obtained by reading the white reference plate and obtaining the flattening rate by the ratio. The set flattening rate closest to the flattening rate is selected. According to such a plural flattening rate method, unlike the single flattening method, the flattening rate is too high to correct the portion where the amount of light is small at both ends, or the flattening rate is too low and the S / N ratio is too low. Inconveniences such as worsening are avoided.

【0006】[0006]

【発明が解決しようとする課題】ところが、このような
提案例方式によっても、次のような課題がある。即ち、
白色基準板を読取った場合の最大値と最小値との比率は
予め判っている訳でないので、より適切な補正を行わせ
るためには、多数の平均化率を想定して多数の補正デー
タ群を用意しておかなくてはならず、大容量のROMを
必要とし、コスト高となる。特に、光源として蛍光灯を
用いた場合には、中央部と端部との光量の比率が、点灯
経過時間によって大幅に変わることが知られており、こ
れに対処するには多数の平均化率が必要となる。また、
このように多数の平均化率を用意したとしても、その個
数には限度があり、本来的に最大値と最小値との比率が
任意である点を考えると、その時点の比率に最適な補正
データ群はとれず、どうしても飛び飛びの値となり、必
ずしも最適な補正ができないものである。
However, the following problems are also caused by such a proposed example system. That is,
Since the ratio between the maximum value and the minimum value when the white reference plate is read is not known in advance, in order to perform more appropriate correction, a large number of correction data groups are assumed assuming a large number of averaging rates. Must be prepared, a large-capacity ROM is required, and the cost is high. In particular, when a fluorescent lamp is used as the light source, it is known that the ratio of the amount of light between the center part and the end part greatly changes depending on the elapsed lighting time. Is required. Also,
Even if a large number of averaging rates are prepared in this way, the number of the averaging rates is limited, and considering that the ratio between the maximum value and the minimum value is essentially arbitrary, the optimal correction for the ratio at that time is considered. A data group cannot be obtained, and the values are inevitably skipped, so that optimal correction cannot always be performed.

【0007】[0007]

【課題を解決するための手段】シェーディング補正用の
白色基準板と、画像及び前記白色基準板を読取る多数の
素子を備えたイメージセンサと、読取られた画信号をA
/D変換するA/D変換器と、前記白色基準板から読取
られた画信号を前記A/D変換器により変換したデジタ
ル値を格納するRAMと、白色基準板から読取られる画
信号の内から最大値と最小値とを検出する最大・最小値
検出器と、検出された最大値と最小値との比率を算出す
る比率演算器と、前記RAMから読出される各素子の前
記画信号毎に前記比率演算器により算出された比率を用
いてその素子に対するシェーディング補正データを作成
する補正データ作成器と、画像から読取られた各素子毎
の画信号に対し作成されたシェーディング補正データを
用いて補正演算する演算器とを設けた。
A white reference plate for shading correction, an image sensor having a large number of elements for reading an image and the white reference plate, and a read image signal for A
An A / D converter for performing A / D conversion, a RAM for storing a digital value obtained by converting the image signal read from the white reference plate by the A / D converter, and an image signal read from the white reference plate. A maximum / minimum value detector for detecting a maximum value and a minimum value, a ratio calculator for calculating a ratio between the detected maximum value and the minimum value, and for each image signal of each element read from the RAM. A correction data generator for generating shading correction data for the element using the ratio calculated by the ratio calculator, and correction using shading correction data generated for an image signal for each element read from the image And a computing unit for computing.

【0008】[0008]

【作用】最大・最小値検出器により白色基準板について
の読取り画信号の最大値と最小値とを検出し、比率演算
器でその比率を算出し、算出された比率を用いて補正デ
ータ作成器によりイメージセンサの各素子毎にシェーデ
ィング補正データを作成し、この補正データを用いて演
算器で本来の画像についての画信号を補正するので、任
意の平坦化率に対して最適な補正データを用いた補正が
可能となる。この際、ROMを必要としないので、低コ
ストで済むものとなる。
The maximum / minimum value detector detects the maximum value and the minimum value of the read image signal for the white reference plate, calculates the ratio with a ratio calculator, and uses the calculated ratio to generate a correction data generator. Creates shading correction data for each element of the image sensor, and uses the correction data to correct the image signal for the original image with the computing unit. Correction can be performed. In this case, since a ROM is not required, the cost can be reduced.

【0009】[0009]

【実施例】本発明の一実施例を図面に基づいて説明す
る。図中、実線経路は画像読取時の経路を示し、破線経
路は白色基準板(図示せず)を用いたシェーディングデ
ータ読取り時の経路を示す。まず、演算器となるD/A
変換器1と増幅器2とD/A変換器3とRAM4とが順
に設けられている。さらに、白色基準板から読取られた
画信号の最大値と最小値とを検出する最大・最小値検出
器5と、その比率を演算する比率演算器6とが設けら
れ、この比率演算器6から出力される比率データと前記
RAM4に格納された各素子毎の画信号とに基づきシェ
ーディング補正データを作成して前記D/A変換器1に
出力する補正データ作成器7が設けられている。これら
は何れも8ビットのデータを扱うものとする。
An embodiment of the present invention will be described with reference to the drawings. In the figure, a solid line path indicates a path at the time of image reading, and a broken line path indicates a path at the time of reading shading data using a white reference plate (not shown). First, the D / A that is the arithmetic unit
A converter 1, an amplifier 2, a D / A converter 3, and a RAM 4 are provided in this order. Further, a maximum / minimum value detector 5 for detecting a maximum value and a minimum value of the image signal read from the white reference plate and a ratio calculator 6 for calculating the ratio are provided. A correction data generator 7 for generating shading correction data based on the output ratio data and the image signal for each element stored in the RAM 4 and outputting the shading correction data to the D / A converter 1 is provided. Each of these handles 8-bit data.

【0010】このような構成において、まず、シェーデ
ィングデータ読取時には、画像領域外であって読取開始
位置側に設けた白色基準板をイメージセンサにより読取
り、D/A変換器1のアナログ入力端子に入力させる。
ここに、D/A変換器は例えばデジタル・アナログ・マ
ルチプライヤであり、アナログ入力電圧vi 、8ビット
のデジタル入力値D、アナログ出力電圧vo との間に
は、 vo =vi ・D/255 …………………………(1) なる関係がある。即ち、vo はvi をD/255倍した
値となる。
In such a configuration, first, when reading shading data, the white reference plate provided outside the image area and on the reading start position side is read by the image sensor and input to the analog input terminal of the D / A converter 1. Let it.
Here, D / A converter is a digital-to-analog multiplier example, the analog input voltage v i, 8-bit digital input value D, and between the analog output voltage v o is, v o = v i - D / 255 …………………… (1) That is, v o is a value obtained by multiplying v i by D / 255.

【0011】D/A変換器1から出力される画信号vo
は増幅器2により増幅された後、A/D変換器3のアナ
ログ入力端子VINに入力され、1画素毎に8ビットのデ
ジタルデータに変換される。実際の画像読取時にはこれ
が画像データとして外部に出力されるが、シェーディン
グデータ読取時にはアドレス情報に従い1画素毎にRA
M4に格納される。
An image signal vo output from the D / A converter 1
Is amplified by the amplifier 2 and then input to the analog input terminal V IN of the A / D converter 3 to be converted into 8-bit digital data for each pixel. At the time of actual image reading, this is output to the outside as image data. However, at the time of shading data reading, RA is output for each pixel in accordance with address information.
It is stored in M4.

【0012】このようなシェーディングデータ読取時
に、その画信号vi は最大・最小値検出器5にも入力さ
れ、例えば、主走査1ラインにおける画信号中のピーク
値(最大値)をピークホールド回路で検出し、画像読取
有効範囲の一番端の出力(最小値)をエッジホールド回
路で検出する。
[0012] When such shading data read, the image signal v i is also input to the maximum-minimum detector 5, for example, a peak hold circuit a peak value (maximum value) in the image signal in the main scanning line And the edge output (minimum value) of the image reading effective range is detected by the edge hold circuit.

【0013】スキャナが基準白色板を走査し、その読取
りが終わった後に、実際の画像読取りが開始される。こ
の時に、D/A変換器1のデジタル入力端子には補正デ
ータ作成器7により画素毎に作成されるシエーディング
補正データが入力される。即ち、前記最大・最小値検出
器5からの出力は、比率演算器6に入力され、最大値と
最小値との比率が平坦化率として演算される。演算され
た比率=平坦化率は、RAM4からの白色基準板読取り
による各画素データとともに、補正データ作成器7に入
力され、各画素(各素子)毎にシェーディング補正デー
タが作成される。今、平坦化率をa、RAM4に格納さ
れた画素データをDINとすると、補正データ作成器7に
より作成される補正データDOUT は、 DOUT =225 ( 0≦DIN<255a) ………(2) DOUT =2252・a/DIN (255a≦DIN≦255 ) ………(3) となる。D/A変換器1では各画素毎にこのような補正
データDOUT を用いて補正演算処理を行い、補正された
出力を得、増幅器2、A/D変換器3を通して出力す
る。
[0013] After the scanner scans the reference white plate and the reading is completed, the actual image reading is started. At this time, shading correction data generated for each pixel by the correction data generator 7 is input to the digital input terminal of the D / A converter 1. That is, the output from the maximum / minimum value detector 5 is input to the ratio calculator 6, and the ratio between the maximum value and the minimum value is calculated as the flattening ratio. The calculated ratio = flattening ratio is input to the correction data generator 7 together with each pixel data obtained by reading the white reference plate from the RAM 4, and shading correction data is generated for each pixel (each element). Now, assuming that the flattening rate is a and the pixel data stored in the RAM 4 is D IN , the correction data D OUT generated by the correction data generator 7 is D OUT = 225 (0 ≦ D IN <255a). .. (2) D OUT = 225 2 · a / D IN (255a ≦ D IN ≦ 255)... (3) The D / A converter 1 performs a correction operation process using such correction data D OUT for each pixel, obtains a corrected output, and outputs the output through the amplifier 2 and the A / D converter 3.

【0014】なお、白色基準板読取り時に補正データ作
成器7により与えられる(1)式のD=DOUT としては、
前回の平坦化率aを用いた DOUT =225・a (0≦DIN≦255) なる値が用いられる。
When D = D OUT in equation (1) given by the correction data generator 7 when reading the white reference plate,
A value of D OUT = 225 · a (0 ≦ D IN ≦ 255) using the previous flattening rate a is used.

【0015】また、本例では、実際の画像読取りに並行
して各画素の補正データを逐次作成する方式として説明
したが、時間的に処理が間に合わない場合には、補正デ
ータ作成器7にRAM機能を持たせ、白色基準板の読取
り終了後・実際の画像読取り開始時までの間に、全ての
画素に対するシェーディング補正値を作成して記憶させ
ておくようにしてもよい。
In this embodiment, the correction data of each pixel is sequentially generated in parallel with the actual image reading. However, if the processing cannot be performed in time, the correction data generator 7 stores the correction data in the RAM. A function may be provided so that shading correction values for all pixels are created and stored after completion of reading the white reference plate and before actual image reading starts.

【0016】[0016]

【発明の効果】本発明は、上述したように、最大・最小
値検出器により白色基準板についての読取り画信号の最
大値と最小値とを検出し、比率演算器でその比率を算出
し、算出された比率を用いて補正データ作成器によりイ
メージセンサの各素子毎にシェーディング補正データを
作成し、この補正データを用いて演算器で本来の画像に
ついての画信号を補正するようにしたので、その時点で
検出された任意の平坦化率に対して最適な補正データを
用いたシェーディング補正を行うことができ、S/Nの
よい良好なる画質を得ることができ、このためにも、多
数のROMを必要とせず、低コストで実現できるもので
ある。
According to the present invention, as described above, the maximum / minimum value detector detects the maximum value and the minimum value of the read image signal for the white reference plate, and the ratio calculator calculates the ratio. Since the shading correction data is generated for each element of the image sensor by the correction data generator using the calculated ratio, and the image signal for the original image is corrected by the arithmetic unit using the correction data, Shading correction using optimal correction data can be performed for any flattening rate detected at that time, and good image quality with good S / N can be obtained. It does not require a ROM and can be realized at low cost.

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

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

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

1 演算器 3 A/D変換器 4 RAM 5 最大・最小値検出器 6 比率演算器 7 補正データ作成器 Reference Signs List 1 arithmetic unit 3 A / D converter 4 RAM 5 maximum / minimum value detector 6 ratio arithmetic unit 7 correction data generator

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 シェーディング補正用の白色基準板と、
画像及び前記白色基準板を読取る多数の素子を備えたイ
メージセンサと、読取られた画信号をA/D変換するA
/D変換器と、前記白色基準板から読取られた画信号を
前記A/D変換器により変換したデジタル値を格納する
RAMと、白色基準板から読取られる画信号の内から最
大値と最小値とを検出する最大・最小値検出器と、検出
された最大値と最小値との比率を算出する比率演算器
と、前記RAMから読出される各素子の前記画信号毎に
前記比率演算器により算出された比率を用いてその素子
に対するシェーディング補正データを作成する補正デー
タ作成器と、画像から読取られた各素子毎の画信号に対
し作成されたシェーディング補正データを用いて補正演
算する演算器とよりなることを特徴とする画像読取装
置。
1. A white reference plate for shading correction,
An image sensor having a number of elements for reading an image and the white reference plate, and an A / D converter for A / D converting the read image signal
A / D converter, a RAM for storing a digital value obtained by converting an image signal read from the white reference plate by the A / D converter, and a maximum value and a minimum value among image signals read from the white reference plate A maximum / minimum value detector for detecting the maximum and minimum values, a ratio calculator for calculating the ratio between the detected maximum value and the minimum value, and the ratio calculator for each image signal of each element read from the RAM. A correction data creator that creates shading correction data for the element using the calculated ratio, and a calculator that performs a correction operation using the shading correction data created for the image signal of each element read from the image. An image reading apparatus, comprising:
JP03101647A 1991-05-07 1991-05-07 Image reading device Expired - Fee Related JP3105936B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03101647A JP3105936B2 (en) 1991-05-07 1991-05-07 Image reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03101647A JP3105936B2 (en) 1991-05-07 1991-05-07 Image reading device

Publications (2)

Publication Number Publication Date
JPH04331571A JPH04331571A (en) 1992-11-19
JP3105936B2 true JP3105936B2 (en) 2000-11-06

Family

ID=14306173

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03101647A Expired - Fee Related JP3105936B2 (en) 1991-05-07 1991-05-07 Image reading device

Country Status (1)

Country Link
JP (1) JP3105936B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107071234B (en) * 2017-01-23 2020-03-20 上海兴芯微电子科技有限公司 Lens shadow correction method and device

Also Published As

Publication number Publication date
JPH04331571A (en) 1992-11-19

Similar Documents

Publication Publication Date Title
JP3130593B2 (en) Document reader
US6665096B1 (en) Apparatus and a method for image processing
EP0868072A3 (en) Shading correction for an image scanner
US7443546B2 (en) Method for generating a calibration curve
US5892590A (en) Corrected data generator for image taking device
US20060001921A1 (en) System and method for high-performance scanner calibration
AU694384B1 (en) Apparatus for digital correction in an image system
JP3105936B2 (en) Image reading device
JPH117524A (en) Image reader
JP3262609B2 (en) Image reading device
JP2592147B2 (en) Image signal processing device
JP2667288B2 (en) Image signal judgment device
JP2592146B2 (en) Image signal processing device
KR100242025B1 (en) Apparatus and method for scanning color image using shading correction
JP3751422B2 (en) Image reading device
JPH0514715A (en) Picture reader
JPH01137883A (en) Picture reader
JP2512221B2 (en) Shading distortion correction device
JPH10117277A (en) Shading correction circuit and method
JPH05110846A (en) Read section for optical reader
JPH10276325A (en) Digital shading correction device
JPH04301968A (en) Image signal processor
JPS6235772A (en) Image reader
JPH05103195A (en) Picture input device
JPH0254996B2 (en)

Legal Events

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