JP2860985B2 - Document reading device - Google Patents

Document reading device

Info

Publication number
JP2860985B2
JP2860985B2 JP63020498A JP2049888A JP2860985B2 JP 2860985 B2 JP2860985 B2 JP 2860985B2 JP 63020498 A JP63020498 A JP 63020498A JP 2049888 A JP2049888 A JP 2049888A JP 2860985 B2 JP2860985 B2 JP 2860985B2
Authority
JP
Japan
Prior art keywords
image data
magnification
sub
original image
line memory
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 - Fee Related
Application number
JP63020498A
Other languages
Japanese (ja)
Other versions
JPH01195582A (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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=12028826&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=JP2860985(B2) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP63020498A priority Critical patent/JP2860985B2/en
Publication of JPH01195582A publication Critical patent/JPH01195582A/en
Application granted granted Critical
Publication of JP2860985B2 publication Critical patent/JP2860985B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 産業上の利用分野 本発明は原稿読み取り装置に関するもので、特に変倍
機能を有する原稿読み取り装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an original reading apparatus, and more particularly, to an original reading apparatus having a variable magnification function.

従来の技術 原稿読み取り装置の出力装置として例えばCRTを挙げ
ると主走査方向、副走査方向ともに表示できる画素数が
限られている。その限られた領域を有効に利用するには
任意に変倍率が設定できなくてはならない。これに対し
て従来の原稿読み取り装置における変倍は主走査方向に
関していえば結像光学系を機構的に移動させて倍率を変
え変倍画像を得る方法、または原画像データの2ドット
のうち1ドットを間引いたり2ドットのうち1ドットを
重ねて出したりして変倍画像を得る方法等があった。副
走査方向に関していえば副走査駆動手段の速度を変えて
変倍するが、その方法としてステッピングモータの相の
多いものを用いたり、機構的にギヤ比に変えたりしてい
た。
2. Description of the Related Art As an output device of a document reading apparatus, for example, a CRT has a limited number of pixels that can be displayed in both the main scanning direction and the sub-scanning direction. In order to effectively use the limited area, the magnification must be arbitrarily set. On the other hand, in the conventional document reading apparatus, the magnification is changed in the main scanning direction by mechanically moving the imaging optical system to change the magnification to obtain a magnified image, or one of two dots of the original image data. There is a method of obtaining a scaled image by thinning out dots or overlapping one dot out of two dots. In the sub-scanning direction, the magnification is changed by changing the speed of the sub-scanning driving means. As a method, a stepping motor having many phases or a gear ratio is mechanically changed.

発明が解決しようとする課題 しかし従来の構成によれば主走査方向、副走査方向と
もに変倍率を設定する範囲に限界があり、任意に変倍率
を変えるのに充分なものとはいえなかった。また変倍を
するときに結像光学系や副走査駆動手段のギヤを機構的
に移動しなければならないので複雑な構成になってい
た。
Problems to be Solved by the Invention However, according to the conventional configuration, there is a limit to the range in which the magnification is set in both the main scanning direction and the sub-scanning direction, and it cannot be said that the magnification is arbitrarily changed. In addition, when the magnification is changed, the gears of the imaging optical system and the sub-scanning driving means must be mechanically moved, so that the configuration is complicated.

本発明はかかる点に鑑みてなされたもので、簡単な構
成で任意変倍ができる原稿読み取り装置を提供すること
を目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and has as its object to provide an original reading apparatus capable of performing arbitrary magnification with a simple configuration.

課題を解決するための手段 本発明は上記目的を達成させるもので、原稿を光電的
に読み取る光電変換素子と、この光電交換素子と原稿と
を相対的に移動させる副走査駆動手段と、前記光電変換
素子の出力をA/D変換するA/D変換器と、このA/D変換器
の原画像データを1ライン分以上記憶する複数のライン
メモリと、任意の変倍率を設定する変倍率設定手段と、
前記複数のラインメモリのうちの1ラインメモリへの原
画像データの書き込み動作、及びこの原画像データが書
き込まれたラインメモリから原画像データを読み出して
隣合う2つの画素から内分法により3画素以上の画素デ
ータを作成して他のラインメモリにこの補間データを書
き込む動作を制御する書き込み制御手段と、前記変倍率
設定手段により設定された変倍率に応じて前記ラインメ
モリの読み出しを制御する読み出し制御手段と、前記変
倍率設定手段により設定された変倍率に応じて前記副走
査駆動手段を制御する副走査駆動制御手段とを備えもの
である。
Means for Solving the Problems In order to achieve the above object, the present invention provides a photoelectric conversion element for photoelectrically reading an original, a sub-scanning driving means for relatively moving the photoelectric exchange element and the original, A / D converter that A / D converts the output of the conversion element, multiple line memories that store one or more lines of the original image data of this A / D converter, and scaling setting that sets an arbitrary scaling factor Means,
An operation of writing original image data to one line memory of the plurality of line memories, reading the original image data from the line memory to which the original image data has been written, and extracting three pixels from two adjacent pixels by the internal division method Writing control means for controlling the operation of creating the above pixel data and writing the interpolation data to another line memory, and reading for controlling reading of the line memory according to the magnification set by the magnification setting means Control means; and sub-scanning drive control means for controlling the sub-scanning drive means in accordance with the magnification set by the magnification setting means.

作用 本発明は上記した構成で、主走査方向は書き込み制御
手段によりラインメモリに順次アドレスが与えられてA/
D変換後の原画像データが1ライン分記憶されるととも
にこのラインメモリから原画像データが読み出され、隣
合う2つの画素から内分法により3画素以上の画像デー
タが作成されて他のラインメモリにこの補間データが記
憶される。その後読み出し制御手段により変倍率に応じ
たアドレスがラインメモリに与えられ変倍された画像デ
ータが得られる。副走査方向は副走査駆動制御手段によ
り変倍率に応じた速度にPLL制御され変倍される。
Operation The present invention is configured as described above. In the main scanning direction, the address is sequentially given to the line memory by the writing control means and the A /
One line of the original image data after the D conversion is stored, and the original image data is read from the line memory, and image data of three or more pixels is created from two adjacent pixels by the internal division method, and another line is formed. This interpolation data is stored in the memory. Thereafter, an address corresponding to the scaling factor is given to the line memory by the reading control means, and the scaled image data is obtained. The sub-scanning direction is PLL-controlled by the sub-scanning drive control means at a speed corresponding to the magnification, and the magnification is changed.

実施例 第1図は本発明の一実施例を示す原稿読み取り装置の
ブロック図を示すものである。第1図において1は原
稿、2は原稿1を光電的に読み取る光学系ユニットであ
り光源2aとレンズ2b及び光電変換素子2cとから構成され
ている。3は原稿1と光学系ユニット2を相対的に移動
させる副走査駆動手段、3は光電交換素子2cの出力をア
ナログ−デジタル変換するA/D変換器である。4は第1
の切替え手段、5はA/D変換器の出力である原画像デー
タを1ライン分以上記憶できるラインメモリ、6は例え
ばCRT等の出力装置、7は第2の切替え手段、8はライ
ンメモリ5の書き込みを制御する書き込み制御手段、9
は任意に変倍率を設定する変倍率設定手段、10は変倍率
設定手段7で設定された変倍率に応じてラインメモリ5
の読み出しを制御する読み出し制御手段であり、変倍率
設定手段9より与えられる変倍率の平方根の逆数である
変倍係数を発生する変倍係数発生手段10aと、アップカ
ウンタ10bと、変倍係数発生手段10aで発生された変倍係
数とアップカウンタ10bの出力を乗算する乗算器10cと、
ラインメモリ5の最大アドレス値を発生する最大アドレ
ス値発生手段10dと乗算器10cの出力と最大アドレス値発
生手段10dで発生された最大アドレス値とを比較し乗算
器10cの出力が最大アドレス値を上回ったときにある信
号を発生するコンパレータ10eとから構成されている。
そして変倍率とは(変倍画像の面積)/(原画像の面
積)であり、変倍係数とは(変倍画像の主(副)走査方
向の長さ)/(原画像の主(副)走査方向の長さ)の逆
数に相当する。
FIG. 1 is a block diagram of a document reading apparatus according to an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a document, and reference numeral 2 denotes an optical system unit for reading the document 1 photoelectrically, and includes a light source 2a, a lens 2b, and a photoelectric conversion element 2c. Reference numeral 3 denotes sub-scanning driving means for relatively moving the original 1 and the optical system unit 2, and reference numeral 3 denotes an A / D converter for converting the output of the photoelectric exchange element 2c from analog to digital. 4 is the first
5, a line memory capable of storing one or more lines of original image data output from the A / D converter, 6 an output device such as a CRT, 7 a second switching means, and 8 a line memory 5 Writing control means for controlling writing of data, 9
Is a magnification setting means for arbitrarily setting a magnification, and 10 is a line memory 5 according to the magnification set by the magnification setting means 7.
Read-out control means for controlling the read-out of data, a scaling factor generating means 10a for generating a scaling factor which is the reciprocal of the square root of the scaling factor given by the scaling factor setting means 9, an up counter 10b, A multiplier 10c for multiplying the scaling factor generated by the means 10a and the output of the up counter 10b,
The output of the maximum address value generating means 10d for generating the maximum address value of the line memory 5 and the output of the multiplier 10c are compared with the maximum address value generated by the maximum address value generating means 10d, and the output of the multiplier 10c determines the maximum address value. And a comparator 10e that generates a signal when the signal exceeds the threshold.
The scaling factor is (area of the scaled image) / (area of the original image), and the scaling factor is (length of the scaled image in the main (sub) scanning direction) / (main (sub) of the original image. ) Length in the scanning direction).

