JPH04275776A - Picture reader - Google Patents

Picture reader

Info

Publication number
JPH04275776A
JPH04275776A JP3037369A JP3736991A JPH04275776A JP H04275776 A JPH04275776 A JP H04275776A JP 3037369 A JP3037369 A JP 3037369A JP 3736991 A JP3736991 A JP 3736991A JP H04275776 A JPH04275776 A JP H04275776A
Authority
JP
Japan
Prior art keywords
line
data
thinning
image reading
delay
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
JP3037369A
Other languages
Japanese (ja)
Inventor
Izumi Takashima
泉 高島
Akihiko Tanaka
田中明彦
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP3037369A priority Critical patent/JPH04275776A/en
Publication of JPH04275776A publication Critical patent/JPH04275776A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Color Image Communication Systems (AREA)

Abstract

PURPOSE:To reduce the capacity of a memory through the use of a reduction- type line sensor and to correct a gap between sensors without deteriorating picture quality by providing a means thinning one line data at every prescribed linen, and a means interpolating line data which is thinned on the output-side of a delay means. CONSTITUTION:Picture data is thinned for one line at every two lines in the thinning circuit 10 and it is inputted to a correction delay memory 11. Data delayed by the number of the prescribed line is outputted from the memory 11. In a line correction circuit 12, data are delayed by one line in FIFO memories 41 and 42. The outputs of the FIFO memories 11, 41 and 42 are selected in a selector 43 and two line data are outputted. Two of coefficients A-D are selected in a selector 44 and the prescribed coefficients are multiplied by adjacent line data in multipliers 45 and 46. Then, they are added in an addition circuit 47 and data which is line-interpolated is outputted.

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 apparatus in which the capacity of a memory for correcting the gap between line sensors in the sub-scanning direction is reduced when a color image is read using a reduced line sensor.

【0002】0002

【従来の技術】従来、カラー画像読み取り装置は、図8
(a)に示すようにプラテン1の面に載せた原稿2を図
示しない光源で照射し、その反射光をミラー3,4,5
、結像レンズ6を介して縮小型CCDラインセンサ7に
結像させて読み取るようにしている。CCDラインセン
サ7は、図8(b)に示すように、主走査方向に平行な
R,G,B用の3本のラインセンサ7a,7b,7cか
らなり、図8(a)に示すように副走査方向にスキャニ
ングして原稿画像を順次読み取り、R,G,B画像信号
を出力する。
[Prior Art] Conventionally, a color image reading device is shown in FIG.
As shown in (a), the original 2 placed on the surface of the platen 1 is irradiated with a light source (not shown), and the reflected light is reflected from the mirrors 3, 4, 5.
, an image is formed on a reduction type CCD line sensor 7 via an imaging lens 6 and read. The CCD line sensor 7 consists of three line sensors 7a, 7b, and 7c for R, G, and B parallel to the main scanning direction, as shown in FIG. 8(a). The original image is sequentially read by scanning in the sub-scanning direction, and R, G, and B image signals are output.

【0003】このようにCCDラインセンサ7は副走査
方向にずれて配置されており、同じタイミングで読んだ
データはそれぞれ異なった位置のデータを読んでいるこ
とになり、同一タイミングで同一位置のデータを合成す
るためには、先行するセンサのデータを後端のセンサま
で遅延させてタイミングを合わせる必要がある。例えば
、各センサ間のギャップを168μm、1画素の幅を1
4μmとすると、各センサ間は12ライン分のギャップ
があり、センサ7aと7cとでは24ラインのギャップ
が存在する。倍率に無関係に一定の周期で画像読み取り
を行うものとすると、倍率を拡大するとスキャン速度が
遅くなり、センサの同じ移動量に読み取られる画像デー
タが増加することからギャップはさらに拡がり、200
%倍率ではGB間で24ライン、RB間で48ライン、
400%倍率とするとそれぞれ48ライン、96ライン
のギャップとなる。
As described above, the CCD line sensors 7 are arranged offset in the sub-scanning direction, and data read at the same timing means data at different positions. In order to synthesize the data, it is necessary to delay the data from the preceding sensor to the rear sensor to match the timing. For example, the gap between each sensor is 168 μm, and the width of one pixel is 1
If it is 4 μm, there is a gap of 12 lines between each sensor, and a gap of 24 lines exists between sensors 7a and 7c. Assuming that images are read at a constant cycle regardless of the magnification, as the magnification increases, the scanning speed slows down and the amount of image data read for the same amount of sensor movement increases, which further widens the gap.
The % magnification is 24 lines between GB and 48 lines between RB.
If the magnification is 400%, the gaps will be 48 lines and 96 lines, respectively.

【0004】このようなギャップ補正をするために、図
9に示すようにR,G,Bの順番でスキャニングが行わ
れる場合、R信号に対しては262k×4ビットのメモ
リ4個(8a〜8d)、G信号に対しては同じ容量のメ
モリ2個(9a,9b)を用意していた。例えば、メモ
リ8a,8bのペア、メモリ8c,8dのペアでそれぞ
れ262kB、ほぼ52ライン分のメモリ容量があり、
両ペア合計で104ライン分の遅延が可能であるのでR
信号に対してはメモリ8a,8bと8c,8dのペアで
倍率400%時の96ライン分に対応できる。またG信
号についてもメモリ9a,9bで52ライン分のメモリ
容量があるため、倍率400%時の48ライン分の遅延
を行うことができる。
In order to perform such gap correction, when scanning is performed in the order of R, G, and B as shown in FIG. 9, four 262k×4-bit memories (8a to 8d), two memories (9a, 9b) of the same capacity were prepared for the G signal. For example, a pair of memories 8a and 8b and a pair of memories 8c and 8d each have a memory capacity of 262 kB, or approximately 52 lines.
A total of 104 lines of delay is possible for both pairs, so R
For signals, a pair of memories 8a, 8b and 8c, 8d can handle 96 lines at a magnification of 400%. Also, regarding the G signal, since the memories 9a and 9b have a memory capacity for 52 lines, it is possible to perform a delay of 48 lines when the magnification is 400%.

