JPH1075331A - Image reader - Google Patents

Image reader

Info

Publication number
JPH1075331A
JPH1075331A JP8231036A JP23103696A JPH1075331A JP H1075331 A JPH1075331 A JP H1075331A JP 8231036 A JP8231036 A JP 8231036A JP 23103696 A JP23103696 A JP 23103696A JP H1075331 A JPH1075331 A JP H1075331A
Authority
JP
Japan
Prior art keywords
center
gravity
window
image
position error
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
JP8231036A
Other languages
Japanese (ja)
Inventor
Masaki Narita
昌樹 成田
Takefumi Adachi
猛文 足立
Shinichiro Wada
真一郎 和田
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 JP8231036A priority Critical patent/JPH1075331A/en
Publication of JPH1075331A publication Critical patent/JPH1075331A/en
Pending legal-status Critical Current

Links

Landscapes

  • Delivering By Means Of Belts And Rollers (AREA)
  • Facsimiles In General (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide the image reader with an automatic draft feeder by which a position error is detected with high precision. SOLUTION: In the image reader with an ADF, a pattern of slant lines LN is provided to a surface of a carrier roller 4a to feed an original with a carrier drum in the ADF to measure a position error, and the position error is corrected by reading the slant line pattern moved at a speed equal to that of the original. In this case, an operation section is used to enter optionally a thickness of the original so that the surface speed of the carrier roller 4a is equal to the carrying speed of the face of the original.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、読み取ったビット
マップ形式の画像データの位置誤差を測定して画像デー
タの画素の位置誤差を補正する画像読取装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image reading apparatus for measuring a position error of read bitmap image data and correcting a position error of a pixel of the image data.

【0002】[0002]

【従来の技術】この種の画像読取装置として例えば日本
機械学会第71期通常総会講演会講演論文集(IV)で
発表された「高精細画像入力装置の開発」(従来例1)
が知られている。ここでは、副走査方向に並べて配置さ
れた等ピッチラインのテストチャートを読み取った画
像、すなわち、副走査方向のライン間隔で離散化された
画像データに対して補間演算を行い、演算された結果か
ら、等ピッチラインの黒線、白線の中心位置を求め、テ
ストチャートの基準ピッチとの差を読み取ることで、装
置の振動などに起因する画像データの読み取り位置誤差
を検出するようになっている。
2. Description of the Related Art As an image reading apparatus of this kind, for example, "Development of a high-definition image input apparatus" (conventional example 1) announced at the 71st Ordinary General Meeting of the Japan Society of Mechanical Engineers (IV)
It has been known. Here, an interpolation operation is performed on an image obtained by reading a test chart of equi-pitch lines arranged in the sub-scanning direction, that is, image data discretized at line intervals in the sub-scanning direction. By obtaining the center position of the black line and the white line of the equal pitch line, and reading the difference from the reference pitch of the test chart, the reading position error of the image data due to the vibration of the apparatus or the like is detected.

【0003】他の従来例として特開平6−297758
号公報「走査線ピッチ計測方法」(従来例2)がある。
この公知例は、等ピッチパターンのデータを書き込んだ
ハードコピーのパターンを読み取ってハードコピー装置
の書き込みの走査線のピッチむらを計測するようになっ
ている。
Another conventional example is disclosed in Japanese Patent Laid-Open No. 6-297758.
Japanese Patent Application Laid-Open Publication No. 2000-214, “Scanning Line Pitch Measurement Method” (Conventional Example 2).
In this known example, a hard copy pattern in which data of an equal pitch pattern is written is read, and pitch unevenness of a writing scan line of a hard copy device is measured.

【0004】光学的リニアスケールとして、例えばオー
ム社から出版された「サーボセンサの基礎と応用」(大
島康次郎、秋山勇治共著)〔昭和63年2月20日発
行〕(従来例3)も知られている。この従来例では、リ
ニアスケールの一例としてポジションスケールを例に挙
げている。例に挙げられたリニアスケールは、全く等し
いピッチの明暗の格子をもった2枚1組のメインスケー
ルとインデックススケールとからなるガラススケール
と、そのスケールを照明するLEDからなる光源と、ス
ケールを透過した光を検知するフォトダイオードから構
成される。通常はインデックスケールが固定され、メイ
ンスケールが移動するがその移動に連れてフォトダイオ
ードの出力が変化する。出力は2枚のガラスの透過部が
一致したとき最大となり、透過部とクロム蒸着された不
透明部が重なったときには、出力は理想状態では0とな
る。したがって、その出力波形は理想的には三角波とな
るが、実際には明暗の格子ピッチが8μmと小さいた
め、光の回折の影響やクロム烝着面での反射の影響があ
り、近似正弦波の形で出力される。この出力波形の山の
間隔がスケールのピッチに相当するので、山の数を数え
ることにより移動量を知ることができる。
[0004] As an optical linear scale, for example, "Basic and Application of Servo Sensors" published by Ohmsha (Kojiro Oshima and Yuji Akiyama) [published February 20, 1988] (conventional example 3) is also known. ing. In this conventional example, a position scale is taken as an example of a linear scale. The linear scale mentioned in the example is a glass scale composed of a pair of main scales and index scales having a grid of light and dark with exactly the same pitch, a light source composed of LEDs for illuminating the scale, and a light transmitted through the scale. It consists of a photodiode that detects the emitted light. Normally, the index scale is fixed and the main scale moves, but the output of the photodiode changes with the movement. The output is maximum when the transmission portions of the two glasses coincide, and when the transmission portion and the opaque portion on which chrome is deposited overlap, the output is 0 in an ideal state. Therefore, the output waveform is ideally a triangular wave. However, since the light and dark grating pitch is actually as small as 8 μm, there is an effect of light diffraction and an effect of reflection on the chromium deposition surface. Output in form. Since the interval between the peaks of this output waveform corresponds to the pitch of the scale, the amount of movement can be known by counting the number of peaks.

【0005】[0005]

【発明が解決しようとする課題】ところで、上記従来例
1では、等ピッチラインのパターンのエッジと読み取り
のサンプリングのタイミングとの位置関係との相違によ
り同じ形状のパターンを読み取って得られるデータがそ
れぞれ異なってしまうモアレという現象がある。読み取
ったデータはこのモアレによって必ずしもパターンのエ
ッジの位置と対応しないので、位置誤差の測定精度を劣
化させる。モアレの影響は、等ピッチラインパターンを
精細にして読み取り装置の分解能に近づけると非常に顕
著になり、条件によっては位置誤差の測定ができなくな
るほどになる。したがってこの方式では、読み取り装置
の分解能に近い、あるいはそれ以下の位置誤差を高精度
で測定することはできない。
By the way, in the above-mentioned conventional example 1, data obtained by reading a pattern having the same shape due to the difference in the positional relationship between the edge of the pattern of the equal pitch line and the timing of sampling for reading is obtained. There is a phenomenon called moiré that is different. The read data does not necessarily correspond to the position of the edge of the pattern due to the moiré, so that the measurement accuracy of the position error is deteriorated. The effect of moiré becomes very noticeable when the pitch of the equi-pitch line pattern is refined and approaches the resolution of the reader, and it becomes impossible to measure the position error depending on the conditions. Therefore, in this method, a position error close to or lower than the resolution of the reading device cannot be measured with high accuracy.

【0006】また、等ピッチラインのパターンを使うの
で、モアレの影響を無視しても、高い周波数成分の位置
誤差を測定するためにパターンのピッチを精細にする
と、結像光学系のMTF(Modulation Tr
ansfer Ratio)の限界によって得られた画
像の濃淡の信号の差が小さくなり、測定精度が劣化せざ
るを得ない。
Further, since a pattern of equal pitch lines is used, even if the effect of moiré is ignored, if the pitch of the pattern is refined in order to measure the position error of a high frequency component, the MTF (Modulation) of the imaging optical system will be reduced. Tr
The difference in the density signal of the obtained image is reduced due to the limit of the transfer ratio, and the measurement accuracy must be degraded.

【0007】さらに、パターンの精細化では、測定の周
波数帯域を高い方向に広げ、精度を上げることができな
いのでサンプリングしたデータを補間する処理を行って
いる。より良い補間を行うには、より多くの周辺データ
を使ったり、複雑な演算処理が必要になり、処理時間が
長くなる。さらに補間はあくまでも補間であり、真のデ
ータとのずれが生じることは避けられず、測定精度を劣
化させる要因になる。また、光電変換装置の中の特定の
1つの受光素子が副走査方向に走査することによって得
られる画像データを使用しているので、受光素子そのも
のが持つノイズが測定そのものの精度に影響を与えて、
精度を劣化させる。
[0007] Further, in pattern refinement, the frequency band of measurement is widened in a higher direction, and the accuracy cannot be increased. Therefore, a process of interpolating sampled data is performed. In order to perform better interpolation, more peripheral data is used or complicated arithmetic processing is required, and the processing time becomes longer. Further, the interpolation is an interpolation to the last, and it is inevitable that a deviation from true data occurs, which is a factor of deteriorating the measurement accuracy. In addition, since one specific light receiving element in the photoelectric conversion device uses image data obtained by scanning in the sub-scanning direction, noise of the light receiving element itself affects the accuracy of the measurement itself. ,
Degrades accuracy.

【0008】従来例2では、計測時には光電変換装置で
パターンを読み込んだデータを使うので、計測に当たっ
てはハードコピーの読み取り時の走査むらはないという
条件で読み取ってハードコピーのピッチむらを計測して
いる。その他、特に説明しないが、前述の従来例1と同
様のモアレの問題を有する。
In the conventional example 2, since data obtained by reading a pattern by the photoelectric conversion device is used at the time of measurement, reading is performed under the condition that there is no scanning unevenness at the time of reading a hard copy, and pitch unevenness of the hard copy is measured. I have. Although not particularly described, there is a problem of moire similar to that of the above-described conventional example 1.

【0009】従来例3では、上述のようなリニアスケー
ルにおいては、光源(LED)の発する光をコリメート
レンズで平行光線にしてメインスケールとインデックス
スケールの重なりを通過してくる光を受光素子で検出す
るようにしているので、微細かつ高精度のメインスケー
ル、インデックススケール、および精密なコリメートが
必要になる。その結果、当然コストも高くなってしま
う。
In the conventional example 3, in the above-described linear scale, the light emitted from the light source (LED) is converted into parallel rays by a collimating lens, and the light passing through the overlap of the main scale and the index scale is detected by the light receiving element. Therefore, a fine and accurate main scale, index scale, and precise collimation are required. As a result, the cost naturally increases.

【0010】一方、一般に、例えばR、G、Bの複数の
イメージセンサが副走査方向に離間し、且つ平行に配列
されたライン走査型画像読取装置では、各センサにより
読み取られる原稿の同一位置の画像データには時間的な
ずれがあり、したがって、原稿の同一位置の画像データ
が各センサから得られるように補正を行わないとカラー
画像の読み取りにおいては色ずれが発生し、色を正しく
読み取ることができない。このずれは各センサの間隔と
読み取り走査速度に応じて決定され、また、走査速度に
むらがあると色ずれの原因となる。
On the other hand, in a line scanning image reading apparatus in which a plurality of R, G, and B image sensors are spaced apart in the sub-scanning direction and arranged in parallel, generally, the same position of a document read by each sensor is detected. There is a time lag in the image data, so if you do not make corrections so that the image data at the same position on the document can be obtained from each sensor, a color shift will occur when reading a color image, and it will be necessary to read the color correctly. Can not. This shift is determined according to the interval between the sensors and the scanning speed, and if the scanning speed is uneven, it causes color shift.

【0011】上記不具合を避けるために、例えば特開平
6−22159号公報には読み取りキャリッジを駆動す
るモータの回転に伴って発生するパルスの間隔の期間
中、マイクロプロセッサが内部クロックを計数すること
によりモータの駆動速度を求めて実際の走査速度とし、
この走査速度に基づいて複数のセンサ間の位置ずれを補
正する方法が提案されている。この方法では、副走査方
向の下流のセンサに対して上流のセンサのデータが合わ
せられ、センサ間の位置ずれが補正される。
In order to avoid the above problem, for example, Japanese Patent Laid-Open Publication No. Hei 6-22159 discloses that a microprocessor counts an internal clock during a period of a pulse generated with rotation of a motor for driving a reading carriage. Find the driving speed of the motor and use it as the actual scanning speed,
There has been proposed a method for correcting a displacement between a plurality of sensors based on the scanning speed. In this method, data of the upstream sensor is matched with that of the downstream sensor in the sub-scanning direction, and the displacement between the sensors is corrected.

【0012】補正の内容は、複数のセンサ間の位置ずれ
の補正を目的とし、上流のセンサのデータの遅延量と、
1ラインに満たない遅延に対してはその前後のデータの
重み付け平均を取っている。ここで行われている補正
は、最も下流のセンサに対して上流のセンサのデータを
合わせるという補正で、センサ間のずれによる色ズレを
防止するようにしている。
The purpose of the correction is to correct the positional deviation between the plurality of sensors, and the amount of delay of the data of the upstream sensor is calculated.
For a delay less than one line, a weighted average of the data before and after the delay is taken. The correction performed here is a correction of matching data of the upstream sensor with the sensor of the most downstream, so as to prevent a color shift due to a shift between the sensors.

【0013】この従来技術においては、副走査方向の走
査速度の検出を駆動モータの回転から検出しているが、
平面の上に置かれた原稿を走査して読み取る形式の読取
装置では、モータの回転運動を直線運動に変換する機構
が必要であり、それゆえ当該機構に起因する速度むらの
発生を完全に除去することはできない。また、モータの
回転むらとキャリッジの移動速度むらは必ずしも一致す
るものではないので、走査速度を正確に検出することが
できず、その結果、前記従来技術における速度データは
ライン間の位置ズレを補正するデータとして必ずしもふ
さわしくない場合もある。
In this prior art, the detection of the scanning speed in the sub-scanning direction is detected from the rotation of the drive motor.
A scanning device that scans and reads a document placed on a flat surface requires a mechanism that converts the rotational motion of the motor into a linear motion, and thus completely eliminates the occurrence of uneven speed caused by the mechanism. I can't. Further, since the unevenness of the rotation of the motor and the unevenness of the moving speed of the carriage do not always coincide with each other, the scanning speed cannot be accurately detected. As a result, the speed data in the prior art corrects the positional deviation between the lines. In some cases, the data may not always be appropriate.

【0014】さらに、上記従来の読取装置では、下流の
センサに対して上流のセンサのデータを合わせるので、
勿論、最下流のセンサから得られるデータに対して補正
する必要はない。ここで、補正を行わない最下流のセン
サから得られるデータに着目すると、読み取り走査速度
が変動した場合には一定速度で走査して読み取る場合に
比べると原稿上の読み取り位置がずれることになり、結
果として速度変動に伴う画像の伸び縮みが起きるという
問題点がある。
Further, in the above-mentioned conventional reading apparatus, data of an upstream sensor is matched with that of a downstream sensor.
Of course, there is no need to correct the data obtained from the most downstream sensor. Here, paying attention to the data obtained from the most downstream sensor that does not perform correction, the reading position on the document is shifted when the reading scanning speed fluctuates as compared with the case of scanning and reading at a constant speed, As a result, there is a problem that the image expands and contracts due to the speed fluctuation.

【0015】すなわち、上記従来の読取装置では、この
伸び縮みが生じるデータに対して上流のセンサのデータ
を補正しているので、結果として色ずれは防止できてい
ることになるが、カラー画像全体としては走査速度の変
動に伴う画像の伸び縮みを防止することができず、本来
の画素との位置ずれは残ることになる。また、この従来
の読取装置では、複数のラインセンサの間隔が変化しな
いものとして補正基準としているので、1つのセンサの
みを有する読取装置には適用することができない。
That is, in the above-described conventional reading apparatus, since the data of the upstream sensor is corrected with respect to the data in which the expansion and contraction occurs, the color shift can be prevented as a result. However, it is impossible to prevent the expansion and contraction of the image due to the fluctuation of the scanning speed, and the positional deviation from the original pixel remains. Further, in this conventional reading device, since the interval between a plurality of line sensors does not change and is used as a correction reference, it cannot be applied to a reading device having only one sensor.

【0016】本発明はこのような背景に鑑みてなされた
もので、その第の1の目的は、自動給紙される原稿を読
み取るときに位置誤差検出精度の高い画像読取装置を提
供することにある。
The present invention has been made in view of such a background, and a first object of the present invention is to provide an image reading apparatus having high position error detection accuracy when reading an automatically fed document. is there.

【0017】また、第2の目的は、自動給紙される原稿
と読み取るときに紙厚分の補正を行うことによって位置
誤差検出精度の高い画像読取装置を提供することにあ
る。
It is a second object of the present invention to provide an image reading apparatus having a high position error detection accuracy by performing correction for a sheet thickness when reading an original which is automatically fed.

【0018】[0018]

【課題を解決するための手段】上記目的を達成するため
に、第1の手段は、原稿を自動的にコンタクトガラス上
に給送し、あらかじめ設定された一定の時間間隔で線順
次に走査して原稿画像を読み取る画像読取装置におい
て、原稿を搬送する搬送ドラムと、あらかじめ走査方向
に対して一定の傾きを有する線を等ピッチで並べて構成
した斜線パターンが形成された搬送ローラと、前記斜線
パターンを光学的に読み取って電気信号に変換する手段
と、この変換する手段によって電気信号に変換された前
記斜線パターンの画像データにウィンドウを設定して、
ウィンドウ内の画像データの重心を計算する手段と、こ
の重心を計算する手段に計算された重心の値に応じてウ
ィンドウを移動させる手段と、前記重心を計算する手段
によって計算された重心の値から画素の位置誤差を測定
する手段と、原稿を搬送する搬送ドラムおよび搬送ロー
ラとを備えたことを特徴としている。この場合、前記搬
送ドラムが原稿の裏面側に、搬送ローラが原稿の表面側
になるように配置するとよい。
In order to achieve the above object, a first means is to automatically feed an original onto a contact glass and scan the original in a line-sequential manner at a predetermined time interval. In an image reading apparatus for reading an original image, a conveying roller for conveying an original, a conveying roller on which a diagonal pattern formed by previously arranging lines having a constant inclination with respect to a scanning direction at an equal pitch, and the diagonal pattern Means for optically reading and converting into an electric signal, and setting a window in the image data of the diagonal pattern converted into an electric signal by the converting means,
Means for calculating the center of gravity of the image data in the window, means for moving the window according to the value of the center of gravity calculated by the means for calculating the center of gravity, and from the value of the center of gravity calculated by the means for calculating the center of gravity It is characterized by comprising a means for measuring a pixel position error, a transport drum and a transport roller for transporting a document. In this case, it is preferable that the transport drum is disposed on the back side of the document and the transport roller is disposed on the front side of the document.

【0019】第2の手段は、原稿を自動的にコンタクト
ガラス上に給送し、あらかじめ設定された一定の時間間
隔で線順次に走査して原稿画像を読み取る画像読取装置
において、あらかじめ走査方向に対して一定の傾きを有
する線を等ピッチで並べて構成した斜線パターンと、前
記斜線パターンを光学的に読み取って電気信号に変換す
る手段と、この変換する手段によって電気信号に変換さ
れた前記斜線パターンの画像データにウィンドウを設定
して、ウィンドウ内の画像データの重心を計算する手段
と、この重心を計算する手段に計算された重心の値に応
じてウィンドウを移動させる手段と、前記重心を計算す
る手段によって計算された重心の値から画素の位置誤差
を測定する手段と、任意に位置誤差またはキャリッジの
移動速度の一定量の補正を行うことができる操作パネル
とを備えていることを特徴としている。
The second means is an image reading apparatus which automatically feeds a document onto a contact glass, scans the document image line-sequentially at predetermined time intervals, and reads a document image. An oblique line pattern formed by arranging lines having a constant inclination at equal pitches, a unit for optically reading the oblique line pattern and converting the line into an electric signal, and the oblique line pattern converted into an electric signal by the converting unit. Means for setting a window in the image data of, calculating the center of gravity of the image data in the window, means for moving the window according to the value of the center of gravity calculated by the means for calculating the center of gravity, and calculating the center of gravity Means for measuring the position error of the pixel from the value of the center of gravity calculated by the means for calculating the position error and optionally a certain amount of the moving speed of the carriage It is characterized by comprising an operation panel which correction can be performed.

【0020】[0020]

【発明の実施の形態】以下、図面を参照し、本発明の実
施の形態について説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0021】1.画像読取装置の概略構成 図1に本発明の実施形態に係るADFを備えた画像読取
装置の概略を示す。同図において、コンタクトガラス1
は筐体2により支持され、ブック原稿などの原稿を固定
して読み取る場合には、原稿を読み取り面を下にしてコ
ンタクトガラス1上に載置する。コンタクトガラス1上
の原稿は照明ランプ18とリフレクタ19の反射光によ
って照明され、読み取り面の反射光が第1ミラー3、一
体に構成された第2ミラー20および第3ミラー21に
より順次反射され、次いでレンズ22によって光電変換
装置上のライン状に並べられた光電変換素子(CCD)
23の受光面に結像され、光学的に読み取った画像を電
気信号に変換する。第1ミラー3、照明ランプ18、第
2ミラー20および第3ミラー21は図示しない走行体
駆動モータを駆動源として図示A方向に移動するように
構成されている。
1. Schematic Configuration of Image Reading Apparatus FIG. 1 schematically shows an image reading apparatus having an ADF according to an embodiment of the present invention. In the figure, contact glass 1
Is supported by the housing 2, and when reading a document such as a book document in a fixed manner, the document is placed on the contact glass 1 with the reading surface facing down. The original on the contact glass 1 is illuminated by the reflected light of the illumination lamp 18 and the reflector 19, and the reflected light of the reading surface is sequentially reflected by the first mirror 3, the second mirror 20 and the third mirror 21 integrally formed, Next, photoelectric conversion elements (CCD) arranged in a line on the photoelectric conversion device by the lens 22
The image formed on the light receiving surface of the optical disc 23 and optically read is converted into an electric signal. The first mirror 3, the illumination lamp 18, the second mirror 20, and the third mirror 21 are configured to move in the illustrated A direction using a traveling body drive motor (not shown) as a drive source.

【0022】自動給紙される原稿を読み取る場合には、
原稿トレイ12に載置された原稿Pは、通常の読み取り
動作では、ピックアップローラ13、レジストローラ対
31,32、搬送ドラム15および搬送ローラ4によっ
て読み取り位置Bを経て、排紙ガイド24から排紙ロー
ラ対25に送り込まれ、排紙トレイ26上に排出され
る。原稿は読み取り位置Bを通過する際に、読み取り位
置近傍に移動している照明ランプ18とリフレクタ19
の反射光によって照明され、原稿に照射された照明光の
反射光が第1のミラー3、第2のミラー20および第3
ミラー21で走査される。その後、反射光はレンズ22
によって集光されて光電変換素子(CCD)23に照射
され、当該光電変換素子23によって光電変換される。
When reading an automatically fed document,
The document P placed on the document tray 12 is discharged from the discharge guide 24 through the reading position B by the pickup roller 13, the pair of registration rollers 31, 32, the transport drum 15 and the transport roller 4 in a normal reading operation. The sheet is sent to the roller pair 25 and is discharged onto the sheet discharge tray 26. When the original passes through the reading position B, the illumination lamp 18 and the reflector 19 which are moved near the reading position
The first mirror 3, the second mirror 20, and the third mirror 20 are reflected by the first mirror 3, the second mirror 20, and the third mirror.
Scanning is performed by the mirror 21. After that, the reflected light is
The light is condensed and irradiated to a photoelectric conversion element (CCD) 23, and is photoelectrically converted by the photoelectric conversion element 23.

【0023】なお、図1においては、コンタクトガラス
1、筐体2、照明ランプ18、リフレクタ19、第1ミ
ラー3、第2ミラー20、第3ミラー21、光電変換素
子(CCD)23および走行体駆動モータによってスキ
ャナ(画像読取装置本体)100が構成され、原稿トレ
イ12、ピックアップローラ13、レジストローラ対3
1,32、搬送ドラム15、排紙ガイド24、排紙ロー
ラ対25および排紙トレイ26によって自動原稿給送装
置(ADF)200が構成されている。
In FIG. 1, a contact glass 1, a housing 2, an illumination lamp 18, a reflector 19, a first mirror 3, a second mirror 20, a third mirror 21, a photoelectric conversion element (CCD) 23, and a traveling body A scanner (image reading apparatus main body) 100 is configured by a drive motor, and includes a document tray 12, a pickup roller 13, and a registration roller pair 3.
An automatic document feeder (ADF) 200 includes the transport drums 1 and 32, the transport drum 15, the discharge guide 24, the discharge roller pair 25, and the discharge tray 26.

【0024】搬送ドラム15は図2および図3に示すよ
うに原稿Pを給送し、搬送ローラ4,4aは原稿Pとと
もに回転する。したがって、これらの搬送ローラ4,4
aの周速は原稿Pの搬送速度と同一である。搬送方向下
流側に位置する搬送ローラ4aには図4に示すように走
査速度を検出するるために搬送方向からあらかじめ設定
した角度偏向した複数の平行な斜線LNが設けられてい
る。この実施形態では、前記斜線LNの角度は45°に
設定されている。これらの斜線LNは白地上に一定幅で
多数の黒の斜線からなり、これらの斜線LNの集合によ
ってパターン10aが形成される。なお、図5は図4の
搬送ローラ4aを展開してパターン10aを平面的に示
す展開図である。この斜線のパターン10aを原稿搬送
時に前記光電変換素子(CCD)23によって読み取
り、読み取った原稿に基づいて画像データを補間する。
The transport drum 15 feeds the document P as shown in FIGS. 2 and 3, and the transport rollers 4 and 4a rotate together with the document P. Therefore, these transport rollers 4, 4
The peripheral speed a is the same as the transport speed of the document P. As shown in FIG. 4, a plurality of parallel oblique lines LN that are deflected by a predetermined angle from the transport direction are provided on the transport roller 4a located on the downstream side in the transport direction, as shown in FIG. In this embodiment, the angle of the oblique line LN is set to 45 °. These oblique lines LN are composed of a large number of black oblique lines with a constant width on a white background, and a pattern 10a is formed by a set of these oblique lines LN. FIG. 5 is a developed view showing the pattern 10a in a plan view by developing the transport roller 4a of FIG. The oblique line pattern 10a is read by the photoelectric conversion element (CCD) 23 during document conveyance, and image data is interpolated based on the read document.

【0025】2.システム構成 図6に本発明の実施形態に係る画像読取装置に組み込ま
れる位置誤差測定装置のシステム構成を示す。なお、こ
の位置誤差測定装置は画像読取装置への付加機能として
組み込まれ、リアルタイムで画素の位置誤差を測定する
ものである。
2. System Configuration FIG. 6 shows a system configuration of a position error measuring device incorporated in the image reading device according to the embodiment of the present invention. The position error measuring device is incorporated as an additional function to the image reading device, and measures a position error of a pixel in real time.

【0026】すなわち、位置画素測定装置は、光電変換
部101と、A/D変換部102と、シェーディング補
正部103と、斜線判別部104と、位置誤差測定部1
05と、位置誤差補正部106と、制御部107と、操
作部(速度補正部)108とから構成されている。光電
変換部101は、この実施形態ではラインCCDからな
り、読み取った画像が電気信号に変換される。電気信号
に変換された画像はA/D変換部102でデジタルの多
値の画像データに変換される。変換されたデータは照明
の不均一さ、レンズの周辺光量の低下、光電変換部10
1の画素間の感度の違いなどをシェーディング補正部1
03で補正され、補正されたデータは斜線判別部104
に入力される。斜線判別部104では、画像データの斜
線パターン部分を判別し、その判別結果を制御部107
に出力する。また、画像データは位置誤差測定部105
に入力され、測定結果の誤差信号を位置誤差補正部10
6に出力する。位置誤差補正部106では、画像データ
と位置誤差データである誤差信号から位置誤差を補正し
た画像データを生成し、ビデオ信号として出力する。操
作部(速度補正部)108からは、ユーザが任意に紙厚
分の補正値を入力できるようになっており、例えばユー
ザの使用性を考慮して薄紙、中厚、厚紙などの数段階に
切り換え、この切り換え情報を一連の位置誤差データに
加えて画像データの送り方向倍率が原稿とより正確に同
一になるようにする。なお、各部(101〜106,1
08)は制御部107によってそれぞれタイミングの制
御、動作条件の設定などがなされ、相互に関連して動作
するようになっている。
That is, the position pixel measuring device includes a photoelectric conversion unit 101, an A / D conversion unit 102, a shading correction unit 103, a diagonal line discrimination unit 104, and a position error measurement unit 1.
05, a position error correction unit 106, a control unit 107, and an operation unit (speed correction unit) 108. In this embodiment, the photoelectric conversion unit 101 includes a line CCD, and converts a read image into an electric signal. The image converted into the electric signal is converted by the A / D converter 102 into digital multi-valued image data. The converted data indicates the unevenness of illumination, the decrease in the amount of light around the lens, the photoelectric conversion unit 10
The shading correction unit 1 determines the difference in sensitivity between pixels 1
03, and the corrected data is input to the oblique line discriminating unit 104.
Is input to The oblique line discriminating unit 104 discriminates the oblique line pattern portion of the image data, and outputs the discrimination result to the control unit 107.
Output to The image data is stored in the position error measurement unit 105.
And outputs the error signal of the measurement result to the position error correction unit 10.
6 is output. The position error correction unit 106 generates image data in which a position error has been corrected from the image data and the error signal that is the position error data, and outputs the image data as a video signal. The user can arbitrarily input a correction value for the paper thickness from the operation unit (speed correction unit) 108. Switching is performed, and this switching information is added to a series of position error data so that the magnification in the feed direction of the image data becomes more exactly the same as that of the document. Each part (101 to 106, 1
In step 08), the control unit 107 controls the timing, sets operation conditions, and the like, and operates in association with each other.

【0027】3.測定原理 引き続き、位置誤差測定部における読取誤差の測定原理
について説明する。
3. Measurement Principle Next, the measurement principle of the reading error in the position error measurement unit will be described.

【0028】まず、位置誤差を測定する処理は以下のよ
うになる。
First, the processing for measuring the position error is as follows.

【0029】図7の矢印で示す主走査方向は、ラインC
CD23が線順次で同時に読み取る1ラインの画素の並
びと、この並列データを直列データに変換したときの時
間軸上の順序を示している。また、矢印で示す副走査方
向は、主走査方向の1ラインを読み取る範囲を順次移動
させながら読み取る方向を示している。
The main scanning direction indicated by the arrow in FIG.
It shows the arrangement of pixels of one line that the CD 23 reads simultaneously in line-sequential manner and the order on the time axis when this parallel data is converted to serial data. The sub-scanning direction indicated by an arrow indicates a reading direction while sequentially moving the reading range of one line in the main scanning direction.

【0030】図7において主走査方向と副走査方向の各
平行な線により囲まれた4角形領域を画素とすると、こ
の画素により構成される平面は、原稿の画像を電気信号
に変換した場合に原稿画像の写像がそのまま並んでいる
という形で捉えることができる。なお、これはビットマ
ップということもある。このデータはラインCCD7か
らリアルタイムで出力される時には主走査方向、副走査
方向が時間的な順序を有するが、メモリに取り込んだ状
態ではそれぞれの画素を任意にアクセスすることができ
るので、主走査方向、副走査方向、時間の順序にとらわ
れないで扱うことができる。
In FIG. 7, if a rectangular area surrounded by parallel lines in the main scanning direction and the sub-scanning direction is defined as a pixel, a plane formed by the pixel is used when an image of a document is converted into an electric signal. It can be understood that the mappings of the original images are arranged as they are. This may be called a bitmap. When this data is output from the line CCD 7 in real time, the main scanning direction and the sub-scanning direction have a chronological order, but each pixel can be arbitrarily accessed in the state of being stored in the memory. , Sub-scanning direction, and time.

【0031】図7はまた、主走査方向、副走査方向の画
素サイズが等しい場合において、副走査方向の走査速度
が変動しないときの45°の斜線LNの読み取りデータ
aと、走査速度が変動するときの読み取りデータbをビ
ットマップに対応させて示している。すなわち、読み取
りデータaは副走査方向の読み取りタイミングを制御す
るクロックに対応する所定の一定速度で走査したときを
示し、ビットマップとしても45°の斜線像である。
FIG. 7 also shows that, when the pixel size in the main scanning direction and the sub-scanning direction is the same, the read data a of the 45 ° oblique line LN when the scanning speed in the sub-scanning direction does not change, and the scanning speed changes. The read data b at the time is shown in correspondence with the bit map. That is, the read data a indicates a time when scanning is performed at a predetermined constant speed corresponding to a clock for controlling the read timing in the sub-scanning direction, and is a 45 ° oblique line image as a bit map.

【0032】これに対し、読み取りデータbは走査速度
の変動に応じて傾きが異なる。副走査方向の区間A−B
は走査速度が「0」のときを示し、この場合には副走査
方向の読み取りタイミングを制御するクロックによりビ
ットマップのアドレスが進んでも読み取り位置が変わら
ないので、副走査方向に平行な線となる。また、区間B
−Cは走査速度が所定速度の1/2のときを示し、この
場合にはビットマップのアドレスが進んでもその半分し
か進まない位置の画像を読み取るのでその読み取り画像
の角度は約26.57°(tan θ=0.5)である。区
間C−Dは所定速度で走査しているときを示し、45°
の角度が得られる。D以降の区間は走査速度が所定速度
の2倍の場合を示し、その角度は約63.4°である。
On the other hand, the read data b has a different inclination according to the change in the scanning speed. Section AB in the sub-scanning direction
Indicates that the scanning speed is "0". In this case, since the reading position does not change even if the address of the bitmap advances by the clock for controlling the reading timing in the sub-scanning direction, the line becomes a line parallel to the sub-scanning direction. . Section B
-C indicates the case where the scanning speed is 1/2 of the predetermined speed. In this case, even if the address of the bit map advances, an image at a position where only half of the address advances is read, so that the angle of the read image is about 26.57 °. (Tan θ = 0.5). Section CD shows when scanning at a predetermined speed, and is 45 °.
Is obtained. The section after D shows the case where the scanning speed is twice the predetermined speed, and the angle is about 63.4 °.

【0033】したがって、走査速度が変動すると像の傾
きが異なることを測定原理として、言い換えれば斜線の
主走査方向への移動量が副走査方向に移動速度に対応す
ることを測定原理として、副走査方向の走査速度のむら
と、ミラー、レンズ、光電変換部(CCD)の振動など
に起因するビットマップ画像の画素の位置誤差を測定す
ることができる。
Therefore, the sub-scanning principle is based on the principle that the inclination of the image changes when the scanning speed varies, in other words, based on the principle that the amount of movement of the oblique line in the main scanning direction corresponds to the moving speed in the sub-scanning direction. It is possible to measure the position error of the pixel of the bitmap image due to the uneven scanning speed in the direction and the vibration of the mirror, lens, photoelectric conversion unit (CCD), and the like.

【0034】なお、図7では正方形の画素を示したが、
画素が正方形ではなく、例えば主走査方向の分解能が4
00dpi、副走査方向の分解能が600dpiのよう
な画素にも適用することができる。また、45°以外の
斜線を用いても同様に、斜線画像の主走査方向への移動
量が副走査方向の読み取り速度に依存するという関係が
成立するので、画素の位置誤差を計測することができ
る。
Although FIG. 7 shows a square pixel,
The pixels are not square, for example, the resolution in the main scanning direction is 4
The present invention can be applied to a pixel having a resolution of 00 dpi and a resolution of 600 dpi in the sub-scanning direction. Similarly, even if a diagonal line other than 45 ° is used, the relationship that the amount of movement of the diagonal line image in the main scanning direction depends on the reading speed in the sub-scanning direction is established. it can.

【0035】4.斜線パターン判別処理 次に、斜線判別部における斜線パターン判別処理につい
て説明する。図8は図7と同様にビットマップに斜線が
有る場合を示し、図9はその場合の8ビット(0〜25
5)の読み取り値を示している。なお、0=白、255
=黒であり、主走査方向の座標をXn、副走査方向の座
標をYmとしている。また、図10は主走査方向3画素
×副走査方向3画素の斜線パターン検知用ウィンドウを
示し、図10(a)〜(e)はそれぞれ主走査方向に1
画素ずつシフトしたウィンドウを示している。
4. Oblique Line Pattern Determination Process Next, the oblique line pattern determination process in the oblique line determination unit will be described. FIG. 8 shows a case where the bit map has diagonal lines as in FIG. 7, and FIG.
5) shows the read value. Note that 0 = white, 255
= Black, coordinates in the main scanning direction are Xn, and coordinates in the sub-scanning direction are Ym. FIG. 10 shows a diagonal line pattern detection window of 3 pixels in the main scanning direction × 3 pixels in the sub-scanning direction, and FIGS.
The window shifted by pixel is shown.

