Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0828810B2 - Image data scaling processor - Google Patents
[go: Go Back, main page]

JPH0828810B2 - Image data scaling processor - Google Patents

Image data scaling processor

Info

Publication number
JPH0828810B2
JPH0828810B2 JP61100504A JP10050486A JPH0828810B2 JP H0828810 B2 JPH0828810 B2 JP H0828810B2 JP 61100504 A JP61100504 A JP 61100504A JP 10050486 A JP10050486 A JP 10050486A JP H0828810 B2 JPH0828810 B2 JP H0828810B2
Authority
JP
Japan
Prior art keywords
image data
data
original image
sij
sampling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP61100504A
Other languages
Japanese (ja)
Other versions
JPS62257274A (en
Inventor
宏一 賀門
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP61100504A priority Critical patent/JPH0828810B2/en
Priority to US07/044,420 priority patent/US4827433A/en
Publication of JPS62257274A publication Critical patent/JPS62257274A/en
Publication of JPH0828810B2 publication Critical patent/JPH0828810B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】Detailed Description of the Invention 【産業上の利用分野】[Industrial applications]

本発明は、画像スキャナ,ディジタル複写機,ファク
シミリあるいはその他の画像処理装置等に用いる画像デ
ータの変倍処理装置に関する。
The present invention relates to an image data scaling device used in an image scanner, a digital copying machine, a facsimile, or other image processing devices.

【従来の技術】[Prior art]

第8図に、従来の画像読み取り装置の1つの外観を示
す。この画像読み取り装置は、複写機の上部を切り取っ
た様な形状である。コンタクトガラス2上に原稿が載せ
られ、これが原稿圧板3で押えられる。操作部4には、
読み取りスタートボタン,濃度選択キー等,数種のキー
と設定状態や動作状態等を表示する数種のディスプレイ
が備わっており、種々の機能の設定ができるようになっ
ている。 スタートボタンを押すことによって読み取りを開始
し、画像信号を得ることができる。 第9図および第10図に、第8図に示す画像読み取り装
置の代表的な構成の、特に読み取り光学系を示し、第9
図は密着型イメージセンサを使用した場合の光学系を、
第10図は縮少型イメージセンサを使用した場合の光学系
を示す。なお、この他にも原稿が移動して光学系が固定
のものがある。 第9図に示すような密着型イメージセンサを用いる場
合、光学系は等倍光学系となる。蛍光灯5によってコン
タクトガラス2上の原稿面が照射され、その反射光8
が、セルホックレンズ6を通ってイメージセンサ7に入
る。イメージセンサ7は、原稿幅(第9図では奥行き方
向、すなわち主走査方向X)と同じ又はそれ以上の幅を
持ち幅方向1ラインの画像データが一度に読み取られ
る。 1ラインのサンプリング数およびサンプリングピッチ
Pxは、イメージセンサの画素数によって決まる。1ライ
ンのデータを読み終わると、蛍光灯5,セルホックレンズ
6およびイメージセンサ7を一体とするキヤリッジ8
が、矢印(副走査方向Y)の方向に駆動され、次のライ
ンが読まれる。なお、副走査方向Yに連続してキヤリッ
ジ9を駆動する態様もある。ライン間のピッチPyは、キ
ヤリッジ9の速度,センサー7の電荷蓄積時間等によっ
て決まるが、通常は、前述のサンプリングピッチPxと同
じに設定される。 第10図に示すように縮少型イメージセンサを用いる場
合は、レンズ14によって、光学像の原稿幅がイメージセ
ンサのサイズに合うように、縮少される。第10図ではミ
ラー3枚使用しているが、2枚構成あるいは5枚構成な
ども考えられる。主走査方向Xの読み取りに関しては、
密着型センサーを使用したときと、同じである。副走査
方向Yには、蛍光灯10と第1ミラー11を一体にした第1
キヤリッジと、ミラー12および13を一体とする第2キヤ
リッジとが各々独立して、コンタクトガラス板2上の原
稿からレンズ14までの光路長が一定となるように駆動さ
れる。 ここで、従来の変倍方式は、主走査方向Xに関して
は、光学系の光路長を変えて縮少率を変化させることに
より行ない、副走査方向Yに関しては、移動体の速度を
変化させることで行なっていた。しかし、この方法は、
第9図のような密着型のセンサーを用いる場合採用でき
ない。 また、第10図に示す縮少型センサーの場合でも、レン
ズ14やセンサー7の位置を変える移動量が大きい割に変
倍率があまり変わらないなど、変倍率の範囲が構造的に
制限されたり、また、レンズ14,センサー7の移動精度
および位置調整機構などに、精密な機構を用いなければ
ならず、粗い機構では、読取画像が変形するなどの大き
な問題があった。 これらの従来の問題を考えて、最近では光学変倍の変
わりに、等倍読み取りデータから、変倍後のデータを予
測算出して変倍画像データを得る画像処理、いわゆる電
気的変倍が使われるようになってきた。 しかし、現在提案されている電気的変倍は、変倍の精
度に問題があったり、精度よく変倍すれば、ハードウェ
アが複雑になり、1%きざみ等のいわゆるズーム変倍
や、広範囲な変倍率に対応することが難しかったりする
問題があった。 このような問題は、原画像データの画素単位区分を示
すデータクロックDCLKをカウントして、カウント値を変
倍画像データの位置iとし、DCLKの1パルスの発生毎
に、すなわちiが1大きくなる毎に、100i/指定変倍率
R%=Ji+Ri、なる整数Jiおよび少数Riを演算し、原画
像データの位置x=Jiの画像データと、それに隣接する
画像データをサンプリングして、サンプリングした原画
像データと少数Riで変倍画像データを演算して、これを
DCLK単位の第i位置の変倍画像データと定めることによ
り改善される。すなわちこれによれば、変倍画像データ
が原画像データのデータクロックDCLKに同期して得ら
れ、原画稿データの読取又は転送に同期したラスター走
査で変倍画像データをプリント,転送又は送信等の処理
をし得る。しかも変倍率Rを微細な1%単位でも設定し
得るし、Rの範囲も広く設定し得る。
FIG. 8 shows an external appearance of a conventional image reading apparatus. This image reading device has a shape like a top of a copying machine. A document is placed on the contact glass 2 and pressed by the document pressure plate 3. The operation unit 4 includes
It is equipped with several types of keys such as the reading start button and density selection key, and several types of displays that display the setting status and operating status, so that various functions can be set. By pressing the start button, reading can be started and an image signal can be obtained. 9 and 10 show a typical configuration of the image reading apparatus shown in FIG. 8, particularly a reading optical system.
The figure shows the optical system when using a contact image sensor,
FIG. 10 shows an optical system when a reduction type image sensor is used. Other than this, there is a document whose document is moved and the optical system is fixed. When the contact image sensor as shown in FIG. 9 is used, the optical system is a 1 × optical system. The original surface on the contact glass 2 is illuminated by the fluorescent lamp 5 and its reflected light 8
Enters the image sensor 7 through the self-hook lens 6. The image sensor 7 has a width equal to or larger than the document width (the depth direction in FIG. 9, that is, the main scanning direction X), and the image data of one line in the width direction is read at one time. Number of lines sampled and sampling pitch
Px is determined by the number of pixels of the image sensor. After reading one line of data, the carriage 8 that integrates the fluorescent lamp 5, the self-hook lens 6 and the image sensor 7 is integrated.
Is driven in the direction of the arrow (sub-scanning direction Y), and the next line is read. There is also a mode in which the carriage 9 is continuously driven in the sub-scanning direction Y. The pitch Py between lines is determined by the speed of the carriage 9, the charge storage time of the sensor 7, etc., but is normally set to the same sampling pitch Px as described above. When a reduction type image sensor is used as shown in FIG. 10, the lens 14 reduces the original width of the optical image so as to match the size of the image sensor. In FIG. 10, three mirrors are used, but two or five mirrors are also conceivable. Regarding reading in the main scanning direction X,
This is the same as when using a contact sensor. In the sub-scanning direction Y, a first fluorescent lamp 10 and a first mirror 11 are integrated into a first unit.
The carriage and the second carriage that integrates the mirrors 12 and 13 are independently driven so that the optical path length from the original on the contact glass plate 2 to the lens 14 becomes constant. Here, the conventional scaling method is performed by changing the optical path length of the optical system to change the reduction ratio in the main scanning direction X, and changing the speed of the moving body in the sub scanning direction Y. I was doing in. However, this method
It cannot be used when the contact type sensor as shown in FIG. 9 is used. Even in the case of the reduction type sensor shown in FIG. 10, the range of the variable magnification is structurally limited, such that the variable magnification does not change so much even though the amount of movement for changing the position of the lens 14 and the sensor 7 is large. In addition, a precise mechanism must be used for the movement accuracy of the lens 14 and the sensor 7 and a position adjusting mechanism, and a coarse mechanism has a big problem that the read image is deformed. In consideration of these conventional problems, recently, instead of optical scaling, image processing to obtain scaled image data by predictively calculating the scaled data from the same-magnification read data, so-called electrical scaling is used. I'm starting to be seen. However, the currently proposed electrical scaling has a problem in the precision of the scaling, and if the scaling is performed with high accuracy, the hardware becomes complicated, and so-called zoom scaling such as 1% increments and wide range zooming are possible. There was a problem that it was difficult to deal with variable magnification. Such a problem is that the data clock DCLK indicating the pixel unit division of the original image data is counted and the count value is set to the position i of the scaled image data, and i increases by 1 every time one pulse of DCLK occurs. 100i / specified scaling factor R% = Ji + Ri, an integer Ji and a small number Ri are calculated to sample the image data at the position x = Ji of the original image data and the image data adjacent thereto, and the sampled original image Calculate the scaled image data with the data and a small number of Ri
This is improved by defining the scaled image data at the i-th position in DCLK units. That is, according to this, the scaled image data is obtained in synchronization with the data clock DCLK of the original image data, and the scaled image data is printed, transferred or transmitted by raster scanning synchronized with the reading or transfer of the original image data. It can be processed. Moreover, the scaling factor R can be set in fine 1% units, and the range of R can be set wide.

【発明が解決しようとする課題】[Problems to be Solved by the Invention]

この方法は原画像データのデータクロックDCLKの1パ
ルスの発生毎に、すなわち原画像データが1画素シフト
したものになる毎に、原画像データのサンプリング位置
x=Jiと、変倍画像データ位置iと該位置xとの偏差Ri
を演算するので、この演算時間により、データクロック
DCLKの周波数が制限される。すなわちこれらの演算を実
行する時間に更に、サンプリングした原画像データとRi
に基づいた変倍画像データを演算する時間を加えた和よ
りも、データクロックDCLKの1周期が十分に長くなけれ
ばならない。 データクロックDCLKの周期は、画像読取速度に依存す
るものであるので、DCLKを長くすることは画像読取速度
を低くすることであり、また、変倍画像データの記録,
転送,送信等の速度も低くすることになる。 たとえば、第9図あるいは第10図に示す画像読取装置
で得る画像データ(以下、原画像データという)は、主
走査方向Xの画素数をNとし、副走査方向Yの画素数を
Mとすると、画像データの原画像対応の分布は、第11図
のように考えることができる。第11図で主走査方向にR
%の倍率で変倍すると〔N×R/100〕個の新データ(以
下変倍画像データという)ができることになる。 ここで、代表的な変倍アルゴリズム3つの方法につい
て述べておく。ここでは、電気変倍は主走査方向のみと
しているため、以下の説明もそれに準ずる。 まず、どの方式でも変倍後の新サンプリング点0の位
置を確認し、新サンプリング点0の周囲数画素の旧サン
プリング点の原画像データ及びそれらの距離を求める必
要がある。 第12図に示すように、新サンプリング点0が原画像デ
ータのSijとSij+1との間にあり、それぞれと0の距離が
r1,r2であるとし、原画像データのサンプリングピッチ
をPとする。 最近接画素置換法 0点の変倍画像データとして、0に最も近い位置の原
画像データを設定する方法であり、第12図で、 r1≦r2ならば0ik=Sij r1>r2ならば0ik=Sij+1 というようにおきかえる方法である。すなわち、変倍画
像のサンプリング点0に最も近い原画像のサンプリング
点の画像データを、該点0の変倍画像データ0ikとす
る。 近接画素間距離線形配分法 0と原画像データの隣接画素間の距離に応じて濃度レ
ベルを配分する方法である。第12図で変倍画像データ0i
kは、 0ik=(1−r1/P)Sij+(1−r2/P)Sij+1 ・・・
(1) より求める。 3次関数コンボリューション法 第5図に示すような補間関数h(γ)によって、補間
計算を行なう。 h(γ)は、サンプリングピッチPで現格化されたγ
に対して下式のように近似される。 h(γ)= 1−2|γ|2+|γ|30≦|γ|≦1 h(γ)=4−8|γ|2+5|γ|2−|γ|3 1≦|γ|
≦2 h(γ)= 0 2≦|γ|・・・(2) このh(γ)を使って変倍画像データ0ikは、 0ik=〔h(1+r1/P)Sij-1+h(r1/P)Sij +h(r2/P)Sij+1+h(1+r2/P)Sij+2〕/
〔h(1+r1/P) +h(r1/P)+h(r2/P)+h(1+r2/P)〕 +h(1+r2/P)〕 ・・・(3) と算出する。 上記,,の他にも、近接画素距離反比例法,近
接画素面積配分法などの方法があるが比較的に類似し
ているのでここでは、上記,,を代表例と考え
る。これらの方法はすべて比較的古くから知られてお
り、主にコンピュータ画像処理分野で実用化されてい
た。 コンピュータ画像処理など、画像データを一担頁メモ
リ等の高容量メモリに格納した後変倍処理するような場
合はこれらの方法は、簡単に利用できるが、頁メモリを
持たず専用のハードウェアでこれらの処理を行なうに
は、種々制限がでてくる。デジタル複写機や、ファクシ
ミリ等で読み取り時に変倍を行なう場合は、ラスター走
査(ライン単位)で入力されたデータを変倍処理後もラ
スター走査(ライン単位)で行なう必要があり、また、
データクロック(画素同期パルス)は、どんな倍率でも
一定である必要がある。 つまり、変倍処理後のデータは、光学的な変倍を行な
ったのと同じ形式、同じスピードでなくてはならない。
すなわちリアルタイム処理を要する。このことは、デジ
タル複写機、あるいはファクシミリ全体として、変倍を
考えられる場合は、異なってくる。たとえば、プリンタ
ーの印字速度を変倍時変えることができたら、変倍後の
データクロックも変えることができる。また、伝送を行
なうようなシステムでは、変倍後のラスタ走査データで
なくてもよい。 しかし、画像読み取り装置として、あるいは変倍処理
を独立させて変倍を考える場合は、前記のような、ラス
ター走査処理の制限がつく。 本発明は、これらの制限を受ける読み取り装置に適用
可能な変倍装置を提供するものである。 第6図および第7図は、この制限を満たす変倍前デー
タ及び変倍後データのタイムチャートの例である。これ
らにおいて、LSYNCは、水平周期信号(ライン同期パル
ス:副走査同期パルス)で、この信号1周期の間に主走
査方向1ラインの画像データを読み取る。DCLKは、デー
タクロック(画素同期パルス)である。第6図に示すタ
イミングで、変倍前データ(画素単位)Yが、LSYNCの
周期内に、Si0〜SiNまで、DCLKに同期して変倍処理部に
入力されるとする。その結果、変倍処理されたデータZ
が出力されるが、出力Zは、データYより遅れてもよい
が、必ずDCLKに同期しなくてはならない。また、遅れ時
間(t2−t1)は、特に制限はないが、ライン間で変化し
てはならず、t2及びt1は常に一定でなければならない。
また、ライン単位でのデータの入出力においても、第7
図のように、ラインバッフアメモリRAM1,RAM2読出しデ
ータ(出力)は書込データ(入力)より遅れてもかまわ
ない。とにかく、最も重要で、最も困難なことは、どん
な倍率でも、変倍画像データをDCLKに同期させることで
ある。 数種類の固定倍率での変倍ならば、このような要求を
比較的容易に実現しやすいが、特に最近の複写システム
等では、広範囲の変倍率、そして、ズーム変倍といわれ
る1%程度の小きざみな倍率変動が要求されており、デ
ジタル複写機やファクシミリ等でもこれらの要求に答え
る必要がでてきた。したがって、先に挙げた変倍方法を
実際に適用する上で、前述の要求を満すのがむづかしく
なっている。 本発明は、高精度,微細,広範囲な変倍率を実現する
とともに、変倍時においても画像データの入力データク
ロックと出力データクロックを変化させることのない変
倍処理装置を簡単な構成にすることを目的とする。
With this method, every time one pulse of the data clock DCLK of the original image data is generated, that is, every time the original image data is shifted by one pixel, the sampling position x = Ji of the original image data and the scaled image data position i Between the position x and the position x
Is calculated, the data clock
DCLK frequency is limited. That is, the sampled original image data and Ri
One cycle of the data clock DCLK must be sufficiently longer than the sum of the times for calculating the scaled image data based on the above. Since the cycle of the data clock DCLK depends on the image reading speed, lengthening DCLK means lowering the image reading speed.
The transfer and transmission speeds will also be reduced. For example, in the image data obtained by the image reading apparatus shown in FIG. 9 or FIG. 10 (hereinafter referred to as original image data), the number of pixels in the main scanning direction X is N, and the number of pixels in the sub scanning direction Y is M. , The distribution of image data corresponding to the original image can be considered as shown in FIG. R in the main scanning direction in FIG.
[N × R / 100] new data (hereinafter referred to as scaled image data) can be generated by scaling at a magnification of%. Here, three typical scaling algorithms will be described. Here, since the electrical scaling is performed only in the main scanning direction, the following description also applies. First, in any method, it is necessary to confirm the position of the new sampling point 0 after the scaling and obtain the original image data of the old sampling points of several pixels around the new sampling point 0 and their distances. As shown in FIG. 12, the new sampling point 0 is between Sij and Sij +1 of the original image data, and the distance between them is 0.
Let r 1 and r 2 , and let P be the sampling pitch of the original image data. Closest pixel replacement method This is a method of setting the original image data at the position closest to 0 as the scaled image data of 0 points, and if r 1 ≦ r 2 in FIG. 12, 0ik = Sij r 1 > r 2 Then, it is a method of replacing 0ik = Sij +1 . That is, the image data of the sampling point of the original image closest to the sampling point 0 of the scaled image is set as the scaled image data 0ik of the point 0. This is a method of allocating density levels according to the distance linear distribution method between adjacent pixels and 0 and the distance between adjacent pixels of the original image data. Scaled image data 0i in Fig. 12
k is, 0ik = (1-r 1 / P) Sij + (1-r 2 / P) Sij +1 ···
Obtained from (1). Cubic function convolution method Interpolation calculation is performed using an interpolation function h (γ) as shown in FIG. h (γ) is the γ that has been qualified with the sampling pitch P
Is approximated as follows. h (γ) = 1-2 | γ | 2 + | γ | 3 0 ≦ | γ | ≦ 1 h (γ) = 4-8 | γ | 2 +5 | γ | 2 − | γ | 3 1 ≦ | γ |
≦ 2 h (γ) = 0 2 ≦ | γ | ... (2) Using this h (γ), the scaled image data 0ik is 0ik = [h (1 + r 1 / P) Sij −1 + h (r 1 / P) Sij + h ( r 2 / P) Sij +1 + h (1 + r 2 / P) Sij +2 ] /
Calculating a [h (1 + r 1 / P ) + h (r 1 / P) + h (r 2 / P) + h (1 + r2 / P) ] + h (1 + r2 / P ) ] (3). In addition to the above, and the like, there are methods such as the proximity pixel distance inverse proportional method and the proximity pixel area allocation method, but since they are relatively similar, the above is considered as a representative example. All of these methods have been known for a relatively long time, and have been put to practical use mainly in the field of computer image processing. For computer image processing, etc., when image data is stored in a high-capacity memory such as a page memory and then scaling processing is performed, these methods can be easily used, but there is no page memory and dedicated hardware is used. There are various restrictions for performing these processes. When performing scaling with a digital copier or facsimile, etc., it is necessary to perform raster scanning (line unit) on the data input in raster scanning (line unit) even after scaling processing.
The data clock (pixel sync pulse) needs to be constant at any scale factor. In other words, the data after the scaling process must be in the same format and at the same speed as the optical scaling.
That is, real-time processing is required. This is different when the magnification of the digital copying machine or the entire facsimile is considered. For example, if the printing speed of the printer can be changed during zooming, the data clock after zooming can also be changed. Further, in a system that performs transmission, it does not need to be raster scan data after scaling. However, when the scaling is considered as an image reading apparatus or by independently performing the scaling processing, the raster scanning processing is limited as described above. The present invention provides a variable power device applicable to a reading device subject to these restrictions. FIG. 6 and FIG. 7 are examples of time charts of pre-scaling data and post-scaling data that satisfy this restriction. In these, LSYNC is a horizontal cycle signal (line synchronization pulse: sub-scanning synchronization pulse) and reads image data of one line in the main scanning direction during one cycle of this signal. DCLK is a data clock (pixel synchronization pulse). At the timing shown in FIG. 6, it is assumed that pre-scaling data (pixel unit) Y is input to the scaling processing section from Si 0 to Si N in synchronization with DCLK within the period of LSYNC. As a result, the scaled data Z
Is output, the output Z may be delayed from the data Y, but it must be synchronized with DCLK. The delay time (t 2 −t 1 ) is not particularly limited, but it should not change between lines, and t 2 and t 1 should always be constant.
In addition, when inputting / outputting data in line units,
As shown in the figure, the read data (output) of the line buffer memories RAM1 and RAM2 may be later than the write data (input). Anyway, the most important and most difficult thing is to synchronize the scaled image data to DCLK at any magnification. This requirement is relatively easy to achieve if the magnification is changed with several fixed magnifications, but especially in recent copying systems, a wide range of magnification and a small magnification of about 1%, which is called zoom magnification, are used. It is required to change the magnification all the time, and it has become necessary for digital copying machines and facsimiles to meet these demands. Therefore, it is difficult to meet the above-mentioned requirements when actually applying the above-described scaling method. The present invention realizes a high-precision, fine, wide-range zooming ratio, and makes a scaling processing device having a simple configuration, which does not change the input data clock and the output data clock of image data even at the time of scaling. With the goal.

