JPH01142879A - Interpolating device for digital image - Google Patents

Interpolating device for digital image

Info

Publication number
JPH01142879A
JPH01142879A JP62299803A JP29980387A JPH01142879A JP H01142879 A JPH01142879 A JP H01142879A JP 62299803 A JP62299803 A JP 62299803A JP 29980387 A JP29980387 A JP 29980387A JP H01142879 A JPH01142879 A JP H01142879A
Authority
JP
Japan
Prior art keywords
image data
interpolation
distance
coefficient
scanning direction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP62299803A
Other languages
Japanese (ja)
Other versions
JP2685460B2 (en
Inventor
Yoshihiro Ishida
良弘 石田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP62299803A priority Critical patent/JP2685460B2/en
Publication of JPH01142879A publication Critical patent/JPH01142879A/en
Application granted granted Critical
Publication of JP2685460B2 publication Critical patent/JP2685460B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4007Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE:To obtain excellent picture quality by a simple circuit by executing interpolation/enlargement processing respectively independently in the main scanning direction and the sub-scanning direction and inputting one processed result to the other processing. CONSTITUTION:The title device is provided with digital differential analyzers (DDAs) 14, 15 for setting up optional interpolating positions, selecting 2mX2n image data surrounding the interpolating positions around the set interpolating positions and finding out distances (x), (y) from the set interpolating positions up to the selected image data. The device is also provided with 1st interpolation image data forming means 16-18 forming intermediate interpolation image data I(Y) by the distance (y), a factor omega(y) uniquely determined based on the distance (y) and 2n image data in the Y direction, and 2nd interpolation image data forming means 19-21 forming the final interpolation image data I by the distance (x), a factor omega(x) uniquely determined based on the distance (x) and 2m 1st interpolation image data I(Y) formed in the X direction. Consequently, excellent interpolation processing can be rapidly executed by the simple constitution.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はデジタル画像の補間装置に関し、特に画像出力
装置に提供するための補間画像データを形成するデジタ
ル画像の補間装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a digital image interpolation device, and more particularly to a digital image interpolation device that forms interpolated image data to be provided to an image output device.

[従来の技術] 一般に、この種の装置では画像の拡大補間処理が行える
。しかし、レーザービームプリンタ(LBP)等に出力
する時は処理結果を高速の画素クロック信号に同期して
出力する必要がある。
[Prior Art] Generally, this type of device can perform image enlargement and interpolation processing. However, when outputting to a laser beam printer (LBP) or the like, it is necessary to output the processing results in synchronization with a high-speed pixel clock signal.

このため、従来は、拡大率に応する回数だけ単に同一画
素を読み出したり、あるいは拡大補間処理した画像デー
タを一担メモリに蓄えてから再度読み出して転送してい
た。しかし、前者では拡大率が2倍、3倍、4倍180
.と大きくなるにつれて画像がモザイク状となり、その
品質は極めて劣悪となった。また後者ではプリンタが高
精細又は大サイズになるにつれ処理済画像データを保持
するメモリ容量が膨大となり、コスト面からの問題があ
った。
For this reason, in the past, the same pixel was simply read out a number of times corresponding to the enlargement ratio, or the enlarged and interpolated image data was stored in a memory and then read out again and transferred. However, in the former case, the magnification is 2x, 3x, 4x 180
.. As the image size increased, the image became mosaic-like and its quality became extremely poor. Furthermore, in the latter case, as printers become higher in definition or larger in size, the memory capacity for holding processed image data becomes enormous, which poses a problem in terms of cost.

[発明が解決しようとする問題点] 本発明は上述した従来技術の欠点を除去するものであり
、その目的とする所は、簡単な構成で良質な補間処理が
高速に行えるデジタル画像の補間装置を提供することに
ある。
[Problems to be Solved by the Invention] The present invention eliminates the drawbacks of the prior art described above, and its purpose is to provide a digital image interpolation device that can perform high-quality interpolation processing at high speed with a simple configuration. Our goal is to provide the following.

[問題点を解決するための手段] 本発明によるデジタル画像の補間装置は上記の目的を達
成するために、直交アドレスX、Yの整数アドレスに複
数の画像データを記憶する画像メモリと、前記直交アド
レスX、Yの実数アドレスに任意の補間位置を設定する
補間位置設定手段と、前記設定した補間位置を略中心と
して該補間位置を囲むように2mX2n個の画像データ
を選択する画像データ選択手段と、前記設定した補間位
置から前記選択した画像データまでの距離x、yを求め
る距離算出手段と、前記距離yと、該距l!1yに基づ
き一意に定まる係数ω(y) と、Y方向2n個の画像
データとにより中間の補間画像データI (Y)を形成
する第1の補間画像データ形成手段と、前記距@xと、
該距1lixに基づき一意に定まる係数ω(X)と、前
記形成したX方向2m個の第1の補間画像データI (
Y) とにより最終の補間画像データ■を形成する第2
の補間画像データ形成手段を備えることをその概要とす
る。
[Means for Solving the Problems] In order to achieve the above object, the digital image interpolation device according to the present invention includes an image memory that stores a plurality of image data at integer addresses of orthogonal addresses X and Y; interpolation position setting means for setting an arbitrary interpolation position in the real addresses X and Y; and image data selection means for selecting 2m×2n pieces of image data surrounding the interpolation position with the set interpolation position as the approximate center. , distance calculation means for calculating distances x and y from the set interpolation position to the selected image data; and the distance y and the distance l! a first interpolated image data forming means that forms intermediate interpolated image data I (Y) from a coefficient ω(y) uniquely determined based on 1y and 2n pieces of image data in the Y direction; and the distance @x;
The coefficient ω(X) that is uniquely determined based on the distance 1lix and the 2m pieces of first interpolated image data I (
Y) to form the final interpolated image data
The outline of the system is to include an interpolated image data forming means.

また好ましくは、第1の補間画像データ形成手段は、距
離yと該距離yで定まる係数ω(y)とから補間係数I
 (y)を次式、 πy に従って求め、前記求めた補間係数I (y)と該補間
係数I (y)に対応する画像データとの多積をとり、
得られた2n個の積の総和によって中間の補間画像デー
タI (Y)を形成し、第2の補間画像゛データ形成手
段は、距離Xと  ゛該距離1xで定まる係数ω(X)
  とから補間係数I (x)を次式、 π X に従って求め、前記求めた補間係数■(×)と該補間係
数1 (x)に対応する前記形成した中間の補間画像デ
ータI (Y) との多積をとり、得られた2m個の積
の総和によって最終の補間画像データ■を形成すること
をその一態様とする。
Preferably, the first interpolation image data forming means calculates the interpolation coefficient I from the distance y and the coefficient ω(y) determined by the distance y.
(y) is obtained according to the following formula, πy, and the multiplication of the interpolation coefficient I (y) obtained above and the image data corresponding to the interpolation coefficient I (y) is taken,
Intermediate interpolated image data I (Y) is formed by the sum of the obtained 2n products, and the second interpolated image data forming means calculates the distance X and the coefficient ω(X) determined by the distance 1x.
The interpolation coefficient I (x) is determined according to the following formula, π One aspect of this is to take the multiproducts of 2m products and form the final interpolated image data (2) by the sum of the 2m products obtained.

また好ましくは、係数ω(×)、ω(y)は夫々次式、 の関係で定まることをその一態様とする。Preferably, the coefficients ω(×) and ω(y) are each expressed by the following equations, One aspect of this is that it is determined by the relationship.

また好ましくは、座標Yが画像出力装置の副走査方向に
対応し、座標Xが画像出力装置の主走査方向に対応する
ことをその一態様とする。
Preferably, the coordinate Y corresponds to the sub-scanning direction of the image output device, and the coordinate X corresponds to the main scanning direction of the image output device.

[作用] かかる構成において、画像メモリは直交アドレスX、Y
の整数アドレスに複数の画像データを記憶する。補間位
置設定手段は前記直交アドレスX、Yの実数アドレスに
任意の補間位置を設定する。画像データ選択手段は前記
設定した補間位置を略中心として該補間位置を囲むよう
に2mx2n個の画像データを選択する。距離算出手段
は前記設定した補間位置から前記選択した画像データま
での距1efix、 yを求める。第1の補間画像デー
タ形成手段は、前記距1ilyと、該距離yに基づき一
意に定まる係数ω(y)と、Y方向2n個の画像データ
とにより順次中間の補間画像データI (Y)を形成す
る。好ましくは、係数ω(y)は次式、 の関係で定まる。そして第1の補間画像データ形成手段
は、距mayと該距離yで定まる係数ω(y)とから補
間係数!(y)を次式、 πy に従って求め、前記求めた補間係数r (y)と該補間
係数I (y)に対応する画像データとの各種をとり、
得られた2n個の積の総和によって中間の補間画像デー
タI (Y)を形成する。
[Operation] In such a configuration, the image memory has orthogonal addresses X, Y
A plurality of image data is stored at an integer address. The interpolation position setting means sets an arbitrary interpolation position at the real addresses of the orthogonal addresses X and Y. The image data selection means selects 2m×2n pieces of image data so as to surround the set interpolation position approximately at the center. The distance calculation means calculates the distance 1efix, y from the set interpolation position to the selected image data. The first interpolated image data forming means sequentially generates intermediate interpolated image data I (Y) using the distance 1ily, a coefficient ω(y) uniquely determined based on the distance y, and 2n pieces of image data in the Y direction. Form. Preferably, the coefficient ω(y) is determined by the following equation. Then, the first interpolation image data forming means generates an interpolation coefficient from the distance may and the coefficient ω(y) determined by the distance y. (y) is obtained according to the following formula, πy, and various types of image data corresponding to the interpolation coefficient r (y) obtained above and the interpolation coefficient I (y) are obtained,
Intermediate interpolated image data I (Y) is formed by the sum of the 2n products obtained.

そして第2の補間画像データ形成手段は前記距aXと、
該距lIxに基づき一意に定まる係数ω(x)と、前記
形成したX方向2m個の第1の補間画像データI (Y
) とにより最終の補間画像データ■を形成する。好ま
しくは、係数ω(x)は次式、 m の関係で定まる。そして第2の補間画像データ形成手段
は、距@xと該距離xで定まる係数ω(x)とから補間
係数I (x)を次式、 π X に従って求め、前記求めた補間係数I (x)と該補間
係数1 (x)に対応する前記形成した中間の補間画像
データI (Y) との各種をとり、得られた2m個の
積の総和によって最終の補間画像データ■を形成する。
The second interpolated image data forming means determines the distance aX,
The coefficient ω(x) that is uniquely determined based on the distance lIx and the 2m pieces of first interpolation image data I (Y
) to form the final interpolated image data ■. Preferably, the coefficient ω(x) is determined by the following equation, m. Then, the second interpolation image data forming means calculates the interpolation coefficient I (x) from the distance @x and the coefficient ω(x) determined by the distance x according to the following formula, π ) and the intermediate interpolated image data I (Y) formed above corresponding to the interpolation coefficient 1 (x), and the final interpolated image data (2) is formed by the sum of the obtained 2m products.