ここで第1の切替え手段4はA/D変換器3の出力であ
る原画像データをラインメモリ5に書き込む時にA/D変
換器3とラインメモリ5を接続し、読み出す時にライン
メモリ5と出力装置6を接続する。また、第2の切替え
手段7は第1の切替え手段4と連動し原画像データをラ
インメモリ5に書き込む時にラインメモリ5と書き込み
制御手段8を接続し、読み出す時にラインメモリ5と読
み出し制御手段10を接続する。11は変倍率設定手段9で
発生された変倍率に応じて副走査駆動手段3の駆動を制
御する副走査駆動制御手段、12は原稿1と光学系ユニッ
ト2を相対的に移動させる副走査駆動手段であり、変倍
係数発生手段10aで発生された変倍係数に応じた基準周
波数の信号を発生する基準周波数発生手段11aと基準周
波数発生手段11aの出力信号を基準とし副走査駆動手段1
2をPLL制御するPLL制御手段11bとから構成されている。
101は原画像データ、102は変倍画像データである。
Here, the first switching means 4 connects the A / D converter 3 and the line memory 5 when the original image data output from the A / D converter 3 is written to the line memory 5, and connects with the line memory 5 when reading the original image data. The device 6 is connected. The second switching means 7 works in conjunction with the first switching means 4 to connect the line memory 5 and the writing control means 8 when writing the original image data to the line memory 5 and to connect the line memory 5 and the reading control means 10 when reading the original image data. Connect. Reference numeral 11 denotes a sub-scanning drive control unit that controls the driving of the sub-scanning driving unit 3 in accordance with the scaling ratio generated by the scaling ratio setting unit 9, and 12 denotes a sub-scanning drive that relatively moves the original 1 and the optical system unit 2. Means for generating a signal having a reference frequency corresponding to the scaling factor generated by the scaling factor generating means 10a, and a sub-scanning driving means 1 based on an output signal of the reference frequency generating means 11a.
And a PLL control means 11b for performing PLL control on the PLL 2.
101 is original image data, and 102 is scaled image data.

