JPH01142878A - Method and device for interpolating digital image - Google Patents

Method and device for interpolating digital image

Info

Publication number
JPH01142878A
JPH01142878A JP62299802A JP29980287A JPH01142878A JP H01142878 A JPH01142878 A JP H01142878A JP 62299802 A JP62299802 A JP 62299802A JP 29980287 A JP29980287 A JP 29980287A JP H01142878 A JPH01142878 A JP H01142878A
Authority
JP
Japan
Prior art keywords
interpolation
image data
image
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.)
Pending
Application number
JP62299802A
Other languages
Japanese (ja)
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 JP62299802A priority Critical patent/JPH01142878A/en
Publication of JPH01142878A publication Critical patent/JPH01142878A/en
Pending 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)
  • Image Processing (AREA)

Abstract

PURPOSE:To obtain picture quality more excellent than an ordinary example by using an interpolation factor obtained by supplementing a 2nd factor determined by an interpolating position to a sinc function. CONSTITUTION:The interpolating position is set up as an approximate center, 2mX2n image data are selected so as to surround the interpolating position and distances (x), (y) up to the image data selected from the interpolating position are found out. Then, the values of prescribed factors omega(x), omega(y) uniquely determined from the found distances (x), (y) are found out. Preferably, the values of the prescribed factors omega(x), omega(y) are found out in accordance with the shown equations I. Then, interpolation factors I are found out in accordance with the equation II. Respective products of the interpolating factors I and image data corresponding to the interpolating factors are found out and the final interpolation image data are formed by the sum of obtained products 2mX2n.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はデジタル画像の補間方法及びその装置に関し、
特に画像出力装置に提供するための補間画像データを形
成するデジタル画像の補間方法及びその装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a digital image interpolation method and apparatus,
In particular, the present invention relates to a digital image interpolation method and apparatus for forming interpolated image data to be provided to an image output device.

[従来の技術] 従来、この種の補間方法としては最近隣画素近似 (n
earst neighbor法)、2次元線形近似(
bilinear法) 、 cubic B−spli
ne近似、5inc補間法等がある。詳細は、例えば“
Digital ImageProcessing″ 
Willia m  K、 Pratt著(1978年
John Wiley & 5ons、 Inc、刊行
)等に説明されている。しかし上記の従来例では画像を
4〜5倍程度以上に拡大していくと画像のシャープ感が
極端に落ちた。また倍率に応じて原画像の画素間隔に濃
淡縞が現われたりタイル状画像になる等の画質劣化を生
じた。この点、5ine補間法は理論上最適のものとさ
れている。しかし5inc補間法では全ての入力画素を
用いて補間を行なう必要があるという点で実用性に問題
があった。
[Prior art] Conventionally, as this type of interpolation method, nearest neighbor pixel approximation (n
earth neighbor method), two-dimensional linear approximation (
bilinear method), cubic B-spli
There are ne approximation, 5 inc interpolation method, etc. For details, see “
Digital Image Processing''
William K. Pratt (published by John Wiley & Fiveons, Inc., 1978) and others. However, in the above-mentioned conventional example, when the image was enlarged more than 4 to 5 times, the sharpness of the image deteriorated extremely. Furthermore, depending on the magnification, image quality deteriorated, such as dark and light stripes appearing at pixel intervals in the original image or a tiled image. In this respect, the 5ine interpolation method is theoretically considered to be optimal. However, the 5-inc interpolation method has a problem in practicality in that it is necessary to perform interpolation using all input pixels.

[発明が解決、しようとする問題点] 本発明は上述した従来技術の欠点を除去するものであり
、その目的とする所は、5inc補間法を実用化できる
デジタル画像の補間方法及びその装置を提供することに
ある。
[Problems to be Solved and Attempted by the Invention] The present invention eliminates the above-mentioned drawbacks of the prior art, and its purpose is to provide a digital image interpolation method and apparatus that can put the 5-inch interpolation method into practical use. It is about providing.

[問題点を解決するための手段] 本発明のデジタル画像の補間方法は上記の目的を達成す
るために、直交座標X、Yの整数座標に複数の画像デー
タを記憶する工程と、前記直交座標X、Yの実数座標に
任意の補間位置を設定する工程と、前記設定した補間位
置を略中心として該補間位置を囲むように2mX2n個
の画像データを選択する工程と、前記補間位置から前記
選択した画像データまでの距離x、yを求める工程と、
前記求めた距1!Itx、yから所定の係数ω(x)、
ω(y)の値を求める工程と、前記求めた距1affx
、 y及び係数ω(x)、ω(y)の値から補間係数I
を次式、 πX             πy に従って求める工程と、前記求めた補間係数工と該補間
係数に対応する画像データとの各種をとり、得られた2
mX2n個の積の総和によって補間画像データを形成す
る工程を備えることをその概要とする。
[Means for Solving the Problems] In order to achieve the above object, the digital image interpolation method of the present invention includes the steps of storing a plurality of image data in integer coordinates of orthogonal coordinates X and Y; a step of setting an arbitrary interpolation position on the real number coordinates of X and Y, a step of selecting 2m×2n pieces of image data so as to surround the interpolation position with the set interpolation position as the approximate center, and the selection from the interpolation position. a step of calculating distances x and y to the image data,
The distance found above is 1! A predetermined coefficient ω(x) from Itx,y,
Step of calculating the value of ω(y) and the calculated distance 1affx
, y and the values of coefficients ω(x) and ω(y), the interpolation coefficient I
The process of obtaining πX πy according to the following formula, and the obtained 2
The outline thereof is to include a step of forming interpolated image data by the sum of m×2n products.