この場合において好ましくは、座標Yが画像出力装置の
副走査方向に対応し、座標Xが画像出力装置の主走査方
向に対応する。
In this case, preferably the coordinate Y corresponds to the sub-scanning direction of the image output device, and the coordinate X corresponds to the main scanning direction of the image output device.

こうして一方の出力を他方の入力とするように構成する
ことで処理をパイプライン化し、各部分での処理を単純
化することにより、比較的簡素な構成で画品質の良好な
高速処理を可能にする。
In this way, by configuring the output of one as the input of the other, the processing is pipelined and the processing in each part is simplified, making it possible to perform high-speed processing with good image quality with a relatively simple configuration. do.

[実施例の説明] 以下、添付図面に従って本発明による実施例を詳細に説
明する。
[Description of Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[第1実施例] 第1図は本発明による第1実施例のデジタル画像補間装
置のブロック構成図である。第1実施例はテレビジョン
のNTSCビデオ信号をデジタル変換して本発明による
補間処理を施し、結果の補間画像データを画像プリンタ
に出力するものに関する。
[First Embodiment] FIG. 1 is a block diagram of a digital image interpolation device according to a first embodiment of the present invention. The first embodiment relates to one in which an NTSC video signal of a television is digitally converted, interpolation processing according to the present invention is performed, and the resulting interpolated image data is output to an image printer.

第1図において、1はビデオ信号源であり、例えばテレ
ビジョンで採用するNTSCビデオ信号VSを発生する
。2は輝度信号抽出回路であり、例えば公知のカラーサ
ブキャリア除去フィルタ等によりビデオ信号vSからゼ
デオ輝度信号VLSを抽出する。3は同期信号抽出回路
であり、例えば従来のテレビ受像器等において公知の回
路によりビデオ信号vSからビデオフレーム同期信号V
FDS (垂直同期信号)及びビデオ走査線同期信号V
HDS (水平同期信号)を抽出する。4はサンプリン
グ周期発生回路であり、前記抽出した同期信号VFDS
、VHDSに基づき例えばビデオ輝度信号VLSをA/
D変換するためのデータサンプリング信号DSS (例
えば640画素/走査線)を発生する。5はA/D変換
回路であり、入力したビデオ輝度信号VLSをA/D変
換してデジタルの輝度データLDを出力する。6はγ変
換回路であり、入力した輝度データLDを適正な濃度レ
ベルに変換して濃度データNDを出力する。一般に、テ
レビジョン信号は受像用のデイスプレィ面蛍光物に特性
を合わせた(1/2.2)のγ特性を持つ信号である。
In FIG. 1, 1 is a video signal source, which generates an NTSC video signal VS used, for example, in television. Reference numeral 2 denotes a luminance signal extraction circuit, which extracts a zedeo luminance signal VLS from the video signal vs using, for example, a known color subcarrier removal filter. Reference numeral 3 denotes a synchronization signal extraction circuit, which extracts a video frame synchronization signal V from the video signal vS using a known circuit in, for example, a conventional television receiver.
FDS (vertical synchronization signal) and video scanning line synchronization signal V
Extract HDS (horizontal synchronization signal). 4 is a sampling period generating circuit, which generates the extracted synchronization signal VFDS.
, based on VHDS, for example, the video luminance signal VLS is converted to A/
A data sampling signal DSS (for example, 640 pixels/scanning line) for D conversion is generated. 5 is an A/D conversion circuit which A/D converts the input video luminance signal VLS and outputs digital luminance data LD. 6 is a γ conversion circuit which converts the input luminance data LD to an appropriate density level and outputs density data ND. In general, a television signal is a signal having a γ characteristic of (1/2.2), which matches the characteristics of a display surface fluorescent material for image reception.

そこでγ変換回路6はこの特性を有する輝度データLD
を線形に変換し、かつプリンタ特性に合わせた適正な濃
度レベルの濃度データNDに変換する。7はフレームメ
モリであり、入力した濃度データNDを1ペ一ジ分記憶
する。11は書込アドレス制御回路であり、フレームメ
モリ7への濃度データNDの書込アドレスWAD及び書
込タイミングを制御する。具体的には、データサンプリ
ング信号DSSをカウントしてビデオ走査線内の何番目
の画素位置(X座標)に対応するかを算出し、かつビデ
オ走査線同期信号VHDSをカウントして画面内の何番
目のビデオ走査線(Y座標)に対応するかを算出する。
Therefore, the γ conversion circuit 6 converts the luminance data LD having this characteristic.
is linearly converted into density data ND having an appropriate density level matching the printer characteristics. A frame memory 7 stores one page of input density data ND. A write address control circuit 11 controls the write address WAD and write timing of the density data ND to the frame memory 7. Specifically, the data sampling signal DSS is counted to calculate which pixel position (X coordinate) it corresponds to in the video scanning line, and the video scanning line synchronization signal VHDS is counted to calculate which pixel position (X coordinate) it corresponds to in the screen. It is calculated whether it corresponds to the th video scanning line (Y coordinate).

以上の構成により、各濃度データNI)(画像データG
D)はデータサンプリング信号DSSに同期してフレー
ムメモリ7の整数アドレス上に連続した態様で書き込ま
れる。
With the above configuration, each density data NI) (image data G
D) are written in a continuous manner onto the integer addresses of the frame memory 7 in synchronization with the data sampling signal DSS.

第6図はフレームメモリ7における画像データの一記憶
態様を示す図である。図において、一連の画像データG
D(濃度データND)はプリント用走査線(ラスタ)に
対応したラスタデータとして記憶される。例えば最初に
第1ラスクの第1画素、第2画素、・・・、第N画素が
順に記憶される。
FIG. 6 is a diagram showing one storage mode of image data in the frame memory 7. As shown in FIG. In the figure, a series of image data G
D (density data ND) is stored as raster data corresponding to a printing scanning line (raster). For example, first, the first pixel, second pixel, . . . , Nth pixel of the first rask are stored in order.

必要なら第1ラスクと第2ラスク間に第1ラスク用の余
白部が記憶される。こうすればXアドレス、Yアドレス
の八−ドウエア制御が簡単になる。次に第2ラスクの第
1画素、第2画素、・・・、第N画素が順に記憶され、
こうして最後に第Mラスタの341画素、第2画素、・
・・、第N画素が順に記憶される。この場合にフレーム
メモリ7はラスク毎に例えば2のベキ乗に相当する画素
数の画像データGDを連続して記憶する。こうして記憶
される1画像の大きさは、例えば640(画素/ラスタ
)X4.80(ラスタ/画像)であり、このためのメモ
リ空間は1024X512=512にバイトを用意すれ
ば良い。
If necessary, a margin for the first rask is stored between the first rask and the second rask. This simplifies eight-way control of the X and Y addresses. Next, the first pixel, second pixel, ..., Nth pixel of the second rask are stored in order,
In this way, finally, the 341st pixel of the Mth raster, the second pixel,
. . , the Nth pixel is stored in order. In this case, the frame memory 7 continuously stores image data GD having a number of pixels corresponding to a power of 2, for example, for each rask. The size of one image stored in this way is, for example, 640 (pixels/raster) x 4.80 (raster/image), and the memory space for this may be 1024 x 512 = 512 bytes.

第1図において、10は画像プリンタであり、プリント
開始の際にはページの先頭を示すプリントページ同期信
号PPDSを送出し、プリントの際には一連のプリント
走査線同期信号PSDS(副走査同期信号)及び各プリ
ント走査線内のプリント画素同期信号PGDS (主走
査同期信号)を送出する。これらの同期信号はプリンタ
I/F回路9を介して後述する補間処理回路8に入力す
る。8は補間処理回路であり、画像プリンタ10からの
各種同期信号をカウントすることにより補間位置(実数
座標)を設定し、かつフレームメモリ7の整数読出アド
レスを更新するための同期信号(各種キャリー信号CA
R)を発生し、これらと供に補間係数Iと原画像データ
の積の総和(補間画像データHGD)を生成していく。
In FIG. 1, reference numeral 10 denotes an image printer, which sends out a print page synchronization signal PPDS indicating the top of the page when printing starts, and sends out a print page synchronization signal PPDS (sub-scanning synchronization signal ) and a print pixel synchronization signal PGDS (main scan synchronization signal) in each print scan line. These synchronization signals are input to an interpolation processing circuit 8, which will be described later, via a printer I/F circuit 9. 8 is an interpolation processing circuit which sets an interpolation position (real number coordinates) by counting various synchronization signals from the image printer 10 and also outputs synchronization signals (various carry signals) for updating the integer read address of the frame memory 7. CA
R), and together with these, the sum of the products of the interpolation coefficient I and the original image data (interpolated image data HGD) is generated.

12は読出アドレス制御回路であり、補間処理回路8か
らの各種キャリー信号CARに同期してフレームメモリ
7の整数読出アドレスRADを更新して行く。以上の構
成によりフレームメモリ7上の画像データGDは補間画
像データHGDにより補間されて画像プリンタ10に出
力される。13はシーケンス制御部であり、この装置全
体の動作手順を制御する。
A read address control circuit 12 updates the integer read address RAD of the frame memory 7 in synchronization with various carry signals CAR from the interpolation processing circuit 8. With the above configuration, the image data GD on the frame memory 7 is interpolated by the interpolated image data HGD and output to the image printer 10. Reference numeral 13 denotes a sequence control section, which controls the operating procedure of the entire apparatus.

第3図は第1実施例のシーケンス制御回路13による画
像データ処理手順のフローチャートである。図において
、ステップS1では不図示の操作部からのプリント指示
が有るか否かを判別する。
FIG. 3 is a flowchart of the image data processing procedure by the sequence control circuit 13 of the first embodiment. In the figure, in step S1, it is determined whether or not there is a print instruction from an operation unit (not shown).

