JPH0879519A - Image reader - Google Patents

Image reader

Info

Publication number
JPH0879519A
JPH0879519A JP6230387A JP23038794A JPH0879519A JP H0879519 A JPH0879519 A JP H0879519A JP 6230387 A JP6230387 A JP 6230387A JP 23038794 A JP23038794 A JP 23038794A JP H0879519 A JPH0879519 A JP H0879519A
Authority
JP
Japan
Prior art keywords
data
white chart
line sensor
shading correction
image reading
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
JP6230387A
Other languages
Japanese (ja)
Inventor
Keita Kimura
啓太 木村
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 JP6230387A priority Critical patent/JPH0879519A/en
Publication of JPH0879519A publication Critical patent/JPH0879519A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE: To measure a shading correction coefficient by excluding the influence of a flaw or dust on a white chart to be received as far as possible. CONSTITUTION: This reader is equipped with a light source 21 which illiminates an original, a line sensor 1 which detects reflected light from the original by moving in a sub-scanning direction, the white chart 25 being the reference of exposure condition for reading, and a control means 5 which performs the moving control of the line sensor and processes image data read by the line sensor. The control means fetches data at plural places on the white chart for plural times, respectively, and compares the data at plural places at every pixel, and sets large data and a ratio of data to the maximum value in the data as the shading correction coefficient.

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]

【従来の技術】従来の画像読取装置において、シェーデ
ィング(光量むら)補正係数を測定する場合に、白基準
のデータを単純にリファレンスとしたときは、白基準板
についているゴミや傷の影響でシェーディング補正デー
タに誤差が生じるおそれがある。また、CCDや回路系
の持つノイズの影響もシェーディング補正データの誤差
となる。
2. Description of the Related Art In a conventional image reading device, when measuring a shading (uneven amount of light) correction coefficient, if white reference data is simply used as a reference, shading is caused by dust or scratches on a white reference plate. An error may occur in the correction data. In addition, the influence of noise of the CCD and the circuit system also causes an error in the shading correction data.

【0003】例えば、図6(a)に示すように、ごみの
影響を受けてシェーディング補正データの誤差が生じた
場合に、このシェーディング補正データから作成したシ
ェーディング補正係数で入力値を補正すると、得られる
補正値は、図6(b)に示すようになる。即ち、シェー
ディング補正データの誤差は、そのまま画像の誤差とな
り、かつ全ラインにおいて同じ誤差が発生することとな
るので、見苦しく目立つ縦縞となって画像に現れてしま
う。
For example, as shown in FIG. 6A, when an error occurs in the shading correction data due to the influence of dust, if the input value is corrected by the shading correction coefficient created from this shading correction data, it is obtained. The correction values obtained are as shown in FIG. That is, the error of the shading correction data becomes the error of the image as it is, and the same error occurs in all lines, so that it appears in the image as unsightly and noticeable vertical stripes.

【0004】[0004]

【発明が解決しようとする課題】シェーディング補正デ
ータの誤差による縦縞を除去するために、ホワイトチャ
ートに幅を持たせて、ホワイトチャート上をキャリッジ
を移動させながら複数ラインのデータを取って平均する
方法も考えられる。この方法では、キャリッジを移動す
る箇所に存在する傷やゴミの影響を100%でないにせ
よ確実に受ける事となる。さらに、ホワイトチャートの
読取り中にキャリッジを移動させねばならないため、制
御も複雑になるという問題点がある。
In order to remove vertical stripes due to errors in shading correction data, a method is used in which a white chart has a width and a plurality of lines of data are taken and averaged while moving a carriage on the white chart. Can also be considered. According to this method, the influence of scratches and dust existing at the position where the carriage is moved is certainly received, if not 100%. Further, there is a problem that the control becomes complicated because the carriage has to be moved during the reading of the white chart.

【0005】本発明は、上記の問題点に鑑みてなされた
もので、ホワイトチャート上の傷やゴミの影響を極力受
けないようにして、シェーディング補正係数を測定する
ことを目的とする。
The present invention has been made in view of the above problems, and it is an object of the present invention to measure a shading correction coefficient while avoiding the influence of scratches and dust on the white chart as much as possible.

【0006】[0006]

