JP2002314769A - Image reader - Google Patents

Image reader

Info

Publication number
JP2002314769A
JP2002314769A JP2001114022A JP2001114022A JP2002314769A JP 2002314769 A JP2002314769 A JP 2002314769A JP 2001114022 A JP2001114022 A JP 2001114022A JP 2001114022 A JP2001114022 A JP 2001114022A JP 2002314769 A JP2002314769 A JP 2002314769A
Authority
JP
Japan
Prior art keywords
data
image
scanning direction
pattern
main scanning
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
JP2001114022A
Other languages
Japanese (ja)
Inventor
Mitsumasa Nomoto
光正 野本
Fumihiro Nakashige
文宏 中重
Takeshi Tada
武 多田
Nami Yu
兪  波
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2001114022A priority Critical patent/JP2002314769A/en
Publication of JP2002314769A publication Critical patent/JP2002314769A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image reader that can completely separate position shift in the subscanning direction from a position shift in the main scanning direction, so as to quickly correct only the dispersion in the read position in the subscanning direction with high accuracy. SOLUTION: The image reader is provided with a measurement means, that measures a position error by an image signal acquired by the image reader from an original, where patterns expressing the contrast of image and comprising parallel lines that have density which is uniform in the main scanning direction and density which is ununiform in the subscanning direction perpendicular to the main scanning direction and patterns with a uniform density in a direction which is neither horizontal or vertical with respect to the main scanning direction are adjacent to each other, and with a correction means that corrects the image of the image reader, by using the position error.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は画像読取装置に関
し、詳細には主走査方向の走査速度むら、または走査位
置ズレに応じて画像データの画素位置の誤差を補正する
画像読取装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image reading apparatus, and more particularly to an image reading apparatus for correcting an error in a pixel position of image data in accordance with an uneven scanning speed in a main scanning direction or a deviation of a scanning position.

【0002】[0002]

【従来の技術】従来、この種類の装置としては、例えば
特開平9−163105号公報の「画像読取装置」(以
下従来例1と称す)がある。この従来例1は位置誤差を
測定するための斜線パターンにより、画像読取装置に設
置する際に生じる幾らかの位置ズレを測定し、当該結果
から位置ズレ分を差し引いて位置誤差を補正する装置で
ある。また、特開平9−98255号公報(以下従来例
2と称す)の「画素の位置誤差測定装置」がある。この
従来例2は読取画像データにウィンドウを設定して、白
地上に45°の角度を成す多数の黒の斜線パターンが副
走査方向に等ピッチに形成されている斜線パターンの存
在を判別すると、ウィンドウを斜線の角度の方向に順次
シフトし、各ウィンドウ内における斜線の位置変化に基
づいて副走査方向の画素の位置誤差を測定する装置であ
る。
2. Description of the Related Art Conventionally, as this type of apparatus, for example, there is an "image reading apparatus" (hereinafter referred to as Conventional Example 1) of Japanese Patent Application Laid-Open No. 9-163105. This prior art 1 is an apparatus that measures some positional deviation generated when the image reading apparatus is installed in a diagonal line pattern for measuring a positional error, and corrects the positional error by subtracting the positional deviation from the result. is there. Japanese Patent Application Laid-Open No. 9-98255 (hereinafter referred to as Conventional Example 2) discloses a “pixel position error measuring device”. In the second conventional example, a window is set in the read image data to determine the existence of a diagonal pattern in which a large number of black diagonal patterns forming an angle of 45 ° on a white background are formed at an equal pitch in the sub-scanning direction. This device sequentially shifts windows in the direction of oblique lines and measures the position error of pixels in the sub-scanning direction based on a change in the position of oblique lines in each window.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記各
従来例によれば、基本的に重心を求めているため、わず
かなゴミでも重心位置測定に強く影響が出てしまい、ノ
イズに弱く、測定精度が低下するという問題があった。
また、これらの測定手法で使用される斜線パターンに
は、主走査方向の位置ズレ成分、例えばスキャナ内部に
搭載されている折り返しミラーのたわみや撮像素子の振
動などが含まれるため、精度良く副走査方向の画素の位
置ズレを測定することが困難であるという問題があっ
た。
However, according to the above-mentioned prior arts, since the center of gravity is basically determined, even a small amount of dust has a strong influence on the position of the center of gravity, and is weak against noise. However, there was a problem that was reduced.
In addition, the oblique line patterns used in these measurement methods include misalignment components in the main scanning direction, for example, deflection of a return mirror mounted inside the scanner, vibration of an image sensor, and the like, so that sub-scanning is performed with high accuracy. There is a problem that it is difficult to measure the displacement of the pixel in the direction.

【0004】本発明はこれらの問題点を解決するための
ものであり、副走査方向の位置ズレと主走査方向の位置
ズレを完全に分離して、副走査方向の読取位置のばらつ
きのみを迅速かつ高精度に補正することができる画像読
取装置を提供することを目的とする。
The present invention has been made to solve these problems, and completely separates the positional deviation in the sub-scanning direction and the positional deviation in the main scanning direction to quickly reduce only the variation in the reading position in the sub-scanning direction. It is another object of the present invention to provide an image reading apparatus capable of performing highly accurate correction.

【0005】[0005]

【課題を解決するための手段】前記問題点を解決するた
めに、本発明の画像読取装置によれば、画素の主・副走
査方向の位置誤差計測手段により、ミラーなどの振動に
よる主走査方向の位置誤差成分を除去した副走査方向の
位置誤差を算出できるので、画素の副走査方向のみの変
動による読取位置のばらつきを高精度に補正することが
できる。また、画素の主走査方向の位置誤差計測手段に
より、ミラーなどの振動による主走査方向の位置誤差成
分を算出できるので、画素の主走査方向のみの変動によ
る読取位置のばらつきを高精度に補正することができ
る。
In order to solve the above-mentioned problems, according to the image reading apparatus of the present invention, the position error measuring means in the main scanning direction and the sub-scanning direction of the pixel is used to measure the position error in the main scanning direction due to the vibration of a mirror or the like. Since the position error in the sub-scanning direction from which the position error component has been removed can be calculated, the variation in the reading position due to the fluctuation of the pixel only in the sub-scanning direction can be corrected with high accuracy. In addition, since the position error component of the pixel in the main scanning direction in the main scanning direction can be calculated by the position error measuring unit in the main scanning direction, the variation of the reading position due to only the fluctuation of the pixel in the main scanning direction can be corrected with high accuracy. be able to.

【0006】また、パターンを撮像素子の解像度より大
きくすることにより、モアレをなくし、位置ズレ計測精
度を上げることができる。
Further, by making the pattern larger than the resolution of the image pickup device, moiré can be eliminated, and the positional deviation measurement accuracy can be improved.

【0007】更に、濃度パターンが等ピッチでないの
で、位置ズレの最小値を1つに保証でき、計測精度を向
上することができる。また、黒のパターンが等しい幅で
ないので、位置ズレの最小値を1つに保証でき、計測精
度を向上することができる。
Furthermore, since the density patterns are not at equal pitch, the minimum value of the positional deviation can be guaranteed to one, and the measurement accuracy can be improved. Further, since the widths of the black patterns are not equal, the minimum value of the positional deviation can be guaranteed to be one, and the measurement accuracy can be improved.

【0008】また、画素列と画素列の累積差分の最小値
を求めることにより、画素の副走査方向の位置誤差を高
精度に測定することができる。
Further, by obtaining the minimum value of the accumulated difference between the pixel rows, the position error of the pixel in the sub-scanning direction can be measured with high accuracy.

【0009】更に、補間手法を用いることにより、画素
位置ズレにおいて高精度に計測することができる。
Further, by using the interpolation method, it is possible to measure the pixel position deviation with high accuracy.

【0010】また、前回の累積位置ズレ最小値位置を記
憶し、次回の最小値位置を推測することで、比較領域を
減らせるので、高速に位置ズレ計算をすることができ
る。
[0010] Further, by storing the previous minimum value of the accumulated position deviation and estimating the next minimum value position, the comparison area can be reduced, so that the position deviation can be calculated at high speed.

【0011】更に、差分領域における差分の計算回数を
削減することで、計算分解能を落とすことなく、高速に
位置ズレ計算をすることができる。
Further, by reducing the number of times of calculation of the difference in the difference area, the position shift can be calculated at high speed without lowering the calculation resolution.

【0012】また、最小値算出に補間手法を用いること
により、計算分解能を落とすことなく、高速に位置ズレ
計算をすることができる。
Further, by using the interpolation method for calculating the minimum value, the position deviation can be calculated at high speed without lowering the calculation resolution.

【0013】[0013]

【発明の実施の形態】本発明の画像読取装置は、主走査
方向に均一濃度で、かつ該主走査方向と垂直な方向であ
る副走査に均一でない濃度を有する万線パターンと、主
走査方向に水平でなくかつ垂直でない方向に均一な濃度
を有する斜線パターンとが隣接して配置された原稿を画
像読取装置によって取得した画像信号から位置誤差を計
測する計測手段と、位置誤差の値により画像読取装置の
画像を補正する補正手段とを有する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An image reading apparatus according to the present invention comprises a line pattern having a uniform density in the main scanning direction and a non-uniform density in the sub-scanning direction perpendicular to the main scanning direction; Measuring means for measuring a position error from an image signal obtained by an image reading apparatus on a document in which a diagonal pattern having a uniform density in a non-horizontal and non-vertical direction is arranged adjacently, and an image based on the value of the position error Correction means for correcting the image of the reading device.

【0014】[0014]

【実施例】図1は本発明に係る画像位置ズレ検査装置の
検査対象である画像読取装置の構成を示す透視図であ
る。図2は図1の画像読取装置の構成を示す概略図であ
る。図3は本発明における画像読取装置の構成を示すブ
ロック図である。
FIG. 1 is a perspective view showing the configuration of an image reading apparatus to be inspected by an image misalignment inspection apparatus according to the present invention. FIG. 2 is a schematic diagram showing the configuration of the image reading device of FIG. FIG. 3 is a block diagram showing the configuration of the image reading apparatus according to the present invention.