プリント指示が無ければステップS2に進み、その他の
処理を行う。その他の処理とは、例えば画像プリンタ1
0の状態(電源断等)チエツク、あるいはビデオ信号源
1の状態(信号送出中か否か等)チエツク等をいう。こ
のチエツクで異常が無ければ速やかにステップS1に戻
る。またステップS1の判別でプリント指示が有ればス
テップS3に進み、ます書込アドレス制御回路11を初
期化し、次に濃度データNDの書込機能を付勢して一連
の濃度データNDのフレームメモリ7への書き込みを開
始する。ステップS4ではフレームメモリ7への書込終
了か否かを判別する。書込終了でなければステップS5
に進み、前記同様にしてその他の処理を行う。やがて全
濃度データNDの書き込みを完了するとステップS6に
進み、書込アドレス制御回路11のデータ書込機能をデ
ィセーブルする。ステップS7では画像プリンタ10が
プリント開始可能状態にあるか否かを判別する。プリン
ト開始可能状態でなければステップS8に進み、前記同
様にしてその他の処理を行う。またプリント開始可能状
態であればステップS9に進み、補間処理回路8を初期
化する。
If there is no print instruction, the process advances to step S2 and other processing is performed. Other processing includes, for example, the image printer 1
This refers to checking the status of the video signal source 1 (such as power off) or checking the status of the video signal source 1 (whether the signal is being transmitted or not). If there is no abnormality in this check, the process immediately returns to step S1. Further, if there is a print instruction in step S1, the process advances to step S3, where the write address control circuit 11 is initialized, and then the density data ND write function is activated to store a series of density data ND in the frame memory. Start writing to 7. In step S4, it is determined whether writing to the frame memory 7 is complete. If writing is not completed, step S5
, and perform other processing in the same manner as described above. When the writing of all density data ND is completed, the process advances to step S6, and the data writing function of the write address control circuit 11 is disabled. In step S7, it is determined whether the image printer 10 is ready to start printing. If it is not ready to start printing, the process advances to step S8, and other processing is performed in the same manner as described above. Further, if the printing can be started, the process advances to step S9, and the interpolation processing circuit 8 is initialized.

具体的には、後述する微分解析回路(DDA)14及び
DDA15内の各定数値(初期値、増分値)の設定、各
種バッファ群(F I FO,ラッチ等)のクリア、不
図示のデータ流れ制御用カウンタの初期化及び各種ゲー
ト等のクリアを行う。
Specifically, setting of each constant value (initial value, increment value) in the differential analysis circuit (DDA) 14 and DDA 15, which will be described later, clearing various buffer groups (F I FO, latch, etc.), and data flow (not shown) Initializes control counters and clears various gates, etc.

ステップS10では読出アドレス制御回路12を初期化
し、次にデータ読出動作可能状態にする。
In step S10, the read address control circuit 12 is initialized and then placed in a data read operation enabled state.

具体的には、フレームメモリ7の画像データ読出アドレ
スRADを保持するカウンタ等の初期化を行い、最初の
画像データGDを読出可能状態にする。ステップStt
ではプリンタI/F回路9を初期化する。具体的には、
画像プリンタ10との間の制御命令及び状態信号の受は
渡し等に必要な制御情報用のI10回路の初期化、及び
該情報等の授受を行ない、その他画像補間処理及び転送
に係る各種同期信号の初期化、及びこれらの信号に係る
ゲート回路等の初期化が行なわれる。こうして、以後は
画像プリンタ10からの動作クロック信号(各種同期信
号)に同期して読出アドレス制御回路12及び補間処理
回路8が動作し、フレームメモリ7より画像データGD
を順次読み出し、補間処理を施し、生成した補間画像デ
ータHGDをプリンタI/F回路9を介して画像プリン
タ10に送出する。一方、シーケンス制御回路13はス
テップS12においてプリント完了になるのを待つ。即
ち、ステップS12の判別でプリント完了か否かを判別
し、プリント完了でなければステップS13に進み、前
記同様にしてその他の処理を行う。やがてプリント完了
になるとステップ314に進み、読出アドレス制御回路
12の画像データ読出機能をディセーブルする。
Specifically, the counter and the like that hold the image data read address RAD of the frame memory 7 are initialized, and the first image data GD is made readable. Step Stt
Now, the printer I/F circuit 9 is initialized. in particular,
Reception of control commands and status signals with the image printer 10 initializes the I10 circuit for control information necessary for transfer, etc., and sends and receives the information, etc., as well as various synchronization signals related to image interpolation processing and transfer. initialization, and initialization of gate circuits and the like related to these signals are performed. In this way, from now on, the read address control circuit 12 and the interpolation processing circuit 8 operate in synchronization with the operation clock signal (various synchronization signals) from the image printer 10, and the image data GD is transferred from the frame memory 7.
are sequentially read out, subjected to interpolation processing, and the generated interpolated image data HGD is sent to the image printer 10 via the printer I/F circuit 9. On the other hand, the sequence control circuit 13 waits for printing completion in step S12. That is, it is determined in step S12 whether or not printing has been completed, and if printing has not been completed, the process advances to step S13 and other processing is performed in the same manner as described above. When printing is eventually completed, the process proceeds to step 314, where the image data read function of the read address control circuit 12 is disabled.

第2図は第1実施例の補間処理回路8の詳細を示すブロ
ック構成図である。図において、14はD D A (
Digital Differential Anal
yzer)であり、プリンタ副走査方向アドレス(Y座
標)のデジタル微分解析を行う。具体的には、フレーム
メモリ7の整数読出アドレス(Y座標)を更新するため
の副走査キャリー信号VCARを発生すると供に、前記
整数読出アドレス間にある実数アドレス(補間位置のY
座標)を発生する。15はDDAであり、プリンタ主走
査方向アドレス(X座標)のデジタル微分解析を行う。
FIG. 2 is a block diagram showing details of the interpolation processing circuit 8 of the first embodiment. In the figure, 14 is D D A (
Digital Differential Anal
yzer) and performs digital differential analysis of the printer sub-scanning direction address (Y coordinate). Specifically, it generates a sub-scan carry signal VCAR for updating the integer read address (Y coordinate) of the frame memory 7, and also generates a sub-scan carry signal VCAR for updating the integer read address (Y coordinate) of the frame memory 7, and also
coordinates). 15 is a DDA, which performs digital differential analysis of the printer main scanning direction address (X coordinate).

具体的には、フレームメモリ7の整数読出アドレス(X
座標)を更新するための主走査キャリー信号HCARを
発生すると供に、前記整数読出アドレス間にある実数ア
ドレス(補間位置のX座標)を発生する。16は生デー
タ走査線バッファ群であり、フレームメモリ7から順次
読み出した画像データGDをパラレルに7走査線分蓄え
ることができる。17は副走査方向補間テーブル群であ
り、副走査方向に1列に並ぶ8画像データGDについて
の一時的な副走査方向成分補間係数■7と入力画像デー
タとの積を得るために、設定された補間位置と各画像デ
ータ間の距!Iyに基づき夫々が所定の係数■7の値を
発生し、該係数■7の値と当該画像データとの積をとる
。18は副走査方向補間加算器群であり、補間テーブル
群17による多積の総和を求めて副走査方向の一時的な
補間結果としてI7と人力画像データとの積の総和を求
める。
Specifically, the integer read address (X
It generates a main scanning carry signal HCAR for updating the coordinates), and also generates a real address (X coordinate of the interpolated position) located between the integer read addresses. Reference numeral 16 denotes a group of raw data scanning line buffers, which can store seven scanning lines of image data GD sequentially read out from the frame memory 7 in parallel. Reference numeral 17 denotes a sub-scanning direction interpolation table group, which is set to obtain the product of the temporary sub-scanning direction component interpolation coefficient 7 and the input image data for the eight image data GD arranged in one row in the sub-scanning direction. Interpolated position and distance between each image data! Each generates a value of a predetermined coefficient 7 based on Iy, and the product of the value of the coefficient 7 and the image data is calculated. Reference numeral 18 denotes a sub-scanning direction interpolation adder group, which calculates the sum of the multiproducts by the interpolation table group 17 and obtains the sum of the products of I7 and human image data as a temporary interpolation result in the sub-scanning direction.

19は主走査方向補間データバッファ群であり、前記副
走査方向補間加算器群18出力の一時的な補間結果■、
と入力画像データとの積の総和を順次主走査方向に7個
分蓄えることができる。
19 is a main scanning direction interpolation data buffer group, which stores temporary interpolation results of the output of the sub scanning direction interpolation adder group 18;
Seven total products of the input image data and the input image data can be sequentially stored in the main scanning direction.