【0036】ここで、図10(a)に示すウィンドウ
(X2〜X4、Y1〜3)内の中心画素の挟む対角方
向、すなわち中心画素を含む左上斜め方向の3つの画素
値の和Paと右下斜め方向の3つの画素値の和Qaを計
算すると、 Pa=(X2,Y1)+(X3,Y1)+(X2,Y2) =3+1+1=5 Qa=(X4,Y2)+(X3,Y3)+(X4,Y3) =3+4+8=15 となる。
Here, the sum Pa of the three pixel values in the diagonal direction sandwiching the center pixel in the window (X2 to X4, Y1 to 3) shown in FIG. When the sum Qa of the three pixel values in the lower right diagonal direction is calculated, Pa = (X2, Y1) + (X3, Y1) + (X2, Y2) = 3 + 1 + 1 = 5 Qa = (X4, Y2) + (X3, Y3) + (X4, Y3) = 3 + 4 + 8 = 15.

【0037】同様に、図10(b)〜(e)について求
めると、 Pb=(X3,Y1)+(X4,Y1)+(X3,Y2) =1+4+2=7 Qb=(X5,Y2)+(X4,Y3)+(X5,Y3) =13+8+201=222 Pc=(X4,Y1)+(X5,Y1)+(X4,Y2) =4+2+3=9 Qc=(X6,Y2)+(X5,Y3)+(X6,Y3) =216+201+250=667 Pd=(X5,Y1)+(X6,Y1)+(X5,Y2) =2+18+13=33 Qd=(X7,Y2)+(X6,Y3)+(X7,Y3) =248+250+252=750 Pe=(X6,Y1)+(X7,Y1)+(X6,Y2) =18+220+216=454 Qe=(X8,Y2)+(X7,Y3)+(X8,Y3) =250+252+249=751 となる。
Similarly, with respect to FIGS. 10B to 10E, Pb = (X3, Y1) + (X4, Y1) + (X3, Y2) = 1 + 4 + 2 = 7 Qb = (X5, Y2) + (X4, Y3) + (X5, Y3) = 13 + 8 + 201 = 222 Pc = (X4, Y1) + (X5, Y1) + (X4, Y2) = 4 + 2 + 3 = 9 Qc = (X6, Y2) + (X5, Y3) ) + (X6, Y3) = 216 + 201 + 250 = 667 Pd = (X5, Y1) + (X6, Y1) + (X5, Y2) = 2 + 18 + 13 = 33 Qd = (X7, Y2) + (X6, Y3) + (X7) , Y3) = 248 + 250 + 252 = 750 Pe = (X6, Y1) + (X7, Y1) + (X6, Y2) = 18 + 220 + 216 = 454 Qe = (X8, Y2) + (X7, Y3) + (X8, Y3) = 250 + 252 + 249 = 751.