第2図は本実施例の動作を説明するタイミングチャー
トである。第2図において(a)は書き込み制御手段か
らラインメモリに与えられる書き込みアドレス、(b)
はラインメモリに書き込まれる原画像データ、(c)は
書き込み制御手段から出力される切替え信号、(d)は
ラインメモリから読み出される変倍画像データ、(e)
は読み出し制御手段からラインメモリに与えられる読み
出しアドレス、(f)は読み出し制御手段より出力され
る切替え信号である。第2図において000hのhは16進数
を示し、X1、X2、・・・、X1728はそれぞれ1画素目の
データ、2画素目のデータ、・・・、1728画素目のデー
タを示す。
FIG. 2 is a timing chart for explaining the operation of this embodiment. 2A shows a write address given to the line memory from the write control means, and FIG.
Is the original image data to be written to the line memory, (c) is the switching signal output from the write control means, (d) is the scaled image data read from the line memory, (e)
Is a read address given to the line memory from the read control means, and (f) is a switching signal output from the read control means. In FIG. 2, h of 000h indicates a hexadecimal number, and X 1 , X 2 ,..., X 1728 indicate data of the first pixel, data of the second pixel,. .

第3図は本実施例における変倍の動作を詳しく説明す
るラインメモリの内部状態を示す図である。
FIG. 3 is a diagram showing the internal state of the line memory for explaining the zooming operation in this embodiment in detail.

以上のように構成された本実施例の原稿読み取り装置
において、以下第1図、第2図及び第3図を用いてその
動作を説明する。なお、本実施例における原稿読み取り
装置は原稿サイズをA4、解像度8dot/mmで原稿の短手方
向を主走査方向として読み取るものとし、A4全領域に対
する変倍率を16%とする。
The operation of the thus configured document reading apparatus of the present embodiment will be described below with reference to FIGS. 1, 2, and 3. FIG. It is assumed that the document reading apparatus according to the present embodiment reads a document of A4 size and a resolution of 8 dots / mm with the short side direction of the document as a main scanning direction, and sets a magnification of 16% for the entire area of A4.

