JP2002171388A - Image reader and storage medium with controlling procedure stored thereon - Google Patents

Image reader and storage medium with controlling procedure stored thereon

Info

Publication number
JP2002171388A
JP2002171388A JP2000366625A JP2000366625A JP2002171388A JP 2002171388 A JP2002171388 A JP 2002171388A JP 2000366625 A JP2000366625 A JP 2000366625A JP 2000366625 A JP2000366625 A JP 2000366625A JP 2002171388 A JP2002171388 A JP 2002171388A
Authority
JP
Japan
Prior art keywords
image data
line
maximum value
image reading
reading apparatus
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
JP2000366625A
Other languages
Japanese (ja)
Inventor
Itsuhito Hokoi
逸人 鉾井
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.)
Nikon Corp
Original Assignee
Nikon Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to JP2000366625A priority Critical patent/JP2002171388A/en
Priority to US09/990,296 priority patent/US7023591B2/en
Publication of JP2002171388A publication Critical patent/JP2002171388A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To precisely decide a shading correction coefficient by each pixel in the case of reading an image on an original monochromatically or with color by using a plurality of monochromatic line sensors. SOLUTION: A 3-line CCD line sensor 5 consists of three CCD line sensors. Whenever the three CCD line sensors read respectively one line, the maximum value of image data outputted in order is obtained. Based on the obtained maximum value of the image data, the white balance of the sensor 5 is obtained. Next, an exposure time for obtaining the white balance is obtained and also the shading correction coefficient of each pixel is obtained from the exposure time and the full range of an A/D converter 7.

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 irradiating an original such as a photographic film with light to optically read an image on the original in black and white or color, and stores a control procedure of the image reading apparatus. It relates to a storage medium. In particular, according to the present invention, when an image on a document is read in black and white or color using a plurality of black and white line sensors, the white balance and the shading correction coefficient are accurately determined for each image color, and The present invention relates to an image reading device suitable for reading with high image quality, and a storage medium for storing a control procedure of the image reading device.

【0002】[0002]

【従来の技術】従来技術としては、単一の白黒CCDラ
インセンサを用いた照明切り替え式の画像読取装置が存
在する。具体的には、光源が、赤(R),緑(G),青
(B)の順番に発光色を順次切換え、原稿にR色、G
色、B色の光を順次照明する。続いて、前記単一の白黒
CCDラインセンサが、R色の照明光を用いて読み取っ
たRライン画像信号と、G色の照明光を用いて読み取っ
たGライン画像信号と、B色の照明光を用いて読み取っ
たBライン画像信号とを順次出力し、主走査方向につい
て、1ライン分のカラー画像読取信号を得る。
2. Description of the Related Art As a prior art, there is an illumination switching type image reading apparatus using a single monochrome CCD line sensor. Specifically, the light source sequentially switches the emission colors in the order of red (R), green (G), and blue (B), and the R color, G
Lights of color and B are sequentially illuminated. Subsequently, the single monochrome CCD line sensor reads an R line image signal using the R color illumination light, a G line image signal read using the G color illumination light, and a B color illumination light. , And sequentially outputs the B-line image signals read by using, and obtains a one-line color image read signal in the main scanning direction.

【0003】前記単一の白黒CCDラインセンサを用い
た照明切り替え式の画像読取装置において、画像を読み
取る場合、光学系の伝達特性に応じた違いがある。ま
た、前記白黒CCDラインセンサにおいても、画素位置
の違いに応じた感度のむらがある。したがって、原稿か
ら入射する光の光量分布と、画像読取装置が生成する信
号の示す光量分布の両者に歪みが生じる。このため、光
量分布の補正をしないと、例えば、原稿と比べて、画像
の中央部は光量が大きく、周辺部は光量が小さいという
現象が生じる。
In the image switching apparatus of the illumination switching type using the single monochrome CCD line sensor, when reading an image, there is a difference depending on the transfer characteristic of the optical system. Further, the monochrome CCD line sensor also has sensitivity unevenness depending on the pixel position. Therefore, distortion occurs in both the light amount distribution of the light incident from the document and the light amount distribution indicated by the signal generated by the image reading device. For this reason, if the light amount distribution is not corrected, for example, a phenomenon occurs in which the light amount is large in the central portion of the image and small in the peripheral portion compared to the original.

【0004】このような、装置の特性によって生じる光
量分布の歪みをなくすために、画像読取装置は、従来よ
りシェーディング補正機能を備えている。従来のシェー
ディング補正では、その装置の特性に応じて、光源の発
光色毎及び撮像面の画素毎に決定された多数のシェーデ
ィング補正係数を予め保持するメモリを備える。撮影の
際には、所定の制御装置が、主走査位置に応じて、前記
メモリから1つのシェーディング補正係数を読み出し、
撮像装置が出力する画像データに前記シェーディング補
正係数を乗算することにより、シェーディング補正され
た画像データを得る。主走査位置が変わる度に、メモリ
から読み出されるシェーディング補正係数は変わる。
[0004] In order to eliminate such distortion of the light amount distribution caused by the characteristics of the apparatus, the image reading apparatus has conventionally been provided with a shading correction function. The conventional shading correction includes a memory that previously stores a large number of shading correction coefficients determined for each emission color of the light source and for each pixel on the imaging surface according to the characteristics of the device. At the time of shooting, a predetermined control device reads one shading correction coefficient from the memory according to the main scanning position,
The image data output by the imaging device is multiplied by the shading correction coefficient to obtain image data subjected to shading correction. Each time the main scanning position changes, the shading correction coefficient read from the memory changes.

【0005】言うまでもなく、単一の白黒CCDライン
センサを用いた単色光による画像読取装置においても、
前記シェーディング補正は同様に行われている。近年、
複数の白黒CCDラインセンサを用いた画像読取装置が
開発されつつある。そこで、複数の白黒CCDラインセ
ンサを用いた画像読取装置おいて、シェーディング補正
を正確に行うための技術が望まれている。
Needless to say, even in an image reading apparatus using monochromatic light using a single monochrome CCD line sensor,
The shading correction is performed similarly. recent years,
An image reading apparatus using a plurality of monochrome CCD line sensors is being developed. Therefore, a technique for accurately performing shading correction in an image reading apparatus using a plurality of monochrome CCD line sensors is desired.

【0006】[0006]

【発明が解決しようとする課題】従来の単一の白黒CC
Dラインセンサを用いた画像読取装置においては、単一
の白黒CCDラインセンサについて、各色毎に又は単色
光を用いる場合には前記単色のみについて、各画素毎に
シェーディング補正係数を求めている。しかし、複数の
白黒CCDラインセンサを用いた画像読取装置におい
て、前記単一の白黒CCDラインセンサを用いた画像読
取装置のシェーディング補正係数の求め方を実行する
と、次のような問題点が生じる。
SUMMARY OF THE INVENTION A conventional single black and white CC
In an image reading apparatus using a D line sensor, a shading correction coefficient is calculated for each pixel of a single monochrome CCD line sensor for each color or for the single color only when monochromatic light is used. However, in an image reading apparatus using a plurality of monochrome CCD line sensors, when the method of obtaining the shading correction coefficient of the image reading apparatus using the single monochrome CCD line sensor is executed, the following problems occur.

【0007】すなわち、複数ラインの白黒CCDライン
センサの中の、1つの白黒CCDラインセンサの各画素
出力を用いて、複数の白黒CCDラインセンサを用いた
画像読取装置の各画素毎のシェーディング補正係数を求
めると、前記1つの白黒CCDラインセンサのシェーデ
ィング補正係数だけは正確に求めることができる。しか
し、他の白黒CCDラインセンサの各画素出力は考慮さ
れていないため、他の白黒CCDラインセンサのシェー
ディング補正係数を正確に求めることができない。
That is, a shading correction coefficient for each pixel of an image reading apparatus using a plurality of monochrome CCD line sensors by using each pixel output of one monochrome CCD line sensor among a plurality of monochrome CCD line sensors. Is obtained, only the shading correction coefficient of the one monochrome CCD line sensor can be accurately obtained. However, since the pixel outputs of the other monochrome CCD line sensors are not taken into account, the shading correction coefficients of the other monochrome CCD line sensors cannot be accurately obtained.

【0008】そのため、被写体から複数の白黒CCDラ
インセンサに入射する光の光量が、前記他の白黒CCD
ラインセンサの飽和レベルを超えると、隣接する画素の
レジスタに電荷があふれて、画像が乱れる現象(ブルー
ミング)が生じる。また、前記他の白黒CCDラインセ
ンサが出力する電気信号のレベルが、A/D変換器など
の信号処理回路の飽和レベルを超えると、シェーディン
グ補正前のディジタル画像データが変化しなくなり、入
力光量と画像データのレベルとの関係が非線形になる。
For this reason, the amount of light incident on a plurality of monochrome CCD line sensors from a subject is different from the other monochrome CCD line sensors.
When the saturation level of the line sensor is exceeded, electric charges overflow into the registers of adjacent pixels, and a phenomenon (blooming) of disturbing the image occurs. If the level of the electric signal output by the other monochrome CCD line sensor exceeds the saturation level of a signal processing circuit such as an A / D converter, the digital image data before shading correction does not change, and the input light amount and The relationship with the level of the image data becomes non-linear.

【0009】このような非線形の画像データに対して、
シェーディング補正処理を実施しても、正しい補正結果
は得られない。本発明の第1の目的は、複数のモノクロ
CCDラインセンサを用いた画像読取装置において、ホ
ワイトバランス決定位置における主走査スキャンデータ
に対し、照明各色において、その全ライン画素の画像デ
ータの中の最大値を求め、その最大値によりホワイトバ
ランスの露光時間を決定することにある。次に前記ホワ
イトバランス露光時間をもとに各ライン各画素のシェー
ディング係数を正確に求めることを可能とする画像読取
装置を提供することにある。
For such non-linear image data,
Even if the shading correction processing is performed, a correct correction result cannot be obtained. A first object of the present invention is to provide an image reading apparatus using a plurality of monochrome CCD line sensors, in which the main scanning scan data at the white balance determination position is the maximum among the image data of all line pixels in each color for illumination. The value is determined, and the exposure time of white balance is determined based on the maximum value. Another object of the present invention is to provide an image reading apparatus capable of accurately obtaining a shading coefficient of each pixel of each line based on the white balance exposure time.

【0010】本発明の第2の目的は、前記画像データの
最大値を求めることを可能とし、前記ホワイトバランス
を決定することを可能とし、前記シェーディング補正係
数を正確に求めることを可能とし、前記最適な露光時間
を決定することを可能とする画像読取装置の制御手順を
記憶する記憶媒体を提供することにある。
A second object of the present invention is to enable a maximum value of the image data to be obtained, to enable the white balance to be determined, and to accurately obtain the shading correction coefficient. It is an object of the present invention to provide a storage medium for storing a control procedure of an image reading apparatus that enables an optimal exposure time to be determined.

【0011】[0011]

【課題を解決するための手段】請求項1記載の画像読取
装置は、原稿を照明する照明手段と、原稿を搭載して副
走査方向に移動する副走査ステージと、前記原稿からの
光を複数の画素により受光する2つ以上のラインセンサ
を同一チップ上に設けて構成され、あるいは同一ライン
センサを複数タップにて出力するように構成された前記
複数の画素の各々の受光強度を示す主走査方向の複数の
アナログ画像データを前記ラインセンサごとに出力する
撮像手段と、前記副走査ステージを副走査方向に駆動す
る駆動手段と、前記撮像手段に設けられた2つ以上のラ
インセンサから順次出力される2系列以上のアナログ画
像データをA/D変換してディジタル画像データを求
め、全系列中のディジタルライン画像データの最大値を
求める画像データ最大値検出手段とを有することを特徴
とする。
According to a first aspect of the present invention, there is provided an image reading apparatus comprising: an illuminating means for illuminating an original; a sub-scanning stage for mounting the original and moving in the sub-scanning direction; A main scan showing the received light intensity of each of the plurality of pixels, which is constituted by providing two or more line sensors for receiving light by the pixels on the same chip, or configured to output the same line sensor by a plurality of taps Imaging means for outputting a plurality of analog image data in each direction for each line sensor; driving means for driving the sub-scanning stage in the sub-scanning direction; and sequential output from two or more line sensors provided in the imaging means. A / D conversion is performed on two or more series of analog image data to obtain digital image data, and the maximum value of the digital line image data in all the series is obtained. And having a value detection unit.