【0015】はじめに、本発明に係る画像読取装置の構
成について図1を用いて説明すると、本発明の画像読取
装置10は、画像原稿を設置する原稿台である原稿設置
場所11と、当該原稿設置場所11を副走査方向に走査
する走行体12と、走行体12と垂直方向に列を成す、
例えばラインCCD等の1次元撮像素子13と、原稿設
置場所11を1次元撮像素子13上に像を結合するレン
ズ14と、走行体12に追従して副走査方向に走査して
原稿からの反射像をレンズ14を介して1次元撮像素子
13上に適切に結像させるための走行体15と、走行体
12が原稿設置場所11を副走査方向に走査すること
で、原稿設置場所11に設置された画像を線順次に画像
を取込み、走査することで2次元画像として読み取り、
当該画像信号を図示していない画像位置ズレ検査装置に
出力する画像信号出力ポート16と、走行体12、15
を駆動させる駆動手段17とを含んで構成されている。
なお、図1の画像読取装置10は、読取部走査型のフラ
ットタイプスキャナであるが、これに限定する必要はな
く、原稿台走査型や相対走査型のスキャナであってもよ
い。また、デジタルカメラ等の画像形成装置でもよい。
First, the configuration of an image reading apparatus according to the present invention will be described with reference to FIG. 1. An image reading apparatus 10 according to the present invention includes a document setting place 11 which is a document table on which an image document is set, and A traveling body 12 that scans the place 11 in the sub-scanning direction, and forms a line in a direction perpendicular to the traveling body 12;
For example, a one-dimensional image sensor 13 such as a line CCD, a lens 14 that couples the image of the document setting place 11 onto the one-dimensional image sensor 13, and a scan in the sub-scanning direction following the traveling body 12 and reflection from the document The traveling body 15 for appropriately forming an image on the one-dimensional image sensor 13 through the lens 14 and the traveling body 12 scans the original installation location 11 in the sub-scanning direction, thereby setting the original installation location 11. The obtained image is taken in line-sequentially and read as a two-dimensional image by scanning,
An image signal output port 16 for outputting the image signal to an image displacement inspection apparatus (not shown);
And a driving means 17 for driving the.
Note that the image reading apparatus 10 in FIG. 1 is a scanning unit scanning type flat type scanner, but is not limited thereto, and may be a platen scanning type or relative scanning type scanner. Further, an image forming apparatus such as a digital camera may be used.

【0016】また、本発明に係る画像読取装置の動作に
ついて図2を用いて説明すると、コンタクトガラス18
上に基準となるチャート原稿19を設置し、チャート原
稿19を照明する光源であるランプ20が撮像領域21
に光を照射する。そして、走行体15とそれを追従する
走行体12がチャート原稿19の先頭から終わりまで走
査することで折り返しミラー12−1,15−1やレン
ズ14を反射光が通過して、1次元撮像素子13で光電
変換され、画像信号として取り込まれる。
The operation of the image reading apparatus according to the present invention will be described with reference to FIG.
A reference chart document 19 is set on the top, and a lamp 20 serving as a light source for illuminating the chart document 19 is moved to an imaging area 21.
Is irradiated with light. The traveling body 15 and the traveling body 12 following the traveling body 15 scan from the top to the end of the chart document 19, so that the reflected light passes through the return mirrors 12-1 and 15-1 and the lens 14, and the one-dimensional image sensor At 13, the signal is photoelectrically converted and captured as an image signal.

【0017】次に、図3に示す本発明の画像読取装置の
動作について動作フローを示す図4に従って説明する。
画像読取装置の原稿の画像が照明され、画像反射光は折
り返しミラー、レンズといった光学系を介して到達した
1次元撮像素子によって線順次に取り込まれる。取り込
まれた原稿反射光は、光電変換部32により光電変換さ
れて、電気信号に変換される(ステップS101)。こ
れをA/D変換部33によってA/D変換することによ
り、アナログデータからデジタルデータとなる(ステッ
プS102)。当該データにシェーディング補正部34
によってシェーディング補正をかけ(ステップS10
3)、補正をかけられた画像信号は画像信号出力ポート
から出力される。画像データは制御部31により、線順
次に全画像分出力される。そして、予め設定された斜
線、万線パターン領域指定データから制御部31によ
り、パターン別領域別に切出され、画像記憶メモリ38
に格納される(ステップS104)。画像記憶メモリ3
8に格納された画像データが、制御部31により、2列
ずつ順次取出され、シフトと差分操作が行われる。最大
ずらし量は予め与えられている。画像位置ズレ計測部3
5で注目する2列のより累積ズレ量を算出し、位置ズレ
量の最小値が画像記憶メモリ38に格納される(ステッ
プS105)。画像位置ズレ計測部35は、位置誤差を
計測し、その計測結果を誤差信号として出力し、当該画
像位置ズレ計測部35から出力された位置誤差データと
しての誤差信号が位置誤差補正部36に入力され、位置
誤差補正部36により読み取った画像データと入力され
る誤差信号とから位置誤差を補正した画像データを生成
し、画像処理部37が画像データの補正や原稿認識など
を行う(ステップS106)。例えば、デジタル複写機
の場合には、当該画像処理部37によって処理された画
像データが画像記録部(画像形成部)に入力されて画像
形成が行われる。画像処理部37は、例えば原稿認識
部、変倍部、フィルタ部、γ補正部、階調処理部とから
構成されている。原稿認識部は、画像データに応じて文
字領域か絵柄領域かを判定する。変倍部は、主走査方向
の拡大、縮小、あるいは等倍処理を行い、フィルタ部で
は、画像記録部の周波数特性や原稿認識部の判定結果に
基づいてM×Nの空間フィルタを用い、平滑化処理や鮮
鋭化処理を行う。γ補正部は、画像記録部の周波数特性
や原稿認識部の判定結果に基づいてγカーブを変更し、
補正処理を実行する。階調処理部は、画像記録部の階調
特性や原稿認識部の判定結果によりディザ処理などの量
子化を行う。
Next, the operation of the image reading apparatus of the present invention shown in FIG. 3 will be described with reference to FIG. 4 showing an operation flow.
The image of the original of the image reading device is illuminated, and the reflected light of the image is line-sequentially captured by a one-dimensional image sensor that arrives via an optical system such as a folding mirror and a lens. The captured original reflected light is photoelectrically converted by the photoelectric conversion unit 32 and is converted into an electric signal (step S101). This is converted from analog data to digital data by A / D conversion by the A / D converter 33 (step S102). The shading correction unit 34
(Step S10)
3), the corrected image signal is output from the image signal output port. The image data is output line by line by the control unit 31 for all images. The control section 31 cuts out the predetermined oblique line and line pattern area designation data for each pattern area, and stores the image data in the image storage memory 38.
(Step S104). Image storage memory 3
The image data stored in 8 is sequentially extracted by the control unit 31 every two columns, and shift and difference operations are performed. The maximum shift amount is given in advance. Image position shift measuring unit 3
In step 5, the cumulative shift amount is calculated from the two columns of interest, and the minimum value of the positional shift amount is stored in the image storage memory 38 (step S105). The image position deviation measuring unit 35 measures the position error, outputs the measurement result as an error signal, and inputs the error signal as the position error data output from the image position deviation measuring unit 35 to the position error correction unit 36. Then, image data in which a position error has been corrected is generated from the image data read by the position error correction unit 36 and the input error signal, and the image processing unit 37 performs correction of the image data, document recognition, and the like (step S106). . For example, in the case of a digital copying machine, image data processed by the image processing unit 37 is input to an image recording unit (image forming unit) to form an image. The image processing unit 37 includes, for example, a document recognition unit, a scaling unit, a filter unit, a γ correction unit, and a gradation processing unit. The document recognizing unit determines a character area or a picture area according to the image data. The scaling unit performs enlargement, reduction, or equal magnification processing in the main scanning direction, and the filter unit uses an M × N spatial filter based on the frequency characteristics of the image recording unit and the determination result of the document recognition unit to perform smoothing. And sharpening processing. The γ correction unit changes the γ curve based on the frequency characteristics of the image recording unit and the determination result of the document recognition unit,
Execute the correction process. The gradation processing unit performs quantization such as dither processing based on the gradation characteristics of the image recording unit and the determination result of the document recognition unit.

【0018】また、画像読取装置では、図5に示すよう
に、被写体領域51の領域外52パターン領域に当該パ
ターンが配置されている。そのパターンは、例えば、図
6に示すような、副走査方向に水平な方向の白黒万線パ
ターンと副走査方向に水平かつ垂直でない方向に均一な
濃度を有する白黒斜線パターンが交互に副走査方向に垂
直にレイアウトされたチャートパターン、また図7に示
すような、副走査方向に水平かつ垂直でない方向に均一
な濃度を有する白黒斜線パターンが副走査方向に水平な
方向の白黒万線パターンに挟まれて副走査方向に垂直方
向にレイアウトされたチャートパターンである。これら
の場合、画像読取装置でユーザーが画像を取り込みなが
らリアルタイムに補正する画像読取装置となる。また、
図8に示すような、被写体領域内で白黒の万線と斜線パ
ターン混合チャート原稿をパターンとして扱ってもよ
い。この場合は、例えば、組立て検査工程において、作
業者が当該チャートを画像読取装置で読取らせて補正量
を記憶させる。ユーザー先でサービスマンが同様の作業
を行ってもよい。
In the image reading apparatus, as shown in FIG. 5, the pattern is arranged in a pattern area 52 outside the subject area 51. For example, as shown in FIG. 6, a black-and-white line pattern in the horizontal direction in the sub-scanning direction and a black-and-white diagonal line pattern having a uniform density in the horizontal and non-vertical directions in the sub-scanning direction are alternately arranged in the sub-scanning direction. A black-and-white diagonal pattern having a horizontal density in the sub-scanning direction and a black-and-white diagonal pattern having a uniform density in the non-perpendicular direction as shown in FIG. 4 is a chart pattern laid out in the vertical direction in the sub-scanning direction. In these cases, the image reading apparatus is an image reading apparatus that corrects the image in real time while the user takes in the image. Also,
As shown in FIG. 8, a black-and-white mixed line and oblique line pattern mixed chart document in the subject area may be treated as a pattern. In this case, for example, in the assembly inspection process, the operator causes the image reading device to read the chart and stores the correction amount. A service person may perform the same operation at the user's site.

