JP2632871B2 - Image reading device - Google Patents

Image reading device

Info

Publication number
JP2632871B2
JP2632871B2 JP62255067A JP25506787A JP2632871B2 JP 2632871 B2 JP2632871 B2 JP 2632871B2 JP 62255067 A JP62255067 A JP 62255067A JP 25506787 A JP25506787 A JP 25506787A JP 2632871 B2 JP2632871 B2 JP 2632871B2
Authority
JP
Japan
Prior art keywords
line
ccd
sensor
image
lines
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.)
Expired - Lifetime
Application number
JP62255067A
Other languages
Japanese (ja)
Other versions
JPH0197056A (en
Inventor
洋一 宝木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP62255067A priority Critical patent/JP2632871B2/en
Publication of JPH0197056A publication Critical patent/JPH0197056A/en
Application granted granted Critical
Publication of JP2632871B2 publication Critical patent/JP2632871B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Facsimile Scanning Arrangements (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Description

【発明の詳細な説明】 〔技術分野〕 本発明は画像をラインセンサにて読み取る画像読取装
置に関するものである。
Description: TECHNICAL FIELD The present invention relates to an image reading apparatus that reads an image with a line sensor.

〔従来技術〕(Prior art)

色原稿画像を色分解してCCD等のイメージセンサによ
り光電的に読取り、その読取り出力に基づいて色画像の
プリントを行う装置が提案されている。
An apparatus has been proposed in which a color original image is color-separated, photoelectrically read by an image sensor such as a CCD, and a color image is printed based on the read output.

この様な装置において、色原稿画像の色分解読取りの
ためには、原稿からイメージセンサへの光路中に色分解
用のブルー(B),グリーン(G),レツド(R)のフ
イルタを順次挿入し、各フイルタを通った光像をイメー
ジセンサにて順次読取ったり、また、複数個の受光素子
からなるラインイメージセンサの各受光素子にR,G,Bフ
イルタを装着し、これにより、同一ラインの色画像を一
度に色分解して読取る画像読取装置が使用されている。
In such an apparatus, for color separation reading of a color original image, blue (B), green (G), and red (R) filters for color separation are sequentially inserted into the optical path from the original to the image sensor. Then, the light image passing through each filter is sequentially read by an image sensor, and R, G, B filters are attached to each light receiving element of a line image sensor including a plurality of light receiving elements. An image reading apparatus that separates and reads the color image at a time is used.

しかしながら、前者の構成では3色信号を一回の画像
読取りで得ることができず、例えば3色信号に対してマ
スキング処理等を行う場合には少なくとも2色分の信号
を一画面分記憶するメモリを設けなければならなかっ
た。また、後者の構成では3色信号を一回の画像読取り
で得ることは可能であるが、隣り合った受光素子により
異なる色の画像読取りを行うので、異なる色信号間でク
ロストークが生じ色ににごり生じることもあった。
However, in the former configuration, a three-color signal cannot be obtained by one-time image reading. For example, when performing a masking process or the like on the three-color signal, a memory for storing at least two-color signals for one screen. Had to be provided. Further, in the latter configuration, it is possible to obtain a three-color signal by one image reading, but since images of different colors are read by adjacent light receiving elements, crosstalk occurs between different color signals and the Occasionally, it was smeared.

〔目的〕〔Purpose〕

本発明は以上の点に鑑みてなされたもので、良好な画
像読み取りを多量のメモリを設けることなく実行可能と
した画像読取装置を提供することを目的とするもので、
詳しくは、所定の間隔を置いて並列に配列され、原稿上
の異なるラインを読取る複数のラインセンサと、前記複
数のラインセンサの少なくとも1から出力される画像信
号を、前記複数のラインセンサの読取り位置のずれ量に
対応した画素数の整数部分に応じたライン数分遅延して
出力する遅延手段と、前記複数のラインセンサの少なく
とも1から出力される隣り合った2ライン分の画像信号
に対して補間処理を行い、前記隣り合った2ラインの間
の仮想ラインの画像信号を形成する補間手段と、前記補
間手段による補間処理のための係数を前記複数のライン
センサの読取り位置のずれ量に対応した画素数の小数部
分に従って設定する設定手段とを有し、前記複数のライ
ンセンサの読取り位置のずれを補正する画像読取装置を
提供するものである。
The present invention has been made in view of the above points, and an object of the present invention is to provide an image reading apparatus capable of performing good image reading without providing a large amount of memory.
More specifically, a plurality of line sensors arranged in parallel at predetermined intervals to read different lines on a document, and image signals output from at least one of the plurality of line sensors are read by the plurality of line sensors. Delay means for delaying and outputting the number of lines corresponding to the integer part of the number of pixels corresponding to the amount of positional shift, and for image signals of two adjacent lines output from at least one of the plurality of line sensors Interpolating means for performing an interpolation process to form an image signal of a virtual line between the two adjacent lines, and a coefficient for the interpolation processing by the interpolating means to a shift amount of the reading position of the plurality of line sensors. Setting means for setting according to the decimal part of the corresponding number of pixels, and to provide an image reading apparatus for correcting a shift of the reading position of the plurality of line sensors. .

〔実施例〕〔Example〕

以下、本発明を好ましい実施例を用いて説明する。 Hereinafter, the present invention will be described using preferred embodiments.

第2図は本発明を適用したカラー原稿読取装置(以下
カラースキヤナと呼ぶ)の一例である。原稿カバー900
により押さえられ、原稿台ガラス901上に置かれた原稿9
02の画像情報を色分解して読み取る為に色分解撮像素子
903が使用され、光源904により露光された原稿902から
の反射光がミラー905,906,907を介してレンズ908によ
り、撮像素子903上に結像される。912はセンサずれ検出
板であり、第7図(A)に示す如く、撮像素子903の主
走査方向に対して角度αの黒い直線913が均一な白地に
描かれており、撮像素子903にて読取られる様に配置さ
れる。光源904,ミラー905からなる光源ユニツト910とミ
ラー906,907からなる光学ユニツト911は2:1の相対速度
で移動するようになっている。これら光学ユニツト910,
911はステツピングモータ909によって一定速度で主走査
方向に対して垂直な図示矢印方向(副走査方向)に往復
移動する。
FIG. 2 shows an example of a color document reading apparatus (hereinafter referred to as a color scanner) to which the present invention is applied. Document cover 900
9 placed on the platen glass 901
Color-separated image sensor for color-separating and reading 02 image information
903 is used, and reflected light from the original 902 exposed by the light source 904 is imaged on the image sensor 903 by the lens 908 via mirrors 905, 906, and 907. Reference numeral 912 denotes a sensor shift detection plate, and as shown in FIG. 7A, a black straight line 913 having an angle α with respect to the main scanning direction of the image sensor 903 is drawn on a uniform white background. It is arranged to be read. A light source unit 910 including a light source 904 and a mirror 905 and an optical unit 911 including mirrors 906 and 907 move at a relative speed of 2: 1. These optical units 910,
The step 911 is reciprocated by a stepping motor 909 at a constant speed in a direction indicated by an arrow (sub-scanning direction) perpendicular to the main scanning direction.

第3図(A)及び(B)は本実施例に用いた色分解撮
像素子903(以下3ラインCCD903)の正面図であり、第
3図(A)の如く赤色フイルタをかけられたラインセン
サCCD1005を緑色フイルタをかけられたラインセンサCCD
1004と青色フイルタをかけられたラインセンサCCD1003
が同一チツプ1002上に並行に形成されている。各CCDの
画素数は5000画素でありA4原稿の長手方向297mmを400do
ts/インチの解像度で読み取れるようになっている。第
3図(B)は第3図(A)のセンサ部1006の拡大図であ
り、1画素巾は10μm、各センサ間の距離は180μmで
ある。
FIGS. 3A and 3B are front views of a color separation image sensor 903 (hereinafter, three-line CCD 903) used in the present embodiment, and a line sensor to which a red filter is applied as shown in FIG. 3A. Line sensor CCD with green filter on CCD1005
Line sensor CCD1003 with 1004 and blue filter
Are formed in parallel on the same chip 1002. The number of pixels of each CCD is 5000 pixels.
It can be read at ts / inch resolution. FIG. 3B is an enlarged view of the sensor section 1006 in FIG. 3A, in which the width of one pixel is 10 μm and the distance between the sensors is 180 μm.

400dots/インチの1画素は原稿台上で63.5μmである
のでレンズ908は原稿情報を1/6.35に縮小して3ラインC
CD903に投影する。したがって第2図のように取り付け
られた3ラインのCCD間の距離180μmは原稿台上では第
4図に示すように赤色読取ラインRと緑色読取ラインG
と青色読取ラインBの各々の間の距離aに相当し、1.14
3mmとなる。また、3ラインCCD903は原稿の副走査方向
を400ライン/インチの解像度で読取るように駆動され
ており、原稿台上の1.143mmは18ライン分のずれとな
る。この様に本実施例によると第3図示の如くの3ライ
ンCCDを用いて色画像読取りを行うので、各色信号を独
立に得ることができ、色にごり等を生じることがない。
Since one pixel of 400 dots / inch is 63.5 μm on the platen, the lens 908 reduces the document information to 1 / 6.35 and 3 lines C
Project onto CD903. Therefore, the distance between the CCDs of the three lines attached as shown in FIG. 2 is 180 μm, and the red reading line R and the green reading line G on the platen as shown in FIG.
And a distance a between each of the blue reading lines B, 1.14
3 mm. The three-line CCD 903 is driven to read the original in the sub-scanning direction at a resolution of 400 lines / inch, and 1.143 mm on the original table is shifted by 18 lines. As described above, according to the present embodiment, since a color image is read using a three-line CCD as shown in FIG. 3, each color signal can be obtained independently, and no color smearing occurs.

しかしながら、一般にカラースキヤナは原稿上の同一
ラインの色分解信号を、例えばNTSC方式等で規格化され
たR.G.B信号として出力するため、上述の3本のCCD100
3,1004,1005の副走査方向の18ライン分の読取り位置ず
れは補正されなければならない。このずれが良好に補正
されないと、例えばR・G・B信号を用いた色画像再生
を行った場合に、再生画像に色ずれを生じたり、画像の
エツジ部分に不要な色再生される如くの不都合がある。
However, a color scanner generally outputs color separation signals of the same line on a document as RGB signals standardized by, for example, the NTSC system.
The reading position shift of 18 lines in the sub-scanning direction of 3,1004,1005 must be corrected. If this shift is not corrected well, for example, when a color image is reproduced using the RGB signals, a color shift may occur in the reproduced image, or unnecessary color reproduction may be performed in the edge portion of the image. There are inconveniences.

すなわち、本実施例では第4図の矢印方向のスキヤン
時にはCCD1005によるRラインの読取りが先行し、次い
で18ライン後にCCD1004によるGラインの読取りが同一
位置に達し、さらに18ライン後にCCD1003によるBライ
ンの読取りが同一位置に達する。従って、Rラインの読
取情報は36ライン遅延させ、Gラインの読取情報は18ラ
イン遅延させて、Bラインの読取情報と合わせ、3ライ
ンの情報をそろえる。
That is, in this embodiment, when scanning in the direction of the arrow in FIG. 4, reading of the R line by the CCD 1005 precedes, then reading of the G line by the CCD 1004 reaches the same position after 18 lines, and further reading of the B line by the CCD 1003 after 18 lines. The reading reaches the same position. Therefore, the read information of the R line is delayed by 36 lines, the read information of the G line is delayed by 18 lines, and the information of the three lines is aligned with the read information of the B line.

また、ライン単位以下のずれに対しては補間手法を用
いてその補正を行う。
In addition, the deviation is corrected by using an interpolation method for a deviation equal to or less than a line unit.

第5図は3ラインCCD903の駆動及び信号処理回路のブ
ロツク図である。
FIG. 5 is a block diagram of a driving and signal processing circuit for the three-line CCD 903.

第5図において3ラインのCCD1005,1004,1003で読ま
れた信号はアンプ1104,1105,1106で夫々増幅され、A/D
変換器1107,1108,1109で8ビツト256階段のデジタル信
号に変換される。1113はクロツク発生器であり、3ライ
ンCCD903を駆動する2相のクロツク1116,1117と画素ク
ロツク1119とライン同期信号であるHSYNC信号1118を出
力する。
In FIG. 5, signals read by three lines of CCDs 1005, 1004, and 1003 are amplified by amplifiers 1104, 1105, and 1106, respectively.
The converters 1107, 1108, and 1109 convert the digital signal into 8-bit 256-step digital signals. Reference numeral 1113 denotes a clock generator which outputs two-phase clocks 1116 and 1117 for driving the three-line CCD 903, a pixel clock 1119, and an HSYNC signal 1118 which is a line synchronization signal.

1110はCCD1005により出力されデジタル信号として変
換されたR信号1120をnライン分遅延して出力するnラ
イン遅延メモリ、1111はCCD1004により出力されデジタ
ル信号として変換されたG信号1121をmライン分遅延し
て出力するmライン遅延メモリである。
Reference numeral 1110 denotes an n-line delay memory which outputs the R signal 1120 output by the CCD 1005 and converted as a digital signal by delaying n lines, and 1111 delays the G signal 1121 output by the CCD 1004 and converted as a digital signal by m lines. The output is an m-line delay memory.

1114はCCD1005とCCD1003との画素間隔のずれを補正す
る補間演算器、1115はCCD1004とCCD1003との画素間隔の
ずれを補正する補間演算器である。
Reference numeral 1114 denotes an interpolation calculator for correcting a shift in the pixel interval between the CCD 1005 and the CCD 1003, and reference numeral 1115 denotes an interpolation calculator for correcting a shift in the pixel interval between the CCD 1004 and the CCD 1003.

1125はマイクロプロセツサを主要素とする制御部(CP
U)であり、CPU1125にはクロツク発生部1113から画素ク
ロツク1119及びHSYNC信号1118が入力され、また、A/D変
換器1107,1108,1109の出力が入力される。
1125 is a control unit (CP
U), the pixel clock 1119 and the HSYNC signal 1118 are input from the clock generation unit 1113 to the CPU 1125, and the outputs of the A / D converters 1107, 1108, and 1109 are input.

そして、3ラインCCD903によりセンサずれ検出板912
を読取って得た出力に基づいて3本のCCDの間隔を検出
し、この検出結果に従って補間演算器1114,1115の動作
制御する。尚、CPU1125はこの動作の他、光源904の点
灯、モータ909の駆動等原稿読取装置全体の動作制御を
も実行する。
Then, a sensor shift detecting plate 912 is provided by a three-line CCD 903.
, The interval between the three CCDs is detected based on the output obtained by reading the data, and the operation of the interpolation calculators 1114 and 1115 is controlled according to the detection result. The CPU 1125 also controls the operation of the entire document reading apparatus, such as turning on the light source 904 and driving the motor 909, in addition to this operation.

補間演算器1114から出力された256段階のR信号1123
と、補間演算器1115から出力された256段階のG信号112
4及びA/D変換器1109からの256段階のB信号1122は、お
のおのマスキング回路1112のr,g,b入力に入力され、次
式のマスキングマトリツクス演算により256段階のNTSC
方式のR,G,B信号であるR−NTSC1128,G−NTSC1129,B−N
TSC1130に変換される。
256-stage R signal 1123 output from interpolation calculator 1114
And the 256-level G signal 112 output from the interpolation calculator 1115
4 and the B signal 1122 in 256 stages from the A / D converter 1109 are input to the r, g, b inputs of the masking circuit 1112, respectively, and the NTSC in 256 stages is calculated by the following masking matrix operation.
R-G, B-signals of system R-NTSC1128, G-NTSC1129, B-N
Converted to TSC1130.

すなわち となる。Ie Becomes

このマトリクス演算を行うマスキング回路1112は第6
図の如くの構成ある。
The masking circuit 1112 that performs this matrix operation is the sixth
The configuration is as shown in the figure.

即ち、r入力に入力されたR信号は乗算器201,202,20
3に並列に入力され、夫々乗算係数a11,a21,a31と乗算
される。また、g入力に入力されたG信号は乗算器204,
205、206に並列に入力され、夫々乗算係数a12,a22,a
32と乗算される、また、b入力に入力されたB信号は乗
算器207,208,209に並列に入力され,夫々乗算係数a13
a23,a33と乗算される。乗算器201,204,207の出力は加
算器210で加算され、乗算器202,205,208の出力は換算器
211で加算され、また、乗算器203,206,209の出力は加算
器212で加算され、これにより、各加算器210,211,212か
らR−NTSC,G−NTSC,G−NTSCが形成される。
That is, the R signal input to the r input is applied to the multipliers 201, 202, 20
3, and are multiplied by multiplication coefficients a 11 , a 21 , and a 31 , respectively. The G signal input to the g input is a multiplier 204,
205 and 206 are input in parallel, and the multiplication coefficients a 12 , a 22 and a
The B signal multiplied by 32 is input to the multipliers 207, 208, and 209 in parallel. The multiplication coefficients a 13 ,
It is multiplied with a 23, a 33. The outputs of multipliers 201, 204, and 207 are added by adder 210, and the outputs of multipliers 202, 205, and 208 are converters.
The addition is performed at 211, and the outputs of the multipliers 203, 206, and 209 are added at the adder 212, whereby R-NTSC, G-NTSC, and G-NTSC are formed from the adders 210, 211, and 212.

各乗算係数は式(1)との対応より、 となる。Each multiplication coefficient is obtained from the correspondence with the equation (1). Becomes

第7図は第2図示のセンサずれ検出板912と3ラインC
CD903の各CCD1003〜5との関係及びCCD1003〜5の各出
力状態を示す図である。
FIG. 7 shows the sensor displacement detection plate 912 shown in FIG.
FIG. 9 is a diagram showing a relationship between each of CCDs 1003 to 5 of CD903 and each output state of each of CCDs 1003 to 5.

前述の如く912は主走査方向に対して角度αの黒い直
線913が描かれているセンサずれ検出板であり、1003は
Bフイルタを有したCCD、1004はGフイルタを有したCC
D、1005はRフイルタを有したCCDである。
As described above, reference numeral 912 denotes a sensor shift detection plate on which a black straight line 913 having an angle α with respect to the main scanning direction is drawn, 1003 denotes a CCD having a B filter, and 1004 denotes a CC having a G filter.
D and 1005 are CCDs having an R filter.

センサずれ検出板912は原稿台ガラス面901と同じ高さ
で、長手方向を主走査方向に平行に置かれる。
The sensor shift detecting plate 912 is placed at the same height as the platen glass surface 901 and its longitudinal direction is parallel to the main scanning direction.

いま次のように定義する。 Now define as follows.

L:CCD1003〜5の長さに対応する原稿台上の主走査方向
の幅(単位ミリメートル) PBG:CCD1003とCCD1004の黒画素検出間隔(単位 画素) PBR:CCD1003とCCD1005の黒画素検出間隔(単位 画素) C:CCDの画素数 GBG:CCD1003とCCD1004の間隔(単位 メリメートル) GBR:CCD1003とCCD1005の間隔(単位 メリメートル) これらの関係は次のようになる。
L: Width in the main scanning direction on the document table corresponding to the length of CCD1003 to 5 (unit: mm) P BG : Black pixel detection interval between CCD1003 and CCD1004 (unit pixel) P BR : Black pixel detection interval between CCD1003 and CCD1005 (unit pixel) C: CCD number of pixels G BG: CCD 1003 as the spacing CCD1004 (unit Meri meters) G BR: CCD 1003 as the spacing CCD1005 (unit Meri meter) these relationships are as follows.

GBG:tanα×L×PBG/C 式(3) GBR:tanα×L×PBR/C 式(4) CCDが読み取る原稿の幅走査方向幅をl(単位ミリメー
トル)とすると gBGC=GBG/l 式(5) gBR=GBG/l 式(6) gBG:CCD1003とCCD1004の間隔(単位画素) gBR:CCD1003とCCD1005の間隔(単位画素) L、C、tanα、lは予め知ることができる値である。
従ってPBG、PBRを検出すれば並列に置かれた3本のCCD1
003〜1005の画素間隔gBG,gBRを知ることができる。
G BG : tanα × L × P BG / C Equation (3) G BR : tan α × L × P BR / C Equation (4) If the width of the document read by the CCD is 1 (unit: millimeter), g BG C = G BG / l Equation (5) g BR = G BG / l Equation (6) g BG : Interval between CCD1003 and CCD1004 (unit pixel) g BR : Interval between CCD1003 and CCD1005 (unit pixel) L, C, tanα, l is a value that can be known in advance.
Therefore, if P BG and P BR are detected, three CCD1s placed in parallel
Pixel intervals g BG and g BR of 003 to 1005 can be known.

このPBG、PBRは前述如くCPU1125にて検出される。
即ち、3ラインCCD903にてセンサずれ検出板912を読取
ったときにCCD1003,1004,1005の夫々からは第7図
(E),(F),(G)の如くの出力がなされる。従っ
てCPU1125ではA/D変換器1107,1108,1109からの出力をモ
ニタし、センサずれ検出板912の読取開始から何画素目
に黒線913に対応する出力914,915,916が発生したかを各
CCD1003,1004,1005の夫々に対して検出する。
These P BG and P BR are detected by the CPU 1125 as described above.
That is, when the sensor shift detecting plate 912 is read by the three-line CCD 903, outputs from the CCDs 1003, 1004, and 1005 are as shown in FIGS. 7 (E), (F), and (G). Accordingly, the CPU 1125 monitors the outputs from the A / D converters 1107, 1108, and 1109, and determines at what pixel from the start of reading of the sensor shift detection plate 912 the output 914, 915, 916 corresponding to the black line 913 has occurred.
Detection is performed for each of the CCDs 1003, 1004, and 1005.

そして、CCD1003,1004、1005の夫々のx画素目,y画素
目,z画素目に黒線913に対応する出力があったことを判
断したならば、次の演算によりPBG、PBRを求める。
If it is determined that there is an output corresponding to the black line 913 at each of the x, y, and z pixels of the CCDs 1003, 1004, and 1005, P BG and P BR are obtained by the following calculation. .

PBG=y−x 式(7) PBR=z−X 式(8) 第1図nライン遅延メモリ1110,mライン遅延メモリ11
11及び補間演算器1114,1115のブロツク図である。
P BG = y−x Equation (7) P BR = z−X Equation (8) FIG. 1 n-line delay memory 1110, m-line delay memory 11
FIG. 11 is a block diagram of 11 and interpolation calculators 1114 and 1115.

403〜406は遅延メモリ1110,1111に格納されているラ
イン画像データを選択するセレクタ、407〜410はセレク
タ403〜406から出力される3画像データにCPU1125にて
設定された乗算係数を乗ずる。
403 to 406 are selectors for selecting line image data stored in the delay memories 1110 and 1111. 407 to 410 multiply three image data output from the selectors 403 to 406 by a multiplication coefficient set by the CPU 1125.

411,412は夫々乗算器407と408、乗算器409と410の出
力を加算する加算器である。セレクタ403〜406及び乗算
器407〜410の係数はCPU1125により設定する。
411 and 412 are adders for adding the outputs of the multipliers 407 and 408 and the multipliers 409 and 410, respectively. The coefficients of the selectors 403 to 406 and the multipliers 407 to 410 are set by the CPU 1125.

本実施例の補間演算1114及び1115では次式で示す線形
補間により画素間隔のずれを補正している。
In the interpolation calculations 1114 and 1115 of the present embodiment, the deviation of the pixel interval is corrected by linear interpolation represented by the following equation.

D(NA+NB)=(1−NB)×D(NA)+NB×D(NA
1) (式9) D(n)=nラインの画素値 NA:整数部 NB:小数部 第8図は、ライン画素ずれを補正する補間演算係数設
定のためのCPU1125の処理流れ図である。ステツプ501で
は、光学ユニツト910,911を3ラインCCD903がセンサず
れ検出板912を読取る位置に設定する。ステツプ502は、
3ラインCCD903によりセンサずれ検出板912の読取りを
行わせ、前述の如くして黒画素位置x,y,zを検出する。
ステツプ503では検出した各CCDの黒画素位置x,y,zより
式(7),(8)を用いて PBG=(Bセンサ102とGセンサ103の黒画素検出位置間
隔:単位 画素) PBR=(Bセンサ102とRセンサ104の黒画素検出位置間
隔:単位 画素) を算出する。
D (N A + N B ) = (1−N B ) × D (N A ) + N B × D (N A +
1) (Equation 9) D (n) = n-line pixel value N A : integer part N B : decimal part FIG. 8 is a processing flow chart of CPU 1125 for setting an interpolation calculation coefficient for correcting a line pixel shift. . In step 501, the optical units 910 and 911 are set at positions where the three-line CCD 903 reads the sensor shift detecting plate 912. Step 502 is
The sensor shift detection plate 912 is read by the three-line CCD 903, and the black pixel positions x, y, and z are detected as described above.
In step 503, using the equations (7) and (8) from the detected black pixel positions x, y, and z of each CCD, P BG = (interval of black pixel detection positions of B sensor 102 and G sensor 103: unit pixel) P BR = (interval of black pixel detection position between B sensor 102 and R sensor 104: unit pixel) is calculated.

ステツプ504は式(3)〜式(6)に基づき、PBG,P
BRから、 gBG:(Bセンサ102とGセンサ103の間隔:単位 画
素) gBR:(Bセンサ102とRセンサ104の間隔:単位 画
素) を算出する。
Step 504 is based on equations (3) to (6), and P BG , P
From BR , gBG : (interval between B sensor 102 and G sensor 103: unit pixel) gBR : (interval between B sensor 102 and R sensor 104: unit pixel) is calculated.

ステツプ505では、 gBG:ABG+BBG(ABG:整数部 BBG:小数部) 式(10) gBR:ABR+BBR(ABG:整数部:BBG小数部) 式(11) として次のように第1図のセレクタ及び乗算器を設定す
る。
In step 505, g BG : A BG + B BG (A BG : Integer part B BG : Decimal part) Equation (10) g BR : A BR + B BR (A BG : Integer part: B BG decimal part) Equation (11) The selector and multiplier of FIG. 1 are set as follows.

・G信号の遅延メモリ1111のABGライン目のラインデー
タが乗算器410に流れるようセレクタ406を設定する。
The selector 406 is set so that line data of the ABG line of the delay memory 1111 of the G signal flows to the multiplier 410.

・乗算器410に乗算係数(1−BBG)を設定する。Set a multiplier coefficient (1- BBG ) in the multiplier 410.

・G信号の遅延メモリ1111の(ABG+1)ライン目のラ
インデータが乗算器409に流れるようセレクタ405を設定
する。
The selector 405 is set so that the line data of the (A BG +1) th line of the delay memory 1111 of the G signal flows to the multiplier 409.

・乗算器409に乗算係数BBGを設定する。• Set the multiplier 409 to the multiplier coefficient BG .

・R信号の遅延メモリ1110のABRライン目のラインデー
タが乗算器408に流れるようセレクタ404を設定する。
The selector 404 is set so that the line data of the ABR line of the delay memory 1110 of the R signal flows to the multiplier 408.

・乗算器408に乗算係数(1−BBR)を設定する。Set the multiplier coefficient (1-B BR ) in the multiplier 408.

・G信号の遅延メモリ1110の(ABR+1)ライン目のラ
インデータが乗算器409に流れるようセレクタ403を設定
する。
The selector 403 is set so that the line data of the (A BR +1) th line of the delay memory 1110 of the G signal flows to the multiplier 409.

・乗算器407に乗算係数BBRを設定する。-Set a multiplier coefficient B BR in the multiplier 407.

以上の様に、CCDからの出力データを取込み隣り合っ
たラインのデータに基づいて補間データを形成する補間
回路1114,1115を設け、これら補間回路により、実際の
隣り合った読取りラインの間の仮想的なラインのデータ
を形成可能となし、且つ、この補間処理のための係数を
3本のCCDの読取位置にずれ量に従って設定するもので
ある。
As described above, the interpolation circuits 1114 and 1115 that take in the output data from the CCD and form the interpolation data based on the data of the adjacent lines are provided. It is possible to form data of a typical line, and to set coefficients for this interpolation processing at the reading positions of three CCDs according to the amount of deviation.

これにより、3本のCCDの読取位置のずれ分を補償し
た位置の仮想ラインのデータを形成でき、従って、機械
的な読取り位置のずれを電気的に補正でき、マスキング
回路1112には画像の同一ラインのR信号1123,G信号112
4,B信号1122を入力することができ、良好なマトリクス
演算が可能となる。
This makes it possible to form virtual line data at positions where the displacements of the three CCD reading positions have been compensated, and therefore it is possible to electrically correct mechanical reading position deviations. Line R signal 1123, G signal 112
4, B signal 1122 can be input, and good matrix operation can be performed.

〔第2実施例〕 次に本実施例の第2実施例について説明する。本第2
実施例ではラインセンサ間隔の検出精度を高めるために
光学ユニツト910,911を移動し、センサずれ検出板912を
読み取る位置を少しずつ変えながら複数回読み取り検出
した画素間隔を平均する物である。
Second Embodiment Next, a second embodiment of the present embodiment will be described. Book second
In the embodiment, the optical units 910 and 911 are moved to improve the detection accuracy of the line sensor interval, and the pixel intervals read and detected a plurality of times are averaged while the reading position of the sensor shift detecting plate 912 is gradually changed.

第9図は第2実施例におけるCPU1125の処理流れ図を
示す図であり、ライン画素ずれを補正する補間演算係数
設定のための処理流れ図である。
FIG. 9 is a diagram showing a processing flow chart of the CPU 1125 in the second embodiment, which is a processing flow chart for setting an interpolation calculation coefficient for correcting a line pixel shift.

ステツプ601では、光学ユニツト910,911を3ラインCC
D903がセンサずれ検出板912を読み取る位置に設定す
る。ステツプ602では、3ラインCCD903によりセンサず
れ検出板912の読み取りを行わせ、第1の黒画素位置
x1,y1,z1を検出する。ステツプ603では検出したCCDの
黒画素位置x1,y1,z1よりPBG1,PBR2を算出する。
In step 601, the optical units 910 and 911 are
The position where D903 reads the sensor shift detection plate 912 is set. In step 602, the sensor shift detecting plate 912 is read by the three-line CCD 903, and the first black pixel position is read.
x 1 , y 1 , z 1 are detected. Step 603 black pixel position x 1 of CCD detected in, y 1, P BG1 than z 1, to calculate the P BR2.

ステツプ604では式(3)〜式(6)に基づき、
gBG1,gBR1を算出する。
In step 604, based on equations (3) to (6),
Calculate g BG1 and g BR1 .

次に、ステツプ605では3ラインCCD912によるセンサ
ずれ検出板912の読み取り位置をΔα分ずらす。
Next, in step 605, the reading position of the sensor shift detecting plate 912 by the three-line CCD 912 is shifted by Δα.

ステツプ606では602〜605の処理が定められた回数N
回終了したかどうか判定し、終了していなければステツ
プ602の処理にもどり順次、第1〜第Nの黒画素位置
x2,y2,z2〜xN,yN,zNを求め、gBG2,gBR2〜gBGN,g
BRNを求める。
In step 606, the number of times N for performing the processing of 602 to 605 is determined.
It is determined whether or not the process has been completed, and if not, the process returns to step 602 and sequentially proceeds to the first to Nth black pixel positions.
x 2, y 2, z 2 ~x N, y N, seek z N, g BG2, g BR2 ~g BGN, g
Ask for BRN .

ステツプ607ではステツプ604でN回求めたgBG,gBR
平均する。
In step 607, g BG and g BR obtained N times in step 604 are averaged.

AVR(gBG)=ABG+BBG [AVR(gBG):gBGの平均値 ABG:整数部 BBG:少数部] 式(12) AVR(gBR)=ABR+BBR [AVR(gBR):gBRの平均値 ABR:整数部 BBR:少数部] 式(13) ステツプ608ではステツプ607で求めた値に基づいて前
述したステツプ505と同様に第1図のセレクタ及び乗算
器の係数を設定する。
AVR (g BG ) = A BG + B BG [AVR (g BG ): average value of g BG A BG : integer part B BG : decimal part] Equation (12) AVR (g BR ) = A BR + B BR [AVR ( g BR ): average value of g BR A BR : integer part B BR : decimal part] Expression (13) In step 608, based on the value obtained in step 607, the selector and multiplication in FIG. Set the container coefficient.

〔第3実施例〕 次に本発明の第3実施例について説明する。Third Embodiment Next, a third embodiment of the present invention will be described.

本第3実施例においてはセンサずれ検出912に主走査
線方向に平行に描かれている黒直線近傍を3ラインCCD9
03の読み取り位置をずらしながら読み取り黒信号のピー
クを与える位置に基づいてセンサ間隔を求め、それによ
りラインセンサ間隔ずれの補間を行うものである。
In the third embodiment, a black line drawn in parallel with the main scanning line direction in the sensor shift detection 912 is defined by three lines CCD9.
The sensor interval is obtained based on the position where the peak of the read black signal is given while shifting the reading position of 03, and thereby the line sensor interval shift is interpolated.

第10図、第11図は第3実施例を示す図である。 FIG. 10 and FIG. 11 are views showing a third embodiment.

第10図はセンサずれ検出板912に描かれている黒直線9
14とCCDの間隔の関係を示した図である。
FIG. 10 shows a black straight line 9 drawn on the sensor shift detection plate 912.
FIG. 14 is a diagram showing a relationship between 14 and a CCD interval.

CCD1003が最大黒出力を与える読み取り位置とCCD1004
が最大黒出力を与える読み取り位置間隔ΔlBG(単位単
位ミリメートル)、及びCCD1003が最大黒出力を与える
読み取り位置とCCD1005が最大黒出力を与える読み取り
位置間隔ΔlBR(単位ミリメートル)を検出し,次式に
よりCCDの間隔をgBG,gBRを算出する。
Reading position and CCD1004 where CCD1003 gives maximum black output
There reading position interval gives the maximum black output .DELTA.l BG (Units Units millimeters), and CCD1003 detects the reading position distance reading position and CCD1005 give maximum black output gives the maximum black output .DELTA.l BR (unit mm), the following equation To calculate the CCD intervals g BG and g BR .

gBG=ΔlBG/le 式(14) gBR=ΔlBR/le 式(15) gBG:CCD1003とCCD1004の間隔(単位画素) gBR:CCD1003とCCD1005の間隔(単位画素) lee:各CCDが読み取る原稿の副走査方向幅(単位 ミリ
メートル) 第11図は第3実施例におけるCPU1125の処理流れ図で
ある。即ち、ステツプ701〜703では各CCDの最大黒出力
から前述のΔlBG,ΔlBRを求める。そして、ステツプ70
4では式(14),(15)に従って、gBG,gBRを算出し、
更に、ステツプ705では前述したステツプ505と同様に第
1図のセレクタ及び乗算器の係数を設定する。
g BG = Δl BG / l e formula (14) g BR = Δl BR / l e formula (15) g BG: CCD1003 the spacing CCD1004 (unit pixel) g BR: CCD 1003 and CCD1005 interval (unit pixel) le e : Width of document read by each CCD in the sub-scanning direction (unit: millimeter) FIG. 11 is a processing flowchart of the CPU 1125 in the third embodiment. That is, in steps 701 to 703, the aforementioned Δl BG and Δl BR are obtained from the maximum black output of each CCD. And step 70
In step 4, g BG and g BR are calculated according to equations (14) and (15).
Further, in step 705, the coefficients of the selector and the multiplier shown in FIG. 1 are set as in step 505 described above.

尚、前述した各実施例においては、ライン画素ずれを
補間する補間演算は線形補間演算であったが画像データ
の補間に関する他の補間方法、例えばキユービツク.コ
ンボリユーシヨン法等も使用可能である。
In each of the above-described embodiments, the interpolation operation for interpolating the line pixel shift is a linear interpolation operation. However, other interpolation methods relating to the interpolation of image data, for example, the cubic. A convolution method or the like can also be used.

尚、本実施例では、R,G,Bフイルタを有した3本のCCD
により、色画像読み取りを行う構成を説明したが、本発
明はこれに限るものではなく、例えば、Rフイルタを有
したイメージセンサと、何のフイルタも有していないイ
メージセンサを用い、原稿の赤黒読み取りを行う構成に
も適用可能である。
In this embodiment, three CCDs having R, G, and B filters are used.
Has been described, the present invention is not limited to this. For example, an image sensor having an R filter and an image sensor not having any The present invention is also applicable to a configuration for performing reading.

〔効果〕〔effect〕

以上説明した様に、本発明によると、所定の間隔を置
いて並列に配列された複数のラインセンサにより原稿上
の異なるラインを読取る構成において、多量のメモリを
設けることなしに、複数のラインセンサの読取り位置の
ずれを、ずれ量に対応した画素数の整数部分のみならず
小数部分に関しても良好に補正でき、これにより、例え
ば、色画像読取りにおける色ずれ発生等を抑えることが
できる。
As described above, according to the present invention, in a configuration in which different lines on a document are read by a plurality of line sensors arranged in parallel at predetermined intervals, a plurality of line sensors can be provided without providing a large amount of memory. Of the reading position can be satisfactorily corrected not only for the integer part of the number of pixels corresponding to the deviation amount, but also for the decimal part, whereby it is possible to suppress, for example, the occurrence of color deviation in reading a color image.

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

第1図は遅延メモリ及び補間演算器のブロツク図、第2
図はカラー画像読み取り装置の構成を示す図、第3図
(A)及び(B)は3ラインセンサを示す図、第4図は
3ラインセンサの読み取り位置を示す図、第5図は信号
処理回路のブロツク図、第6図はマスキング回路の構成
図、第7図はセンサずれ検出板とCCDの関係を示す図、
第8図はCPUの処理手順を示すフローチヤート図、第9
図はCPUの第2実施例における処理手順を示すフローチ
ヤート図、第10図は第3実施例におけるセンサずれ検出
板とCCDの関係を示す図、第11図はCPUの第3実施例にお
ける処理手順を示すフローチヤート図であり、903は3
ラインCCD,1003〜1005はCCD,1110及び1111はnライン遅
延メモリ,1114及び1115は補間演算器,1112はマスキング
回路である。
FIG. 1 is a block diagram of a delay memory and an interpolation calculator, and FIG.
3A and 3B show a three-line sensor, FIG. 4 shows a reading position of the three-line sensor, and FIG. 5 shows signal processing. FIG. 6 is a block diagram of the masking circuit, FIG. 7 is a diagram showing the relationship between the sensor shift detection plate and the CCD,
FIG. 8 is a flowchart showing the processing procedure of the CPU, and FIG.
FIG. 10 is a flowchart showing a processing procedure in the second embodiment of the CPU, FIG. 10 is a view showing the relationship between the sensor shift detecting plate and the CCD in the third embodiment, and FIG. 11 is a processing in the third embodiment of the CPU. It is a flowchart which shows a procedure, 903 is 3
Line CCDs 1003 to 1005 are CCDs, 1110 and 1111 are n-line delay memories, 1114 and 1115 are interpolation calculators, and 1112 is a masking circuit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】所定の間隔を置いて並列に配列され、原稿
上の異なるラインを読取る複数のラインセンサと、 前記複数のラインセンサの少なくとも1から出力される
画像信号を、前記複数のラインセンサの読取り位置のず
れ量に対応した画素数の整数部分に応じたライン数分遅
延して出力する遅延手段と、 前記複数のラインセンサの少なくとも1から出力される
隣り合った2ライン分の画像信号に対して補間処理を行
い、前記隣り合った2ラインの間の仮想ラインの画像信
号を形成する補間手段と、 前記補間手段による補間処理のための係数を前記複数の
ラインセンサの読取り位置のずれ量に対応した画素数の
小数部分に従って設定する設定手段とを有し、 前記複数のラインセンサの読取り位置のずれを補正する
ことを特徴とする画像読取装置。
A plurality of line sensors arranged in parallel at predetermined intervals to read different lines on a document; and a plurality of line sensors for outputting image signals output from at least one of the plurality of line sensors. Delay means for delaying the output by the number of lines corresponding to the integer part of the number of pixels corresponding to the shift amount of the reading position, and image signals for two adjacent lines output from at least one of the plurality of line sensors And an interpolation unit that performs an interpolation process on the image data to form an image signal of a virtual line between the two adjacent lines, and calculates a coefficient for the interpolation process by the interpolation unit by shifting a reading position of the plurality of line sensors. Setting means for setting according to a fractional part of the number of pixels corresponding to the amount, wherein a shift of a reading position of the plurality of line sensors is corrected. Place.
JP62255067A 1987-10-09 1987-10-09 Image reading device Expired - Lifetime JP2632871B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62255067A JP2632871B2 (en) 1987-10-09 1987-10-09 Image reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62255067A JP2632871B2 (en) 1987-10-09 1987-10-09 Image reading device

Publications (2)

Publication Number Publication Date
JPH0197056A JPH0197056A (en) 1989-04-14
JP2632871B2 true JP2632871B2 (en) 1997-07-23

Family

ID=17273680

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62255067A Expired - Lifetime JP2632871B2 (en) 1987-10-09 1987-10-09 Image reading device

Country Status (1)

Country Link
JP (1) JP2632871B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8174734B2 (en) 2005-11-29 2012-05-08 Ricoh Company, Ltd. Reduction of memory size required for correction of displacement of scan positions

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE69028668T2 (en) * 1989-07-25 1997-04-24 Canon Kk Image processing device
US5892595A (en) * 1996-01-26 1999-04-06 Ricoh Company, Ltd. Image reading apparatus for correct positioning of color component values of each picture element
JP3713348B2 (en) * 1996-01-26 2005-11-09 株式会社リコー Image reading device
US6023537A (en) * 1996-07-15 2000-02-08 Ricoh Company, Ltd. Image reading apparatus using an image reading position error measuring device
US7339699B1 (en) 1999-02-03 2008-03-04 Minolta Co., Ltd. Image processing apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8174734B2 (en) 2005-11-29 2012-05-08 Ricoh Company, Ltd. Reduction of memory size required for correction of displacement of scan positions

Also Published As

Publication number Publication date
JPH0197056A (en) 1989-04-14

Similar Documents

Publication Publication Date Title
US4953014A (en) Image processing apparatus compensating for distance between document portions read by respective sensors
US4974072A (en) Image reading apparatus having a plurality of line sensors and means for correcting crosstalk therebetween
JPH07111561A (en) Original reading device
JP2002237998A (en) Image pattern correction method and imaging device
JP4212134B2 (en) Image signal processing device
JP2977232B2 (en) Color shift correction device
US5253083A (en) Image reading apparatus having improved shading correction
EP1355272A1 (en) Distance calculating method and imaging device
JP2632871B2 (en) Image reading device
US4954913A (en) Image reading apparatus
JPH04165873A (en) Picture processor
JPH1093762A (en) Image data storing method and device therefor
JP2003143421A (en) Image processing device and method therefor
JP3698814B2 (en) Color image reader
JP3713348B2 (en) Image reading device
JP2505823B2 (en) Document reader
JP2656026B2 (en) Image reading device
JPH07245712A (en) Image reader
JP2915503B2 (en) Image processing device
US7119925B2 (en) Image processing, image reading apparatus and image processing method
JPH0888778A (en) Image scanning device
JPH11177836A (en) Image processor
JPH0364270A (en) Image processor
JP2000092320A (en) Image reader, storage medium read by computer and storage medium storing data
JPH05284374A (en) Color image processor

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080425

Year of fee payment: 11