【課題を解決するための技術手段】[Technical Means for Solving the Problems]

本発明の変倍処理装置は、指定倍率R%に基づいて、
変倍画像データサンプリング位置iそれぞれに対応付け
る、原画像データサンプリング位置情報と、原画像デー
タサンプリング位置と変倍画像データサンプリング位置
との差を示す位置差情報と、を演算する演算手段; 変倍画像データサンプリング位置i対応で前記原画像
データサンプリング位置情報および位置差情報を記憶す
る、変倍処理情報メモリ手段; 原画像データのデータクロックDCLKに同期してiを1
づつ変更すると共に、前記変倍処理情報メモリ手段よ
り、i対応で原画像データサンプリング位置情報および
位置差情報を読み出す読出手段; R≧100のときにはデータクロックDCLKを、R<100の
ときには画像データクロックDCLKの2倍の周波数のデー
タクロック2DCLKをカウントして、読み出された原画像
データサンプリング位置情報で特定される原画像データ
とそれに隣接する1以上の原画像データを摘出するサン
プリング手段;および、 前記データクロックDCLK同期して、摘出された原画像
データおよび読み出された位置差情報の相関で位置iの
変倍画像データを定める変倍画像データ設定手段;を備
える。
The scaling device of the present invention is based on the designated magnification R%,
Calculating means for calculating the original image data sampling position information and the position difference information indicating the difference between the original image data sampling position and the variable image data sampling position, which is associated with each variable image data sampling position i; Magnification processing information memory means for storing the original image data sampling position information and the position difference information corresponding to the data sampling position i; i is set to 1 in synchronization with the data clock DCLK of the original image data.
Reading means for reading the original image data sampling position information and position difference information corresponding to i from the scaling processing information memory means; data clock DCLK when R ≧ 100, image data clock when R <100 Sampling means for counting the data clock 2DCLK having twice the frequency of DCLK and extracting the original image data specified by the read original image data sampling position information and one or more original image data adjacent thereto; and Scaled image data setting means for determining scaled image data at the position i based on the correlation between the extracted original image data and the read position difference information in synchronization with the data clock DCLK.

【作用】[Action]

これによれば、上記演算手段で変倍処理情報メモリ手
段に変倍パーセントRに対応した原画像データサンプリ
ング位置情報と位置差情報が設定され; 読出手段が、これらの情報を、原画像データのデータ
クロックDCLKに同期して読み出し;かつ サンプリング手段がデータクロックDCLKに同期して、
読み出された原画像データサンプリング位置情報に基づ
いて原画像データを摘出し; 変倍画像データ設定手段がデータクロックDCLKに同期
して、読み出された位置差情報と摘出された原画像デー
タに基づいて、所定のロジック、例えば前記,,
等の処理、で変倍画像データを設定する。 上記読出手段,サンプリング手段および変倍画像デー
タ設定手段はすべて、原画像データのデータクロックDC
LKに同期して動作するので、変倍画像データは該データ
クロックDCLKに同期したものである。すなわちリアルタ
イム処理で変倍画像データが得られる。したがって、ラ
スター走査形で変倍画像データを処理し得る。原画像デ
ータがデータクロックDCLKに同期して転送されるとき、
すなわち画像読取のときには、このように、変倍処理情
報メモリ手段にすでに書込まれている原画像データサン
プリング位置情報および位置差情報を、データクロック
DCLKに同期して読み出すので、これらの情報を演算する
時間が節約となり、その分、データクロックDCLKの周期
は短くてもよい。すなわち、画像読取速度および又は転
送速度、ならびに、これに対応する変倍画像データ転送
速度、を高く設定することができ、高速画像処理に適す
る。 本発明の好ましい実施例では、演算手段は、100i/
〔指定倍率R(%)〕=Ji+Ri,i=0〜R−1なる整
数,0≦Ri<1,Jiは整数、なる整数Jiおよび少数Riを演算
して、iが1小さいときのJi演算値Ji-1を保持し、原画
像データサンプリング位置情報として、Rの値およびJi
−Ji-1の値に対応した原画素データのサンプリング位置
変更量を示すデータAiを演算し、位置差情報として、Ri
が0〜1の中の小領域区分のいずれの区分にあるかを示
すデータBiを演算するものとする。 これによれば、変倍率R%は、1を最小単位とする任
意の数および範囲に設定し得る。すなわち、1%単位の
ズーム変倍が実現され、しかも変倍可能範囲を極く広く
設定し得る。なお、後述する本発明の実施例では、変倍
率を1%単位として、R=50%から400%を設定可能範
囲としている。 また、変倍処理情報メモリ手段に書込まれる原画像デ
ータサンプリング情報が前サンプリング位置Ji-1に対す
る今回サンプリング位置Jiの差すなわち2サンプリング
位置間ピッチ(画素数)を示すデータAiであるので、原
画像データの摘出は、このデータAiが示すピッチで行え
ばよく、ライン始点を基点とするサンプリング位置カウ
ントが不要になる。更に、変倍処理情報メモリ手段に書
込まれる位置差情報が、小領域区分のいずれに属するか
を示すデータBiであるので、変倍画像データ演算におい
て極く小さい数の演算が省略となり、演算のためのハー
ドウエアが簡単になり、かつ変倍画像データ演算速度が
高くなる。 本発明の一実施例では、これらのデータAiおよびBiを
用いるのに合せて、サンプリング手段は:1ライン分の原
画像データを格納するバッフアメモリ手段;該バッフア
メモリ手段を書込み/読出しに交互に設定する手段;該
バッフアメモリ手段に書込み/読み出し位置を与えるア
ドレスカウント手段;該バッフアメモリ手段に書込みの
ときは、データクロックDCLKをカウントパルスとして該
アドレスカウント手段に与え、該メモリ手段より読み出
しのときはデータクロックDCLKに同期してiを1づつ変
更すると共に、R<100の場合は、Aiに対応してデータ
クロックDCLKの2倍の周波数のデータクロック2DCLKと
データクロンクDCLKの一方を、カウントパルスとしてア
ドレスカウント手段に与え、R≧100の場合は、Aiに対
応してデータクロックDCLKのアドレスカウント手段への
印加/遮断をして、原画像データの読出し位置xを指定
するサンプリング位置指定手段;でなるものとする。 すなわち、この実施例では、1ラインの原画像データ
をバッフアメモリに格納し、その読出しアドレスをコン
トロールして原画像データの読出しサンプリングを行っ
て、変倍画像データを得る。縮少時の画像データの読出
しアドレスの変更量、すなわち変倍率に対応した原画像
データの読出しピッチは、バッフアメモリの読出しアド
レスカウンタに与えるカウントクロックを、データクロ
ックDCLKと、それの2倍の周波数のデータクロック2DCL
Kに切換えることにより行なう。 本発明のもう1つの実施例では、サンプリング手段
は:1ライン分の原画像データを格納するバッフアメモリ
手段;該バッフアメモリ手段を書込み/読出しに交互に
設定する手段;アドレスカウント手段;アップダウンカ
ウント手段;アドレスカウント手段のカウントデータと
アップダウンカウント手段のカウントデータの和を該バ
ッフアメモリ手段にアドレスデータとして与える加算手
段;該バッフアメモリ手段に書込みのときは、データク
ロックDCLKをカウントパルスとして該アドレスカウント
手段に与え、該メモリ手段より読み出しのときはデータ
クロックDCLKに同期してiを1づつ変更すると共に、R
<100の場合は、アップダウンカウント手段にアップ指
示してアドレスカウント手段にデータクロックDCLKをカ
ウントパルスとして与え、かつAiに対応してアップダウ
ンカウント手段へのDCLKの印加/遮断をし、R≧100の
場合は、アップダウンカウント手段をダウン指示してア
ドレスカウント手段にデータクロックDCLKを与え、か
つ、Aiに対応してデータクロックDCLKのアップダウンカ
ウント手段への印加/遮断をして、原画像データの読出
し位置xを指定するサンプリング位置指定手段;でなる
ものとする。 すなわちこの実施例では、前述の実施例と同様にライ
ンバッフアメモリを備えるが、その読出しアドレスは、
アドレスカウント手段;アップダウンカウント手段;お
よびアドレスカウント手段のカウントデータとアップダ
ウンカウント手段のカウントデータの和をラインバッフ
アメモリにアドレスデータとして与える加算手段;で設
定する。そしてサンプリング位置指定手段は、該メモリ
手段に書込みのときは、原画像データの画素単位を定め
るデータクロックDCLKをカウントパルスとして該アドレ
スカウント手段に与え、該メモリ手段より読み出しのと
きは、R<100の場合は、アップダウンカウント手段に
アップ指示してアドレスカウント手段にデータクロック
DCLKをカウントパルスとして与え、かつAiがJi−Ji-1
2を示すもののときにはアップダウンカウント手段にも
データクロックDCLKを与えAiがJi−Ji-1=1を示すもの
であるときはアップダウンカウント手段にはカウントパ
ルスを与えず、R≧100の場合は、アップダウンカウン
ト手段をダウン指示してアドレスカウント手段にデータ
クロックDCLKを与え、かつ、AiがJi−Ji-1=1を示すも
のであるときはデータクロックDCLKをアップダウンカウ
ント手段には与えず、AiがJi−Ji-1=0を示すものであ
るときはアップダウンカウント手段にもデータクロック
DCLKを与えて、原画像データの読出し位置xを指定する
ものとする。すなわち、変倍率に応じて、データクロッ
クDCLKのカウント数を増減して、ラインバッフアメモリ
の読出し位置xを定める。 本発明の他の目的および特徴は、図面を参照した以下
の実施例の説明より明らかになろう。
According to this, the original image data sampling position information and the positional difference information corresponding to the scaling percentage R are set in the scaling processing information memory unit by the computing unit; the reading unit stores these information in the original image data. Reading in synchronization with the data clock DCLK; and the sampling means in synchronization with the data clock DCLK,
Original image data is extracted based on the read original image data sampling position information; the variable-magnification image data setting means synchronizes with the data clock DCLK to read the positional difference information and the extracted original image data. Based on the predetermined logic, for example,
The variable-magnification image data is set by processing such as. The reading means, the sampling means and the scaled image data setting means are all provided with the data clock DC of the original image data.
Since it operates in synchronization with LK, the scaled image data is in synchronization with the data clock DCLK. That is, variable-magnification image data can be obtained by real-time processing. Therefore, it is possible to process the scaled image data in a raster scan type. When the original image data is transferred in synchronization with the data clock DCLK,
That is, at the time of image reading, the original image data sampling position information and the position difference information already written in the scaling processing information memory means are transferred to the data clock in this way.
Since the data is read in synchronization with DCLK, the time for calculating these pieces of information is saved, and the period of the data clock DCLK may be shortened accordingly. That is, the image reading speed and / or the transfer speed and the variable-magnification image data transfer speed corresponding thereto can be set high, which is suitable for high-speed image processing. In a preferred embodiment of the present invention, the computing means is 100i /
[Specified magnification R (%)] = Ji + Ri, i = 0 to R−1, 0 ≦ Ri <1, Ji is an integer, and an integer Ji and a small number Ri are calculated, and Ji is calculated when i is smaller than 1. The value Ji -1 is held, and the R value and Ji are used as the original image data sampling position information.
−Ji −1 Data Ai indicating the sampling position change amount of the original pixel data corresponding to the value is calculated and Ri as position difference information is calculated.
It is assumed that the data Bi indicating which one of the small area divisions 0 to 1 is in is calculated. According to this, the scaling factor R% can be set to any number and range with 1 as the minimum unit. That is, zoom magnification in units of 1% is realized, and the zoomable range can be set extremely wide. In the embodiment of the present invention described later, the scaling factor is set to 1%, and R = 50% to 400% is set as the settable range. Further, since the original image data sampling information written in the scaling processing information memory means is the data Ai indicating the difference between the previous sampling position Ji -1 and the current sampling position Ji, that is, the pitch between two sampling positions (the number of pixels). The image data may be extracted at the pitch indicated by the data Ai, and the sampling position counting from the line start point as a base point becomes unnecessary. Further, since the position difference information written in the scaling processing information memory means is the data Bi indicating which one of the small area divisions belongs, a very small number of operations are omitted in the scaling image data calculation, Hardware is simplified, and the scaled image data calculation speed is increased. According to one embodiment of the present invention, in accordance with the use of these data Ai and Bi, the sampling means is a buffer memory means for storing the original image data for one line; the buffer memory means is alternately set to write / read. Means; address counting means for giving write / read position to the buffer memory means; data clock DCLK is given as a count pulse to the address counting means when writing to the buffer memory means, and data clock DCLK when reading from the memory means I is changed by 1 in synchronism with, and when R <100, one of the data clock 2DCLK and the data cronk DCLK having twice the frequency of the data clock DCLK corresponding to Ai is used as a count pulse for the address counting means. When R ≧ 100, the address of the data clock DCLK corresponding to Ai It shall be made in; and the application / interruption of the count means, the sampling position specifying means for specifying a reading position x of the original image data. That is, in this embodiment, the original image data of one line is stored in the buffer memory, and the read address is controlled to perform the read sampling of the original image data to obtain the scaled image data. The change amount of the read address of the image data at the time of reduction, that is, the read pitch of the original image data corresponding to the scaling ratio is the count clock to be given to the read address counter of the buffer memory, which is the data clock DCLK and twice the frequency thereof. Data clock 2 DCL
Perform by switching to K. In another embodiment of the present invention, the sampling means is a buffer memory means for storing the original image data for one line; a means for alternately setting the buffer memory means for writing / reading; an address counting means; an up / down counting means; Adder means for giving the sum of the count data of the address 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, the data clock DCLK is given to the address count means as a count pulse , When reading from the memory means, i is changed by 1 in synchronization with the data clock DCLK and R
In the case of <100, the up / down counting means is instructed to up, the data clock DCLK is given to the address counting means as a count pulse, and DCLK is applied / cut off to / from the up / down counting means according to Ai. In the case of 100, the up / down counting means is instructed to down, the data clock DCLK is given to the address counting means, and the data clock DCLK is applied / blocked to / from the up / down counting means in correspondence with Ai to obtain the original image. Sampling position specifying means for specifying the data read position x. That is, in this embodiment, the line buffer memory is provided as in the above-mentioned embodiment, but the read address is
Address count means; up / down count means; and addition means for giving the sum of the count data of the address count means and the count data of the up / down count means to the line buffer memory as address data. The sampling position designating means, when writing to the memory means, supplies the address counting means with a data clock DCLK that determines the pixel unit of the original image data as a count pulse, and when reading from the memory means, R <100. In the case of, the up-down counting means is instructed to up, and the address counting means
DCLK is given as a count pulse, and Ai is Ji-Ji -1 =
When the value is 2, the up / down counting means is also supplied with the data clock DCLK. When Ai indicates Ji-Ji -1 = 1, the up / down counting means is not supplied with a count pulse. , The up / down counting means is instructed to down, the data clock DCLK is given to the address counting means, and when Ai indicates Ji−Ji −1 = 1 the data clock DCLK is not given to the up / down counting means. , Ai indicates Ji−Ji −1 = 0, the up / down counting means also has a data clock.
It is assumed that the read position x of the original image data is designated by giving DCLK. That is, the read number x of the line buffer memory is determined by increasing or decreasing the count number of the data clock DCLK according to the scaling factor. Other objects and features of the present invention will become apparent from the following description of embodiments with reference to the drawings.

【実施例】【Example】