20は主走査方向補間テーブル群であり、主走査方向に
1列に並ぶ8補間係数■7についての最終的な補間結果
■と入力画像データとの積の総和を得るために、設定さ
れた補間位置と各補間画像データ間の距1[txに基づ
き夫々が所定の係数IXの値を発生し、該係数■8の値
と当該前述した一時的な補間結果との積をとる。21は
主走査方向補間加算器群であり、補間テーブル群20に
よる多積の総和を求めて最終的な補間画像データV o
utを求める。
20 is a main scanning direction interpolation table group, in which 8 interpolation coefficients arranged in a line in the main scanning direction ■ The final interpolation result for 7 ■ To obtain the sum of the products of the input image data, set interpolation Each generates a predetermined value of coefficient IX based on the distance 1[tx between the position and each interpolated image data, and calculates the product of the value of coefficient 8 and the above-mentioned temporary interpolation result. 21 is a group of interpolation adders in the main scanning direction, which calculates the sum of multiproducts by the interpolation table group 20 and calculates the final interpolated image data V o
Find ut.

第13図は実施例のテーブル17及び20を示す図であ
る。これらはROMで実現され、そのアドレス入力の上
位側が補間位置の情報(ΔX又はΔy)に対応し、アド
レス入力の下位側は人力画素の持つ値に対応する。テー
ブルの内容は夫々のアドレスに対応する補間位置の補間
係数と対応する画素値の積が予めセットされている。
FIG. 13 is a diagram showing tables 17 and 20 of the embodiment. These are realized by a ROM, and the upper side of the address input corresponds to interpolation position information (ΔX or Δy), and the lower side of the address input corresponds to the value of the human pixel. The contents of the table are preset as the product of the interpolation coefficient at the interpolation position corresponding to each address and the corresponding pixel value.

次に補間処理回路8の動作の詳細を説明する。Next, details of the operation of the interpolation processing circuit 8 will be explained.

DDA14にページ同期信号PPDSが入力するとセレ
クタ14−4は初期値レジスタ14−2の内容を選択出
力するモードに変化する。これにより加算器14−5は
初期値レジスタ14−2の初期値と増分値レジスタ14
−1の増分値を加算してその加算結果を出力する0次に
最初の走査線同期信号PSDSが入力すると加算器14
−5の加算出力は現在値レジスタ14−3に取り込まれ
、同時にセレクタ14−4は現在値レジスタ14−3の
内容を選択出力するモードに変化する。
When the page synchronization signal PPDS is input to the DDA 14, the selector 14-4 changes to a mode in which the contents of the initial value register 14-2 are selectively output. As a result, the adder 14-5 outputs the initial value of the initial value register 14-2 and the increment value register 14.
-1 increment value is added and the addition result is output. When the first scanning line synchronization signal PSDS is input to the 0th order, the adder 14
The addition output of -5 is taken into the current value register 14-3, and at the same time the selector 14-4 changes to a mode for selectively outputting the contents of the current value register 14-3.

従って、以降は走査線同期信号PSDSが入力する毎に
現在値レジスタ14−3の内容は直前の値に増分値を加
えた値によって更新される。またこの更新サイクル中に
加算器14−5で加算キャリーが発生するとその都度キ
ャリー信号VCARを発生し、これを読出アドレス制御
回路12に出力する。以上からして、加算器14−5の
出力は、キャリー信号VCARを除けば、桁上げを1に
正規化した場合の残りの小数部分と考えられる。従って
、ビデオ信号vSの副走査方向サンプリング間隔の距離
を単位距miと考えた場合には加算器14−5の出力は
各サンプリング位置から副走査方向に計った実数距lI
yを表わしている。
Therefore, from now on, each time the scanning line synchronization signal PSDS is input, the contents of the current value register 14-3 are updated by the value obtained by adding the increment value to the previous value. Also, each time an addition carry occurs in the adder 14-5 during this update cycle, a carry signal VCAR is generated and outputted to the read address control circuit 12. From the above, the output of the adder 14-5 can be considered to be the remaining fractional part when the carry is normalized to 1, excluding the carry signal VCAR. Therefore, when the distance of the sampling interval in the sub-scanning direction of the video signal vS is considered to be a unit distance mi, the output of the adder 14-5 is the real distance lI measured from each sampling position in the sub-scanning direction.
It represents y.

同様にして、DDA15に走査線同期信号psDSが人
力するとセレクタ15−4は初期値レジスタ15−2の
内容を選択出力するモードに変化する。これにより加算
器14−5は初期値レジスタ15−2の初期値と増分値
レジスタ15−1の増分値を加算してその加算結果を出
力する。次に最初の画素同期信号PGDSが人力すると
加算器15−5の加算出力は現在値レジスタ15−3に
取り込まれ、同時にセレクタ15−4は現在値レジスタ
15−3の内容を選択出力するモードに変化する。従っ
て、以降は画素同期信号PGDSが人力する毎に現在値
レジスタ15−3の内容は直前の値に増分値を加えた値
によって更新される。またこの更新サイクル中に加算器
15−5で加算キャリーが発生するとその都度キャリー
信号HCARを発生し、これを読出アドレス制御回路1
2に出力する。以上からして、加算器15−5の出力は
、キャリー信号HCARを除けば、桁上げを1に正規化
した場合の残りの小数部分と考えられる。従ってビデオ
信号vSの主査方向サンプリング間隔の距離を単位距離
11と考えた場合には加算器15−5の出力は各サンプ
リング位置から主走査方向に計った実数距wixを表わ
している。
Similarly, when the scanning line synchronization signal psDS is input to the DDA 15, the selector 15-4 changes to a mode in which the contents of the initial value register 15-2 are selectively output. As a result, the adder 14-5 adds the initial value of the initial value register 15-2 and the increment value of the increment value register 15-1, and outputs the addition result. Next, when the first pixel synchronization signal PGDS is input manually, the addition output of the adder 15-5 is taken into the current value register 15-3, and at the same time, the selector 15-4 enters a mode for selectively outputting the contents of the current value register 15-3. Change. Therefore, from now on, each time the pixel synchronization signal PGDS is input manually, the contents of the current value register 15-3 are updated by the value obtained by adding the increment value to the previous value. Also, when an addition carry occurs in the adder 15-5 during this update cycle, a carry signal HCAR is generated each time, and this is sent to the read address control circuit 1.
Output to 2. From the above, the output of the adder 15-5 can be considered to be the remaining fractional part when the carry is normalized to 1, excluding the carry signal HCAR. Therefore, when the distance of the sampling interval in the main scanning direction of the video signal vS is considered as a unit distance 11, the output of the adder 15-5 represents the real distance wix measured from each sampling position in the main scanning direction.

第5図は第1実施例のDDAの動作態様を説明する模式
図である。第5図は一例として原画像を130%拡大し
て補間処理する場合のDDAの動作を表現している。1
30%の拡大時には、増分値としては1/1.3の値を
2進表示してその小数点以下15ビツトを用いる。小数
部分をヘキサ表示すると“313B”である。一方、初
期値は増分値“313B”を加えていくと8番目のキャ
リー信号CARが発生する時に現在値の値(少数部分)
が“O”となるような値を設定する。この場合の初期値
は“13B2”である。これにより第5図ではプリンタ
10側から最初の10クロック信号を入力した時に最初
のキャリー信号CARが発生する関係が示されている。
FIG. 5 is a schematic diagram illustrating the operation mode of the DDA of the first embodiment. FIG. 5 shows, as an example, the operation of the DDA when an original image is enlarged by 130% and subjected to interpolation processing. 1
When enlarging by 30%, a value of 1/1.3 is expressed in binary and 15 bits below the decimal point are used as the increment value. When the decimal part is expressed in hex, it is "313B". On the other hand, the initial value becomes the current value (decimal part) when the 8th carry signal CAR is generated by adding the increment value "313B".
Set a value such that the value is "O". The initial value in this case is "13B2". As a result, FIG. 5 shows a relationship in which the first carry signal CAR is generated when the first 10 clock signals are input from the printer 10 side.

ここで画像プリンタ10側のクロック信号を画素同期信
号PGDSとすれば第5図は主走査方向DDA15の動
作例を示すことになり、これは画像プリンタ10に対し
て10個の補間画像データHGDを出力する間に入力の
画像データGDは8個読み出されるという関係を示して
いる。またクロック信号を走査線同期信号PSDSとす
れば第5図は副走査方向DDA14の動作例を示すこと
になり、これは画像プリンタ10に対して10ライン分
の補間画像データHGDを出力する間に入力の画像デー
タGDは8ライン分読み出されるという関係を示してい
る。尚、FULL15ビットで加算する必要はなく、上
位数ビットで行なっても良い。
Here, if the clock signal on the image printer 10 side is the pixel synchronization signal PGDS, then FIG. 5 shows an example of the operation of the main scanning direction DDA 15. This shows a relationship in which eight pieces of input image data GD are read out during output. Furthermore, if the clock signal is the scanning line synchronization signal PSDS, then FIG. 5 shows an example of the operation of the sub-scanning direction DDA14. The relationship is shown in which eight lines of input image data GD are read out. Note that it is not necessary to perform the addition using the FULL 15 bits, and the addition may be performed using the upper several bits.

第2図において、読出アドレス制御回路12はページ同
期信号PPDSにによりリセットされ、その後はDDA
15からのキャリー信号HCARをカウントしてフレー
ムメモリ7の下位読出アドレス(主走査方向アドレス)
を生成し、かつDDA14からのキャリー信号VCAR
をカウントしてフレームメモリ7の上位読出アドレス(
副走査方向アドレス)を生成する。フレームメモリ7に
送る読出アドレス信号R,ADは前記上位、下位の読出
アドレスを合成したものである。
In FIG. 2, the read address control circuit 12 is reset by the page synchronization signal PPDS, and thereafter the DDA
The lower read address (main scanning direction address) of the frame memory 7 is obtained by counting the carry signal HCAR from 15.
and carry signal VCAR from DDA14.
is counted and the upper read address of the frame memory 7 (
(sub-scanning direction address). The read address signals R and AD sent to the frame memory 7 are a combination of the upper and lower read addresses.

生データ走査線バッファ群16は7つのシフトレジスタ
(PIFo、16−1〜16−7)を含んでおり、フレ
ームメモリ7から読み出しな7走査線分の画像データG
Dを蓄える。即ち、フレームメモリ7から読み出した画
像データGDはFIFO16−1に入力して1024画
素分シフトされる。次にPIFO16−1の出力はFI
FO16−2の入力になり、以下同様にしてFIFO1
6−6の出力はPIF016−7の入力になる。そして
更にPIF016−7に入力した画像データGDが10
24画素分シフトされると、これに同期してフレームメ
モリ7からは第8走査線目の画像データGDが読み出さ
れる。この第8走査線目読出ラスタを現時点の読出ラス
タとすると、任意のPIFO16−i (i−1,2,
・・・。
The raw data scanning line buffer group 16 includes seven shift registers (PIFo, 16-1 to 16-7), and contains seven scanning lines of image data G that cannot be read from the frame memory 7.
Save D. That is, the image data GD read from the frame memory 7 is input to the FIFO 16-1 and shifted by 1024 pixels. Next, the output of PIFO16-1 is FI
It becomes the input of FO16-2, and in the same way, FIFO1
The output of 6-6 becomes the input of PIF016-7. Furthermore, the image data GD input to PIF016-7 is 10
When shifted by 24 pixels, the image data GD of the eighth scanning line is read out from the frame memory 7 in synchronization with this. If this 8th scanning line read raster is the current read raster, then any PIFO 16-i (i-1, 2,
....

7)が記憶している内容はiライン前の読出ラスタであ
る。
The content stored in 7) is the read raster i lines before.

副走査方向補間テーブル群17は8つのルックアップテ
ーブル(LUT)1フー1〜17−8を含んでいる。各
LOTは対応する読出ラスタの画像データGD及び現時
点のサンプリング位置から副走査方向に計った実数路1
1ty (加算器14−5の出力)を入力として当該画
像データGDの濃度が補間位置に生成すべき補間画像デ
ータHGDの濃度に対して副走査方向からどの程度寄与
すべきかという寄与率(副走査方向の部分補間係数Iy
)と対応する入力画素値との積を出力する。
The sub-scanning direction interpolation table group 17 includes eight look-up tables (LUTs) 1 to 17-8. Each LOT is the image data GD of the corresponding readout raster and the real number path 1 measured in the sub-scanning direction from the current sampling position.
1ty (output of adder 14-5) as input, the contribution rate (sub-scanning Directional partial interpolation coefficient Iy
) and the corresponding input pixel value.

例えばLUT17−1は現時点の読出ラスタの画像デー
タGDO及び加算器14−5出力の現時点の補間位置y
をアドレス入力としており、これにより該LUT17−
1は現時点の補間位置yに対応する所定の補間係数Iy
o(部分補間係数)の値と当該画像データCD、の値(
濃度)との積の値I ’J o G D oを内部的に
発生して出力する。
For example, the LUT 17-1 is the image data GDO of the current read raster and the current interpolated position y of the output of the adder 14-5.
is used as the address input, and this causes the LUT17-
1 is a predetermined interpolation coefficient Iy corresponding to the current interpolation position y
o (partial interpolation coefficient) and the value of the image data CD (
The product value I'J o G Do is internally generated and output.

同様にしてLUT17−8はPIF016−7出力の7
ライン前の画像データGD7及び加算器14−5の補間
位置yをアドレス入力としており、これにより該LUT
17−8は現時点の補間位置yに7走査線間隔を加えた
補間位置y7に対応する所定係数I3’?の値(部分補
間係数)と当該画像データGD7の値との積の値Iyy
GDyを内部的に発生して出力する。こうして画像デー
タGDの内容はキャリー信号)ICARの発生に同期し
て順次更新されると供に前述の部分補間係数Iynと人
力画像データGDとの積の計算が順次行なわれる。一方
、読出ラスタの内容はキャリー信号VCARの発生に同
期して順次1ライン分づつ更新される。そしてこの間に
、通常は1つ以上の割合(1,2,1,3等)で走査同
期信号PSDSが発生し、これに同期して副走査方向の
補間位置yが更新される。そしてこれにより画像データ
GDの副走査方向への拡大補間が行なわれる。
Similarly, LUT17-8 is set to 7 of PIF016-7 output.
The image data GD7 before the line and the interpolation position y of the adder 14-5 are used as address inputs, so that the LUT
17-8 is a predetermined coefficient I3'? corresponding to the interpolation position y7, which is the current interpolation position y plus 7 scanning line intervals. The value Iyy of the product of the value (partial interpolation coefficient) and the value of the image data GD7
Generate and output GDy internally. In this way, the contents of the image data GD are sequentially updated in synchronization with the generation of the carry signal (ICAR), and the product of the aforementioned partial interpolation coefficient Iyn and the human image data GD is sequentially calculated. On the other hand, the contents of the read raster are sequentially updated one line at a time in synchronization with the generation of the carry signal VCAR. During this period, scan synchronization signals PSDS are normally generated at a rate of one or more (1, 2, 1, 3, etc.), and the interpolation position y in the sub-scanning direction is updated in synchronization with this. As a result, image data GD is enlarged and interpolated in the sub-scanning direction.

尚、上述実施例では部分補間係数ry、の計算は現時点
の読出ラスタ及び先行する7ラインの読出ラスタにより
同時に行われるが、実際上は現時点の補間位置を略中心
とする上下4ライン上の画像データによって補間処理を
したい場合もある。
In the above embodiment, the calculation of the partial interpolation coefficient ry is performed simultaneously using the current readout raster and the preceding 7 lines of readout rasters, but in reality, the calculation of the partial interpolation coefficient ry is performed using the current readout raster and the preceding 7 lines of readout raster, but in reality, the image is calculated on four lines above and below approximately centered on the current interpolation position. You may want to perform interpolation processing depending on the data.

この場合は、例えば加算器14−5出力と各LUTl 
7−1〜17−8の間に4段のシフトレジスタを挿入す
ることにより現時点の補間位置の位相を遅らせれば良い
In this case, for example, the adder 14-5 output and each LUTl
The phase of the current interpolation position may be delayed by inserting a four-stage shift register between 7-1 and 17-8.

副走査方向補間加算器群18はLUT17−1〜LUT
I 7−8の全出力を加算してその総和を出力する。か
くして加算器18−7の出力は現時点の補間位置におけ
る副走査方向画像データGDによる一時的な部分補間値
G D vである。
The sub-scanning direction interpolation adder group 18 includes LUT17-1 to LUT
Add all outputs of I 7-8 and output the sum. Thus, the output of the adder 18-7 is a temporary partial interpolation value GDv based on the sub-scanning direction image data GD at the current interpolation position.

次に主走査方向の補間処理を説明する。主走査方向補間
処理用データバッファ群19はキャリー信号HCARに
同期して副走査方向の部分補間値を順次記憶(ラッチ)
する。この記憶はラッチ19−1からラッチ19−2、
ラッチ19−2からラッチ19−3の如くキャリー信号
HCAHに同期してシフトレジスタ形式でラッチする。
Next, interpolation processing in the main scanning direction will be explained. The main scanning direction interpolation processing data buffer group 19 sequentially stores (latches) partial interpolation values in the sub scanning direction in synchronization with the carry signal HCAR.
do. This memory is stored from latch 19-1 to latch 19-2,
The latch 19-2 to latch 19-3 are latched in a shift register format in synchronization with the carry signal HCAH.

従って加算器18−7の出力が有効になる時点を現時点
とすると、ラッチ19−7は7列前の部分補間値GDY
7を保持しており、ラッチ19−6は6列前、・・・、
同様にしてラッチ19−1は1列前の部分補間値GDY
、を保持している。
Therefore, if the current point is when the output of the adder 18-7 becomes valid, the latch 19-7 will hold the partial interpolation value GDY of seven columns before.
7, and latch 19-6 is 6 rows in front...
Similarly, latch 19-1 is the partial interpolation value GDY of the previous column.
, holds.

主走査方向補間テーブル群20は8つのルックアップテ
ーブル(LUT)20−1〜20−8を含んでいる。各
LUTは対応する部分補間値G D Y及び現時点のサ
ンプリング位置から主走査方向に計った実数距1!Ix
(加算器15−5出力)を入力として当該部分補間値G
DYの濃度が補間位置に生成すべき補間画像データHG
I)の濃度に対して主走査方向からどの程度寄与すべき
かという寄与率(主走査方向の部分補間係数Ix)と当
該部分補間値GDYとの積を出力する。例えばLUTZ
O−1は現時点の部分補間値GDY0及び加算器15−
5出力の現時点の補間位置Xをアドレス入力としており
、これにより該LUT 20−1は現時点の補間位置X
に対応する所定係数1x(部分補間係数)の値と当該部
分補間値GDyoの値(濃度)との積の値を内部的に発
生して出力する。同様にしてLUTZO−8はFIFO
19−7出力の7列前の部分補間値GDY7及び加算器
15−5の補間位置Xをアドレス入力としており、これ
により該LUT20−8は現時点の補間位置Xにフ画素
間隔を加えた補間位置x7に対応する所定係数Ix、(
部分補間係数)の値と当該部分補間値GDY7の値との
積の値を内部的に発生して出力する。こうして部分補間
値GDYはキャリー信号HCAFtの発生に同期して順
次更新されると供に前述の部分補間係数Ixnとの積の
計算が順次行なわれる。そしてこの間に、通常は1つ以
上の割合(1,2,1,3等)で画素同期信号PGDS
が発生し、これに同期して主走査方向の補間位置Xが更
新される。そしてこれにより画像データGDの主走査方
向への拡大補間が行なわれる。
The main scanning direction interpolation table group 20 includes eight look-up tables (LUTs) 20-1 to 20-8. Each LUT has a corresponding partial interpolation value GDY and a real number distance 1! measured in the main scanning direction from the current sampling position! Ix
(adder 15-5 output) as input and the corresponding partial interpolated value G
Interpolated image data HG with the density of DY to be generated at the interpolated position
The product of the contribution rate (partial interpolation coefficient Ix in the main scanning direction) indicating how much contribution should be made from the main scanning direction to the density of I) and the corresponding partial interpolation value GDY is output. For example, LUTZ
O-1 is the current partial interpolation value GDY0 and adder 15-
The current interpolated position
The value of the product of the value of a predetermined coefficient 1x (partial interpolation coefficient) corresponding to 1x and the value (density) of the partial interpolation value GDyo is internally generated and output. Similarly, LUTZO-8 is FIFO
The partial interpolated value GDY7 of the 7th column before the output of 19-7 and the interpolated position The predetermined coefficient Ix, (
A value of the product of the value of the partial interpolation coefficient) and the value of the partial interpolation value GDY7 is internally generated and output. In this way, the partial interpolation value GDY is sequentially updated in synchronization with the generation of the carry signal HCAFt, and the product with the aforementioned partial interpolation coefficient Ixn is sequentially calculated. During this period, the pixel synchronization signal PGDS is normally used at one or more ratios (1, 2, 1, 3, etc.)
occurs, and in synchronization with this, the interpolated position X in the main scanning direction is updated. As a result, image data GD is enlarged and interpolated in the main scanning direction.

尚、上述実施例では部分補間係数lx、の計算は現時点
の部分補間値GDY及び先行する7部分補間値GDYの
8画素を用いることにより同時に行われるが、実際上は
現時点の補間位置を略中心とする前後4画素分の部分補
間値1.tによって補間をしたい場合もある。この場合
は、例えば加算器15−5出力と各LUT20−1〜2
0−8の間に4段のシフトレジスタを挿入することによ
り現時点の補間位置の位相を遅らせれば良い。
In the above embodiment, the calculation of the partial interpolation coefficient lx is performed simultaneously by using 8 pixels of the current partial interpolation value GDY and the preceding 7 partial interpolation values GDY, but in reality, the calculation of the partial interpolation coefficient lx is performed approximately at the current interpolation position. Partial interpolation value of 4 pixels before and after 1. There are cases where it is desired to perform interpolation by t. In this case, for example, the adder 15-5 output and each LUT 20-1 to 2
By inserting a four-stage shift register between 0 and 8, the phase of the current interpolation position may be delayed.

主走査方向補間加算器群21はLUT 20−1〜LU
T 20−8の全出力を加算してその総和を出力する。
The main scanning direction interpolation adder group 21 includes LUTs 20-1 to LU
Add all outputs of T 20-8 and output the sum.

かくして加算器21−7の出力は現時点の補間位置にお
ける最終の補間値V。ut  (補間画像データI(G
D)である。
Thus, the output of adder 21-7 is the final interpolated value V at the current interpolated position. ut (interpolated image data I(G
D).

第4図(A)、(B)は補間処理回路8と画像プリンタ
10間の同期の態様を説明する動作タイミングチャート
である。第4図(A)において、画像プリンタ10がレ
ディ状態になると、シーケンス制御回路13からは読出
アドレスイネーブル信号が出され、実質プリント中にな
る。引き続き画像プリンタ10からはページ同期信号P
PDS及び走査線同期信号PSDSが出力され、これに
同期して補間処理が行われる。
FIGS. 4(A) and 4(B) are operation timing charts illustrating the manner of synchronization between the interpolation processing circuit 8 and the image printer 10. In FIG. 4(A), when the image printer 10 becomes ready, the sequence control circuit 13 outputs a read address enable signal and the image printer 10 is actually printing. Subsequently, the page synchronization signal P is sent from the image printer 10.
PDS and scanning line synchronization signal PSDS are output, and interpolation processing is performed in synchronization with these.

第4図(B)は第4図(A)の1走査線期間を拡大表示
した図である。第4図(B)において、1走査線期間内
では所定間隔で画素同期信号PGDSが発生し、通常は
これより小さい一定の比率でキャリー信号HCARが出
る。一方、補間画像データHGDは画素同期信号PGD
Sに同期して出力される。
FIG. 4(B) is an enlarged view of one scanning line period in FIG. 4(A). In FIG. 4(B), a pixel synchronization signal PGDS is generated at predetermined intervals within one scanning line period, and a carry signal HCAR is normally generated at a constant rate smaller than this. On the other hand, the interpolated image data HGD is the pixel synchronization signal PGD.
It is output in synchronization with S.

次に原画像の拡大補間処理を詳細に説明する。Next, the enlarging interpolation process for the original image will be explained in detail.

第7図(A)は人物の原画像を示す図であり、第7図(
B)は第7図(A)の原画像を拡大補間処理した画像を
示す図である。図の画像の拡大率は例えば主走査方向に
5.75倍であり、副走査方向に4.25倍としている
。かかる画像の拡大は本発明による補間法を用いて原画
像の画素数を増やすことにより実現できる。
FIG. 7(A) is a diagram showing the original image of a person, and FIG.
B) is a diagram showing an image obtained by enlarging and interpolating the original image of FIG. 7(A). The enlargement ratio of the image in the figure is, for example, 5.75 times in the main scanning direction and 4.25 times in the sub-scanning direction. Such image enlargement can be realized by increasing the number of pixels of the original image using the interpolation method according to the present invention.

第8図(A)は原画像の部分領域を示す図であり、第8
図(B)は第8図(A)の部分領域を主走査方向に5.
75倍、副走査方向に4.25倍したものである。第8
図(A)の画素ピッチはビデオ画像信号vSをサンプリ
ング入力した時のデータサンプリングピッチに対応して
おり、第8図(B)はこのサンプリングピッチを最小単
位として相対的に拡大された部分領域が示されている。
FIG. 8(A) is a diagram showing a partial area of the original image.
Figure (B) shows the partial area of Figure 8 (A) in the main scanning direction.
75 times, and 4.25 times in the sub-scanning direction. 8th
The pixel pitch in Figure (A) corresponds to the data sampling pitch when the video image signal vS is sampled, and Figure 8 (B) shows the partial area that has been relatively enlarged using this sampling pitch as the minimum unit. It is shown.

従って原画像の部分領域aは拡大画像の部分領域a′に
対応し、原画像中に想定した補間位置すは拡大部分領域
a′中の出力画素位置b′に対応している。そこで出力
画素位置b′には補間画像データHGDが形成されるわ
けであるが、その補間画像データHGDの値(濃度)の
決定は当該出力画素位置b′を取り囲むような所定の複
数の画像データGDの値を用い、かつ画素位置b′から
各画像データGDまでの距離により定まる寄与率(補間
係数)の重み付けを行ない、それらの総和を取ることに
より行われる。
Therefore, the partial area a of the original image corresponds to the partial area a' of the enlarged image, and the assumed interpolation position in the original image corresponds to the output pixel position b' in the enlarged partial area a'. Therefore, interpolated image data HGD is formed at the output pixel position b', and the value (density) of the interpolated image data HGD is determined by selecting a plurality of predetermined image data surrounding the output pixel position b'. This is performed by using the value of GD, weighting the contribution rate (interpolation coefficient) determined by the distance from the pixel position b' to each image data GD, and calculating the sum of the weights.

次に第8図(B)の出力画素位置b′の値を求める場合
を説明する。これは第8図(A)の補間位置すに対応す
る実数値を求めることと等価である。そこで第8図(A
)を第9図のように書き直す。第9図においてx印の位
置はb点である。
Next, the case of determining the value of the output pixel position b' in FIG. 8(B) will be explained. This is equivalent to finding the real value corresponding to the interpolated position in FIG. 8(A). Therefore, Figure 8 (A
) is rewritten as shown in Figure 9. In FIG. 9, the position of the x mark is point b.

ここでは原画像の画素位置をO印で示してあり、画像デ
ータGDのサンプリングピッチは主走査、副走査方向共
に等間隔である。また第9図では原画像の画素間隔を単
位距離(例えば距離1)と考えており、主走査方向の座
標はX印の補間位置を原点にして右方向を正、左方向を
負とし、かつ副走査方向の座標は同じくX印の補間位置
を原点にして下方向に正、上方向に負とするような別の
座標系を導入して考える。従って新たな座標系では原画
像の位置は夫々±ΔX及び±Δyを施すことで表わされ
る。5ΔX及びΔyは夫々主走査方向及び副走査方向に
補間位置すを越えない座標値を持つ原画像の画素位置C
との距離である。
Here, the pixel positions of the original image are indicated by O marks, and the sampling pitch of the image data GD is equal in both the main scanning and sub-scanning directions. In addition, in Fig. 9, the pixel interval of the original image is considered to be a unit distance (for example, distance 1), and the coordinates in the main scanning direction are set with the interpolation position of the X mark as the origin, the right direction is positive, the left direction is negative, and For the coordinates in the sub-scanning direction, another coordinate system is introduced in which the origin is the interpolated position of the X mark, and the downward direction is positive and the upward direction is negative. Therefore, in the new coordinate system, the position of the original image can be expressed by applying ±ΔX and ±Δy, respectively. 5ΔX and Δy are the pixel positions C of the original image whose coordinate values do not exceed the interpolated position in the main scanning direction and the sub-scanning direction, respectively.
is the distance from

今、ある原画像の画素位置と補間位置間の主走査方向の
距離をXとし、同様に副走査方向の距離をyとする時に
主走査方向の寄与率(補間係数)I (x)及び副走査
方向の寄与率(補間係数)I(y)を夫々下式によって
表わすとする。
Now, let the distance in the main scanning direction between the pixel position and the interpolation position of a certain original image be X, and similarly let the distance in the sub-scanning direction be y, and then It is assumed that the contribution rate (interpolation coefficient) I(y) in the scanning direction is expressed by the following formulas.

πx   2       4 πy     2            4ここでは
m=4.n=4の如く2の倍数を選んだ。次にこのI 
(x)、  I (y)を当該入力画像データGDのも
つ値に乗じ、この操作を補間に用いる範囲内の全ての入
力画像データGDについて求め、それらの総和をもって
補間値Iとする。
πx 2 4 πy 2 4Here m=4. A multiple of 2 was chosen, such as n=4. Next this I
(x) and I (y) are multiplied by the value of the input image data GD, this operation is obtained for all input image data GD within the range used for interpolation, and the sum of these is taken as the interpolated value I.

即ち、補間値I(補間画像データHGD)の値をV 0
LITとすると、第9図の如く補間点すを周囲の8画素
×8ラスタの合計64画素データで補間することを考え
ると、v ouTは次式、xI(i−Δx) x I 
(j−Δy))によって求められる。これは64画素に
ついて夫々補間係数を乗じた値を全て求めた後に、64
個の値の総和をとることを意味する。しかしこれをその
まま実現しようとするとハードウェアが膨大になり実用
的でない。またソフトウェアで行うと充分な処理速度が
得られない。そこで上記V OUTの式を次のように変
形する。
That is, the value of interpolated value I (interpolated image data HGD) is set to V 0
When LIT is assumed, and considering that the interpolation point is interpolated using surrounding 8 pixels x 8 rasters, totaling 64 pixel data, as shown in Fig. 9, v outT is expressed as follows, xI (i - Δx) x I
(j-Δy)). This is done after calculating all the values multiplied by the interpolation coefficients for each of the 64 pixels.
means to calculate the sum of the values. However, attempting to realize this as is would require enormous amounts of hardware and would be impractical. Also, if it is performed using software, sufficient processing speed cannot be obtained. Therefore, the above formula for V OUT is modified as follows.

 out xl(i−ΔX) かくして、まず副走査方向の補間を行ない、次にその結