【0005】いま、倍率365%の場合を考えると、副
走査方向のサンプリング密度は100%の時の3.65
倍となりRB間の画素列間ギャップは12×2×3.6
5=87.6ラインとなる。そこで、87ライン分につ
いては図9(a)のギャップ補正メモリを使って遅延さ
せ、図9(b)に示すように、まず補正メモリ出力とし
てB信号に対して87ライン分遅延させた出力「……R
185,R186 ,R187 ,R188 ,R18
9 ……」を得る。 次に移動平均により、R185 とR186 からR1
85.6 、R186 とR187 からR186.6
 、R187 とR188 からR187.6 という
ようにして0.6ライン分の補正をし、87.6ライン
遅延した出力「……R185.6 ,R186.6 ,
R187.6 ,R188.6 ……」を得てB信号出
力「……B98,B99,B100 ,B101 ……
」とタイミングを合わせるようにしている。G信号につ
いても同様にして43.8ライン分遅延させてタイミン
グを合わせる。
Now, considering the case where the magnification is 365%, the sampling density in the sub-scanning direction is 3.65 when it is 100%.
The gap between pixel columns between RB is 12×2×3.6
5=87.6 lines. Therefore, the gap correction memory shown in FIG. 9(a) is used to delay the 87 lines, and as shown in FIG. ...R
185, R186, R187, R188, R18
9..." is obtained. Next, by moving average, from R185 and R186 to R1
85.6, R186 and R187 to R186.6
, R187 and R188 to R187.6, and the output is delayed by 87.6 lines "...R185.6, R186.6,
R187.6, R188.6..." is obtained and the B signal output is "...B98, B99, B100, B101...
” I try to match the timing. Similarly, the timing of the G signal is adjusted by delaying it by 43.8 lines.

【0006】[0006]

【発明が解決しようとする課題】このように従来の画像
読み取り装置におけるギャップ間補正は、最大倍率の時
の遅延分に対応できるメモリ容量を用意しておき、この
補正メモリで先行するRデータ、Gデータを遅延させ、
残りの端数分については移動平均化により隣合う画素か
ら求めて対応するようにしていた。このようなギャップ
補正方法では、特に最大倍率に合わせて大容量のメモリ
が必要となり、装置のコストアップ要因となっていた。 このようなメモリ容量の増大を防ぐために、変倍率に応
じて主走査1ライン中の画像中の必要な部分の画像デー
タを抜き取った後、遅延メモリで遅延させてギャップ補
正することが提案されている(特開平1ー141460
号公報)が、この方法では主走査倍率が等倍で副走査倍
率が拡大という場合は対応できないので、図10(a)
に示す原稿を、図10(b)に示すように主走査、副走
査が逆になるように90度向きを変えるように原稿を置
き換え、主走査1ライン中の画像中の必要な部分の抜き
取りを行うようにせざるを得なかった。
[Problems to be Solved by the Invention] As described above, in gap correction in conventional image reading devices, a memory capacity that can accommodate the delay at the maximum magnification is prepared, and this correction memory is used to read the preceding R data, Delay G data,
The remaining fractions were determined from adjacent pixels by moving averaging. Such a gap correction method requires a large-capacity memory, especially in accordance with the maximum magnification, which increases the cost of the apparatus. In order to prevent such an increase in memory capacity, it has been proposed to extract image data from a necessary portion of an image in one line of main scanning according to the magnification ratio, and then delay it in a delay memory to perform gap correction. (Unexamined Japanese Patent Publication No. 1-141460)
However, this method cannot handle cases where the main scanning magnification is equal to the magnification and the sub-scanning magnification is enlarged.
Replace the original shown in Figure 10(b) by turning the original 90 degrees so that the main scanning and sub-scanning are reversed, and extract the necessary part of the image in one main scanning line. I had no choice but to do this.

【0007】本発明は上記課題を解決するためのもので
、縮小型ラインセンサを用い、メモリ容量を低減化する
とともに画質を劣化させず、かつどのような縮小拡大に
も対応してセンサ間のギャップ補正を行うことが可能な
画像読み取り装置を提供することを目的とする。
[0007] The present invention is intended to solve the above-mentioned problems, and uses a reduced-type line sensor to reduce memory capacity, do not degrade image quality, and can accommodate any reduction/enlargement in space between sensors. An object of the present invention is to provide an image reading device capable of performing gap correction.

【0008】[0008]

【課題を解決するための手段】本発明は、異なる色出力
を行う主走査方向に平行な複数のラインセンサを副走査
方向に所定間隔毎に配置し、各ラインセンサ間の副走査
方向のギャップ補正をするための遅延手段を有するカラ
ー画像読み取り装置において、前記遅延手段の入力側に
所定ライン毎に少なくとも1ラインデータの間引きを行
う手段と、遅延手段の出力側に間引かれたラインデータ
の補間を行うラインデータ補間手段を設けたことを特徴
とし、さらに間引き手段より前段側に設けられた各信号
を入れ変える第1の切替え手段と、前記ラインデータ補
間手段より後段側に設けられた各信号を入れ換える第2
の切替え手段とを設け、フォワードスキャン時とバック
スキャン時とで遅延処理する信号を入替えるようにした
こと、またラインの間引き、およびライン補間は画像読
み取りの倍率が所定値以上の場合に行うこと、また、ラ
インセンサの出力画像中の必要な領域部分の抜き取りを
行うこと、また前記複数のラインセンサはR,G,Bラ
インセンサであり、フォワードスキャン時の最後列にB
またはGラインセンサを配置し、BまたはGラインセン
サに対して他のラインセンサの読み取り信号の遅延処理
行うことを特徴とする。
[Means for Solving the Problems] The present invention provides a plurality of line sensors parallel to the main scanning direction that output different colors, arranged at predetermined intervals in the sub-scanning direction, and a gap in the sub-scanning direction between each line sensor. In a color image reading device having a delay means for correction, means for thinning out at least one line data for each predetermined line is provided on the input side of the delay means, and means for thinning the thinned line data on the output side of the delay means. The feature is that a line data interpolation means for performing interpolation is provided, and further includes a first switching means for replacing each signal provided at a stage before the thinning means, and a first switching means for switching each signal provided at a stage after the line data interpolation means. 2nd to swap signals
A switching means is provided to switch the signals to be delayed during forward scan and back scan, and line thinning and line interpolation are performed when the image reading magnification is equal to or higher than a predetermined value. In addition, the plurality of line sensors are R, G, and B line sensors, and a B line is placed in the last row during forward scanning.
Alternatively, a G line sensor is arranged, and the read signals of other line sensors are subjected to delay processing for the B or G line sensor.

