JPH05227428A - Picture reader - Google Patents

Picture reader

Info

Publication number
JPH05227428A
JPH05227428A JP4023769A JP2376992A JPH05227428A JP H05227428 A JPH05227428 A JP H05227428A JP 4023769 A JP4023769 A JP 4023769A JP 2376992 A JP2376992 A JP 2376992A JP H05227428 A JPH05227428 A JP H05227428A
Authority
JP
Japan
Prior art keywords
main scanning
shading correction
light amount
sub
scanning direction
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
JP4023769A
Other languages
Japanese (ja)
Inventor
Keiji Tsutaoka
圭二 蔦岡
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP4023769A priority Critical patent/JPH05227428A/en
Publication of JPH05227428A publication Critical patent/JPH05227428A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To execute more appropriate shading correction without reducing reducing the number of gradation in an output picture. CONSTITUTION:A light quantity distribution curve on a line passing a maximum light quantity point and a light quantity distribution curve with a smaller curvature out of the light quantity distribution curves on lines B and C are approximated by secondary curves. All values on the secondary curves are geometrically magnified so that a peak value on the secondary curves obtained by approximation becomes a prescribed value. The values of corresponding points on the two secondary curves obtained by geometric magnification are averaged and shading correction data in the direction of main scan is calculated. Shading correction in the direction of main scan is executed based on shading correction data in the direction of main scan for detected light quantity. The respective values of the secondary curves are geometrically magnified so that the peak value on the secondary curves passing through the respective intermediate values of light quantity on the corrected lines A, B and C and shading correction data in the direction of auxiliary scan is calculated.

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 device.

【0002】[0002]

【従来の技術】画像読み取り装置は、照明用ランプによ
り画像、例えば、マイクロフィルムを照明し、マイクロ
フィルムからの透過光を投影レンズ、ミラーによりスク
リーンに導き、スクリーン上に画像を投影するようにな
っており、マイクロフィルムの画像情報はイメージセン
サにより読み取られるようになっている。
2. Description of the Related Art An image reading apparatus illuminates an image, for example, a microfilm with an illumination lamp, guides transmitted light from the microfilm to a screen with a projection lens and a mirror, and projects the image on the screen. The image information on the microfilm is read by an image sensor.

【0003】また、投影結像面には、照明用ランプの配
光特性や、投影レンズの透過特性等の影響で主走査方向
および副走査方向の両方向にシェーディングが存在する
ので、両方向のシェーディング補正が行われている。こ
こで、主走査方向とは投影結像面に対しイメージセンサ
チップの配列方向であり、副走査方向とはイメージセン
サがスキャンのため移動する方向である。
Further, since shading exists in both the main scanning direction and the sub-scanning direction on the projection image plane due to the light distribution characteristics of the illumination lamp, the transmission characteristics of the projection lens, etc., shading correction in both directions is performed. Is being done. Here, the main scanning direction is the arrangement direction of the image sensor chips with respect to the projection image plane, and the sub-scanning direction is the direction in which the image sensor moves for scanning.

【0004】図16は従来のシェーディング補正回路の
一例を示す。これはイメージセンサ301により読み取
られた画像データの画素の位置に合わせてシェーディン
グ補正を行う例である。
FIG. 16 shows an example of a conventional shading correction circuit. This is an example in which the shading correction is performed according to the position of the pixel of the image data read by the image sensor 301.

【0005】まず、切り換え回路319をメモリ317
側に切り換え、投影結像面に被写体の画像情報がない状
態で、投影結像面をイメージセンサ301により走査
し、投影結像面の全画素の照度データをシェーディング
補正データとしてメモリ317に記憶する。
First, the switching circuit 319 is loaded into the memory 317.
The image sensor 301 scans the projection image formation surface in a state where there is no image information of the subject on the projection image formation surface, and the illuminance data of all pixels on the projection image formation surface is stored in the memory 317 as shading correction data. ..

【0006】ついで、切り換え回路319を面補正回路
318側に切り換える。イメージセンサ301からの画
像データは、主走査方向カウンタ308および副走査方
向カウンタ309により、投影結像面での主走査位置お
よび副走査位置が管理される。主走査方向カウンタ30
8および副走査方向カウンタ309の値により、メモリ
317から投影結像面の全画素に対応するシェーディン
グ補正データが出力され、メモリ317からのシェーデ
ィング補正データに基づき、面補正回路318により、
イメージセンサ301からの画像データがシェーディン
グ補正される。面補正回路318の出力は画像処理回路
310に出力され、処理された画像データは出力回路3
11から出力される。
Then, the switching circuit 319 is switched to the surface correction circuit 318 side. With respect to the image data from the image sensor 301, the main scanning direction counter 308 and the sub scanning direction counter 309 manage the main scanning position and the sub scanning position on the projection image plane. Main scanning direction counter 30
8 and the value of the sub-scanning direction counter 309, the shading correction data corresponding to all the pixels of the projection image plane is output from the memory 317, and based on the shading correction data from the memory 317, the surface correction circuit 318
Shading correction is performed on the image data from the image sensor 301. The output of the surface correction circuit 318 is output to the image processing circuit 310, and the processed image data is output by the output circuit 3.
It is output from 11.

【0007】図17は従来画像読み取り装置の他の例を
示す。これはイメージセンサ301により読み取られた
画像データの画素の位置に合わせて両走査方向のシェー
ディング補正データの積に基づきシェーディング補正を
行う例である。
FIG. 17 shows another example of the conventional image reading apparatus. This is an example in which shading correction is performed based on the product of shading correction data in both scanning directions in accordance with the pixel position of the image data read by the image sensor 301.

【0008】まず、切り換え回路312をメモリ302
側に切り換え、投影結像面に被写体の画像情報がない状
態で、投影結像面をイメージセンサ301により走査
し、主走査方向1ライン分の照度データを、投影結像面
の主走査シェーディング補正データとしてメモリ302
に記憶する。ついで、切り換え回路312を主走査方向
補正回路303側に切り換えるとともに、切り換え回路
313をメモリ304側に切り換え、投影結像面に被写
体の画像情報がない状態で、投影結像面をイメージセン
サ301により副走査方向に走査し、副走査方向1ライ
ン分の照度データを、投影結像面の副走査シェーディン
グ補正データとしてメモリ304に記憶する。
First, the switching circuit 312 is loaded into the memory 302.
The image sensor 301 scans the projection image forming surface in a state where there is no image information of the subject on the projection image forming surface, and the illuminance data for one line in the main scanning direction is corrected by the main scanning shading correction of the projection image forming surface. Memory 302 as data
Remember. Then, the switching circuit 312 is switched to the main scanning direction correction circuit 303 side and the switching circuit 313 is switched to the memory 304 side, and the projection image formation surface is detected by the image sensor 301 in a state where there is no image information of the subject on the projection image formation surface. Scanning is performed in the sub-scanning direction, and the illuminance data for one line in the sub-scanning direction is stored in the memory 304 as sub-scanning shading correction data for the projection image plane.

【0009】投影結像面の主、副走査シェーディング補
正データがそれぞれメモリ302,304に記憶される
と、切り換え回路313のみを副走査方向補正回路30
5側に切り換える。
When the main and sub-scanning shading correction data of the projection image plane are stored in the memories 302 and 304, respectively, only the switching circuit 313 is operated in the sub-scanning direction correction circuit 30.
Switch to side 5.

【0010】イメージセンサ301からの画像データ
は、主走査方向カウンタ308および副走査方向カウン
タ309により、投影結像面での主走査位置および副走
査位置が管理される。まず、主走査方向カウンタ308
の値により、メモリ302から投影結像面の主走査方向
の位置に対応したシェーディング補正データが出力さ
れ、メモリ302からのシェーディング補正データに基
づき、主走査方向補正回路303により、イメージセン
サ301からの画像データに対して主走査方向のシェー
ディング補正が行われる。主走査方向補正回路303か
らの出力は副走査方向補正回路305に出力される。
With respect to the image data from the image sensor 301, the main scanning direction counter 308 and the sub scanning direction counter 309 manage the main scanning position and the sub scanning position on the projection image plane. First, the main scanning direction counter 308
Depending on the value of, the shading correction data corresponding to the position of the projection image forming surface in the main scanning direction is output from the memory 302, and based on the shading correction data from the memory 302, the main scanning direction correction circuit 303 outputs the shading correction data from the image sensor 301. Shading correction in the main scanning direction is performed on the image data. The output from the main scanning direction correction circuit 303 is output to the sub scanning direction correction circuit 305.

【0011】ついで、副走査方向カウンタ309の値に
より、メモリ304から投影結像面の副走査方向の位置
に対応したシェーディング補正データが出力され、メモ
リ304からのシェーディング補正データに基づき、副
走査方向補正回路305により、イメージセンサ301
からの画像データに対して副走査方向のシェーディング
補正が行われる。
Then, based on the value of the sub-scanning direction counter 309, shading correction data corresponding to the position of the projection image plane in the sub-scanning direction is output from the memory 304, and based on the shading correction data from the memory 304, the sub-scanning direction. By the correction circuit 305, the image sensor 301
The shading correction in the sub-scanning direction is performed on the image data from.

