JPH09224163A - Image reader - Google Patents

Image reader

Info

Publication number
JPH09224163A
JPH09224163A JP8053950A JP5395096A JPH09224163A JP H09224163 A JPH09224163 A JP H09224163A JP 8053950 A JP8053950 A JP 8053950A JP 5395096 A JP5395096 A JP 5395096A JP H09224163 A JPH09224163 A JP H09224163A
Authority
JP
Japan
Prior art keywords
data
position error
image
correction
image data
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
JP8053950A
Other languages
Japanese (ja)
Inventor
Shinichiro Wada
真一郎 和田
Koichi Noguchi
浩一 野口
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 JP8053950A priority Critical patent/JPH09224163A/en
Publication of JPH09224163A publication Critical patent/JPH09224163A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To correct the variance of the reading position of data on each color R, G and B caused by the fluctuation of a velocity without simply eliminating the fluctuation of the velocity of a first carriage. SOLUTION: A positional error measuring part 8 measures a positional error and output the measuring result to a positional error correcting part 9 as a differential signal. The positional error correcting part 9 generates image data obtained by correcting the positional error from read image data and the difference signal being positional error data to send to an image processing part 2.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

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

【0002】[0002]

【従来の技術】従来の画像読み取り装置は、図8に示す
ように、原稿を読み取り、読み取りデータを、R,G,
B各色の画像データとして出力する画像読み取り部1
と、画像データの補正・原稿認識等を行う画像処理部2
からなり、デジタル複写機の場合には、画像処理部2か
らの出力画像データを用紙に出力する画像記録部3から
構成される。
2. Description of the Related Art As shown in FIG. 8, a conventional image reading apparatus reads a document and outputs read data as R, G, and
B Image reading unit 1 for outputting as image data of each color
And an image processing unit 2 for performing correction of image data, document recognition, etc.
In the case of a digital copying machine, the image recording unit 3 outputs the image data output from the image processing unit 2 onto a sheet.

【0003】まず、初めに画像読み取り手段の概念を説
明する。画像読み取りセンサは、図9に示すように、
R,G,Bとそれぞれのラインセンサが一定間隔で配置
されている。ここで、矢印A方向に読み取るとすると、
R,G,Bの間隔Nライン分読み取り位置がずれる。こ
れをライン間補正で補正を行う。
First, the concept of the image reading means will be described. The image reading sensor, as shown in FIG.
The R, G, and B line sensors are arranged at regular intervals. Here, when reading in the direction of arrow A,
The reading position is shifted by N lines between the R, G, and B intervals. This is corrected by line correction.

【0004】ライン補正の概略図を図10に示す。時間
的に一番最後であるBを基準にすると、Rは2Nライン
ディレイ部4でディレイすればよく、GはNラインディ
レイ部5でディレイすればよい。しかし、ラインディレ
イは整数倍しかできないので、小数部を周辺のラインを
参照してライン補正部7a,7bでライン補正を行う。
補正方法は、3次関数コンボリューション法でも平滑化
でも構わない。このことにより、R,G,Bの読み取り
位置を合わせて出力する。
A schematic diagram of line correction is shown in FIG. With reference to B, which is the last in time, R may be delayed by the 2N line delay unit 4, and G may be delayed by the N line delay unit 5. However, since the line delay can only be an integral multiple, the line correction is performed by the line correction units 7a and 7b with reference to the peripheral lines for the decimal part.
The correction method may be a cubic convolution method or smoothing. As a result, the R, G, and B reading positions are combined and output.

【0005】次に、画像処理部2を図11を用いて説明
する。画像処理部2は、RGBデータのグレーバランス
の補正と濃度データに変換するRGBγ補正部11と、
原稿認識部12の出力結果と同期を取るためにRGBデ
ータを遅延する遅延部13と、RGB画像データに応じ
て、文字領域か絵柄領域か判定して、さらに原稿領域が
有彩領域か無彩領域かを判定する原稿認識部12と、R
GBデータをMTF補正するRGBフィルタ部14と、
RGBデータを一次のマスキンギ方程式などで、CMY
のデータに変換する色補正部15と、画像データの色再
現を向上させるため、CMYの共通部分にUCR(下色
除去)を行い、Bkデータを生成して、Y,M,C,B
k4色で表現するUCR部16と、主走査方向の拡大・
縮小、あるいは等倍処理を行う主走査変倍部17と、画
像記録部の周波数特性や原稿認識部の判定結果により、
M×Mの空間フィルタを用い、平滑化処理や鮮鋭化処理
を行うCMYBkフィルタ18と、画像記録部の周波数
特性や原稿認識部の判定結果により、γカーブを変更し
処理をするCMYBkγ補正部19と、画像記録部の階
調特性や原稿認識部の判定結果により、ディザ処理等の
量子化を行う階調処理部20からなる。
Next, the image processing section 2 will be described with reference to FIG. The image processing unit 2 includes an RGBγ correction unit 11 that corrects gray balance of RGB data and converts it into density data.
A delay unit 13 that delays the RGB data in order to synchronize with the output result of the document recognition unit 12, and a character region or a pattern region is determined according to the RGB image data, and the document region is further a chromatic region or an achromatic region. A document recognition unit 12 that determines whether the area is an area;
An RGB filter section 14 for MTF correcting the GB data,
RGB data can be converted into CMY by the first-order Masinghi equation.
In order to improve the color reproduction of the image correction data and the color correction unit 15 for converting the data of the above, the UCR (under color removal) is performed on the common portion of CMY to generate the Bk data, and Y, M, C and B are generated.
UCR section 16 expressed in k4 colors and enlargement in the main scanning direction
Depending on the main scanning scaling unit 17 that performs reduction or equal-magnification processing, the frequency characteristics of the image recording unit, and the determination result of the document recognition unit,
A CMYBk filter 18 that performs smoothing processing and sharpening processing using an M × M spatial filter, and a CMYBk γ correction unit 19 that changes the γ curve and performs processing based on the frequency characteristics of the image recording unit and the determination result of the document recognition unit. And a gradation processing unit 20 that performs quantization such as dither processing according to the gradation characteristics of the image recording unit and the determination result of the document recognition unit.