【0012】請求項1記載の発明によれば、前記画像デ
ータ最大値検出手段が、主走査方向に対する1スキャン
により、2つ以上のラインセンサから出力される複数の
アナログ画像データをディジタル画像データに変換し、
変換された複数のディジタル画像データから最大値を求
めることができる。請求項2記載の画像読取装置は、請
求項1記載の画像読取装置において、前記照明手段が、
あらかじめ設定された各初期露光時間で1色以上を順次
発光し、前記撮像手段が、前記副走査ステージに設けら
れている基準白色板の反射光又は素通し窓の通過光を受
光して、2つ以上のラインセンサの画素の各々の受光強
度を示す画像データを出力し、かつ、前記画像データ最
大値検索手段が、前記ディジタル画像データの各色の最
大値に基づいて、ホワイトバランスを求めることを特徴
とする。
According to the first aspect of the invention, the image data maximum value detecting means converts a plurality of analog image data output from two or more line sensors into digital image data by one scan in the main scanning direction. Converted,
The maximum value can be obtained from the plurality of converted digital image data. The image reading device according to claim 2 is the image reading device according to claim 1, wherein the illuminating unit includes:
One or more colors are sequentially emitted at each preset initial exposure time, and the imaging means receives reflected light of a reference white plate provided on the sub-scanning stage or light transmitted through a transparent window, and receives two lights. The image data indicating the light receiving intensity of each of the pixels of the line sensor is output, and the image data maximum value searching means obtains a white balance based on the maximum value of each color of the digital image data. And

【0013】請求項2記載の発明によれば、前記画像デ
ータ最大値検索手段が、ディジタル画像データの各色の
最大値に基づいて、ホワイトバランスを求めることがで
きる。請求項3記載の画像読取装置は、請求項2記載の
画像読取装置において、前記ホワイトバランス検出手段
は、前記A/D変換出力のフルレンジを前記ディジタル
画像データ最大値で除算し、除算して得た値を前記初期
露光時間に乗算して、ホワイトバランスを得るための露
光時間を決定することを特徴とする。
According to the second aspect of the present invention, the image data maximum value searching means can determine the white balance based on the maximum value of each color of the digital image data. In the image reading apparatus according to a third aspect, in the image reading apparatus according to the second aspect, the white balance detecting unit divides a full range of the A / D conversion output by a maximum value of the digital image data, and obtains the result by dividing. The exposure time for obtaining a white balance is determined by multiplying the initial exposure time by the calculated exposure time.

【0014】請求項3記載の発明によれば、ホワイトバ
ランスを得るための露光時間を定めることができる。請
求項4記載の画像読取装置は、請求項3記載の画像読取
装置において、2以上のラインセンサの各画素のシェー
ディング補正係数Snm(nはラインセンサ番号、mは
画素番号、共に正の整数)は、前記A/D変換された各
画像データを全ライン中の最大値で除算して得、このシ
ェーデング補正係数は、各色毎に算出させることを特徴
とする。
According to the third aspect of the present invention, an exposure time for obtaining a white balance can be determined. According to a fourth aspect of the present invention, in the image reading apparatus of the third aspect, a shading correction coefficient Snm of each pixel of two or more line sensors (n is a line sensor number, m is a pixel number, and both are positive integers) Is obtained by dividing each of the A / D-converted image data by the maximum value in all the lines, and this shading correction coefficient is calculated for each color.

【0015】請求項4記載の発明によれば、2以上のラ
インセンサの各画素のシェーディング補正係数Snmを
各色毎に正確に求めることができる。請求項5記載の画
像読取装置の制御手順を記憶する記憶媒体は、原稿を照
明する照明手段と、原稿を搭載して副走査方向に移動す
る副走査ステージと、前記原稿からの光を複数の画素に
より受光する2つ以上のラインセンサを同一チップ上に
設けて構成され、あるいは同一ラインセンサを複数タッ
プにて出力するように構成され、前記複数の画素の各々
の受光強度を示す主走査方向の複数のアナログ画像デー
タを前記ラインセンサごとに出力する撮像手段と、前記
副走査ステージを副走査方向に駆動する駆動手段と、前
記撮像手段に設けられた2つ以上のラインセンサから順
次出力される2系列以上のアナログ画像データをA/D
変換してディジタル画像データを求め、全系列中のディ
ジタルライン画像データの最大値を求める画像データ最
大値検出手段とを有する画像読取装置の制御手順を記憶
する記憶媒体において、前記制御手順は、前記照明手段
があらかじめ設定された各初期露光時間で1色以上を順
次発光し、前記撮像手段が前記副走査ステージに設けら
れている基準白色板の反射光又は素通し窓の通過光を受
光して、2つ以上のラインセンサの画素の各々の受光強
度を示す画像データを出力し、かつ、前記画像データ最
大値検索手段が、前記ディジタル画素データの各色の最
大値に基づいて、ホワイトバランスを求めることを特徴
とする。
According to the present invention, the shading correction coefficient Snm of each pixel of two or more line sensors can be accurately obtained for each color. A storage medium for storing a control procedure of the image reading apparatus according to claim 5, an illuminating unit for illuminating a document, a sub-scanning stage mounted on the document and moving in a sub-scanning direction, and a plurality of light beams from the document. Two or more line sensors for receiving light by pixels are provided on the same chip, or the same line sensor is configured to be output by a plurality of taps, and a main scanning direction indicating light receiving intensity of each of the plurality of pixels Imaging means for outputting a plurality of analog image data for each line sensor, driving means for driving the sub-scanning stage in the sub-scanning direction, and two or more line sensors provided in the imaging means sequentially output from the two or more line sensors. A / D conversion of two or more series of analog image data
Converting the digital image data to obtain the maximum value of the digital line image data in all the series, the image data having a maximum value detection means for storing a control procedure of the image reading device, wherein the control procedure, The illuminating means sequentially emits one or more colors at each preset initial exposure time, and the imaging means receives the reflected light of the reference white plate provided on the sub-scanning stage or the light transmitted through the transparent window, Outputting image data indicating the received light intensity of each of the pixels of the two or more line sensors, and wherein the image data maximum value searching means obtains a white balance based on the maximum value of each color of the digital pixel data. It is characterized by.

【0016】請求項5記載の発明によれば、請求項1に
記載する画像読取装置に対する制御手順を記憶する記憶
媒体を提供できる。請求項6記載の画像読取装置の制御
手順を記憶する記憶媒体は、請求項5記載の画像読取装
置の制御手順を記憶する記憶媒体において、前記制御手
順は、前記ホワイトバランス検出手段が、前記A/D変
換出力のフルレンジを前記ディジタル画像データ最大値
で除算し、除算して得た値を前記初期露光時間に乗算し
て、ホワイトバランスを得るための露光時間を決定する
ことを特徴とする。
According to the fifth aspect of the present invention, it is possible to provide a storage medium for storing a control procedure for the image reading apparatus according to the first aspect. A storage medium for storing a control procedure of the image reading apparatus according to claim 6 is a storage medium for storing a control procedure of the image reading apparatus according to claim 5, wherein the control procedure is such that the white balance detection unit is configured to execute the A The full range of the / D conversion output is divided by the maximum value of the digital image data, and a value obtained by the division is multiplied by the initial exposure time to determine an exposure time for obtaining a white balance.

【0017】請求項6記載の発明によれば、請求項2に
記載する画像読取装置に対する制御手順を記憶する記憶
媒体を提供できる。請求項7記載の画像読取装置の制御
手順を記憶する記憶媒体は、請求項6記載の画像読取装
置の制御手順を記憶する記憶媒体において、前記制御手
順は、2以上のラインセンサの各画素のシェーディング
補正係数Snm(nはラインセンサ番号、mは画素番
号、共に正の整数)を、前記ホワイトバランスを得るた
めの露光時間でA/D変換出力のフルレンジを除算して
得ることを特徴とする。
According to the invention described in claim 6, it is possible to provide a storage medium for storing a control procedure for the image reading device described in claim 2. A storage medium storing a control procedure of the image reading apparatus according to claim 7 is a storage medium storing a control procedure of the image reading apparatus according to claim 6, wherein the control procedure is performed for each pixel of two or more line sensors. A shading correction coefficient Snm (n is a line sensor number, m is a pixel number, both are positive integers) is obtained by dividing the full range of the A / D conversion output by the exposure time for obtaining the white balance. .

【0018】請求項7記載の発明によれば、請求項3に
記載する画像読取装置に対する制御手順を記憶する記憶
媒体を提供できる。請求項8記載の画像読取装置の制御
手順を記憶する記憶媒体は、請求項7記載の画像読取装
置の制御手順を記憶する記憶媒体において、前記制御手
順は、2以上のラインセンサの各画素のシェーディング
補正係数Snm(nはラインセンサ番号、mは画素番
号、共に正の整数)を全ライン中の最大値で除算して
得、このシェーデング補正係数は、各色毎に算出させる
ことを特徴とする。
According to the seventh aspect of the present invention, it is possible to provide a storage medium for storing a control procedure for the image reading apparatus according to the third aspect. A storage medium storing a control procedure of the image reading apparatus according to claim 8 is a storage medium storing a control procedure of the image reading apparatus according to claim 7, wherein the control procedure is performed for each pixel of two or more line sensors. A shading correction coefficient Snm (n is a line sensor number, m is a pixel number, both are positive integers) is obtained by dividing by a maximum value in all lines, and the shading correction coefficient is calculated for each color. .

【0019】請求項8記載の発明によれば、請求項4に
記載する画像読取装置に対する制御手順を記憶する記憶
媒体を提供できる。
According to the eighth aspect of the present invention, it is possible to provide a storage medium for storing a control procedure for the image reading apparatus according to the fourth aspect.

【0020】[0020]

【発明の実施の形態】以下、添付の図面に示す実施の形
態について説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The embodiments shown in the accompanying drawings will be described below.