【0009】[0009]

【作用】本発明はギャップ補正メモリへ入力するデータ
を、例えば1ライン毎に間引き、従来の1/2の密度で
補正メモリへ入力し、補正メモリからの出力に対し隣接
するラインデータでその間のデータを生成して補間を行
ってライン数を2倍にし、また移動平均化により残りの
端数分の補正を実施することにより、従来の1/2のメ
モリ容量でギャップ補正することができる。そしてデー
タの間引き、補間を、例えば倍率200%以上の場合に
のみ実施するようにすれば、サンプリング密度が非常に
多い場合の間引きのため、画質に対してほとんど影響さ
せずにメモリ容量を低減化することができる。なお、間
引きの割合は1ライン毎に限らず、複数ライン毎に行っ
ても良く、また間引くラインは1ライン単位でなく2ラ
イン以上であっても可能である。また、変倍時に主走査
1ライン中の必要な画素を抜き取ってから遅延動作を行
うようにすれば、一層メモリ容量の低減が可能である。
[Operation] The present invention thins out the data input to the gap correction memory, for example, line by line, inputs it to the correction memory at 1/2 the density of the conventional method, and uses adjacent line data to output data from the correction memory. By generating data, performing interpolation to double the number of lines, and performing correction for the remaining fraction by moving averaging, gap correction can be performed with half the memory capacity of the conventional method. Then, if data thinning and interpolation are performed only when the magnification is 200% or more, for example, the memory capacity can be reduced with almost no effect on image quality since the data is thinned out when the sampling density is very high. can do. Note that the rate of thinning is not limited to each line, but may be performed for each plurality of lines, and the number of lines to be thinned out is not limited to one line, but may be two or more lines. Further, if the delay operation is performed after extracting necessary pixels in one main scanning line during zooming, the memory capacity can be further reduced.

【0010】0010

【実施例】図1は本発明におけるギャップ補正を説明す
るための図、図2は図1のギャップ補正が適用されるビ
デオ信号処理回路図、図3はギャップ補正の具体的補正
を示す図、図4はギャップ補正の原理を示す図、図5は
ギャップ補正のタイミングチャートである。
[Embodiment] Fig. 1 is a diagram for explaining gap correction in the present invention, Fig. 2 is a video signal processing circuit diagram to which the gap correction of Fig. 1 is applied, and Fig. 3 is a diagram showing specific correction of the gap correction. FIG. 4 is a diagram showing the principle of gap correction, and FIG. 5 is a timing chart of gap correction.

【0011】まず図2により本発明のギャップ補正が使
用される全体の構成を説明する。
First, the overall configuration in which the gap correction of the present invention is used will be explained with reference to FIG.

【0012】図2は本発明のビデオ信号読み取り、およ
びシェーディング補正を説明するためのブロック図であ
る。
FIG. 2 is a block diagram for explaining video signal reading and shading correction of the present invention.

【0013】図において、ラインセンサ20はR,G,
Bの各センサ20a,20b,20cからなり、RとB
とでは24ラインのギャップ、GとBとでは12ライン
のギャップになっている。
In the figure, the line sensor 20 has R, G,
B consists of each sensor 20a, 20b, 20c, R and B
There is a 24-line gap between and, and a 12-line gap between G and B.

【0014】いま、Rの読み取りについて説明すると、
センサ20aで読み取った信号を奇数番目と偶数番目と
に分けて両側から引き出す。すなわち、縮小型のCCD
ラインセンサは1ラインの画素数が多く、読み取りスピ
ードを上げ転送損失を少なくするため左右両側から奇数
番目と偶数番目の電荷を運んで出力させる。読み出した
ビデオ信号はサンプリングホールドした後、AGC22
でゲイン調整され、さらにAOC23でオフセット調整
されて奇数側と偶数側の信号間の補正がされ、マルチプ
レクサ24で合成されてオフセット調整されてA/D変
換される。検出信号は奇数番目、偶数番目に分かれた状
態では6.75MHzであるが、合成することにより倍
の13.5MHzの信号となる。
Now, to explain the reading of R,
The signals read by the sensor 20a are divided into odd-numbered signals and even-numbered signals and are extracted from both sides. In other words, a reduced CCD
Line sensors have a large number of pixels per line, and in order to increase reading speed and reduce transfer loss, odd-numbered and even-numbered charges are carried and output from both the left and right sides. After sampling and holding the read video signal, the AGC22
The gain is adjusted by the AOC 23, the offset is adjusted by the AOC 23 to correct between the odd and even signals, the signals are combined by the multiplexer 24, the offset is adjusted, and A/D conversion is performed. The detection signal is 6.75 MHz when divided into odd and even numbers, but when combined, it becomes a signal with double the frequency of 13.5 MHz.

【0015】A/D変換器26で変換された8ビットデ
ータは、ギャップ補正回路27でB信号とタイミングが
あうように補正される。そのためギャップ補正回路27
では512KBのメモリを使用し、G,B間のギャップ
はその半分であるので256KBのメモリを使用する。
The 8-bit data converted by the A/D converter 26 is corrected by a gap correction circuit 27 so that the timing matches the B signal. Therefore, the gap correction circuit 27
In this case, 512 KB of memory is used, and since the gap between G and B is half of that, 256 KB of memory is used.