【0006】また、具体的な従来技術として、例えば特
開平6−22159号公報に記載された技術がある。こ
の従来例は、副走査方向に配置された互いに平行な複数
のイメージセンサを使って画像読み取りを行う装置に関
するものである。
Further, as a concrete conventional technique, for example, there is a technique described in Japanese Patent Laid-Open No. 6-22159. This conventional example relates to a device for reading an image using a plurality of image sensors arranged in the sub-scanning direction and parallel to each other.

【0007】間隔をあけてセンサが配置されることで生
じる画像データの時間的ずれを完全に補正しないと、色
ずれが生じる。必要な補正量は読み取りの走査速度と関
連し、走査速度に速度むらがあると、色ずれの原因にな
る。
Color shift occurs unless the time shift of the image data caused by arranging the sensors at intervals is completely corrected. The necessary correction amount is related to the scanning speed of reading, and if the scanning speed is uneven, it causes color misregistration.

【0008】この技術では、この不具合を避けるため
に、読み取りのキャリッジを駆動するモータに取り付け
られたF/Gが回転に伴って発生するパルスの間隔をマ
イクロプロセッサにより内部クロックを計数することで
モータの駆動速度を求め、それを読み取りの走査速度と
している。そしてこの走査速度を使って、複数のセンサ
間の位置ずれを補正している。
In this technique, in order to avoid this inconvenience, the internal clock is counted by the microprocessor for the interval of pulses generated by the rotation of the F / G mounted on the motor for driving the reading carriage. The driving speed of is calculated and used as the scanning speed for reading. Then, this scanning speed is used to correct the positional deviation between the plurality of sensors.

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

【0010】[0010]

【発明が解決しようとする課題】上記従来技術において
は、複数のラインセンサ間のずれに対する補正であるか
ら、最下流のセンサから得られるデータに対しては補正
をする必要がなく、従って公報中にも何ら補正を行って
いないことを明示している。補正を行っていない最下流
のセンサによって得られるデータに着目する。読み取り
の走査速度が変動すると、一定速度で走査して読み取る
場合に比べて原稿上の読んでいる位置がずれることにな
り、結果として、速度変動に伴う画像の伸び縮みが起き
る。
In the above-mentioned prior art, since the correction is made for the deviation between a plurality of line sensors, it is not necessary to correct the data obtained from the most downstream sensor, and accordingly, there is no need for correction. It clearly states that no correction is made. Focus on the data obtained by the most downstream sensor that has not been corrected. When the scanning speed of reading fluctuates, the position being read on the original shifts compared with the case of scanning and reading at a constant speed, and as a result, the image expands and contracts due to the speed fluctuation.

【0011】従来技術は、この伸び縮みが生じるデータ
に対して上流のデータを補正して合わせているので、結
果として色ずれは防止できているが、カラー画像全体と
しては走査速度の変動に伴う画像の伸び縮みとして表れ
る本来あるべき画素の位置とのずれは残ることになる。
In the prior art, since the upstream data is corrected and matched with the data that causes the expansion and contraction, color misregistration can be prevented as a result, but the color image as a whole is accompanied by fluctuations in the scanning speed. The deviation from the original pixel position, which appears as expansion and contraction of the image, remains.

【0012】この従来技術の補正の方法は、複数のライ
ンセンサの間隔を変化しないものとして補正の基準とし
ている。基準がライン間の間隔であるから、適用対象も
複数のセンサを具備するものに限られる。
In this conventional correction method, the correction reference is made on the assumption that the intervals between the plurality of line sensors are not changed. Since the standard is the distance between lines, the application target is limited to those having a plurality of sensors.