【0012】副走査方向補正回路305の出力は画像処
理回路310に出力され、処理された画像データは出力
回路311から出力される。
The output of the sub-scanning direction correction circuit 305 is output to the image processing circuit 310, and the processed image data is output from the output circuit 311.

【0013】[0013]

【発明が解決しようとする課題】しかしながら、上記従
来例では、光路上にごみ等があるとごみの影響が投影結
像面に現れ、光量分布が変動するので、シェーディング
補正は正確でなかった。このような問題点を解決する方
法としては、シェーディング補正データを取り込む際
に、対象となる画素の周囲の画素データを用いて除去す
る方法、例えば、ローパスフィルタを用いて除去する方
法が知られているが、ごみ等の影響は様々なのでごみ等
の影響を完全に除去できない場合があった。
However, in the above-mentioned conventional example, when dust or the like exists on the optical path, the influence of the dust appears on the projection image forming plane and the light amount distribution fluctuates, so that the shading correction is not accurate. As a method of solving such a problem, a method of removing using shading correction data by using pixel data around a target pixel, for example, a method of removing using a low-pass filter is known. However, there are cases where it is not possible to completely eliminate the effects of dust, etc., because the effects of dust etc. are various.

【0014】また、投影結像面の光量を直接またはロー
パスフィルタを通して取り込み、シェーディング補正す
るので、シェーディング補正データのピーク値は、照射
用ランプによる投影結像面での照度に依存し、シェーデ
ィング補正データのピーク値は取り込んだ値以上に大き
くすることができないので、ピーク値をイメージセンサ
301が出力し得る上限値にするのは困難であった。
Further, since the light quantity on the projection image forming plane is taken in directly or through a low-pass filter to perform shading correction, the peak value of the shading correction data depends on the illuminance on the projection image forming plane by the irradiation lamp, and the shading correction data is obtained. It is difficult to set the peak value to the upper limit value that the image sensor 301 can output, because the peak value cannot be made larger than the fetched value.

【0015】一般に、シェーディング補正を、次の式
(1)に基づき行われるので、
Generally, since shading correction is performed based on the following equation (1),

【0016】[0016]

【数1】 補正後のデータ=(補正前のデータ/補正データ)×(2n −1) …(1) ただし、各データがnビットの場合である。## EQU00001 ## Data after correction = (data before correction / correction data) .times. ( 2.sup.n- 1) (1) where each data is n bits.

【0017】ピーク値が(2n −1)未満のシェーディ
ング補正データでシェーディング補正を行うと、投影結
像面に対応する全ての画素で読み取り得る入力画像デー
タの階調数が低下し、出力画像の階調数も低下すること
になる。
When the shading correction is performed with the shading correction data having a peak value of less than (2 n -1), the number of gradations of the input image data that can be read by all the pixels corresponding to the projection image plane is lowered, and the output image is reduced. The number of gray scales will also decrease.

【0018】さらに、従来の実施例のうち他の例で述べ
たものは求めたシェーディング補正データは投影結合面
の光量分布特性との相関関係が充分でないので、シェー
ディング補正データに基づきシェーディング補正を行っ
ても、シェーディングが最小になるとはかぎらなかっ
た。
Further, in the conventional examples described in other examples, the obtained shading correction data does not have a sufficient correlation with the light amount distribution characteristic of the projection coupling surface, so that the shading correction is performed based on the shading correction data. However, the shading was not always the minimum.

【0019】本発明の目的は、上記のような問題点を解
決し、出力画像の階調数を低下させることなく、より適
正なシェーディング補正を行うことができる画像読み取
り装置を提供することにある。
An object of the present invention is to solve the above problems and provide an image reading apparatus capable of performing more appropriate shading correction without reducing the number of gradations of an output image. ..

【0020】[0020]

【課題を解決するための手段】このような目的を達成す
るため、本発明は、投影結像面を副走査および主走査し
て該投影結像面上の光量を検出する光量検出手段と、該
光量検出手段により検出された光量分布に基づき面シェ
ーディング補正を行う面シェーディング補正手段を有す
る画像読み取り装置において、前記面シェーディング補
正手段は、主走査方向のラインのうち前記光量検出手段
により検出された最大光量点を通る第1ライン上の第1
光量分布曲線と、前記第1ラインに平行で前記投影結像
面の前端および後端に沿った第2,第3ライン上の光量
分布曲線のうち曲率が小さい方の第2光量分布曲線とを
それぞれ2次曲線近似する近似手段と、該近似手段によ
り近似して得られる2次曲線上のピーク値が所定値にな
るように前記2つの2次曲線上の全ての値を等比倍する
等比倍手段と、該等比倍手段により等比倍して得られる
2つの2次曲線上の対応する点の値どうしを平均して主
走査方向のシェーディング補正データを算出する主走査
補正データ算出手段と、該主走査補正データ算出手段に
より算出された主走査方向のシェーディング補正データ
に基づき前記光量検出手段により検出された光量に対し
主走査方向のシェーディング補正を行うシェーディング
補正手段と、該シェーディング補正手段により主走査方
向のシェーディングが補正された前記第1,第2,第3
ライン上のそれぞれの光量の最大値と最小値から求めた
中間値をそれぞれ通る2次曲線を決定する2次曲線決定
手段と、該2次曲線決定手段により決定された2次曲線
のピーク値が所定の値になるように各値を等比倍して副
走査方向のシェーディング補正データを算出する副走査
データ算出手段とを備えたことを特徴とする。
In order to achieve such an object, the present invention provides a light quantity detecting means for detecting the quantity of light on the projection image plane by sub-scanning and main scanning the projection image plane. In an image reading apparatus having surface shading correction means for performing surface shading correction based on the light quantity distribution detected by the light quantity detection means, the surface shading correction means is detected by the light quantity detection means in a line in the main scanning direction. The first on the first line passing through the maximum light intensity point
A light amount distribution curve and a second light amount distribution curve having a smaller curvature of the light amount distribution curves on the second and third lines which are parallel to the first line and along the front end and the rear end of the projection image formation surface. Approximating means for approximating each of the quadratic curves, and multiplying all the values on the two quadratic curves by equal ratio so that the peak values on the quadratic curves obtained by approximating by the approximating means become predetermined values. Main scanning correction data calculation for calculating shading correction data in the main scanning direction by averaging the values of corresponding points on two quadratic curves obtained by equal multiplication by the ratio multiplying means Means, shading correction means for performing shading correction in the main scanning direction on the light amount detected by the light amount detection means based on shading correction data in the main scanning direction calculated by the main scanning correction data calculation means, and the shading correction means. The shading in the main scanning direction is corrected by over loading correction means first, second, third
A quadratic curve determining means for determining a quadratic curve passing through an intermediate value obtained from the maximum value and the minimum value of the respective light amounts on the line, and a peak value of the quadratic curve determined by the quadratic curve determining means And a sub-scanning data calculation unit that calculates shading correction data in the sub-scanning direction by multiplying each value by a geometrical ratio so as to obtain a predetermined value.

【0021】また、本発明は、投影結像面に対して副走
査するとともに主走査して投影結像面の光量を検出する
光量検出手段と、該光量検出手段により検出された光量
分布に基づき面シェーディング補正を行う面シェーディ
ング補正手段を有する画像読み取り装置において、前記
面シェーディング補正手段は、前記光量検出手段により
検出された光量分布に対して主走査方向に1ラインごと
に2次曲線近似するとともに、副走査方向に1ラインご
とに2次曲線近似する近似手段と、該近似手段による近
似により得られた値のピーク値が所定値になるように全
近似値を等比倍する等比倍手段とを備えたことを特徴と
する。
Further, the present invention is based on a light amount detecting means for detecting the light amount of the projection image forming surface by sub-scanning and main scanning the projection image forming surface, and a light amount distribution detected by the light amount detecting means. In an image reading apparatus having surface shading correction means for performing surface shading correction, the surface shading correction means approximates a quadratic curve line by line in the main scanning direction with respect to the light quantity distribution detected by the light quantity detection means. Approximating means for approximating a quadratic curve line by line in the sub-scanning direction, and a geometric ratio multiplying means for equalizing all the approximate values so that the peak value of the values obtained by the approximation by the approximating means becomes a predetermined value. It is characterized by having and.

【0022】[0022]