【課題を解決するための手段】この目的を達成するため
に、本発明の画像読取装置は、原稿を照明する光源(2
1)と、副走査方向に移動して、原稿からの反射光を検
知するラインセンサ(1)と、読取りのための露出条件
の基準となるホワイトチャート(25)と、ラインセン
サの移動制御と、ラインセンサが読み取った画像データ
を処理する制御手段(5)とを具備し、制御手段は、ホ
ワイトチャートの複数箇所のデータをそれぞれ複数回取
り込み、複数箇所のデータを各画素ごとに比較して、大
きい方のデータと、そのデータ中の最大値に対する比を
シェーディング補正係数とするように構成されている。
In order to achieve this object, an image reading apparatus of the present invention comprises a light source (2) for illuminating a document.
1), a line sensor (1) that moves in the sub-scanning direction to detect reflected light from a document, a white chart (25) that serves as a reference of exposure conditions for reading, and movement control of the line sensor. And a control means (5) for processing the image data read by the line sensor, wherein the control means fetches data at a plurality of points on the white chart a plurality of times and compares the data at a plurality of points for each pixel. , The larger data and the ratio to the maximum value in the data are used as the shading correction coefficient.

【0007】[0007]

【作用】上記構成の画像読取装置においては、ホワイト
チャートの複数箇所にてラインデータの取り込みを行う
ことで、シェーディング補正係数の測定を行うようにし
たので、ホワイトチャート上の傷やゴミの影響を極力受
けないようにして、シェーディング補正係数を測定する
ことができる。
In the image reading apparatus having the above structure, the shading correction coefficient is measured by capturing the line data at a plurality of points on the white chart, so that the influence of scratches and dust on the white chart is reduced. The shading correction coefficient can be measured with the least possible reception.

【0008】[0008]

【実施例】以下、本発明の実施例を図面に基づいて説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

【0009】図1は、本発明による画像読取装置の一実
施例を示すブロック結線図である。図2は本発明による
画像読取装置の一実施例を示す正面図であり、図3は本
発明による画像読取装置の一実施例を示す斜視図であ
る。
FIG. 1 is a block connection diagram showing an embodiment of an image reading apparatus according to the present invention. 2 is a front view showing an embodiment of the image reading device according to the present invention, and FIG. 3 is a perspective view showing an embodiment of the image reading device according to the present invention.

【0010】読取光は、光源21を出射して原稿20
(図2および図3)で反射する。原稿20によって反射
された入力画像光線は、レンズ23を介してCCDライ
ンセンサ1に供給される。入力画像光線は、CCDライ
ンセンサ1によって光電変換され電気信号(アナログ信
号)となる。アナログ信号は、A/Dコンバータ2によ
りデジタル符号化され、CPU5が画像処理回路3およ
びFiFoバッファ4を介してRAM10に取り込む。
The reading light is emitted from the light source 21 and the original 20 is read.
(FIGS. 2 and 3). The input image light beam reflected by the document 20 is supplied to the CCD line sensor 1 via the lens 23. The input image light beam is photoelectrically converted into an electric signal (analog signal) by the CCD line sensor 1. The analog signal is digitally encoded by the A / D converter 2, and the CPU 5 captures it in the RAM 10 via the image processing circuit 3 and the FiFo buffer 4.

【0011】1ラインの読み取りが終了すると、ステッ
ピングモータ7がCPU5に制御されて、CCDライン
センサ1を副走査方向(図2および図3の矢印a方向)
の次の取り込み位置に移動させる。CPU5は、ステッ
ピングモータ駆動回路8を介してステッピングモータ7
を駆動制御する。ステッピングモータ7は、タイミング
ギア28、タイミングプーリ29、タイミングベルト3
0、および結合部材31を介してキャリッジ24を副走
査方向に駆動する。CCDラインセンサ1は、キャリッ
ジ24に載置されており、ガイド板25およびガイド軸
26に案内されて、副走査方向(図2および図3の矢印
a方向)に移動する。
When the reading of one line is completed, the stepping motor 7 is controlled by the CPU 5 to move the CCD line sensor 1 in the sub-scanning direction (direction of arrow a in FIGS. 2 and 3).
Move to the next capture position of. The CPU 5 controls the stepping motor 7 via the stepping motor drive circuit 8.
Drive control. The stepping motor 7 includes a timing gear 28, a timing pulley 29, and a timing belt 3.
The carriage 24 is driven in the sub-scanning direction via 0 and the coupling member 31. The CCD line sensor 1 is mounted on the carriage 24, guided by the guide plate 25 and the guide shaft 26, and moves in the sub-scanning direction (direction of arrow a in FIGS. 2 and 3).