【0013】また、走査速度の検出を駆動モータの回転
から行っているが、平面の上に置かれた原稿を走査して
読み取る形式の読み取り装置では、回転運動を直線運動
に変換する機構が必要であり、変換機構に起因する速度
むらの発生を完全に除去するのは困難で、モータの回転
むらと、キャリッジの移動速度のむらとは必ずしも一致
するものではないことが知られている。従って、この従
来技術の速度データは、ライン間の位置ずれを補正する
データとしては相応しくない場合もあり得る。
Further, the scanning speed is detected from the rotation of the drive motor, but a reading device of the type in which an original placed on a plane is scanned and read requires a mechanism for converting rotational movement into linear movement. It is known that it is difficult to completely eliminate the occurrence of speed unevenness due to the conversion mechanism, and it is known that the rotation unevenness of the motor does not always match the unevenness of the moving speed of the carriage. Therefore, the speed data of this prior art may not be suitable as data for correcting the positional deviation between lines.

【0014】本発明は、単純に第1キャリッジの速度変
動を無くすのではなく、R,G,B各色のデータが、速
度変動により、読み取り位置がばらつくのを補正するこ
とができる画像読み取り装置を提供することを目的とす
る。
The present invention provides an image reading apparatus capable of correcting variations in the reading position of data of R, G, and B colors due to velocity fluctuations, rather than simply eliminating velocity fluctuations of the first carriage. The purpose is to provide.

【0015】[0015]

【課題を解決するための手段】請求項1に記載の発明
は、画像を一定の時間間隔で線順次に走査して読み取る
形式のカラーの画像読み取り装置において、R,G,B
の各画像データに対して、走査方向に一定の傾きで一定
の幅のパターンを読み取ると共に、前記パターンとその
周辺の地肌部に対応する連続した領域を設定する領域設
定手段と、前記領域を画素の整数個分ずつ順次移動させ
て設定し直す領域再設定手段と、領域が設定されるごと
にその領域におけるパターンの位置を演算する第1の演
算手段と、領域の移動前後におけるパターンの位置デー
タの変化を演算する第2の演算手段と、前記位置データ
の変化の演算結果を出力する出力手段とを備えたことを
特徴とする。
According to a first aspect of the present invention, there is provided an R, G, B color image reading apparatus of a type in which an image is line-sequentially scanned and read at regular time intervals.
For each of the image data, while reading a pattern of a constant width with a constant inclination in the scanning direction, a region setting means for setting a continuous region corresponding to the pattern and the surrounding background portion, and the region pixel Area resetting means for resetting by sequentially moving by an integer number of units, first calculating means for calculating the position of the pattern in the area each time the area is set, and position data of the pattern before and after the movement of the area. Of the position data, and second output means for outputting a calculation result of the change of the position data.

【0016】請求項2に記載の発明は、請求項1記載に
おいて、前記測定によって得られたR,G,B各色の位
置誤差データに基づいて、重み付け関数から補間係数を
計算する制御手段と、前記補間係数と読み取った各色の
画像データから第1キャリッジの副走査方向の位置誤差
が無いときに得られるはずの画像データを補間して求め
る補間手段とを備えたことを特徴とする。
According to a second aspect of the present invention, in the first aspect, the control means calculates an interpolation coefficient from a weighting function based on the position error data of each color of R, G, B obtained by the measurement, The image forming apparatus further comprises an interpolating unit that interpolates image data that should be obtained when there is no positional error in the sub-scanning direction of the first carriage from the interpolation coefficient and the read image data of each color.

【0017】請求項3に記載の発明は、請求項2記載に
おいて、時間的に一番最初に読み取る画像データ信号が
Rのとき、走査開始時点でのRの位置を基準として、他
のG,Bの基準位置を補正して位置誤差を補正する補正
手段を備えたことを特徴とする。
According to a third aspect of the present invention, in the second aspect, when the image data signal read first in terms of time is R, the other G, It is characterized by comprising a correction means for correcting the reference position of B to correct the position error.

【0018】請求項4に記載の発明は、請求項3記載に
おいて、少なくとも第1キャリッジの副走査方向の位置
誤差が無いときの位置と、位置誤差が有る場合の位置と
の差の分をラインメモリとして有し、位置誤差を測定す
る測定手段と、位置誤差を補正する前記補正手段に対し
て、共通のラインメモリを使用することを特徴とする。
According to a fourth aspect of the present invention, in the third aspect, the difference between the position at least when there is no position error in the sub-scanning direction of the first carriage and the position when there is a position error is a line. It is characterized in that a common line memory is used for the measuring means having a memory for measuring the position error and the correcting means for correcting the position error.