【0016】シェーディングメモリ29はCPU31か
らの指示で、読み取り装置が白色基準板の直下にきた時
のデータを読み取って格納する。そしてコピー時には読
み取った画像データを、メモリ29に格納されたデータ
により除算回路28で除算してシェーディング補正がな
される。シェーディング補正されたデータは反射率デー
タであるので、これをENL30のLUTで所望のデー
タに変換する。
The shading memory 29 reads and stores data when the reading device comes directly under the white reference plate according to instructions from the CPU 31. At the time of copying, the read image data is divided by the data stored in the memory 29 in the division circuit 28 to perform shading correction. Since the shading-corrected data is reflectance data, it is converted into desired data using the LUT of the ENL 30.

【0017】ギャップ補正回路の構成は図1に示すよう
になっている。FIFOメモリ11a,11bあるいは
13a,13bは、図9で説明したと同様の遅延用メモ
リであり、本発明においてはR,Gについて2個ずつ合
計4個使用し、図9の場合に対して2個減らす構成にな
っている。補正用遅延メモリ11a,11bの前段には
間引き回路10が設けられ、2ライン毎に1ラインデー
タ分間引き、補正メモリに入力する。従って、補正用遅
延メモリは従来の1/2のメモリ容量があれば対応する
ことができる。そして、補正用遅延メモリで遅延したデ
ータは、間引いたデータをライン補間回路12で隣接す
るラインデータによって生成して補間し、出力すること
によりB信号とタイミングを合わせることができる。な
お、G信号については2つのFIFOメモリで対応でき
るので、特にラインの間引き、補間は行わない。
The configuration of the gap correction circuit is shown in FIG. The FIFO memories 11a, 11b or 13a, 13b are delay memories similar to those explained in FIG. The structure is designed to reduce the number of items. A thinning circuit 10 is provided before the correction delay memories 11a and 11b, and thins out one line of data every two lines and inputs it to the correction memory. Therefore, the correction delay memory can be used if the memory capacity is 1/2 that of the conventional one. The data delayed by the correction delay memory can be synchronized with the B signal by generating and interpolating the thinned data using adjacent line data in the line interpolation circuit 12 and outputting the resulting data. Note that since the G signal can be handled by two FIFO memories, line thinning and interpolation are not particularly performed.

【0018】次に図3、図4、図5によりギャップ補正
の具体例について説明する。
Next, a specific example of gap correction will be explained with reference to FIGS. 3, 4, and 5.

【0019】図4において、画像データは間引き回路1
0で1ラインおきに1ライン分間引かれて補正用遅延メ
モリ11に入力され、所定ライン数遅延されたデータは
メモリ11から出力される。ライン補間回路12におい
ては、FIFOメモリ41,42でそれぞれ1ラインづ
つ遅延され、FIFOメモリ11,41,42の出力が
セレクタ43で選択されてそのうちの2ラインデータが
出力され、隣合うラインデータはセレクタ44で係数A
,B,C,Dのうちのどれか2つが選択され、それぞれ
乗算器45,46で所定の係数を乗算して加算回路47
で加算され、ライン補間されたデータが出力される。
In FIG. 4, the image data is processed by the thinning circuit 1.
0, one line is subtracted every other line and input to the correction delay memory 11, and the data delayed by a predetermined number of lines is output from the memory 11. In the line interpolation circuit 12, FIFO memories 41 and 42 each delay one line, the outputs of the FIFO memories 11, 41, and 42 are selected by a selector 43, and two of them are output, and adjacent line data are Selector 44 selects coefficient A.
, B, C, and D are selected, multipliers 45 and 46 respectively multiply them by predetermined coefficients, and the adder circuit
and line interpolated data is output.

【0020】いま、図9(b)に対応させるために倍率
365%の場合について説明する。前述したように36
5%の場合には、RB間で87.6ライン分の画素列ギ
ャップが生じ、Rを87.6ライン分遅延させてタイミ
ングを合わせる必要がある。そこで、まず間引き回路1
0で1ラインおきに1ライン分間引き、FIFOメモリ
11で43ライン分遅延させ、その補正出力が図3(a
)に示すように「……R185 ,R187 ,R18
9 ……」であったとすると、FIFOメモリ41,4
2のデータと組み合わせ、例えばR185 とR187
 とにより、R186 ´を、R187 とR189 
によりR188 ´をそれぞれ生成し、これを補間して
「……R185 ,R186 ´,R187 ,R18
8 ´,R189 ,R190 ´……」を出力する。 このように間引かれたラインデータを補間することによ
り、ライン数が2倍になって間引く以前の状態に復元し
、さらにR185 ,R186 ´のデータからR18
5.6 を、R186 ´,R187 のデータからR
186.6 ……というように移動平均により残りの端
数分の補正を行って87.6ライン遅延させた出力「…
…R184.6 ,R185.6 ,R186.6 ,
R187.6 ,R188.6 ,R189.6 ……
」を得てBデータB97,B98,B99,B100 
……とタイミングを合わせる。
Now, in order to correspond to FIG. 9(b), a case where the magnification is 365% will be explained. As mentioned above, 36
In the case of 5%, a pixel column gap of 87.6 lines occurs between RB, and it is necessary to adjust the timing by delaying R by 87.6 lines. Therefore, first, thinning circuit 1
0, every other line is subtracted for 1 line, the FIFO memory 11 is used to delay 43 lines, and the corrected output is shown in Figure 3 (a).
) as shown in “...R185 , R187 , R18
9...'', FIFO memory 41, 4
2 data and combination, for example R185 and R187
Accordingly, R186', R187 and R189
R188' is generated respectively, and this is interpolated to generate "...R185, R186', R187, R18
8', R189, R190'...'' is output. By interpolating the line data thinned out in this way, the number of lines is doubled and restored to the state before thinning, and further R18
5.6 from the data of R186', R187
186.6...The remaining fraction is corrected using the moving average, and the output is delayed by 87.6 lines.
...R184.6, R185.6, R186.6,
R187.6, R188.6, R189.6...
” and B data B97, B98, B99, B100
... and match the timing.