【0021】図1は、本発明が適用される画像読取装置
の一例を示す図である。図1は、画像読取装置の一例と
して、フィルムスキャナを示している。図1に記載する
実施の形態は、特許請求の範囲に記載されている全ての
請求項に対応する。図1に示すフィルムスキャナは、光
源ユニット1(LED光源)と、光源ユニット1により
照明されるフィルム原稿(ネガ、又はポジ(リバーサ
ル)フィルム)2と、フィルム原稿2を搭載する副走査
ステージ3と、光源ユニット1によって照明されたフィ
ルム原稿2の画像を結像する投影レンズ4と、投影レン
ズ4によって結像された画像をアナログ画像信号に変換
する同一チップ上に設けられた白黒3ラインCCDライ
ンセンサ5と、前記アナログ画像信号を増幅するプリア
ンプ6と、プリアンプ6から出力されるアナログ画像信
号をディジタル画像信号に変換するA/D変換器7と、
A/D変換器7から出力されるディジタル画像信号にシ
ェーディング補正等を施すASIC(特定用途向けI
C)8と、ASIC8から出力されるディジタル画像信
号を一時格納する出力用ラインメモリ9と、出力用ライ
ンメモリ9から読み出されるディジタル画像信号を図示
しないホストコンピュータに出力するためのSCSIイ
ンターフェース10と、前記したシェーディング補正係
数を記憶しているシェーディングメモリ11と、前記副
走査ステージ3を所定の距離だけ移動させるためのモー
タドライバ12及びステッピングモータMと、前記光源
ユニット1の点灯時間を設定するための露光調整用点灯
時間設定タイマ13と、露光調整用点灯時間設定タイマ
13によって設定された点灯時間を光源ユニット1に出
力するためのドライバ14と、図1に示すフィルムスキ
ャナの全体の動作を制御するCPU15と、CPU15
を動作させるための制御プログラムを格納しているRO
M16と、各種の演算データを一時格納するRAM17
とから構成されている。
FIG. 1 is a diagram showing an example of an image reading apparatus to which the present invention is applied. FIG. 1 shows a film scanner as an example of the image reading apparatus. The embodiment shown in FIG. 1 corresponds to all the claims described in the claims. The film scanner shown in FIG. 1 includes a light source unit 1 (LED light source), a film original (negative or positive (reversal) film) 2 illuminated by the light source unit 1, and a sub-scanning stage 3 on which the film original 2 is mounted. A projection lens 4 for forming an image of the film original 2 illuminated by the light source unit 1, and a monochrome 3-line CCD line provided on the same chip for converting the image formed by the projection lens 4 into an analog image signal A sensor 5, a preamplifier 6 for amplifying the analog image signal, an A / D converter 7 for converting an analog image signal output from the preamplifier 6 into a digital image signal,
An ASIC (shape-specific I / O) for performing shading correction or the like on the digital image signal output from the A / D converter 7
C) 8, an output line memory 9 for temporarily storing a digital image signal output from the ASIC 8, an SCSI interface 10 for outputting a digital image signal read from the output line memory 9 to a host computer (not shown), A shading memory 11 storing the above-mentioned shading correction coefficient, a motor driver 12 and a stepping motor M for moving the sub-scanning stage 3 by a predetermined distance, and a lighting time of the light source unit 1. A lighting time setting timer 13 for exposure adjustment, a driver 14 for outputting the lighting time set by the lighting time setting timer 13 for exposure adjustment to the light source unit 1, and an overall operation of the film scanner shown in FIG. CPU 15 and CPU 15
That stores a control program for operating the
M16 and RAM 17 for temporarily storing various operation data
It is composed of

【0022】以上の構成において、請求項との対応関係
は次のようになっている。請求項1に記載する照明手段
は、光源ユニット1が対応する。同じく、駆動手段は、
モータドライバ12、ステッピングモータM等が対応す
る。同じく、撮像手段は、白黒3ラインCCDラインセ
ンサ5が対応する。同じく、画像データ最大値検出手段
は、CPU15とROM16に格納されたプログラム等
が対応する。
In the above configuration, the correspondence with the claims is as follows. The illumination unit described in claim 1 corresponds to the light source unit 1. Similarly, the driving means
The motor driver 12, the stepping motor M, etc. correspond. Similarly, a monochrome three-line CCD line sensor 5 corresponds to the imaging means. Similarly, the image data maximum value detecting means corresponds to a program stored in the CPU 15 and the ROM 16 and the like.

【0023】次に、図1に示すフィルムスキャナの動作
について、簡単に説明する。前記したように、フィルム
原稿2は光源ユニット1により照明され、白黒3ライン
CCDラインセンサ5上に結像される。カラー画像の読
み取りを可能にするため、前記光源ユニット1は、互い
にピーク波長の異なる3色の照明光、R色、G色、B色
を順次照射する。これによって、光源ユニット1は、フ
ィルム原稿2の色分解を可能にしている。
Next, the operation of the film scanner shown in FIG. 1 will be briefly described. As described above, the film original 2 is illuminated by the light source unit 1 and is imaged on the monochrome three-line CCD line sensor 5. In order to enable reading of a color image, the light source unit 1 sequentially emits three colors of illumination light, R color, G color, and B color having different peak wavelengths. Thus, the light source unit 1 enables the color separation of the film original 2.

【0024】白黒3ラインCCDラインセンサ5は、複
数の正方画素を読み取るものである。白黒3ラインCC
Dラインセンサ5は、前記正方画素の一辺のサイズをP
とすると、3ラインのライン間隔が8Pとなるように構
成されている。すなわち、3ラインCCDラインセンサ
5は、隣接するラインの読み取りではなく、8ライン間
隔でのライン読み取りを実行する。
The monochrome 3-line CCD line sensor 5 reads a plurality of square pixels. Black and white 3 line CC
The D line sensor 5 determines the size of one side of the square pixel as P
Then, the configuration is such that the line interval of the three lines is 8P. That is, the three-line CCD line sensor 5 executes line reading at intervals of eight lines instead of reading adjacent lines.

【0025】次に、白黒3ラインCCDラインセンサ5
上に結像された一次元画像の方向(主走査方向)に対し
て、直行する方向に副走査ステージ3を、例えば1ライ
ン分移動することで、二次元画像を読みとることができ
る。これを、以下、小ステップ移動と称する。
Next, a monochrome 3-line CCD line sensor 5
The two-dimensional image can be read by moving the sub-scanning stage 3 by, for example, one line in a direction perpendicular to the direction of the one-dimensional image formed on the main scanning direction (main scanning direction). This is hereinafter referred to as small step movement.

【0026】ここで、前記したように、3ラインCCD
ラインセンサ5は、隣接するラインの読み取りではな
く、8ライン間隔で画像の読み取りを行っている。した
がって、1ライン間隔で前記小ステップ移動を行った場
合、8回目の小ステップ移動において、既に読み取りを
終了したラインに到達してしまう。そこで、8回目の小
ステップ移動は行わず、24(8ライン×3)ライン分
を一度に移動する大ステップ移動を行う。
Here, as described above, the three-line CCD
The line sensor 5 reads an image at intervals of eight lines instead of reading an adjacent line. Therefore, if the small-step movement is performed at one-line intervals, the line that has already been read is reached in the eighth small-step movement. Thus, the eighth small-step movement is not performed, but a large-step movement is performed to move 24 (8 lines × 3) lines at a time.

【0027】前記大ステップ移動の後、再び、小ステッ
プ移動を繰り返す。こうして、前記小ステップ移動と大
ステップ移動を繰り返すことにより、画面全体につい
て、R色、G色、B色の各アナログ画像信号を得ること
ができる。具体的には、画像読取時において、前記3色
の照明光(R色、G色、B色)を順次点滅させ、小ステ
ップ移動の副走査、大ステップ移動を繰り返すことで、
R色、G色、B色の各ラインのアナログ画像信号を得
る。
After the large step movement, the small step movement is repeated again. By repeating the small-step movement and the large-step movement in this manner, it is possible to obtain R, G, and B analog image signals for the entire screen. Specifically, at the time of image reading, the illumination light of three colors (R, G, B) is sequentially blinked, and the sub-scan of the small step movement and the large step movement are repeated.
An analog image signal of each line of R, G, and B colors is obtained.

【0028】読み取ったアナログ画像信号の量子化は、
A/D変換器7で行われる。A/D変換器7から出力さ
れたディジタル画像信号は、各ライン毎に、順次ASI
C8へ転送され、画素毎にシェーディング補正がなされ
る。ここで、シェーディング補正係数は、あらかじめ、
副走査ステージ3上のフィルム原稿2の存在しない素通
しの部分の透過光から算出されており、ASIC8に直
結しているシェーディングメモリ11に書き込まれてい
る。3ラインCCDラインセンサを使用する場合、3ラ
イン分の画素全てについてシェーディング補正を行う必
要がある。そうしないと、各ライン毎のレベル変動によ
って、入力光量と画像データのレベルとの関係が非線形
になったり、ブルーミングにより、読み取った画像の品
質が悪化する。なお、図1において、太線で示したライ
ンは、バスを示している。また、CPU15とモータド
ライバ1とを結ぶラインは、通常のライン又はバスのい
ずれを用いてもよい。
The quantization of the read analog image signal is as follows.
This is performed by the A / D converter 7. The digital image signal output from the A / D converter 7 is sequentially converted into an ASI signal for each line.
The data is transferred to C8, and shading correction is performed for each pixel. Here, the shading correction coefficient is
It is calculated from the transmitted light of a transparent portion where the film original 2 does not exist on the sub-scanning stage 3, and is written in the shading memory 11 directly connected to the ASIC 8. When a three-line CCD line sensor is used, it is necessary to perform shading correction for all pixels for three lines. Otherwise, the relationship between the input light amount and the level of the image data becomes non-linear due to the level fluctuation for each line, or the quality of the read image deteriorates due to blooming. Note that, in FIG. 1, a line indicated by a thick line indicates a bus. The line connecting the CPU 15 and the motor driver 1 may be a normal line or a bus.

【0029】図2及び図3は、図1に示すフィルムスキ
ャナの画像読取動作の一例を示す説明図である。図2に
おいては、(a)に示すように、フィルム原稿2を大ス
テップピッチによって第1エリアから第nエリアに分
け、さらに(b)〜(e)に示すように、各エリア内を
小ステップピッチによって小ステップ1から小ステップ
7に分けている。
FIGS. 2 and 3 are explanatory diagrams showing an example of the image reading operation of the film scanner shown in FIG. In FIG. 2, the film original 2 is divided into a first area and an n-th area by a large step pitch as shown in FIG. 2A, and a small step is performed in each area as shown in FIGS. Small steps 1 to 7 are divided according to the pitch.

【0030】フィルム原稿2において、L111〜L1
73等の意味は、次の通りである。例えば、L173の
うち、最初の「1」は第1エリア(大ステップ)を意味
している。また、L173のうち,中央の「7」は小ス
テップを意味している。また、L173のうち,最後の
「3」は3ラインCCDラインセンサのうちの3つ目の
ラインセンサ(センサの番号)を意味している。
In the film original 2, L111 to L1
The meaning of 73 and the like is as follows. For example, in L173, the first “1” means the first area (large step). In L173, "7" at the center means a small step. The last "3" in L173 means the third line sensor (sensor number) of the three-line CCD line sensor.

【0031】図1に示すフィルムスキャナは、図2
(b)に示すように、小ステップ1において、L111
〜L113を読み取る。次に、フィルムスキャナは、図
2(c)に示すように、小ステップ2において、L12
1〜L123を読み取る。以後、同様に、小ステップ単
位で読み取りを行い、小ステップ7において、図2
(e)に示すように、L171〜L173を読み取る。
The film scanner shown in FIG.
As shown in (b), in small step 1, L111
~ L113 is read. Next, as shown in FIG. 2C, the film scanner performs L12
Read 1 to L123. Thereafter, similarly, reading is performed in small step units, and in small step 7, FIG.
As shown in (e), L171 to L173 are read.

【0032】上記した小ステップ1〜7において、第1
エリアの全ての画像が読み取られたことになる。次に、
図1に示すフィルムスキャナは、図2(f)に示すよう
に、第2エリアの読み取りを行うため、大ステップ移動
(8×3=24小ステップ移動)を行う。このように、
図1に示すフィルムスキャナは、大ステップ移動と小ス
テップ移動を繰り返すことにより、画像全体を取り込
む。
In the small steps 1 to 7 described above, the first
All the images in the area have been read. next,
As shown in FIG. 2F, the film scanner shown in FIG. 1 performs a large step movement (8 × 3 = 24 small step movements) to read the second area. in this way,
The film scanner shown in FIG. 1 captures the entire image by repeating large-step movement and small-step movement.

