JPH1198355A - Device and method for correcting shading - Google Patents

Device and method for correcting shading

Info

Publication number
JPH1198355A
JPH1198355A JP9255374A JP25537497A JPH1198355A JP H1198355 A JPH1198355 A JP H1198355A JP 9255374 A JP9255374 A JP 9255374A JP 25537497 A JP25537497 A JP 25537497A JP H1198355 A JPH1198355 A JP H1198355A
Authority
JP
Japan
Prior art keywords
white reference
correction
line sensor
reference data
optical system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9255374A
Other languages
Japanese (ja)
Inventor
Shoichi Umagoe
昌一 馬越
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.)
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Dainippon Screen Manufacturing 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 Dainippon Screen Manufacturing Co Ltd filed Critical Dainippon Screen Manufacturing Co Ltd
Priority to JP9255374A priority Critical patent/JPH1198355A/en
Publication of JPH1198355A publication Critical patent/JPH1198355A/en
Pending legal-status Critical Current

Links

Landscapes

  • Exposure Or Original Feeding In Electrophotography (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To attain satisfactory shading correction for original picture data. SOLUTION: A reading operation is operated in a state that a white reference board 6 and a correction chart 16 are moved to a readable position 8, and first white reference data Xi are obtained. An image forming position CXj of a scale line C of a correction chart 16 on a line sensor 12 is detected based on the first white reference data Xi. Then, the reading operation is operated in a state that an opening 7 and the correction chart 16 are moved to the readable position 8, and second reference data Yi are obtained. Image forming position CYj of a scale line C of the correction chart 16 on the line sensor 12 is detected based on the second white reference data Yi. Then, the variable power rate of a lens 11 is adjusted so that the scale line position CYj can be made coincident with the scale line position CXj. Then, the correction chart 16 is removed from the readable position 8, and the reading operation is operated with the adjusted variable power rate so that third white reference data Wi can be obtained.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、たとえばスキャ
ナなどの画像読取装置に適用されるシェーディング補正
装置およびシェーディング補正方法に関する。
The present invention relates to a shading correction device and a shading correction method applied to an image reading device such as a scanner.

【0002】[0002]

【従来の技術】従来から、たとえばスキャナなどのよう
に、主走査方向に並べられた複数個のCCD素子を有す
るラインセンサで原稿画像を読み取る画像読取装置が知
られている。このような画像読取装置では、読取用光源
の照明むらや各CCD素子間の感度のばらつきを補償す
るために、ラインセンサで読み取った原稿画像データに
対して、いわゆるシェーディング補正が行われる。
2. Description of the Related Art Conventionally, there has been known an image reading apparatus such as a scanner for reading a document image by a line sensor having a plurality of CCD elements arranged in a main scanning direction. In such an image reading apparatus, so-called shading correction is performed on document image data read by a line sensor in order to compensate for uneven illumination of a reading light source and variations in sensitivity among CCD elements.

【0003】シェーディング補正では、原稿画像の読取
りに先立って、白基準データおよび黒基準データの2つ
の補正用データが取得される。白基準データは、たとえ
ば、読取ライン上に何も存在しない状態で読取用光源を
点灯して読取動作を行うことによって取得される。ま
た、黒基準データは、たとえば、読取用光源を消灯した
状態で読取動作を行うことによって取得される。その
後、原稿画像の読取りが行われて、ラインセンサに含ま
れる各CCD素子から出力される画像データに対し、下
記式に従って、白基準データおよび黒基準データに基づ
く補正が施される。
In the shading correction, two correction data, that is, white reference data and black reference data are obtained before reading a document image. The white reference data is acquired by, for example, turning on the reading light source and performing a reading operation in a state where nothing exists on the reading line. The black reference data is obtained by performing a reading operation with the reading light source turned off, for example. Thereafter, the original image is read, and the image data output from each CCD element included in the line sensor is corrected based on the white reference data and the black reference data according to the following equation.

【0004】[0004]

【数1】 (Equation 1)

【0005】ただし、kは、予め定められたシェーディ
ング補正係数である。ところで、画像読取装置の中に
は、たとえば透明なガラス材料や樹脂材料などで構成さ
れた原稿ホルダによって原稿を保持した状態で、原稿画
像の読取りを行うものがある。このような画像読取装置
では、上述のようにして取得した黒基準データおよび白
基準データに基づく補正を原稿画像データに施しても、
ラインセンサに含まれる各CCD素子の出力が正しく補
正されない。この理由について、図6を参照して説明す
る。
[0005] Here, k is a predetermined shading correction coefficient. Some image reading apparatuses read an original image while holding the original with an original holder made of, for example, a transparent glass material or a resin material. In such an image reading apparatus, even if correction based on the black reference data and the white reference data acquired as described above is performed on the document image data,
The output of each CCD element included in the line sensor is not correctly corrected. The reason will be described with reference to FIG.

【0006】図6は、原稿ホルダの有無によりラインセ
ンサに至る光路が変化する様子を説明するための概念図
であり、簡単のために結像光学系は省略されている。図
6には、原稿読取時における読取用光源51からライン
センサ52に至る光路が実線で示され、白基準データ取
得時における読取用光源51からラインセンサ52に至
る光路が二点鎖線で示されている。白基準データ取得時
には、読取ライン上に何も存在しないので、読取用光源
51から発光されて点Aを通過する光はラインセンサ5
2上の位置aに照射される。これに対し、原稿読取時に
点Aを通過する光は、原稿ホルダ53を通過する際に屈
折されて、ラインセンサ52上の位置a′に照射され
る。すなわち、白基準データ取得時と原稿読取時とで
は、読取用光源51からラインセンサ52に至る光路長
が異なるために、ラインセンサ52上での結像状態が異
なる。そのため、上述のようにして取得された白基準デ
ータに基づくシェーディング補正では、読取用光源51
の照明むらを正しく補償することができない。
FIG. 6 is a conceptual diagram for explaining how an optical path to a line sensor changes depending on the presence or absence of a document holder. For simplicity, an imaging optical system is omitted. In FIG. 6, the optical path from the reading light source 51 to the line sensor 52 at the time of document reading is shown by a solid line, and the optical path from the reading light source 51 to the line sensor 52 at the time of obtaining white reference data is shown by a two-dot chain line. ing. At the time of obtaining the white reference data, there is nothing on the reading line, so the light emitted from the reading light source 51 and passing through the point A
Irradiated at position a on On the other hand, the light passing through the point A when reading the document is refracted when passing through the document holder 53 and irradiates the position a ′ on the line sensor 52. That is, the image formation state on the line sensor 52 is different between when the white reference data is obtained and when the document is read, because the optical path length from the reading light source 51 to the line sensor 52 is different. Therefore, in the shading correction based on the white reference data acquired as described above, the reading light source 51
Lighting unevenness cannot be compensated correctly.

【0007】そこで、従来から、原稿読取位置に原稿ホ
ルダと同等の透光性を有する白基準部材を配置して、こ
の白基準部材を透過する光をラインセンサで読み取るこ
とにより、白基準データを取得する方法が提案されてい
る。この方法によれば、白基準データ取得時におけるラ
インセンサ上での結像状態と、原稿読取時におけるライ
ンセンサ上での結像状態とが一致する。したがって、こ
の方法で取得された白基準データに基づいて、原稿画像
データにシェーディング補正を施すことにより、読取用
光源の照明むらを補償できる。
Therefore, conventionally, a white reference member having the same transparency as the original holder is arranged at the original reading position, and the light transmitted through the white reference member is read by a line sensor, so that the white reference data is obtained. How to get it has been proposed. According to this method, the image formation state on the line sensor when the white reference data is obtained matches the image formation state on the line sensor when the document is read. Therefore, by applying shading correction to the document image data based on the white reference data acquired by this method, it is possible to compensate for uneven illumination of the reading light source.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、白基準
部材を配置して白基準データを取得する上述の方法で
は、たとえば白基準部材に塵埃などが付着していると、
この塵埃によって読取用光源からの光が遮られて、その
部分に対応するCCD素子の出力が低下した白基準デー
タが取得される。その結果、取得された白基準データに
基づいてシェーディング補正が行われると、塵埃が付着
していた部分に対応するCCD素子の出力が過剰に補正
されてしまう。
However, in the above-described method of arranging the white reference member and acquiring the white reference data, for example, if dust or the like adheres to the white reference member,
Light from the reading light source is blocked by the dust, and white reference data in which the output of the CCD element corresponding to the portion is reduced is obtained. As a result, if shading correction is performed based on the acquired white reference data, the output of the CCD element corresponding to the portion where dust has adhered will be excessively corrected.

【0009】そこで、本発明の目的は、上述の技術的課
題を解決して、原稿画像データを良好に補正することが
できるシェーディング補正装置およびシェーディング補
正方法を提供することである。
An object of the present invention is to solve the above-mentioned technical problems and to provide a shading correction device and a shading correction method capable of satisfactorily correcting original image data.

【0010】[0010]

【課題を解決するための手段および発明の効果】上記の
目的を達成するための請求項1記載の発明は、透明な原
稿保持部材に保持された原稿を複数の光電変換素子を有
するラインセンサで読み取ることによって得られる原稿
画像データに対して、補正用データに基づく補正を行う
ためのシェーディング補正装置であって、ラインセンサ
による読取可能な所定位置を照明するための光源と、上
記光源と上記ラインセンサとの間に介在する結像光学系
と、上記原稿保持部材と同等の透光性を有する白基準部
材と、上記白基準部材を上記所定位置に進出させた状態
で読取動作を行うことによって第1白基準データを取得
する第1データ取得手段と、上記白基準部材を上記所定
位置から退避させた状態で読取動作を行うことによって
第2白基準データを取得する第2データ取得手段と、第
2白基準データ取得時におけるラインセンサ上での結像
状態が、第1白基準データ取得時におけるラインセンサ
上での結像状態と一致するように、上記結像光学系を調
整する光学系調整手段と、上記光学系調整手段によって
上記結像光学系を調整した後に、上記白基準部材を上記
所定位置から退避させた状態で読取動作を行うことによ
り、上記補正用データを取得する補正用データ取得手段
とを含むことを特徴とするシェーディング補正装置であ
る。
Means for Solving the Problems and Effects of the Invention According to the first aspect of the present invention, there is provided a line sensor having a plurality of photoelectric conversion elements for converting a document held by a transparent document holding member. A shading correction device for performing correction based on correction data on document image data obtained by reading, a light source for illuminating a predetermined position readable by a line sensor, the light source and the line An image forming optical system interposed between the sensor, a white reference member having the same transparency as the document holding member, and a reading operation performed with the white reference member advanced to the predetermined position. A first data acquisition unit for acquiring first white reference data; and a second white reference data obtained by performing a reading operation with the white reference member retracted from the predetermined position. The second data acquisition unit to be acquired and the image formation state on the line sensor when the second white reference data is acquired coincides with the image formation state on the line sensor when the first white reference data is acquired. Optical system adjusting means for adjusting the imaging optical system, and after adjusting the imaging optical system by the optical system adjusting means, by performing a reading operation in a state where the white reference member is retracted from the predetermined position, A shading correction device comprising: a correction data obtaining unit that obtains the correction data.

【0011】請求項1記載の構成によれば、光学系調整
手段によって結像光学系が調整されて、ラインセンサに
よる読取可能な所定位置から白基準部材を退避させて読
取動作を行った時のラインセンサ上での結像状態が、読
取可能位置に白基準部材を配置して読取動作を行った時
のラインセンサ上での結像状態に合わされる。そして、
ラインセンサ上での結像状態が第1白基準データ取得時
と一致した状態で、読取可能位置から白基準部材を退避
させて読取動作を行うことにより、シェーディング補正
用のデータが取得される。
According to the first aspect of the present invention, the image forming optical system is adjusted by the optical system adjusting means so that the white reference member is retracted from a predetermined position readable by the line sensor to perform a reading operation. The image forming state on the line sensor is matched with the image forming state on the line sensor when the reading operation is performed with the white reference member arranged at the readable position. And
In a state where the image formation state on the line sensor coincides with the time when the first white reference data is obtained, the reading operation is performed by retracting the white reference member from the readable position, so that data for shading correction is obtained.

【0012】これにより、読取可能位置上に配置した白
基準部材を透過する光を読み取って得られたデータをそ
のまま補正用データとする従来方法とは異なり、取得さ
れる補正用データが白基準部材に付着した塵埃などの影
響を受けることがない。したがって、白基準部材に付着
した塵埃などの影響を受けた補正用データに基づいてシ
ェーディング補正が行われた場合に生じる不具合が回避
され、原稿画像データに対して良好なシェーディング補
正を行うことができる。
Thus, unlike the conventional method in which the data obtained by reading the light transmitted through the white reference member disposed on the readable position is used as the correction data as it is, the acquired correction data is the white reference member. It is not affected by dust or the like adhering to the surface. Therefore, a problem that occurs when shading correction is performed based on correction data affected by dust or the like attached to the white reference member can be avoided, and excellent shading correction can be performed on document image data. .

【0013】また、補正用データの取得時におけるライ
ンセンサ上での結像状態が、原稿読取時におけるライン
センサ上での結像状態と一致される。したがって、上記
構成により取得された補正用データに基づくシェーディ
ング補正では、ラインセンサ上での結像状態が原稿読取
時と異なる状態で取得された補正用データに基づいてシ
ェーディング補正が行われる場合とは異なり、光源の照
明むらや各CCD素子間の感度のばらつきを正しく補償
することができる。
Further, the image formation state on the line sensor at the time of acquiring the correction data coincides with the image formation state on the line sensor at the time of reading the original. Therefore, in the shading correction based on the correction data acquired by the above-described configuration, what is the case where the shading correction is performed based on the correction data acquired in a state where the image formation state on the line sensor is different from that at the time of reading the document? In contrast, uneven illumination of the light source and variations in sensitivity among the CCD elements can be correctly compensated.

【0014】請求項2記載の発明は、透明な原稿保持部
材に保持された原稿を複数の光電変換素子を有するライ
ンセンサで読み取ることによって得られる原稿画像デー
タに対して、補正用データに基づく補正を行うためのシ
ェーディング補正装置であって、ラインセンサによる読
取可能な所定位置を照明するための光源と、上記光源と
上記ラインセンサとの間に介在する結像光学系と、上記
原稿保持部材と同等の透光性を有する白基準部材と、透
明なフィルム状部材に所定の画像が形成された補正チャ
ートと、上記白基準部材および上記補正チャートを上記
所定位置に進出させた状態で読取動作を行うことによっ
て第1白基準データを取得する第1データ取得手段と、
取得した第1白基準データに基づいて、上記ラインセン
サに含まれる複数の光電素子の中から上記補正チャート
に形成された画像を読み取った光電変換素子を特定する
手段と、上記白基準部材を上記所定位置から退避させ、
かつ、上記補正チャートを上記所定位置に進出させた状
態で読取動作を行うことによって第2白基準データを取
得する第2データ取得手段と、取得した第2白基準デー
タに基づいて、上記ラインセンサに含まれる複数の光電
素子の中から上記補正チャートに形成された画像を読み
取った光電変換素子を特定する手段と、第1白基準デー
タに基づいて特定された光電変換素子の位置と第2白基
準データに基づいて特定された光電変換素子の位置との
ずれ量に基づいて、第2白基準データ取得時におけるラ
インセンサ上での結像状態が、第1白基準データ取得時
におけるラインセンサ上での結像状態と一致するよう
に、上記結像光学系を調整する光学系調整手段と、上記
光学系調整手段によって上記結像光学系を調整した後
に、上記白基準部材および補正チャートを上記所定位置
から退避させた状態で読取動作を行うことにより、上記
補正用データを取得する補正用データ取得手段とを含む
ことを特徴とするシェーディング補正装置である。
According to a second aspect of the present invention, a document image data obtained by reading a document held by a transparent document holding member with a line sensor having a plurality of photoelectric conversion elements is corrected based on correction data. A light source for illuminating a predetermined position readable by a line sensor, an imaging optical system interposed between the light source and the line sensor, and a document holding member. A reading operation is performed in a state in which a white reference member having the same translucency, a correction chart in which a predetermined image is formed on a transparent film-like member, and the white reference member and the correction chart are advanced to the predetermined position. First data acquisition means for acquiring first white reference data by performing
Means for identifying, from the plurality of photoelectric elements included in the line sensor, a photoelectric conversion element that has read an image formed on the correction chart, based on the acquired first white reference data, Evacuate from the predetermined position,
A second data acquiring means for acquiring a second white reference data by performing a reading operation with the correction chart advanced to the predetermined position; and a line sensor based on the acquired second white reference data. Means for identifying a photoelectric conversion element which has read an image formed on the correction chart from among a plurality of photoelectric elements included in the first white reference data, and the position of the photoelectric conversion element identified based on the first white reference data and the second white Based on the amount of deviation from the position of the photoelectric conversion element specified based on the reference data, the imaging state on the line sensor at the time of acquiring the second white reference data changes on the line sensor at the time of acquiring the first white reference data. After adjusting the imaging optical system by the optical system adjusting means and the optical system adjusting means for adjusting the imaging optical system so as to match the imaging state at By fine correction chart performs a reading operation in a state of being retracted from the predetermined position, a shading correction apparatus characterized by comprising a correction data acquisition means for acquiring the correction data.

【0015】請求項2記載の構成によれば、白基準部材
および補正チャートをラインセンサによる読取可能な所
定位置に配置した状態で、補正チャートに形成された画
像を読み取った光電変換素子の位置と、補正チャートの
みを上記所定位置に配置した状態で、補正チャートに形
成された画像を読み取った光電変換素子の位置とのずれ
量が求められる。そして、この求められたずれ量に基づ
いて、ラインセンサによる読取可能な所定位置から白基
準部材を退避させて読取動作を行った時のラインセンサ
上での結像状態が、読取可能位置に白基準部材を配置し
て読取動作を行った時のラインセンサ上での結像状態と
一致するように、結像光学系が調整される。そして、ラ
インセンサ上での結像状態が第1白基準データ取得時と
一致した状態で、読取可能位置から白基準部材および補
正チャートを退避させて読取動作を行うことにより、シ
ェーディング補正用のデータが取得される。
According to the second aspect of the present invention, with the white reference member and the correction chart arranged at predetermined positions readable by the line sensor, the position of the photoelectric conversion element reading the image formed on the correction chart is determined. In a state where only the correction chart is arranged at the predetermined position, the amount of deviation from the position of the photoelectric conversion element that reads the image formed on the correction chart is obtained. Then, based on the obtained shift amount, the image forming state on the line sensor when the reading operation is performed by retracting the white reference member from the predetermined position readable by the line sensor is changed to the white position at the readable position. The image forming optical system is adjusted so as to match the image forming state on the line sensor when the reading operation is performed with the reference member arranged. Then, in a state where the image formation state on the line sensor coincides with the time when the first white reference data is obtained, the white reference member and the correction chart are retracted from the readable position and the reading operation is performed to perform shading correction data. Is obtained.

【0016】これにより、上記した請求項1記載の構成
と同様な作用効果を得ることができる。請求項3記載の
発明は、上記光学系調整手段による結像光学系の調整量
を、調整前の結像光学系の状態と対応付けて記憶する記
憶手段をさらに含むことを特徴とする請求項1または2
記載のシェーディング補正装置である。
Thus, the same function and effect as those of the above-described configuration can be obtained. The invention according to claim 3 further includes storage means for storing the adjustment amount of the imaging optical system by the optical system adjustment means in association with the state of the imaging optical system before adjustment. 1 or 2
It is a shading correction device of the description.

【0017】請求項3記載の構成によれば、上記光学系
調整手段によって結像光学系が調整された際に、その結
像光学系の調整量が、調整前の結像光学系の状態、すな
わち原稿画像の読取倍率と対応付けられて記憶手段に記
憶される。これにより、新たなシェーディング補正が行
われる際に、以前に行われたシェーディング補正時と原
稿画像の読取倍率が同じであれば、この読取倍率に対応
する結像光学系の調整量を記憶手段から読み出し、読み
出した調整量に基づいて結像光学系を調整して補正用デ
ータを取得することができる。したがって、結像光学系
の調整を試行錯誤することなく、記憶手段から読み出さ
れた調整量に基づいて適切な位置に1度で移動させるこ
とができるので、結像光学系の調整に要する時間を短縮
することができる。また、その結果として、シェーディ
ング補正に要する時間を短縮することができる。
According to the third aspect of the present invention, when the image forming optical system is adjusted by the optical system adjusting means, the adjustment amount of the image forming optical system is changed to the state of the image forming optical system before adjustment, That is, it is stored in the storage unit in association with the reading magnification of the document image. Accordingly, when a new shading correction is performed, if the reading magnification of the original image is the same as that at the time of the previously performed shading correction, the adjustment amount of the imaging optical system corresponding to the reading magnification is stored from the storage unit. The data for correction can be obtained by adjusting the imaging optical system based on the readout and the readout adjustment amount. Therefore, the adjustment of the imaging optical system can be performed once at an appropriate position based on the adjustment amount read from the storage unit without performing trial and error adjustment of the imaging optical system. Can be shortened. As a result, the time required for shading correction can be reduced.

【0018】さらに、調整可能な範囲の原稿読取倍率の
それぞれの値に対応する結像光学系の調整量を予め求め
て記憶手段に記憶させておくことにより、読取倍率が変
更される度に補正チャートを用いて補正用データを取得
するといった面倒な作業を行う必要がなくなる。請求項
4記載の発明は、上記結像光学系は、ズームレンズであ
り、上記光学系調整手段は、上記ズームレンズの倍率を
調整するものであることを特徴とする請求項1ないし3
のいずれかに記載のシェーディング補正装置である。
Further, the amount of adjustment of the imaging optical system corresponding to each value of the original reading magnification in the adjustable range is obtained in advance and stored in the storage means, so that each time the reading magnification is changed, correction is made. There is no need to perform a troublesome operation such as acquiring correction data using a chart. According to a fourth aspect of the present invention, the imaging optical system is a zoom lens, and the optical system adjusting means adjusts a magnification of the zoom lens.
The shading correction device according to any one of the above.

【0019】請求項4記載の構成によれば、ラインセン
サ上での結像状態の調整は、ズームレンズの倍率を調整
することにより達成できる。結像光学系がズームレンズ
であるので、調整の前後いずれの状態においても、結像
状態が良好に保たれる。請求項5記載の発明は、上記結
像光学系は、固定焦点レンズ系であり、上記光学系調整
手段は、上記ラインセンサに対する上記固定焦点レンズ
系の位置を調整するものであることを特徴とする請求項
1ないし3のいずれかに記載のシェーディング補正装置
である。
According to the fourth aspect, the adjustment of the image forming state on the line sensor can be achieved by adjusting the magnification of the zoom lens. Since the image forming optical system is a zoom lens, the image forming state is favorably maintained before and after the adjustment. The invention according to claim 5 is characterized in that the imaging optical system is a fixed focus lens system, and the optical system adjustment means adjusts the position of the fixed focus lens system with respect to the line sensor. A shading correction device according to any one of claims 1 to 3.

【0020】請求項5記載の構成によれば、ラインセン
サ上での結像状態の調整は、ラインセンサに対する固定
焦点レンズ系の位置を調整することにより達成できる。
固定焦点レンズ系は、所定の読取倍率で原稿画像をライ
ンセンサ上に結像させるものである。すなわち、固定焦
点レンズ系は、ズームレンズのように原稿の読取倍率を
大きく変更するためのズーム機構は有しておらず、原稿
読取倍率を積極的に変更できるものではない。したがっ
て、結像光学系が固定焦点レンズ系で構成されている場
合には、焦点合わせのために設けられているレンズ位置
調整機構を手動操作してレンズ位置を微小量だけ変更す
ることにより、ラインセンサ上での結像状態を調整すれ
ばよい。
According to the fifth aspect of the invention, the adjustment of the image forming state on the line sensor can be achieved by adjusting the position of the fixed focus lens system with respect to the line sensor.
The fixed focus lens system forms a document image on a line sensor at a predetermined reading magnification. That is, the fixed-focus lens system does not have a zoom mechanism for greatly changing the reading magnification of the document unlike the zoom lens, and cannot change the reading magnification of the document positively. Therefore, when the imaging optical system is constituted by a fixed-focus lens system, the lens position adjustment mechanism provided for focusing is manually operated to change the lens position by a very small amount. What is necessary is just to adjust the imaging state on the sensor.

【0021】原稿ホルダの有無によるラインセンサ上の
結像状態の変化は微妙なものであるから、結像光学系の
調整量もまた微小なものとなる。多くの場合、該調整可
能範囲で結像光学系を調整しても、ラインセンサ上の結
像状態を良好に保つことができる。よって、画像読取装
置の仕様が、たとえば読取倍率が固定倍率であり、かつ
上述のように結像光学系の調整可能範囲内でラインセン
サ上の結像状態を良好に保つことができる場合には、結
像光学系としては固定焦点レンズ系で十分である。この
場合、ズームレンズの代わりに固定焦点レンズを採用す
ることにより、装置を安価に抑えることができる。
Since the change in the image forming state on the line sensor due to the presence or absence of the document holder is delicate, the adjustment amount of the image forming optical system is also small. In many cases, even if the image forming optical system is adjusted within the adjustable range, the image forming state on the line sensor can be kept good. Therefore, when the specification of the image reading apparatus is, for example, the reading magnification is a fixed magnification and the image forming state on the line sensor can be favorably maintained within the adjustable range of the image forming optical system as described above. A fixed focus lens system is sufficient as the imaging optical system. In this case, by using a fixed focus lens instead of the zoom lens, the apparatus can be reduced in cost.

【0022】請求項6記載の発明は、透明な原稿保持部
材に保持された原稿を複数の光電変換素子を有するライ
ンセンサで読み取ることによって得られる原稿画像デー
タに対して、補正用データに基づく補正を行うためのシ
ェーディング補正方法であって、上記原稿保持部材と同
等の透光性を有する白基準部材を上記ラインセンサによ
る読取可能な所定位置に進出させた状態で読取動作を行
うことによって第1白基準データを取得するステップ
と、上記白基準部材を上記所定位置から退避させた状態
で読取動作を行うことによって第2白基準データを取得
するステップと、第2白基準データ取得時におけるライ
ンセンサ上での結像状態が、第1白基準データ取得時に
おけるラインセンサ上での結像状態と一致するように、
光源とラインセンサとの間に設けられた結像光学系を調
整するステップと、上記結像光学系を調整した後に、上
記白基準部材を上記所定位置から退避させた状態で読取
動作を行うことにより、上記補正用データを取得するス
テップとを含むことを特徴とするシェーディング補正方
法である。
According to a sixth aspect of the present invention, an original image data obtained by reading an original held by a transparent original holding member with a line sensor having a plurality of photoelectric conversion elements is corrected based on correction data. A shading correction method for performing a first reading operation by performing a reading operation in a state where a white reference member having the same light transmission property as that of the document holding member has advanced to a predetermined position readable by the line sensor. Obtaining white reference data; obtaining second white reference data by performing a reading operation with the white reference member retracted from the predetermined position; and a line sensor for obtaining the second white reference data. The image formation state on the line sensor coincides with the image formation state on the line sensor when the first white reference data is obtained,
Adjusting the imaging optical system provided between the light source and the line sensor, and performing the reading operation with the white reference member retracted from the predetermined position after adjusting the imaging optical system. And obtaining the correction data.

【0023】請求項6記載の方法によれば、請求項1記
載の構成と同様な作用効果を奏することができる。請求
項7記載の発明は、透明な原稿保持部材に保持された原
稿を複数の光電変換素子を有するラインセンサで読み取
ることによって得られる原稿画像データに対して、補正
用データに基づく補正を行うためのシェーディング補正
方法であって、上記原稿保持部材と同等の透光性を有す
る白基準部材および透明なフィルム状部材に所定の画像
が形成された補正チャートを上記ラインセンサによる読
取可能な所定位置に進出させた状態で読取動作を行うこ
とによって第1白基準データを取得するステップと、取
得した第1白基準データに基づいて、上記ラインセンサ
に含まれる複数の光電素子の中から上記補正チャートに
形成された画像を読み取った光電変換素子を特定するス
テップと、上記白基準部材を上記所定位置から退避さ
せ、かつ、上記補正チャートを上記所定位置に進出させ
た状態で読取動作を行うことによって第2白基準データ
を取得するステップと、取得した第2白基準データに基
づいて、上記ラインセンサに含まれる複数の光電素子の
中から上記補正チャートに形成された画像を読み取った
光電変換素子を特定するステップと、第1白基準データ
に基づいて特定された光電変換素子の位置と第2白基準
データに基づいて特定された光電変換素子の位置とのず
れ量に基づいて、第2白基準データ取得時におけるライ
ンセンサ上での結像状態が、第1白基準データ取得時に
おけるラインセンサ上での結像状態と一致するように、
光源とラインセンサとの間に設けられた結像光学系を調
整するステップと、上記光学系調整手段によって上記結
像光学系を調整した後に、上記白基準部材および補正チ
ャートを上記所定位置から退避させた状態で読取動作を
行うことにより、上記補正用データを取得するステップ
とを含むことを特徴とするシェーディング補正方法であ
る。
According to the method of the sixth aspect, the same operation and effect as the configuration of the first aspect can be obtained. According to a seventh aspect of the present invention, original image data obtained by reading an original held by a transparent original holding member with a line sensor having a plurality of photoelectric conversion elements is corrected based on correction data. A shading correction method, wherein a correction chart in which a predetermined image is formed on a white reference member and a transparent film-like member having the same translucency as the document holding member is provided at a predetermined position where the line sensor can read the correction chart. Acquiring the first white reference data by performing a reading operation in a state in which the line sensor has advanced, and, based on the acquired first white reference data, converting the plurality of photoelectric elements included in the line sensor into the correction chart. Identifying the photoelectric conversion element that has read the formed image, and retracting the white reference member from the predetermined position; and Acquiring a second white reference data by performing a reading operation in a state where the normal chart is advanced to the predetermined position; and a plurality of photoelectric elements included in the line sensor based on the acquired second white reference data. Identifying the photoelectric conversion element that has read the image formed on the correction chart from among the above, and identifying the photoelectric conversion element based on the position of the photoelectric conversion element identified based on the first white reference data and the second white reference data. The imaging state on the line sensor at the time of acquiring the second white reference data matches the imaging state on the line sensor at the time of acquiring the first white reference data, based on the amount of deviation from the position of the photoelectric conversion element. As
Adjusting the imaging optical system provided between the light source and the line sensor, and retracting the white reference member and the correction chart from the predetermined position after adjusting the imaging optical system by the optical system adjusting means. Acquiring the correction data by performing a reading operation in a state where the shading correction is performed.

【0024】請求項7記載の方法によれば、請求項2記
載の構成と同様な作用効果を奏することができる。請求
項8記載の発明は、上記光学系調整手段による結像光学
系の調整量を、調整前の結像光学系の状態と対応付けて
記憶手段に記憶するステップをさらに含むことを特徴と
する請求項6または7記載のシェーディング補正方法で
ある。
According to the method of the seventh aspect, the same operation and effect as the configuration of the second aspect can be obtained. The invention according to claim 8 further includes a step of storing the adjustment amount of the imaging optical system by the optical system adjustment unit in the storage unit in association with the state of the imaging optical system before adjustment. A shading correction method according to claim 6 or 7.

【0025】請求項8記載の方法によれば、請求項3記
載の構成と同様な作用効果を奏することができる。請求
項9記載の発明は、上記結像光学系は、ズームレンズで
あり、上記結像光学系を調整するステップは、上記ズー
ムレンズの倍率を調整するステップであることを特徴と
する請求項6ないし8のいずれかに記載のシェーディン
グ補正方法である。
According to the method of the eighth aspect, the same operation and effect as the configuration of the third aspect can be obtained. According to a ninth aspect of the present invention, the image forming optical system is a zoom lens, and the step of adjusting the image forming optical system is a step of adjusting a magnification of the zoom lens. 9. The shading correction method according to any one of claims 1 to 8.

【0026】請求項9記載の方法によれば、請求項4記
載の構成と同様な作用効果を奏することができる。請求
項10記載の発明は、上記結像光学系は、固定焦点レン
ズ系であり、上記結像光学系を調整するステップは、上
記ラインセンサに対する上記固定焦点レンズ系の位置を
調整するステップであることを特徴とする請求項6ない
し8のいずれかに記載のシェーディング補正方法であ
る。
According to the method of the ninth aspect, the same operation and effect as the configuration of the fourth aspect can be obtained. According to a tenth aspect of the present invention, the imaging optical system is a fixed-focus lens system, and the step of adjusting the imaging optical system is a step of adjusting a position of the fixed-focus lens system with respect to the line sensor. The shading correction method according to any one of claims 6 to 8, wherein

【0027】請求項10記載の方法によれば、請求項5
記載の構成と同様な作用効果を奏することができる。
According to the method of claim 10, claim 5 is provided.
The same operation and effect as the described configuration can be obtained.

【0028】[0028]

【発明の実施の形態】以下に、本発明の一実施形態を、
添付図面を参照して詳細に説明する。図1は、本発明の
一実施形態が適用された画像読取装置の電気的な構成を
示すブロック図である。この画像読取装置は、たとえば
フィルム原稿などの透過型原稿1の画像を読み取るため
の装置であり、副走査方向Yに沿って水平移動可能に設
けられた透明な原稿テーブル2を備えている。読取り対
象の原稿1は、たとえば透明な原稿ホルダ3によって保
持された状態で、原稿テーブル2上の所定のセット位置
にセットされる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below.
This will be described in detail with reference to the accompanying drawings. FIG. 1 is a block diagram showing an electrical configuration of an image reading apparatus to which an embodiment of the present invention is applied. The image reading apparatus is an apparatus for reading an image of a transmission type original 1 such as a film original, for example, and includes a transparent original table 2 which is horizontally movable along the sub-scanning direction Y. The document 1 to be read is set at a predetermined set position on the document table 2 while being held by, for example, a transparent document holder 3.

【0029】原稿テーブル2には、後述するシェーディ
ング補正処理において白基準データを取得するために使
用される白基準部4および黒基準データを取得するため
に使用される黒基準板5が、原稿ホルダ3のセット位置
に抵触しないように、たとえば副走査方向Yの一方端縁
に沿って設けられている。白基準部4には、原稿テーブ
ル2の上面に固定された主走査方向(図1の紙面に直交
する方向)に長手の白基準板6と、原稿テーブル2に形
成された主走査方向に長手の開口部7とが含まれてい
る。白基準板6は、原稿ホルダ3と同等の透光性を有す
る材料を用いて、原稿ホルダ3と同じ肉厚に構成されて
いる。また、黒基準板5は、遮光性を有する材料で構成
された主走査方向に長手の板状体であり、白基準部4に
隣接して原稿テーブル2の上面に固定配置されている。
An original table 2 includes a white reference portion 4 used for obtaining white reference data and a black reference plate 5 used for obtaining black reference data in a shading correction process described later. For example, it is provided along one edge in the sub-scanning direction Y so as not to conflict with the set position No. 3. The white reference portion 4 includes a white reference plate 6 fixed on the upper surface of the document table 2 and extending in the main scanning direction (a direction perpendicular to the plane of FIG. 1), and a long reference plate formed on the document table 2 in the main scanning direction. Opening 7 is included. The white reference plate 6 is made of a material having the same translucency as the original holder 3 and has the same thickness as the original holder 3. The black reference plate 5 is a plate-like body made of a material having a light-shielding property and elongated in the main scanning direction, and is fixed to the upper surface of the document table 2 adjacent to the white reference portion 4.

【0030】原稿テーブル2の移動経路上の所定位置8
の上方には、たとえば蛍光灯で構成される光源9が設け
られている。画像読取時には、この光源9が点灯された
状態で原稿テーブル2が副走査方向Yに移動されて、原
稿ホルダ3に保持された原稿が、上記所定位置8におい
て光源9からの光で照明される。すなわち、この画像読
取装置では、原稿テーブル2の移動経路上の所定位置8
が、後述するラインセンサ12による読取位置(ライン
センサ12による読取可能な所定位置)となっている。
A predetermined position 8 on the moving path of the original table 2
Above the light source 9, a light source 9 constituted by, for example, a fluorescent lamp is provided. When reading an image, the original table 2 is moved in the sub-scanning direction Y while the light source 9 is turned on, and the original held by the original holder 3 is illuminated with the light from the light source 9 at the predetermined position 8. . That is, in this image reading apparatus, the predetermined position 8 on the moving path of the original table 2 is
Are read positions by the line sensor 12 described later (predetermined positions readable by the line sensor 12).

【0031】原稿1に照射された光は、原稿1、原稿ホ
ルダ3および原稿テーブル2を透過して、原稿テーブル
2の下方に導かれ、反射ミラー10によって水平方向に
反射されてレンズ11に入射する。結像光学系としての
レンズ11には、図示しないズーム機構が内蔵されてお
り、レンズ11に入射した光はズーム機構によって拡大
または縮小されて、ラインセンサ12上に結像される。
The light applied to the original 1 is transmitted through the original 1, the original holder 3, and the original table 2, guided to the lower side of the original table 2, reflected by the reflection mirror 10 in the horizontal direction, and incident on the lens 11. I do. The lens 11 as the imaging optical system has a built-in zoom mechanism (not shown), and the light incident on the lens 11 is enlarged or reduced by the zoom mechanism to form an image on the line sensor 12.

【0032】ラインセンサ12は、主走査方向に沿って
配列されたn個(たとえば5000個)のCCD素子を
有しており、各CCD素子は入射光を光電変換して電気
信号を出力する。ラインセンサ12から出力されるアナ
ログ電気信号は、増幅器13で適当なレベルに増幅され
た後、A/D変換器14に入力されてディジタル画像デ
ータに変換される。そして、変換後のディジタル画像デ
ータは、DSP(Digital Signal Processor)15によ
ってシェーディング補正などの信号処理が施された後、
処理後データとして出力される。
The line sensor 12 has n (for example, 5000) CCD elements arranged in the main scanning direction, and each CCD element photoelectrically converts incident light and outputs an electric signal. An analog electric signal output from the line sensor 12 is amplified to an appropriate level by an amplifier 13 and then input to an A / D converter 14 to be converted into digital image data. The converted digital image data is subjected to signal processing such as shading correction by a DSP (Digital Signal Processor) 15,
Output as post-processing data.

【0033】この画像読取装置にはまた、後述するシェ
ーディング補正処理において白基準データを取得するた
めに使用される補正チャート16が備えられている。補
正チャート16は、たとえば透明フィルムなどの薄い透
明材料で構成された主走査方向に長手の部材であり、副
走査方向Yに沿って水平移動可能に設けられている。ま
た、補正チャート16には、副走査方向に直線状に延び
たm本(この実施形態では、m=5)の目盛線(図4参
照)が形成されている。なお、補正チャート16の厚み
は無視できる程度に小さく、補正チャート16を透過す
る光が屈折などの影響を受けることはない。
This image reading apparatus is also provided with a correction chart 16 used for obtaining white reference data in shading correction processing described later. The correction chart 16 is a member that is made of a thin transparent material such as a transparent film and is long in the main scanning direction, and is provided so as to be horizontally movable in the sub-scanning direction Y. The correction chart 16 has m (m = 5 in this embodiment) graduation lines (see FIG. 4) that extend linearly in the sub-scanning direction. Note that the thickness of the correction chart 16 is so small as to be negligible, and the light transmitted through the correction chart 16 is not affected by refraction or the like.

【0034】この画像読取装置にはさらに、装置各部の
動作を制御するために、CPU17と、CPU17に接
続されたRAMおよびROMを含むメモリ18とが備え
られている。CPU17は、メモリ18に記憶されたプ
ログラムに従ってソフトウエア処理を実行することによ
り、DSP15の機能を実現する。また、CPU17
は、メモリ18への画像データの書込みおよび読出しを
制御する。
The image reading apparatus further includes a CPU 17 and a memory 18 including a RAM and a ROM connected to the CPU 17 for controlling the operation of each unit of the apparatus. The CPU 17 realizes the function of the DSP 15 by executing software processing according to a program stored in the memory 18. Also, the CPU 17
Controls writing and reading of image data to and from the memory 18.

【0035】さらに、CPU17は、テーブルモータ駆
動回路19、チャートモータ駆動回路20およびズーム
駆動回路21を介して、原稿テーブル2を移動させるた
めのテーブルモータM1、補正チャート16を移動させ
るためのチャートモータM2およびズーム動作のための
ズームモータM3の駆動を制御する。テーブルモータM
1、チャートモータM2およびズームモータM3は、た
とえばステッピングモータで構成することができる。
Further, the CPU 17 includes a table motor M1 for moving the original table 2 and a chart motor for moving the correction chart 16 via a table motor drive circuit 19, a chart motor drive circuit 20, and a zoom drive circuit 21. The driving of the zoom motor M3 for the zoom operation is controlled. Table motor M
1. The chart motor M2 and the zoom motor M3 can be constituted by, for example, a stepping motor.

【0036】図2および図3は、シェーディング補正処
理の流れを示すフローチャートである。また、図4は、
シェーディング補正処理中における原稿テーブル2およ
び補正チャートの位置ならびにラインセンサ12の出力
状態について説明するための図である。このシェーディ
ング補正処理は、白基準データおよび黒基準データの2
つの補正用データを取得し、この取得した補正用データ
に基づいて、原稿1を読み取って得られた画像データに
対してシェーディング補正を施すための処理であり、た
とえば原稿画像の読取倍率など、原稿画像の読取条件が
変更された場合に実行される。
FIGS. 2 and 3 are flowcharts showing the flow of the shading correction processing. Also, FIG.
FIG. 4 is a diagram for explaining the positions of the document table 2 and the correction chart and the output state of the line sensor 12 during the shading correction process. This shading correction processing is performed based on white reference data and black reference data.
Is a process for obtaining two correction data and performing shading correction on image data obtained by reading the document 1 based on the obtained correction data. This is executed when the image reading conditions are changed.

【0037】原稿1を保持した原稿ホルダ3が原稿テー
ブル2上にセットされて、CPU17にスタート信号が
入力されると、テーブルモータM1およびチャートモー
タM2が駆動制御されて、白基準板6および補正チャー
ト16がラインセンサ12による読取可能位置8上に移
動される(ステップS1)。次いで、光源9が点灯され
て、読取可能位置8上の白基準板6および補正チャート
16が照明され、白基準板6および補正チャート16を
透過した光がラインセンサ12によって読み取られる
(図4(a)参照)。そして、この読取りによって得ら
れたデータXi(i=1〜n)が、第1白基準データXiと
してメモリ18に格納される(ステップS2)。この実
施形態では、ステップS1およびS2が第1データ取得
手段の機能に相当している。
When the document holder 3 holding the document 1 is set on the document table 2 and a start signal is input to the CPU 17, the table motor M1 and the chart motor M2 are driven and controlled, and the white reference plate 6 and the correction The chart 16 is moved to a position 8 where the line sensor 12 can read the chart 16 (step S1). Next, the light source 9 is turned on, the white reference plate 6 and the correction chart 16 on the readable position 8 are illuminated, and the light transmitted through the white reference plate 6 and the correction chart 16 is read by the line sensor 12 (FIG. a)). Then, the data Xi (i = 1 to n) obtained by this reading is stored in the memory 18 as the first white reference data Xi (step S2). In this embodiment, steps S1 and S2 correspond to the function of the first data acquisition unit.