【0019】請求項5に記載の発明は、請求項4記載に
おいて、補間に用いる前記ラインメモリと、前記位置誤
差を求める位置誤差検出手段と、重み付け関数から補間
係数を計算する制御手段と、前記補間手段に、R,G,
B各色の画像データを切り替えて入力する入力手段とを
備えたことを特徴とする。
According to a fifth aspect of the present invention, in the fourth aspect, the line memory used for interpolation, position error detection means for obtaining the position error, control means for calculating an interpolation coefficient from a weighting function, and R, G,
B is provided with input means for switching and inputting image data of each color.

【0020】[0020]

【発明の実施の形態】本発明の画像読み取り装置は、図
1に示すように、従来の画像読み取り部1と画像処理部
2の間に位置誤差を測定し、その測定結果を誤差信号と
して位置誤差補正部9に出力する位置誤差測定部8と、
読み取った画像データと位置誤差データである前記誤差
信号から、位置誤差を補正した画像データを生成する位
置誤差補正部9とを備えた構成となっている。
BEST MODE FOR CARRYING OUT THE INVENTION As shown in FIG. 1, an image reading apparatus according to the present invention measures a position error between a conventional image reading unit 1 and an image processing unit 2 and uses the measurement result as an error signal for position detection. A position error measuring unit 8 for outputting to the error correcting unit 9,
A position error correction unit 9 is provided which generates image data in which the position error is corrected from the read image data and the error signal which is the position error data.

【0021】次に、画像読み取り部1と、位置誤差測定
部8と、位置誤差補正部9の説明を図2(a),
(b),(c)に基づいて行う。時間的に一番最後であ
るBを基準にして、Rの読み取りデータは2Nラインデ
ィレイ部4でディレイした信号をラインディレイ部21
aに入力し、Gの読み取りデータはNラインディレイ部
5でディレイした信号をラインディレイ部21bに入力
する。Bの読み取りデータはそのままラインディレイ部
21cに入力する。
Next, the image reading unit 1, the position error measuring unit 8 and the position error correcting unit 9 will be described with reference to FIG.
This is performed based on (b) and (c). The read data of R is a signal delayed by the 2N line delay unit 4 based on B which is the last in time, and the line delay unit 21
The read data of G is input to a and the signal delayed by the N line delay unit 5 is input to the line delay unit 21b. The read data of B is directly input to the line delay unit 21c.

【0022】位置誤差測定部22a,22b,22cで
は、位置誤差を求めるためのウィンドウの副走査方向の
ライン数の分だけ、ラインディレイ部21a,21b,
21cから各読み取りデータが入力される。位置誤差測
定部22a,22b,22cでは、後述する方法で位置
誤差を測定し、その測定データを誤差信号として、補正
係数演算部23a,23b,23cに出力する。
In the position error measuring units 22a, 22b, 22c, line delay units 21a, 21b,
Each read data is input from 21c. The position error measuring units 22a, 22b, 22c measure the position error by a method described later, and output the measured data as an error signal to the correction coefficient computing units 23a, 23b, 23c.

【0023】補正係数演算部23a,23b,23cで
は、補正に要するライン数がラインディレイ部21a,
21b,21cから入力される。このライン数は、位置
誤差の大きさにより決まる。
In the correction coefficient calculation units 23a, 23b and 23c, the number of lines required for correction is the line delay unit 21a,
Input from 21b and 21c. The number of lines depends on the size of the position error.

【0024】第1キャッジの走査速度が基準速度より遅
く変動する場合ほど、補正に要するライン数は大きくな
る。位置誤差の変動範囲を予め測定しておき、位置誤差
が最も大きい場合でも、補正できるライン数をラインデ
ィレイ部21a,21b,21cは確保しておけばよ
い。
The number of lines required for correction increases as the scanning speed of the first cage changes slower than the reference speed. It is sufficient to measure the variation range of the position error in advance and secure the number of lines that can be corrected in the line delay units 21a, 21b, and 21c even when the position error is the largest.

【0025】ラインディレイ部21a,21b,21c
から入力される画像データと、位置誤差測定部22a,
22b,22cからの誤差データから、各画像データに
対する補正係数を計算する。この補正係数演算は、1ラ
インに1回だけ行えばよい。
Line delay units 21a, 21b, 21c
Image data input from the position error measuring unit 22a,
The correction coefficient for each image data is calculated from the error data from 22b and 22c. This correction coefficient calculation need only be performed once per line.

【0026】ライン補正部24a,24b,24cで
は、前記誤差データと補正係数から、位置誤差補正を行
う。補正方法の詳細は後述する。
The line correction units 24a, 24b and 24c perform position error correction based on the error data and the correction coefficient. Details of the correction method will be described later.