【0038】次に、中心画素と右下斜め方向の3画素
(中心画素を含む)の差Rを求めると、 Ra=15−5=10 Rb=222−7=215 Rc=667−9=658 Rd=750−33=717 Re=751−454=297 となる。
Next, when the difference R between the center pixel and three pixels (including the center pixel) in the lower right diagonal direction is calculated, Ra = 15-5 = 10 Rb = 222-7 = 215 Rc = 667-9 = 658 Rd = 750-33 = 717 Re = 751-454 = 297

【0039】この差Rの値が大きい場合に3×3画素の
ウィンドウ内に斜線パターンが有ることを示す。したが
って、例えばRの値が500以上の場合に斜線パターン
が有ると判断すれば図10(c),(d)に示すウィン
ドウ内に斜線パターンが有ると判断することができる。
When the value of the difference R is large, it indicates that there is an oblique line pattern in the window of 3 × 3 pixels. Therefore, if it is determined that the diagonal line pattern exists when the value of R is 500 or more, for example, it can be determined that the diagonal line pattern exists in the windows shown in FIGS. 10C and 10D.

【0040】次に、図11を参照して他の斜線パターン
判別処理を説明する。図10(a)〜(e)はそれぞれ
図9(a)〜(e)に示すウィンドウ内の各値を閾値=
128で2値化した場合を示し、同様に各ウィンドウ内
の中心画素を含む左上斜め方向の3つの画素値の和Pa
〜Peと右下斜め方向の3つの画素値の和Qa〜Qeを
計算すると、 Pa=(X2,Y1)+(X3,Y1)+(X2,Y2) =0+0+0=0 Qa=(X4,Y2)+(X3,Y3)+(X4,Y3) =0+0+0=0 Pb=(X3,Y1)+(X4,Y1)+(X3,Y2) =0+0+0=0 Qb=(X5,Y2)+(X4,Y3)+(X5,Y3) =0+0+1=1 Pc=(X4,Y1)+(X5,Y1)+(X4,Y2) =0+0+0=0 Qc=(X6,Y2)+(X5,Y3)+(X6,Y3) =1+1+1=3 Pd=(X5,Y1)+(X6,Y1)+(X5,Y2) =0+0+0=0 Qd=(X7,Y2)+(X6,Y3)+(X7,Y3) =1+1+1=3 Pe=(X6,Y1)+(X7,Y1)+(X6,Y2) =0+1+1=2 Qe=(X8,Y2)+(X7,Y3)+(X8,Y3) =1+1+1=3 となる。
Next, another oblique line pattern discriminating process will be described with reference to FIG. FIGS. 10 (a) to 10 (e) respectively show threshold values of the respective values in the windows shown in FIGS. 9 (a) to 9 (e).
128 shows the case of binarization, and similarly, the sum Pa of three pixel values in the upper left diagonal direction including the central pixel in each window
Calculating the sum Qa-Qe of 画素 Pe and three pixel values in the lower right diagonal direction, Pa = (X2, Y1) + (X3, Y1) + (X2, Y2) = 0 + 0 + 0 = 0 Qa = (X4, Y2 ) + (X3, Y3) + (X4, Y3) = 0 + 0 + 0 = 0 Pb = (X3, Y1) + (X4, Y1) + (X3, Y2) = 0 + 0 + 0 = 0 Qb = (X5, Y2) + (X4 , Y3) + (X5, Y3) = 0 + 0 + 1 = 1 Pc = (X4, Y1) + (X5, Y1) + (X4, Y2) = 0 + 0 + 0 = 0 Qc = (X6, Y2) + (X5, Y3) + (X6, Y3) = 1 + 1 + 1 = 3 Pd = (X5, Y1) + (X6, Y1) + (X5, Y2) = 0 + 0 + 0 = 0 Qd = (X7, Y2) + (X6, Y3) + (X7, Y3) ) = 1 + 1 + 1 = 3 Pe = (X6, Y1) + (X7, Y1) + (X6, Y ) = 0 + 1 + 1 = 2 Qe = (X8, Y2) + (X7, Y3) + (X8, Y3) = 1 + 1 + 1 = 3.