【0038】CPU17は、メモリ18に格納した第1
白基準データXiに基づいて、補正チャート16に形成さ
れたm本の目盛線Cの位置 CXj(j=1〜m)を検出す
る(ステップS3)。すなわち、CPU17は、後述す
る目盛線検出処理(図5参照)を実行することにより、
ラインセンサ12に含まれるn個のCCD素子から、第
1白基準データXiの取得時に補正チャート16の目盛線
Cを読み取ったCCD素子を検出する。検出された目盛
線位置CXj は、メモリ18に格納される。
The CPU 17 stores the first
Based on the white reference data Xi, the position CXj (j = 1 to m) of m scale lines C formed on the correction chart 16 is detected (step S3). That is, the CPU 17 executes a later-described scale line detection process (see FIG. 5),
From the n CCD elements included in the line sensor 12, the CCD element that has read the graduation line C of the correction chart 16 when the first white reference data Xi is obtained is detected. The detected scale line position CXj is stored in the memory 18.

【0039】次に、テーブルモータM1が駆動制御され
て、原稿テーブル2に形成された開口部7が、ラインセ
ンサ12による読取可能位置8上に移動される(ステッ
プS4)。これにより、図4(b)に示すように、読取
可能位置8上には、開口部7および補正チャート16が
位置することになる。この状態で、ラインセンサ12に
よる読取動作が行われて、得られたデータが第2白基準
データYi(i=1〜n)としてメモリ18に格納される
(ステップS5)。その後、上述したステップS3と同
様に、メモリ18に格納した第2白基準データYiに基づ
いて、第2白基準データYiの取得時に補正チャート16
の目盛線Cを読み取ったCCD素子が、目盛線位置CYj
(j=1〜m)として検出される(ステップS6)。
Next, the drive of the table motor M1 is controlled, and the opening 7 formed in the original table 2 is moved to the position 8 where the line sensor 12 can read (step S4). Thus, as shown in FIG. 4B, the opening 7 and the correction chart 16 are located on the readable position 8. In this state, the reading operation is performed by the line sensor 12, and the obtained data is stored in the memory 18 as the second white reference data Yi (i = 1 to n) (step S5). Thereafter, similarly to step S3 described above, the correction chart 16 is obtained when the second white reference data Yi is obtained based on the second white reference data Yi stored in the memory 18.
The CCD element that has read the scale line C of
(J = 1 to m) is detected (step S6).