【作用】本発明では、面シェーディング補正手段は、主
走査方向のラインのうち前記光量検出手段により検出さ
れた最大光量点を通る第1ライン上の第1光量分布曲線
と、前記第1ラインに平行で前記投影結像面の前端およ
び後端に沿った第2,第3ライン上の光量分布曲線のう
ち曲率が小さい方の第2光量分布曲線とを近似手段によ
りそれぞれ2次曲線近似し、近似手段により近似して得
られる2次曲線上のピーク値が所定値になるように前記
2つの2次曲線上の全ての値を等比倍手段により等比倍
し、等比倍手段により等比倍して得られる2つの2次曲
線上の対応する点の値どうしを主走査補正データ算出手
段により平均して主走査方向のシェーディング補正デー
タを算出し、主走査補正データ算出手段により算出され
た主走査方向のシェーディング補正データに基づき前記
光量検出手段により検出された光量に対しシェーディン
グ補正手段により主走査方向のシェーディング補正を行
い、シェーディング補正手段により主走査方向のシェー
ディングが補正された前記第1,第2,第3ライン上の
それぞれの光量の最大値と最小値から求めた中間値をそ
れぞれ通る2次曲線を2次曲線決定手段により決定し、
2次曲線決定手段により決定された2次曲線のピーク値
が所定の値になるように各値を副走査データ算出手段に
より等比倍して副走査方向のシェーディング補正データ
を算出する。
According to the present invention, the surface shading correction means includes the first light quantity distribution curve on the first line passing through the maximum light quantity point detected by the light quantity detecting means among the lines in the main scanning direction and the first line. A second light quantity distribution curve having a smaller curvature of the light quantity distribution curves on the second and third lines which are parallel and along the front end and the rear end of the projection imaging plane is approximated to a quadratic curve by approximation means, respectively. All the values on the two quadratic curves are equal-ratio scaled by an equal-ratio multiplier and equalized by a geometrical-ratio multiplier so that the peak value on the quadratic curve approximated by the approximating means becomes a predetermined value. The values of corresponding points on the two quadratic curves obtained by multiplication are averaged by the main scanning correction data calculating means to calculate shading correction data in the main scanning direction, and are calculated by the main scanning correction data calculating means. Main scanning direction The shading correction unit performs shading correction in the main scanning direction on the light amount detected by the light amount detection unit based on the shading correction data, and the shading correction unit corrects shading in the main scanning direction. A quadratic curve passing through an intermediate value obtained from the maximum value and the minimum value of the respective light amounts on the three lines is determined by the quadratic curve determining means,
The shading correction data in the sub-scanning direction is calculated by multiplying each value by the sub-scanning data calculating means so that the peak value of the quadratic curve determined by the quadratic curve determining means becomes a predetermined value.

【0023】また、本発明では、面シェーディング補正
手段は、光量検出手段により検出された光量分布に対し
て主走査方向に1ラインごとに近似手段により2次曲線
近似するとともに、副走査方向に1ラインごとに近似手
段により2次曲線近似し、近似手段による近似により得
られた値のピーク値が所定値になるように全近似値を等
比倍手段により等比倍する。
Further, according to the present invention, the surface shading correction means approximates the light quantity distribution detected by the light quantity detection means to the quadratic curve by the approximation means line by line in the main scanning direction and at the same time in the sub-scanning direction. For each line, a quadratic curve is approximated by the approximating means, and all the approximated values are scaled by the geometric scaling means so that the peak value of the values obtained by the approximating means becomes a predetermined value.

【0024】[0024]

【実施例】以下、本発明の実施例を図面を参照して詳細
に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0025】第1実施例 図1は本発明の第1実施例を示す。これはマイクロフィ
ルム読み取りシステムの例で、その外観を図2に示す。
First Embodiment FIG. 1 shows a first embodiment of the present invention. This is an example of a microfilm reading system, the appearance of which is shown in FIG.

【0026】本実施例のマイクロフィルム読み取りシス
テムはマイクロフィルムを読み取るリーダと、リーダを
操作するキーボード39と、リーダからの画像情報に基
づき画像を形成するプリンタ11とにより構成されてい
る。
The microfilm reading system of this embodiment comprises a reader for reading a microfilm, a keyboard 39 for operating the reader, and a printer 11 for forming an image based on image information from the reader.

【0027】図3は図2図示リーダの構成を示す。FIG. 3 shows the configuration of the reader shown in FIG.

【0028】図3において、32はキャリアで、マイク
ロフィルムを保持するものである。30は照明用ランプ
で、キャリア32により保持されたマイクロフィルムを
照射するものである。
In FIG. 3, reference numeral 32 denotes a carrier, which holds the microfilm. An illumination lamp 30 irradiates the microfilm held by the carrier 32.

【0029】33は投影レンズで、投影倍率を変化させ
ることができるようになっている。投影レンズ33は交
換レンズ(投影倍率が異なる)か、あるいはズームレン
ズである。34はプリズムで、縦置きまたは横置きされ
た画像を回転させるためのものである。プリズム34は
45度おきに回転可能であり、45度おきに回転させる
ことにより画像を90度ずつ回転させることができ、画
像情報に合わせた方向を選択することができる。37は
スクリーンで、その大きさは縦置き、横置きの状態で投
影できる大きさである。マイクロフィルムの画像情報は
縦書きまたは横書きであり、斜めに書かれているものは
極めて希であり、またキャリア32が回転可能であるの
で、プリズム34は45度おきに回転するように構成す
れば充分である。
A projection lens 33 can change the projection magnification. The projection lens 33 is an interchangeable lens (with different projection magnification) or a zoom lens. Reference numeral 34 is a prism for rotating an image placed vertically or horizontally. The prism 34 can be rotated every 45 degrees, and by rotating it every 45 degrees, the image can be rotated by 90 degrees, and the direction according to the image information can be selected. 37 is a screen, the size of which can be projected vertically or horizontally. The image information on the microfilm is written vertically or horizontally, and it is extremely rare that the information is written obliquely. Since the carrier 32 is rotatable, the prism 34 should be configured to rotate every 45 degrees. Is enough.

【0030】投影レンズ33、プリズム34,第1ミラ
ー35,第2ミラー36により光学系が構成され、この
光学系によりマイクロフィルムの透過光がスクリーン3
7に導かれ、スクリーン37に画像が拡大投射されてい
る。
An optical system is constituted by the projection lens 33, the prism 34, the first mirror 35, and the second mirror 36, and the transmitted light of the microfilm is transmitted to the screen 3 by this optical system.
7, the image is enlarged and projected on the screen 37.

【0031】1はイメージセンサで、増幅アンプおよび
A/D変換器を含み、キーボード39の操作により移動
された第2ミラー36に形成される投影結像面38を走
査して画像情報を読み取るものである。イメージセンサ
1はプリンタ11からの主走査同期信号に同期したスタ
ート信号により出力が開始され、駆動信号に同期して画
像信号が送り出されている。21は画像処理基板で、イ
メージセンサ1からの画像が処理されている。
An image sensor 1 includes an amplification amplifier and an A / D converter, and scans a projection image plane 38 formed on the second mirror 36 which is moved by operating a keyboard 39 to read image information. Is. Output of the image sensor 1 is started by a start signal synchronized with the main scanning synchronization signal from the printer 11, and the image signal is sent out in synchronization with the drive signal. Reference numeral 21 denotes an image processing board on which an image from the image sensor 1 is processed.

【0032】図1は図3図示画像処理基板21上のシェ
ーディング補正回路の構成を示す。図1において、1は
図2と同一部分を示し、11は図3と同一部分を示す。
2は主走査用メモリで、主走査方向のシェーディング補
正データを格納するためのものである。3は主走査方向
補正部で、主走査方向のシェーディング補正を行うもの
である。12は主走査用選択部で、イメージセンサ1か
らの画像信号を、シェーディングデータ取り込みモード
の場合は主走査用メモリ2に送り、実際にシェーディン
グ補正を行う場合は主走査方向補正部3に送るように、
送り先を選択するものである。8は主走査カウンタで、
イメージセンサ1からの画像情報の主走査方向位置を検
出するためのものである。主走査カウンタ8はスタート
信号によりカウント値がクリアされ、駆動信号によりカ
ウント動作が行われている。
FIG. 1 shows the configuration of a shading correction circuit on the image processing board 21 shown in FIG. In FIG. 1, 1 shows the same part as FIG. 2, and 11 shows the same part as FIG.
A main scanning memory 2 is for storing shading correction data in the main scanning direction. A main scanning direction correction unit 3 performs shading correction in the main scanning direction. A main scanning selection unit 12 sends the image signal from the image sensor 1 to the main scanning memory 2 in the shading data fetching mode, and to the main scanning direction correction unit 3 in the case of actually performing shading correction. To
The destination is selected. 8 is a main scanning counter,
This is for detecting the position of the image information from the image sensor 1 in the main scanning direction. The count value of the main scanning counter 8 is cleared by the start signal, and the count operation is performed by the drive signal.

【0033】4は副走査用メモリで、副走査方向のシェ
ーディング補正データを格納するためのものである。5
は副走査方向補正部で、副走査方向のシェーディング補
正を行うものである。13は副走査用選択部で、シェー
ディングデータ取り込みモードの場合は副走査用メモリ
4に送り、実際にシェーディング補正を行う場合は副走
査方向補正部5に送るように、送り先を選択するもので
ある。9は副走査カウンタで、副走査方向の位置を検出
するものである。副走査カウンタ9はイメージセンサ1
のホームポジションを検知するホームポジションセンサ
(図示しない)からの信号によりクリアされ、イメージ
センサ1を副走査方向に移動するステッピングモータ
(図示しない)を駆動する信号を、スタート信号と同期
させた信号によりカウント動作を行う。14はカウンタ
選択部で、副走査用メモリ4のアドレスを切り換える信
号を主走査カウンタ8の出力か、あるいは副走査カウン
タ9の出力のうちいずれか一方に切り換えるものであ
る。
Reference numeral 4 is a sub-scanning memory for storing shading correction data in the sub-scanning direction. 5
Is a sub-scanning direction correction unit that performs shading correction in the sub-scanning direction. A sub-scanning selection unit 13 selects a destination so that the sub-scanning data is sent to the sub-scanning memory 4 in the shading data acquisition mode, and to the sub-scanning direction correction unit 5 when the shading correction is actually performed. .. A sub-scanning counter 9 detects a position in the sub-scanning direction. The sub-scanning counter 9 is the image sensor 1
Is cleared by a signal from a home position sensor (not shown) that detects the home position of the device, and a signal that drives a stepping motor (not shown) that moves the image sensor 1 in the sub-scanning direction is synchronized with the start signal. Performs count operation. Reference numeral 14 denotes a counter selection unit for switching the signal for switching the address of the sub-scanning memory 4 to either the output of the main scanning counter 8 or the output of the sub-scanning counter 9.