【0019】更に、図3の画像位置ズレ計測部35とし
ては、例えば、図9の白黒線パターン部のみを用いて、
黒パターンの重心を求めることにより、主走査方向の位
置ズレを測定する。重心を求めるためのウィンドウは、
白黒パターンのサイズによって決まる。例えば、主走査
方向に背景が白パターンで、黒パターンが10画素であ
れば、主走査方向の読取位置ズレ分を考慮して、ウィン
ドウサイズを20×1画素(主走査方向×副走査方
向)、30×1画素などが適用できる。20×1画素の
ウィンドウで、理想的な配置であれば、主走査方向に白
パターン5画素で、黒パターンが10画素、白パターン
5画素という配置になる。ウィンドウは副走査方向に1
画素分づつ移動し、ウィンドウ内での重心計算を行う。
1番最初の重心計算結果を記憶メモリに記憶しておく。
記憶メモリから最初の重心計算結果データを読出し、現
在のウィンドウで重心計算した結果との差分を主走査方
向の位置ズレとして求める。この位置ズレデータを記憶
メモリに記憶しておく。さらに、図9の白黒斜線パター
ン部のみを用いて、同様に重心計算を行い、副走査方向
の位置ズレとして求める。
Further, for example, only the black and white line pattern portion shown in FIG.
By calculating the center of gravity of the black pattern, the positional deviation in the main scanning direction is measured. The window for finding the center of gravity is
Determined by the size of the black and white pattern. For example, if the background is a white pattern in the main scanning direction and the black pattern is 10 pixels, the window size is set to 20 × 1 pixel (main scanning direction × sub-scanning direction) in consideration of the reading position shift in the main scanning direction. , 30 × 1 pixel or the like can be applied. In a window of 20 × 1 pixels, if the arrangement is ideal, the arrangement is such that there are 5 pixels in the white pattern, 10 pixels in the black pattern and 5 pixels in the white pattern in the main scanning direction. Window is 1 in the sub-scanning direction
It moves by pixels and calculates the center of gravity within the window.
The first center of gravity calculation result is stored in the storage memory.
The first barycenter calculation result data is read from the storage memory, and the difference from the barycenter calculation result in the current window is obtained as a position shift in the main scanning direction. This displacement data is stored in the storage memory. Further, the center of gravity is calculated in the same manner using only the black-and-white diagonal line pattern portion shown in FIG. 9 to obtain a position shift in the sub-scanning direction.

【0020】または、図3の画像位置ズレ計測部35と
しては、図10及び図11に示すように、例えば図6の
白黒線パターンを用いて、画像記憶メモリから万線パタ
ーン或いは斜線パターンの画像データの1列目と2列目
を読出し、斜線パターンであれば、2列目のデータ列に
tanθ(θは斜線と副走査とがなす角度)、例えばθ
は45度、を除算して、原稿パターンの移動分を補正す
る。これで得られた画素毎に1列目と2列目の画素デー
タ、例えば、画素のモノクロ階調、8bitで0〜255
までの値、の差分を取り、符号が負であれば、符号反転
させる。これを予め設定されている列の範囲での累積値
を算出する。当該累積値の算出が終了したら、2列目の
画像データを、例えば右に1画素分シフトし、1列目と
2列目の画素の差分の累積値を取得する。当該累積値算
出を、例えば予め設定された最大シフト8とすると、−
4画素位置から+4画素位置まで累積値取得を繰り返
す。これら最大シフト8回分の累積値の中から最小値を
算出する。これらの操作を画像の最終列まで順次実施
し、各列毎の最小値を算出する。これらは例えば、2列
目の画素データが配列に入っていれば、1列目と差分を
取る配列を順次ずらすことと同じ操作である。例えば、
1列で2048画素あるとした時、8回累積値を計算す
るには、評価範囲を比較中心から2040画素とすれ
ば、2列目を−4から+4まで8回シフトして、累積値
算出を行い、それらの最小値を求める。この操作を画像
の最終列まで順次実施し、各列毎の最小値を取得する。
なお、当該画素シフト位置により、最小値の正負が決ま
る。
Alternatively, as shown in FIGS. 10 and 11, for example, as shown in FIGS. 10 and 11, the image misalignment measuring section 35 uses the monochrome line pattern shown in FIG. The first and second columns of data are read out, and if the pattern is a diagonal line pattern, tan θ (θ is the angle between the diagonal line and the sub-scan), for example, θ
Is divided by 45 degrees to correct the movement of the original pattern. The pixel data of the first column and the second column for each pixel obtained as described above, for example, monochrome gradation of a pixel, 0 to 255 in 8 bits
The difference between the values up to is taken, and if the sign is negative, the sign is inverted. This is calculated as a cumulative value in the range of a preset column. When the calculation of the cumulative value is completed, the image data in the second column is shifted to the right by, for example, one pixel, and the cumulative value of the difference between the pixels in the first and second columns is obtained. Assuming that the accumulated value calculation is, for example, a preset maximum shift 8,-
The acquisition of the accumulated value is repeated from the four pixel position to the +4 pixel position. The minimum value is calculated from the accumulated values for these eight maximum shifts. These operations are sequentially performed up to the last column of the image, and the minimum value for each column is calculated. These operations are the same as, for example, sequentially shifting the array that takes the difference from the first column if the pixel data of the second column is included in the array. For example,
If there are 2048 pixels in one column, to calculate the cumulative value eight times, if the evaluation range is 2040 pixels from the comparison center, the second column is shifted eight times from -4 to +4, and the cumulative value is calculated. And find their minimum values. This operation is sequentially performed up to the last column of the image, and the minimum value for each column is obtained.
Note that the minimum value is determined by the pixel shift position.

【0021】そして、図3の画素位置ズレ計測部35に
より算出された万線パターンの最小位置ズレデータを記
憶しておく。例えば、当該万線最小位置ズレ量記憶から
万線最小位置ズレデータを読み出して、当該万線パター
ンと隣接する斜線パターンの最小位置ズレ量にtanθ
を乗算して、当該データを引き算する。当該結果にさら
にtanθを除算することで、主走査方向の位置ズレ成
分が除去された副走査方向最小位置ズレ量が算出され
る。結果を図3の画像記憶メモリ38に格納する。
Then, the minimum positional deviation data of the line pattern calculated by the pixel positional deviation measuring unit 35 in FIG. 3 is stored. For example, the minimum line position deviation data is read from the minimum line position deviation amount storage, and the minimum line position deviation amount of the oblique line pattern adjacent to the line line pattern is set to tanθ.
And subtract the data. By further dividing tan θ by the result, the minimum positional deviation amount in the sub-scanning direction from which the positional deviation component in the main scanning direction has been removed is calculated. The result is stored in the image storage memory 38 of FIG.

【0022】また、図3の位置誤差補正部36として
は、万線パターンによる主走査方向の位置誤差補正と斜
線パターンによる副走査方向の位置誤差補正、つまり主
走査方向の位置誤差を除去してあるものがある。
The position error correction unit 36 in FIG. 3 removes a position error in the main scanning direction by using a line pattern and a position error in the sub-scanning direction by using a diagonal line pattern. There is something.

【0023】次に、主走査方向の位置誤差補正手段につ
いて説明する。求める位置誤差量は、注目する列におい
て、(注目列−1)列目までの最小値を累積加算した値
である。例えば、一番最初の列を基準とした、主走査方
向の位置ズレ量を算出している。従って、画像の1列目
と2列目で+0.1ズレがあれば、これは2列目の位置
誤差となる。画像の2列目と3列目で−0.2ズレがあ
れば、3列目の位置誤差は、−0.1となる。補正量
は、例えば、その主走査方向に一律に並行移動している
と考える。図5の平面図では、両サイドにパターンが存
在するので、それぞれの位置誤差量を計測したものを加
算して2で割ったデータを用いればよい。従って、補正
するためには位置ズレ量だけシフト処理を行う。例え
ば、位置誤差補正の手法としては、図12に示すよう
に、平滑化フィルタを用いて、主走査方向の画像シフト
を行う(ステップS401)。画像の平滑化に対する画
像復元は、強調フィルタを用いて行う(ステップS40
2)。補正量が整数値の場合は、シフト処理をする平滑
フィルタリングのみを実施する。例えば、位置誤差が+
1画素の場合、−1画素シフトさせて補正するので、
(1,0,0)の平滑フィルタを読み取り画像データ列
に対し実施する。補正量が少数値を含む場合、シフト処
理後にシフト処理に伴う平滑フィルタを補正するために
強調処理フィルタリングを実施する。例えば、位置誤差
が−0.1画素の場合、+0.1画素シフトさせて補正
するので、(0,0.9,0.1)の平滑フィルタを読
み取り画像データ列に対し実施する。さらに、平滑フィ
ルタを補正するために(−0.05,1.1,−0.0
5)の強調処理フィルタリングを実施する。
Next, the means for correcting the position error in the main scanning direction will be described. The position error amount to be obtained is a value obtained by cumulatively adding the minimum values up to the (first column-1) column in the column of interest. For example, the amount of positional deviation in the main scanning direction with respect to the first column is calculated. Therefore, if there is a +0.1 shift between the first column and the second column of the image, this is a position error of the second column. If there is a -0.2 shift between the second and third columns of the image, the position error in the third column is -0.1. It is assumed that the correction amount is, for example, uniformly moved in parallel in the main scanning direction. In the plan view of FIG. 5, since there are patterns on both sides, data obtained by adding the measured values of the position error amounts and dividing by 2 may be used. Therefore, in order to make a correction, a shift process is performed by the amount of displacement. For example, as a method of correcting the position error, as shown in FIG. 12, an image is shifted in the main scanning direction using a smoothing filter (step S401). Image restoration for image smoothing is performed using an enhancement filter (step S40).
2). When the correction amount is an integer value, only the smoothing filtering for performing the shift processing is performed. For example, if the position error is +
In the case of one pixel, since the correction is performed by shifting by one pixel,
The (1, 0, 0) smoothing filter is read and applied to the image data sequence. When the correction amount includes a decimal value, after the shift processing, enhancement processing filtering is performed to correct a smoothing filter accompanying the shift processing. For example, when the position error is −0.1 pixel, the correction is performed by shifting by +0.1 pixel, so that a (0, 0.9, 0.1) smoothing filter is applied to the read image data sequence. Further, in order to correct the smoothing filter, (−0.05, 1.1, −0.0
The emphasis processing filtering of 5) is performed.