また好ましくは、係数ω(x)、ω(y)の値を次式、 に従って求めることをその一態様とする。Preferably, the values of coefficients ω(x) and ω(y) are expressed as follows: One aspect of this is to obtain the following.

また好ましくは、m=n=8とすることをその一態様と
する。
Preferably, one aspect thereof is that m=n=8.

また好ましくは、補間画像データの形成は距lax又は
yのみについて求めた仮の補間画像 ・データを入力と
して距!!Iy又はXについての計算を行うことをその
一態様とする。
Preferably, the interpolated image data is formed using a temporary interpolated image obtained only for the distance lax or y. ! One aspect of this is to perform calculations regarding Iy or X.

本発明のデジタル画像の補間装置は上記の目的を達成す
るために、直交アドレスX、Yの整数アドレスに複数の
画像データを記憶する画像メモリと、前記直交アドレス
X、Yの実数アドレスに任意の補間位置を設定する補間
位置設定手段と、前記設定した補間位置を略中心として
該補間位置を囲むように2mx2n個の画像データを選
択する画像データ選択手段と、前記設定した補間位置か
ら前記選択した画像データまでの距離x、yを求める距
離算出手段と、前記求めた距離x、yから所定の係数ω
(x)、ω(y)の値を求める係数演算手段と、前記求
めた距離x、y及び係数ω(x)、ω(y)の値から補
間係数■を次式、πX             πy に従って求める補間係数演算手段と、前記求めた補間係
数■と該補間係数に対応する画像データとの各種をとり
、得られた2mX2n個の積の総和によって補間画像デ
ータを形成する補間画像データ形成手段を備えることを
その概要とする。
In order to achieve the above object, the digital image interpolation device of the present invention includes an image memory that stores a plurality of image data at integer addresses of orthogonal addresses an interpolation position setting means for setting an interpolation position; an image data selection means for selecting 2m x 2n pieces of image data surrounding the interpolation position with the set interpolation position as the approximate center; A distance calculating means for calculating distances x and y to the image data, and a predetermined coefficient ω from the calculated distances x and y.
(x), ω(y), and an interpolation coefficient ■ from the determined distances x, y and the coefficients ω(x), ω(y) according to the following equation, πX πy. and an interpolated image data forming means for forming interpolated image data by taking various types of the obtained interpolation coefficient (1) and image data corresponding to the interpolation coefficient, and forming interpolated image data by the sum of the obtained 2m×2n products. The outline is as follows.

[作用] かかる構成において、例えばメモリ上に直交座標X、Y
を設定しその整数座標上に複数の入力画像データを記憶
する0次に前記直交座標X、Yの実数座標上に任意の補
間位置を設定し、この補間位置な略中心として該補間位
置を囲むように2mX2n個の画像データを選択する。
[Operation] In such a configuration, for example, orthogonal coordinates X, Y
Set an arbitrary interpolation position on the real number coordinates of the orthogonal coordinates X and Y, and surround the interpolation position as the approximate center of the interpolation position. 2m×2n pieces of image data are selected as follows.

好ましくはm=n==8とする。次に前記補間位置から
前記選択した画像データまでの距離 x + yを求め
る。
Preferably m=n==8. Next, the distance x+y from the interpolation position to the selected image data is determined.

次に前記求めた距離x、yから一意的に定まる所定の係
数ω(x)、ω(y)の値を求める。好ましくは所定の
係数ω(x)、ω(y)の値を次式、に従って求める。
Next, the values of predetermined coefficients ω(x) and ω(y) that are uniquely determined from the distances x and y determined above are determined. Preferably, the values of the predetermined coefficients ω(x) and ω(y) are determined according to the following equations.

次に前記求めた距1!lx、 y及び係数ω(x)、ω
(y)の値から補間係数■を次式、 πX              πyに従って求める
。かくして、5inc関数に対し補間位置により定まる
所定の係数ω(x)、ω(y)を付加する。そして前記
求めた補間係数■と該補間係数に対応する画像データと
の各棟をとり、得られた2mX2n個の積の総和によっ
て最終の補間画像データを形成する。好ましくは上記補
間画像データの形成は距離X又はyのみについて上記に
従い求めた仮の補間画像データを入力として距離!y又
はXについての上記の計算を行って求める。
Next, the distance found above is 1! lx, y and coefficients ω(x), ω
The interpolation coefficient ■ is calculated from the value of (y) according to the following equation, πX πy. In this way, predetermined coefficients ω(x) and ω(y) determined by the interpolation position are added to the 5inc function. Then, each block of the obtained interpolation coefficient (1) and the image data corresponding to the interpolation coefficient is taken, and the final interpolation image data is formed by the sum of the obtained 2m×2n products. Preferably, the interpolated image data is formed by inputting the temporary interpolated image data obtained in accordance with the above for only the distance X or y. It is determined by performing the above calculation for y or X.