【0034】10は画像処理部で、副走査方向補正部5
からの出力に各種の画像処理を行うものである。16は
スイッチで、シェーディング補正データを取り込むため
のものである。
An image processing unit 10 is a sub-scanning direction correction unit 5.
Various kinds of image processing are performed on the output from. Reference numeral 16 is a switch for taking in shading correction data.

【0035】15は制御・データ処理部で、図4に示す
ように、CPU151,ROM152,RAM153を
有し、データバスおよびアドレスバス(リード・ライト
等の制御信号を含む)が主走査用メモリ2,副走査用メ
モリ4,主走査用選択部12,副走査用選択部13,カ
ウンタ選択部14に接続されている。
As shown in FIG. 4, a control / data processing unit 15 has a CPU 151, a ROM 152, and a RAM 153, and a data bus and an address bus (including control signals for read / write, etc.) are used for the main scanning memory 2. , The sub-scanning memory 4, the main-scanning selection unit 12, the sub-scanning selection unit 13, and the counter selection unit 14.

【0036】CPU151はスイッチ16からの信号に
よりシェーディングデータの取り込みを行い、主走査用
メモリ2,副走査用メモリ4,主走査用選択部12,副
走査用選択部13,カウンタ選択部14を制御するもの
である。ROM152はシェーディング補正データ処理
用プログラムが格納されている。RAM153はCPU
151によるシェーディング補正データ処理作業のため
のものである。
The CPU 151 fetches the shading data by the signal from the switch 16 and controls the main scanning memory 2, the sub scanning memory 4, the main scanning selecting section 12, the sub scanning selecting section 13 and the counter selecting section 14. To do. The ROM 152 stores a shading correction data processing program. RAM153 is a CPU
151 for shading correction data processing work.

【0037】次に、シェーディング補正データを求める
際の動作を説明する。
Next, the operation for obtaining the shading correction data will be described.

【0038】ここで、画像信号およびシェーディング補
正データはn[bit]のデジタル信号であるとする。
Here, it is assumed that the image signal and the shading correction data are n [bit] digital signals.

【0039】投影レンズ33,プリズム34等をプリン
ト状態に設定した後、キャリア32上のマイクロフィル
ムを光路外に退避させる。このとき、光路内のごみ等は
できるだけ除外しておくのが望ましい。この状態で、シ
ェーディング補正データ取り込み用のスイッチ16を操
作する。照明用ランプ30の点灯電圧は、シェーディン
グ補正データの取り込みが終了するまでの間、投影結像
面38の光量分布の特徴が分かる範囲で、取り込むデー
タのピーク値が(2n −1)[DEC]を越えない範囲
で安定させておく。
After setting the projection lens 33, the prism 34, etc. in the print state, the microfilm on the carrier 32 is retracted out of the optical path. At this time, it is desirable to exclude dust and the like in the optical path as much as possible. In this state, the switch 16 for taking in the shading correction data is operated. The lighting voltage of the illumination lamp 30 has a peak value of (2 n −1) [DEC] until the characteristic of the light amount distribution of the projection image forming surface 38 can be understood until the shading correction data is captured. ] Stabilize within a range not exceeding.

【0040】まず、主走査補正データを求める際の動作
を説明する。
First, the operation for obtaining the main scanning correction data will be described.

【0041】投影結像面38において、副走査方向の光
量がピークを示す位置を求めるため、制御・データ処理
部15から全データが(2n −1)[DEC]よりなる
データを主走査用メモリ2に書き込み、主走査方向のシ
ェーディング補正が行えないようにしておく。また、副
走査用選択部13を切り換え、イメージセンサ1からの
データが副走査用メモリ4に出力されるようにし、さら
に、副走査用メモリ4が副走査カウンタ9の出力に従っ
て動作するようにする。
On the projection image plane 38, in order to find the position where the light amount in the sub-scanning direction shows a peak, the control / data processing unit 15 uses the data of (2 n -1) [DEC] for the main scanning. It is written in the memory 2 so that shading correction in the main scanning direction cannot be performed. Further, the sub-scanning selection unit 13 is switched so that the data from the image sensor 1 is output to the sub-scanning memory 4, and the sub-scanning memory 4 operates according to the output of the sub-scanning counter 9. ..

【0042】この状態で、投影結像面38の等光量線
は、図6に示すように、座標(x,y)=(α,β)を
中心とする同心楕円になっており、この楕円の長軸は副
走査方向に一致し、短軸は主走査方向に一致している。
光量分布の中心座標(α,β)やあるライン上の光量分
布曲線(以下、シェーディングカーブという)の大きさ
は、投影レンズ33の投影倍率を変更したり、プリズム
34を45度ずつ回転させた場合、変化することはあっ
ても、長軸および短軸が主走査方向または副走査方向に
一致する同心楕円であることには変わりはない。シェー
ディングカーブは長軸または短軸で最も緩く、長軸およ
び短軸から離れるに従って急になっている。
In this state, the iso-light amount line of the projection image plane 38 is a concentric ellipse centered on the coordinates (x, y) = (α, β) as shown in FIG. The long axis corresponds to the sub scanning direction, and the short axis corresponds to the main scanning direction.
The central coordinates (α, β) of the light amount distribution and the size of the light amount distribution curve (hereinafter referred to as a shading curve) on a certain line are set by changing the projection magnification of the projection lens 33 or rotating the prism 34 by 45 degrees. In this case, although it may change, it is still a concentric ellipse whose major axis and minor axis coincide with the main scanning direction or the sub scanning direction. The shading curve is the weakest on the major axis or the minor axis, and becomes steeper as it goes away from the major axis and the minor axis.

【0043】ついで、投影結像面38をイメージセンサ
1により走査する。投影結像面38上の副走査方向の任
意のライン、例えば、投影結像面38の中心を通るライ
ンをラインD(図5参照)とし、ラインD上での光量分
布のデータを副走査用メモリ4に取り込む。そして、光
量分布データによりなるシェーディングカーブを制御・
データ処理部15により2次曲線近似し、ピーク光量に
対応するラインD上のy座標(y=β)を求め、外部記
憶装置に記憶する。前述のように、投影結像面38の光
量分布は、長軸および短軸が主走査方向または副走査方
向に一致する同心楕円なので、全ての副走査方向のライ
ンのピーク位置のy座標は等しい。y=βを通る主走査
方向のライン(以下、ラインAという)に対応するシェ
ーディングカーブは最も緩くなっている。
Then, the projection image plane 38 is scanned by the image sensor 1. An arbitrary line in the sub-scanning direction on the projection image plane 38, for example, a line passing through the center of the projection image plane 38 is defined as a line D (see FIG. 5), and the data of the light amount distribution on the line D is used for the sub scan. Capture in memory 4. Then, control the shading curve consisting of the light intensity distribution data.
The data processing unit 15 approximates a quadratic curve to obtain the y coordinate (y = β) on the line D corresponding to the peak light amount, and stores it in the external storage device. As described above, the light amount distribution on the projection image plane 38 is a concentric ellipse whose major axis and minor axis coincide with the main scanning direction or the sub scanning direction, so that the y coordinates of the peak positions of all the lines in the sub scanning direction are equal. .. The shading curve corresponding to the line in the main scanning direction that passes y = β (hereinafter referred to as line A) is the gentlest.

【0044】つぎに、主走査用選択部12を切り換え、
イメージセンサ1からのデータが主走査用メモリ2に送
られるようにし、投影結像面38をイメージセンサ1に
より走査し、投影結像面38の走査開始端(以下、ライ
ンBという)、ラインA、および終了端(以下、ライン
Cという)の1ライン分の光量分布のデータを主走査用
メモリ2に取り込む。ここで、主走査用メモリ2は上位
2ビットが制御・データ処理部15により切り換えられ
るRAMであり、データを取り込むラインの位置に合わ
せてアドレス領域が切り換えられるようになっている。
なお、制御・データ処理部15により切り換えられる各
領域は、イメージセンサ1の1ライン分のデータを格納
するに充分な容量が確保されている。
Next, the main scanning selection unit 12 is switched,
Data from the image sensor 1 is sent to the main scanning memory 2, the projection image plane 38 is scanned by the image sensor 1, and the scanning start end (hereinafter referred to as line B) of the projection image plane 38, line A , And the data of the light amount distribution for one line at the end end (hereinafter, referred to as line C) are loaded into the main scanning memory 2. Here, the main scanning memory 2 is a RAM whose upper 2 bits are switched by the control / data processing unit 15, and the address area is switched according to the position of the line for fetching data.
Each area switched by the control / data processing unit 15 has a sufficient capacity to store one line of data of the image sensor 1.