【0040】なお、この実施形態では、上述のステップ
S4およびS5が、第2データ取得手段の機能に相当し
ている。次いで、メモリ18に格納されている目盛線位
置CXj とステップS6で検出した目盛線位置CYj が一致
しているか否かが判断される(ステップS7)。上述し
たように、第1白基準データXiが、ラインセンサ12に
よる読取可能位置8上に白基準板6と補正チャート16
とを重ねた状態で読取動作を行うことによって取得され
るのに対して、第2白基準データYiは、読取可能位置8
上に開口部7と補正チャート16とを重ねた状態で読取
動作を行うことによって取得される。したがって、第1
白基準データXiの取得時と第2白基準データYiの取得時
とでは、光源9からラインセンサ12に至る光路長が異
なるために、ラインセンサ12上での結像状態が異な
る。その結果、図4(a)と図4(b)とを比較して判
るように、第1白基準データXiに基づいて検出される目
盛線位置CXj と第2白基準データYiに基づいて検出され
る目盛線位置CYj とにずれが生じる。
In this embodiment, steps S4 and S5 correspond to the function of the second data acquisition means. Next, it is determined whether or not the scale line position CXj stored in the memory 18 matches the scale line position CYj detected in step S6 (step S7). As described above, the first white reference data Xi is displayed on the position 8 where the line sensor 12 can read the white reference plate 6 and the correction chart 16.
The second white reference data Yi is obtained by performing a reading operation in a state where
It is obtained by performing a reading operation in a state where the opening 7 and the correction chart 16 are superimposed on each other. Therefore, the first
Since the optical path length from the light source 9 to the line sensor 12 is different between when the white reference data Xi is obtained and when the second white reference data Yi is obtained, the image formation state on the line sensor 12 is different. As a result, as can be seen by comparing FIGS. 4A and 4B, the scale line position CXj detected based on the first white reference data Xi and the detection based on the second white reference data Yi are detected. Is shifted from the scale line position CYj.