原稿1が光源2aに照射されその反射光がレンズ2bによ
って光電変換素子2cに結像され、光信号が電気信号に変
換される。光電変換素子2cの出力がA/D変換器3でA/D変
換され原画像データを得る。このとき第1の切替え手段
4はA/D変換器3とラインメモリ5を、第2の切替え手
段7はラインメモリ5と書き込み制御手段8とを接続し
ている。書き込み制御手段8よりラインメモリ5に第2
図(a)に示すように書き込みアドレスが順次与えられ
第2図(b)に示すデータを第3図に示すように000h番
地に1画素目のデータ、001h番地に2画素目のデータ、
・・・6BFh番地に1728画素目のデータが格納されて1ラ
イン分の原画像データが記憶される。1ライン分の原画
像データがラインメモリ5に記憶されると書き込み制御
手段8から第2図(c)に示すように切替え信号が発生
し第1の切替え手段4は出力装置6とラインメモリ5
を、第2の切替え手段7はラインメモリ5と読み出し制
御手段10とを接続するように切替えられる。その後、変
倍率設定手段9にあらかじめ設定された変倍率16%が変
倍係数発生手段10aに与えられ変倍係数発生手段10aから
この値の平方根の逆数である変倍係数=1/0.161/2=2.5
が出力される。この変倍係数とアップカウンタ10bから
のアドレス値である000h、001h、002h・・・が乗算器10
cで乗算されてラインメモリ5に第2図(d)に示すよ
うに読み出しアドレスとして000h番地、002h番地、005h
番地、・・・6BEh番地が与えられラインメモリ5から第
2図(e)に示すような変倍画像データ102が1画素目
のデータ、3画素目のデータ、6画素目のデータ、・・
・1727画素目のデータの順に読み出され次段の出力装置
6に与えられる。この読み出し動作を繰返し1ラインの
変倍画像データを得るが、この読み出し動作を行う前に
常に乗算器10cの出力と最大アドレス値発生手段10dの最
大アドレス値(6BFh)がコンパレータ10eで比較され乗
算器10cの出力が最大アドレス値を上回ったとき1ライ
ン分の変倍が終了したと判断し、第2図(f)に示すよ
うな切替え信号を発生して第1の切替え手段4及び第2
の切替え手段7とを切替えてそれぞれA/D変換器3とラ
インメモリ5及びラインメモリ5と書き込み制御手段8
を接続し、上記動作を繰返す。このようにして1ライン
分の変倍画像データを得る。
The original 1 is irradiated on the light source 2a, and the reflected light is imaged on the photoelectric conversion element 2c by the lens 2b, and the optical signal is converted into an electric signal. The output of the photoelectric conversion element 2c is A / D converted by the A / D converter 3 to obtain original image data. At this time, the first switching means 4 connects the A / D converter 3 and the line memory 5, and the second switching means 7 connects the line memory 5 and the writing control means 8. The write control means 8 stores the second
As shown in FIG. 3A, the write addresses are sequentially given, and the data shown in FIG. 3B is converted into the first pixel data at address 000h, the second pixel data at address 001h, as shown in FIG.
... The 1728th pixel data is stored at address 6BFh, and one line of original image data is stored. When the original image data for one line is stored in the line memory 5, a switching signal is generated from the writing control means 8 as shown in FIG. 2 (c), and the first switching means 4 makes the output device 6 and the line memory 5
The second switching means 7 is switched to connect the line memory 5 and the reading control means 10. Thereafter, a scaling factor of 16% preset in the scaling factor setting means 9 is given to the scaling factor generating means 10a, and the scaling factor which is the reciprocal of the square root of this value = 1 / 0.16 1 / 2 = 2.5
Is output. .. 000h, 001h, 002h,...
As shown in FIG. 2 (d), it is multiplied by c and stored in the line memory 5 as the read addresses 000h, 002h, 005h.
Addresses,..., 6BEh are given, and the scaled image data 102 as shown in FIG. 2 (e) from the line memory 5 is the first pixel data, the third pixel data, the sixth pixel data,.
Data is read out in the order of the 1727th pixel and supplied to the output device 6 at the next stage. This read operation is repeated to obtain one line of scaled image data. Before performing this read operation, the output of the multiplier 10c is always compared with the maximum address value (6BFh) of the maximum address value generation means 10d by the comparator 10e. When the output of the switch 10c exceeds the maximum address value, it is determined that the scaling of one line has been completed, and a switching signal as shown in FIG. 2 (f) is generated to generate the first switching means 4 and the second switching means.
Switching means 7 for switching the A / D converter 3, the line memory 5, and the line memory 5 and the writing control means 8, respectively.
And the above operation is repeated. In this way, one line of scaled image data is obtained.