【0045】得られたラインA,B,Cでの光量分布の
一例を図7に示す。図7から分かるように、ラインAの
シェーディングカーブが最も緩く、ラインBまたはライ
ンCのうちいずれかのシェーディングカーブが最も急に
なっている。
FIG. 7 shows an example of the light amount distributions on the obtained lines A, B and C. As can be seen from FIG. 7, the shading curve of line A is the gentlest, and the shading curve of either line B or line C is the steepest.

【0046】そして、各ラインでのデータの取り込みが
終了すると、主走査用選択部12を切り換えて、主走査
方向補正部3にデータが出力されるようにする。また、
主走査用メモリ2に取り込まれたデータに対し、制御・
データ処理部15により各ラインごとに次のように処理
する。
When the data acquisition in each line is completed, the main scanning selection unit 12 is switched so that the data is output to the main scanning direction correction unit 3. Also,
Controls the data captured in the main scanning memory 2
The data processing unit 15 processes each line as follows.

【0047】(1)ラインA,B,Cに対応するシェー
ディングカーブを2次曲線近似する。ここで、図7に示
す2次近似されたラインA,B,Cを次式(2)〜
(4)のように定義する。
(1) The shading curve corresponding to the lines A, B and C is approximated by a quadratic curve. Here, the second-order approximated lines A, B, and C shown in FIG.
Define as in (4).

【0048】[0048]

【数2】 ラインA:zA =AA12 +BA1x+CA1 =AA2(x−α)2 +γA …(2) ラインB:zB =AB12 +BB1x+CB1 =AB2(x−α)2 +γB …(3) ラインC:zC =AC12 +BC1x+CC1 =AC2(x−α)2 +γC …(4) (2)2次曲線近似により得られた光量分布データに対
してピーク値が(2n −1)[DEC]になるように全
体を等比倍し、得られた2次曲線上の各値を主走査用メ
モリ2の元の領域に書き込む。等比倍して得られた曲線
の2次近似式を次式(5)〜(7)のように定義する。
## EQU00002 ## Line A: z A = A A1 x 2 + B A1 x + C A1 = A A2 (x-α) 2 + γ A (2) Line B: z B = A B1 x 2 + B B1 x + C B1 = A B2 (X-α) 2 + γ B (3) Line C: z C = A C1 x 2 + B C1 x + C C1 = A C2 (x-α) 2 + γ C (4) (2) Obtained by quadratic curve approximation The obtained light amount distribution data is multiplied by an equal ratio so that the peak value becomes (2 n −1) [DEC], and each value on the quadratic curve obtained is stored in the original memory 2 for main scanning. Write in the area. The quadratic approximation formula of the curve obtained by multiplying the geometric ratio is defined as the following formulas (5) to (7).

【0049】[0049]

【数3】 ラインA:zA(P=limit)=AA3(x−α)2 +(2n −1) …(5) ラインB:zB(P=limit)=AB3(x−α)2 +(2n −1) …(6) ラインC:zC(P=limit)=AC3(x−α)2 +(2n −1) …(7) (3)ラインBとラインCのうちいずれのラインのシェ
ーディングカーブの方が急かを判定するため、イメージ
センサ1の同一ビットに対応するラインBとラインCの
光量分布データ(主走査用メモリ2に記憶されている)
を制御・データ処理部15により比較し、値の小さい方
のラインの方をシェーディングカーブが急なラインとす
る。すなわち、式(6)のAB3の絶対値と式(7)のA
C3の絶対値どうしを比較し、絶対値の大きい方をシェー
ディングカーブが急なラインとする。選択されたライン
をラインBCとし(図8参照)、選択されたラインBC
の2次項係数をABC3 とする。
## EQU00003 ## Line A: z A (P = limit) = A A3 (x−α) 2 + (2 n −1) (5) Line B: z B (P = limit) = A B3 (x− α) 2 + (2 n -1) (6) Line C: z C (P = limit) = A C3 (x-α) 2 + (2 n -1) (7) (3) Line B and In order to determine which of the lines C has a steeper shading curve, the light amount distribution data of the lines B and C corresponding to the same bit of the image sensor 1 (stored in the main scanning memory 2).
Are compared by the control / data processing unit 15, and the line having the smaller value is determined as the line having a sharp shading curve. That is, the absolute value of A B3 in equation (6) and A in equation (7)
The absolute values of C3 are compared, and the one with the larger absolute value is used as the sharp shading curve. The selected line is set as the line BC (see FIG. 8), and the selected line BC
Let the quadratic term coefficient of A BC3 .

【0050】ついで、主走査補正データを求めるために
ラインAの2次項係数AA3とラインBCの2次項係数A
BC3 を用い、主走査補正データを次のように定義する。
Then, in order to obtain the main scanning correction data, the quadratic term coefficient A A3 of the line A and the quadratic term coefficient A of the line BC are obtained.
The main scanning correction data is defined as follows using BC3 .

【0051】[0051]

【数4】 主走査補正データ:zH =HSH(x−α)2 +(2n −1) …(8) ここで、主走査方向補正データの2次項係数HSHEquation 4] main scanning correction data: the z H = H SH (x- α) 2 + (2 n -1) ... (8) where the second order term coefficient H SH in the main scanning direction corrected data

【0052】[0052]

【数5】 HSH=(AA3+ABC3 )/2 …(9) とする。[Formula 5] H SH = (A A3 + A BC3 ) / 2 (9)

【0053】(4)主走査補正データを求めた後、ライ
ンAとラインBCに対し、イメージセンサ1の同一ビッ
トに対応するデータどうしの平均値を求め、(図9参
照)求められた平均値を主走査シェーディング補正デー
タとして主走査用メモリ2の実際に補正を行うときに選
択される領域に書き込む。
(4) After obtaining the main scanning correction data, the average value of the data corresponding to the same bit of the image sensor 1 is obtained for the line A and the line BC (see FIG. 9). Is written as main scanning shading correction data in an area of the main scanning memory 2 that is selected when actual correction is performed.

【0054】ついで、求めた主走査補正データに基づき
投影結像面38の光量分布に主走査シェーディング補正
を行い、主走査方向シェーディング補正を行った各ライ
ンとその係数の頭文字を”H”とする。
Next, main scanning shading correction is performed on the light amount distribution of the projection image plane 38 based on the obtained main scanning correction data, and each line for which the main scanning direction shading correction has been performed and the initials of its coefficient are indicated by "H". To do.

【0055】主走査方向シェーディング補正後のライン
A,B,Cのシェーディングカーブは、
The shading curves of the lines A, B and C after shading correction in the main scanning direction are

【0056】[0056]

【数6】 ラインA:HzA =HAA12 +HBA1x+HCA1 =HAA2(x−α)2 +HγA …(10) ラインB:HzB =HAB12 +HBB1x+HCB1 =HAB2(x−α)2 +HγB …(11) ラインC:HzC =HAC12 +HBC1x+HCC1 =HAC2(x−α)2 +HγC …(12) と表され、ピーク値が(2n −1)[DEC]になるよ
うに全体が等比倍されたラインA,B,Cのシェーディ
ングカーブは、
[Formula 6] Line A: Hz A = HA A1 x 2 + HB A1 x + HC A1 = HA A2 (x-α) 2 + Hγ A (10) Line B: Hz B = HA B1 x 2 + HB B1 x + HC B1 = HA B2 (X-α) 2 + Hγ B (11) Line C: Hz C = HA C1 x 2 + HB C1 x + HC C1 = HA C2 (x-α) 2 + Hγ C (12) The peak value is (2). The shading curves of the lines A, B, and C, which are all scaled so as to be n −1) [DEC], are

【0057】[0057]

【数7】 ラインA:HzA(P=limit)=HAA3(x−α)2 +(2n −1) …(13) ラインB:HzB(P=limit)=HAB3(x−α)2 +(2n −1) …(14) ラインC:HzC(P=limit)=HAC3(x−α)2 +(2n −1) …(15) と表される。Equation 7] Line A: Hz A (P = limit ) = HA A3 (x-α) 2 + (2 n -1) ... (13) Line B: Hz B (P = limit ) = HA B3 (x- α) 2 + (2 n −1) (14) Line C: Hz C (P = limit) = HA C3 (x−α) 2 + (2 n −1) (15)

【0058】ラインBC(P=limit)の2次項係
数をHABC3 とすると、ラインA(P=limit)の
2次項係数HA3 との間には、
If the quadratic term coefficient of line BC (P = limit) is HA BC3 , the quadratic term coefficient of line A (P = limit) HA 3 is:

【0059】[0059]

【数8】 HA3 =−HABC3 …(16) という関係が成り立つ。これは、主走査シェーディング
補正を行ったとき、ラインAのシェーディングカーブに
上記(1),(2)の処理を行ったときの最大値MAX
と最小値MINとの差が、ラインBCのシェーディング
カーブに上記(1),(2)の処理を行ったときの最大
値MAXと最小値MINとの差に等しいことを表してい
る(図10参照)。
[Formula 8] HA 3 = -HA BC3 (16). This is the maximum value MAX when the above-mentioned processes (1) and (2) are applied to the shading curve of the line A when the main scanning shading correction is performed.
Represents that the difference between the minimum value MIN and the minimum value MIN is equal to the difference between the maximum value MAX and the minimum value MIN when the shading curve of the line BC is subjected to the processes (1) and (2) (FIG. 10). reference).