【0041】次に、中心画素と右下斜め方向3画素(中
心画素を含む)の差Ra〜Reを求めると、 Ra=0−0=0 Rb=1−0=1 Rc=3−0=3 Rd=3−0=3 Re=3−2=1 となる。
Next, the differences Ra to Re between the center pixel and the three pixels in the lower right diagonal direction (including the center pixel) are obtained. Ra = 0-0 = 0 Rb = 1-0 = 1 Rc = 3-0 = 3 Rd = 3-0 = 3 Re = 3-2 = 1

【0042】したがって、この場合にも同様にこの差R
の値が大きい場合に3×3画素のウィンドウ内に斜線パ
ターンが有ることを示し、例えばRa〜Reの値が2以
上の場合に斜線パターンが有ると判断すれば図11
(c), (d)に示すウィンドウ内に斜線パターンが有
ると判断することができる。また、このように画素値を
2値化することにより、加算演算を簡単にすることがで
きる。
Therefore, also in this case, the difference R
Is large, it indicates that there is a diagonal pattern in the window of 3 × 3 pixels. For example, if the value of Ra to Re is 2 or more, it is determined that there is a diagonal pattern.
It can be determined that there is an oblique line pattern in the windows shown in (c) and (d). Further, by binarizing the pixel value in this way, the addition operation can be simplified.

