JPS62257277A - Variable power processor for image data - Google Patents

Variable power processor for image data

Info

Publication number
JPS62257277A
JPS62257277A JP61101721A JP10172186A JPS62257277A JP S62257277 A JPS62257277 A JP S62257277A JP 61101721 A JP61101721 A JP 61101721A JP 10172186 A JP10172186 A JP 10172186A JP S62257277 A JPS62257277 A JP S62257277A
Authority
JP
Japan
Prior art keywords
image data
data
magnification
original image
scanning direction
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.)
Granted
Application number
JP61101721A
Other languages
Japanese (ja)
Other versions
JP2789560B2 (en
Inventor
Kouichi Kamon
宏一 賀門
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP61101721A priority Critical patent/JP2789560B2/en
Priority to US07/044,420 priority patent/US4827433A/en
Publication of JPS62257277A publication Critical patent/JPS62257277A/en
Application granted granted Critical
Publication of JP2789560B2 publication Critical patent/JP2789560B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PURPOSE:To reduce the deterioration of a picture due to variable power processing by excuting the MTF correcction operation in the main scanning direction corresponding to the designated magnification in the main scanning direction and that in the main scanning direction corresponding to the designated magnification in the subscanning direction indepnedently each other. CONSTITUTION:An original image data read by a scanner SCR is applied with a variable power processing and MTF-correction in the main scanning idrection X by a variable power processor consisting of a latch 25, a data distributor 26, RAMs 1 and 2, a data selector 27, a main scanning direction variable power calculator 28, a microprocessor 35, a RAM 3 and sampling circuits 64 and 65 through a shading corrcetion circuit 24. Thereafter the original image data is applied with a variable power processing and MTF-correction in the subscanning direction Y by a subscanning variable power computing element 29. For the MTF correction, correction coefficients corresponding to magnificatione are set beforehand, and the MTF correction is applied by specify ing one of the coefficient with the magnifications. A variable power image data goes through a binarization circuit 30 or a gradation processor 31 and is ouputted to a printer PRT.

Description

【発明の詳細な説明】 ■技術分野 本発明は、ディジタルコピア、ファクシミリあるいはそ
の他の画像処理装置等に用いる画像データの変倍処理装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to an image data scaling processing device used in a digital copier, facsimile, or other image processing device.

■従来技術 第8図に、従来の画像読み取り装置の1つの外観を示す
。この画像読み取り装置は、複写機の上部を切り取った
様な形状である。コンタクトガラス2上に原稿が載せら
れ、これが原稿圧板3で押えられる。操作部4には、読
み取りスタートボタン、濃度選択キー等、数種のキーと
設定状態や動作状態等を表示する数種のディスプレイが
備わっており1種々の機能の設定ができるようになって
いる。
■Prior Art FIG. 8 shows the appearance of one of the conventional image reading devices. This image reading device has a shape similar to that of a copying machine with the top section cut off. A document is placed on a contact glass 2 and pressed by a document pressing plate 3. The operation unit 4 is equipped with several types of keys, such as a reading start button and a density selection key, and several types of displays that display setting statuses, operating statuses, etc., so that settings for various functions can be made. .

スタートボタンを押すことによって読み取りを開始し1
画像信号を得ることができる。
Start reading by pressing the start button 1
An image signal can be obtained.

第9図および第10図に、第8図に示す画像読み取り装
置の代表的な構成の、特に読み取り光学系を示し、第9
図は密着型イメージセンサを使用した場合の光学系を、
第1O図は縮少型イメージセンサを使用した場合の光学
系を示す、なお、この他にも原稿が移動して光学系が固
定のものがある。
9 and 10 show a typical configuration of the image reading device shown in FIG. 8, particularly the reading optical system, and FIG.
The figure shows the optical system when using a contact image sensor.
FIG. 1O shows an optical system when a reduced image sensor is used. In addition, there are other systems in which the document moves and the optical system is fixed.

第9図に示すような密着型イメージセンサを用いる場合
、光学系は等倍光学系となる。蛍光灯5によってコンタ
クトガラス2上の原稿面が照射され、その反射光8が、
セルホックレンズ6を通ってイメージセンサ7に入る。
When using a contact type image sensor as shown in FIG. 9, the optical system becomes a same-magnification optical system. The document surface on the contact glass 2 is illuminated by the fluorescent lamp 5, and the reflected light 8 is
It passes through the self-hock lens 6 and enters the image sensor 7.

イメージセンサ7は、原稿幅(第9図では奥行き方向、
すなわち主走査方向X)と同じ又はその以上の幅を持ち
幅方向1ラインの画像データが一度に読み取られる。
The image sensor 7 detects the document width (in the depth direction in FIG. 9,
That is, one line of image data in the width direction having a width equal to or larger than the main scanning direction (X) is read at one time.

lラインのサンプリング数およびサンプリングピッチP
スは、イメージセンサの画素数によって決まる。lライ
ンのデータを読み終わると、蛍光灯5、セルホックレン
ズ6、イメージセンサ7を一体とするキャリッジ9が矢
印(副走査方向Y)の方向に駆動され、次のラインが読
まれる。なお、副走査方向Yに連続してキャリッジ9を
駆動する態様もある。ライン間のピッチpyは、キャリ
ッジ9の速度、センサー7の電荷蓄積時間等によって決
るが1通常は、前述のサンプリングピッチpyと同じに
設定される。
Number of sampling lines and sampling pitch P
The number of pixels in the image sensor determines the number of pixels. After reading the data for one line, the carriage 9, which includes the fluorescent lamp 5, self-hook lens 6, and image sensor 7, is driven in the direction of the arrow (sub-scanning direction Y), and the next line is read. Note that there is also a mode in which the carriage 9 is continuously driven in the sub-scanning direction Y. The pitch py between the lines is determined by the speed of the carriage 9, the charge accumulation time of the sensor 7, etc.1, but is usually set to be the same as the sampling pitch py described above.

第1O図に示すように縮少型イメージセンサを用いる場
合は、レンズ14によって、光学像の原稿幅がイメージ
センサのサイズに合うように、縮少される。第10図で
はミラー3枚使用しているが、2枚構成あるいは5枚構
成なども考えられる。
When a reduced type image sensor is used as shown in FIG. 1O, the document width of the optical image is reduced by the lens 14 so that it matches the size of the image sensor. Although three mirrors are used in FIG. 10, a two-mirror configuration or a five-mirror configuration may also be considered.

主走査方向Xの読み取りに関しては、密着型センサーを
使用したときと、同じである。 l1lll走査方向Y
には、蛍光灯10と第1ミラー11を一体にした第1キ
ヤリツジと、ミラー12および13を一体とする第2キ
ヤリツジとが各々独立して、コンタクトガラス板2上の
原稿からレンズ14までの光路長が一定となるように駆
動される。
Reading in the main scanning direction X is the same as when using a contact type sensor. l1llll scanning direction Y
In this case, a first carriage in which the fluorescent lamp 10 and the first mirror 11 are integrated, and a second carriage in which the mirrors 12 and 13 are integrated, each independently move the document from the contact glass plate 2 to the lens 14. It is driven so that the optical path length is constant.

ここで、従来の変倍方式は、主走査方向Xに関しては、
光学系の光路長を変えて縮少率を変化させることにより
行ない、I!1走査走査方向間しては、移動体の速度を
変化させることで行なっていた。
Here, in the conventional variable magnification method, in the main scanning direction
This is done by changing the optical path length of the optical system to change the reduction ratio, and I! One scan is performed by changing the speed of the moving body in the scanning direction.

しかし、この方法は、第9図のような密着型のセンサー
を用いる場合採用できない。
However, this method cannot be adopted when using a contact type sensor as shown in FIG.

また、第1O図に示す縮少型センサーの場合でも、レン
ズ14やセンサー7の位数を変える移動量が大きい割に
変倍率があまり変わらないなど、変倍率の範囲が構造的
に制限されたり、また、レンズ14.センサー7の移動
精度および位置調整機構などに、精密な機構を用いなけ
ればならず。
In addition, even in the case of the reduced type sensor shown in Figure 1O, the range of magnification is structurally limited, such as the magnification does not change much despite the large amount of movement to change the order of the lens 14 and sensor 7. , and lens 14. A precise mechanism must be used for the movement accuracy and position adjustment mechanism of the sensor 7.

粗い機構では、読取画像が変形するなどの大きな問題が
あった。
The coarse mechanism had major problems such as deformation of the read image.

これらの従来の問題を考えて、最近では光学変倍の変わ
りに1等倍読み取りデータから、変倍後のデータを予1
ltq算出して変倍画像データを得る画像処理、いわゆ
る電気的変倍が使われるようになってきた。
Considering these conventional problems, recently, instead of optical magnification, data after magnification is pre-prepared from 1-1 magnification read data.
Image processing that calculates ltq and obtains variable-magnification image data, so-called electrical variable magnification, has come to be used.

しかし、現在提案されている電気的変倍は、変倍の精度
に問題があったり、精度よく変倍すれば。
However, the currently proposed electrical variable magnification has problems with the accuracy of variable magnification, and it is difficult to achieve accurate variable magnification.

ハードウェアが複雑になり、1%きざみ等のいわゆるズ
ー11変倍や、広範囲の変倍率に対応することが壁かし
かったりする問題があった。
There was a problem that the hardware became complicated and it became difficult to support so-called "Zoo 11" variable magnification such as in 1% increments or a wide range of variable magnification ratios.

また1画像をスキャナで読むと、読取データで表わされ
る画像の空間周波数特性が変わり、画像が劣化する。そ
こで従来は、読取画像データを所要の段階で1下(Mo
dulation Transfer FuncF+i
on )補正(概略でボケ画像の修復)を行なう。これ
は例えば、第13a図に示すように係数パターン(フィ
ルタ)を定めて1例えば第13b図に示す注目画素デー
タ0ik(ここでは濃度を示すデータ)を。
Furthermore, when one image is read with a scanner, the spatial frequency characteristics of the image represented by the read data change, causing the image to deteriorate. Therefore, in the past, the read image data was lowered by 1 (Mo) at the required stage.
duration Transfer FuncF+i
on) Performs correction (roughly, restoration of blurred images). For example, a coefficient pattern (filter) is determined as shown in FIG. 13a, and target pixel data 0ik (here, data indicating density) is determined, for example, as shown in FIG. 13b.

Mik”■・Oi−1k+V・0ik−1+W・Oik
+1 +Z・Oi、 1 k+X−oikなるデータM
ikに補正する。補正係数V−Z<フィルタ係数)は例
えば第14b図に示すような値とされる。これらの補正
係数は、原画像データの空間周波数特性(サンプリング
密度)に対応した適値があるので、通常、スキャナの原
画像サンプリング密度に対応した値に設定されている。
Mik"■・Oi-1k+V・0ik-1+W・Oik
+1 +Z・Oi, 1 k+X−oik data M
Correct to ik. The correction coefficient V-Z<filter coefficient) is set to a value as shown in FIG. 14b, for example. Since these correction coefficients have appropriate values corresponding to the spatial frequency characteristics (sampling density) of the original image data, they are usually set to values corresponding to the original image sampling density of the scanner.

したがって、変倍時の新サンプリング周波数(原画1象
対応での変倍画像データのサンプリンク密度)に対して
は、適正なMTF補正特性が異なるものとなり、補正係
数を変える必要がある。特に、後述の本願発明の実施例
のように、50〜400%の広範囲な変倍範囲に1等倍
時の補正係数(第14b図)をそのまま適用させるのは
むつかしい。
Therefore, the appropriate MTF correction characteristic will be different for a new sampling frequency at the time of scaling (the sampling link density of the scaling image data corresponding to one image of the original image), and it is necessary to change the correction coefficient. In particular, it is difficult to apply the correction coefficient (FIG. 14b) at the same magnification to a wide range of magnification from 50 to 400% as in the embodiment of the present invention described later.

これを無視して、同じ補正係数(第14b図)で縮小倍
率や拡大倍率でMTF補正を行なうと、拡大時にMTF
補正による画像エッチの強調のしすぎで、画像の振!!
I+現象(縞模様)が起こる。また、主走査方向と副走
査方向で異った倍率で変倍するときには、各方向で最適
なM T F補正係数が異るため、一種のM T F補
正を行なうのみでは、適正なMTF補正値が得られない
If you ignore this and perform MTF correction at the reduction magnification or expansion magnification using the same correction coefficient (Figure 14b), the MTF will
Image blur due to over-emphasis of image etch due to correction! !
I+ phenomenon (striped pattern) occurs. Also, when changing magnification with different magnifications in the main scanning direction and sub-scanning direction, the optimal MTF correction coefficient is different for each direction, so it is not possible to obtain an appropriate MTF correction by only performing one type of MTF correction. I can't get the value.

■目的 本発明は、比較的に高い精度、比較的に微細な変倍率お
よび比較的に広範囲の変倍率で、画像データを変倍し、
かつMTF補正の不適合を防止することを目的とし、更
に、主走査方向と副走査方向の変倍率が異る場合でも適
正なMTF補正を施すことを目的とする。
■Purpose The present invention scales image data with relatively high precision, a relatively fine scaling ratio, and a relatively wide range of scaling ratios,
It is also an object of the present invention to prevent incompatibility of MTF correction, and further to perform appropriate MTF correction even when the magnification ratios in the main scanning direction and the sub-scanning direction are different.

まず本願発明の後述の実施例で実行する変倍の基本思想
を説明する。
First, the basic idea of variable magnification executed in the later-described embodiments of the present invention will be explained.