果を用いて主走査方向の補間を行なうことが上記と同値
になる。上述第1実施例はこの方式に従って実現されて
いる。
out xl(i-ΔX) Thus, first performing interpolation in the sub-scanning direction and then using the result to perform interpolation in the main scanning direction is equivalent to the above. The first embodiment described above is realized according to this method.

第10図は主走査方向の補間原理の詳細を示す図である
。図において、記号(V+−ΔX)は座標(i−ΔX)
の点の画像データGDの値である。
FIG. 10 is a diagram showing details of the interpolation principle in the main scanning direction. In the figure, the symbol (V+-ΔX) is the coordinate (i-ΔX)
This is the value of the image data GD at the point.

これらにより補間画像データHGDの値v0は以下によ
って求められる。
Based on these, the value v0 of the interpolated image data HGD is obtained as follows.

また、 ω5inc (i 、ΔX) ==ω(i、Δx )  ・5inc (i 、ΔX)
π(i−ΔX) = 172[1+cos(27E/N (L−ΔX))
]π(i−ΔX) である。この計算と等価のことをLUTが瞬時に行う。
Also, ω5inc (i, ΔX) ==ω(i, Δx) ・5inc (i, ΔX)
π(i-ΔX) = 172[1+cos(27E/N (L-ΔX))
]π(i−ΔX). The LUT instantly performs the equivalent of this calculation.