【0012】CCDラインセンサ1は、主走査方向に1
ラインの読み取りを行い、ステッピングモータ7により
次の位置に移動する。これを繰り返して1枚の原稿20
の全体を読み取る。
The CCD line sensor 1 is 1 in the main scanning direction.
The line is read, and the stepping motor 7 moves to the next position. Repeat this for one original 20
Read the whole.

【0013】画像読取装置では、光源21によるシェー
ディング(光量むら)を補正するために、シェーディン
グ補正係数の測定が行われる。シェーディング補正係数
の測定時に問題となるのがホワイトチャートのゴミと測
定データに含まれるノイズ分である。次に、これらの解
決のための手法を説明する。ホワイトチャートは、図2
のプラテンガラス22の左端下側、即ちキャリッジ24
の初期位置の近くに設けられるのが一般的である。
In the image reading apparatus, the shading correction coefficient is measured in order to correct the shading (uneven amount of light) by the light source 21. When measuring the shading correction coefficient, dust on the white chart and noise included in the measurement data are problems. Next, a method for solving these problems will be described. The white chart is shown in Figure 2.
Lower side of the platen glass 22 of the bottom, that is, the carriage 24
It is generally provided near the initial position of the.

【0014】測定データに含まれるノイズ分について
は、同一ラインを複数回取り込んで平均を取ることで解
決する。ホワイトチャートのゴミについては、ホワイト
チャート25(図4)の2箇所(SD_POS1および
SD_POS2)で複数回データを取り込んで平均す
る。CCDラインセンサ1の同一箇所(主走査方向)の
データを比べて、大きい方を選択する。これにより図4
のゴミ1a〜3aのような、主走査方向の異なる位置に
存在するゴミの影響は除去できる。ただし、ゴミ4aの
ような主走査方向の同じ位置に存在するゴミの影響は除
去できなくなる。しかしながら、ゴミ4aのようなゴミ
はホワイトチャート25が下向きに取り付けられるた
め、付きにくいものと考えられる。なお、SD_POS
1およびSD_POS2の間隔は、例えば3mmとされ
る。
The noise component contained in the measurement data can be solved by capturing the same line a plurality of times and taking an average. For dust on the white chart, data is captured at two locations (SD_POS1 and SD_POS2) on the white chart 25 (FIG. 4) multiple times and averaged. The data of the same position (main scanning direction) of the CCD line sensor 1 is compared, and the larger one is selected. As a result,
The influence of dust existing at different positions in the main scanning direction, such as the dust 1a to 3a, can be eliminated. However, the influence of dust existing at the same position in the main scanning direction such as dust 4a cannot be removed. However, dust such as dust 4a is considered to be difficult to attach because the white chart 25 is attached downward. In addition, SD_POS
The distance between 1 and SD_POS2 is, for example, 3 mm.

【0015】こうしてできた1ラインデータの最大値を
検出して各画素のシェーディング補正係数を求める。最
大値をSDNmaxとして各画素データをSD_DAT
[n]とすると、各画素のシェーディング補正係数SD
[n]は、
The maximum value of the 1-line data thus formed is detected to obtain the shading correction coefficient of each pixel. The maximum value is SDNmax and each pixel data is SD_DAT
Let [n] be the shading correction coefficient SD of each pixel.
[N] is

【0016】 SD[n]=SDNmax/SD_DAT[n] となる。SD [n] = SDNmax / SD_DAT [n].

【0017】さらに上記の取込回数を変化させることに
より、測定時間と画質の調整が行える。例えば、プレビ
ューのようなテスト画像取込の際は、画質よりも時間が
優先されるので、取込回数を4回程度に抑えて測定時間
を短縮させ、結果として読取り時間を短縮できる。ま
た、ファイナルスキャンの場合の様に、画質が優先され
る場合には、取込回数を64回程度として、ノイズの影
響を軽減し画質を向上させる。
Further, the measurement time and the image quality can be adjusted by changing the number of times of capturing. For example, when a test image such as a preview is captured, time is prioritized over image quality. Therefore, the number of captures can be suppressed to about 4 to shorten the measurement time, and as a result, the reading time can be shortened. Further, when the image quality is prioritized as in the case of the final scan, the number of captures is set to about 64 to reduce the influence of noise and improve the image quality.