【0043】図12(a)〜(d)は斜線パターン検出
用のマッチングパターンを示し、図中の白領域は
「0」、黒領域は「1」を表している。先ず、画像デー
タを図10に示すように2値化し、その2値化データと
図12(a)〜(d)に示すマッチングパターンを比較
し、合致した場合に斜線パターンがあると判断する。こ
の例では、図11(c)と図12(b)、及び図11
(d)と図12(a)が合致しており、このウィンドウ
内に斜線パターンがあると判断される。
FIGS. 12A to 12D show matching patterns for oblique line pattern detection, in which white areas represent "0" and black areas represent "1". First, the image data is binarized as shown in FIG. 10, and the binarized data is compared with the matching patterns shown in FIGS. 12 (a) to 12 (d). In this example, FIGS. 11 (c) and 12 (b) and FIG.
FIG. 12A matches FIG. 12D, and it is determined that there is a hatched pattern in this window.

【0044】なお、上記実施形態では、ウィンドウの大
きさを3×3としたが、もちろんウィンドウサイズが異
なる場合にも同様な判断方法により斜線パターンを検知
することができる。但し、一般にウィンドウサイズが大
きい程、判別制度は上がるが、その分処理時間が長くな
り、また回路規模も大きくなる。
In the above embodiment, the size of the window is set to 3 × 3. However, even when the window size is different, the diagonal pattern can be detected by the same determination method. In general, the larger the window size, the higher the discrimination system, but the longer the processing time and the larger the circuit scale.

【0045】5.位置誤差の測定処理 次に、位置誤差測定部における位置誤差の測定処理につ
いて説明する。図13は図7に示すビットマップにおけ
る複数個の斜線(図では3本の斜線K1 〜K3)を示
し、また、この複数個の斜線を用いて位置誤差を測定す
るための10×3のサイズのウィンドウWを示してい
る。先ず、ウィンドウW内のデータ位置を求めるために
主走査方向の重心を演算し、以下、斜線K2に対するW
1 →W2 →W3 のようにウィンドウWを斜め左下45°
の方向に1画素ずつシフトする。そして、斜線K2の最
後のウィンドウWn に到達すると、ウィンドウWを主走
査方向のみに移動させて次の斜線K3のウィンドウWn+
1 に移動させる。
5. Position Error Measurement Processing Next, position error measurement processing in the position error measurement unit will be described. FIG. 13 shows a plurality of oblique lines (three oblique lines K1 to K3 in the figure) in the bit map shown in FIG. 7, and a size of 10.times.3 for measuring a position error using the plurality of oblique lines. Is shown in FIG. First, the center of gravity in the main scanning direction is calculated to obtain the data position in the window W.
Window W 45 ° diagonally lower left like 1 → W2 → W3
Is shifted one pixel at a time. When the last window Wn of the oblique line K2 is reached, the window W is moved only in the main scanning direction, and the window Wn + of the next oblique line K3 is moved.
Move to 1.

【0046】ここで、重心の主走査方向の位置は、45
°の斜線の場合、画素の位置が何らかの誤差要因により
移動することがなければ、図のようにウィンドウWをシ
フトさせると主走査方向に1画素ずつ移動する筈であ
る。また、画素の移動量が1画素分でない場合には、何
らかの原因により画素の位置が変動したことになり、し
たがって、位置誤差を求めることができる。位置誤差の
主要な要因が副走査方向の走査速度のむらによることが
分かっている場合には、位置誤差のデータから速度むら
にデータを変換することは容易である。
The position of the center of gravity in the main scanning direction is 45
In the case of the oblique line of °, if the position of the pixel does not move due to some error factor, if the window W is shifted as shown in the figure, it should move one pixel at a time in the main scanning direction. If the movement amount of the pixel is not one pixel, the position of the pixel fluctuates for some reason, and therefore, a position error can be obtained. If it is known that the main factor of the position error is caused by the unevenness of the scanning speed in the sub-scanning direction, it is easy to convert the data of the position error to the uneven speed.

【0047】ここで、CCD固有のノイズを始めとして
様々なノイズが画像データに含まれているが、重心を求
めるために周辺の画素のデータを含む多数の画素のデー
タを用いているので、重心を求める過程でノイズの影響
を軽減してS/N比が高い測定が可能となる。この場
合、通常、ウィンドウの画素の数が多い程、S/N比が
高くなる。ウィンドウの形状は、主走査方向の重心を求
めるので主走査方向に大きいほうが望ましく、副走査方
向のサイズは1ラインでも測定可能である。
Here, various noises including noise specific to the CCD are included in the image data. However, since the data of a large number of pixels including the data of the peripheral pixels is used to obtain the center of gravity, the center of gravity is used. In the process of obtaining the value of, the effect of noise is reduced, and measurement with a high S / N ratio becomes possible. In this case, the S / N ratio generally increases as the number of pixels in the window increases. The shape of the window is desirably large in the main scanning direction because the center of gravity in the main scanning direction is obtained, and the size in the sub-scanning direction can be measured even for one line.

【0048】6.重心の測定処理 次に、重心の測定処理は、図14のフローチャートに示
す手順で行われる。この処理は、原稿の走査開始と同時
にスタートし、先ず、主走査方向、副走査方向の各座標
値X、Yがイニシャライズ(X=0,Y=0)される
(ステップS1)。この座標値X、Yは斜線判別用の例
えば3×3のウィンドウ内のある画素位置例えば中心画
素の座標となる。次に、1本の斜線に対する測定回数を
示す変数iがイニシャライズ(i=0)される(ステッ
プS2)。
6 Center-of-gravity measurement process Next, the center-of-gravity measurement process is performed according to the procedure shown in the flowchart of FIG. This process starts at the same time as the start of scanning of the document. First, the coordinate values X and Y in the main scanning direction and the sub-scanning direction are initialized (X = 0, Y = 0) (step S1). The coordinate values X and Y are coordinates of a certain pixel position, for example, a center pixel in a 3 × 3 window for oblique line determination. Next, a variable i indicating the number of measurements for one oblique line is initialized (i = 0) (step S2).