第11図(A)〜(C)は原画像データを用いて副走査
方向に補間した後に主走査方向に補間した際の画像デー
タの増え方(画素数の増え方)を表わした図である。第
11図(A)において、人力画像中の連続した8走査線
を用いて、即ち各走査線上で同じ副走査方向の位置にあ
る画素を用いて副走査方向にのみ補間された走査線を作
成する。第11図(B)において、この副走査方向にの
み補間された走査線上の画素を用いて主走査方向に補間
を行なう。これにより第11図(C)の如く一走査線中
の画素数が増加した態様で、及び−画像中の走査線数が
増加した態様で出力走査線が生ずる。
Figures 11 (A) to (C) are diagrams showing how image data increases (how the number of pixels increases) when the original image data is interpolated in the sub-scanning direction and then interpolated in the main scanning direction. . In FIG. 11(A), a scanning line interpolated only in the sub-scanning direction is created using 8 consecutive scanning lines in the human image, that is, using pixels at the same position in the sub-scanning direction on each scanning line. do. In FIG. 11(B), interpolation is performed in the main scanning direction using pixels on the scanning line interpolated only in the sub-scanning direction. This results in an output scan line with an increased number of pixels in one scan line and an increased number of scan lines in the image as shown in FIG. 11(C).

[第2実施例] 第2実施例は補間値を算出するために要する人力画素領
域の選定の一般化に関する。即ち、第2実施例において
は、例えば整数m、nについての各補正係数式I(x)
 、  I (y)を、の如く採り、入力画素領域は第
1実施例の8×8で説明したものを2mX2nに拡張し
たものである。
[Second Embodiment] The second embodiment relates to generalization of manual selection of pixel regions required for calculating interpolated values. That is, in the second embodiment, for example, each correction coefficient formula I(x) for integers m and n
, I (y) are taken as follows, and the input pixel area is expanded from the 8×8 described in the first embodiment to 2m×2n.