【0021】なお、図3(a)においては一旦ライン補
間により倍のライン数とし、その後端数補正をするよう
にしたが、図3(b)(c)に示すように、1ラインづ
つ間引かれたラインデータから直接端数補正も実施した
データを求めることも可能である。
Note that in FIG. 3(a), the number of lines is doubled by line interpolation, and then fractional correction is performed, but as shown in FIG. 3(b) and (c), the number of lines is thinned out one line at a time. It is also possible to obtain data that has also undergone fractional correction directly from the line data.

【0022】すなわち、図3(b)は補正ライン数の端
数分をnとした時、0≦n<1の場合で、Ri とRi
+2 の間の補間を行う場合、Ri 側に近い側の補間
データは{(2−n)Ri +nRi+2 }/2Ri
+2 に近い側の補間データは {(1−n)Ri +(1+n)Ri+2 }/2で直
接求めることができる。また1≦n<2の場合、図3(
c)に示すように、端数データがRi に近い側の場合
には {(3−n)Ri +(n−1)Ri+2 }/2また
Ri+2 に近い側の補間データは{(2−n)Ri 
+nRi+2 }/2として求めることが可能である。
That is, FIG. 3(b) shows a case where 0≦n<1, where n is the fraction of the number of correction lines, and Ri and Ri
+2, the interpolated data on the side closer to Ri is {(2-n)Ri +nRi+2}/2Ri
The interpolated data on the side closer to +2 can be directly obtained by {(1-n)Ri + (1+n)Ri+2}/2. In addition, in the case of 1≦n<2, Fig. 3 (
As shown in c), when the fractional data is closer to Ri, it is {(3-n)Ri + (n-1)Ri+2}/2, and when the interpolated data is closer to Ri+2, it is {(2-n) Ri
+nRi+2 }/2.

【0023】次に図5のタイミングチャートを参照して
図4によるギャップ補正について説明する。
Next, the gap correction shown in FIG. 4 will be explained with reference to the timing chart shown in FIG.

【0024】CPUからのトリガ信号により副走査方向
のスキャン、主走査方向のスキャンが行われてデータの
取り込みが行われる。本発明においては倍率200%以
上の時のみラインの間引き、補間を行って図5(b)に
示すように1ラインおきに間引かれ、所定ライン数分だ
け遅延されたデータがFIFOメモリ11から出力され
る。FIFO11の出力は、例えば0ライン、2ライン
、4ライン、6ライン、8ラインというように奇数ライ
ンが間引かれたデータとなっている。この出力をFIF
O41で2度読みして1ライン分遅延させ、間引かれた
ラインデータを同じデータで埋め合わせて「00224
46688……」のようにラインデータを出力する。 このデータをさらにFIFO42で1ライン分遅延させ
、セレクタ43の選択によりFIFO11の2ライン目
のデータ、FIFO41の0ライン目のデータと組み合
わせ、例えば係数A,Bを選択して「0´」ライン目の
データを生成する。また、FIFO41の2ライン目の
データと、FIFO42の0ライン目のデータとをセレ
クタ43で抽出し、係数C,Dを用いて「1´」ライン
目のデータを生成する。以後、順次FIFO11とFI
FO41、FIFO41とFIFO42のデータを順次
セレクトして「0´,1´,2´,3´,4´,5´,
6´,7´……」のようにラインデータを補間して出力
する。
Scanning in the sub-scanning direction and scanning in the main scanning direction is performed in response to a trigger signal from the CPU, and data is captured. In the present invention, lines are thinned out and interpolated only when the magnification is 200% or more, and data is thinned out every other line as shown in FIG. Output. The output of the FIFO 11 is data in which odd lines are thinned out, for example, 0 line, 2 line, 4 line, 6 line, 8 line. FIF this output
Read it twice with O41, delay it by one line, fill in the thinned out line data with the same data, and write "00224".
Line data is output like "46688...". This data is further delayed by one line in the FIFO 42, and by selecting the selector 43, it is combined with the data on the 2nd line of the FIFO 11 and the data on the 0th line of the FIFO 41. For example, by selecting coefficients A and B, the "0'" line is created. generate data. Further, the selector 43 extracts data on the second line of the FIFO 41 and data on the 0th line of the FIFO 42, and uses the coefficients C and D to generate data on the "1'" line. After that, FIFO11 and FI
Select the data of FO41, FIFO41 and FIFO42 sequentially and select "0', 1', 2', 3', 4', 5',
Line data is interpolated and output as shown in "6', 7'...".

【0025】また、倍率が200%に達しない場合は、
図5(c)に示すように、FIFO11の出力は間引か
れないので、「0,1,2,3,4,5,6……」とな
り、これを1ライン分FIFO41で遅延させ、さらに
FIFO42で1ライン分遅延させる。この場合各隣接
ラインデータはFIFO11,FIFO41で得られる
のでFIFO42のデータは使用する必要がなく、例え
ば150.5%の拡大率のような端数がある場合にはF
IFO11とFIFO41のデータをそれぞれ使用して
「0´,1´,2´,3´,4´,5´,6´,7´…
…」のように補間して出力する。
[0025] Also, if the magnification does not reach 200%,
As shown in FIG. 5(c), the output of FIFO 11 is not thinned out, so it becomes "0, 1, 2, 3, 4, 5, 6...", which is delayed by one line in FIFO 41, and then Delay by one line using FIFO42. In this case, each adjacent line data is obtained from FIFO 11 and FIFO 41, so there is no need to use the data from FIFO 42. For example, if there is a fraction such as 150.5% expansion rate, F
Using the data of IFO11 and FIFO41 respectively, "0', 1', 2', 3', 4', 5', 6', 7'...
..." and outputs by interpolation.

【0026】図6は本発明の他の実施例を説明する図で
ある。
FIG. 6 is a diagram illustrating another embodiment of the present invention.

【0027】図6(a)に示すように遅延用のFIFO
11で所定ライン遅延させたデータをさらにFIFO5
0で1ライン分遅延させ、FIFO11の出力とFIF
O50の出力とを組み合わせてライン間のデータを生成
し、これをフィードバックしてさらに1ライン遅延させ
てFIFO11の出力と合成してまた補正ラインデータ
を生成するものである。
As shown in FIG. 6(a), a delay FIFO
The data delayed by a predetermined line in step 11 is further transferred to FIFO5.
0 to delay one line, output of FIFO11 and FIF
Inter-line data is generated by combining with the output of the FIFO 11, which is fed back and further delayed by one line, and combined with the output of the FIFO 11 to generate corrected line data.