【0060】つぎに、副走査補正データを求める際の動
作を説明する。
Next, the operation for obtaining the sub-scanning correction data will be described.

【0061】主走査補正データを求めた後、光学系の設
定を保持したまま、副走査用選択部13を切り換え、副
走査用メモリ4にデータが出力されるようにし、主走査
用メモリ2が主走査カウンタ8の出力に従って動作する
ようにする。このとき、副走査用メモリ4のアドレスは
その上位2ビットが制御・データ処理部15により制御
され、その他のビットが主走査カウンタ8により制御さ
れる。
After obtaining the main-scanning correction data, the sub-scanning selection section 13 is switched so that the data is output to the sub-scanning memory 4 while maintaining the setting of the optical system. It operates according to the output of the main scanning counter 8. At this time, the address of the sub-scanning memory 4 has its upper 2 bits controlled by the control / data processing unit 15 and the other bits controlled by the main scanning counter 8.

【0062】この状態で、投影結像面38を再度イメー
ジセンサ1により走査する。投影結像面38の光量分布
データに対し、主走査用メモリ2に記憶されている主走
査補正データに基づき、主走査方向補正部3により主走
査方向のシェーディング補正が行われ、主走査方向シェ
ーディング補正されたラインA,B,C上の光量分布デ
ータが副走査用メモリ4に記憶される。このとき、制御
・データ処理部15により、ラインの位置に合わせて副
走査用メモリ4のアドレス領域が切り換えられる。な
お、副走査用メモリ4が制御・データ処理部15により
選択される各領域は、主走査ラインのデータであって
も、副走査1ラインのデータであっても記憶し得る容量
が確保されているものとする。
In this state, the projection image plane 38 is scanned again by the image sensor 1. The light amount distribution data of the projection image plane 38 is subjected to shading correction in the main scanning direction by the main scanning direction correction unit 3 based on the main scanning correction data stored in the main scanning memory 2, and the main scanning direction shading is performed. The corrected light amount distribution data on the lines A, B, and C is stored in the sub-scanning memory 4. At this time, the control / data processing unit 15 switches the address area of the sub-scanning memory 4 in accordance with the position of the line. Each area selected by the control / data processing unit 15 in the sub-scanning memory 4 has a sufficient storage capacity for both main scanning line data and sub-scanning one line data. Be present.

【0063】そして、主走査方向シェーディング補正さ
れたラインA,B,C上の光量分布データの副走査用メ
モリ4への取り込みが終わると、主走査方向補正部3の
出力が副走査方向補正部5に送られるように副走査用選
択部13が切り換えられる。ついで、副走査用メモリ4
に取り込まれた光量分布データに対し、制御・データ処
理部15により各ラインごとに次のように処理する。
After the main scanning direction shading-corrected light amount distribution data on the lines A, B, and C has been taken into the sub-scanning memory 4, the output of the main scanning direction correction unit 3 is changed to the sub-scanning direction correction unit. The sub-scanning selection unit 13 is switched so as to be sent to No. 5. Next, sub-scanning memory 4
The control / data processing unit 15 processes the light amount distribution data taken in by each line as follows.

【0064】主走査方向シェーディング補正されたライ
ンA,B,C上の光量分布データに対して2次曲線近似
を行い、得られた2次曲線上の各値を副走査用メモリ4
の元の領域に上書きする(図11参照)。
A quadratic curve is approximated to the light amount distribution data on the lines A, B, and C that have undergone shading correction in the main scanning direction, and each value on the quadratic curve obtained is sub-scanned by the memory 4 for sub-scanning.
The original area is overwritten (see FIG. 11).

【0065】(5)これら光量分布データの最大値MA
Xと最小値MINからラインA,B,Cごとに中間値M
IDを求める。
(5) The maximum value MA of these light amount distribution data
Intermediate value M for each line A, B, C from X and minimum value MIN
Ask for an ID.

【0066】(6)ラインAに対する中間値MIDをピ
ークとしてラインBおよびラインCに対する中間値MI
Dを通る2次曲線を求める(図12参照)。求めた2次
曲線を次式のように定義する。
(6) Intermediate value MI for line B and line C with the intermediate value MID for line A as a peak
A quadratic curve passing through D is obtained (see FIG. 12). The obtained quadratic curve is defined by the following equation.

【0067】[0067]

【数9】 zV =AV12 +BV1x+CV1=AV2(y−β)2 +δ …(17) (7)求めた2次曲線に対してピーク値が(2n −1)
[DEC]になるように全体を等比倍し、得られた2次
曲線を副走査補正データとする(図13参照)。
Z V = A V1 x 2 + B V1 x + C V1 = A V2 (y-β) 2 + δ (17) (7) The peak value is (2 n -1) for the obtained quadratic curve.
The whole is multiplied by the same ratio so as to become [DEC], and the obtained quadratic curve is used as the sub-scanning correction data (see FIG. 13).

【0068】[0068]

【数10】 副走査補正データ:zv =Av3(y−β)2 +(2n −1) …(18) そして、このデータを副走査用メモリ4内の実際に補正
する際に選択される領域に書き込み、両走査方向のシェ
ーディング補正データの作成を終了する。
Sub-scanning correction data: z v = A v3 (y-β) 2 + (2 n -1) (18) Then, this data is selected when actually correcting in the sub-scanning memory 4. The data is written in the area to be written, and the creation of shading correction data in both scanning directions is completed.

【0069】副走査補正データにより副走査方向のシェ
ーディング補正が行われると、ラインAおよびラインB
Cの中間値MIDが等しくなる。上述したように、ライ
ンAとラインBCの主走査補正後のシェーディングカー
ブを2次近似したときの2次項係数の間には、
When the shading correction in the sub-scanning direction is performed by the sub-scanning correction data, the line A and the line B are
The intermediate value MID of C becomes equal. As described above, between the quadratic term coefficients when the shading curves after the main scanning correction of the line A and the line BC are quadratic-approximated,

【0070】[0070]

【数11】 HA3 =−HABC3 …(19) という関係があるので、上述した両走査方向のシェーデ
ィング補正データを用いてシェーディング補正を行った
場合には、両ラインの最大値MAXと最小値MINはそ
れぞれほぼ等しくなる(図14参照)。
Since there is a relation of HA 3 = −HA BC3 (19), when the shading correction is performed using the above-described shading correction data in both scanning directions, the maximum value MAX and the minimum value MAX of both lines are obtained. The MINs are almost equal to each other (see FIG. 14).

【0071】次に、シェーディング補正動作を説明す
る。
Next, the shading correction operation will be described.

【0072】イメージセンサ1により読み取られた画像
情報G(x,y)が、主走査方向補正部3に出力される
タイミングに同期して、主走査用メモリ2から8ビット
の主走査補正データH(x)が主走査方向補正部3に送
られる。ただし、xは主走査カウンタ8の値、yは副走
査カウンタ9の値である。
The image information G (x, y) read by the image sensor 1 is synchronized with the timing at which it is output to the main scanning direction correction section 3, and the main scanning correction data H of 8 bits is read from the main scanning memory 2. (X) is sent to the main scanning direction correction unit 3. However, x is the value of the main scanning counter 8 and y is the value of the sub-scanning counter 9.

【0073】ついで、画像情報G(x,y)および主走
査補正データH(x)が主走査方向補正部3により次式
(20)に従って主走査補正が行われる。
Then, the main scanning direction correction unit 3 performs main scanning correction on the image information G (x, y) and the main scanning correction data H (x) according to the following equation (20).

【0074】[0074]

【数12】 AH(x,y)=G(x,y)/H(x)×(2n −1) …(20) 主走査方向補正部3からの出力AH(x,y)が副走査
方向補正部5に入力されると、同期して副走査用メモリ
4から副走査補正データV(y)が副走査方向補正部5
に送られ、次式(21)に基づき副走査補正が行われ
る。
AH (x, y) = G (x, y) / H (x) × (2 n −1) (20) The output AH (x, y) from the main scanning direction correction unit 3 is a sub When input to the scanning direction correction unit 5, the sub-scanning correction data V (y) is synchronized with the sub-scanning direction correction unit 5 from the sub-scanning memory 4.
And the sub-scanning correction is performed based on the following equation (21).

【0075】[0075]

【数13】 AHV(x,y)=AH(x,y)/V(y)×(2n −1) …(21) 式(20)を式(21)に代入して得られる式(22)
により、イメージセンサ1の出力が主走査および副走査
方向のシェーディング補正が行われる。
AHV (x, y) = AH (x, y) / V (y) × (2 n −1) (21) Equation (20) is obtained by substituting Equation (20) into Equation (21). 22)
Accordingly, the output of the image sensor 1 is subjected to shading correction in the main scanning direction and the sub scanning direction.

【0076】[0076]

【数14】 AHV(x,y) =(G(x,y)/H(x)×(2n −1)))/V(y)×(2n −1) …(22) 副走査方向補正部5の出力AHV(x,y)は画像処理
部10に送られ、各種の画像処理が行われ、プリンタ1
1に出力される。
AHV (x, y) = (G (x, y) / H (x) × (2 n −1))) / V (y) × (2 n −1) (22) Sub-scan The output AHV (x, y) of the direction correction unit 5 is sent to the image processing unit 10 to be subjected to various image processing, and the printer 1
It is output to 1.