[第3実施例] 第3実施例は第2図の構成の変形に関する。[Third example] The third embodiment relates to a modification of the configuration shown in FIG.

即ち、補間テーブル群17及び20のLUT群は、所定
係数ω(X)又はω(y)のみを出力するLUTとその
LUT出力と当該画素値の積を演算する乗算器として構
成しても良い。
That is, the LUT groups of the interpolation table groups 17 and 20 may be configured as an LUT that outputs only a predetermined coefficient ω(X) or ω(y) and a multiplier that calculates the product of the LUT output and the pixel value. .

こうするとLUTの容量を大幅に削減することが可能で
ある。ちなみに第3実施例は画質と回路規模のトレード
オフによりサイズを決定でき、本発明自体はサイズに依
存しないことを示すものでもある。
In this way, it is possible to significantly reduce the capacity of the LUT. Incidentally, in the third embodiment, the size can be determined by a trade-off between image quality and circuit scale, and this also shows that the present invention itself does not depend on size.

[第4実施例] 第4実施例は第2図の構成の変形に関する。[Fourth example] The fourth embodiment relates to a modification of the configuration shown in FIG.

即ち、第1実施例においてはDDA14.15は小数部
のみを加算及び保持してキャリー信号CARを出力する
ように構成したが、更にDDAのビット長を拡張して、
整数部をも保持できるようにしてこの整数値部分をもっ
て入力画素位置を指定するように構成してもよい。
That is, in the first embodiment, the DDA 14.15 was configured to add and hold only the decimal part and output the carry signal CAR, but by further expanding the bit length of the DDA,
It may also be configured such that an integer part can also be held and the input pixel position can be specified using this integer part.

[第5実施例] 第5実施例は第2図の構成の変形に関する。[Fifth example] The fifth embodiment relates to a modification of the configuration shown in FIG.

即ち、第1実施例においてはDDA14.15の増分値
、初期値の初期化は画像プリンタ10の制御部によって
行なわれるとしたが、それ以外にも、デイツブスイッチ
や短絡信号ピンをショートさせる方法4等で行なっても
よい。この−態様を第12図に示す。
That is, in the first embodiment, the increment value and initial value of DDA14.15 are initialized by the control unit of the image printer 10, but there are other methods as well. You can also do it in 4th grade. This embodiment is shown in FIG.

[第6実施例] 第6実施例は第2図の構成の変形に関する。[Sixth Example] The sixth embodiment relates to a modification of the configuration shown in FIG.

即ち、第1実施例においてはDDA14.15は初期値
及び現在値をそれぞれ別々に保持し、セレクタにて加算
器に選択人力するように構成したが、それ以外にも現在
値を保持するレジスタを、例えば主走査方向DDAであ
れば査線同期信号PSDSに同期して、また副走査方向
ODAであればページ同期信号PPDSに同期して再初
期化するように構成しても良い。この場合、初期値の保
持回路及びセレクタは不要となるが、同期信号人力によ
りシーケンス制御回路に割込み信号を返したり、もしく
は同期信号で保持回路をリセットしたり等の走査が必要
となる。
That is, in the first embodiment, the DDA 14.15 was configured to hold the initial value and the current value separately, and input the selector to the adder using the selector, but it also has a register that holds the current value. For example, in the case of DDA in the main scanning direction, reinitialization may be performed in synchronization with the scan line synchronization signal PSDS, and in the case of ODA in the sub-scanning direction, reinitialization may be performed in synchronization with the page synchronization signal PPDS. In this case, an initial value holding circuit and a selector are not required, but scanning such as returning an interrupt signal to the sequence control circuit using a synchronization signal or resetting the holding circuit with a synchronization signal is required.

[第7実施例] 第7実施例は補間係数式の別の態様に関する。[Seventh Example] The seventh embodiment relates to another aspect of the interpolation coefficient formula.

即ち、好ましくは補間位置を囲む2mXZn点で補間す
るものとして、補間係数式1 (X) 、  I (y
)は以下の如くであっても良い。
That is, assuming that interpolation is preferably performed at 2mXZn points surrounding the interpolation position, the interpolation coefficient equation 1 (X), I (y
) may be as follows.

第7実施例は第2実施例よりも容易に値を定めることが
できるが、画素間隔で発生する濃淡の縞は強い。
Although values can be determined more easily in the seventh embodiment than in the second embodiment, the density stripes occurring at pixel intervals are strong.

[第8実施例] 第8実施例は補間係数式の別の態様に関する。[Eighth Example] The eighth embodiment relates to another aspect of the interpolation coefficient formula.

即ち、好ましくは補間位置を囲む2mxZn点で補間す
るものとして、補間係数式r (x) 、  I (y
)は以下の如くであっても良い。
That is, assuming that interpolation is preferably performed at 2mxZn points surrounding the interpolation position, the interpolation coefficient formulas r (x), I (y
) may be as follows.

π x                      
    mπy                  
       nこうしてω(X)、ω(y)を多様化
できる。
π x
mπy
In this way, ω(X) and ω(y) can be diversified.

これによれば第1実施例よりも濃淡の縞の発生は弱い。According to this, the occurrence of dark and light stripes is weaker than in the first embodiment.

また若干ではあるが、同じ数の補間点を求めた補間では
処理後の画像のシャープさが落ちる。このため、用途に
より使い分けの余地がある。
Furthermore, if the same number of interpolation points is obtained, the sharpness of the image after processing is reduced, albeit slightly. Therefore, there is room for different uses depending on the purpose.

[第9実施例] 第9実施例は補間係数式の別の態様に関する。[Ninth Example] The ninth embodiment relates to another aspect of the interpolation coefficient formula.

即ち、好ましくは補間位置を囲む2mXZn点で補間す
るものとして、補間係数式r (x) 、  I(y)
は以下の如くであっても良い。
That is, assuming that interpolation is preferably performed at 2mXZn points surrounding the interpolation position, the interpolation coefficient formula r(x), I(y)
may be as follows.

π x                     m
             mπy         
           n           nこ
うしてω(X)、ω(y)を多様化できる。
π x m
mπy
n n In this way, ω(X) and ω(y) can be diversified.

これによれば第1実施例よりも濃淡の縞の発生は弱い。According to this, the occurrence of dark and light stripes is weaker than in the first embodiment.

また若干ではあるが同じ数の補間点を求めた補間では処
理後の画像のシャープさが落ちる。
In addition, the sharpness of the processed image deteriorates, albeit slightly, when performing interpolation in which the same number of interpolation points is obtained.

このため、用途により使い分けの余地がある。Therefore, there is room for different uses depending on the purpose.

[第10実施例] 第10実施例は補間係数式の別の態様に関する。即ち、
好ましくは補間位置を囲む2mXZn点で補間するもの
として、補間係数式1 (x) 。
[Tenth Example] The tenth example relates to another aspect of the interpolation coefficient formula. That is,
Preferably, interpolation is performed at 2mXZn points surrounding the interpolation position, and the interpolation coefficient is expressed as 1 (x).

I (y)は以下の如くであっても良い。I(y) may be as follows.