【0041】したがって、このとき目盛線位置CXj と目
盛線位置CYj とは一致していないと判断されて(ステッ
プS7でNO)、目盛線位置CXj と目盛線位置CYj との
ずれ量が零に近づくように、ズームモータM3が駆動制
御されて、レンズ11の変倍率が変更される(ステップ
S8)。すなわち、ステップS8では、ラインセンサ1
2による読取可能位置8上に開口部7および補正チャー
ト16が位置している時のラインセンサ12上での結像
状態が、読取可能位置8上に白基準板6および補正チャ
ート16が位置している時のラインセンサ12上での結
像状態と合致するように、レンズ11の変倍率が調整さ
れる。したがって、この実施形態では、ステップS7お
よびS8が光学系調整手段の機能に相当していると言え
る。
Therefore, at this time, it is determined that the scale line position CXj does not match the scale line position CYj (NO in step S7), and the shift amount between the scale line position CXj and the scale line position CYj approaches zero. As described above, the drive of the zoom motor M3 is controlled to change the magnification of the lens 11 (step S8). That is, in step S8, the line sensor 1
The image forming state on the line sensor 12 when the opening 7 and the correction chart 16 are located on the readable position 8 by the second reference 2 indicates that the white reference plate 6 and the correction chart 16 are located on the readable position 8. The magnification of the lens 11 is adjusted so as to match the image formation state on the line sensor 12 at the time of operation. Therefore, in this embodiment, it can be said that steps S7 and S8 correspond to the function of the optical system adjusting unit.

