JPH1056567A - Image reader - Google Patents

Image reader

Info

Publication number
JPH1056567A
JPH1056567A JP8227748A JP22774896A JPH1056567A JP H1056567 A JPH1056567 A JP H1056567A JP 8227748 A JP8227748 A JP 8227748A JP 22774896 A JP22774896 A JP 22774896A JP H1056567 A JPH1056567 A JP H1056567A
Authority
JP
Japan
Prior art keywords
illuminance
correction coefficient
image
change
image data
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.)
Withdrawn
Application number
JP8227748A
Other languages
Japanese (ja)
Inventor
Koichi Kanbe
幸一 掃部
Shinya Matsuda
伸也 松田
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.)
Minolta Co Ltd
Original Assignee
Minolta 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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP8227748A priority Critical patent/JPH1056567A/en
Publication of JPH1056567A publication Critical patent/JPH1056567A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Holders For Sensitive Materials And Originals (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To output a beautiful picture by correcting nonuniformity in subscan direction caused by the flicker of external light even when the light distribution of external light is different in main scan direction on an original plane by correcting image data provided from an imaging device by selecting any illuminance correction coefficient corresponding to a change in illuminance. SOLUTION: A memory is turned to a read mode by a CPU (#1). A coefficient expressing the state of illuminance during scan for one line is detected from the imaging data of a white reference board read by one part of a CCD line sensor by an illuminance change detection part (#2) and corresponding to this coefficient, any address of the memory is selected for storing illuminance correction coefficients corresponding to all the picture elements of the CCD line sensor in the state of that illuminance (#3). Any illuminance correction coefficient is outputted from the selected address area of the memory corresponding to a signal from a counter (#4). The image data are corrected by this illuminance correction coefficient outputted from the memory (#5).

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 of an original or the like.

【0002】[0002]

【従来の技術】従来、撮像素子を用いて原稿を走査し画
像を読み取る画像読み取り装置の分野では、例えば特開
昭59−207782号公報や特開平4−17462号
公報に示されるように、原稿面上の時間的な照度変化に
よって起こる画像のムラを補正する技術が提案されてい
る。また、本出願人は上向きタイプの原稿読み取り装置
を実用化している。
2. Description of the Related Art Conventionally, in the field of an image reading apparatus which scans a document by using an image pickup device and reads an image, as described in, for example, JP-A-59-207782 and JP-A-4-17462, A technique for correcting unevenness of an image caused by a temporal change in illuminance on a surface has been proposed. In addition, the present applicant has commercialized an upward type document reading apparatus.

【0003】このうち、特開昭59−207782号公
報に記載されている画像読み取り装置は、光源点灯後の
原稿上の照度変化に対応した複数のシェーディング補正
曲線を記憶しておき、光源点灯後の時間経過に従って補
正曲線を選択し、シェーディング補正を行うものであ
る。また、特開平4−17462号公報に記載されてい
る画像読み取り装置は、副操作方向に設けた白色板を主
走査ライン読み取り毎に読み取り、この読み取り値に対
し一定の出力が得られるように主走査ライン毎の信号増
幅部の利得を調整することにより、補正を行うものであ
る。
The image reading apparatus described in Japanese Patent Application Laid-Open No. 59-2077782 stores a plurality of shading correction curves corresponding to changes in illuminance on a document after the light source is turned on. The correction curve is selected in accordance with the lapse of time, and shading correction is performed. Further, the image reading apparatus described in Japanese Patent Application Laid-Open No. 4-17462 reads a white plate provided in the sub-operation direction every time a main scanning line is read, so that a constant output can be obtained for the read value. The correction is performed by adjusting the gain of the signal amplifier for each scanning line.

【0004】また、本出願人が実用化している上向きタ
イプの原稿読み取り装置においては、原稿面に照射され
る外光が商用周波数で点滅を行う蛍光灯などの室内光で
あると、読み取りを行うCCDラインセンサの副走査方
向各ラインにおいて原稿面上の照度が商用周波数に同期
して変動してしまう。この場合、副走査方向に均一な濃
度の原稿を撮影しても画像データは均一とはならず、ム
ラが生じてしまう。このムラをなくすために、主走査シ
ェーディング補正の後、副走査方向に配置された均一濃
度のシェーディング板の画像データに基づき、この画像
データが均一となるような係数を各ラインにおいて発生
し、この係数を主走査方向全画素に対して掛け算するこ
とにより補正を行っている。
Further, in an upward-type document reading apparatus which has been put to practical use by the present applicant, reading is performed if the external light applied to the document surface is room light such as a fluorescent lamp which blinks at a commercial frequency. In each line in the sub-scanning direction of the CCD line sensor, the illuminance on the document surface fluctuates in synchronization with the commercial frequency. In this case, even if a document having a uniform density is photographed in the sub-scanning direction, the image data is not uniform, and unevenness occurs. In order to eliminate this unevenness, after the main scanning shading correction, based on the image data of the shading plate of uniform density arranged in the sub-scanning direction, a coefficient is generated for each line so that this image data becomes uniform. The correction is performed by multiplying all the pixels in the main scanning direction by the coefficient.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、特開昭
59−207782号公報に記載されている画像読み取
り装置では、蛍光灯等の外光が原稿面上に照射される
と、原稿面上の照度がこの外光の影響を受けて変動し、
得られたデータにムラが生じてしまう。また、特開平4
−17462号公報に記載されている画像読み取り装置
や、本出願人により実用化されている上向きタイプの原
稿読み取り装置の方式では主走査シェーディング補正を
照明のみの配光分布で補正を行うため、原稿面での外光
の配光分布が主走査方向(シェーディング板上と原稿面
上)で異なる時には、外光の点滅による副走査方向のム
ラを補正しきれない。
However, in the image reading apparatus described in Japanese Patent Application Laid-Open No. Sho 59-2077782, when external light such as a fluorescent lamp is irradiated on the original surface, the illuminance on the original surface is reduced. Fluctuates under the influence of this external light,
Unevenness occurs in the obtained data. In addition, Japanese Unexamined Patent Application Publication No.
In the image reading apparatus described in Japanese Patent Application Laid-Open No. 17462 and the upward-type document reading apparatus which has been put to practical use by the present applicant, the main scanning shading correction is performed using a light distribution only for illumination. When the light distribution of external light on the surface is different in the main scanning direction (on the shading plate and on the document surface), unevenness in the sub-scanning direction due to flickering of the external light cannot be corrected.

【0006】本発明は、上述した問題点を解決するため
になされたものであり、原稿面での外光の配光分布が主
走査方向で異なる時にも、外光の点滅による副走査方向
のムラを補正することができ、きれいな画像を出力する
ことができる画像読み取り装置を提供することを目的と
する。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problem. Even when the light distribution of external light on the document surface differs in the main scanning direction, the flashing of the external light in the sub-scanning direction can be prevented. It is an object of the present invention to provide an image reading apparatus capable of correcting unevenness and outputting a clear image.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に請求項1に記載の発明に係る画像読み取り装置は、書
籍などの原稿を上向き見開き状態で撮影する画像読み取
り装置において、原稿を載置する原稿台と、この原稿台
上に載置された原稿を上方より読み取り、その画像デー
タを出力する撮像素子と、原稿の光学像を撮像素子上に
結像させる撮像レンズと、原稿台上の照度変化を検出す
る照度変化検出手段と、原稿台上の照度変化に応じて、
画像データを補正するための照度補正係数をあらかじめ
蓄えておく第1の記憶手段と、照度変化検出手段により
検出された照度変化に応じて、第1の記憶手段に蓄えら
れている照度補正係数を選択する照度補正係数選択手段
と、照度補正係数を用いて、撮像素子より得られた画像
データを補正する補正手段とを備えたものである。
According to an aspect of the present invention, there is provided an image reading apparatus for photographing an original such as a book in an upward facing state. A document table to be read, an image sensor for reading the document placed on the document table from above, and outputting the image data; an image pickup lens for forming an optical image of the document on the image sensor; Illuminance change detecting means for detecting the illuminance change, and according to the illuminance change on the platen,
A first storage unit for storing an illuminance correction coefficient for correcting image data in advance, and an illuminance correction coefficient stored in the first storage unit according to the illuminance change detected by the illuminance change detection unit. The illuminance correction coefficient selecting means is provided, and the illuminance correction coefficient is used to correct image data obtained from the image sensor.

【0008】この構成においては、原稿面上の照度変化
に応じた照度補正係数をあらかじめ記憶しておき、原稿
台上の照度変化を照度変化検出手段により検出し、この
検出変化に応じて照度補正係数を照度補正係数選択手段
により選択し、この照度補正係数を用いて、補正手段は
撮像素子より得られた画像データを補正する。上記照度
補正係数は、外光すなわち周囲光の原稿台上の配光分布
を補正するためのものであり、撮像素子の各走査位置に
おける照度変化に応じた複数のシェーディング補正曲線
に相当する。そして、上記画像データの補正では、原稿
台上の照度変化に従って補正曲線を選択し、シェーディ
ング補正を行うことになる。
In this configuration, an illuminance correction coefficient corresponding to the illuminance change on the document surface is stored in advance, the illuminance change on the document table is detected by illuminance change detecting means, and the illuminance correction is performed according to the detected change. A coefficient is selected by an illuminance correction coefficient selection unit, and the correction unit corrects image data obtained from the image sensor using the illuminance correction coefficient. The illuminance correction coefficient is used to correct the distribution of external light, that is, ambient light, on the document table, and corresponds to a plurality of shading correction curves corresponding to changes in illuminance at each scanning position of the image sensor. In the correction of the image data, a correction curve is selected according to a change in illuminance on the document table, and shading correction is performed.

【0009】また、請求項2に記載の発明に係る画像読
み取り装置は、請求項1に記載の画像読み取り装置であ
って、第1の記憶手段に蓄えられている補正係数は、原
稿台上の各走査位置における照度変化に応じた照度補正
係数であり、原稿台上における撮像素子の走査位置を検
出する走査位置検出手段をさらに備え、照度補正係数選
択手段は、走査位置検出手段により検出された走査位置
と、照度変化検出手段により検出された照度変化に応じ
て、第1の記憶手段に蓄えられている照度補正係数を選
択するものである。
According to a second aspect of the present invention, there is provided the image reading apparatus as set forth in the first aspect, wherein the correction coefficient stored in the first storage means is set on a document table. An illuminance correction coefficient corresponding to a change in illuminance at each scanning position, further comprising a scanning position detection unit that detects a scanning position of the image sensor on the document table, wherein the illuminance correction coefficient selection unit is detected by the scanning position detection unit. The illuminance correction coefficient stored in the first storage unit is selected according to the scanning position and the illuminance change detected by the illuminance change detection unit.

【0010】この構成においては、第1の記憶手段に原
稿台上の各走査位置における照度変化に応じた照度補正
係数をあらかじめ記憶しておき、走査位置検出手段によ
り走査位置を検出し、また、原稿台上の照度変化を照度
変化検出手段により検出し、これら走査位置と照度変化
に基づいて照度補正係数を選択し、この照度補正係数を
用いて、補正手段は撮像素子より得られた画像データを
補正する。
In this configuration, the illuminance correction coefficient corresponding to the illuminance change at each scanning position on the document table is stored in advance in the first storage means, and the scanning position is detected by the scanning position detection means. The illuminance change on the platen is detected by the illuminance change detection unit, and an illuminance correction coefficient is selected based on the scanning position and the illuminance change. Using the illuminance correction coefficient, the correction unit uses the image data obtained from the image sensor. Is corrected.

【0011】また、請求項3に記載の発明に係る画像読
み取り装置は、請求項1又は請求項2に記載の画像読み
取り装置であって、上記第1の記憶手段に蓄えられてい
る各走査位置における照度補正係数は、照度が最大とな
る時と、最小となる時の2つの場合のものであり、照度
補正係数選択手段に代えて、第1の記憶手段に蓄えられ
た各走査位置における照度が最大と最小になるときの照
度補正係数と、照度変化検出手段により検出された照度
変化と、走査位置検出手段により検出された走査位置と
に基づき、撮像素子の主走査方向の照度補正係数を発生
する補正係数発生手段を備え、この補正係数発生手段よ
り得られた照度補正係数を用いて、撮像素子より得られ
た画像データを補正するものである。
According to a third aspect of the present invention, there is provided the image reading apparatus according to the first or second aspect, wherein each of the scanning positions stored in the first storage means is provided. Illuminance correction coefficients in the two cases, when the illuminance is the maximum and when the illuminance is the minimum. Instead of the illuminance correction coefficient selecting means, the illuminance at each scanning position stored in the first storage means is used. The illuminance correction coefficient when the maximum and the minimum, the illuminance change detected by the illuminance change detecting means, and the illuminance correction coefficient in the main scanning direction of the image sensor based on the scanning position detected by the scanning position detecting means. A correction coefficient generating means is provided for correcting image data obtained from the image sensor using the illuminance correction coefficient obtained from the correction coefficient generating means.

【0012】この構成においては、第1の記憶手段に蓄
えられた各走査位置における照度が最大と最小になると
きの照度補正係数と、照度変化検出手段により検出され
た照度変化と、走査位置検出手段により検出された走査
位置とに基づき、補正係数発生手段が撮像素子の主走査
方向の照度補正係数を発生し、この照度補正係数を用い
て、補正手段は撮像素子より得られた画像データを補正
する。このように動作するので、原稿台上の全ての走査
位置における全ての照度状態に応じた照度補正係数、ま
たは照度分布データを蓄えておく必要がなくなる。これ
により、原稿台上の照度変化の大きさにかかわらず、一
定でしかも少ないメモリ容量で画像データの補正を行う
ことができる。
In this configuration, the illuminance correction coefficient when the illuminance at each scanning position stored in the first storage means becomes maximum and minimum, the illuminance change detected by the illuminance change detection means, the scanning position detection Based on the scanning position detected by the means, the correction coefficient generation means generates an illuminance correction coefficient in the main scanning direction of the image sensor, and using the illuminance correction coefficient, the correction means converts image data obtained from the image sensor. to correct. With such an operation, it is not necessary to store the illuminance correction coefficients or the illuminance distribution data according to all the illuminance states at all the scanning positions on the document table. Thus, image data can be corrected with a constant and small memory capacity regardless of the magnitude of the change in illuminance on the document table.

【0013】また、請求項4に記載の発明に係る画像読
み取り装置は、請求項1乃至請求項3に記載の画像読み
取り装置であって、上記撮像素子の各画素の感度のばら
つきを補正する感度補正係数を蓄えておく第2の記憶手
段を備えたものである。
An image reading apparatus according to a fourth aspect of the present invention is the image reading apparatus according to any one of the first to third aspects, wherein the sensitivity for correcting a variation in the sensitivity of each pixel of the image sensor is provided. It is provided with a second storage means for storing a correction coefficient.

【0014】この構成においては、第2の記憶手段に各
画素の感度のばらつきを補正する感度補正係数を蓄えて
おき、この感度補正係数を用いて数画素ごとの照度分布
データを算出し、この数画素ごとの照度分布データを用
いて全ての撮像素子に対する照度分布データを算出す
る。さらに、この全ての撮像素子に対する照度分布デー
タを用いて全ての撮像素子に対する照度補正係数を得る
ので、原稿台上の全ての走査位置における全ての照度状
態に応じた照度補正係数、または照度分布データを蓄え
ておく必要がなくなる。これにより、原稿台上の照度変
化の大きさにかかわらず、一定でより少ないメモリ容量
で画像データの補正を行うことができる。
In this configuration, a sensitivity correction coefficient for correcting a variation in sensitivity of each pixel is stored in the second storage means, and illuminance distribution data for every several pixels is calculated using the sensitivity correction coefficient. The illuminance distribution data for all the image sensors is calculated using the illuminance distribution data for every several pixels. Further, since the illuminance correction coefficients for all the image sensors are obtained using the illuminance distribution data for all the image sensors, the illuminance correction coefficients or the illuminance distribution data corresponding to all the illuminance states at all the scanning positions on the document table. There is no need to store. Thus, image data can be corrected with a fixed and smaller memory capacity regardless of the magnitude of the change in illuminance on the document table.

【0015】また、請求項5に記載の発明に係る撮像装
置は、被写体を撮影して画像データを得る画像読み取り
装置において、被写体を撮影し、その画像データを出力
する撮像素子と、被写体の光学像を撮像素子上に結像さ
せる撮像レンズと、被写体上の照度変化を検出する照度
変化検出手段と、被写体上の照度変化に応じて、画像デ
ータを補正するための照度補正係数をあらかじめ蓄えて
おく記憶手段と、照度変化検出手段により検出された照
度変化に応じて、記憶手段に蓄えられている照度補正係
数を選択する照度補正係数選択手段と、照度補係数を用
いて、撮像素子より得られた画像データを補正する補正
手段とを備えたものである。
According to a fifth aspect of the present invention, there is provided an image reading apparatus for capturing an image of a subject and obtaining image data, comprising: an image sensor for photographing the subject and outputting the image data; An imaging lens for forming an image on the image sensor, an illuminance change detecting means for detecting an illuminance change on the subject, and an illuminance correction coefficient for correcting image data in advance according to the illuminance change on the subject. Storage means, an illuminance correction coefficient selection means for selecting an illuminance correction coefficient stored in the storage means in accordance with the illuminance change detected by the illuminance change detection means, and an illuminance compensation coefficient. Correction means for correcting the obtained image data.

【0016】この構成においては、被写体上の照度変化
に応じた照度補正係数をあらかじめ記憶しておき、被写
体上の照度変化を照度変化検出手段により検出し、この
検出変化に応じて照度補正係数を照度補正係数選択手段
により選択し、この照度補正係数を用いて、補正手段は
撮像素子より得られた画像データを補正する。
In this configuration, the illuminance correction coefficient corresponding to the illuminance change on the subject is stored in advance, the illuminance change on the subject is detected by the illuminance change detecting means, and the illuminance correction coefficient is calculated in accordance with the detected change. The illuminance correction coefficient selection unit selects the illuminance correction coefficient, and using the illuminance correction coefficient, the correction unit corrects the image data obtained from the image sensor.

【0017】[0017]

【発明の実施の形態】以下、本発明を具体化した実施形
態について図面を参照して説明する。 (第1の実施形態)図1は本画像読み取り装置の全体構
成を示す図である。本装置は、書籍やファイル等の原稿
が上向きに載置される原稿台1を有し、この原稿台1の
上方には原稿を走査により読み取る撮影カメラ部2が設
けられている。この原稿台1と撮像カメラ部2との間は
所定の間隔を持たせ、この間隔により作業空間が形成さ
れている。また、本装置には原稿台1の奥上方に配置さ
れ原稿を照明する照明部3と、画像読み取り条件等の設
定を行う操作部4、原稿台1の奥方で撮影範囲内の端に
副走査方向に配置され原稿の端部形状を映す測距ミラー
5が設けられてあり、この測距ミラー5に映った原稿の
端部形状を撮影カメラ部2で読み取ることにより原稿面
の高さを測ることができる。さらに、この測距ミラー5
に沿って白色の基準板6が配置され、この基準板6を撮
影することにより原稿台1上の照度変化を検出すること
ができる。
Embodiments of the present invention will be described below with reference to the drawings. (First Embodiment) FIG. 1 is a diagram showing the overall configuration of the present image reading apparatus. The apparatus has a document table 1 on which a document such as a book or a file is placed facing upward, and a photographing camera unit 2 for scanning the document by scanning is provided above the document table 1. A predetermined space is provided between the document table 1 and the imaging camera unit 2, and a work space is formed by this space. The apparatus further includes an illuminating unit 3 arranged above the document table 1 for illuminating the document, an operation unit 4 for setting image reading conditions, and the like, There is provided a distance measuring mirror 5 arranged in the direction to project the end shape of the document, and the height of the document surface is measured by reading the end shape of the document reflected on the distance measuring mirror 5 by the photographing camera unit 2. be able to. Furthermore, this distance measuring mirror 5
A white reference plate 6 is arranged along the line, and by photographing the reference plate 6, a change in illuminance on the document table 1 can be detected.

【0018】図2(a)(b)は本装置を前方及び側方
から見た概略構成を示す図である。撮影カメラ部2は、
原稿の像を撮像する撮像素子であるCCDラインセンサ
7と、このCCDラインセンサ7に原稿像を結像させる
撮影レンズ8とを備え、CCDラインセンサ7は原稿像
が結像される焦点面において、副走査方向(図2(a)
の矢印で示す方向)にスキャンする。原稿台1上に置か
れる原稿9は、例えば一方端で綴じられ左右に開くと各
ページが空間的に曲がった柱面状になる書籍やファイル
等である。
FIGS. 2 (a) and 2 (b) are schematic views of the present apparatus as viewed from the front and side. The photographing camera unit 2
A CCD line sensor 7 which is an image pickup device for picking up an image of a document, and a photographing lens 8 for forming a document image on the CCD line sensor 7 are provided. The CCD line sensor 7 is located at a focal plane where the document image is formed. , Sub-scanning direction (FIG. 2A)
Scan in the direction indicated by the arrow). The document 9 placed on the platen 1 is, for example, a book or a file which is bound at one end and has a columnar shape in which each page is spatially curved when opened left and right.

【0019】図3は本装置における原稿台1上の照度の
時間変化を示す図である。本装置は原稿台1上に設置さ
れる原稿9の原稿面がユーザーに解放されているため、
原稿台1上を照射する光源は照明部3と蛍光灯などの周
囲光となる。この周囲光が蛍光灯であると、商用周波数
で交流点灯されているため、50/60Hzのサイクル
で照度が変動する。この変動は照明部3からの照度分布
に加算されるため、この影響で画像に帯状のムラが発生
する。
FIG. 3 is a diagram showing a time change of the illuminance on the document table 1 in the present apparatus. In this apparatus, since the original surface of the original 9 placed on the original platen 1 is open to the user,
The light source that irradiates the document table 1 is ambient light such as the illumination unit 3 and a fluorescent lamp. If the ambient light is a fluorescent lamp, the illuminance fluctuates at a cycle of 50/60 Hz because the lamp is AC-lit at a commercial frequency. Since this fluctuation is added to the illuminance distribution from the illumination unit 3, band-like unevenness occurs in the image due to this effect.

【0020】図4に本装置の原稿台1上に白紙を設置し
た場合のCCDラインセンサ7の出力分布を示す。CC
Dラインセンサ7の出力は原稿台1上の照度分布に加
え、撮像レンズ8やCCDラインセンサ7の感度の影響
を受ける。原稿台1上の照度分布は、照明部3と周囲光
とが加算されたものとなり、この周囲光が蛍光灯である
場合には、蛍光灯は50/60Hzのサイクルで照度が
変動しているので、撮像レンズ8ではcos4乗則と言
われる、レンズの光軸からの角度(θ)の余弦の4乗に
比例した照度分布となる。また、CCDラインセンサ7
の感度は画素毎に異なるため、CCDラインセンサ7の
出力はこの感度に比例した値となる。
FIG. 4 shows the output distribution of the CCD line sensor 7 when a blank sheet is placed on the document table 1 of the apparatus. CC
The output of the D line sensor 7 is affected by the sensitivity of the imaging lens 8 and the CCD line sensor 7 in addition to the illuminance distribution on the document table 1. The illuminance distribution on the document table 1 is the sum of the illumination unit 3 and the ambient light. When the ambient light is a fluorescent light, the illuminance of the fluorescent light fluctuates at a cycle of 50/60 Hz. Therefore, the image pickup lens 8 has an illuminance distribution proportional to the fourth power of the cosine of the angle (θ) from the optical axis of the lens, which is called the cos 4 law. Also, the CCD line sensor 7
Is different for each pixel, the output of the CCD line sensor 7 is a value proportional to this sensitivity.

【0021】次に、照度変化検出方法について図5を参
照して説明する。図2(b)においてCCDラインセン
サ7は、原稿台1に設置された原稿9と同時に、測距ミ
ラー5に映った原稿9の端部形状の像と白色の基準板6
を読み取る。この白色の基準板6を撮影したCCDライ
ンセンサ7の出力を図5に示している。出力は照明部3
によるものと周囲光が加算されたものとなっており、な
おかつ、周囲光(蛍光灯)は50/60Hzのサイクル
で照度が変動しているので、この変動を検出すること
で、原稿読み取り中の原稿台1上の照度変化を検出する
ことができる。
Next, an illuminance change detection method will be described with reference to FIG. In FIG. 2B, the CCD line sensor 7 includes an image of the end portion of the document 9 reflected on the distance measuring mirror 5 and the white reference plate 6 simultaneously with the document 9 placed on the document table 1.
Read. FIG. 5 shows the output of the CCD line sensor 7 photographing the white reference plate 6. The output is the lighting unit 3
And the ambient light is added, and the illuminance of the ambient light (fluorescent light) fluctuates at a cycle of 50/60 Hz. A change in illuminance on the document table 1 can be detected.

【0022】本装置において、白色の基準板6を読み取
るCCDラインセンサ7の画素アドレスをAとし、アド
レスAが出力する画像データをD(A)とする。図5に
おいて、周囲光が最大/最小となるときのD(A)をそ
れぞれD(max 、A)、D(min 、A)とすると、以下
の(1.1)式より原稿走査中の原稿台1上の照度状態
を表わす係数Gを得ることができる。
In this apparatus, the pixel address of the CCD line sensor 7 for reading the white reference plate 6 is A, and the image data output from the address A is D (A). In FIG. 5, when D (A) when the ambient light is maximum / minimum is D (max, A) and D (min, A), respectively, the original being scanned according to the following equation (1.1) A coefficient G representing the illuminance state on the table 1 can be obtained.

【数1】 {D(A)−D(min 、A)}÷{D(max 、A)−D(min 、A)}=G ・・・(1.1) ただし、D(A) :アドレスAの画素が出力する画像データ D(max 、A):周囲光の照度が最大となるときのD(A) D(min 、A):周囲光の照度が最小となるときのD(A) G :原稿走査中の原稿台1上の照度状態を表わす係数D (A) -D (min, A) {D (max, A) -D (min, A)} = G (1.1) where D (A): Image data output from the pixel at address A D (max, A): D (A) when illuminance of ambient light is maximum D (min, A): D (A) when illuminance of ambient light is minimum ) G: Coefficient representing the illuminance state on the document table 1 during document scanning