πx          1.[ωa  m]πy  
        Io[ωb  nlここで、Io[]
は第1種修正0次のベッセル関数、またω1.ωbは設
定パラメータであり、 m              m − くω、<− n              n の範囲の値を選んで用いる。 ■。[X]は例えば、等
で近似的に求めることができる。
πx 1. [ωa m]πy
Io[ωb nl where Io[]
is a modified zero-order Bessel function of the first kind, and ω1. ωb is a setting parameter, and a value in the range of m m − ω, <− nn is selected and used. ■. [X] can be approximately determined by, for example, etc.

こうしてω(X)、ω(y)を多様化できる。In this way, ω(X) and ω(y) can be diversified.

第1実施例よりも濃淡の縞の発生は弱い。また若干では
あるが、同じ数の補間点を求めた補間では処理後の画像
のシャープさが落ちる。このため、用途により使い分け
の余地がある。
The occurrence of dark and light stripes is weaker than in the first embodiment. Furthermore, if the same number of interpolation points is obtained, the sharpness of the image after processing is reduced, albeit slightly. Therefore, there is room for different uses depending on the purpose.

[第11実施例] 第11実施例は補間係数式の別の態様に関する。即ち、
補間位置を囲む4x4点で補間するものとして、補間係
数式I (X) 、  I (y)は以下の如くであっ
ても良い。
[Eleventh Example] The eleventh example relates to another aspect of the interpolation coefficient formula. That is,
Assuming that interpolation is performed using 4x4 points surrounding the interpolation position, the interpolation coefficient formulas I (X) and I (y) may be as follows.

1(x)−(a+2)x’−(a+3)x2+1   
(0≦IX+<1)1(x)−ax’−5ax2+8a
x−4a     (1≦IXI(2)1 (x) −
0(2≦1×1) ここでaは実数定数である。
1(x)-(a+2)x'-(a+3)x2+1
(0≦IX+<1) 1(x)-ax'-5ax2+8a
x-4a (1≦IXI(2)1 (x) −
0 (2≦1×1) where a is a real constant.

またI(y)に関しても同様である。The same applies to I(y).

[発明の効果] 以上述べた如く本発明によれば、デジタル画像の補間・
拡大処理を主走査方向及び副走査方向にそれぞれ独立に
行ない、一方の処理結果を他方の処理の人力となるよう
に構成することにより、比較的簡素な回路で良好な画質
の得られる補間処理を施した拡大処理が実現できる。
[Effects of the Invention] As described above, according to the present invention, interpolation and
By performing enlargement processing independently in the main scanning direction and the sub-scanning direction, and configuring the processing results of one to be used as the human power for processing the other, interpolation processing that provides good image quality can be achieved with a relatively simple circuit. It is possible to achieve the enlargement processing that has been applied.

またLBPプリンタ等への出力スピードにも十分対応で
きる処理が実現でき、プリンタバッファ等の出力画像デ
ータを一担保持しておくメモリも不要とできる。
Furthermore, processing that can sufficiently cope with the output speed to an LBP printer or the like can be realized, and a memory such as a printer buffer for holding output image data can be eliminated.

好ましくはプリンタ副走査方向の補間拡大処理を主走査
方向のそれに先立って行なうように構成すれば、処理途
中に要するラインバッファメモリの容量を少なくして実
現することが可能となり、本発明の回路は超LSIC等
で構成する際には、その要するゲート数が減り、実現が
きわめて容易になる。
Preferably, by configuring the printer to perform interpolation enlargement processing in the sub-scanning direction prior to that in the main scanning direction, it is possible to reduce the capacity of the line buffer memory required during processing, and the circuit of the present invention can be realized. When constructed using a super LSIC or the like, the number of required gates is reduced, making implementation extremely easy.

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

第1図は本発明による第1実施例のデジタル画像補間装
置のブロック構成図、 第2図は第1実施例の補間処理回路8の詳細を示すブロ
ック構成図、 第3図は第1実施例のシーケンス制御回路13による画
像データ処理手順のフローチャート、第4図(A)、(
B)は補間処理回路8と画像プリンタ10間の同期の態
様を説明する動作タイミングチャート、 第5図は第1実施例のDDAの動作態様を説明する模式
図、 第6図はフレームメモリ7における画像データの一記憶
態様を示す図、 第7図(A)は人物の原画像を示す図、第7図(B)は
第7図(A)の原画像を拡大補間処理した画像を示す図
、 第8図(A)は原画像の部分領域を示す図、第8図(B
)は第8図(A)の部分領域を主走査方向に5.75倍
、副走査方向に4.25倍した場合の図、 第9図は第8図(A)の詳細を示す図、第10図は主走
査方向の補間原理の詳細を示す図、 第11図(A)〜(C)は原画像データを用いて副走査
方向に補間した後に主走査方向に補間した際の画像デー
タの増え方(画素数の増え方)を表わした図、 第12図は第5実施例のODAの一部の構成を示すブロ
ック図、 第13図は実施例のテーブル17及び20を示す図であ
る。 図中、1・・・ビデオ信号源、2・・・輝度信号抽出回
路、3・・・同期信号抽出回路、4・・・サンプリング
周期発生回路、5・・・A/D変換回路、6・・・γ変
換回路、7・・・フレームメモリ7.8・・・補間処理
回路、9・・・プリンタI/F回路、10・・・画像プ
リンタ、11・・・書込アドレス制御回路、12・・・
読出アドレス制御回路、13・・・シーケンス制御回路
である。
FIG. 1 is a block configuration diagram of a digital image interpolation device according to a first embodiment of the present invention. FIG. 2 is a block diagram showing details of an interpolation processing circuit 8 of the first embodiment. FIG. 3 is a block diagram of a digital image interpolation device according to a first embodiment. A flowchart of the image data processing procedure by the sequence control circuit 13 of FIG.
B) is an operation timing chart explaining the synchronization mode between the interpolation processing circuit 8 and the image printer 10, FIG. 5 is a schematic diagram explaining the operation mode of the DDA of the first embodiment, and FIG. A diagram showing a storage mode of image data; FIG. 7(A) is a diagram showing an original image of a person; FIG. 7(B) is a diagram showing an image obtained by enlarging and interpolating the original image of FIG. 7(A). , Fig. 8(A) is a diagram showing a partial area of the original image, Fig. 8(B) is a diagram showing a partial area of the original image.
) is a diagram showing the partial area of Figure 8(A) multiplied by 5.75 times in the main scanning direction and 4.25 times in the sub-scanning direction, Figure 9 is a diagram showing details of Figure 8(A), Figure 10 is a diagram showing details of the principle of interpolation in the main scanning direction, and Figures 11 (A) to (C) are image data obtained when interpolation is performed in the main scanning direction after interpolation in the sub-scanning direction using original image data. 12 is a block diagram showing a part of the configuration of the ODA of the fifth embodiment. FIG. 13 is a diagram showing tables 17 and 20 of the embodiment. be. In the figure, 1... Video signal source, 2... Luminance signal extraction circuit, 3... Synchronization signal extraction circuit, 4... Sampling cycle generation circuit, 5... A/D conversion circuit, 6... ... γ conversion circuit, 7... Frame memory 7.8... Interpolation processing circuit, 9... Printer I/F circuit, 10... Image printer, 11... Write address control circuit, 12 ...
Read address control circuit, 13... Sequence control circuit.

Claims (4)

【特許請求の範囲】[Claims] (1)画像出力装置に補間画像データを提供するための
デジタル画像の補間装置において、 直交アドレスX、Yの整数アドレスに複数の画像データ
を記憶する画像メモリと、 前記直交アドレスX、Yの実数アドレスに任意の補間位
置を設定する補間位置設定手段と、前記設定した補間位
置を略中心として該補間位置を囲むように2m×2n個
の画像データを選択する画像データ選択手段と、 前記設定した補間位置から前記選択した画像データまで
の距離x、yを求める距離算出手段前記距離yと、該距
離yに基づき一意に定まる係数ω(y)と、Y方向2n
個の画像データとにより中間の補間画像データI(Y)
を形成する第1の補間画像データ形成手段と、 前記距離xと、該距離xに基づき一意に定まる係数ω(
x)と、前記形成したX方向2m個の第1の補間画像デ
ータI(Y)とにより最終の補間画像データIを形成す
る第2の補間画像データ形成手段を備えることを特徴と
するデジタル画像の補間装置。
(1) A digital image interpolation device for providing interpolated image data to an image output device, comprising: an image memory that stores a plurality of image data at integer addresses of orthogonal addresses X and Y; and real numbers of the orthogonal addresses X and Y. interpolation position setting means for setting an arbitrary interpolation position in the address; image data selection means for selecting 2m×2n pieces of image data so as to surround the interpolation position with the set interpolation position as the approximate center; Distance calculation means for calculating the distance x, y from the interpolation position to the selected image data; the distance y; a coefficient ω(y) uniquely determined based on the distance y; and a Y direction 2n.
intermediate interpolated image data I(Y)
a first interpolated image data forming means that forms a first interpolated image data forming means, the distance x, and a coefficient ω( uniquely determined based on the distance x);
x) and a second interpolated image data forming means for forming final interpolated image data I from the formed 2m pieces of first interpolated image data I(Y) in the X direction. interpolator.
(2)第1の補間画像データ形成手段は、距離yと該距
離yで定まる係数ω(y)とから補間係数I(y)を次
式、 I(y)=ω(y)・(sinπy/πy)に従つて求
め、前記求めた補間係数I(y)と該補間係数I(y)
に対応する画像データとの各積をとり、得られた2n個
の積の総和によつて中間の補間画像データI(Y)を形
成し、 第2の補間画像データ形成手段は、距離xと該距離xで
定まる係数ω(x)とから補間係数I(x)を次式、 I(x)=ω(x)・(sinπx/πx)に従つて求
め、前記求めた補間係数I(x)と該補間係数I(x)
に対応する前記形成した中間の補間画像データI(Y)
との各積をとり、得られた2m個の積の総和によつて最
終の補間画像データIを形成することを特徴とする特許
請求の範囲第1項記載のデジタル画像の補間装置。
(2) The first interpolation image data forming means calculates the interpolation coefficient I(y) from the distance y and the coefficient ω(y) determined by the distance y using the following formula: I(y)=ω(y)・(sinπy /πy), and the interpolation coefficient I(y) obtained above and the interpolation coefficient I(y)
The second interpolated image data forming means calculates each product with the image data corresponding to the distance x, and forms intermediate interpolated image data I(Y) by the sum of the obtained 2n products. From the coefficient ω(x) determined by the distance ) and the interpolation coefficient I(x)
The intermediate interpolated image data I(Y) formed above corresponding to
2. The digital image interpolation device according to claim 1, wherein the final interpolated image data I is formed by the sum of the 2m products obtained.
(3)係数ω(x)、ω(y)は夫々次式、ω(x)=
1/2(1+cos[πx/m])ω(y)=1/2(
1+cos[πy/n])の関係で定まることを特徴と
する特許請求の範囲第1項又は第2項記載のデジタル画
像の補間装置。
(3) The coefficients ω(x) and ω(y) are each expressed as follows, ω(x)=
1/2(1+cos[πx/m])ω(y)=1/2(
3. The digital image interpolation device according to claim 1 or 2, wherein the interpolation method is determined by the relationship: 1+cos[πy/n]).
(4)座標Yが画像出力装置の副走査方向に対応し、座
標Xが画像出力装置の主走査方向に対応することを特徴
とする特許請求の範囲第1項記載のデジタル画像の補間
装置。
(4) The digital image interpolation device according to claim 1, wherein the coordinate Y corresponds to the sub-scanning direction of the image output device, and the coordinate X corresponds to the main scanning direction of the image output device.
JP62299803A 1987-11-30 1987-11-30 Digital image interpolator Expired - Fee Related JP2685460B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62299803A JP2685460B2 (en) 1987-11-30 1987-11-30 Digital image interpolator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62299803A JP2685460B2 (en) 1987-11-30 1987-11-30 Digital image interpolator

Publications (2)

Publication Number Publication Date
JPH01142879A true JPH01142879A (en) 1989-06-05
JP2685460B2 JP2685460B2 (en) 1997-12-03

Family

ID=17877120

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62299803A Expired - Fee Related JP2685460B2 (en) 1987-11-30 1987-11-30 Digital image interpolator

Country Status (1)

Country Link
JP (1) JP2685460B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62257277A (en) * 1986-05-01 1987-11-09 Ricoh Co Ltd Variable power processor for image data

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62257277A (en) * 1986-05-01 1987-11-09 Ricoh Co Ltd Variable power processor for image data

Also Published As

Publication number Publication date
JP2685460B2 (en) 1997-12-03

Similar Documents

Publication Publication Date Title
JP3484298B2 (en) Video magnifier
US5553165A (en) Parallel error diffusion method and apparatus
WO1998010377A1 (en) Video signal processor
JP2009157127A (en) Color signal generating device
US6552750B1 (en) Apparatus for improving the presentation of graphics data on a television display
US5196934A (en) Image scaling apparatus for a multimedia system
JPH10171440A (en) Image reducing device and control method therefor
JP2005011314A (en) Image filter and image conversion method
KR20010032043A (en) System and methods for 2-tap/3-tap flicker filtering
JPH01142879A (en) Interpolating device for digital image
JP5199535B2 (en) Flat panel display
JPH0258635B2 (en)
JPH03204283A (en) Slave pattern information storage circuit
JPH01142878A (en) Method and device for interpolating digital image
JPH01142877A (en) Interpolating device for digital image
US20030128223A1 (en) Method and apparatus for remapping subpixels for a color display
JP2007147727A (en) Image display apparatus, image display method, program for image display method, and recording medium with program for image display method recorded thereon
JP3453413B2 (en) Method and apparatus for displaying a character symbol having a border
WO2000057631A1 (en) Image processing device and processing method
JP3642580B2 (en) Dot matrix display system and display data conversion method in this system
US6556213B1 (en) Image display having function of performing interpolation process by which outline is not blurred even when original image is enlarged
JP2008020574A (en) Liquid crystal dual screen display device
JPH0772824A (en) Image display device
JPS6058479B2 (en) How to display characters, etc.
JP3580229B2 (en) Display control device

Legal Events

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