【0042】その後、ステップS5に戻って、調整後の
変倍率による読取動作が行われて、ズーム調整後の第2
白基準データYiがメモリ18に格納される。そして、メ
モリ18に格納されたズーム調整後の第2白基準データ
Yiに基づいて、目盛線位置CYj の検出が再び実行され
(ステップS6)、検出された目盛線位置CYj がメモリ
18に格納されている目盛線位置CXj に一致したか否か
が判断される(ステップS7)。目盛線位置CYj と目盛
線位置CXj とが一致していないと判断された場合には、
ステップS8に進み、レンズ11の変倍率が再調整され
る。
Thereafter, returning to step S5, the reading operation is performed at the adjusted magnification ratio, and the second read operation after zoom adjustment is performed.
The white reference data Yi is stored in the memory 18. Then, the second white reference data after zoom adjustment stored in the memory 18
Based on Yi, detection of the scale line position CYj is executed again (step S6), and it is determined whether or not the detected scale line position CYj matches the scale line position CXj stored in the memory 18 (step S6). Step S7). If it is determined that the scale line position CYj does not match the scale line position CXj,
Proceeding to step S8, the magnification of the lens 11 is readjusted.

【0043】一方、目盛線位置CYj と目盛線位置CXj と
が一致したと判断されると(図4(c)参照)、この調
整後の変倍率または調整量が、シェーディング補正処理
の開始前に設定された原稿画像の読取倍率(調整前の変
倍率)に対応付けられてメモリ18に記憶される(ステ
ップS9)。なお、必ずしも目盛線位置CYj と目盛線位
置CXj とが完全に一致するまで、ステップS5〜S8の
処理が繰り返し行われる必要はなく、たとえば、ステッ
プS7で目盛線位置CYj が目盛線位置CXj を含む所定領
域内に存在するか否かの判別が行われて、この判別が肯
定された時にステップS9に進むように変更されてもよ
い。
On the other hand, if it is determined that the scale line position CYj and the scale line position CXj match (see FIG. 4C), the scale factor or adjustment amount after this adjustment is set before the start of the shading correction processing. The original image is stored in the memory 18 in association with the reading magnification (magnification before adjustment) of the original image (step S9). Note that the processing of steps S5 to S8 does not necessarily need to be repeated until the scale line position CYj and the scale line position CXj completely match. For example, the scale line position CYj includes the scale line position CXj in step S7. A determination may be made as to whether or not it exists in the predetermined area, and if the determination is affirmative, the process may be changed to proceed to step S9.

【0044】その後、チャートモータM2が駆動制御さ
れて、補正チャート16が、ラインセンサ12による読
取可能位置8上から除去される(ステップS10)。そ
して、上述したステップS5〜S8で調整された変倍率
のままで読取動作が行われて、得られたデータが第3白
基準データWi(i=1〜n)としてメモリ18に格納さ
れる(ステップS11)。メモリ18に格納された第3
白基準データWiは、後述する処理において原稿画像デー
タにシェーディング補正を施す際の白基準データとして
使用される。すなわち、ステップS10およびS11
が、補正用データ取得手段の機能に相当している。
Thereafter, the driving of the chart motor M2 is controlled, and the correction chart 16 is removed from the position readable by the line sensor 12 (step S10). Then, the reading operation is performed with the scaling ratio adjusted in steps S5 to S8 described above, and the obtained data is stored in the memory 18 as the third white reference data Wi (i = 1 to n) ( Step S11). The third stored in the memory 18
The white reference data Wi is used as white reference data when performing shading correction on the document image data in the processing described below. That is, steps S10 and S11
Corresponds to the function of the correction data acquisition means.

【0045】このように、白基準データとしての第3白
基準データWiの取得時には、図4(d)に示すように、
原稿テーブル2に形成された開口部7のみが読取可能位
置8上に位置した状態で読取動作が行われる。これによ
り、読取可能位置8上に原稿ホルダ3と同等の透光性を
有する白基準部材を配置して白基準データを取得する従
来方法とは異なり、取得される白基準データWiが白基準
部材に付着した塵埃などの影響を受けることがない。
As described above, when the third white reference data Wi as the white reference data is obtained, as shown in FIG.
The reading operation is performed in a state where only the opening 7 formed in the document table 2 is located on the readable position 8. Thus, unlike the conventional method of arranging a white reference member having the same translucency as that of the document holder 3 on the readable position 8 and acquiring the white reference data, the acquired white reference data Wi is the white reference member. It is not affected by dust or the like adhering to the surface.

【0046】また、白基準データWiの取得時には、上述
したステップS5〜S8で調整された変倍率で読取動作
が行われる。これにより、白基準データWiの取得時にお
けるラインセンサ12上での結像状態と、原稿読取時に
おけるラインセンサ12上での結像状態とが一致する。
したがって、上述のようにして取得された白基準データ
Wiに基づくシェーディング補正では、ラインセンサ12
上での結像状態が原稿読取時と異なる状態で取得された
白基準データに基づいてシェーディング補正が行われる
場合とは異なり、光源9の照明むらや各CCD素子間の
感度のばらつきを正しく補償することができる。
When the white reference data Wi is obtained, the reading operation is performed at the magnification adjusted in steps S5 to S8 described above. As a result, the image formation state on the line sensor 12 when the white reference data Wi is obtained matches the image formation state on the line sensor 12 when the document is read.
Therefore, the white reference data obtained as described above
In the shading correction based on Wi, the line sensor 12
Unlike the case where the shading correction is performed based on the white reference data obtained in a state where the image formed above is different from that when reading the original, the illumination unevenness of the light source 9 and the sensitivity variation between the CCD elements are correctly compensated. can do.

【0047】白基準データWiが取得されると、次に、原
稿画像データにシェーディング補正を施す際に使用され
る黒基準データBi(i=1〜n)が取得されて、メモリ
18に格納される(ステップS12)。黒基準データBi
は、たとえば、原稿テーブル2に配置された黒基準板5
を、ラインセンサ12による読取可能位置8上に移動
し、黒基準板5によって光源9からの光が遮蔽された状
態で読取動作を行うことによって取得される。
When the white reference data Wi is obtained, the black reference data Bi (i = 1 to n) used for performing shading correction on the document image data is obtained and stored in the memory 18. (Step S12). Black reference data Bi
Is, for example, a black reference plate 5 arranged on the original table 2.
Is moved to the position 8 where the line sensor 12 can read, and the reading operation is performed in a state where the light from the light source 9 is blocked by the black reference plate 5.

【0048】その後、レンズモータM3が駆動制御され
て、レンズ11の変倍率が、上述したステップS8で調
整される以前の状態に戻される(ステップS13)。そ
して、テーブルモータM1が駆動制御されて、図4
(e)に示すように、原稿ホルダ3に保持された原稿1
が読取可能位置8上に移動され、読取可能位置8上の原
稿画像がラインセンサ12によって読み取られる(ステ
ップS14)。ラインセンサ12の出力信号は、増幅器
13を介してA/D変換器14に与えられて、ディジタ
ル原稿画像データSi(i=1〜n)に変換される。
Thereafter, the driving of the lens motor M3 is controlled, and the magnification of the lens 11 is returned to the state before being adjusted in step S8 (step S13). Then, the drive of the table motor M1 is controlled, and FIG.
As shown in (e), the original 1 held in the original holder 3
Is moved to the readable position 8, and the original image on the readable position 8 is read by the line sensor 12 (Step S14). An output signal of the line sensor 12 is supplied to an A / D converter 14 via an amplifier 13 and is converted into digital original image data Si (i = 1 to n).

【0049】A/D変換後の原稿画像データSiは、DS
P15に与えられて、メモリ18に記憶された白基準デ
ータWiおよび黒基準データBiに基づくシェーディング補
正が施される(ステップS15)。具体的には、上述し
たようにDSP15の機能はCPU17が実行するソフ
トウェア処理で実現することができ、原稿画像データSi
に対するシェーディング補正は、CPU17が下記演算
式に従って演算処理を実行することによって達成され
る。
The original image data Si after A / D conversion is DS
P15, the shading correction is performed based on the white reference data Wi and the black reference data Bi stored in the memory 18 (step S15). Specifically, as described above, the function of the DSP 15 can be realized by software processing executed by the CPU 17, and the original image data Si
Is achieved by the CPU 17 executing arithmetic processing according to the following arithmetic expression.

【0050】 SDi =k・(Si−Bi)/(Wi−Bi) (演算式) ただし、上記演算式において、 SDi(i=1〜n)は、
シェーディング補正後の画像データを表す。また、k
は、予め定められたシェーディング補正係数を表す。す
なわち、シェーディング補正後の画像データSDi は、原
稿画像データSiから黒基準データBiを差し引いた値にシ
ェーディング補正係数kを乗じた値を、白基準データWi
から黒基準データBiを差し引いた値で除算することによ
って得られる。そして、予め設定された読取範囲内の原
稿画像がすべて読み取られて、取得された全画像データ
にシェーディング補正が施されると、このシェーディン
グ補正処理が終了する。
SDi = k · (Si−Bi) / (Wi−Bi) (arithmetic expression) where SDi (i = 1 to n) is
Represents the image data after shading correction. Also, k
Represents a predetermined shading correction coefficient. That is, the image data SDi after the shading correction is obtained by multiplying the value obtained by subtracting the black reference data Bi from the original image data Si by the shading correction coefficient k and the white reference data Wi.
And a value obtained by subtracting the black reference data Bi from. Then, when all the document images within the preset reading range are read and the obtained all image data is subjected to the shading correction, the shading correction processing ends.

【0051】以上のように、本実施形態にかかるシェー
ディング補正処理では、ラインセンサ12による読取可
能位置8上に開口部7および補正チャート16を配置し
た時のラインセンサ12上での結像状態が、読取可能位
置8上に白基準板6および補正チャート16を配置した
時のラインセンサ12上での結像状態と一致するような
レンズ11の変倍率が求められる。その後、補正チャー
ト16が除去されて、読取可能位置8上に開口部7のみ
が配置された状態で、求められた変倍率による読取動作
が行われる。そして、この読取動作によって取得された
データが白基準データWiとされ、この白基準データWiに
基づくシェーディング補正が原稿画像データSiに施され
る。
As described above, in the shading correction processing according to the present embodiment, the image formation state on the line sensor 12 when the opening 7 and the correction chart 16 are arranged on the readable position 8 by the line sensor 12 is determined. The magnification of the lens 11 is determined so as to match the state of image formation on the line sensor 12 when the white reference plate 6 and the correction chart 16 are arranged on the readable position 8. After that, the correction chart 16 is removed, and the reading operation at the obtained magnification is performed in a state where only the opening 7 is disposed on the readable position 8. The data acquired by this reading operation is used as white reference data Wi, and shading correction based on the white reference data Wi is performed on the document image data Si.