【0028】図6(b)に示すようにFIFO11への
入力が1ラインづつ間引かれてFIFO11には「0,
2,4,6,8……」のように1/2のライン数のデー
タが書き込まれ、これを2度読みしてFIFO11の出
力として「00224466……」を生成する。これを
FIFO50で1ライン分遅延させ、FIFO11出力
の2ライン目のデータとFIFO50出力の0ライン目
のデータとで「0´」ライン目のデータを生成し、これ
を加算回路54を通してフィードバックし、再度FIF
O50で1ライン分遅延させ、この「0´」ライン目の
データとFIFO11出力の2ライン目のデータとで合
成して「1´」ライン目のデータを生成し、以後同様の
処理を繰り返すことにより順次「1´,2´,3´,4
´,5´,6´……」のラインデータを補正出力として
得ることができる。
As shown in FIG. 6(b), the input to the FIFO 11 is thinned out one line at a time, and the FIFO 11 contains "0,
2, 4, 6, 8...'' is written, and this data is read twice to generate "00224466..." as the output of the FIFO 11. This is delayed by one line in the FIFO 50, the data of the 2nd line of the output of the FIFO 11 and the data of the 0th line of the output of the FIFO 50 are used to generate the data of the "0'" line, which is fed back through the adder circuit 54, FIF again
Delay by one line at O50, combine this "0'" line data with the 2nd line data of the FIFO 11 output to generate "1'" line data, and repeat the same process thereafter. ``1', 2', 3', 4''
', 5', 6'...'' line data can be obtained as a correction output.

【0029】図7は本発明の他の実施例を示す図である
。前述の実施例ではR,G,Bの順序でスキャニングす
る場合のギャップ補正について説明したが、バックスキ
ャン時にも画像読み取りを行おうとすると、R信号とB
信号とが入れ換わってしまう。そこで、図7に示すよう
に、スイッチ60,61でRとB信号を入れ換えて間引
き処理をした後、FIFOへ入力させ、補間処理を行っ
た後にさらにスイッチ62,63で入れ換えてR,G,
Bの順序を変化させずに出力することにより、順方向ス
キャン時と同様にギャップ補正を行うことができる。な
お、スイッチの切り換え信号は副走査同期信号で生成し
てもよく、またはCPUより設定して出すようにしても
よい。
FIG. 7 is a diagram showing another embodiment of the present invention. In the above embodiment, gap correction was explained when scanning in the order of R, G, and B. However, if you try to read an image also during backscanning, the R signal and B signal
The signals will be swapped. Therefore, as shown in FIG. 7, switches 60 and 61 are used to exchange the R and B signals to perform thinning processing, and then the signals are input to the FIFO, and after interpolation processing is performed, they are further exchanged using switches 62 and 63, and the R, G,
By outputting B without changing the order, gap correction can be performed in the same way as in forward scanning. Note that the switch switching signal may be generated by a sub-scanning synchronization signal, or may be set and output from the CPU.

【0030】ところで、補間処理のための演算は一種の
ローパスフィルタであるため、演算によりMTFが劣化
する。例えば、CCDセンサのGの感度は人間の目の明
るさの感度に近く、R,G,B表色系をL* a* b
* 表色系に変換する場合は、直接L(明度)に影響し
てくる。そこで、Gを中心にR,Bについて補間処理を
行い、Gについては補間処理を行わないようにして精細
度の劣化が少ない色ずれ補正を行うようにするのが好ま
しい。また、補間処理を行う前のR,G,BのMTFの
差が大きい場合(Bの感度アップのため、Bの画素サイ
ズが大きいセンサなど)、前述のようにGを中心にした
補間処理を行うと、R,G,Bの解像度の差が大きくな
りすぎ、例えば原稿が黒でもカラーと判断してしまうこ
とが生ずる。そのため、最も解像度の低いBを中心にR
,Gに対して補間処理を行うことにより、R,G,Bの
解像度を少なくし、黒読み取り時はR,G,Bの出力比
が同じレベルとなるようにする。これにより、R,G,
Bの解像度の差の少ない補間処理を行うことができる。 なお、絵文字分離では画像データのコントラスト(明度
)に着目するため、Gの解像度が重要であり、Gを中心
にR,Bについて補間処理を行うのが適しており、また
、黒、色文字判定では各画素の彩度に着目するため、R
,G,B間の色ずれの差が少ないBを中心にR,Gに対
して補間処理を行うのが適している。したがって、用途
に応じて補間処理の色を切り換えるようにすることが望
ましい。
By the way, since the computation for interpolation processing is a kind of low-pass filter, the MTF deteriorates due to the computation. For example, the G sensitivity of a CCD sensor is close to the brightness sensitivity of the human eye, and the R, G, B color system is
* When converting to a color system, it directly affects L (lightness). Therefore, it is preferable to perform interpolation processing for R and B, centering on G, and not perform interpolation processing for G, thereby performing color shift correction with less deterioration in definition. In addition, if there is a large difference in the MTF of R, G, and B before interpolation processing (such as a sensor with a large pixel size for B to increase the sensitivity of B), interpolation processing centered on G may be performed as described above. If this is done, the difference in resolution between R, G, and B becomes too large, and for example, even if the document is black, it may be determined to be color. Therefore, R is centered around B, which has the lowest resolution.
, G to reduce the resolution of R, G, and B, so that the output ratios of R, G, and B are at the same level when reading black. As a result, R, G,
Interpolation processing with little difference in B resolution can be performed. In addition, since pictogram separation focuses on the contrast (brightness) of image data, the resolution of G is important, and it is appropriate to perform interpolation processing for R and B with G as the center. Now, to focus on the saturation of each pixel, R
, G, and B, it is suitable to perform interpolation processing on R and G, centering on B, which has a small difference in color shift between them. Therefore, it is desirable to switch the colors for interpolation processing depending on the purpose.