たとえば、第9図あるいは第10図に示す画像読取′A
A置で得る画像データ(以下、原画像データという)は
、主走査方向Xの画素数をNとし、副走査方向Yの画素
数をMとすると、画像データの原画像対応の分布は、第
11図のように考えることができる。第11図で主走査
方向にR%の倍率で変倍すると[N X R/ 100
1個の新データ(以下変倍画像データという)ができる
ことになる。
For example, image reading 'A' shown in FIG. 9 or FIG.
For the image data obtained at position A (hereinafter referred to as original image data), if the number of pixels in the main scanning direction It can be thought of as shown in Figure 11. In Fig. 11, when the magnification is changed in the main scanning direction at a magnification of R%, [N x R/100
One piece of new data (hereinafter referred to as variable-magnification image data) is created.

ここで、代表的な変倍アルゴリズム3つの方法について
述べておく。ここでは、電気変倍は主走査方向のみとし
ているため、以下の説明もそれにやする。
Here, three typical scaling algorithm methods will be described. Here, since the electric magnification is changed only in the main scanning direction, the following explanation will also be made in that direction.

まず、どの方式でも変倍後の新すンプリング煮立の位置
を認識し、新サンプリング点−9−の周囲数画素の旧サ
ンプリング点の原画像データ及びそれらの距離を求める
必要がある。
First, in any method, it is necessary to recognize the position of the new sampling point after scaling, and to obtain the original image data of the old sampling points of several pixels surrounding the new sampling point -9- and their distances.

第12図に示すように、新すンプリング煮立が原画像デ
ータのS1jとSij++との間にあり、それぞれと−
9−の距離がrl、r2であるとし、原画像データのサ
ンプリングピッチをPとする。
As shown in FIG. 12, the new spring boiling point is between S1j and Sij++ of the original image data, and -
9- is assumed to be rl and r2, and the sampling pitch of the original image data is assumed to be P.

■最近接画素置換法 立点の変倍画像データとして、主に最も近い位置の原画
像データを設定する方法であり、第12図で 「l≦r2 ならば 0ik=Sij rl)r2  ならば Oik = S ij+ 1と
いうようにおきかえる方法である。すなわち。
■Nearest pixel replacement method This is a method that mainly sets the original image data at the closest position as the scaled image data of the vertical point. = S ij + 1. That is.

変倍画像のサンプリング点−9−に最も近い原画像のサ
ンプリング点の画像データを、該点−9−の変倍画像デ
ータOikとする。Oikは、ここでは濃度を示すデー
タである。
The image data of the sampling point of the original image closest to the sampling point -9- of the scaled image is set as the scaled image data Oik of the point -9-. Oik here is data indicating concentration.

■近接画素間距雛線形配分法 立と原画像データの隣接画素間の距離に応じて濃度レベ
ルを配分する方法である。第12図で変倍画像データO
ikは、 0ik=(1−r 1 /P)Sij+(1−r2 /
P)Sij+ t ”(1)より求める。
(2) Adjacent Pixel Distance Linear Allocation Method This is a method of allocating density levels according to the distance between adjacent pixels of original image data. In Figure 12, the variable magnification image data O
ik is 0ik=(1-r1/P)Sij+(1-r2/
P) Sij+t'' (1).

03次関数コンボリューション法 第5図に示すような補間関数h(γ)によって、補間計
算を行なう。
03-order function convolution method Interpolation calculations are performed using an interpolation function h(γ) as shown in FIG.

h(γ)は、サンプリングピッチPで呪格化されたγに
対して下式のように近似される。
h(γ) is approximated as shown in the following formula for γ which is cursed at sampling pitch P.

1−21γ12+1γビ   O≦1γ1≦1h(γ)
=/l−81γl”+51γ12−1γ13   l≦
1γ1≦202≦1γ1 ・・・(2) このh(γ)を使って変倍画像データO1jは、0ik
= (h(1+r+ /P)Sij−1+h(rt /
P)Sij+h(r2/I’)Sij+ + +h(1
+r2/P)Sij+2)/(h(1+rt /P)+
h(r+ /P)+h(r2/P)+h(1+r2/P
)〕      ”・(3>上記■、■、■の他にも、
近接画素距離反比例法、近接画素面積配分法などの方法
があるが比較的■に類似しているのでここでは、上記■
、■。
1-21γ12+1γbi O≦1γ1≦1h(γ)
=/l-81γl”+51γ12-1γ13 l≦
1γ1≦202≦1γ1 (2) Using this h(γ), the variable-magnification image data O1j is 0ik
= (h(1+r+ /P)Sij-1+h(rt/
P) Sij+h(r2/I')Sij+ + +h(1
+r2/P)Sij+2)/(h(1+rt/P)+
h(r+ /P)+h(r2/P)+h(1+r2/P
)] ”・(3>In addition to the above ■, ■, ■,
There are methods such as the adjacent pixel distance inverse proportion method and the adjacent pixel area allocation method, but since they are relatively similar to ■, here we will use the method described above.
,■.

■を代表例と考える。Consider ■ as a representative example.

これらの方法はすべて比較的古くから知られており、主
にコンピュータ画像処理分野で実用化されていた。
All of these methods have been known for a relatively long time and were mainly put into practical use in the field of computer image processing.

コンピュータ画像処理など、画像データを一担頁メモリ
等の高容量メモリに格納した後変倍処理するような場合
はこれらの方法は、H単に利用できるが1頁メモリを持
たず専用のハードウェアでこれらの処理を行なうには、
種々制限がでてくる。
In cases such as computer image processing, where image data is stored in a high-capacity memory such as a single-page memory and then subjected to scaling processing, these methods can be used simply, but they do not have a single-page memory and require dedicated hardware. To perform these operations,
There are various restrictions.

ディジタルコピアや、ファクシミリ等で読み取り時に変
倍を行なう場合は、ラスター走査(ライン単位)で入力
されたデータを変倍処理後もラスター走査(ライン単位
)で行なう必要があり、また、データクロック(画素同
期パルス)は、どんな倍率でも一定である必要がある。
When scaling is performed when reading with a digital copier, facsimile, etc., it is necessary to perform raster scanning (line by line) on data input in raster scanning (line by line) even after scaling processing. pixel synchronization pulse) must be constant at any magnification.

〜 つまり、変倍処理後のデータは、光学的な変倍を行
なったのと同じ形式、同じスピードでなくてはならない
、すなわちリアルタイム処理を要する。
~ In other words, the data after the scaling process must be in the same format and at the same speed as the optical scaling process, that is, real-time processing is required.

このことは、デジタルコピアシステム、あるいはファク
シミリシステム全体として、変倍を考えられる場合は、
異ってくる。
This means that if variable magnification is considered for the digital copier system or facsimile system as a whole,
It's going to be different.

たとえば、プリンターの印字速度を変倍時変えることが
できたら、変倍後のデータクロックも変えることができ
る。また、伝送を行なうようなシステムでは、変倍後の
ラスタ走査データでなくてもよい。
For example, if you can change the printing speed of a printer when changing the size, you can also change the data clock after changing the size. Furthermore, in a system that performs transmission, the raster scan data does not need to be after scaling.

しかし、読み取り装置として、あるいは変倍処理を独立
させて変倍を考える場合は、前記のような、ラスター走
査処理の制限がつく。
However, when considering scaling as a reading device or as an independent scaling process, the raster scanning processing is limited as described above.

以後に説明する本発明の実施例は、これらの制限を受け
る読み取り装置に適用可能な変倍装置である。
The embodiments of the present invention described below are magnification changers applicable to reading devices subject to these limitations.

第6図および第7図は、この制限を満たす変倍前データ
及び変倍後データのタイムチャートの例である。これら
において、LS’/NCは、水平周期信号(ライン同期
パルス:副走査同期パルス)で、この信号1周期の間に
主走査方向1ラインの画像データを読み取る。DCLK
は、データクロック(画素同期パルス)である。第6図
に示すタイミングで、変倍前データ(画素単位)Yが、
LSI/NCの周期内に、5i(1”SiNまで、 D
CLKに同期して変倍処理部に入力されるとする。
FIGS. 6 and 7 are examples of time charts of data before scaling and data after scaling that satisfy this restriction. In these, LS'/NC is a horizontal periodic signal (line synchronization pulse: sub-scanning synchronization pulse), and one line of image data in the main scanning direction is read during one period of this signal. DCLK
is a data clock (pixel synchronization pulse). At the timing shown in FIG. 6, the pre-scaling data (in pixel units) Y is
Within the cycle of LSI/NC, up to 5i (1”SiN, D
It is assumed that the image is input to the scaling processing section in synchronization with CLK.

その結果、変倍処理されたデータZが出力されるが出力
は、データYより遅れてもよいが、必ず[)CLKに同
期しなくてはならない。また、遅れ時間(t2−tl)
は、特に制限はないが、ライン間で変化してはならず、
t2及びtlは常に一定でなければならない。
As a result, the scaled data Z is output, and although the output may be delayed from the data Y, it must always be synchronized with [) CLK. Also, the delay time (t2-tl)
is not particularly restricted, but must not change between lines,
t2 and tl must always remain constant.

また、ライン単位でのデータの入出力においても、第7
図のように、ラインバッファメモリRAMI、RAM2
読出しデータ(入力)は書込データ(出力)より遅れて
もかまわない。
Also, when inputting and outputting data in line units, the seventh
As shown in the figure, line buffer memories RAMI, RAM2
Read data (input) may lag behind write data (output).

とにかく、最も重要で、最も困難なことは、どんな倍率
でも、変倍画像データをDCLKに同期させることであ
る。
Anyway, the most important and most difficult thing is to synchronize the scaled image data to DCLK at any scale.

数種類の固定倍率での変倍ならば、このような要求を比
較的容易に実現しやすいが、特に最近の複写システ11
等では、広範囲の変倍率、そして、ズーム変倍といわれ
る1%程度の小きざみな倍率変動が要求されており、デ
ジタルコピアやファクシミリ等でもこれらの要求に答え
る必要がでてきた。したがって、先に挙げた変倍方法を
実際に適用する上で、前求の要求を満すのがむづかしく
なっている。
Such a request can be achieved relatively easily if the magnification is variable with several types of fixed magnification, but especially with recent copying systems11
etc., a wide range of magnification is required, as well as small magnification changes of about 1% called zoom magnification, and it has become necessary for digital copiers, facsimiles, etc. to meet these demands. Therefore, in actually applying the above-mentioned magnification changing method, it is difficult to satisfy the above requirements.

■構成 本発明の変倍処理装置は、主走査方向の指定倍率Rxに
対応した。変倍画像データ作成のための原画像データサ
ンプリング位置情報を演算する第1演算手段; 副走査
方向の指定倍率Ryに対応した。変倍画像データ作成の
ための原画像データサンプリング位置情報を演算する第
2演算手段: 第1演算手段が演算した原画像データサ
ンプリング位置情報に基づいて原画像データのサンプリ
ング指定位置!xを指定する第1サンプリング位置指定
手段; 第2演算手段が演算した原画像データサンプリ
ング位置情報に基づいて原画像データのサンプリング指
定位!rlyを指定する第2サンプリング位置指定手段
; 前記指定位置Xの原画像データを摘出する第1サン
プリング手段; 前記指定位置yの原画像データを摘出
する第2サンプリング手段; 第1サンプリング手段が
摘出した原画像データに対応した変倍画像データを定め
る第1変倍画像データ設定手段; 第2サンプリング手
段が摘出した原画像データに対応した変倍画像データを
定める第2変倍画像データ設定手段; 指定倍率RXの
設定範囲に対応付けた主走査方向MTF補正演算データ
を有しこれに基づいて主走査方向の変倍後又は変倍前の
画像データをMTF補正する、主走査方向MTF補正手
段;および、指定倍率Ryの設定範囲に対応付けた主走
査方向MTF補正演算データを有しこれに基づいて副走
査方向の変倍後又は変倍前の画像データをMTF補正す
る。副走査方向MTF補正手段;を備える。
(2) Configuration The variable magnification processing device of the present invention is compatible with a specified magnification Rx in the main scanning direction. A first calculation means for calculating original image data sampling position information for creating variable-magnification image data; corresponds to a specified magnification Ry in the sub-scanning direction. A second calculation means for calculating original image data sampling position information for creating variable-magnification image data: A designated sampling position of the original image data based on the original image data sampling position information calculated by the first calculation means! First sampling position specifying means for specifying x; Sampling specified position of the original image data based on the original image data sampling position information calculated by the second calculation means! a second sampling position specifying means for specifying rly; a first sampling means for extracting the original image data at the specified position X; a second sampling means for extracting the original image data at the specified position y; First variable scale image data setting means for determining variable scale image data corresponding to the original image data; Second variable scale image data setting means for determining variable scale image data corresponding to the original image data extracted by the second sampling means; A main scanning direction MTF correction means that has main scanning direction MTF correction calculation data associated with a setting range of magnification RX and performs MTF correction on image data after or before scaling in the main scanning direction based on the data; , has main-scanning direction MTF correction calculation data associated with the setting range of the specified magnification Ry, and performs MTF correction on the image data after or before scaling in the sub-scanning direction based on this data. A sub-scanning direction MTF correction means is provided.

これによれば、主走査方向の指定倍率Rxに応じた主走
査方向のMTF補正演算と、副走査方向の指定倍*Ry
に応じた主走査方向のMTF補正演算とが、独立に行な
われるので、変倍処理による画像劣化が低減し、しかも
、主、副走査の変倍率を異ったものに設定しても、画像
劣化が低減する。
According to this, the MTF correction calculation in the main scanning direction according to the designated magnification Rx in the main scanning direction and the designated magnification *Ry in the sub-scanning direction are performed.
Since the MTF correction calculation in the main scanning direction according to the Deterioration is reduced.

本発明の実施例では、上記の通りリアルタイム処理を実
行するために、第1演算手段で、1001/(指定倍率
Rx(%)〕=Ji+Ri、iは整数。
In the embodiment of the present invention, in order to execute real-time processing as described above, the first calculation means calculates 1001/(designated magnification Rx (%))=Ji+Ri, where i is an integer.

0≦Ri(1,Jiは整数、なる整数Jiおよび小数R
iを演算し;第1サンプリング位匝指定手段で。
0≦Ri (1, Ji is an integer, the integer Ji and the decimal R
i is calculated by the first sampling position designation means.

原画像データの画素単位を定めるデータクロックに同期
してiを1づつ変更すると共に、 R<100の場合は
、Ji−Ji−1=2で原画像データのサンプリング指
定位置xを2大きい数に、Ji−Ji−1=1で前記指
定位置Xを1大きい数に指定し、R≧100の場合は、
 Ji  Ji−1=1で位fllxを1大きい数に、
JiJi−1=0で位置Xをそのままの数に指定し:第
1サンプリング手段で、前記データクロックをカウント
して、前記指定位置xの原画像データとそれに隣接する
1以上の画像データを摘出し;第1変倍画像データ設定
手段で、前記データクロックに同期して、Ri、前記指
定位置xの原画像データおよびそれに隣接する1以上の
原画像データの3者の相関で位置iの変倍画像データを
定める。
Change i by 1 in synchronization with the data clock that determines the pixel unit of the original image data, and if R<100, set the specified sampling position x of the original image data to a number larger by 2 with Ji-Ji-1=2. , Ji-Ji-1=1 specifies the specified position X as a number larger by 1, and if R≧100,
Ji Ji-1 = 1, and the place fllx is increased by 1,
With JiJi-1=0, position a first variable-magnification image data setting means, in synchronization with the data clock, variable-magnification of the position i based on the correlation between Ri, the original image data of the designated position x, and one or more original image data adjacent thereto; Define image data.

これによれば、上記第1演算手段と第1サンプリング位
置指定手段で、主走査方向の変倍パーセン1%RXに対
応したピッチで原画像データのサンプリング位Hzが指
定され、上記第1サンプリング手段が数位1i1xとそ
れに隣接する位置の原画像データを摘出し、第1変倍画
像データ設定手段が、所定のロジック、例えば前記■、
■、■等の処理、で変倍画像データを設定する。上記第
1サンプリング位置指定手段、第1サンプリング手段お
よび第1変倍画像データ設定手段はすべて、原画像デー
タのデータクロックDCLKに同期して動作するので、
変倍画像データは該データクロックDCLKに同期した
ものである。すなわちリアルタイム処理で変倍画像デー
タが得られる。したがって、ラスク−走査形で変倍画像
データを処理し得る。
According to this, the first calculating means and the first sampling position specifying means specify the sampling position Hz of the original image data at a pitch corresponding to the zooming percentage of 1% RX in the main scanning direction, and the first sampling means extracts the original image data at the number position 1i1x and the position adjacent thereto, and the first variable scale image data setting means executes a predetermined logic, for example, the above-mentioned
Set variable-magnification image data using processes such as ① and ②. The first sampling position designating means, the first sampling means, and the first scaling image data setting means all operate in synchronization with the data clock DCLK of the original image data.
The variable-magnification image data is synchronized with the data clock DCLK. That is, variable-magnification image data can be obtained through real-time processing. Therefore, scaled image data can be processed in a rask-scan manner.

上記第1演算手段は、データクロックDCLKが1パル
ス現われる毎に、iを1大きい数にしてJiおよびRi
を演算してもよいし、また、実際の画像読取の前に、i
=0〜Rx−1のそれぞれの、JiおよびR1を予め演
算しておき、これらのデータをRAM3などのメモリに
格納しておいて、データクロックDCLKに同期して、
順次に、iを1大きい数に変更して、その数に対応付け
られているJiおよびR1を読み出すようにしてもよい
、いずれにしても、JiおよびRiが、データクロック
DCLKに同期して順次に特定されることになる。
The first calculation means increases i by 1 every time one pulse of the data clock DCLK appears, and calculates Ji and Ri.
It is also possible to calculate i before the actual image reading.
Calculate Ji and R1 for each of =0 to Rx-1 in advance, store these data in a memory such as RAM3, and synchronize with the data clock DCLK.
Sequentially, i may be changed to a number larger by 1 and Ji and R1 associated with that number may be read out. In any case, Ji and Ri may be sequentially changed in synchronization with the data clock DCLK. will be specified.

前記第1演算手段で前記の通り、100i/(指定倍率
Rx (%)〕=Ji+RL  iは整数、0≦Ri 
< l 。
As described above, in the first calculation means, 100i/(designated magnification Rx (%))=Ji+RL i is an integer, 0≦Ri
<l.

Jiは整数、なる整数Jiおよび小数Ri、という形で
最大の整数Jiが演算され、このJiと先に演算した整
数JiであるJi−zに基づいて、前記第1サンプリン
グ位置指定手段により原画像データのサンプリング位I
E’f x (すなわちJi)が指定されるので、変倍
率Rx (%)は、1を最小単位とする任意の数および
範囲に設定し得る。すなわち、1%弔位のズーム変倍が
実現され、しかも変倍可能範囲を極く広く設定し得る。
Ji is an integer, and the maximum integer Ji is calculated in the form of an integer Ji and a decimal Ri, and based on this Ji and the previously calculated integer Ji, Ji-z, the first sampling position specifying means selects the original image. Data sampling position I
Since E'f x (ie, Ji) is specified, the scaling factor Rx (%) can be set to any number and range with 1 as the minimum unit. That is, a zoom magnification of 1% can be achieved, and the range of magnification can be set extremely wide.

なお、後述する本発明の実施例では、変倍率を1%単位
として、Rx=50%から400%を設定可能範囲とし
ている。
In the embodiment of the present invention to be described later, the settable range is from Rx=50% to 400%, where the magnification change ratio is set in units of 1%.

以上に説明した、主走査方向の処理要素と同様な処理論
理で、副走査方向のサンプリング位置情報を副走査方向
の変倍率指定値Ryに基づいて演算する第2演算手段、
サンプリング指定位置yを指定する第2サンプリング位
置指定手段、および。
a second calculation means that calculates sampling position information in the sub-scanning direction based on the specified magnification value Ry in the sub-scanning direction using the same processing logic as the processing element in the main-scanning direction described above;
second sampling position designating means for designating a designated sampling position y;

指定値tidyのデータを摘出する第2サンプリング手
段が備わっており、前述の主走査方向の処理の説明にお
けるデータクロックロCLKをラインクロックLSYN
Cと読み替えた形で、データを摘出する。
It is equipped with a second sampling means for extracting the data of the specified value tidy, and converts the data clock CLK in the explanation of the processing in the main scanning direction to the line clock LSYN.
Extract the data by replacing it with C.

本発明の一実施例では、lライン分の原画像データを格
納するメモリ手段;該メモリ手段を書込み/読出しに交
互に設定する手段:該メモリ手段に書込み/読み出し位
置X与えるアドレスカラン1へ手段:を備える。すなわ
ちラインバッファメモリを備える。
In one embodiment of the present invention, a memory means for storing l lines of original image data; a means for alternately setting the memory means for writing/reading; a means for giving an address number 1 to a writing/reading position X to the memory means; : Equipped with. That is, it includes a line buffer memory.

そして、第1サンプリング位置指定手段は、該メモリ手
段に書込みのときは、原画像データの画素単位を定める
データクロック1)CLKをカウントパルスとして該ア
ドレスカウント手段に与え、該メモリ手段より読み出し
のときはデータクロックDCLKの1パルス毎にiを1
大きい数にすると共に、Rx<100の場合は、Ji−
Ji−1=2ではデータクロックDCLKの2倍の周波
数のカウントパルス2DCLKを、Ji−Ji−1=1
でデータクロックDCLKを、カウントパルスとしてア
ドレスカウント手段に与え、Rx≧100の場合は、J
i−Ji−1=1でデータクロックDCLKをアドレス
カウント手段に与え、Ji−Ji−t =Oではアドレ
スカウント手段へのカウントパルスを遮断して、原画像
データの読出し位置Xを指定するものとする。第1演算
手段は、原画像の読取に先立って、100i/(指定倍
率Rx(%)〕= J i+ Ri、  i =0〜R
x−1゜0≦Ri < l t J xは整数、なる整
数Jiおよび小数Ri対応のX指定用のデータ(Ai)
および変倍画像データ演算用のデータ(Bi)を演算し
、 RAM3に格納するものとする。画像読取を開始す
ると、iをアドレスとしてRAM3よりデータを読み出
して、サンプリング位置指定手段と変倍画像データ設定
手段に与える。変倍画像データ設定手段は、先の通り、
前記データクロックDCLKに同期して、Ri(データ
Bi)、メモリ手段より読み出した指定位置xの原画像
データおよびそれに隣接する1以上の原画像データの3
者の相関で位r!1iの変倍画像データを定める変倍画
像データ設定手段とする。
The first sampling position specifying means applies a data clock 1) CLK that defines the pixel unit of the original image data to the address counting means when writing to the memory means, and when reading from the memory means. changes i by 1 for every pulse of data clock DCLK.
In addition to using a large number, if Rx<100, Ji-
When Ji-1=2, the count pulse 2DCLK with twice the frequency of the data clock DCLK is set to Ji-Ji-1=1.
, the data clock DCLK is applied to the address counting means as a count pulse, and if Rx≧100, J
When i-Ji-1 = 1, the data clock DCLK is applied to the address counting means, and when Ji-Ji-t = O, the count pulse to the address counting means is cut off to designate the read position X of the original image data. do. Prior to reading the original image, the first calculation means calculates 100i/(specified magnification Rx (%)) = J i + Ri, i = 0 to R
x-1゜0≦Ri < l t J x is an integer, data for specifying X corresponding to integer Ji and decimal Ri (Ai)
and data (Bi) for calculating the variable magnification image data and store them in the RAM3. When image reading is started, data is read from the RAM 3 using i as an address, and is provided to the sampling position designating means and the variable-magnification image data setting means. The variable magnification image data setting means is as described above.
In synchronization with the data clock DCLK, Ri (data Bi), 3 of the original image data at the designated position x read out from the memory means and one or more original image data adjacent thereto;
The correlation between people is r! This is assumed to be variable-magnification image data setting means for determining variable-magnification image data of 1i.

すなわちこの実施例では、1ラインの原画像データをバ
ッファメモリに格納し、その読出しアドレスをコントロ
ールして原画像データの読出しサンプリングを行って、
変倍画像データを得る。縮少時の画像データの読出しア
ドレスの変更量、すなわち変倍率に対応した原画像デー
タの読出しピッチは、バッファメモリの読出しアドレス
カウンタに与えるカウントクロックを、データクロック
DCLKと、それの2倍の周波数のクロック2DCLK
と切換えることにより行なう。
That is, in this embodiment, one line of original image data is stored in a buffer memory, and the reading address of the original image data is controlled to read and sample the original image data.
Obtain variable-magnification image data. The amount of change in the read address of the image data during reduction, that is, the read pitch of the original image data corresponding to the scaling factor, is determined by changing the count clock given to the read address counter of the buffer memory to the data clock DCLK and a frequency twice that of the data clock DCLK. clock 2DCLK
This is done by switching.

本発明のもう1つの実施例では、前述の実施例と同様に
ラインバッファメモリを備えるが、その読出し71〜レ
スは、アドレスカウント手段;アップダウンカウント手
段;およびアドレスカウント手段のカウントデータとア
ンプダウンカウント手段のカウンI−データの和をライ
ンバッファメモリにアドレスデータとして与える加算手
段;で設定する。
In another embodiment of the present invention, a line buffer memory is provided as in the previous embodiment, but the readout 71-res is performed by address counting means; up/down counting means; and count data of the address counting means and amplifier down. A count I of the counting means is set by an addition means for supplying the sum of the data to the line buffer memory as address data.

そしてサンプリング位置指定手段は、該メモリ手段に書
込みのときは、原画像データの画素単位を定めるデータ
クロックDCLKをカラン1〜パルスとして該アドレス
カウント手段に与え、該メモリ手段より読み出しのとき
は、Rx<100の場合は、アップダウンカウント手段
にアップ指示してアドレスカウント手段にデータクロッ
クDCLKをカウントパルスとして与え、かつJi−J
i−1=2ではアップダウンカウント手段にもデータク
ロックDCLKを与えJi−Ji−1=lではアップダ
ウンカウント手段にはカラン1−パルスを与えず、Rx
≧100の場合は、アップダウンカウント手段をダウン
指示してアドレスカウント手段にデータクロックDCL
Kを与え、かつ、Ji−Ji−1=1でデータクロック
DCLKをアップダウンカウント手段には与えず。
The sampling position specifying means supplies the data clock DCLK, which determines the pixel unit of the original image data, to the address counting means as a pulse from 1 to Rx when writing to the memory means, and when reading from the memory means, it supplies the data clock DCLK that determines the pixel unit of the original image data to the address counting means. If <100, the up/down count means is instructed to up, the data clock DCLK is given as a count pulse to the address count means, and the Ji-J
When i-1=2, the data clock DCLK is also applied to the up-down counting means, and when Ji-Ji-1=l, no clock pulse is applied to the up-down counting means, and Rx
If ≧100, the up/down count means is instructed to down and the data clock DCL is sent to the address count means.
K is given, and when Ji-Ji-1=1, the data clock DCLK is not given to the up/down count means.

Ji−Ji−1=Qではアップダウンカウント手段にも
データクロックD C1,Kを与えて、原画像データの
読出し位置Xを指定するものとする。
When Ji-Ji-1=Q, it is assumed that the data clock D C1,K is also applied to the up/down count means to designate the reading position X of the original image data.

すなわち、変倍率に応じて、データクロックDCLKの
カラン1〜数を増減して、ラインバッファメモリの読出
し位置Xを定める。
That is, the reading position X of the line buffer memory is determined by increasing or decreasing the number of data clocks DCLK according to the scaling factor.

以上の読み出し位(!1xの設定と同様に、副走査方向
の読み出し位Flyの設定も行なう。
Similar to the above setting of the read position (!1x), the read position Fly in the sub-scanning direction is also set.

本発明の他の目的および特徴は1図面を参照した以下の
実施例の説明より明らかになろう。
Other objects and features of the invention will become apparent from the following description of an embodiment with reference to one drawing.

第1a図に本発明の第1実施例を、第2a図に第2実施
例を、第3a図に第3実施例を、また第4図に第4実施
例を、更に第3d図の第5実施例を示す。まず、これら
の実施例の概要を説明する。
Fig. 1a shows the first embodiment of the present invention, Fig. 2a shows the second embodiment, Fig. 3a shows the third embodiment, Fig. 4 shows the fourth embodiment, and Fig. 3d shows the fourth embodiment. 5 Examples are shown below. First, an overview of these embodiments will be explained.

第1a図を参照すると、第1a図に示す装置(ただしプ
リンタPITは除外する)は、デジタルコピア用として
も、ファクレミリ用としても使用できる読み取り装置で
あって、第8図に示す外装に組込まれているものである
。そのスキャナSCRは、A3原稿を400dpi (
画素/インチ)の密度、6ビツト/画素(64階調)で
読み取り、シェーディング補正、MTF補正等を行なっ
て、この6ビツト原画像データを、プリンター用あるい
は伝送用にパ1゛1か11011の2値信号/画素に変
換して出力する装置である。なお、これらの読み取り密
度及び階調数は一例であり、400dpi、64階調で
なくてもより)。
Referring to FIG. 1a, the device shown in FIG. 1a (excluding the printer PIT) is a reading device that can be used both for digital copiers and facsimile mills, and is incorporated into the exterior case shown in FIG. It is something that The scanner SCR can scan A3 documents at 400 dpi (
The 6-bit original image data is read at a density of 6 bits/pixel (64 gradations) (pixel/inch), shading correction, MTF correction, etc. This is a device that converts it into a binary signal/pixel and outputs it. Note that these reading densities and the number of gradations are just examples, and the reading density and the number of gradations are not limited to 400 dpi and 64 gradations).

原稿面DOCを光源5の光によって照射し、その反射光
を、A3原稿横方向(297+m)を400dpiで読
むため、5000画素のイメージセンサ7が受ける。
The document surface DOC is irradiated with light from a light source 5, and the reflected light is received by an image sensor 7 with 5000 pixels in order to read the A3 document in the horizontal direction (297+m) at 400 dpi.

イメージセンサ7で原稿DOCの光信号が電気信号に変
換され、増幅器22で所定のレベルの信号に増巾される
。次に、この濃度によって電圧レベルの異なるアナログ
信号は、A/D変換器23で6ビノトのデジタル信号、
すなわち画像データに変換される。
The image sensor 7 converts the optical signal of the document DOC into an electrical signal, and the amplifier 22 amplifies the signal to a predetermined level. Next, the analog signal whose voltage level differs depending on the concentration is converted into a 6-bit digital signal by an A/D converter 23.
That is, it is converted into image data.

次に、 5ooo画素のセンサ7の各素子の感度のバラ
ツキ及び、A3原稿横方向での光源5の照度ムラを補正
するシェーディング補正が、回路24で行なわれる。
Next, the circuit 24 performs shading correction to correct variations in sensitivity of each element of the 5ooo pixel sensor 7 and uneven illuminance of the light source 5 in the lateral direction of the A3 document.

変倍処理は、第1a図に示す実施例においては、このシ
ェーテング補正のあとに行なう。すなわち主走査方向変
倍演M、1&28で主走査方向Xの変倍処理をし続いて
この変倍処理の直後に主走査方向XのMFT補正を実行
し、次いで副走査変倍演算器29でまず副走査方向Yの
変倍処理をし続いて副走査方向YのMTF補正を行なう
。これらの変倍処理は、シェーディング補正回路24の
前や、MTF補正(29)のあとに行なうことも可能で
ある。
In the embodiment shown in FIG. 1a, the scaling process is performed after this shading correction. That is, main scanning direction magnification M, 1&28 performs magnification processing in the main scanning direction X, immediately after this magnification processing, performs MFT correction in the main scanning direction First, magnification processing in the sub-scanning direction Y is performed, followed by MTF correction in the sub-scanning direction Y. These scaling processes can also be performed before the shading correction circuit 24 or after the MTF correction (29).

演算器28による主走査方向Xの変倍処理およびMT[
’補正のあと、回路29で副走査方向Yの変倍処理およ
びMTF補正を行ない、そのあと変倍画像データを、2
値化回路30であるスレッシュレベルによって1111
1かIJOLjかに2値化し、プリンターPRT(ある
いは伝送処理部)へ出力する。又は、階調処理器31で
、中間調表現がある1″かII OIIかに変換してプ
リンタPRT (あるいは伝送処理部)へ出力する3な
お、第1a図にはプリンタPRTに出力する態様を示し
ている。
The arithmetic unit 28 performs magnification processing in the main scanning direction X and MT [
'After the correction, the circuit 29 performs magnification processing in the sub-scanning direction Y and MTF correction, and then converts the magnification image data into 2
1111 depending on the threshold level of the value conversion circuit 30
Binarize it into 1 or IJOLj and output it to the printer PRT (or transmission processing unit). Alternatively, the gradation processor 31 converts it into 1'' or II OII, which has halftone expression, and outputs it to the printer PRT (or transmission processing unit). It shows.

このような画像データの流れの中で主走査方向Xの変倍
処理およびMTF補正は、第1a図においては、概略で
パラレル6ビツトのラッチ25〜演算器28.マイクロ
プロセッサ35 、RAM3およびサンプリング回路6
4+65で構成される変倍処理装置で実行される。
In the flow of image data, magnification processing and MTF correction in the main scanning direction Microprocessor 35, RAM 3 and sampling circuit 6
It is executed by a variable magnification processing device consisting of 4+65.

この変倍処理装置28および29はそれぞれ。These magnification processing devices 28 and 29 are respectively.

変倍後の新サンプリング点iの位置を決める機能、新す
ンプリング点i周辺の原画像データ位置xおよびyの原
画像データを摘出する機能、及び新サンプリング点iと
、摘出した原画像データ位置xおよびy(Ji)との距
離と摘出データとより、変倍画像データを計算する機能
、ならびに変倍画像データをMTF補正する機能を有す
る。主走査方向変倍演算器28の構成は第1d図に示す
A function to determine the position of the new sampling point i after scaling, a function to extract the original image data at the original image data positions x and y around the new sampling point i, and a function to extract the new sampling point i and the extracted original image data position. It has a function of calculating variable-magnification image data and a function of correcting the MTF of the variable-magnification image data from the distances to x and y (Ji) and extraction data. The configuration of the main scanning direction magnification calculator 28 is shown in FIG. 1d.

副走査方向Yの変倍処理およびMTF補正は、副走査変
倍演算器29が行なう、副走査変倍演算器29の構成は
第1e図に示す。
The sub-scanning magnification arithmetic unit 29 performs the magnification processing and MTF correction in the sub-scanning direction Y. The configuration of the sub-scanning magnification arithmetic unit 29 is shown in FIG. 1e.

第1a図において5まず、ラッチ25.データ分配器2
6.ラインバッファメモリとしてのRAMI、RAM2
およびデータセレクタ27は。
In FIG. 1a, the latch 25. Data distributor 2
6. RAMI, RAM2 as line buffer memory
and data selector 27.

将来、サンプリング点Xを決定して画像データを摘出し
、変倍画像データの演算を行なうとき、変倍画像データ
演算に参照する複数個の原画像データを一度にとり出す
ために、補正方法によって周辺2画素による補間法(第
1a図、第2a図および第4図に示す実施例)では2画
素ごとに、周辺4画素による補間法(第3a図の実施例
)では4画素ごとにまとめておくところである。
In the future, when determining the sampling point In the interpolation method using two pixels (the embodiments shown in Figures 1a, 2a, and 4), the data are grouped every two pixels, and in the interpolation method using four surrounding pixels (the example shown in Figure 3a), the data are grouped every four pixels. By the way.

例えば、第12図で新すンプリング点立がSijとSi
jヤ1の間にある場合、データセレクタ27より、Si
jとSij++を(第1a図、第2a図および第4図に
示す実施例)あるいは5ij−1,Sij。
For example, in Figure 12, the new spring points are Sij and Si.
If the data is between
j and Sij++ (in the embodiments shown in FIGS. 1a, 2a and 4) or 5ij-1, Sij.

S IJ + l + S 1jss 2を(第3a図
の実施例)一度にとり出すということである。
This means that S IJ + l + S 1jss 2 (in the embodiment of FIG. 3a) is taken out at once.

ここで、前述した方式■及び■が周辺2画素による補間
法(第1a図、第2a図および第4図に示す実施例)、
方式■が周辺4画素による補間法(第3a図の実施例)
である。
Here, the aforementioned methods ① and ② are interpolation methods using two peripheral pixels (the embodiments shown in Figs. 1a, 2a, and 4);
Method ■ is an interpolation method using four surrounding pixels (example shown in Figure 3a)
It is.

具体的な方法は、データクロックDCLKに同期して順
次入力される原画像データY(第6図)をDCLKにて
ラッチ25にメモリ(DCLKIパルス周期の遅延メモ
リ)することにより実施できる。2画素なら1段のラッ
チ25(第1a図、第2a図および第4図に示す実施例
)、4画素なら3段のラッチ251〜253 (第3a
図の実施例)によって実現可能である。
A specific method can be implemented by storing the original image data Y (FIG. 6) that is sequentially inputted in synchronization with the data clock DCLK in the latch 25 (delay memory of the DCLKI pulse cycle) using DCLK. For two pixels, one stage of latch 25 (the embodiments shown in Figures 1a, 2a, and 4) is used, and for four pixels, three stages of latches 251 to 253 (3a) are used.
This can be realized by the embodiment shown in the figure.

次にラインメモリ用のRAMIおよびRAM2であるが
Next is RAMI and RAM2 for line memory.

ここは、2画素(第1a図、第2a図および第4図に示
す実施例)あるいは4画素(第3a図の実′施例)のま
とまりを5000コ洛納するメモリで入力。
Input here is a memory that stores 5000 blocks of two pixels (in the embodiments shown in FIGS. 1a, 2a, and 4) or 4 pixels (in the embodiment shown in FIG. 3a).

出力で2段構成とし、一方(RAMI)が入力のときは
、もう一方(IIAM2)は出力、1つのラインが終わ
ると入出力を逆にするという構成である。これは、ライ
ン同期ハルスLS”/NCで反転動作をするTフリップ
フロップ36の出力aをデータ分配器26に与えて、a
が!■のとき、データ分配器26を入出力とじてRA 
M lを書込(W)に指定し、もう1つの出力すをデー
タセレクタ27に与えてbがLのとき、データセレクタ
27をB出力としてRAM2を読出しくR)とすること
により行なわれる。
It has a two-stage configuration for output, and when one (RAMI) is an input, the other (IIAM2) is an output, and when one line ends, the input and output are reversed. This is done by giving the output a of the T flip-flop 36, which performs an inverting operation with the line-synchronized Hals LS''/NC, to the data distributor 26, and a
but! In the case of (2), the data distributor 26 is used as input/output and the RA
This is done by designating M1 to write (W), giving another output to the data selector 27, and when b is L, the data selector 27 is set as the B output to read the RAM 2 (R).

このラインメモリRAMI、RAM2のアドレスである
が、入力時(書込)は、 DCLK周期でカウンタ3g
、43を;)ラントアップして得られるアドレスをその
まま使用するが、出力時(読出)、このアドレスを変化
させる。出力時のアドレスがすなわち変倍画像データの
サンプリング点i直前の原画像データサンプリング位r
1x = J iである。
The addresses of this line memory RAMI and RAM2 are input (written) by the counter 3g in the DCLK cycle.
, 43;) is used as is, but this address is changed at the time of output (reading). The address at the time of output is the sampling point r of the original image data immediately before the sampling point i of the scaled image data.
1x = J i.

変倍画像データのサンプリング点iが、ある時。When the sampling point i of the variable-magnification image data is certain.

SijとSIJ+1の間にあり、その次のサンプリング
点が、もう一度SiJとSijヤlの間にある時は。
When it is between Sij and SIJ+1, and the next sampling point is again between Sij and Sijyal.

読出しアドレスカウンタを止め、S ij + 2とS
 ij + gの間に移ったときは、読出しアドレスカ
ウンタは2つ進め、Slj+IとSij+2の間に移っ
たときは、読出しアドレスカウンタを通常通り1つ進め
る。
Stop the read address counter, S ij + 2 and S
When it moves between ij+g, the read address counter is incremented by two, and when it moves between Slj+I and Sij+2, the read address counter is incremented by one as usual.

拡大時(Rx上100)は、該カウンタを1つ進める動
作と、該カウンタを止めておく動作によって新サンプリ
ング点の位置を決める。縮少時(Rx<100)は、該
カウンタを1つ進める動作と2つ進める動作の組合せに
よって位置を決める。縮少は本装置では50%までで考
えているので、該カウンタは1つ進めるか2つ進めるか
で良いが、50%より小さな縮少のときは、3つ以上進
める場合もあり得る。
When enlarging (Rx top 100), the position of the new sampling point is determined by the operation of incrementing the counter by one and the operation of stopping the counter. When reducing (Rx<100), the position is determined by a combination of operations that advance the counter by one and two. In this device, the reduction is considered up to 50%, so the counter may be incremented by one or two, but if the reduction is less than 50%, it may be incremented by three or more.

どこで、読出しアドレスカウンタをいくつ進めるかとい
う情報は、倍率Rx%によってマイクロプロセッサ35
で予め計算されている。変倍画像データのサンプリング
点iの直前の原画像データ位置Xは、スター1〜位置を
Oとし、原画像のサンプリングピッチPを1とし、倍率
をRx (%)とすると、 100 i / Rx= J i十Ri   −=<4
)i =0.1,2,3.・・・ Ji:整数、Ri:小数 の整数Jiとなる。
Information about where and how many times the read address counter should be incremented is determined by the microprocessor 35 according to the magnification Rx%.
is pre-calculated. The original image data position X immediately before the sampling point i of the scaled image data is 100 i / Rx = where star 1 to position is O, the sampling pitch P of the original image is 1, and the magnification is Rx (%). J i ten Ri −=<4
)i = 0.1, 2, 3. ... Ji: integer, Ri: decimal integer Ji.

すなわち、サンプリング点iがSijとSxj+1の間
にあるとすると、原画像データのサンプリング位置Xは
Jiとなる。そこで、iの増加とともに、100 i 
/ Rxの整数部Jiが1つ増えるときは、読出しアド
レスカウンタも1つ進め、iの増加で1004 / R
xの整数部Jiが2つ増えるときは、該カウンタも2つ
進め、 100 i / Rxの整数部Jiが1つも進
まない場合は、該カウンタも進めないようにすればよい
、また、 100 i / Rxのの小数部Riは、S
ijとi対応位置−Q−との距煎γlになる。
That is, if the sampling point i is between Sij and Sxj+1, the sampling position X of the original image data is Ji. Therefore, as i increases, 100 i
/ When the integer part Ji of Rx increases by one, the read address counter also advances by one, and as i increases, it becomes 1004 / R
When the integer part Ji of x increases by two, the counter also increments by two, and if the integer part Ji of 100 i / Rx does not increment by one, the counter also does not increment. / The decimal part Ri of Rx is S
The distance γl between ij and i-corresponding position -Q- is obtained.

この距離データγ!は後の変倍画像データ演算で使うこ
とになる。
This distance data γ! will be used later in the scaling image data calculation.

マイクロプロセッサ35は、上記(4)式でi=0〜R
x−1までを計算する。すなわち、i=0での(4)式
の演算による整数j。および小数R8゜i =1での(
4)式の演算による整数J1および小数R1,i=2で
の(4)式の演算による整数J2および小数R2,・・
・、i =Rx−1での(4)式の演算による整数JR
−1および小数RR−1を演算する。このようにi =
O〜Rx−1までのみの整数Jiおよび小数Riのみを
演算すると、これを原画像データのライン長全体に適用
できる。すなわち、すべての場合で、変倍画像データの
サンプリング点はRxコ毎の周期になるため、1=Rx
にはi = Oの値を、1=Rx+1ではi=1の値を
、1=Rx+2ではi=2の値を、・・・以下同様に割
り当てればよい。
The microprocessor 35 calculates i=0 to R in the above equation (4).
Calculate up to x-1. That is, the integer j is obtained by calculating equation (4) with i=0. and decimal R8゜i = 1 (
4) Integer J1 and decimal R1 calculated by formula, integer J2 and decimal R2 calculated by formula (4) when i=2,...
・, integer JR by calculation of equation (4) at i = Rx-1
-1 and the decimal number RR-1. In this way i =
If only the integer Ji and decimal Ri from O to Rx-1 are calculated, this can be applied to the entire line length of the original image data. That is, in all cases, the sampling point of the variable-magnification image data has a period of every Rx, so 1=Rx
The value i=O may be assigned to , the value i=1 is assigned to 1=Rx+1, the value i=2 is assigned to 1=Rx+2, and so on.

副走査方向の処理でも、変倍率Ryで同様にJiおよび
Riを演算して、サンプリングラインを設定すればよい
In the process in the sub-scanning direction, Ji and Ri may be similarly calculated using the magnification ratio Ry to set the sampling line.

本発明の後述の全実施例では、i=0〜Rx、Ry−i
のJiおよびRiの計算は、読み取り動作開始より前に
、倍率Rx、Ry(%)が指定されたときに行なわれ、
Rx対応と、Ry対応の、JiおよびRiが、ハードウ
ェアにマツチした形のデータΔlおよびBiに変換され
てRx対応のものはRAM3 (第1a図)に、Ry対
応のものはRAM4  (第1e図)に書き込まれる。
In all embodiments of the invention described below, i=0 to Rx, Ry-i
Calculation of Ji and Ri is performed when the magnifications Rx and Ry (%) are specified before the start of the reading operation,
Ji and Ri corresponding to Rx and Ry are converted into data Δl and Bi that match the hardware, and those corresponding to Rx are stored in RAM3 (Fig. 1a), and those corresponding to Ry are stored in RAM4 (Fig. 1e). Figure).

画a読取が開始されると、すなわち変倍処理時に、デー
タクロックDCLKと同期して1を1づつ大きい値に変
更して、i対応のデータ(Ai、 B i)がRAM3
より読み出され、ライン同期パルスLS’/NCと同期
してアドレスを1づつ大きい値に変更して第iライン対
応のデータ (Ai、 Bi)がRAM4より読み出さ
れる。
When image a reading is started, that is, during scaling processing, 1 is changed to a larger value by 1 in synchronization with the data clock DCLK, and the data (Ai, B i) corresponding to i is stored in RAM3.
The data (Ai, Bi) corresponding to the i-th line is read out from the RAM 4 by changing the address to a larger value one by one in synchronization with the line synchronization pulse LS'/NC.

なお、別の実施態様として、上記計算を行なう専用のマ
イクロプロセッサ、あるいは演算手段を設け、変倍処理
と並行してデータクロックDCLKと同期して(4)式
をシf算し、またライン同期クロックLS’/NCと同
期して(4)式を計算し、100i/ Rx、 Ryの
整数部Jiすなわち原画像データサンプリング位置X、
および、ラインサンプリング位置y、をそのままアドレ
スとし、小数部Riを、変倍画像データ演算用パラメー
タである距離データr1として使うようにしてもよい。
Note that as another embodiment, a dedicated microprocessor or arithmetic means for performing the above calculation is provided, and in parallel with the scaling process, equation (4) is calculated in synchronization with the data clock DCLK, and line synchronization is also performed. Equation (4) is calculated in synchronization with the clock LS'/NC, and the integer part Ji of 100i/Rx, Ry, that is, the original image data sampling position X,
Alternatively, the line sampling position y may be used as an address, and the decimal part Ri may be used as the distance data r1, which is a parameter for calculating variable-magnification image data.

次に、ラインバッファRAM 1 、RAM2からの原
画像データの読出しと、変倍画像データ演算との関係を
説明する。
Next, the relationship between reading original image data from the line buffer RAM 1 and RAM 2 and variable-magnification image data calculation will be explained.

第1a図、第2a図および第4図に示す実施例は、2画
素の原画像データSijとSIJ+lとR1に基づいて
変倍画像データを演算(■又は■)するものである、ラ
インメモリRAM1とRAM 2には、6ビツトの原画
像データを、ライン単位で交互にそのままDCLKに同
期させて入力し、この入力において、ラッチ25でSi
jを得ると共に、ラッチ25を介さないでSIJ+1を
得て、それぞれ6ビツトのSijとSijヤ1を並べて
12ビツトデータとしてlワード12ビツトのデータを
ライン単位で、RAM1とRAM2に交互に書込み、一
方を書込みにしているときに他方から1ワード(12ビ
ツト)単位でデータを読み出すので、演算器28には、
一度に5ij(6ビツト)とSijやI(6ビツト)が
与えられる。
The embodiment shown in FIGS. 1a, 2a, and 4 is a line memory RAM 1 in which variable-magnification image data is calculated (■ or ■) based on two-pixel original image data Sij, SIJ+l, and R1. and RAM 2, 6-bit original image data is alternately input line by line in synchronization with DCLK, and at this input, the latch 25
At the same time, SIJ+1 is obtained without passing through the latch 25, and 6-bit Sij and Sij layer 1 are lined up to form 12-bit data.L words of 12-bit data are written alternately to RAM1 and RAM2 line by line. Since data is read from the other in units of 1 word (12 bits) when one is being written, the arithmetic unit 28 has the following:
5ij (6 bits) and Sij or I (6 bits) are given at one time.

第3a図の実施例では、3段のラッチ251〜253を
有し、それらのラッチデータ51j−1゜Sijおよび
Slj+1とラッチを介さないデータSIJ+2が、各
6ビツトでパラレル24ビツトのワードに組合されて、
RAM lおよびRAM2に書込まれ、パラレル24ビ
ット同時にそれらより読み出される。したがって、演算
器28には、一度に5ij−1(6ビツトL  5IJ
(6ビツト)esxjゆl(6ビツト)およびSlj+
2(6ビツト)が与えられる。
In the embodiment of FIG. 3a, there are three stages of latches 251 to 253, and their latch data 51j-1°Sij and Slj+1 and data SIJ+2 that do not pass through the latch are combined into a parallel 24-bit word with 6 bits each. Been,
It is written to RAM 1 and RAM 2 and read from them in parallel 24 bits simultaneously. Therefore, the arithmetic unit 28 stores 5ij-1 (6 bits L 5IJ
(6 bits) esxj Yul (6 bits) and Slj+
2 (6 bits) is given.

なお、ラッチ25,251〜253をデータセレクタ2
7と演算器28の間に介挿して、RAM l 、 2に
は、6ビツ1−データのみ−ライン分を読み書きするよ
うにしてもよい。このようにすると、−ライン分の変倍
画像データの送出が、1画素分(第1a図対応の場合)
又は、3画素分(第3a図対応)遅延するが。
Note that the latches 25, 251 to 253 are connected to the data selector 2.
7 and the arithmetic unit 28, the RAM 1, 2 may be configured to read and write only 6-bit 1 data for a line. In this way, the transmission of variable-scale image data for -line is reduced to one pixel (for the case corresponding to Fig. 1a).
Or, there is a delay of 3 pixels (corresponding to FIG. 3a).

nAMl、RAM2のメモリ容量が、いずれの場合でも
、それぞれ6ビツト×1ライン画個数で済むことになる
。したがって、数画素分の遅延ずれが聞届となラナい使
用態様において、ラインバッファメモリ容量を少くする
上で効果がある。
In either case, the memory capacity of nAM1 and RAM2 is 6 bits x 1 line number. Therefore, it is effective in reducing the line buffer memory capacity in a long-range usage mode in which a delay shift of several pixels is noticeable.

ここでRAM1が書込状態(a=H,b=L)の時は、
通常動作でDCLKを周期にアドレスカウンタ38が進
んでいくようになっているが、RAM1が出力状態(a
=L、b=H)のときの、原画像データのサンプリング
位li!x(Ji)の画像データ読出しのための、読出
しアドレスの設定方式について説明する。
Here, when RAM1 is in the write state (a=H, b=L),
In normal operation, the address counter 38 advances in cycles of DCLK, but RAM1 is in the output state (a
=L, b=H), the sampling position of the original image data li! A read address setting method for reading image data of x(Ji) will be described.

まず、第1の方法は、アドレスカウンタへのカウントク
ロックの周波数を変えてしまう方法である。データクロ
ックDCLKの周波数&foとすると。
The first method is to change the frequency of the count clock to the address counter. Let the frequency of data clock DCLK be &fo.

R%変倍時の周波数fRは。The frequency fR when changing the magnification by R% is.

f R= f 、) −100/R(Hz ) ”・(
5)となる。
f R= f, ) −100/R(Hz) ”・(
5).

この方式では、foに対するf、のズレが、原画像と変
倍画像のサンプリング点のズレそのもになるので、正確
かつ確実である。RAM1,2の読み出し時、アドレス
カウンタをf、で動かし、RAMI、2の出力を再びD
CLKでサンプル(ラッチ)することによって、所望の
合成データを得ることができる。この方法であれば、先
に述べた(4)式の計算結果で整数Jiについての情報
は不要となる。しかして、この態様では、変倍率Rx%
を例えば50〜400%とし、Rxの最小単位を1%と
すると、350ffiのパルスf R=f 0400/
Rxが必要となる。これは専用のマイクロプロセッサで
作成する。
In this method, the deviation of f with respect to fo becomes the deviation of the sampling points of the original image and the variable magnification image, so it is accurate and reliable. When reading RAM1, 2, the address counter is moved by f, and the output of RAMI, 2 is set to D again.
By sampling (latching) with CLK, desired composite data can be obtained. With this method, information about the integer Ji is unnecessary in the calculation result of equation (4) described above. Therefore, in this embodiment, the magnification ratio Rx%
For example, if 50 to 400% and the minimum unit of Rx is 1%, the pulse f R = f 0400/ of 350ffi.
Rx is required. This is created using a dedicated microprocessor.

第2の方法は、まず、前述の(4)式の計算結果で整数
Jiに注目し、前の変倍画像データサンプリング位ff
1Xi−tと今回のサンプリング位置Xiとで、 (1)縮少時 整数部が1つ増加している(Ji  Ji−1=1)と
き  Ai=H整数部が2つ増加している(Ji−Ji
−t =2)とき  Ai=L(2神駄時 整数部が1つ増加している(Ji−Ji−t =1)と
き  Ai=H整数部が増加していない(Ji−Ji−
1=0)とき   Ai=Lなる数列[Δl]を、i 
=0〜Rx−1まで定義し。
The second method first focuses on the integer Ji in the calculation result of the above-mentioned equation (4), and then calculates the previous scaling image data sampling position ff.
1Xi-t and the current sampling position Xi: (1) When the integer part increases by one during reduction (Ji Ji-1=1) Ai=H The integer part increases by two (Ji -Ji
-t = 2) When Ai = L (2 kanda) When the integer part increases by one (Ji-Ji-t = 1) When Ai = H the integer part does not increase (Ji-Ji-
1=0), the sequence [Δl] of Ai=L is expressed as i
Define from =0 to Rx-1.

RAM3 (第1a図)に書き込んでおく(読み取り前
)。同様に、副走査方向についてもi=o〜Ry−tま
で演算してRAM4 (第1e図)に書込んでおく、こ
れは第1a図、第2a図、第3a図。
Write it into RAM3 (Figure 1a) (before reading). Similarly, in the sub-scanning direction, i=o to Ry-t are calculated and written into the RAM 4 (FIG. 1e), as shown in FIGS. 1a, 2a, and 3a.

第3d図および第4図の実施例のすべてに共通である。Common to all of the embodiments of FIGS. 3d and 4.

そして、第4図の実施例では、カウントパルスとして、
データクロックDCLKと、0CLKの2倍の周波数の
パルス2DCLKを用意すC0変倍画像データ演算のと
き、AiはRA M 3から読み出し、読み出しはi 
= 0〜Rス−1をくりかえし読み出す。この第4図の
実施例では、縮少時(Rx<100)は、ラインメモリ
(nA旧又はl’lAM2)の読出しのためのアドレス
カウンタ(38又は43)のカウントパルスは、Ai=
llのとき    DCLK Ai=Lのとき    2DCLK になるように切り替える。拡大時(Rx≧100)は、
アドレスカウンタ38又は43のカウントパルスA1と
DCLKのAND(論理積)とすることによって、A 
i = I−1のときカウントアツプ、A i = L
のときカウントせず、のようにする。以上は、副走査方
向の指定倍率Ryについても同様である。
In the embodiment shown in FIG. 4, as a count pulse,
When performing C0 scaling image data calculation in which a data clock DCLK and a pulse 2DCLK with twice the frequency of 0CLK are prepared, Ai is read from RAM 3;
= 0 to R-1 are read repeatedly. In the embodiment of FIG. 4, when reduced (Rx<100), the count pulse of the address counter (38 or 43) for reading the line memory (nA old or l'lAM2) is Ai=
When Ai=L, switch to DCLK. When Ai=L, switch to 2DCLK. When expanding (Rx≧100),
By ANDing the count pulse A1 of the address counter 38 or 43 and DCLK, A
Count up when i = I-1, A i = L
Do not count when . The above also applies to the specified magnification Ry in the sub-scanning direction.

本発明の全実施例は、IくAM3およびR AM 4を
有し, R A M 3およびRAM4は、マイクロプ
ロセッサ35で計算したRxおよびRyに関する(4)
式の結果に基づく前述のA1を格納する。これらのR 
A M 3およびRAM4には,更に,各実施例で異る
データBiをも格納する。B1の内容は後述する。
All embodiments of the invention have an I AM 3 and a RAM 4, where RAM 3 and RAM 4 contain (4) values for Rx and Ry calculated by the microprocessor 35.
Stores the above-mentioned A1 based on the result of the expression. These R
AM3 and RAM4 also store data Bi that differs in each embodiment. The contents of B1 will be described later.

このように、画像読取前にlIAM3およびIIAM4
にAiを格納しておき、画像読取中にRAM3よりデー
タクロックDCLKに同期して、またIllAM4より
ラインクロックLS’VNCに同期して,AlおよびB
iを読み出して。
In this way, before image reading, lIAM3 and IIAM4
Ai is stored in , and during image reading, Al and B are stored in RAM3 in synchronization with data clock DCLK, and IllAM4 in synchronization with line clock LS'VNC.
Read out i.

Δ」に基づいて主走査方向Xの読出しアドレスを設定す
ると、IIAMIおよびRAM2より5同時に隣接デー
タSijとSlj+1が(第1a図,第2a図および第
4図の実施例)、又は同時に隣接データSlj−1 +
 SIJ! SIJ+ I + SIJ+2が(第3a
図の実施例)、読み出されることと相伴って、後述する
ように、変倍画像データを演算する演算器28、29の
構成が簡籏になる。なお、RAM/Iより読み出したデ
ータAiでは副走査方向Yのラインデータの摘出位置を
定める。
When the read address in the main scanning direction -1 +
SIJ! SIJ+I + SIJ+2 (3rd a)
(Embodiment shown in the figure), along with the readout, the configuration of the arithmetic units 28 and 29 for operating the variable-magnification image data becomes simpler, as will be described later. Note that the data Ai read from the RAM/I determines the extraction position of line data in the sub-scanning direction Y.

第4図の実施例のカウントパルスの切換方式では、拡大
時(Rx,Ry≧100)、Ai=L、のとき。
In the count pulse switching method of the embodiment shown in FIG. 4, when Ai=L during enlargement (Rx, Ry≧100).

カウンタ38,43のENA[lLE端子をLにして、
カウントをストップさせてもよい。
ENA of counters 38 and 43 [lLE terminal is set to L,
Counting may be stopped.

第3の方法は、第1a図に示す実施例で実行するもので
ある。アドレスカウンタ38.113白身は、データク
ロックDCLKによるカウントアツプを続ける。そして
アドレスカウンタ38.43と別にもう1つこちらはア
ップダウンカウンタ39,個ヲ設け、拡大時(Rx≧1
00)はダウン指定し、縮小時(Rx>100)は、ア
ップ指定する。そしてこのアップダウンカウンタ39.
44は、Ai=Lのときだけカウントするように、DC
LKとAiのAND(論理積)を入力する。
A third method is implemented in the embodiment shown in FIG. 1a. The address counter 38.113 continues to count up based on the data clock DCLK. In addition to the address counters 38 and 43, there is another up/down counter 39, which is used when expanding (Rx≧1
00) specifies down, and when reducing (Rx>100), specifies up. And this up/down counter 39.
44 is DC so that it counts only when Ai=L.
Input the AND (logical product) of LK and Ai.

これによって、例えば縮小時,まず最初のAi=Lでア
ンプダウンカウンタ39,44をlにし、加算器37.
42で、アドレスカウンタ38。
As a result, for example, during reduction, the amplifier down counters 39 and 44 are set to l when Ai=L, and the adder 37.
42, address counter 38;

43の値に1をたして、RAMI,RAM2の読出しア
ドレスとする。更に、次のAi=Lでアップダウンカウ
ンタ39.44を2にして、アドレスカウンタ38.4
3のカウント値とたす、というようにしてサンプリング
点の位置X(Ji)を決めていく。
Add 1 to the value of 43 and use it as the read address of RAMI and RAM2. Furthermore, at the next Ai=L, the up/down counter 39.44 is set to 2, and the address counter 38.4 is set to 2.
The position X (Ji) of the sampling point is determined by adding it to the count value of 3.

拡大の場合は,読出しアドレスをシフ1−せずに読み出
す必要があり,このときアドレスカウンタ38。
In the case of enlargement, it is necessary to read the read address without shifting it by 1, and at this time the address counter 38.

43はカウントアツプするのでこれを補償するため、逆
にAi=Lで1つずつ引いていくように、アップダウン
カウンタ39,44を減算していく。
Since 43 counts up, in order to compensate for this, the up/down counters 39 and 44 are subtracted one by one as Ai=L.

副走査方向のサンプリング位置指定も上記と同様である
The sampling position designation in the sub-scanning direction is also the same as above.

次に主走査方向の変倍画像データ(X変倍画像データ)
演算について説明する。なお、副走査方向の変倍画像デ
ータ演n(Y変倍画像データ演算)も同様である。第1
a図に示す実施例は、i′17J述の■の方法を実行す
るものであり、第2a図に示す実施例は前述の(巧の方
法を実行するものであり、また第3a図に示す実施例は
前述の■の方法を実行するものである。これらの方法の
実行手法を説明する。
Next, variable magnification image data in the main scanning direction (X variable magnification image data)
The calculation will be explained. The same applies to variable-magnification image data calculation n (Y-variable-magnification image data calculation) in the sub-scanning direction. 1st
The embodiment shown in FIG. In this embodiment, the above-mentioned method (2) is carried out.Execution techniques for these methods will be explained.

■最近接画素設定法(第1a図の実施例)この方式の演
算方法は比較的簡単である。
(2) Nearest pixel setting method (embodiment shown in FIG. 1a) The calculation method of this method is relatively simple.

第5図でSijとSIJ+1のうち変倍画像データサン
プリング位置i (第12図でりに近い方を選択するよ
うにすればよい。
In FIG. 5, the variable-magnification image data sampling position i (closer to the end in FIG. 12) between Sij and SIJ+1 may be selected.

(4)式に基づいて整数Jiおよび小数Riを,マイク
ロプロセッサ35で演算したとき,小数Riはすなわち
度とSiJとの距fllr1/P(Pは原画像データの
サンプリングピッチであり、実施例ではP=1)が0.
5以下ならばSijを選択し,0.5より大きければS
1J+1を選択するようにすればよい。
When the microprocessor 35 calculates the integer Ji and the decimal Ri based on equation (4), the decimal Ri is the distance fllr1/P between degrees and SiJ (P is the sampling pitch of the original image data, and in the embodiment P=1) is 0.
If it is less than 5, select Sij, if it is greater than 0.5, select Sij.
1J+1 may be selected.

第1a図に示す実施例では、マイクロプロセッサ35が
、JlおよびR1を演算しかつ前述のAiを演算したと
きに、r1/Pが0.5以下ならばBi==IIとし、
0.5より大きければBi=Lとする数列Biをも演算
して、Bi’@Aiと共に、RAM3の同じアドレスに
書き込む。これは画像読取前の処理である。画像読取が
開始されると、データクロックDCLKに同期して、R
AM3よりAiおよびBiを読み出して、Biをセレク
ト信号として、Bi=!1でSijの選択を、Bi=L
でSij+tの選択を、この実施例では演算器28のデ
ータセレクタ80XA(第1d図)にうえる。
In the embodiment shown in FIG. 1a, when the microprocessor 35 calculates Jl and R1 and calculates the aforementioned Ai, if r1/P is 0.5 or less, Bi==II,
If it is larger than 0.5, the sequence Bi that sets Bi=L is also calculated and written to the same address in the RAM 3 along with Bi'@Ai. This is processing before image reading. When image reading starts, R is synchronized with data clock DCLK.
Read Ai and Bi from AM3, use Bi as a select signal, Bi=! 1 to select Sij, Bi=L
In this embodiment, the selection of Sij+t is sent to the data selector 80XA (FIG. 1d) of the arithmetic unit 28.

■近接画素距離線形配分法(第2a図)この方式は、■
より複雑になる。前述の(1)式の計算を行わなくては
ならないためである。この場合間層となるのは、距慮r
 1 / Pあるいはr 2 / Pの精度である。小
数点第1位まで、つまり、0.1きざみ程度で考えれば
良いかもっと細かく見る必要があるか、あるいはPを4
分割した程度すなわち0.25きざみくらいでも良いか
ということである。この問題は、デジタルコピアシステ
ムとしであるいはファクシミリシステムとして、どこま
で精度が必要かという間層であり、デジタルコピアやフ
ァクシミリシステムでの、所要画像品質に対応する6演
算処理から見れば、r 1/ P 。
■Adjacent pixel distance linear distribution method (Figure 2a) This method is
It becomes more complicated. This is because the above-mentioned equation (1) must be calculated. In this case, the interlayer is the distance r
The accuracy is 1/P or r2/P. Is it okay to consider it to the first decimal place, that is, in increments of 0.1, or do I need to look at it more closely?
The question is whether the degree of division, ie, 0.25 increments, is sufficient. This problem lies in the question of how much precision is required for a digital copier or facsimile system, and from the perspective of the six arithmetic operations that correspond to the required image quality in a digital copier or facsimile system, r 1/P .

r2/Pが、2のべき乗の逆数であるので好ましい。こ
れは、l/2.1//1.1/8.等の演算は、対象デ
ータのビットシフ1−のみで可能であるからである。
It is preferable that r2/P is the reciprocal of a power of 2. This is l/2.1//1.1/8. This is because such operations are possible only by bit shifting 1- of the target data.

そこでまず(4)式の演算結果より、Ri==rl/P
を0.25(1/4)きざみに分けろ。すなわち、Ri
の最小単位を178として、Riの領域区分を1/4と
する。
First, from the calculation result of equation (4), Ri==rl/P
Divide into 0.25 (1/4) increments. That is, Ri
The minimum unit of is 178, and the area division of Ri is 1/4.

−例として1次のように分けてみる。-As an example, let's divide it into 1st order.

0≦r+ /P<1/8のとき、Ri=rl /P=0
.   Bi=01/8≦rl/P<3/8のとき、R
i=rl /P=1/4. Bi=1378≦rl/P
<5/8のとき、 Ri=rl /P=1/2. Bi
=2578≦r+ /P<7/8のとき、Ri=rl 
/P=3/4. I’3i=3ここで、778≦r1/
P<1のときは、−9−とSlj+1とが同じ位置とい
うことになるので、そういう分類を作ってBi=4とす
る方法もあるが、この場合にはBiに3ビツトが必要に
なるので、ハードウェア構成上からは、この場合Xを1
つ繰り上げ、整数Jiを1つ大きい値とし、小数Riを
Oにして、主がSLI+IとSijや2の間にあって、
Bi=0とするのが、B1が2ビツトの信号で済むので
好ましい。上記■と同様に、このBiをAiと共に、1
1AM3の同じアドレスに書き込む。  ・この方式を
実施する第2a図において、4つに分けた距離(Bi=
0〜4)によって、A−3ij+B−5ij、1 =O
ik・・・(6)ただし、Aはrs/Pに対応する係数
When 0≦r+ /P<1/8, Ri=rl /P=0
.. When Bi=01/8≦rl/P<3/8, R
i=rl/P=1/4. Bi=1378≦rl/P
When <5/8, Ri=rl/P=1/2. Bi
=2578≦r+ When /P<7/8, Ri=rl
/P=3/4. I'3i=3 where 778≦r1/
When P<1, -9- and Slj+1 are at the same position, so there is a way to create such a classification and set Bi = 4, but in this case, 3 bits are required for Bi, so , from the hardware configuration, in this case X is 1
Carry up the integer Ji by one, set the decimal Ri to O, and the main value is between SLI+I and Sij or 2,
It is preferable to set Bi=0 because B1 can be a 2-bit signal. Similarly to the above ■, this Bi is combined with Ai to 1
Write to the same address of 1AM3.・In Figure 2a, which implements this method, the distance divided into four (Bi=
0 to 4), A-3ij+B-5ij, 1 = O
ik...(6) However, A is a coefficient corresponding to rs/P.

Bは「2/Pに対応する係数。B is a coefficient corresponding to 2/P.

Slu、Sij+1は6ビツトデーダの内容。Slu and Sij+1 are the contents of the 6-bit data.

Oikは変倍画像データ(6ビツト)の内容。Oik is the content of variable-magnification image data (6 bits).

である。It is.

のAとBとが決まるため、第2a図のX方向変倍画像デ
ータ演算rjigoxnで、4通りのASijとB−3
ij、1を計算し、そのうち1つづつをBi対応でデー
タセレクタ28b 、 28cで選択し、加算器28d
でたして、変倍画像データOikを得る。
Since A and B are determined, four ways of ASij and B-3 are determined by the
ij, 1 are calculated, one of which is Bi-compatible and selected by the data selectors 28b and 28c, and the adder 28d
Then, variable-magnification image data Oik is obtained.

第2a図に示す実施例では、Biに対応する係数Aおよ
びBは次の第1表に示すように設定している。
In the embodiment shown in FIG. 2a, the coefficients A and B corresponding to Bi are set as shown in Table 1 below.

、第1表 1/2.1/4など2のべき乗の逆数は、信号線のビッ
トシフトのみで得られるため、ハード構成が非常に楽に
なる。゛ 第2a図に示すX方向変倍画像データ演算器80xBの
変形例を第2c図に示す。第2c図に示すX方向変倍画
像データ演算器80Xnは、ROM 28gで構成され
ている。予め5ij(6ビツトの最小値から最大値)、
Sij+s (6ビツトの最小値から最大値)と[3i
によって決まる変倍画像データOikを計算しておき、
それをROM28gに書込んでいる。
, Table 1, 1/2.1/4, and other inverse numbers of powers of 2 can be obtained only by bit shifting of the signal lines, making the hardware configuration very easy. FIG. 2c shows a modification of the X-direction variable magnification image data calculator 80xB shown in FIG. 2a. The X-direction variable magnification image data calculator 80Xn shown in FIG. 2c is composed of a ROM 28g. 5ij (from the minimum value to the maximum value of 6 bits) in advance,
Sij+s (minimum to maximum value of 6 bits) and [3i
Calculate the variable magnification image data Oik determined by
It is written to ROM28g.

画像読取−変倍処理時には、Sij+ Sij+tをR
OM28gのアドレスとして変倍画像データ0ikを読
み出す。
During image reading and magnification processing, set Sij+Sij+t to R.
The variable-magnification image data 0ik is read out as the address of the OM28g.

Sijは6ビツト、Sijや1は5ビツト(係数Bが1
以下なので上位5ビツトだけで済む)、Biが2ビツト
であるから、ROM 28 gは、アドレス13ビツト
で8に×8ビットのROMで済むので、予め行なう計算
もそれほど大変ではなくできる。
Sij is 6 bits, Sij and 1 are 5 bits (coefficient B is 1)
Since Bi is 2 bits, the ROM 28g can be an 8 x 8 bit ROM with a 13-bit address, so the calculations to be performed in advance can be done without much difficulty.

変倍画像データ演算のためのハード構成は非常に簡単に
なる。
The hardware configuration for calculating variable-magnification image data becomes extremely simple.

■三次関数コンボリューション この方式は前述の(3)式に示すように非常に複雑な計
算を必要とし、ハードウェア化には不向きなようである
が、前述■、■の方式と比べても。
■Cubric function convolution This method requires extremely complicated calculations as shown in equation (3) above, and seems unsuitable for hardware implementation, even when compared to the methods described in (1) and (2) above.

精度の良い変倍ができる。Can perform accurate magnification changes.

この方式も■の場合と同様に距離の精度の問題があるが
、ここでも■のようにγI/Pを4つに分割した場合を
考える。
This method also has the problem of distance accuracy, as in the case of ■, but here we will also consider the case where γI/P is divided into four parts as in the case of ■.

分割方法も■と全く同様とする。The division method is also exactly the same as ■.

前述の(3)式は、簡単に書き直すと、A−3ij−1
+B・Sij+C・Sij+1 +D−3ijヤ2=O
ik・・・(力となる。なお、(3)式の分母は規格化
係数であるので、バラメタータから除外できる。
Equation (3) above can be simply rewritten as A-3ij-1
+B・Sij+C・Sij+1 +D−3ij ya 2=O
ik...(becomes a force. Since the denominator of equation (3) is a normalization coefficient, it can be excluded from the parameters.

1)「述の(2)式から、γs /P−0、’l/4.
 L/2.3/4の4つの場合でA、B、CおよびDを
計算すると、次のようになる。
1) "From the above equation (2), γs /P-0, 'l/4.
Calculating A, B, C, and D in the four cases of L/2.3/4 results in the following.

方向変倍画像データ演算器80XI3と同様に、4通り
のA−S ij−蔦r B ’ Sjjw c−S”j
−+−1+D−8IJ+2 (Sij等は0〜63)を
用意しておき。
Similar to the direction variable magnification image data calculator 80XI3, there are four ways
-+-1+D-8IJ+2 (0 to 63 for Sij etc.) are prepared.

Biによって1つずつ選択して4つを加算する方式があ
る。ただし、この場合は、■のときと違ってそれぞれの
計算が若干めんどうであり、ハードウェアも少し複雑に
なる。
There is a method of selecting one by one according to Bi and adding the four. However, in this case, unlike in the case of ■, each calculation is a little more troublesome, and the hardware is also a little more complicated.

そこで、ハードウェアの負担を少しでも軽くするため、
係数A、B、CおよびDを次の第2表のように近似して
、書き直す。ただし、このとき、A+B十C+D= 1
になることが必要である。
Therefore, in order to reduce the burden on the hardware as much as possible,
Rewrite the coefficients A, B, C, and D by approximating them as shown in Table 2 below. However, at this time, A + B + C + D = 1
It is necessary to become

第2表 この方が、係数の分母が8以下で、ハードウェアによる
計数はかなり楽になる。第3a図に示すX方向変倍画像
データ演算器80XCは、この第2表の係数を用いて、
■の変倍画像データ演算を行なうようにしているヶ この例でも、X方向変倍画像データ演算器80Xcとし
て第2C図に示すようにROMを用いることが考えられ
る。そのようにするときには、第3C図に示すようにR
OM63を用いろ。
Table 2 In this case, the denominator of the coefficient is 8 or less, making counting by hardware much easier. The X-direction variable magnification image data calculator 80XC shown in FIG. 3a uses the coefficients in Table 2 to calculate
In this example as well, a ROM may be used as the X-direction variable-magnification image data calculator 80Xc as shown in FIG. 2C. When doing so, R
Use OM63.

ROM 63のアドレスが、5ij−1に3ビツト。The address of ROM 63 is 3 bits at 5ij-1.

Sijに6ビツト、Sijや1に5ビツト、Sij+2
に3ビツト、Biに2ビツトで、計17ビツトとなる。
6 bits for Sij, 5 bits for Sij and 1, Sij+2
3 bits for Bi and 2 bits for Bi, for a total of 17 bits.

メモリ量が128にバイ1−になってしまうため、RO
M6’3に予め格納するデータの計算が少々大変ではあ
る。しかし、この方法であれば。
Since the memory amount becomes 128 by 1-, RO
It is a little difficult to calculate the data to be stored in M6'3 in advance. But if this method.

変fn LI像データ演寡のためのハードウェアも簡単
になる。
The hardware for variable fn LI image data performance is also simplified.

次にMTF補正を説明する。Next, MTF correction will be explained.

第1の方法では、倍率対応で補正係数を予め設定してお
く。すなわち、第14a図〜第14d図に示す補正係数
(フィルタ係数)を設定したMTF補正演算式を揃えて
、倍率Rでその1つを特定してMTF補正する。主走査
X方向の変倍画像データ演算をした直後(第1d図のデ
ータセレクタ80XAの出力、第2a図および第2c図
のX方向変倍画他データ演算器aoxnの出力、および
第3a図および第3c図のX方向変倍画像データ演算器
80XCの出力)では、Y方向の変倍処理をしていない
ので、X方向のM T F補正のみを行なう。
In the first method, correction coefficients are set in advance in accordance with the magnification. That is, the MTF correction calculation formulas in which the correction coefficients (filter coefficients) shown in FIGS. 14a to 14d are set are prepared, one of them is specified using the magnification R, and the MTF is corrected. Immediately after the main scanning X direction magnification image data calculation (the output of the data selector 80XA in FIG. 1d, the output of the X direction magnification image and other data calculation unit aoxn in FIGS. 2a and 2c, and the The output of the X-direction magnification image data calculator 80XC in FIG. 3c) does not perform magnification processing in the Y-direction, so only M TF correction in the X-direction is performed.

第13a図に示す補正係数(フィルタ係数)V〜2と、
第13b図に示す画像データ分布から。
A correction coefficient (filter coefficient) V~2 shown in FIG. 13a,
From the image data distribution shown in Figure 13b.

注口画像データOikのMTF補正した値Mikは、M
ik=Y・Oi −1k+V’ Oik −1+l? 
Oik+ + +Z・Oi−1に+X・Oik・・・(
8) となる。これは、 Mik=  V・Oi−+に+W−Oik、t+X/2
・Oik+Y−01に−t  +Z−Oi−t  k+
X/2・Oikであるので、X方向のみのMFT補正で
は。
The MTF-corrected value Mik of the spout image data Oik is M
ik=Y・Oi −1k+V' Oik −1+l?
Oik+ + +Z・Oi−1 +X・Oik...(
8) It becomes. This is, Mik = V・Oi−+ +W−Oik, t+X/2
・Oik+Y-01 -t +Z-Oi-t k+
Since it is X/2・Oik, MFT correction only in the X direction.

Mik=  Vl)ik−1+W・0ik−1+X/2
()ik・・・(9) をMTF補正した値とすればよい。Y方向のみのMFT
補正では、 Mik=Y・Oi−lk+Z・Oi−1k+X/2・O
ik・・・(10) をMFT補正した値とすればよい。
Mik= Vl)ik-1+W・0ik-1+X/2
()ik...(9) may be the MTF-corrected value. MFT in Y direction only
In the correction, Mik=Y・Oi−lk+Z・Oi−1k+X/2・O
ik...(10) may be an MFT-corrected value.

そこで第Ld図に示す第1実施例のX方向14TF補正
演算器110XAでは、第14a図、第14b図、第1
4c図および第14d図に示す補正係数を第(9)式に
代入した、4組のMTF補正演算式を、それぞれ実行し
て、指定倍率Rに対応する演算式で演算した値を、デー
タセレクタ98で摘出するようにしている。
Therefore, in the X direction 14TF correction calculator 110XA of the first embodiment shown in FIG.
The four sets of MTF correction calculation formulas in which the correction coefficients shown in Figures 4c and 14d are substituted into Formula (9) are executed respectively, and the value calculated by the calculation formula corresponding to the specified magnification R is sent to the data selector. I try to have it removed at 98.

第2a図に示す第2実施例および第3a図に示す第3実
施例もこのようにMTF補正をするようにしている。
The second embodiment shown in FIG. 2a and the third embodiment shown in FIG. 3a also perform MTF correction in this manner.

補正係数を変える前述の方法以外に、第2の方法として
、変倍計算時にMTF補正をも加味した)寅算を行なう
。第6図のh (r)は、入力系のMTF補正が100
%であるとした場合の、変倍画像データ演算(上述の■
)で用いる補間関数である。ところが実際のスキャナで
は、読取スピードや、密度によっても変わるが、 10
〜40%程度である。後述する実施例が対象とするスキ
ャナSCRでは約15%くらいになり、この周波数応答
性H(ω)は、近似的に、第15図に示す曲線となる。
In addition to the above-mentioned method of changing the correction coefficient, a second method is to perform a cross calculation (which also takes MTF correction into account when calculating magnification). In Fig. 6, h (r) indicates that the MTF correction of the input system is 100.
%, the variable magnification image data calculation (the above ■
) is the interpolation function used in However, in actual scanners, it varies depending on the reading speed and density, but 10
It is about 40%. The SCR of the scanner targeted by the embodiments described later is about 15%, and this frequency response H(ω) approximately becomes a curve shown in FIG. 15.

この曲線は。This curve is.

−〇、2ω2 11(ω)= e       (Ilhc)=0.1
4)と近似でき、このフーリエ変換により得られる補間
係数h (r)を第16図に示す、このh (r)を用
いて第(3)式でOikを求めることによって、MTF
補正を行った形で変倍処理が行なわれる。ここで。
−〇, 2ω2 11(ω) = e (Ilhc) = 0.1
4), and the interpolation coefficient h(r) obtained by this Fourier transform is shown in FIG.
The magnification processing is performed in a corrected form. here.

■方式で行ったように、  r 1 / P =0.1
/4.1/2t3/4の4つに分け、第(7)式の係数
A−Dを求める。
As in the ■ method, r 1 / P = 0.1
/4.1/2t3/4, and calculate the coefficients A-D of equation (7).

この場合、ハード、ウェアが簡単で計算が容易な計数に
近似する。またこのとき、Sijと立の位置が一致した
場合は第(7)式の項以外に5ij−1の項も必要にな
り、結局。
In this case, the calculation is approximated by simple hardware and easy calculation. Also, at this time, if the positions of Sij and erect coincide, the term 5ij-1 is also required in addition to the term in equation (7).

E−5ij−2+A−Sij−1+B−5ij+C−5
ijゆ1 +I)Sijヤ2=Oik・・・(11) となる。このOikは、X方向の変倍画像データ演算お
よびMFT補正が済んだものであるので、X方向MT[
’補正済変倍画像データMikである。
E-5ij-2+A-Sij-1+B-5ij+C-5
ij 1 + I) Sij 2 = Oik (11). This Oik has undergone the X-direction scaling image data calculation and MFT correction, so the X-direction MT [
'Corrected variable magnification image data Mik.

係数A−Eは次の第3表のようになる。The coefficients A-E are as shown in Table 3 below.

第3表 これは■を実行する、第2表の係数を用いるX方向変倍
画像データ演W、(第3a図の実施例)の場合よりも、
1つ多い係数を用いて、X方向変倍画像データ演算およ
びX方向MTF補正演算を同時に行ない得ることを示し
ている。この第3表に示す係数に基づいたMTF補正を
施こしたX方向変倍画像データ演算は、第3d図に示す
実施例で行われる。
Table 3 This performs ■X-direction scaling image data operation W using the coefficients of Table 2, than in the case of (the example of FIG. 3a),
This shows that the X-direction magnification image data calculation and the X-direction MTF correction calculation can be performed simultaneously by using one more coefficient. The X-direction magnification image data calculation, which has been subjected to MTF correction based on the coefficients shown in Table 3, is performed in the embodiment shown in FIG. 3d.

以上、主走査方向Xの変倍画像データ演算およびM T
 l”補正演算につき説明した。副走査方向Yの変倍画
像データ演算およびMTF補正演算も同様に行なう0両
者の相違は、原画像データを主走査方向Xの並びに着目
して演算するか、副走査方向Yの並びに着目して演算す
るか、の違いである。
The above is the calculation of magnification image data in the main scanning direction
l" correction calculation has been explained. The variable magnification image data calculation in the sub-scanning direction Y and the MTF correction calculation are performed in the same way. The difference between the two is whether the calculation is performed by focusing on the alignment of the original image data in the main scanning direction The difference is whether the calculation is performed focusing on the arrangement in the scanning direction Y.

次に本発明の実施例のハードウェア構成と動作を説明す
る。
Next, the hardware configuration and operation of the embodiment of the present invention will be explained.

「 l−例(I4a  −File図 第1a図に示す第1実施例において、スキャナSCRで
読み取られた原画像データはlライン毎にシェーディン
グ補正回路24に、1ライン分のデータにおいては、パ
ラレル6ビツト(6ビツ1−が1画素の濃度を示すlワ
ードである)単位で、シリアルに与えられ1回路24が
同様なデータ構成および同様な転送形式で、ライン同期
パルスLS’/NCの1周期の間に1ライン分を、ライ
ン中の各ワードはデ−タクロノクDCLKに同期して、
ラッチ25およびデータ分配器26に与える。回路25
の出力が、ある画素のデータSij++であるとき、ラ
ッチ25の出力はその1画素前のデータS1jであり、
これらのデータSijとSIJ+1が、パラレル12ビ
ツトでデータ分配器26に与えられる。
In the first embodiment shown in FIG. 1a, the original image data read by the scanner SCR is sent to the shading correction circuit 24 for every l line, and the data for one line is sent to the parallel 6 One circuit 24 receives one period of the line synchronizing pulse LS'/NC with the same data structure and the same transfer format. Each word in the line is synchronized with the data clock DCLK.
applied to latch 25 and data distributor 26. circuit 25
When the output of the latch 25 is the data Sij++ of a certain pixel, the output of the latch 25 is the data S1j of the previous pixel,
These data Sij and SIJ+1 are applied to the data distributor 26 in parallel 12 bits.

一方、Tフリップフロップ36が、ライン同期パルスL
SvNCの1パルスの到来毎にその出力Ω、qの信号レ
ベルを反転するので、例えば第1ラインのデータが与え
られているときは、データ分配器26は入力12ビツト
をRAMIに与え、かつRAMIは書込みに指定される
。このときデータセレクタ27は入力端Bの12ビツト
データを演算器28に与え、 RAM2は読み出しに指
定される。第2ラインのデータがデータ分配器2Gに与
えられているときは、データ分配器26は入力12ビツ
トをIIAM2に与え、かっIIAM2は浮き込みに指
定されろ。このときデータセレクタ27は入力端Aの1
2ビツトデータを演算器28に与え、RAM1は読み出
しに指定される。
On the other hand, the T flip-flop 36 outputs the line synchronization pulse L
Since the signal levels of the outputs Ω and q are inverted every time one pulse of SvNC arrives, for example, when data on the first line is given, the data distributor 26 gives 12 bits of input to RAMI, and is specified for writing. At this time, the data selector 27 provides the 12-bit data at the input terminal B to the arithmetic unit 28, and the RAM 2 is designated for reading. When the second line of data is provided to data distributor 2G, data distributor 26 provides 12 bits of input to IIAM2, with IIAM2 designated as floating. At this time, the data selector 27 selects 1 of the input terminal A.
2-bit data is given to the arithmetic unit 28, and RAM1 is designated for reading.

このようにして、第nラインの隣接2画素のデータがパ
ラレルにIIAM 1に書込まれ、その間第n−1ライ
ンの隣接2画素のデータがパラレルにRAM2より読み
出される。第「)+1ラインの隣接2画素のデータはパ
ラレルにIIAM2に非込まれ、その間第nラインの隣
接2画素のデータがパラレルにIAMIより読み出され
る。以下同様に、liA旧とIIAM2が、ライン同期
パルスLSYNCで切換えられて、交互に書込むよび読
み出しに指定される。このようにして、第rlラインの
隣接2画素のデータをパラレルに組合せた12ビツトデ
ータをRA旧又はRAM2に書込んでいるときに、第n
−1ラインの隣接2画素のデータをパラレルに組合せた
12ビツトデータが、 IllAM2又はRAMIより
読み出されて演算器28に与えられる。すなわち、演算
器28には1回路24が出力するデータより、ちょうど
1ライン分遅れて、隣接2画素のデータを並べた形で原
画像データが与えられる。このように、データのバッフ
ァメモリRAMI、RAM2への入力に対して、それよ
りのデータの読み出しはちょうど1ライン分遅れる。
In this way, the data of the two adjacent pixels on the n-th line are written in parallel to the IIAM 1, while the data on the two adjacent pixels on the n-1th line are read out from the RAM 2 in parallel. The data of the two adjacent pixels of the +1th line are input into IIAM2 in parallel, while the data of the two adjacent pixels of the nth line are read out from IAMI in parallel.Similarly, the liA old and IIAM2 It is switched by the pulse LSYNC and designated for writing and reading alternately.In this way, 12-bit data, which is a parallel combination of the data of two adjacent pixels of the rl line, is written to the RA old or RAM2. Sometimes, the nth
12-bit data, which is a parallel combination of data of two adjacent pixels of the -1 line, is read out from IllAM2 or RAMI and given to the arithmetic unit 28. That is, the original image data is given to the arithmetic unit 28 in the form of data of two adjacent pixels arranged with a delay of exactly one line from the data outputted by one circuit 24. In this way, with respect to the input of data to the buffer memories RAMI and RAM2, the reading of data therefrom is delayed by exactly one line.

RAMIの読み書きアドレスはサンプリング回路64が
、また、RAM2の読み書きアドレスはサンプリング回
路65が定める。
The sampling circuit 64 determines the RAMI read/write address, and the sampling circuit 65 determines the RAM2 read/write address.

まずサンプリング回路64について説明すると。First, the sampling circuit 64 will be explained.

RAMIを書込みに指定しているときには、信号a=H
,b=Lであり、アンドゲート40がオフ(ゲート開)
であってアップダウンカウンタ39にはカウントパルス
が与えられず、その出力は0を示すものに留まる。アド
レスカウンタ38にはデータクロックDCLKがカウン
トパルスとして与えられるので。
When RAMI is specified for writing, signal a=H
, b=L, and the AND gate 40 is off (gate open)
Therefore, no count pulse is given to the up/down counter 39, and its output remains at 0. Since the data clock DCLK is given to the address counter 38 as a count pulse.

データクロックDCLKの1パルスの到来毎に1カウン
トアツプする。加算器37は、カウンタ39および38
のカランI・データを加算して、和データをRA旧に、
アドレスデータとして与える。これにより、隣接2画素
のデータをパラレルにした12ビツトデータが、データ
クロックDCLKに同期して、順次にRAM 1に書込
まれる。すなわち1ライン分のデータのすべてがIt 
A M 1に書込まれる。
Each time one pulse of the data clock DCLK arrives, the count is increased by one. Adder 37 includes counters 39 and 38
Add the Karan I data of , sum data to RA old,
Give as address data. As a result, 12-bit data obtained by parallelizing the data of two adjacent pixels is sequentially written into the RAM 1 in synchronization with the data clock DCLK. In other words, all of the data for one line is It
Written to AM1.

IIA旧が読み出しに指定されているときには、a=L
、b=1−1であるので、信号CがLのときにアンドゲ
ート110がオン(ゲート開)で、アンプダウンカウン
タ39にデータクロックDCLKがカウントパルスとし
て与えられる。信号d1=tl(縮少)であると7ツプ
カウン1〜し、dl=L(拡大)であるとダウンカウン
トする。信号Cはすでに説明したデータA1であり、カ
ラン1−停止/進行を制御するものである。読み出しの
ときには、カウンタ39および38のカラン1〜値の和
がRAMIの読み出しアドレスとなる。c=Lの場合、
dl=HのときにはDCLKが1パルス現われる毎に、
カウンタ39が1カウントアツプして、 nAMlの読
み出しアドレスが2進み、dl=LのときにはDCl、
にがIパルス現われる毎に、カウンタ39が1カウン1
−ダウンして、RAM lの読み出しアドレスが停止す
ることに注目されたい。
When IIA old is specified for reading, a=L
, b=1-1, when the signal C is L, the AND gate 110 is on (gate open) and the data clock DCLK is given to the amplifier down counter 39 as a count pulse. When the signal d1=tl (reduction), the count is counted down by 7, and when dl=L (enlargement), it is counted down. The signal C is the data A1 already explained and is used to control run 1 - stop/advance. At the time of reading, the sum of the values of the counters 39 and 38 from number 1 becomes the read address of the RAMI. If c=L,
When dl=H, every time one pulse of DCLK appears,
The counter 39 counts up by 1, the read address of nAMl advances by 2, and when dl=L, DCl,
Every time the I pulse appears, the counter 39 counts 1.
- Note that the read address of RAM l stops when it goes down.

c=Aiである。c=Ai.

サンプリング回路65は、64と全く同じ構成であるが
、アンドゲート45に、b信号でなくa信号が加オJろ
点が異る。これは、 IAMIを読み出しくb=u、a
=L)としているときにはIIAM2は書込みとし、I
IA旧を書込み(b = L 、  a = H)とし
ているときにRAM2を読み出しにして、読み出しアド
レスをカウンタ44と・13のカウント値の和とするた
めである。
The sampling circuit 65 has exactly the same configuration as the sampling circuit 64, but differs in that the a signal is added to the AND gate 45 instead of the b signal. This reads IAMI b = u, a
=L), IIAM2 is written and I
This is because when the IA old is written (b = L, a = H), the RAM 2 is read, and the read address is the sum of the count values of the counters 44 and .13.

ここでl\iについて説明する。マイクロプロセッサ3
5が、画像読取スタート指示(STがLからHに変化)
に応答して、指定された変倍率Rx%を読み、これに基
づいて、i=0〜Rx−1のそれぞれにつき、Jiおよ
びR1を演算して、Rx<100(縮少)の場合は、J
i−Ji−1≧2でAiをLとし、Ji−Ji−+≦l
でAiをトIとし、Rx≧100(拡大)の場合は、J
i−Ji−1≧1でAiをHとし、Ji−Ji−、+≦
OでAiをLとし、Ri≦0.5のときは、Biを11
とし、 Ri > 0 、5のときはBiをLとして、
AiおよびBiを、IIAM3 (第1a図)のアドレ
スiにメモリする。このメモリ動作において。
Here, l\i will be explained. microprocessor 3
5 is an image reading start instruction (ST changes from L to H)
In response to this, read the specified magnification ratio Rx%, and based on this, calculate Ji and R1 for each of i=0 to Rx-1, and if Rx<100 (reduction), J
i-Ji-1≧2 and Ai is L, Ji-Ji-+≦l
Let Ai be I, and if Rx≧100 (enlargement), J
When i-Ji-1≧1, Ai is H, Ji-Ji-, +≦
At O, Ai is set to L, and when Ri≦0.5, Bi is set to 11.
and when Ri > 0, 5, Bi is set as L,
Ai and Bi are stored at address i in IIAM3 (FIG. 1a). In this memory operation.

マイクロプロセッサ35は、i=0対応のデータAoお
よびI30を書込む前にオアゲート49に1パルスを与
えて、Rxを示すデータをアドレスカウンタ48にロー
ドする。そしてAoおよびBOを11Aに3に与えると
、オアゲート51に1パルス与えて、アドレスカウンタ
48を1インクレメントして、i=1対応のデータΔ1
およびB1をRAM3に与えて次にオアゲー1−51に
1パルスを与える。このような動作を1=Rxlまで行
なう。これにより。
Before writing the data Ao and I30 corresponding to i=0, the microprocessor 35 applies one pulse to the OR gate 49 to load data indicating Rx into the address counter 48. Then, when Ao and BO are given to 11A at 3, one pulse is given to the OR gate 51, the address counter 48 is incremented by one, and the data Δ1 corresponding to i=1 is given.
and B1 are given to RAM3, and then one pulse is given to or game 1-51. This operation is repeated until 1=Rxl. Due to this.

It A M 3のアドレス0にi二〇対応のデータA
。およびBLIが、アドレスlにi=1対応のデータA
1および111が、・・・アドレスRx−1にt=Rx
−1対応のデータΔtq−sおよびBR−1がjF込ま
れていることになる。
Data A corresponding to i20 at address 0 of It A M 3
. and BLI is data A corresponding to address l with i=1
1 and 111,...at address Rx-1, t=Rx
-1 corresponding data Δtq-s and BR-1 are included in jF.

なお、上述の説明は、副走査方向のRyに対応したAi
およびBiの処理およびそれらのRAM4への書込みに
ついても当てはまる。ただし、RxはRyと、 RAM
3はRAM4と、データクロックはラインクロックと読
み替える。
Note that the above description is based on Ai corresponding to Ry in the sub-scanning direction.
This also applies to the processing of Bi and their writing to RAM 4. However, Rx is Ry and RAM
3 is read as RAM4, and the data clock is read as line clock.

そして画像読取をスキャナSCRに指示して、実際に画
像読取を開始したときには、ライン同期パルスLS’/
NCでアドレスカウンタ48に指定倍率Rx%を示すデ
ータがセットされて、データクロックDCLKが1パル
ス現われる毎にカウンタ48が1インクレメントして、
DCLKが1パルス呪われる毎に読出しアドレスを1づ
つ大きくする形で、i=0対応のデータAOおよびBO
から1=R−1対応のデータA R−1およびThR−
’1が順次に読み出されて、データAiは(コ号Cとし
て、サンプリング回路64および65に与えられ、デー
タ13iは演算器28のデータセレクタ80XAに与え
、られる。
Then, when the image reading is instructed to the scanner SCR and the image reading actually starts, the line synchronization pulse LS'/
Data indicating the specified magnification Rx% is set in the address counter 48 by the NC, and the counter 48 increments by 1 every time one pulse of the data clock DCLK appears.
Data AO and BO corresponding to i=0 are read by incrementing the read address by 1 each time DCLK is cursed by one pulse.
1=R-1 corresponding data A R-1 and ThR-
'1' are sequentially read out, data Ai is given to sampling circuits 64 and 65 as (C), and data 13i is given to data selector 80XA of arithmetic unit 28.

データセレクタ80XAは、Bi=HではSijを。Data selector 80XA selects Sij when Bi=H.

Bi=LではSlj+1を変倍画像データOikとして
出力する。この出力動作はデータクロックDCLKに同
期していLゆ X方向に変倍して得た変倍画像データOikはX方向M
TF補正演算器100XAに与えられて、X方向MTF
補正した変倍画像データM i kが副走査変倍演算器
29に与えられる。回路29で副走査方向Yの変倍処理
およびMTF補正を施されて、2値化回路30および階
調処理器31に与えられる。この実施例では1階調処理
器31は、64種の、濃度対応の階調表現データ分布パ
ターンを有するROMと、64カウントで初期化するサ
イクリックラインカウンタおよび64カウントで初期化
するサイクリックデータクロックカウンタを有するもの
であり、該ROMの読み出しアドレスを、Oik、ライ
ンカウントデータおよびデータクロックカウントデータ
で設定する。すなわちOikでROMの1パターンを特
定し、そのパターンの主走査アドレスをデータクロック
カウンタで、また副走査アドレスをラインカウンタで特
定して、該パターン中の1ピッ1〜画像データを読み出
す。マイクロプロセッサ35が2値化データ出力を指示
している(i=H)ときには、グー1−回路32〜34
が2値化回路30の出力を1階調データ出力を指示して
いる(i=L)ときには階調処理器31の出力を、プリ
ンタPRTに出力する。
When Bi=L, Slj+1 is output as variable-magnification image data Oik. This output operation is synchronized with the data clock DCLK, and the scaled image data Oik obtained by scaling in the L to X directions is
The X-direction MTF is given to the TF correction calculator 100XA.
The corrected magnification image data M i k is provided to the sub-scanning magnification calculator 29 . The image is subjected to magnification processing in the sub-scanning direction Y and MTF correction in the circuit 29, and then provided to the binarization circuit 30 and the gradation processor 31. In this embodiment, the 1-gradation processor 31 includes a ROM having 64 types of gradation expression data distribution patterns corresponding to densities, a cyclic line counter initialized at 64 counts, and cyclic data initialized at 64 counts. It has a clock counter, and the read address of the ROM is set by Oik, line count data, and data clock count data. That is, one pattern in the ROM is specified using Oik, the main scanning address of that pattern is specified using a data clock counter, and the sub-scanning address is specified using a line counter, and image data starting from 1 pin 1 in the pattern is read out. When the microprocessor 35 instructs to output binary data (i=H), the goo 1-circuits 32 to 34
When instructing the output of the binarization circuit 30 to output one gradation data (i=L), the output of the gradation processor 31 is output to the printer PRT.

X方向MTF補正演算器100XAでは、ラッチ81で
変倍画像データ(Oij)をデータクロックDCLKの
1周期分遅延し、またラッチ82で更に1周期分遅延す
る。これにより、第(9)式を実行するための変倍画惟
データ0ik−+およびOikがラッチ82および81
より得られ、ラッチ81の入力側にOik+1が得られ
る。これらのデータはXMTF演算1i100XAに与
えられる。
In the X-direction MTF correction calculation unit 100XA, the latch 81 delays the scaled image data (Oij) by one period of the data clock DCLK, and the latch 82 further delays the data by one period. As a result, the scaling image data 0ik-+ and Oik for executing equation (9) are stored in the latches 82 and 81.
Oik+1 is obtained at the input side of the latch 81. These data are provided to XMTF operation 1i100XA.

XMTF演算W100XA(7)加算器83ニはOik
 (7)全6ビツトを上位に1ビツトシフトしたデータ
(2・0ik)と全6ビツ1−の上位5ビツトのみを摘
出したデータ(112・01k)とが与えられ、加算器
83は5/2・Oikを示すデータを加算器94に与え
る。加算器84は、0ik−1とOikゆlの和を示す
データを補数器90に与える。補数器が−(Oik−H
+Oikや1)を示すデータを加算器94に与える。こ
れにより、加算器94は、第14a図に示す係数を第(
9)式に代入したMTF補正演算値をデータセレクタ9
8の入力端Aに与える。
XMTF operation W100XA (7) Adder 83 is Oik
(7) Data obtained by shifting all 6 bits by 1 bit upwards (2.0ik) and data obtained by extracting only the upper 5 bits of all 6 bits 1- (112.01k) are given, and the adder 83 outputs 5/2 - Provide data indicating Oik to the adder 94. Adder 84 provides data indicating the sum of 0ik-1 and Oikyil to complementer 90. The complementer is -(Oik-H
+Oik or 1) is given to the adder 94. As a result, the adder 94 adds the coefficients shown in FIG.
9) The MTF correction calculation value substituted into the formula is sent to the data selector 9.
8 input terminal A.

加!7器85,86.補数器91および加算器95は、
第14b図に示す係数を第(9)式に代入したMTF補
正演算値をデータセレクタ98の入力端Bに与える。
Add! 7 vessels 85, 86. The complementer 91 and the adder 95 are
The MTF correction calculation value obtained by substituting the coefficients shown in FIG. 14b into equation (9) is applied to the input terminal B of the data selector 98.

加算rt87 、補数器92および加算器96は、第1
4c図に示す係数を第(9)式に代入したMTF補正演
算値をデータセレクタ98の入力端Cに与える。また、
加算器8B、89.補数器93および加算器97は、第
14d図に示す係数を第(9)式に代入したMTF補正
演算値をデータセレクタ98の入力端りに与える。
The addition rt87, the complementer 92 and the adder 96 are
The MTF correction calculation value obtained by substituting the coefficients shown in FIG. 4c into equation (9) is applied to the input terminal C of the data selector 98. Also,
Adders 8B, 89. The complementer 93 and the adder 97 provide an MTF correction calculation value obtained by substituting the coefficients shown in FIG. 14d into equation (9) to the input end of the data selector 98.

一方、マイクロプロセッサ35は9画像読取直1);i
に、18定倍率Rx、Ryをチェックして、Rx、 R
y< 100のときには、A入力を出力に設定する選択
指示データR旧および旧<2をデータセレクタ98およ
び’/MFT演算器100vのデータセレクタに出力し
、100≦Ri、Ry<200のときには、8人力を出
力に設定する選択指示データR111,RR2を同様に
出力し、200≦Ri、Ry<300のときには、C入
力を出力に設定する選択指示データRRi、RR2を同
様に出力し、300≦Ri、Ryのときには、D入力を
出力に設定する選択指示データRR1,RR2を同様に
出力する。
On the other hand, the microprocessor 35 directly reads 9 images 1);i
Then, check 18 constant magnification Rx, Ry, Rx, R
When y<100, the selection instruction data R old and old<2 for setting the A input to output are output to the data selector 98 and the data selector of the '/MFT arithmetic unit 100v, and when 100≦Ri, Ry<200, 8 Selection instruction data R111 and RR2 for setting human power as output are output in the same way, and when 200≦Ri and Ry<300, selection instruction data RRi and RR2 for setting C input as output are output in the same way, and 300≦ At the time of Ri and Ry, selection instruction data RR1 and RR2 for setting the D input to output are similarly output.

これにより、XMTF演算器28では、指定倍率Rxに
応じた、MTF補正係数で演算した変倍画像データMi
kが得られ、副走査変倍演算器29に与えられる。
As a result, the XMTF calculator 28 uses the variable magnification image data Mi calculated using the MTF correction coefficient according to the specified magnification Rx.
k is obtained and given to the sub-scanning magnification calculator 29.

次に副走査変倍演算器29の構成を、第1e図を参照し
て説明する。
Next, the configuration of the sub-scanning magnification calculator 29 will be explained with reference to FIG. 1e.

主走査方向Xの変倍演算およびMTF演算をした変倍画
像データMikは、データクロックDCLKに同期して
サンプリング回路65’/のゲート103に与えられる
The variable-magnification image data Mik subjected to the variable-magnification calculation and MTF calculation in the main scanning direction X is provided to the gate 103 of the sampling circuit 65'/ in synchronization with the data clock DCLK.

RAM4には、 RAM3にAiおよびBiを書込んだ
後に、Ryに基づいて演算したAiおよびBiが苔込ま
れる。そして、@像読取時には、アドレスカウンタ48
’/がラインクロックLS”/NCをカウントして、I
I A M 4の読み出しアドレスを定める。したがっ
て、ここではA1およびBiは、データクロックDCL
KではなくラインクロックLSYNCの1パルス毎(副
走査の進行に合せて)にiを1大きい値にしたもの(A
i。
After Ai and Bi are written in RAM3, Ai and Bi calculated based on Ry are stored in RAM4. At the time of @image reading, the address counter 48
'/ counts the line clock LS'/NC and
Define the IAM 4 read address. Therefore, here A1 and Bi are the data clock DCL
Instead of K, i is increased by 1 for each pulse of line clock LSYNC (according to the progress of sub-scanning) (A
i.

Bi)がRAM4より読み出される。Bi) is read out from RAM4.

サンプリング回路65’/のアドレスカウンタ43Y、
アップダウンカウンタ44Y、アントゲ−1−45Yお
よび加算器42vは、概略で、主走査方向のサンプリン
グ回路65(第1a図)と同様な構成であるが、データ
クロックDCLKではなく、ラインクロックしs’/N
Cをカウントする。すなわち副走査方向のサンプリング
位置Yを定める。アドレスカウンタ43Yのカラン1−
データは、1頁の画像読取開始を始点とした。副走査位
置を示し、加算器42Yの出力データは、副走査方向の
サンプリング位myを示す。両データが合致すると、す
なわち画像読取の副走査位置がサンプリング位置yに合
致すると、比較器102が【I出力をラッチ129とオ
アゲート130に与える。このオアゲー1−130には
うッチ129の出力も与えられるので、オアゲーh13
0は、画像走査ラインNo、がJi(y)のときとJx
+t(y+1)のとき、ゲートオン43号(1■)をデ
ータゲート103.およびアンドゲート108.109
に与える。サンプリング位1iWJi(y)のラインと
その次のラインのデータが到来する間、オアゲート13
0がグー1〜開(3号(11)を発生する点に注目され
たい。
address counter 43Y of sampling circuit 65'/;
The up/down counter 44Y, the anti-games 1-45Y, and the adder 42v have roughly the same configuration as the sampling circuit 65 in the main scanning direction (FIG. 1a), but they use the line clock s' instead of the data clock DCLK. /N
Count C. That is, the sampling position Y in the sub-scanning direction is determined. Call 1- of address counter 43Y
The starting point for the data was the start of image reading of page 1. It indicates the sub-scanning position, and the output data of the adder 42Y indicates the sampling position my in the sub-scanning direction. When both data match, that is, when the sub-scanning position for image reading matches the sampling position y, the comparator 102 provides an [I output to the latch 129 and the OR gate 130. Since the output of Uchi 129 is also given to this or game 1-130, the or game h13
0 is when the image scanning line No. is Ji(y) and Jx
+t(y+1), gate on No. 43 (1■) is connected to data gate 103. and andgate 108.109
give to While the data of the line at sampling position 1iWJi(y) and the next line arrive, the OR gate 13
Note that 0 generates Goo 1~Open (No. 3 (11)).

一方、RAM4から読み出されたデータBiは、ラッチ
131にセットされ、オアゲート132が、2ラインの
区間に渡って同一のデータBiを出力する。
On the other hand, the data Bi read from the RAM 4 is set in the latch 131, and the OR gate 132 outputs the same data Bi over the two line section.

第1d図のデータセレクタ80XAに対応する変イδ演
算器80Yの、R−Sフリップフロップ104は、画像
副走査位置がサンプリング位置Ji (y)になったと
きにHとなる4a sの立上りでセットされ、その次の
LSVNCでIIとなる信号tでリセットされる。すな
わちフリップフロップ104は、副走査位置がサンプリ
ング位置(y)になったときにセットされて、次に副走
査が進むとリセットなる。
The R-S flip-flop 104 of the variable δ calculator 80Y corresponding to the data selector 80XA in FIG. It is set and reset by the signal t which becomes II in the next LSVNC. That is, the flip-flop 104 is set when the sub-scanning position reaches the sampling position (y), and is reset when the sub-scanning proceeds to the next time.

このセットになったときと、続いてリセットになったと
きの2ライン(BS接2ライン)に渡って、オアゲート
132より同一のデータBiが出力されるので、フリッ
プフロップ104の出力Qを受けるアントゲ−1−10
5が、フリップフロップ104が信号Sでセラ1〜され
しかもデータBiが1%(隣接2ラインのうちの、先行
ラインの選択指示)のときにHの出力をオアゲート10
7を通してデータゲート103およびアンドゲート10
8,109に与える。フリップフロップ104の交出力
を受けるアンドゲート106は、フリップフロップ10
4が4n g’ tでリセットされしかもデータBiが
L(隣接2ラインのうちの、後行うインの選択指示)の
ときに11を出力し、オアゲート107を通してデータ
ゲート103およびアンドゲート108゜109に与え
る。ゲート103およびアンドゲート108、10!J
は、データBiがl(のときには1画像副走査がサンプ
リングラインNo、  y (Ji)になったとき、1
ライン区間のみゲート開とされ、データ13iが乙のと
きには、画像副走査がサンプリングラインNo−y (
Ji)の次のラインy+t(jj+1)になったとき、
1ライン区間のみゲート開とされる。このようにして、
データ[3iがI(のときには(4)式で演算されたJ
iで示されるラインNo、  yのデータが1ライン分
メモリ29に格納される。データBiがLのときにはJ
iの次のラインNo、 y +1のデータが1ライン分
メモリ29に格納される。
Since the same data Bi is output from the OR gate 132 across two lines (BS connection two lines) when this is set and when it is subsequently reset, the ant gate that receives the output Q of the flip-flop 104 -1-10
5, when the flip-flop 104 is set to cell 1 through the signal S and the data Bi is 1% (selecting the preceding line among two adjacent lines), the output of H is sent to the OR gate 10.
7 through data gate 103 and AND gate 10
8,109. The AND gate 106 receives the alternating output of the flip-flop 104.
When 4 is reset at 4n g' t and data Bi is L (instruction for selection of later input of two adjacent lines), 11 is outputted and sent through OR gate 107 to data gate 103 and AND gates 108 and 109. give. Gate 103 and AND gate 108, 10! J
When data Bi is l(, one image sub-scanning becomes sampling line No. y (Ji), 1
The gate is opened only in the line section, and when the data 13i is O, the image sub-scanning is performed on the sampling line No-y (
When the next line of Ji) is y+t(jj+1),
Gates will be open only in one line section. In this way,
When data [3i is I(, J calculated by equation (4)
The data of line No. y indicated by i is stored in the memory 29 for one line. When data Bi is L, J
The data of line No. y +1 next to i is stored in the memory 29 for one line.

以上が副走査方向の変倍画像データ演り(この第1’X
Jliii例では、サンプリングラインと次の隣接1ラ
インの、一方のラインの選択)である。
The above is the variable magnification image data performance in the sub-scanning direction (this 1'X
In the Jliii example, this is selection of one of the sampling line and the next adjacent line).

次に副走査方向のMTF補正を説明すると、前述の第(
lO)式で、副走査方向のMTF補正をした変倍画像デ
ータ(すなわちここでは主走査方向および副走査方向の
変倍画像データ設定が終っており、しかも主走査方向の
MTF補正が終っているので。
Next, the MTF correction in the sub-scanning direction will be explained.
The scaled image data has been subjected to MTF correction in the sub-scanning direction using the lO) formula (that is, the setting of the scaled image data in the main-scanning direction and the sub-scanning direction has been completed, and the MTF correction in the main-scanning direction has also been completed). So.

変倍処理およびMTF補正をすべて完了した最終データ
)を得ろ。ラインバッファ81’/および82Yには、
それぞれ、主走査方向および副走査方向の変倍処理およ
び主走査方向のMTF補正を終了した変倍画像データの
1ライン分が格納されている。バッファ82Yの出力画
像データをMi−1にとするとバッファ82’/の出力
画像データは、それより1ライン分後のMikであり、
バッファ82Vの入力端に到来する画像データはMik
より更に1ライン分後のMi+1にである。これらは、
第1d図に示すXMTF演算器100XAと同一構成の
、 YMTF演算器100Yに与えられ、 YMTF演
算器100Vのデー・タセレクタ(98に対応するもの
)には、前述のRR2が与えられる。
Obtain the final data after completing all scaling processing and MTF correction. Line buffer 81'/and 82Y include
Each of them stores one line of variable-magnification image data that has been subjected to variable-magnification processing in the main scanning direction and sub-scanning direction and MTF correction in the main scanning direction. If the output image data of the buffer 82Y is Mi-1, the output image data of the buffer 82'/ is Mik one line later,
The image data arriving at the input end of the buffer 82V is Mik
This is Mi+1 which is one line later. these are,
It is applied to a YMTF operator 100Y having the same configuration as the XMTF operator 100XA shown in FIG. 1d, and the aforementioned RR2 is applied to the data selector (corresponding to 98) of the YMTF operator 100V.

YMTF演算器100Yが、第1d図の、0ik−tを
Mi−1kに、Oik % M ikに、またOik+
tをMiや1kに、置換した形の、4つの式(第10式
に第14s図、第tib図、第14c図および第14d
図の係数を代入した式)の演算をして、その1つの解を
示すデータを出力する。この出力が、主走査方向および
副走査方向の変倍処理を完了し、かつ主走査方向および
副走査方向の変倍処理を完了した、変倍画像データであ
る。
The YMTF calculator 100Y converts 0ik-t into Mi-1k, Oik%Mik, and Oik+ in FIG. 1d.
Four equations (Fig. 14s, tib, 14c, and 14d in equation 10) in which t is replaced with Mi or 1k.
Calculate the equation (by substituting the coefficients in the figure) and output data showing one solution. This output is scaled image data for which scaling processing in the main scanning direction and sub-scanning direction has been completed, and scaling processing in the main scanning direction and sub-scanning direction has been completed.

二二で第1e図の要素と、第1a図および第1d図の要
素との対応を見ると、第1e図の、ラッチ129,13
1.オアゲート130,132゜133、変倍演算器8
0Yおよびデータゲート65Yが、第1a図のサンプリ
ング回路65および第1d図のデータセレクタll0X
Aの組合せでなる主走査方向変倍演算手段、に対応する
、副走査方向変倍演算手段である。第1e図のバッファ
メモリ81Yおよび82Yは、第1d図の、主走査方向
一画素分のデータ遅延を得るラッチ81および82に対
応する。副走査方向一画素分のデータ遅延を得ろライン
バッファメモリである。
Looking at the correspondence between the elements in FIG. 1e and the elements in FIGS. 1a and 1d, we see that the latches 129, 13 in FIG.
1. OR gate 130, 132° 133, variable magnification calculator 8
0Y and the data gate 65Y are connected to the sampling circuit 65 of FIG. 1a and the data selector ll0X of FIG. 1d.
This sub-scanning direction magnification calculation means corresponds to the main scanning direction magnification calculation means formed by the combination A. Buffer memories 81Y and 82Y in FIG. 1e correspond to latches 81 and 82 in FIG. 1d, which obtain a data delay of one pixel in the main scanning direction. It is a line buffer memory that obtains a data delay of one pixel in the sub-scanning direction.

第1e図のYMTF演n N 100Yは、第1d図に
示すXM1’F演算高tooxAと同一構成の、第14
a図〜第14d図に示す第(10)式の演D(4組)を
実行し、その1組の演算解を示すデータを出力する演算
器である。
The YMTF operation n N 100Y in FIG. 1e is the 14th
This is an arithmetic unit that executes the operation D (four sets) of equation (10) shown in Figures a to 14d and outputs data indicating the solution of one set.

次にマイクロプロセッサ35の変ずg処理制御動作を第
1b図および第1c図を参照して説明する。
Next, the process control operation of the microprocessor 35 will be explained with reference to FIGS. 1b and 1c.

まず第1b図を参照する。Reference is first made to FIG. 1b.

電源が投入される(ステップl)とマイクロプロセッサ
35は、入出力ボートを待機状1ぷのレベルに設定し、
内部レジスタ、カウンタ、タイマ、フラグ等をクリアす
る(ステップ2:以下カッコ内ではステップという語を
省略する)。
When the power is turned on (step l), the microprocessor 35 sets the input/output board to the standby state level 1,
Clear internal registers, counters, timers, flags, etc. (Step 2: The word step will be omitted in parentheses below).

次に主走査方向のサンプリング位置情報演算とRAM3
への書込みのため、主走査方向の指定変倍率Rx%を指
示するデータRxを読んでレジスタRsxにメモリしく
3x)、出カポ−h gにLをセットする(4x)。す
なわちアンドゲート50をオフ(ゲート閉)として、ア
ドレスカウンタ48には、カウントパルスが外部から与
えられないように設定する。次に、出力ポートnlに、
レジスタRsxに格納している指定変倍率Rsx%を示
すデータをセットして(5x)、アドレスカウンタ48
Xのプリセットデータ入力端Pに加える。そして、出力
ポートf+に1パルスを出力して(6x)、アドレスカ
ウンタ48XにR,sxをロードする。これによりアド
レスカウンタ48xが初期化(初期アドレス設定)され
たことになる。
Next, the sampling position information calculation in the main scanning direction and RAM3
In order to write data to , the data Rx indicating the specified magnification change ratio Rx% in the main scanning direction is read and stored in the register Rsx (3x), and L is set in the output capo-hg (4x). That is, the AND gate 50 is turned off (gate closed) and the address counter 48 is set so that no count pulse is applied from the outside. Next, to the output port nl,
Set the data indicating the specified magnification change ratio Rsx% stored in the register Rsx (5x), and then register the address counter 48
Add to the preset data input terminal P of X. Then, one pulse is output to the output port f+ (6x), and R and sx are loaded into the address counter 48X. This means that the address counter 48x has been initialized (initial address setting).

次にマイクロプロセッサ35は、ItWiを書込み指示
レベルに設定してlIAM3を書込みに設定しく7x)
 、内部アドレスレジスタlの内容を0を示すものに設
定(レジスタクリア)する(8x)。これにより前述の
i二〇を設定したことになる。次にレジスタjをクリア
し、レジスタB1およびAiにtlをセラ1−する(9
x)。そしてRAM3にレジスタBiとAiの内容Bl
およびAiをメモリする(10x)。この段階では、i
=0であるので、 RAM3のアドレスRに、BO=I
IおよびA。=IIが書込まれたことになる。次にレジ
スタiの内容を1インクレメントする(llx)にれに
よりiの値が前より1大きい数値に変更されたことにな
る。次に、iが2以上(この段階では2)であるので、
100i/Rsx = Ji + Riなる整数Jiお
よび小数Riを演算しく13x)、前回演算値レジスタ
j1−1に今回演算値レジスタjiの内容を移して(1
4ax) 、今回演算値レジスタjiに、整数J1をメ
モリしく14bx)、次にステップ15x〜17xで、
Biを設定し、ステップ18x〜25xでAlを設定す
る。そして出カポ−1−h1に1パルスを出力して(2
2x)、RAM3の書込みアドレスを1インクレメント
して、書込みアドレスを進めて、ステップ10xでRA
M3に、前記設定したBiおよびA1を書込む。以下同
様に、iを1大きい数値に変更しく1lx)、 Jiお
よびRiを演算しく13x)、それらとRsxに基づい
てBiおよびA1を設定しく15x〜25x)、RAM
3の書込みアドレスを更新して(22x)、Biおよび
AiをRAM3に書込む(10x)。このようにして、
1=Rsx+1になると、i=0〜Rsx−1のそれぞ
れに対応するBiおよびA1をすべてlilAM3に書
込んだことになるので、ステップ12xから第1C図の
ステップ60に進む。
Next, the microprocessor 35 sets ItWi to the write instruction level and sets lIAM3 to write (7x).
, sets the contents of internal address register l to indicate 0 (register clear) (8x). This means that the above-mentioned i20 has been set. Next, clear register j and set tl to register B1 and Ai (9
x). Then, the contents Bl of registers Bi and Ai are stored in RAM3.
and Ai (10x). At this stage, i
= 0, so BO=I at address R of RAM3.
I and A. =II has been written. Next, the contents of register i are incremented by 1 (llx), thereby changing the value of i to a value that is 1 larger than before. Next, since i is 2 or more (2 at this stage),
Compute the integer Ji and decimal Ri such as 100i/Rsx = Ji + Ri (13x), move the contents of the current computed value register ji to the previously computed value register j1-1, and
4ax), the integer J1 is stored in the calculation value register ji this time (14bx), and then in steps 15x to 17x,
Bi is set, and Al is set in steps 18x to 25x. Then output 1 pulse to output capo-1-h1 (2
2x), increment the write address of RAM3 by 1, advance the write address, and write the RAM3 at step 10x.
Write the set Bi and A1 into M3. Similarly, change i to a larger number (1lx), calculate Ji and Ri (13x), set Bi and A1 based on them and Rsx (15x to 25x), and set RAM
The write address of 3 is updated (22x), and Bi and Ai are written to RAM 3 (10x). In this way,
When 1=Rsx+1, all Bi and A1 corresponding to i=0 to Rsx-1 have been written to lilAM3, so the process advances from step 12x to step 60 in FIG. 1C.

ステップ60は、ステップ3x〜25xと同様なステッ
プで構成されるが、それらのステップ3x〜25xの中
の、RsxをRsyと、nlをn2と、flをf2と、
IIAM3をIIAM4と、hlをA2と、読み替えた
ものである。すなわち、副走査方向の指定変倍率Ryに
基づいてサンプリング位置情報Aiおよび変倍演算情報
Biを演算して、これらの情報をi対応でRAM4に書
込む。そしてステップ60から画像読取時の変倍処理制
御に進む。なお、ステップ8xから9xに進んだときに
、RAM3のアドレス0にAO=11を書込んでいるが
、これはJi−Ji−1に正確に対応しない。なぜなら
、この段階ではJi−1が不明であるからである。しか
し、iをRsx−1としたときには、次(i = Rs
x)にカウンタ48XのRsxカウントオーバを示すキ
ャリーでカウンタ48Xを初期化してiを0に戻すので
、i=0と1=Rsxとは同じである。そこで、i=0
におけるAnの演算を1==Rsxのものに置換し得る
。そして1=Rsx−1のときのJ8−1をJl−1と
して用イtBる。そこで、ステップ12xでは、1=R
sxまで、AiおよびBiの演算とlIAM3へのメモ
リを完了したかを見ている。すなわちi=0〜Rsx−
1までAi、Biをメモリすればよいが、更に1=Rs
x(これはi=Oと同義)でもAi、Biを演算しメモ
リするようにしている。この1=Rsxでは、カウンタ
48XがRsxをカウントオーバして、 RAM3の書
込アドレスをOにしているので、ステップ9xで書込ん
だB。およびA、が、BR$X、ΔR5Xに書替えられ
ることになる。これにより、ステップ9x。
Step 60 is composed of steps similar to steps 3x to 25x, but in those steps 3x to 25x, Rsx is set to Rsy, nl is set to n2, fl is set to f2,
IIAM3 is read as IIAM4, and hl is read as A2. That is, sampling position information Ai and scaling calculation information Bi are calculated based on the designated scaling factor Ry in the sub-scanning direction, and these pieces of information are written in the RAM 4 in correspondence with i. Then, the process proceeds from step 60 to control of the variable magnification process during image reading. Note that when proceeding from step 8x to step 9x, AO=11 is written to address 0 of the RAM 3, but this does not exactly correspond to Ji-Ji-1. This is because Ji-1 is unknown at this stage. However, when i is Rsx-1, the following (i = Rs
x), the counter 48X is initialized with a carry indicating that the Rsx count of the counter 48X has exceeded, and i is returned to 0, so i=0 and 1=Rsx are the same. Therefore, i=0
The operation of An in can be replaced with that of 1==Rsx. Then, J8-1 when 1=Rsx-1 is used as Jl-1. Therefore, in step 12x, 1=R
It is checked whether the calculation of Ai and Bi and the memory to lIAM3 have been completed up to sx. That is, i=0~Rsx-
It is sufficient to memorize Ai and Bi up to 1, but further 1=Rs
Even for x (which has the same meaning as i=O), Ai and Bi are calculated and stored in memory. When 1=Rsx, the counter 48X overcounts Rsx and sets the write address of RAM3 to O, so B is written in step 9x. and A will be rewritten to BR$X and ΔR5X. This leads to step 9x.

10xで書込んだAQが正確な値に更新されたことにな
る。
This means that the AQ written at 10x has been updated to an accurate value.

第1c図において、ステップ60から画像読取時の変倍
処理制御に進むと、画像読取スタート指示信号STが、
読取開始を指示すItになるのを待ち(26)、読取開
始指示が到来しない間は、入力されている倍率指示デー
タRx、Ryを読んでそれがレジスタRsx、Rsyに
格納している値と同じか否かをチェックする(27)、
同じでないと、指定倍率RX又はRyが変更されたこと
になるので、第1b図のステップ3xに戻って、また同
様に、新しい指定倍率Rxに対応した、データBiおよ
びAiの演算とI(A M 3への書込み、ならびにR
yに対応した、データB1およびAiの鼠算とRAM4
への書込みを行なう。
In FIG. 1c, when the process proceeds from step 60 to variable magnification processing control during image reading, the image reading start instruction signal ST is
It waits for It, which instructs to start reading (26), and while the reading start instruction does not arrive, it reads the input magnification instruction data Rx, Ry and uses it as the value stored in the registers Rsx, Rsy. Check whether they are the same (27),
If they are not the same, it means that the designated magnification RX or Ry has been changed, so return to step 3x in FIG. 1b and similarly calculate the data Bi and Ai and I(A Write to M3, as well as R
Data B1 and Ai calculation and RAM4 corresponding to y
Write to.

画像読取スタート指示信号5TfJ%Hになると、スキ
ャナSCRがレディであるかをチェックしく28)、プ
リンタPRTがレディであるかをチェックして(29)
、いずれかがレディでないと、両者がレディになるのを
待つ。
When the image reading start instruction signal becomes 5TfJ%H, check whether the scanner SCR is ready (28), and check whether the printer PRT is ready (29).
, if one is not ready, wait for both to become ready.

スキャナSCRおよびプリンタPRT共にレディである
と、2値画像処理(ドキュメント二文章画像処理)が指
示されている場合には出力ポートiに11をセットして
(31)2値化回路30の出力をプリンタPr1Tに与
えるようにゲート回路32〜34を設定し1階調画像処
理(写真画像処理)が指示されている場合には出力ポー
ト1にLをセットして(32)階調処理器31の出力を
プリンタI’R丁に与えるようにゲート回路32〜34
を設定する。
When both the scanner SCR and the printer PRT are ready, if binary image processing (document two-sentence image processing) is instructed, set 11 to the output port i (31) and output the output from the binarization circuit 30. The gate circuits 32 to 34 are set so as to be applied to the printer Pr1T, and when 1-gradation image processing (photographic image processing) is instructed, L is set to the output port 1 (32). Gate circuits 32 to 34 provide output to the printer I'R.
Set.

次にマイクロプロセッサ35は、指定変倍率レジスタR
3Xの内容を参照して、縮少が指定されているか拡大が
指定されているかをチェックしく33x)、縮少が指定
されているときには出力ポートd1に11をセットして
(34x)、アップダウンカウンタ39および44をア
ップカウントに設定する。Rsxにより拡大が指定され
ているときには出力ポートdiにLをセットして(35
)、アップダウンカウンタ39および44をダウンカウ
ントに設定する。
Next, the microprocessor 35 selects a specified magnification ratio register R.
Refer to the contents of 3X and check whether reduction or enlargement is specified (33x), and if reduction is specified, set 11 to output port d1 (34x), and use up/down. Counters 39 and 44 are set to count up. When expansion is specified by Rsx, set L to the output port di (35
), the up/down counters 39 and 44 are set to count down.

続いて、指定倍率Rxが、Rx<100゜100≦Ri
 < 200 、200≦Ri<300および300≦
Riのいずれの範囲であるかをチェックしく51x、5
3x。
Next, the designated magnification Rx is Rx<100°100≦Ri
<200, 200≦Ri<300 and 300≦
Please check which range of Ri is 51x, 5
3x.

55x、57x)、 Rx<100のときには、XMT
F演算器100XA(のデータセレクタ98)への選択
指示信号Rittを、へ入力を出力に設定するもの(第
14a図の係数に基づいた演算値の出力を指示するもの
)に設定しく52x)、100≦Ri(200のときに
は、XMTF演算器100XA(のデータセレクタ98
)への選択指示信号RRIを、8入力を出力に設定する
もの(第14b図の係数に基づいた演算値の出力を指示
するもの)に設定しく54x)、200≦RX < 3
00のときには、XMTF演算器100XA(のデータ
セレクタ98)への選択指示信号RRIを、C入力を出
力に設定するもの(第14c図の係数に基づいた演算値
の出力を指示するもの)に設定しく56x)、300≦
Riのときには、XMTF演算器100XA(のデータ
セレクタ98)への選択指示信号RRIを、D入力を出
力に設定するもの(第14d図の係数に基づいた演算値
の出力を指示するもの)に設定する(57x)。そして
RAM3を読み出し12セツトする(36x)。
55x, 57x), when Rx<100, XMT
Set the selection instruction signal Ritt to (the data selector 98 of) the F calculation unit 100XA to one that sets the input to the output (one that instructs the output of the calculated value based on the coefficients in FIG. 14a); 100≦Ri (when 200, the data selector 98 of the XMTF arithmetic unit 100XA)
) to set the 8 inputs as outputs (instructing the output of the calculated value based on the coefficients in FIG. 14b) (54x), 200≦RX<3
When the value is 00, the selection instruction signal RRI to the XMTF calculator 100XA (data selector 98) is set to set the C input to the output (instructs to output the calculated value based on the coefficients in FIG. 14c). 56x), 300≦
When Ri, the selection instruction signal RRI to the XMTF calculator 100XA (data selector 98) is set to set the D input to the output (instructs to output the calculated value based on the coefficients in FIG. 14d). (57x). Then, the RAM 3 is read and set to 12 (36x).