次に副走査方向の変倍は、基準周波数発生手段11aが
変倍係数発生手段10aより変倍係数(2.5)が与えられ等
倍時に発生する周波数の2.5倍の周波数の基準信号を発
生しPLL制御手段11bに与える。PLL制御手段11bはこの基
準信号により副走査駆動手段12をPLL制御し、等倍時の
速度の2.5倍の速度に保つ。副走査駆動手段12は等倍時
の2.5の速度で光学系ユニット2を矢印Aの方向に移動
させ副走査方向の変倍を行う。
Next, in the magnification change in the sub-scanning direction, the reference frequency generation means 11a receives a magnification coefficient (2.5) from the magnification coefficient generation means 10a, generates a reference signal having a frequency 2.5 times the frequency generated at the same magnification, and generates a PLL. This is given to the control means 11b. The PLL control means 11b performs PLL control of the sub-scanning drive means 12 by this reference signal, and keeps the speed at 2.5 times the speed at the same magnification. The sub-scanning drive unit 12 moves the optical system unit 2 in the direction of arrow A at a speed of 2.5 at the same magnification to perform zooming in the sub-scanning direction.

このようにして主走査方向、副走査方向ともに40%の
変倍率で変倍され、原画像に対して面積比16%の変倍率
の画像を得る。
In this manner, the image is scaled at a magnification of 40% in both the main scanning direction and the sub-scanning direction, and an image having an area ratio of 16% with respect to the original image is obtained.

以上縮小変倍の場合を説明したが拡大変倍の場合も同
様に変倍される。変倍率を256%とすると変倍率設定手
段9に設定された変倍率256%が変倍係数発生手段10aに
与えられ変倍係数発生手段10aからこの値の平行根の逆
数である変倍係数=1/2.561/2=0.625が出力される。こ
の変倍係数とアップカウンタ10bからのアドレス値であ
る000h、001h、002h・・・が乗算器10cで乗算されてラ
インメモリ5に読み取りアドレスとして000h番地、000h
番地、001h番地、001h番地、・・・が与えられラインメ
モリ5から変倍画像データが読み出され次段の出力装置
6に与えられる。あとの動作は同じである。
The case of reduction / magnification has been described above, but the magnification / magnification is also scaled similarly. Assuming that the scaling factor is 256%, the scaling factor 256% set in the scaling factor setting means 9 is given to the scaling factor generating means 10a, and the scaling factor = the reciprocal of the parallel root of this value from the scaling factor generating means 10a = 1 / 2.56 1/2 = 0.625 is output. .. 000h, 001h, 002h..., Which are the address values from the up counter 10b, are multiplied by the multiplier 10c, and read into the line memory 5 at the address 000h, 000h.
., And 001h, 001h,... Are read from the line memory 5, and are given to the output device 6 at the next stage. The rest of the operation is the same.

次に副走査方向の変倍も同じで、基準周波数発生手段
11aが変倍係数発生手段10aより変倍係数(0.626)が与
えられ等倍時に発生する周波数の0.625倍の周波数の基
準信号を発生しPLL制御手段11bに与える。PLL制御手段1
1bはこの基準信号により副走査駆動手段12をPLL制御
し、等倍時の速度の0.625倍の速度に保つ。副走査駆動
手段12は等倍時の0.625倍の速度で光学系ユニット2を
矢印Aの方向に移動させ副走査方向の変倍を行う。
Next, the same applies to zooming in the sub-scanning direction.
11a receives the scaling factor (0.626) from the scaling factor generating means 10a, generates a reference signal having a frequency 0.625 times the frequency generated at the same magnification, and provides the reference signal to the PLL control means 11b. PLL control means 1
1b performs PLL control of the sub-scanning driving means 12 by this reference signal, and keeps the speed at 0.625 times the speed at the time of equal magnification. The sub-scanning drive unit 12 moves the optical system unit 2 in the direction of arrow A at a speed of 0.625 times the original magnification to perform magnification in the sub-scanning direction.

本実施例ではラインメモリが1個の場合を説明したが
2個以上の場合でも同じである。特にラインメモリを2
個以上使用した場合は、上記動作のうち1個のラインメ
モリを書き込み動作に使用し、他のラインメモリを読み
出し動作に使用して1ライン毎に切替えるようにすると
本実施例より高速に変倍をすることができる。
In this embodiment, the case where the number of line memories is one has been described, but the same applies to the case where there are two or more line memories. Especially two line memories
If more than one memory cell is used, one of the above operations is used for the write operation, and the other line memory is used for the read operation so that switching can be performed line by line, so that scaling can be performed faster than in this embodiment. Can be.