【0027】このような制御により、位置誤差を測定
し、その位置誤差を補正する制御をリアルタイムに行う
ことができる。ここで、補正前の誤差データをPC(パ
ソコン)に取り込むことにより位置誤差の測定ができ、
読み取り装置の性能測定に利用できる。
By such control, the position error can be measured and the control for correcting the position error can be performed in real time. Here, the position error can be measured by importing the error data before correction into the PC (personal computer),
It can be used to measure the performance of readers.

【0028】R,G,B3ラインのセンサを有するカラ
ーの画像読み取り装置の場合に、メモリが多ければ1回
の走査でR,G,B各色の画像データを読み込み処理す
ることができる。しかし、メモリのコストは高いため、
通常、R,G,B各色ごとに原稿を走査して、画像デー
タを読み取る方式を採っている。
In the case of a color image reading apparatus having R, G, B three-line sensors, if the memory is large, the image data of R, G, B colors can be read and processed by one scan. However, because the cost of memory is high,
Usually, a method is used in which an original is scanned for each color of R, G, and B to read image data.

【0029】そのため、各色毎に位置誤差測定部8、位
置誤差補正部9を持つ必要がなく、図3に示すように、
R,G,B各色の画像データをRGB切り替え部25に
て走査ごとに切り替えることにより、ラインディレイ部
21d、位置誤差測定部22d、補正係数演算部23
d、ライン補正部24dは、1組持てばよいことにな
る。
Therefore, it is not necessary to have the position error measuring unit 8 and the position error correcting unit 9 for each color, and as shown in FIG.
By switching the image data of each color of R, G, and B for each scan by the RGB switching unit 25, the line delay unit 21d, the position error measuring unit 22d, the correction coefficient computing unit 23.
d, the line correction unit 24d only needs to be provided in one set.

【0030】次に、位置誤差補正処理の説明を行う。図
4に3次関数コンボリューションを利用した補正のモデ
ル図を、図5に補正のフロー図を示す。
Next, the position error correction processing will be described. FIG. 4 shows a model diagram of correction using cubic convolution, and FIG. 5 shows a flow chart of correction.

【0031】速度むらが無い場合の副走査方向の画素位
置は、画素列Pで示すように等間隔となる。しかし、速
度むらがある場合には、画素列Qで示すように、その間
隔はばらつき、正しい位置から外れてくる。図4は、本
来Pnの位置になければならない画素が、実際には画素
Qnの位置にあることを示している。
Pixel positions in the sub-scanning direction when there is no speed unevenness are at equal intervals as indicated by the pixel row P. However, when there is unevenness in speed, as shown by the pixel row Q, the interval varies, and the position deviates from the correct position. FIG. 4 shows that the pixel that should originally be at the position Pn is actually at the position of the pixel Qn.

【0032】ここで、nライン目のある主走査方向のデ
ータPnの画像データ(濃度データ)を、画素列Qの画
像データと画素列Qの位置データとから、重み関数であ
る3次関数コンボリューションを使用して作成する例を
説明する。
Here, the image data (density data) of the data Pn in the main scanning direction having the n-th line is calculated from the image data of the pixel row Q and the position data of the pixel row Q by a cubic function function which is a weighting function. An example of creating using a volume will be described.

【0033】理想的なnライン目(Pn)の位置から2
画素分以内(r0)のデータを、位置誤差データから検
出する。この場合は、Qn,Qn+1,Qn+2,Qn
+3,Qn+4のデータが対象となる(2画素分:r0
以上のデータは補正係数を0として扱うため必要な
い)。
2 from the position of the ideal n-th line (Pn)
Data within a pixel (r0) is detected from the position error data. In this case, Qn, Qn + 1, Qn + 2, Qn
The data of +3 and Qn + 4 is targeted (for 2 pixels: r0
The above data is not necessary because the correction coefficient is treated as 0).

【0034】各データのPnからの距離rにより、各デ
ータQにおける補間関数h(r)を求める。これが補正
係数となる。ここで、h(r)は、sinx/xの区分
的3次多項式近似で、中間からの距離rにより図4中に
(1),(2),(3)で示す式で表される。
The interpolation function h (r) in each data Q is obtained from the distance r from each data to Pn. This is the correction coefficient. Here, h (r) is a piecewise cubic polynomial approximation of sinx / x, and is represented by the equations (1), (2), and (3) in FIG. 4 according to the distance r from the middle.

【0035】補正係数を対応するQのデータに掛けてP
nを求める。また濃度むらを補正するために各補正係数
の合計が1になるように、分母に補正係数の合計をと
る。すなわち、 Pn={Qn ・h(r1)+Qn+1 ・h(r2)+Q n+2・h(r3)+Qn+3 ・h(r4)+Qn+4 ・h(r5)}/{h(r1)+h(r2)+h(r 3)+h(r4)+h(r5)}・・・(4) となる。
Multiply the corresponding Q data by the correction coefficient to obtain P
Find n. Further, in order to correct the density unevenness, the total of the correction coefficients is set to 1, and the total of the correction coefficients is taken as the denominator. That, Pn = {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)