【0031】前述の説明でR信号についての間引き、補
間処理について説明したが、データを間引いた場合には
どうしても画質の低下が避けられない。B信号について
は人間の目の感度の関係から多少精度が悪くてもそれほ
ど目立たないので、RとBとを入れ換え、B信号につい
ての間引きを行うようにすれば、一層画質低下を防止す
ることができる。
In the above explanation, the thinning and interpolation processing for the R signal has been explained, but when data is thinned out, the image quality inevitably deteriorates. Due to the sensitivity of the human eye, even if the accuracy of the B signal is slightly lower, it is not noticeable, so if you replace R and B and thin out the B signal, you can further prevent the image quality from deteriorating. can.

【0032】なお、前記実施例では図1の間引き回路1
0において、ライン間引きのみ行う場合について説明し
たが、間引き回路10において主走査1ライン中の画像
データの中から必要な部分の画像データを切り出すよう
にすれば、ギャップ補正用の遅延メモリ容量を減らすこ
とが可能である。このような主走査1ライン中の画像デ
ータの抜き取りにより、ライン間引きを行わなくてもメ
モリ容量が足りる場合にはライン間引きを行う必要はな
い。したがって、主走査必要領域部分、副走査倍率、メ
モリ容量よりCPUが判断し、必要な場合のみ、主走査
の画像データの抜き取りに加えて副走査のライン間引き
、補間を行うようにすればよい。このように、主走査画
像データの抜き取りとライン間引きの併用により、図1
0で説明したような主走査倍率が等倍で副走査倍率が拡
大の場合にも、ライン間引きを行えば原稿の置き換えを
しなくても対応することができる。
In the above embodiment, the thinning circuit 1 of FIG.
0 described the case where only line thinning is performed, but if the thinning circuit 10 cuts out the necessary portion of image data from the image data in one line of main scanning, the delay memory capacity for gap correction can be reduced. Is possible. By extracting the image data in one main scanning line in this way, there is no need to perform line thinning if the memory capacity is sufficient even without line thinning. Therefore, the CPU should make a judgment based on the area required for main scanning, sub-scanning magnification, and memory capacity, and perform sub-scanning line thinning and interpolation in addition to main-scanning image data extraction only if necessary. In this way, by combining main scanning image data extraction and line thinning,
Even in the case where the main scanning magnification is equal to the magnification and the sub-scanning magnification is enlarged as described in Section 0, line thinning can be performed without replacing the document.

【0033】[0033]

【発明の効果】以上のように本発明によれば、200%
拡大時のように所定倍率以上の時にラインデータをライ
ン単位で間引いて遅延させ、間引いたデータを補間処理
して各データのタイミングを合わせるようにしたので、
遅延用のメモリ容量を低減化させてギャップ補正を行う
ことが可能であり、さらに所定倍率以上の時にはサンプ
リング密度が大きくなるので、データを間引いてもそれ
ほど画質低下に結びつくことがなく、画質を維持しつつ
メモリ容量の低減化が可能である。また、主走査画像デ
ータの抜き取りとライン間引きの併用により、一層ギャ
ップ補正用の遅延メモリ容量を減らすことが可能であり
、主走査倍率が等倍で副走査倍率が拡大というような場
合にも、原稿の置き換えをしなくても対応することがで
きる。
Effects of the Invention As described above, according to the present invention, 200%
When the magnification is above a certain level, such as when enlarging, line data is thinned out line by line and delayed, and the thinned out data is interpolated to match the timing of each data.
It is possible to perform gap correction by reducing the delay memory capacity, and since the sampling density increases when the magnification is higher than a predetermined magnification, even if data is thinned out, the image quality will not deteriorate significantly and the image quality will be maintained. It is possible to reduce the memory capacity while maintaining the memory capacity. In addition, by combining main scanning image data extraction and line thinning, it is possible to further reduce the delay memory capacity for gap correction. This can be done without replacing the original.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】  本発明におけるギャップ補正を説明するた
めの図である。
FIG. 1 is a diagram for explaining gap correction in the present invention.

【図2】  ギャップ補正が適用させるビデオ信号処理
回路図である。
FIG. 2 is a video signal processing circuit diagram to which gap correction is applied.

【図3】  ギャップ補正の具体的補正方法を示す図で
ある。
FIG. 3 is a diagram showing a specific correction method for gap correction.

【図4】  ギャップ補正のブロック構成図である。FIG. 4 is a block configuration diagram of gap correction.

【図5】  ギャップ補正の原理を示す図である。FIG. 5 is a diagram showing the principle of gap correction.

【図6】  本発明の他の実施例を説明する図である。FIG. 6 is a diagram illustrating another embodiment of the present invention.

【図7】  本発明の他の実施例を説明する図である。FIG. 7 is a diagram illustrating another embodiment of the present invention.

【図8】  縮小型ラインセンサによる画像読み取りを
説明する図である。
FIG. 8 is a diagram illustrating image reading by a reduction type line sensor.

【図9】  従来のギャップ補正を説明する図である。FIG. 9 is a diagram illustrating conventional gap correction.

【図10】  従来のギャップ補正を説明する図である
FIG. 10 is a diagram illustrating conventional gap correction.

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