また本実施例ではA4サイズ全領域に対して変倍を行う
ものとして原稿読み取り装置を構成しているが、任意の
原稿サイズあるいは部分領域に対応させるために何等か
の方法で原稿サイズの検出あるいは部分領域の指定を行
う。即ち、変倍領域の検出あるいは指定をする。そして
主走査方向はあらかじめ設定された変倍率及び変倍領域
から1ライン内に出力される変倍画像データのデータ数
を算出し、ラインメモリから出力される変倍画像データ
のデータ数を計算して前記算出されたデータ数だけ出力
したときに次のラインの変倍処理を行うようにし、副走
査方向はあらかじめ設定された変倍率及び変倍領域から
副走査駆動速度と送り長さとを算出し、前記算出された
速度で前記算出された長さだけ送ると読み取り動作を終
了するようにして無駄な読み取り領域及び読み取りデー
タを出力しないようにしてもよい。
In this embodiment, the original reading apparatus is configured to perform scaling on the entire area of the A4 size.However, in order to correspond to an arbitrary original size or a partial area, the original reading or the original size may be detected by any method. Specify a partial area. That is, the magnification area is detected or specified. In the main scanning direction, the number of data of the scaled image data output in one line is calculated from the magnification and the scale area set in advance, and the number of data of the scaled image data output from the line memory is calculated. When the calculated number of data has been output, the next line is resized, and the sub-scanning direction is calculated from the pre-set magnification and re-magnification area by the sub-scanning drive speed and the feed length. Alternatively, the reading operation may be terminated when the data is sent by the calculated length at the calculated speed, so that useless read areas and read data are not output.

さらに本実施例では主走査方向を変倍をするときに変
倍率に応じて画素を間引いたり、重ね打ちをするため変
倍率の大きいとき及び小さいときに変倍画像が劣化する
おそれがあるが、これに対して次のような補間処理を行
ってもよい。
Further, in the present embodiment, when scaling in the main scanning direction, pixels are thinned out according to the scaling ratio, or the scaled image may be deteriorated when the scaling ratio is large and small due to overprinting, On the other hand, the following interpolation processing may be performed.

第4図は主走査方向の画素の補間処理を説明する線図
である。第4図において(a)は読み取り画素と補間後
の画素の位置関係を示すもので、X1、X2、・・・は実際
に読み取る画素でありそれぞれ1画素目、2画素目、・
・・である。Y1、Y2、・・・はX1、X2、・・・から補間
処理により得られる画素である。(b)は読み取り画素
と補間後の画素の濃度の関係を示すものである。
FIG. 4 is a diagram for explaining pixel interpolation processing in the main scanning direction. In FIG. 4, (a) shows the positional relationship between the read pixel and the pixel after interpolation, and X 1 , X 2 ,...
・ ・Y 1, Y 2, ··· is X 1, X 2, a pixel obtained by interpolation from .... (B) shows the relationship between the read pixel and the density of the pixel after interpolation.

以下第4図を用いて隣り合う2つの画素から内分法に
より4画素を作る補間処理を説明する。
An interpolation process for forming four pixels from two adjacent pixels by the internal division method will be described below with reference to FIG.

光電変換素子より主走査方向にX1、X2、・・・が読み
取られ、A/D変換されて各画素の濃度に応じた多値デー
タが得られる。
X 1, X 2 from the photoelectric conversion element in the main scanning direction, ... are read, the multi-level data corresponding to the density of each pixel is A / D converted is obtained.

今X1の濃度をDX1、X2の濃度をDX2とすると補間により
得られる画素Y1、Y2、Y3、Y4の濃度は各点でのDX1とDX2
を結んだ線分との交点で表わされるから、それぞれ
DY1、DY2、DY3、DY4とすると、これらの濃度は、 DY1=DX1、 DY2=3/4・DX1+1/4・DX2、 DY3=2/4・DX1+2/4・DX2、 DY4=1/4・DX1+3/4・DX2、 となる。
Now the density of X 1 DX 1, pixel density of X 2 obtained by interpolation between the D X2 Y 1, Y 2, Y 3, the concentration of Y 4 is a D X1 at each point D X2
Are represented by the intersection with the line connecting the
Assuming that D Y1 , D Y2 , D Y3 , and D Y4 , these concentrations are D Y1 = D X1 , D Y2 = 3/4 · D X1 + 1/4 · D X2 , D Y3 = 2/4 · D X1 + 2/4 · D X2 , D Y4 = 1/4 · D X1 + 3/4 · D X2 .

以上のようにして隣り合う2つの画素から4画素を補
間処理による作ることができる。これを繰返し1ライン
分の補間データを得る。
As described above, four pixels can be formed by interpolation from two adjacent pixels. This is repeated to obtain one line of interpolation data.

上記の動作を本実施例に採用するとすれば、まずライ
ンメモリを複数個設ける。このラインメモリのうち1個
に原画像データを1ライン分記憶させる。そして原画像
データを読み出して上記補間処理を行いながら他のライ
ンメモリに補間データを記憶させる。以上の動作を書き
込み制御手段で行わせる。次に、この例ではデータが原
画像の4倍になっているので、読み出しの際にアップカ
ウンタ10bを4倍のステップでアップカウントし、乗算
器10cに与えられるアドレス値を000h、004h、008h・・
・というふうに出力するようにし、最大アドレス値発生
手段10dから発生される最大アドレス値を4倍にすれば
よい。
Assuming that the above operation is employed in this embodiment, first, a plurality of line memories are provided. The original image data for one line is stored in one of the line memories. Then, the original image data is read out, and the interpolation data is stored in another line memory while performing the above-described interpolation processing. The above operation is performed by the writing control means. Next, in this example, since the data is four times as large as the original image, the up counter 10b counts up in quadruple steps at the time of reading, and the address value given to the multiplier 10c is 000h, 004h, 008h.・ ・
The maximum address value generated by the maximum address value generation means 10d may be quadrupled.