【0018】このように、ホワイトチャート25の2箇
所にてラインデータの取り込みを行うことで、簡単な構
成でホワイトチャート25についたゴミや傷の影響を効
果的に必要レベルでほぼ確実に除去し、目的に適合した
処理速度でシェーディング補正データの算出ができるよ
うになる。以下、シェーディング補正係数測定シーケン
スを図5のフローチャートで説明する。
In this way, by capturing the line data at two points on the white chart 25, the influence of dust and scratches on the white chart 25 can be effectively and almost certainly removed at a required level with a simple structure. The shading correction data can be calculated at a processing speed suitable for the purpose. Hereinafter, the shading correction coefficient measurement sequence will be described with reference to the flowchart of FIG.

【0019】図5において、プログラムがスタートする
と、まずステップS1において、読み取りモードがプレ
ビューならば取込回数Nを4回とする。また、ファイナ
ルスキャンならば64回とする。次に、キャリッジ24
をホワイトチャート25の位置SD_POS1に移動す
る(ステップS2)。ホワイトチャート25の位置SD
_POS1の場所のデータSD_DAT1[n]をN回
取り込む(ステップS3)。キャリッジ24をホワイト
チャート25の位置SD_POS2に移動する(ステッ
プS4)。ホワイトチャート25の位置SD_POS2
の場所のデータSD_DAT2[n]をn回取り込む
(ステップS5)。
In FIG. 5, when the program starts, first, in step S1, if the reading mode is preview, the number N of times of capture is set to four. In addition, if the final scan is 64 times. Next, the carriage 24
Is moved to the position SD_POS1 on the white chart 25 (step S2). Position SD of white chart 25
The data SD_DAT1 [n] at the location of _POS1 is fetched N times (step S3). The carriage 24 is moved to the position SD_POS2 on the white chart 25 (step S4). Position of white chart 25 SD_POS2
The data SD_DAT2 [n] at the location is fetched n times (step S5).

【0020】次に、全てのnについて、Next, for all n,

【0021】SD_DAT[n]=max(SD_DA
T1[n],SD_DAT2[n]) を求める。ただし、max(a,b)はaとbを比べて
大きい方を選択する演算である(ステップS6)。SD
_DAT[n]の最大値を検出し、これをSDNmax
とする(ステップS7)。シェーディング補正係数SD
[n]を、
SD_DAT [n] = max (SD_DA
T1 [n], SD_DAT2 [n]) is calculated. However, max (a, b) is an operation for comparing a and b and selecting the larger one (step S6). SD
Detect the maximum value of _DAT [n] and set it to SDNmax
(Step S7). Shading correction coefficient SD
[N]

【0022】 SD[n]=SDNmax/SD_DAT[n] で求め(ステップS8)、プログラムを終了する。SD [n] = SDNmax / SD_DAT [n] is calculated (step S8), and the program ends.

【0023】[0023]

【発明の効果】以上のように、本発明の画像読取装置に
よれば、ホワイトチャートの複数箇所にてラインデータ
の取り込みを行うことで、シェーディング補正係数の測
定を行うようにしたので、ホワイトチャート上の傷やゴ
ミの影響を極力受けないようにして、シェーディング補
正係数を測定することが可能となる。
As described above, according to the image reading apparatus of the present invention, the shading correction coefficient is measured by capturing the line data at a plurality of points on the white chart. It is possible to measure the shading correction coefficient while minimizing the influence of scratches and dust on the surface.

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

【図1】本発明による画像読取装置の一実施例を示すブ
ロック結線図である。
FIG. 1 is a block connection diagram showing an embodiment of an image reading apparatus according to the present invention.

【図2】本発明による画像読取装置の一実施例を示す正
面図である。
FIG. 2 is a front view showing an embodiment of the image reading apparatus according to the present invention.

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

【図4】本発明による画像読取装置の一実施例を示す正
面図である。
FIG. 4 is a front view showing an embodiment of an image reading apparatus according to the present invention.

【図5】本発明による画像読取装置の一実施例を示すフ
ローチャートである。
FIG. 5 is a flowchart showing an embodiment of the image reading device according to the present invention.

【図6】従来の画像読取装置の一例を示す特性図であ
る。
FIG. 6 is a characteristic diagram showing an example of a conventional image reading apparatus.