【0036】この制御をnライン目の各主走査方向のデ
ータにおいて終了したら、n+1ライン目とラインをシ
フトしていき、最終ラインまで繰り返し行う。このとき
(4)式において、補間係数h(r)と分母の補間係数
の和の計算は、対応する主走査方向の画像データの補正
の前に1回行えばよい。
When this control is completed for the data of the nth line in each main scanning direction, the lines are shifted to the (n + 1) th line and repeated until the final line. At this time, in the formula (4), the sum of the interpolation coefficient h (r) and the interpolation coefficient of the denominator may be calculated once before the correction of the corresponding image data in the main scanning direction.

【0037】本方式では、走査開始時点からの位置を測
定することができるので、2Nラインディレイ部4とN
ラインディレイ部5を図6に示すように、特別持たなく
てもよい。これは、走査開始時点で斜線パターン26を
読み取ったときに、R,G,Bの位置関係が図7(a)
のような位置関係にあるとき、Rの位置を基準として、
他のG,Bの読み取りデータの位置誤差補正を行う。
In this method, since the position from the start of scanning can be measured, the 2N line delay unit 4 and N
As shown in FIG. 6, the line delay unit 5 may not be specially provided. This is because the positional relationship among R, G, and B is as shown in FIG.
When there is a positional relationship such as
Positional error correction of other G and B read data is performed.

【0038】すなわち、Bの信号に注目すると、矢印D
方向にキャリッジを走査していき、最も図7(a)のR
の位置に近いBの読み取り位置を位置誤差測定部8によ
り検出する。このときのRとの位置誤差dを考慮して補
正を行う。
That is, focusing on the signal of B, the arrow D
The carriage is scanned in the direction shown in FIG.
The position reading measuring unit 8 detects the reading position of B close to the position of. The correction is performed in consideration of the position error d with respect to R at this time.

【0039】図4で見たときに、理想的な位置の一番最
初のデータP0の位置と、実際の位置の一番最初のデー
タQ0の位置が、図7(a)のRのときは同じになるの
に対して、Bの信号では、実際の位置の一番最初のデー
タQ0に対して、理想的な位置の一番最初のデータP0
の位置を走査方向にdだけずらして補正を行う。それに
伴い理想的位置のPn全体がdシフトする〔同図
(b)〕。Gの信号についても同様な制御で位置誤差を
補正する。
As shown in FIG. 4, when the position of the first data P0 at the ideal position and the position of the first data Q0 at the actual position are R in FIG. 7A, On the other hand, in the case of the signal B, the first data P0 at the ideal position is different from the first data Q0 at the actual position.
The position of is shifted in the scanning direction by d to perform the correction. Along with this, the entire Pn at the ideal position is shifted by d [(b) in the figure]. The position error of the G signal is corrected by similar control.

【0040】このような制御により、本方式で測定した
位置誤差データに基づき、読み取った画像データから正
しい位置で読み取った場合のカラー画像データを作成す
ることができる。すなわち、位置誤差を補正することが
できる。
By such control, it is possible to create color image data when the image is read at the correct position from the read image data based on the position error data measured by this method. That is, the position error can be corrected.

【0041】[0041]

【発明の効果】請求項1記載の発明によれば、精細なパ
ターンを用いなくても、装置の画素のサイズより高い分
解能で、R,G,B各色毎の位置誤差を測定できる。
According to the first aspect of the present invention, the position error for each color of R, G, B can be measured with a resolution higher than the size of the pixel of the device without using a fine pattern.

【0042】請求項2記載の発明によれば、画像読み取
りと、画素の位置誤差を生じる主要原因である第1キャ
リッジの位置測定を同時に行って、画素の位置誤差を補
正するので、位置歪みの少ないカラー画像が得られる。
According to the second aspect of the present invention, since the image reading and the position measurement of the first carriage, which is the main cause of the pixel position error, are performed simultaneously to correct the pixel position error, the position distortion of the pixel is corrected. Fewer color images are obtained.

【0043】請求項3記載の発明によれば、R,G,B
各色のデータが、速度変動により読み取り位置がばらつ
いた画像データを補正するため、黒文字の周りに色付き
が生じたり、黒文字が細くなったり、像域分離にエラー
を起こしたりする不具合を減らすことができる。
According to the invention of claim 3, R, G, B
Since the data of each color corrects the image data in which the reading position varies due to the speed fluctuation, it is possible to reduce problems such as coloring around black characters, black characters becoming thin, and errors in image area separation. .

【0044】請求項4記載の発明によれば、位置誤差を
補正する際に、最低限必要なデータを備えることによ
り、補正の精度を上げると共に、無駄なラインメモリを
必要としないため、回路規模の縮小、コストダウンを図
ることができる。
According to the fourth aspect of the present invention, when the position error is corrected, the minimum necessary data is provided, so that the accuracy of the correction is improved and a wasteful line memory is not required. Can be reduced and cost can be reduced.