また、ステップ70で5これと同様なロジックにより、
Ryに関しても縮少か拡大かを判定して。
Also, in step 70, 5, by logic similar to this,
Regarding Ry, determine whether it is reduced or enlarged.

カウンタ/14Yのアップ/ダウンを指定し、Rsyの
範囲を検出して、それに対応して、信号RR2を設定す
る。ステップ70は、ステップ33x〜35x、51x
〜57xおよび36xと同様なステップで構成される。
The up/down of the counter /14Y is specified, the range of Rsy is detected, and the signal RR2 is set accordingly. Step 70 includes steps 33x to 35x, 51x
~ Consists of steps similar to 57x and 36x.

ただし、これらのステップ33x〜35x、51x〜5
7におよび36xの内容の、RsxをRsyと、dlを
dlと、またR A M 3をRAM4と読み替えたも
のである。
However, these steps 33x to 35x, 51x to 5
7 and 36x, Rsx is read as Rsy, dl is read as dl, and RAM 3 is read as RAM4.

次に出力ポートgにHをセラ1へして(37)、アンド
ゲート50をオン(ゲート開)とする。次にスキャナS
CRおよびプリンタPRTへHレベルのスタート信号A
TSを与える(38)。
Next, H is applied to the output port g to the cell 1 (37), and the AND gate 50 is turned on (gate open). Next, scanner S
H level start signal A to CR and printer PRT
Give TS (38).