【0077】本実施例では、上述した方法により求めた
主走査補正データと副走査方向補正データにより、シェ
ーディング補正を行うようにしたので、投影結像面38
におけるシェーディングはほぼ最小となる。また、両シ
ェーディング補正データが(2n −1)[DEC]に接
する2次曲線なので、式(22)から分かるように投影
結像面38の中心部において、シェーディング補正によ
る階調数の低下が全くなく、画像全体で見てもシェーデ
ィング補正による階調数の低下を軽減することができ
る。
In this embodiment, since the shading correction is carried out by the main scanning correction data and the sub scanning direction correction data obtained by the above-mentioned method, the projection image plane 38 is formed.
The shading at is almost minimal. Further, since both shading correction data are quadratic curves in contact with (2 n −1) [DEC], as can be seen from the formula (22), the number of gradations is reduced in the central portion of the projection image plane 38 due to the shading correction. It is possible to reduce the reduction in the number of gradations due to the shading correction even in the entire image.

【0078】第2実施例 本実施例では、RAM153に、ピーク光量に対応する
ラインD上のy座標(y=β)を記憶し、ラインA,
B,Cのシェーディングカーブを2次曲線近似し、得ら
れた光量分布データに対してピーク値が(2n −1)
[DEC]になるように全体を等比倍して得られる2次
曲線の2次項係数を記憶し、光量分布データの最大値M
AXと最小値MINから求めたラインA,B,Cに対す
る中間値MIDを記憶するようにした。また、ラインA
に対する中間値MIDをピークとしてラインBおよびラ
インCに対する中間値MIDを通る2次曲線を求め、求
めた2次曲線に対してピーク値が(2n −1)[DE
C]になるように全体を等比倍し、得られた2次曲線の
2次項係数を記憶するようにした。
Second Embodiment In this embodiment, the RAM 153 stores the y-coordinate (y = β) on the line D corresponding to the peak light amount, and the lines A,
The shading curves of B and C are quadratic-approximated, and the peak value is (2 n −1) for the obtained light amount distribution data.
The maximum value M of the light intensity distribution data is stored by storing the quadratic term coefficient of a quadratic curve obtained by multiplying the whole by the same ratio so as to be [DEC].
The intermediate value MIN for the lines A, B and C obtained from AX and the minimum value MIN is stored. Also, line A
A quadratic curve passing through the intermediate value MID for the line B and the line C with the intermediate value MID for the peak as the peak is obtained, and the peak value is (2 n −1) [DE
C], and the quadratic coefficient of the obtained quadratic curve is stored.

【0079】よって、主走査用メモリ2は主走査1ライ
ン分のデータが記憶できるだけの容量があれば良く、ま
た、副走査用メモリ4は主走査1ライン分のデータか、
あるいは副走査1ライン分のデータのうちデータ量の多
い方を記憶することができるだけの容量があれば良い。
Therefore, the main scanning memory 2 only needs to have a capacity for storing data for one main scanning line, and the sub scanning memory 4 has data for one main scanning line.
Alternatively, it suffices to have a capacity capable of storing one of the data for one sub-scanning line having a large data amount.

【0080】本実施例では、このようにしたので、作用
効果は第1実施例のそれと本質的に相違しない。
In this embodiment, since this is done, the operational effects are essentially the same as those of the first embodiment.

【0081】なお、本実施例では、ラインA,B,Cの
シェーディングカーブを2次曲線近似し、得られた光量
分布データに対してピーク値が(2n −1)[DEC]
になるように全体を等比倍して得られる2次曲線の2次
項係数をRAM153に記憶するようにしたが、2次曲
線は独立した3点の座標が決まれば確定するので、RA
M153に、2次曲線上の独立した3点の値、例えば、
両端と中央の値を記憶するようにしても良い。
In this embodiment, the shading curves of the lines A, B and C are approximated by a quadratic curve, and the obtained light amount distribution data has a peak value of (2 n -1) [DEC].
The quadratic term coefficient of the quadratic curve obtained by multiplying the whole by equal ratio is stored in the RAM 153. However, the quadratic curve is determined when the coordinates of three independent points are determined.
M153 has three independent values on the quadratic curve, for example,
The values at both ends and the center may be stored.

【0082】第3実施例 図15は本発明の第3実施例を示す。Third Embodiment FIG. 15 shows a third embodiment of the present invention.

【0083】図15において、図1と同一部分は同一符
号を付してある。17は面補正用メモリで、投影結像面
38の全画素の値を記録し得る容量を有し、主走査カウ
ンタ8,副走査カウンタ9の値に従って動作するもので
ある。18は面シェーディング部で、イメージセンサ1
からの画像信号を面補正用メモリ17からのシェーディ
ング補正に基づき面シェーディング補正するものであ
る。19は選択部で、イメージセンサ1からの画像デー
タを面補正用メモリ17または面シェーディング部18
のいずれか一方に切り換えるものである。
15, the same parts as those in FIG. 1 are designated by the same reference numerals. Reference numeral 17 denotes a surface correction memory which has a capacity capable of recording the values of all the pixels of the projection image forming surface 38 and operates according to the values of the main scanning counter 8 and the sub scanning counter 9. Reference numeral 18 denotes a surface shading portion, which is the image sensor 1
The image shading correction is performed based on the shading correction from the surface correction memory 17. Reference numeral 19 denotes a selection unit, which converts the image data from the image sensor 1 into the surface correction memory 17 or the surface shading unit 18.
One of the two is switched.

【0084】次に、動作を説明する。Next, the operation will be described.

【0085】選択部19を切り換え、イメージセンサ1
からの出力が面補正用メモリ17に出力されるようにす
る。イメージセンサ1により投影結像面38を走査し
て、光量分布データを面補正用メモリ17に取り込み、
取り込みが終了した時点で、選択部19を切り換え、デ
ータが面シェーディング部18に送られるようにする。
ついで、面補正用メモリ17のデータに対して、制御・
データ処理部15により次のように処理する。
The selection unit 19 is switched to switch the image sensor 1
The output from is output to the surface correction memory 17. The projection image plane 38 is scanned by the image sensor 1 and the light amount distribution data is loaded into the plane correction memory 17,
When the capturing is completed, the selection unit 19 is switched so that the data is sent to the surface shading unit 18.
Then, control the data in the surface correction memory 17
The data processing unit 15 processes as follows.

【0086】主走査1ライン分のデータごとに2次曲線
近似を行い、2次曲線近似した結果を順次面補正用メモ
リ17に上書きする。ついで、面補正用メモリ17のデ
ータに対して、副走査方向1ラインごとに2次曲線近似
を行い、2次曲線近似した結果を順次面補正用メモリ1
7に上書きする。
The quadratic curve approximation is performed for each data of one line of the main scanning, and the result of the quadratic curve approximation is sequentially overwritten in the surface correction memory 17. Next, the data in the surface correction memory 17 is subjected to quadratic curve approximation for each line in the sub-scanning direction, and the results of the quadratic curve approximation are sequentially applied to the surface correction memory 1.
Overwrite to 7.

【0087】面補正用メモリ17のデータからピーク値
を求め、このピーク値が255[H]になるように全補
正データを等比倍する。このようにして得られたシェー
ディング補正データは、それぞれ主走査方向および副走
査方向に連続した一様な値を取ることになり、光路内の
ごみ等の影響のない光量分布に近くなり、また、シェー
ディング補正に起因する階調数の低下を最小限に抑える
ことができる。
A peak value is obtained from the data in the surface correction memory 17, and all the correction data are multiplied by the same ratio so that the peak value becomes 255 [H]. The shading correction data obtained in this way takes a continuous and uniform value in the main scanning direction and the sub-scanning direction, respectively, and becomes close to the light amount distribution without the influence of dust in the optical path. It is possible to minimize the decrease in the number of gradations due to shading correction.

【0088】[0088]

【発明の効果】以上説明したように、本発明によれば、
上記のように構成したので、シェーディング補正に起因
する階調数の低下を最小限に抑えることができる。
As described above, according to the present invention,
With the above configuration, it is possible to minimize the decrease in the number of gradations due to shading correction.

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

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

【図2】マイクロフィルム読み取りシステムの外観を示
す図である。
FIG. 2 is a diagram showing an appearance of a microfilm reading system.

【図3】図2図示リーダの構造を示す断面図である。FIG. 3 is a cross-sectional view showing the structure of the reader shown in FIG.

【図4】図1図示制御・データ処理部15の構成を示す
ブロック図である。
FIG. 4 is a block diagram showing a configuration of a control / data processing unit 15 shown in FIG.

【図5】投影結像面38の光量分布の一例を示す図であ
る。
5 is a diagram showing an example of a light amount distribution on a projection image plane 38. FIG.

【図6】投影結像面38上の等光量線を示す図である。FIG. 6 is a diagram showing isolight lines on a projection image plane 38.

【図7】ラインA,B,Cに対応するシェーディングカ
ーブの一例を示す図である。
FIG. 7 is a diagram showing an example of shading curves corresponding to lines A, B, and C.