[実施例の説明] 以下、添付図面に従って本発明による実施例を詳細に説
明する。
[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. A luminance signal extraction circuit 2 extracts a video 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).

以上の構成により、各濃度データND(画像データGD
)はデータサンプリング信号DSSに同期してフレーム
メモリ7の整数アドレス上に連続した態様で書き込まれ
る。
With the above configuration, each density data ND (image data GD
) 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ラスタの第1画素、第2画素、・・
・、第N画素が順に記憶される。この場合にフレームメ
モリ7はラスク毎に例えば2のベキ乗に相当する画素数
の画像データGDを連続して記憶する。こうして記憶さ
れる1画像の大きさは、例えば640(画素/ラスタ)
x480 (ラスタ/画像)であり、このためのメモリ
空間は1024x512=512にバイトを用意すれば
良い。
If necessary, a margin for the first rask is stored between the first rask and the second rask. This simplifies the hardware 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 first pixel, second pixel of the Mth raster, etc.
, and the Nth pixel are 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)
x480 (raster/image), and the memory space for this is 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. When starting printing, it sends out a print page synchronization signal PPDS indicating the top of the page, and when printing, it sends out a series of print scanning line synchronization signals PSDS (sub-scanning synchronization signals ) 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を読出可能状態にする。ステップSit
ではプリンタI/F回路9を初期化する。具体的には、
画像プリンタ10との間の制御命令及び状態信号の受は
渡し等に必要な制御情報用のI10回路の初期化、及び
該情報等の授受を行ない、その他画像補間処理及び転送
に係る各種同期信号の初期化、及びこれらの信号に係る
ゲート回路等の初期化が行なわれる。こうして、以後は
画像プリンタ10からの動作クロック信号(各種同期信
号)に同期して読出アドレス制御回路12及び補間処理
回路8が動作し、フレームメモリ7より画像データGD
を順次読み出し、補間処理を施し、生成した補間画像デ
ータHGDをプリンタI/F回路9を介して画像プリン
タ10に送出する。一方、シーケンス制御回路13はス
テップS12においてプリント完了になるのを待つ。即
ち、ステップS12の判別でプリント完了か否かを判別
し、プリント完了でなければステップS13に進み、前
記同様にしてその他の処理を行う。やがてプリント完了
になるとステップS14に進み、読出アドレス制御回路
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 sit
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 S14, 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-scanning carry signal VCAR for updating the integer successive address (Y coordinate) of the frame memory 7, and also generates a sub-scanning carry signal VCAR for updating the integer read address (Y coordinate of the interpolation position).
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と入力画像デー
タとの積を得るために、設定された補間位置と各画像デ
ータ間の距離yに基づき夫々が所定の係数IYの値を発
生し、該係数IYの値と当該画像データとの積をとる。
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. Each generates a predetermined value of a coefficient IY based on the distance y between the interpolated position and each image data, and calculates the product of the value of the coefficient IY and the image data.

18は副走査方向補間加算器群であり、補間テーブル群
17による多積の総和を求めて副走査方向の一時的な補
間結果としてIYと入力画像データとの積の総和を求め
る。
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 IY and input image data as a temporary interpolation result in the sub-scanning direction.

19は主走査方向補間データバッファ群であり、前記副
走査方向補間加算器群18出力の一時的な補間結果IY
と入力画像データとの積の総和を順次主走査方向に7個
分蓄えることができる。
19 is a main scanning direction interpolation data buffer group, which stores the temporary interpolation result IY 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補間係数Iyについての最終的な補間結果
Iと入力画像データとの積の総和を得るために、設定さ
れた補間位置と各補間画像データ間の距離×に基づき夫
々が所定の係数IXの値を発生し、該係数■8の値と当
該前述した一時的な補間結果との積をとる。21は主走
査方向補間加算器群であり、補間テーブル群20による
多積の総和を求めて最終的な補間画像データV。utを
求める。
20 is a group of interpolation tables in the main scanning direction, in which interpolation positions are set in order to obtain the sum of the products of the final interpolation result I and the input image data for the 8 interpolation coefficients Iy arranged in a row in the main scanning direction. A predetermined value of coefficient IX is generated based on the distance x between each interpolated image data, and the value of coefficient 8 is multiplied by the above-mentioned temporary interpolation result. Reference numeral 21 denotes a group of interpolation adders in the main scanning direction, which calculates the sum of the multiproducts of the interpolation table group 20 to obtain final interpolated image data V. 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 input 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の増分値を加算してその加算結果を出力する。次に
最初の走査線同期信号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. Next, when the first scanning line synchronization signal PSDS is input, 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の副走査方向サンプリング間隔の距離
を単位距@1と考えた場合には加算器14−5の出力は
各サンプリング位置から副走査方向に計った実数距離1
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 @1, the output of the adder 14-5 is the real number distance 1 measured in the sub-scanning direction from each sampling position.
It represents y.