【0023】本装置では、原稿撮影以前に図8及び図9
のブロック図に示すように、白色の基準板6を読み取っ
たCCDラインセンサ7の画素アドレスAの画像データ
をA/D変換器10にてデジタル化し、照度変化検出部
11(照度変化検出手段)に入力することで、このデー
タが最大/最小となるD(max 、A)、D(min 、A)
を照度変化検出部11にて選択し、メモリ12に蓄え
る。そして、原稿撮影時には照度変化検出部11がメモ
リ12からD(max 、A)、D(min 、A)を取り込
み、(1.1)式の演算を行うことで原稿走査中の原稿
台1上の照度状態を表わす係数Gを得ることができる。
In the present apparatus, FIGS.
As shown in the block diagram, the image data of the pixel address A of the CCD line sensor 7 which has read the white reference plate 6 is digitized by the A / D converter 10, and the illuminance change detecting unit 11 (illuminance change detecting means) , D (max, A) and D (min, A) at which this data becomes maximum / minimum
Is selected by the illuminance change detection unit 11 and stored in the memory 12. At the time of document photographing, the illuminance change detecting unit 11 fetches D (max, A) and D (min, A) from the memory 12 and performs an operation of the formula (1.1) to thereby obtain a result on the document table 1 during document scanning. Can be obtained.

【0024】次に、本装置における照度補正係数の算出
方法について詳述する。図6に原稿台1上に白紙を設置
した場合の、CCDラインセンサ7の主走査方向のセン
サ面上の配光分布を示す。この配光分布は、照明部3に
よるものと周囲光が加算された原稿台1上の照度分布
と、レンズのcos4乗則等によって配光が分布され
る。このセンサ面上の配光分布は、周囲光が最大のとき
の配光(Lmax )と、最小のときの配光(Lmin )の範
囲内で変動する各状態により、分布の形状は大きく異な
る。したがって、この配光分布は周囲光の状態に応じて
幾通りも存在し、配光分布による画像のムラを補正する
照度補正係数も幾通りも存在する。照度補正係数とは、
図6において、あたかもセンサ面の照度が基準値Laと
均一となり、CCDラインセンサ7の出力がDa均一と
なるようにCCDラインセンサ7が出力する画像データ
に掛ける係数である。
Next, a method of calculating the illuminance correction coefficient in the present apparatus will be described in detail. FIG. 6 shows a light distribution on the sensor surface of the CCD line sensor 7 in the main scanning direction when white paper is placed on the document table 1. This light distribution is distributed by the illumination unit 3 and the illuminance distribution on the document table 1 to which the ambient light is added, and the light distribution is distributed according to the cos 4 power law of the lens and the like. The shape of the light distribution on the sensor surface varies greatly depending on each state that varies within the range of the light distribution (Lmax) when the ambient light is maximum and the light distribution (Lmin) when the ambient light is minimum. Therefore, there are various light distributions according to the state of ambient light, and there are also various illuminance correction coefficients for correcting image unevenness due to the light distribution. The illuminance correction coefficient is
In FIG. 6, a coefficient is multiplied by image data output from the CCD line sensor 7 so that the illuminance on the sensor surface becomes uniform with the reference value La and the output from the CCD line sensor 7 becomes uniform.