ATSが14になったのに応答してスキャナSCRが画
像読取を開始し、ライン同期パルスLSYNC、データ
クロックDCLKおよび原画像データを、ライン単位で
順次にシリアルに出力し、例えば奇数番ラインのデータ
がRAMI&:?込まれ、偶数番ラインのデータがRA
M2に書込まれ、奇数番ラインのデータが11AMIに
書込まれているときに偶数番ラインのデータがII A
 M 2より読み出され、偶数番ラインのデータがIt
 A M 2に書込まれているときに奇数番ラインのデ
ータがRAMIより読み出される。すなわち第7図に示
す形で原画像データがラインバッファメモリRAMI、
RAM2に書込まれ、またそれから読み出される。
In response to the ATS becoming 14, the scanner SCR starts image reading and serially outputs the line synchronization pulse LSYNC, data clock DCLK, and original image data line by line. is RAMI&:? The data on even numbered lines is transferred to RA.
When the data of the odd numbered line is written to M2 and the data of the even numbered line is written to II A
The data of the even numbered line is read from M2.
While data is being written to AM2, odd numbered line data is read from RAMI. That is, the original image data is stored in the line buffer memory RAMI, as shown in FIG.
It is written to and read from RAM2.

この画像読取の間、アドレスカウンタ48Xが、ライン
同期パルスLS’/NCおよびそれ自身が発生するカウ
ントオーバ信号(指定倍率Rsx%の数値のカウントを
する毎に発せられる)により初期化され、それからデー
タクロックDCLKをカウントアツプする。これにより
アドレスカウンタ48XがRAM3に4えるアドレスは
、ライン同期パルスLSYNCが1パルス到来するとO
になり、次にDCLKが1パルス現われる毎に順次に1
大きい値になり、最大数Rsx  1の次には、アドレ
スカウンタ48Xのカウントオーバに次には、アドレス
カウンタ48Xのカウントオーバによる初期化でまた0
になり、またDCLKの到来毎に1大きい値になる。ラ
イン同期パルスLSYNCの一周期の間にこれが繰り返
えされる。
During this image reading, the address counter 48X is initialized by the line synchronization pulse LS'/NC and its own generated count-over signal (issued every time it counts the specified magnification Rsx%), and then the address counter 48X Count up the clock DCLK. As a result, the address that the address counter 48X adds to the RAM 3 becomes O when one line synchronization pulse LSYNC arrives.
, and then 1 every time DCLK appears one pulse.
It becomes a large value, and after the maximum number Rsx 1, the address counter 48X counts over, and then the address counter 48X counts over and initializes to 0 again.
The value becomes larger by 1 each time DCLK arrives. This is repeated during one period of the line synchronization pulse LSYNC.