【0049】次に位置誤差測定部105により斜線判別
用の3×3のウィンドウ内に斜線パターンが存在するか
否かが判断され(ステップS3)、無い場合にはその3
×3のウィンドウを主走査方向に1画素分シフト(X=
X+1)する(ステップS4)。なお、このシフト量は
ウィンドウの大きさ、斜線の太さに応じて決められ、1
画素以上でもよい。ステップS3において斜線パターン
が存在する場合には、重心測定用の例えば10×3のウ
ィンドウW1 を設定し、そのウィンドウW1 内の重心を
求める(ステップS5)。このとき、ウィンドウW1 の
大きさ、斜線の太さに応じて、斜線と判別された画素の
位置から主走査方向に整数画素分だけシフトし、斜線の
部分がウィンドウW1 の中心付近になるようにウィンド
ウW1 を設定してもよい。
Next, it is determined by the position error measuring section 105 whether or not a diagonal line pattern exists in the 3 × 3 window for diagonal line determination (step S3).
The x3 window is shifted by one pixel in the main scanning direction (X =
X + 1) (step S4). Note that this shift amount is determined according to the size of the window and the thickness of the oblique line, and
Pixels or more may be used. If there is a diagonal pattern in step S3, a window W1 of, for example, 10.times.3 for measuring the center of gravity is set, and the center of gravity in the window W1 is obtained (step S5). At this time, in accordance with the size of the window W1 and the thickness of the diagonal line, the position of the pixel determined to be diagonal is shifted by an integer number of pixels in the main scanning direction so that the diagonal line is near the center of the window W1. Window W1 may be set.

【0050】重心の測定を終了すると、重心のズレを計
算し(ステップS6)、次いで主走査方向に−1画素
分、副走査方向に+1画素分シフトしたウィンドウW2
を設定し、また、測定回数用のカウント値iを1つイン
クリメントする(ステップS7)。なお、この実施形態
では、ウィンドウWを1画素ずつ移動させているが、画
素の位置誤差を起こす原因となる振動などの周波数帯域
が低い場合には、2画素以上ずつ移動させてもよく、こ
の方法により測定に要する時間を短縮することができ
る。
When the measurement of the center of gravity is completed, the deviation of the center of gravity is calculated (step S6), and then the window W2 shifted by -1 pixel in the main scanning direction and +1 pixel in the sub scanning direction.
Is set, and the count value i for the number of measurements is incremented by one (step S7). In this embodiment, the window W is moved one pixel at a time. However, if the frequency band such as vibration that causes a position error of the pixel is low, the window W may be moved two or more pixels. The time required for the measurement can be reduced by the method.

【0051】次いで、予め設定された同一ラインの測定
回数nに対してi=nとならない場合にはステップS8
からステップS5に戻り、他方、i=nとなった場合す
なわちウィンドウWn に達した場合には次の斜線のウィ
ンドウWn+1 に移動させる(ステップS8→S9)。そ
の方法としては、斜線の主走査方向の間隔に相当する画
素分より整数画素mだけ、ウィンドウ座標を主走査方向
にシフトした後、測定カウント値iをクリアし(ステッ
プS2)、斜線判別処理(ステップS3)に戻る。以下
同様に、1本の斜線に対してウィンドウWn+1 、Wn+2
、Wn+3 〜のように移動させて位置誤差を測定する。
Next, if i = n does not hold for the preset number of measurements n of the same line, step S8
Then, the process returns to step S5, and when i = n, that is, when the window Wn is reached, the window is moved to the next hatched window Wn + 1 (step S8 → S9). As the method, the window coordinate is shifted in the main scanning direction by an integer pixel m from the pixel corresponding to the interval of the diagonal lines in the main scanning direction, the measurement count value i is cleared (step S2), and the diagonal line discrimination processing ( It returns to step S3). Similarly, the window Wn + 1, Wn + 2 for one oblique line
, Wn + 3 to measure the position error.

【0052】このように複数の斜線を用いて位置誤差を
測定することにより、読取装置の読み取り範囲が縦長で
あっても、副走査領域の全域に渡って位置誤差を測定す
ることができる。更に、主走査方向の狭い幅だけ測定す
るので、主走査方向の中央部、手前、奥側のように分け
て測定することもできる。また、高い分解能で位置誤差
を測定する場合にも、斜線のパターンを細くする必要は
全くなく、システムのMTFの制約を受けずに幅が広い
パターンを用いることができる。
By measuring the position error using a plurality of oblique lines in this manner, the position error can be measured over the entire sub-scanning area even if the reading range of the reading device is vertically long. Further, since the measurement is performed only in the narrow width in the main scanning direction, the measurement can be performed separately at the center, the front side, and the back side in the main scanning direction. Also, when measuring the position error with a high resolution, it is not necessary to make the hatched pattern thin, and a wide pattern can be used without being restricted by the MTF of the system.

【0053】更に、幅が広いパターンを用いた場合、幅
に応じてウィンドウも大きくなるので結果として測定精
度を向上させることができる。したがって、斜線の幅は
処理速度、リアルタイム処理を行う場合にはバッファの
サイズ、回路規模の経済性などとのバランスを考慮して
設定すればよい。また、幅が広いパターンを用いてその
片側のエッジを検出することにより位置誤差を測定する
ことができる。更に、例えば副走査方向の読み取りタイ
ミングに関係なく白黒パターンを副走査方向に配列する
とモアレの発生が問題となるが、本実施形態では副走査
方向の読み取りタイミングと斜線の関係は常に同じであ
るのでモアレの発生が問題とならず、その結果、高精度
で位置誤差を測定することができる。
Further, when a pattern having a wide width is used, the window becomes larger in accordance with the width, so that the measurement accuracy can be improved as a result. Therefore, the width of the diagonal line may be set in consideration of the balance between the processing speed, the size of the buffer when performing real-time processing, the economics of the circuit scale, and the like. Further, a position error can be measured by detecting an edge on one side using a wide pattern. Furthermore, for example, moiré is a problem when a black and white pattern is arranged in the sub-scanning direction regardless of the reading timing in the sub-scanning direction. The occurrence of moire is not a problem, and as a result, the position error can be measured with high accuracy.

【0054】7.ウィンドウデータと重心の計算 次に、ウィンドウのデータと重心の計算について詳細に
説明する。
7. Calculation of Window Data and Centroid Next, calculation of window data and centroid will be described in detail.

【0055】図15はウィンドウデータと斜線パターン
の各画素の読み取り値の関係を示し、読み取り値は8ビ
ットであって10進(0〜255)で示されている。主
走査方向の重心を求めるには、副走査方向の各列(3ラ
イン分)の和を求め、図に示すようにこれを左側からX
0、X1〜X9として、それぞれ18、50、202、
427、590、562、345、150、37、14
を求める。そして、各画素の主走査方向の中心座標を左
から順に0〜9とし、主走査方向の重心位置をRmとす
ると、重心位置Rmの回りのモーメントは0になるの
で、 X0(Rm−0)+X1(Rm−1)・・・+X9(R
m−9)=0 が成り立ち、数値を代入して計算するとRm=4.36
2が得られる。
FIG. 15 shows the relationship between the window data and the read value of each pixel in the oblique line pattern. The read value is 8 bits and is expressed in decimal (0 to 255). In order to obtain the center of gravity in the main scanning direction, the sum of each column (for three lines) in the sub-scanning direction is obtained, and as shown in FIG.
0, X1 to X9 as 18, 50, 202, respectively
427, 590, 562, 345, 150, 37, 14
Ask for. If the center coordinates of each pixel in the main scanning direction are 0 to 9 in order from the left, and the center of gravity in the main scanning direction is Rm, the moment around the center of gravity Rm is 0, so X0 (Rm-0) + X1 (Rm-1) ... + X9 (R
m-9) = 0, and Rm = 4.36 is obtained by substituting numerical values.
2 is obtained.

【0056】重心を求める理由は、補間などの前処理を
必要とせず、演算を簡素化、高速化することができるか
らである。また、画像位置を求める場合、各列毎のデー
タの和の並びから補間により所定の分解能のデータ列を
得て、そのデータからピーク値が存在する位置を求める
方法を用いることができる。
The reason for obtaining the center of gravity is that the calculation can be simplified and speeded up without the need for pre-processing such as interpolation. Further, when obtaining the image position, a method of obtaining a data string of a predetermined resolution by interpolation from the arrangement of the sum of the data of each column and obtaining the position where the peak value exists from the data can be used.

【0057】8.チャートの重心の計算 次に、複数本の斜線から成るチャートの重心を計算する
場合について説明する。図13に示すように複数本から
成る斜線の重心を計算する場合、同一線上の線では問題
とならないが、違う線にウィンドウが移動したときには
移動前と移動後では斜線の主走査方向の間隔が丁度、整
数画素数でない限り重心の値が異なるので、補正しなけ
ればならない。一例として図13に示す斜線K2のウィ
ンドウWn の重心の値Rn が4.65となり、次の斜線
K3に移動した場合のウィンドウWn+1 の重心の値Rn+
1 が4.38、ウィンドウWn+2 の重心の値Rn+2 が
4.40、ウィンドウWn+3 の重心の値Rn+3 が4.4
1となった場合、ウィンドウが移動したラインにおける
重心の差ΔRを計算すると、 ΔR=Rn −Rn+1 =4.65−4.38=0.27 となる。
8. Calculation of Center of Gravity of Chart Next, a case of calculating the center of gravity of a chart composed of a plurality of oblique lines will be described. As shown in FIG. 13, when calculating the barycenter of a plurality of diagonal lines, there is no problem with lines on the same line, but when the window is moved to a different line, the distance between the diagonal lines in the main scanning direction before and after the movement is different. Since the value of the center of gravity is different unless the number of pixels is exactly an integer, it must be corrected. As an example, the value Rn of the center of gravity of the window Wn of the diagonal line K2 shown in FIG. 13 is 4.65, and the value Rn + of the center of gravity of the window Wn + 1 when moving to the next diagonal line K3.
1 is 4.38, the value of the center of gravity Rn + 2 of the window Wn + 2 is 4.40, and the value of the center of gravity Rn + 3 of the window Wn + 3 is 4.4.
When it becomes 1, the difference ΔR of the center of gravity in the line where the window has moved is calculated as follows: ΔR = Rn−Rn + 1 = 4.65−4.38 = 0.27

