JP2568179B2 - Interpolation enlargement calculation circuit - Google Patents

Interpolation enlargement calculation circuit

Info

Publication number
JP2568179B2
JP2568179B2 JP61142933A JP14293386A JP2568179B2 JP 2568179 B2 JP2568179 B2 JP 2568179B2 JP 61142933 A JP61142933 A JP 61142933A JP 14293386 A JP14293386 A JP 14293386A JP 2568179 B2 JP2568179 B2 JP 2568179B2
Authority
JP
Japan
Prior art keywords
data
circuit
pixels
interpolation
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP61142933A
Other languages
Japanese (ja)
Other versions
JPS63684A (en
Inventor
隆雄 永桶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP61142933A priority Critical patent/JP2568179B2/en
Publication of JPS63684A publication Critical patent/JPS63684A/en
Application granted granted Critical
Publication of JP2568179B2 publication Critical patent/JP2568179B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • G06T3/4007Interpolation-based scaling, e.g. bilinear interpolation

Description

【発明の詳細な説明】 〔概要〕 画像の拡大補間は複数の画素データを順次読出して演
算するため、全画面を演算するのに多大な時間を必要と
する。本発明は少なくとも1ラインの画像データをライ
ンバッファに格納するとともに、演算に必要な画素デー
タをほぼ同時に読出して演算し、得られた画像データを
ほぼ同時に出力のラインバッファに格納して、演算処理
の高速化を計っている。
DETAILED DESCRIPTION [Overview] In image enlargement interpolation, a large amount of time is required to calculate the entire screen because a plurality of pixel data are sequentially read and calculated. According to the present invention, at least one line of image data is stored in a line buffer, pixel data required for calculation is read out and calculated almost simultaneously, and the obtained image data is stored in an output line buffer almost at the same time to perform calculation processing. Is trying to speed up.

〔産業上の利用分野〕[Industrial applications]

本発明は画像処理装置に係り、特に画像情報を補間拡
大する補間拡大演算回路に関する。
The present invention relates to an image processing device, and more particularly, to an interpolation enlargement calculation circuit that interpolates and enlarges image information.

〔従来技術〕[Prior art]

一般的に画像情報はm×nなる画素で構成されるが、
例えば高精度表示可能な表示装置で表示す場合には画像
情報を拡大しなくてはならない。
Generally, image information is composed of m × n pixels,
For example, when displaying on a display device capable of high precision display, the image information must be enlarged.

例えば一辺が2倍の表示密度を有する表示装置の場合
には、画像情報の1個のドットを2×2ドットすなわち
4ドットに割当てて表示しなくてはならない。単に1個
のドットを同一情報として4個のドットに割当てるよう
にした場合には、高精度表示であるにもかかわらず表示
画像は4個のドットが1画素となってしまう。これを防
止する為、従来では画像情報の補間拡大を行っている。
For example, in the case of a display device in which one side has a double display density, one dot of image information must be assigned to 2 × 2 dots, that is, 4 dots for display. If one dot is simply assigned to four dots as the same information, the four dots will be one pixel in the display image even though the display is highly accurate. In order to prevent this, conventionally, interpolation enlargement of image information is performed.

補間拡大の方法には各種あるが、一般的にはm×n画
素より構成される画像情報の1列分をM×N画素より構
成される画像情報の複数列に補間拡大し、さらに次の入
力のm×n画素の1列分の情報を拡大してM×N画素よ
り構成される複数列分の画像情報に変換する等のように
順次補間拡大する方法が多く用いられている。
There are various methods of interpolation enlargement, but generally, one column of image information composed of m × n pixels is interpolated and enlarged into a plurality of columns of image information composed of M × N pixels, and A method of performing sequential interpolation enlargement, such as enlargement of input m × n pixel information for one column and conversion to image information for a plurality of columns composed of M × N pixels, is often used.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

前述した従来の補間拡大の方法は、M×N画素の補間
拡大情報を得るためにm×n画素の情報を1画素単位で
読出して処理しなくてはならない。また、得られたM×
N画素の補間拡大情報をフレームメモリ等に格納するた
めには、同様に一画素単位で格納しなくてはならない。
In the above-described conventional interpolation enlargement method, in order to obtain the interpolation enlargement information of M × N pixels, the information of m × n pixels must be read and processed in pixel units. Also, the obtained M ×
In order to store the interpolation enlargement information of N pixels in the frame memory or the like, it is necessary to store it in units of pixels.

このため、補間拡大演算処理が高速でできたとして
も、全画面の処理を行うと、処理が遅くなってしまうと
いう問題を有していた。
Therefore, even if the interpolation enlargement calculation process can be performed at high speed, if the process for the entire screen is performed, the process will be slow.

本発明は上記従来の欠点に鑑み、全画面の補間拡大処
理を高速で行う補間拡大演算回路を提供することを目的
とする。
In view of the above-mentioned conventional drawbacks, it is an object of the present invention to provide an interpolation enlargement calculation circuit that performs interpolation enlargement processing of the entire screen at high speed.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理ブロック図である。 FIG. 1 is a block diagram of the principle of the present invention.

1はm×n画素より構成される画像情報の少なくとも
1個の画素データが入力端子INより加わり、そのデータ
を順次シフトして複数ドットの画素データを並列に出力
するラインバッファ、2はラインバッファより出力され
る複数ドットの画素データを用いてM×N画素を構成す
る画像情報の複数個の画素の補間拡大データを出力する
補間拡大演算回路である。
Reference numeral 1 is a line buffer to which at least one pixel data of image information composed of m × n pixels is added from an input terminal IN, and the data is sequentially shifted to output pixel data of plural dots in parallel. Reference numeral 2 is a line buffer. It is an interpolation enlargement calculation circuit that outputs interpolation enlargement data of a plurality of pixels of image information forming M × N pixels by using the pixel data of a plurality of dots output from the above.

〔作用〕[Action]

m×n画素より構成される画像情報の少なくとも1個
の画像データが入力端子INに順次加わり、ラインバッフ
ァ1はそのデータを順次シフトする。そして、補間拡大
回路2で補間拡大すべきデータ例えばm×n画素のうち
の特定の範囲のk×l画素のデータを並列に出力する。
その出力データは補間拡大演算回路2に加わり、補間拡
大データを作成し出力する。その出力される補間拡大デ
ータはM×N画素より構成される画像情報を構成するデ
ータであり、特定範囲単位での画像データが順次加わる
ので、パイプライン処理が可能となる。
At least one image data of image information composed of m × n pixels is sequentially applied to the input terminal IN, and the line buffer 1 sequentially shifts the data. Then, the interpolation enlargement circuit 2 outputs in parallel data to be subjected to interpolation enlargement, for example, data of k × l pixels in a specific range of m × n pixels.
The output data is added to the interpolation enlargement calculation circuit 2 to create and output the interpolation enlargement data. The output interpolation enlarged data is data that constitutes image information composed of M × N pixels, and since image data in a specific range unit is sequentially added, pipeline processing becomes possible.

〔実施例〕〔Example〕

以下、図面を用いて本発明を詳細に説明する。 Hereinafter, the present invention will be described in detail with reference to the drawings.

第2図は本発明実施例の回路構成図である。m×n画
素を構成する画像データは、横1列続いて次の横1列の
ように画像を構成する画素をスキャンするごとく順次画
素単位で入力端子INに加わる。そして、h段のシフトレ
ジスタ3と2段のシフトレジスタ4に入力して、制御回
路6より加わる基本クロックで順次シフトする。例えば
m個の画素データが加わった時にはm個の画素データす
なわち画像を構成する横1列のデータがシフトレジスタ
3に記憶される。
FIG. 2 is a circuit configuration diagram of an embodiment of the present invention. The image data forming the m × n pixels are sequentially applied to the input terminal IN in pixel units as the pixels forming the image are scanned one row after the other and one row next. Then, it is input to the shift register 3 of the h stage and the shift register 4 of the two stages, and sequentially shifted by the basic clock applied from the control circuit 6. For example, when m pieces of pixel data are added, m pieces of pixel data, that is, data of one horizontal row forming an image are stored in the shift register 3.

h段のシフトレジスタの出力は2段のシフトレジスタ
5に加わっている。本発明の実施例においては、1列の
画像情報すなわちm個の画像情報の最終データに空白デ
ータを加えて、最終端の画像情報を処理している。後述
するがたとえば2×2で処理する時には、1個の空白画
素データを必要とする。すなわちh段のシフトレジスタ
は(m+1)段のシフトレジスタである。よって、横1
列のデータ(空白データを含む)がシフトレジスタ3に
記憶された後に、2個の画素データが入力されると、シ
フトレジスタ5には最初に入力した画素データとその次
に入力したデータとが格納される。また、シフトレジス
タ4には、2段目の画素データの最初とその次の画素デ
ータが格納される。たとえば第4図(a)に示すように
3×3の画素データである時には、3個のデータC11,C1
2,C13がh段シフトレジスタ3に格納された後、2個の
クロックで2個のデータC11,C12が2段シフトレジスタ
5に格納されると同時にm個の後につづく2個のデータ
C21,C22が2段シフトレジスタ4に格納される。すなわ
ち、2段シフトレジスタ4,5にはデータC11,C12,C21,C22
が格納される。そして、次のクロックで2段シフトレジ
スタ5にはデータC12,C13,2段シフトレジスタ4にはC2
2,C23となる。尚、本発明の実施例においては後述する
が、4個の組合せたデータで4個の補間拡大を行い、画
素を右方向へシフトした4個のデータで4個の補間拡大
を行っている。そして、その取り込み処理を順次行って
いる。
The output of the shift register of the h stage is added to the shift register 5 of the two stages. In the embodiment of the present invention, blank data is added to the final data of one row of image information, that is, the m pieces of image information, and the final image information is processed. As will be described later, for example, one blank pixel data is required when processing 2 × 2. That is, the h-stage shift register is a (m + 1) -stage shift register. Therefore, horizontal 1
When two pieces of pixel data are input after the column data (including blank data) is stored in the shift register 3, the first input pixel data and the next input data are input to the shift register 5. Is stored. Further, the shift register 4 stores the first and second pixel data of the pixel data of the second stage. For example, as shown in FIG. 4 (a), when the pixel data is 3 × 3, three pieces of data C11, C1
After 2, C13 are stored in the h-stage shift register 3, two pieces of data C11, C12 are stored in the two-stage shift register 5 at two clocks, and at the same time, two pieces of data after m pieces are stored.
C21 and C22 are stored in the two-stage shift register 4. That is, the data C11, C12, C21, C22 is stored in the two-stage shift registers 4 and 5.
Is stored. Then, at the next clock, the data C12 and C13 in the two-stage shift register 5 and the data C2 in the two-stage shift register 4
It will be 2, C23. In the embodiment of the present invention, which will be described later, four interpolated enlargements are performed with four combined data, and four interpolated enlargements are performed with four data obtained by shifting pixels to the right. Then, the capturing process is sequentially performed.

前述した4個のデータは順次補間拡大回路7に加わ
る。第3図は補間拡大演算回路7の詳細な回路図であ
り、4個の演算回路13〜16と制御回路7より成る。演算
回路13〜16には入力D1〜D4がそれぞれ加わっている。そ
して、演算回路13〜16にはさらに制御回路17からの演算
制御信号が加わる。
The above-mentioned four data are sequentially added to the interpolation enlargement circuit 7. FIG. 3 is a detailed circuit diagram of the interpolation / expansion arithmetic circuit 7, which is composed of four arithmetic circuits 13 to 16 and a control circuit 7. Inputs D 1 to D 4 are added to the arithmetic circuits 13 to 16, respectively. Then, the arithmetic control signals from the control circuit 17 are further applied to the arithmetic circuits 13 to 16.

第3図に示した本発明の実施例においては、3×3の
画像データを6×6の画像データに補間拡大する回路で
ある。第4図(a)は3×3画素の画像データを説明す
る図、第4図(b)は6×6画素の画像データを説明す
る図である。
The embodiment of the present invention shown in FIG. 3 is a circuit for interpolating and expanding 3 × 3 image data into 6 × 6 image data. FIG. 4 (a) is a diagram for explaining image data of 3 × 3 pixels, and FIG. 4 (b) is a diagram for explaining image data of 6 × 6 pixels.

本発明の実施例では、第4図(a)における3×3画
素の内の2×2画素を用いて第4図(b)における2×
2画素のデータを第2図の演算処理回路13〜16によって
作成している。第5図(a)〜第13図(a)は演算処理
回路13〜16に加える2×2画素の切り出しデータを説明
する図であり、第5図(b)〜第13図(b)はその切り
出したデータを前述した演算処理回路13〜16によって演
算処理して得られた2×2画素の補間拡大データを対応
する位置に格納する説明図である。前述したように3×
3画素の画像データはそれぞれ上下左右で隣合う即ちC1
1・C12・C21・C22,C12・C13・C21・C23,C13・C23,C21・
C22・C31・C32,C22・C23・C32・C33,C23・C33,C31・C3
2,C32・C33,C33を順次切り出す、即ち画像メモリ(図示
しない)より読出してh段レジスタ3、2段レジスタ4,
5によって演算処理回路13〜16に加えている。そして、
これらの画像データより4個(2×2)の補間拡大デー
タを求め出力O1〜O4している。この出力O1〜O4は6×6
画素の画像データS11・S12・S13・S14,S21・S22・S23・
S24,S31・S32,S33・S34,S41・S42・S43・S44,S51・S52
・S53・S54,S61・S62・S63・S64,S71・S72・S73・S74,S
81・S82・S83・S84,S91・S92・S93・S94にそれぞれ対応
している。尚、2×2画素のデータのうち、右端や下端
において存在しない画素の場合には例えば空白データを
用いて、演算処理回路3〜6は演算する。
In the embodiment of the present invention, 2 × 2 pixels among the 3 × 3 pixels in FIG. 4 (a) are used and 2 × 2 pixels in FIG. 4 (b) are used.
Data of two pixels are created by the arithmetic processing circuits 13 to 16 shown in FIG. FIGS. 5 (a) to 13 (a) are diagrams for explaining the cutout data of 2 × 2 pixels added to the arithmetic processing circuits 13 to 16, and FIGS. 5 (b) to 13 (b) are It is explanatory drawing which stores the interpolation expansion data of 2x2 pixel obtained by arithmetically processing the cut-out data by the arithmetic processing circuits 13-16 mentioned above in a corresponding position. 3x as described above
The image data of 3 pixels are adjacent vertically and horizontally, that is, C1
1 / C12 / C21 / C22, C12 / C13 / C21 / C23, C13 / C23, C21 /
C22 / C31 / C32, C22 / C23 / C32 / C33, C23 / C33, C31 / C3
2, C32, C33, C33 are sequentially cut out, that is, read from an image memory (not shown), and the h-stage register 3 and the 2-stage register 4,
5 is added to the arithmetic processing circuits 13 to 16. And
From these image data, four (2 × 2) interpolation enlargement data are obtained and output O 1 to O 4 . This output O 1 to O 4 is 6 × 6
Pixel image data S11 ・ S12 ・ S13 ・ S14, S21 ・ S22 ・ S23 ・
S24, S31 / S32, S33 / S34, S41 / S42 / S43 / S44, S51 / S52
・ S53 ・ S54, S61 ・ S62 ・ S63 ・ S64, S71 ・ S72 ・ S73 ・ S74, S
It corresponds to 81, S82, S83, S84, S91, S92, S93, S94 respectively. In addition, in the case of a pixel that does not exist at the right end or the lower end of the data of 2 × 2 pixels, for example, blank data is used and the arithmetic processing circuits 3 to 6 perform the arithmetic operation.

各演算回路3〜6にはそれぞれ切り出した4個のデー
タが加わっており、この4個のデータから1個(画素)
の画像データを求めている。この4個の画像データから
1個の補間拡大データを得る為の演算は制御回路7から
の演算制御信号によって決定される。
Each of the arithmetic circuits 3 to 6 is added with four pieces of cut out data, and one piece (pixel) from the four pieces of data is added.
Are seeking image data. The calculation for obtaining one interpolation enlarged data from the four image data is determined by the calculation control signal from the control circuit 7.

第14図は演算処理回路3の詳細な回路構成図である。
入力データD1〜D4は演算回路18〜21に対応して加わって
いる。演算回路18〜21は後述するが、乗算器、加算器、
割算器を有している。
FIG. 14 is a detailed circuit configuration diagram of the arithmetic processing circuit 3.
Input data D 1 to D 4 are added corresponding to the arithmetic circuits 18 to 21. The arithmetic circuits 18 to 21, which will be described later, are multipliers, adders,
It has a divider.

制御回路7からはランダムアクセスメモリ(RAM)22
に対し、アドレス信号AD1〜AD3とデータ信号DX1〜DX4
加わっており、演算に必要なデータ例えば加数、乗数、
割数等が格納される。そして、アドレス信号AD1〜AD3
指示された内容のデータが演算回路18〜21に加わる。こ
の定数を用いて演算回路18〜21は、加算、乗算、割算等
を行う。演算回路18〜21は制御回路17からの選択信号SE
1,SE2が加わっており、演算回路18〜21はこの選択信号S
E1,SE2で指示される演算結果を選択して合成回路23に加
える。合成回路23は固定の演算を行う回路であり、例え
ば4個の演算回路18〜21から加わる演算結果を累算して
補間拡大の1画素のデータとして出力する。演算処理回
路14〜16も同様の回路であり、これらの4個の回路によ
ってそれぞれ各1画素のデータO1〜O4が得られる。
Random access memory (RAM) 22 from control circuit 7
On the other hand, address signals AD 1 to AD 3 and data signals DX 1 to DX 4 are added, and data necessary for calculation, such as an addend, a multiplier,
A divisor, etc. is stored. Then, the data having the content designated by the address signals AD 1 to AD 3 is added to the arithmetic circuits 18 to 21. The arithmetic circuits 18 to 21 perform addition, multiplication, division, etc. using this constant. The arithmetic circuits 18 to 21 are selected signals SE from the control circuit 17.
1 and SE 2 are added, and the arithmetic circuits 18 to 21 use the selection signal S
The calculation result designated by E 1 and SE 2 is selected and added to the synthesis circuit 23. The synthesizing circuit 23 is a circuit for performing a fixed operation, for example, accumulates the operation results added from the four operation circuits 18 to 21 and outputs the result as one pixel data for interpolation enlargement. The arithmetic processing circuits 14 to 16 are also similar circuits, and the data O 1 to O 4 of each one pixel are obtained by these four circuits, respectively.

第15図は演算回路18の詳細な回路構成図である。入力
データ即ち2×2画素のうちの1個のデータD1が乗算器
24、加算器25、割算器26に加わっている。そして、ラン
ダムアクセスメモリ22より出力される1個のデータがレ
ジスタ27,28,29を介してそれぞれ乗算器24,加算器25,割
算器26に加わっている。乗算器24は入力データD1とレジ
スタ27より加わるデータを乗算する回路、加算器25は入
力データD1とレジスタ28より加わるデータを加算する回
路、割算器26は入力データD1をレジスタ29の内容で割算
する回路である。
FIG. 15 is a detailed circuit configuration diagram of the arithmetic circuit 18. Input data, that is, one data D 1 of 2 × 2 pixels is a multiplier
It is added to 24, adder 25, and divider 26. Then, one piece of data output from the random access memory 22 is added to the multiplier 24, the adder 25, and the divider 26 via the registers 27, 28, and 29, respectively. The multiplier 24 is a circuit for multiplying the data applied from the input data D 1 and the register 27, the adder 25 is a circuit for adding the data applied from the input data D 1 and the register 28, divider 26 is input data D 1 register 29 It is a circuit that divides by the contents of.

レジスタ27〜29にはランダムアクセスメモリ22からの
データが共通に加わるように接続されているが、レジス
タ27〜29には図示しないが取込クロック信号が加わって
いるので、ランダムアクセスメモリ22より出力される演
算データを取込む。この取込みによって、前述した乗
算、加算、割算等の演算における定数はそれぞれ異なっ
た値とすることができる。これらの乗算器24、加算器2
5、割算器26によって演算された結果はセレクタ30で選
択されて前述した合成回路23で合成される。セレクタ30
は制御回路17から出力される選択信号SE1,SE2によって
例えば順次乗算結果、加算結果、割算結果を選択し、合
成回路23は制御回路17より出力される選択信号SE1,SE2
で選択された演算結果を合成する。第14図では、演算回
路18の詳細な回路であるが、第13図の演算回路19,20,21
も同様であり、これらの回路18〜21によって4個の補間
拡大データが得られる。
The registers 27 to 29 are connected so that the data from the random access memory 22 are commonly added, but the register 27 to 29 has an input clock signal (not shown). Capture the calculated data. By this capture, the constants in the above-mentioned operations such as multiplication, addition, and division can have different values. These multipliers 24, adders 2
5. The result calculated by the divider 26 is selected by the selector 30 and combined by the combining circuit 23 described above. Selector 30
Is the selection signal SE 1, SE 2, for example, by sequentially multiplication result output from the control circuit 17, the addition result, and select the division result, the combining circuit 23 selects the signal SE 1 output from the control circuit 17, SE 2
The operation result selected by is combined. FIG. 14 shows a detailed circuit of the arithmetic circuit 18, but the arithmetic circuits 19, 20, 21 of FIG.
The same applies to the above, and these circuits 18 to 21 obtain four pieces of interpolation enlarged data.

これらの各演算における定数は予めランダムアクセス
メモリ22に格納されており、アドレス信号AD1〜AD3によ
って選択されたそれぞれのレジスタ27〜29に格納され、
さらに制御回路17の制御によって1個の画像データに対
する演算が選択されて合成回路23で合成される。よっ
て、合成回路23で得られる即ち合成回路23から出力され
る1ドットに対する補間拡大データは切り出した4個の
画像データを考慮した演算結果となる。この演算結果
は、セレクタ30で選択できるとともに、演算における定
数も目的の値とすることができるので、合成回路23より
得られる補間拡大データは、各回路で決定されるのでは
なく、制御回路から出力される各種の信号によって決定
される。即ち制御回路の制御と演算に必要な定数を変え
ることによって各種の補間拡大方法による拡大画像デー
タを得ることができる。
The constants in each of these operations are stored in advance in the random access memory 22, and are stored in the respective registers 27 to 29 selected by the address signals AD 1 to AD 3 ,
Further, under the control of the control circuit 17, an operation for one piece of image data is selected and combined by the combining circuit 23. Therefore, the interpolated enlarged data for one dot obtained by the synthesizing circuit 23, that is, output from the synthesizing circuit 23 is a calculation result in consideration of the cut out four image data. This calculation result can be selected by the selector 30 and the constant in the calculation can be set to a target value. Therefore, the interpolation enlarged data obtained from the synthesizing circuit 23 is not determined by each circuit but from the control circuit. It is determined by various signals output. That is, enlarged image data can be obtained by various interpolation enlarging methods by changing the constants required for control and calculation of the control circuit.

第2図にもどって再度説明する。 It returns to FIG. 2 and is explained again.

前述した動作によって補間拡大演算回路7は4個の切
出した画素データから4個の補間拡大データを出力す
る。そしてそのデータは選択回路8に加わる。本発明の
実施例においては、補間拡大した結果は4画素のデータ
O1〜O4であるが、データO1,O2とデータO3,O4とは結果が
格納される列が異なる。これを選択するのが選択回路8
の出力が加わる選択回路9である。この2個の選択回路
によってデータO1,O2が上位ラインバッファ10,データ
O3,O4が下位ラインバッファ11に加わる。すなわち1個
の画像データが加わり、補間拡大演算回路7で補間拡大
されたデータO1〜O4のうちのデータO1がまず選択回路8
で選択されるとともに、選択回路9でラインバッファ10
に出力される。次には選択回路8でデータO2が選択さ
れ,選択回路9でラインバッファ10に出力される。次の
データO3,O4が各々選択回路8で選択された時には選択
回路9でラインバッファ11に出力される。
By the operation described above, the interpolation / magnification calculation circuit 7 outputs four interpolation / magnification data from the four cut-out pixel data. Then, the data is added to the selection circuit 8. In the embodiment of the present invention, the result of interpolation expansion is data of 4 pixels.
O 1 to O 4 , but the columns in which the results are stored are different between the data O 1 and O 2 and the data O 3 and O 4 . The selection circuit 8 selects this.
It is the selection circuit 9 to which the output of is added. The data O 1 and O 2 are transferred to the upper line buffer 10 and the data by the two selection circuits.
O 3 and O 4 join the lower line buffer 11. That joined by one of the image data, selection data O 1 of the data O 1 ~ O 4 interpolated enlarged by the interpolation enlargement arithmetic circuit 7 is first circuit 8
Is selected by the line buffer 10 by the selection circuit 9.
Is output to Next, the selection circuit 8 selects the data O 2 and the selection circuit 9 outputs it to the line buffer 10. When the next data O 3 and O 4 are selected by the selection circuit 8, they are output to the line buffer 11 by the selection circuit 9.

補間拡大演算回路7によって1列分のデータが処理さ
れた時には、ラインバッファ10とラインバッファ11には
各列の補間拡大データが格納される。選択回路12にはラ
インバッファ10,11の出力が加わっており、1列分のデ
ータを選択して図示しない拡大画像メモリに列単位で読
出して出力する。例えば、6×6の補間拡大画像データ
を得る時には6データを1列とした単位で、出力され
る。前述した、選択回路8,9,12は制御回路6の制御信号
によって選択動作し、ラインバッファ10,11は制御回路
6からの取込みがクロックによってデータを取込むとと
もに、出力クロックによってデータを選択回路12に出力
する。
When the data for one column is processed by the interpolation / magnification calculation circuit 7, the line buffer 10 and the line buffer 11 store the interpolation / magnification data of each column. The output of the line buffers 10 and 11 is added to the selection circuit 12, and the data for one column is selected, read out and output in column units to an enlarged image memory (not shown). For example, when obtaining 6 × 6 interpolated enlarged image data, 6 data are output in units of one column. As described above, the selection circuits 8, 9 and 12 perform a selection operation according to the control signal of the control circuit 6, and the line buffers 10 and 11 receive data from the control circuit 6 by a clock and select data by the output clock. Output to 12.

一方、次の列を演算する時には、h段のシフトレジス
タ3は次の列を出力する。例えば第4図に示すデータC1
1,C12,C13が格納されていて前述した処理がなされた後
ではh段シフトレジスタ3にはC21,C22,C23が格納され
ている。これにより、前述した動作と同様に1列分の拡
大補間がなされる。この動作の繰り返しによって、順次
拡大補間処理がなされる。なお、第5図〜第13図に示す
ように、3×3の画像の右端と下端部は空白データを用
いて処理を行うため、1列のデータ3個を取込んだ後に
は1個の空白データを取込むように制御回路6は図示し
ない画像メモリをアクセスする。
On the other hand, when calculating the next column, the h-stage shift register 3 outputs the next column. For example, the data C1 shown in FIG.
After 1, C12, C13 are stored and the above-mentioned processing is performed, C21, C22, C23 are stored in the h-stage shift register 3. As a result, one column of expanded interpolation is performed as in the above-described operation. By repeating this operation, the expansion interpolation processing is sequentially performed. As shown in FIGS. 5 to 13, since the right end and the lower end of the 3 × 3 image are processed using blank data, one data is acquired after three data in one column are fetched. The control circuit 6 accesses an image memory (not shown) so as to fetch blank data.

また、選択回路12による1列単位での書込みは、同様
に制御回路6によって図示しない拡大画像メモリに格納
される。すなわち、第4図に示すような補間拡大処理の
時には、6個の画素データを1列として、2列分を書込
む。この書込みの時には前述した補間拡大処理は停止し
ている。
Further, the writing by the selection circuit 12 in units of one column is similarly stored in the enlarged image memory (not shown) by the control circuit 6. That is, in the interpolation enlargement processing as shown in FIG. 4, two columns are written with six pixel data as one column. At the time of this writing, the above-mentioned interpolation enlargement processing is stopped.

第2図、第3図、第14図、第15図における各入力、各
出力の画像データは1本の線で表しているが、これは1
ビットデータではなく、複数のビットデータを表してい
る。またこの処理は白黒とは限らず例えば3原色の各色
に対し行うように図示しない回路によって制御される。
The image data of each input and each output in FIGS. 2, 3, 14, and 15 is represented by one line.
It represents a plurality of bit data, not bit data. This processing is not limited to black and white, but is controlled by a circuit (not shown) so that it is performed for each of the three primary colors.

第2図に示した本発明の実施例においては、3×3画
素の画像データを2×2画素で切り出して2×2画素の
拡大データを求めているが、これに限らず例えば4×4
画素切り出しと演算を可能なように構成しておけば、2
×2画素、3×3画素、4×4画素における補間拡大演
算が任意に行え、さらにその演算処理も任意に行える補
間拡大回路が可能となる。
In the embodiment of the present invention shown in FIG. 2, the image data of 3 × 3 pixels is cut out by 2 × 2 pixels to obtain the enlarged data of 2 × 2 pixels.
If it is configured so that pixel extraction and calculation can be performed, 2
It is possible to provide an interpolation enlarging circuit which can arbitrarily perform interpolation enlarging calculation in × 2 pixels, 3 × 3 pixels, and 4 × 4 pixels, and can further perform the arithmetic processing.

〔発明の効果〕〔The invention's effect〕

以上のべたように、本発明は補間拡大処理を行う時に
必要とするデータを順次レジスタに取込んで1クロック
で複数個のデータの組を補間拡大回路に加えるものであ
り、本発明によれば、全画面の補間拡大処理を高速で行
う補間拡大演算回路を得ることができる。
As described above, according to the present invention, the data required for performing the interpolation enlargement process is sequentially taken into the register and a plurality of data sets are added to the interpolation enlargement circuit in one clock. Thus, it is possible to obtain an interpolation enlargement calculation circuit that performs the interpolation enlargement process of the entire screen at high speed.

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

第1図は本発明の原理ブロック図、 第2図は本発明の実施例の回路構成図、 第3図は補間拡大回路の回路構成図、 第4図(a)は3×3画素の画像データを説明する図、 第4図(b)は6×6画素の画像データを説明する図、 第5図(a)は2×2画素の切り出しを説明する図、 第5図(b)は2×2画素の補間拡大を説明する図、 第6図(a)は2×2画素の切り出しを説明する図、 第6図(b)は2×2画素の補間拡大を説明する図、 第7図(a)は2×2画素の切り出しを説明する図、 第7図(b)は2×2画素の補間拡大を説明する図、 第8図(a)は2×2画素の切り出しを説明する図、 第8図(b)は2×2画素の補間拡大を説明する図、 第9図(a)は2×2画素の切り出しを説明する図、 第9図(b)は2×2画素の補間拡大を説明する図、 第10図(a)は2×2画素の切り出しを説明する図、 第10図(b)は2×2画素の補間拡大を説明する図、 第11図(a)は2×2画素の切り出しを説明する図、 第11図(b)は2×2画素の補間拡大を説明する図、 第12図(a)は2×2画素の切り出しを説明する図、 第12図(b)は2×2画素の補間拡大を説明する図、 第13図(a)は2×2画素の切り出しを説明する図、 第13図(b)は2×2画素の補間拡大を説明する図、 第14図は演算処理回路の詳細な回路構成図、 第15図は演算回路な詳細な回路構成図である。 1……ラインバッファ、 2……補間拡大回路. 1 is a block diagram of the principle of the present invention, FIG. 2 is a circuit configuration diagram of an embodiment of the present invention, FIG. 3 is a circuit configuration diagram of an interpolation enlargement circuit, and FIG. 4 (a) is an image of 3 × 3 pixels. FIG. 4 (b) is a diagram for explaining data, FIG. 4 (b) is a diagram for explaining image data of 6 × 6 pixels, FIG. 5 (a) is a diagram for explaining cutting out of 2 × 2 pixels, and FIG. 6A and 6B are diagrams illustrating interpolation enlargement of 2 × 2 pixels, FIG. 6A is a diagram illustrating clipping of 2 × 2 pixels, and FIG. 6B is a diagram illustrating interpolation enlargement of 2 × 2 pixels. FIG. 7 (a) is a diagram illustrating clipping of 2 × 2 pixels, FIG. 7 (b) is a diagram illustrating interpolation enlargement of 2 × 2 pixels, and FIG. 8 (a) is a segmenting of 2 × 2 pixels. FIG. 8 (b) is a diagram illustrating interpolation enlargement of 2 × 2 pixels, FIG. 9 (a) is a diagram illustrating clipping of 2 × 2 pixels, and FIG. 9 (b) is 2 ×. 2 pixel interpolation FIG. 10 (a) is a diagram for explaining clipping of 2 × 2 pixels, FIG. 10 (b) is a diagram for explaining interpolation enlargement of 2 × 2 pixels, and FIG. FIG. 11 (b) is a diagram for explaining clipping of 2 × 2 pixels, FIG. 11 (b) is a diagram for explaining interpolation expansion of 2 × 2 pixels, and FIG. 12 (a) is a diagram for explaining clipping of 2 × 2 pixels. FIG. 13B is a diagram for explaining interpolation enlargement of 2 × 2 pixels, FIG. 13A is a diagram for explaining cutout of 2 × 2 pixels, and FIG. 13B is a diagram for explaining interpolation enlargement of 2 × 2 pixels. FIG. 14 is a detailed circuit configuration diagram of an arithmetic processing circuit, and FIG. 15 is a detailed circuit configuration diagram of an arithmetic circuit. 1 ... Line buffer, 2 ... Interpolation enlargement circuit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】m×n画素より構成される画像情報の少な
くとも1行分の入力画像データを格納する入力ラインバ
ッファと、 複数の任意に定めたデータを記憶し、選択指定されて当
該任意に定めたデータを出力する記憶手段と、 入力画像データと前記任意に定めたデータとを乗算する
乗算器、入力画像データと前記任意に定めたデータとを
加算する加算器、及び入力画像データと前記任意に定め
たデータとを割算する割算器をそれぞれ1つずつと、前
記乗算器、前記加算器、及び前記割算器の出力から1つ
を選択して出力する選択手段からなる複数の演算手段
と、該複数の演算手段から出力されるデータを合成して
補間拡大データとする合成回路とを有する複数の演算処
理手段と、前記選択手段に選択の指示をする制御手段と
を備えており、直接入力される入力画像データと前記入
力ラインバッファを介して入力される入力画像データと
の処理を前記演算処理手段により並列に行って補間拡大
データを出力する補間拡大演算回路と、 前記補間拡大演算回路から出力される前記補間拡大デー
タを格納する複数の出力ラインバッファとを備え、 前記補間拡大データのうち同一行に属するデータは同一
の出力ラインバッファに格納することを特徴とする補間
拡大演算装置。
1. An input line buffer for storing input image data of at least one line of image information composed of m × n pixels, and a plurality of arbitrarily determined data are stored and selected and designated to be arbitrarily selected. A storage unit that outputs defined data, a multiplier that multiplies the input image data and the arbitrarily defined data, an adder that adds the input image data and the arbitrarily defined data, and the input image data and the A plurality of dividers each of which divides arbitrarily determined data, and a plurality of selecting means for selecting and outputting one of the outputs of the multiplier, the adder, and the divider. A plurality of arithmetic processing means having arithmetic means, a synthesis circuit for synthesizing data output from the plurality of arithmetic means to obtain interpolated enlarged data, and a control means for instructing the selecting means to select. Cage, straight An interpolation enlargement calculation circuit for processing the input image data input directly and the input image data inputted via the input line buffer in parallel by the calculation processing means to output interpolation enlargement data; A plurality of output line buffers for storing the interpolation enlargement data output from a circuit, wherein data belonging to the same row among the interpolation enlargement data are stored in the same output line buffer. .
JP61142933A 1986-06-20 1986-06-20 Interpolation enlargement calculation circuit Expired - Fee Related JP2568179B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61142933A JP2568179B2 (en) 1986-06-20 1986-06-20 Interpolation enlargement calculation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61142933A JP2568179B2 (en) 1986-06-20 1986-06-20 Interpolation enlargement calculation circuit

Publications (2)

Publication Number Publication Date
JPS63684A JPS63684A (en) 1988-01-05
JP2568179B2 true JP2568179B2 (en) 1996-12-25

Family

ID=15327019

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61142933A Expired - Fee Related JP2568179B2 (en) 1986-06-20 1986-06-20 Interpolation enlargement calculation circuit

Country Status (1)

Country Link
JP (1) JP2568179B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3869095B2 (en) * 1997-11-26 2007-01-17 株式会社東芝 Water heater

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS594061B2 (en) * 1976-08-30 1984-01-27 日本電気株式会社 Interpolation calculation circuit
JPS56119574A (en) * 1980-02-25 1981-09-19 Ricoh Co Ltd Method and device for picture element density conversion
JPS5827146A (en) * 1981-08-10 1983-02-17 Dainippon Printing Co Ltd Interpolator for scanning line in photoengraving system for video image
JPH0681243B2 (en) * 1984-08-08 1994-10-12 日本電信電話株式会社 Image processing method

Also Published As

Publication number Publication date
JPS63684A (en) 1988-01-05

Similar Documents

Publication Publication Date Title
US4563703A (en) Video processing systems
EP0639029A2 (en) Apparatus for converting frame format of television signal
JPH04354287A (en) Image interpolation circuit
JP3065021B2 (en) Image mixing processor
JPS63121364A (en) Interpolator of television special effect apparatus
JP3133702B2 (en) Digital still camera
JP2568179B2 (en) Interpolation enlargement calculation circuit
US5150213A (en) Video signal processing systems
JP2568178B2 (en) Interpolation enlargement calculation circuit
US5157517A (en) Parallel interpolator for high speed digital image enlargement
US5786802A (en) Circuit and method for vertically expanding a display image
US7697817B2 (en) Image processing apparatus and method, and recorded medium
JPH07264395A (en) Image reducing device
KR19990072683A (en) A method for magnifying and reducing a digital image and a circuit therefor
JPH07123308A (en) Device and method for electronic zoom
JPH02135880A (en) Image pickup device
JP2002176628A (en) Image converter
KR970006553B1 (en) Display zooming apparatus of image signal processing system
JP3264941B2 (en) Image display control method and apparatus
JPH03139773A (en) Digital image processor
JPH0888837A (en) Interpolation circuit for down converter
JPH1028238A (en) Image processor
JPH06276432A (en) Magnified picture display device
KR19980084261A (en) Method and apparatus for determining magnification area of electronic zoom system
JPS62263579A (en) Interpolation arithmetic circuit

Legal Events

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