【0052】これにより、読取可能位置8上に原稿ホル
ダ3と同等の透光性を有する白基準部材を配置して取得
された白基準データに基づくシェーディング補正が行わ
れる場合に生じる不具合や、ラインセンサ12上での結
像状態が原稿読取時と異なる状態で取得された白基準デ
ータに基づくシェーディング補正が行われる場合に生じ
る不具合が回避され、原稿画像データに対して良好なシ
ェーディング補正を行うことができる。
As a result, a problem that occurs when shading correction is performed based on white reference data obtained by disposing a white reference member having the same translucency as that of the original holder 3 on the readable position 8, It is possible to avoid a problem that occurs when shading correction is performed based on white reference data obtained in a state where an image formed on the sensor 12 is different from that at the time of document reading, and perform good shading correction on document image data. Can be.

【0053】また、上述のようにして求められたレンズ
11の変倍率は、シェーディング補正処理が実行される
前に予め設定された画像読取倍率(ズーム調整前の変倍
率)と対応付けられてメモリ18に記憶される。これに
より、新たなシェーディング補正処理が行われる際に、
このシェーディング補正処理と画像読取倍率が同じであ
れば、この画像読取倍率をアドレスとしてメモリ18か
ら変倍率を読み出して、読み出した変倍率にレンズ11
のズーム機構を調整して白基準データWiを取得すればよ
く、上述のステップS1〜S8の処理を省略することが
できる。したがって、この場合には、シェーディング補
正処理に要する時間を大幅に短縮することができる。
The magnification of the lens 11 obtained as described above is associated with a preset image reading magnification (magnification before zoom adjustment) in the memory before the shading correction processing is executed. 18 is stored. Thereby, when a new shading correction process is performed,
If the shading correction processing and the image reading magnification are the same, the variable magnification is read from the memory 18 using the image reading magnification as an address, and the read magnification is set to the lens 11.
The white reference data Wi may be obtained by adjusting the zoom mechanism described above, and the processing in steps S1 to S8 described above can be omitted. Therefore, in this case, the time required for the shading correction processing can be significantly reduced.

【0054】なお、上述のシェーディング補正処理で
は、第1白基準データXiに基づいて検出される目盛線位
置CXj と第2白基準データYiに基づいて検出される目盛
線位置CYj とのずれ量が零になるような変倍率を試行錯
誤によって求めている。しかしながら、目盛線位置CXj
と最初に検出された目盛線位置CYj とのずれ量に基づい
て、目盛線位置CXj と目盛線位置CYj とのずれ量が零に
なるような変倍率が計算で求められてもよく、この場合
にはステップS5ないしステップS8の処理を省略する
ことができるので、シェーディング補正処理に要する時
間をさらに短縮することができる。
In the above-described shading correction processing, the amount of deviation between the scale line position CXj detected based on the first white reference data Xi and the scale line position CYj detected based on the second white reference data Yi is calculated. The scaling factor that becomes zero is determined by trial and error. However, the scale line position CXj
And a scale factor at which the shift amount between the scale line position CXj and the scale line position CYj becomes zero based on the shift amount between the scale line position CYj and the first detected scale line position CYj. Since the processing of steps S5 to S8 can be omitted, the time required for the shading correction processing can be further reduced.

【0055】また、黒基準データBiは、原稿テーブル2
に設けられた黒基準板5によって光源9からの光が遮蔽
された状態で読取動作を行うことによって取得されると
しているが、光源9が消灯された状態で読取動作を行う
ことによって取得されてもよい。また、レンズ11に内
蔵されたしぼり機構を調整して、ラインセンサ12への
光を遮光した状態で読取動作を行うことによって取得さ
れてもよい。これらのようにして黒基準データBiが取得
される場合、原稿テーブル2に黒基準板5を設ける必要
がなく、装置の製造コストを削減することができる。
The black reference data Bi is stored in the document table 2
Is obtained by performing a reading operation in a state where the light from the light source 9 is shielded by the black reference plate 5 provided in the above, but is obtained by performing a reading operation in a state where the light source 9 is turned off. Is also good. Alternatively, the information may be obtained by adjusting a squeezing mechanism built in the lens 11 and performing a reading operation in a state where light to the line sensor 12 is shielded. When the black reference data Bi is obtained as described above, it is not necessary to provide the black reference plate 5 on the document table 2, and the manufacturing cost of the apparatus can be reduced.

【0056】さらに、上述の説明では、DSP15の機
能がソフトウェア処理で実現され、シェーディング補正
はCPU17によって実行される演算処理によって達成
されるとしているが、たとえばDSP15内に減算器、
除算器および乗算器で構成されるシェーディング補正回
路が備えられていて、このシェーディング補正回路に原
稿画像データSiが与えられることにより、原稿画像デー
タSiに対してシェーディング補正が行われてもよい。
Further, in the above description, the function of the DSP 15 is realized by software processing, and the shading correction is achieved by the arithmetic processing executed by the CPU 17, but for example, a subtractor,
A shading correction circuit including a divider and a multiplier may be provided, and the shading correction may be performed on the document image data Si by supplying the document image data Si to the shading correction circuit.

【0057】図5は、目盛線検出処理の流れを示すフロ
ーチャートである。目盛線検出処理は、上述したシェー
ディング補正処理におけるステップS3,S6で実行さ
れる処理であり、ラインセンサ12に含まれるn個のC
CD素子から、第1白基準データXiまたは第2白基準デ
ータYiの取得時に補正チャート16の目盛線Cを読み取
ったCCD素子を検出するための処理である。以下で
は、図5を参照して、第1白基準データXiから目盛線位
置CXj を検出する場合の目盛線検出処理の流れについて
説明する。
FIG. 5 is a flowchart showing the flow of the scale line detection processing. The graduation line detection process is a process executed in steps S3 and S6 in the above-described shading correction process.
This is a process for detecting a CCD element that has read the graduation line C of the correction chart 16 when the first white reference data Xi or the second white reference data Yi is obtained from the CD element. Hereinafter, the flow of the scale line detection process in the case where the scale line position CXj is detected from the first white reference data Xi will be described with reference to FIG.

【0058】上述のシェーディング補正処理でn個の第
1白基準データXiがメモリ18に格納されて、この目盛
線検出処理が開始されると、たとえばメモリ18内に設
けられたカウンタiおよびカウンタjのカウント値がリ
セットされる(ステップT1)。カウンタiのカウント
値は、この目盛線検出処理が開始されてから調べられた
第1白基準データXiの数を表す。また、カウンタjのカ
ウント値は、検出された目盛線位置CXj の数を表す。
When the n pieces of first white reference data Xi are stored in the memory 18 in the above-described shading correction processing and the scale line detection processing is started, for example, the counter i and the counter j provided in the memory 18 are provided. Is reset (step T1). The count value of the counter i represents the number of the first white reference data Xi checked after the start of the scale line detection processing. The count value of the counter j indicates the number of detected scale line positions CXj.

【0059】次に、カウンタiのカウント値が、ライン
センサ12に含まれるCCD素子の数nと等しいか否か
が判断される(ステップT2)。このとき、カウンタi
のカウント値は零であるから、カウント値がnか否かの
判断は否定されて(ステップT2でNO)、カウンタi
のカウント値が+1インクリメントされる(ステップT
3)。そして、このときのカウンタiの値に対応する第
1白基準データXiがメモリ18から読み出される。具体
的には、このときカウンタiの値は1に書き換えられて
いるから、メモリ18から1番目の第1白基準データX1
が読み出される。
Next, it is determined whether or not the count value of the counter i is equal to the number n of CCD elements included in the line sensor 12 (step T2). At this time, the counter i
Is zero, the determination as to whether the count value is n is negated (NO in step T2) and the counter i
Is incremented by +1 (step T
3). Then, the first white reference data Xi corresponding to the value of the counter i at this time is read from the memory 18. Specifically, at this time, the value of the counter i has been rewritten to 1, so that the first white reference data X1
Is read.

【0060】次いで、メモリ18から読み出された第1
白基準データX1が、予め定められた閾値Vth以下である
か否かが判断される(ステップT4)。第1白基準デー
タX1が閾値Vthよりも大きい場合には、ステップT4か
らステップT2に戻り、カウンタiのカウント値がnか
否かが再び判断される。このとき、カウンタiのカウン
ト値は1であるから、カウント値はnではないと判断さ
れて、カウンタiのカウント値が2に書き換えられた後
(ステップT3)、メモリ18から第1白基準データX2
が読み出される。そして、読み出された第1白基準デー
タX2が、閾値Vth以下であるか否かが判断される(ステ
ップT4)。
Next, the first
It is determined whether the white reference data X1 is equal to or less than a predetermined threshold value Vth (step T4). If the first white reference data X1 is larger than the threshold value Vth, the process returns from step T4 to step T2, and it is determined again whether or not the count value of the counter i is n. At this time, since the count value of the counter i is 1, it is determined that the count value is not n, and the count value of the counter i is rewritten to 2 (step T3). X2
Is read. Then, it is determined whether the read first white reference data X2 is equal to or less than the threshold value Vth (step T4).

【0061】このようにして、ステップT2〜T4の処
理が繰り返し行われて、メモリ18に格納されているn
個の第1白基準データXiと閾値Vthとの大小が順次に調
べられる。そして、閾値Vth以下である第1白基準デー
タXiが見つかると(ステップT5でYES)、カウンタ
jがインクリメントされた後(ステップT6)、カウン
タiのカウント値が目盛線位置CXj とされる(ステップ
T7)。次いで、検出された目盛線位置CX1 がメモリ1
8に記憶された後、ステップT2に戻り、上述のステッ
プT2以降の処理が実行される。
As described above, the processing of steps T2 to T4 is repeatedly performed, and the n stored in the memory 18
The magnitudes of the first white reference data Xi and the threshold Vth are sequentially examined. When the first white reference data Xi that is equal to or less than the threshold value Vth is found (YES in step T5), the counter j is incremented (step T6), and the count value of the counter i is set to the scale line position CXj (step T6). T7). Next, the detected scale line position CX1 is stored in the memory 1.
8, the process returns to step T2, and the processing after step T2 is executed.

【0062】ステップT2〜T7の処理が繰り返し実行
されて、目盛線位置CXj が次々に検出され、ステップT
2でカウンタiのカウント値がnであると判断される
と、カウンタjが調べられて、カウンタjの値がmであ
るか否かが判断される(ステップT8)。そして、カウ
ンタjの値がmであれば、すべての目盛線位置CXj が検
出されたと判断されて、この目盛線検出処理が終了す
る。一方、カウンタjの値がmでない場合には、すべて
の目盛線位置CXj が検出されていないと判断されて、良
好に目盛線位置CXj が検出されなかった旨の報知が行わ
れた後、この目盛線検出処理が終了する。
The processing of steps T2 to T7 is repeatedly executed, and the scale line positions CXj are detected one after another.
When it is determined in step 2 that the count value of the counter i is n, the counter j is checked to determine whether the value of the counter j is m (step T8). If the value of the counter j is m, it is determined that all the scale line positions CXj have been detected, and the scale line detection processing ends. On the other hand, if the value of the counter j is not m, it is determined that all the scale line positions CXj have not been detected, and a notification that the scale line position CXj has not been properly detected is given. The scale line detection processing ends.

【0063】なお、第1白基準データXiの取得時に、補
正チャート16に形成された1本の目盛線Cが、互いに
隣接した複数のCCD素子によって読み取られる場合が
想定される。この場合、閾値Vth以下の第1白基準デー
タXiが複数個連続しているおそれがある。そこで、互い
に隣接した複数のCCD素子によって1本の目盛線Cが
読み取られ、この目盛線検出処理において、複数個の第
1白基準データXiが連続して閾値Vth以下であると検出
された場合には、互いに隣接した複数のCCD素子のう
ちの中央付近のCCD素子が目盛線位置CXj とされる。
たとえば、第1白基準データX4,X5,X6,X7 が閾値Vth以
下であると検出された場合には、i=5が目盛線位置CX
j とされる。これにより、補正チャート16に形成され
た目盛線Cの数以上の目盛線位置CXj が検出されるおそ
れを少なくすることができる。
When the first white reference data Xi is obtained, it is assumed that one scale line C formed on the correction chart 16 is read by a plurality of CCD elements adjacent to each other. In this case, there is a possibility that a plurality of first white reference data Xi equal to or less than the threshold value Vth are continuous. Therefore, one graduation line C is read by a plurality of CCD elements adjacent to each other, and in this graduation line detection processing, it is detected that the plurality of first white reference data Xi are continuously equal to or less than the threshold value Vth. , The CCD element near the center of the plurality of CCD elements adjacent to each other is set as the scale line position CXj.
For example, when the first white reference data X4, X5, X6, X7 are detected to be equal to or less than the threshold value Vth, i = 5 is set to the scale line position CX.
j. Thereby, the possibility that the scale line positions CXj equal to or larger than the number of the scale lines C formed on the correction chart 16 can be reduced.