【0033】図3は、図1に示すフィルムスキャナの画
像読取動作の他の例を示す説明図である。図3において
は、大ステップ移動だけを行い、第iエリア内(i=1
〜n)では図2(b),(c),(d)に示すような小
ステップ移動を行わない。サムネイル読み取りのような
場合には、図3に示す読み取り法が有用である。
FIG. 3 is an explanatory view showing another example of the image reading operation of the film scanner shown in FIG. In FIG. 3, only the large step movement is performed, and in the i-th area (i = 1
In (n) to (n), the small step movement as shown in FIGS. 2 (b), (c) and (d) is not performed. In the case of reading a thumbnail, the reading method shown in FIG. 3 is useful.

【0034】図4〜図10は、図1に示すフィルムスキ
ャナの動作をホストコンピュータとの動作を含めて示す
フローチャートである。これらのフローチャートは、カ
ラー画像が実際にホストコンピュータに取り込まれるま
でのステップを記載している。図4に示すように、ホス
トコンピュータのCPUは、ステップS1において、フ
ィルムスキャナに対してシェーディングデータ測定命令
を送信する(図4のA参照)。
FIGS. 4 to 10 are flowcharts showing the operation of the film scanner shown in FIG. 1 including the operation with the host computer. These flowcharts describe steps until the color image is actually captured by the host computer. As shown in FIG. 4, in step S1, the CPU of the host computer transmits a shading data measurement command to the film scanner (see A in FIG. 4).

【0035】図5に示すように、フィルムスキャナのC
PU15は、ステップS20においてスキャナ本体の初
期化を終了し、この状態で待機している。前記初期化
は、フィルムスキャナの電源投入等によって実行され
る。前記CPU15は、前記シェーディングデータ測定
命令(A参照)を受けて、ステップS21に進み、ホス
トコンピュータからコマンドを受信したと判定する。
As shown in FIG. 5, the film scanner C
The PU 15 finishes the initialization of the scanner main body in step S20, and stands by in this state. The initialization is executed by turning on the power of the film scanner or the like. Upon receiving the shading data measurement command (see A), the CPU 15 proceeds to step S21 and determines that a command has been received from the host computer.

【0036】ステップS22において、フィルムスキャ
ナのCPU15は、前記コマンドがシェーディングデー
タ測定命令であると判定し、図6に示すステップS40
に進む。図6に示すステップS40において、フィルム
スキャナのCPU15は、副走査ステージ3をホワイト
バランスポイントに移動する。ここで、ホワイトバラン
スポイントとは、フィルム原稿2の無い素通し部分(シ
ェーディング補正窓)であり、3ラインCCDラインセ
ンサ5は光源ユニット1と投影レンズ4と3ラインCC
Dラインセンサ5による総合分光感度で決定されたアナ
ログ画像信号を出力する。なお、良く知られているよう
に、ホワイトバランスポイントとして、基準白色板の反
射光を用いるものも存在する。
In step S22, the CPU 15 of the film scanner determines that the command is a shading data measurement command, and determines in step S40 shown in FIG.
Proceed to. In step S40 shown in FIG. 6, the CPU 15 of the film scanner moves the sub-scanning stage 3 to the white balance point. Here, the white balance point is a transparent portion (shading correction window) where there is no film original 2, and the three-line CCD line sensor 5 includes the light source unit 1, the projection lens 4 and the three-line CC
An analog image signal determined by the total spectral sensitivity of the D line sensor 5 is output. Note that, as is well known, there is one using reflected light from a reference white plate as a white balance point.

【0037】前記副走査ステージ3のホワイトバランス
ポイントへの移動は、CPU15がモータドライバ12
に命令して、ステッピングモータMを駆動することによ
り実行される。ステップS41において、CPU15
は、図1に示す露光調整用点灯時間設定タイマ13に、
各々R色、G色、B色の初期発光時間Trs,Tgs,
Tbsを設定し、ドライバ14を通して光源ユニット1
に送出する。ここで、前記初期発光時間Trs,Tg
s,Tbsは、白黒3ラインCCDラインセンサ5が飽
和しない程度(例えば、飽和発光量の0.7掛け程度)
の発光量とする。
The movement of the sub-scanning stage 3 to the white balance point is performed by the CPU 15 by the motor driver 12.
And the stepping motor M is driven. In step S41, the CPU 15
Is the exposure adjustment lighting time setting timer 13 shown in FIG.
Initial light emission times Trs, Tgs, R, G, and B, respectively.
Tbs is set, and the light source unit 1
To send to. Here, the initial light emission time Trs, Tg
s and Tbs are such that the monochrome three-line CCD line sensor 5 does not saturate (for example, about 0.7 times the saturated light emission amount).
Of light emission.

【0038】ステップS42において、CPU15は、
光源ユニット1のR−LEDを前記初期発光時間Trs
だけ発光させる。ステップS43において、CPU15
は、図1に示す3ラインCCDラインセンサ5から各ア
ナログ画像データを読み出し(画素単位)、AD変換器
7においてディジタル画像データに変換(画素単位)し
た後、3ラインCCD赤データLs1r,Ls2r,L
s3rとして出力する。
In step S42, the CPU 15
The R-LED of the light source unit 1 is set to the initial light emission time Trs
Only emit light. In step S43, the CPU 15
Reads analog image data from the three-line CCD line sensor 5 shown in FIG. 1 (pixel unit), converts the analog image data into digital image data (pixel unit) in the AD converter 7, and then outputs the three-line CCD red data Ls1r, Ls2r, L
Output as s3r.

【0039】図11は、前記3ラインCCD赤データL
s1r,Ls2r,Ls3rの一例を示す図である。こ
の例では、1ラインの画素数が5000画素、AD変換
器7のフルレンジが4095(12ビット)になってい
る。この場合には、各画素データは飽和していない。図
6のステップS44において、CPU15は、ステップ
S43において読み出した全ての3ラインCCD赤デー
タLs1r,Ls2r,Ls3rをRAM17に格納す
る。RAM17には、白黒3ラインCCDラインセンサ
5が読み取った全画素の画像データが格納される。
FIG. 11 shows the three-line CCD red data L
It is a figure showing an example of s1r, Ls2r, and Ls3r. In this example, the number of pixels in one line is 5000 pixels, and the full range of the AD converter 7 is 4095 (12 bits). In this case, each pixel data is not saturated. In step S44 of FIG. 6, the CPU 15 stores all the three-line CCD red data Ls1r, Ls2r, Ls3r read in step S43 in the RAM 17. The RAM 17 stores image data of all pixels read by the monochrome three-line CCD line sensor 5.

【0040】ステップS45において、CPU15は、
前記RAM17に格納されたLs1r,Ls2r,Ls
3rの中から、画素単位で最大値Rmaxを求める。図
11に示す例では、CCD3に前記最大値Rmaxが存
在している。ここで、前記ステップS44,S45は、
請求項1に記載する画像データ最大値検出手段に相当す
る。
In step S45, the CPU 15
Ls1r, Ls2r, Ls stored in the RAM 17
From 3r, a maximum value Rmax is obtained for each pixel. In the example shown in FIG. 11, the maximum value Rmax exists in the CCD 3. Here, steps S44 and S45 are as follows.
This corresponds to an image data maximum value detecting means described in claim 1.

【0041】ステップS46において、CPU15は、
光源ユニット1のR−LEDの発光時間Trを次式に基
づいて求める。 Tr=Trs×4095/Rmax この発光時間は、最大画像データ出力がAD変換器7の
フルレンジとなる露光量を与えるものである。前記した
式において、「4095」はAD変換器7のフルレンジ
(12ビット)を意味している。前記ステップS46
は、請求項3に記載の発明に相当する。
In step S46, the CPU 15
The light emission time Tr of the R-LED of the light source unit 1 is obtained based on the following equation. Tr = Trs × 4095 / Rmax This light emission time gives an exposure amount at which the maximum image data output is in the full range of the AD converter 7. In the above equation, “4095” means the full range (12 bits) of the AD converter 7. Step S46
Corresponds to the third aspect of the present invention.

【0042】ステップS47において、CPU15は、
光源ユニット1のR−LEDを前記初期発光時間Trだ
け発光させる。ステップS48において、CPU15
は、図1に示す3ラインCCDラインセンサ5から各ア
ナログ画素データを読み出し、AD変換器7においてデ
ィジタル画素データに変換した後、3ラインCCD赤デ
ータLs1r,Ls2r,Ls3rとして出力する。
In step S47, the CPU 15
The R-LED of the light source unit 1 emits light for the initial light emission time Tr. In step S48, the CPU 15
Reads out each analog pixel data from the three-line CCD line sensor 5 shown in FIG. 1, converts it into digital pixel data in the AD converter 7, and outputs it as three-line CCD red data Ls1r, Ls2r, Ls3r.

【0043】図12は、前記3ラインCCD赤データL
s1r,Ls2r,Ls3rの一例を示す図であり、ホ
ワイトバランスを示している。図12から明らかなよう
に、画素データの最大値(CCD3参照)は、AD変換
器7のフルレンジである「4095」になっている。ス
テップS49において、CPU15は、ステップS48
において読み出した全ての3ラインCCD赤データLs
1r,Ls2r,Ls3rをRAM17に格納する。R
AM17には、白黒3ラインCCDラインセンサが読み
取った全画素の画像データが格納される。前記ステップ
S40〜49は、請求項2に記載の発明に相当する。
FIG. 12 shows the three-line CCD red data L
FIG. 4 is a diagram illustrating an example of s1r, Ls2r, and Ls3r, and illustrates white balance. As is clear from FIG. 12, the maximum value of the pixel data (see CCD 3) is “4095” which is the full range of the AD converter 7. In step S49, the CPU 15 determines in step S48
All three-line CCD red data Ls read in
1r, Ls2r, and Ls3r are stored in the RAM 17. R
The AM 17 stores image data of all pixels read by the monochrome three-line CCD line sensor. Steps S40 to S49 correspond to the second aspect of the present invention.

【0044】ステップS50において、CPU15は、
RAM17に格納した3ラインCCD赤データLs1
r,Ls2r,Ls3rの各画素データを読み出し、A
D変換器7のフルレンジである「4095」を前記各画
素データで除算し、各画素のシェーディング補正係数S
DRnmを求める。
In step S50, the CPU 15
3-line CCD red data Ls1 stored in RAM 17
r, Ls2r, and Ls3r are read out, and A
The full-range “4095” of the D converter 7 is divided by the pixel data to obtain a shading correction coefficient S for each pixel.
Find DRnm.

【0045】図13は、前記の方法によって各CCD毎
に画素単位で求められたシェーディング補正係数の一例
を示す図である。図示するように、図12において、最
大値を示した画素のシェーディング補正係数は、「1」
となっている。これは、当該画素の補正が不要であるこ
とを意味する。なお、図14は、図13に示すシェーデ
ィング補正係数を用いて波形を成形したものであり、出
力波形はフラットになる。
FIG. 13 is a diagram showing an example of a shading correction coefficient obtained for each CCD in a pixel unit by the above method. As shown in FIG. 12, the shading correction coefficient of the pixel having the maximum value in FIG.
It has become. This means that the pixel need not be corrected. FIG. 14 shows a waveform shaped using the shading correction coefficient shown in FIG. 13, and the output waveform becomes flat.

【0046】図7に示すステップS51〜S59は、G
−LEDにおける発光時間Tg(ステップS52)と緑
データに関するシェーディング補正係数SDGnm(ス
テップS53)を求めるものであり、ステップS42〜
S50に示す赤データに関する処理と同様であるので、
その説明を省略する。また、図8に示すステップS60
〜S68は、B−LEDにおける発光時間Tb(ステッ
プS58)と青データに関するシェーディング補正係数
SDBnm(ステップS59)を求めるものであり、ス
テップS42〜S50に示す赤データに関する処理と同
様であるので、その説明を省略する。
Steps S51 to S59 shown in FIG.
-To determine the light emission time Tg of the LED (step S52) and the shading correction coefficient SDGnm (step S53) relating to the green data.
Since it is the same as the processing for red data shown in S50,
The description is omitted. Step S60 shown in FIG.
Steps S68 to S68 are for obtaining the emission time Tb (step S58) and the shading correction coefficient SDBnm (step S59) for the blue data in the B-LED, and are the same as the processing for the red data shown in steps S42 to S50. Description is omitted.

【0047】図8のステップS69において、CPU1
5は、各色、各画素毎のシェーディング補正係数をシェ
ーディングメモリ11からASIC8に格納する。ステ
ップS70において、CPU15は、ホストコンピュー
タに対して、シェーディング補正係数SD(SDRn
m,SDGnm,SDBnm)決定終了終了信号を送信
する(図8のB参照)。そして、シェーデング補正係数
決定処理は終了する。
In step S69 of FIG.
5 stores the shading correction coefficient for each color and each pixel from the shading memory 11 to the ASIC 8. In step S70, the CPU 15 sends a shading correction coefficient SD (SDRn) to the host computer.
m, SDGnm, SDBnm) is transmitted (see FIG. 8B). Then, the shading correction coefficient determination processing ends.