第1a図を参照すると、第1a図に示す装置(ただしプリ
ンタPRTは除外する)は、デジタル複写機用としても、
ファクシミリ用としても使用できる画像読み取り装置で
あって、第8図に示す外装に組込まれているものであ
る。そのスキャナSCRは、A3原稿を400dpi(画素/イン
チ)の密度、6ビット/画素(64階調)で読み取り、シ
ェーディング補正,MTF補正等を行なって、この6ビット
原画像データを、プリンター用あるいは伝送用に“1"か
“0"の2値信号/画素に変換して出力する装置である。
なお、これらの読み取り密度及び階調数は一例であり、
400dpi、64階調でなくてもよい。 原稿面DOCを光源5の光によって照射し、その反射光
を、A3原稿横方向(297mm)を400dpiで読むため、5000
画素のイメージセンサ7が受ける。 イメージセンサ7で原稿DOCの光信号が電気信号に変
換され、増幅器22で所定のレベルの信号に増巾される。
次に、この濃度によって電圧レベルの異なるアナログ信
号は、A/D変換器23で6ビットのデジタル信号、すなわ
ち画像データに変換される。 次に、5000画素のセンサ7の各素子の感度のバラツキ
及び、A3原稿横方向での光源5の照度ムラを補正するシ
ェーディング補正が、回路24で行なわれる。 変倍処理は、第1a図に示す実施例においては、このシ
ェーディング補正のあとに行なう。シェーディング補正
回路24の前や、次のMTF補正回路29のあとに行なうこと
も可能である。 変倍処理のあと、回路29でMTF補正を行ない、そのあ
と2値化回路30で、あるスレッシュレベルによって“1"
か“0"かに2値化され、プリンター部あるいは伝送処理
部へ出力される。又は、階調処理器31で、中間調表現が
ある“1"か“0"かに変換されて伝送処理部へ出力され
る。なお、第1a図にはプリンタPRTに出力する態様を示
している。 このような画像データの流れの中で変倍処理は、第1a
図においては、概略でパラレル6ビットのラッチ25〜演
算器28,マイクロプロセッサ35,RAM3およびサンプリング
回路64,65で構成される変倍処理装置で実行される。 この変倍処理装置は、変倍後の新サンプリング点iの
位置を決める機能、新サンプリング点i周辺の原画像デ
ータ位置xの原画像データを摘出する機能、及び新サン
プリング点iと、摘出した原画像データ位置x(Ji)と
の距離と摘出データとにより、変倍画像データを計算す
る機能を有する。 第1a図において、まず、ラッチ25,データ分配器26,ラ
インバッフアメモリとしてのRAM1,RAM2およびデータセ
レクタ27は、将来、サンプリング点xを決定して画像デ
ータを摘出し、変倍画像データの演算を行なうとき、変
倍画像データ演算に参照する複数個の原画像データを一
度にとり出すために、補正方法によって周辺2画素によ
る補間法(第1a図,第2a図および第4図に示す実施例)
では2画素ごとに、周辺4画素による補間法(第3a図の
実施例)では4画素ごとにまとめておくところである。
例えば、第12図で新サンプリング点がSijとSij+1の間
にある場合、データセレクタ27より、SijとSij+1を(第
1a図,第2a図および第4図に示す実施例)あるいはSij
-1,Sij,Sij+1,Sij+2を(第3a図の実施例)、一度にと
り出すということである。 ここで、前述した方式及びが周辺2画素による補
間法(第1a図,第2a図および第4図に示す実施例)、方
式が周辺4画素による補間法(第3a図の実施例)であ
る。 具体的な方法は、データクロックDCLKに同期して順次
入力される原画像データY(第6図)をDCLKにてラッチ
25にメモリ(DCLK1パルス周期の遅延メモリ)すること
により実施できる。2画素なら1段のラッチ25(第1a
図,第2a図および第4図に示す実施例)、4画素なら3
段のラッチ251〜253(第3a図の実施例)によって実現可
能である。 次にラインメモリ用のRAM1およびRAM2であるが、ここ
は、2画素(第1a図,第2a図および第4図に示す実施
例)あるいは4画素(第3a図の実施例)のまとまりを50
00コ格納するメモリで、入力,出力で2段構成とし、一
方(RAM1)が入力のときは、もう一方(RAM2)は出力、
1つのラインが終わると入出力を逆にするという構成で
ある。これは、ライン同期パルスLSYNCで反転動作をす
るTフリップフロップ36の出力aをデータ分配器26に与
えて、aがHのとき、データ分配器26をA出力としてRA
M1を書込(W)に指定し、もう1つの出力bをデータセ
レクタ27に与えてbがLのとき、データセレクタ27をB
出力としてRAM2を読出し(R)とすることにより行なわ
れる。 このラインメモリRAM1,RAM2のアドレスであるが、入
力時(書込)は、DCLK同期でカウンタ38,43をカウント
アップして得られるアドレスをそのまま使用するが、出
力時(読出)、このアドレスを変化させる。出力時のア
ドレスがすなわち変倍画像データのサンプリング点i直
前の原画像データサンプリング位置x=Jiである。 変倍画像データのサンプリング点iが、ある時、Sij
とSij+1の間にあり、その次のサンプリング点が、もう
一度SijとSij+1の間にある時は、読出しアドレスカウン
タを止め、Sij+2とSij+3の間に移ったときは、読出しア
ドレスカウンタは2つ進め、Sij+1とSij+2の間に移った
ときは、読出しアドレスカウンタを通常通り1つ進め
る。 拡大時(R≧100)は、該カウンタを1つ進める動作
と、該カウンタを止めておく動作によって新サンプリン
グ点の位置を決める。縮少時(R<100)は、該カウン
タを1つ進める動作と2つ進める動作の組合せによって
位置を決める。縮少は本装置では50%までで考えている
ので、該カウンタは1つ進めるか2つ進めるかで良い
が、50%より小さな縮少のときは、3つ以上進める場合
もあり得る。 どこで、読出しアドレスカウンタをいくつ進めるかと
いう情報は、倍率R%によってマイクロプロセッサ35で
予め計算されている。変倍画像データのサンプリング点
iの直前の原画像データ位置xは、スタート位置を0と
し、原画像のサンプリングピッチPを1とし、倍率をR
(%)とすると、 100i/R=Ji+Ri ・・・(4) i=0,1,2,3,・・・ Ji:整数,Ri:小数 の整数Jiとなる。 すなわち、サンプリング点iがSijとSij+1の間にある
とすると、原画像データのサンプリング位置xはJiとな
る。そこで、iの増加とともに、100i/Rの整数部Jiが1
つ増えるときは、読出しアドレスカウンタも1つ進め、
iの増加で100i/Rの整数部Jiが2つ増えるときは、該カ
ウンタも2つ進め、100i/Rの整数部Jiが1つも進まない
場合は、該カウンタも進めないようにすればよい。ま
た、100i/Rの少数部Riは、Sijとi対応位置0との距離r
1になる。この距離データr1は後の変倍画像データ演算
で使うことになる。 マイクロプロセッサ35は、上記(4)式でi=0〜R
−1まで計算する。すなわち、i=0での(4)式の演
算による整数J0および少数R0,i=1での(4)式の演算
による整数J1および少数R1,i=2での(4)式の演算に
よる整数J2および少数R2,・・・,i=R−1での(4)
式の演算による整数JR-1および少数RR-1を演算する。こ
のようにi=0〜R−1までのみの整数Jiおよび少数Ri
のみを演算すると、これを原画像データのライン長全体
に適用できる。すなわち、すべての場合で、変倍画像デ
ータのサンプリング点はRコ毎の周期になるため、i=
Rにはi=0の値を、i=R+1ではi=1の値を、i
=R+2ではi=2の値を、・・・以下同様・・・割り
当てればよい。 本発明の後述の全実施例では、i=0〜R−1のJiお
よびRiの計算は、読み取り動作開始より前に、倍率R
(%)が指定されたときに行なわれ、JiおよびRiが、ハ
ードウェアにマッチした形のデータAiおよびBiに変換さ
れてRAM3に書き込まれる。画像読取が開始されると、す
なわち変倍処理時に、データクロックDCLKと同期してi
を1づつ大きい値に変更して、i対応のデータ(Ai,B
i)がRAM3より読み出される。 なお、別の実施態様として、上記計算を行なう専用の
マイクロプロセッサ、あるいは演算手段を設け、変倍処
理と並行してデータクロックDCLKと同期して(4)式を
計算し、100i/Rの整数部Jiすなわち原画像データサンフ
リング位置xをそのままアドレスとし、少数部Riを、変
倍画像データ演算用パラメータである距離データr1とし
て使うようにしてもよい。 次に、ラインバッフアRAM1,RAM2からの原画像データ
の読出しと、変倍画像データ演算との関係を説明する。 第1a図,第2a図および第4図に示す実施例は、2画素
の原画像データSijとSij+1とRiに基づいて変倍画像デー
タを演算(又は)するものである。ラインメモリRA
M1とRAM2には、6ビットの原画像データを、ライン単位
で交互にそのままDCLKに同期させて入力し、この入力に
おいて、ラッチ25でSijを得ると共に、ラッチ25を介さ
ないでSij+1を得て、それぞれ6ビットのSijとSij+1
並べて12ビットデータとして1ワード12ビットのデータ
をライン単位で、RAM1とRAM2に交互に書込み、一方を書
込みにしているときに他方から1ワード(12ビット)単
位でデータを読み出すので、演算器28には、一度にSij
(6ビット)とSij+1(6ビット)が与えられる。 第4図の実施例では、3段のラッチ251〜253を有し、
それらのラッチデータSij-1,SijおよびSij+1とラッチを
介さないデータSij+2が、各6ビットでパラレル24ビッ
トのワードに組合されて、RAM1およびRAM2に書込まれ、
パラレル24ビット同時にそれらより読み出される。した
がって、演算器28には、一度にSij-1(6ビット),Sij
(6ビット),Sij+1(6ビット)およびSij+2(6ビッ
ト)が与えられる。 なお、ラッチ25,251〜253をデータセレクタ27と演算
器28の間に介挿して、RAM1,2には、6ビットデータのみ
一ライン分を読み書きするようにしてもよい。このよう
にすると、一ライン分の変倍画像データの送出が、1画
素分(第1a図対応の場合)又は、3画素分(第3a図対
応)遅延するが、RAM1,RAM2のメモリ容量が、いずれの
場合でも、それぞれ6ビット×1ライン画素数で済むこ
とになる。したがって、数画素分の遅延ずれが問題とな
らない使用態様において、ラインバッフアメモリ容量を
少くする上で効果がある。 ここでRAM1が書込状態(a=H,b=L)の時は、通常動
作でDCLKの周期でアドレスカウンタ38が進んでいくよう
になっているが、RAM1が出力状態(a=L,b=H)のと
きの、原画像データのサンプリング位置x(Ji)の画像
データ読出しのための、読出しアドレスの設定方式につ
いて説明する。 まず、第1の方法は、アドレスカウンタへのカウント
クロックの周波数を変えしまう方法である。データクロ
ックDCLKの周波数をF0とすると、R%変倍時の周波数fR
は、 fR=F0・100/R(Hz) ・・・(5) となる。 この方式では、F0に対するfRのズレが、原画像と変倍
画像のサンプリング点のズレそのものになるので、正確
かつ確実である。RAM1,2の読み出し時、アドレスカウン
タをfRで動かし、RAM1,2の出力を再びDCLKでサンプル
(ラッチ)することによって、所望の合成データを得る
ことができる。この方法であれば、先に述べた(4)式
の計算結果で整数Jiについての情報は不要となる。しか
して、この態様では、変倍率R%を例えば50〜400%と
し、Rの最小単位を1%とすると、350組のパルスfR=F
0・100/Rが必要となる。これは専用のマイクロプロセッ
サで作成する。 第2の方法は、まず、前述の(4)式の計算結果で整
数Jiに注目し、前の変倍画像データサンプリング位置Xi
-1と今回のサンプリング位置Xiとで、 (1)縮少時 整数部が1つ増加している(Ji−Ji-1=1)とき Ai=
H 整数部が2つ増加している(Ji−Ji-1=2)とき Ai=
L (2)拡大時 整数部が1つ増加している(Ji−Ji-1=1)とき Ai=
H 整数部が増加していない(Ji−Ji-1=1)とき Ai=L なる数列[Ai]を、i=0〜R−1まで定義し、RAM3に
書き込んでおく(読み取り前)。これは第1a図,第2a
図,第3a図および第4図の実施例のすべてに共通であ
る。 そして、本発明の一実施例である第4図の実施例で
は、カウントパルスとして、データクロックDCLKと、DC
LKの2倍の周波数のパルス2DCLKを用意する。変倍画像
データ演算のとき、AiはRAM3から読み出し、読み出しは
i=0〜R−1をくりかえし読み出す。この第4図の実
施例では、縮少時(R<100)は、ラインメモリ(RAM1
又はRAM2)の読出しのためのアドレスカウンタ(38又は
43)のカウントパルスは、 Ai=Hのとき DCLK Ai=Lのとき 2DCLK になるように切り替える。拡大時(R≧100)は、アド
レスカウンタ38又は43のカウントパルスは、AiとDCLKの
AND(論理積)とすることによって、Ai=Hのときカウ
ントアップ、Ai=Lのときカウントせず、のようにす
る。 本発明の全実施例は、RAM3を有し、RAM3は、マイクロ
プロセッサ35で計算した(4)式の結果に基づく前述の
Aiを格納する。このRAM3には、更に、各実施例で異るデ
ータBiをも格納する。Biの内容は後述する。 このように、画像読取前にRAM3にAiを格納しておき、
これを画像読取中に読み出して、Aiに基づいて読出しア
ドレスを設定すると、RAM1およびRAM2より、同時に隣接
データSijとSij+1が(第1a図,第2a図および第4図の実
施例)、又は同時に隣接データSij-1,Sij,Sij+1,Sij+2
が(第3a図の実施例)、読み出されることと相伴って、
後述するように、変倍画像データを演算する演算器28の
構成が簡単になる。 第4図の実施例のカウントパルスの切換方式では、拡
大時(R≧100)、Ai=Lのとき、カウンタ38,43のENAB
LE端子をLにして、カウントをストップさせてもよい。 第3の方法は、第1a図に示す実施例で実行するもので
ある。アドレスカウンタ38,43自身は、データクロックD
CLKによるカウントアップを続ける。そしてアドレスカ
ウンタ38,43と別にもう1つこれらはアップダウンカウ
ンタ38,43を設け、拡大時(R≧100)はダウン指定し、
縮小時(R<100)は、アップ指定する。そしてこのア
ップダウンカウンタ39,44は、Ai=Lのときだけカウン
トするように、DCLKとAiのAND(論理積)を入力する。 これによって、例えば縮小時、まず最初のAi=Lでア
ップダウンカウンタ39,44を1にし、加算器37,42で、ア
ドレスカウンタ38,43の値に1をたして、RAM1,RAM2の読
出しアドレスとする。更に、次のAi=Lでアップダウン
カウンタ39,44を2にして、アドレスカウンタ38,43のカ
ウント値をたす、というようにしてサンプリング点の位
置x(Ji)を決めていく。拡大の場合は、読出しアドレ
スをシフトせずに読み出す必要があり、このときアドレ
スカウンタ38,43はカウントアップするのでこれを補償
するため、逆にAi=Lで1つずつ引いていくように、ア
ップダウンカウンタ39,44を減算していく。 次に変倍画像データの演算方法について説明する。第
1a図に示す実施例は、前述のの方法を実行するもので
あり、第2a図に示す実施例は前述のの方法を実行する
ものであり、また第3a図に示す実施例は前述のの方法
を実行するものである。これらの方法の実行手法を説明
する。 最近接画素設定法(第1a図の実施例) この方式の演算方法は比較的簡単である。第5図でSi
jとSij+1のうち変倍画像データサンプリング位置i(第
12図で)に近い方を選択するようにすればよい。
(4)式に基づいて整数Jiおよび少数Riを、マイクロプ
ロセッサ35で演算したとき、少数RiはすなわちとSij
との距離r1/P(Pは原画像データのサンプリングピッチ
であり、実施例ではP=1)が0.5以下ならばSijを選択
し、0.5より大きければSij+1を選択するようにすればよ
い。第1a図に示す実施例では、マイクロプロセッサ35
が、JiおよびRiを演算しかつ前述のAiを演算したとき
に、r1/Pが0.5以下ならばBi=Hとし、0.5より大きけれ
ばBi=Lとする数列Biもを演算して、BiをAiと共に、RA
M3の同じアドレスに書き込む。これは画像読取前の処理
である。画像読取が開始されると、データクロックDCLK
に同期して、RAM3よりAiおよびBiを読み出して、Biをセ
レクト信号として、Bi=HでSijの選択を、Bi=1でSij
+1の選択を、この実施例で演算器28を構成するデータセ
レクタ28aに与える。 近接画素距離線形配分法(第2a図の実施例) この方式は、より複雑になる。前述の(1)式の計
算を行わなくてはならないためである。この場合問題と
なるのは、距離r1/Pあるいはr2/Pの精度である。少数点
第1位まで、つまり、0.1きざみで考えれば良いかもっ
と細かく見る必要があるか、あるいはPを4分割した程
度すなわち0.25きざみくらいでも良いかということであ
る。この問題は、画像読み取り装置,デジタル複写機あ
るいはファクシミリとして、どこまで精度が必要かとい
う問題であり、画像読み取り装置,デジタル複写機,フ
ァクシミリ等での、所要画像品質に対応する。演算処理
から見れば、r1/P,r2/Pが、2のべき乗の逆数であるの
が好ましい。これは、1/2,1/4,1/8,…等の演算は、対象
データのビットシフトのみで可能であるからである。そ
こでまず(4)式の演算結果より、Ri=r1/Pを0.25(す
なわち1/4)きざみに分ける。すなわち、Riの最小単位
を1/8として、Riの領域区分を1/4とする。一例として、
次のように分けてみる。 0≦r1/P<1/8のとき、Ri=r1/P=0,Bi=0 1/8≦r1/P<3/8のとき、Ri=r1/P=1/4,Bi=1 3/8≦r1/P<5/8のとき、Ri=r1/P=1/2,Bi=2 5/8≦r1/P<7/8のとき、Ri=r1/P=3/4,Bi=3 ここで、7/8≦r1/P<1のときは、とSij+1とが同じ位
置ということになるので、そういう分類を作ってBi=4
とする方法もあるが、この場合にはBiに3ビットが必要
となるので、ハードウェア構成上からは、この場合xを
1つ繰り上げ、整数Jiを1つ大きい値とし、少数Riを
にして、がSij+1とSij+2の間にあって、Bi=0とする
のが、Biが2ビットの信号で済むので好ましい。上記
と同様に、このBiをAiと共に、RAM3の同じアドレスに書
き込む。 この方式を実施する第2a図において、4つに分けた距
離(Bi=0〜4)によって、 A・Sij+B・Sij+1=0ik ・・・(6) ただし、Aはr1/Pに対応する係数, Bはr2/Pに対応する係数, Sij,Sij+1は6ビットデータの内容, 0ikは変倍画像データ(6ビット)の内容、 である、 のAとBとが決まるため、4通りのA・SijとB・Sij+1
を計算し、そのうち1つづつをBi対応でデータセレクタ
28b,28cで選択し、加算器28dでたして、変倍画像データ
0ikを得る。第2a図に示す実施例では、Biに対応する係
数AおよびBは次の第1表に示すように設定している。 1/2,1/4など2のべき乗の逆数は、信号線のビットシ
フトのみで得られるため、ハード構成が非常に楽にな
る。 第2a図に示す演算器28の変形例を第2c図に示す。第2c
図に示す演算器28はROM28gで構成されている。予めSij
(6ビットの最小値から最大値),Sij+1(6ビットの
最小値から最大値)とBiによって決まる変倍画像データ
0ikを計算しておき、それをROM28gに書込んでいる。画
像読取−変倍処理時には、Sij,Sij+1をROM28gのアドレ
スとして変倍画像データ0ikを読み出す。Sijは6ビッ
ト,Sij+1は5ビット(係数Bが1以下なので上記5ビ
ットだけで済む)、Biが2ビットであるから、ROM28g
は、アドレス13ビットで8k×8ビットのROMで済むの
で、予め行なう計算もそれほど大変ではなくできる。変
倍画像データ演算のためのハード構成は非常に簡単にな
る。 三次関数コンボリューション この方式は前述の(3)式に示すように非常に複雑な
計算を必要とし、ハードウェア化には不向きなようであ
るが、前述,の方式と比べても、精度の良い変倍が
できる。この方式もの場合と同様に距離の精度の問題
があるが、ここでものようにγ1/Pを4つに分割した
場合を考える。分割方法もと全く同様とする。 前述の(3)式は、簡単に書き直すと、 A・Sij-1+B・Sij+C・Sij+1+D・Sij+2=0ik ・・
・(7) となる。なお、(3)式の分母は規格化係数であるの
で、パラメータから除外できる。 前述の(2)式から、γ1/P=0,1/4,1/2,3/4の4つの
場合でA,B,CおよびDを計算すると、次のようになる。 この係数をもとにして、の場合の第2a図の演算器28と
同様に、4通りのA・Sij-1,B・Sij,C・Sij+1,D・Sij+2
(Sij等は0〜63)を用意しておき、Biによって1つず
つ選択して4つ加算する方式がある。ただし、この場合
は、のときと違ってそれぞれの計算が若干めんどうで
あり、ハードウェアも少し複雑になる。そこで、ハード
ウェアの負担を少しでも軽くするため、係数A,B,Cおよ
びDを次の第2表のように近似して、書き直す。ただ
し、このとき、A+B+C+D=1になることが必要で
ある。 この方が、係数の分母が8以下で、ハードウェアによる
計数はかなり楽になる。第3a図に示す実施例は、この第
2表の係数を用いて、の変倍画像データ演算を行なう
ようにしている。 この例でも、第2c図に示すようにROMを用いることが
考えられる。そのようにするときには、第3c図に示すよ
うにROM63を用いる。ROM63のアドレスが、Sij-1に3ビ
ット,Sijに6ビット,Sij+1に5ビット,Sij+2に3ビッ
ト,Biに2ビットで、計17ビットとなる。メモリ量が128
kバイトになってしまうため、ROM63に予め格納するデー
タの計算が少々大変ではある。しかし、この方法であれ
ば、変倍画像データ演算のためのハードウェアも簡単に
なる。 次に本発明の実施例のハードウェア構成と動作を説明
する。まず、第1a図,第1b図および第1c図について説明
する。スキャナSCRで読み取られた原画像データは、1
ライン毎にシェーディング補正回路24に、1ライン分の
データにおいては、パラレル6ビット(6ビットが1画
素の濃度を示す1ワードである)単位で、シリアルに与
えられ、回路24が同様なデータ構成および同様な転送形
式で、ライン同期パルスLSYNCの1周期の間に1ライン
分を、ライン中の各ワードはデータクロックDCLKに同期
して、ラッチ25およびデータ分配器26に与える。回路25
の出力が、ある画素のデータSij+1であるとき、ラッチ2
5の出力はその1画素前のデータSijであり、これらのデ
ータSijとSij+1が、パラレル12ビットでデータ分配器26
に与えられる。 一方、Tフリップフロップ36が、ライン同期パルスLS
YNCの1パルスの到来毎にその出力Q,Qの信号レベルを反
転するので、例えば第1ラインのデータが与えられてい
るときは、データ分配器26は入力12ビットをRAM1に与
え、かつRAM1は書込みに指定される。このときデータセ
レクタ27は入力端Bの12ビットデータを演算器28に与
え、RAM2は読み出しに指定される。第2ラインのデータ
がデータ分配器26に与えられているときは、データ分配
器26は入力12ビットをRAM2に与え、かつRAM2は書込みに
指定される。このときデータセレクタ27は入力端Aの12
ビットデータを演算器28に与え、RAM1は読み出しに指定
される。 このようにして、第nラインの隣接2画素のデータが
パラレルにRAM1に書込まれ、その間第n−1ラインの隣
接2画素のデータがパラレルにRAM2より読み出される。
第n+1ラインの隣接2画素のデータはパラレルにRAM2
に書込まれ、その間第nラインの隣接2画素のデータが
パラレルにRAM1より読み出される。以下同様に、RAM1と
RAM2が、ライン同期パルスLSYNCで切換えられて、交互
に書込および読み出しに指定される。このようにして、
第nラインの隣接2画素のデータをパラレルに組合せた
12ビットデータをRAM1又はRAM2に書込んでいるときに、
第n−1ラインの隣接2画素のデータをパラレルに組合
せた12ビットデータが、RAM2又はRAM1より読み出されて
演算器28に与えられる。すなわち、演算器28には、回路
24が出力するデータより、ちょうど1ライン分遅れて、
隣接2画素のデータを並べた形で原画像データが与えら
れる。このように、データのバッフアメモリRAM1,RAM2
への入力に対して、それよりのデータの読み出しはちょ
うど1ライン分遅れる。 RAM1の読み書きアドレスはサンプリング回路64が、ま
た、RAM2の読み書きアドレスはサンプリング回路65が定
める。 まずサンプリング回路64について説明すると、RAM1を
書込みに指定しているときには、信号a=H,b=Lであ
り、アンドゲート40がオフ(ゲート閉)であってアップ
ダウンカウンタ39にはカウントパルスが与えられず、そ
の出力は0を示すものに留まる。アドレスカウンタ38に
はデータクロックDCLKがカウントパルスとして与えられ
るので、データクロックDCLKの1パルスの到来毎に1カ
ウントアップする。加算器37は、カウンタ39および38の
カウントデータを加算して、和データをRAM1に、アドレ
スデータとして与える。これにより、隣接2画素のデー
タをパラレルにした12ビットデータが、データクロック
DCLKに同期して、順次にRAM1に書込まれる。すなわち1
ライン分のデータのすべてがRAM1に書込まれる。 RAM1が読み出しに指定されているときには、a=L,b
=Hであるので、信号cがLのときにアンドゲート40が
オン(ゲート開)で、アップダウンカウンタ39にデータ
クロックDCLKがカウントパルスとして与えられる。信号
d=H(縮少)であるとアップカウントし、d=L(拡
大)であるとダウンカウントする。信号cはすでに説明
したデータAiであり、カウント停止/進行を制御するも
のである。読み出しのときには、カウンタ39および38の
カウント値の和がRAM1の読み出しアドレスとなる。c=
Lの場合、d=HのときにはDCLKが1パルス現われる毎
に、カウンタ39が1カウントアップして、RAM1の読み出
しアドレスが2進み、d=LのときにはDCLKが1パルス
現われる毎に、カウンタ39が1カウントダウンして、RA
M1の読み出しアドレスが停止することに注目されたい。
c=Aiである。 サンプリング回路65は、64と全く同じ構成であるが、
アンドゲート45に、b信号でなくa信号が加わる点が異
る。これは、RAM1を読み出し(b=H,a=L)としてい
るときにはRAM2は書込みとし、RAM1を書込み(b=L,a
=H)としているときにRAM2を読み出しにして、読み出
しアドレスをカウンタ44と43のカウント値の和とするた
めである。 ここでAiについて説明する。マイクロプロセッサ35
が、画像読取スタート指示(STがLからhに変化)に応
答して、指定された変倍率R%を読み、これに基づい
て、i=0〜R−1のそれぞれにつき、JiおよびRiを演
算して、R<100(縮少)の場合は、Ji−Ji−1≧2でA
iをLとし、Ji−Ji−1≦1でAiをHとし、R≧100(拡
大)の場合は、Ji−Ji−1≧1でAiをHとし、Ji−Ji−
1≦0でAiをLとし、Ri≦0.5のときは、BiをHとし、R
i>0.5のときはBiをLとして、AiおよびBiを、RAM3のア
ドレスR−iにメモリする。 このメモリ動作において、マイクロプロセッサ35は、
i=0対応のデータA0およびB0を書込む前にオアゲート
49に1パルスを与えて、Rを示すデータをアドレスカウ
ンタ48にロードする。そしてA0およびB0をRAM3に与える
と、オアゲート51に1パルス与えて、アドレスカウンタ
48を1インクレメントして、i=1対応のデータA1およ
びB1をRAM3に与えて次にオアゲート51に1パルスを与え
る。このような動作をi=R−1まで行なう。これによ
り、RAM3のアドレス0にi=0対応のデータA0およびB0
が、アドレス1にi=1対応のデータA1およびB1が、・
・・アドレスR−1にi=R−1対応のデータAR-1およ
びBR-1が書込まれていることになる。 そして画像読取をスキャナSCRに指示して、実際に画
像読取を開始したときには、ライン同期パルスLSYNCで
アドレスカウンタ48に指定倍率R%を示すデータがセッ
トされて、データクロックDCLKが1パルス現われる毎に
カウンタ48が1インクレメントして、DCLKが1パルス現
われる毎に読出しアドレスを1づつ大きくする形で、i
=0対応のデータA0およびB0からi=R−1対応のデー
タAR-1およびBR-1が順次に読み出されて、データAiは信
号cとして、サンプリング回路64および65に与えられ、
データBiは演算器28のデータセレクタ28aに与えられ
る。 データセレクタ28aは、Bi=HではSijを、Bi=Lでは
Sij+1を変倍画像データ0ikとして出力する。この出力動
作はデータクロックDCLKに同期している。 変倍画像データ0ikはMTF補正回路29に与えられ、回路
29から2値化回路30および階調処理器31に与えられる。
この実施例では、階調処理器31は、64種の、濃度対応の
階調表現データ分布パターンを有するROMと64カウント
で初期化するサイクリックラインカウンタおよび64カウ
ントで初期化するサンクリックデータクロックカウンタ
を有するものであり、該ROMの読み出しアドレスを、0i
k,ラインカウントデータおよびデータクロックカウント
データで設定する。すなわち0ikでROMの1パターンを特
定し、そのパターンの主走査アドレスをデータクロック
カウンタで、また副走査アドレスをラインカウンタで特
定して、該パターン中の1ビット画像データを読み出
す。マイクロプロセッサ35が2値化データ出力を指示し
ている(i=H)ときには、ゲート回路32〜34が2値化
回路30の出力を、階調データ出力を指示している(i=
L)ときには階調処理器31の出力を、プリンタPRTに出
力する。 次にマイクロプロセッサ35の変倍処理制御動作を第1b
図および第1c図を参照して説明する。まず第1b図を参照
する。 電源が投入される(ステップ1:以下カッコ内ではステ
ップという語を省略する)とマイクロプロセッサ35は、
入出力ポートを待機状態のレベルに設定し、内部レジス
タ,カウンタ,タイマ,フラグ等をクリアする(2)。
次に指定変倍率R%を指示するデータRを読んでレジス
タRsにメモリし(3)、出力ポートgにLをセットする
(4)。すなわちアンドゲート50をオフ(ゲート閉)と
して、アドレスカウンタ48には、カウントパルスが外部
から与えられないように設定する。次に、出力ポートn
に、レジスタRsに格納して指定変倍率Rs%を示すデータ
をセットして(5)、アドレスカウンタ48のプリセット
データ入力端Pを加える。そして、出力ポートfに1パ
ルスを出力して(6)、アドレスカウンタ48にRsをロー
ドする。これによりアドレスカウンタ48が初期化(初期
アドレス設定)されたことになる。 次にマイクロプロセッサ35は、RAM3を書込みに設定し
(7)、内部アドレスレジスタiの内容を0を示すもの
に設定(レジスタクリア)する(8)。これにより前述
のi=0を設定したことになる。次にレジスタjをクリ
アし、レジスタBiおよびAiにHをセットする(9)。そ
してRAM3にレジスタBiとAiの内容BiおよびAiをメモリす
る(10)。この段階では、i=0であるので、RAM3のア
ドレスRに、B0=HおよびA0=Hが書込まれたことにな
る。次にレジスタiの内容を1インクレメントする(1
1)。これによりiの値が前より1大きい数値に変更さ
れたことになる。次にこの段階ではi=1であり、ステ
ップ12のi≧Ri+1?が否(NO)であるので、100i/Rs=J
i+Riなる整数Jiおよび少数Riを演算し(13)、前回演
算値レジスタJi-1に今回演算値レジスタJiの内容を移し
て(14a)、今回演算値レジスタJiに、整数Jiをメモリ
し(14b)、次にステップ15〜17で、Biを設定し、ステ
ップ18〜25でAiを設定する。そして出力ポートhに1パ
ルスを出力して(22)RAM3の書込みアドレスを1インク
レメントして、書込みアドレスを進めて、ステップ10で
RAM3に、前記設定したBiおよびAiを書込む。以下同様
に、iを1大きい数値に変更し(11)、JiおよびRiを演
算し(13)、それらとRsに基づいてBiおよびAiを設定し
(15〜25)、RAM3の書込みアドレスを更新して(22)、
BiおよびAiをRAM3に書込む(10)。このようにして、i
=Rs+1になると、i=0〜Rs−1のそれぞれに対応す
るBiおよびAiをすべてRAM3に書込んだことになるので、
ステップ12から第1c図の画像読取時の変倍処理制御に進
む。なお、ステップ8から9に進んだときに、RAM3のア
ドレス0にA0=Hを書込んでいるが、これはJi−Ji-1
正確に対応しない。なぜなら、この段階ではJi-1が不明
であるからである。しかし、iをRs−1としたときに
は、次(i=Rs)にカウンタ48のRsカウントオーバを示
すキヤリーでカウンタ48を初期化してiを0に戻すの
で、i=0とi=Rsとは同じである。そこで、i=0に
おけるA0の演算をi=Rsのものに置換し得る。そしてi
=Rs−1のときのJR-1をJi-1として用い得る。そこで、
ステップ12では、i=Rsまで、AiおよびBiの演算とRAM3
へのメモリを完了したかを見ている。すなわちi=0〜
Rs−1までAi,Biをメモリすればよいが、更にi=Rs
(これはi=0と同義)でもAi,Biを演算しメモリする
ようにしている。このi=Rsでは、カウンタ48がRsをカ
ウントオーバして、RAM3の書込アドレスを0にしている
ので、ステップ9で書込んだB0およびA0が、BRs,ARsに
書替えられることになる。これにより、ステップ9,10が
書込んだA0が正確な値に更新されたことになる。 スナップ12から第1c図の画像読取時の変倍処理制御に
進むと、画像読取スタート指示信号STが、読取開始を指
示すHになるのを待ち(26)、読取開始指示が到来しな
い間は、入力されている倍率指示データRを読んでそれ
がレジスタRsに格納している値と同じか否かをチェック
する(27)。同じでないと、指定倍率Rが変更されたこ
とになるので、第1b図のステップ3に戻って、また同様
に、新しい指定倍率Rに対応した、データBiおよびAiの
演算とRAM3への書込みを行なう。 画像読取スタート指示信号STがHになると、スキヤナ
SCRがレデイであるかをチェックし(28)、プリンタPRT
がレデイであるかをチェックして(29)、いずれかがレ
デイでないと、両者がレデイになるのを待つ。 スキヤナSCRおよびプリンタPRT共にレデイであると、
2値画像処理(ドキュメント:文章画像処理)が指示さ
れている場合には出力ポートiにHをセットして(31)
2値化回路30の出力をプリンタPRTに与えるようにゲー
ト回路32〜34を設定し、階調画像処理(写真画像処理)
が指示されている場合には出力ポートiにLをセットし
て(32)階調処理器31の出力をプリンタPRTに与えるよ
うにゲート回路32〜34を設定する。次にマイクロプロセ
ッサ35は、指定変倍率レジスタRsの内容を参照して、縮
少が指定されているか拡大が指定されているかをチェッ
クし(33)、縮少が指定されているときには出力ポート
dにHをセットして(34)、アップダウンカウンタ39お
よび44をアップカウントに設定する。拡大が指定されて
いるときには出力ポートdにLをセットして(35)、ア
ップダウンカウンタ39および44をダウンカウントに設定
する。 次にRAM3を読み出しにセット(36)、出力ポートgに
Hをセットして(37)、アンドゲート50をオン(ゲート
開)とする。次にスキヤナSCRおよびプリンタPRTへHレ
ベルのスタート信号ATSを与える(38)。 ATSがHになったのに応答してスキヤナSCRが画像読取
を開始し、ライン同期パルスLSYNC,データロックDCLKお
よび原画像データを、ライン単位で順次にシリアルに出
力し、例えば奇数番のラインのデータがRAM1に書込ま
れ、偶数番ラインのデータがRAM2に書込まれ、奇数番ラ
インのデータがRAM1に書込まれているときに偶数番ライ
ンのデータがRAM2より読み出され、偶数番ラインのデー
タがRAM2に書込まれているときに奇数番ラインのデータ
がRAM1より読み出される。すなわち第7図に示す形で原
画像データがラインバッフアメモリRAM1,RAM2に書込ま
れ、またそれから読み出される。 この画像読取の間、アドレスカウンタ48が、ライン同
期パルスLSYNCおよびそれ自身が発生するカウントオー
バ信号(指定倍率Rs%の数値のカウントをする毎に発せ
られる)により初期化され、それからデータクロックDC
LKをカウントアップする。これによりアドレスカウンタ
48がRAM3に与えるアドレスは、ライン同期パルスLSYNC
が1パルス到来すると0になり、次にDCLKが1パルス現
われる毎に順次に1大きい値になり、最大値Rs−1の次
には、アドレスカウンタ48のカウントオーバによる初期
化でまた0になり、またDCLKの到来毎に1大きい値にな
る。ライン同期パルスLSYNCの一周期の間にこれが繰り
返えされる。RAM3が読み出しに設定されているので、Ai
およびBi,i=0〜R−1,がi=0から順次にRAM3より読
み出され、i=R−1まで読み出されるとまたi=0か
ら読み出されるという具合に、DCLKに同期して順次に読
み出され、Aiは信号cとしてインバータ41および46に、
Biはデータセレクタ28aに与えられる。 c=Ai=H(縮少時でJi−Ji-1≦1,拡大時Ji−Ji-1
1)のときには、アンドゲート40,45がオフ(ゲート
閉)になるのでカウンタ39,44のカウント値が動かず、
原画像データのサンプリングピッチ(P=1)と同じサ
ンプリングピッチで変倍画像データがサンプリングされ
る。この期間では、画像倍率は1である。すなわち変倍
画像データは、原画像データとなる(間引いたり、ある
いは2度書きしたりしたものではない)。 c=Ai=L(縮少時でJi−Ji-1≧2、拡大時Ji−Ji-1
<1)の場合には、縮少のときではカウンタ39,44がア
ップカウントであるので、アドレスカウンタ38,43がカ
ウントアップするのと同じくカウンタ39,44がカウント
アップするので、DCLKの1パルスの到来でRAM1,2の読み
出しアドレスが2大きくなり、原画像データを1画素飛
びにサンプリングすることになる。拡大のときではカウ
ンタ39,33がダウンカウントであるので、アドレスカウ
ンタ38,43がカウントアップするのと逆にカウンタ39,44
がカウントダウンするので、DCLKが到来してもRAM1,2の
読み出しアドレスは動かず、原画像データの同一画素の
データを繰り返してサンプリングすることになる。 以上のサンプリング動作により、指定倍率Rに対応し
たピッチで原画像データがサンプリングされ、Bi=H
(Ri=≦0.5)のときには、データセレクタ28が、サン
プリングした原画像データのSijを0ikとし、Bi=L(Ri
>0.5)のときには、データセレクタ28が、サンプリン
グした原画像データのSij+1を0ikとして出力する。 以上のように、第1a図のものでは、前述のの方法で
変倍画像データを設定するようにしている。 第2a図および第2b図について説明する。第2a図におい
て、演算器28は、前述ので変倍画像データ0ikを演算
する。すなわち、第一表の4種の係数Aと画像データSi
j(0〜63)とを乗算したデータがデータセレクタ28bの
入力ポートa〜dに印加される。なおこのa〜dは第1
表の右欄のa〜dにそれぞれ対応し、aにはSijの全ビ
ットすなわちSijが、bには、Sijの上位5ビットと上位
4ビットのデータの和を示すデータすなわち3/4Sij
+1が、cにはSijの上記5ビットすなわち1/2Sijが、d
にはSijの上位4ビットすなわち1/4Sijが与えられる。 また、第1表の4種の係数Bと画像データSij-1とを
乗算したデータがデータセレクタ28cの入力ポートa〜
dに印加される。なおこのa〜dも第1表の右欄のa〜
dのそれぞれに対応し、aには0を示すデータが、bに
はSij+1の上位4ビットすなわち1/4Sij+1が、cにはSij
+1の上位5ビットすなわち1/2Sij+1が、dにはSij+1
上位5ビットと上位4ビットのデータの和を示すデータ
すなわち3/4Sij+1が与えられる。 データセレクタ28bおよび28cの出力AおよびBは、そ
れらに与えられる信号Biによって、入力a〜dのいずれ
か1つとされ、Biが0を示すデータのときには、入力a
が出力A,Bとされ、Biが1を示すデータのときには、入
力bが出力A,Bとされ、Biが2を示すデータのときに
は、入力cが出力A,Bとされ、Biが3を示すデータのと
きには、入力dが出力A,Bとされる。このBiの値は第1
表に示されるものである。 加算器28dが、データセレクタ29bの出力Aとデータセ
レクタ28cの出力Bの和を示すデータを変倍画像データ0
ikとして出力する。 データセレクタ28bおよび28cの選択データBiはRAM3
に、画像読取前に予め読み込まれているものである。 この第2a図のマイクロプロセッサ35の変倍処理制御動
作は、第1b図および第1c図のものと略同様であるが、第
1b図のステップ15〜17の、による変倍画像データ演算
のためのデータBi設定の代りに、第2b図に示すステップ
41〜50の如く、による変倍画像データ演算のためのデ
ータBi(第1表のもの)を設定するようにしている。す
なわち、iのそれぞれの値で演算した少数Riが、0≦Ri
<1/8,1/8≦Ri<3/8,3/8≦Ri<5/8,5/8≦Ri<7/8,およ
び7/8≦Ri<1,のいずれにあるかをステップ41〜47でチ
ェックして0≦Ri<1/8のときはレジスタBiに0を示す
データをセットし(42)、1/8≦Ri<3/8のときはレジス
タBiに1を示すデータをセットし(44)、3/8≦Ri<5/8
のときはレジスタBiに2を示すデータをセットし(4
6)、5/8≦Ri<7/8のときはレジスタBiに3を示すデー
タをセットする(48)。7/8≦Ri<1のときには、Riを
1に切り上げて、レジスタjの内容を1大きい数に更新
して(49)、レジスタBiには0をセットする。このよう
に設定したBiは、Aiと共にRAM3に書込まれる。 この他の変倍処理制御動作は、第1b図および第1cと同
様であり、画像読取中には、このように設定したデータ
BiがAiと共にRAM3より読み出されてデータセレクタ28b
および28cに与えられる。これにより、加算器28dの出力
である変倍画像データ0ikは、前述の(6)式で演算し
たものとなる。 第2c図に、第2aに示す演算器28の変形例を示す。この
例では、ROM28gに、Sijの0〜63,Sij+1の0〜63,第1表
に示す係数Aの4種および第1表に示す係数Bの4種を
パラメータとして前述の(6)式で演算した変倍画像デ
ータ0ikが、それらのパラメータをアドレスとして格納
されている。ROM28gの読み出しアドレスは、データセレ
クタ27から出力されるSij,Sij+1およびBiで定められ、B
iで特定される係数AおよびB(第1表)と、Sij,Sij+1
で、(6)式で演算した変倍画像データ0ikがROM28gよ
り読み出される。 第3a図および第3b図について説明する。第3a図におい
て、演算器28は、前述ので変倍画像データ0ikを演算
する。すなわち、第2表の4種の係数Aのそれぞれと原
画像データSij-1とを乗算したデータがデータセレクタ5
2に、第2表の4種の係数Bのそれぞれと原画像データS
ijとを乗算したデータがデータセレクタ53に、第2表の
4種の係数Cのそれぞれと原画像データSij+1とを乗算
したデータがデータセレクタ54に、また、第2表の4種
の係数DのそれぞれとSij+2とを乗算したデータがデー
タセレクタ55に与えられ、データセレクタ52〜55のそれ
ぞれが、データBi(第2表)で特定される、係数A〜D
(それぞれが4種:第2表)の一種で演算した値を示す
データを出力し、それらを加算した和が、変倍画像デー
タ0ikとして、加算器56より出力される。 なお、補数器57は、減算データ(−1/8)を加算デー
タに変換する(減算を加算に転換する)ためのものであ
る。 データセレクタ52〜55の出力A〜Dは、それらに与え
られる信号Biによって、入力a〜dのいずれか1つとさ
れ、Biが0を示すデータのときには、入力aが出力A〜
Dとされ、Biが1を示すデータのときには、入力bが出
力A〜Dとされ、Biが2を示すデータのときには、入力
cが出力A〜Dとされ、Biが3を示すデータのときに
は、入力dが出力A〜Dとされる。このBiの値は第2表
に示されるものである。加算器56が、データセレクタ52
〜55の出力A〜Dの和を示すデータを変倍画像データ0i
kとして出力する。 データセレクタ52〜55の選択データBiはRAM3に、画像
読取前に予め読み込まれているものである。 この第3a図のマイクロプロセッサ35の変倍処理制御動
作は、第1b図および第1c図に示すものと略同様である
が、第1b図のステップ15〜17の、による変倍画像デー
タ演算のためのデータBi設定の代りに、第3b図に示すス
テップ41〜50の如く、による変倍画像データ演算のた
めのデータBi(第2表のもの)を設定をするようにして
いる。すなわち、iのそれぞれの値で演算した少数Ri
が、0≦Ri<1/4,1/4≦Ri<1/2,1/2≦Ri<3/4,3/4≦Ri
<7/8,および7/8≦Ri<1,のいずれにあるかをステップ4
1〜47でチェックして0≦Ri<1/4のときはレジスタBiに
0を示すデータをセットし(42)、1/4≦Ri<1/2のとき
はレジスタBiに1を示すデータをセットし(44)、1/2
≦Ri<3/4のときはレジスタBiに2を示すデータをセッ
トし(46)、3/4≦Ri<7/8のときはレジスタBiに3を示
すデータをセットする(48)。7/8≦Ri<1のときに
は、Riを1に切り上げて、レジスタjの内容を1大きい
数に更新して(49)、レジスタBiには0をセットする。
このように設定したBiは、Aiと共にRAM3に書込まれる。 この他の変倍処理制御動作は、第1b図および第1cと同
様であり、画像読取中には、このように設定したデータ
BiがAiと共にRAM3より読み出されてデータセレクタ52〜
55に与えられる。これにより、加算器56の出力である変
倍画像データ0ikは、概略で前述の(7)式で演算した
ものとなる。 第3c図に、第3a図に示す演算器28の変形例を示す。こ
の例では、ROM63に、Sij-1の0〜63,Sijの0〜63,Sij+1
の0〜63,Sij+2の0〜63,第2表に示す係数Aの4種,
係数Bの4種,係数Cの4種および係数Dの4種をパラ
メータとして前述の(7)式で演算した変倍画像データ
0ikが、それらのパラメータをアドレスとして格納され
ている。RAM63の読み出しアドレスは、データセレクタ2
7から出力されるSij-1,Sij,Sij+1,Sij+2およびBiで定
められ、Biで特定される係数A〜D(第1表)と、Sij
-1,Sij,Sij+1,Sij+2で、(7)式で演算した変倍画像
データ0ikがROM63より読み出される。 第4実施例(第4図) 第4実施例の、第1実施例と異る構成部分のみを第4
図に示す。この第4実施例は、サンプリング回路64およ
び65に特徴があるものであって、その他の部分は第1実
施例と同じであり、サンプリング回路64,65以外の部分
は、第2,3実施例と同じであってもよい。 第4図に示すサンプリング回路64は、RAM1を書込みに
指定しているとき(a=H,b=L)には、アンドゲート6
8と69がオフであって、アンドゲート67がオンであるの
で、アドレスカウンタ38を、DCLKでカウントアップす
る。すなわち、DCLKが1パルス到来する毎に、原画像デ
ータをRAM1に読込む。RAM1を読み出しに指定していると
き(a=L,b=H)には、アンドゲート67がオフであ
り、縮少(d=H)のときにはアンドゲート68もオフで
あって、データAiに対応して、それがHのときにDCLK
を、AiがLのときには2DCLKを、アンドゲート71又は72
とオアゲート70およびアンドゲート69ならびにオアゲー
ト66を通してカウンタに与える。拡大(d=L)のとき
には、アンドゲート69がオフであり、AiがHのときにDC
LKがアンドゲート68を通してまたオアゲート66を通して
カウンタ38に与えられ、AiがLのときにはクロックはカ
ウンタ38に与えられない。 サンプリング回路65も64と同じ構成であるが、信号a
とbとを入れ変えてアンドゲート74と、75および76に与
えるようにしている。これはRAM1の書込みのときRAM2が
読み出しで、RAM1の読み出しのときにRAM2が書込みとな
るからである。 以上のサンプリング回路64および65の構成および動作
により、第4実施例においても、第1実施例(第1a図)
と同じ態様で、RAM1,2の書込みと、RAM1,2の読み出しサ
ンプリングが行なわれる。すなわち、第1実施例ではア
ップダウンカウンタ39,44と加算器37,42で、縮少時の、
原画像データの1つ飛びのサンプリングを、DCLKを2重
にカウントしてアドレスをDCLKの1パルス当り2進めて
行なうようにしているが、第4実施例では、この場合、
2DCLKをアドレスカウンタに与えて、DCLKが1パルス発
生するときにアドレスカウンタを2カウントアップし
て、アドレスをDCLKの1パルス当り2進めて行なうよう
にしている。 以上に説明した実施例はいずれも主走査方向Xの変倍
を行なうものである。副走査方向Yの変倍は、 100Li/R=Lj+Lr, ただし、Liは変倍画像データサンプリングラインNo.,Lj
は整数,Lrは少数,なる整数Ljおよび少数Lrを演算し
て、Lrか0.5以下のときは、上述の主走査方向変倍画像
データの第Ljラインのデータを、Lrが0.5より大きいと
きには、第Lj+1ラインのデータを、主走査方向および副
走査方向に変倍した、最終の変倍画像データの第Liとし
て、摘出すればよい。この摘出は、上述の実施例では、
プリンタPRTが、倍率データRを参照して行なう。 以上の通り、本発明のいずれの実施例においても、%
単位の指定変倍率Rに応じて、原画像データの隣接する
ものを、データクロックDCLKの同期して所定ピッチでサ
ンプリングして、該データクロックに同期して変倍画像
データ0ijを演算して出力するので、リアルタイム処
理、すなわち原画像の読取に同期して変倍画像データが
得られる。
 Referring to FIG. 1a, the device shown in FIG.