【符号の説明】 1 CCDラインセンサ 1a ゴミ 2 A/Dコンバータ 2a ゴミ 3 画像処理回路 3a ゴミ 4 FiFoバッファ 4a ゴミ 5 CPU 7 ステッピングモータ 8 ステッピングモータ駆動回路 20 原稿 21 光源 22 プラテンガラス 24 キャリッジ 25 ホワイトチャート[Explanation of Codes] 1 CCD line sensor 1a Dust 2 A / D converter 2a Dust 3 Image processing circuit 3a Dust 4 FiFo buffer 4a Dust 5 CPU 7 Stepping motor 8 Stepping motor drive circuit 20 Original 21 Light source 22 Platen glass 24 Carriage 25 White chart

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】原稿を照明する光源と、 副走査方向に移動して、前記原稿からの反射光を検知す
るラインセンサと、 読取りのための露出条件の基準となるホワイトチャート
と、 前記ラインセンサの移動制御と、前記ラインセンサが読
み取った画像データを処理する制御手段とを具備し、 前記制御手段は、前記ホワイトチャートの複数箇所のデ
ータをそれぞれ取り込み、 複数箇所のデータを各画素ごとに比較して、大きい方の
データと、そのデータ中の最大値に対する比をシェーデ
ィング補正係数とすることを特徴とする画像読取装置。
1. A light source for illuminating a document, a line sensor that moves in a sub-scanning direction to detect reflected light from the document, a white chart that serves as a reference of exposure conditions for reading, and the line sensor. Movement control and a control means for processing the image data read by the line sensor, wherein the control means fetches data at a plurality of points of the white chart and compares the data at a plurality of points for each pixel. Then, the image reading device is characterized in that the larger data and the ratio to the maximum value in the data are used as the shading correction coefficient.
【請求項2】請求項1において、 前記制御手段は、前記ホワイトチャートの複数箇所のデ
ータをそれぞれ複数回取り込むことを特徴とする画像読
取装置。
2. The image reading apparatus according to claim 1, wherein the control unit captures data at a plurality of points of the white chart a plurality of times.
【請求項3】請求項1において、 前記制御手段は、ホワイトチャートの2箇所のデータを
それぞれ複数回取り込むことを特徴とする画像読取装
置。
3. The image reading apparatus according to claim 1, wherein the control unit captures data at two locations on the white chart a plurality of times.
【請求項4】請求項1において、 前記ホワイトチャートは、装置に内蔵されていることを
特徴とする画像読取装置。
4. The image reading device according to claim 1, wherein the white chart is built in the device.
JP6230387A 1994-08-31 1994-08-31 Image reader Pending JPH0879519A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6230387A JPH0879519A (en) 1994-08-31 1994-08-31 Image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6230387A JPH0879519A (en) 1994-08-31 1994-08-31 Image reader

Publications (1)

Publication Number Publication Date
JPH0879519A true JPH0879519A (en) 1996-03-22

Family

ID=16907082

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6230387A Pending JPH0879519A (en) 1994-08-31 1994-08-31 Image reader

Country Status (1)

Country Link
JP (1) JPH0879519A (en)

Similar Documents

Publication Publication Date Title
CN102256043B (en) Image reading apparatus
US7808682B2 (en) Image scanning system
US6750990B1 (en) Image scanning apparatus, image forming apparatus, image forming system, image scanning control method, and storage medium
JP4777178B2 (en) Image processing method
US6775419B2 (en) Image processing method, image processing apparatus, and storage medium for storing control process
US5982948A (en) Image reader
JPH0879519A (en) Image reader
JPH1093787A (en) Image reader
JP2007279256A (en) Image reader
JP3295003B2 (en) Image reading device
US6891644B1 (en) Image processing device and image processing method
JP3754173B2 (en) Image reading device
JP3569059B2 (en) Image reading device
JP2002237945A (en) Image reader
JP2002176535A (en) Image reader and read position setting method
US20070211341A1 (en) Image scan apparatus, MFP and sub-scan magnification adjustment method
JP2000307870A (en) Image processor
JP4235345B2 (en) Reading position designation device and reading position designation method
JP3492548B2 (en) Image input device and image input method
JP2692855B2 (en) Image processing device
JPH08163359A (en) Image reader
JP2000032262A (en) Image reader
JPH08172530A (en) Image reader
JP2002190912A (en) Image reader and control method thereof
JPH0837597A (en) Shading distortion correcting method for image reader and image reader