【0024】また、図8の万線チャートを用いて、被写
体領域自体がパターンの場合は、例えば、主副に切出し
た画像領域により主走査が位置誤差を持つとみなせる。
例えば、A3において、256×2048画素を切出
し、27×20分割で、主走査方向の補正データを保持
する。この補正データを予め格納、またはサービスマン
が再度取り直して、実際の被写体領域の画像を補正する
ようにすればよい。
When the subject area itself is a pattern using the line chart of FIG. 8, for example, it can be considered that the main scanning has a position error due to the image area cut out into the main and sub areas.
For example, in A3, 256 × 2048 pixels are cut out, and correction data in the main scanning direction is held in 27 × 20 divisions. The correction data may be stored in advance, or may be retaken by a service person to correct the actual image of the subject area.

【0025】次に、3次関数コンボリューションを利用
した主・副走査方向の位置誤差の補正手段について説明
する。図13に3次関数コンボリューションを利用した
補正のモデル図を、図15に補正の処理手順を示すフロ
ーチャートを示す。図13から分かるように位置ズレ
(速度変動)がない場合の主(副)走査方向の画素位置
は、画素列Pで示すように等間隔となる。しかし、位置
ズレ(速度変動)がある場合には、画素列Qで示すよう
にその間隔はバラツキ、正しい位置から外れてくる。図
13には本来Pの位置になければならない画素が実際
には画素Qの位置にあることを示している。ここで、
nライン目のある走査方向のデータPの画像データ
(濃度データ)を画素列Qの画像データと位置データと
から重み関数である3次関数コンボリューションを使用
して作成する例について説明すると、3次関数コンボリ
ューションを利用する場合、理想的なnライン目
(P)の位置から2画素分以内(r0)のデータを位
置誤差データから検出する(ステップS501)。この
場合は、Q、Qn+1、Qn+2、Qn+3、Qn+4
データが対象となる。ここで2画素分以内としているの
は、r0以上のデータは補正係数を0として取り扱うの
でそれ以上のデータは必要がないためである。そして、
各データのPからの距離rによって各データQにおけ
る補間関数h(r)を求める。これが補正係数となる。こ
こで、補間関数h(r)はsinx/xの区分的3次多項
式近似で中心からの距離rによって以下の式、すなわ
ち、
Next, a description will be given of a means for correcting a position error in the main and sub scanning directions using a cubic function convolution. FIG. 13 is a model diagram of the correction using the cubic function convolution, and FIG. 15 is a flowchart showing the processing procedure of the correction. As can be seen from FIG. 13, pixel positions in the main (sub) scanning direction when there is no positional deviation (speed fluctuation) are equally spaced as shown by the pixel column P. However, when there is a positional deviation (speed fluctuation), the interval varies as shown by the pixel column Q and deviates from a correct position. In practice there must be a pixel in the original position of P n in Figure 13 shows that in the position of the pixel Q n. here,
An example will be described in which image data (density data) of data Pn in a certain scanning direction on the nth line is created from the image data of the pixel column Q and the position data using a cubic function convolution as a weighting function. When using the cubic function convolution, data within two pixels (r0) from the ideal position of the nth line ( Pn ) is detected from the position error data (step S501). In this case, Q n, Q n + 1 , Q n + 2, Q n + 3, Q n + 4 of the data are of interest. Here, the reason why the number of pixels is within two pixels is that data of r0 or more is treated as having a correction coefficient of 0, so that no more data is required. And
An interpolation function h (r) for each data Q is obtained from the distance r of each data from Pn . This is the correction coefficient. Here, the interpolation function h (r) is a piecewise cubic polynomial approximation of sinx / x, and the following equation, depending on the distance r from the center:

【0026】 h(r)=1−2|r|2+|r|3 ・・・(1) ただし、0≦|r|<1 h(r)=4−8|r|+5|r|2−|r|3 ・・・(2) ただし、1≦|r|<2 h(r)=0 ・・・(3) ただし、2≦|r|H (r) = 1-2 | r | 2+ | r | 3 (1) where 0 ≦ | r | <1 h (r) = 4-8 | r | +5 | r | 2 − | R | 3 (2) where 1 ≦ | r | <2 h (r) = 0 (3) where 2 ≦ | r |

【0027】で表わされる。そして、この補間関数h
(r)のもとで、補正係数を対応するQのデータに掛け
て、Pを求める。また、濃度ムラを補正するために各
補正係数の合計が1になるように分母に補正係数の合計
をとる。すなわち、
## EQU2 ## And this interpolation function h
Under (r), the correction coefficient is multiplied by the corresponding Q data to obtain Pn . Further, in order to correct the density unevenness, the sum of the correction coefficients is set to the denominator so that the sum of the correction coefficients becomes 1. That is,