(Except for digital PRTs), even for digital copiers,
An image reading device that can also be used for facsimiles
It is installed in the exterior shown in FIG.
It The scanner SCR scans A3 originals at 400 dpi (pixels / images).
H) density, read at 6 bits / pixel (64 gradations),
This 6-bit data is adjusted by fading correction, MTF correction, etc.
Whether the original image data is "1" for printer or transmission
This is a device that converts into a binary signal / pixel of "0" and outputs it.
Note that these reading densities and the number of gradations are examples,
It does not have to be 400dpi and 64 gradations. The document surface DOC is illuminated by the light from the light source 5, and its reflected light
To read the A3 original lateral direction (297 mm) at 400 dpi,
The pixel image sensor 7 receives it. The image sensor 7 converts the optical signal of the document DOC into an electrical signal.
Then, the signal is amplified to a predetermined level by the amplifier 22.
Next, depending on this concentration, analog signals with different voltage levels
The A / D converter 23 is a 6-bit digital signal,
It is converted into image data. Next, there are variations in the sensitivity of each element of the 5000 pixel sensor 7.
Also, a system for correcting uneven illuminance of the light source 5 in the A3 document horizontal direction
Fading correction is performed in circuit 24. In the embodiment shown in FIG.
Perform after wading correction. Shading correction
Things to do before circuit 24 and after the next MTF correction circuit 29
Is also possible. After the scaling process, the circuit 29 performs MTF correction.
And the binarization circuit 30, "1" depending on a certain threshold level
Binarized to "0" or printer part or transmission processing
Output to the department. Or, the gradation processor 31
Converted to a certain “1” or “0” and output to the transmission processing unit
It It should be noted that Fig. 1a shows a mode of outputting to the printer PRT.
are doing. In such a flow of image data, the scaling process
In the figure, the parallel 6-bit latch 25
Calculator 28, microprocessor 35, RAM3 and sampling
It is executed by the scaling processing device composed of the circuits 64 and 65. This scaling processing apparatus uses the new sampling point i after scaling.
The function to determine the position, the original image data around the new sampling point i
Function to extract original image data at data position x
The pulling point i and the extracted original image data position x (Ji)
Magnified image data is calculated from the distance and extraction data
Have the function of In FIG. 1a, first, the latch 25, the data distributor 26, and the
RAM1 and RAM2 as in-buffer memory and data
In the future, the rectifier 27 determines the sampling point x and determines the image data.
When extracting the data and calculating the scaled image data,
Multiple original image data to be referred to for double image data calculation
In order to extract each time
Interpolation method (embodiments shown in FIGS. 1a, 2a and 4)
Then, for every 2 pixels, the interpolation method with 4 peripheral pixels (see Fig. 3a
In the embodiment, it is a group for every 4 pixels.
For example, in Figure 12, the new sampling point0Is Sij and Sij+1Between
Data selector 27, Sij and Sij+1(The first
Examples shown in FIGS. 1a, 2a and 4) or Sij
-1, Sij, Sij+1, Sij+2(At the example of FIG. 3a) at a time
It means to start out. Here, the above-mentioned method and
Inter-method (Examples shown in FIGS. 1a, 2a and 4)
The formula is the interpolation method using the four surrounding pixels (the embodiment of FIG. 3a).
It The specific method is to sequentially synchronize with the data clock DCLK.
Latch the input original image data Y (Fig. 6) with DCLK
25 memories (DCLK1 pulse cycle delay memory)
Can be implemented by If there are 2 pixels, one stage of latch 25 (1a
(Examples shown in FIGS. 2a and 4) 3 for 4 pixels
Stage latch 251~twenty five3Can be realized by (Example of Figure 3a)
Noh. Next are RAM1 and RAM2 for line memory.
Is 2 pixels (the implementation shown in FIGS. 1a, 2a and 4)
Eg) or a group of 4 pixels (embodiment of FIG. 3a) 50
It is a memory that stores 00 pieces, and has a two-stage configuration for input and output.
When one (RAM1) is input, the other (RAM2) is output,
With the configuration that I / O is reversed when one line is finished
is there. This is an inversion operation with the line sync pulse LSYNC.
The output a of the T flip-flop 36 is applied to the data distributor 26.
Therefore, when a is H, the data distributor 26 is used as A output and RA
Designate M1 for writing (W) and output another output b
When the data is given to the rectifier 27 and b is L, the data selector 27 is set to B.
Performed by reading RAM2 as output (R)
Be done. The address of this line memory RAM1, RAM2
When input (write), counters 38 and 43 are counted in synchronization with DCLK
Use the address obtained by uploading as it is, but output
At the time of reading (reading), this address is changed. When outputting
The dress is just the sampling point i of the scaled image data.
The previous original image data sampling position x = Ji. When there is a sampling point i of the scaled image data, Sij
And Sij+1, And the next sampling point is
Once Sij and Sij+1Read address counter
Stop, Sij+2And Sij+3If you move between
Advance the dress counter by two, Sij+1And Sij+2Moved between
In this case, the read address counter is incremented by 1 as usual.
It When expanding (R ≧ 100), the operation to increment the counter by one
And the action of stopping the counter causes a new sample
Determine the position of the dot. At the time of shrinkage (R <100), the coun
By the combination of the action of advancing one
Determine the position. Reduction is considered up to 50% with this device
Therefore, the counter may be advanced by one or two.
However, if the reduction is less than 50%, proceed 3 or more.
There is also a possibility. Where and how many read address counters to increment
This information is calculated by the microprocessor 35 according to the magnification R%.
It is calculated in advance. Sampling points of scaled image data
For the original image data position x immediately before i, the start position is set to 0.
The sampling pitch P of the original image is 1 and the magnification is R
(%), 100i / R = Ji + Ri ... (4) i = 0,1,2,3, ... Ji: integer, Ri: decimal integer Ji. That is, the sampling point i is Sij and Sij+1Is between
Then, the sampling position x of the original image data is Ji.
It Therefore, as i increases, the integer part Ji of 100i / R becomes 1
When the number increases, the read address counter is also incremented by 1,
If the integer part Ji of 100i / R increases by 2 as i increases,
Unta has also advanced two, and 100i / R's integer part Ji has not advanced one
In this case, the counter may be set not to advance. Well
In addition, the fractional part Ri of 100i / R is the distance r between Sij and the i-corresponding position 0.
1become. This distance data r1Is the scaled image data calculation after
Will be used in. The microprocessor 35 uses i = 0 to R in the above equation (4).
Calculate to -1. That is, the expression (4) is performed at i = 0.
Integer J by arithmetic0And minority R0Calculation of equation (4) when i = 1
An integer J by1And minority R1, i = 2 for calculation of equation (4)
According integer J2And minority R2, ・ ・ ・, (4) with i = R-1
Integer J by arithmetic operationR-1And minority RR-1Is calculated. This
Such as i = 0 to R-1, only an integer Ji and a small number Ri
If only is calculated, this is the entire line length of the original image data.
Applicable to That is, in all cases, the scaled image data
Since the sampling point of the data has a cycle of every R, i =
The value of i = 0 for R, the value of i = 1 for i = R + 1, and the value of i = 1
= R + 2, the value of i = 2 is divided by ...
You can guess. In all the embodiments of the present invention described below, Ji and i = 0 to R-1
And Ri are calculated by multiplying the magnification R before the start of reading operation.
(%) Is specified, Ji and Ri are
Converted into data Ai and Bi that match the hardware
Written to RAM3. When image reading starts,
That is, during the scaling processing, i is synchronized with the data clock DCLK.
Is changed to a value that is incremented by 1 and the data corresponding to i (Ai, B
i) is read from RAM3. Note that, as another embodiment, a dedicated
A microprocessor or arithmetic means is provided to change the magnification.
In parallel with the process, the equation (4) is synchronized with the data clock DCLK.
Calculate and calculate the integer part Ji of 100i / R, that is, the original image data sample
The ring position x is directly used as the address, and the fractional part Ri is changed.
Distance data r which is a parameter for double image data calculation1age
May be used. Next, the original image data from the line buffer RAM1 and RAM2
A description will be given of the relationship between the reading of 1 and the calculation of the scaled image data. The embodiment shown in FIGS. 1a, 2a and 4 has two pixels.
Original image data of Sij and Sij+1And image scaling based on Ri
Data is calculated (or). Line memory RA
6-bit original image data in M1 and RAM2 in line units
Alternately input as it is in synchronization with DCLK and input to this input.
In addition, the latch 25 is used to obtain Sij and the latch 25
Not in Sij+1To obtain 6-bit Sij and Sij respectively+1To
1-word 12-bit data as side-by-side 12-bit data
Alternately write to RAM1 and RAM2 line by line and write one
One word (12 bits) from the other when
Since the data is read in units, Sij
(6 bits) and Sij+1(6 bits) is given. In the embodiment of FIG. 4, the three-stage latch 251~twenty five3Have
Latch data Sij of them-1, Sij and Sij+1And latch
Data not through Sij+2But each 6 bits are parallel 24 bits
And written to RAM1 and RAM2,
Parallel 24 bits are read from them simultaneously. did
Therefore, the arithmetic unit 28 is-1(6 bits), Sij
(6 bits), Sij+1(6 bits) and Sij+2(6 bits
Is given. In addition, the latch 25,251~twenty five3Calculate with data selector 27
6-bit data only in RAM1,2
One line may be read and written. like this
When set to 1, the transmission of the scaled image data for one line is
Elementary (in case of Fig. 1a) or 3 pixels (Fig. 3a vs.
There is a delay, but the memory capacity of RAM1 and RAM2 is
Even if the number of pixels is 6 bits x 1 line each,
Becomes Therefore, a delay shift of several pixels is a problem.
The line buffer memory capacity is
It is effective in reducing the amount. Here, when the RAM1 is in the writing state (a = H, b = L), normal operation is performed.
The address counter 38 advances in the cycle of DCLK.
However, when RAM1 is in the output state (a = L, b = H)
Image of sampling position x (Ji) of original image data of mushroom
About the read address setting method for reading data
And explain. First, the first method is to count to the address counter.
This is a method of changing the clock frequency. Data black
Clock DCLK frequency to F0Then, the frequency f at R% scalingR
Is fR= F0・ 100 / R (Hz) ・ ・ ・ (5) In this scheme, F0Against fRThe difference between the original image and zoom
Accurate because it will be the deviation of the sampling point of the image itself
And certain. When reading RAM1 and 2, address count
FRAnd sample the outputs of RAM1 and 2 with DCLK again.
(Latch) to obtain the desired combined data
be able to. With this method, equation (4) described above is used.
The information about the integer Ji is unnecessary in the calculation result of. Only
Then, in this embodiment, the scaling factor R% is set to, for example, 50 to 400%.
If the minimum unit of R is 1%, 350 pairs of pulses fR= F
0・ 100 / R is required. This is a dedicated microprocessor
Create with the service. The second method is to adjust the calculation result of equation (4) above.
Paying attention to the number Ji, the previous scaling image data sampling position Xi
-1And the sampling position Xi this time, (1) When reduced, the integer part is increased by one (Ji-Ji-1= 1) when Ai =
H The integer part is increased by 2 (Ji-Ji-1= 2) When Ai =
L (2) At the time of expansion The integer part is increased by 1 (Ji-Ji-1= 1) when Ai =
H The integer part has not increased (Ji-Ji-1= 1), the sequence [Ai] of Ai = L is defined from i = 0 to R-1 and stored in RAM3.
Write in (before reading). This is Fig. 1a, 2a
Common to all of the embodiments of Figures, 3a and 4
It Then, in the embodiment of FIG. 4, which is an embodiment of the present invention,
Is the data pulse DCLK and DC
Prepare a pulse 2DCLK with twice the frequency of LK. Scaled image
During data operation, Ai is read from RAM3 and read
Read i = 0 to R-1 repeatedly. The fruit of this Figure 4
In the example, the line memory (RAM1
Or an address counter (38 or
The count pulse of 43) is switched so that it becomes DCLK when Ai = H and 2DCLK when Ai = L. When expanding (R ≧ 100), add
The count pulse of the response counter 38 or 43 is Ai and DCLK.
By ANDing, when Ai = H, cow
Count up, do not count when Ai = L, and do like
It All embodiments of the invention have RAM3, which is a micro
Based on the result of the equation (4) calculated by the processor 35,
Store Ai. This RAM3 also has different data in each embodiment.
It also stores the data Bi. The contents of Bi will be described later. In this way, Ai is stored in RAM3 before image reading,
This is read during image reading and read-out based on Ai.
When the dress is set, it is adjacent to RAM1 and RAM2 at the same time.
Data Sij and Sij+1But (the fruit of Figures 1a, 2a and 4
Example), or simultaneously with adjacent data Sij-1, Sij, Sij+1, Sij+2
(In the embodiment of FIG. 3a), in conjunction with being read,
As will be described later, the calculator 28 for calculating the scaled image data
Simpler configuration. In the count pulse switching method of the embodiment shown in FIG.
When large (R ≧ 100), when Ai = L, ENAB of counters 38 and 43
The LE terminal may be set to L to stop counting. The third method is performed by the embodiment shown in FIG. 1a.
is there. The address counters 38 and 43 themselves use the data clock D
Continue counting up with CLK. And address
Unta 38,43 and another one up and down cow
, 38, 43, and specify down when expanding (R ≧ 100),
When reducing (R <100), specify up. And this
The up-down counters 39 and 44 count only when Ai = L.
Input, AND (logical product) of DCLK and Ai. With this, for example, when reducing, the first Ai = L
Set the down counters 39 and 44 to 1 and adder 37 and 42
Add 1 to the values of the dress counters 38 and 43 and read RAM1 and RAM2.
Use as the origin address. Furthermore, up / down with the next Ai = L
Set the counters 39 and 44 to 2, and set the counters of the address counters 38 and 43 to
Unt value is added, and so on
Determine the location x (Ji). For enlargement, read address
The address must be read without shifting the address.
Counters 38 and 43 count up, so compensate for this
Therefore, on the contrary, pull one by one with Ai = L.
The down counters 39 and 44 are decremented. Next, a method of calculating the scaled image data will be described. First
The example shown in Figure 1a implements the method described above.
Yes, the embodiment shown in Figure 2a implements the method described above.
The embodiment shown in FIG. 3a is the same as the method described above.
Is what you do. Explain how to perform these methods
I do. Closest pixel setting method (embodiment of FIG. 1a) The calculation method of this method is relatively simple. In Figure 5, Si
j and Sij+1Of the scaled image data sampling position i (
In 12 figures0) Should be selected closer to.
Based on equation (4), the integer Ji and the minority Ri are
When calculated by the processor 35, the minority Ri is0And Sij
Distance r1/ P (P is the sampling pitch of the original image data
In the embodiment, if P = 1) is 0.5 or less, Sij is selected.
If it is larger than 0.5, Sij+1You should choose
Yes. In the embodiment shown in FIG. 1a, the microprocessor 35
When Ji and Ri are calculated and Ai described above is calculated
, R1If / P is 0.5 or less, set Bi = H and be greater than 0.5
For example, if Bi = L, the sequence Bi is also calculated, and Bi together with Ai is RA.
Write to the same address on M3. This is the process before image reading
Is. When image reading starts, data clock DCLK
Ai and Bi are read from RAM3 in synchronization with
As a rect signal, Sij is selected when Bi = H and Sij is selected when Bi = 1.
+1Of the data set that constitutes the arithmetic unit 28 in this embodiment.
Giving to Lector 28a. Proximity Pixel Distance Linear Allocation Method (Example of Figure 2a) This method becomes more complicated. The above formula (1)
This is because it is necessary to perform arithmetic. In this case the problem
Is the distance r1/ P or r2It is the accuracy of / P. Decimal point
You may think up to the first place, that is, in 0.1 increments
It is necessary to see it in detail, or as P is divided into 4
In other words, is it okay if it is about 0.25
It This problem is caused by image reading devices and digital copiers.
How much accuracy do you need as a fax machine?
This is a problem of image reading equipment, digital copying machines,
It corresponds to the required image quality in Axsimile. Arithmetic processing
Seen from r1/ P, r2/ P is the reciprocal of the power of 2
Is preferred. This is for operations such as 1/2, 1/4, 1/8, ...
This is because it is possible only by bit shifting the data. So
First, from the calculation result of equation (4), Ri = r1/ P to 0.25 (
1/4) Divide into small pieces. That is, the smallest unit of Ri
Is 1/8, and the Ri area division is 1/4. As an example,
Try to divide it as follows. 0 ≦ r1Ri / r when / P <1/81/ P = 0, Bi = 0 1/8 ≦ r1Ri / r when / P <3/81/ P = 1/4, Bi = 1 3/8 ≦ r1Ri / r when / P <5/81/ P = 1/2, Bi = 2 5/8 ≦ r1Ri / r when / P <7/81/ P = 3/4, Bi = 3 where 7/8 ≦ r1When / P <1,0And Sij+1As much as
Since it is a place, make such a classification and Bi = 4
However, in this case, Bi requires 3 bits.
Therefore, from the hardware configuration, x in this case
Raise it by 1, increase the integer Ji by 1 and increase the decimal Ri by0
And then0Is Sij+1And Sij+2Between them, set Bi = 0
It is preferable that Bi is a 2-bit signal. the above
Similarly, write this Bi along with Ai to the same address in RAM3.
Imprint In Figure 2a, which implements this method, the distance is divided into four
Depending on the separation (Bi = 0-4), A ・ Sij + B ・ Sij+1= 0ik (6) where A is r1Coefficient corresponding to / P, B is r2Coefficient corresponding to / P, Sij, Sij+1Is the content of 6-bit data, 0ik is the content of scaled image data (6 bits), and A and B of are determined, so there are four types of A · Sij and B · Sij.+1
, And select one by one for Bi-compatible data selector
28b, 28c, adder 28d to select the scaled image data
Get 0ik. In the embodiment shown in FIG. 2a, the function corresponding to Bi is
The numbers A and B are set as shown in Table 1 below. The reciprocal of a power of 2 such as 1/2, 1/4 is the bit number of the signal line.
The hardware configuration is very easy because
It A modified example of the arithmetic unit 28 shown in FIG. 2a is shown in FIG. 2c. 2c
The arithmetic unit 28 shown in the figure comprises a ROM 28g. Beforehand Sij
(6-bit minimum value to maximum value), Sij+1(6 bits
Scaled image data determined by the minimum and maximum values and Bi
0ik is calculated and it is written in ROM28g. Picture
During image reading-magnification processing, Sij, Sij+1ROM 28g address
The variable-magnification image data 0ik is read as a scan. Sij is 6 bits
To, Sij+1Is 5 bits (the coefficient B is 1 or less, so
ROM is 28g because Bi is 2 bits.
Is an 8k x 8-bit ROM with an address of 13 bits.
Then, the calculation to be done in advance can be done without much difficulty. Strange
The hardware configuration for double image data calculation is very simple.
It Cubic function convolution This method is very complicated as shown in the above equation (3).
It requires calculation and seems unsuitable for hardware implementation.
However, even with the above-mentioned method, accurate scaling is possible.
it can. Similar to this method, the problem of distance accuracy
But here as well as γ1/ P is divided into four
Consider the case. The division method is exactly the same. The above equation (3) can be simply rewritten as A. Sij-1+ B ・ Sij + C ・ Sij+1+ D ・ Sij+2= 0ik ・ ・
・ It becomes (7). Note that the denominator of equation (3) is a normalization coefficient.
Can be excluded from the parameters. From the above equation (2), γ1/ P = 0,1 / 4,1 / 2,3 / 4
The calculation of A, B, C and D in the case is as follows.Based on this coefficient,
Similarly, there are four types of A ・ Sij-1, B ・ Sij, C ・ Sij+1, D ・ Sij+2
(Sij, etc. is 0-63), prepare one by Bi
There is a method of selecting one and adding four. However, in this case
, Is different from each time, and each calculation is a little troublesome.
Yes, the hardware is a little more complicated. There hard
Coefficients A, B, C and
And D are approximated as shown in Table 2 below and rewritten. However
At this time, it is necessary that A + B + C + D = 1.
is there.This is because the denominator of the coefficient is less than 8 and depends on the hardware.
Counting will be much easier. The embodiment shown in FIG.
2 Use the coefficients in the table to calculate the scaled image data of
I am trying. Also in this example, it is possible to use the ROM as shown in FIG. 2c.
Conceivable. To do so, please refer to Figure 3c.
Use ROM63. The address of ROM63 is Sij-1To 3
6 bits to Sij, Sij+15 bits for Sij+23 bits
2 bits for G and B, making a total of 17 bits. 128 memory
Since it becomes k bytes, the data stored in advance in ROM 63
The calculation of data is a little difficult. But this way
The hardware for computing scaled image data
Become. Next, the hardware configuration and operation of the embodiment of the present invention will be described.
I do. First, a description of FIGS. 1a, 1b, and 1c
I do. The original image data read by the scanner SCR is 1
The shading correction circuit 24 for each line
For data, parallel 6 bits (6 bits are 1 screen
It is given to the serial in units of 1 word indicating the elementary concentration).
Circuit 24 has a similar data structure and a similar transfer type.
In the formula, 1 line during 1 cycle of line sync pulse LSYNC
Minutes, each word in the line is synchronized to the data clock DCLK
And supplies it to the latch 25 and the data distributor 26. Circuit 25
The output of is the pixel data Sij+1Latch 2 when
The output of 5 is the data Sij one pixel before that, and these data
Data Sij and Sij+1However, parallel 12-bit data distributor 26
Given to. On the other hand, the T flip-flop 36 outputs the line sync pulse LS.
Output Q of each pulse of YNC,QSignal level of
Since the data of the first line is given,
Data distributor 26 provides the 12-bit input to RAM1.
And RAM1 is designated for writing. At this time, the data
The lector 27 gives the 12-bit data of the input terminal B to the arithmetic unit 28.
Well, RAM2 is designated for reading. Second line data
Is given to the data distributor 26,
26 provides the input 12 bits to RAM2, and RAM2
It is specified. At this time, the data selector 27 operates at the input terminal A 12
Bit data is given to the calculator 28, and RAM1 is designated for reading
Is done. In this way, the data of two adjacent pixels on the nth line
Written in RAM1 in parallel, next to the n-1th line
The data of two adjacent pixels are read out from RAM2 in parallel.
The data of the adjacent two pixels of the (n + 1) th line is RAM2 in parallel.
, The data of two adjacent pixels on the nth line is written
It is read from RAM1 in parallel. Similarly, RAM1 and
RAM2 is switched by line sync pulse LSYNC and alternates
Is specified for writing and reading. In this way
Data of adjacent two pixels on the n-th line are combined in parallel
When writing 12-bit data to RAM1 or RAM2,
Combine the data of two adjacent pixels of the n-1th line in parallel
12-bit data is read from RAM2 or RAM1.
It is given to the calculator 28. That is, the arithmetic unit 28 has a circuit
Just one line behind the data output by 24,
The original image data is given in the form of the data of adjacent 2 pixels.
Be done. In this way, the data buffer memory RAM1, RAM2
Read data from the input to
Udo is delayed by one line. The sampling circuit 64 stores the read / write address of RAM1.
The sampling circuit 65 determines the read / write address of RAM2.
Meru. First, the sampling circuit 64 will be explained.
When writing is specified, the signals a = H and b = L.
And gate 40 is off (gate closed) and up
The count pulse is not given to the down counter 39,
The output of will remain at 0. To address counter 38
Data clock DCLK is given as a count pulse
Therefore, one data clock DCLK pulse arrives
Und up. The adder 37 is of the counters 39 and 38.
Add the count data and add the sum data to RAM1.
Given as data. As a result, the data of two adjacent pixels
12-bit data in parallel with the data clock
Data is sequentially written to RAM1 in synchronization with DCLK. Ie 1
All data for the line is written to RAM1. When RAM1 is designated for reading, a = L, b
= H, the AND gate 40 operates when the signal c is L.
When it is on (gate is open), data is stored in the up / down counter 39.
The clock DCLK is given as a count pulse. signal
It counts up when d = H (reduction), and d = L (enlargement).
Down). Signal c already explained
It is the data Ai that was
Of. When reading, the counters 39 and 38
The sum of the count values becomes the read address of RAM1. c =
In case of L, when d = H, every time DCLK appears 1 pulse
Then, the counter 39 counts up by 1 and the RAM1 is read.
When the address advances by 2 and d = L, DCLK has 1 pulse
Each time it appears, the counter 39 counts down by 1 and RA
Note that the read address of M1 stalls.
c = Ai. The sampling circuit 65 has exactly the same configuration as 64,
The difference is that the AND gate 45 receives the a signal instead of the b signal.
It This is because RAM1 is read (b = H, a = L)
Write to RAM2 and write to RAM1 (b = L, a
= H), read RAM2 and read
Address as the sum of the count values of counters 44 and 43.
It is. Here, Ai will be described. Microprocessor 35
Responds to the image reading start instruction (ST changes from L to h).
Answer the specified scaling factor R% and based on this
And play Ji and Ri for each of i = 0 to R-1
If R <100 (reduction), Ji-Ji-1 ≧ 2 and A
Let i be L, Ji-Ji-1 ≦ 1 and Ai be H, and R ≧ 100 (expansion
In the case of (large), Ji−Ji−1 ≧ 1 and Ai is H, and Ji−Ji−
When 1 ≦ 0, Ai is L, and when Ri ≦ 0.5, Bi is H and R
When i> 0.5, set Bi to L and set Ai and Bi to RAM3
Store in dress R-i. In this memory operation, the microprocessor 35
Data A corresponding to i = 00And B0OR gate before writing
1 pulse is given to 49, and the data indicating R is
Load it to your computer 48. And A0And B0To RAM3
And give one pulse to OR gate 51, and address counter
Increment 48 by 1 and data A corresponding to i = 11And
B1Is given to RAM3, and then one pulse is given to the OR gate 51.
It Such an operation is performed until i = R-1. This
Data A corresponding to i = 0 at address 0 of RAM30And B0
But the data A corresponding to i = 1 at address 11And B1But,·
..Data A corresponding to i = R-1 at address R-1R-1And
BR-1Will be written. Then, the scanner SCR is instructed to read the image and the image is actually printed.
When starting image reading, use line sync pulse LSYNC.
The data indicating the specified magnification R% is set in the address counter 48.
Each time the data clock DCLK appears one pulse
Counter 48 increments by 1 and DCLK shows 1 pulse.
Each time it is read, the read address is increased by one, i
= 0 corresponding data A0And B0To i = day for R-1
Type AR-1And BR-1Are sequentially read out and the data Ai is transmitted.
No. c is given to the sampling circuits 64 and 65,
The data Bi is given to the data selector 28a of the calculator 28.
It The data selector 28a outputs Sij when Bi = H and when Bi = L
Sij+1Is output as scaled image data 0ik. This output motion
The operation is synchronized with the data clock DCLK. The scaled image data 0ik is given to the MTF correction circuit 29,
29 to the binarization circuit 30 and the gradation processor 31.
In this embodiment, the gradation processor 31 has 64 types of density compatible
ROM with gradation expression data distribution pattern and 64 counts
Cyclic line counter and 64 cows to initialize with
Sun clock data clock counter to be initialized
The read address of the ROM is 0i
k, line count data and data clock count
Set with data. That is, one pattern of ROM is specified by 0ik.
The main scan address of the pattern
The counter and the sub-scanning address can be specified by the line counter.
Read the 1-bit image data in the pattern
You Microprocessor 35 directs the output of binary data
(I = H), the gate circuits 32 to 34 are binarized.
The output of the circuit 30 is instructed to output the gradation data (i =
L), the output of the gradation processor 31 is output to the printer PRT.
Force Next, the scaling processing control operation of the microprocessor 35
Description will be made with reference to the drawings and FIG. 1c. First see Figure 1b
I do. The power is turned on (Step 1:
(The word "up" is omitted) and the microprocessor 35
Set the I / O port to the standby level and
Data, counters, timers, flags, etc. (2).
Next, read the data R that indicates the specified scaling ratio R%, and register
Store in Rs (3) and set L to output port g
(4). That is, when AND gate 50 is turned off (gate closed)
Then, the address counter 48 has an external count pulse.
Set so that it is not given from. Next, output port n
, The data stored in the register Rs and indicating the specified scaling ratio Rs%
Set (5) to preset the address counter 48
A data input terminal P is added. Then, one output port f
Rout is output (6) and Rs is set low to the address counter 48.
To This initializes the address counter 48 (initial
The address has been set). The microprocessor 35 then sets RAM3 to write
(7), which indicates 0 in the contents of the internal address register i
(Register clear) (8). Due to this
I = 0 is set. Then clear register j
Then, H is set in the registers Bi and Ai (9). So
And store the contents Bi and Ai of registers Bi and Ai in RAM3.
(10). At this stage, i = 0, so the RAM3 address
Dress R, B0= H and A0= H has been written
It Then, the contents of register i are incremented by 1 (1
1). This will change the value of i to a value that is one greater than the previous
It has been done. Then at this stage i = 1 and
100 i / Rs = J because i ≧ Ri + 1?
i + Ri integer Ji and minority Ri calculated (13)
Math register Ji-1Move the contents of the calculated value register Ji to
(14a), the integer value Ji is stored in the calculated value register Ji this time.
(14b), then in steps 15-17, set Bi and
Set Ai at steps 18-25. And one output port h
(22) RAM3 write address is 1 ink
The write address, advance the write address, and
Write the set Bi and Ai in the RAM3. Same as below
Then, change i to a value one larger (11) and play Ji and Ri.
Calculate (13) and set Bi and Ai based on them and Rs
(15 to 25), update the write address of RAM3 (22),
Write Bi and Ai to RAM3 (10). In this way, i
= Rs + 1, it corresponds to each of i = 0 to Rs-1.
Since all Bi and Ai are written in RAM3,
Proceed from step 12 to the scaling process control during image reading in Fig. 1c.
Mu. When you proceed from step 8 to step 9,
Dress 0 to A0= H is written, but this is Ji-Ji-1To
Does not correspond exactly. Because at this stage Ji-1Unknown
Because it is. However, when i is Rs-1,
Indicates the Rs countover of the counter 48 next (i = Rs).
Initialize the counter 48 and reset i to 0
Therefore, i = 0 and i = Rs are the same. Therefore, i = 0
In A0Can be replaced by that of i = Rs. And i
= J when Rs-1R-1Ji-1Can be used as. Therefore,
In step 12, until i = Rs, calculation of Ai and Bi and RAM3
To see how the memory is completed to. That is, i = 0 to
It is sufficient to store Ai and Bi up to Rs-1, but i = Rs
(This is synonymous with i = 0) also calculates and stores Ai and Bi
I am trying. At this i = Rs, the counter 48 controls Rs.
The write address of RAM3 is set to 0 due to the overrun
So B written in step 90And A0But BRs, ARto s
It will be rewritten. This will allow steps 9 and 10
A written0Has been updated to the correct value. Snap 12 to control scaling processing when reading the image in Figure 1c
Then, the image reading start instruction signal ST indicates the start of reading.
Wait until it reaches H (26) and do not receive the reading start instruction.
While it is idle, read the input magnification instruction data R
Check if is the same as the value stored in register Rs
Yes (27). If it is not the same, the designated magnification R has been changed.
So, go back to step 3 in Figure 1b and repeat
Of the data Bi and Ai corresponding to the new designated magnification R
Calculate and write to RAM3. When the image reading start instruction signal ST becomes H, scan
Check if SCR is ready (28), printer PRT
Check whether it is ready (29) and either
If it is not a day, wait for both to become ready. If both SKYANA SCR and printer PRT are ready,
Binary image processing (document: text image processing) is instructed
If it is, set H to output port i (31)
The output of the binarization circuit 30 is applied to the printer PRT so that the
Tone circuits 32 to 34 are set and gradation image processing (photo image processing)
Is set, set L to output port i
(32) The output of the gradation processor 31 is applied to the printer PRT.
Set the gate circuits 32-34. Next, the microprocessor
The server 35 refers to the contents of the specified scaling register Rs and
Check if a small amount or an enlargement is specified.
(33), output port when reduction is specified
Set d to H (34), and up / down counter 39
And 44 are set to upcount. Magnification specified
If it is, set L to the output port d (35).
Set down counters 39 and 44 to down count
I do. Next, set RAM3 to read (36), and output port g
Set H (37) and turn on AND gate 50 (gate
Open). Next, scan the SKYANA SCR and printer PRT
Give the bell start signal ATS (38). Sukiyana SCR reads the image in response to ATS becoming H
Start the line sync pulse LSYNC, data lock DCLK and
And original image data are serially output line by line.
Write the data of the odd-numbered line to RAM1.
The data on the even-numbered line is written to RAM2 and the odd-numbered line is written.
IN data is being written to RAM1 and even
Data on the even numbered lines are read out from RAM2.
Data on the odd numbered lines when the data is being written to RAM2.
Is read from RAM1. That is, in the form shown in FIG.
Image data is written to the line buffer memory RAM1 and RAM2.
And read from it. During this image reading, the address counter 48
Pulse LSYNC and the count-over generated by itself
B signal (issued each time the specified magnification Rs% is counted
Data clock DC
Count up LK. This allows the address counter
The address given to RAM3 by 48 is the line sync pulse LSYNC.
Becomes 0 when 1 pulse arrives, and then DCLK becomes 1 pulse.
Each time it is called, the value will increase by 1 and next to the maximum value Rs-1.
Is started by the count-over of the address counter 48.
It becomes 0 again and becomes 1 more value every time DCLK arrives.
It This is repeated during one cycle of the line sync pulse LSYNC.
Will be returned. RAM3 is set to read, so Ai
And Bi, i = 0 to R−1 are read from RAM3 sequentially from i = 0.
If it is read out and read up to i = R-1, then i = 0 again
It is read out sequentially, in synchronization with DCLK.
Ai is output as the signal c to the inverters 41 and 46,
Bi is provided to the data selector 28a. c = Ai = H (Ji-Ji when reduced-1≦ 1, Ji-Ji when expanded-1
In 1), AND gates 40 and 45 are off (gate
(Closed), the count values of counters 39 and 44 do not move,
Same sampling pitch (P = 1) as the original image data
The scaled image data is sampled at the sampling pitch.
It In this period, the image magnification is 1. That is, scaling
The image data is the original image data (thinned,
I did not write it twice.) c = Ai = L (Ji-Ji when reduced-1≧ 2, when expanded Ji-Ji-1
In the case of <1), the counters 39 and 44 are
Address counters 38 and 43 are
Counter 39,44 counts as if it hung up
Since it goes up, reading of RAM1 and 2 at the arrival of one DCLK pulse
The output address is increased by 2 and the original image data is skipped by 1 pixel.
It will be sampled every time. Cow at the time of expansion
Address 39,33 are down-counting,
Counters 38 and 43 count up, while counters 39 and 44
Counts down, so even if DCLK arrives, RAM1 and RAM2
The read address does not move and the same pixel of the original image data
The data will be repeatedly sampled. Corresponding to the specified magnification R by the above sampling operation
Original image data is sampled at different pitches, Bi = H
When (Ri = ≦ 0.5), the data selector 28
Sij of the pulled original image data is set to 0ik, and Bi = L (Ri
> 0.5), the data selector 28 is
Sij of the original image data+1Is output as 0ik. As shown above, in the case of FIG. 1a, the method described above is used.
The scaled image data is set. 2a and 2b will be described. Fig. 2a Smell
The calculator 28 calculates the scaled image data 0ik as described above.
I do. That is, the four types of coefficients A in Table 1 and the image data Si
The data multiplied by j (0 to 63) is stored in the data selector 28b.
Applied to input ports a-d. Note that these a to d are the first
Corresponds to a to d in the right column of the table, where a is all Sij
I.e., Sij is the upper 5 bits of Sij in b
Data indicating the sum of 4-bit data, that is, 3/4 Sij
+1However, in c, the above 5 bits of Sij, that is, 1 / 2Sij, is
Is given the upper 4 bits of Sij, that is, 1/4 Sij. In addition, the four types of coefficients B in Table 1 and the image data Sij-1And
The multiplied data is input port a to the data selector 28c.
applied to d. Note that a to d are also a to d in the right column of Table 1.
Data corresponding to each of d, indicating 0 in a, and b in b
Is Sij+1Upper 4 bits of 1/4 Sij+1But c is Sij
+1Upper 5 bits of 1/4 Sij+1However, d is Sij+1of
Data indicating the sum of upper 5 bits and upper 4 bits of data
Ie 3/4 Sij+1Is given. The outputs A and B of the data selectors 28b and 28c are
One of the inputs a to d depends on the signal Bi given to them.
If the data is one, and Bi is 0, the input a
Are output A and B, and when Bi is data showing 1, input
When force b is output A and B, and Bi is data showing 2
Is the data of which input c is output A and B, and Bi is 3.
Input d is output A, B. The value of this Bi is the first
It is shown in the table. The adder 28d outputs the data A from the data selector 29b and the data
The data indicating the sum of the output B of the rector 28c is used as the scaled image data 0
Output as ik. The selection data Bi of the data selectors 28b and 28c is RAM3.
In addition, it is pre-read before the image is read. The scaling processing control operation of the microprocessor 35 shown in FIG. 2a.
The work is similar to that of Figures 1b and 1c, except that
Scaled image data calculation by step 15 to 17 in Fig. 1b
Instead of setting the data Bi for the steps shown in Figure 2b
41 to 50, the data for calculating the scaled image data by
Data Bi (from Table 1) is set. You
That is, the decimal number Ri calculated with each value of i is 0 ≦ Ri
<1/8, 1/8 ≤ Ri <3/8, 3/8 ≤ Ri <5/8, 5/8 ≤ Ri <7/8, and
And 7/8 ≤ Ri <1, in steps 41-47.
If 0 ≦ Ri <1/8, the register Bi shows 0.
Set data (42) and register when 1/8 ≤ Ri <3/8
Set the data indicating 1 to the data Bi (44), and 3/8 ≦ Ri <5/8
In case of, the data indicating 2 is set in the register Bi (4
6) When 5/8 ≤ Ri <7/8, the data indicating 3 in register Bi is displayed.
Setting (48). When 7/8 ≤ Ri <1, Ri
Round up to 1 and update the contents of register j by 1
Then (49), 0 is set in the register Bi. like this
Bi set to is written in RAM3 together with Ai. The other scaling processing control operations are the same as those in FIGS. 1b and 1c.
Therefore, during image reading, the data set in this way
Bi is read from RAM3 together with Ai and data selector 28b
And given to 28c. As a result, the output of the adder 28d
The scaled image data 0ik is calculated by the above equation (6).
It will be. FIG. 2c shows a modification of the arithmetic unit 28 shown in FIG. 2a. this
In the example, ROM28g, Sij 0 ~ 63, Sij+10 to 63, Table 1
4 types of coefficient A shown in Table 1 and 4 types of coefficient B shown in Table 1
As a parameter, the scaled image data calculated by equation (6) above is used.
Data 0ik stores those parameters as addresses
Has been done. The read address of ROM28g is the data selection
Sij, Sij output from Kuta 27+1And Bi, B
Coefficients A and B specified in i (Table 1) and Sij, Sij+1
Then, the scaled image data 0ik calculated by equation (6) is ROM 28g.
Read out. 3a and 3b will be described. Fig. 3a Smell
The calculator 28 calculates the scaled image data 0ik as described above.
I do. That is, each of the four types of coefficient A in Table 2 and the original
Image data Sij-1Data multiplied by and is the data selector 5
2 shows each of the four types of coefficients B in Table 2 and the original image data S
The data obtained by multiplying ij and
Each of the four types of coefficients C and the original image data Sij+1Multiply by
The selected data is sent to the data selector 54 and the four types in Table 2
Each of the coefficients D and Sij+2The data multiplied by
Data selector 52 and that of the data selectors 52-55.
Coefficients A to D, each of which is specified by the data Bi (Table 2)
Indicates the value calculated by one type (4 types for each: Table 2)
The data is output and the sum of them is added to the scaled image data.
It is output from the adder 56 as data 0ik. Note that the complement device 57 converts the subtraction data (-1/8) into the addition data.
To convert data (convert subtraction to addition)
It The outputs A to D of the data selectors 52 to 55 are given to them.
One of the inputs a to d, depending on the signal Bi
When Bi is data indicating 0, the input a is the output A to
When the data is D and Bi is 1, the input b is output.
If the data are forces A to D and Bi is 2, input
When c is the output A to D and Bi is data indicating 3
Has an input d as outputs A to D. This Bi value is shown in Table 2.
Is shown in. The adder 56 is the data selector 52
Data indicating the sum of outputs A to D of
Output as k. The selection data Bi of the data selectors 52 to 55 is stored in the RAM3 as an image.
It is pre-read before reading. The scaling processing control operation of the microprocessor 35 shown in FIG. 3a.
The work is similar to that shown in Figures 1b and 1c.
However, the scaled image data according to steps 15 to 17 in Fig.
Instead of setting the data Bi for data calculation,
Steps 41 to 50 are used to calculate the scaled image data.
Data Bi (for Table 2) for setting
There is. That is, the small number Ri calculated with each value of i
However, 0 ≦ Ri <1/4, 1/4 ≦ Ri <1/2, 1/2 ≦ Ri <3/4, 3/4 ≦ Ri
<7/8 and 7/8 ≤ Ri <1, step 4
Check 1 to 47, and if 0 ≦ Ri <1/4, register Bi
Set data indicating 0 (42), and when 1/4 ≦ Ri <1/2
Sets data indicating 1 to register Bi (44), and
When ≦ Ri <3/4, set the data indicating 2 to register Bi.
(46), and when 3/4 ≤ Ri <7/8, 3 is shown in register Bi.
Set data (48). When 7/8 ≤ Ri <1
Rounds Ri up to 1 and increments the contents of register j by 1.
It is updated to a number (49) and 0 is set in the register Bi.
The Bi thus set is written in the RAM 3 together with Ai. The other scaling processing control operations are the same as those in FIGS. 1b and 1c.
Therefore, during image reading, the data set in this way
Bi is read from RAM3 together with Ai and data selector 52-
Given to 55. This causes the output of adder 56
The doubled image data 0ik is roughly calculated by the above equation (7).
Will be things. FIG. 3c shows a modification of the arithmetic unit 28 shown in FIG. 3a. This
In the example, ROM63, Sij-10-63, Sij 0-63, Sij+1
0 ~ 63, Sij+20 to 63, 4 types of coefficient A shown in Table 2,
Parametric 4 types of coefficient B, 4 types of coefficient C and 4 types of coefficient D
Scaled image data calculated by equation (7) above as a meter
0ik is stored with those parameters as addresses
ing. The read address of RAM63 is the data selector 2
Sij output from 7-1, Sij, Sij+1, Sij+2And Bi
The coefficients A to D (Table 1) specified by Bi and Sij
-1, Sij, Sij+1, Sij+2Then, the scaled image calculated by equation (7)
Data 0ik is read from ROM63. Fourth Embodiment (FIG. 4) Only the components of the fourth embodiment different from those of the first embodiment are
Shown in the figure. In this fourth embodiment, the sampling circuit 64 and
And 65, and the other parts are the first real
Same as the example, except the sampling circuits 64 and 65
May be the same as in the second and third embodiments. The sampling circuit 64 shown in FIG.
When specified (a = H, b = L), AND gate 6
8 and 69 are off, and gate 67 is on
To count up the address counter 38 with DCLK.
It In other words, each time DCLK arrives, the original image data is
Data into RAM1. When RAM1 is specified for reading
(A = L, b = H), the AND gate 67 is off.
And, when it is reduced (d = H), AND gate 68 is also off.
Yes, corresponding to the data Ai, when it is H, DCLK
2DCLK when Ai is L, AND gate 71 or 72
And orgate 70 and andgate 69 and orage
Give to the counter through To 66. When enlarged (d = L)
DC is when AND gate 69 is off and Ai is high.
LK through AND gate 68 and OR gate 66
It is given to the counter 38, and when Ai is L, the clock is
Not given to Unta 38. The sampling circuit 65 has the same configuration as 64, but the signal a
And and b are swapped and given to AND gate 74, 75 and 76
I am trying to get it. This is because when writing to RAM1
When reading from RAM1, reading from RAM1 does not mean writing to RAM2.
This is because that. Configuration and operation of the above sampling circuits 64 and 65
Thus, in the fourth embodiment also, the first embodiment (Fig. 1a)
In the same manner as the above, writing to RAM1 and 2 and reading from RAM1 and 2 are performed.
Sampling is performed. That is, in the first embodiment,
Up / down counters 39 and 44 and adders 37 and 42
DCLK is duplicated when sampling original image data one by one.
Counts to 2 and advances the address by 2 for each DCLK pulse
However, in the fourth embodiment, in this case,
2DCLK is given to the address counter, and 1 pulse of DCLK is issued.
The address counter is incremented by 2 when
So that the address is advanced by 2 for each DCLK pulse.
I have to. In each of the embodiments described above, the scaling in the main scanning direction X is performed.
Is to do. The scaling in the sub-scanning direction Y is 100Li / R = Lj + Lr, where Li is the scaling image data sampling line No., Lj
Is an integer, Lr is a decimal, and an integer Lj and a decimal Lr
When Lr is 0.5 or less, the above-mentioned variable magnification image in the main scanning direction
If the data of the Ljth line of the data is Lr larger than 0.5,
By the time, Lj+1The data of the line can be
The final scaled image data is scaled in the scanning direction and is the Lith
You can remove it. This extraction is, in the above-mentioned embodiment,
The printer PRT refers to the magnification data R to perform the processing. As described above, in any of the examples of the present invention,%
Adjacent to the original image data according to the specified scaling ratio R of the unit
Objects at a specified pitch in synchronization with the data clock DCLK.
And the scaled image in synchronization with the data clock
Data 0ij is calculated and output, so real-time processing is possible.
That is, the scaled image data is synchronized with the reading of the original image.
can get.

【発明の効果】【The invention's effect】

以上のように本発明の画像データの変倍処理装置は、
指定倍率R%に基づいて、変倍画像データサンプリング
位置iそれぞれに対応付ける、原画像データサンプリン
グ位置情報と、原画像データサンプリング位置と変倍画
像データサンプリング位置との差を示す位置差情報と、
を演算する演算手段;変倍画像データサンプリング位置
i対応で前記原画像データサンプリング位置情報および
位置差情報を記憶する、変倍処理情報メモリ手段;原画
像データのデータクロックDCLKに同期してiを1づつ変
更すると共に、前記変倍処理情報メモリ手段より、i対
応で原画像データサンプリング位置情報および位置差情
報を読み出す読出手段;R≧100のときにはデータクロッ
クDCLKを、R<100のときにはデータクロックDCLKの2
倍の周波数のデータクロック2DCLKをカウントして、読
み出された原画像データサンプリング位置情報で特定さ
れる原画像データとそれに隣接する1以上の原画像デー
タを摘出するサンプリング手段;および、前記データク
ロックDCLKに同期して、摘出された原画像データおよび
読み出された位置差情報の相関で位置iの変倍画像デー
タを定める変倍画像データ設定手段;を備えるもので、
高精度,微細,広範囲な変倍率を実現するとともに、変
倍時においても画像データの入力データクロックと出力
データクロックを変化させることのない変倍処理装置を
簡単な構成にすることができる。
As described above, the image data scaling processing device of the present invention is
Original image data sampling position information, which is associated with each variable-magnification image data sampling position i based on the designated magnification R%, and position difference information indicating a difference between the original image data sampling position and the variable-magnification image data sampling position,
Scaling means for storing the original image data sampling position information and position difference information corresponding to the scaled image data sampling position i; scaling processing information memory means; i in synchronization with the data clock DCLK of the source image data. Reading means for reading the original image data sampling position information and position difference information corresponding to i from the scaling processing information memory means while changing them one by one; the data clock DCLK when R ≧ 100, and the data clock when R <100 2 of DCLK
Sampling means for counting the data clock 2DCLK having a doubled frequency to extract the original image data specified by the read original image data sampling position information and one or more original image data adjacent thereto, and the data clock A scaled image data setting means for determining scaled image data at a position i in correlation with the extracted original image data and the read position difference information in synchronization with DCLK;
It is possible to realize a high-accuracy, fine, wide-range zoom ratio, and a simple structure of a scaling processor that does not change the input data clock and output data clock of image data even during scaling.

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

第1a図は、本発明の第1実施例の構成を示すブロック図
である。 第1b図および第1c図は、第1a図に示すマイクロプロセッ
サ35の変倍処理制御動作を示すフローチャートである。 第2a図は、本発明の第2実施例の要部を示すブロック図
である。 第2b図は、第2a図に示すマイクロプロセッサ35の変倍処
理制御動作の一部を示すフローチャートである。 第2c図は、第2a図に示す演算器28の変形例を示すブロッ
ク図である。 第3a図は、本発明の第3実施例の要部を示すブロック図
である。 第3b図は、第3a図に示すマイクロプロセッサ35の変倍処
理制御動作の一部を示すフローチャートである。 第3c図は、第3a図に示す演算器28の変形例を示すブロッ
ク図である。 第4図は、本発明の第4実施例の要部を示すブロック図
である。 第5図は、変倍画像データを演算する3次関数コンボリ
ューシヨン法で用いる補間関数の値を示すグラフであ
り、横軸は原画像データのサンプリング位置に対する変
倍画像データに割り当てるサンプリング位置のずれ量を
示し、縦軸は補間関数の値を示す。 第6図は、第1a図に示すスキヤナSCRの画像読取出力で
あるデータYと同期クロックLSYNC,DCLKおよびラッチ25
の出力であるデータZの関係を示すタイムチャートであ
る。 第7図は、第1a図に示すラインバッフアメモリRAM1,RAM
2の書込みデータ,読み出しデータとライン同期パルスL
SYNCとの関係を示すタイムチャートである。 第8図は、従来の画像読取装置の外観を示す斜視図であ
る。 第9図は、従来の1つの画像読取装置の主機械構成要素
を示す側面図である。 第10図は、従来のもう1つの画像読取装置の主機械構成
要素を示す側面図である。 第11図は、従来の電気的手法による画像データ変倍のた
めに、1頁分の画面像データをメモリに格納した場合
の、メモリ上における画像データ分布を、画像対応で示
す平面図である。 第12図は、近接画素間距離線形配分法により変倍画像デ
ータを演算する場合の、原画像データのサンプリング位
置と変倍画像データのサンプリング位置との関係を示す
平面図である。 1:画像読取装置、2:コンタクトガラス板 3:原稿圧板、4:操作部 5:蛍光灯、6:セルホックレンズ 7:イメージセンサ、8:反射光 9:キヤリッジ、11〜13:反射光 14:レンズ、SCR:スキヤナ DOC:原稿 35:マイクロプロセッサ(演算手段) 48:プリセットカウンタ(読出手段) 64,65:サンプリング回路(サンプリング手段) RAM1,RAM2:RAM(バッフアメモリ手段) RAM3:RAM(変倍処理情報メモリ手段) 28:演算器(変倍画像データ設定手段)
FIG. 1a is a block diagram showing the configuration of the first embodiment of the present invention. FIGS. 1b and 1c are flowcharts showing the scaling processing control operation of the microprocessor 35 shown in FIG. 1a. FIG. 2a is a block diagram showing an essential part of the second embodiment of the present invention. FIG. 2b is a flowchart showing a part of the scaling processing control operation of the microprocessor 35 shown in FIG. 2a. FIG. 2c is a block diagram showing a modification of the arithmetic unit 28 shown in FIG. 2a. FIG. 3a is a block diagram showing an essential part of the third embodiment of the present invention. FIG. 3b is a flowchart showing a part of the scaling processing control operation of the microprocessor 35 shown in FIG. 3a. FIG. 3c is a block diagram showing a modification of the arithmetic unit 28 shown in FIG. 3a. FIG. 4 is a block diagram showing the main part of the fourth embodiment of the present invention. FIG. 5 is a graph showing the value of the interpolation function used in the cubic function convolution method for calculating the scaled image data, where the horizontal axis represents the sampling position assigned to the scaled image data with respect to the sampling position of the original image data. The amount of deviation is shown, and the vertical axis shows the value of the interpolation function. FIG. 6 shows the data Y which is the image reading output of the scan SCR shown in FIG. 1a, the synchronizing clocks LSYNC, DCLK and the latch 25.
3 is a time chart showing the relationship of the data Z that is the output of FIG. FIG. 7 shows the line buffer memory RAM1, RAM shown in FIG. 1a.
2 write data, read data and line sync pulse L
It is a time chart which shows the relationship with SYNC. FIG. 8 is a perspective view showing the appearance of a conventional image reading apparatus. FIG. 9 is a side view showing main mechanical components of one conventional image reading apparatus. FIG. 10 is a side view showing main mechanical components of another conventional image reading apparatus. FIG. 11 is a plan view showing the image data distribution on the memory corresponding to images when screen image data for one page is stored in the memory for image data scaling by a conventional electrical method. . FIG. 12 is a plan view showing the relationship between the sampling position of the original image data and the sampling position of the scaled image data when the scaled image data is calculated by the distance linear distribution method between adjacent pixels. 1: Image reading device, 2: Contact glass plate 3: Original pressure plate, 4: Operation part 5: Fluorescent lamp, 6: Selfoc lens, 7: Image sensor, 8: Reflected light 9: Carridge, 11 to 13: Reflected light 14 : Lens, SCR: Scan DOC: Original 35: Microprocessor (calculation means) 48: Preset counter (readout means) 64,65: Sampling circuit (sampling means) RAM1, RAM2: RAM (buffer memory means) RAM3: RAM (variable magnification) Processing information memory means) 28: calculator (scaled image data setting means)

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】指定倍率R%に基づいて、変倍画像データ
サンプリング位置iそれぞれに対応付ける、原画像デー
タサンプリング位置情報と、原画像データサンプリング
位置と変倍画像データサンプリング位置との差を示す位
置差情報と、を演算する演算手段; 変倍画像データサンプリング位置i対応で前記原画像デ
ータサンプリング位置情報および位置差情報を記憶す
る、変倍処理情報メモリ手段; 原画像データのデータクロックDCLKに同期してiを1づ
つ変更すると共に、前記変倍処理情報メモリ手段より、
i対応で原画像データサンプリング位置情報および位置
差情報を読み出す読出手段; R≧100のときにはデータクロックDCLKを、R<100のと
きにはデータクロックDCLKの2倍の周波数のデータクロ
ック2DCLKをカウントして、読み出された原画像データ
サンプリング位置情報で特定される原画像データとそれ
に隣接する1以上の原画像データを摘出するサンプリン
グ手段;および、 前記データクロックDCLKに同期して、摘出された原画像
データおよび読み出された位置差情報の相関で位置iの
変倍画像データを定める変倍画像データ設定手段; を備える画像データの変倍処理装置。
1. Original image data sampling position information, which corresponds to each variable-magnification image data sampling position i based on a designated magnification R%, and a position indicating a difference between the original image data sampling position and the variable-magnification image data sampling position. Difference information and calculation means for calculating the difference image information; variable magnification processing information memory means for storing the original image data sampling position information and position difference information corresponding to the changed image data sampling position i; and synchronizing with the data clock DCLK of the original image data. Then, i is changed one by one, and from the scaling processing information memory means,
Reading means for reading the original image data sampling position information and position difference information corresponding to i; When R ≧ 100, the data clock DCLK is counted; when R <100, the data clock 2DCLK having twice the frequency of the data clock DCLK is counted, Sampling means for extracting the original image data specified by the read original image data sampling position information and one or more original image data adjacent thereto, and the extracted original image data in synchronization with the data clock DCLK. And a scaled image data setting unit that determines scaled image data at the position i based on the correlation of the read position difference information.
【請求項2】演算手段は、 100i/〔指定倍率R(%)〕=Ji+Ri,i=0〜R−1な
る整数,0≦Ri<1,Jiは整数、 なる整数Jiおよび少数Riを演算して、iが1小さいとき
のJi演算値Ji-1を保持し、原画像データサンプリング位
置情報として、Rの値および Ji−Ji-1の値に対応した原画素データのサンプリング位
置変更量を示すデータAiを演算し、位置差情報として、
Riが0〜1の中の小領域区分のいずれの区分にあるかを
示すデータBiを演算する前記特許請求の範囲第(1)項
記載の、画像データの変倍処理装置。
2. The calculating means calculates 100i / [designated magnification R (%)] = Ji + Ri, i = 0 to R-1, an integer 0 ≦ Ri <1, Ji is an integer, and an integer Ji and a small number Ri are calculated. Then, the Ji calculation value Ji -1 when i is smaller by 1 is held, and the sampling position change amount of the original pixel data corresponding to the R value and the Ji-Ji -1 value is stored as the original image data sampling position information. The data Ai shown is calculated, and as position difference information,
The image data scaling apparatus according to claim 1, which calculates data Bi indicating which one of the small area divisions Ri is in 0 to 1.
【請求項3】サンプリング手段は:1ライン分の原画像デ
ータを格納するバッフアメモリ手段;該バッフアメモリ
手段を書込み/読出しに交互に設定する手段;該バッフ
アメモリ手段に書込み/読み出し位置を与えるアドレス
カウント手段;該バッフアメモリ手段に書込みのとき
は、データクロックDCLKをカウントパルスとして該アド
レスカウント手段に与え、該メモリ手段より読み出しの
ときはデータクロックDCLKに同期してiを1づつ変更す
ると共に、R<100の場合は、Aiに対応してデータクロ
ックDCLKの2倍の周波数のデータクロック2DCLKとデー
タクロックDCLKの一方を、カウントパルスとしてアドレ
スカウント手段に与え、R≧100の場合は、Aiに対応し
てデータクロックDCLKのアドレスカウント手段への印加
/遮断をして、原画像データの読出し位置xを指定する
サンプリング位置指定手段;でなる、前記特許請求の範
囲第(2)項記載の、画像データの変倍処理装置。
3. Sampling means: buffer memory means for storing original image data for one line; means for alternately setting the buffer memory means for writing / reading; address counting means for giving a writing / reading position to the buffer memory means; When writing to the buffer memory means, the data clock DCLK is given to the address counting means as a count pulse, and when reading from the memory means, i is changed by 1 in synchronization with the data clock DCLK, and R <100. In the case of Ai, one of the data clock 2DCLK and the data clock DCLK having twice the frequency of the data clock DCLK is given as a count pulse to the address counting means, and when R ≧ 100, the data corresponding to Ai Reads the original image data by applying / cutting off the clock DCLK to / from the address counting means. The image data scaling apparatus according to claim (2), further comprising a sampling position designating unit that designates a position x.
【請求項4】変倍画像データ設定手段は、BiがRi≦0.5
を示すものであるとき変倍画像データを指定位置xの原
画像データとし、BiがRi>0.5を示すものであるとき変
倍画像データを位置x+1の原画像データとする、前記
特許請求の範囲第(2)項又は第(3)項記載の画像デ
ータの変倍処理装置。
4. The scaled image data setting means is such that Bi is Ri ≦ 0.5.
The scaled image data is the original image data at the specified position x, and the scaled image data is the original image data at the position x + 1 when Bi is Ri> 0.5. An image data scaling device according to item (2) or (3).
【請求項5】変倍画像データ設定手段は、位置xの原画
像データにBiで示されるRiの重みを加え、位置x+1の
原画像データにBiで示される1−Riの重みを加えた和
を、変倍画像データとする、前記特許請求の範囲第
(2)項又は第(3)項記載の画像データの変倍処理装
置。
5. The scaled image data setting means adds the weight of Ri indicated by Bi to the original image data at the position x, and the weight of 1-Ri indicated by Bi to the original image data at the position x + 1. Is the scaled image data, and the scaling processing device for image data according to claim (2) or (3).
【請求項6】変倍画像データ設定手段は、変倍画像デー
タを、Biで示されるRi,位置xの原画像データならび
に、その前後の3個の原画像データをパラメータとする
3次関数コンボリューション式で得る前記特許請求の範
囲第(2)項又は第(3)項記載の画像データの変倍処
理装置。
6. The scaled image data setting means uses the scaled image data as a cubic function parameter having as parameters the original image data at Ri and position x indicated by Bi and the three original image data before and after the original image data. The image data scaling apparatus according to claim (2) or (3), which is obtained by a volume method.
JP61100504A 1986-04-30 1986-04-30 Image data scaling processor Expired - Fee Related JPH0828810B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP61100504A JPH0828810B2 (en) 1986-04-30 1986-04-30 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
JP61100504A JPH0828810B2 (en) 1986-04-30 1986-04-30 Image data scaling processor

Publications (2)

Publication Number Publication Date
JPS62257274A JPS62257274A (en) 1987-11-09
JPH0828810B2 true JPH0828810B2 (en) 1996-03-21

Family

ID=14275771

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61100504A Expired - Fee Related JPH0828810B2 (en) 1986-04-30 1986-04-30 Image data scaling processor

Country Status (1)

Country Link
JP (1) JPH0828810B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3233288A1 (en) * 1982-09-08 1984-03-08 Robert Bosch Gmbh, 7000 Stuttgart SYSTEM FOR TIME COMPRESSION AND / OR EXPANSION OF ELECTRICAL SIGNALS
JPS60140292A (en) * 1983-12-28 1985-07-25 株式会社東芝 Pattern expansion/reduction apparatus
JPS61140271A (en) * 1984-12-12 1986-06-27 Fuji Xerox Co Ltd Image magnifying and reducing circuit

Also Published As

Publication number Publication date
JPS62257274A (en) 1987-11-09

Similar Documents

Publication Publication Date Title
US4686580A (en) Method and apparatus for changing image size
US4712141A (en) Method and apparatus for interpolating image signals
DE68927701T2 (en) Image processing device and method
JPS6220747B2 (en)
GB2183961A (en) Image reading and/or recording apparatus with enlarging and reducing function
US4214277A (en) Halftone implementation apparatus
GB2064259A (en) Digitally magnifying selected portion of scanned image
JP3056231B2 (en) Image reading device
JP2789560B2 (en) Image data scaling processor
JPH0828810B2 (en) Image data scaling processor
US5257120A (en) Image processing apparatus
US5764370A (en) Enlargement and reduction apparatus for an image forming apparatus
JPH07123279B2 (en) Image data scaling processor
JPH0789644B2 (en) Image data scaling processor
US4860117A (en) Image processing method and system using multiple image sensors producing image data segments which are combined and subjected to optical processing
JPS62257276A (en) Variable power processor for image data
JP2887840B2 (en) Image reading device
JP3698196B2 (en) Image processing apparatus and image input apparatus
JP3434606B2 (en) Image reading device
JP2537192B2 (en) Image playback device
JP2625423B2 (en) Image reading device
JPH09130592A (en) Image processing device
JPS59147565A (en) Image magnification conversion method
JP2886859B2 (en) Image processing device
JPH11168624A (en) Image-processing system and image size scaling method

Legal Events

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