RAM3が読み出しに設定されているので、Aiおよび
Bi、i = O〜Rx −1、がi = Oから順次
にRAM3より読み出され、1=Rx−1まで読み出さ
れるとまたi=0から読み出されるという具合に、DC
I、Kに同期して順次に読み出され、Aiは信号Cとし
てインバータ41および4Gに、Biはデータセレクタ
28aに与えられる。
Since RAM3 is set to read, Ai and Bi, i = O to Rx -1, are read out from RAM3 sequentially from i = O, and when 1 = Rx - 1 is read out, they are read out again from i = 0. DC
It is read out sequentially in synchronization with I and K, and Ai is given as signal C to inverters 41 and 4G, and Bi is given to data selector 28a.

c = Ai= 11 (縮少時でJi−Ji−t≦1
、拡大時Ji−Ji−1≧1)のときには、アントゲ−
1−40゜45がオフ(ゲート閉)になるのでカウンタ
39.44のカウント値が動かず、原画像データのサン
プリングピッチ(P=1)と同じサンプリングピッチで
変倍画像データがサンプリングされる。この期間では、
画作倍率はlである。すなわち変倍画像データは。
c = Ai = 11 (Ji-Ji-t≦1 at the time of reduction
, when enlarged Ji-Ji-1≧1), the animation
1-40° 45 is turned off (gate closed), the count values of the counters 39 and 44 do not change, and the scaled image data is sampled at the same sampling pitch as the original image data (P=1). In this period,
The image magnification is l. In other words, the variable magnification image data.