【0064】本発明の一実施形態の説明は以上の通りで
あるが、本発明は上述の一実施形態に限定されるもので
はない。たとえば、上述の実施形態においては、第2白
基準データの取得時におけるラインセンサ上での結像状
態を、第1白基準データの取得時におけるラインセンサ
上での結像状態と一致させるために、レンズに内蔵され
たズーム機構(ズームモータ)が制御されて、レンズの
変倍率が調整されるとしている。しかしながら、ズーム
機構を内蔵したズームレンズに代えて、固定焦点レンズ
系が適用されている場合には、第2白基準データの取得
時におけるラインセンサ上での結像状態が、第1白基準
データの取得時におけるラインセンサ上での結像状態と
一致するように、ラインセンサに対する固定焦点レンズ
系の位置が調整されるとよい。この場合、図2に示すシ
ェーディング補正処理のステップS9では、固定焦点レ
ンズ系の移動量および移動方向が、調整前のレンズ位置
(原稿画像の読取倍率に対応したレンズ位置)と対応付
けられてメモリ18に記憶されるとよい。
Although the description of one embodiment of the present invention is as described above, the present invention is not limited to the above-described embodiment. For example, in the above-described embodiment, in order to match the image formation state on the line sensor when acquiring the second white reference data with the image formation state on the line sensor when acquiring the first white reference data. The zoom mechanism (zoom motor) built in the lens is controlled to adjust the magnification of the lens. However, when a fixed focus lens system is applied instead of the zoom lens having a built-in zoom mechanism, the image formation state on the line sensor at the time of acquiring the second white reference data is changed to the first white reference data. The position of the fixed-focus lens system with respect to the line sensor may be adjusted so as to match the image formation state on the line sensor at the time of acquisition of. In this case, in step S9 of the shading correction processing shown in FIG. 2, the moving amount and the moving direction of the fixed focus lens system are associated with the lens position before adjustment (the lens position corresponding to the reading magnification of the original image) in the memory. 18 may be stored.

【0065】なお、固定焦点レンズ系は、所定の読取倍
率で原稿画像をラインセンサ上に結像させるものであ
る。すなわち、固定焦点レンズ系は、ズームレンズのよ
うに原稿の読取倍率を大きく変更するためのズーム機構
は有しておらず、原稿読取倍率を積極的に変更できるも
のではない。したがって、ズームレンズに代えて固定焦
点レンズ系が適用された場合には、焦点合わせのために
設けられているレンズ位置調整機構を手動操作してレン
ズ位置を微小量だけ変更することにより、ラインセンサ
上での結像状態を調整すればよい。そして、上記レンズ
位置調整機構に備えられたマイクロメータなどの目盛を
読み取っておけば、以降に行うシェーディング補正処理
では、第2白基準データの取得時におけるラインセンサ
上での結像状態と第1白基準データの取得時におけるラ
インセンサ上での結像状態とを一致させるために、レン
ズ位置の調整を試行錯誤する必要がなくなる。
The fixed-focus lens system forms an original image on a line sensor at a predetermined reading magnification. That is, the fixed-focus lens system does not have a zoom mechanism for greatly changing the reading magnification of the document unlike the zoom lens, and cannot change the reading magnification of the document positively. Therefore, when a fixed focus lens system is applied instead of the zoom lens, the lens position adjustment mechanism provided for focusing is manually operated to change the lens position by a very small amount. What is necessary is just to adjust the above-mentioned imaging state. Then, by reading the scale of a micrometer or the like provided in the lens position adjusting mechanism, in the shading correction processing to be performed thereafter, the image formation state on the line sensor at the time of acquiring the second white reference data and the first In order to match the image formation state on the line sensor at the time of acquiring the white reference data, it is not necessary to perform trial and error adjustment of the lens position.

【0066】また、上述の実施形態では、補正チャート
を用いて白基準データを取得する方法について説明し
た。しかしながら、必ずしも補正チャートを用いる必要
はなく、補正チャートを使用しなくても、良好なシェー
ディング補正を行うことのできる白基準データを取得す
ることができる。この方法について、図7を参照して簡
単に説明する。
In the above-described embodiment, the method of acquiring the white reference data using the correction chart has been described. However, it is not always necessary to use a correction chart, and it is possible to obtain white reference data that can perform good shading correction without using a correction chart. This method will be briefly described with reference to FIG.

【0067】原稿テーブルに設けられた白基準板を読取
位置に配置した状態で、ラインセンサによる読取動作を
行うことによって、第1白基準データXi(i=1〜n)
を取得する(図7(a)参照)。そして、この取得した
第1白基準データXiをメモリに格納しておく。次に、原
稿テーブルを移動させて、原稿テーブルに設けられた開
口部を読取位置に配置する。この状態でラインセンサに
よる読取動作を行うことにより、第2白基準データYi
(i=1〜n)を取得する(図7(b)参照)。そし
て、取得される第2白基準データYiがメモリに格納され
た第1白基準データXiとほぼ一致するようにレンズを調
整し、第1白基準データXiとほぼ一致した時に取得され
るデータを白基準データとすればよい。このような方法
であっても、上述の実施形態に係る方法と同様、白基準
部材に付着した塵埃などの影響などが排除された良好な
補正を行うことのできる白基準データを取得できる。
By performing a reading operation by the line sensor in a state where the white reference plate provided on the original table is arranged at the reading position, the first white reference data Xi (i = 1 to n) is obtained.
(See FIG. 7A). Then, the obtained first white reference data Xi is stored in the memory. Next, the document table is moved, and the opening provided in the document table is arranged at the reading position. By performing the reading operation by the line sensor in this state, the second white reference data Yi
(I = 1 to n) is acquired (see FIG. 7B). The lens is adjusted so that the acquired second white reference data Yi substantially matches the first white reference data Xi stored in the memory, and the data acquired when the first white reference data Xi substantially matches the first white reference data Xi. What is necessary is just to make it white reference data. Even with such a method, similarly to the method according to the above-described embodiment, it is possible to obtain white reference data that can perform a good correction in which the influence of dust or the like attached to the white reference member is eliminated.

【0068】さらに、上述の実施形態では、この発明が
原稿テーブルが移動するタイプの画像読取装置に適用さ
れた場合を例に上げて説明したが、この発明は、原稿テ
ーブルが固定された状態で光源やレンズなどの光学系が
移動するタイプの画像読取装置に適用することもでき
る。その他、特許請求の範囲に記載された技術的事項の
範囲内において、種々の変更を施すことができる。
Further, in the above-described embodiment, the case where the present invention is applied to an image reading apparatus of a type in which the original table moves is described as an example. However, the present invention is applied to a case where the original table is fixed. The present invention can also be applied to an image reading apparatus in which an optical system such as a light source and a lens moves. In addition, various changes can be made within the scope of the technical matters described in the claims.

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

【図1】本発明の一実施形態が適用された画像読取装置
の電気的な構成を示すブロック図である。
FIG. 1 is a block diagram illustrating an electrical configuration of an image reading apparatus to which an embodiment of the present invention has been applied.

【図2】シェーディング補正処理の流れを示すフローチ
ャートである。
FIG. 2 is a flowchart illustrating a flow of a shading correction process.

【図3】シェーディング補正処理の流れを示すフローチ
ャートである。
FIG. 3 is a flowchart illustrating a flow of a shading correction process.

【図4】シェーディング補正処理中における原稿テーブ
ルおよび補正チャートの位置ならびにラインセンサの出
力状態について説明するための図である。
FIG. 4 is a diagram for explaining positions of a document table and a correction chart during a shading correction process, and an output state of a line sensor.

【図5】目盛線検出処理の流れを示すフローチャートで
ある。
FIG. 5 is a flowchart illustrating a flow of a scale line detection process.

【図6】白基準データを取得時における光路と原稿ホル
ダに保持された原稿の読取時における光路との違いにつ
いて説明するための図である。
FIG. 6 is a diagram for explaining a difference between an optical path when acquiring white reference data and an optical path when reading a document held in a document holder.

【図7】補正チャートを用いずに白基準データを取得す
る方法について説明するための図である。
FIG. 7 is a diagram for explaining a method of acquiring white reference data without using a correction chart.

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