【0048】なお、前記ステップS40〜S70は、請
求項4に記載の発明に対応する。図4に示すように、ホ
ストコンピュータのCPUは、フィルムスキャナからシ
ェーディング補正係数SD決定終了信号を受信する(図
4のB参照)。ホストコンピュータは、図4のステップ
S2において、シェーディング補正の準備が完了してい
るか否かを判定し、この場合には前記シェーディング補
正係数SD決定終了信号を受信しているので、ステップ
S3に進む。
The steps S40 to S70 correspond to the invention described in claim 4. As shown in FIG. 4, the CPU of the host computer receives a shading correction coefficient SD determination end signal from the film scanner (see B in FIG. 4). In step S2 of FIG. 4, the host computer determines whether or not preparation for shading correction has been completed. In this case, since the shading correction coefficient SD determination end signal has been received, the process proceeds to step S3.

【0049】ステップS3において、ホストコンピュー
タのCPUは、オペレータがスキャン開始の指示を入力
するのを待機している。オペレータがスキャン開始の指
示を入力すると、ステップS4に進み、フィルムスキャ
ナにスキャン開始命令を送信する(図4のC参照)。図
5において、フィルムスキャナのCPU15は、スキャ
ン開始命令を(C参照)受けて、ステップS21に進
み、ホストコンピュータからコマンドを受信したと判定
する。
In step S3, the CPU of the host computer waits for the operator to input a scan start instruction. When the operator inputs a scan start instruction, the process proceeds to step S4, where a scan start command is transmitted to the film scanner (see C in FIG. 4). In FIG. 5, the CPU 15 of the film scanner receives a scan start command (see C), proceeds to step S21, and determines that a command has been received from the host computer.

【0050】図5のステップS22において、フィルム
スキャナのCPU15は、前記コマンドがスキャン開始
命令であると判定し、図9に示すスキャン処理に進む。
ホストコンピュータは、図4に示すステップS4におい
て、スキャン開始命令を出力した後、ステップS5にお
いてスキャン処理を開始する。ステップS6において、
ホストコンピュータは、フィルムスキャナに対して入力
解像度を送信する。この場合、スキャン解像度としては
フル解像(フィルム原稿2をCCD画素数に対応させた
解像度)が送信される(図4のD参照)。
In step S22 of FIG. 5, the CPU 15 of the film scanner determines that the command is a scan start command, and proceeds to the scan processing shown in FIG.
After outputting the scan start command in step S4 shown in FIG. 4, the host computer starts the scanning process in step S5. In step S6,
The host computer sends the input resolution to the film scanner. In this case, a full resolution (a resolution in which the film original 2 corresponds to the number of CCD pixels) is transmitted as the scan resolution (see D in FIG. 4).

【0051】一方、フィルムスキャナのCPU15は、
図9のフローチャートに示すように、ステップS71で
初期化した後、ステップS72において、ホストコンピ
ュータから送信される入力解像度の受信待ちをしている
(図9のD参照)。ホストコンピュータから入力解像度
(図9のD参照)を受信すると、ステップS72からス
テップS73に進む。
On the other hand, the CPU 15 of the film scanner
As shown in the flowchart of FIG. 9, after initialization in step S71, in step S72, reception of an input resolution transmitted from the host computer is waited (see D in FIG. 9). When the input resolution (see D in FIG. 9) is received from the host computer, the process proceeds from step S72 to step S73.

【0052】ステップS73において、CPU15は、
解像度の設定を行う。具体的には、ステッピングモータ
Mの小ステップピッチ及び主走査補完ピッチを設定す
る。また、小ステップピッチカウンタの計数上限値Iを
設定する。この場合には、3ラインCCDラインセンサ
5が、8ライン間隔でのライン読み取りを実行するの
で、前記計数上限値Iとして「7」を設定する。
In step S73, the CPU 15
Set the resolution. Specifically, a small step pitch of the stepping motor M and a main scanning complement pitch are set. Further, a count upper limit value I of the small step pitch counter is set. In this case, since the three-line CCD line sensor 5 executes line reading at intervals of eight lines, "7" is set as the count upper limit value I.

【0053】次に、ステップS74において、CPU1
5はモータドライバ12に指示を与え、モータMを動作
させて、副走査ステージ3を副走査方向初期位置(読取
開始位置)に移動する。ステップS75において、前記
小ステップピッチを示す小ステップピッチカウンタの計
数値Iを1(初期値)にセットする。
Next, at step S74, the CPU 1
Reference numeral 5 gives an instruction to the motor driver 12 to operate the motor M to move the sub-scanning stage 3 to the initial position (reading start position) in the sub-scanning direction. In step S75, the count value I of the small step pitch counter indicating the small step pitch is set to 1 (initial value).

【0054】上記動作と並行して、ホストコンピュータ
は、図4のステップS7に示すように、フィルム原稿2
上に複数設けられたエリアの番号を計数するエリアカウ
ンタの計数値hを1(初期値)にセットする。続いて、
ホストコンピュータのCPUは、図4のステップS8に
示すように、エリア内の小ステップ番号を示す小ステッ
プピッチカウンタの計数値Iを1(初期値)にセットす
る。これによって、ホストコンピュータのCPUは、第
1エリア内の小ステップ1に対応する。
In parallel with the above operation, the host computer, as shown in step S7 of FIG.
The count value h of the area counter for counting the numbers of the plurality of areas provided above is set to 1 (initial value). continue,
As shown in step S8 of FIG. 4, the CPU of the host computer sets the count value I of the small step pitch counter indicating the small step number in the area to 1 (initial value). Thus, the CPU of the host computer corresponds to the small step 1 in the first area.

【0055】また、フィルムスキャナのCPU15は、
図9のステップS76において、図6に示すステップS
46で求めたR−LEDの発光時間Trを、図1に示す
発光時間設定タイマ13にセットする。続いて、ステッ
プS77において、CPU15は、光源ユニット1から
R−LEDを上記設定時間に亙ってパルス点灯させる。
The CPU 15 of the film scanner
In step S76 of FIG. 9, step S76 shown in FIG.
The light emission time Tr of the R-LED obtained in 46 is set in the light emission time setting timer 13 shown in FIG. Subsequently, in step S77, the CPU 15 causes the light source unit 1 to pulse-light the R-LED for the set time.

【0056】ステップS78において、CPU15は、
3ラインCCDラインセンサ5に対して読み込み指示を
出力する。これによって、3ラインCCDラインセンサ
5は、赤の3ラインデータ(LhI1r,LhI2r,
LhI3r)をA/D変換器7、ASIC8、出力用ラ
インメモリ9、SCSIインターフェイス10を介して
ホストコンピュータに出力する(ステップS79、E参
照)。ここで、前記hは、大ステップ移動のエリア番号
(第hエリア)、Iは小ステップ番号、1rは第1のC
CDラインセンサの赤データ、2rは第2のCCDライ
ンセンサの赤データ、3rは第3のCCDラインセンサ
の赤データを意味する。具体的には、ステップS79に
おいて、赤の3ラインデータ(L111r,L112
r,L113r)がホストコンピュータに送信される。
In step S78, the CPU 15
A read instruction is output to the three-line CCD line sensor 5. Accordingly, the three-line CCD line sensor 5 outputs the three red line data (LhI1r, LhI2r,
LhI3r) is output to the host computer via the A / D converter 7, the ASIC 8, the output line memory 9, and the SCSI interface 10 (see steps S79 and E). Here, the h is the area number of the large step movement (h-th area), I is the small step number, and 1r is the first C
Red data of the CD line sensor, 2r means red data of the second CCD line sensor, and 3r means red data of the third CCD line sensor. Specifically, in step S79, the three red line data (L111r, L112
r, L113r) is transmitted to the host computer.

【0057】図4に示すように、ホストコンピュータの
CPUは、フィルムスキャナから赤の3ラインデータ
(LhI1r,LhI2r,LhI3r)を受信する
(図4のE参照)。図9に示すステップS80〜S83
においては、緑の3ラインデータ(LhI1g,LhI
2g,LhI3g)をA/D変換器7、ASIC8、出
力用ラインメモリ9、SCSIインターフェイス10を
介してホストコンピュータに出力する(F参照)。その
動作は、赤色に関するステップS76〜S79と同様で
あるので説明を省略する。
As shown in FIG. 4, the CPU of the host computer receives red three-line data (LhI1r, LhI2r, LhI3r) from the film scanner (see E in FIG. 4). Steps S80 to S83 shown in FIG.
, The green three-line data (LhI1g, LhI
2g, LhI3g) is output to the host computer via the A / D converter 7, the ASIC 8, the output line memory 9, and the SCSI interface 10 (see F). The operation is the same as that in steps S76 to S79 for red, and a description thereof will be omitted.

【0058】同様に、図9に示すステップS84〜S8
7においては、青の3ラインデータ(LhI1b,Lh
I2b,LhI3b)をA/D変換器7、ASIC8、
出力用ラインメモリ9、SCSIインターフェイス10
を介してホストコンピュータに出力する(G参照)。そ
の動作は、赤色に関するステップS76〜S79と同様
であるので説明を省略する。
Similarly, steps S84 to S8 shown in FIG.
7, the blue three-line data (LhI1b, Lh
I2b, LhI3b) are converted to an A / D converter 7, an ASIC 8,
Output line memory 9, SCSI interface 10
(See G). The operation is the same as that in steps S76 to S79 for red, and a description thereof will be omitted.

【0059】図4に示すように、ホストコンピュータ
は、ステップS10において、緑の3ラインデータ(L
hI1g,LhI2g,LhI3g)を受信する(F参
照)。同様に、図4に示すホストコンピュータは、ステ
ップS11において、青の3ラインデータ(LhI1
b,LhI2b,LhI3b)を受信する(G参照)。
図10に示すステップS88において、CPU15は、
副走査ステージ3を副走査方向に1ライン分小ステップ
移動する。
As shown in FIG. 4, in step S10, the host computer sets the green three-line data (L
hI1g, LhI2g, LhI3g) (see F). Similarly, in the host computer shown in FIG. 4, in step S11, the blue three-line data (LhI1
b, LhI2b, LhI3b) (see G).
In step S88 shown in FIG.
The sub-scanning stage 3 is moved in small steps by one line in the sub-scanning direction.

【0060】次に、ステップS89において、CPU1
5は小ステップピッチカウンタの計数値Iを+1して更
新する。これによって、次に、第1エリアの小ステップ
2が走査される。
Next, in step S89, the CPU 1
5 updates the count value I of the small step pitch counter by +1. Thereby, next, the small step 2 of the first area is scanned.

【0061】ステップS90において、CPU15は、
エリア内の小ステップ(7ステップ)が全てスキャンさ
れたか否かを判定する。スキャンされていないと判定さ
れた場合には、ステップS76に戻り、ステップS76
〜S89の処理を繰り返す。ステップS90において、
全てスキャンされたと判定された場合には、ステップS
91に進み、副走査ステージ3を24ライン分大ステッ
プ移動して、ステップS92に進む。
In step S90, the CPU 15
It is determined whether all the small steps (seven steps) in the area have been scanned. If it is determined that scanning has not been performed, the process returns to step S76, and step S76
To S89 are repeated. In step S90,
If it is determined that all have been scanned, step S
The process proceeds to 91, where the sub-scanning stage 3 is moved by a large step for 24 lines, and then proceeds to step S92.