【0028】 P={Q・h(r1)+Qn+1・h(r2)+Qn+2・h(r3) +Qn+3・h(r4)+Qn+4・h(r5)}/{h(r1) +h(r2)+h(r3)+h(r4)+h(r5)} ・・・(4) となる。[0028] P n = {Q n · h (r1) + Q n + 1 · h (r2) + Q n + 2 · h (r3) + Q n + 3 · h (r4) + Q n + 4 · h (r5) {/ {H (r1) + h (r2) + h (r3) + h (r4) + h (r5)} (4)

【0029】この制御をnライン目の各主走査方向のデ
ータにおいて終了したら、n+1ラン目のラインへとシ
フトしていき、最終ラインまで繰り返し行う。このとき
式(4)において補間係数h(r)と分母の補間係数の和
の計算とその逆数の計算は、対応する主走査方向の画像
データの補正の前に1回実行すればよい。このように制
御することによって前述のようにして測定した位置誤差
データに基づいて、読み取った画像データから正しい位
置で読み取った場合の画像データを作成することがで
き、これによって位置誤差を補正することが可能にな
る。なお、図4、図15では、画像位置ズレ計測と位置
誤差補正は、全画像をそれぞれ処理しているが、勿論、
メモリの効率を鑑みて、2ラインづつ取り込んで位置ズ
レ計測をした後、すぐに補正を行ってもよい。
When this control is completed for the data in the main scanning direction of the n-th line, the control is shifted to the (n + 1) -th line, and is repeated until the last line. At this time, the calculation of the sum of the interpolation coefficient h (r) and the interpolation coefficient of the denominator in the equation (4) and the calculation of the reciprocal thereof may be performed once before the correction of the corresponding image data in the main scanning direction. By performing such control, it is possible to create image data when read at a correct position from the read image data based on the position error data measured as described above, thereby correcting the position error. Becomes possible. In FIGS. 4 and 15, the image misalignment measurement and the position error correction process the entire image, respectively.
In consideration of the efficiency of the memory, the correction may be performed immediately after fetching every two lines and measuring the positional deviation.

【0030】本実施例における「万線パターン」、「斜
線パターン」をそれぞれ図16及び図17に示す。ここ
でいう「万線パターン」とは、光学系が走査する方向に
水平な方向に等間隔のピッチで、例えば白黒パターンが
並ぶものをいう。「斜線パターン」とは、光学系が走査
する方向に水平でなくかつ垂直でない方向に等間隔のピ
ッチで、例えば白黒パターンが並ぶものをいう。このパ
ターンの間隔が画像読取装置の解像度より大きい万線パ
ターン、斜線パターンからなるパターンである。
FIGS. 16 and 17 show "line pattern" and "diagonal line pattern" in this embodiment, respectively. Here, the “line pattern” means a pattern in which, for example, black and white patterns are arranged at equal pitches in a direction horizontal to the scanning direction of the optical system. The “diagonal pattern” refers to a pattern in which, for example, black and white patterns are arranged at equal intervals in a direction that is not horizontal and not perpendicular to the scanning direction of the optical system. This pattern is a pattern composed of a line pattern and an oblique line pattern in which the pattern interval is larger than the resolution of the image reading apparatus.

【0031】また、本実施例における「濃度パターン」
を図18及び図19に示す。ここでいう「パターン」と
は、光学系が走査する方向に水平な方向に、例えば、白
黒パターンであり、同じ幅の黒パターンが等間隔でない
ピッチで、並ぶものをいう。この黒パターンの幅が画像
読取装置、例えばCCDを備えたスキャナ装置、の解像
度より大きい万線パターンからなるパターンである。ま
たは、「パターン」とは、光学系の走査方向と垂直な方
向に対して角度θを持ち、等間隔のピッチで例えば白黒
パターンが並ぶものであり、同じ幅の黒パターンが等間
隔でないピッチで、並ぶものをいう。この黒パターンの
幅が画像読取装置、例えばCCDを備えたスキャナ装
置、の解像度より大きい斜線パターンからなるパターン
である。
The "density pattern" in the present embodiment
Are shown in FIG. 18 and FIG. Here, the “pattern” refers to, for example, a black and white pattern in which the black patterns having the same width are arranged at a non-equidistant pitch in a direction horizontal to the scanning direction of the optical system. The width of the black pattern is a line pattern that is larger than the resolution of an image reading apparatus, for example, a scanner apparatus having a CCD. Alternatively, a `` pattern '' is one in which, for example, black and white patterns are arranged at equal intervals with an angle θ with respect to a direction perpendicular to the scanning direction of the optical system, and black patterns with the same width are not at equal intervals. , Means something in line. The width of the black pattern is a pattern formed by a diagonal pattern larger than the resolution of an image reading device, for example, a scanner device having a CCD.

【0032】更に、本実施例における「万線パター
ン」、「斜線パターン」を図20及び図21に示す。こ
こでいう「万線パターン」とは、光学系が走査する方向
に水平な方向に、例えば、白黒濃度パターンであり、黒
パターン幅の相異なるパターンが等間隔ピッチで、並ぶ
ものをいう。この黒パターンの幅が画像読取装置、例え
ばCCDを備えたスキャナ装置、の解像度より大きい万
線パターンからなるパターンである。「斜線パターン」
とは、光学系の走査方向と垂直な方向に対して角度θを
持ち、等間隔のピッチで例えば白黒濃度パターンが並ぶ
ものであり、黒パターン幅の相異なるパターンが等間隔
ピッチで、並ぶものをいう。この黒パターンの幅が画像
読取装置、例えばCCDを備えたスキャナ装置、の解像
度より大きい斜線パターンからなるパターンである。
Further, FIGS. 20 and 21 show a "line pattern" and a "diagonal line pattern" in this embodiment. Here, the “line pattern” is, for example, a black-and-white density pattern in which patterns having different black pattern widths are arranged at equal pitches in a direction horizontal to the scanning direction of the optical system. The width of the black pattern is a line pattern that is larger than the resolution of an image reading apparatus, for example, a scanner apparatus having a CCD. "Diagonal pattern"
Is an angle θ with respect to a direction perpendicular to the scanning direction of the optical system, for example, black and white density patterns are arranged at equal pitches, and patterns with different black pattern widths are arranged at equal pitches. Say. The width of the black pattern is a pattern formed by a diagonal pattern larger than the resolution of an image reading device, for example, a scanner device having a CCD.

【0033】次に、本実施例における累積値算出手段、
最小値算出手段、位置算出手段、万線最小位置ズレ量記
憶手段、光学系走査方向位置ズレ算出手段及び位置誤差
算出手段について図22〜図24に従って説明する。
Next, the cumulative value calculating means in this embodiment,
The minimum value calculating unit, the position calculating unit, the line minimum position shift amount storing unit, the optical system scanning direction position shift calculating unit, and the position error calculating unit will be described with reference to FIGS.

【0034】記憶メモリから万線パターン或いは斜線パ
ターンの画像データの1列目と2列目を読出し、斜線パ
ターンであれば、2列目のデータ列にtanθ(θは斜
線と副走査とがなす角度)、例えばθは45度、を除算
して、原稿パターンの移動分を補正する。これで得られ
た画素毎に1列目と2列目の画素データ、例えば、画素
のモノクロ階調、8bitで0〜255までの値、の差分
を取り、符号が負であれば、符号反転させる。これを予
め設定されている列の範囲で加算し、累積値を算出す
る。当該累積値の算出が終了したら、2列目の画像デー
タを、例えば右に1画素分シフトし、1列目と2列目の
画素の差分の累積値を取得する(累積値算出手段)。当
該累積値算出を、例えば、予め設定された最大シフト8
とすると、−4画素位置から+4画素位置まで累積値取
得を繰り返す。これら最大シフト8回分の累積値の中か
ら最小値を算出する(最小値算出手段)。これらの操作
を画像の最終列まで順次実施し、各列毎の最小値を算出
する(位置ズレ算出手段)。これらは例えば、2列目の
画素データが配列に入っていれば、1列目と差分を取る
配列を順次ずらすことと同じ操作である。例えば、1列
で2048画素あるとした時、8回累積値を計算するに
は、評価範囲を比較中心から2040画素とすれば、2
列目を−4から+4まで8回シフトして、累積値算出を
行い、それらの最小値を求める。この操作を画像の最終
列まで順次実施し、各列毎の最小値を取得する。なお、
当該画素シフト位置により、最小値の正負が決まる。
The first and second columns of the line data or the oblique line pattern image data are read from the storage memory. If the oblique line pattern is used, tan θ (θ is the oblique line and the sub-scan is formed in the second data line) Angle), for example, θ is 45 degrees, to correct the movement of the document pattern. The difference between the pixel data of the first and second columns, for example, the monochrome gradation of the pixel, the value of 8 bits from 0 to 255 is obtained for each pixel, and the sign is inverted if the sign is negative. Let it. This is added within a preset range of columns to calculate an accumulated value. When the calculation of the cumulative value is completed, the image data in the second column is shifted, for example, by one pixel to the right, and the cumulative value of the difference between the pixels in the first and second columns is obtained (cumulative value calculating means). The calculation of the accumulated value is performed, for example, by using a preset maximum shift 8
Then, the acquisition of the accumulated value is repeated from the −4 pixel position to the +4 pixel position. The minimum value is calculated from the accumulated values of these eight maximum shifts (minimum value calculating means). These operations are sequentially performed up to the last column of the image, and the minimum value for each column is calculated (position shift calculating unit). These operations are the same as, for example, sequentially shifting the array that takes the difference from the first column if the pixel data of the second column is included in the array. For example, when there are 2048 pixels in one column, to calculate the cumulative value eight times, if the evaluation range is 2040 pixels from the comparison center, then 2
The column is shifted eight times from -4 to +4, and the accumulated value is calculated, and the minimum value is calculated. This operation is sequentially performed up to the last column of the image, and the minimum value for each column is obtained. In addition,
The minimum value is determined by the pixel shift position.

【0035】位置ズレ算出手段により算出された万線パ
ターンの最小位置ズレデータを記憶しておく(万線最小
位置ズレ量記憶手段)。例えば、当該万線最小位置ズレ
量記憶から万線最小位置ズレデータを読み出して、当該
万線パターンと隣接する斜線パターンの最小位置ズレ量
にtanθ乗算して、当該データを引き算する。当該結
果にさらにtanθを除算することで、主走査方向の位
置ズレ成分が除去された副走査方向最小位置ズレ量が算
出される(光学系走査方向位置ズレ算出手段)。結果を
データ記憶メモリに格納する。求める位置誤差量は、注
目する列において、(注目列−1)列目までの最小値を
累積加算した値である。各列毎の最小値とは、一番最初
の列を基準とした、主走査方向の位置ズレ量を算出して
いる。従って、画像の1列目と2列目で+0.1ズレが
あれば、これは2列目の位置誤差となる。画像の2列目
と3列目で−0.2ズレがあれば、3列目の位置誤差
は、−0.1となる。
The minimum displacement data of the line pattern calculated by the position displacement calculating means is stored (minimum line displacement amount storage means). For example, the parallel line minimum position shift data is read from the parallel line minimum position shift amount storage, and the minimum position shift amount of the oblique line pattern adjacent to the parallel line pattern is multiplied by tan θ to subtract the data. By further dividing the result by tan θ, the minimum positional deviation amount in the sub-scanning direction from which the positional deviation component in the main scanning direction has been removed is calculated (optical system scanning direction positional deviation calculating means). The result is stored in the data storage memory. The position error amount to be obtained is a value obtained by cumulatively adding the minimum values up to the (first column-1) column in the column of interest. The minimum value for each column is calculated as the amount of positional deviation in the main scanning direction with respect to the first column. Therefore, if there is a +0.1 shift between the first column and the second column of the image, this is a position error of the second column. If there is a -0.2 shift between the second and third columns of the image, the position error in the third column is -0.1.

【0036】位置誤差量:Sn=a1+a2+…+an
−1(n=1,2,3,…、an−1は当該列の最小位
置ズレ量)
Position error: Sn = a1 + a2 +... + An
-1 (n = 1, 2, 3,..., An-1 is the minimum positional deviation amount of the column)

【0037】また、本実施例におけるデータ補間手段及
び累積値取得手段について図25〜図29に従って説明
する。例えば600dpiの解像度を持つ画像読取装置
の場合、1画素は約42.3μmとなる。画素ピッチは
同じく42.3μmとなる。これより高精度にするため
に、1画素ピッチ間(画素中心間)を、例えばスプライ
ン補間の手法を用いて補間する(データ補間手段)。例
えば区間を8分割するとすれば、補間式から5.2μm
の精度で階調を算出できる。当該補間ピッチを用いて2
列目の画像データを光学系が走査する方向に垂直な方向
にずらすことで高精度な位置ズレを計測することができ
る(累積値取得手段)。
The data interpolation means and the accumulated value acquisition means in this embodiment will be described with reference to FIGS. For example, in the case of an image reading apparatus having a resolution of 600 dpi, one pixel is about 42.3 μm. The pixel pitch is also 42.3 μm. In order to achieve higher accuracy, interpolation is performed between pixel pitches (between pixel centers) using, for example, a spline interpolation technique (data interpolation means). For example, if a section is divided into eight, 5.2 μm
Can be calculated with an accuracy of. 2 using the interpolation pitch
By shifting the image data in the column in a direction perpendicular to the direction in which the optical system scans, highly accurate positional deviation can be measured (accumulated value acquisition means).

【0038】更に、本実施例における前段最小位置記憶
手段及び差分領域算出手段について図30〜図32に従
って説明する。記憶メモリから画像データの1列目と2
列目を読出し、斜線パターンの場合は、2列目のデータ
列に1/tanθを乗じて原稿パターンの移動分を調整
する。例えば、1画素間をスプライン補間で100分割
して、−50補間ピッチ分から+50補間ピッチ分シフ
トしてずらす。補間ピッチ毎に1列目と2列目の補間式
から算出した画素データ、例えば、画素のモノクロ階
調、8bitで0〜255までの値、の差分を取り、符号
が負であれば、符号反転させる。これを予め設定されて
いる列の比較範囲での累積値を算出する。全ての累積値
算出が終了したら、2列目の画像データを例えば右に1
補間ピッチ分シフトし、1列目と2列目の差分の累積値
を取得する。予め設定された最大シフト分、例えば10
0シフトまで累積値取得を繰り返す。これら最大シフト
100回分の相対位置である累積値の中から最小値を取
得する。当該最小値時の位置を記憶する(前段最小位置
記憶手段)。この最小位置を次回からのずらしの中心位
置とし、例えば比較範囲として40とすると前記最小位
置から−20の位置を2列目の初期位置とする(差分領
域算出手段)。これらの操作を画像の最終列まで順次実
施し、各列毎の最小値を算出する。1画素を100分割
することとは、例えば、1画素データから補間ピッチ分
ずつ階調を計算し、1個の配列を100個の配列に変換
するのと同じ操作である。最初の1回は、最大シフト1
00回行うが、2回目からは1回目の最小位置を、3回
目からは2回目のというように、前回の最小位置を中心
として−20から+20までの最大40シフトで最小値
を追い込む。例えば、画像データ1列が2048画素
で、補間ピッチが1画素の100分の1とした時、10
0回累積値を計算するには、比較範囲を比較中心から2
047画素とすれば、初回は−50から+50まで10
0回シフトして、累積値算出を行い、それらの最小値を
求める。最小値になる位置が+1であれば、次回の比較
対象となる2列目は、−19から+21までシフトし、
累積値を算出する。当該累積値の最小値を取出し、記憶
する。この操作を画像の最終列まで順次実施し、各列毎
の最小値を取得する。
Further, the preceding stage minimum position storage means and difference area calculation means in this embodiment will be described with reference to FIGS. First row and second row of image data from storage memory
The column is read out, and in the case of the oblique line pattern, the movement of the document pattern is adjusted by multiplying 1 / tan θ by the data column of the second column. For example, one pixel is divided into 100 by spline interpolation, and shifted from the −50 interpolation pitch by a +50 interpolation pitch. For each interpolation pitch, the difference between the pixel data calculated from the interpolation formulas of the first and second columns, for example, the monochrome gradation of the pixel, a value of 0 to 255 in 8 bits, is calculated. Turn it over. This is calculated as a cumulative value in a comparison range of a preset column. When the calculation of all the accumulated values is completed, the image data in the second column is, for example,
After shifting by the interpolation pitch, the cumulative value of the difference between the first and second columns is obtained. A predetermined maximum shift amount, for example, 10
The acquisition of the cumulative value is repeated until the 0 shift. The minimum value is acquired from among the accumulated values that are the relative positions for the maximum 100 shifts. The position at the minimum value is stored (previous stage minimum position storage means). If this minimum position is the center position of the shift from the next time, for example, if the comparison range is 40, the position -20 from the minimum position is set as the initial position of the second column (difference area calculation means). These operations are sequentially performed up to the last column of the image, and the minimum value for each column is calculated. To divide one pixel into 100 is, for example, the same operation as calculating a gradation for each interpolation pitch from one pixel data and converting one array to 100 arrays. First shift is maximum shift 1
00 times are performed, but the minimum value is driven by a maximum of 40 shifts from -20 to +20 around the previous minimum position, such as the first minimum position from the second time and the second time from the third time. For example, when one column of image data is 2048 pixels and the interpolation pitch is 1/100 of one pixel, 10
To calculate the cumulative value 0 times, set the comparison range to 2 from the comparison center.
Assuming 047 pixels, the first time is 10 from -50 to +50.
The shift is performed 0 times, the cumulative value is calculated, and the minimum value is calculated. If the position where the minimum value becomes +1 is, the second column to be compared next time is shifted from -19 to +21,
Calculate the cumulative value. The minimum value of the accumulated value is extracted and stored. This operation is sequentially performed up to the last column of the image, and the minimum value for each column is obtained.

【0039】更に、本実施例におけるデータ補間手段及
び差分領域算出手段について図33及び図34に従って
説明する。記憶メモリから画像データの1列目と隣接す
る2列目を読出し、斜線パターンの場合は、2列目のデ
ータ列に1/tanθを乗じて原稿パターンの移動分を
調整する。例えば、2列目の1画素間をスプライン補間
で100分割して、−50補間ピッチ分から+50補間
ピッチ分シフトしてずらす(データ補間手段)。画素ピ
ッチ毎に1列目と当該画素ピッチに隣接する、例えば、
左端の補間ピッチ毎に2列目の画素データとの差分を取
り、符号が負であれば、符号反転させる(差分領域算出
手段)。これを予め設定されている列の比較範囲での累
積値を算出する。全ての累積値算出が終了したら、2列
目の画像データを例えば右に1補間ピッチ分シフトし、
1列目と2列目の1画素ピッチ間差分の累積値を取得す
る。予め設定された最大シフト分、例えば100シフト
まで累積値取得を繰り返す。これら最大シフト100回
分の累積値の中から最小値を取得する。これらの操作を
画像の最終列まで順次実施し、各列毎の最小値を算出す
る。
Further, the data interpolation means and the difference area calculation means in this embodiment will be described with reference to FIGS. The second column adjacent to the first column of the image data is read from the storage memory, and in the case of a diagonal pattern, the data column of the second column is multiplied by 1 / tan θ to adjust the movement of the original pattern. For example, one pixel in the second column is divided by 100 by spline interpolation, and shifted by -50 interpolation pitch to +50 interpolation pitch to shift (data interpolation means). For each pixel pitch, adjacent to the first column and the pixel pitch, for example,
The difference from the pixel data in the second column is obtained for each left-end interpolation pitch, and if the sign is negative, the sign is inverted (difference area calculation means). This is calculated as a cumulative value in a comparison range of a preset column. When the calculation of all the accumulated values is completed, the image data in the second column is shifted to the right by, for example, one interpolation pitch,
The cumulative value of the difference between the 1st pixel pitch in the 1st column and the 2nd column is acquired. The acquisition of the accumulated value is repeated up to a preset maximum shift, for example, 100 shifts. The minimum value is obtained from among the accumulated values for these 100 maximum shifts. These operations are sequentially performed up to the last column of the image, and the minimum value for each column is calculated.

【0040】また、本実施例における累積値補間手段、
補間データ算出手段及び最小値取得手段について図35
及び図36に従って説明する。累積値算出手段により、
相対的位置関係にある注目1列目と2列目を順次ずらし
て、全ての累積値の算出が終了したら、当該累積値間
を、補間手法、例えば、スプライン補間の手法を用いて
補間する(累積値補間手段)。前記累積値補間手段から
予め設定されている補間区間の分割数に対応する累積値
補間データを算出する(補間データ算出手段)。これら
累積値を含む補間値の中から最小値を取得する(最小値
取得手段)。例えば、補間ピッチが画素に対し、20分
割したものとする。累積値を補間する時、当該補間ピッ
チを5分割すると、請求項4記載のデータ補間手段で1
画素を100分割したものと等価である。
Further, the cumulative value interpolation means in this embodiment,
FIG. 35 shows the interpolation data calculating means and the minimum value obtaining means.
And FIG. By the cumulative value calculation means,
When the first and second columns of interest, which are in a relative positional relationship, are sequentially shifted and all the accumulated values are calculated, the accumulated values are interpolated using an interpolation method, for example, a spline interpolation method ( Cumulative value interpolation means). The cumulative value interpolation means calculates cumulative value interpolation data corresponding to a preset number of divisions of the interpolation section (interpolation data calculation means). The minimum value is obtained from the interpolated values including the accumulated values (minimum value obtaining means). For example, it is assumed that the interpolation pitch is divided into 20 pixels. The data interpolation means according to claim 4, wherein when interpolating the accumulated value, the interpolation pitch is divided into five.
This is equivalent to a pixel divided into 100 parts.

【0041】なお、本発明は上記実施例に限定されるも
のではなく、特許請求の範囲内の記載であれば多種の変
形や置換可能であることは言うまでもない。
The present invention is not limited to the above embodiment, and needless to say, various modifications and substitutions can be made within the scope of the claims.

【0042】[0042]

【発明の効果】以上説明したように、本発明の画像読取
装置によれば、画素の主・副走査方向の位置誤差計測手
段により、ミラーなどの振動による主走査方向の位置誤
差成分を除去した副走査方向の位置誤差を算出できるの
で、画素の副走査方向のみの変動による読取位置のばら
つきを高精度に補正することができる。また、画素の主
走査方向の位置誤差計測手段により、ミラーなどの振動
による主走査方向の位置誤差成分を算出できるので、画
素の主走査方向のみの変動による読取位置のばらつきを
高精度に補正することができる。
As described above, according to the image reading apparatus of the present invention, the position error component in the main scanning direction due to the vibration of the mirror or the like is removed by the position error measuring means for the pixels in the main and sub scanning directions. Since the position error in the sub-scanning direction can be calculated, it is possible to accurately correct the variation in the reading position due to the fluctuation of the pixel only in the sub-scanning direction. In addition, since the position error component of the pixel in the main scanning direction in the main scanning direction can be calculated by the position error measuring unit in the main scanning direction, the variation of the reading position due to only the fluctuation of the pixel in the main scanning direction can be corrected with high accuracy. be able to.

【0043】また、パターンを撮像素子の解像度より大
きくすることにより、モアレをなくし、位置ズレ計測精
度を上げることができる。
Further, by making the pattern larger than the resolution of the image sensor, moiré can be eliminated, and the positional deviation measurement accuracy can be improved.

【0044】更に、濃度パターンが等ピッチでないの
で、位置ズレの最小値を1つに保証でき、計測精度を向
上することができる。また、黒のパターンが等しい幅で
ないので、位置ズレの最小値を1つに保証でき、計測精
度を向上することができる。
Further, since the density patterns are not at the same pitch, the minimum value of the positional deviation can be guaranteed to be one, and the measurement accuracy can be improved. Further, since the widths of the black patterns are not equal, the minimum value of the positional deviation can be guaranteed to be one, and the measurement accuracy can be improved.

【0045】また、画素列と画素列の累積差分の最小値
を求めることにより、画素の副走査方向の位置誤差を高
精度に測定することができる。
Further, by determining the minimum value of the accumulated difference between the pixel rows, the position error of the pixel in the sub-scanning direction can be measured with high accuracy.

【0046】更に、補間手法を用いることにより、画素
位置ズレにおいて高精度に計測することができる。
Further, by using the interpolation method, it is possible to measure the pixel position deviation with high accuracy.

【0047】また、前回の累積位置ズレ最小値位置を記
憶し、次回の最小値位置を推測することで、比較領域を
減らせるので、高速に位置ズレ計算をすることができ
る。
Further, the comparison area can be reduced by storing the last accumulated position deviation minimum value position and estimating the next minimum value position, so that the position deviation can be calculated at high speed.

【0048】更に、差分領域における差分の計算回数を
削減することで、計算分解能を落とすことなく、高速に
位置ズレ計算をすることができる。
Further, by reducing the number of times of calculation of the difference in the difference area, it is possible to perform the position shift calculation at a high speed without lowering the calculation resolution.

【0049】また、最小値算出に補間手法を用いること
により、計算分解能を落とすことなく、高速に位置ズレ
計算をすることができる。
Further, by using the interpolation method for calculating the minimum value, the position shift can be calculated at high speed without lowering the calculation resolution.

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

【図1】本発明に係る画像読取装置の構成を示す透視図
である。
FIG. 1 is a perspective view showing a configuration of an image reading apparatus according to the present invention.

【図2】図1の画像読取装置の構成を示す概略図であ
る。
FIG. 2 is a schematic diagram illustrating a configuration of the image reading apparatus of FIG. 1;

【図3】本発明における画像読取装置の構成を示すブロ
ック図である。
FIG. 3 is a block diagram illustrating a configuration of an image reading apparatus according to the present invention.

【図4】本発明における画像読取装置の一連の動作を示
すフローチャートである。
FIG. 4 is a flowchart showing a series of operations of the image reading apparatus according to the present invention.

【図5】図1の画像読取装置における走査面を示す平面
図である。
FIG. 5 is a plan view showing a scanning surface in the image reading device of FIG. 1;

【図6】本発明で使用する万線パターン例を示す図であ
る。
FIG. 6 is a diagram showing an example of a line pattern used in the present invention.

【図7】本発明で使用する万線パターンの別の例を示す
図である。
FIG. 7 is a diagram showing another example of a line pattern used in the present invention.

【図8】本発明で使用する万線パターンの別の例を示す
図である。
FIG. 8 is a diagram showing another example of a line pattern used in the present invention.

【図9】本発明で使用する万線パターンの別の例を示す
図である。
FIG. 9 is a diagram showing another example of a line pattern used in the present invention.

【図10】第1の実施例における主走査位置ズレ計測動
作を示すフローチャートである。
FIG. 10 is a flowchart illustrating a main scanning position deviation measuring operation in the first embodiment.

【図11】第1の実施例における副走査位置ズレ計測動
作を示すフローチャートである。
FIG. 11 is a flowchart illustrating a sub-scanning position displacement measuring operation in the first embodiment.

【図12】第1の実施例における主走査位置誤差補正動
作を示すフローチャートである。
FIG. 12 is a flowchart illustrating a main scanning position error correction operation in the first embodiment.

【図13】3次関数コンボリューションによる補正モデ
ルを示す図である。
FIG. 13 is a diagram illustrating a correction model based on a cubic function convolution.

【図14】第1の実施例における副走査位置誤差補正動
作を示すフローチャートである。
FIG. 14 is a flowchart illustrating a sub-scanning position error correction operation in the first embodiment.

【図15】第1の実施例における画像位置ズレ計測動作
を示すフローチャートである。
FIG. 15 is a flowchart showing an image position shift measuring operation in the first embodiment.

【図16】本発明における斜線パターン例を示す図であ
る。
FIG. 16 is a diagram illustrating an example of a diagonal line pattern according to the present invention.

【図17】本発明における万線パターン例を示す図であ
る。
FIG. 17 is a diagram illustrating an example of a line pattern according to the present invention.

【図18】本発明における斜線パターンの別の例を示す
図である。
FIG. 18 is a diagram showing another example of the oblique line pattern in the present invention.

【図19】本発明における万線パターンの別の例を示す
図である。
FIG. 19 is a diagram showing another example of a line pattern in the present invention.

【図20】本発明における斜線パターンの別の例を示す
図である。
FIG. 20 is a diagram showing another example of the oblique line pattern in the present invention.

【図21】本発明における万線パターンの別の例を示す
図である。
FIG. 21 is a diagram showing another example of a line pattern in the present invention.

【図22】第2の実施例における画像位置ズレ計測動作
を示すフローチャートである。
FIG. 22 is a flowchart illustrating an image position shift measuring operation in the second embodiment.

【図23】第2の実施例における主走査位置ズレ計測動
作を示すフローチャートである。
FIG. 23 is a flowchart illustrating a main scanning position deviation measuring operation in the second embodiment.

【図24】第2の実施例における副走査位置ズレ計測動
作を示すフローチャートである。
FIG. 24 is a flowchart illustrating a sub-scanning position shift measuring operation in the second embodiment.

【図25】スプライン補間方法を説明する図である。FIG. 25 is a diagram illustrating a spline interpolation method.

【図26】第3の実施例における画像位置ズレ計測動作
を示すフローチャートである。
FIG. 26 is a flowchart showing an image position shift measuring operation in the third embodiment.

【図27】第3の実施例における主走査位置ズレ計測動
作を示すフローチャートである。
FIG. 27 is a flowchart illustrating a main scanning position deviation measuring operation in the third embodiment.

【図28】第3の実施例における副走査位置ズレ計測動
作を示すフローチャートである。
FIG. 28 is a flowchart showing a sub-scanning position shift measuring operation in the third embodiment.

【図29】画像データのシフトと最小値の取得の様子を
示す図である。
FIG. 29 is a diagram showing a state of shifting image data and obtaining a minimum value.

【図30】第4の実施例における画像位置ズレ計測動作
を示すフローチャートである。
FIG. 30 is a flowchart showing an image position shift measuring operation in the fourth embodiment.

【図31】第4の実施例における主走査位置ズレ計測動
作を示すフローチャートである。
FIG. 31 is a flowchart illustrating a main scanning position deviation measuring operation in the fourth embodiment.

【図32】第4の実施例における副走査位置ズレ計測動
作を示すフローチャートである。
FIG. 32 is a flowchart showing a sub-scanning position shift measuring operation in the fourth embodiment.

【図33】第5の実施例における主走査位置ズレ計測動
作を示すフローチャートである。
FIG. 33 is a flowchart showing a main-scanning-position deviation measuring operation in the fifth embodiment.

【図34】第5の実施例における副走査位置ズレ計測動
作を示すフローチャートである。
FIG. 34 is a flowchart showing a sub-scanning position displacement measuring operation in the fifth embodiment.

【図35】第6の実施例における主走査位置ズレ計測動
作を示すフローチャートである。
FIG. 35 is a flowchart showing a main scanning position deviation measuring operation in the sixth embodiment.

【図36】第6の実施例における副走査位置ズレ計測動
作を示すフローチャートである。
FIG. 36 is a flowchart showing a sub-scanning position shift measuring operation in the sixth embodiment.

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

10;画像読取装置、11;原稿設置場所、12,1
5;走行体、12−1,15−1;ミラー、13;1次
元撮像素子、14;レンズ、16;画像信号出力ポー
ト、17;駆動手段、18;コンタクトガラス、19;
チャート原稿、20;ランプ、21;撮像領域、31;
制御部、32;光電変換部、33;A/D変換部、3
4;シェーディング補正部、35;画像位置ズレ計測
部、36;位置誤差補正部、37;画像処理部、38;
画像記憶メモリ。
10: Image reading device, 11: Document installation location, 12, 1
5; running body, 12-1, 15-1; mirror, 13; one-dimensional image sensor, 14; lens, 16; image signal output port, 17; driving means, 18; contact glass, 19;
Chart original, 20; lamp, 21; imaging area, 31;
Control section 32; photoelectric conversion section 33; A / D conversion section 3
4; shading correction unit, 35; image position deviation measurement unit, 36; position error correction unit, 37; image processing unit, 38;
Image storage memory.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 多田 武 東京都大田区中馬込1丁目3番6号 株式 会社リコー内 (72)発明者 兪 波 東京都大田区中馬込1丁目3番6号 株式 会社リコー内 Fターム(参考) 5B047 AA01 BB02 CA05 CA07 5C072 AA01 BA17 BA18 EA05 5C077 LL03 MM12 PP55  ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Takeshi Tada 1-3-6 Nakamagome, Ota-ku, Tokyo Inside Ricoh Company (72) Inventor Yunami 1-3-6 Nakamagome, Ota-ku, Tokyo Share F term in Ricoh Company (reference) 5B047 AA01 BB02 CA05 CA07 5C072 AA01 BA17 BA18 EA05 5C077 LL03 MM12 PP55

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 任意の被写体に対して光学読取手段を相
対的に走査して前記被写体の画像を光学的に読取って画
像信号を取得する画像読取装置において、 主走査方向に均一濃度で、かつ該主走査方向と垂直な方
向である副走査に均一でない濃度を有する万線パターン
と、主走査方向に水平でなくかつ垂直でない方向に均一
な濃度を有する斜線パターンとが隣接して配置された原
稿を前記画像読取装置によって取得した画像信号から位
置誤差を計測する計測手段と、 前記位置誤差の値により前記画像読取装置の画像を補正
する補正手段とを有することを特徴とする画像読取装
置。
1. An image reading apparatus which relatively scans an arbitrary subject with an optical reading unit to optically read an image of the subject to obtain an image signal, wherein the image reading device has a uniform density in a main scanning direction; A line pattern having a non-uniform density in the sub-scanning direction perpendicular to the main scanning direction and a diagonal pattern having a uniform density in the non-horizontal and non-vertical direction in the main scanning direction are arranged adjacent to each other. An image reading apparatus, comprising: a measuring unit that measures a position error from an image signal obtained from a document by the image reading device; and a correcting unit that corrects an image of the image reading device based on the value of the position error.
【請求項2】 前記万線パターン又は前記斜線パターン
が、前記光学読取手段の解像度よりも大きいパターンで
ある請求項1記載の画像読取装置。
2. The image reading apparatus according to claim 1, wherein the line pattern or the oblique line pattern is a pattern that is larger than a resolution of the optical reading unit.
【請求項3】 前記万線パターン又は前記斜線パターン
は、前記原稿の前記光学読取手段の副走査方向に水平か
つ一定幅の濃度パターンが等ピッチでない濃度パターン
である請求項1又は2に記載の画像読取装置。
3. The density pattern according to claim 1, wherein the line pattern or the diagonal pattern is a density pattern in which a density pattern having a constant width and a horizontal width in the sub-scanning direction of the optical reading unit of the document is not equal pitch. Image reading device.
【請求項4】 前記万線パターン又は前記斜線パターン
は、前記原稿の前記光学読取手段の主走査方向に水平か
つ垂直ではない方向に一定幅の濃度パターンが等ピッチ
でない濃度パターンである請求項1又は2に記載の画像
読取装置。
4. The line pattern or the oblique line pattern is a density pattern in which a density pattern having a fixed width in a direction that is not horizontal and perpendicular to a main scanning direction of the optical reading unit of the document is not equal pitch. Or the image reading device according to 2.
【請求項5】 前記万線パターンは、前記原稿の前記光
学読取手段の副走査方向に水平かつ隣合う万線パターン
が等ピッチで幅が異なる万線パターンである請求項1又
は2に記載の画像読取装置。
5. The line pattern according to claim 1, wherein the line pattern horizontally and horizontally adjacent to each other in the sub-scanning direction of the optical reading means of the document has a uniform pitch and a different width. Image reading device.
【請求項6】 前記斜線パターンは、前記原稿の前記光
学読取手段の走査方向に水平かつ垂直ではない方向に隣
接するパターンが等ピッチで幅の異なる斜線パターンで
ある請求項1又は2に記載の画像読取装置。
6. The oblique line pattern according to claim 1, wherein the oblique line pattern is a pattern that is adjacent to the original in a direction that is not horizontal and perpendicular to the scanning direction of the optical reading unit and that has a uniform pitch and a different width. Image reading device.
【請求項7】 前記計測手段が、 前記万線パターン又は前記斜線パターンの任意の領域に
対し、前記光学読取手段が主走査する方向に垂直な画像
信号1列目のデータ列と、該データ列に対して隣接する
画像信号2列目の隣接データ列とを対象に、前記データ
列と前記隣接データ列とにおいて差分の累積値を算出
し、相対位置を前記光学読取手段が主走査する方向に垂
直な方向に順次ずらしていき、それぞれの累積値を取得
する累積値算出手段と、 該累積値算出手段で得られたそれぞれの累積値を比較
し、その最小値を算出する最小値算出手段と、 該最小値算出手段を前記画像信号の全域に順次実施し、
各列ごとの最小値を算出する位置算出手段と、 該位置算出手段で得られた各列ごとの最小値を累積加算
する位置誤差算出手段と、 前記斜線パターンの最小位置ズレ量及び前記斜線パター
ンに隣接する前記万線パターンの最小位置ズレ量を記憶
しておく最小位置ズレ量記憶手段と、 前記斜線パターンの最小位置ズレ量と前記万線パターン
の最小位置ズレ量を用いて、前記光学読取手段の主走査
方向のみの最小位置ズレ量を算出する主走査方向位置ズ
レ算出手段とを有する請求項1記載の画像読取装置。
7. The data line of an image signal first column perpendicular to the main scanning direction of the optical reading unit with respect to an arbitrary area of the line pattern or the oblique line pattern. Calculates the cumulative value of the difference between the data sequence and the adjacent data sequence with respect to the adjacent data sequence of the second image signal adjacent to the image data, and determines the relative position in the direction in which the optical reading unit performs main scanning. A cumulative value calculating means for sequentially shifting in a vertical direction to obtain respective cumulative values; and a minimum value calculating means for comparing respective cumulative values obtained by the cumulative value calculating means and calculating a minimum value thereof. The minimum value calculating means is sequentially performed on the entire area of the image signal;
Position calculating means for calculating a minimum value for each column; position error calculating means for cumulatively adding the minimum value for each column obtained by the position calculating means; a minimum displacement of the diagonal pattern and the diagonal pattern A minimum position deviation amount storage unit for storing a minimum position deviation amount of the line pattern adjacent to the line pattern; and the optical reading using the minimum position deviation amount of the oblique line pattern and the minimum position deviation amount of the line pattern. 2. The image reading apparatus according to claim 1, further comprising: a main scanning direction position shift calculating unit that calculates a minimum position shift amount of only the main scanning direction.
【請求項8】 前記計測手段が、 前記画像信号のデータ列に対して各データをなめらかに
結合する数値演算を施してデータ間を補間するデータ補
間手段と、 前記光学読取手段が主走査する方向に垂直な画像信号1
列目のデータ列と、該データ列に対して隣接する画像信
号2列目の隣接データ列とを対象に、前記光学読取手段
が主走査する方向に垂直な方向において相対位置にある
前記データ列と、前記隣接データ列とにおいて前記デー
タ補間手段で算出された補間ピッチごとに差分の累積値
を算出し、相対位置を前記光学読取手段が主走査する方
向に垂直な方向に順次ずらしていき、それぞれの累積値
を取得する累積値算出手段とを有する請求項1又は7に
記載の画像読取装置。
8. A data interpolating means for performing a numerical operation for smoothly combining each data with respect to a data sequence of the image signal and interpolating between data, and a direction in which the optical reading means performs main scanning. Image signal 1 perpendicular to
The data sequence at a relative position in a direction perpendicular to the main scanning direction of the optical reading unit with respect to a data sequence of a column and an adjacent data sequence of a second image signal adjacent to the data sequence. And, in the adjacent data string, calculate the cumulative value of the difference for each interpolation pitch calculated by the data interpolation means, sequentially shift the relative position in a direction perpendicular to the direction of the main scanning by the optical reading means, The image reading apparatus according to claim 1, further comprising: a cumulative value calculating unit that obtains each cumulative value.
【請求項9】 前記計測手段が、 前記累積値算出手段で得られた累積値を比較し、その最
小値を算出する最小値算出手段と、 該最小値算出手段で取得された最小値の位置を記憶して
おく最小位置記憶手段と、 前記最小値算出手段の対象である前記光学読取手段が主
走査する方向に1列進んだ時に、前記累積値算出手段
で、前記最小位置記憶手段の位置と予め設定された比較
範囲とから各補間ピッチごとに差分を取る差分領域算出
手段と、前記最小値算出手段を前記画像信号の全域に順
次実施し、各列ごとの最小値を算出する位置ズレ算出手
段とを有する請求項8記載の画像読取装置。
9. The minimum value calculating means for comparing the cumulative value obtained by the cumulative value calculating means and calculating the minimum value, the position of the minimum value obtained by the minimum value calculating means. A minimum position storage means for storing the position of the minimum position storage means when the optical reading means, which is an object of the minimum value calculation means, advances one line in the main scanning direction. And a difference area calculating means for obtaining a difference for each interpolation pitch from a predetermined comparison range, and a minimum value calculating means for sequentially executing the minimum value calculating means over the entire area of the image signal to calculate a minimum value for each column. The image reading device according to claim 8, further comprising a calculating unit.
【請求項10】 前記計測手段が、 前記画像信号のデータ列に対して、各データをなめらか
に結合する数値演算を施す事で、データ間を補間するデ
ータ補間手段と、 前記光学読取手段が主走査する方向に垂直な画像信号1
列目のデータ列と、該データ列に対して隣接する画像信
号2列目の隣接データ列とを対象に、前記画像信号1列
目または2列目の隣接データ列のみに前記データ補間手
段を施し、前記データ列の画素データと、当該画素に隣
接する左端あるいは右端の前記隣接データ列の前記デー
タ補間手段で生成された画素データとにおいて、それぞ
れ差分の累積値を算出し、相対位置を前記光学読取手段
が主走査する方向に垂直な方向に補間ピッチごとに順次
ずらしていき、それぞれの累積値を取得する累積値算出
手段とを有する請求項8記載の画像読取装置。
10. The data interpolating means for interpolating between data by performing a numerical operation on the data sequence of the image signal to smoothly combine each data, and the optical reading means. Image signal 1 perpendicular to the scanning direction
The data interpolating means is applied only to the first data line or the second data line adjacent to the first image data column or the second data line adjacent to the second data line and the second data line adjacent to the data sequence. In the pixel data of the data string, and the pixel data generated by the data interpolation means of the leftmost or rightmost adjacent data string adjacent to the pixel, the cumulative value of the difference is calculated, and the relative position is calculated. 9. The image reading apparatus according to claim 8, further comprising: a cumulative value calculating unit that sequentially shifts the optical reading unit in a direction perpendicular to the main scanning direction at every interpolation pitch and obtains each cumulative value.
【請求項11】 前記計測手段は、 前記累積値算出手段で得られたそれぞれの累積値をなめ
らかに結合する数値演算を施して前記累積値間を補間す
る累積値補間手段と、 前記累積値補間手段から予め設定されている補間区間の
分割数に対応する累積値補間データを算出する補間デー
タ算出手段と、 該補間データ算出手段により算出されたそれぞれの累積
値の補間データを比較し、その最小値を算出する補間デ
ータ最小値算出手段とを有する請求項8又は10に記載
の画像読取装置。
11. The cumulative value interpolating means for performing a numerical operation for smoothly combining respective cumulative values obtained by the cumulative value calculating means and interpolating between the cumulative values, the cumulative value interpolating means, Means for calculating cumulative value interpolation data corresponding to the number of divisions of the interpolation section set in advance by the means; and comparing the interpolation data of each cumulative value calculated by the interpolation data calculating means with the minimum The image reading apparatus according to claim 8, further comprising an interpolation data minimum value calculating unit that calculates a value.
JP2001114022A 2001-04-12 2001-04-12 Image reader Pending JP2002314769A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001114022A JP2002314769A (en) 2001-04-12 2001-04-12 Image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001114022A JP2002314769A (en) 2001-04-12 2001-04-12 Image reader

Publications (1)

Publication Number Publication Date
JP2002314769A true JP2002314769A (en) 2002-10-25

Family

ID=18965164

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001114022A Pending JP2002314769A (en) 2001-04-12 2001-04-12 Image reader

Country Status (1)

Country Link
JP (1) JP2002314769A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010157996A (en) * 2008-12-05 2010-07-15 Canon Inc Original scanning apparatus and method of controlling the same
JP2012119976A (en) * 2010-12-01 2012-06-21 Canon Inc Image-reader inspecting method and image-reader inspecting apparatus using the method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010157996A (en) * 2008-12-05 2010-07-15 Canon Inc Original scanning apparatus and method of controlling the same
JP2012119976A (en) * 2010-12-01 2012-06-21 Canon Inc Image-reader inspecting method and image-reader inspecting apparatus using the method

Similar Documents

Publication Publication Date Title
JPH10257273A (en) Image reader
JP2012109737A (en) Image coupler, image coupling method, image input/output system. program and recording medium
JP5821563B2 (en) Image reading apparatus, image reading method, and MTF correction parameter determination method
JP5002670B2 (en) Image processing apparatus and image reading apparatus
JP2002314769A (en) Image reader
JPWO2008105463A1 (en) Manufacturing method of inspection device
JP2007034411A (en) Linewidth measuring method and apparatus
JP2003143421A (en) Image processing device and method therefor
JPH118734A (en) Image reader
JP3647992B2 (en) Image reading device
JP2009224829A (en) Image reading apparatus
JP3713348B2 (en) Image reading device
JP3287427B2 (en) Image reading device
JP2003189114A (en) Color image reader
JP2002368957A (en) Image reader
JP3614271B2 (en) Image reading device
JP2002374392A (en) Device and method for measuring image position deviation and storage medium with stored program based on the same method
JP2004032223A (en) Device and method for measuring image deviation and computer readable recording medium storing program for executing it
JP3647981B2 (en) Image reading device
JP2003087509A (en) Color image reader
JP2000307870A (en) Image processor
JP2692855B2 (en) Image processing device
JP2004013814A (en) Apparatus and method for measuring image position deviation and computer readable storage medium with program for executing the method stored therein
JP3647982B2 (en) Pixel position error measuring device and image reading device
JP2522706B2 (en) Line sensor connection deviation detection method