10…間引き回路、12…ライン補間回路、11,41
,42,43…FIFO。
10... Thinning circuit, 12... Line interpolation circuit, 11, 41
,42,43...FIFO.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】  異なる色出力を行う主走査方向に平行
な複数のラインセンサを副走査方向に所定間隔毎に配置
し、各ラインセンサ間の副走査方向のギャップ補正をす
るための遅延手段を有するカラー画像読み取り装置にお
いて、前記遅延手段の入力側に少なくとも所定ライン毎
に1ラインデータの間引きを行う間引き手段と、遅延手
段の出力側に間引かれたラインデータの補間を行うライ
ンデータ補間手段を設けたことを特徴とする画像読み取
り装置。
1. A plurality of line sensors parallel to the main scanning direction that output different colors are arranged at predetermined intervals in the sub-scanning direction, and a delay means is provided for correcting the gap between each line sensor in the sub-scanning direction. In the color image reading device, the input side of the delay means is a thinning means for thinning out one line of data at least every predetermined line, and the output side of the delay means is a line data interpolation means for interpolating the thinned out line data. An image reading device characterized by being provided with.
【請求項2】  請求項1記載の装置において、さらに
前記間引き手段より前段側に設けられた各信号を入れ変
える第1の切替え手段と、前記ラインデータ補間手段よ
り後段側に設けられた各信号を入れ換える第2の切替え
手段とを設け、フォワードスキャン時とバックスキャン
時とで遅延処理する信号を入替えるようにしたことを特
徴とする画像読み取り装置。
2. The apparatus according to claim 1, further comprising: a first switching means for interchanging each signal provided at a stage before the thinning means; and a first switching means for switching each signal provided at a stage after the line data interpolation means. 1. An image reading apparatus characterized in that a second switching means is provided to switch the signals to be delayed during forward scanning and during back scanning.
【請求項3】  ラインの間引き、およびライン補間は
画像読み取りの倍率が所定値以上の場合に行うことを特
徴とする請求項1または2記載の画像読み取り装置。
3. The image reading apparatus according to claim 1, wherein line thinning and line interpolation are performed when the image reading magnification is equal to or higher than a predetermined value.
【請求項4】  前記間引き手段は、ラインセンサの出
力画像中の必要な領域部分の抜き取りを行うことを特徴
とする請求項1または2記載の画像読み取り装置。
4. The image reading apparatus according to claim 1, wherein the thinning means extracts a necessary area from the output image of the line sensor.
【請求項5】  前記複数のラインセンサはR,G,B
ラインセンサであり、フォワードスキャン時の最後列に
BまたはGラインセンサを配置し、BまたはGラインセ
ンサに対して他のラインセンサの読み取り信号の遅延処
理行う請求項1または2記載の画像読み取り装置。
5. The plurality of line sensors are R, G, B
The image reading device according to claim 1 or 2, wherein the image reading device is a line sensor, and a B or G line sensor is arranged in the last row during forward scanning, and the B or G line sensor performs delay processing of the read signals of other line sensors. .
JP3037369A 1991-03-04 1991-03-04 Picture reader Pending JPH04275776A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3037369A JPH04275776A (en) 1991-03-04 1991-03-04 Picture reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3037369A JPH04275776A (en) 1991-03-04 1991-03-04 Picture reader

Publications (1)

Publication Number Publication Date
JPH04275776A true JPH04275776A (en) 1992-10-01

Family

ID=12495608

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3037369A Pending JPH04275776A (en) 1991-03-04 1991-03-04 Picture reader

Country Status (1)

Country Link
JP (1) JPH04275776A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5742410A (en) * 1993-06-20 1998-04-21 Fuji Xerox Co., Ltd. Color image processing apparatus capable of correcting a color deviation by converting only chroma signals
JP2006148452A (en) * 2004-11-18 2006-06-08 Ricoh Co Ltd Image reading apparatus, image reading method and image processing apparatus
JP2007158846A (en) * 2005-12-06 2007-06-21 Sharp Corp Image reading device and method
JP2009080222A (en) * 2007-09-26 2009-04-16 V Technology Co Ltd Optical sensor
JP2010058484A (en) * 2008-09-08 2010-03-18 Dainippon Screen Mfg Co Ltd Printer and inspection method for printing
JP2010186194A (en) * 2010-04-09 2010-08-26 Seiko Epson Corp Image processing apparatus

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5742410A (en) * 1993-06-20 1998-04-21 Fuji Xerox Co., Ltd. Color image processing apparatus capable of correcting a color deviation by converting only chroma signals
JP2006148452A (en) * 2004-11-18 2006-06-08 Ricoh Co Ltd Image reading apparatus, image reading method and image processing apparatus
JP4527505B2 (en) * 2004-11-18 2010-08-18 株式会社リコー Image reading apparatus, image reading method, and image processing apparatus
US7787157B2 (en) 2004-11-18 2010-08-31 Ricoh Company, Ltd. Image reading apparatus, image reading method and image processing apparatus
JP2007158846A (en) * 2005-12-06 2007-06-21 Sharp Corp Image reading device and method
JP2009080222A (en) * 2007-09-26 2009-04-16 V Technology Co Ltd Optical sensor
JP2010058484A (en) * 2008-09-08 2010-03-18 Dainippon Screen Mfg Co Ltd Printer and inspection method for printing
JP2010186194A (en) * 2010-04-09 2010-08-26 Seiko Epson Corp Image processing apparatus

Similar Documents

Publication Publication Date Title
KR0153509B1 (en) Image pickup device
US6133953A (en) Color camera having a single imaging element and capable of restricting unwanted false color signal
EP1592236A1 (en) Image sensing apparatus
US5333055A (en) Video camera circuit for processing image signals from an image pickup device having a mosaic color filter
JP3991011B2 (en) Image signal processing device
US6728425B1 (en) Image processing device
US6323901B1 (en) Single CCD type color camera having high resolution and capable of restricting generation of ghost color
US6690418B1 (en) Image sensing apparatus image signal controller and method
JPH04275776A (en) Picture reader
JPH0224073B2 (en)
JP3415215B2 (en) Digital zooming system
JPH10108033A (en) Scanner and interpolation picture element generation method therefor
JP2744260B2 (en) Color signal processing device
JP4132264B2 (en) Image signal processing circuit
JP2920380B2 (en) Color signal processing device
JP3754803B2 (en) Imaging device
US5481304A (en) Apparatus for zooming a digital video signal of a predetermined color order which is derived from a charge-coupled device
JP2552742B2 (en) Adaptive contour correction circuit
JPS61278273A (en) Picture reducing system
JP3893489B2 (en) Signal processing apparatus and signal processing method
JPH10164363A (en) Image reader
JPH11220751A (en) Image-pickup device
JP3463695B2 (en) Imaging equipment
JP4249909B2 (en) Signal processing apparatus and signal processing method
JP3271443B2 (en) Imaging device