原画像データとなる(間引いたり、あるいは2度書きし
たりしたものでない)。
This is the original image data (not thinned out or written twice).

c=Ai=L(縮少時でJi  Ji−1≧2.拡大時
J i −J i−s <1)の場合には、縮少のとき
ではカウンタ39,44がアップカウントであるので、
アドレスカウンタ38 、43がカラン1−アップする
のと同じくカウンタ39./14がカウントアツプする
ので、DCI、にの1パルスの到来でRAMI、2の読
出しアドレスが2大きくなり、原画像データを1画素飛
びにサンプリングすることになる。拡大のときではカウ
ンタ3り、33がダウンカウントであるので、アドレス
カウンタ38.43がカラン1−アップするのと逆にカ
ウンタ39,44がカウントダウンするので、DCLK
が到来してもRAMI、2の読み出しアドレスは動かず
、原画像データの同一画素のデータを縁り返してサンプ
リングすることになる。
In the case of c=Ai=L (Ji Ji-1≧2 at the time of reduction; J i -J i-s <1 at the time of expansion), the counters 39 and 44 are up-counting at the time of reduction, so
As the address counters 38 and 43 increment by one, the counter 39. Since /14 counts up, the arrival of one pulse at DCI increases the read address of RAMI2 by two, and the original image data is sampled every pixel. When enlarging, counters 3 and 33 count down, so counters 39 and 44 count down, contrary to address counters 38 and 43 incrementing by 1, so DCLK
Even when , the read address of RAMI2 does not change, and the data of the same pixel of the original image data is sampled in reverse.

以上のサンプリング動作により、指定倍率Rxに対応し
たピッチで原画像データがサンプリングされ、Bi=1
1 (Ri≦0.5)のときには、データセレクタ80
XAが、サンプリングした原画像ぐデータのSijをO
ikとし、Bi=L (Ri>0.5)のときには、デ
ータセレクタ80XAが、サンプリングした原画像デー
タのSlj+lをOikとして出力する。このようにサ
ンプリングされた原画像データが、XMTF演算器11
0XAで主走査方向のMTF補正される。
Through the above sampling operation, the original image data is sampled at a pitch corresponding to the specified magnification Rx, and Bi=1
1 (Ri≦0.5), the data selector 80
XA converts the sampled original image data Sij to O
ik, and when Bi=L (Ri>0.5), the data selector 80XA outputs the sampled original image data Slj+l as Oik. The original image data sampled in this way is sent to the XMTF operator 11.
The MTF in the main scanning direction is corrected at 0XA.

第1e図に示す副走査変倍演算器29においては、上述
のRAM3の読み出しを、データクロックDCLKのカ
ウントではなく、ラインクロックLSYNCのカウント
にした形で、 RAM4より、データAiおよびBiが
読み出されて、AiおよびBiがサンプリング回路65
’/に与えられる。これにより、副走査方向においても
、上述の主走査方向のサンプリングと同様に画像データ
(この場合、主走査方向の変倍処理をした中間データ)
のサンプリングが行われる。そしてサンプリングされた
画像データが、’/MTF演算器110Yで副走査方向
のMTF補正される。なお、このYMTF演算器110
Yの、データセレクタ(98に対応するもの)には、前
記データRI12が与えられる。
In the sub-scanning magnification calculator 29 shown in FIG. 1e, the data Ai and Bi are read out from the RAM 4 in such a way that the readout of the RAM 3 is performed by counting the line clock LSYNC instead of counting the data clock DCLK. Ai and Bi are output to the sampling circuit 65.
'/ is given. As a result, in the sub-scanning direction, image data (in this case, intermediate data that has been subjected to magnification processing in the main-scanning direction) is obtained in the same way as the sampling in the main-scanning direction described above.
sampling is performed. Then, the sampled image data is subjected to MTF correction in the sub-scanning direction by the '/MTF calculator 110Y. Note that this YMTF calculator 110
The data RI12 is given to the data selector (corresponding to 98) of Y.

このように、副走査変倍演算器29では、rlAM4に
読み込んでいる、Ry対応のデータAiとBiに基づい
て画像データのサンプリングおよび変倍画像データの演
算をし、かつ、Ryに対応したデータnR2に基づいて
阿τF補正をするので、主走査方向の変倍百偉データ演
算およびMTF補正と、副走査方向の変倍画像データ演
算およびMTF補正とは、それぞれ独立であり、Rxと
Ryとが異っていても、それぞれ、RxおよびRyに適
合だ形で行なわれる。
In this way, the sub-scanning scaling calculator 29 performs sampling of image data and calculation of scaling image data based on the Ry-corresponding data Ai and Bi read into the rlAM4, and Since the AτF correction is performed based on nR2, the variable-magnification Baiwei data calculation and MTF correction in the main scanning direction and the variable-magnification image data calculation and MTF correction in the sub-scanning direction are independent, and Rx and Ry Even if they are different, they are performed in a manner that is compatible with Rx and Ry, respectively.

以上のように、第1a図に示す第1実施例では。As described above, in the first embodiment shown in FIG. 1a.

前述の■の方法で変倍画像データを設定するようにして
いる。
The variable-magnification image data is set using the method described in (2) above.

J2−1°  夢、2a  および 2b第2′A施例
の、主要部の、主に第1実施例と異る構成部分を第2a
図に示し、また第1実施例の処理制御動作と異る部分の
みを第2b図に示す。
J2-1° Dream, 2a and 2b The main parts of the 2'A embodiment, which are mainly different from the first embodiment, are shown in 2a.
FIG. 2b shows only the parts that are different from the processing control operation of the first embodiment.