【0058】この値ΔRを斜線K3の重心の値に加算
し、この加算結果を重心の値として位置誤差を求める。
この場合、ウィンドウWn+2 の重心の値Rn+2 、ウィン
ドウWn+3 の重心の値Rn+3 は、 Rn+2 =Rn+2 +ΔR=4.40+0.27=4.67 Rn+3 =Rn+3 +ΔR=4.41+0.27=4.68 となる。したがって、このように複数本の斜線からなる
チャートを使用しても、連続して高精度で位置誤差を測
定することができる。ただし、斜線K2のウィンドウW
n から斜線K3のウィンドウWn+1 に移動する場合、斜
線K2、K3は主走査方向に同時に存在しなければなら
ない。
This value ΔR is added to the value of the center of gravity of the oblique line K3, and a position error is obtained using the result of addition as the value of the center of gravity.
In this case, the value of the center of gravity Rn + 2 of the window Wn + 2 and the value of the center of gravity Rn + 3 of the window Wn + 3 are as follows: Rn + 2 = Rn + 2 + ΔR = 4.40 + 0.27 = 4.67 Rn + 3 = Rn + 3 + ΔR = 4.41 + 0.27 = 4.68 Therefore, even if a chart composed of a plurality of oblique lines is used, the position error can be continuously measured with high accuracy. However, the window W of the oblique line K2
When moving from n to the window Wn + 1 of the oblique line K3, the oblique lines K2 and K3 must exist simultaneously in the main scanning direction.

【0059】図16は斜線の配置関係を示し、長さL1
の複数の斜線が主走査方向に対して角度θで配置され、
主走査方向の斜線の始点と終点の位置が同一の場合、主
走査方向の斜線間隔をL2 とすると、 L2 <L1 ×cos θ ・・・(1) の関係が成り立つように斜線を配置すれば、斜線は主走
査方向には重なるので、ウィンドウを主走査方向に移動
して次の斜線の重心を連続して測定することができる。
ここで、斜線の長さL1 と斜線の始点、終点の主走査方
向の位置は式(1)の大小関係が大きいほど精度を必要
としなくなる。
FIG. 16 shows an arrangement relationship of oblique lines, and the length L1
Are arranged at an angle θ with respect to the main scanning direction,
If the start point and the end point of the oblique line in the main scanning direction are the same, assuming that the oblique line interval in the main scanning direction is L2, the oblique lines can be arranged such that the following relationship holds: L2 <L1 × cos θ (1) Since the diagonal lines overlap in the main scanning direction, the window can be moved in the main scanning direction to continuously measure the center of gravity of the next diagonal line.
Here, as the length L1 of the oblique line and the positions of the start point and the end point of the oblique line in the main scanning direction become smaller, the greater the magnitude relation of the equation (1), the less precision is required.

【0060】9.位置誤差補正処理 位置誤差補正部における読み取りデータの補正は次のよ
うにして行われる。
9. Position Error Correction Processing The correction of the read data in the position error correction unit is performed as follows.

【0061】すなわち、この実施形態では3次関数コン
ボリューションを利用して補正を行う。図17に3次関
数コンボリューションを利用した補正のモデル図を、図
18に補正の処理手順を示すフローチャートを示す。図
から分かるように速度ムラがない場合の副走査方向の画
素位置は、画素列Pで示すように等間隔となる。しか
し、速度ムラがある場合には、画素列Qで示すようにそ
の間隔はバラツキ、正しい位置から外れてくる。図は本
来Pn の位置になければならない画素が実際には画素Q
n の位置にあることを示している。
That is, in this embodiment, correction is performed using cubic function convolution. FIG. 17 is a model diagram of the correction using the cubic function convolution, and FIG. 18 is a flowchart showing the processing procedure of the correction. As can be seen from the figure, the pixel positions in the sub-scanning direction when there is no speed unevenness are equally spaced as shown by the pixel row P. However, when there is unevenness in the speed, as shown by the pixel column Q, the interval varies and deviates from a correct position. The figure shows that the pixel that should originally be at the position of Pn is actually the pixel Q
Indicates that it is at position n.

【0062】ここで、nライン目のある走査方向のデー
タPn の画像データ(濃度データ)を画素列Qの画像デ
ータと位置データとから重み関数である3次関数コンボ
リューションを使用して作成する例について説明する。
Here, 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 array Q and the position data by using a cubic function convolution which is a weighting function. An example will be described.

【0063】3次関数コンボリューションを利用する場
合、理想的なnライン目(Pn )の位置から2画素分以
内(r0 )のデータを位置誤差データから検出する(ス
テップ171,172)。この場合は、Qn 、Qn+1 、
Qn+2 、Qn+3 、Qn+4 のデータが対象となる。ここで
2画素分以内としているのは、r0 以上のデータは補正
係数を0として取り扱うのでそれ以上のデータは必要が
ないためである。そして、各データのPn からの距離r
によって各データQにおける補間関数h(r )を求め
る。これが補正係数となる(ステップ173)。ここ
で、補間関数h(r)はsinx/xの区分的3次多項
式近似で中心からの距離rによって以下の式、すなわ
ち、 h(r )=1−2|r|2 +|r|3 ・・・(2) ただし、0≦|r|<1 h(r )=4−8|r|+5|r|2 −|r|3 ・・・(3) ただし、1≦|r|<2 h(r )=0 ・・・(4) ただし、2≦|r|で表わされる。そして、この補間関
数h(r )のもとで、補正係数を対応するQのデータに
掛けて、Pn を求める。また、濃度ムラを補正するため
に各補正係数の合計が1になるように分母に補正係数の
合計をとる。すなわち、 Pn ={Qn ・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)} ・・・(5) となる(ステップ174)。
When the cubic function convolution is used, data within two pixels (r0) from the ideal position of the nth line (Pn) is detected from the position error data (steps 171 and 172). In this case, Qn, Qn + 1,
The data of Qn + 2, Qn + 3, and Qn + 4 are targeted. 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 necessary. Then, the distance r of each data from Pn
To find the interpolation function h (r) for each data Q. This becomes the correction coefficient (step 173). Here, the interpolation function h (r) is a piecewise cubic polynomial approximation of sinx / x, and the following formula is used according to the distance r from the center: h (r) = 1-2 | r | 2 + | r | 3 (2) where 0 ≦ | r | <1 h (r) = 4−8 | r | +5 | r | 2 − | r | 3 (3) where 1 ≦ | r | < 2 h (r) = 0 (4) where 2 ≦ | r | Then, under the interpolation function h (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, Pn = {Qn.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)} (5) (step 174).

【0064】この制御をnライン目の各主走査方向のデ
ータにおいて終了したら、n+1ライン目へのラインを
シフトしていき、最終ラインまで繰り返し行う(ステッ
プ175)。このとき式(5)において補間係数h(r
)と分母の補間係数の和の計算とその逆数の計算は、
対応する主走査方向の画像データの補正の前に1回実行
すればよい。このように制御することによって前述のよ
うにして測定した位置誤差データに基づいて、読み取っ
た画像データから正しい位置で読み取った場合の画像デ
ータを作成することができ、これによって位置誤差を補
正することが可能になる。
When this control is completed for the data in the main scanning direction of the n-th line, the line to the (n + 1) -th line is shifted and repeated until the last line (step 175). At this time, the interpolation coefficient h (r
) And the sum of the denominator interpolation coefficients and their reciprocal are
It may be executed once before the correction of the image data in the corresponding main scanning direction. By performing such control, it is possible to create image data when the image is read at the correct position from the read image data based on the position error data measured as described above, thereby correcting the position error. Becomes possible.

【0065】このようにして補正した前後の状態を図1
9に示す。通常の読取装置はキャリッジが走査を開始し
てから一定速度になった後に画像の読み取りを開始する
が、図19(a)では位置誤差を大きく見せるためにキ
ャリッジが走査を開始した直後から画像の読み取りを始
めたものを図示している。このとき、45度の斜線も同
時に読み込んでおり、この斜線パターン部分の画像から
前述の方式で位置誤差を求め、その位置誤差データと読
み取った画像データとから位置誤差を補正した画像が図
19(b)に示すものである。このようにして補正する
ことによってたとえ位置誤差を非常に大きく読み取って
しまったとしても、原稿に忠実な画像を再現できること
がわかる。
The state before and after the correction as described above is shown in FIG.
9 An ordinary reading apparatus starts reading an image after a certain speed has been reached after the carriage has started scanning. However, in FIG. 19A, the image reading is started immediately after the carriage starts scanning in order to show a large positional error. The figure which started reading has been illustrated. At this time, a 45-degree oblique line is also read at the same time, a position error is obtained from the image of the oblique line pattern portion by the above-described method, and an image obtained by correcting the position error from the position error data and the read image data is shown in FIG. This is shown in b). It can be seen that by performing the correction in this manner, an image faithful to the original can be reproduced even if the position error is read very large.

【0066】[0066]

【発明の効果】以上説明したように請求項1および2記
載の発明によれば、原稿を自動的に搬送する搬送ローラ
に位置誤差を検出するための斜線パターンを設け、原稿
面と同一速度で移動する斜線パターンを読み取るので、
原稿面の位置誤差をより高精度に検出することが可能に
なり、これによって画像の位置誤差を精度良く補正する
ことができる。
As described above, according to the first and second aspects of the present invention, a diagonal pattern for detecting a position error is provided on a transport roller for automatically transporting a document, and at the same speed as the document surface. Since the moving diagonal pattern is read,
The position error of the document surface can be detected with higher accuracy, and thereby the position error of the image can be accurately corrected.

【0067】請求項3記載の発明によれば、操作部から
原稿の厚みを補正することができるので、搬送ローラ表
面と原稿表面との原稿の厚みによる速度差を補正するこ
とが可能となり、これによって原稿の厚さに関係なく精
度のよい画像の位置誤差の検出と補正を行うことができ
る。
According to the third aspect of the present invention, since the thickness of the original can be corrected from the operation unit, it is possible to correct the speed difference due to the thickness of the original between the surface of the transport roller and the original. Thus, it is possible to accurately detect and correct an image position error regardless of the thickness of the document.

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