同様にして、DDA15に走査線同期信号psDSが入
力するとセレクタ15−4は初期値レジスタ15−2の
内容を選択出力するモードに変化する。これにより加算
器14−5は初期値レジスタ15−2の初期値と増分値
レジスタ15−1の増分値を加算してその加算結果を出
力する6次に最初の画素同期信号PGDSが入力すると
加算器15−5の加算出力は現在値レジスタ15−3に
取り込まれ、同時にセレクタ15−4は現在値レジスタ
15−3の内容を選択出力するモードに変化する。従っ
て、以降は画素同期信号PGDSが入力する毎に現在値
レジスタ15−3の内容は直前の値に増分値を加えた値
によって更新される。またこの更新サイクル中に加算器
15−5で加算キャリーが発生するとその都度キャリー
信号HCARを発生し、これを読出アドレス制御回路1
2に出力する。以上からして、加算器15−5の出力は
、キャリー信号HCARを除けば、桁上げを1に正規化
した場合の残りの小数部分と考えられる。従ってビデオ
信号vSの主査方向サンプリング間隔の距離を単位距離
1と考えた場合には加算器15−5の出力は各サンプリ
ング位置から主走査方向に計った実数距離Xを表わして
いる。
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.6 Next, when the first pixel synchronization signal PGDS is input, the addition The addition output of the unit 15-5 is taken into the current value register 15-3, and at the same time, the selector 15-4 changes to a mode for selectively outputting the contents of the current value register 15-3. Therefore, from now on, each time the pixel synchronization signal PGDS is input, 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 1, the output of the adder 15-5 represents the real number distance X measured in the main scanning direction from each sampling position.

第5図は第1実施例のDDAの動作態様を説明する模式
図である。第5図は一例として原画像を130%拡大し
て補間処理する場合のDDAの動作を表現している。1
30%の拡大時には、増分値としては1/1.3の値を
2進表示してその小数点以下15ビツトを用いる。小数
部分をヘキサ表示すると“313B”である。一方、初
期値は増分値“313B”を加えていくと8番目のキャ
リー信号CARが発生する時に現在値の値(少数部分)
が“0”となるような値を設定する。この場合の初期値
は13B2”である。これにより第5図ではプリンタ1
0側から最初の10クロック信号を入力した時に最初の
キャリー信号CARが発生する関係が示されている。こ
こで画像プリンタ10側のクロック信号を画素同期信号
PGDSとすれば第5図は主走査方向DDA15の動作
例を示すことになり、これは画像プリンタ10に対して
10個の補間画像データHGDを出力する間に入力の画
像データGDは8個読み出されるという関係を示してい
る。またクロック信号を走査線同期信号PSDSとすれ
ば第5図は副走査方向DDA14の動作例を示すことに
なり、これは画像プリンタ10に対して10ライン分の
補間画像データHGDを出力する間に入力の画像データ
GDは8ライン分読み出されるという関係を示している
。尚、FULL15ビットで加算する必要はなく、上位
数ビットで行なっても良い。
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 "0". In this case, the initial value is 13B2". Therefore, in FIG.
A relationship is shown in which the first carry signal CAR is generated when the first 10 clock signals are input from the 0 side. 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に
送る読出アドレス信号RADは前記上位、下位の読出ア
ドレスを合成したものである。
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 signal RAD sent to the frame memory 7 is a combination of the upper and lower read addresses.

生データ走査線バッファ群16は7つのシフトレジスタ
(PIFO16−1〜16−7)を含んでおり、フレー
ムメモリ7から読み出しな7走査線分の画像データGD
を蓄える。即ち、フレームメモリ7から読み出した画像
データGDはFIFO16−1に入力して1024画素
分シフトされる。次にFIFO16−1の出力はFIF
O16−2の入力になり、以下同様にしてPIF016
−6の出力はPIFO16−7(7)入力になる。そし
て更にPIFO16−7に入力した画像データGDが1
024画素分シフトされると、これに同期してフレーム
メモリ7からは第8走査線目の画像データGDが読み出
される。この第8走査線目読出ラスタを現時点の読出ラ
スタとすると、任意のFIFO16−i (i=1.2
.=・。
The raw data scanning line buffer group 16 includes seven shift registers (PIFOs 16-1 to 16-7), and the image data GD for seven scanning lines is read out from the frame memory 7.
Save up. 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 FIFO16-1 is FIF
It becomes the input of O16-2, and in the same way, PIF016
The output of -6 becomes the PIFO16-7 (7) input. Furthermore, the image data GD input to PIFO16-7 is 1
When the image data is shifted by 024 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 FIFO 16-i (i=1.2
.. =・.

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

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

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

同様にしてLUT17−8はPIFO16−7出力の7
ライン前の画像データG D を及び加算器14−5の
補間位置yをアドレス入力としており、これにより該L
tlT17−8は現時点の補間位置yに7走査線間隔を
加えた補間位置y7に対応する所定係数13/7の値(
部分補間係数)と当該画像データGD7の値との積の値
iy、G[)、を内部的に発生して出力する。こうして
画像データGDの内容はキャリー信号HCARの発生に
同期して順次更新されると供に前述の部分補間係数Iy
nと入力画像データGDとの積の計算が順次行なわれる
。一方、読出ラスタの内容はキャリー信号VCARの発
生に同期して順次1ライン分づつ更新される。そしてこ
の間に、通常は1つ以上の割合(1,2,1,3等)で
走査同期信号PSDSが発生し、これに同期して副走査
方向の補間位置yが更新される。そしてこれにより画像
データGI)の副走査方向への拡大補間が行なわれる。
Similarly, LUT17-8 is set to 7 of PIFO16-7 output.
The image data G D before the line and the interpolation position y of the adder 14-5 are used as address inputs, and thereby the L
tlT17-8 is the value of the predetermined coefficient 13/7 (
A value iy, G[), which is the product of the partial interpolation coefficient) and the value of the image data GD7, is internally generated and output. In this way, the contents of the image data GD are sequentially updated in synchronization with the generation of the carry signal HCAR, and the above-mentioned partial interpolation coefficient Iy
The calculation of the product of n and input image data GD is performed sequentially. 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 GI) is enlarged and interpolated in the sub-scanning direction.