【0045】請求項5記載の発明によれば、補間に用い
るラインメモリと、位置誤差を求める手段と、重み付け
関数から補間係数を計算する制御手段と、補間係数と読
み取った各色の画像データから第1キャリッジの副走査
方向の位置誤差が無いときに得られるはずの画像データ
を補間して求める手段を、R,G,B各色毎に持つ必要
がないため、回路規模が小さくコストダウンとなる。
According to the fifth aspect of the present invention, the line memory used for interpolation, the means for obtaining the position error, the control means for calculating the interpolation coefficient from the weighting function, and the interpolation coefficient and the read image data of each color Since it is not necessary to have a means for interpolating image data that should be obtained when there is no positional error in the sub-scanning direction of one carriage for each color of R, G, B, the circuit scale is small and the cost is reduced.

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

【図1】本発明の実施の形態に係る画像読み取り装置の
ブロック図である。
FIG. 1 is a block diagram of an image reading apparatus according to an embodiment of the present invention.

【図2】位置誤差測定部と位置誤差補正部の第1の例の
ブロック図である。
FIG. 2 is a block diagram of a first example of a position error measuring unit and a position error correcting unit.

【図3】位置誤差測定部と位置誤差補正部の第2の例の
ブロック図である。
FIG. 3 is a block diagram of a second example of a position error measuring unit and a position error correcting unit.

【図4】3次関数コンボリューションを利用した補正の
モデルを示す説明図である。
FIG. 4 is an explanatory diagram showing a correction model using cubic convolution.

【図5】位置誤差補正処理のフロー図である。FIG. 5 is a flowchart of a position error correction process.

【図6】位置誤差測定部と位置誤差補正部の第3の例の
ブロック図である。
FIG. 6 is a block diagram of a third example of a position error measuring unit and a position error correcting unit.

【図7】斜線パターンとR,G,Bの位置関係を示す説
明図である。
FIG. 7 is an explanatory diagram showing a positional relationship between diagonal patterns and R, G, and B.

【図8】従来の画像読み取り装置のブロック図である。FIG. 8 is a block diagram of a conventional image reading device.

【図9】画像読み取りセンサのレイアウト図である。FIG. 9 is a layout diagram of an image reading sensor.

【図10】従来のライン補正部のブロック図である。FIG. 10 is a block diagram of a conventional line correction unit.

【図11】従来の画像処理部のブロック図である。FIG. 11 is a block diagram of a conventional image processing unit.

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