この第2実施例では、主走査変倍演算器28が、主走査
方向変倍画像データ演算器aoxnと、第1d図に示す
主走査方向MTF補正演算器110XAと同一構成の主
走査方向MTF補正演算器110Xn(図示せず)で構
成されている。この第2実施例の、副走査変倍演算器(
図示せず)は、それぞれが1ライン分の画像データを格
納する2個のラインバッファ(図示せず)と、aoxn
と同一構成の演算器(図示せず)でなる副走査方向変倍
演算器;および、第1e図に示すラインバy 7781
Y、82YおよびYMFTWL算器100’/の組合せ
と同一構成の副走査方向MTF補正演算器(図示せず)
で構成されている。要約すると、第2実施例は、変倍処
理演算器が第1実施例と異るのみである。そこで、第2
実施例の変倍処理演算器をニーで詳細に説明する。
In this second embodiment, the main scanning magnification calculation unit 28 includes a main scanning direction magnification image data calculation unit aoxn and a main scanning direction MTF correction having the same configuration as the main scanning direction MTF correction calculation unit 110XA shown in FIG. 1d. It is composed of a computing unit 110Xn (not shown). The sub-scanning magnification calculator (
(not shown) includes two line buffers (not shown) each storing one line of image data, and aoxn
a sub-scanning direction magnification computing unit consisting of a computing unit (not shown) having the same configuration as; and a line by 7781 shown in FIG.
A sub-scanning direction MTF correction calculator (not shown) having the same configuration as the combination of Y, 82Y and YMFTWL calculator 100'/
It consists of To summarize, the second embodiment differs from the first embodiment only in the scaling processing arithmetic unit. Therefore, the second
The scaling processing computing unit of the embodiment will be explained in detail.

第2a図において、主走査方向変倍画像データ演算器a
oxnは、前述の(■で変倍画像データOikを演算す
る。
In FIG. 2a, the main scanning direction variable magnification image data calculator a
oxn calculates the scaled image data Oik using (■) described above.

すなわち、第1表の4種の係数Aと画像データ5ij(
0〜63)とを乗算したデータがデータセレクタ28b
の入力ポートa = dに印加される。なおこのa ”
 dは第1表の右欄のa −dにそれぞれ対応し、aに
はSijの全ビットすなわちSijが、bには、Sij
の上位5ビツトと上位4ビツトのデータの和を示すデー
タが、CにはSijの上位5ビツトすなわち1/2Si
jが、dにはSijの上位4ビツトすなわち1/4 S
 ijが与えられる。
That is, the four types of coefficients A in Table 1 and the image data 5ij (
0 to 63) is multiplied by the data selector 28b.
is applied to the input port a = d of. Furthermore, this a”
d corresponds to a - d in the right column of Table 1, respectively, where a contains all bits of Sij, that is, Sij, and b contains Sij
The data indicating the sum of the upper 5 bits of Sij and the upper 4 bits of Sij is stored in C, that is, 1/2Si
j is the upper 4 bits of Sij, 1/4 S
ij is given.

また、第1表の4種の係数Bと画像データSLj+1と
を乗算したデータがデータセレクタ28cの人力ボート
a −dに印加される。なおこのa = dも第1表の
右欄のa = dのそれぞれに対応し、aには0を示す
データが、bにはSIJ+1の上位4ビツトすなわちl
/4Sij+tが、CにはSjJ+1の上位5ビツトす
なわち1/2Slj+1が、dにはSlj+1の上位5
ビツトと上位4ビツトのデータの和を示すデータすなわ
ち3/4 S ijや1が与えられる。
Further, data obtained by multiplying the four types of coefficients B in Table 1 by the image data SLj+1 is applied to the manual boats a to d of the data selector 28c. Note that this a = d also corresponds to each of a = d in the right column of Table 1, where a has data indicating 0, and b has data indicating 0, that is, l
/4Sij+t, C has the upper 5 bits of SjJ+1, that is 1/2Slj+1, and d has the upper 5 bits of Slj+1.
Data indicating the sum of the data of the bit and the upper 4 bits, ie, 3/4 S ij or 1 is given.

データセレクタ28bおよび28cの出力AおよびBは
、それらに与えられる信号Biによって、入力a〜dの
いずれか1つとされ、Biが0を示すデータのときには
、入力aが出力A、Bとされ、Biが1を示すデータの
ときには、入力すが出力A、 Bとされ、Biが2を示
すデータのときには、入力Cが出力Δ、Bとされ、Bi
が3を示すデータのときには、入力dが出力A、Bとさ
れる。このBiの値は第1表に示されるものである。
The outputs A and B of the data selectors 28b and 28c are set to one of the inputs a to d by the signal Bi applied thereto, and when Bi is data indicating 0, the input a is set to the outputs A and B, When Bi is data indicating 1, the input is set to outputs A and B, and when Bi is data indicating 2, input C is set to outputs Δ and B, and Bi
When the data indicates 3, the input d becomes the outputs A and B. The values of Bi are shown in Table 1.

加算器28dが、データセレクタ28bの出力Aとデー
タセレクタ28cの出力Bの和を示すデータを変倍画像
データOikとして出力する。
The adder 28d outputs data indicating the sum of the output A of the data selector 28b and the output B of the data selector 28c as variable image data Oik.

データセレクタ28bおよび28cの選択データBiは
RAM3に、画像読取前に予め読み込まれているもので
ある。
The selection data Bi of the data selectors 28b and 28c is previously read into the RAM 3 before image reading.

副走査方向変倍画像データ演算器(図示せず)は。A sub-scanning direction variable magnification image data calculator (not shown).

演算器80XBの入方端に、ラインバッファを2組シリ
アルに接続し、それらのバッファの出力をパラレルにa
oxnに人力する構成のものである。
Two sets of line buffers are serially connected to the input end of the arithmetic unit 80XB, and the outputs of these buffers are connected in parallel.
This is a configuration in which the oxn is operated manually.

この第2実施例(第2a図)のマイクロプロセッサ35
の変倍処理制御動作は、第tb図および第1c図に示す
第1実施例のものと略同様であるが、第1b図のステッ
プ15x=17xの、■による変倍画像データ演算のた
めのデータBi設定の代りに。
Microprocessor 35 of this second embodiment (FIG. 2a)
The scaling processing control operation is almost the same as that of the first embodiment shown in FIG. tb and FIG. Instead of data Bi settings.

第2h図に示すステップ41x〜50xの如く、■によ
る変倍画像データ演算のためのデータBi(第1表のも
の)の設定をするようにしている。すなわち。
As shown in steps 41x to 50x shown in FIG. 2h, data Bi (from Table 1) for the variable-magnification image data calculation according to (2) is set. Namely.

iのそれぞれの値で演算した小数Riが。The decimal number Ri calculated with each value of i is.

0≦Ri<1/8.1/8≦Ri<3/8.3/8≦R
i<5/8゜578≦Ri<7/8.および、7/8≦
Ri (1、のいずれにあるかをステップ41x〜47
xでチェックして、0≦Ri<1/8のときはレジスタ
BiにOを示すデータをセットしく42x)、1/8≦
Ri(3/8のときはレジスタBiに1を示すデータを
セットしく44x)、3/8≦Ri<5/8のときはレ
ジスタBiに2を示すデータをセラh シ(46x)、
578≦Ri<7/8のときはレジスタBiに3を示す
データをセットする(48x)。
0≦Ri<1/8.1/8≦Ri<3/8.3/8≦R
i<5/8°578≦Ri<7/8. and 7/8≦
Ri (1), in steps 41x to 47
Check with x, and if 0≦Ri<1/8, set data indicating O in register Bi (42x), 1/8≦
Ri (when 3/8, set data indicating 1 in register Bi (44x), when 3/8≦Ri<5/8, set data indicating 2 in register Bi (46x),
When 578≦Ri<7/8, data indicating 3 is set in register Bi (48x).

778≦R1〈1のときには、R1を1に切り上げて。When 778≦R1<1, round R1 up to 1.

レジスタJの内容を1大きい数に更新して(49x)、
レジスタB1にはOをセットする。このように設定した
Biは、第1実施例と同じく、Δ1と共にRAM3に1
!二二込まれる。この他の変倍処理制御動作は、第1実
施例と同様であり、画像読取中には、このように設定し
たデータB1がAiと共にIIAM3より読み出されて
データセレクタ28bおよび28cに与えられる。これ
により、加算器28dの出力である変倍画像データOi
kは、前述の(6)式で演算したものとなる。
Update the contents of register J to a number larger by 1 (49x),
Set O in register B1. Bi set in this way is set as 1 in RAM3 along with Δ1 as in the first embodiment.
! Two or two are thrown in. Other scaling control operations are the same as in the first embodiment, and during image reading, data B1 set in this way is read out from IIAM 3 together with Ai and given to data selectors 28b and 28c. As a result, the scaled image data Oi which is the output of the adder 28d
k is calculated using the above-mentioned equation (6).

以上に説明した処理はIoyに対しても同様である。The processing described above is the same for Ioy.

第2c図に、第2a図に示す主走査方向変倍画像データ
演算器80XBの変形例を示す。この例では、ROM2
8gに、SijのO〜63.Sij++の0〜63.第
1表に示す係数Aの4種および第1表に示す係数Bの4
種をパラメータとして前述の(6)式で演算した変倍画
像データOikが、それらのパラメータをアドレスとし
て格納されている。ROM28gの読み出しアドレスは
、データセレクタ27から出力されるSij+ Sij
+tおよびB1で定められ、B1で特定される係数Aお
よびB(第1表)と、 Sij。
FIG. 2c shows a modification of the main scanning direction variable magnification image data calculator 80XB shown in FIG. 2a. In this example, ROM2
8g, Sij's O~63. Sij++ 0-63. 4 types of coefficient A shown in Table 1 and 4 types of coefficient B shown in Table 1
The variable-magnification image data Oik calculated using the above-mentioned equation (6) using the seeds as parameters is stored using those parameters as addresses. The read address of the ROM 28g is Sij+Sij output from the data selector 27.
+t and the coefficients A and B (Table 1) defined by B1 and identified by B1, and Sij.

Sij+tで、(6)式で演算した変倍画像データOi
kがROM28.、より読み出される。
Sij+t, variable-magnification image data Oi calculated using equation (6)
k is ROM28. , is read out from.

エユス施例(第3a図および第3b図 第3実施例の、主要部の、主に第1実施例と異る部分を
第3a図に示し、また第1実施例の処理制御動作と異る
部分のみを第3b図に示す。この第3実施例では、主走
査変倍演算器28が、主走査方向変倍画像データ演算器
goxcと、第1d図に示す主走査方向MTF補正演算
器110XAと同一構成の主走た方向MTF補正演算器
110XC(図示せず)で構成されている。この第3実
施例の、副走査変倍演′t5.器(図示せず)は、それ
ぞれが1ライン分の画像データを格納する2個のライン
バッファ(図示せず)と。
Eyus Example (Figures 3a and 3b) Figure 3a shows the main parts of the third embodiment that are mainly different from the first embodiment, and the processing control operation is different from the first embodiment. Only the portion is shown in Fig. 3b.In this third embodiment, the main scanning magnification calculation unit 28 includes a main scanning direction magnification image data calculation unit goxc and a main scanning direction MTF correction calculation unit 110XA shown in Fig. 1d. The main scanning direction MTF correction calculator 110XC (not shown) has the same configuration as that of Two line buffers (not shown) that store image data for lines.

80X[lと同一構成の演算′rt(図示せず)でなる
副走査方向変倍演算器;および、第1e図に示すライン
バラ:7781Y、82’/およびYMFT演算器10
0Y(7)組合せと同一・構成の副走査方向MTF補正
演算器(図示せず)で構成されている。要約すると、第
3実施例は、変倍処理演算器が第1実施例と異るのみで
ある。そこで、第3実施例の変倍処理演算器をここで詳
細に説明する。
80X[l and a sub-scanning direction magnification computing unit consisting of the same operation 'rt (not shown); and line roses shown in FIG. 1e: 7781Y, 82'/and YMFT computing unit 10
It is composed of a sub-scanning direction MTF correction calculator (not shown) having the same configuration and structure as the 0Y(7) combination. To summarize, the third embodiment differs from the first embodiment only in the scaling processing arithmetic unit. Therefore, the scaling processing arithmetic unit of the third embodiment will be described in detail here.

第3a図において、主走査方向変倍画像データ演算器8
0XCは、前述の■で変倍画像データOikを演算する
In FIG. 3a, the main scanning direction variable magnification image data calculator 8
0XC calculates the variable-magnification image data Oik in the above-mentioned step (2).

すなオ〕も、第2表の4種の係数Aのそれぞれと原画像
データ5ij−1とを乗算したデータがデータセレクタ
52に、第2表の4種の係数Bのそれぞれと原画像デー
タS1jとを乗算したデータがデータセレクタ53に、
第2表の4種の係数Cのそれぞれと原画像データSjj
ヤ1とを乗算したデータがデータセレクタ54に、また
、第2表の4種の係数りのそれぞれと原画像データSi
j+2とを乗算したデータがデータセレクタ55に与え
られ、データセレクタ52〜55のそれぞれが、データ
Bi(第2表)で特定される。係数Δ〜D(それぞれが
4種:第2表)の一種で演算した値を示すデータを出方
し、それらを加算した和が、変(n画像データOikと
して、加算器5Gより出力される。
Also, the data obtained by multiplying each of the four types of coefficients A in Table 2 by the original image data 5ij-1 is sent to the data selector 52, and the data obtained by multiplying each of the four types of coefficients A in Table 2 and the original image data are sent to the data selector 52. The data multiplied by S1j is sent to the data selector 53,
Each of the four types of coefficients C in Table 2 and the original image data Sjj
The data multiplied by
The data multiplied by j+2 is given to the data selector 55, and each of the data selectors 52 to 55 is specified by data Bi (Table 2). Data indicating values calculated using one type of coefficients Δ to D (each of 4 types: Table 2) is output, and the sum of these is outputted from the adder 5G as n image data Oik. .

なお、補数器57は、減算データ(−1/8)を加算デ
ータに変換する(減算を加算に転換する)ためのもので
ある。
Note that the complementer 57 is for converting subtraction data (-1/8) into addition data (converting subtraction to addition).

データセレクタ52〜55の出力A−Dは、それらにI
yえられる信号Biによって、入力a ” dのいずれ
か1つとされ、Biが0を示すデータのときには、入力
aが出力A−Dとされ、B1が1を示すデータのときに
は、入力すが出力A−Dとされ、B1が2を示すデータ
のときには、入力Cが出力A〜Dとされ、Biが3−を
示すデータのときには、入力dが出力A−Dとされる。
The outputs A-D of the data selectors 52-55 are
Depending on the signal Bi that is received, one of the inputs a and d is selected, and when Bi is data indicating 0, input a is set as output A-D, and when B1 is data indicating 1, the input is output. A-D, and when B1 is data indicating 2, input C is set as outputs A-D, and when Bi is data indicating 3-, input d is set as output A-D.

このBiのイ直は第2表に示されるものである。The value of Bi is shown in Table 2.

加算器56が、データセレクタ52〜55の出力A〜D
の和を示すデータを変倍画像データOikとして出力す
る。
The adder 56 selects the outputs A to D of the data selectors 52 to 55.
The data indicating the sum of the images is output as the variable-magnification image data Oik.

データセレクタ52〜55の選択データB上はRAM3
に1画像読取前に予め読み込まれているものである。
The selected data B of data selectors 52 to 55 is stored in RAM3.
This is pre-loaded before one image is read.

この第3実施例(第3a図)のマイクロプロセッサ35
の変倍処理制御動作は、第1b図および第1c図に示す
第1実施例のものと略同様であるが、第1b図のステッ
プ15x〜17xの、■による変倍画像データ演算のた
めのデータBi設定の代りに。
Microprocessor 35 of this third embodiment (Figure 3a)
The scaling processing control operation of is almost the same as that of the first embodiment shown in FIGS. 1b and 1c, except that steps 15x to 17x in FIG. Instead of data Bi settings.

第3b図に示すステップ41x〜50xの如く、■によ
る変倍画像データ演算のためのデータBi(第2表のも
の)設定をするようにしている。すなわち。
As shown in steps 41x to 50x shown in FIG. 3b, data Bi (those in Table 2) for the variable-magnification image data calculation according to (2) is set. Namely.

iのそれぞれの値で演算した小数Riが。The decimal number Ri calculated with each value of i is.

0≦Ri<1/4. l/4≦Ri<1/2.1/2≦
Ri<3/4゜374≦Ri<7/8.および、718
≦Ri (1、のいずれにあるかをステップ41x〜4
7xでチェックして。
0≦Ri<1/4. l/4≦Ri<1/2.1/2≦
Ri<3/4°374≦Ri<7/8. and 718
≦Ri (1), in steps 41x to 4
Check it out with 7x.

0≦Ri<1/4のときはレジスタB iに0を示すデ
ータをセットしく42x)、1/4≦Ri<1/2のと
きはレジスタB1に1を示すデータをセットしく44x
)。
When 0≦Ri<1/4, set data indicating 0 in register B i (42x), and when 1/4≦Ri<1/2, set data indicating 1 in register B144x)
).

1/2≦Ri<3/4のときはレジスタBiに2を示す
データをセットしく46 x )、3/4≦Ri<7/
8のときはレジスタBiに3を示すデータをセットする
(48 x )。778≦Ri (lのときには、R1
を1に切り上げて、レジスタjの内容を1大きい数に更
新して(49x)。
When 1/2≦Ri<3/4, set data indicating 2 in register Bi (46 x), 3/4≦Ri<7/
When it is 8, data indicating 3 is set in register Bi (48 x ). 778≦Ri (when l, R1
Round up to 1 and update the contents of register j to a number 1 larger (49x).

レジスタBiにはOをセットする。このように設定した
Biは、第1実施例と同じく、Δ1と共にRAM3に、
!!−込まれる。
Set O in register Bi. Bi set in this way is stored in RAM3 along with Δ1, as in the first embodiment.
! ! - be included.

この他の変倍処理制御動作は、第1実施例と同様であり
1画像読取中には、このように設定したデータDiがΔ
よと共にRAM3より読み出されてデータセレクタ52
〜55に与えられる。これにより、加算器56の出力で
ある変倍画像データOikは、概略で+’+f述の(7
)式で演算したものとなる。副走査方向についても同様
な処理となる。
The other magnification processing control operations are the same as those in the first embodiment, and while reading one image, the data Di set in this way is
The data is read out from the RAM 3 and sent to the data selector 52.
~55 is given. As a result, the variable-magnification image data Oik, which is the output of the adder 56, is approximately +'+f (7
) is calculated using the formula. Similar processing is performed in the sub-scanning direction as well.

第3c図に、第3a図に示す演算器aoxcの変形例を
示す、この例では、 ROM63に、5ij−1の0〜
63. S ijの0〜63.Sijや1のθ〜63.
Sijや、のO〜63.第2表に示す係数Aの4種、係
数Bの4種。
FIG. 3c shows a modification of the arithmetic unit aoxc shown in FIG. 3a. In this example, the ROM 63 stores 0 to 5ij-1.
63. S ij 0-63. Sij and 1's θ~63.
Sijya, O~63. Four types of coefficient A and four types of coefficient B shown in Table 2.

係数Cの4種および係数りの4種をパラメータとして前
述の(7)式で演算した変倍画像データOikが、それ
らのパラメータをアドレスとして格納されている。 R
OM63の孕読み出しアドレスは、データセレクタ27
から出力される5ij−1* 5ljtSlj+ I 
e SIJヤ2およびBiで定められ、Biで特定され
ろ係数A−D(第1表)と、5iJ−1+SiJ、 S
lj+ l r 5Ij−+−2で、(7)式で演算し
た変倍画像データOikがROM63より読み出される
The variable-magnification image data Oik calculated using the above-mentioned equation (7) using four types of coefficients C and four types of coefficients as parameters is stored with these parameters as addresses. R
The OM63 read address is the data selector 27
5ij-1* 5ljtSlj+I output from
e The coefficient A-D (Table 1) determined by SIJ Y2 and Bi, and specified by Bi, and 5iJ-1+SiJ, S
At lj+lr5Ij-+-2, the variable-magnification image data Oik calculated using equation (7) is read out from the ROM 63.

第4実施例(第4図) 第4実施例の、第1実施例と異る構成部分のみを第4図
に示す。この第4実施例は、サンプリング回路64およ
び65に特徴があるものであって。
Fourth Embodiment (FIG. 4) FIG. 4 shows only the constituent parts of the fourth embodiment that are different from the first embodiment. This fourth embodiment is characterized by sampling circuits 64 and 65.

その他の部分は第1実施例と同じであり、サンプリング
回路64* 65以外の部分は、第2,3実施例と同じ
であってもよい。
The other parts are the same as the first embodiment, and the parts other than the sampling circuits 64*65 may be the same as the second and third embodiments.

第4図に示すサンプリング回路64は、RAM1を書込
みに指定しているとき(a=H,b=L)には、アンド
ゲート68と69がオフであって、アントゲ−1−67
がオンであるので、アドレスカウンタ38を、DCLK
でカウントアツプする。すなわち、 DCI、Kが1パ
ルス到来する毎に、原画像データをnAMlに読込む。
In the sampling circuit 64 shown in FIG. 4, when RAM1 is designated for writing (a=H, b=L), AND gates 68 and 69 are off, and
is on, the address counter 38 is set to DCLK.
to count up. That is, each time one pulse of DCI, K arrives, original image data is read into nAMl.

RAM1を読み出しに指定しているとき(a−L、b=
II)には、アンドゲート67がオフであり、縮少(d
 = 1−1 )のときにはアンドゲート68もオフで
あって、データAiに対応して、それが1−1のときに
はDCLKを、AlがLのときには2DCLKを、アン
ドゲート71又は72とオアゲート70およびアンドゲ
ート69ならびにオアゲート66を通してカウンタに与
える。拡大(d = L)のときには、アンドゲート6
9がオフであり、AiがHのとき、にDCLKがアンド
ゲート68を通してまたオアゲート66を通してカウン
タ38に与えられれ、AiがLのときにはクロックはカ
ウンタ38に快えられない。
When RAM1 is specified for reading (a-L, b=
II), the AND gate 67 is off and the reduction (d
= 1-1), the AND gate 68 is also off, and corresponding to the data Ai, when it is 1-1, DCLK is applied, when Al is L, 2DCLK is applied, and the AND gate 71 or 72 and the OR gate 70 and It is applied to the counter through an AND gate 69 and an OR gate 66. When expanding (d = L), AND gate 6
9 is off and Ai is high, DCLK is applied to counter 38 through AND gate 68 and through OR gate 66, and when Ai is low, no clock is provided to counter 38.

サンプリング回路65も64と同じ構成であるが、信″
;J−aとbとを入れ変えてアンドゲート74と、75
および76に与えるようにしている。これはRAMIの
書込みのときRAM2が読み出しで、RAMIの読み出
しのときにl(A M 2が書込みとなるからである。
Sampling circuit 65 also has the same configuration as 64, but the
; Swap J-a and b and make AND gates 74 and 75
and 76. This is because when RAMI is written, RAM2 is read, and when RAMI is read, l(A M 2 is written).

以上のサンプリング回路64および65の構成および動
作により、第4実施例においても、第1実施例(第1a
図)と同じ態様で、RAMI、2の書込みと。
Due to the configuration and operation of the sampling circuits 64 and 65 described above, the fourth embodiment also has the same structure as that of the first embodiment (1a
In the same manner as in Figure), write RAMI,2.

RAM l 、 2の読み出しサンプリングが行なわれ
る。すなわち、第1実施例ではアップダウンカウンタ3
9゜44と加算器37.42で、縮少時の、原画像デー
タの1つ飛びのサンプリングを、DCLKを2重にカウ
ントしてアドレスをDCLKの1パルス当り2進めて行
なうようにしているが、第4実施例では、この場合、2
1)CLにをアドレスカウンタに与えて、DCLKが1
パルス発生するときにアドレスカウンタを2カウントア
ツプして、アドレスをDCl、にの1パルス当り2進め
て行なうようにしている。
Read sampling of RAMs l and 2 is performed. That is, in the first embodiment, the up/down counter 3
9.44 and adder 37.42, the sampling of the original image data is performed one by one at the time of reduction by counting DCLK twice and advancing the address by 2 for each pulse of DCLK. However, in the fourth embodiment, in this case, 2
1) Give CL to the address counter and set DCLK to 1.
When a pulse is generated, the address counter is incremented by 2, and the address is advanced by 2 for each pulse of DCl.

第5実施例(第3d図) 第3d図に本発明の第5実施例の要部を示す。Fifth embodiment (Fig. 3d) FIG. 3d shows the main part of the fifth embodiment of the present invention.

第3d図は、第3a図と異る部分のみを示す。この第5
実施例は第3実施例の変形例でもあり、前述の第(11
)式に基づいて、主走査方向の変倍画像データ演算およ
びMTF補正演算を同時に行ない、しかも、副走査方向
の変倍画像データ演算およびMTF補正演算も同時に行
なう。
Figure 3d shows only the parts that differ from Figure 3a. This fifth
The embodiment is also a modification of the third embodiment, and the above-mentioned (11th)
), the variable-magnification image data calculation and MTF correction calculation in the main scanning direction are performed simultaneously, and the variable-magnification image data calculation and MTF correction calculation in the sub-scanning direction are also performed simultaneously.

まず主走査方向の演算処理を説明すると、この第5実施
例では、RAMI、IIAM2には、その所要メモリ容
lを少くするため、それぞれ1912分の原画像データ
を読み書きするようにしている。これらによっては、隣
接画像データをパラレルに同時に1!)ることができな
いので、演算器28に、4個のラッチ25.〜254を
備えて、これらにより、隣接5画素の画像データを得て
、これらの画像データと。
First, explaining the arithmetic processing in the main scanning direction, in this fifth embodiment, 1912 worth of original image data is read and written into each of the RAMI and IIAM 2 in order to reduce the required memory capacity l. Depending on these, adjacent image data can be processed simultaneously in parallel! ), the arithmetic unit 28 has four latches 25 . .about.254, thereby obtaining image data of five adjacent pixels, and combining these image data.

第3表に示す係数を用いて変倍しかつMTF補正したデ
ータを得るようにしている。
The coefficients shown in Table 3 are used to obtain data that has been scaled and MTF corrected.

データセレクタ111は、第(11)式の、E−5ij
−2に、第3表の係数Eを乗じた4種の値の1つを出力
し、データセレクタ112は、第(11)式の。
The data selector 111 is E-5ij in equation (11).
The data selector 112 outputs one of four values obtained by multiplying -2 by the coefficient E in Table 3, and the data selector 112 calculates the value of Equation (11).

A−5ij−1に、第3表の係数Aを乗じた4種の値の
1つを出力し、データセレクタ113は、第(11)式
の、B−3ijに、第3表の係数Bを乗じた4種の値の
1つを出力し、データセレクタ114は、第(11)式
の、C’Sjj+1に、第3表の係数Cを乗じた4種の
値の1つを出力し、データセレクタ115は、第(11
)式の、D−3IJ−+−2に、第3表の係数りを乗じ
た4種の値の1つを出力する。4種のいずれを出力する
かは、 RAM4がデータセレクタ111−115に与
えるデータBiによって定まる。データセレクタ111
〜115の出力は加算器11Gに与えられて、加算Ta
116が、第(11)式に、第3表の係数を代入した演
算値(ケースa = dの4挿)のうちの、データBi
で指定されるlっMikを出力する。
The data selector 113 outputs one of four values obtained by multiplying A-5ij-1 by the coefficient A in Table 3, and the data selector 113 multiplies B-3ij in equation (11) by the coefficient B in Table 3. The data selector 114 outputs one of the four values obtained by multiplying C′Sjj+1 in equation (11) by the coefficient C in Table 3. , the data selector 115 selects the (11th
), one of the four values obtained by multiplying D-3IJ-+-2 by the coefficient in Table 3 is output. Which of the four types is output is determined by the data Bi that the RAM 4 provides to the data selectors 111-115. Data selector 111
The outputs of ~115 are given to the adder 11G, and the addition Ta
116 is the data Bi of the calculated value (4 interpolations of case a = d) obtained by substituting the coefficients in Table 3 into equation (11).
Outputs lMik specified by .

この出力Mikは、第(11)式および第3表に関連し
てすでに説明したように、主走査方向に変倍処理し、し
かも、Rを変数としR各位において最適なMTF補正が
もたらされる演算を折り込んだものである。
As already explained in relation to equation (11) and Table 3, this output Mik is subjected to magnification processing in the main scanning direction, and is also calculated by using R as a variable and providing the optimum MTF correction at each point of R. It is folded in.