【0062】また、ホストコンピュータのCPUは、図
4に示すステップS12において、小ステップピッチカ
ウンタの計数値Iを+1して更新する。これによって、
ホストコンピュータのCPUは、第1エリアの小ステッ
プ2の走査に対応する。ステップS13において、第1
エリアの小ステップ(7ステップ)が全てスキャンされ
たか否かが判定される。小ステップのスキャンが終了し
ていないと判定された場合には、ステップS9に戻り、
ステップS9〜ステップS13の処理を繰り返す。
In step S12 shown in FIG. 4, the CPU of the host computer updates the count value I of the small step pitch counter by +1. by this,
The CPU of the host computer corresponds to the scanning of the small step 2 of the first area. In step S13, the first
It is determined whether all the small steps (seven steps) of the area have been scanned. If it is determined that the scanning of the small step is not completed, the process returns to step S9,
Steps S9 to S13 are repeated.

【0063】ステップS9〜ステップS13の処理を繰
り返すことにより、フィルムスキャナからR色、G色、
B色の3ラインデータを受信し(E,F,G参照)、小
ステップ内を全てスキャンすることができる。ステップ
S13において、小ステップのスキャンが全て終了した
と判定された場合には、ステップS14に進む。
By repeating the processing of steps S9 to S13, the R, G, and
The three line data of the B color is received (see E, F, and G), and all of the small steps can be scanned. If it is determined in step S13 that the scanning of all the small steps has been completed, the process proceeds to step S14.

【0064】ステップS14において、ホストコンピュ
ータのCPUは、小ステップのスキャンが全て終了した
エリア内のラインデータを合成する。なお、前記ライン
データの合成は、ホストコンピュータではなく、図1に
示すフィルムスキャナのASIC8等で行い、ホストコ
ンピュータに送信するようにしてもよい。ステップS1
5において、ホストコンピュータのCPUは、エリアカ
ウンタの計数値hを+1して更新する。
In step S14, the CPU of the host computer combines the line data in the area where all the small-step scans have been completed. The synthesis of the line data may be performed not by the host computer but by the ASIC 8 of the film scanner shown in FIG. 1 and transmitted to the host computer. Step S1
In 5, the CPU of the host computer updates the count value h of the area counter by +1.

【0065】ステップS16において、エリアカウンタ
の計数値hが規定値に達しているか否かを判定する。達
していないと判定された場合には、ステップS17に進
み、ホストコンピュータのCPUはスキャン継続コマン
ドをフィルムスキャナに発行する(図4及び図9のH参
照)。また、ステップS16において、エリアカウンタ
の計数値hが規定値に達していると判定された場合に
は、ステップS18に進み、スキャン終了コマンドを発
行する(図4及び図9のJ参照)。ここで、フィルム原
稿2を複数に分割した各エリアの幅Wは、画素サイズ×
ライン間隔×3(副走査方向)となる。したがって、原
稿画像は、原稿寸法×投影レンズ4の倍率/W(=エリ
アカウント上限値)に分割される。ホストコンピュータ
は、前記エリアカウンタの計数値hが上限値になるのを
待って、スキャン終了コマンドを送信する。
In step S16, it is determined whether or not the count value h of the area counter has reached a specified value. If it is determined that the time has not reached, the process proceeds to step S17, and the CPU of the host computer issues a scan continuation command to the film scanner (see H in FIGS. 4 and 9). If it is determined in step S16 that the count value h of the area counter has reached the specified value, the flow advances to step S18 to issue a scan end command (see J in FIGS. 4 and 9). Here, the width W of each area obtained by dividing the film manuscript 2 into a plurality is represented by pixel size ×
It becomes line interval × 3 (sub scanning direction). Therefore, the document image is divided into document size × magnification of projection lens 4 / W (= area count upper limit value). The host computer transmits a scan end command after waiting for the count value h of the area counter to reach the upper limit value.

【0066】次に、ステップS19において、ホストコ
ンピュータのCPUは、ホストコンピュータのモニタに
スキャン画像を表示して、処理を終了する。また、前記
スキャン継続コマンド又はスキャン終了コマンドは、図
9に示すように、フィルムスキャナのステップS92に
おいて受信される(H,J参照)。ステップS92にお
いて、ホストコンピュータからコマンドを受信した場
合、ステップS93に進む。
Next, in step S19, the CPU of the host computer displays the scanned image on the monitor of the host computer, and ends the processing. The scan continuation command or the scan end command is received in step S92 of the film scanner as shown in FIG. 9 (see H and J). When a command is received from the host computer in step S92, the process proceeds to step S93.

【0067】ステップS93において、CPU15は、
受信したコマンドがスキャンの終了を意味するスキャン
終了コマンド(J)であるか、又はスキャン継続コマン
ド(H)であるかを判定する。スキャン終了コマンドの
場合は、ステップS94に進み、副走査ステージ3を初
期位置に移動する。また、スキャン継続コマンドの場合
は、ステップS75に戻り、ステップS75〜ステップ
S92の処理を繰り返す。
In step S93, the CPU 15
It is determined whether the received command is a scan end command (J) indicating the end of the scan or a scan continuation command (H). If the command is a scan end command, the process proceeds to step S94, and the sub-scanning stage 3 is moved to the initial position. If the command is a scan continuation command, the process returns to step S75, and the processes in steps S75 to S92 are repeated.

【0068】以上の説明においては、図2に示す第1エ
リア〜第nエリア内の小ステップ移動によって、隣接す
るラインを全て読むフル画像入力を行うものとして説明
した。しかし、本発明はこれに限定されるものではな
く、例えば、2ライン毎に読み取るようにしてもよい。
また、図3に示すように、少なくとも、大ステップ移動
を行う毎に、1ラインの読み取りを行うようにしてもよ
い。
In the above description, it has been described that full image input for reading all the adjacent lines is performed by the small step movement in the first area to the n-th area shown in FIG. However, the present invention is not limited to this. For example, reading may be performed every two lines.
As shown in FIG. 3, one line may be read at least every time a large step movement is performed.

【0069】また、図1に示す画像読取装置では、CC
Dラインセンサの数を3つとして説明したが、本発明は
これに限定されるものではなく、2以上のCCDライン
センサを持てば十分である。また、図1に示す画像読取
装置では、CCDラインセンサを白黒CCDラインセン
サとして説明したが、2以上のカラーCCDラインセン
サを持つものにも適用することができる。
In the image reading apparatus shown in FIG.
Although the number of D line sensors has been described as three, the present invention is not limited to this, and it is sufficient to have two or more CCD line sensors. In the image reading apparatus shown in FIG. 1, the CCD line sensor has been described as a monochrome CCD line sensor, but the present invention can be applied to an apparatus having two or more color CCD line sensors.

【0070】また、図1に示す画像読取装置では、大ス
テップの第1エリア〜第nエリア内に、それぞれ7つの
小ステップを設定したが、本発明はこれに限定されるも
のではなく、エリア内の小ステップの数は任意でよい。
なお、以上に記載した実施の形態においては、画像読取
装置のROM16にCPU15の制御プログラムを記憶
することにしたが、本発明はこれに限定されるものでは
なく、ROM16の代わりにホストコンピュータのメモ
リやハードディスク等の記録媒体を用いてもよい。
Further, in the image reading apparatus shown in FIG. 1, seven small steps are set in each of the first area to the n-th area of the large step, but the present invention is not limited to this. The number of small steps within may be arbitrary.
In the above-described embodiment, the control program of the CPU 15 is stored in the ROM 16 of the image reading apparatus. However, the present invention is not limited to this. Alternatively, a recording medium such as a hard disk or a hard disk may be used.

【0071】この場合、ホストコンピュータのハードデ
ィスク等の記録媒体は、図4〜図10に示すフローチャ
ートを実行する制御プログラムを格納している。そし
て、ホストコンピュータのCPUは、上記プログラムを
ハードディスク等の記録媒体から読み出して、ホストコ
ンピュータのメモリに格納する。これによって、ホスト
コンピュータのCPUは、上記制御プログラムの実行が
可能になる。なお、ハードディスク等の記録媒体に格納
する制御プログラムは、予めホストコンピュータにセッ
トアップ可能なように、CD−ROM等の記憶媒体に格
納する。これは、請求項5〜8に記載の発明に対応す
る。
In this case, a recording medium such as a hard disk of the host computer stores a control program for executing the flowcharts shown in FIGS. Then, the CPU of the host computer reads the program from a recording medium such as a hard disk and stores the program in a memory of the host computer. This allows the CPU of the host computer to execute the control program. The control program stored in a recording medium such as a hard disk is stored in a storage medium such as a CD-ROM so that the control program can be set up in a host computer in advance. This corresponds to the invention described in claims 5 to 8.

【0072】また、前記CPU15の制御プログラム
は、パーソナルコンピュータ(パソコン)等の端末か
ら、インターネットを介してホームページにアクセス
し、ドライバソフト又はファームウェアとしてダウンロ
ードすることもできる。例えば、パソコンからホームペ
ージにアクセスした状態において、画面上の製品表示の
中から画像読取装置の一つであるフィルムスキャナをク
リック(選択)し、さらにパソコンのOS環境に合致す
るドライバソフト又はファームウェアをクリック(選
択)することにより、ダウンロードが実行されるという
実施の形態である。
The control program of the CPU 15 can be downloaded from a terminal such as a personal computer (personal computer) as driver software or firmware by accessing a homepage via the Internet. For example, while accessing the website from a personal computer, click (select) a film scanner, one of the image reading devices, from the product display on the screen, and then click the driver software or firmware that matches the OS environment of the personal computer. This is an embodiment in which downloading is performed by (selection).

【0073】次に、パソコン等の端末とインターネット
との接続形態について、一般的なダイヤルアップ接続を
例にして説明する。すなわち、パソコン等の端末は、モ
デム又はターミナルアダプタを介して電話回線に接続さ
れ、この電話回線により、インターネット接続サービス
会社であるプロバイダのモデム又はターミナルアダプタ
に接続される。前記プロバイダのモデム又はターミナル
アダプタは、プロバイダのコンピュータであるサーバに
接続されている。前記サーバは、インターネットに中継
経路を設定するためのルータを介して24時間接続され
ている。パソコン等の端末からは、必要なときに電話を
かけて、プロバイダのサーバ経由でインターネット(ホ
ームページ)に接続する。なお、インターネットの接続
は、ダイヤルアップ接続に限定されるものではなく、プ
ロバイダとの間を専用線を用いて常時接続するものなど
も存在する。
Next, a connection form between a terminal such as a personal computer and the Internet will be described using a general dial-up connection as an example. That is, a terminal such as a personal computer is connected to a telephone line via a modem or a terminal adapter, and the telephone line is connected to a modem or a terminal adapter of an Internet connection service company provider. The provider's modem or terminal adapter is connected to a server that is the provider's computer. The server is connected to the Internet for 24 hours via a router for setting a relay route. From a terminal such as a personal computer, make a call when necessary, and connect to the Internet (homepage) via the server of the provider. Note that the Internet connection is not limited to dial-up connection, and there is also a connection that always connects to a provider using a dedicated line.

【0074】また、画像読取装置のCPU15の代わり
にホストコンピュータのCPUを用いてもよい。また、
画像読取装置のRAM17の代わりにホストコンピュー
タのメモリ及びハードディスクを用いてもよい。また、
前記した実施形態においては、ホストコンピュータとの
インターフェイスをSCSIインターフェイス10とし
たが他のインターフェイス(IEEE1394,US
B、パラレル等)を使用してもよい。
Further, a CPU of a host computer may be used instead of the CPU 15 of the image reading device. Also,
Instead of the RAM 17 of the image reading device, a memory and a hard disk of a host computer may be used. Also,
In the above-described embodiment, the interface with the host computer is the SCSI interface 10, but another interface (IEEE 1394, US
B, parallel, etc.).