このような補間処理をすると変倍率が大きい場合や小
さい場合でも滑らかな変倍画像が得られる。
By performing such interpolation processing, a smooth scaled image can be obtained even when the magnification is large or small.

この例では補間により2画素から4画素を作成した
が、2画素から3画素を作成するなど様々な種類の処理
が考えられる。
In this example, four pixels are created from two pixels by interpolation, but various types of processing such as creating three pixels from two pixels can be considered.

また本実施例では副走査駆動手段の基準速度を等倍時
の速度にしたが、実際には速度とトルクの関係から最小
縮小変倍時の速度を基準速度とするほうがよい。
Further, in this embodiment, the reference speed of the sub-scanning drive unit is set to the speed at the same magnification, but actually, the speed at the time of the minimum reduction / magnification is preferably set as the reference speed from the relationship between the speed and the torque.

以上説明したように本実施例ではラインメモリに書き
込み制御手段により順次アドレスを与えて1ライン分の
原画像データを一旦記憶し、その後読み出し制御手段に
よりあらかじめ変倍率設定手段に設定された変倍率に応
じたアドレスを与えて変倍画像データを読み出し主走査
方向の変倍をし、副走査駆動手段を変倍率に応じた速度
にPLL制御して副走査方向の変倍をすることにより、簡
単な構成で任意の変倍率の変倍画像を得ることができ
る。
As described above, in the present embodiment, the address is sequentially given to the line memory by the writing control means, the original image data for one line is temporarily stored, and then the read control means sets the original image data to the magnification set in advance in the magnification setting means. By giving a corresponding address to read out the scaled image data and performing scaling in the main scanning direction, and performing PLL control on the sub-scanning drive unit at a speed corresponding to the scaling ratio to perform scaling in the sub-scanning direction, it is simple. With the configuration, it is possible to obtain a scaled image of an arbitrary scale.

発明の効果 以上説明したように、本発明によればラインメモリに
書き込み制御手段により順次アドレスを与えて1ライン
分の原画像データを一旦記憶するとともにこのラインメ
モリから原画像データを読み出し、隣合う2つの画素か
ら内分法により3画素以上の画素データを作成して他の
ラインメモリにこの補間データを記憶する。その後読み
出し制御手段によりあらかじめ変倍率設定手段に設定さ
れた変倍率に応じたアドレスを与えて変倍画像データを
読み出し主走査方向の変倍をし、副走査駆動手段を変倍
率に応じた速度にPLL制御して副走査方向の変倍をする
ことにより、簡単な構成で任意の変倍率の変倍画像を得
ることができるとともに、変倍率が大きい場合や小さい
場合でも滑らかな変倍画像を得ることができるので実用
的効果は大きい。
As described above, according to the present invention, according to the present invention, an address is sequentially given to the line memory by the write control means to temporarily store the original image data for one line, read the original image data from the line memory, and read the adjacent image data. Pixel data of three or more pixels is created from the two pixels by the internal division method, and this interpolated data is stored in another line memory. Thereafter, the read control means gives an address corresponding to the magnification set in advance to the magnification setting means, reads out the scaled image data, performs magnification in the main scanning direction, and sets the sub-scanning driving means to a speed corresponding to the magnification. By controlling the PLL to change the magnification in the sub-scanning direction, it is possible to obtain a magnified image with an arbitrary magnification with a simple configuration and obtain a smooth magnified image even when the magnification is large or small. The practical effect is great.

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