【図1】本発明の一実施形態に係る画像読取装置の概略
構成図である。
FIG. 1 is a schematic configuration diagram of an image reading apparatus according to an embodiment of the present invention.

【図2】図1における搬送ドラムと搬送ローラとの関係
を示す図である。
FIG. 2 is a diagram illustrating a relationship between a transport drum and a transport roller in FIG. 1;

【図3】図1における搬送ドラムと搬送ローラと原稿と
の関係を示す図である。
FIG. 3 is a diagram illustrating a relationship among a transport drum, a transport roller, and a document in FIG. 1;

【図4】斜線パターンが表面に設けられた搬送ローラの
斜視図である。
FIG. 4 is a perspective view of a transport roller having a diagonal pattern provided on a surface thereof.

【図5】図4の斜線パターンを詳しく示す搬送ローラ表
面の展開図である。
FIG. 5 is a developed view of the surface of the conveying roller, showing the hatched pattern of FIG. 4 in detail.

【図6】本発明の実施形態に係る画像読取装置に付設さ
れる位置誤差測定装置のシステム構成を示すブロック図
である。
FIG. 6 is a block diagram showing a system configuration of a position error measuring device attached to the image reading device according to the embodiment of the present invention.

【図7】走査速度の変動に応じた斜線パターンの読み取
りデータを示す説明図である。
FIG. 7 is an explanatory diagram showing read data of an oblique line pattern according to a change in scanning speed.

【図8】斜線パターンを拡大して示す説明図である。FIG. 8 is an explanatory diagram showing an oblique line pattern in an enlarged manner.

【図9】図8の斜線パターンの読み取り値を示す説明図
である。
FIG. 9 is an explanatory diagram showing read values of a hatched pattern in FIG. 8;

【図10】斜線判定用ウィンドウを示す説明図である。FIG. 10 is an explanatory diagram illustrating a diagonal line determination window.

【図11】他の斜線判定用ウィンドウを示す説明図であ
る。
FIG. 11 is an explanatory diagram showing another oblique line determination window.

【図12】斜線判定用マッチングパターンを示す説明図
である。
FIG. 12 is an explanatory diagram illustrating a matching pattern for oblique line determination.

【図13】重心測定用ウィンドウを示す説明図である。FIG. 13 is an explanatory diagram showing a window for measuring the center of gravity.

【図14】画像読取装置における重心の測定処理を説明
するためのフローチャートである。
FIG. 14 is a flowchart illustrating a process of measuring the center of gravity in the image reading apparatus.

【図15】重心測定用ウィンドウにおける読み取り値及
び重心測定方法を示す説明図である。
FIG. 15 is an explanatory diagram showing a read value and a method of measuring the center of gravity in the window for measuring the center of gravity.

【図16】パターンの長さ及び角度を示す説明図であ
る。
FIG. 16 is an explanatory diagram showing the length and angle of a pattern.

【図17】3次関数コンボリューションによる補正処理
を説明するための図である。
FIG. 17 is a diagram for describing correction processing by cubic function convolution.

【図18】3次関数コンボリューションによる補正処理
の処理手順を示すフローチャートである。
FIG. 18 is a flowchart illustrating a processing procedure of a correction process based on a cubic function convolution.

【図19】3次関数コンボリューションによる補正処理
における補正前と補正後の画像の状態を示す図である。
FIG. 19 is a diagram illustrating a state of an image before and after correction in a correction process using a cubic function convolution.

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

1 コンタクトガラス 2 筐体 3,20,21 ミラー 10 斜線パターン 10a 斜線 18 光源 22 レンズ 23 光電変換素子(ラインCCD) 100 ADF(自動原稿給送装置) 101 光電変換部 102 A/D変換部 103 シェーディング補正部 104 斜線判別部 105 位置誤差測定部 106 位置誤差補正部 107 制御部 108 操作部(速度補正部) 200 スキャナ P 原稿 Reference Signs List 1 contact glass 2 housing 3, 20, 21 mirror 10 oblique line pattern 10a oblique line 18 light source 22 lens 23 photoelectric conversion element (line CCD) 100 ADF (automatic document feeder) 101 photoelectric conversion section 102 A / D conversion section 103 shading Correction unit 104 Oblique line determination unit 105 Position error measurement unit 106 Position error correction unit 107 Control unit 108 Operation unit (speed correction unit) 200 Scanner P Document

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 原稿を自動的にコンタクトガラス上に給
送し、あらかじめ設定された一定の時間間隔で線順次に
走査して原稿画像を読み取る画像読取装置において、 原稿を搬送する搬送ドラムと、 あらかじめ走査方向に対して一定の傾きを有する線を等
ピッチで並べて構成した斜線パターンが形成された搬送
ローラと、 前記斜線パターンを光学的に読み取って電気信号に変換
する手段と、 この変換する手段によって電気信号に変換された前記斜
線パターンの画像データにウィンドウを設定して、ウィ
ンドウ内の画像データの重心を計算する手段と、 この重心を計算する手段に計算された重心の値に応じて
ウィンドウを移動させる手段と、 前記重心を計算する手段によって計算された重心の値か
ら画素の位置誤差を測定する手段と、を備えたことを特
徴とする画像読取装置。
An image reading apparatus for automatically feeding a document onto a contact glass and scanning a document image by scanning line-sequentially at predetermined time intervals, comprising: a transport drum for transporting the document; A conveying roller on which a diagonal pattern formed by previously arranging lines having a constant inclination with respect to the scanning direction at equal pitches; a means for optically reading the diagonal pattern and converting it into an electric signal; Means for setting a window in the image data of the diagonal pattern converted into an electric signal by the above, and calculating a center of gravity of the image data in the window; and a window corresponding to the value of the center of gravity calculated by the means for calculating the center of gravity. And means for measuring the position error of the pixel from the value of the center of gravity calculated by the means for calculating the center of gravity. An image reading apparatus comprising:
【請求項2】 前記搬送ドラムが原稿の裏面側に、搬送
ローラが原稿の表面側になるように配置したことを特徴
とする請求項1記載の画像読取装置。
2. The image reading apparatus according to claim 1, wherein the transport drum is disposed on the back side of the document, and the transport roller is disposed on the front side of the document.
【請求項3】 原稿を自動的にコンタクトガラス上に給
送し、あらかじめ設定された一定の時間間隔で線順次に
走査して原稿画像を読み取る画像読取装置において、 あらかじめ走査方向に対して一定の傾きを有する線を等
ピッチで並べて構成した斜線パターンと、 前記斜線パターンを光学的に読み取って電気信号に変換
する手段と、 この変換する手段によって電気信号に変換された前記斜
線パターンの画像データにウィンドウを設定して、ウィ
ンドウ内の画像データの重心を計算する手段と、 この重心を計算する手段に計算された重心の値に応じて
ウィンドウを移動させる手段と、 前記重心を計算する手段によって計算された重心の値か
ら画素の位置誤差を測定する手段と、 任意に位置誤差またはキャリッジの移動速度の一定量の
補正を行うことができる操作パネルと、を備えているこ
とを特徴とする画像読取装置。
3. An image reading apparatus which automatically feeds a document onto a contact glass and scans a document image by line-sequentially scanning at a predetermined time interval, wherein the image reading device has a predetermined scanning direction. A diagonal pattern formed by arranging lines having inclinations at equal pitches; a unit for optically reading the diagonal pattern and converting the diagonal pattern into an electric signal; and an image data of the diagonal pattern converted into an electric signal by the converting unit. Means for setting a window and calculating the center of gravity of the image data in the window; means for moving the window according to the value of the center of gravity calculated by the means for calculating the center of gravity; and means for calculating the center of gravity Means for measuring the position error of the pixel from the value of the center of gravity obtained, and arbitrarily correcting a certain amount of the position error or the moving speed of the carriage. And an operation panel capable of reading the image.
JP8231036A 1996-08-30 1996-08-30 Image reader Pending JPH1075331A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8231036A JPH1075331A (en) 1996-08-30 1996-08-30 Image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8231036A JPH1075331A (en) 1996-08-30 1996-08-30 Image reader

Publications (1)

Publication Number Publication Date
JPH1075331A true JPH1075331A (en) 1998-03-17

Family

ID=16917276

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8231036A Pending JPH1075331A (en) 1996-08-30 1996-08-30 Image reader

Country Status (1)

Country Link
JP (1) JPH1075331A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011014145A (en) * 2009-07-02 2011-01-20 Xerox Corp Image data compensation for optical or spatial error in array of photosensitive chips
CN112499311A (en) * 2015-10-21 2021-03-16 柯达阿拉里斯股份有限公司 Detection of process anomalies in a media processing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011014145A (en) * 2009-07-02 2011-01-20 Xerox Corp Image data compensation for optical or spatial error in array of photosensitive chips
CN112499311A (en) * 2015-10-21 2021-03-16 柯达阿拉里斯股份有限公司 Detection of process anomalies in a media processing system

Similar Documents

Publication Publication Date Title
US6023537A (en) Image reading apparatus using an image reading position error measuring device
US6608705B1 (en) Image reading device and focus adjustment method thereof
JP3683375B2 (en) Rotary encoder
EP0866353A2 (en) Document reader and method for adjusting its focus
JPH1079836A (en) Image reader
JPH1075331A (en) Image reader
JPH1051628A (en) Image reader
JPH118734A (en) Image reader
JPH10248013A (en) Image forming device and image read system
JP3556076B2 (en) Image position error measuring device
JP3647982B2 (en) Pixel position error measuring device and image reading device
JP3647992B2 (en) Image reading device
JP3517764B2 (en) Linear scale
JPH05199375A (en) Speed controller for optical system for copying machine
JP3534920B2 (en) Image reading device
JP3655383B2 (en) Pixel position measuring method, pixel position measuring apparatus and image reading apparatus
JP3464736B2 (en) Pixel position error measuring device
JP3647981B2 (en) Image reading device
JPH09163081A (en) Image reader
JPH1065875A (en) Image reader
JP3464737B2 (en) Image reading device
JP3614271B2 (en) Image reading device
JPH1031734A (en) Picture reader
JPH1032685A (en) Image reader
JPH1098584A (en) Measurement device for picture element position error or scanning speed of original