1 原稿 2 原稿テーブル(原稿保持部材) 3 原稿ホルダ(原稿保持部材) 6 白基準板(白基準部材) 8 読取可能位置 11 レンズ 12 ラインセンサ 15 DSP 16 補正チャート 17 CPU 18 メモリ(記憶手段) C 目盛線 REFERENCE SIGNS LIST 1 document 2 document table (document holding member) 3 document holder (document holding member) 6 white reference plate (white reference member) 8 readable position 11 lens 12 line sensor 15 DSP 16 correction chart 17 CPU 18 memory (storage means) C Scale line

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】透明な原稿保持部材に保持された原稿を複
数の光電変換素子を有するラインセンサで読み取ること
によって得られる原稿画像データに対して、補正用デー
タに基づく補正を行うためのシェーディング補正装置で
あって、 ラインセンサによる読取可能な所定位置を照明するため
の光源と、 上記光源と上記ラインセンサとの間に介在する結像光学
系と、 上記原稿保持部材と同等の透光性を有する白基準部材
と、 上記白基準部材を上記所定位置に進出させた状態で読取
動作を行うことによって第1白基準データを取得する第
1データ取得手段と、 上記白基準部材を上記所定位置から退避させた状態で読
取動作を行うことによって第2白基準データを取得する
第2データ取得手段と、 第2白基準データ取得時におけるラインセンサ上での結
像状態が、第1白基準データ取得時におけるラインセン
サ上での結像状態と一致するように、上記結像光学系を
調整する光学系調整手段と、 上記光学系調整手段によって上記結像光学系を調整した
後に、上記白基準部材を上記所定位置から退避させた状
態で読取動作を行うことにより、上記補正用データを取
得する補正用データ取得手段とを含むことを特徴とする
シェーディング補正装置。
1. A shading correction for performing correction based on correction data on document image data obtained by reading a document held by a transparent document holding member with a line sensor having a plurality of photoelectric conversion elements. A light source for illuminating a predetermined position readable by a line sensor; an imaging optical system interposed between the light source and the line sensor; and a light transmissivity equivalent to that of the document holding member. A first data acquisition unit that acquires first white reference data by performing a reading operation with the white reference member advanced to the predetermined position, and a white reference member that moves the white reference member from the predetermined position. A second data acquisition unit for acquiring the second white reference data by performing a reading operation in a retracted state; Optical system adjusting means for adjusting the image forming optical system so that the image forming state on the line sensor coincides with the image forming state at the time of obtaining the first white reference data; and And a correction data acquiring means for acquiring the correction data by performing a reading operation with the white reference member retracted from the predetermined position after adjusting the image optical system. Correction device.
【請求項2】透明な原稿保持部材に保持された原稿を複
数の光電変換素子を有するラインセンサで読み取ること
によって得られる原稿画像データに対して、補正用デー
タに基づく補正を行うためのシェーディング補正装置で
あって、 ラインセンサによる読取可能な所定位置を照明するため
の光源と、 上記光源と上記ラインセンサとの間に介在する結像光学
系と、 上記原稿保持部材と同等の透光性を有する白基準部材
と、 透明なフィルム状部材に所定の画像が形成された補正チ
ャートと、 上記白基準部材および上記補正チャートを上記所定位置
に進出させた状態で読取動作を行うことによって第1白
基準データを取得する第1データ取得手段と、 取得した第1白基準データに基づいて、上記ラインセン
サに含まれる複数の光電素子の中から上記補正チャート
に形成された画像を読み取った光電変換素子を特定する
手段と、 上記白基準部材を上記所定位置から退避させ、かつ、上
記補正チャートを上記所定位置に進出させた状態で読取
動作を行うことによって第2白基準データを取得する第
2データ取得手段と、 取得した第2白基準データに基づいて、上記ラインセン
サに含まれる複数の光電素子の中から上記補正チャート
に形成された画像を読み取った光電変換素子を特定する
手段と、 第1白基準データに基づいて特定された光電変換素子の
位置と第2白基準データに基づいて特定された光電変換
素子の位置とのずれ量に基づいて、第2白基準データ取
得時におけるラインセンサ上での結像状態が、第1白基
準データ取得時におけるラインセンサ上での結像状態と
一致するように、上記結像光学系を調整する光学系調整
手段と、 上記光学系調整手段によって上記結像光学系を調整した
後に、上記白基準部材および補正チャートを上記所定位
置から退避させた状態で読取動作を行うことにより、上
記補正用データを取得する補正用データ取得手段とを含
むことを特徴とするシェーディング補正装置。
2. A shading correction for performing correction based on correction data on document image data obtained by reading a document held by a transparent document holding member with a line sensor having a plurality of photoelectric conversion elements. A light source for illuminating a predetermined position readable by a line sensor; an imaging optical system interposed between the light source and the line sensor; and a light transmissivity equivalent to that of the document holding member. A white reference member, a correction chart in which a predetermined image is formed on a transparent film-like member, and a first white by performing a reading operation with the white reference member and the correction chart advanced to the predetermined position. First data acquisition means for acquiring reference data; and a plurality of photoelectric elements included in the line sensor based on the acquired first white reference data. Means for identifying the photoelectric conversion element that has read the image formed on the correction chart; and retreating the white reference member from the predetermined position, and performing a reading operation with the correction chart advanced to the predetermined position. A second data acquisition unit for acquiring the second white reference data by performing the operation; and an image formed on the correction chart from the plurality of photoelectric elements included in the line sensor based on the acquired second white reference data. Means for specifying the photoelectric conversion element that has read the first and second white reference data; and a deviation amount between the position of the photoelectric conversion element specified based on the first white reference data and the position of the photoelectric conversion element specified based on the second white reference data. Based on this, the image formation state on the line sensor when the second white reference data is obtained matches the image formation state on the line sensor when the first white reference data is obtained. An optical system adjusting unit for adjusting the imaging optical system, and a reading operation in a state where the white reference member and the correction chart are retracted from the predetermined position after adjusting the imaging optical system by the optical system adjusting unit. And a correction data acquisition means for acquiring the correction data by performing the correction.
【請求項3】上記光学系調整手段による結像光学系の調
整量を、調整前の結像光学系の状態と対応付けて記憶す
る記憶手段をさらに含むことを特徴とする請求項1また
は2記載のシェーディング補正装置。
3. The image forming apparatus according to claim 1, further comprising a storage unit configured to store an adjustment amount of the imaging optical system by the optical system adjustment unit in association with a state of the imaging optical system before adjustment. The shading correction device according to the above.
【請求項4】上記結像光学系は、ズームレンズであり、 上記光学系調整手段は、上記ズームレンズの倍率を調整
するものであることを特徴とする請求項1ないし3のい
ずれかに記載のシェーディング補正装置。
4. The imaging system according to claim 1, wherein said imaging optical system is a zoom lens, and said optical system adjusting means adjusts a magnification of said zoom lens. Shading correction device.
【請求項5】上記結像光学系は、固定焦点レンズ系であ
り、 上記光学系調整手段は、上記ラインセンサに対する上記
固定焦点レンズ系の位置を調整するものであることを特
徴とする請求項1ないし3のいずれかに記載のシェーデ
ィング補正装置。
5. The apparatus according to claim 1, wherein said imaging optical system is a fixed focus lens system, and said optical system adjusting means adjusts a position of said fixed focus lens system with respect to said line sensor. 4. The shading correction device according to any one of 1 to 3.
【請求項6】透明な原稿保持部材に保持された原稿を複
数の光電変換素子を有するラインセンサで読み取ること
によって得られる原稿画像データに対して、補正用デー
タに基づく補正を行うためのシェーディング補正方法で
あって、 上記原稿保持部材と同等の透光性を有する白基準部材を
上記ラインセンサによる読取可能な所定位置に進出させ
た状態で読取動作を行うことによって第1白基準データ
を取得するステップと、 上記白基準部材を上記所定位置から退避させた状態で読
取動作を行うことによって第2白基準データを取得する
ステップと、 第2白基準データ取得時におけるラインセンサ上での結
像状態が、第1白基準データ取得時におけるラインセン
サ上での結像状態と一致するように、光源とラインセン
サとの間に設けられた結像光学系を調整するステップ
と、 上記結像光学系を調整した後に、上記白基準部材を上記
所定位置から退避させた状態で読取動作を行うことによ
り、上記補正用データを取得するステップとを含むこと
を特徴とするシェーディング補正方法。
6. A shading correction for performing correction based on correction data on document image data obtained by reading a document held by a transparent document holding member with a line sensor having a plurality of photoelectric conversion elements. A first white reference data is obtained by performing a reading operation in a state in which a white reference member having the same translucency as the document holding member has advanced to a predetermined position readable by the line sensor. Acquiring a second white reference data by performing a reading operation in a state where the white reference member is retracted from the predetermined position; and forming an image on a line sensor at the time of acquiring the second white reference data. Is formed between the light source and the line sensor so as to match the image formation state on the line sensor when the first white reference data is obtained. Adjusting the optical system, and after adjusting the imaging optical system, performing a reading operation with the white reference member retracted from the predetermined position to obtain the correction data. A shading correction method comprising:
【請求項7】透明な原稿保持部材に保持された原稿を複
数の光電変換素子を有するラインセンサで読み取ること
によって得られる原稿画像データに対して、補正用デー
タに基づく補正を行うためのシェーディング補正方法で
あって、 上記原稿保持部材と同等の透光性を有する白基準部材お
よび透明なフィルム状部材に所定の画像が形成された補
正チャートを上記ラインセンサによる読取可能な所定位
置に進出させた状態で読取動作を行うことによって第1
白基準データを取得するステップと、 取得した第1白基準データに基づいて、上記ラインセン
サに含まれる複数の光電素子の中から上記補正チャート
に形成された画像を読み取った光電変換素子を特定する
ステップと、 上記白基準部材を上記所定位置から退避させ、かつ、上
記補正チャートを上記所定位置に進出させた状態で読取
動作を行うことによって第2白基準データを取得するス
テップと、 取得した第2白基準データに基づいて、上記ラインセン
サに含まれる複数の光電素子の中から上記補正チャート
に形成された画像を読み取った光電変換素子を特定する
ステップと、 第1白基準データに基づいて特定された光電変換素子の
位置と第2白基準データに基づいて特定された光電変換
素子の位置とのずれ量に基づいて、第2白基準データ取
得時におけるラインセンサ上での結像状態が、第1白基
準データ取得時におけるラインセンサ上での結像状態と
一致するように、光源とラインセンサとの間に設けられ
た結像光学系を調整するステップと、 上記光学系調整手段によって上記結像光学系を調整した
後に、上記白基準部材および補正チャートを上記所定位
置から退避させた状態で読取動作を行うことにより、上
記補正用データを取得するステップとを含むことを特徴
とするシェーディング補正方法。
7. A shading correction for performing correction based on correction data on document image data obtained by reading a document held by a transparent document holding member with a line sensor having a plurality of photoelectric conversion elements. A method in which a correction chart in which a predetermined image is formed on a white reference member and a transparent film-like member having the same transparency as the document holding member is advanced to a predetermined position readable by the line sensor. By performing the reading operation in the state, the first
Acquiring white reference data; and identifying, from the plurality of photoelectric elements included in the line sensor, a photoelectric conversion element that has read an image formed on the correction chart, based on the acquired first white reference data. Step of retrieving the second reference data by retracting the white reference member from the predetermined position and performing a reading operation with the correction chart advanced to the predetermined position. (2) identifying a photoelectric conversion element that reads an image formed on the correction chart from a plurality of photoelectric elements included in the line sensor based on the white reference data; and identifying based on the first white reference data. The second white reference data is calculated based on the amount of deviation between the specified position of the photoelectric conversion element and the position of the photoelectric conversion element specified based on the second white reference data. Imaging optics provided between the light source and the line sensor so that the image formation state on the line sensor at the time of data acquisition matches the image formation state on the line sensor at the time of obtaining the first white reference data. Adjusting the system, and adjusting the imaging optical system by the optical system adjusting means, and then performing a reading operation in a state where the white reference member and the correction chart are retracted from the predetermined position, whereby the correction for the correction is performed. Obtaining a data.
【請求項8】上記光学系調整手段による結像光学系の調
整量を、調整前の結像光学系の状態と対応付けて記憶手
段に記憶するステップをさらに含むことを特徴とする請
求項6または7記載のシェーディング補正方法。
8. The method according to claim 6, further comprising the step of storing the adjustment amount of the imaging optical system by the optical system adjustment unit in the storage unit in association with the state of the imaging optical system before adjustment. Or the shading correction method according to 7.
【請求項9】上記結像光学系は、ズームレンズであり、 上記結像光学系を調整するステップは、上記ズームレン
ズの倍率を調整するステップであることを特徴とする請
求項6ないし8のいずれかに記載のシェーディング補正
方法。
9. The image forming apparatus according to claim 6, wherein said image forming optical system is a zoom lens, and said step of adjusting said image forming optical system is a step of adjusting a magnification of said zoom lens. The shading correction method according to any one of the above.
【請求項10】上記結像光学系は、固定焦点レンズ系で
あり、 上記結像光学系を調整するステップは、上記ラインセン
サに対する上記固定焦点レンズ系の位置を調整するステ
ップであることを特徴とする請求項6ないし8のいずれ
かに記載のシェーディング補正方法。
10. The imaging optical system is a fixed-focus lens system, and the step of adjusting the imaging optical system is a step of adjusting a position of the fixed-focus lens system with respect to the line sensor. The shading correction method according to any one of claims 6 to 8, wherein
JP9255374A 1997-09-19 1997-09-19 Device and method for correcting shading Pending JPH1198355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9255374A JPH1198355A (en) 1997-09-19 1997-09-19 Device and method for correcting shading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9255374A JPH1198355A (en) 1997-09-19 1997-09-19 Device and method for correcting shading

Publications (1)

Publication Number Publication Date
JPH1198355A true JPH1198355A (en) 1999-04-09

Family

ID=17277886

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9255374A Pending JPH1198355A (en) 1997-09-19 1997-09-19 Device and method for correcting shading

Country Status (1)

Country Link
JP (1) JPH1198355A (en)

Similar Documents

Publication Publication Date Title
JP3188521B2 (en) Image reading method and image reading apparatus
JP3227191B2 (en) Image reading device
JPH0610720B2 (en) Photographing apparatus and exposure condition measuring method
JP3141375B2 (en) Image reading apparatus and image reading method
JPH07225434A (en) Image reader
JP2001144918A (en) Image reader
JP2889080B2 (en) Scanner
JPH1198355A (en) Device and method for correcting shading
JP2859617B2 (en) Image input method
JPH1198329A (en) Device and method for picture reading
JP2002359776A (en) Image scanner
JP2010288089A (en) Image reader
JPH10336444A (en) Image read method and device therefor
JPS59223060A (en) Original reader
JPH0443766A (en) Original reader
JP3179854B2 (en) Image reading device
JP3125522B2 (en) Image reading device
JP4864029B2 (en) Document reader
JP2003037712A (en) Image reader
JPH10145554A (en) Projecting device of image reading device
US20040164223A1 (en) Automatic object plane selection in an optical image scanner
JPH0795365A (en) Original input device
JPH10327322A (en) Picture reader
JPH06105145A (en) Picture input device
JP2001069354A (en) Picture reader