1 画像読み取り部 2 画像処理部 3 画像記録部 4 2Nラインディレイ部 5 Nラインディレイ部 6 1ラインメモリ部 7a、7b ライン補正部 8 位置誤差補正部 9 位置誤差補正部 10 画像記録部 21a、21b、21c ラインディレイ部 22a,22b,22c 位置誤差測定部 23a,23b,23c 補正係数演算部 24a,24b,24c ライン補正部 25 RGB切り替え部 26 斜線パターン DESCRIPTION OF SYMBOLS 1 image reading section 2 image processing section 3 image recording section 4 2 N line delay section 5 N line delay section 6 1 line memory section 7a, 7b line correction section 8 position error correction section 9 position error correction section 10 image recording section 21a, 21b , 21c Line delay section 22a, 22b, 22c Position error measurement section 23a, 23b, 23c Correction coefficient calculation section 24a, 24b, 24c Line correction section 25 RGB switching section 26 Diagonal line pattern

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 画像を一定の時間間隔で線順次に走査し
て読み取る形式のカラーの画像読み取り装置において、
R,G,Bの各画像データに対して、走査方向に一定の
傾きで一定の幅のパターンを読み取ると共に、前記パタ
ーンとその周辺の地肌部に対応する連続した領域を設定
する領域設定手段と、前記領域を画素の整数個分ずつ順
次移動させて設定し直す領域再設定手段と、領域が設定
されるごとにその領域におけるパターンの位置を演算す
る第1の演算手段と、領域の移動前後におけるパターン
の位置データの変化を演算する第2の演算手段と、前記
位置データの変化の演算結果を出力する出力手段とを備
えたことを特徴とする画像読み取り装置。
1. A color image reading apparatus of a type in which an image is scanned by reading it line-sequentially at regular time intervals,
Area setting means for reading a pattern having a constant width in the scanning direction with a constant inclination for each of the R, G, and B image data, and setting a continuous area corresponding to the pattern and the surrounding background area. , Area resetting means for sequentially resetting the area by moving it by an integer number of pixels, first calculating means for calculating the position of the pattern in the area each time the area is set, and before and after moving the area 2. An image reading apparatus comprising: a second calculation means for calculating a change in the position data of the pattern in 1) and an output means for outputting a calculation result of the change in the position data.
【請求項2】 請求項1記載において、前記測定によっ
て得られたR,G,B各色の位置誤差データに基づい
て、重み付け関数から補間係数を計算する制御手段と、
前記補間係数と読み取った各色の画像データから第1キ
ャリッジの副走査方向の位置誤差が無いときに得られる
はずの画像データを補間して求める補間手段とを備えた
ことを特徴とする画像読み取り装置。
2. The control means according to claim 1, which calculates an interpolation coefficient from a weighting function based on the position error data of each color of R, G, B obtained by the measurement.
An image reading apparatus comprising: an interpolation unit that interpolates image data that should be obtained when there is no positional error in the sub-scanning direction of the first carriage from the interpolation coefficient and the read image data of each color. .
【請求項3】 請求項2記載において、時間的に一番最
初に読み取る画像データ信号がRのとき、走査開始時点
でのRの位置を基準として、他のG,Bの基準位置を補
正して位置誤差を補正する補正手段を備えたことを特徴
とする画像読み取り装置。
3. The method according to claim 2, wherein when the image data signal read first in terms of time is R, the other reference positions of G and B are corrected with reference to the position of R at the start of scanning. An image reading apparatus comprising a correction unit that corrects a position error.
【請求項4】 請求項3記載において、少なくとも第1
キャリッジの副走査方向の位置誤差が無いときの位置
と、位置誤差が有る場合の位置との差の分をラインメモ
リとして有し、位置誤差を測定する測定手段と、位置誤
差を補正する前記補正手段に対して、共通のラインメモ
リを使用することを特徴とする画像読み取り装置。
4. The method according to claim 3, wherein at least the first
The line memory has a difference between the position when there is no position error in the sub-scanning direction of the carriage and the position when there is a position error, and a measuring means for measuring the position error and the correction for correcting the position error. An image reading apparatus characterized in that a common line memory is used for the means.
【請求項5】 請求項4記載において、補間に用いる前
記ラインメモリと、前記位置誤差を求める位置誤差検出
手段と、重み付け関数から補間係数を計算する制御手段
と、前記補間手段に、R,G,B各色の画像データを切
り替えて入力する入力手段とを備えたことを特徴とする
画像読み取り装置。
5. The line memory used for interpolation according to claim 4, position error detection means for obtaining the position error, control means for calculating an interpolation coefficient from a weighting function, and R, G for the interpolation means. , B, and an input means for switching and inputting image data of each color.
JP8053950A 1996-02-17 1996-02-17 Image reader Pending JPH09224163A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8053950A JPH09224163A (en) 1996-02-17 1996-02-17 Image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8053950A JPH09224163A (en) 1996-02-17 1996-02-17 Image reader

Publications (1)

Publication Number Publication Date
JPH09224163A true JPH09224163A (en) 1997-08-26

Family

ID=12957010

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8053950A Pending JPH09224163A (en) 1996-02-17 1996-02-17 Image reader

Country Status (1)

Country Link
JP (1) JPH09224163A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008141226A (en) * 2005-11-29 2008-06-19 Ricoh Co Ltd Scanned image correcting apparatus, image scan apparatus and image forming apparatus
JP2014103460A (en) * 2012-11-16 2014-06-05 Jai Corporation Image reading apparatus with aberration correction function

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008141226A (en) * 2005-11-29 2008-06-19 Ricoh Co Ltd Scanned image correcting apparatus, image scan apparatus and image forming apparatus
JP2014103460A (en) * 2012-11-16 2014-06-05 Jai Corporation Image reading apparatus with aberration correction function

Similar Documents

Publication Publication Date Title
US7684079B2 (en) Image forming apparatus and its control method
US5892595A (en) Image reading apparatus for correct positioning of color component values of each picture element
US6515774B2 (en) Document image reading device
US6693752B2 (en) Image forming apparatus
JPH09224163A (en) Image reader
JP3473707B2 (en) Color image processing equipment
JP3923293B2 (en) Image processing method, image processing apparatus, and image forming apparatus
US5642203A (en) Method of enlarging and processing image data
JPH1042157A (en) Picture processing method and picture processor
JP2003143421A (en) Image processing device and method therefor
JP3230282B2 (en) Image reading device
EP0362590B1 (en) Facsmile system
JPH09266536A (en) Image reader
JPH118734A (en) Image reader
JPH118735A (en) Picture reader
JP2006074274A (en) Image processor and method for correcting image
JP4753253B2 (en) Image processing device
JP3647981B2 (en) Image reading device
JP3230281B2 (en) Image reading device
JP3904385B2 (en) Image forming apparatus, control method, and control program
US7515317B2 (en) Compensating a zipper image by a K-value
JPH1051649A (en) Image reader
JP2000022966A (en) Image reader and computer-readable storage medium
JP2002314769A (en) Image reader
JPH1042109A (en) Image reader

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040921

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041001

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050214