【0025】ここで、センサ各画素Xに対する照度補正
係数をZ(x)とし、センサ面の照度が基準値Laと均
一となったときのCCDラインセンサ7の出力をDaと
すると、原稿台1上の照度状態G(係数)における照度
補正係数Z(G、x)は、原稿台1上に白紙を設置した
ときの、原稿台1上の照度状態GにおけるCCDライン
センサ7の主走査方向1ラインの各画素の出力D2
(G、x)より、以下の(1.2)式で求められる。
Here, assuming that the illuminance correction coefficient for each pixel X of the sensor is Z (x) and the output of the CCD line sensor 7 when the illuminance on the sensor surface is equal to the reference value La is Da, the document table 1 The illuminance correction coefficient Z (G, x) in the upper illuminance state G (coefficient) is the main scanning direction 1 of the CCD line sensor 7 in the illuminance state G on the original table 1 when a blank sheet is placed on the original table 1. Output D2 of each pixel in the line
From (G, x), it can be obtained by the following equation (1.2).

【数2】 Z(G、x)=Da/D2(G、x)・・・(1.2) ただし、Z(G、x) :原稿台1上の照度状態Gにお
ける照度補正係数 x:CCDラインセンサ7の主走査方向1ラインの各画
素アドレス Da:センサ面の照度が基準値Laと均一となったとき
のCCDラインセンサ7の主走査方向1ラインの各画素
の出力 D2(G、x):原稿台1上に白紙を設置したときの、
原稿台1上の照度状態GにおけるCCDラインセンサ7
の主走査方向1ラインの各画素の出力
Z (G, x) = Da / D2 (G, x) (1.2) where Z (G, x): illuminance correction coefficient in illuminance state G on document table 1 x: Each pixel address of one line in the main scanning direction of the CCD line sensor 7 Da: Output of each pixel of one line in the main scanning direction of the CCD line sensor 7 when the illuminance on the sensor surface becomes uniform with the reference value La. x): When blank paper is set on the platen 1,
CCD line sensor 7 in illuminance state G on platen 1
Of each pixel in one line in the main scanning direction

【0026】本装置では原稿撮影以前に原稿台1上に白
紙を設置し、この白紙を撮影する。この撮影をする際
に、図8及び図9のブロック図において、照度変化検出
部11により検出される原稿台1上の各照度状態Gに応
じて、CCDラインセンサ7により撮影されデジタル化
された白紙の画像データD2(G、x)をメモリ12
(第1の記憶手段)に蓄える。これにより、原稿撮影以
前に原稿台1上の各照度状態に応じた配光分布のデータ
D2(G、x)を蓄えることができる。そして、図8に
おいては原稿撮影以前にCPU13にて(1.2)の演
算を行うことで各照度状態Gに応じた照度補正係数Z
(G、x)を得ることができ、メモリ12に蓄える。一
方、図9においては原稿撮影時に、メモリ12に蓄えら
れている各照度状態に応じた配光分布のデータD2
(G、x)を、照度補正係数発生部16において(1.
2)式の演算を行うことで、照度補正係数Z(G、x)
を得ることができる。
In this apparatus, blank paper is set on the document table 1 before photographing a document, and the blank paper is photographed. At the time of this photographing, in the block diagrams of FIG. 8 and FIG. 9, in accordance with each illuminance state G on the document table 1 detected by the illuminance change detecting unit 11, the photographing is performed by the CCD line sensor 7 and digitized. The blank image data D2 (G, x) is stored in the memory 12
(First storage means). As a result, the data D2 (G, x) of the light distribution according to each illuminance state on the document table 1 can be stored before the document is photographed. In FIG. 8, the illuminance correction coefficient Z corresponding to each illuminance state G is calculated by the CPU 13 performing the calculation of (1.2) before photographing the original.
(G, x) can be obtained and stored in the memory 12. On the other hand, in FIG. 9, at the time of document shooting, the data D2 of the light distribution corresponding to each illuminance state stored in the memory 12
The illuminance correction coefficient generator 16 outputs (G, x) to (1.
By performing the calculation of the expression 2), the illuminance correction coefficient Z (G, x)
Can be obtained.