尚、上述実施例では部分補間係数13’r+の計算は現
時点の読出ラスタ及び先行する7ラインの読出ラスタに
より同時に行われるが、実際上は現時点の補間位置を略
中心とする上下4ライン上の画像データによって補間処
理をしたい場合もある。
In the above embodiment, the calculation of the partial interpolation coefficient 13'r+ is performed simultaneously using the current readout raster and the previous 7 lines of readout rasters, but in reality, the partial interpolation coefficient 13'r+ is calculated using the current readout raster and the preceding 7 lines of readout raster, but in reality, the partial interpolation coefficient is There are cases where it is desired to perform interpolation processing depending on image 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
17−8の全出力を加算してその総和を出力する。かく
して加算器18−7の出力は現時点の補間位置における
副走査方向画像データGDによる一時的な部分補間値G
D、である。
The sub-scanning direction interpolation adder group 18 includes LUT17-1 to LUT
17-8 and outputs the total sum. Thus, the output of the adder 18-7 is a temporary partial interpolation value G based on the sub-scanning direction image data GD at the current interpolation position.
D.

次に主走査方向の補間処理を説明する。主走査方向補間
処理用データバッファ群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列前の部分補間値GD、
、を保持している。
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, the latch 19-1 holds the partial interpolation value GD of the previous column,
, holds.

主走査方向補間テーブル群20は8つのルックアップテ
ーブル(LUT)20−1〜20−8を含んでいる。各
LUTは対応する部分補間値G D Y及び現時点のサ
ンプリング位置から主走査方向に計った実数圧111t
x(加算器15−5出力)を入力として当該部分補間値
GDYの濃度が補間位置に生成すべき補間画像データH
GDの濃度に対して主走査方向からどの程度寄与すべき
かという寄与率(主走査方向の部分補間係数Ix)と当
該部分補間値GDYとの積を出力する。例えばLUT2
0−1は現時点の部分補間値GDyo及び加算器15−
5出力の現時点の補間位置Xをアドレス入力としており
、これにより該LUT20−1は現時点の補間位置Xに
対応する所定係数Ix(部分補間係数)の値と当該部分
補間値GDYOの値(濃度)との積の値を内部的に発生
して出力する。同様にしてLUT20−8はFIFO1
9−7出力の7列前の部分補間値GDY7及び加算器1
5−5の補間位置Xをアドレス入力としており、これに
より該LUT20−8は現時点の補間位置Xに7画素間
隔を加えた補間位置x7に対応する所定係数Ix、(部
分補間係数)の値と当該部分補間値GDY、の値との積
の値を内部的に発生して出力する。こうして部分補間値
GDYはキャリー信号HCARの発生に同期して順次更
新されると供に前述の部分補間係数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 contains the corresponding partial interpolation value GDY and the real pressure 111t measured in the main scanning direction from the current sampling position.
Interpolated image data H to be generated at the interpolation position with the density of the partial interpolation value GDY using x (output of adder 15-5) as input.
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 GD and the corresponding partial interpolation value GDY is output. For example, LUT2
0-1 is the current partial interpolation value GDyo and adder 15-
The current interpolated position Generates and outputs the product value internally. Similarly, LUT20-8 is FIFO1
Partial interpolation value GDY7 of 7 columns before 9-7 output and adder 1
The interpolation position X of 5-5 is used as an address input, so that the LUT 20-8 inputs the value of the predetermined coefficient Ix (partial interpolation coefficient) corresponding to the interpolation position x7, which is the current interpolation position X plus 7 pixel intervals. The product value of the partial interpolation value GDY 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 HCAR, and the product with the aforementioned partial interpolation coefficient Ixn is sequentially calculated. During this period, the pixel synchronization signal PGDS is normally generated at a rate of one or more (1, 2, 1, 3, etc.), and the interpolation position X in the main scanning direction is updated in synchronization with this. As a result, image data GD is enlarged and interpolated in the main scanning direction.

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

主走査方向補間加算器群21はLUT20−1〜LUT
20−8の全出力を加算してその総和を出力する。かく
して加算器21−7の出力は現時点の補間位置における
最終の補間値V。ut  (補間画像データ)(GD)
である。
The main scanning direction interpolation adder group 21 includes LUT20-1 to LUT
20-8 and outputs the total sum. Thus, the output of adder 21-7 is the final interpolated value V at the current interpolated position. ut (interpolated image data) (GD)
It is.