【0075】また、前記実施の形態においては、図1に
示す光源ユニット1が、互いにピーク波長の異なる3色
の照明光、R色、G色、B色を順次照射するものとして
説明した。しかし、本発明はこれに限定されるものでは
なく、例えば、単色光にも適用することができる。単色
光を用いた画像読取装置としては、主に光を透過しない
原稿(反射原稿)を読み取るフラットヘッドスキャナが
ある。2色の照明光を用いるものとしては、例えば、白
黒画像の欠陥を赤外光(IR)で補正するものがある。
In the above embodiment, the light source unit 1 shown in FIG. 1 has been described as irradiating three colors of illumination light, R, G, and B colors having different peak wavelengths sequentially. However, the present invention is not limited to this, and can be applied to, for example, monochromatic light. As an image reading apparatus using monochromatic light, there is a flat head scanner for reading an original (reflective original) which does not mainly transmit light. As a device that uses two colors of illumination light, for example, there is a device that corrects a defect in a black and white image with infrared light (IR).

【0076】また、前記実施の形態においては、複数の
白黒CCDラインセンサを用いた画像読取装置として、
複数の白黒CCDラインセンサを副走査方向に平行に設
ける場合を例にして説明した。しかし、本発明はこれに
限定されるものではなく、複数のCCDラインセンサを
主走査方向に一列に設ける形の画像読取装置も含むもの
とする。また、単一のCCDラインセンサの画素数が多
く、そのままの形態で画素出力をシフトレジスタから順
次出力させると多大の時間がかかる場合、前記単一のC
CDラインセンサのシフトレジスタ部を複数のエリアに
分割し、各分割されたシフトレジスタから出力させるよ
うな構成の画像読取装置にも適用できる。
In the above embodiment, the image reading apparatus using a plurality of monochrome CCD line sensors is
The case where a plurality of monochrome CCD line sensors are provided in parallel in the sub-scanning direction has been described as an example. However, the present invention is not limited to this, and includes an image reading apparatus in which a plurality of CCD line sensors are provided in a line in the main scanning direction. When a single CCD line sensor has a large number of pixels and sequentially outputs pixel outputs from the shift register in the same form, it takes a long time.
The present invention can also be applied to an image reading apparatus having a configuration in which the shift register unit of the CD line sensor is divided into a plurality of areas, and the divided shift registers output the data.

【0077】[0077]

【発明の効果】請求項1記載の発明によれば、複数のC
CDラインセンサを用いた画像読取装置において、主走
査方向に対する1スキャンにより、2つ以上のラインセ
ンサから出力される複数のアナログ画像データをディジ
タル画像データに変換し、変換された複数のディジタル
画像データから最大値を求めることができる。したがっ
て、画像読取装置において、正確なシェーデング補正係
数を得るために有用である。
According to the first aspect of the present invention, a plurality of C
In an image reading apparatus using a CD line sensor, a plurality of analog image data output from two or more line sensors are converted into digital image data by one scan in a main scanning direction, and the plurality of converted digital image data are converted. From the maximum value. Therefore, it is useful for obtaining an accurate shading correction coefficient in the image reading device.

【0078】請求項2記載の発明によれば、複数のCC
Dラインセンサを用いた画像読取装置において、主走査
方向に対する1回のスキャンにおいて、複数のCCDラ
インセンサから出力される全ての画像データ(全画素
分)を考慮して、最大値に基づいてホワイトバランスを
各色毎に決定することが可能になる。したがって、画像
読取装置において、正確なシェーデング補正係数を得る
ために有用である。
According to the second aspect of the present invention, a plurality of CCs
In an image reading apparatus using a D line sensor, in one scan in the main scanning direction, all image data (for all pixels) output from a plurality of CCD line sensors are considered, and a white value is set based on a maximum value. The balance can be determined for each color. Therefore, it is useful for obtaining an accurate shading correction coefficient in the image reading device.

【0079】請求項3記載の発明によれば、複数のCC
Dラインセンサを用いた画像読取装置において、主走査
方向に対する1回のスキャンにおいて、複数のCCDラ
インセンサから出力される全ての画像データ(全画素
分)を考慮し、最適なホワイトバランスを求める露光時
間を決定することが可能になる。したがって、画像読取
装置において、正確なシェーデング補正係数を得るため
に有用である。
According to the third aspect of the present invention, a plurality of CCs
In an image reading apparatus using a D-line sensor, in one scan in the main scanning direction, exposure for obtaining an optimal white balance in consideration of all image data (for all pixels) output from a plurality of CCD line sensors. Time can be determined. Therefore, it is useful for obtaining an accurate shading correction coefficient in the image reading device.

【0080】請求項4記載の発明によれば、複数のCC
Dラインセンサを用いた画像読取装置において、各画素
のシェーディング補正係数Snmを各色毎に正確に求め
ることができ、高画質の画像を得ることが可能になる。
請求項5記載の発明によれば、請求項1に記載する画像
読取装置に対する制御手順を記憶する記憶媒体を提供で
きる。
According to the fourth aspect of the present invention, a plurality of CCs
In an image reading apparatus using a D-line sensor, the shading correction coefficient Snm of each pixel can be accurately obtained for each color, and a high-quality image can be obtained.
According to the fifth aspect of the present invention, it is possible to provide a storage medium for storing a control procedure for the image reading apparatus according to the first aspect.

【0081】請求項6記載の発明によれば、請求項2に
記載する画像読取装置に対する制御手順を記憶する記憶
媒体を提供できる。請求項7記載の発明によれば、請求
項3に記載する画像読取装置に対する制御手順を記憶す
る記憶媒体を提供できる。請求項8記載の発明によれ
ば、請求項4に記載する画像読取装置に対する制御手順
を記憶する記憶媒体を提供できる。
According to the sixth aspect of the present invention, it is possible to provide a storage medium for storing a control procedure for the image reading apparatus according to the second aspect. According to the seventh aspect of the present invention, it is possible to provide a storage medium for storing a control procedure for the image reading device according to the third aspect. According to the eighth aspect of the present invention, it is possible to provide a storage medium for storing a control procedure for the image reading apparatus according to the fourth aspect.

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

【図1】本発明が適用される画像読取装置の一例(フィ
ルムスキャナ)を示す図である。
FIG. 1 is a diagram illustrating an example (film scanner) of an image reading apparatus to which the present invention is applied.

【図2】図1に示すフィルムスキャナの画像読取動作の
一例を示す説明図である。
FIG. 2 is an explanatory diagram showing an example of an image reading operation of the film scanner shown in FIG.

【図3】図1に示すフィルムスキャナの画像読取動作の
一例を示す説明図である。
FIG. 3 is an explanatory diagram showing an example of an image reading operation of the film scanner shown in FIG.

【図4】図1に示すフィルムスキャナの動作をホストコ
ンピュータとの動作を含めて示すフローチャートであ
る。
FIG. 4 is a flowchart showing an operation of the film scanner shown in FIG. 1 including an operation with a host computer.

【図5】図1に示すフィルムスキャナの動作をホストコ
ンピュータとの動作を含めて示すフローチャートであ
る。
FIG. 5 is a flowchart showing an operation of the film scanner shown in FIG. 1 including an operation with a host computer.

【図6】図1に示すフィルムスキャナの動作をホストコ
ンピュータとの動作を含めて示すフローチャートであ
る。
FIG. 6 is a flowchart showing an operation of the film scanner shown in FIG. 1 including an operation with a host computer.

【図7】図1に示すフィルムスキャナの動作をホストコ
ンピュータとの動作を含めて示すフローチャートであ
る。
FIG. 7 is a flowchart showing an operation of the film scanner shown in FIG. 1 including an operation with a host computer.

【図8】図1に示すフィルムスキャナの動作をホストコ
ンピュータとの動作を含めて示すフローチャートであ
る。
FIG. 8 is a flowchart showing an operation of the film scanner shown in FIG. 1 including an operation with a host computer.

【図9】図1に示すフィルムスキャナの動作をホストコ
ンピュータとの動作を含めて示すフローチャートであ
る。
FIG. 9 is a flowchart showing an operation of the film scanner shown in FIG. 1 including an operation with a host computer.

【図10】図1に示すフィルムスキャナの動作をホスト
コンピュータとの動作を含めて示すフローチャートであ
る。
FIG. 10 is a flowchart showing an operation of the film scanner shown in FIG. 1 including an operation with a host computer.

【図11】3ラインCCD赤データの一例を示す図であ
る。
FIG. 11 is a diagram showing an example of three-line CCD red data.

【図12】3ラインCCD赤データのホワイトバランス
の一例を示す図である。
FIG. 12 is a diagram illustrating an example of white balance of 3-line CCD red data.

【図13】3ラインCCD赤データ毎に画素単位で求め
られたシェーディング補正係数の一例を示す図である。
FIG. 13 is a diagram illustrating an example of a shading correction coefficient obtained in pixel units for each three-line CCD red data.

【図14】図13に示すシェーディング補正係数を用い
て波形成形した一例を示す図である。
14 is a diagram showing an example of waveform shaping using the shading correction coefficient shown in FIG.

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