第1図は本発明の一実施例における原稿読み取り装置の
ブロック図、第2図は同装置の動作を説明するタイミン
グ図、第3図は同装置における変倍の動作を詳しく説明
するラインメモリの内部状態を示す図、第4図は主走査
方向の補間処理を説明する線図である。 1……原稿、2……光学系ユニット、3……A/D変換
器、4……第1の切替え手段、5……ラインメモリ、6
……出力装置、7……第2の切替え手段、8……書き込
み制御手段、9……変倍率設定手段、10……読み出し制
御手段、11……副走査駆動制御手段、12……副走査駆動
手段。
FIG. 1 is a block diagram of a document reading apparatus according to an embodiment of the present invention, FIG. 2 is a timing chart for explaining the operation of the apparatus, and FIG. FIG. 4 is a diagram illustrating an internal state, and FIG. 4 is a diagram illustrating an interpolation process in the main scanning direction. 1 original, 2 optical unit, 3 A / D converter, 4 first switching means, 5 line memory, 6
... output device, 7 ... second switching means, 8 ... write control means, 9 ... magnification setting means, 10 ... read control means, 11 ... sub-scanning drive control means, 12 ... sub-scanning Drive means.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭57−11570(JP,A) 特開 平1−154670(JP,A) 特開 昭58−204666(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06T 1/00 G06T 3/40 H04N 1/04──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-57-11570 (JP, A) JP-A-1-154670 (JP, A) JP-A-58-204666 (JP, A) (58) Investigation Field (Int.Cl. 6 , DB name) G06T 1/00 G06T 3/40 H04N 1/04

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】原稿を光電的に読み取る光電変換素子と、
この光電変換素子と原稿とを相対的に移動させる副走査
駆動手段と、前記光電変換素子の出力をA/D変換するA/D
変換器と、このA/D変換器の原画像データを1ライン分
以上記憶する複数のラインメモリと、任意の変倍率を設
定する変倍率設定手段と、前記複数のラインメモリのう
ちの1ラインメモリへの原画像データの書き込み動作、
及びこの原画像データが書き込まれたラインメモリから
原画像データを読み出して隣合う2つの画素から内分法
により3画素以上の画素データを作成して他のラインメ
モリにこの補間データを書き込む動作を制御する書き込
み制御手段と、前記変倍率設定手段により設定された変
倍率に応じて前記副走査駆動手段を制御する副走査駆動
制御手段とを備えたことを特徴とする原稿読み取り装
置。
A photoelectric conversion element for photoelectrically reading a document;
Sub-scanning driving means for relatively moving the photoelectric conversion element and the original, and A / D for A / D converting the output of the photoelectric conversion element
A converter, a plurality of line memories for storing one or more lines of original image data of the A / D converter, a scaling ratio setting means for setting an arbitrary scaling ratio, and one line of the plurality of line memories Operation of writing original image data to memory,
An operation of reading the original image data from the line memory in which the original image data is written, creating pixel data of three or more pixels from two adjacent pixels by the internal division method, and writing the interpolation data to another line memory. A document reading apparatus comprising: a writing control unit for controlling; and a sub-scanning drive control unit for controlling the sub-scanning drive unit in accordance with a scaling ratio set by the scaling ratio setting unit.
JP63020498A 1988-01-29 1988-01-29 Document reading device Expired - Fee Related JP2860985B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63020498A JP2860985B2 (en) 1988-01-29 1988-01-29 Document reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63020498A JP2860985B2 (en) 1988-01-29 1988-01-29 Document reading device

Publications (2)

Publication Number Publication Date
JPH01195582A JPH01195582A (en) 1989-08-07
JP2860985B2 true JP2860985B2 (en) 1999-02-24

Family

ID=12028826

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63020498A Expired - Fee Related JP2860985B2 (en) 1988-01-29 1988-01-29 Document reading device

Country Status (1)

Country Link
JP (1) JP2860985B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR950006033B1 (en) * 1992-04-30 1995-06-07 삼성전자주식회사 Picture magnitude changing method and device
JP2000177188A (en) 1998-12-17 2000-06-27 Brother Ind Ltd Duplicator and memory medium
JP2006279335A (en) * 2005-03-28 2006-10-12 Fuji Xerox Co Ltd Image reading apparatus and its control method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01154670A (en) * 1987-12-11 1989-06-16 Canon Inc Variable power system for picture

Also Published As

Publication number Publication date
JPH01195582A (en) 1989-08-07

Similar Documents

Publication Publication Date Title
EP0198269B1 (en) Method and apparatus for interpolating image signals
JPS6361381A (en) Image processor
KR930022822A (en) Image magnification conversion method and apparatus
JP2906791B2 (en) Image processing device
US6490057B1 (en) Image processing apparatus and image processing method, and storage media thereof
JP2860985B2 (en) Document reading device
JP2935505B2 (en) Image processing apparatus and method
JP2582058B2 (en) Image data scaling controller
JP3005823B2 (en) Image reading processing device
JP3032914B2 (en) Image reading processing device
JP2744292B2 (en) Image processing device
JP3009088B2 (en) Scan format converter
JPS61198872A (en) Picture input device
JPH11272858A (en) Resolution converting device
JP2000137803A (en) Interface device and image forming device
JPH11252457A (en) Special effects waveform generating device
JPH0865467A (en) Image scanner
JPH08125846A (en) Image processor
JPH05183735A (en) Method and device for picture conversion
JPH09331445A (en) Image processor
JPH09270893A (en) Image reader
JPH06268850A (en) Picture conversion circuit
JPH06339010A (en) Picture processor
JPH06333031A (en) Image processor
JP2002044421A (en) Image reader and its control method and image processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees