JP2000069280A - Image signal generating device, its method, pixel interpolation device, its method and storage medium - Google Patents

Image signal generating device, its method, pixel interpolation device, its method and storage medium

Info

Publication number
JP2000069280A
JP2000069280A JP10236942A JP23694298A JP2000069280A JP 2000069280 A JP2000069280 A JP 2000069280A JP 10236942 A JP10236942 A JP 10236942A JP 23694298 A JP23694298 A JP 23694298A JP 2000069280 A JP2000069280 A JP 2000069280A
Authority
JP
Japan
Prior art keywords
pixel
image
interpolation
signal
coefficient
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.)
Withdrawn
Application number
JP10236942A
Other languages
Japanese (ja)
Inventor
Teruo Hieda
輝夫 稗田
Ken Terasawa
見 寺澤
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 JP10236942A priority Critical patent/JP2000069280A/en
Publication of JP2000069280A publication Critical patent/JP2000069280A/en
Withdrawn 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)
  • Storing Facsimile Image Data (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PROBLEM TO BE SOLVED: To realize a magnified/reduced image of high image quality. SOLUTION: Data to be displayed are written in a memory 22, read start position, read range and read speed are set in an address generating circuit 32 via a command decoder 30. A magnification/reduction rate is set in a magnification/reduction rate circuit 24 via the command decoder 30. A time interval for interrupt is set at a timer on the inside of a CPU 10 for magnification/reduction as a time elapses and the CPU 10 goes into a waiting state of timer interrupt. When a setting time elapses and timer interrupt takes place, first a read start position, a read range and a read speed of the address generating circuit 32 are updated via the command decoder 30 to update the magnification/reduction rate of the magnification/reduction circuit 24. The timer interrupt is repeated until desired final magnification is obtd.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、画像信号形成装置
及び方法、画素補間装置及び方法並びに記憶媒体に関
し、より具体的には、画像データをディスプレイに表示
するための画像信号を形成する画像信号形成装置及び方
法、画像を拡大縮小する画素補間装置及び方法、並びに
これらの方法を実行するプログラム・ソフトウエアを記
憶する記憶媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image signal forming apparatus and method, a pixel interpolating apparatus and method, and a storage medium, and more specifically, to an image signal for forming an image signal for displaying image data on a display. The present invention relates to a forming apparatus and method, a pixel interpolating apparatus and method for enlarging and reducing an image, and a storage medium for storing program software for executing these methods.

【0002】[0002]

【従来の技術】近年の半導体技術の進歩により、2次元
又は3次元的な画像をリアルタイムに作成してディスプ
レイに表示することが可能になった。このような画像表
示技術は、例えば、CAD又はゲームなどで利用され
る。
2. Description of the Related Art Recent advances in semiconductor technology have made it possible to create two-dimensional or three-dimensional images in real time and display them on a display. Such an image display technique is used in, for example, a CAD or a game.

【0003】ディスプレイに印加する画像信号を形成す
る画像信号形成装置は、一般的には、ビデオ・メモリ、
D/A変換器及び同期信号発生器を具備する。この画像
信号形成装置は、パーソナルコンピュータ又はゲーム機
の内部に設けられ、CPUによりビデオ・メモリに書き
込まれた画像データが、同期信号発生器の発生するクロ
ックにしたがってラスタースキャンされ、D/A変換器
によりアナログ画像信号に変換されて外部のデイスプレ
イに印加されるようになっている。
An image signal forming apparatus for forming an image signal to be applied to a display generally includes a video memory,
It has a D / A converter and a synchronization signal generator. This image signal forming apparatus is provided inside a personal computer or a game machine, and raster-scans image data written into a video memory by a CPU in accordance with a clock generated by a synchronization signal generator, and provides a D / A converter. Is converted into an analog image signal and applied to an external display.

【0004】別のタイプの画像信号形成装置として、直
線の描画など所定の動作を指示するコマンドに従ってビ
デオメモリに対応する画素データを書き込む、いわゆる
アクセラレータを搭載したものも多く実用化されてい
る。ハードウエアにより高速な描画が可能になると同時
にCPUの負荷を減らすことができ、システム全体のパ
フォーマンスを向上することが出来る。
[0004] As another type of image signal forming device, many devices equipped with a so-called accelerator for writing pixel data corresponding to a video memory in accordance with a command instructing a predetermined operation such as drawing a straight line have been put into practical use. At the same time, high-speed drawing is enabled by hardware, and the load on the CPU can be reduced, so that the performance of the entire system can be improved.

【0005】更には、このようなアクセラレータに3次
元画像を描く際に多く用いられるポリゴン描画及びテキ
スチャーマッピングなどの機能を追加した3Dアクセラ
レータも実用化されている。
[0005] Further, a 3D accelerator has been put to practical use in which functions such as polygon drawing and texture mapping, which are often used when drawing a three-dimensional image, are added to such an accelerator.

【0006】また、近年のディジタル信号処理技術の進
歩は、映像分野に大きな発展をもたらしている。イメー
ジ・スキャナ、ディジタル・ビデオ・カメラ及びディジ
タル・スチル・カメラなどのディジタル画像入力装置が
容易に入手・利用できるようになり、パーソナル・コン
ピュータの性能向上も著しいものがある。これにより、
パーソナル・コンピュータ上で、画像データを編集・加
工することも容易になり、しかも、それを高画質に行え
るようになった。
[0006] Recent advances in digital signal processing technology have brought great developments in the video field. Digital image input devices such as image scanners, digital video cameras and digital still cameras have become readily available and available, and the performance of personal computers has been significantly improved. This allows
It has become easy to edit and process image data on a personal computer, and it has become possible to perform the processing with high image quality.

【0007】このような状況で、撮像装置自体がリアル
タイムに画像を拡大縮小する技術が、今後重要になると
推察される。従来のディジタル・ビデオ・カメラは光学
ズーム装置と撮像した画像を補間して拡大する電子ズー
ム装置を具備し、光学系によるズーミング以上に拡大し
たい場合に電子ズームを使用するようになっている。勿
論、撮像した画像を電子的に縮小する電子ズームアウト
も可能である。
[0007] Under such circumstances, it is presumed that a technique for the image pickup apparatus itself to enlarge or reduce an image in real time will be important in the future. Conventional digital video cameras are equipped with an optical zoom device and an electronic zoom device for interpolating and enlarging a captured image, and use the electronic zoom when enlarging the image beyond zooming by an optical system. Of course, electronic zoom-out for electronically reducing a captured image is also possible.

【0008】ある周波数でサンプリングされた連続的な
画像データがあり、その画像データを他の周波数のサン
プリング間隔で線形補間していく時には、補間画素の前
後に位置する原サンプリング画素データと補間画素との
間の時間的な相対位置データkが必要となる。これを連
続的に求めていく方法として、米国特許4,774,5
81号明細書に示されるような、累算器を用いたメモリ
読み出し手段を用いる構成が知られている。
When there is continuous image data sampled at a certain frequency and the image data is linearly interpolated at a sampling interval of another frequency, the original sampled pixel data located before and after the interpolated pixel and the interpolated pixel are interpolated. Is required relative time data k. As a method of continuously obtaining this, US Pat.
A configuration using a memory reading unit using an accumulator as shown in the specification of Japanese Patent No. 81 is known.

【0009】図9は、線形補間の概念図を示す。S
n−1は同一ライン上の隣接する画素データ、S’は
画素S、Sn−1により補間されるべき画素データを
それぞれ示す。この時、S,Sn−1,S’の関係
は、 S’=S・k+Sn−1・(1−k) で表わされる。これをディジタル回路で実現する場合、
乗算器の削減のためにこの式を変形して、 S’=(S−Sn−1)・k+Sn−1 とする。
FIG. 9 is a conceptual diagram of linear interpolation. Sn,
Sn-1Is adjacent pixel data on the same line, and S 'is
Pixel Sn, Sn-1Pixel data to be interpolated by
Shown respectively. At this time, Sn, Sn-1, S '
Is S '= Sn・ K + Sn-1-It is represented by (1-k). If this is realized by a digital circuit,
This equation is modified to reduce the number of multipliers, and S ′ = (Sn-Sn-1) ・ K + Sn-1  And

【0010】図10は、従来の線形補間装置の水平方向
部分の概略構成ブロック図を示す。フィールドメモリ2
12には、入力端子120から所定サンプリング周波数
(例えば、撮像素子により決定されるサンプリング周波
数)の画像データSが入力し、1フィールド分が記憶さ
れる。メモリ読み出し回路216は、ズーム比入力端子
214からのズーム比設定値zoomに従って補間画素
位置を連続的に決定し、フィールド・メモリ212の原
画像データのうち補間画素位置の直後の画素データS
を出力するように、フィールドメモリ212に読み出し
制御信号Crを供給する。
FIG. 10 is a block diagram showing a schematic configuration of a horizontal portion of a conventional linear interpolation device. Field memory 2
Image data S having a predetermined sampling frequency (for example, a sampling frequency determined by an image sensor) is input to the input terminal 120 from the input terminal 120, and one field is stored. Memory read circuit 216 continuously determine the interpolated pixel position in accordance with the zoom ratio setting value zoom from the zoom ratio input terminal 214, pixel data S n immediately after the interpolation pixel position of the original image data in the field memory 212
Is supplied to the field memory 212 so as to output the read control signal Cr.

【0011】ズーム比設定値zoomは、ズームの分解
能が8ビットの場合にズーム比RをR=256/(25
6+zoom)とするような値である。zoomが正の
整数値を取れば、画像は縮小され、負の整数値を取れ
ば、画像は拡大される。
The zoom ratio setting value zoom is obtained by setting the zoom ratio R to R = 256 / (25) when the zoom resolution is 8 bits.
6 + zoom). If zoom takes a positive integer value, the image is reduced, and if it takes a negative integer value, the image is enlarged.

【0012】係数発生回路220は、更新制御端子21
8からの更新制御信号incに従い、ズーム比設定値z
oomの絶対値を累積加算して原サンプリング画素位置
と補間画素位置との距離を示す係数kを計算し、線形補
間回路222に出力する。係数発生回路220はまた、
係数kの累積加算過程でキャリーが発生した時に、ho
ld信号をフィールド・メモリ212及び遅延回路22
4に印加する。
The coefficient generation circuit 220 is connected to the update control terminal 21
8 according to the update control signal inc from
The absolute value of oom is cumulatively added to calculate a coefficient k indicating the distance between the original sampling pixel position and the interpolation pixel position, and output to the linear interpolation circuit 222. The coefficient generation circuit 220 also
When carry occurs in the process of accumulating the coefficient k, ho
The ld signal is supplied to the field memory 212 and the delay circuit 22.
4 is applied.

【0013】係数発生回路220の概略構成ブロック図
を図11に示す。絶対値回路230は、入力端子214
からのズーム比設定値zoomを絶対値化し、加算器2
32に印加する。加算器232の出力は遅延回路234
を介して加算器232に印加される累積加算構成になっ
ている。遅延回路234は、更新制御端子218からの
更新制御信号incの立ち上がりに応じて、保持値を出
力し、加算器232の出力を取り込む。遅延回路234
の出力が係数kであり、線形補間回路222に印加され
る。加算器232は、加算結果によりキャリーが発生す
ると、それをhold信号としてメモリ212及び遅延
回路224に供給する。
FIG. 11 shows a schematic block diagram of the coefficient generation circuit 220. The absolute value circuit 230 has an input terminal 214
From the zoom ratio setting value zoom from
32. The output of the adder 232 is the delay circuit 234
Is applied to the adder 232 through the accumulator. The delay circuit 234 outputs the held value in response to the rise of the update control signal inc from the update control terminal 218, and takes in the output of the adder 232. Delay circuit 234
Is the coefficient k and is applied to the linear interpolation circuit 222. When a carry occurs due to the addition result, the adder 232 supplies the carry to the memory 212 and the delay circuit 224 as a hold signal.

【0014】フィールドメモリ212は、メモリ読み出
し回路216からの読み出し制御信号Crによって指示
された画素データSを読み出す。メモリ212から読
み出された画素データSは、線形補間回路222と遅
延回路224に印加される。遅延回路224は、画素デ
ータSを原サンプリング周波数の1クロック分だけ遅
延した画素データSn−1を線形補間回路222に供給
する。これにより、線形補間回路222には、画素デー
タS,Sn−1が同時に入力する。
[0014] field memory 212 reads the pixel data S n instructed by the read control signal Cr from the memory read circuit 216. Pixel data S n read from the memory 212 is applied to the linear interpolation circuit 222 and the delay circuit 224. The delay circuit 224 supplies the pixel data S n-1 obtained by delaying the pixel data S n by one clock of the original sampling frequency to the linear interpolation circuit 222. As a result, the pixel data Sn and Sn-1 are simultaneously input to the linear interpolation circuit 222.

【0015】線形補間回路222は、S−Sn−1
算出する減算器236、減算器236の出力(S−S
n−1)に係数を乗算する乗算器238及び、乗算器2
38の出力(S−Sn−1)・k にSn−1を加算
する加算器240からなり、 S’=(S−Sn−1)・k+Sn−1 で示される補間画素データS’を出力する。
The linear interpolation circuit 222 calculates Sn-Sn-1To
The subtractor 236 to be calculated and the output of the subtractor 236 (Sn-S
n-1) Is multiplied by a coefficient, and a multiplier 238
38 output (Sn-Sn-1) · K for Sn-1Add
S ′ = (Sn-Sn-1) ・ K + Sn-1  Is output.

【0016】フィールドメモリ212は、係数発生回路
220からhold信号を受け取ると、直前の読み出し
制御信号Crによって指示された画素データを繰り返し
て出力する。
When receiving the hold signal from the coefficient generation circuit 220, the field memory 212 repeatedly outputs the pixel data specified by the immediately preceding read control signal Cr.

【0017】遅延回路224は、図12に示すように、
セレクタ242と1クロック分の遅延素子244とから
なる。セレクタ242は、通常時は、メモリ212から
入力するデータを選択し、hold信号に応じて遅延素
子244の出力データを選択する。遅延素子244は、
セレクタ242により選択されたデータを1クロック分
遅延してセレクタ242に帰還する。遅延素子244の
出力が線形補間回路222に供給される。この構成によ
り、遅延回路224は、hold信号が印加されている
状態では、同じデータ(遅延素子244に保持されるデ
ータ)を繰り返し出力する。
The delay circuit 224 includes, as shown in FIG.
It comprises a selector 242 and a delay element 244 for one clock. The selector 242 normally selects data input from the memory 212 and selects output data of the delay element 244 according to the hold signal. The delay element 244
The data selected by the selector 242 is delayed by one clock and fed back to the selector 242. The output of the delay element 244 is supplied to the linear interpolation circuit 222. With this configuration, the delay circuit 224 repeatedly outputs the same data (data held in the delay element 244) when the hold signal is applied.

【0018】[0018]

【発明が解決しようとする課題】従来例には、以下のよ
うな問題点がある。即ち、自然画像や多値画像を拡大又
は縮小して表示したい場合がある。その場合、従来例で
は、CPUが、元になる画像データから所望の大きさに
拡大又は縮小した画像を作成し、得られた画像データを
ビデオ・メモリに書き込んでいた。この方法では、拡大
又は縮小の際に生ずる画質劣化の少ないアルゴリズムで
高画質な画像を得ようとすると、計算量が膨大になり、
連続的に変化させる時にコマ落ちしたり、実時間では処
理しきれなくなったりする。
The prior art has the following problems. That is, there is a case where a natural image or a multi-valued image is to be displayed in an enlarged or reduced manner. In that case, in the conventional example, the CPU creates an image enlarged or reduced to a desired size from the original image data, and writes the obtained image data to the video memory. In this method, if an attempt is made to obtain a high-quality image using an algorithm with less image quality degradation that occurs during enlargement or reduction, the amount of calculation becomes enormous,
Frames drop when changing continuously, or cannot be processed in real time.

【0019】また、隣接2画素を使った従来の線形補間
では、回路構成は簡単になるものの、周波数特性が図1
3に示すようになだらかになる。従って、得られた画像
は、シャープさの無い平坦な感じのものになってしま
う。
Further, in the conventional linear interpolation using two adjacent pixels, although the circuit configuration is simplified, the frequency characteristic is not as shown in FIG.
As shown in FIG. Therefore, the obtained image has a flat feeling without sharpness.

【0020】本発明は、このような問題点を解決する画
像信号形成装置及び方法、画像補間装置及び方法並びに
記憶媒体を提示することを目的とする。
An object of the present invention is to provide an image signal forming apparatus and method, an image interpolating apparatus and method, and a storage medium which solve such problems.

【0021】本発明はまた、画像の拡大縮小に対して少
ない画質劣化で高速に高画質の画像を形成できる画像信
号形成装置及び方法、画像補間装置及び方法並びに記憶
媒体を提示することを目的とする。
It is another object of the present invention to provide an image signal forming apparatus and method, an image interpolating apparatus and method, and a storage medium capable of forming a high-quality image at high speed with little deterioration in image quality when the image is enlarged or reduced. I do.

【0022】[0022]

【課題を解決するための手段】本発明に係る画像信号形
成装置は、画像データを保持する画像メモリと、当該画
像メモリから読み出された画像データを水平方向及び垂
直方向の少なくとも一方向に、当該一方向に隣接する4
点以上の画素データから補間して変倍する画像処理手段
と、当該画像処理手段の出力から画像信号を生成する出
力手段とを具備する。
According to the present invention, there is provided an image signal forming apparatus comprising: an image memory for storing image data; and image data read from the image memory in at least one of a horizontal direction and a vertical direction. 4 adjacent in one direction
The image processing apparatus includes image processing means for performing scaling by interpolating pixel data of points or more, and output means for generating an image signal from an output of the image processing means.

【0023】本発明に係る画像信号形成装置はまた、画
像の一部のデータを保持する第1画像メモリと、当該第
1画像メモリから読み出された画像データを水平方向及
び垂直方向の少なくとも一方向に、当該一方向に隣接す
る4点以上の画素データから補間して変倍する画像処理
手段と、当該画像処理手段の出力及び画像の他の一部の
データを保持する第2画像メモリと、当該第2画像メモ
リの出力から画像信号を生成する出力手段とを具備する
ことを特徴とする。
The image signal forming apparatus according to the present invention further comprises a first image memory for holding partial data of an image, and image data read from the first image memory in at least one of a horizontal direction and a vertical direction. Image processing means for interpolating and scaling the pixel data of four or more points adjacent in one direction in the direction, a second image memory for holding the output of the image processing means and other partial data of the image, Output means for generating an image signal from the output of the second image memory.

【0024】本発明に係る画像信号形成方法は、画像デ
ータを画像メモリに記憶する記憶ステップと、当該画像
メモリから読み出された画像データを水平方向及び垂直
方向の少なくとも一方向に、当該一方向に隣接する4点
以上の画素データから補間して変倍する画像処理ステッ
プと、当該画像処理ステップの処理結果から画像信号を
生成する出力ステップとを具備することを特徴とする。
In the image signal forming method according to the present invention, a storing step of storing image data in an image memory; and storing the image data read from the image memory in at least one of a horizontal direction and a vertical direction. And an output step of generating an image signal from the processing result of the image processing step.

【0025】本発明に係る画像信号形成方法は、画像の
一部のデータを第1画像メモリに記憶する第1記憶ステ
ップと、当該第1画像メモリから読み出された画像デー
タを水平方向及び垂直方向の少なくとも一方向に、当該
一方向に隣接する4点以上の画素データから補間して変
倍する画像処理ステップと、画像の他の一部のデータを
記憶する第2の画像メモリに当該画像処理ステップの処
理結果を記憶する第2記憶ステップと、当該第2画像メ
モリの出力から画像信号を生成する出力ステップとを具
備することを特徴とする。
In the image signal forming method according to the present invention, a first storing step of storing a part of the image data in a first image memory, and storing the image data read from the first image memory in a horizontal direction and a vertical direction. An image processing step of interpolating and scaling at least in one direction from pixel data of four or more points adjacent to the one direction, and storing the image in a second image memory for storing other partial data of the image A second storage step of storing a processing result of the processing step; and an output step of generating an image signal from an output of the second image memory.

【0026】本発明に係る記憶媒体には、上述の画像信
号形成方法を実行するプログラム・ソフトウエアが記憶
される。
The storage medium according to the present invention stores program software for executing the above-described image signal forming method.

【0027】本発明に係る画像補間装置は、画像データ
を記憶し、補間画素S’に対して一方の側の2つの画素
信号S,Sn−1及び他方の側の2つの画素信号S
n−2,Sn−3を出力する画像メモリ手段と、当該画
素信号Sn−1の画素位置と当該画素信号Sn−2の画
素位置との間での補間画素信号S’の画素位置を示す補
間係数kを生成する第1の係数発生手段と、当該補間係
数kの2乗及び3乗を算出する乗算手段と、k,k
から当該画素信号S,Sn−1,Sn−2及び画
素信号Sn−3に対する補間係数k,k,k,k
を生成する第2の係数発生手段と、当該画素信号
,Sn−1,Sn−2及びSn−3に補間係数
,k,k,kを乗算し、総和を算出して、補
間画素信号S’を出力する演算手段とを具備することを
特徴とする。
The image interpolation apparatus according to the present invention stores image data, and stores two pixel signals Sn , Sn-1 on one side and two pixel signals Sn on the other side with respect to an interpolation pixel S '.
image memory means for outputting n-2 and Sn-3 , and the pixel position of the interpolated pixel signal S 'between the pixel position of the pixel signal Sn-1 and the pixel position of the pixel signal Sn-2 First coefficient generation means for generating an interpolation coefficient k indicating the following, multiplication means for calculating the square and the third power of the interpolation coefficient k, k, k 2 ,
The pixel signal from the k 3 S n, S n- 1, S n-2 and interpolation for the pixel signals S n-3 coefficients k 0, k 1, k 2 , k
3 and the second coefficient generating means for generating a, the pixel signals S n, S n-1, S n-2 and S n-3 in the interpolation coefficient k 0, k 1, k 2 , k 3 multiplied, Calculating means for calculating the sum and outputting the interpolated pixel signal S ′.

【0028】本発明に係る画像補間装置は、画像データ
を記憶し、補間画素S’に対して一方の側の2つの画素
信号S,Sn−1及び他方の側の2つの画素信号S
n−2,Sn−3を出力する画像メモリ手段と、当該画
素信号Sn−1の画素位置と当該画素信号Sn−2の画
素位置との間での補間画素信号S’の画素位置を示す補
間係数kを生成する第1の係数発生手段と、当該補間係
数kの2乗並びに(k−1)及び(kー1)を算出す
る乗算手段と、k,k,(1−k)及び(1−k)
から当該画素信号S,Sn−1,Sn−2及び画素信
号Sn−3に対する補間係数k,k,k,k
生成する第2の係数発生手段と、当該画素信号S,S
n−1,Sn−2及びSn−3に補間係数k,k
,kを乗算し、総和を算出して、補間画素信号
S’を出力する演算手段とを具備することを特徴とす
る。
The image interpolating apparatus according to the present invention stores image data, and stores two pixel signals Sn , Sn-1 on one side and two pixel signals Sn on the other side with respect to an interpolated pixel S '.
image memory means for outputting n-2 and Sn-3 , and the pixel position of the interpolated pixel signal S 'between the pixel position of the pixel signal Sn-1 and the pixel position of the pixel signal Sn-2 First coefficient generating means for generating an interpolation coefficient k indicating the following, multiplication means for calculating the square of the interpolation coefficient k and (k-1) and (k-1) 2 , k, k 2 , (1 -K) and (1-k) 2
A second coefficient generating means for generating interpolation coefficients k 0 , k 1 , k 2 , and k 3 for the pixel signals Sn , Sn-1 , Sn-2 and the pixel signal Sn-3 from the pixel signal, Signals S n and S
n-1, S n-2 and S n-3 in the interpolation coefficient k 0, k 1,
and a calculating means for multiplying k 2 and k 3 , calculating the sum, and outputting an interpolated pixel signal S ′.

【0029】本発明に係る画像補間方法は、画像データ
を記憶する画像メモリ手段から、補間画素S’に対して
一方の側の2つの画素信号S,Sn−1及び他方の側
の2つの画素信号Sn−2,Sn−3を出力する画素信
号出力ステップと、当該画素信号Sn−1の画素位置と
当該画素信号Sn−2の画素位置との間での補間画素信
号S’の画素位置を示す補間係数kを生成する第1の係
数発生ステップと、当該補間係数kの2乗及び3乗を算
出する乗算ステップと、k,k,kから当該画素信
号S,Sn−1,Sn−2及び画素信号Sn−3に対
する補間係数k ,k,k,kを生成する第2の
係数発生ステップと、当該画素信号S,Sn−1,S
n−2及びSn−3に補間係数k,k,k,k
を乗算し、総和を算出して、補間画素信号S’を出力す
る演算ステップとを具備することを特徴とする。
According to the image interpolation method of the present invention, the image data
From the image memory means for storing the interpolation pixel S '
Two pixel signals S on one siden, Sn-1And the other side
Two pixel signals Sn-2, Sn-3Pixel signal to output
Signal output step and the pixel signal Sn-1Pixel position and
The pixel signal Sn-2Interpolated pixel signal between pixel positions
A first relation for generating an interpolation coefficient k indicating the pixel position of the symbol S '
Calculate the number generation step and the square and cube of the interpolation coefficient k
Outgoing multiplication step and k, k2, K3From the pixel signal
No. Sn, Sn-1, Sn-2And the pixel signal Sn-3To
Interpolation coefficient k 0, K1, K2, K3The second that produces
Coefficient generating step and the pixel signal Sn, Sn-1, S
n-2And Sn-3To the interpolation coefficient k0, K1, K2, K3
To calculate the sum and output the interpolated pixel signal S '
And a calculating step.

【0030】本発明に係る画像補間方法はまた、画像デ
ータを記憶する画像メモリ手段から、補間画素S’に対
して一方の側の2つの画素信号S,Sn−1及び他方
の側の2つの画素信号Sn−2,Sn−3を出力する画
素信号出力ステップと、当該画素信号Sn−1の画素位
置と当該画素信号Sn−2の画素位置との間での補間画
素信号S’の画素位置を示す補間係数kを生成する第1
の係数発生ステップと、当該補間係数kの2乗並びに
(k−1)及び(kー1)を算出する乗算ステップ
と、k,k,(1−k)及び(1−k)から当該画
素信号S,Sn− ,Sn−2及び画素信号Sn−3
に対する補間係数k,k,k,kを生成する第
2の係数発生ステップと、当該画素信号S
n−1,Sn−2及びSn−3に補間係数k
,k,kを乗算し、総和を算出して、補間画素
信号S’を出力する演算ステップとを具備することを特
徴とする。
The image interpolation method according to the present invention also includes an image memory means for storing image data, two pixel signals S n on one side with respect to the interpolation pixel S ', the S n-1 and the other side A pixel signal output step of outputting two pixel signals Sn-2 and Sn-3 , and an interpolation pixel between a pixel position of the pixel signal Sn-1 and a pixel position of the pixel signal Sn-2. First to generate an interpolation coefficient k indicating a pixel position of the signal S ′
And a multiplication step for calculating the square of the interpolation coefficient k and (k-1) and (k-1) 2 , and k, k 2 , (1-k) and (1-k) 2 From the pixel signals Sn , Sn - 1 and Sn-2 and the pixel signal Sn-3.
A second coefficient generation step of generating interpolation coefficients k 0 , k 1 , k 2 , and k 3 for the pixel signals S n ,
Interpolation coefficients k 0 , S n-1 , Sn-2 and Sn-3 are
an operation step of multiplying k 1 , k 2 , and k 3 to calculate a sum and output an interpolated pixel signal S ′.

【0031】本発明に係る記憶媒体には、上述の画像補
間方法を実行するプログラム・ソフトウエアが記憶され
る。
The storage medium according to the present invention stores program software for executing the above-described image interpolation method.

【0032】[0032]

【実施例】以下、図面を参照して、本発明の実施例を詳
細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0033】図1は、本発明の第1実施例の概略構成ブ
ロック図を示す。10はCPU、12はROM、14は
RAM、16はディスク装置、18はデータバス、20
はアドレスバス、22は表示データを保持するメモリ、
24はメモリ22に保持される表示データを実時間で拡
大又は縮小する拡大縮小回路、26は拡大縮小回路24
からの画像データをアナログ信号に変換するD/A変換
器、28はRGB信号の出力端子、30はコマンドデコ
ーダ、32はメモリ22の読み出しアドレスを発生する
アドレス発生回路、34は同期信号SYNCを発生する
SYNC発生回路、36は同期信号SYNCの出力端
子、38は、RGB出力端子28及びSYNC出力端子
36からの出力信号が入力し、画像を表示するモニタ・
ディスプレイ(以下、モニタと略す。)である。
FIG. 1 is a schematic block diagram of the first embodiment of the present invention. 10 is a CPU, 12 is a ROM, 14 is a RAM, 16 is a disk device, 18 is a data bus, 20
Is an address bus, 22 is a memory for holding display data,
24 is a scaling circuit for expanding or reducing the display data held in the memory 22 in real time, 26 is a scaling circuit 24
A digital-to-analog (D / A) converter for converting image data from an analog signal into an analog signal; 28, an RGB signal output terminal; 30, a command decoder; 32, an address generation circuit for generating a read address of the memory 22; A sync signal output circuit 36; a synchronizing signal SYNC output terminal 36; an output signal from the RGB output terminal 28 and the SYNC output terminal 36;
It is a display (hereinafter abbreviated as a monitor).

【0034】CPU10は、ROM12又はRAM14
上のプログラムに応じて、ディスク装置16、メモリ2
2及びコマンド・デコーダ30に対し、データの書き込
み又は読み出しを行う。ROM12には、システム起動
に必要な固定的なプログラム及びデータ、並びに各周辺
機器にアクセスするためのプログラムが、書き込まれて
いる。RAM14には、ディスク装置16からロードさ
れたプログラム及びデータが保持されている。ディスク
装置16には、オペレーティングシステム、各種アプリ
ケーションプログラム及び各種データが格納されてい
る。
The CPU 10 has a ROM 12 or a RAM 14
According to the above program, the disk device 16 and the memory 2
2 and the command decoder 30 to write or read data. In the ROM 12, fixed programs and data necessary for system startup and programs for accessing each peripheral device are written. The RAM 14 holds programs and data loaded from the disk device 16. The disk device 16 stores an operating system, various application programs, and various data.

【0035】あるアプリケーションプログラムは、画像
を表示する場合、先ず、表示すべき画像データをメモリ
22にラスタースキャン順に書き込む。次に、コマンド
・デコーダ30を経由して、読み出し開始位置、読み出
し範囲及び読み出し速度をアドレス発生回路32に設定
し、また、拡大縮小比率を拡大縮小回路24に設定す
る。
When displaying an image, an application program first writes image data to be displayed in the memory 22 in raster scan order. Next, the read start position, the read range, and the read speed are set in the address generation circuit 32 via the command decoder 30, and the enlargement / reduction ratio is set in the enlargement / reduction circuit 24.

【0036】アドレス発生回路32は、設定された読み
出し開始位置から、設定された読み出し範囲を、設定さ
れた読み出し速度で順次読み出すためのアドレスを発生
してメモリ22に印加する。これにより、メモリ22か
ら、設定された読み出し範囲の画像データが拡大縮小回
路24に読み出される。拡大縮小回路24は、メモリ2
2からの画像データを、コマンド・デコーダ30により
設定された拡大縮小比率に応じて拡大又は縮小して出力
する。
The address generation circuit 32 generates an address for sequentially reading the set read range from the set read start position at the set read speed, and applies the generated address to the memory 22. As a result, the image data in the set read range is read from the memory 22 to the scaling circuit 24. The scaling circuit 24 is a memory 2
2 is enlarged or reduced in accordance with the enlargement / reduction ratio set by the command decoder 30, and output.

【0037】拡大縮小された画像データは、D/A変換
器26によりアナログ信号に変換され、RGB信号出力
端子28からモニタ38に出力される。
The scaled image data is converted into an analog signal by a D / A converter 26 and output to a monitor 38 from an RGB signal output terminal 28.

【0038】また、アドレス発生回路32からSYNC
発生回路34にタイミング信号が出力され、SYNC発
生回路34は、入力されたタイミング信号からSYNC
信号を発生する。そのSYNC信号は、SYNC出力端
子36からモニタ38に印加される。
Further, the address generation circuit 32 outputs the SYNC
The timing signal is output to the generation circuit 34, and the SYNC generation circuit 34
Generate a signal. The SYNC signal is applied from a SYNC output terminal 36 to a monitor 38.

【0039】図2は、本実施例の動作フローチャートを
示す。表示すべきデータをメモリ22に書き込み(S
1)、コマンドデコーダ30を介してアドレス発生回路
32に読み出し開始位置、読み出し範囲及び読み出し速
度を設定する(S2)。コマンドデコーダ30を介して
拡大縮小回路24に拡大縮小倍率を設定する(S3)。
CPU10の内部のタイマ割り込みに拡大縮小を時間と
共に行うための時間間隔を設定し(S4)、タイマ割り
込みの待ち受け状態に入る(S5)。
FIG. 2 shows an operation flowchart of this embodiment. The data to be displayed is written into the memory 22 (S
1) The read start position, read range, and read speed are set in the address generation circuit 32 via the command decoder 30 (S2). The enlargement / reduction ratio is set in the enlargement / reduction circuit 24 via the command decoder 30 (S3).
A time interval for scaling up and down with time is set for a timer interrupt inside the CPU 10 (S4), and a timer interrupt waiting state is entered (S5).

【0040】S4で設定した時間経過すると、タイマ割
り込みが発生する。先ず、コマンドデコーダ30を介し
て、アドレス発生回路32の読み出し開始位置、読み出
し範囲及び読み出し速度を更新し(S6)、拡大縮回路
24の拡大縮小倍率を更新する(S7)。
When the time set in S4 elapses, a timer interrupt occurs. First, the read start position, read range, and read speed of the address generation circuit 32 are updated via the command decoder 30 (S6), and the enlargement / reduction ratio of the enlargement / reduction circuit 24 is updated (S7).

【0041】所望の最終倍率に達したか否かを判断し
(S8)、最終倍率に達している時には、終了する。最
終倍率に達していない時には、再度、タイマ割り込み待
ちになり(S9)、タイマ割り込みにより最終倍率に到
達するまでS6,S7を繰り返す。
It is determined whether or not the desired final magnification has been reached (S8). If the final magnification has been reached, the process ends. If the final magnification has not been reached, a timer interrupt wait is made again (S9), and S6 and S7 are repeated until the final magnification is reached by the timer interruption.

【0042】図3は、本実施例の表示画像の一例の模式
図を示す。40は、メモリ22に記憶される画像の全体
を示す。横方向をx軸、縦方向をy軸として、左上の座
標を(x0,y0)、右下の座標を(x3,y3)とす
る。メモリ40に記憶された人物像42を囲む矩形領域
(x1,y1)〜(x2,y2)を、画面全体に拡大し
たいとする。
FIG. 3 is a schematic diagram showing an example of a display image according to the present embodiment. Reference numeral 40 denotes the entire image stored in the memory 22. The horizontal direction is the x axis, the vertical direction is the y axis, the upper left coordinate is (x0, y0), and the lower right coordinate is (x3, y3). It is assumed that a rectangular area (x1, y1) to (x2, y2) surrounding the human image 42 stored in the memory 40 is to be enlarged to the entire screen.

【0043】最初は、拡大縮小回路24には1倍の倍率
が設定され、モニタ38の画面には、符号44に示すよ
うに、メモリ22に記憶される画像がそのまま表示さ
れ、人物像42aは、メモリ22に記憶される人物像4
2に対して理論的に等倍になっている。
At first, a magnification of 1 is set in the enlargement / reduction circuit 24, and the image stored in the memory 22 is displayed as it is on the screen of the monitor 38 as shown by reference numeral 44, and the person image 42a is displayed. , The human image 4 stored in the memory 22
It is theoretically equal to 1 for 2.

【0044】矩形領域(x1,y1)〜(x2,y2)
を画面全体に拡大する倍率が拡大縮小回路24に設定さ
れると、モニタ38の画面には、符号46に示すよう
に、メモリ22の矩形領域(x1,y1)〜(x2,y
2)内の画像が拡大されてフル画面に表示され、人物像
42も符号42bに示すように拡大して表示される。こ
のとき、最終的な目標となる読み出し開始位置は(x
1,y1)であり、読み出し範囲は、横方向がx1〜x
2、縦方向がy1〜y2に設定される。読み出し速度
は、倍率の逆数になる。即ち、2倍の場合、1/2、つ
まり、通常、2画素分アドレスが進むところを1画素分
のみアドレスが進む速度になる。
Rectangular areas (x1, y1) to (x2, y2)
Is set in the enlargement / reduction circuit 24, the rectangular area (x1, y1) to (x2, y) of the memory 22 is displayed on the screen of the monitor 38, as indicated by reference numeral 46.
The image in 2) is enlarged and displayed on the full screen, and the human image 42 is also enlarged and displayed as indicated by reference numeral 42b. At this time, the final target read start position is (x
1, y1), and the reading range is x1 to x in the horizontal direction.
2. The vertical direction is set to y1 to y2. The reading speed is the reciprocal of the magnification. In other words, in the case of twice, the speed is ア ド レ ス, that is, the speed at which the address advances by only one pixel while the address normally advances by two pixels.

【0045】メモリ40の記憶画像の全体から矩形領域
(x1,y1)〜(x2,y2)に向けて、別に決めた
時間間隔で、読み出し開始位置、読み出し範囲、読み出
し速度及び拡大縮小倍率を変化させることにより、例え
ば、画面44から画面46に連続的に変化させることが
できる。
The read start position, read range, read speed, and enlargement / reduction ratio are changed at separately determined time intervals from the entire image stored in the memory 40 to the rectangular areas (x1, y1) to (x2, y2). By doing so, for example, it is possible to continuously change from the screen 44 to the screen 46.

【0046】図4は、拡大縮小回路24の概略構成ブロ
ック図を示す。50はメモリ22からのデータが入力す
るデータ入力端子、52は、アドレス発生回路32から
の同期パルスが入力する同期パルス入力端子、54はコ
マンドデコーダ30からの拡大縮小倍率kが入力する倍
率入力端子、56はアドレス発生回路32からの画素ク
ロックが入力するクロック入力端子、58は、入力端子
52,54,56から入力する同期パルス、倍率及びク
ロックから、水平画素シフト信号Ssh、水平補間係数
Sch、ライン・シフト信号Ssv及び垂直補間係数S
cvを発生する係数発生回路、60,62,64は、水
平画素シフト信号Sshに応じて水平方向にデータを保
持及びシフトする1画素遅延回路、88,90,92
は、ライン・シフト信号Ssvに応じてライン方向にデ
ータを保持及びシフトする1ライン遅延回路、66,7
2,78,84,94,100,106,112は減算
器、68,74,80,86,96,102,108,
114は乗算器、70,76,82,98,104,1
10は加算器、116は、拡大又は縮小されたデータを
D/A変換器26へ出力する出力端子である。
FIG. 4 is a block diagram showing a schematic configuration of the enlargement / reduction circuit 24. 50 is a data input terminal to which data from the memory 22 is inputted, 52 is a synchronous pulse input terminal to which a synchronous pulse from the address generating circuit 32 is inputted, and 54 is a magnification input terminal to which the enlargement / reduction magnification k from the command decoder 30 is inputted. , 56 are clock input terminals to which a pixel clock from the address generation circuit 32 is input, and 58 is a horizontal pixel shift signal Ssh, a horizontal interpolation coefficient Sch, based on a synchronization pulse, a magnification and a clock input from the input terminals 52, 54, 56. Line shift signal Ssv and vertical interpolation coefficient S
The coefficient generation circuits 60, 62 and 64 for generating cv are one-pixel delay circuits for holding and shifting data in the horizontal direction according to the horizontal pixel shift signal Ssh, and 88, 90 and 92.
Is a one-line delay circuit for holding and shifting data in the line direction according to the line shift signal Ssv, 66, 7
2,78,84,94,100,106,112 are subtractors, 68,74,80,86,96,102,108,
114 is a multiplier, 70, 76, 82, 98, 104, 1
Reference numeral 10 denotes an adder, and 116 denotes an output terminal for outputting the enlarged or reduced data to the D / A converter 26.

【0047】データ入力端子50から入力したデータ
は、1画素遅延回路60,62,64により1画素分つ
づ遅延される。遅延回路60の入力をShと表記し、
遅延回路60,62,64の出力をそれぞれS
n−1,Shn−2,Shn−3と表記する。減算器
66はShからShn−3を減算し、乗算器68は減
算器66の出力Sh−Shn−3に係数発生回路58
からの水平補間係数Schを乗算する。加算器70は、
乗算器68の出力(Sh−Shn−3)×SchにS
n−3を加算する。加算器68の出力をPhと表記
すると、Phは下記式で表わされる。即ち、 Ph=(Sh−Shn−3)×Sch+Shn−3 =Sh×Sch+(1−Sch)×Shn−3 Phは、ShとShn−3をSchにより1次補間
した値になる。
Data input from data input terminal 50
Is divided by one pixel by the one-pixel delay circuits 60, 62 and 64.
Is delayed. Set the input of the delay circuit 60 to ShnNotation,
The outputs of the delay circuits 60, 62, 64 are S
hn-1, Shn-2, Shn-3Notation. Subtractor
66 is ShnFrom Shn-3, And the multiplier 68 decreases
Output Sh of the arithmetic unit 66n-Shn-3Coefficient generating circuit 58
Is multiplied by the horizontal interpolation coefficient Sch. The adder 70
The output of the multiplier 68 (Shn-Shn-3) × S for S
h n-3Is added. The output of the adder 68 is PhnAnd notation
Then PhnIs represented by the following equation. That is, Phn= (Shn-Shn-3) × Sch + Shn-3  = Shn× Sch + (1-Sch) × Shn-3  PhnIs ShnAnd Shn-3Primary interpolation by Sch
Value.

【0048】減算器72は、Shn−1からShn−2
を減算し、乗算器74が、減算器72の出力Shn−1
−Shn−2に水平補間係数Schを乗算し、加算器7
6が乗算器74の出力(Shn−1−Shn−2)×S
chにShn−2を加算する。加算器76の出力をPh
n−1と表記すると、Phn−1は下記式で表わされ
る。即ち、 Phn−1=Shn−1×Sch+(1−Sch)×S
n−2 Phn−1は、Shn−1とShn−2をSchにより
1次補間した値になる。
The subtractor 72 has a function of Shn-1From Shn-2
And the multiplier 74 outputs the output Sh of the subtractor 72.n-1
-Shn-2Is multiplied by a horizontal interpolation coefficient Sch.
6 is the output of the multiplier 74 (Shn-1-Shn-2) × S
Sh to chn-2Is added. The output of the adder 76 is Ph
n-1Notation, Phn-1Is represented by the following equation
You. That is, Phn-1= Shn-1× Sch + (1-Sch) × S
hn-2  Phn-1Is Shn-1And Shn-2By Sch
It becomes the value obtained by primary interpolation.

【0049】減算器78は、Phn−1からPhを減
算する。乗算器86は、水平補間係数Schを2乗し、
減算器84が水平補間係数Schから乗算器86の出力
Schを減算する。乗算器80は、減算器78の出力
Phn−1−Phに減算器84の出力Sch−Sch
を乗算し、加算器82が、乗算器80の出力(Ph
n−1−Ph)×(Sch−Sch)に加算器76
の出力Phn−1を加算する。加算器82の出力をSh
oと表記すると、Shoは下記式で表わされる。即ち、 Sho=(Sch−Sch)×Ph+(1+Sch
−Sch)×Ph −1 Shoは、PhとPhn−1を(Sch−Sch
により1次補間した値になる。
The subtractor 78 calculates the value of Phn-1From PhnReduced
Calculate. The multiplier 86 squares the horizontal interpolation coefficient Sch,
The subtractor 84 outputs the output of the multiplier 86 from the horizontal interpolation coefficient Sch.
Sch2Is subtracted. The multiplier 80 outputs the output of the subtractor 78
Phn-1-PhnOutput Sch-Sch of the subtractor 84
2, And the adder 82 outputs the output of the multiplier 80 (Ph
n-1-Phn) × (Sch-Sch2) To adder 76
Output Phn-1Is added. The output of the adder 82 is
When expressed as o, Sho is represented by the following equation. That is, Sho = (Sch−Sch2) × Phn+ (1 + Sch
-Sch2) × Phn -1  Sho is PhnAnd Phn-1To (Sch-Sch2)
To obtain a value obtained by primary interpolation.

【0050】次に、加算器82の出力Shoは、1ライ
ン遅延回路88,90,92により1ラインずつ遅延さ
れる。遅延回路88の入力(即ち、加算器82の出力)
をSvと表記し、遅延回路88,90,92の出力を
それぞれSvn−1,Sv −2,Svn−3と表記す
ることにする。減算器94は、加算器82の出力Sv
から遅延回路92の出力Svn−3を減算し、乗算器9
6が、減算器94の出力Sv−Svn−3に係数発生
回路58からの垂直補間係数Scvを乗算し、更に、加
算器98が、乗算器96の出力(Sv−Svn−3
×ScvにSv n−3を加算する。加算器98の出力
(Sv−Svn−3)×Scv+Sv −3をPv
と表記する。
Next, the output Sho of the adder 82 is one line.
Delay lines 88, 90, and 92 one line at a time.
It is. Input of delay circuit 88 (that is, output of adder 82)
To SvnAnd the outputs of the delay circuits 88, 90, 92
Each Svn-1, Svn -2, Svn-3Notation
I will do it. The subtracter 94 outputs the output Sv of the adder 82. n
To the output Sv of the delay circuit 92n-3And a multiplier 9
6 is the output Sv of the subtractor 94n-Svn-3Coefficient generation
The vertical interpolation coefficient Scv from the circuit 58 is multiplied.
The arithmetic unit 98 outputs the output (Svn-Svn-3)
× Scv to Scv n-3Is added. Output of adder 98
(Svn-Svn-3) × Scv + Svn -3To Pvn
Notation.

【0051】また、減算器100は、Svn−1からS
n−2を減算し、乗算器102が、減算器100の出
力Svn−1−Svn−2に垂直補間係数Scvを乗算
し、加算器104が、乗算器102の出力(Svn−1
−Svn−2)×ScvにSvn−2を加算する。加算
器104の出力をPvn−1と表記することにする。
Further, the subtractor 100 calculates Sv n−1 to S
v the n-2 subtracted, multiplier 102, multiplied by the vertical interpolation coefficient Scv output Sv n-1 -Sv n-2 of the subtracter 100, the adder 104, the output of the multiplier 102 (Sv n- 1
−Sv n−2 ) × Scv and Sv n−2 . The output of the adder 104 will be denoted as Pvn-1.

【0052】減算器106は、加算器104の出力Pv
n−1から加算器98の出力Pvを減算する。乗算器
114は、垂直補間係数Scvを2乗し、減算器112
が垂直補間係数Scvから乗算器114の出力Scv
を減算する。乗算器108は、減算器106の出力Pv
n−1−Pvに減算器112の出力Scv−Scv
を乗算し、加算器110が、乗算器108の出力(Pv
n−1−Pv)×(Scv−Scv)に加算器10
4の出力Pvn−1を加算する。加算器110の出力は
水平及び垂直方向に拡大又は縮小された信号Soであ
り、出力端子116からA/D変換器26に印加され
る。
The subtracter 106 outputs the output Pv of the adder 104
n-1From the output Pv of the adder 98nIs subtracted. Multiplier
114 squares the vertical interpolation coefficient Scv,
Is the output Scv of the multiplier 114 from the vertical interpolation coefficient Scv.2
Is subtracted. The multiplier 108 outputs the output Pv of the subtractor 106
n-1-PvnThe output Scv-Scv of the subtractor 112 2
, And the adder 110 outputs the output (Pv
n-1-Pvn) × (Scv−Scv)2) To adder 10
Output Pv of 4n-1Is added. The output of adder 110 is
The signal So expanded or reduced in the horizontal and vertical directions.
Applied from the output terminal 116 to the A / D converter 26.
You.

【0053】図5は、係数発生回路58が発生する水平
補間係数Schと水平画素シフト信号Sshの関係を示
す図である。拡大縮小回路24は、倍率入力端子154
から入力するに拡大縮小倍率kに従い、ある時間t1の
画素Shoの位置が入力端子50に入力するデータSi
の画素Shn−1と画素Shn−2の間にある時、画素
Shoのデータ値を、画素Shoの前後2つずつ合計4
つの画素から補間して求める。係数発生回路58は、S
hoからShn−2までの距離を、Shn−1からSh
n−2までの距離で割った値を水平補間係数Schとす
る。即ち、 Sch=(Shn−2−Sho)/(Shn−2−Sh
n−1) と表される。
FIG. 5 is a diagram showing the relationship between the horizontal interpolation coefficient Sch generated by the coefficient generation circuit 58 and the horizontal pixel shift signal Ssh. The enlargement / reduction circuit 24 includes a magnification input terminal 154.
The position of the pixel Sho at a certain time t1 is input to the input terminal 50 in accordance with the data Si input according to the scaling factor k.
When the pixel value is between the pixel Sh n-1 and the pixel Sh n-2 , the data value of the pixel Sh
Interpolated from two pixels. The coefficient generation circuit 58 calculates S
The distance from ho to Sh n-2 is calculated from Sh n-1 to Sh n-2.
The value obtained by dividing the distance up to n-2 is defined as a horizontal interpolation coefficient Sch. That is, Sch = (Sh n−2 −Sh) / (Sh n−2 −Sh)
n-1 ).

【0054】次の時間t2では、画素Shoが画素Sh
n−2とShn−3の間に位置する。この場合、係数発
生回路58は水平画素シフト信号Sshを発生して、S
−1、Shn−2及びShn−3をシフトする。S
については、アドレス発生回路32から発生される
アドレスによりメモリ22から次の画素のデータを読み
出すことで、同様にシフトされる。
At the next time t2, the pixel Sho becomes the pixel Sh.
n-2 and Sh n-3 . In this case, the coefficient generation circuit 58 generates a horizontal pixel shift signal Ssh,
h n -1, shifting Sh n-2 and Sh n-3. S
For h n, by reading from the memory 22 by the address generated from the address generating circuit 32 the data of the next pixel are shifted in the same manner.

【0055】その次の時間t3では、画素Shoがは、
t2の時と変わらずShn−2とShn−3の間に位置
するので、この時、係数発生回路58は水平シフト信号
Sshを発生しない。
At the next time t3, the pixel Sho becomes:
Since it is located between Sh n−2 and Sh n−3 as in t2, the coefficient generation circuit 58 does not generate the horizontal shift signal Ssh at this time.

【0056】係数発生回路58は、このように水平補間
係数Sch及び水平シフト信号Sshを発生し、これら
に応じて、Sh,Shn−1,Shn−2及びSh
n−3の4つのデータからデータShoが補間される。
The coefficient generating circuit 58 generates the horizontal interpolation coefficient Sch and the horizontal shift signal Ssh in this manner, and according to these, Sh n , Sh n−1 , Sh n−2 and Sh n−2.
Data Sho is interpolated from the n-3 data.

【0057】垂直方向についても、基本的に同じ動作に
なるので、詳細な説明を省略する。Sv,S
n−1,Svn−2,Svn−3の4つのデータか
ら、垂直補間係数Scvに応じて出力データSoが補間
される。
Since the operation is basically the same in the vertical direction, detailed description is omitted. Sv n, S
Output data So is interpolated from the four data vn -1 , Svn -2 , and Svn -3 according to the vertical interpolation coefficient Scv.

【0058】図6は、本発明の第2実施例の概略構成ブ
ロック図を示す。図1と同じ構成要素には同じ符号を付
してある。
FIG. 6 is a schematic block diagram of a second embodiment of the present invention. The same components as those in FIG. 1 are denoted by the same reference numerals.

【0059】120は拡大縮小する前の画像を記憶する
メモリ、122は拡大縮小した後の画像データを記憶す
るメモリ、124は、メモリ120の読み出しアドレス
及びメモリ122の書き込みアドレスを発生するアドレ
ス発生回路、126はメモリ122の読み出しアドレス
を発生するアドレス発生回路である。
Reference numeral 120 denotes a memory for storing an image before scaling, 122 a memory for storing image data after scaling, and 124 an address generation circuit for generating a read address of the memory 120 and a write address of the memory 122. , 126 are address generation circuits for generating a read address of the memory 122.

【0060】図6に示す実施例の動作を説明する。ある
アプリケーション・プログラムが画像を表示する場合
は、先ず、メモリ122に背最となる画像データをラス
タースキャン順に書き込み、次に、拡大縮小する画像デ
ータをメモリ120に書き込む。そして、コマンドデコ
ーダ30を介して、アドレス発生回路124にメモリ1
20の読み出し速度とメモリ122への書き込み範囲を
設定し、また、拡大縮小回路24に拡大縮小比率を設定
する。
The operation of the embodiment shown in FIG. 6 will be described. When an application program displays an image, first, the image data to be tallest is written to the memory 122 in the raster scan order, and then the image data to be enlarged or reduced is written to the memory 120. Then, the memory 1 is stored in the address generation circuit 124 via the command decoder 30.
A read speed of 20 and a writing range to the memory 122 are set, and a scaling ratio is set in the scaling circuit 24.

【0061】アドレス発生回路124は、設定された読
み出し速度でメモリ120のデータを順次読み出すため
の読み出しアドレスを発生してメモリ120に供給し、
同時に、拡大縮小回路24から出力される拡大縮小され
たデータをメモリ122の設定範囲に書き込むための書
き込みアドレスを発生してメモリ122に供給する。メ
モリ120は、アドレス発生回路124からの読み出し
アドレスに応じて記憶データを拡大縮小回路24に読み
出す。
The address generation circuit 124 generates a read address for sequentially reading data from the memory 120 at the set read speed and supplies the read address to the memory 120.
At the same time, a write address for writing the scaled data output from the scaling circuit 24 to a set range of the memory 122 is generated and supplied to the memory 122. The memory 120 reads the stored data to the scaling circuit 24 according to the read address from the address generation circuit 124.

【0062】拡大縮小回路24は、コマンドデコーダ3
0により設定された拡大縮小比率に応じて、メモリ12
0からのデータを拡大又は縮小してメモリ122に出力
する。メモリ122は、拡大縮小回路24の出力データ
を、先に記憶する背景上で、アドレス発生回路124の
発生する書き込みアドレスで指定される位置に書き込
む。これにより、先に記憶する背景上に、拡大縮小回路
24で変倍された画像が上書き式に合成される。
The scaling circuit 24 includes a command decoder 3
0 according to the enlargement / reduction ratio set by 0.
The data from 0 is enlarged or reduced and output to the memory 122. The memory 122 writes the output data of the enlargement / reduction circuit 24 at a position specified by the write address generated by the address generation circuit 124 on the background to be stored first. As a result, the image scaled by the scaling circuit 24 is overwritten on the previously stored background.

【0063】このようにメモリ122上で合成された画
像は、アドレス発生回路126が発生する読み出しアド
レスに従って順次、A/D変換器26に読み出され、ア
ナログ信号に変換されてRGB信号出力端28からモニ
タ38に印加される。
The image synthesized on the memory 122 is sequentially read out to the A / D converter 26 in accordance with the read address generated by the address generation circuit 126, converted into an analog signal, and converted to an RGB signal output terminal 28. To the monitor 38.

【0064】図1の場合と同様に、アドレス発生回路1
26からSYNC発生回路34にタイミング信号が出力
され、SYNC発生回路34は、入力されたタイミング
信号からSYNC信号を発生する。そのSYNC信号
は、SYNC出力端子36からモニタ38に印加され
る。
As in the case of FIG. 1, the address generation circuit 1
A timing signal is output from 26 to a SYNC generation circuit 34, and the SYNC generation circuit 34 generates a SYNC signal from the input timing signal. The SYNC signal is applied from a SYNC output terminal 36 to a monitor 38.

【0065】図7は、図6に示す実施例の動作フローチ
ャートを示す。背景データをメモリ122に書き込み
(S11)、拡大縮小する画像データをメモリ120に
書き込む(S12)。コマンドデコーダ30を介して、
メモリ120の読み出し速度並びにメモリ122の書き
込み開始位置及び書き込み範囲をアドレス発生回路12
4に設定する(S13)。コマンドデコーダ30を介し
て拡大縮小回路24に拡大縮小倍率を設定する(S1
4)。CPU10の内部のタイマ割り込みに拡大縮小を
時間と共に行うための時間間隔を設定し(S15)、タ
イマ割り込みの待ち受け状態に入る(S16)。
FIG. 7 is a flowchart showing the operation of the embodiment shown in FIG. The background data is written into the memory 122 (S11), and the image data to be enlarged or reduced is written into the memory 120 (S12). Via the command decoder 30,
The read speed of the memory 120 and the write start position and write range of the memory 122 are determined by the address generation circuit 12.
4 (S13). The enlargement / reduction ratio is set in the enlargement / reduction circuit 24 via the command decoder 30 (S1).
4). A time interval for scaling up and down with time is set for a timer interrupt inside the CPU 10 (S15), and a standby state for the timer interrupt is entered (S16).

【0066】S14で設定した時間経過すると、タイマ
割り込みが発生する。先ず、コマンドデコーダ30を介
して、メモリ122の書き込み開始位置及び書き込み範
囲並びにメモリ120の読み出し速度を更新し(S1
7)、拡大縮回路24の拡大縮小倍率を更新する(S1
8)。所望の最終倍率に達したか否かを判断し(S1
9)、最終倍率に達している時には、終了する。最終倍
率に達していない時には、再度、タイマ割り込み待ちに
なり(S20)、タイマ割り込みにより最終倍率に到達
するまでS16,S18を繰り返す。
When the time set in S14 elapses, a timer interrupt occurs. First, the write start position and write range of the memory 122 and the read speed of the memory 120 are updated via the command decoder 30 (S1).
7), the scaling factor of the scaling circuit 24 is updated (S1).
8). It is determined whether or not a desired final magnification has been reached (S1).
9) When the final magnification has been reached, the process ends. When the final magnification has not been reached, the timer interrupt is again waited for (S20), and S16 and S18 are repeated until the final magnification is reached by the timer interruption.

【0067】図8は、図6に示す実施例の画面の一例を
示す模式図である。130は、メモリ120の記憶デー
タ領域を示し、そこに、人物画像132がCPU10に
より書き込まれている。134は、メモリ122の記憶
データ領域を示し、そこに背景画像136がCPU10
により書き込まれている。
FIG. 8 is a schematic diagram showing an example of the screen of the embodiment shown in FIG. Reference numeral 130 denotes a storage data area of the memory 120, in which a person image 132 is written by the CPU 10. Reference numeral 134 denotes a storage data area of the memory 122, in which a background image 136 is stored.
Is written.

【0068】メモリ122の記憶データ領域134の矩
形領域138には、メモリ120から読み出されて拡大
縮小回路24により拡大縮小された画像が格納される。
拡大縮小回路24の倍率は1倍であり、メモリ120に
記憶される画像132が、符号132aに示すように、
その大きさでメモリ122の矩形領域138に転記され
ている。
In the rectangular area 138 of the storage data area 134 of the memory 122, an image read from the memory 120 and scaled by the scaling circuit 24 is stored.
The magnification of the scaling circuit 24 is 1 and the image 132 stored in the memory 120 is
The size is transferred to the rectangular area 138 of the memory 122.

【0069】140は、メモリ122の記憶データ領域
であるが、メモリ120に記憶される画像130が、拡
大されて記憶データ量域140内に転記される。点線で
囲む矩形領域141は、メモリ120のデータ記憶領域
130を拡大縮小回路24の拡大率で拡大して、メモリ
122の記憶領域140に重ねたものである。背景画像
136の大きさは変化せずに、人物画像132bのみが
拡大していることが分かる。
Reference numeral 140 denotes a storage data area of the memory 122. The image 130 stored in the memory 120 is enlarged and transcribed into the storage data amount area 140. A rectangular area 141 surrounded by a dotted line is obtained by enlarging the data storage area 130 of the memory 120 at the enlargement ratio of the enlargement / reduction circuit 24 and overlapping the storage area 140 of the memory 122. It can be seen that the size of the background image 136 does not change and only the person image 132b is enlarged.

【0070】次に、高画質補間を実現する本発明の実施
例を説明する。図14は、水平方向の4画素による水平
補間装置の実施例の概略構成ブロック図を示す。
Next, an embodiment of the present invention for realizing high image quality interpolation will be described. FIG. 14 is a schematic block diagram of an embodiment of a horizontal interpolation device using four pixels in the horizontal direction.

【0071】フィールドメモリ252には、入力端子2
50から所定サンプリング周波数(例えば、撮像素子に
より決定されるサンプリング周波数)の画像データSが
入力し、1フィールド分が記憶される。メモリ読み出し
回路256は、メモリ読み出し回路216と同様に、ズ
ーム比入力端子254からのズーム比設定値zoomに
従って補間画素位置を連続的に決定し、フィールド・メ
モリ252の原画像データのうち補間画素位置の直後の
画素データSを出力するように、フィールドメモリ2
52に読み出し制御信号Crを供給する。
The field memory 252 has an input terminal 2
Image data S having a predetermined sampling frequency (for example, a sampling frequency determined by an image sensor) is input from 50, and one field is stored. The memory readout circuit 256 continuously determines the interpolation pixel position according to the zoom ratio setting value zoom from the zoom ratio input terminal 254, similarly to the memory readout circuit 216, and determines the interpolation pixel position in the original image data of the field memory 252. to output the pixel data S n immediately after the field memories 2
52, a read control signal Cr is supplied.

【0072】ズーム比設定値zoomは、図10に示す
従来例と同様に、ズームの分解能が8ビットの場合にズ
ーム比Rを R=256/(256+zoom) とするような値である。zoomが正の整数値を取れ
ば、画像は縮小され、負の整数値を取れば、画像は拡大
される。
The zoom ratio setting value zoom is a value that sets the zoom ratio R to R = 256 / (256 + zoom) when the zoom resolution is 8 bits, as in the conventional example shown in FIG. If zoom takes a positive integer value, the image is reduced, and if it takes a negative integer value, the image is enlarged.

【0073】係数発生回路260は、更新制御端子25
8からの更新制御信号incに従い、ズーム比設定値z
oomの絶対値を累積加算して原サンプリング画素位置
と補間画素位置との距離を示す係数kを計算する。係数
発生回路260はまた、係数kの累積加算過程でキャリ
ーが発生した時に、hold信号をフィールド・メモリ
252及び遅延回路262,264,266に印加す
る。係数発生回路260の機能及び構成は、係数発生回
路220と全く同じでよい。
The coefficient generation circuit 260 is connected to the update control terminal 25
8 according to the update control signal inc from
The absolute value of oom is cumulatively added to calculate a coefficient k indicating the distance between the original sampling pixel position and the interpolation pixel position. The coefficient generating circuit 260 also applies a hold signal to the field memory 252 and the delay circuits 262, 264, 266 when a carry occurs in the process of accumulating the coefficient k. The function and configuration of the coefficient generation circuit 260 may be exactly the same as those of the coefficient generation circuit 220.

【0074】フィールドメモリ252は、読み出し制御
信号Crによって指示された画素データSを読み出
す。読み出された画素データは、シリアルに接続された
遅延回路262,264,266により、順次、原サン
プリング周波数の1クロック分だけ遅延される。遅延回
路262,264,266は各遅延データを同時に出力
する。遅延回路262,264,266の出力をそれぞ
れ、画素データSn−1,Sn−2,Sn−3をと表記
する。
[0074] field memory 252 reads the pixel data S n instructed by the read control signal Cr. The read pixel data is sequentially delayed by one clock of the original sampling frequency by serially connected delay circuits 262, 264, and 266. The delay circuits 262, 264, and 266 simultaneously output the respective delay data. Outputs of the delay circuits 262, 264, and 266 are represented as pixel data Sn -1 , Sn-2 , and Sn-3 , respectively.

【0075】乗算器268は、係数発生回路260から
出力される係数kを2乗し、乗算器270は乗算器26
8の出力に係数kを更に乗算する。係数発生回路260
の出力k、乗算器268の出力k及び乗算器270の
出力kは、係数発生回路272,274,276,2
78に印加される。係数発生回路272,274,27
6,278はそれぞれ、補間画素値S’を原画素データ
,Sn−1,S −2,Sn−3及び係数kから3
次多項式により近似する場合の、原画素データS,S
n−1,Sn−2,Sn−3に対応する補間係数k
,k,k を発生する。これらの係数k
,k,kは、k, k及びkから簡単な数
式で算出できる。
The multiplier 268 receives the signal from the coefficient generation circuit 260
The output coefficient k is squared, and the multiplier 270
The output of 8 is further multiplied by a coefficient k. Coefficient generation circuit 260
Output k of the multiplier 2682And the multiplier 270
Output k3Are the coefficient generation circuits 272, 274, 276, 2
78. Coefficient generation circuits 272, 274, 27
6 and 278 respectively represent the interpolation pixel value S ′ as the original pixel data.
Sn, Sn-1, Sn -2, Sn-3And from coefficient k to 3
Original pixel data S when approximated by the degree polynomialn, S
n-1, Sn-2, Sn-3Interpolation coefficient k corresponding to0,
k1, K2, K 3Occurs. These coefficients k0,
k1, K2, K3Is k, k2And k3Easy number from
It can be calculated by the formula.

【0076】乗算器280は、遅延回路266の出力S
n−3に係数kを乗算し、乗算器282は、遅延回路
264の出力Sn−2に係数kを乗算し、乗算器28
4は、遅延回路262の出力Sn−1に係数kを乗算
し、乗算器286は、メモリ252の出力Sに係数k
を乗算する。加算器288は乗算器280,282の
出力を加算し、加算器290は加算器288の出力に乗
算器284の出力を乗算し、加算器292は加算器29
0の出力に乗算器286の出力を加算する。加算器29
2の出力が補間画素値S’であり、外部に出力される。
The multiplier 280 outputs the output S of the delay circuit 266.
The coefficient k 3 is multiplied by n-3, multiplier 282 multiplies the coefficient k 2 to the output S n-2 of the delay circuit 264, the multiplier 28
4 multiplies the coefficient k 1 to the output S n-1 of the delay circuit 262, multiplier 286, coefficient output S n of the memory 252 k
Multiply by zero . The adder 288 adds the outputs of the multipliers 280 and 282, the adder 290 multiplies the output of the adder 288 by the output of the multiplier 284, and the adder 292 adds
The output of the multiplier 286 is added to the output of 0. Adder 29
The output of No. 2 is the interpolated pixel value S ', which is output to the outside.

【0077】図15は、画素データS,Sn−1,S
n−2,Sn−3と補間画素S’との関係を示す。
FIG. 15 shows the pixel data S n , S n−1 , S
The relationship between n-2 and Sn -3 and the interpolated pixel S 'is shown.

【0078】フィールドメモリ252の動作は、従来例
のフィールドメモリ212と同じである。また、遅延回
路262,264,266の構成は、従来例の遅延回路
224と全く同じである。
The operation of the field memory 252 is the same as that of the conventional field memory 212. The configurations of the delay circuits 262, 264, and 266 are exactly the same as those of the conventional delay circuit 224.

【0079】係数発生回路272,274,276,2
78の構成を図16に示す。これらの係数発生回路27
2,274,276,278で得られる補間係数k
(x=0,1,2,3)は、補間フィルタの所望の周
波数特性をフーリエ変換して得られる時間特性を3次関
数 k=ak+bk+ck+d で近似して得られるものである。
Coefficient generation circuits 272, 274, 276, 2
The configuration of 78 is shown in FIG. These coefficient generating circuits 27
Interpolation coefficient k obtained by 2,274,276,278
x (x = 0, 1, 2, 3) is obtained by approximating a time characteristic obtained by Fourier-transforming a desired frequency characteristic of the interpolation filter by a cubic function k x = ak 3 + bk 2 + ck + d. is there.

【0080】こうして得られた水平補間画素データS’
の応答特性を図17に示す。参考のため、2画素線形補
間による従来例の応答特性も図示した。図17から分か
るように、線形補間と比べて帯域内のレスポンスが大幅
に向上しており、高解像度の拡大・縮小画像を提供でき
る。
The horizontal interpolation pixel data S 'thus obtained
FIG. 17 shows the response characteristics of. For reference, the response characteristics of the conventional example using two-pixel linear interpolation are also shown. As can be seen from FIG. 17, the response in the band is significantly improved as compared with the linear interpolation, and a high-resolution enlarged / reduced image can be provided.

【0081】図18は、垂直補間装置の実施例の概略構
成ブロック図を示す。この実施例では、補間画素値を算
出するのに、垂直方向の近傍の4画素を使用する。図1
4に示す実施例の遅延回路262,264,266に対
応する遅延回路322,324,326の遅延量が1水
平ラインになっている点が、図14に示す実施例と異な
る。
FIG. 18 is a block diagram showing a schematic configuration of an embodiment of the vertical interpolation device. In this embodiment, four pixels near the vertical direction are used to calculate the interpolated pixel value. FIG.
14 differs from the embodiment shown in FIG. 14 in that the delay amounts of the delay circuits 322, 324, 326 corresponding to the delay circuits 262, 264, 266 of the embodiment shown in FIG.

【0082】フィールドメモリ312には、入力端子3
10から所定サンプリング周波数の画像データS(例え
ば、図14に示す水平補間装置により水平方向で補間さ
れた画素データS’)が入力し、1フィールド分が記憶
される。メモリ読み出し回路316は、メモリ読み出し
回路216,256と同様に、ズーム比入力端子314
からのズーム比設定値zoomに従って補間画素位置を
連続的に決定し、フィールド・メモリ312の原画像デ
ータのうち補間画素位置の直後の画素データS を出力
するように、フィールドメモリ312に読み出し制御信
号Crを供給する。
The field memory 312 has an input terminal 3
10 to image data S of a predetermined sampling frequency (for example,
For example, the horizontal interpolation device shown in FIG.
Pixel data S ') is input and one field is stored.
Is done. The memory read circuit 316 reads the memory
Similar to the circuits 216 and 256, the zoom ratio input terminal 314
The interpolation pixel position according to the zoom ratio setting value zoom from
It is determined continuously and the original image data in the field memory 312 is determined.
Pixel data S immediately after the interpolation pixel position in the data nOutput
Read control signal to the field memory 312
No. Cr is supplied.

【0083】ズーム比設定値zoomは、図10に示す
従来例及び図14に示す実施例と同様に、ズームの分解
能が8ビットの場合にズーム比Rを R=256/(256+zoom) とするような値である。zoomが正の整数値を取れ
ば、画像は縮小され、負の整数値を取れば、画像は拡大
される。
The zoom ratio setting value zoom is set to be R = 256 / (256 + zoom) when the zoom resolution is 8 bits, as in the conventional example shown in FIG. 10 and the embodiment shown in FIG. Value. If zoom takes a positive integer value, the image is reduced, and if it takes a negative integer value, the image is enlarged.

【0084】係数発生回路320は、更新制御端子31
8からの更新制御信号incに従い、ズーム比設定値z
oomの絶対値を累積加算して原サンプリング画素位置
と補間画素位置との距離を示す係数kを計算する。係数
発生回路320はまた、係数kの累積加算過程でキャリ
ーが発生した時に、hold信号をフィールド・メモリ
312及び遅延回路322,324,326に印加す
る。係数発生回路320の機能及び構成は、係数発生回
路220,260と全く同じである。
The coefficient generation circuit 320 is connected to the update control terminal 31
8 according to the update control signal inc from
The absolute value of oom is cumulatively added to calculate a coefficient k indicating the distance between the original sampling pixel position and the interpolation pixel position. The coefficient generation circuit 320 also applies a hold signal to the field memory 312 and the delay circuits 322, 324, 326 when a carry occurs in the process of accumulating the coefficient k. The function and configuration of the coefficient generation circuit 320 are exactly the same as those of the coefficient generation circuits 220 and 260.

【0085】フィールドメモリ312は、読み出し制御
信号Crによって指示された画素データSを読み出
す。読み出された画素データは、シリアルに接続された
遅延回路322,324,326により、順次、入力画
像データSの1水平ライン分だけ遅延される。遅延回路
322,324,326は各遅延データを同時に出力す
る。遅延回路322、324、326の出力をそれぞ
れ、画素データSn−1,Sn−2,Sn−3をと表記
する。
[0085] field memory 312 reads the pixel data S n instructed by the read control signal Cr. The read pixel data is sequentially delayed by one horizontal line of the input image data S by serially connected delay circuits 322, 324, and 326. The delay circuits 322, 324, and 326 output respective delay data at the same time. Outputs of the delay circuits 322, 324, and 326 are represented as pixel data Sn -1 , Sn-2 , and Sn-3 , respectively.

【0086】乗算器328は、係数発生回路320から
出力される係数kを2乗し、乗算器330は乗算器32
8の出力に係数kを更に乗算する。係数発生回路320
の出力k、乗算器328の出力k及び乗算器330の
出力kは、係数発生回路332,334,336,3
38に印加される。係数発生回路332,334,33
6,338はそれぞれ、補間画素値S’を原画素データ
,Sn−1,S −2,Sn−3及び係数kから3
次多項式により近似する場合の、原画素データS,S
n−1,Sn−2,Sn−3に対応する補間係数k
,k,k を発生する。これらの係数k
,k,kは、k, k及びkから簡単な数
式で算出できる。
The multiplier 328 outputs a signal from the coefficient generation circuit 320
The output coefficient k is squared, and the multiplier 330
The output of 8 is further multiplied by a coefficient k. Coefficient generation circuit 320
Output k of the multiplier 3282And the multiplier 330
Output k3Are the coefficient generation circuits 332, 334, 336, 3
38. Coefficient generation circuits 332, 334, 33
6 and 338 each represent the interpolation pixel value S ′ as the original pixel data.
Sn, Sn-1, Sn -2, Sn-3And from coefficient k to 3
Original pixel data S when approximated by the degree polynomialn, S
n-1, Sn-2, Sn-3Interpolation coefficient k corresponding to0,
k1, K2, K 3Occurs. These coefficients k0,
k1, K2, K3Is k, k2And k3Easy number from
It can be calculated by the formula.

【0087】乗算器340は、遅延回路326の出力S
n−3に係数kを乗算し、乗算器342は、遅延回路
324の出力Sn−2に係数kを乗算し、乗算器34
4は、遅延回路322の出力Sn−1に係数kを乗算
し、乗算器346は、メモリ312の出力Sに係数k
を乗算する。加算器348は乗算器340,342の
出力を加算し、加算器350は加算器348の出力に乗
算器344の出力を乗算し、加算器352は加算器35
0の出力に乗算器346の出力を加算する。加算器35
2の出力が補間画素値S’であり、外部に出力される。
The multiplier 340 outputs the output S of the delay circuit 326.
The coefficient k 3 is multiplied by n-3, multiplier 342 multiplies the coefficient k 2 to the output S n-2 of the delay circuit 324, the multiplier 34
4 multiplies the coefficient k 1 to the output S n-1 of the delay circuit 322, multiplier 346, coefficient output S n of the memory 312 k
Multiply by zero . The adder 348 adds the outputs of the multipliers 340 and 342, the adder 350 multiplies the output of the adder 348 by the output of the multiplier 344, and the adder 352 adds the output of the adder 35.
The output of the multiplier 346 is added to the output of 0. Adder 35
The output of No. 2 is the interpolated pixel value S ', which is output to the outside.

【0088】図19は、画素データS,Sn−1,S
n−2,Sn−3と補間画素S’との関係を示す。
FIG. 19 shows pixel data S n , S n−1 , S
The relationship between n-2 and Sn -3 and the interpolated pixel S 'is shown.

【0089】フィールドメモリ312の動作は、図10
に示す従来例のフィールドメモリ212及び図14に示
す実施例のフィールドメモリ252と同じである。
The operation of the field memory 312 is shown in FIG.
14 and the field memory 252 of the embodiment shown in FIG.

【0090】遅延回路322,324,326は、図2
0に示すように、1水平ライン分のライン遅延素子35
4からなる。ライン遅延素子354は、hold信号が
入力すると、直前の読み出し制御信号Crによって指示
された画素データを繰り返し出力する。
The delay circuits 322, 324 and 326 correspond to those shown in FIG.
0, the line delay element 35 for one horizontal line
Consists of four. When the hold signal is input, the line delay element 354 repeatedly outputs the pixel data specified by the immediately preceding read control signal Cr.

【0091】係数発生回路332,334,336,3
38は、係数発生回路272,274,276,278
と全く同じ構成からなる。即ち、これらの係数発生回路
332,334,336,338で得られる補間係数k
(x=0,1,2,3)は、補間フィルタの所望の周
波数特性をフーリエ変換して得られる時間特性を3次関
数 k=ak+bk+ck+d で近似して得られるものである。
Coefficient generation circuits 332, 334, 336, 3
38 is a coefficient generation circuit 272, 274, 276, 278
It has exactly the same configuration. That is, the interpolation coefficient k obtained by these coefficient generation circuits 332, 334, 336, 338
x (x = 0, 1, 2, 3) is obtained by approximating a time characteristic obtained by Fourier-transforming a desired frequency characteristic of the interpolation filter by a cubic function k x = ak 3 + bk 2 + ck + d. is there.

【0092】こうして得られた垂直補間画素データS’
の応答特性及び従来例による応答特性との対比は、4画
素からの水平補間画素データS’の場合(図17)と同
様になる。線形補間と比べて帯域内のレスポンスが大幅
に向上しており、高解像度の拡大・縮小画像を提供でき
る。
The vertical interpolation pixel data S ′ thus obtained
And the comparison with the response characteristics according to the conventional example are the same as in the case of the horizontal interpolation pixel data S ′ from four pixels (FIG. 17). The response in the band is greatly improved as compared with the linear interpolation, and a high-resolution enlarged / reduced image can be provided.

【0093】図21は、図14に示す水平補間装置の実
施例の変更例の概略構成ブロック図を示す。図1と同じ
構成要素には同じ符号を付してある。具体的には、図1
4に示す実施例の係数発生回路272,274,27
6,278を、図22に示す構成の係数発生回路272
a,274a,276a,278aに変更し、 k=ak+bk+ck+d における係数a,b,c,dを外部から変更できるよう
にした。係数発生回路356が、ズーム比入力端子25
4からのズーム比設定値zoomに従って、係数a,
b,c,dを発生し、係数発生回路272a,274
a,276a,278aに供給する。
FIG. 21 is a schematic block diagram showing a modification of the embodiment of the horizontal interpolation apparatus shown in FIG. The same components as those in FIG. 1 are denoted by the same reference numerals. Specifically, FIG.
Coefficient generating circuits 272, 274, 27 of the embodiment shown in FIG.
6,278 are converted to a coefficient generation circuit 272 having the configuration shown in FIG.
a, 274a, 276a, and 278a, so that the coefficients a, b, c, and d in k x = ak 3 + bk 2 + ck + d can be changed from outside. The coefficient generation circuit 356 is connected to the zoom ratio input terminal 25
According to the zoom ratio setting value zoom from 4, the coefficients a,
b, c, d are generated, and coefficient generating circuits 272a, 274
a, 276a, 278a.

【0094】係数発生回路356は、例えばルックアッ
プテーブル又はセレクタなどからなる。これにより、フ
ーリエ変換して求められる数種の3次関数から所望のも
のを選択できる。
The coefficient generation circuit 356 comprises, for example, a look-up table or a selector. Thereby, a desired one can be selected from several cubic functions obtained by performing Fourier transform.

【0095】その他の部分の動作は、図14に示す実施
例と全く同じである。図21に示す実施例も、図14に
示す実施例と同様の作用効果を奏することができる。ま
た、享受できる。拡大縮小率に応じて異なる特性の補間
フィルタを適用でき、より好ましい拡大縮小画像を得る
ことができる。
The operation of the other parts is exactly the same as that of the embodiment shown in FIG. The embodiment shown in FIG. 21 can also achieve the same operation and effect as the embodiment shown in FIG. It can also be enjoyed. Interpolation filters having different characteristics can be applied according to the enlargement / reduction ratio, and a more preferable enlarged / reduced image can be obtained.

【0096】図23は、図14に示す水平補間装置の実
施例の更に別の変更例の概略構成ブロック図を示す。図
1と同じ構成要素には同じ符号を付してある。図14に
示す実施例の乗算器268,270及び係数発生回路2
72〜278からなる部分が、変更されている。
FIG. 23 is a schematic block diagram showing a further modification of the embodiment of the horizontal interpolation device shown in FIG. The same components as those in FIG. 1 are denoted by the same reference numerals. Multipliers 268 and 270 and coefficient generating circuit 2 of the embodiment shown in FIG.
The portion consisting of 72 to 278 has been changed.

【0097】その変更部分を説明する。乗算器360
は、係数発生回路260の出力kを2乗し、減算器36
2は係数発生回路260の出力kから1を減算し、乗算
器364は減算器362の出力(k−1)を2乗する。
係数発生回路366は、係数発生回路260の出力k、
乗算器360の出力k、減算器362の出力(k−
1)及び乗算器の出力(k−1)から、次式に従っ
て、乗算器280,282,284,286の乗算係数
,k,k,k(即ち、原画素データ
n− ,Sn−2,Sn−1,Sに対する補間係数
,k,k,k)を生成する。即ち、 k=k・(k−1) k=k−k・(k−1) k=k・(k−1)+(k−1) k=−k・(k−1) である。係数発生回路366の概略構成ブロック図を図
24に示す。
The changed parts will be described. Multiplier 360
Squares the output k of the coefficient generation circuit 260 and subtracts
2 subtracts 1 from the output k of the coefficient generation circuit 260 and multiplies
The unit 364 squares the output (k-1) of the subtractor 362.
The coefficient generation circuit 366 outputs the output k of the coefficient generation circuit 260,
Output k of multiplier 3602, The output of the subtractor 362 (k−
1) and the output of the multiplier (k-1)2From the following equation
And the multiplication coefficient of the multipliers 280, 282, 284, 286
k3, K2, K1, K0(Ie, the original pixel data
Sn- 3, Sn-2, Sn-1, SnInterpolation coefficient for
k0, K1, K2, K3). That is, k0= K2・ (K-1) k1= K−k2・ (K-1) k2= K · (k-1)2+ (K-1) k3= -K · (k-1)2  It is. FIG. 12 is a schematic block diagram of a configuration of a coefficient generation circuit 366.
24.

【0098】図14以降の実施例では、フィールド・メ
モリを使用しているが、全画素読み出し型CCD撮像素
子などでフレーム処理を行っている場合には、フレーム
メモリを用いて、垂直解像度をより向上させることがで
きることはいうまでもない。
In the embodiment shown in FIG. 14 and subsequent figures, a field memory is used. However, when frame processing is performed by an all-pixel readout type CCD image sensor or the like, the frame memory is used to increase the vertical resolution. It goes without saying that it can be improved.

【0099】本発明は、複数の機器から構成されるシス
テムに適用しても、一つの機器からなる装置に適用して
もよい。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of one device.

【0100】また、上述した実施例の機能を実現するよ
うに各種のデバイスを動作させるべく当該各種デバイス
と接続された装置又はシステム内のコンピュータに、上
記実施例の機能を実現するためのソフトウェアのプログ
ラムコードを供給し、その装置又はシステムのコンピュ
ータ(CPU又はMPU)を、格納されたプログラムに
従って前記各種デバイスを動作させることによって実施
したものも、本願発明の範囲に含まれる。
Further, in order to operate various devices so as to realize the functions of the above-described embodiment, software for realizing the functions of the above-described embodiments is installed in a computer in an apparatus or a system connected to the various devices. The present invention also includes a case in which a program (code) is supplied and a computer (CPU or MPU) of the apparatus or system is operated by operating the various devices according to stored programs.

【0101】この場合、前記ソフトウエアのプログラム
コード自体が、前述した実施例の機能を実現することに
なり、そのプログラムコード自体、及びそのプログラム
コードをコンピュータに供給するための手段、例えば、
かかるプログラムコードを格納した記憶媒体は、本発明
を構成する。かかるプログラムコードを格納する記憶媒
体としては、例えば、フロッピーディスク、ハードディ
スク、光ディスク、光磁気ディスク、CD−ROM、磁
気テープ、不揮発性のメモリカード及びROM等を用い
ることが出来る。
In this case, the program code itself of the software realizes the functions of the above-described embodiment, and the program code itself and means for supplying the program code to the computer, for example,
A storage medium storing such a program code constitutes the present invention. As a storage medium for storing such a program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, magnetic tape, nonvolatile memory card, ROM and the like can be used.

【0102】また、コンピュータが供給されたプログラ
ムコードを実行することにより、前述の実施例の機能が
実現されるだけではなく、そのプログラムコードがコン
ピュータにおいて稼働しているOS(オペレーティング
システム)又は他のアプリケーションソフトウエア等と
共同して上述の実施例の機能が実現される場合にも、か
かるプログラムコードが本出願に係る発明の実施例に含
まれることは言うまでもない。
When the computer executes the supplied program code, not only the functions of the above-described embodiment are realized, but also the OS (operating system) or other operating system running on the computer. Even when the functions of the above-described embodiments are realized in cooperation with application software and the like, it goes without saying that such program codes are included in the embodiments of the invention according to the present application.

【0103】更には、供給されたプログラムコードが、
コンピュータの機能拡張ボード又はコンピュータに接続
された機能拡張ユニットに備わるメモリに格納された
後、そのプログラムコードの指示に基づいて、その機能
拡張ボード又は機能拡張ユニットに備わるCPU等が実
際の処理の一部または全部を行い、その処理によって上
述した実施例の機能が実現される場合も、本出願に係る
発明に含まれることは言うまでもない。
Further, the supplied program code is:
After being stored in the memory provided in the function expansion board of the computer or the function expansion unit connected to the computer, the CPU or the like provided in the function expansion board or the function expansion unit performs one of the actual processing based on the instruction of the program code. It is needless to say that a case where the functions of the above-described embodiments are realized by performing all or part of the processes and executing the processing is also included in the invention according to the present application.

【0104】[0104]

【発明の効果】以上の説明から容易に理解できるよう
に、本発明によれば、高画質に拡大又は縮小された画像
を高速に、例えば、実時間で得ることができる。補間さ
れる画素の周囲4画素のデータを基に拡大縮小を行うの
で、拡大縮小の際の画像劣化も最小限に抑えることがで
きる。
As can be easily understood from the above description, according to the present invention, an image enlarged or reduced to high quality can be obtained at high speed, for example, in real time. Since enlargement / reduction is performed based on data of four pixels around the pixel to be interpolated, image deterioration at the time of enlargement / reduction can be minimized.

【0105】整数演算のみで拡大縮小できるので、容易
にロジックIC化でき、安価に高集積化できる。
Since scaling can be performed only by integer operations, a logic IC can be easily formed, and high integration can be performed at low cost.

【0106】画像の一部分のみを高画質に拡大縮小でき
るので、より大きな映像効果を得ることができる。
Since only a part of the image can be enlarged and reduced with high image quality, a larger image effect can be obtained.

【0107】本発明に係る画素補間装置によれば、簡単
な回路構成で、リアルタイムに画像を垂直又は水平方向
に拡大・縮小することができる。しかも、従来よりも良
好な周波数特性を得ることができる。
According to the pixel interpolation apparatus of the present invention, an image can be enlarged or reduced in a vertical or horizontal direction in real time with a simple circuit configuration. In addition, it is possible to obtain better frequency characteristics than before.

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

【図1】 本発明に係る画像信号形成装置の実施例の概
略構成ブロック図である。
FIG. 1 is a schematic configuration block diagram of an embodiment of an image signal forming apparatus according to the present invention.

【図2】 図1に示す実施例の動作フローチャートであ
る。
FIG. 2 is an operation flowchart of the embodiment shown in FIG. 1;

【図3】 図1に示す実施例の表示画像の一例の模式図
である。
FIG. 3 is a schematic diagram illustrating an example of a display image of the embodiment illustrated in FIG. 1;

【図4】 拡大縮小回路24の概略構成ブロック図であ
る。
FIG. 4 is a schematic block diagram of an enlargement / reduction circuit 24;

【図5】 係数発生回路58が発生する水平補間係数S
chと水平画素シフト信号Sshの関係を示す図であ
る。
FIG. 5 shows a horizontal interpolation coefficient S generated by a coefficient generation circuit 58;
FIG. 6 is a diagram illustrating a relationship between a channel and a horizontal pixel shift signal Ssh.

【図6】 本発明の第2実施例の概略構成ブロック図で
ある。
FIG. 6 is a schematic configuration block diagram of a second embodiment of the present invention.

【図7】 図6に示す実施例の動作フローチャートであ
る。
FIG. 7 is an operation flowchart of the embodiment shown in FIG. 6;

【図8】 図6に示す実施例の画面の一例を示す模式図
である。
8 is a schematic diagram showing an example of a screen of the embodiment shown in FIG.

【図9】 線形補間の概念図である。FIG. 9 is a conceptual diagram of linear interpolation.

【図10】 従来の線形補間装置の水平方向部分の概略
構成ブロック図である。
FIG. 10 is a schematic configuration block diagram of a horizontal portion of a conventional linear interpolation device.

【図11】 係数発生回路220の概略構成ブロック図
である。
11 is a schematic configuration block diagram of a coefficient generation circuit 220. FIG.

【図12】 遅延回路224の概略構成ブロック図であ
る。
FIG. 12 is a schematic configuration block diagram of a delay circuit 224.

【図13】 隣接2画素を使った従来の線形補間の周波
数特性である。
FIG. 13 shows frequency characteristics of conventional linear interpolation using two adjacent pixels.

【図14】 本発明による水平補間装置の実施例の概略
構成ブロック図である。を示す。
FIG. 14 is a schematic configuration block diagram of an embodiment of a horizontal interpolation device according to the present invention. Is shown.

【図15】 図14に示す実施例における画素データS
,Sn−1,Sn− ,Sn−3と補間画素S’との
関係を示す図である。
FIG. 15 shows pixel data S in the embodiment shown in FIG.
It is a figure which shows the relationship between n , Sn-1 , Sn - 2 , Sn-3 and the interpolation pixel S '.

【図16】 係数発生回路272,274,276,2
78の概略構成ブロック図である。
FIG. 16 shows a coefficient generation circuit 272, 274, 276, 2
It is a schematic block diagram of 78.

【図17】 図14に示す実施例による水平補間画素デ
ータS’及び従来例の応答特性である。
17 shows horizontal interpolation pixel data S ′ according to the embodiment shown in FIG. 14 and response characteristics of a conventional example.

【図18】 本発明による垂直補間装置の実施例の概略
構成ブロック図である。
FIG. 18 is a schematic configuration block diagram of an embodiment of a vertical interpolation device according to the present invention.

【図19】 図18に示す実施例における画素データS
,Sn−1,Sn− ,Sn−3と補間画素S’との
関係を示す図である。
FIG. 19 shows pixel data S in the embodiment shown in FIG.
It is a figure which shows the relationship between n , Sn-1 , Sn - 2 , Sn-3 and the interpolation pixel S '.

【図20】 遅延回路322,324,326の概略構
成ブロック図である。354:ライン遅延素子
FIG. 20 is a schematic configuration block diagram of delay circuits 322, 324, and 326. 354: Line delay element

【図21】 図14に示す実施例の変更例の概略構成ブ
ロック図である。
FIG. 21 is a schematic block diagram of a modification of the embodiment shown in FIG. 14;

【図22】 係数発生回路272a,274a,276
a,278aの概略構成ブロック図である。
FIG. 22 shows coefficient generation circuits 272a, 274a, and 276.
It is a schematic block diagram of a, 278a.

【図23】 図14に示す実施例の更に別の変更例の概
略構成ブロック図である。
FIG. 23 is a schematic block diagram of still another modification of the embodiment shown in FIG. 14;

【図24】 係数発生回路366の概略構成ブロック図
である。
FIG. 24 is a schematic block diagram of a configuration of a coefficient generation circuit 366.

【符号の説明】[Explanation of symbols]

10:CPU 12:ROM 14:RAM 16:ディスク装置 18:データバス 20:アドレスバス 22:メモリ 24:拡大縮小回路 26:D/A変換器 28:RGB出力端子 30:コマンドデコーダ 32:アドレス発生回路 34:SYNC発生回路 36:SYNC出力端子 40:メモリ22に記憶される画像の全体 42:人物像 42a,42b:人物像 44,46:画面 50:データ入力端子 52:同期パルス入力端子 54:倍率入力端子 56:クロック入力端子 58:係数発生回路 60,62,64:1画素遅延回路 88,90,92:1ライン遅延回路 66,72,78,84,94,100,106,11
2:減算器 68,74,80,86,96,102,108,11
4:乗算器 70,76,82,98,104,110:加算器 116:出力端子 120,122:メモリ 124:アドレス発生回路 126:アドレス発生回路 130:メモリ120の記憶データ領域 132,132a:人物画像 134:メモリ122の記憶データ領域 136:背景画像 138:矩形領域 140:メモリ122の記憶データ領域 141:矩形領域 210:入力端子 212:フィールドメモリ 214:ズーム比入力端子 216:メモリ読み出し回路 218:更新制御端子 220:係数発生回路 222:線形補間回路 224:遅延回路 230:絶対値回路 232:加算器 234:遅延回路 236:減算器 238:乗算器 240:加算器 242:セレクタ 244:遅延素子 250:入力端子 252:フィールドメモリ 254:ズーム比入力端子 256:メモリ読み出し回路 258:更新制御端子 260:係数発生回路 262,264,266:遅延回路 268,270:乗算器 272,274,276,278:係数発生回路 280,282,284,286:乗算器 288,290,292:加算器 310:入力端子 312:フィールドメモリ 314:ズーム比入力端子 316:メモリ読み出し回路 318:更新制御端子 320:係数発生回路 322,324,326:遅延回路 328,330:乗算器 332,334,336,338:係数発生回路 340,342,344,346:乗算器 348,350,352:加算器 272a,274a,276a,278a:係数発生回
路 356:係数発生回路 360:乗算器 362:減算器 364:乗算器 366:係数発生回路
10: CPU 12: ROM 14: RAM 16: Disk device 18: Data bus 20: Address bus 22: Memory 24: Enlargement / reduction circuit 26: D / A converter 28: RGB output terminal 30: Command decoder 32: Address generation circuit 34: SYNC generation circuit 36: SYNC output terminal 40: whole image stored in memory 22 42: person image 42a, 42b: person image 44, 46: screen 50: data input terminal 52: synchronization pulse input terminal 54: magnification Input terminal 56: Clock input terminal 58: Coefficient generation circuit 60, 62, 64: 1 pixel delay circuit 88, 90, 92: 1 line delay circuit 66, 72, 78, 84, 94, 100, 106, 11
2: subtractor 68, 74, 80, 86, 96, 102, 108, 11
4: Multiplier 70, 76, 82, 98, 104, 110: Adder 116: Output terminal 120, 122: Memory 124: Address generating circuit 126: Address generating circuit 130: Storage data area 132, 132a of memory 120: Person Image 134: Storage data area of memory 122 136: Background image 138: Rectangular area 140: Storage data area of memory 122 141: Rectangular area 210: Input terminal 212: Field memory 214: Zoom ratio input terminal 216: Memory read circuit 218: Update control terminal 220: coefficient generating circuit 222: linear interpolation circuit 224: delay circuit 230: absolute value circuit 232: adder 234: delay circuit 236: subtractor 238: multiplier 240: adder 242: selector 244: delay element 250 : Input terminal 252: Field Mori 254: zoom ratio input terminal 256: memory readout circuit 258: update control terminal 260: coefficient generation circuit 262, 264, 266: delay circuit 268, 270: multiplier 272, 274, 276, 278: coefficient generation circuit 280, 282 , 284, 286: multipliers 288, 290, 292: adder 310: input terminal 312: field memory 314: zoom ratio input terminal 316: memory readout circuit 318: update control terminal 320: coefficient generation circuit 322, 324, 326: Delay circuits 328, 330: Multipliers 332, 334, 336, 338: Coefficient generation circuits 340, 342, 344, 346: Multipliers 348, 350, 352: Adders 272a, 274a, 276a, 278a: Coefficient generation circuits 356: Coefficient generation circuit 360: multiplier 362 Subtractor 364: Multiplier 366: coefficient generating circuit

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B057 BA02 CB12 CD05 CD06 CD16 DA17 5C073 AA06 AB05 BB01 BD04 CE01 5C076 AA21 AA22 BA03 BA04 BB04 BB25 CB01  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5B057 BA02 CB12 CD05 CD06 CD16 DA17 5C073 AA06 AB05 BB01 BD04 CE01 5C076 AA21 AA22 BA03 BA04 BB04 BB25 CB01

Claims (42)

【特許請求の範囲】[Claims] 【請求項1】 画像データを保持する画像メモリと、 当該画像メモリから読み出された画像データを水平方向
及び垂直方向の少なくとも一方向に、当該一方向に隣接
する4点以上の画素データから補間して変倍する画像処
理手段と、 当該画像処理手段の出力から画像信号を生成する出力手
段とを具備することを特徴とする画像信号形成装置。
An image memory for holding image data, and image data read from the image memory interpolated in at least one of horizontal and vertical directions from pixel data of four or more points adjacent in the one direction. An image signal forming apparatus, comprising: an image processing means for changing the size of the image by changing the magnification; and an output means for generating an image signal from an output of the image processing means.
【請求項2】 当該画像処理手段は、隣接する4つの画
素D0,D1,D2,Dの、画素D1とD2の間に補間
するべき画素がある場合に、補間画素と画素D2との距
離を画素D1,D2間の距離で割った値をkとしたと
き、画素D0と画素D3及び画素D1と画素D2の2つ
の組合わせにおいて、各組合わせのデータを、前者に対
してk、後者に対して(1−k)を重みとして加算平均
した平均値を求め、それら2つの平均値を補間画素の画
素値とする請求項1に記載の画像信号形成装置。
2. The image processing means determines a distance between an interpolated pixel and a pixel D2 when there is a pixel to be interpolated between the pixels D1 and D2 of four adjacent pixels D0, D1, D2, and D. When the value divided by the distance between the pixels D1 and D2 is k, in the two combinations of the pixel D0 and the pixel D3 and the pixel D1 and the pixel D2, the data of each combination is k for the former and k for the latter. 2. The image signal forming apparatus according to claim 1, wherein an average value obtained by adding and averaging (1-k) is obtained, and the two average values are used as pixel values of the interpolation pixels.
【請求項3】 画像の一部のデータを保持する第1画像
メモリと、 当該第1画像メモリから読み出された画像データを水平
方向及び垂直方向の少なくとも一方向に、当該一方向に
隣接する4点以上の画素データから補間して変倍する画
像処理手段と、 当該画像処理手段の出力及び画像の他の一部のデータを
保持する第2画像メモリと、 当該第2画像メモリの出力から画像信号を生成する出力
手段とを具備することを特徴とする画像信号形成装置。
3. A first image memory for holding partial data of an image, and image data read from the first image memory being adjacent in at least one of a horizontal direction and a vertical direction in the one direction. Image processing means for interpolating and scaling from four or more pixel data, a second image memory for holding the output of the image processing means and other partial data of the image, and an output from the second image memory An image signal forming apparatus comprising: an output unit that generates an image signal.
【請求項4】 当該画像処理手段は、隣接する4つの画
素D0,D1,D2,Dの、画素D1とD2の間に補間
するべき画素がある場合に、補間画素と画素D2との距
離を画素D1,D2間の距離で割った値をkとしたと
き、画素D0と画素D3及び画素D1と画素D2の2つ
の組合わせにおいて、各組合わせのデータを、前者に対
してk、後者に対して(1−k)を重みとして加算平均
した平均値を求め、それら2つの平均値を補間画素の画
素値とする請求項3に記載の画像信号形成装置。
4. The image processing means determines a distance between an interpolated pixel and a pixel D2 when there is a pixel to be interpolated between the pixels D1 and D2 of four adjacent pixels D0, D1, D2, and D. When the value divided by the distance between the pixels D1 and D2 is k, in the two combinations of the pixel D0 and the pixel D3 and the pixel D1 and the pixel D2, the data of each combination is k for the former and k for the latter. 4. The image signal forming apparatus according to claim 3, wherein an average value obtained by adding and averaging (1−k) is determined, and the two average values are used as pixel values of the interpolation pixels. 5.
【請求項5】 画像データを画像メモリに記憶する記憶
ステップと、 当該画像メモリから読み出された画像データを水平方向
及び垂直方向の少なくとも一方向に、当該一方向に隣接
する4点以上の画素データから補間して変倍する画像処
理ステップと、 当該画像処理ステップの処理結果から画像信号を生成す
る出力ステップとを具備することを特徴とする画像信号
形成方法。
5. A storage step of storing image data in an image memory, and four or more pixels adjacent to the image data read from the image memory in at least one of horizontal and vertical directions in the one direction. An image signal forming method, comprising: an image processing step of interpolating and scaling data from data; and an output step of generating an image signal from a processing result of the image processing step.
【請求項6】 当該画像処理ステップは、隣接する4つ
の画素D0,D1,D2,Dの、画素D1とD2の間に
補間するべき画素がある場合に、補間画素と画素D2と
の距離を画素D1,D2間の距離で割った値をkとした
とき、画素D0と画素D3及び画素D1と画素D2の2
つの組合わせにおいて、各組合わせのデータを、前者に
対してk、後者に対して(1−k)を重みとして加算平
均した平均値を求め、それら2つの平均値を補間画素の
画素値とする請求項5に記載の画像信号形成方法。
6. The image processing step includes, when there is a pixel to be interpolated between pixels D1 and D2 of four adjacent pixels D0, D1, D2, and D, the distance between the interpolated pixel and pixel D2. Assuming that a value obtained by dividing the distance between the pixels D1 and D2 is k, two of the pixels D0 and D3 and the pixels D1 and D2
In each of the combinations, an average value is obtained by adding and averaging the data of each combination with the weight of the former being k and the latter being (1-k), and calculating the two average values as the pixel value of the interpolation pixel. The image signal forming method according to claim 5, wherein
【請求項7】 画像の一部のデータを第1画像メモリに
記憶する第1記憶ステップと、 当該第1画像メモリから読み出された画像データを水平
方向及び垂直方向の少なくとも一方向に、当該一方向に
隣接する4点以上の画素データから補間して変倍する画
像処理ステップと、 画像の他の一部のデータを記憶する第2の画像メモリに
当該画像処理ステップの処理結果を記憶する第2記憶ス
テップと、 当該第2画像メモリの出力から画像信号を生成する出力
ステップとを具備することを特徴とする画像信号形成方
法。
7. A first storing step of storing a part of data of an image in a first image memory; and storing the image data read from the first image memory in at least one of a horizontal direction and a vertical direction. An image processing step of interpolating and scaling from four or more pixel data adjacent in one direction, and storing the processing result of the image processing step in a second image memory for storing another part of the image data An image signal forming method, comprising: a second storage step; and an output step of generating an image signal from an output of the second image memory.
【請求項8】 当該画像処理手段は、隣接する4つの画
素D0,D1,D2,Dの、画素D1とD2の間に補間
するべき画素がある場合に、補間画素と画素D2との距
離を画素D1,D2間の距離で割った値をkとしたと
き、画素D0と画素D3及び画素D1と画素D2の2つ
の組合わせにおいて、各組合わせのデータを、前者に対
してk、後者に対して(1−k)を重みとして加算平均
した平均値を求め、それら2つの平均値を補間画素の画
素値とする請求項7に記載の画像信号形成方法。
8. When there is a pixel to be interpolated between pixels D1 and D2 of four adjacent pixels D0, D1, D2, and D, the image processing means determines the distance between the interpolated pixel and pixel D2. When the value divided by the distance between the pixels D1 and D2 is k, in the two combinations of the pixel D0 and the pixel D3 and the pixel D1 and the pixel D2, the data of each combination is k for the former and k for the latter. 8. The image signal forming method according to claim 7, wherein an average value obtained by adding and averaging (1-k) as a weight is obtained, and the two average values are used as pixel values of the interpolation pixels.
【請求項9】 画像データを画像メモリに記憶する記憶
ステップと、 当該画像メモリから読み出された画像データを水平方向
及び垂直方向の少なくとも一方向に、当該一方向に隣接
する4点以上の画素データから補間して変倍する画像処
理ステップと、 当該画像処理ステップの処理結果から画像信号を生成す
る出力ステップとを具備する画像信号形成方法を実行す
るプログラム・ソフトウエアを記憶することを特徴とす
る記憶媒体。
9. A storage step of storing image data in an image memory, and four or more pixels adjacent to the image data read from the image memory in at least one of the horizontal and vertical directions in the one direction. And storing program software for executing an image signal forming method, comprising: an image processing step of interpolating and scaling from data; and an output step of generating an image signal from a processing result of the image processing step. Storage media.
【請求項10】 当該画像処理ステップは、隣接する4
つの画素D0,D1,D2,Dの、画素D1とD2の間
に補間するべき画素がある場合に、補間画素と画素D2
との距離を画素D1,D2間の距離で割った値をkとし
たとき、画素D0と画素D3及び画素D1と画素D2の
2つの組合わせにおいて、各組合わせのデータを、前者
に対してk、後者に対して(1−k)を重みとして加算
平均した平均値を求め、それら2つの平均値を補間画素
の画素値とする請求項9に記載の記憶媒体。
10. The image processing step includes the steps of:
When there is a pixel to be interpolated between the pixels D1 and D2 of the pixels D0, D1, D2, and D, the interpolation pixel and the pixel D2
When the value obtained by dividing the distance between the pixel D1 and the pixel D2 by the distance between the pixels D1 and D2 is k, in each of the two combinations of the pixels D0 and D3 and the pixel D1 and the pixel D2, The storage medium according to claim 9, wherein an average value is obtained by adding and averaging k and the latter with (1−k) as weights, and the two average values are used as pixel values of interpolation pixels.
【請求項11】 画像の一部のデータを第1画像メモリ
に記憶する第1記憶ステップと、 当該第1画像メモリから読み出された画像データを水平
方向及び垂直方向の少なくとも一方向に、当該一方向に
隣接する4点以上の画素データから補間して変倍する画
像処理ステップと、 画像の他の一部のデータを記憶する第2の画像メモリに
当該画像処理ステップの処理結果を記憶する第2記憶ス
テップと、 当該第2画像メモリの出力から画像信号を生成する出力
ステップとを具備する画像信号形成方法を実行するプロ
グラム・ソフトウエアを記憶することを特徴とする記憶
媒体。
11. A first storage step of storing a part of data of an image in a first image memory; and storing image data read from the first image memory in at least one of a horizontal direction and a vertical direction. An image processing step of interpolating and scaling from four or more pixel data adjacent in one direction, and storing the processing result of the image processing step in a second image memory for storing another part of the image data A storage medium storing program software for executing an image signal forming method, comprising: a second storage step; and an output step of generating an image signal from an output of the second image memory.
【請求項12】 当該画像処理手段は、隣接する4つの
画素D0,D1,D2,Dの、画素D1とD2の間に補
間するべき画素がある場合に、補間画素と画素D2との
距離を画素D1,D2間の距離で割った値をkとしたと
き、画素D0と画素D3及び画素D1と画素D2の2つ
の組合わせにおいて、各組合わせのデータを、前者に対
してk、後者に対して(1−k)を重みとして加算平均
した平均値を求め、それら2つの平均値を補間画素の画
素値とする請求項11に記載の記憶媒体。
12. The image processing means determines a distance between an interpolated pixel and a pixel D2 when there is a pixel to be interpolated between the pixels D1 and D2 of four adjacent pixels D0, D1, D2, and D. When the value divided by the distance between the pixels D1 and D2 is k, in the two combinations of the pixel D0 and the pixel D3 and the pixel D1 and the pixel D2, the data of each combination is k for the former and k for the latter. 12. The storage medium according to claim 11, wherein an average value obtained by adding and averaging (1-k) as a weight is obtained, and the two average values are used as a pixel value of an interpolation pixel.
【請求項13】 画像データを記憶し、補間画素S’に
対して一方の側の2つの画素信号S,Sn−1及び他
方の側の2つの画素信号Sn−2,Sn−3を出力する
画像メモリ手段と、 当該画素信号Sn−1の画素位置と当該画素信号S
n−2の画素位置との間での補間画素信号S’の画素位
置を示す補間係数kを生成する第1の係数発生手段と、 当該補間係数kの2乗及び3乗を算出する乗算手段と、 k,k,kから当該画素信号S,Sn−1,S
n−2及び画素信号S −3に対する補間係数k,k
,k,kを生成する第2の係数発生手段と、 当該画素信号S,Sn−1,Sn−2及びSn−3
補間係数k,k,k,kを乗算し、総和を算出
して、補間画素信号S’を出力する演算手段とを具備す
ることを特徴とする画像補間装置。
13. stores image data, two pixel signals S n on one side with respect to the interpolation pixel S ', S 2 a pixel signal of n-1 and the other side S n-2, S n- 3 , the pixel position of the pixel signal Sn-1 and the pixel signal S
first coefficient generating means for generating an interpolation coefficient k indicating the pixel position of the interpolation pixel signal S 'between the pixel position of n-2 and multiplication means for calculating the square and the third power of the interpolation coefficient k And k, k 2 , k 3, and the pixel signals Sn , Sn-1 , S
interpolation coefficients k 0 , k for n−2 and pixel signal Sn− 3
1, k 2, k 3 and the second coefficient generating means for generating a, the pixel signals S n, S n-1, S n-2 and S n-3 in the interpolation coefficient k 0, k 1, k 2, multiplied by k 3, to calculate the sum, image interpolation apparatus characterized by comprising a calculating means for outputting the interpolated pixel signal S '.
【請求項14】 更に、当該第2の係数発生手段におけ
る当該k,k,kから当該補間係数k,k,k
,kを算出する演算式の係数を、拡大縮小率に応じ
て発生する係数調整手段を具備する請求項13に記載の
画像補間装置。
14. The interpolation coefficient k 0 , k 1 , k 3 from the k, k 2 , k 3 in the second coefficient generation means.
2, the coefficient of the arithmetic expression for calculating the k 3, the image interpolation apparatus according to claim 13 having a coefficient adjustment means for generating in response to the scaling factor.
【請求項15】 画像データを記憶し、補間画素S’に
対して一方の側の2つの画素信号S,Sn−1及び他
方の側の2つの画素信号Sn−2,Sn−3を出力する
画像メモリ手段と、 当該画素信号Sn−1の画素位置と当該画素信号S
n−2の画素位置との間での補間画素信号S’の画素位
置を示す補間係数kを生成する第1の係数発生手段と、 当該補間係数kの2乗並びに(k−1)及び(kー1)
を算出する乗算手段と、 k,k,(1−k)及び(1−k)から当該画素信
号S,Sn−1,S n−2及び画素信号Sn−3に対
する補間係数k,k,k,kを生成する第2の
係数発生手段と、 当該画素信号S,Sn−1,Sn−2及びSn−3
補間係数k,k,k,kを乗算し、総和を算出
して、補間画素信号S’を出力する演算手段とを具備す
ることを特徴とする画像補間装置。
15. The image data is stored and stored in an interpolated pixel S '.
On the other hand, two pixel signals S on one siden, Sn-1And others
Two pixel signals S on one siden-2, Sn-3Output
Image memory means, and the pixel signal Sn-1Pixel position and the pixel signal S
n-2Pixel position of the interpolated pixel signal S 'between the pixel position
First coefficient generating means for generating an interpolation coefficient k indicating the position, a square of the interpolation coefficient k, and (k-1) and (k-1)
2Multiplication means for calculating k, k2, (1-k) and (1-k)2From the pixel signal
No. Sn, Sn-1, S n-2And the pixel signal Sn-3To
Interpolation coefficient k0, K1, K2, K3The second that produces
Coefficient generating means, and the pixel signal Sn, Sn-1, Sn-2And Sn-3To
Interpolation coefficient k0, K1, K2, K3Multiply and calculate the sum
And an operation means for outputting an interpolation pixel signal S ′
An image interpolating device, characterized in that:
【請求項16】 当該画像メモリ手段は、 当該画像データを記憶する画像メモリと、 当該画像メモリから画素データを順次読み出すメモリ読
み出し手段と、 当該画像メモリから読み出された画素データを所定期間
遅延する一連の第1、第2及び第3の遅延手段とを具備
し、当該画像メモリから読み出された画素信号が画素信
号S、当該第1の遅延手段の出力が画素信号
n−1、当該第2の遅延手段の出力が画素信号S
n−2、当該第3の遅延手段の出力が画素信号Sn−3
である請求項13又は15に記載の画像補間装置。
16. The image memory means includes: an image memory for storing the image data; a memory reading means for sequentially reading pixel data from the image memory; and a pixel data read from the image memory for a predetermined period. A series of first, second and third delay means, wherein a pixel signal read from the image memory is a pixel signal Sn , an output of the first delay means is a pixel signal Sn-1 , The output of the second delay means is a pixel signal S
n-2 , the output of the third delay means is a pixel signal Sn-3.
The image interpolation device according to claim 13 or 15, wherein
【請求項17】 当該第1、第2及び第3の遅延手段
は、原サンプリング周波数の1クロックに相当する遅延
量を具備する請求項16に記載の画像補間装置。
17. The image interpolation apparatus according to claim 16, wherein said first, second, and third delay means have a delay amount corresponding to one clock of the original sampling frequency.
【請求項18】 当該第1、第2及び第3の遅延手段
は、原サンプリング周波数の1走査線に相当する遅延量
を具備する請求項16に記載の画像補間装置。
18. The image interpolation apparatus according to claim 16, wherein said first, second and third delay means have a delay amount corresponding to one scanning line of the original sampling frequency.
【請求項19】 当該第1の係数発生手段は、補間画素
を生成する原サンプリング画素の更新制御信号を受け取
った時に、補間係数を更新する請求項13又は15に記
載の画像補間装置。
19. The image interpolation apparatus according to claim 13, wherein said first coefficient generation means updates the interpolation coefficient when receiving an update control signal of an original sampling pixel for generating an interpolation pixel.
【請求項20】 当該画像メモリは、画素の更新制御信
号が保持を要求した時には、直前に読み出された画素デ
ータを繰り返し読み出す請求項16に記載の画像補間装
置。
20. The image interpolation device according to claim 16, wherein the image memory repeatedly reads out the pixel data read immediately before when the update control signal of the pixel requires holding.
【請求項21】 当該第1、第2及び第3の遅延手段
は、画素の更新制御信号が保持を要求した時には、現在
の画素データを保持する請求項16に記載の画像補間装
置。
21. The image interpolation apparatus according to claim 16, wherein said first, second, and third delay means hold current pixel data when a pixel update control signal requires holding.
【請求項22】 当該第1の係数発生回路は、nビット
幅の累積加算器を具備し、補間画素を生成する原サンプ
リング画素の更新制御信号を受け取った時に、補間比率
を表す定数をnビット幅で累積加算し、nビット幅を超
えた時にはキャリーを画素の更新保持信号として出力す
る請求項13又は15に記載の画像補間装置。
22. The first coefficient generation circuit includes an accumulator having an n-bit width, and when receiving an update control signal of an original sampling pixel for generating an interpolation pixel, sets a constant representing an interpolation ratio to n bits. 16. The image interpolation apparatus according to claim 13, wherein the image interpolation apparatus performs cumulative addition by width and outputs a carry as a pixel update holding signal when the width exceeds an n-bit width.
【請求項23】 画像データを記憶する画像メモリ手段
から、補間画素S’に対して一方の側の2つの画素信号
,Sn−1及び他方の側の2つの画素信号
n−2,Sn−3を出力する画素信号出力ステップ
と、 当該画素信号Sn−1の画素位置と当該画素信号S
n−2の画素位置との間での補間画素信号S’の画素位
置を示す補間係数kを生成する第1の係数発生ステップ
と、 当該補間係数kの2乗及び3乗を算出する乗算ステップ
と、 k,k,kから当該画素信号S,Sn−1,S
n−2及び画素信号S −3に対する補間係数k,k
,k,kを生成する第2の係数発生ステップと、 当該画素信号S,Sn−1,Sn−2及びSn−3
補間係数k,k,k,kを乗算し、総和を算出
して、補間画素信号S’を出力する演算ステップとを具
備することを特徴とする画像補間方法。
23. Image memory means for storing image data
From the two pixel signals on one side with respect to the interpolation pixel S '
Sn, Sn-1And two pixel signals on the other side
S n-2, Sn-3Output pixel signal output step
And the pixel signal Sn-1Pixel position and the pixel signal S
n-2Pixel position of the interpolated pixel signal S 'between the pixel position
First coefficient generating step of generating an interpolation coefficient k indicating the position
And a multiplication step for calculating the square and the third power of the interpolation coefficient k
And k, k2, K3From the pixel signal Sn, Sn-1, S
n-2And the pixel signal Sn -3Interpolation coefficient k for0, K
1, K2, K3And a second coefficient generating step of generating the pixel signal Sn, Sn-1, Sn-2And Sn-3To
Interpolation coefficient k0, K1, K2, K3Multiply and calculate the sum
And an operation step of outputting an interpolation pixel signal S ′.
An image interpolation method comprising:
【請求項24】 更に、当該第2の係数発生ステップに
おける当該k,k,k から当該補間係数k
,k,kを算出する演算式の係数を、拡大縮小
率に応じて発生する係数調整ステップを具備する請求項
23に記載の画像補間方法。
24. Further, in the second coefficient generating step,
K, k2, K 3From the interpolation coefficient k0,
k1, K2, K3The scaling factor of the calculation formula that calculates
Claims: A coefficient adjusting step which is performed according to a rate.
24. The image interpolation method according to 23.
【請求項25】 画像データを記憶する画像メモリ手段
から、補間画素S’に対して一方の側の2つの画素信号
,Sn−1及び他方の側の2つの画素信号
n−2,Sn−3を出力する画素信号出力ステップ
と、 当該画素信号Sn−1の画素位置と当該画素信号S
n−2の画素位置との間での補間画素信号S’の画素位
置を示す補間係数kを生成する第1の係数発生ステップ
と、 当該補間係数kの2乗並びに(k−1)及び(kー1)
を算出する乗算ステップと、 k,k,(1−k)及び(1−k)から当該画素信
号S,Sn−1,S n−2及び画素信号Sn−3に対
する補間係数k,k,k,kを生成する第2の
係数発生ステップと、 当該画素信号S,Sn−1,Sn−2及びSn−3
補間係数k,k,k,kを乗算し、総和を算出
して、補間画素信号S’を出力する演算ステップとを具
備することを特徴とする画像補間方法。
25. Image memory means for storing image data
From the two pixel signals on one side with respect to the interpolation pixel S '
Sn, Sn-1And two pixel signals on the other side
S n-2, Sn-3Output pixel signal output step
And the pixel signal Sn-1Pixel position and the pixel signal S
n-2Pixel position of the interpolated pixel signal S 'between the pixel position
First coefficient generating step of generating an interpolation coefficient k indicating the position
And the square of the interpolation coefficient k and (k-1) and (k-1)
2A multiplication step of calculating k, k2, (1-k) and (1-k)2From the pixel signal
No. Sn, Sn-1, S n-2And the pixel signal Sn-3To
Interpolation coefficient k0, K1, K2, K3The second that produces
A coefficient generation step and the pixel signal Sn, Sn-1, Sn-2And Sn-3To
Interpolation coefficient k0, K1, K2, K3Multiply and calculate the sum
And an operation step of outputting an interpolation pixel signal S ′.
An image interpolation method comprising:
【請求項26】 当該画素信号出力ステップは、画像デ
ータを記憶する画像メモリから画素データを順次読み出
し、一連の所定遅延期間の第1、第2及び第3の遅延手
段により遅延し、当該画像メモリから読み出された画素
信号を画素信号S 、当該第1の遅延手段の出力を画素
信号Sn−1、当該第2の遅延手段の出力を画素信号S
n−2、当該第3の遅延手段の出力を画素信号Sn−3
とする請求項23又は25に記載の画像補間方法。
26. The pixel signal output step includes the steps of:
Pixel data from image memory that stores data
And a first, second, and third delay means for a series of predetermined delay periods.
Pixels delayed by the stage and read from the image memory
The signal is a pixel signal S n, The output of the first delay means
Signal Sn-1, The output of the second delay means to the pixel signal S
n-2, The output of the third delay means to the pixel signal Sn-3
The image interpolation method according to claim 23 or 25.
【請求項27】 当該第1、第2及び第3の遅延手段
は、原サンプリング周波数の1クロックに相当する遅延
量を具備する請求項26に記載の画像補間方法。
27. The image interpolation method according to claim 26, wherein said first, second and third delay means have a delay amount corresponding to one clock of the original sampling frequency.
【請求項28】 当該第1、第2及び第3の遅延手段
は、原サンプリング周波数の1走査線に相当する遅延量
を具備する請求項26に記載の画像補間方法。
28. The image interpolation method according to claim 26, wherein said first, second and third delay means have a delay amount corresponding to one scanning line of the original sampling frequency.
【請求項29】 当該第1の係数発生ステップは、補間
画素を生成する原サンプリング画素の更新制御信号を受
け取った時に、補間係数を更新する請求項23又は25
に記載の画像補間方法。
29. The first coefficient generating step updates an interpolation coefficient when receiving an update control signal of an original sampling pixel for generating an interpolation pixel.
The image interpolation method described in 1.
【請求項30】 当該画像メモリは、画素の更新制御信
号が保持を要求した時には、直前に読み出された画素デ
ータを繰り返し読み出す請求項26に記載の画像補間方
法。
30. The image interpolation method according to claim 26, wherein the image memory repeatedly reads out pixel data read immediately before, when the pixel update control signal requests holding.
【請求項31】 当該第1、第2及び第3の遅延手段
は、画素の更新制御信号が保持を要求した時には、現在
の画素データを保持する請求項26に記載の画像補間方
法。
31. The image interpolation method according to claim 26, wherein said first, second, and third delay means hold current pixel data when a pixel update control signal requires holding.
【請求項32】 当該第1の係数発生ステップは、補間
画素を生成する原サンプリング画素の更新制御信号を受
け取った時に、補間比率を表す定数をnビット幅で累積
加算し、nビット幅を超えた時にはキャリーを画素の更
新保持信号として出力する請求項23又は25に記載の
画像補間方法。
32. The first coefficient generation step includes, when receiving an update control signal of an original sampling pixel for generating an interpolation pixel, accumulating a constant representing an interpolation ratio with an n-bit width and exceeding the n-bit width. 26. The image interpolation method according to claim 23, wherein the carry is output as an update holding signal of the pixel when the image is held.
【請求項33】 画像データを記憶する画像メモリ手段
から、補間画素S’に対して一方の側の2つの画素信号
,Sn−1及び他方の側の2つの画素信号
n−2,Sn−3を出力する画素信号出力ステップ
と、 当該画素信号Sn−1の画素位置と、当該画素信号S
n−2の画素位置との間での補間画素信号S’の画素位
置を示す補間係数kを生成する第1の係数発生ステップ
と、 当該補間係数kの2乗及び3乗を算出する乗算ステップ
と、 k,k,kから当該画素信号S,Sn−1,S
n−2及び画素信号S −3に対する補間係数k,k
,k,kを生成する第2の係数発生ステップと、 当該画素信号S,Sn−1,Sn−2及びSn−3
補間係数k,k,k,kを乗算し、総和を算出
して、補間画素信号S’を出力する演算ステップとを具
備する画像補間方法を実行するプログラム・ソフトウエ
アを記憶することを特徴とする記憶媒体。
33. Image memory means for storing image data
From the two pixel signals on one side with respect to the interpolation pixel S '
Sn, Sn-1And two pixel signals on the other side
S n-2, Sn-3Output pixel signal output step
And the pixel signal Sn-1And the pixel signal S
n-2Pixel position of the interpolated pixel signal S 'between the pixel position
First coefficient generating step of generating an interpolation coefficient k indicating the position
And a multiplication step for calculating the square and the third power of the interpolation coefficient k
And k, k2, K3From the pixel signal Sn, Sn-1, S
n-2And the pixel signal Sn -3Interpolation coefficient k for0, K
1, K2, K3And a second coefficient generating step of generating the pixel signal Sn, Sn-1, Sn-2And Sn-3To
Interpolation coefficient k0, K1, K2, K3Multiply and calculate the sum
And an operation step of outputting an interpolation pixel signal S ′.
Program / software that executes the image interpolation method
A storage medium characterized by storing the information.
【請求項34】 当該画像補間方法が更に、当該第2の
係数発生ステップにおける当該k,k,kから当該
補間係数k,k,k,kを算出する演算式の係
数を、拡大縮小率に応じて発生する係数調整ステップを
具備する請求項33に記載の記憶媒体。
34. The image interpolating method further coefficient calculation formula for calculating the k, k 2, the interpolation coefficient k 0 from k 3, k 1, k 2 , k 3 in the second coefficient generating step 34. The storage medium according to claim 33, further comprising: a coefficient adjustment step of generating a coefficient according to a scaling ratio.
【請求項35】 画像データを記憶する画像メモリ手段
から、補間画素S’に対して一方の側の2つの画素信号
,Sn−1及び他方の側の2つの画素信号
n−2,Sn−3を出力する画素信号出力ステップ
と、 当該画素信号Sn−1の画素位置と当該画素信号S
n−2の画素位置との間での補間画素信号S’の画素位
置を示す補間係数kを生成する第1の係数発生ステップ
と、 当該補間係数kの2乗並びに(k−1)及び(kー1)
を算出する乗算ステップと、 k,k,(1−k)及び(1−k)から当該画素信
号S,Sn−1,S n−2及び画素信号Sn−3に対
する補間係数k,k,k,kを生成する第2の
係数発生ステップと、 当該画素信号S,Sn−1,Sn−2及びSn−3
補間係数k,k,k,kを乗算し、総和を算出
して、補間画素信号S’を出力する演算ステップとを具
備する画像補間方法を実行するプログラム・ソフトウエ
アを記憶することを特徴とする記憶媒体。
35. Image memory means for storing image data
From the two pixel signals on one side with respect to the interpolation pixel S '
Sn, Sn-1And two pixel signals on the other side
S n-2, Sn-3Output pixel signal output step
And the pixel signal Sn-1Pixel position and the pixel signal S
n-2Pixel position of the interpolated pixel signal S 'between the pixel position
First coefficient generating step of generating an interpolation coefficient k indicating the position
And the square of the interpolation coefficient k and (k-1) and (k-1)
2A multiplication step of calculating k, k2, (1-k) and (1-k)2From the pixel signal
No. Sn, Sn-1, S n-2And the pixel signal Sn-3To
Interpolation coefficient k0, K1, K2, K3The second that produces
A coefficient generation step and the pixel signal Sn, Sn-1, Sn-2And Sn-3To
Interpolation coefficient k0, K1, K2, K3Multiply and calculate the sum
And an operation step of outputting an interpolation pixel signal S ′.
Program / software that executes the image interpolation method
A storage medium characterized by storing the information.
【請求項36】 当該画素信号出力ステップは、画像デ
ータを記憶する画像メモリから画素データを順次読み出
し、一連の所定遅延期間の第1、第2及び第3の遅延手
段により遅延し、当該画像メモリから読み出された画素
信号を画素信号S 、当該第1の遅延手段の出力を画素
信号Sn−1、当該第2の遅延手段の出力を画素信号S
n−2、当該第3の遅延手段の出力を画素信号Sn−3
とする請求項33又は35に記載の記憶媒体。
36. The pixel signal output step includes the steps of:
Pixel data from image memory that stores data
And a first, second, and third delay means for a series of predetermined delay periods.
Pixels delayed by the stage and read from the image memory
The signal is a pixel signal S n, The output of the first delay means
Signal Sn-1, The output of the second delay means to the pixel signal S
n-2, The output of the third delay means to the pixel signal Sn-3
The storage medium according to claim 33 or 35.
【請求項37】 当該第1、第2及び第3の遅延手段
は、原サンプリング周波数の1クロックに相当する遅延
量を具備する請求項36に記載の記憶媒体。
37. The storage medium according to claim 36, wherein said first, second and third delay means have a delay amount corresponding to one clock of the original sampling frequency.
【請求項38】 当該第1、第2及び第3の遅延手段
は、原サンプリング周波数の1走査線に相当する遅延量
を具備する請求項36に記載の記憶媒体。
38. The storage medium according to claim 36, wherein said first, second and third delay means have a delay amount corresponding to one scanning line of the original sampling frequency.
【請求項39】 当該第1の係数発生ステップは、補間
画素を生成する原サンプリング画素の更新制御信号を受
け取った時に、補間係数を更新する請求項33又は35
に記載の記憶媒体。
39. The method according to claim 33, wherein the first coefficient generating step updates the interpolation coefficient when receiving an update control signal of the original sampling pixel for generating the interpolation pixel.
A storage medium according to claim 1.
【請求項40】 当該画像メモリは、画素の更新制御信
号が保持を要求した時には、直前に読み出された画素デ
ータを繰り返し読み出す請求項36に記載の記憶媒体。
40. The storage medium according to claim 36, wherein the image memory repeatedly reads out the pixel data read immediately before when the update control signal of the pixel requests holding.
【請求項41】 当該第1、第2及び第3の遅延手段
は、画素の更新制御信号が保持を要求した時には、現在
の画素データを保持する請求項36に記載の記憶媒体。
41. The storage medium according to claim 36, wherein said first, second, and third delay means hold current pixel data when a pixel update control signal requests holding.
【請求項42】 当該第1の係数発生ステップは、補間
画素を生成する原サンプリング画素の更新制御信号を受
け取った時に、補間比率を表す定数をnビット幅で累積
加算し、nビット幅を超えた時にはキャリーを画素の更
新保持信号として出力する請求項33又は35に記載の
記憶媒体。
42. The first coefficient generating step includes, when receiving an update control signal of an original sampling pixel for generating an interpolation pixel, accumulating a constant representing an interpolation ratio with an n-bit width and exceeding the n-bit width. 36. The storage medium according to claim 33, wherein the carry is output as an update holding signal of the pixel when the signal is output.
JP10236942A 1998-08-24 1998-08-24 Image signal generating device, its method, pixel interpolation device, its method and storage medium Withdrawn JP2000069280A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10236942A JP2000069280A (en) 1998-08-24 1998-08-24 Image signal generating device, its method, pixel interpolation device, its method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10236942A JP2000069280A (en) 1998-08-24 1998-08-24 Image signal generating device, its method, pixel interpolation device, its method and storage medium

Publications (1)

Publication Number Publication Date
JP2000069280A true JP2000069280A (en) 2000-03-03

Family

ID=17008042

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10236942A Withdrawn JP2000069280A (en) 1998-08-24 1998-08-24 Image signal generating device, its method, pixel interpolation device, its method and storage medium

Country Status (1)

Country Link
JP (1) JP2000069280A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022102266A1 (en) * 2020-11-11 2022-05-19 株式会社ニューフレアテクノロジー Image correction device, pattern inspection device and image correction method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022102266A1 (en) * 2020-11-11 2022-05-19 株式会社ニューフレアテクノロジー Image correction device, pattern inspection device and image correction method

Similar Documents

Publication Publication Date Title
JP2004080545A (en) Apparatus, system and method for image processing
US20020145610A1 (en) Video processing engine overlay filter scaler
US5202670A (en) Image processing apparatus
JP2004234379A (en) Image processing method, image processor, and imaging device and display device to which image processing method is applied
JP2001086522A (en) Image processor
JP2006074155A (en) Device and method for image processing, and image display device
JP2008160345A (en) Image processing apparatus, image processing method, and computer program
JPH10208030A (en) Image processor and processing method
JP2009004952A (en) Image processing device and program
JP3132055B2 (en) Image processing apparatus and image processing method
JP2000069280A (en) Image signal generating device, its method, pixel interpolation device, its method and storage medium
US7015975B2 (en) Image processing device with a processing unit that processes image data in units of one scan line
JP2003316331A (en) Display device
JP2002197454A (en) Device and method for transforming image
KR100242976B1 (en) Resolution converting device of display apparatus
JPH0993486A (en) Digital image processing unit
JP2006276870A (en) Image processing device
JP2003224715A (en) Image processing circuit and image processing method
US7697817B2 (en) Image processing apparatus and method, and recorded medium
JP2001036812A (en) Image processor, its method and medium
JPH08279949A (en) Electronic zooming processing unit and its method
JPH1153530A (en) Image interpolating device
KR970006553B1 (en) Display zooming apparatus of image signal processing system
JP2004056474A (en) Picture processor and program for the same
JP3347395B2 (en) Image processing apparatus and method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20051101