1 光源ユニット 2 フィルム原稿(ネガ、ポジ(リバーサル)フィル
ム) 3 副走査ステージ 4 投影レンズ 5 3ラインCCDラインセンサ 6 プリアンプ 7 A/D変換器 8 ASIC(特定用途向けIC) 9 出力用ラインメモリ 10 SCSIインターフェイス 11 シェーディングメモリ 12 モータドライバ 13 露光調整用点灯時間設定タイマ 14 ドライバ 15 CPU 16 ROM 17 RAM M ステッピングモータ
Reference Signs List 1 light source unit 2 film original (negative, positive (reversal) film) 3 sub-scanning stage 4 projection lens 5 3 line CCD line sensor 6 preamplifier 7 A / D converter 8 ASIC (IC for specific application) 9 output line memory 10 SCSI interface 11 Shading memory 12 Motor driver 13 Lighting time setting timer for exposure adjustment 14 Driver 15 CPU 16 ROM 17 RAM M Stepping motor

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 1/60 H04N 1/40 D 1/401 101A 1/48 1/46 A Fターム(参考) 5B047 AA05 AB04 CB04 DA04 DB01 5C062 AA06 AB17 AC27 AC58 5C072 AA01 BA08 BA19 DA12 EA05 FA07 FB12 UA02 UA06 VA03 5C077 LL04 LL19 MM03 MM22 MP08 PP06 PP32 PP37 PP43 PQ12 RR01 SS01 SS03 TT09 5C079 HA13 HB03 JA23 LA19 MA03 NA03 ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) H04N 1/60 H04N 1/40 D 1/401 101A 1/48 1/46 A F term (Reference) 5B047 AA05 AB04 CB04 DA04 DB01 5C062 AA06 AB17 AC27 AC58 5C072 AA01 BA08 BA19 DA12 EA05 FA07 FB12 UA02 UA06 VA03 5C077 LL04 LL19 MM03 MM22 MP08 PP06 PP32 PP37 PP43 PQ12 RR01 SS01 SS03 TT09 5C033 HA13 MA13 MA03 HA03 MA13 HA03

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 原稿を照明する照明手段と、 原稿を搭載して副走査方向に移動する副走査ステージ
と、 前記原稿からの光を複数の画素により受光する2つ以上
のラインセンサを同一チップ上に設けて構成され、ある
いは同一ラインセンサを複数タップにて出力するように
構成された前記複数の画素の各々の受光強度を示す主走
査方向の複数のアナログ画像データを前記ラインセンサ
ごとに出力する撮像手段と、 前記副走査ステージを副走査方向に駆動する駆動手段
と、 前記撮像手段に設けられた2つ以上のラインセンサから
順次出力される2系列以上のアナログ画像データをA/
D変換してディジタル画像データを求め、全系列中のデ
ィジタルライン画像データの最大値を求める画像データ
最大値検出手段とを有することを特徴とする画像読取装
置。
An illumination device for illuminating a document, a sub-scanning stage for mounting the document and moving in a sub-scanning direction, and two or more line sensors for receiving light from the document by a plurality of pixels are on the same chip. A plurality of analog image data in the main scanning direction indicating the received light intensity of each of the plurality of pixels, which is configured to be provided on the top or configured to output the same line sensor with a plurality of taps, is output for each line sensor. An imaging unit that drives the sub-scanning stage in the sub-scanning direction; and A / A that converts two or more lines of analog image data sequentially output from two or more line sensors provided in the imaging unit.
An image data maximum value detecting means for obtaining digital image data by D-conversion and obtaining a maximum value of digital line image data in all the series.
【請求項2】 請求項1記載の画像読取装置において、 前記照明手段が、あらかじめ設定された各初期露光時間
で1色以上を順次発光し、 前記撮像手段が、前記副走査ステージに設けられている
基準白色板の反射光又は素通し窓の通過光を受光して、
2つ以上のラインセンサの画素の各々の受光強度を示す
画像データを出力し、 かつ、前記画像データ最大値検索手段が、前記ディジタ
ル画像データの各色の最大値に基づいて、ホワイトバラ
ンスを求めることを特徴とする画像読取装置。
2. The image reading device according to claim 1, wherein the illumination unit sequentially emits one or more colors at each preset initial exposure time, and the imaging unit is provided on the sub-scanning stage. Receiving the reflected light of the reference white plate or the light passing through the transparent window,
Outputting image data indicating the received light intensity of each of the pixels of the two or more line sensors, and wherein the image data maximum value searching means obtains a white balance based on the maximum value of each color of the digital image data. An image reading apparatus characterized by the above-mentioned.
【請求項3】 請求項2記載の画像読取装置において、 前記ホワイトバランス検出手段は、前記A/D変換出力
のフルレンジを前記ディジタル画像データ最大値で除算
し、除算して得た値を前記初期露光時間に乗算して、ホ
ワイトバランスを得るための露光時間を決定することを
特徴とする画像読取装置。
3. The image reading device according to claim 2, wherein the white balance detecting means divides a full range of the A / D conversion output by a maximum value of the digital image data, and divides a value obtained by the division into the initial value. An image reading apparatus, wherein an exposure time for obtaining white balance is determined by multiplying the exposure time.
【請求項4】 請求項3記載の画像読取装置において、 2以上のラインセンサの各画素のシェーディング補正係
数Snm(nはラインセンサ番号、mは画素番号、共に
正の整数)は、前記A/D変換された各画像データを全
ライン中の最大値で除算して得、このシェーデング補正
係数は、各色毎に算出させることを特徴とする画像読取
装置。
4. The image reading apparatus according to claim 3, wherein the shading correction coefficient Snm (n is a line sensor number, m is a pixel number, and both are positive integers) of each pixel of two or more line sensors is A / A. An image reading apparatus, wherein each of the D-converted image data is obtained by dividing the image data by a maximum value in all lines, and the shading correction coefficient is calculated for each color.
【請求項5】 原稿を照明する照明手段と、 原稿を搭載して副走査方向に移動する副走査ステージ
と、 前記原稿からの光を複数の画素により受光する2つ以上
のラインセンサを同一チップ上に設けて構成され、ある
いは同一ラインセンサを複数タップにて出力するように
構成され、前記複数の画素の各々の受光強度を示す主走
査方向の複数のアナログ画像データを前記ラインセンサ
ごとに出力する撮像手段と、 前記副走査ステージを副走査方向に駆動する駆動手段
と、 前記撮像手段に設けられた2つ以上のラインセンサから
順次出力される2系列以上のアナログ画像データをA/
D変換してディジタル画像データを求め、全系列中のデ
ィジタルライン画像データの最大値を求める画像データ
最大値検出手段とを有する画像読取装置の制御手順を記
憶する記憶媒体において、 前記制御手順は、 前記照明手段があらかじめ設定された各初期露光時間で
1色以上を順次発光し、 前記撮像手段が前記副走査ステージに設けられている基
準白色板の反射光又は素通し窓の通過光を受光して、2
つ以上のラインセンサの画素の各々の受光強度を示す画
像データを出力し、 かつ、前記画像データ最大値検索手段が、前記ディジタ
ル画素データの各色の最大値に基づいて、ホワイトバラ
ンスを求めることを特徴とする画像読取装置の制御手順
を記憶する記憶媒体。
5. An illuminating means for illuminating a document, a sub-scanning stage for mounting the document and moving in a sub-scanning direction, and two or more line sensors for receiving light from the document by a plurality of pixels on the same chip And a plurality of analog image data in the main scanning direction indicating the received light intensity of each of the plurality of pixels is output for each of the line sensors. An imaging unit that drives the sub-scanning stage in the sub-scanning direction; and A / A that converts two or more lines of analog image data sequentially output from two or more line sensors provided in the imaging unit.
A digital image data obtained by D-conversion, and an image data maximum value detecting means for obtaining a maximum value of digital line image data in the entire series. The illumination means sequentially emits one or more colors at each preset initial exposure time, and the imaging means receives reflected light of a reference white plate provided on the sub-scanning stage or light transmitted through a transparent window. , 2
Outputting image data indicating the light receiving intensity of each of the pixels of the one or more line sensors, and wherein the image data maximum value searching means obtains a white balance based on the maximum value of each color of the digital pixel data. A storage medium for storing a control procedure of a characteristic image reading apparatus.
【請求項6】 請求項5記載の画像読取装置の制御手順
を記憶する記憶媒体において、 前記制御手順は、 前記ホワイトバランス検出手段が、前記A/D変換出力
のフルレンジを前記ディジタル画像データ最大値で除算
し、除算して得た値を前記初期露光時間に乗算して、ホ
ワイトバランスを得るための露光時間を決定することを
特徴とする画像読取装置の制御手順を記憶する記憶媒
体。
6. The storage medium for storing a control procedure of the image reading apparatus according to claim 5, wherein the control procedure is such that the white balance detection means sets a full range of the A / D conversion output to a maximum value of the digital image data. A storage medium for storing a control procedure of the image reading apparatus, wherein the initial exposure time is multiplied by a value obtained by the division to determine an exposure time for obtaining white balance.
【請求項7】 請求項6記載の画像読取装置の制御手順
を記憶する記憶媒体において、 前記制御手順は、 2以上のラインセンサの各画素のシェーディング補正係
数Snm(nはラインセンサ番号、mは画素番号、共に
正の整数)を、前記ホワイトバランスを得るための露光
時間でA/D変換出力のフルレンジを除算して得ること
を特徴とする画像読取装置の制御手順を記憶する記憶媒
体。
7. A storage medium for storing a control procedure of the image reading apparatus according to claim 6, wherein the control procedure comprises: a shading correction coefficient Snm (n is a line sensor number, m is a line sensor number) of each pixel of two or more line sensors. A pixel number (both positive integers) obtained by dividing the full range of the A / D conversion output by the exposure time for obtaining the white balance.
【請求項8】 請求項7記載の画像読取装置の制御手順
を記憶する記憶媒体において、 前記制御手順は、 2以上のラインセンサの各画素のシェーディング補正係
数Snm(nはラインセンサ番号、mは画素番号、共に
正の整数)を全ライン中の最大値で除算して得、このシ
ェーデング補正係数は、各色毎に算出させることを特徴
とする画像読取装置の制御手順を記憶する記憶媒体。
8. A storage medium for storing a control procedure of the image reading apparatus according to claim 7, wherein the control procedure includes a shading correction coefficient Snm (n is a line sensor number, m is a pixel number) of each pixel of two or more line sensors. A storage medium for storing a control procedure of the image reading apparatus, wherein a pixel number (both a positive integer) is obtained by dividing the maximum value of all lines by a maximum value, and the shading correction coefficient is calculated for each color.
JP2000366625A 2000-07-24 2000-12-01 Image reader and storage medium with controlling procedure stored thereon Pending JP2002171388A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2000366625A JP2002171388A (en) 2000-12-01 2000-12-01 Image reader and storage medium with controlling procedure stored thereon
US09/990,296 US7023591B2 (en) 2000-07-24 2001-11-23 Image scanning apparatus, storage medium for storing controlling procedure of image scanning apparatus, and control program for image scanning apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000366625A JP2002171388A (en) 2000-12-01 2000-12-01 Image reader and storage medium with controlling procedure stored thereon

Publications (1)

Publication Number Publication Date
JP2002171388A true JP2002171388A (en) 2002-06-14

Family

ID=18837216

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000366625A Pending JP2002171388A (en) 2000-07-24 2000-12-01 Image reader and storage medium with controlling procedure stored thereon

Country Status (1)

Country Link
JP (1) JP2002171388A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006038553A (en) * 2004-07-26 2006-02-09 Olympus Corp Imaging apparatus and imaging method
US7476847B2 (en) 2004-07-29 2009-01-13 Canon Components, Inc. Adaptive image reading apparatus and control method of the apparatus
CN100566368C (en) * 2004-07-29 2009-12-02 佳能组件股份有限公司 Image read-out and image reading method
US8902468B2 (en) 2012-03-29 2014-12-02 Fujitsu Limited Image correction device and method, and image reading apparatus
US10469713B2 (en) 2016-07-14 2019-11-05 Hp Printing Korea Co., Ltd. Image forming apparatus and control method of thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006038553A (en) * 2004-07-26 2006-02-09 Olympus Corp Imaging apparatus and imaging method
JP4603306B2 (en) * 2004-07-26 2010-12-22 オリンパス株式会社 Imaging apparatus and imaging method
US7476847B2 (en) 2004-07-29 2009-01-13 Canon Components, Inc. Adaptive image reading apparatus and control method of the apparatus
CN100566368C (en) * 2004-07-29 2009-12-02 佳能组件股份有限公司 Image read-out and image reading method
US8902468B2 (en) 2012-03-29 2014-12-02 Fujitsu Limited Image correction device and method, and image reading apparatus
US10469713B2 (en) 2016-07-14 2019-11-05 Hp Printing Korea Co., Ltd. Image forming apparatus and control method of thereof

Similar Documents

Publication Publication Date Title
JP2001169050A (en) Photosensor array having many different sensor areas
US5764285A (en) Imaging apparatus having area sensor and line sensor
JP4250000B2 (en) Image reading apparatus and image reading method
US7023591B2 (en) Image scanning apparatus, storage medium for storing controlling procedure of image scanning apparatus, and control program for image scanning apparatus
US7929806B2 (en) Image reading apparatus and image reading method
JPH05137000A (en) Picture reader
JP2002171388A (en) Image reader and storage medium with controlling procedure stored thereon
CN1384658A (en) Photosensitive sensor unit for image scanner to improve its spectral accuracy and raise bit depth
JP2003143421A (en) Image processing device and method therefor
JPH117523A (en) Image reader
JP2001197255A (en) Image reader and image reading method using the device
JP2002111969A (en) Image read device, image read system and storage medium storing control procedure for the image read device
JPH08289144A (en) Video scanner device
JPH10215381A (en) Image reader
US20020001031A1 (en) Color image pickup element, image reader using the pickup element, and image reading method
JPH1032722A (en) Picture reader
JPH08194813A (en) Picture reading system
JPH06225316A (en) Color photoelectric conversion device
JPH0534867B2 (en)
US20020021357A1 (en) Image scanning apparatus, storage medium for storing controlling procedure of image scanning apparatus, and control program for image scanning apparatus
JPS58173962A (en) Reader of color original
JP3035007B2 (en) Image reading device
JPH05110881A (en) Color reader
JP2003046719A (en) Contact image sensor
JPH0686082A (en) Image reader