第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)はこのサンプリングピッチを最小
単位として相対的に拡大された部分領域が示されている
。従って原画像の部分領域aは拡大画像の部分領域a′
に対応し、原画像中に想定した補間位置すは拡大部分領
域a′中の出力画素位置b′に対応している。そこで出
力画素位置b′には補間画像データHGDが形成される
わけであるが、その補間画像データHGDの値(濃度)
の決定は当該出力画素位置b′を取り囲むような所定の
複数の画像データGDの値を用い、かつ画素位置b′か
ら各画像データGDまでの距離により定まる寄与率(補
間係数)の重み付けを行ない、それらの総和を取ること
により行われる。
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. The pixel pitch in FIG. 8(A) corresponds to the data sampling pitch when the video image signal vS is sampled, and FIG. 8(B) shows a relatively enlarged portion using this sampling pitch as the minimum unit. The area is shown. Therefore, partial area a of the original image is partial area a' of the enlarged image.
The interpolation position assumed 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', but the value (density) of the interpolated image data HGD
is determined by using the values of a plurality of predetermined image data GD surrounding the output pixel position b', and by weighting the contribution rate (interpolation coefficient) determined by the distance from the pixel position b' to each image data GD. , by taking their sum.

次に第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!!(例えば距離11)と考えており、主走査方
面の座標はx印の補間位置を原点にして右方向を正、左
方向を負とし、かつ副走査方向の座標は同じくx印の補
間位置を原点にして下方向に正、上方向に負とするよう
な別の座標系を導入して考える。従って新たな座標系で
は原画像の位置は夫々±ΔX及び±Δyを施すことで表
わされる。Δ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. Also, in Figure 9, the pixel spacing of the original image is set to a unit ratio of 1! ! (For example, distance 11), and the coordinates in the main scanning direction are positive from the interpolation position of the x mark, and the right direction is positive and the left direction is negative, and the coordinates in the sub-scanning direction are also from the interpolation position of the x mark. Consider introducing another coordinate system with the origin as positive in the downward direction and negative in the upward direction. Therefore, in the new coordinate system, the position of the original image can be expressed by applying ±ΔX and ±Δy, respectively. ΔX and Δy are distances from a pixel position C of the original image having coordinate values not exceeding the interpolation position in the main scanning direction and the sub-scanning direction, respectively.

今、ある原画像の画素位置と補間位置間の主走査方向の
距離をXとし、同様に副走査方向の距離をyとする時に
主走査方向の寄与率(補間係数)I (x)及び副走査
方向の寄与率(補間係数)■(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) (y) in the scanning direction is expressed by the following equations.

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

即ち、補間値I(補間画像データHGD)の値を■。U
7とすると、第9図の如く補間点すを周囲の8画素×8
ラスタの合計64画素データで補間することを考えると
、VOLITは次式、vouT=Σ Σ(V (i−Δ
x、j−Δy)ls−3J=−3 xI(i−Δx)XI(j−Δy)) によって求められる。これは64画素について夫々補間
係数を乗じた値を全て求めた後に、64個の値の総和を
とることを意味する。しかしこれをそのまま実現しよう
とするとハードウェアが膨大になり実用的でない。また
ソフトウェアで行うと充分な処理速度が得られない。そ
こで上記V 0LITの式を次のように変形する。
That is, the value of the interpolated value I (interpolated image data HGD) is set to ■. U
7, the interpolation point is divided into surrounding 8 pixels x 8 as shown in Figure 9.
Considering that interpolation is performed using a total of 64 pixel data of the raster, VOLIT is calculated using the following formula, vouT=Σ Σ(V (i-Δ
x, j-Δy)ls-3J=-3xI(i-Δx)XI(j-Δy)). This means that after calculating all the values for each of the 64 pixels multiplied by the interpolation coefficient, the sum of the 64 values is calculated. 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 equation for V 0LIT is modified as follows.

V2O丁 xI(i−Δ×) かくして、まず副走査方向の補間を行ない、次にその結
果を用いて主走査方向の補間を行なうことが上記と同値
になる。上述第1実施例はこの方式に従って実現されて
いる。
V2OdixI(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の値voは以下によ
って求められる。
Based on these, the value vo of the interpolated image data HGD is obtained as follows.

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

第11図(A)〜(C)は原画像データを用いて副走査
方向に補間した後に主走査方向に補間した際の画像デー
タの増え方(画素数の増え方)を表わした図である。第
11図(A)において、入力画像中の連続した8走査線
を用いて、即ち各走査線上で同じ副走査方向の位置にあ
る画素を用いて副走査方向にのみ補間された走査線を作
成する。第11図CB)において、この副走査方向にの
み補間された走査線上の画素を用いて主走査方向に補間
を行なう。これにより第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 eight consecutive scanning lines in the input image, that is, using pixels at the same position in the sub-scanning direction on each scanning line. do. In FIG. 11 CB), 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 the selection of input pixel regions required for calculating interpolated values. That is, in the second embodiment, each correction coefficient formula I (x
), 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を出力する
ように構成したが、更にODAのビット長を拡張して、
整数部をも保持できるようにしてこの整数値部分をもっ
て入力画素位置を指定するように構成してもよい。
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 ODA,
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の増分値
、初期値の初期化は画像プリンタ1oの制御部によって
行なわれるとしたが、それ以外にも、デイツブスイッチ
や短絡信号ビンをショートさせる方法等で行なってもよ
い。この−態様を第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 1o, but there are other methods as well, such as shorting out the date switch or the short circuit signal bin. You can also do this using 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に同期して、また副走査方向
DDAであればページ同期信号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 them selectively to the adder using the selector. 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 DDA 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 by inputting a synchronizing signal or resetting the holding circuit with a synchronizing signal is required.

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

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