この第5実施例の、副走査変倍演算器29(図示せず)
は、第3d図に示す主走査変倍演算器28の、ラッチ2
51〜254のそれぞれをラインバッファメモリに置換
したものである。
Sub-scan magnification calculator 29 (not shown) of this fifth embodiment
is the latch 2 of the main scanning magnification calculator 28 shown in FIG. 3d.
Each of 51 to 254 is replaced with a line buffer memory.

第5実施例の他の構成は前述の第3実施例と同じである
。変倍処理動作は、前述の第3実施例のものと同様であ
るが、第1c図に示すステップ51x〜57xを省略し
たものとなっている。
The other configurations of the fifth embodiment are the same as those of the third embodiment described above. The scaling processing operation is similar to that of the third embodiment described above, but steps 51x to 57x shown in FIG. 1c are omitted.

第5実施例では、変倍処理演算とMTF補正演算を同じ
演算式に集約しているので、それらを分離して演算する
場合よりも、演算に関するハードウェアが簡単になり、
しかも演算ステップが少くかっている。
In the fifth embodiment, since the scaling processing calculation and the MTF correction calculation are combined into the same calculation formula, the hardware related to the calculation is simpler than when they are calculated separately.
Furthermore, the number of calculation steps is small.

■効果 以上の通り本願発明では、画像データの変倍指定倍率R
x、Ryに対応したMTF補正演算を行なうので、変倍
処理による画像劣化が低減する。のみならず、主走査方
向の変倍画像データ演算と、主走査方向のMTF補正演
算を対にして実行し、かつ副走査方向の変倍画像データ
演算し、副走査方向のMTF補正演算を対にして実行す
るようにしているので、主走査方向の変倍率Rxと副走
査方向の変倍率Ryとが異っても、主走査方向および副
走査方向共に、最適なMTF補正が行なわれ、画像全体
の、変倍による画質低下が低減する。
■Effects As described above, in the present invention, the designated magnification R of image data is
Since the MTF correction calculation corresponding to x and Ry is performed, image deterioration due to scaling processing is reduced. In addition, the variable-magnification image data calculation in the main scanning direction and the MTF correction calculation in the main-scanning direction are executed as a pair, and the variable-magnification image data calculation in the sub-scanning direction is performed, and the MTF correction calculation in the sub-scanning direction is performed as a pair. Therefore, even if the magnification ratio Rx in the main scanning direction and the scaling ratio Ry in the sub-scanning direction are different, the optimal MTF correction is performed in both the main scanning direction and the sub-scanning direction, and the image is Overall image quality deterioration due to zooming is reduced.

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

第1a図は、本発明の第1実施例の構成を示すブロック
図である。 第1b図および第1c図は、第1a図に示すマイクロプ
ロセッサ35の変倍処理制御動作を示すフローチャート
である。 第1d図は、第1a図に示す主走査変倍演算器28の構
成を示すブロック図である。 第1e図は、第1a図に示す副走査変倍演算器29の構
成を示すブロック図である。 第2a図は、本発明の第2実施例の要部を示すブロック
図である。 第2b図は、第2a図に示すマイクロプロセッサ35の
変倍処理制御動作の一部を示すフローチャートである。 第2c図は、第2a図に示す演算器80XBの変形例を
示すブロック図である。 第3a図は1本発明の第3実施例の要部を示すブロック
図である。 第3b図は、第3a図に示すマイクロプロセッサ35の
変倍処理制御動作の一部を示すフローチャートである。 第3c図は、第3a図に示す演算器80XCの変形例を
示すブロック図である。 第3d図は5本発明の第5実施例の要部を示すブロック
図である。 第4図は、本発明の第4実施例の要部を示すブロック図
である。 第5図は、変倍画像データを演算する3次関数コンボリ
ューション法で用いる補間関数の値を示すグラフであり
、横軸は原画像データのサンプリング位置に対する変倍
画像データに割り当てるサンプリング位置のずれ量を示
し、縦軸は補間関数の値を示す。 第6図は、第1a図に示すスキャナSCI+の画像読取
出力であるデータYと同期クロックLS’/NC。 DCLKおよびラッチ25の出力であるデータZの関係
を示すタイムチャートである。 第7図は、第1a図に示すラインバッファメモリRAM
I、IIAM2の書込みデータ、読み出しデータとライ
ン同期パルスLSYNCとの関係を示すタイムチャート
である。 第8図は、従来の画像読取装置の外観を示す斜視図であ
る。 第9図は、従来の1つの画像読取装置の主機械構成要素
を示す側面図である。 第10図は、従来のもう1つの画像読取装置の主機械構
成A素を示す側面図である。 第11図は、従来の電気的手法による画像データ変倍の
ために、1頁分の原画像データをメモリに格納した場合
の、メモリ上における画像データ分布を、画像対応で示
す平面図である。 第12図は、近接画素間距離線形配分法により変倍画像
データを演算する場合の、JJX画像データのサンプリ
ング位置と変倍画像データのサンプリング位置との関係
を示す平面図である。 第13a図は、MTFli正の補正係数分布を示す平面
図である。 第13b図は、MTF補正における補正画素と補正に参
照する画素の分布を示す平面図である。 第14a図、第14b図、第14c図および第14d図
は1MTF補正係数の分布を示す平面図である。 第15図は、第1a図に示すスキャナSCRの、周波数
応答性を示すグラフである。 第16図は、MTF補正を加味した変倍演算補間係数を
示すグラフである。 l二画偉読取装置   2:コンタクトガラス板3:原
稿圧板     4:操作部 5:蛍光灯      6:セルホツクレンズ7:イメ
ージセンサ  8:反射光 9:キャリッジ  11〜13;反射光14:レンズ 
    SCR:スキャナ28:主走査変倍演算器 2
9;副走査変倍演算器OOC:原稿 35:マイクロプロセッサ(第1.第2演算手段、第1
゜第2サンプリング位置指定手段) 64.65 :サンプリング回路(第1サンプリング手
段)65V 二サンプリング回路(第2サンプリング手
段)80XA :データセレクタ(第1変倍画像データ
設定手段) 80v:変倍演算器(第2変倍画像データ設定手段)1
00XA :主走査方向MTF演算C(主走査方向のM
TF補正手段) toov :副走査方向にTF演算器(副走査方向のM
TF補正手段) 80XB、80XC:変倍演算器(第1変倍画像データ
設定手段) 第3d図の28=主走主走査波算8:((第1変倍画像
データ設定手段、主走芹方向のMTF補正手段)第2b
図 色卓を 第3b■ 4ax
FIG. 1a is a block diagram showing the configuration of a first embodiment of the present invention. FIGS. 1b and 1c are flowcharts showing the magnification change processing control operation of the microprocessor 35 shown in FIG. 1a. FIG. 1d is a block diagram showing the configuration of the main scanning magnification calculator 28 shown in FIG. 1a. FIG. 1e is a block diagram showing the configuration of the sub-scanning magnification calculator 29 shown in FIG. 1a. FIG. 2a is a block diagram showing main parts of a second embodiment of the present invention. FIG. 2b is a flowchart showing part of the magnification changing control operation of the microprocessor 35 shown in FIG. 2a. FIG. 2c is a block diagram showing a modification of the arithmetic unit 80XB shown in FIG. 2a. FIG. 3a is a block diagram showing the main parts of a third embodiment of the present invention. FIG. 3b is a flowchart showing part of the magnification changing control operation of the microprocessor 35 shown in FIG. 3a. FIG. 3c is a block diagram showing a modification of the arithmetic unit 80XC shown in FIG. 3a. FIG. 3d is a block diagram showing essential parts of a fifth embodiment of the present invention. FIG. 4 is a block diagram showing the main parts of a fourth embodiment of the present invention. FIG. 5 is a graph showing the values of the interpolation function used in the cubic function convolution method for calculating scaled image data, and the horizontal axis is the deviation of the sampling position assigned to the scaled image data with respect to the sampling position of the original image data. The vertical axis shows the value of the interpolation function. FIG. 6 shows data Y, which is the image reading output of the scanner SCI+ shown in FIG. 1a, and the synchronization clock LS'/NC. 5 is a time chart showing the relationship between DCLK and data Z that is the output of the latch 25. FIG. FIG. 7 shows the line buffer memory RAM shown in FIG. 1a.
3 is a time chart showing the relationship between write data and read data of I and II AM2 and line synchronization pulse LSYNC. FIG. 8 is a perspective view showing the appearance of a conventional image reading device. FIG. 9 is a side view showing the main mechanical components of one conventional image reading device. FIG. 10 is a side view showing the main mechanical component A of another conventional image reading device. FIG. 11 is a plan view showing the image data distribution in memory when one page of original image data is stored in memory for image data scaling using a conventional electrical method. . FIG. 12 is a plan view showing the relationship between the sampling position of JJX image data and the sampling position of variable-magnification image data when the variable-magnification image data is calculated by the linear distribution method of distance between adjacent pixels. FIG. 13a is a plan view showing the distribution of MTFli positive correction coefficients. FIG. 13b is a plan view showing the distribution of correction pixels in MTF correction and pixels referred to for correction. FIGS. 14a, 14b, 14c, and 14d are plan views showing the distribution of 1MTF correction coefficients. FIG. 15 is a graph showing the frequency response of the scanner SCR shown in FIG. 1a. FIG. 16 is a graph showing the scaling calculation interpolation coefficient with MTF correction taken into consideration. 1 Two-stroke reading device 2: Contact glass plate 3: Original pressure plate 4: Operation unit 5: Fluorescent lamp 6: Self-cleaning lens 7: Image sensor 8: Reflected light 9: Carriage 11 to 13; Reflected light 14: Lens
SCR: Scanner 28: Main scanning magnification calculator 2
9; Sub-scanning magnification calculator OOC: Original 35: Microprocessor (1st, 2nd calculation means, 1st
゜Second sampling position designation means) 64.65: Sampling circuit (first sampling means) 65V Two sampling circuit (second sampling means) 80XA: Data selector (first variable magnification image data setting means) 80V: Variable magnification calculator (Second scaling image data setting means) 1
00XA: Main scanning direction MTF calculation C (main scanning direction MTF calculation
TF correction means) toov: TF calculation unit in the sub-scanning direction (M in the sub-scanning direction
TF correction means) 80XB, 80XC: Magnification calculation unit (first magnification image data setting means) 28 in Fig. 3d = main scanning main scanning wave calculation 8: ((first magnification image data setting means, main scanning direction MTF correction means) 2nd b
Illustration table 3b ■ 4ax

Claims (8)

【特許請求の範囲】[Claims] (1)主走査方向の指定倍率Rxに対応した、変倍画像
データ作成のための原画像データサンプリング位置情報
を演算する第1演算手段; 副走査方向の指定倍率Ryに対応した、変倍画像データ
作成のための原画像データサンプリング位置情報を演算
する第2演算手段; 第1演算手段が演算した原画像データサンプリング位置
情報に基づいて原画像データのサンプリング指定位置x
を指定する第1サンプリング位置指定手段; 第2演算手段が演算した原画像データサンプリング位置
情報に基づいて原画像データのサンプリング指定位置y
を指定する第2サンプリング位置指定手段; 前記指定位置xの原画像データを摘出する第1サンプリ
ング手段; 前記指定位置yの原画像データを摘出する第2サンプリ
ング手段; 第1サンプリング手段が摘出した原画像データに対応し
た変倍画像データを定める第1変倍画像データ設定手段
; 第2サンプリング手段が摘出した原画像データに対応し
た変倍画像データを定める第2変倍画像データ設定手段
; 指定倍率Rxの設定範囲に対応付けた主走査方向MTF
補正演算データを有しこれに基づいて主走査方向の変倍
後又は変倍前の画像データをMTF補正する、主走査方
向MTF補正手段;および、指定倍率Ryの設定範囲に
対応付けた主走査方向MTF補正演算データを有しこれ
に基づいて副走査方向の変倍後又は変倍前の画像データ
をMTF補正する、副走査方向MTF補正手段; を備える画像データの変倍処理装置。
(1) A first calculation means for calculating original image data sampling position information for creating variable-magnification image data corresponding to a specified magnification Rx in the main scanning direction; A variable-magnification image corresponding to a specified magnification Ry in the sub-scanning direction. A second calculation means for calculating original image data sampling position information for data creation; a specified sampling position x of the original image data based on the original image data sampling position information calculated by the first calculation means;
a first sampling position specifying means for specifying; a sampling specified position y of the original image data based on the original image data sampling position information calculated by the second calculation means;
a second sampling position specifying means for specifying; a first sampling means for extracting the original image data at the specified position x; a second sampling means for extracting the original image data at the specified position y; A first variable-magnification image data setting means for determining variable-magnification image data corresponding to the image data; a second variable-magnification image data setting means for determining variable-magnification image data corresponding to the original image data extracted by the second sampling means; specified magnification Main scanning direction MTF associated with Rx setting range
Main scanning direction MTF correction means that has correction calculation data and performs MTF correction on the image data after or before scaling in the main scanning direction based on the correction calculation data; A scaling processing device for image data, comprising: a sub-scanning direction MTF correction means that has direction MTF correction calculation data and performs MTF correction on image data after or before scaling in the sub-scanning direction based on the data.
(2)主走査方向および副走査方向MTF補正手段はそ
れぞれ、前記設定範囲を小分割した倍率領域対応の補正
演算データを用いる、該小分割した数対応の数の補正演
算手段と、該補正演算手段の1つを指定倍率Rx、Ry
に応じて特定しその出力をMTF補正データとして得る
選択手段でなる、前記特許請求の範囲第(1)項記載の
、画像データの変倍処理装置。
(2) The main scanning direction and sub-scanning direction MTF correction means each use correction calculation data corresponding to the magnification area obtained by subdividing the setting range, and the number of correction calculation means corresponds to the number of subdivisions, and the correction calculation Specify one of the means as magnification Rx, Ry
2. The image data scaling processing apparatus according to claim 1, further comprising a selection means for specifying the selected data according to the MTF correction data and obtaining the output as MTF correction data.
(3)第1および第2演算手段はそれぞれ、100i/
〔指定倍率R(%)〕=Ji+Ri、iは整数、0≦R
i<1、Jiは整数、なる整数Jiおよび小数Riを演
算する演算手段であり; 第1および第2サンプリング位置指定手段はそれぞれ、
原画像データの画素単位を定めるデータクロック、ライ
ンクロックに同期してiを1づつ変更すると共に、R<
100の場合は、 Ji−Ji−1=2で原画像データのサンプリング指定
位置x、yを2大きい数に、Ji−Ji_−_1=1で
前記指定位置x、yを1大きい数に指定し、R≧100
の場合は、Ji−Ji_−_1=Iで位置x、yを1大
きい数に、Ji−Ji_−_1=0で位置x、yをその
ままの数に指定するものであり; 第1および第2サンプリング手段はそれぞれ、前記デー
タクロック、ラインクロックをカウントして、前記指定
位置x、yの原画像データとそれに隣接する1以上の画
像データを摘出するものであり;および、 第1および第2変倍画像データ設定手段はそれぞれ、前
記データクロック、ラインクロックに同期して、Ri、
前記指定位置x、yの原画像データおよびそれに隣接す
る1以上の原画像データの3者の相関で位置iの変倍画
像データを定めるものである; 前記特許請求の範囲第(1)項記載の、画像データの変
倍処理装置。
(3) The first and second calculation means are each 100i/
[Specified magnification R (%)] = Ji + Ri, i is an integer, 0≦R
i<1, Ji is an integer, and the first and second sampling position specifying means are respectively,
While changing i by 1 in synchronization with the data clock and line clock that define the pixel unit of the original image data, R<
In the case of 100, Ji-Ji-1=2 specifies the specified sampling position x, y of the original image data to a number larger by 2, and Ji-Ji_-_1=1 specifies the specified position x, y to a larger number by 1. , R≧100
In the case of , Ji-Ji_-_1=I specifies the positions x and y to be 1 larger, and Ji-Ji_-_1=0 specifies the positions x and y as the same numbers; the first and second Each of the sampling means counts the data clock and the line clock to extract the original image data at the specified positions x and y and one or more image data adjacent thereto; The double image data setting means are synchronized with the data clock and line clock, respectively, and
The variable-magnification image data at position i is determined by the correlation of the original image data at the designated positions x and y and one or more adjacent original image data; as described in claim (1) above. Image data scaling processing device.
(4)第1および第2変倍画像データ設定手段はそれぞ
れ、Ri≦0.5で変倍画像データを指定位置x、yの
原画像データとし、Ri>0.5で変倍画像データを位
置x+1、y+1の原画像データとする、前記特許請求
の範囲第(3)項記載の画像データの変倍処理装置。
(4) The first and second variable-magnification image data setting means respectively set variable-magnification image data as original image data at specified positions x and y when Ri≦0.5, and set variable-magnification image data as original image data at designated positions x and y when Ri>0.5. The image data scaling processing device according to claim 3, wherein the image data is original image data at positions x+1 and y+1.
(5)第1および第2変倍画像データ設定手段はそれぞ
れ、位置x、yの原画像データにRiの重みを加え、位
置x+1、y+1の原画像データに1−Riの重みを加
えた和を、変倍画像データとする、前記特許請求の範囲
第(3)項記載の画像データの変倍処理装置。
(5) The first and second scaled image data setting means each add a weight of Ri to the original image data at positions x and y, and add a weight of 1-Ri to the original image data at positions x+1 and y+1, respectively. The image data scaling processing device according to claim (3), wherein: is the scaling image data.
(6)第1および第2の変倍画像データ設定手段はそれ
ぞれ、変倍画像データを、Ri、位置x、yの原画像デ
ータならびに、その前後の3個の原画像データをパラメ
ータとする3次関数コンボリューション式で得る前記特
許請求の範囲第(3)項記載の画像データの変倍処理装
置。
(6) The first and second variable-magnification image data setting means each set the variable-magnification image data to Ri, original image data at positions x and y, and three original image data before and after the three as parameters. The image data scaling processing apparatus according to claim (3), which is obtained by a next function convolution formula.
(7)第1サンプリング手段は:1ライン分の原画像デ
ータを格納するバッファメモリ手段;該バッファメモリ
手段を書込み/読出しに交互に設定する手段;該バッフ
ァメモリ手段に書込み/読み出し位置を与えるアドレス
カウント手段;該バッファメモリ手段に書込みのときは
、データクロックDCLKをカウントパルスとして該ア
ドレスカウント手段に与え、該メモリ手段より読み出し
のときはデータクロックDCLKに同期してiを1づつ
変更すると共に、R<100の場合は、Aiに対応して
データクロックDCLKの2倍の周波数のカウントパル
ス2DCLKとデータクロックDCLKの一方を、カウ
ントパルスとしてアドレスカウント手段に与え、R≧1
00の場合は、Aiに対応してデータクロックDCLK
のアドレスカウント手段への印加/遮断をして、原画像
データの読出し位置xを指定するサンプリング位置指定
手段;でなる、前記特許請求の範囲第(3)項、第(4
)項、第(5)項又は第(6)項記載の、画像データの
変倍処理装置。
(7) The first sampling means is: Buffer memory means for storing one line of original image data; Means for alternately setting the buffer memory means for writing/reading; Address giving the writing/reading position to the buffer memory means Counting means; when writing to the buffer memory means, the data clock DCLK is applied as a count pulse to the address counting means; when reading from the memory means, i is changed by 1 in synchronization with the data clock DCLK, and When R<100, one of the count pulse 2DCLK and the data clock DCLK having twice the frequency of the data clock DCLK corresponding to Ai is applied as a count pulse to the address counting means, and R≧1.
00, the data clock DCLK corresponds to Ai.
Claims (3) and (4) include: sampling position designating means for designating the reading position x of the original image data by applying/cutting off the voltage to the address counting means;
), (5), or (6).
(8)第1サンプリング手段は:1ライン分の原画像デ
ータを格納するバッファメモリ手段:該バッファメモリ
手段を書込み/読出しに交互に設定する手段;アドレス
カウント手段;アップダウンカウント手段;アドレスカ
ウント手段のカウントデータとアップダウンカウント手
段のカウントデータの和を該バッファメモリ手段にアド
レスデータとして与える加算手段;該バッファメモリ手
段に書込みのときは、データクロックDCLKをカウン
トパルスとして該アドレスカウント手段に与え、該バッ
ファメモリ手段より読み出しのときはデータクロックD
CLKに同期してiを1づつ変更すると共に、R<10
0の場合は、アップダウンカウント手段にアップ指示し
てアドレスカウント手段にデータクロックDCLKをカ
ウントパルスとして与え、かつAiに対応してアップダ
ウンカウント手段へのDCLKの印加/遮断をし、R≧
100の場合は、アップダウンカウント手段をダウン指
示してアドレスカウント手段にデータクロックDCLK
を与え、かつ、Aiに対応してデータクロックDCLK
のアップダウンカウント手段への印加/遮断をして、原
画像データの読出し位置xを指定するサンプリング位置
指定手段;でなる前記特許請求の範囲第(3)項、第(
4)項、第(5)項又は第(6)項記載の、画像データ
の変倍処理装置。
(8) The first sampling means is: Buffer memory means for storing one line of original image data: Means for alternately setting the buffer memory means for writing/reading; Address counting means; Up/down counting means; Address counting means addition means for supplying the sum of the count data of the up/down count means and the count data of the up/down count means to the buffer memory means as address data; when writing to the buffer memory means, supplying the data clock DCLK as a count pulse to the address count means; When reading from the buffer memory means, the data clock D
Change i by 1 in synchronization with CLK, and R<10
In the case of 0, the up/down counting means is instructed to go up, the data clock DCLK is given as a count pulse to the address counting means, and DCLK is applied/cut off to the up/down counting means in accordance with Ai, and R≧
If the value is 100, the up/down count means is instructed to down and the data clock DCLK is sent to the address count means.
and the data clock DCLK corresponding to Ai.
Sampling position specifying means for specifying the read position x of the original image data by applying/cutting off the voltage to the up/down count means;
The image data scaling processing device according to item 4), item (5), or item (6).
JP61101721A 1986-04-30 1986-05-01 Image data scaling processor Expired - Lifetime JP2789560B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP61101721A JP2789560B2 (en) 1986-05-01 1986-05-01 Image data scaling processor
US07/044,420 US4827433A (en) 1986-04-30 1987-04-30 Processing device for changing magnification of image data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61101721A JP2789560B2 (en) 1986-05-01 1986-05-01 Image data scaling processor

Publications (2)

Publication Number Publication Date
JPS62257277A true JPS62257277A (en) 1987-11-09
JP2789560B2 JP2789560B2 (en) 1998-08-20

Family

ID=14308166

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61101721A Expired - Lifetime JP2789560B2 (en) 1986-04-30 1986-05-01 Image data scaling processor

Country Status (1)

Country Link
JP (1) JP2789560B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63209275A (en) * 1987-02-25 1988-08-30 Canon Inc Picture signal processor
JPH01142879A (en) * 1987-11-30 1989-06-05 Canon Inc Interpolating device for digital image
JPH01142877A (en) * 1987-11-30 1989-06-05 Canon Inc Interpolating device for digital image
JPH0229072A (en) * 1988-04-14 1990-01-31 Ricoh Co Ltd Picture correction device for digital picture processing unit
JPH0322092A (en) * 1989-06-19 1991-01-30 Alps Electric Co Ltd Method and device for reproducing expanded/reduced picture

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001157042A (en) 1999-11-25 2001-06-08 Ricoh Co Ltd Image processor, image processing method and computer- readable recording medium recorded with program for executing computer the method
US7038818B2 (en) 1999-12-27 2006-05-02 Ricoh Company, Ltd Method and apparatus for image processing method, and a computer product
JP4655533B2 (en) * 2004-08-02 2011-03-23 ソニー株式会社 Image processing apparatus and method, recording medium, and program
JP4640579B2 (en) 2005-01-27 2011-03-02 ソニー株式会社 Information processing apparatus and recovery board

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5961371A (en) * 1982-09-08 1984-04-07 ロ−ベルト・ボツシユ・ゲゼルシヤフト・ミツト・ベシユレンクテル・ハフツング Electric signal time compression and/or elongation device
JPS60225282A (en) * 1984-04-23 1985-11-09 Hitachi Ltd Reducing system of picture

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5961371A (en) * 1982-09-08 1984-04-07 ロ−ベルト・ボツシユ・ゲゼルシヤフト・ミツト・ベシユレンクテル・ハフツング Electric signal time compression and/or elongation device
JPS60225282A (en) * 1984-04-23 1985-11-09 Hitachi Ltd Reducing system of picture

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63209275A (en) * 1987-02-25 1988-08-30 Canon Inc Picture signal processor
JP2592825B2 (en) * 1987-02-25 1997-03-19 キヤノン株式会社 Image signal processing device
JPH01142879A (en) * 1987-11-30 1989-06-05 Canon Inc Interpolating device for digital image
JPH01142877A (en) * 1987-11-30 1989-06-05 Canon Inc Interpolating device for digital image
JPH0229072A (en) * 1988-04-14 1990-01-31 Ricoh Co Ltd Picture correction device for digital picture processing unit
JPH0322092A (en) * 1989-06-19 1991-01-30 Alps Electric Co Ltd Method and device for reproducing expanded/reduced picture

Also Published As

Publication number Publication date
JP2789560B2 (en) 1998-08-20

Similar Documents

Publication Publication Date Title
JPH05260287A (en) Improvement of picture enlargement/reduction device
CA1260841A (en) Image reading and/or recording apparatus with enlarging and reducing function
JPS62257277A (en) Variable power processor for image data
US5604825A (en) Image processing apparatus capable of varying magnification of images and method of using same
US4827433A (en) Processing device for changing magnification of image data
JP2906791B2 (en) Image processing device
JPH0612490A (en) Method and device for image processing
JP2003219116A (en) Image processing device and its controlling method
US5933257A (en) Image processing apparatus and method and storing medium
JPH0771189B2 (en) Image data scaling processor
JPS62257276A (en) Variable power processor for image data
JPS62261277A (en) Variable power processor for image data
JP4602913B2 (en) Color image reader
JPH0638028A (en) Image reader
JPS62257274A (en) Variable power processor for image data
JPH06164852A (en) Original reader
JPH0789644B2 (en) Image data scaling processor
JP4746945B2 (en) Resolution conversion apparatus and method
JPH07123279B2 (en) Image data scaling processor
JP2744292B2 (en) Image processing device
KR100374581B1 (en) Reducing method of digital image and device thereof
JPH11168624A (en) Image-processing system and image size scaling method
JPH09261456A (en) Subject image pickup device
JPH10294859A (en) Image processing unit, image processing method, image reader, copying machine and recording medium
JP2010176291A (en) Image data output device, image processing device, and image forming apparatus

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term