【図8】ラインBCを求める方法を説明するための説明
図である。
FIG. 8 is an explanatory diagram illustrating a method of obtaining a line BC.

【図9】主走査補正データの一例を示す図である。FIG. 9 is a diagram showing an example of main scanning correction data.

【図10】主走査シェーディング補正後のラインA,ラ
インBCに対応するシェーディングカーブの一例を示す
図である。
FIG. 10 is a diagram showing an example of shading curves corresponding to lines A and BC after main scanning shading correction.

【図11】主走査方向シェーディング補正後のライン
A,B,Cの一例を示す図である。
FIG. 11 is a diagram showing an example of lines A, B, and C after shading correction in the main scanning direction.

【図12】中間値MIDを通る2次曲線の一例を示す図
である。
FIG. 12 is a diagram showing an example of a quadratic curve passing through an intermediate value MID.

【図13】副走査補正データの一例を示す図である。FIG. 13 is a diagram showing an example of sub-scanning correction data.

【図14】シェーディング補正後のラインA,ライン
B,ラインCに対応する光量分布曲線の一例を示す図で
ある。
FIG. 14 is a diagram showing an example of a light amount distribution curve corresponding to lines A, B, and C after shading correction.

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

【図16】従来の画像読み取り装置の一例の構成を示す
ブロック図である。
FIG. 16 is a block diagram showing a configuration of an example of a conventional image reading apparatus.

【図17】従来の画像読み取り装置の他の例の構成を示
すブロック図である。
FIG. 17 is a block diagram showing the configuration of another example of the conventional image reading apparatus.

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

1 イメージセンサ 2 主走査用メモリ 3 主走査方向補正部 4 副走査用メモリ 5 副走査方向補正部 8 主走査カウンタ 9 副走査カウンタ 10 画像処理部 11 プリンタ 12 主走査用選択部 13 副走査用選択部 14 カウンタ選択部 15 制御・データ処理部 16 スイッチ DESCRIPTION OF SYMBOLS 1 image sensor 2 main scanning memory 3 main scanning direction correction unit 4 sub scanning memory 5 sub scanning direction correction unit 8 main scanning counter 9 sub scanning counter 10 image processing unit 11 printer 12 main scanning selection unit 13 sub scanning selection Part 14 counter selection part 15 control / data processing part 16 switch

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 投影結像面を副走査および主走査して該
投影結像面上の光量を検出する光量検出手段と、該光量
検出手段により検出された光量分布に基づき面シェーデ
ィング補正を行う面シェーディング補正手段を有する画
像読み取り装置において、 前記面シェーディング補正手段は、 主走査方向のラインのうち前記光量検出手段により検出
された最大光量点を通る第1ライン上の第1光量分布曲
線と、前記第1ラインに平行で前記投影結像面の前端お
よび後端に沿った第2,第3ライン上の光量分布曲線の
うち曲率が小さい方の第2光量分布曲線とをそれぞれ2
次曲線近似する近似手段と、 該近似手段により近似して得られる2次曲線上のピーク
値が所定値になるように前記2つの2次曲線上の全ての
値を等比倍する等比倍手段と、 該等比倍手段により等比倍して得られる2つの2次曲線
上の対応する点の値どうしを平均して主走査方向のシェ
ーディング補正データを算出する主走査補正データ算出
手段と、 該主走査補正データ算出手段により算出された主走査方
向のシェーディング補正データに基づき前記光量検出手
段により検出された光量に対し主走査方向のシェーディ
ング補正を行うシェーディング補正手段と、 該シェーディング補正手段により主走査方向のシェーデ
ィングが補正された前記第1,第2,第3ライン上のそ
れぞれの光量の最大値と最小値から求めた中間値をそれ
ぞれ通る2次曲線を決定する2次曲線決定手段と、 該2次曲線決定手段により決定された2次曲線のピーク
値が所定の値になるように各値を等比倍して副走査方向
のシェーディング補正データを算出する副走査データ算
出手段とを備えたことを特徴とする画像読み取り装置。
1. A light amount detecting means for detecting the light amount on the projection image forming surface by sub-scanning and main scanning the projection image forming surface, and surface shading correction based on the light amount distribution detected by the light amount detecting means. In an image reading apparatus having a surface shading correction unit, the surface shading correction unit includes a first light amount distribution curve on a first line of a line in the main scanning direction that passes through a maximum light amount point detected by the light amount detection unit, The second light quantity distribution curve having the smaller curvature of the light quantity distribution curves on the second and third lines parallel to the first line and along the front end and the rear end of the projection image plane is 2 respectively.
Approximating means for approximating a quadratic curve, and a geometrical multiplication that equalizes all the values on the quadratic curves so that the peak value on the quadratic curve obtained by approximation by the approximating means becomes a predetermined value. Means and a main scanning correction data calculating means for calculating shading correction data in the main scanning direction by averaging values of corresponding points on two quadratic curves obtained by the geometric multiplication by the geometric ratio multiplying means. A shading correction unit that performs shading correction in the main scanning direction with respect to the light amount detected by the light amount detection unit based on the shading correction data in the main scanning direction calculated by the main scanning correction data calculation unit; Secondary that passes through the intermediate value obtained from the maximum value and the minimum value of the respective light amounts on the first, second, and third lines whose shading in the main scanning direction has been corrected Secondary curve determining means for determining a curve, and shading correction data in the sub-scanning direction by multiplying each value so that the peak value of the secondary curve determined by the secondary curve determining means becomes a predetermined value. An image reading apparatus comprising: a sub-scanning data calculating unit that calculates
【請求項2】 投影結像面に対して副走査するとともに
主走査して投影結像面の光量を検出する光量検出手段
と、該光量検出手段により検出された光量分布に基づき
面シェーディング補正を行う面シェーディング補正手段
を有する画像読み取り装置において、 前記面シェーディング補正手段は、 前記光量検出手段により検出された光量分布に対して主
走査方向に1ラインごとに2次曲線近似するとともに、
副走査方向に1ラインごとに2次曲線近似する近似手段
と、 該近似手段による近似により得られた値のピーク値が所
定値になるように全近似値を等比倍する等比倍手段とを
備えたことを特徴とする画像読み取り装置。
2. A light amount detecting means for detecting a light amount on the projection image forming surface by sub-scanning and main scanning the projection image forming surface, and surface shading correction based on the light amount distribution detected by the light amount detecting means. In the image reading apparatus having the surface shading correction unit, the surface shading correction unit approximates a quadratic curve line by line in the main scanning direction with respect to the light amount distribution detected by the light amount detection unit,
Approximating means for performing quadratic curve approximation line by line in the sub-scanning direction, and a geometric ratio multiplying means for equalizing all approximate values so that the peak value of the values obtained by the approximation by the approximating means becomes a predetermined value. An image reading apparatus comprising:
JP4023769A 1992-02-10 1992-02-10 Picture reader Pending JPH05227428A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4023769A JPH05227428A (en) 1992-02-10 1992-02-10 Picture reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4023769A JPH05227428A (en) 1992-02-10 1992-02-10 Picture reader

Publications (1)

Publication Number Publication Date
JPH05227428A true JPH05227428A (en) 1993-09-03

Family

ID=12119557

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4023769A Pending JPH05227428A (en) 1992-02-10 1992-02-10 Picture reader

Country Status (1)

Country Link
JP (1) JPH05227428A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6798896B2 (en) 2000-03-02 2004-09-28 Nec Corporation Image input apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6798896B2 (en) 2000-03-02 2004-09-28 Nec Corporation Image input apparatus

Similar Documents

Publication Publication Date Title
US6950139B2 (en) Image reading device and storage medium storing control procedure for image reading device
US4833722A (en) Apparatus and methods for locating edges and document boundaries in video scan lines
US4774569A (en) Method for adaptively masking off a video window in an overscanned image
US4982294A (en) Apparatus for enhancing and thresholding scanned microfilm images and methods for use therein
JPH01256871A (en) Method for generating shading correction reference data using average maximum value
US5631983A (en) Image forming system for synthesizing color image data with binary image data which has been colored with a predetermined color during the synthesizing operation
US4855943A (en) Method and apparatus for deaveraging a stream of averaged data
JPH07284011A (en) Digital electronic still camera
US4868670A (en) Apparatus and method for improving the compressibility of an enhanced image through use of a momentarily varying threshold level
JPH0879529A (en) Image processing device
JPH0654195A (en) System and method for image scanner for improvement of microfilm image quality
US5926560A (en) Method of reading color image, color image reading apparatus and system for reading color image
EP0740464B1 (en) Video apparatus with a single multi-port field memory
JPH0888772A (en) Image forming device
JPS63125954A (en) Copying device
JPH05227428A (en) Picture reader
US6806870B1 (en) Image display control apparatus including adjustment based on brightness
US6028966A (en) Image reading apparatus and method including pre-scanning
US20020044304A1 (en) Image reading device and method
JP2873265B2 (en) Method and apparatus for forming a circular course
JPH02230870A (en) Picture reader
JPH0646260A (en) Picture reader
JP2000228726A (en) Method for scanning photographic film picture using selectively determined system responding gain calibration
JPH1042191A (en) Method and device for correcting back light of picture
JPH0435466A (en) Picture signal processor