πX                       
 filπyn こうしてω(x)、ω(y)を多様化できる。
πX
filπyn 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.

即ち、好ましくは補間位置を囲む2mX2n点で補間す
るものとして、補間係数式1 (x) 、  I (y
)は以下の如くであっても良い。
That is, assuming that interpolation is preferably performed at 2m×2n points surrounding the interpolation position, the interpolation coefficient equation 1 (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点で補間するもの
として、補間係数式I (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 formula I (x).

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

π x                I(、[ω 
畠 m]πy          Io[ωbn1ここ
で、Io[]は第1種修正0次のベッセル関数、またω
1.ωbは設定パラメータであり、 − 〈ω、<− m              m − くωb<− n              n の範囲の値を選んで用いる。 ■。[X]は例えば、等
で近似的に求めることができる。
π x I(, [ω
Hatake m]πy Io[ωbn1 Here, Io[] is the modified zero-order Bessel function of the first kind, and ω
1. ωb is a setting parameter, and a value in the range −〈ω,〉−mm− ωb<−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点で補間するものとして、補間係
数式t (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 t (x) and I (y) may be as follows.

I(x)−(a+2)x’−(a+3)x”+1   
(0≦IXI<1)I (x)=ax3−5ax’+8
ax−4a     (1≦IXI<2)I (x) 
−〇          (2≦1×1)ここでaは実
数定数である。
I(x)-(a+2)x'-(a+3)x"+1
(0≦IXI<1)I (x)=ax3-5ax'+8
ax-4a (1≦IXI<2)I (x)
−〇 (2≦1×1) where a is a real constant.

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

[発明の効果] 以上述べた如く本発明によれば、5ine関数に、補間
位置によって定まる第2の係数を付加した補間係数を用
いることにより、実現の容易なかつ従来例よりも遥かに
良好な画質を得られるといった効果がある。
[Effects of the Invention] As described above, according to the present invention, by using an interpolation coefficient obtained by adding a second coefficient determined by the interpolation position to the 5ine function, image quality that is easy to implement and far better than that of the conventional example can be achieved. It has the effect of being able to obtain

【図面の簡単な説明】[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実施例のDDAの一部の構成を示すブロ
ック図、 第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. Figure 7 (A,) is a diagram showing the storage mode of image data; Figure 7 (B) is a diagram showing the original image of a person;
is a diagram showing an image obtained by enlarging and interpolating the original image in Figure 7 (A), Figure 8 (A) is a diagram showing a partial area of the original image, and Figure 8 (B
) 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 DDA 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. Patent ratio - applicant Canon Co., Ltd.

Claims (5)

【特許請求の範囲】[Claims] (1)画像出力装置に補間画像データを提供するための
デジタル画像の補間方法において、 直交座標X、Yの整数座標に複数の画像データを記憶す
る工程と、 前記直交座標X、Yの実数座標に任意の補間位置を設定
する工程と、 前記設定した補間位置を略中心として該補間位置を囲む
ように2m×2n個の画像データを選択する工程と、 前記補間位置から前記選択した画像データまでの距離x
、yを求める工程と、 前記求めた距離x、yから所定の係数ω(x)、ω(y
)の値を求める工程と、 前記求めた距離x、y及び係数ω(x)、ω(y)の値
から補間係数Iを次式、 I=ω(x)・(sinπx/πx)・ω(y)・(s
inπy/πx)に従つて求める工程と、 前記求めた補間係数Iと該補間係数に対応する画像デー
タとの各積をとり、得られた2m×2n個の積の総和に
よつて補間画像データを形成する工程を備えることを特
徴とするデジタル画像の補間方法。
(1) A digital image interpolation method for providing interpolated image data to an image output device, comprising: storing a plurality of image data in integer coordinates of orthogonal coordinates X and Y; and real number coordinates of the orthogonal coordinates X and Y. a step of setting an arbitrary interpolation position, a step of selecting 2m x 2n pieces of image data so as to surround the interpolation position with the set interpolation position as the approximate center; distance x
, y, and calculating predetermined coefficients ω(x), ω(y
), and calculate the interpolation coefficient I from the determined distances x, y and the coefficients ω(x), ω(y) using the following formula: I=ω(x)・(sinπx/πx)・ω (y)・(s
inπy/πx), and calculating each product of the interpolation coefficient I obtained above and the image data corresponding to the interpolation coefficient, and obtaining interpolated image data by the sum of the obtained 2m×2n products. 1. A method for interpolating a digital image, comprising the step of forming a .
(2)係数ω(x)、ω(y)の値を次式、ω(x)=
1/2(1+cos[πx/m])ω(y)=1/2(
1+cos[πy/n」)に従つて求めることを特徴と
する特許請求の範囲第1項記載のデジタル画像の補間方
法。
(2) The values of coefficients ω(x) and ω(y) are expressed as follows, ω(x)=
1/2(1+cos[πx/m])ω(y)=1/2(
1+cos [πy/n'').
(3)m=n=8とすることを特徴とする特許請求の範
囲第2項記載のデジタル画像の補間方法。
(3) The digital image interpolation method according to claim 2, characterized in that m=n=8.
(4)補間画像データの形成は距離x又はyのみについ
て求めた仮の補間画像データを入力として距離y又はx
についての計算を行うことを特徴とする特許請求の範囲
第1項記載のデジタル画像の補間方法。
(4) Interpolated image data is formed by inputting temporary interpolated image data obtained only for distance x or y, and then
2. A digital image interpolation method according to claim 1, characterized in that a calculation is performed for a digital image.
(5)画像出力装置に補間画像データを提供するための
デジタル画像の補間装置において、 直交アドレスX、Yの整数アドレスに複数の画像データ
を記憶する画像メモリと、 前記直交アドレスX、Yの実数アドレスに任意の補間位
置を設定する補間位置設定手段と、前記設定した補間位
置を略中心として該補間位置を囲むように2m×2n個
の画像データを選択する画像データ選択手段と、 前記設定した補間位置から前記選択した画像データまで
の距離x、yを求める距離算出手段と、 前記求めた距離x、yから所定の係数ω(x)、ω(y
)の値を求める係数演算手段と、 前記求めた距離x、y及び係数ω(x)、ω(y)の値
から補間係数Iを次式、 I=ω(x)・(sinπx/πx)・ω(y)・(s
inπy/πy)に従つて求める補間係数演算手段と、 前記求めた補間係数Iと該補間係数に対応する画像デー
タとの各積をとり、得られた2m×2n個の積の総和に
よつて補間画像データを形成する補間画像データ形成手
段を備えることを特徴とするデジタル画像の補間装置。
(5) 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 calculating means for calculating distances x, y from the interpolation position to the selected image data; and predetermined coefficients ω(x), ω(y) from the calculated distances x, y.
), and a coefficient calculation means for calculating the value of the distance x, y and the coefficients ω(x), ω(y) as follows: I=ω(x)・(sinπx/πx)・ω(y)・(s
(inπy/πy); and the product of the interpolation coefficient I obtained above and the image data corresponding to the interpolation coefficient, and the sum of the obtained 2m×2n products. A digital image interpolation device comprising an interpolation image data forming means for forming interpolation image data.
JP62299802A 1987-11-30 1987-11-30 Method and device for interpolating digital image Pending JPH01142878A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62299802A JPH01142878A (en) 1987-11-30 1987-11-30 Method and device for interpolating digital image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62299802A JPH01142878A (en) 1987-11-30 1987-11-30 Method and device for interpolating digital image

Publications (1)

Publication Number Publication Date
JPH01142878A true JPH01142878A (en) 1989-06-05

Family

ID=17877107

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62299802A Pending JPH01142878A (en) 1987-11-30 1987-11-30 Method and device for interpolating digital image

Country Status (1)

Country Link
JP (1) JPH01142878A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2001276741B2 (en) * 2000-08-07 2004-03-18 Ns Planning Inc. Card holder

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2001276741B2 (en) * 2000-08-07 2004-03-18 Ns Planning Inc. Card holder

Similar Documents

Publication Publication Date Title
US5553165A (en) Parallel error diffusion method and apparatus
CN1871851B (en) Display system having improved multiple modes for displaying image data from multiple input source formats
US4876600A (en) Method and device for representing a composite image on a screen of a screen device
EP0685829B1 (en) Vertical filtering method for raster scanner display
EP1157353B1 (en) Non-linear and linear method of scale-up or scale-down image resolution conversion
EP0369702B1 (en) Image processing apparatus and method
JP3466656B2 (en) Method and apparatus for filling object-based rasterized images
JPH1011009A (en) Processor for video signal and display device using the same
JP2577748B2 (en) Image signal interpolation method and image signal processing apparatus for implementing the method
US6552750B1 (en) Apparatus for improving the presentation of graphics data on a television display
JPH10171440A (en) Image reducing device and control method therefor
US20010048771A1 (en) Image processing method and system for interpolation of resolution
CA2059929A1 (en) Image scaling apparatus for a multimedia system
JPH01142878A (en) Method and device for interpolating digital image
US5612714A (en) Process and system of image processing
JP2510019B2 (en) Image display method and device
WO2000057631A1 (en) Image processing device and processing method
JPH01142879A (en) Interpolating device for digital image
JPH01142877A (en) Interpolating device for digital image
JPS63283956A (en) Magnifying and reduction system of digital video image
JP2000020014A (en) Picture display device
AU674552B2 (en) Parallel error diffusion method and apparatus
JP2001230929A (en) Reduction processing method and device for binary image
JP2000105824A (en) Image signal processor
AU673556B2 (en) Colour display system