【0027】次に、補正係数選択動作について図7のフ
ローチャート、及び図8,図9のブロック図を参照して
説明する。操作者が操作部4にあるスタートキーを押す
と、撮影が開始されCCDラインセンサ7が原稿面の走
査を開始し、CPU13によりメモリ12を読み出しモ
ードとする(#1)。CCDラインセンサ7の一部分で
読み取られている白色基準板6の撮影画像データより、
1ライン走査中の照度状態を表わす係数Gを照度変化検
出部11にて検出し(#2)、この係数Gに応じて、そ
の照度状態におけるCCDラインセンサ7の全画素に対
する照度補正係数または配光分布データが蓄えられてい
るメモリ12のアドレスを選択する(#3)。#3にお
いて選択されたメモリ12のアドレス領域より、カウン
タ14からの信号に応じて照度補正係数または配光分布
データが出力される(#4)。このメモリ12より出力
された照度補正係数、または配光分布データから算出さ
れた照度補正係数により画像データの補正を行う。次
に、撮影が終了かを調べて(#5)、終了であれば処理
を終了し、終了していなければ、#2に戻り上記処理を
繰り返す。
Next, the correction coefficient selecting operation will be described with reference to the flowchart of FIG. 7 and the block diagrams of FIGS. When the operator presses a start key on the operation unit 4, photographing is started, the CCD line sensor 7 starts scanning the original surface, and the memory 13 is set to the reading mode by the CPU 13 (# 1). From the captured image data of the white reference plate 6 read by a part of the CCD line sensor 7,
A coefficient G representing the illuminance state during one-line scanning is detected by the illuminance change detection unit 11 (# 2), and according to this coefficient G, an illuminance correction coefficient or distribution for all the pixels of the CCD line sensor 7 in the illuminance state. The address of the memory 12 where the light distribution data is stored is selected (# 3). From the address area of the memory 12 selected in # 3, the illuminance correction coefficient or the light distribution data is output according to the signal from the counter 14 (# 4). The image data is corrected using the illuminance correction coefficient output from the memory 12 or the illuminance correction coefficient calculated from the light distribution data. Next, it is checked whether the photographing is completed (# 5). If the photographing is completed, the process is terminated. If not completed, the process returns to # 2 and the above process is repeated.

【0028】次に、本装置における補正方法について、
図8及び図9の回路ブロック図を参照して説明する。図
8及び図9において、原稿台1上の照度状態がGのとき
にCCDラインセンサ7から出力された原稿9の画像デ
ータはA/D変換器10によってデジタル化される。こ
のデジタル化された画像データD(G、x)は、照度変
化検出部11に入力される。照度変化検出部11にて検
出される原稿台1上の照度状態を表わす係数Gによっ
て、メモリ12のアドレスが選択される。この選択され
たアドレスのメモリ12には、図8では原稿台1上の照
度状態に応じた照度補正係数、図9には原稿台1上の照
度状態に応じた配光分布データがあらかじめ蓄えられて
いる。そして、このとき図8及び図9におけるメモリ1
2はCPU13によって読み出しモードが選択されてお
り、カウンタ14によってCCDラインセンサ7の各画
素に同期してアドレスが選択され、各画素に対する照度
補正係数Z(G、x)および配光分布のデータD2
(G、x)が読み出される。
Next, a correction method in the present apparatus will be described.
This will be described with reference to the circuit block diagrams of FIGS. 8 and 9, when the illuminance state on the document table 1 is G, the image data of the document 9 output from the CCD line sensor 7 is digitized by the A / D converter 10. The digitized image data D (G, x) is input to the illuminance change detection unit 11. The address of the memory 12 is selected by a coefficient G representing the illuminance state on the document table 1 detected by the illuminance change detection unit 11. In FIG. 8, an illuminance correction coefficient corresponding to the illuminance state on the document table 1 is stored in the memory 12 of the selected address, and in FIG. ing. At this time, the memory 1 shown in FIGS.
The read mode 2 is selected by the CPU 13, the address is selected by the counter 14 in synchronization with each pixel of the CCD line sensor 7, the illuminance correction coefficient Z (G, x) and the light distribution data D2 for each pixel.
(G, x) is read.

【0029】図8において、メモリ12から読み出され
た照度補正係数Z(G、x)は、そのまま乗算器15
(補正手段)に入力され、もう一方に入力されている画
像データD(G、x)と掛け算され、補正が行われる。
これにより、原稿台1上の照度変化によるムラのないき
れいな画像を出力することができる。
In FIG. 8, the illuminance correction coefficient Z (G, x) read from the memory 12 is directly used as a multiplier 15
(Correction means), and the image data D (G, x) input to the other is multiplied to perform correction.
As a result, a clear image without unevenness due to a change in illuminance on the document table 1 can be output.

【0030】一方、図9においては、メモリ12から読
み出された配光分布のデータD2(G、x)は、照度補
正係数発生部16(照度補正係数発生手段)に入力さ
れ、(1.2)式の演算が行われ、照度補正係数Z
(G、x)が出力される。この照度補正係数Z(G、
x)は乗算器15に入力され、画像データD(G、x)
と掛け算され、補正が行われる。これにより、原稿台1
上の照度変化によるムラのないきれいな画像を出力する
ことができる。
On the other hand, in FIG. 9, the light distribution data D2 (G, x) read from the memory 12 is input to the illuminance correction coefficient generator 16 (illuminance correction coefficient generator), and (1. 2) is calculated, and the illuminance correction coefficient Z
(G, x) is output. This illuminance correction coefficient Z (G,
x) is input to the multiplier 15 and the image data D (G, x)
Is multiplied and correction is performed. Thereby, the platen 1
A clear image without unevenness due to the above change in illuminance can be output.

【0031】このように、本実施形態に係る画像読み取
り装置においては、CCDラインセンサ7の読み取り主
走査方向の照度分布の変化を捕らえ、この変化に応じて
画像データの補正を行うので、原稿面での外光の配光分
布が主走査方向で異なる時にも、外光の点滅による画像
のムラを補正し、きれいな画像を出力することが可能と
なる。
As described above, in the image reading apparatus according to the present embodiment, a change in the illuminance distribution in the main scanning direction of reading by the CCD line sensor 7 is detected, and the image data is corrected in accordance with the change. Even when the light distribution of the external light differs in the main scanning direction, unevenness of the image due to the flickering of the external light can be corrected, and a clear image can be output.

【0032】(第2の実施形態)上述したような画像読
み取り装置においては、CCDラインセンサ7の読み取
り主走査方向の照度分布の変化を捕らえ、この変化に応
じて画像データの補正を行うので、図10に示すよう
に、原稿台1上の照度分布がCCDラインセンサ7の読
み取り副走査方向の各走査位置においても異なることが
ある。同図において、L´(max )、L´(min )はそ
れぞれ周囲光が最大の時と、最小のときの原稿台上各走
査位置(CCDの副走査方向)における原稿台1上の照
度分布を表わしており、S1、S2はそれぞれ原稿台1
上の走査位置を示し、a,a´は走査位置S1における
周囲光が最大/最小時の原稿台1上の照度を表わし、
b,b´は走査位置S2における周囲光が最大/最小時
の原稿台1上の照度を表わしている。また、この照度の
変動は50/60Hzのサイクルで行われる。ここで
a,a´、b,b´はa≠a´、b≠b´である。した
がって、副走査方向の各走査位置において配光分布が異
なることから、照度補正係数はCCDラインセンサ7の
副走査方向の各走査位置において異なることになる。そ
こで、以下に、CCDラインセンサ7の読み取り副走査
方向の各走査位置において照明部3による原稿台1上の
照度分布並びに周囲光による原稿台1上の照度分布が異
なる場合にも対処可能な装置の実施形態を説明する。
(Second Embodiment) In the above-described image reading apparatus, a change in the illuminance distribution in the main scanning direction of reading by the CCD line sensor 7 is captured, and the image data is corrected in accordance with the change. As shown in FIG. 10, the illuminance distribution on the document table 1 may be different at each scanning position of the CCD line sensor 7 in the reading sub-scanning direction. In the figure, L ′ (max) and L ′ (min) are the illuminance distributions on the document table 1 at each scanning position (sub-scanning direction of the CCD) on the document table when the ambient light is maximum and minimum, respectively. And S1 and S2 are the document tables 1 respectively.
A, a 'represent the illuminance on the document table 1 when the ambient light at the scanning position S1 is maximum / minimum,
b and b ′ represent the illuminance on the document table 1 when the ambient light at the scanning position S2 is maximum / minimum. This change in illuminance is performed in a cycle of 50/60 Hz. Here, a, a ', b, b' are a ≠ a ', b ≠ b'. Therefore, since the light distribution is different at each scanning position in the sub-scanning direction, the illuminance correction coefficient is different at each scanning position of the CCD line sensor 7 in the sub-scanning direction. Accordingly, an apparatus capable of coping with a case where the illuminance distribution on the original table 1 by the illumination unit 3 and the illuminance distribution on the original table 1 due to ambient light are different at each scanning position in the reading sub-scanning direction of the CCD line sensor 7 will be described below. An embodiment will be described.

【0033】そこで、走査位置検出手段について説明す
る。CCDラインセンサ7が副走査方向に走査している
ときの、原稿台1上の各走査位置Snは、原稿台1上の
走査速度をV1、走査開始位置をS1、走査開始からの
時間をT1とすると、以下の(2.1)式より得ること
ができる。
Therefore, the scanning position detecting means will be described. When the CCD line sensor 7 scans in the sub-scanning direction, the scanning positions Sn on the document table 1 are: scanning speed V1 on the document table 1, scanning start position S1, and time from scanning start T1. Then, it can be obtained from the following equation (2.1).

【数3】V1×T1+S1=Sn・・・(2.1)V1 × T1 + S1 = Sn (2.1)

【0034】また、走査開始からの時間T1は、主走査
読み取り1ライン分の時間をThd、このThdを表わ
す信号である水平同期信号の走査開始からのカウント数
をKnとすると、以下の式で表わされる。
Assuming that the time T1 from the start of scanning is Thd for one line of main scanning reading, and that the count number of the horizontal synchronizing signal, which is a signal representing this Thd, from the start of scanning is Kn, the following equation is used. Is represented.

【数4】T1=Thd×Kn・・・(2.2) したがって、上述の(2.1)式は下記のようになる。T1 = Thd × Kn (2.2) Therefore, the above equation (2.1) is as follows.

【数5】 V1×Thd×Kn+S1=Sn・・・(2.3)V1 × Thd × Kn + S1 = Sn (2.3)

【0035】図11に本装置の走査位置検出部21(走
査位置検出手段)のブロック図を示す。制御信号発生部
17はCCDラインセンサ7を駆動するための制御信号
を発生しており、カウンタ18は制御信号発生部17よ
り出力される主走査読み取り1ライン時間Thdを示す
水平同期信号をカウントする。このカウンタ18により
カウントされた結果Knと、CPU13より得られる主
走査読み取り1ライン時間Thdと、走査速度V1の掛
け算された値V1×Thdを乗算器19に入力し、V1
×Thd×Knの値を出力する。乗算器19より出力さ
れたV1×Thd×Knの値は加算器20に入力され、
CPU13より得られる走査開始位置S1と加算された
走査位置Snが出力される。
FIG. 11 is a block diagram of the scanning position detecting section 21 (scanning position detecting means) of the present apparatus. The control signal generator 17 generates a control signal for driving the CCD line sensor 7, and the counter 18 counts a horizontal synchronizing signal output from the control signal generator 17 and indicating one line of main scanning reading line Thd. . The result Kn counted by the counter 18, the main scanning read one line time Thd obtained from the CPU 13, and the value V1 × Thd multiplied by the scanning speed V1 are input to the multiplier 19, and V1
The value of × Thd × Kn is output. The value of V1 × Thd × Kn output from the multiplier 19 is input to the adder 20,
The scanning position Sn added to the scanning start position S1 obtained by the CPU 13 is output.

【0036】次に、照度補正係数について説明する。照
度補正係数は、CCDラインセンサ7の走査位置によっ
ても異なることから、各走査位置Snと原稿走査中の原
稿台1上の照度状態GにおけるCCDラインセンサ7の
各画素Xに対したものとなり、Z(Sn、G、x)とす
ると、照度補正係数Z(Sn、G、x)は、原稿台1上
に白紙を設置したときの各走査位置Sn、および原稿台
1上の各照度状態GにおけるCCDラインセンサ7の1
ライン各画素の出力D2(Sn、G、x)と、センサ面
の照度が基準とするLa均一となったときの均一なCC
Dラインセンサ7の出力Daより、以下の式で求められ
る。
Next, the illuminance correction coefficient will be described. Since the illuminance correction coefficient differs depending on the scanning position of the CCD line sensor 7, it is obtained for each scanning position Sn and each pixel X of the CCD line sensor 7 in the illuminance state G on the document table 1 during document scanning. Assuming that Z (Sn, G, x), the illuminance correction coefficient Z (Sn, G, x) is determined by each scanning position Sn when a blank sheet is placed on the document table 1 and each illuminance state G on the document table 1. Of CCD line sensor 7 in
The output D2 (Sn, G, x) of each pixel of the line and the uniform CC when the illuminance of the sensor surface becomes the reference La uniformity
From the output Da of the D line sensor 7, it is obtained by the following equation.

【数6】 Z(Sn、G、x)=Da/D2(Sn、G、x)・・・(2.4) ただし、Sn:CCDラインセンサ7の原稿台1上にお
ける走査位置 x :CCDラインセンサ7の主走査方向1ラインの各
画素アドレス G :原稿台1上の照度状態を表わす係数
Z (Sn, G, x) = Da / D2 (Sn, G, x) (2.4) where Sn: scanning position of CCD line sensor 7 on document table 1 x: CCD Each pixel address of one line in the main scanning direction of the line sensor 7 G: Coefficient representing the illuminance state on the document table 1

【0037】本装置では、原稿撮影以前に原稿台1上に
白紙を設置し、この白紙を撮影する。この撮影をする際
に、図13と図14のブロック図において、走査位置検
出部21により検出されるCCDラインセンサ7の走査
位置Snと、照度変化検出部11により検出される原稿
台1上の各照度状態Gに応じて、撮影されデジタル化さ
れたCCDラインセンサ7の1ライン各画素の出力画像
データD2(Sn、G、x)をメモリ12に蓄える。こ
れにより、原稿撮影以前に原稿台上に各走査位置Sn、
および各照度状態Gに応じた配光分布のデータD2(S
n、G、x)を蓄えることができる。そして、図13に
おいては、原稿撮影以前にCPU13にて(2.4)式
の演算を行うことで各照度状態Gに応じた照度補正係数
Z(Sn、G、x)を得ることができ、この照度補正係
数Z(Sn、G、x)をメモリ12に蓄える。一方、図
14においては、原稿撮影時に、照度補正係数発生部2
2において、メモリ12に蓄えられている各走査位置S
nと、各照度状態Gに応じた配光分布のデータD2(S
n、G、x)とを用いて、(2.4)式の演算を行うこ
とで、照度補正係数Z(Sn、G、x)を得ることがで
きる。
In this apparatus, a blank sheet is set on the document table 1 before photographing the document, and the blank sheet is photographed. 13 and FIG. 14, the scanning position Sn of the CCD line sensor 7 detected by the scanning position detection unit 21 and the scanning position on the document table 1 detected by the illuminance change detection unit 11 are shown in the block diagrams of FIGS. The output image data D2 (Sn, G, x) of each pixel of one line of the CCD line sensor 7 captured and digitized according to each illuminance state G is stored in the memory 12. As a result, each scanning position Sn,
And light distribution data D2 (S
n, G, x) can be stored. In FIG. 13, the illuminance correction coefficient Z (Sn, G, x) corresponding to each illuminance state G can be obtained by performing the calculation of the expression (2.4) in the CPU 13 before photographing the document. The illuminance correction coefficient Z (Sn, G, x) is stored in the memory 12. On the other hand, in FIG. 14, the illuminance correction coefficient generator 2
2, each scanning position S stored in the memory 12
n and light distribution data D2 (S
The illuminance correction coefficient Z (Sn, G, x) can be obtained by performing the calculation of the expression (2.4) using (n, G, x).

【0038】次に、照度補正係数選択手段について、図
12のフローチャート、及び図13、図14のブロック
図を参照して説明する。操作者が操作部4にあるスター
トキーを押すと、撮影が開始されCCDラインセンサ7
が原稿面の走査を開始し、CPU13によりメモリ12
を読み出しモードとする(#11)。CCDラインセン
サ7が原稿面の走査を開始すると同時に、走査位置検出
部21にて撮影中の走査位置Snを検出する(#1
2)。CCDラインセンサ7の1部分で読み取られてい
る、白色基準板6の撮影画像データより1ライン走査中
の照度状態を表わす係数Gを照度変化検出部11にて検
出する(#13)。検出された撮影中の走査位置Snよ
り、メモリ12に蓄えられている走査位置Snに応じた
CCDラインセンサ7の全画素に対する照度補正係数、
または配光分布データのアドレス領域を選択し(#1
4)、さらに、#14にて選択されているメモリ12の
アドレス領域において、#13にて検出された1ライン
走査中の照度状態を表わす係数Gに応じて、その照度状
態におけるCCDラインセンサ7の全画素に対する照度
補正係数または配光分布データが蓄えられているメモリ
12のアドレスを選択する(#15)。
Next, the illuminance correction coefficient selecting means will be described with reference to the flowchart of FIG. 12 and the block diagrams of FIGS. When the operator presses a start key on the operation unit 4, shooting is started and the CCD line sensor 7 is started.
Starts scanning the original surface, and the CPU 13
In the read mode (# 11). At the same time when the CCD line sensor 7 starts scanning the document surface, the scanning position detection unit 21 detects the scanning position Sn during shooting (# 1).
2). The illuminance change detection unit 11 detects a coefficient G representing the illuminance state during one-line scanning from the captured image data of the white reference plate 6 read by one part of the CCD line sensor 7 (# 13). An illuminance correction coefficient for all pixels of the CCD line sensor 7 corresponding to the scanning position Sn stored in the memory 12 from the detected scanning position Sn during shooting;
Alternatively, the address area of the light distribution data is selected (# 1).
4) Further, in the address area of the memory 12 selected in # 14, the CCD line sensor 7 in the illuminance state according to the coefficient G representing the illuminance state during one-line scanning detected in # 13. Then, the address of the memory 12 storing the illuminance correction coefficient or the light distribution data for all the pixels is selected (# 15).

【0039】図13において、照度補正係数がメモリ1
2に蓄えられている場合は、照度補正係数をメモリ12
より出力する(#16)。一方、図14において、配光
分布データがメモリ12に蓄えられている場合は、配光
分布データをメモリ12より出力し、照度補正係数発生
部22にて(2.4)式の演算を行うことで、照度補正
係数を照度補正係数発生部22より出力する(#1
6)。この照度補正係数により画像データの補正を行
う。次に、撮影が終了しているかを調べ(#17)、終
了であれば処理を終了し、終了していなければ、#12
に戻り処理を繰り返す。
In FIG. 13, the illuminance correction coefficient is stored in the memory 1
2 is stored in the memory 12
Output (# 16). On the other hand, in FIG. 14, when the light distribution data is stored in the memory 12, the light distribution data is output from the memory 12, and the illuminance correction coefficient generator 22 performs the calculation of the equation (2.4). Thus, the illuminance correction coefficient is output from the illuminance correction coefficient generator 22 (# 1).
6). The image data is corrected using the illuminance correction coefficient. Next, it is checked whether the photographing has been completed (# 17). If the photographing has been completed, the processing is terminated.
And the process is repeated.

【0040】次に、この画像読み取り装置の画像データ
の補正方法について、図13及び図14のブロック図を
参照して説明する。図13及び図14において、原稿台
1上の照度状態がGのときにCCDラインセンサ7にて
読み込まれ、出力された原稿の画像データは、A/D変
換器10によってデジタル化される。このデジタル化さ
れた各走査位置Snでの画像データD(Sn、G、x)
は、照度変化検出部11と乗算器15に入力される。図
13において、乗算器15のもう一方の入力には、走査
位置検出部21によって検出されたCCDラインセンサ
7の走査位置Sn、照度変化検出部11にて検出される
原稿台1上の照度状態を表わす係数G、及びカウンタ1
4からの信号に基づいてCPU13(照度補正係数選択
手段)によって選択されたメモリ12のアドレスの照度
補正係数Z(Sn、G、x)が入力されており、この係
数と画像データD(Sn、G、x)が掛け算され、原稿
台1上の照度変化によるムラのないきれいな画像が出力
される。
Next, a method of correcting the image data of the image reading apparatus will be described with reference to the block diagrams of FIGS. 13 and 14, when the illuminance state on the document table 1 is G, the image data of the document read and output by the CCD line sensor 7 is digitized by the A / D converter 10. Image data D (Sn, G, x) at each digitized scanning position Sn
Is input to the illuminance change detection unit 11 and the multiplier 15. In FIG. 13, the other input of the multiplier 15 includes the scanning position Sn of the CCD line sensor 7 detected by the scanning position detecting unit 21 and the illuminance state on the document table 1 detected by the illuminance change detecting unit 11. And a counter G representing
The illuminance correction coefficient Z (Sn, G, x) at the address of the memory 12 selected by the CPU 13 (illuminance correction coefficient selection means) based on the signal from the CPU 4 is input, and this coefficient and the image data D (Sn, G, x), and a clear image without unevenness due to a change in illuminance on the document table 1 is output.

【0041】一方、図14においては、乗算器15のも
う一方の入力には照度補正係数Z(Sn、G、x)が入
力されており、この係数はメモリ12に蓄えられた各走
査位置における原稿台1上の照度状態に応じた配光分布
データD2(Sn、G、x)を、照度補正係数発生部2
2において(2.4)式の演算を行うことにより算出さ
れたものである。この係数と画像データD(Sn、G、
x)が掛け算され、原稿台1上の照度変化によるムラの
ないきれいな画像が出力される。
On the other hand, in FIG. 14, an illuminance correction coefficient Z (Sn, G, x) is input to the other input of the multiplier 15, and this coefficient is stored at each scanning position stored in the memory 12. The light distribution data D2 (Sn, G, x) corresponding to the illuminance state on the document table 1 is transmitted to the illuminance correction coefficient generator 2
2 is obtained by performing the calculation of the expression (2.4). This coefficient and image data D (Sn, G,
x), and a clear image without unevenness due to a change in illuminance on the document table 1 is output.

【0042】このように上記実施形態に係る画像読み取
り装置においては、原稿面での外光の配光分布が主走査
方向で異なる時にも、外光の点滅による副走査方向のム
ラを補正することができ、きれいな画像を出力すること
ができる。
As described above, in the image reading apparatus according to the embodiment, even when the distribution of external light on the document surface differs in the main scanning direction, it is possible to correct unevenness in the sub-scanning direction due to flickering of external light. And a clear image can be output.

【0043】(第3の実施形態)しかしながら、上述の
実施形態に示した画像読み取り装置では原稿台1上のす
べての走査位置と、それにおけるすべての照度状態に応
じた照度補正係数、または配光分布データをメモリに蓄
える必要がある。したがって、原稿台上の照度変化が大
きい場合には、メモリの容量が多く必要となる。そこで
以下に、原稿台1上の照度変化の大きさにかかわらず、
一定でしかも少ないメモリ容量で補正を行うことができ
る画像読み取り装置について説明する。
(Third Embodiment) However, in the image reading apparatus shown in the above-described embodiment, an illuminance correction coefficient or a light distribution corresponding to all the scanning positions on the document table 1 and all the illuminance states thereat. It is necessary to store distribution data in a memory. Therefore, when the illuminance change on the document table is large, a large memory capacity is required. Therefore, below, regardless of the magnitude of the illuminance change on the platen 1,
An image reading apparatus that can perform correction with a constant and small memory capacity will be described.

【0044】まず、照度補正係数発生手段について説明
する。周囲光が最大(Imax )のときと最小(Imin )
のとき原稿台1上に置かれた白紙を撮影した場合の、走
査位置SnにおけるCCDラインセンサ7の1ライン各
画素の出力をそれぞれD2(Sn、max 、x)、D2
(Sn、min 、x)とするとき、走査位置Snにおいて
原稿台1上の照度状態がGで白紙を撮影した場合のCC
Dラインセンサ7の1ライン各画素の出力画像データD
2(Sn、G、x)は、図15に示すようになる。すな
わち、D2(Sn、G、x)はD2(Sn、min 、x)
≦D2(Sn、G、x)≦D2(Sn、max 、x)とな
る。
First, the illuminance correction coefficient generating means will be described. When the ambient light is maximum (Imax) and minimum (Imin)
In this case, when a blank sheet placed on the document table 1 is photographed, the output of each pixel of one line of the CCD line sensor 7 at the scanning position Sn is represented by D2 (Sn, max, x) and D2, respectively.
(Sn, min, x), the CC when the illuminance state on the document table 1 is G at the scanning position Sn and a blank sheet is photographed
Output image data D of each pixel of one line of D line sensor 7
2 (Sn, G, x) is as shown in FIG. That is, D2 (Sn, G, x) becomes D2 (Sn, min, x).
≤ D2 (Sn, G, x) ≤ D2 (Sn, max, x).

【0045】同図において、白色基準板6を読み取る画
素のアドレスをAとし、原稿画像部を読み取っているC
CDラインセンサ7の画素アドレスをB,Cとすると
き、走査位置Snにおいてそれぞれのアドレスにおける
周囲光が最大、最小のときの白紙を撮影したときの各画
素の出力画像データはD2(Sn、max 、A)、D2
(n、min 、A)、D2(Sn、max 、B)、D2(S
n、min 、B)、D2(Sn、max 、C)、D2(S
n、min 、C)となる。これらの画像データと、周囲光
+照明光IがImax ≧I≧Imin で変化し、原稿台1上
の照度Iの状態を表わす係数をGとするとき、走査位置
Snにおいて、照度状態Gにて白紙を撮影したときの各
アドレスA、B、Cの出力画像データD2(Sn、G、
A)、D2(Sn、G、B)、D2(Sn、G、C)に
は、以下の関係式が成り立つ。
In the figure, the address of the pixel for reading the white reference plate 6 is A, and the C for reading the original image portion is C.
When the pixel addresses of the CD line sensor 7 are B and C, the output image data of each pixel when a blank sheet is photographed when the ambient light at each address is the maximum and the minimum at the scanning position Sn is D2 (Sn, max). , A), D2
(N, min, A), D2 (Sn, max, B), D2 (S
n, min, B), D2 (Sn, max, C), D2 (S
n, min, C). When these image data and the ambient light + illumination light I change with Imax ≧ I ≧ Imin, and a coefficient representing the state of the illuminance I on the document table 1 is G, the scan position Sn and the illuminance state G Output image data D2 (Sn, G,
A), D2 (Sn, G, B) and D2 (Sn, G, C) satisfy the following relational expressions.

【数7】{D2(Sn、G、A)−D2(Sn、min 、
A)}÷{D2(Sn、max、A)−D2(Sn、min
、A)} ={D2(Sn、G、B)−D2(Sn、min 、B)}
÷{D2(Sn、max 、B)−D2(Sn、min 、
B)} ={D2(Sn、G、C)−D2(Sn、min 、C)}
÷{D2(Sn、max 、C)−D2(Sn、min 、
C)}
7D2 (Sn, G, A) -D2 (Sn, min,
A)} ÷ {D2 (Sn, max, A) -D2 (Sn, min
, A)} = {D2 (Sn, G, B) -D2 (Sn, min, B)}
÷ {D2 (Sn, max, B) -D2 (Sn, min, B
B)} = {D2 (Sn, G, C) -D2 (Sn, min, C)}
÷ {D2 (Sn, max, C)-D2 (Sn, min,
C)}

【0046】ここで、上式の第1項{D2(Sn、G、
A)−D2(Sn、min 、A)}÷{D2(Sn、max
、A)−D2(Sn、min 、A)}なる演算により得
られる値が、走査位置Snで撮影したときの照度の状態
を表わす係数G(Sn)である。
Here, the first term {D2 (Sn, G,
A) −D2 (Sn, min, A)} ÷ {D2 (Sn, max
, A) -D2 (Sn, min, A)} is a coefficient G (Sn) representing the state of the illuminance at the time of shooting at the scanning position Sn.

【0047】この関係より各走査位置SnにおいてCC
Dラインセンサ7の各画素における周囲光最大/最小の
ときの白紙を撮影時の画像データD2(Sn、max 、
x)、D2(Sn、min 、x)、(これらには、周囲光
が最大(Imax )のときと最小(Imin )のときの白色
基準板を読み取ったアドレスAの画像データD2(S
n、max 、A)、D2(Sn、min 、A)も含まれ
る。)を記憶しておき、原稿撮影中で各走査位置Snの
白色基準板6を読み取る画素のアドレスAの画像データ
D2(Sn,G、A)を用いることで、あらゆる周囲光
I(Imax ≧I≧Imin)における原稿撮影時の走査位
置Snにおける配光分布D2(Sn、G、x)を以下の
関係式より得ることができる。
From this relationship, CC at each scanning position Sn
The image data D2 (Sn, max,
x), D2 (Sn, min, x), (These include image data D2 (S2) of the address A that read the white reference plate when the ambient light is maximum (Imax) and minimum (Imin).
n, max, A) and D2 (Sn, min, A) are also included. ) Is stored, and the image data D2 (Sn, G, A) at the address A of the pixel for reading the white reference plate 6 at each scanning position Sn during the photographing of the original is used, so that any ambient light I (Imax ≧ I The light distribution D2 (Sn, G, x) at the scanning position Sn at the time of photographing the original at ≧ Imin) can be obtained from the following relational expression.

【数8】 D2(Sn、G、x)={D2(Sn、G、A)−D2(Sn、min 、A) }{D2(Sn、max 、A)−D2(Sn、min 、A)}×{D2(Sn、max 、x)−D2(Sn、min 、x)}+D2(Sn、min 、x) =G(Sn)×{D2(Sn、max 、x)−D2(Sn、min 、x)}+D 2(Sn、min 、x)・・・(3.1) ただし、x :CCDラインセンサ7の主走査1ラインの各画素アドレス G(Sn):(1.1)式より得られる走査位置Snにおける原稿台1 上の照度状態を表わす係数D2 (Sn, G, x) = {D2 (Sn, G, A) −D2 (Sn, min, A)} {D2 (Sn, max, A) −D2 (Sn, min, A) } × {D2 (Sn, max, x) -D2 (Sn, min, x)} + D2 (Sn, min, x) = G (Sn) × {D2 (Sn, max, x) -D2 (Sn, min , X)} + D 2 (Sn, min, x) (3.1) where x: each pixel address of one main scanning line of the CCD line sensor 7 G (Sn): From the equation (1.1) Coefficient representing illuminance state on document table 1 at obtained scanning position Sn

【0048】上式より原稿撮影時の各走査位置Snにお
ける、すべての照度状態Gでの配光分布D2(Sn、
G、x)を得ることから、これを(2.4)式にあては
めることにより原稿撮影時の照度補正係数Z(Sn、
G、x)を得ることができる。
From the above equation, the light distribution D2 (Sn,
G, x), and by applying this to equation (2.4), the illuminance correction coefficient Z (Sn,
G, x).

【数9】 Z(Sn、G、x) =Da÷{G(Sn)×{D2(Sn、max 、x)−D2(Sn、min 、x )}+D2(Sn、min 、x)}・・・(3.2) ={Da÷(G(Sn)×D2(Sn、max 、x))}−{Da÷(G(S n)×D2(Sn、min 、x))}+{Da÷D2(Sn、min 、x)} ={Z(Sn、max 、x)÷G(Sn)}−{Z(Sn、min 、x)÷G (Sn)}+Z(Sn、min 、x)・・・(3.3) ただし、Z(Sn、max 、x):走査位置Snにおける
原稿台1上の照度状熊が最大のときの照度補正係数 Z(Sn、max 、x)=Da÷D2(Sn、max 、x)
((2.4)式より) ただし、Z(Sn、min 、x):走査位置Snにおける
原稿台1上の照度状熊が最小のときの照度補正係数 Z(Sn、min 、x)=Da÷D2(Sn、min 、x)
((2.4)式より)
Z (Sn, G, x) = Da {G (Sn) × {D2 (Sn, max, x) -D2 (Sn, min, x)} + D2 (Sn, min, x)} .. (3.2) = {Da} (G (Sn) × D2 (Sn, max, x))} − {Da} (G (Sn) × D2 (Sn, min, x)) ++ Da ÷ D2 (Sn, min, x)} = {Z (Sn, max, x) ÷ G (Sn)}-{Z (Sn, min, x) ÷ G (Sn)} + Z (Sn, min, x (3.3) where Z (Sn, max, x): the illuminance correction coefficient when the illuminated bear on the document table 1 at the scanning position Sn is the maximum Z (Sn, max, x) = Da ÷ D2 (Sn, max, x)
(From equation (2.4)) where Z (Sn, min, x): the illuminance correction coefficient when the illuminance-shaped bear on the document table 1 at the scanning position Sn is the minimum Z (Sn, min, x) = Da ÷ D2 (Sn, min, x)
(From equation (2.4))

【0049】次に、本装置における照度補正係数発生手
段について、図16のフローチャートと図17のブロッ
ク図を参照して説明する。操作者が操作部4にあるスタ
ートキーを押すと、撮影が開始されCCDラインセンサ
7が原稿面の走査を開始し、CPU13によりメモリ1
2を読み出しモードとする(#21)。CCDラインセ
ンサ7が原稿面の走査を開始すると同時に、走査位置検
出部21にて撮影中の走査位置Snを検出する(#2
2)。CCDラインセンサ7の1部分で読み取られてい
る白色基準板6の撮影画像データより、走査位置Snに
おける1ライン走査中の照度状態を表わす係数G(S
n)を照度変化検出部11にて検出し(#23)、検出
された撮影中の走査位置Snより、メモリ12に蓄えら
れている走査位置Snにおける照度状熊が最大/最小の
ときのCCDラインセンサ7の全画素に対する照度補正
係数または配光分布データのアドレスを選択する(#2
4)。#24にて選択されているメモリ12のアドレス
領域において、カウンタ14によりCCDラインセンサ
7から出力されてくる各画素の画像データに応じた照度
補正係数が蓄えられているメモリ12のアドレスを選択
し、走査位置SnにおけるCCD各画素に対する照度状
態が最大/最小のときの照度補正係数または配光分布デ
ータがメモリ12より出力され(#25)、これらは照
度補正係数発生部23に入力される(#26)。なお、
#23において検出された照度状熊を表わす係数G(S
n)も照度補正係数発生部23に入力される。
Next, the illuminance correction coefficient generating means in the present apparatus will be described with reference to the flowchart of FIG. 16 and the block diagram of FIG. When the operator presses a start key on the operation unit 4, photographing is started and the CCD line sensor 7 starts scanning the original surface.
2 is set to the read mode (# 21). At the same time that the CCD line sensor 7 starts scanning the document surface, the scanning position detection unit 21 detects the scanning position Sn during shooting (# 2).
2). Based on image data of the white reference plate 6 read by one part of the CCD line sensor 7, a coefficient G (S) representing the illuminance state during one-line scanning at the scanning position Sn.
n) is detected by the illuminance change detection unit 11 (# 23), and the CCD at the time when the illuminance-shaped bear at the scanning position Sn stored in the memory 12 is the maximum / minimum from the detected scanning position Sn during imaging. The address of the illuminance correction coefficient or the light distribution data for all the pixels of the line sensor 7 is selected (# 2)
4). In the address area of the memory 12 selected in # 24, the counter 14 selects the address of the memory 12 in which the illuminance correction coefficient corresponding to the image data of each pixel output from the CCD line sensor 7 is stored. The illuminance correction coefficient or the light distribution data when the illuminance state for each pixel of the CCD at the scanning position Sn is maximum / minimum is output from the memory 12 (# 25), and these are input to the illuminance correction coefficient generator 23 (# 25). # 26). In addition,
The coefficient G (S) representing the illuminated bear detected in # 23
n) is also input to the illuminance correction coefficient generation unit 23.

【0050】上記#26にて、メモリ12から配光分布
データが照度補正係数発生部23に入力された場合は
(#27においてYES)、照度補正係数発生部23に
て(3.2)式の演算が行われる(#28.1)。一
方、メモリ12から照度補正係数が照度補正係数発生部
23に入力された場合は(#27においてNO)、照度
補正係数発生部23にて(3.3)式の演算が行われる
(#28.2)。#28.1または#28.2の結果、
照度補正係数発生部23よりCCD各画素に対する、走
査位置Snにおける照度状態G(Sn)での照度補正係
数Z(Sn、G、x)が出力され(#29)、この照度
補正係数Z(Sn、G、x)により画像データの補正を
行う。次に、撮影が終了かを調べ(#30)、終了であ
れば処理を終了し、終了していなければ、#22に戻り
処理を繰り返す。
In step # 26, when the light distribution data is input from the memory 12 to the illuminance correction coefficient generation unit 23 (YES in # 27), the illuminance correction coefficient generation unit 23 calculates the expression (3.2). Is performed (# 28.1). On the other hand, when the illuminance correction coefficient is input from the memory 12 to the illuminance correction coefficient generator 23 (NO in # 27), the illuminance correction coefficient generator 23 performs the calculation of the equation (3.3) (# 28). .2). As a result of # 28.1 or # 28.2,
The illuminance correction coefficient generator 23 outputs an illuminance correction coefficient Z (Sn, G, x) in the illuminance state G (Sn) at the scanning position Sn for each pixel of the CCD (# 29), and the illuminance correction coefficient Z (Sn , G, x) to correct the image data. Next, it is checked whether or not the photographing is completed (# 30). If it is completed, the process is terminated. If not, the process returns to # 22 and the process is repeated.

【0051】なお、上述した照度補正係数発生部23
は、各走査位置において配光分布が異なる場合について
の方法について記したが、原稿台上各走査位置において
配光分布が異ならない場合には、各走査位置において同
様の最大/最小の配光分布または照度補正係数より、原
稿台1上の照度状態に応じた照度補正係数を得ることが
できる。
The illuminance correction coefficient generator 23 described above
Describes the method for the case where the light distribution is different at each scanning position. However, when the light distribution is not different at each scanning position on the platen, the same maximum / minimum light distribution at each scanning position. Alternatively, an illuminance correction coefficient corresponding to the illuminance state on the document table 1 can be obtained from the illuminance correction coefficient.

【0052】次に、本装置の画像データの補正方法につ
いて説明する。図17において、原稿台1上の照度状態
がGのときにCCDラインセンサ7にて読み込まれ、出
力された原稿の画像データはA/D変換器10によって
デジタル化される。このデジタル化された各走査位置S
nでの画像データD(Sn、G、x)は、照度変化検出
部11および乗算器15に入力される。照度補正係数発
生部23には、走査位置検出部21によって検出された
CCDラインセンサ7の走査位置Sn、およびカウンタ
14によって選択されたアドレスのメモリ12に蓄えら
れている、CCD各画素に対する照度が最大/最小の時
の照度補正係数Z(Sn、max 、x)、Z(Sn、min
、x)、または配光分布データD2(Sn、max 、
x)、D2(Sn、min 、x)が入力されている。ま
た、照度補正係数発生部23には、照度変化検出部11
によって検出された原稿台1上の照度状態を表わす係数
Gが入力されている。
Next, a method of correcting image data by the present apparatus will be described. In FIG. 17, when the illuminance state on the document table 1 is G, the image data of the document read by the CCD line sensor 7 and output is digitized by the A / D converter 10. Each digitized scanning position S
The image data D (Sn, G, x) at n is input to the illuminance change detection unit 11 and the multiplier 15. The illuminance correction coefficient generator 23 stores the scan position Sn of the CCD line sensor 7 detected by the scan position detector 21 and the illuminance for each CCD pixel stored in the memory 12 at the address selected by the counter 14. Illuminance correction coefficient Z (Sn, max, x) at maximum / minimum, Z (Sn, min
, X) or the light distribution data D2 (Sn, max,
x) and D2 (Sn, min, x) are input. The illuminance correction coefficient generator 23 includes an illuminance change detector 11.
A coefficient G representing the illuminance state on the document table 1 detected by the above is input.

【0053】照度補正係数発生部23に照度補正係数Z
(Sn、max 、x)、Z(Sn、min 、x)が入力され
た場合は、照度補正係数発生部23にて(3.3)式の
演算を行う。一方、配光分布データD2(Sn、max 、
x)、D2(Sn、min 、x)が入力されている場合に
は、CPU13よりCCDラインセンサ7の出力基準値
Daが入力され、照度補正係数発生部23にて(3.
3)式の演算を行う。演算の結果、照度補正係数発生部
23より走査位置Snにおける、原稿台1上の照度状態
G(Sn)に応じたCCD各画素に対する照度補正係数
Z(Sn、G、x)が出力される。この照度補正係数Z
(Sn、G、x)は、乗算器15に入力され、画像デー
タD(Sn、G、x)と掛け算され、原稿台1上の照度
変化によるムラのないきれいな画像が出力される。
The illuminance correction coefficient generation unit 23 supplies the illuminance correction coefficient Z
When (Sn, max, x) and Z (Sn, min, x) are input, the illuminance correction coefficient generator 23 performs the calculation of the equation (3.3). On the other hand, the light distribution data D2 (Sn, max,
x) and D2 (Sn, min, x) are input, the output reference value Da of the CCD line sensor 7 is input from the CPU 13 and the illuminance correction coefficient generation unit 23 outputs (3.
3) Perform the operation of the equation. As a result of the calculation, the illuminance correction coefficient generator 23 outputs an illuminance correction coefficient Z (Sn, G, x) for each pixel of the CCD corresponding to the illuminance state G (Sn) on the document table 1 at the scanning position Sn. This illuminance correction coefficient Z
(Sn, G, x) is input to the multiplier 15 and multiplied by the image data D (Sn, G, x), and a clear image without unevenness due to a change in illuminance on the document table 1 is output.

【0054】このように上記実施の形態に係る画像読み
取り装置においては、原稿台1上の全ての走査位置にお
ける全ての照度状態に応じた照度補正係数、または配光
分布データをメモリに蓄えておく必要がなく、少ないメ
モリ容量で画像データの補正を行うことができる。
As described above, in the image reading apparatus according to the above embodiment, the illuminance correction coefficients or the light distribution data corresponding to all the illuminance states at all the scanning positions on the document table 1 are stored in the memory. There is no need, and image data can be corrected with a small memory capacity.

【0055】(第4の実施形態)ところで、上述してき
た実施形態による照度の補正を行うための照度補正係数
Z(Sn、G、x)には、CCDラインセンサ7の各画
素の感度ばらつきの補正を行う係数も含まれている。図
18に本装置におけるCCDラインセンサ7の各画素の
感度ばらつきと、配光分布によるCCDラインセンサ7
の出力のばらつきを示す。同図において、D1(x)は
本装置においてCCDラインセンサ7に主走査方向に均
一な照度の光を当てたときの、CCDラインセンサ7の
出力であり、1画素ごとに出力値が異なっている。ま
た、D2´(x)はこのCCDラインセンサ7の感度ば
らつきのみを補正し、本装置において原稿台1上に白紙
を設置し撮影した場合のCCDラインセンサ7の出力で
ある。同図から分かるように、D1(x)はD2´
(x)に比べて高周波で、しかも1画素単位で大きく変
動している。
(Fourth Embodiment) By the way, the illuminance correction coefficient Z (Sn, G, x) for performing the illuminance correction according to the above-described embodiment includes the sensitivity variation of each pixel of the CCD line sensor 7. A coefficient for performing the correction is also included. FIG. 18 shows the sensitivity variation of each pixel of the CCD line sensor 7 in this device and the CCD line sensor 7 based on the light distribution.
3 shows the variation in the output of the first embodiment. In the figure, D1 (x) is the output of the CCD line sensor 7 when the CCD line sensor 7 is irradiated with light of uniform illuminance in the main scanning direction in the present apparatus, and the output value differs for each pixel. I have. D2 '(x) is an output of the CCD line sensor 7 when only the sensitivity variation of the CCD line sensor 7 is corrected and a blank sheet is placed on the document table 1 in the present apparatus and an image is taken. As can be seen from the figure, D1 (x) is D2 '
Compared with (x), the frequency fluctuates greatly at a high frequency and on a pixel-by-pixel basis.

【0056】CCDラインセンサ7の感度ばらつきは、
CCDラインセンサ固有のものであり、走査位置につい
ては関係はない。このことより、本装置において、原稿
台1上の配光分布がCCDラインセンサ7の感度ばらつ
きよりも低周波である場合には、以下の方法を用いるこ
とによりメモリの容量を小さくすることができる。
The sensitivity variation of the CCD line sensor 7 is as follows.
It is unique to the CCD line sensor and has no relation to the scanning position. Accordingly, in the present apparatus, when the light distribution on the document table 1 is lower in frequency than the sensitivity variation of the CCD line sensor 7, the memory capacity can be reduced by using the following method. .

【0057】まず、センサ感度補正係数について説明す
る。図19は本装置においてCCDラインセンサ面上に
主走査方向に均一な照度Laを与えたときのCCDライ
ンセンサの出力である。同図において出力が均一となら
ないのは、CCDラインセンサ7の各画素の感度F
(x)が均一とはならず、ばらつきを持っているためで
ある。この感度のばらつきを補正し、あたかもCCDラ
インセンサ7の各画素の感度が均一となる、すなわちC
CDラインセンサ7の各画素に均一な照度の光が当たっ
た場合に、CCDラインセンサ7の各画素の出力が均一
となるように画像データに掛ける係数が感度補正係数で
ある。CCDラインセンサ7の出力D(x)と、CCD
ラインセンサ7の各画素の感度F(x)との関係は以下
の式によって表わされる。
First, the sensor sensitivity correction coefficient will be described. FIG. 19 shows the output of the CCD line sensor when uniform illuminance La is applied to the CCD line sensor surface in the main scanning direction in the present apparatus. In the figure, the output is not uniform because the sensitivity F of each pixel of the CCD line sensor 7 is different.
This is because (x) is not uniform and has variations. This variation in sensitivity is corrected so that the sensitivity of each pixel of the CCD line sensor 7 becomes uniform, that is, C
When light of uniform illuminance is applied to each pixel of the CD line sensor 7, a coefficient applied to image data so that the output of each pixel of the CCD line sensor 7 becomes uniform is a sensitivity correction coefficient. The output D (x) of the CCD line sensor 7 and the CCD
The relationship between the sensitivity F (x) of each pixel of the line sensor 7 is expressed by the following equation.

【数10】 D(x)=L(x)×F(x)・・・(4.1) ただし、L(x):CCDラインセンサ7の各画素にお
けるセンサ面照度 x :CCDラインセンサ7の主走査1ラインの各
画素アドレス
D (x) = L (x) × F (x) (4.1) where L (x): illuminance on the sensor surface of each pixel of the CCD line sensor 7 x: CCD line sensor 7 Pixel address of one line of main scan

【0058】上述の(4.1)式において、各画素のC
CDラインセンサ面に基準とする均一な照度Laの光が
照射され、CCDラインセンサ7の各画素の感度が基準
とするFaで均一となる場合、CCDラインセンサ7の
出力は以下のようになる。
In the above equation (4.1), C of each pixel
When the CD line sensor surface is irradiated with light having a uniform reference illuminance La and the sensitivity of each pixel of the CCD line sensor 7 is uniform at the reference Fa, the output of the CCD line sensor 7 is as follows. .

【数11】La×Fa=Da・・・(4.2) このように、各画素が均一な出力Daを出力する。## EQU11 ## La × Fa = Da (4.2) Thus, each pixel outputs a uniform output Da.

【0059】感度補正係数Y(x)の求め方は、CCD
ラインセンサ面に均一な照度Laの光を照射し、そのと
き得られるCCDラインセンサ出力D1(x)(=La
×F(x))及び(4.2)式より、以下の式で求めら
れる。
The method of obtaining the sensitivity correction coefficient Y (x) is as follows:
The line sensor surface is irradiated with light of uniform illuminance La, and the CCD line sensor output D1 (x) (= La) obtained at that time is obtained.
× F (x)) and (4.2) are obtained by the following equations.

【数12】 Y(x)=Fa/F(x)=Da/D1(x)・・・(4.3) ただし、x:CCDラインセンサ7の主走査1ラインの
各画素アドレス
Y (x) = Fa / F (x) = Da / D1 (x) (4.3) where x: each pixel address of one line of the main scanning of the CCD line sensor 7

【0060】本装置では原稿撮影以前に、CCDライン
センサ7に主走査各画素均一となる照度Laを照射し、
図22のブロック図において、そのときのCCDライン
センサ7の出力データD1(x)をメモリ25(第2の
記憶手段)に書き込み、その後、CPU13にてこのメ
モリ25に蓄えられている感度ばらつきデータD1
(x)を読み取り、あらかじめ得られる(4.2)式の
Daより(4.3)式の演算をCPU13にて行うこと
により感度補正係数Y(x)を求め、原稿撮影開始前に
CPU13がメモリ25に書き込む。そして、原稿撮影
時にはCPU13によりメモリ25が読み出しモードに
設定され、カウンタ14によりCCDラインセンサ7よ
り送られてくる各画素の画像データに同期して、メモリ
25のアドレスが選択され、メモリ25より各画素に対
する感度補正係数Y(x)が出力される。
This apparatus irradiates the CCD line sensor 7 with illuminance La that makes each pixel in the main scanning uniform before photographing the original.
In the block diagram of FIG. 22, the output data D1 (x) of the CCD line sensor 7 at that time is written in the memory 25 (second storage means), and then the sensitivity variation data stored in the memory 25 by the CPU 13 is written. D1
(X) is read, and the sensitivity correction coefficient Y (x) is obtained by performing the operation of Expression (4.3) by the CPU 13 from the previously obtained Da of Expression (4.2). Write to the memory 25. At the time of document photographing, the memory 13 is set to the reading mode by the CPU 13, and the address of the memory 25 is selected by the counter 14 in synchronization with the image data of each pixel sent from the CCD line sensor 7. The sensitivity correction coefficient Y (x) for the pixel is output.

【0061】次に、照度補正係数発生手段について説明
する。図20に、本装置において配光分布がCCDライ
ンセンサ7の画素毎における感度ばらつきよりも低周波
で変化している場合の配光分布を示す。同図において、
D2´(x)は原稿台1上に白紙を設置し撮影した際の
CCDラインセンサ7の出力D2(x)に感度補正係数
Y(x)を掛けたものであり、以下の式で表わすことが
できる。
Next, the illuminance correction coefficient generating means will be described. FIG. 20 shows the light distribution when the light distribution changes at a lower frequency than the sensitivity variation for each pixel of the CCD line sensor 7 in the present apparatus. In the figure,
D2 ′ (x) is obtained by multiplying the output D2 (x) of the CCD line sensor 7 when a blank sheet is placed on the document table 1 and shooting by a sensitivity correction coefficient Y (x), and is represented by the following equation. Can be.

【数13】 D2´(x)=D2(x)×Y(x)(4.4) ただし、D2(x):原稿台1上に白紙を設置し、撮影
した際のCCDラインセンサ7の出力 Y(x) :CCDラインセンサ7の感度補正係数
D2 ′ (x) = D2 (x) × Y (x) (4.4) where D2 (x) is the CCD line sensor 7 when a blank sheet is placed on the document table 1 and an image is taken. Output Y (x): sensitivity correction coefficient of CCD line sensor 7

【0062】このCCDラインセンサ出力D2´(x)
がセンサ面上の配光分布を表わしている。配光分布が低
周波の場合、図20においてアドレスB、Cにおける配
光分布データをD2´(B)、D2´(C)とすると、
アドレスB、Cの間にあるアドレスの画素の配光分布の
データはD2´(B)とD2´(C)を用いて以下のよ
うに、一点鎖線で示す直線で近似することができる。
This CCD line sensor output D2 '(x)
Represents the light distribution on the sensor surface. In the case where the light distribution is low frequency, assuming that the light distribution data at addresses B and C in FIG. 20 is D2 '(B) and D2' (C),
The data of the light distribution of the pixel at the address located between the addresses B and C can be approximated by a straight line indicated by a dashed line using D2 '(B) and D2' (C) as follows.

【0063】図20において、CCDラインセンサ7の
画素アドレスB、Cの間にある任意の画素アドレスをB
+Nとし、B−C=Mとすると、アドレスB+Nの配光
分布データD2´(B+N)は以下の関係式で表わすこ
とができる。
In FIG. 20, an arbitrary pixel address between pixel addresses B and C of the CCD line sensor 7 is represented by B.
+ N and BC = M, the light distribution data D2 '(B + N) at the address B + N can be expressed by the following relational expression.

【数14】 D2´(B+N)=[N×{D2´(C)−D2´(B)}÷M]+D2´ (B)・・・(4.5)D2 ′ (B + N) = [N × {D2 ′ (C) −D2 ′ (B)} ÷ M] + D2 ′ (B) (4.5)

【0064】この(4.5)式の演算を画素アドレス
B、Cの間のすべての画素について行うことにより、画
素アドレスB、C間のすべての画素の配光分布データ
を、アドレスB、Cにおける配光分布データD2´
(B)とD2´(C)より近似することができる。した
がって、(4.2)式で表わされる基準出力Daを用い
ると、感度ばらつき補正を除く照度補正係数Z´(B+
N)は以下の(4.6)式より得ることができる。
By performing the operation of the expression (4.5) for all the pixels between the pixel addresses B and C, the light distribution data of all the pixels between the pixel addresses B and C can be converted to the addresses B and C. Light distribution data D2 'at
(B) and D2 '(C) can be approximated. Therefore, when the reference output Da represented by the equation (4.2) is used, the illuminance correction coefficient Z ′ (B +
N) can be obtained from the following equation (4.6).

【数15】 Z´(B+N)=Da/D2´(B+N)・・・(4.6)[Mathematical formula-see original document] Z '(B + N) = Da / D2' (B + N) (4.6)

【0065】また、画素アドレスB、Cにおける、感度
ばらつき補正を除く照度補正係数Z´(B)、Z´
(C)よリB、C間のすべての画素の感度ばらつき補正
を除く照度補正係数Z´(B+N)を求めるには、Z´
(B)=Da/D2´(B)、Z´(C)=Da/D2
´(C)、および(4.5)(4.6)式より以下の
(4.7)式で求めることができる。
The illuminance correction coefficients Z '(B) and Z' at the pixel addresses B and C excluding the sensitivity variation correction.
(C) To obtain the illuminance correction coefficient Z '(B + N) excluding the sensitivity variation correction of all the pixels between B and C, use Z'
(B) = Da / D2 ′ (B), Z ′ (C) = Da / D2
'(C) and (4.5) (4.6) can be obtained by the following equation (4.7).

【数16】 Z´(B+N)=[N×{Z´(C)−Z´(B)}÷M]+Z´(B)・ ・・(4.7)Z ′ (B + N) = [N × [Z ′ (C) −Z ′ (B)} ÷ M] + Z ′ (B) (4.7)

【0066】次に、この照度補正係数発生部26による
照度補正係数発生動作について、図21のフローチャー
トと図22のブロック図を参照して説明する。操作者が
操作部4にあるスタートキーを押すと、撮影が開始され
CCDラインセンサ7が原稿面の走査を開始し、CPU
13によりメモリ12を読み出しモードとする(#4
1)。CCDラインセンサ7が原稿面の走査を開始する
と同時に、走査位置検出部21にて撮影中の走査位置S
nを検出する(#42)。CCDラインセンサ7の1部
分で読み取られている、白色基準板6の撮影画像データ
よリ走査位置Snにおける1ライン走査中の照度状態を
表わす係数G(Sn)を照度変化検出部11にて検出し
(#43)、この検出された撮影中の走査位置Snよ
り、メモリ12に蓄えられている走査位置Snにおける
照度状熊が最大/最小のときのCCDラインセンサ7の
全画素に対する照度補正係数または配光分布データのア
ドレスを選択する(#44)。次に、照度状熊が最大/
最小の時のCCDラインセンサ7の数画素おきの照度補
正係数または配光分布データがメモリ12より出力され
(#45)、照度補正係数発生部26に入力される(#
46)。なお、#43において検出された照度状熊を表
わす係数G(Sn)も照度補正係数発生部26に入力さ
れる。
Next, the operation of generating the illuminance correction coefficient by the illuminance correction coefficient generator 26 will be described with reference to the flowchart of FIG. 21 and the block diagram of FIG. When the operator presses a start key on the operation unit 4, photographing is started, and the CCD line sensor 7 starts scanning the document surface, and the CPU
13 to set the memory 12 in the read mode (# 4
1). At the same time when the CCD line sensor 7 starts scanning the document surface, the scanning position
n is detected (# 42). The illuminance change detection unit 11 detects a coefficient G (Sn) representing the illuminance state during one-line scanning at the re-scanning position Sn from the captured image data of the white reference plate 6 read by one part of the CCD line sensor 7. (# 43), the illuminance correction coefficient for all the pixels of the CCD line sensor 7 when the illuminance-shaped bear at the scanning position Sn stored in the memory 12 is the maximum / minimum from the detected scanning position Sn during imaging. Alternatively, the address of the light distribution data is selected (# 44). Next, the illuminated bear is the largest /
The illuminance correction coefficient or light distribution data for every few pixels of the CCD line sensor 7 at the minimum is output from the memory 12 (# 45) and input to the illuminance correction coefficient generator 26 (# 45).
46). Note that the coefficient G (Sn) representing the illuminance-like bear detected in # 43 is also input to the illuminance correction coefficient generation unit 26.

【0067】メモリ12から配光分布が照度補正係数発
生部26に入力された場合は(#47においてYE
S)、照度補正係数発生部26にて(4.5)(4.
6)式の演算がCCD全画素について行われる(#4
8.1)。一方、メモリ12から照度補正係数が照度補
正係数発生部26に入力された場合は(#47において
NO)、照度補正係数発生部26にて(4.7)式の演
算がCCD全画素について行われる(#48.2)。#
48.1または#48.2の演算により、照度補正係数
発生部26よりCCD各画素に対する走査位置Sn,照
度状態G(Sn)に応じた感度補正を含まない照度補正
係数Z´(Sn、G、x)が出力され(#49)、この
照度補正係数Z´(Sn、G、x)により画像データの
補正が行われる。次に、撮影が終了したかを調べ(#5
0)、終了していれば処理を終了し、終了していなけれ
ば#42に戻り処理を繰り返す。
When the light distribution is input from the memory 12 to the illuminance correction coefficient generator 26 (YE in # 47)
S), the illuminance correction coefficient generating section 26 (4.5) (4.
The calculation of equation (6) is performed for all pixels of the CCD (# 4)
8.1). On the other hand, when the illuminance correction coefficient is input from the memory 12 to the illuminance correction coefficient generator 26 (NO in # 47), the illuminance correction coefficient generator 26 executes the calculation of the expression (4.7) for all the pixels of the CCD. (# 48.2). #
By the calculation of 48.1 or # 48.2, the illuminance correction coefficient generation unit 26 does not include the sensitivity correction corresponding to the scanning position Sn and the illuminance state G (Sn) for each pixel of the CCD. , X) is output (# 49), and the image data is corrected using the illuminance correction coefficient Z ′ (Sn, G, x). Next, it is determined whether or not the photographing has been completed (# 5).
0), if the processing has been completed, the processing is terminated; if not completed, the processing returns to # 42 and the processing is repeated.

【0068】次に、本実施形態に係る画像読み取り装置
の補正方法について説明する。図22において、原稿台
1上の照度状態がGのときにCCDラインセンサ7にて
読み込まれ、出力された原稿の画像データはA/D変換
器10によってデジタル化される。このデジタル化され
た走査位置Snにおける画像データD(Sn、G、x)
は乗算器24に入力される。この乗算器24のもう一方
の入力には、あらかじめメモリ25に蓄えられたCCD
ラインセンサ7の感度ばらつきを補正する感度補正係数
Y(x)が各画素に同期して入力されている。これによ
り乗算器24からは、CCDラインセンサ7の感度ばら
つきが補正された画像データD´(Sn、G、x)が出
力される。乗算器24から出力された画像データは、照
度変化検出部11および乗算器15に入力される。メモ
リ12にはあらかじめ、各走査位置Snにおける周囲光
が最大/最小の時のCCD7の数画素おきの配光分布デ
ータD2´(Sn、max 、x)、D2´(Sn、min 、
x)が蓄えられている。照度補正係数発生部26の入力
には、走査位置検出部21によって検出されたCCDラ
インセンサ7の走査位置Snと、照度変化検出部11に
よって検出された原稿台1上の照度状態G、およびカウ
ンタ14によって選択されたアドレスのメモリ12に蓄
えられている、CCD7の数画素おきの各画素に対する
照度が最大/最小の時の感度ばらつきを除く照度補正係
数Z´(Sn、max 、x)、Z´(Sn、min 、x)ま
たは配光分布D2´(Sn、max 、x)、D2´(S
n、min、x)が入力されている。
Next, a correction method of the image reading apparatus according to the present embodiment will be described. In FIG. 22, when the illuminance state on the document table 1 is G, the image data of the document read by the CCD line sensor 7 and output is digitized by the A / D converter 10. Image data D (Sn, G, x) at this digitized scanning position Sn
Is input to the multiplier 24. The other input of the multiplier 24 has a CCD stored in a memory 25 in advance.
A sensitivity correction coefficient Y (x) for correcting a variation in sensitivity of the line sensor 7 is input in synchronization with each pixel. As a result, the multiplier 24 outputs image data D ′ (Sn, G, x) in which the variation in sensitivity of the CCD line sensor 7 has been corrected. The image data output from the multiplier 24 is input to the illuminance change detection unit 11 and the multiplier 15. The memory 12 previously stores light distribution data D2 '(Sn, max, x) and D2' (Sn, min,...) For every several pixels of the CCD 7 when the ambient light at each scanning position Sn is maximum / minimum.
x) is stored. The inputs to the illuminance correction coefficient generator 26 include the scan position Sn of the CCD line sensor 7 detected by the scan position detector 21, the illuminance state G on the document table 1 detected by the illuminance change detector 11, and a counter. Illuminance correction coefficients Z '(Sn, max, x), Z, which are stored in the memory 12 at the address selected by 14 and exclude sensitivity variations when the illuminance for every several pixels of the CCD 7 is maximum / minimum. '(Sn, min, x) or light distribution D2' (Sn, max, x), D2 '(S
n, min, x) are input.

【0069】また、照度補正係数発生部26の入力に
は、CPU13より照度補正係数または配光分布のデー
タが記憶されているCCD7の画素アドレス間隔Mと、
カウンタ14によリ得られる照度補正係数または配光分
布のデータが記憶されているCCD7の画素から、乗算
器15に入力されているCCD7の画素までのアドレス
間隔Nが入力される。照度補正係数発生部26に、照度
補正係数Z´(Sn、max 、x)、Z´(Sn、min 、
x)が入力される場合は、照度補正係数発生部26にて
(4.7)の演算を行う。一方、配光分布D2´(S
n、max 、x)、D2´(Sn、min 、x)が入力され
る場合には、照度補正係数発生部26にて(4.5)
(4.6)式の演算を行う。演算の結果、照度補正係数
発生部26より、走査位置Snにおける原稿台1上の照
度状態G(Sn)に応じたCCD各画素に対する照度補
正係数Z´(Sn、G、x)が出力される。この照度補
正係数発生部26より出力された照度補正係数Z´(S
n、G、x)は乗算器15に入力され画像データD´
(Sn、G、x)と掛け算され、補正が行われ、原稿台
1上の照度変化によるムラのないきれいな画像が出力さ
れる。
The input to the illuminance correction coefficient generator 26 includes a pixel address interval M of the CCD 7 in which the illuminance correction coefficient or the light distribution data is stored by the CPU 13,
The address interval N from the pixel of the CCD 7 storing the data of the illuminance correction coefficient or the light distribution obtained by the counter 14 to the pixel of the CCD 7 input to the multiplier 15 is input. The illuminance correction coefficient generator 26 includes illuminance correction coefficients Z ′ (Sn, max, x) and Z ′ (Sn, min,
When x) is input, the illuminance correction coefficient generator 26 performs the calculation of (4.7). On the other hand, the light distribution D2 '(S
When n, max, x) and D2 '(Sn, min, x) are input, the illuminance correction coefficient generator 26 sets (4.5)
The calculation of the expression (4.6) is performed. As a result of the calculation, the illuminance correction coefficient generator 26 outputs an illuminance correction coefficient Z ′ (Sn, G, x) for each CCD pixel corresponding to the illuminance state G (Sn) on the document table 1 at the scanning position Sn. . The illuminance correction coefficient Z ′ (S
n, G, x) are input to the multiplier 15 and the image data D '
(Sn, G, x) is multiplied and corrected, and a clear image without unevenness due to a change in illuminance on the document table 1 is output.

【0070】このように、上記実施の形態に係る画像読
み取り装置においては、各CCDセンサ7の各画素の感
度のばらつきを補正する感度補正係数を求めておくこと
により、この感度補正係数を用いて数画素ごとの配光分
布データを算出し、この数画素ごとの配光分布データを
用いてCCD各画素に対する配光分布データを算出し、
さらに、このCCD各画素に対する配光分布データより
照度補正係数を算出し、この照度補正係数を用いて画像
データの補正を行う。したがって、上述の第3の実施の
形態に示した画像読み取り装置のよりも、より少ないメ
モリ容量で画像データの補正を行うことが可能となる。
As described above, in the image reading apparatus according to the above-described embodiment, the sensitivity correction coefficient for correcting the variation in the sensitivity of each pixel of each CCD sensor 7 is obtained. Calculate light distribution data for each pixel, calculate light distribution data for each pixel of the CCD using the light distribution data for each pixel,
Further, an illuminance correction coefficient is calculated from the light distribution data for each pixel of the CCD, and the image data is corrected using the illuminance correction coefficient. Therefore, it is possible to correct the image data with a smaller memory capacity than the image reading apparatus described in the third embodiment.

【0071】[0071]

【発明の効果】以上のように請求項1の発明に係る画像
読み取り装置によれば、画像読み取り装置における照度
補正において、原稿台上の照度変化に応じた照度補正係
数をあらかじめ記憶しておき、原稿撮影中の原稿台上の
照度変化を検出することで、この照度変化に応じた照度
補正係数を選択し、画像を補正するので、原稿台上の照
度変化による画像ムラを無くし、きれいな画像を出力す
ることができる。
As described above, according to the image reading apparatus of the first aspect, in the illuminance correction in the image reading apparatus, the illuminance correction coefficient corresponding to the illuminance change on the document table is stored in advance, By detecting the change in illuminance on the platen during document shooting, an illuminance correction coefficient corresponding to this change in illuminance is selected, and the image is corrected. Can be output.

【0072】また、請求項2の発明に係る画像読み取り
装置によれば、メモリに、各走査位置と照度状態におけ
る撮像素子の各画素に対する照度補正係数を記憶してお
き、走査位置検出部により走査位置を検出し、照度変化
検出部により照度状態を検出し、これら走査位置と照度
状態から撮像素子の各画素に対する照度補正係数を選択
し、この照度補正係数により補正を行うので、原稿面で
の外光の配光分布が主走査方向で異なる時にも、外光の
点滅による副走査方向のムラを補正をすることができ
る。
According to the image reading apparatus of the second aspect, the memory stores the illuminance correction coefficient for each pixel of the image sensor in the illuminance state at each scanning position, and scans by the scanning position detection unit. The position is detected, the illuminance state is detected by the illuminance change detection unit, an illuminance correction coefficient for each pixel of the image sensor is selected from the scanning position and the illuminance state, and correction is performed using the illuminance correction coefficient. Even when the light distribution of the external light is different in the main scanning direction, it is possible to correct unevenness in the sub-scanning direction due to flickering of the external light.

【0073】また、請求項3の発明に係る画像読み取り
装置によれば、撮像素子から出力された原稿の画像デー
タから原稿台上の照度状態を表わす係数を求め、この係
数と撮像素子の各画素に対する照度が最大/最小の時の
照度補正係数または配光分布より、撮像素子の各画素に
対する照度補正係数を算出するようにしているので、原
稿台上の全ての走査位置と、それにおける全ての照度状
態に応じた照度補正係数、または照度分布をメモリに蓄
えておく必要がなくなり、原稿台上の照度変化の大きさ
にかかわらず、一定でしかも少ないメモリ容量で画像デ
ータの補正を行うことができる。
According to the image reading apparatus of the present invention, a coefficient representing the illuminance state on the document table is obtained from the image data of the document output from the image sensor, and this coefficient and each pixel of the image sensor are obtained. Since the illuminance correction coefficient for each pixel of the image sensor is calculated from the illuminance correction coefficient or the light distribution when the illuminance is maximum / minimum, all the scanning positions on the document table and all the There is no need to store the illuminance correction coefficient or illuminance distribution according to the illuminance state in the memory, and the image data can be corrected with a constant and small memory capacity regardless of the magnitude of the illuminance change on the platen. it can.

【0074】また、請求項4の発明に係る画像読み取り
装置によれば、各画素の感度のばらつきを補正する感度
補正係数を求め、この感度補正係数を用いて、撮像素子
の数画素ごとの配光分布データを算出し、この数画素ご
との配光分布データを用いて全ての画素に対する配光分
布データを得る。さらに、この配光分布データをより照
度補正係数を算出し、この照度補正係数を用いて画像デ
ータの補正を行う。このようにして数画素ごとの配光分
布データより全ての画素の照度補正係数を得ることがで
きるので、より少ないメモリの容量で画像データの補正
を行うことが可能となる。
Further, according to the image reading apparatus of the present invention, a sensitivity correction coefficient for correcting a variation in sensitivity of each pixel is obtained, and the sensitivity correction coefficient is used to arrange the image sensor for every several pixels. The light distribution data is calculated, and the light distribution data for all the pixels is obtained using the light distribution data for every several pixels. Further, an illuminance correction coefficient is calculated from the light distribution data, and the image data is corrected using the illuminance correction coefficient. In this manner, the illuminance correction coefficients of all the pixels can be obtained from the light distribution data of every several pixels, so that the image data can be corrected with a smaller memory capacity.

【0075】また、請求項5の発明に係る撮像装置によ
れば、撮像装置における照度補正において、被写体上の
照度変化に応じた照度補正係数をあらかじめ記憶してお
き、被写体上の照度変化を検出することで、この照度変
化に応じた照度補正係数を選択し、画像を補正するの
で、被写体上の照度変化による画像ムラを無くし、きれ
いな画像を出力することができる。
According to the imaging apparatus of the present invention, in the illuminance correction in the imaging apparatus, an illuminance correction coefficient corresponding to the illuminance change on the subject is stored in advance, and the illuminance change on the subject is detected. By doing so, the illuminance correction coefficient according to the illuminance change is selected and the image is corrected, so that image unevenness due to the illuminance change on the subject can be eliminated, and a clear image can be output.

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

【図1】本発明の一実施例による画像読み取り装置の全
体構成を示す斜視図である。
FIG. 1 is a perspective view showing an overall configuration of an image reading apparatus according to an embodiment of the present invention.

【図2】(a)は本装置を前方から見た概略構成を示す
図であり、(b)は本装置を側方から見た概略構成を示
す図である。
FIG. 2A is a diagram illustrating a schematic configuration of the present device as viewed from the front, and FIG. 2B is a diagram illustrating a schematic configuration of the present device as viewed from a side.

【図3】本装置における原稿台上の照度の時間変化を示
す図である。
FIG. 3 is a diagram illustrating a temporal change in illuminance on a document table in the apparatus.

【図4】本装置の原稿台上に白紙を設置した場合のCC
Dラインセンサの出力分布を示す図である。
FIG. 4 is a diagram illustrating a CC when a blank sheet is set on a platen of the apparatus;
It is a figure showing the output distribution of a D line sensor.

【図5】本装置の白色の基準板を撮影した場合のCCD
ラインセンサの出力を示す図である。
FIG. 5 is a CCD when a white reference plate of the apparatus is photographed.
It is a figure showing an output of a line sensor.

【図6】本装置の原稿台上に白紙を設置した場合のCC
Dラインセンサ主走査方向のセンサ面上の配光分布を示
す図である。
FIG. 6 is a diagram illustrating a CC when a blank sheet is set on a platen of the apparatus;
FIG. 5 is a diagram illustrating a light distribution on a sensor surface in a D-line sensor main scanning direction.

【図7】第1の実施形態による画像読み取り装置の補正
係数選択動作を示すフローチャートである。
FIG. 7 is a flowchart illustrating a correction coefficient selection operation of the image reading apparatus according to the first embodiment.

【図8】第1の実施形態による画像読み取り装置のブロ
ック図である。
FIG. 8 is a block diagram of the image reading device according to the first embodiment.

【図9】第1の実施形態による画像読み取り装置の他の
ブロック図である。
FIG. 9 is another block diagram of the image reading apparatus according to the first embodiment.

【図10】CCDラインセンサの副走査方向における原
稿台上の照度分布を示す図である。
FIG. 10 is a diagram showing an illuminance distribution on a document table in a sub-scanning direction of a CCD line sensor.

【図11】第2の実施形態による画像読み取り装置の走
査位置検出部の構成を示すブロック図である。
FIG. 11 is a block diagram illustrating a configuration of a scanning position detection unit of the image reading device according to the second embodiment.

【図12】第2の実施形態による画像読み取り装置の照
度補正係数選択動作を示すフローチャートである。
FIG. 12 is a flowchart illustrating an illuminance correction coefficient selection operation of the image reading apparatus according to the second embodiment.

【図13】第2の実施形態による画像読み取り装置のブ
ロック図である。
FIG. 13 is a block diagram of an image reading device according to a second embodiment.

【図14】第2の実施形態による画像読み取り装置の他
のブロック図である。
FIG. 14 is another block diagram of the image reading apparatus according to the second embodiment.

【図15】CCD主走査位置におけるセンサ1ラインの
各画素の出力を示す図である。
FIG. 15 is a diagram showing the output of each pixel of one line of the sensor at the CCD main scanning position.

【図16】第3の実施形態による画像読み取り装置の照
度補正係数発生動作を示すフローチャートである。
FIG. 16 is a flowchart illustrating an illuminance correction coefficient generation operation of the image reading apparatus according to the third embodiment.

【図17】第3の実施形態による画像読み取り装置のブ
ロック図である。
FIG. 17 is a block diagram of an image reading device according to a third embodiment.

【図18】本装置におけるCCDラインセンサの各画素
の感度ばらつきと、配光分布によるセンサ出力のばらつ
きを示す図である。
FIG. 18 is a diagram showing a variation in sensitivity of each pixel of a CCD line sensor in the present apparatus and a variation in sensor output due to a light distribution.

【図19】本装置においてセンサ面上に主走査方向均一
な照度Laを与えたときのセンサの出力を示す図であ
る。
FIG. 19 is a diagram illustrating an output of a sensor when uniform illuminance La in a main scanning direction is given on a sensor surface in the present apparatus.

【図20】本装置において配光分布がCCDラインセン
サ7の画素毎における感度ばらつきよりも低周波で変化
している場合の配光分布を示す図である。
FIG. 20 is a diagram showing a light distribution when the light distribution changes at a lower frequency than the sensitivity variation for each pixel of the CCD line sensor 7 in the present apparatus.

【図21】第4の実施形態による画像読み取り装置の照
度補正係数発生動作を示すフローチャートである。
FIG. 21 is a flowchart illustrating an illuminance correction coefficient generation operation of the image reading apparatus according to the fourth embodiment.

【図22】第4の実施形態による画像読み取り装置のブ
ロック図である。
FIG. 22 is a block diagram of an image reading device according to a fourth embodiment.

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

1 原稿台 7 撮像素子(CCDラインセンサ) 8 撮像レンズ 9 原稿 11 照度変化検出手段(照度変化検出部) 12 第1の記憶手段(メモリ) 13 照度補正係数選択手段(CPU) 15 補正手段(乗算器) 16 照度補正係数発生手段(照度補正係数発生部) 21 走査位置検出手段(走査位置検出部) 22 照度補正係数発生手段(照度補正係数発生部) 23 照度補正係数発生手段(照度補正係数発生部) 25 第2の記憶手段(メモリ) 26 照度補正係数発生手段(照度補正係数発生部) REFERENCE SIGNS LIST 1 platen 7 imaging element (CCD line sensor) 8 imaging lens 9 document 11 illuminance change detecting means (illumination change detecting unit) 12 first storage means (memory) 13 illuminance correction coefficient selecting means (CPU) 15 correction means (multiplication) 16) Illuminance correction coefficient generating means (illuminance correction coefficient generating unit) 21 Scanning position detecting means (scanning position detecting unit) 22 Illuminance correction coefficient generating means (illuminance correction coefficient generating unit) 23 Illuminance correction coefficient generating means (illuminance correction coefficient generating Unit) 25 second storage unit (memory) 26 illuminance correction coefficient generation unit (illuminance correction coefficient generation unit)

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 書籍などの原稿を上向き見開き状態で撮
影する画像読み取り装置において、 原稿を載置する原稿台と、 この原稿台上に載置された原稿を上方より読み取り、そ
の画像データを出力する撮像素子と、 前記原稿の光学像を前記撮像素子上に結像させる撮像レ
ンズと、 前記原稿台上の照度変化を検出する照度変化検出手段
と、 前記原稿台上の照度変化に応じて、前記画像データを補
正するための照度補正係数をあらかじめ蓄えておく第1
の記憶手段と、 前記照度変化検出手段により検出された照度変化に応じ
て、前記第1の記憶手段に蓄えられている照度補正係数
を選択する照度補正係数選択手段と、 前記照度補正係数を用いて、前記撮像素子より得られた
画像データを補正する補正手段とを備えたことを特徴と
する画像読み取り装置。
1. An image reading apparatus for photographing an original such as a book in a face-to-face spread state, comprising: a platen on which the original is placed; and a document placed on the platen is read from above, and the image data is output. An imaging element that forms an optical image of the original on the imaging element; an illuminance change detection unit that detects an illuminance change on the original plate; and A first method of storing an illuminance correction coefficient for correcting the image data in advance;
Illuminance correction coefficient selecting means for selecting an illuminance correction coefficient stored in the first storage means in accordance with the illuminance change detected by the illuminance change detection means; and An image reading device, comprising: a correction unit configured to correct image data obtained from the image sensor.
【請求項2】 前記記憶手段に蓄えられている補正係数
は、原稿台上の各走査位置における照度変化に応じた照
度補正係数であり、 前記原稿台上における撮像素子の走査位置を検出する走
査位置検出手段をさらに備え、 前記照度補正係数選択手段は、前記走査位置検出手段に
より検出された走査位置と、前記照度変化検出手段によ
り検出された照度変化に応じて、前記第1の記憶手段に
蓄えられている照度補正係数を選択するものであること
を特徴とする請求項1に記載の画像読み取り装置。
2. The method according to claim 1, wherein the correction coefficient stored in the storage unit is an illuminance correction coefficient corresponding to a change in illuminance at each scanning position on the document table. The illuminance correction coefficient selection unit further includes a position detection unit, and the illuminance correction coefficient selection unit stores the illuminance correction coefficient in the first storage unit according to the scanning position detected by the scanning position detection unit and the illuminance change detected by the illuminance change detection unit. The image reading apparatus according to claim 1, wherein the stored illuminance correction coefficient is selected.
【請求項3】 前記第1の記憶手段に蓄えられている各
走査位置における照度補正係数は、照度が最大となる時
と、最小となる時の2つの場合のものであり、 前記照度補正係数選択手段に代えて、前記第1の記憶手
段に蓄えられた各走査位置における照度が最大と最小に
なるときの照度補正係数と、前記照度変化検出手段によ
り検出された照度変化と、前記走査位置検出手段により
検出された走査位置とに基づき、前記撮像素子の主走査
方向の照度補正係数を発生する補正係数発生手段を備
え、この補正係数発生手段より得られた照度補正係数を
用いて、前記撮像素子より得られた前記画像データを補
正することを特徴とする請求項1又は請求項2に記載の
画像読み取り装置。
3. The illuminance correction coefficient at each scanning position stored in the first storage means is for two cases: when the illuminance is maximum and when the illuminance is minimum. An illuminance correction coefficient when the illuminance at each scanning position stored in the first storage means is maximum and minimum, an illuminance change detected by the illuminance change detection means, A correction coefficient generating means for generating an illuminance correction coefficient in the main scanning direction of the image sensor based on the scanning position detected by the detection means, and using the illuminance correction coefficient obtained from the correction coefficient generation means, The image reading device according to claim 1, wherein the image data obtained from the image sensor is corrected.
【請求項4】 前記撮像素子の各画素の感度のばらつき
を補正する感度補正係数を蓄えておく第2の記憶手段を
さらに備えたことを特徴とする請求項1乃至請求項3に
記載の画像読み取り装置。
4. The image according to claim 1, further comprising a second storage unit for storing a sensitivity correction coefficient for correcting a variation in sensitivity of each pixel of the image sensor. Reader.
【請求項5】 被写体を撮影して画像データを得る画像
読み取り装置において、 前記被写体を撮影し、その画像データを出力する撮像素
子と、 前記被写体の光学像を前記撮像素子上に結像させる撮像
レンズと、 前記被写体上の照度変化を検出する照度変化検出手段
と、 前記被写体上の照度変化に応じて、前記画像データを補
正するための照度補正係数をあらかじめ蓄えておく記憶
手段と、 前記照度変化検出手段により検出された照度変化に応じ
て、記憶手段に蓄えられている照度補正係数を選択する
照度補正係数選択手段と、 前記照度補係数を用いて、前記撮像素子より得られた前
記画像データを補正する補正手段とを備えたことを特徴
とする撮像装置。
5. An image reading apparatus for photographing a subject to obtain image data, comprising: an imaging device for photographing the subject and outputting the image data; and an imaging device for forming an optical image of the subject on the imaging device. A lens; an illuminance change detecting unit for detecting an illuminance change on the subject; a storage unit for storing in advance an illuminance correction coefficient for correcting the image data according to the illuminance change on the subject; An illuminance correction coefficient selection unit that selects an illuminance correction coefficient stored in a storage unit in accordance with the illuminance change detected by the change detection unit; and the image obtained from the image sensor using the illuminance complement coefficient. An imaging apparatus comprising: a correction unit configured to correct data.
JP8227748A 1996-08-09 1996-08-09 Image reader Withdrawn JPH1056567A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8227748A JPH1056567A (en) 1996-08-09 1996-08-09 Image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8227748A JPH1056567A (en) 1996-08-09 1996-08-09 Image reader

Publications (1)

Publication Number Publication Date
JPH1056567A true JPH1056567A (en) 1998-02-24

Family

ID=16865761

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8227748A Withdrawn JPH1056567A (en) 1996-08-09 1996-08-09 Image reader

Country Status (1)

Country Link
JP (1) JPH1056567A (en)

Similar Documents

Publication Publication Date Title
JP5493438B2 (en) Projector and projected image correction program
JPH1093777A (en) Image reader
KR20070109875A (en) Imaging apparatus and method, and program
US5808756A (en) Image reading device and density correction method for read images
JPH08307688A (en) Image reader
JP2007049226A (en) Image input device, method and program, and recording medium
JPH1056567A (en) Image reader
JPH1141463A (en) Image reader
JPH10327301A (en) Picture reader
JP5344152B2 (en) Electronics
JP3770222B2 (en) Image reading device
EP1014690A2 (en) Method of scanning photographic film images using selectively determined system response gain calibration
JPH08223419A (en) Image input device
JPH08289144A (en) Video scanner device
JPH10257323A (en) Image reader
JP2001292283A (en) Image reader
JP4027545B2 (en) Digital camera and method for photographing characters
JPH11341283A (en) Picture reader
KR100475285B1 (en) Digital Still Camera Corrects Contrast According to Light Source
JP3125522B2 (en) Image reading device
JP2000236452A (en) Picture reader
JP2001177757A (en) Image pickup device
JP3355937B2 (en) Image reading device
JPH08251415A (en) Ccd camera and its illuminance correction method
JP3793847B2 (en) Illuminance distribution measuring device and illuminance distribution measuring method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20031104