JPH0449473A - Image interpolating and contracting system - Google Patents
Image interpolating and contracting systemInfo
- Publication number
- JPH0449473A JPH0449473A JP2160207A JP16020790A JPH0449473A JP H0449473 A JPH0449473 A JP H0449473A JP 2160207 A JP2160207 A JP 2160207A JP 16020790 A JP16020790 A JP 16020790A JP H0449473 A JPH0449473 A JP H0449473A
- Authority
- JP
- Japan
- Prior art keywords
- interpolation
- data
- result
- reduction
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 claims abstract description 44
- 238000007792 addition Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000007796 conventional method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 210000000988 bone and bone Anatomy 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformation in the plane of the image
- G06T3/40—Scaling the whole image or part thereof
- G06T3/4007—Interpolation-based scaling, e.g. bilinear interpolation
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は多階調画像データを2/3に補間縮小する方式
に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for interpolating and reducing multi-tone image data to 2/3.
従来の多階調画像データを2/3に補間縮小する方式の
一例を第3図に示す。図に示しているようにすべての補
間結果は相隣りあう4点のデータを用いて得ていた。す
なわちり。O+ D 0+ + D 10I)ttの4
点のデータから1点の補間データを得、同様にしてDO
I、 DO2,D II+ D I2の4点のデータか
ら1点の補間データを得ることを繰り返す。FIG. 3 shows an example of a conventional method for interpolating and reducing multi-gradation image data to 2/3. As shown in the figure, all interpolation results were obtained using data from four adjacent points. In other words, Ri. O+ D 0+ + D 10I)tt's 4
Obtain interpolated data for one point from point data, and do the same in the same way as DO
Obtaining one point of interpolated data from four points of data I, DO2, D II+DI2 is repeated.
このようにしてり。0〜D22の9点のデータから4点
の補間データが得られる。そして1点の補間デ−タを得
るために3回の加算と1回の除算が必要である。Do it like this. Four points of interpolated data are obtained from nine points of data from 0 to D22. Three additions and one division are required to obtain one point of interpolated data.
上記した従来の2/3補間縮小方式においては、1つの
補間結果を得るためには2つの入力ラインと2つのカラ
ムデータが必要となるため、画像骨のデータを2/3に
補間縮小するのに処理時間がかかるという欠点がある。In the conventional 2/3 interpolation reduction method described above, two input lines and two column data are required to obtain one interpolation result, so it is necessary to interpolate and reduce the image bone data to 2/3. The disadvantage is that it takes a long processing time.
本発明の目的は簡易な補間方法を部分的に採用するよう
にして上記の欠点を解消した画像補間縮小方式を提供す
ることにある。SUMMARY OF THE INVENTION An object of the present invention is to provide an image interpolation reduction method that partially employs a simple interpolation method to eliminate the above drawbacks.
本発明の画像補間縮小方式は、多階調画像データを2/
3に補間縮小する装置において、1点のデータを用いて
補間結果とする第1の方法と、X方向の相隣り合う2点
のデータを用いて補間結果とする第2の方法と、Y方向
の相隣合う2点のデータを用いて補間結果とする第3の
方法と、相隣り合う4点のデータを用いて補間結果とす
る第4の方法とを備え、第1の出力ラインに対しては前
記第1と第2の補間方法を繰り返すことにより縮小結果
を得、続く第2の出力ラインに対しては前記第3と第4
の補間方法を繰り返すことにより縮小結果を得、以後ラ
イン単位で補間を繰り返すようにして実現される。The image interpolation reduction method of the present invention converts multi-tone image data into 2/
In a device that performs interpolation and reduction in size, there are two methods: a first method that uses data from one point to generate an interpolation result, a second method that uses data from two adjacent points in the X direction to generate an interpolation result, and a second method that uses data from two adjacent points in the X direction to generate an interpolation result. A third method uses data from two adjacent points to generate an interpolation result, and a fourth method uses data from four adjacent points to generate an interpolation result. Then, the reduction result is obtained by repeating the first and second interpolation methods, and the third and fourth interpolation methods are used for the subsequent second output line.
The reduction result is obtained by repeating the interpolation method, and the interpolation is then repeated line by line.
また、本発明の画像補間縮小方式は、第1の出力ライン
に対しては前記第1および第3の補間方法を繰り返すこ
とにより縮小結果を得、続く第2の出力ラインに対して
は前記第2および第4の補間方法を繰り返すことにより
縮小結果を得、以後ライン単位で補間を繰り返すように
して実現される。Further, the image interpolation reduction method of the present invention obtains a reduction result by repeating the first and third interpolation methods for the first output line, and obtains the reduction result by repeating the first and third interpolation methods for the second output line. The reduction result is obtained by repeating the second and fourth interpolation methods, and thereafter the interpolation is repeated line by line.
以下本発明について図面を参照して説明する。 The present invention will be explained below with reference to the drawings.
第1図は本発明の補間縮小方式の一実施例を示す説明図
であり、2次元画像データへの適用例を示す。第2図は
その縮小結果画像を示す説明図である。FIG. 1 is an explanatory diagram showing an embodiment of the interpolation reduction method of the present invention, and shows an example of application to two-dimensional image data. FIG. 2 is an explanatory diagram showing the reduced image.
第1図においてり。01 DOI+ DO2・・・はそ
れぞれ1つの画像データを示し、第2図のA OO+
A O+・・・は縮小結果の画像データである。In Figure 1. 01 DOI+ DO2... each indicates one image data, and A OO+ in Fig. 2
AO+... is image data as a result of reduction.
次に本発明による画像縮小の動作について説明する。ま
ずAooに対しては1点のデータを用いて補間結果とす
る第1の方法を適用し
A 00 = D 60・・(1)
とする。A 6 lに対してはX方向に隣り合う2点の
データを用いて補間結果とする第2の方法を適用し
A o1= (1) ot+D 02) / 2− (
2)とする。以後
A 02−− D 03
A a3−(D o4+ D os) / 2の補間を
繰り返す。Next, the image reduction operation according to the present invention will be explained. First, for Aoo, the first method of using one point of data as an interpolation result is applied, and A 00 = D 60 (1). For A 6 l, the second method is applied to obtain the interpolation result using the data of two points adjacent in the X direction, and A o1= (1) ot+D 02) / 2- (
2). Thereafter, the interpolation of A 02-- D 03 A a3-(Do4+Dos)/2 is repeated.
次にAloに対してはY方向に隣り合う2点のデータを
用いて補間結果とする第3の方法を用いてA +o−(
D to+D 20) / 2− (3)として求め、
Allに対しては隣り合う4点のデータを用いて補間結
果とする第4の方法を用いA++−” (D+++D+
2−tD2++D22)/4・・・(4)として求める
。以後
A I2− (D 13+ D 23)/ 2A13−
(DI4+DI5+D24+D25)/4の補間を繰
り返す。こうして求めた画像は9点の画像データから4
点の画像に、即ち2/3に縮小されている。Next, for Alo, a third method is used that uses the data of two points adjacent in the Y direction to obtain the interpolation result, and A +o-(
Determined as D to + D 20) / 2- (3),
For All, a fourth method is used that uses the data of four adjacent points to obtain the interpolation result, and A++-" (D+++D+
2-tD2++D22)/4...(4). Hereafter A I2- (D 13+ D 23)/2A13-
Repeat the interpolation of (DI4+DI5+D24+D25)/4. The image obtained in this way is 4 from the 9 points of image data.
It is reduced to a point image, ie, reduced to 2/3.
次に計算量について考えてみると、Doo、D01+
D 02+ D 10”’ D 22の9点のデータか
らAOO+A(11,A 10. A 11を求める場
合、(1)式ては計算の必要はなく、(2) 、 (3
)式では1回の加算と1回の除算、(4)式では3回の
加算と1回の除算、合計5回の加算と3回の除算で縮小
が完了する。Next, thinking about the amount of calculation, Doo, D01+
When calculating AOO+A(11, A 10.
), the reduction is completed by one addition and one division, and the formula (4) is three additions and one division, for a total of five additions and three divisions.
従来の方法ではAOO〜A 11の各4点いづれの計算
量も3回の加算と1回の除算が必要であり、合計12回
の加算と4回の除算が必要である。In the conventional method, the calculation amount for each of the four points AOO to A11 requires three additions and one division, for a total of 12 additions and four divisions.
〔発明の効果〕
以上の説明で明らかな如く本発明の画像補間縮小方式に
よれば部分的に簡易な補間方法を採用することにより、
処理時間の短縮の効果を得ることができる。[Effects of the Invention] As is clear from the above explanation, according to the image interpolation reduction method of the present invention, by partially adopting a simple interpolation method,
The effect of shortening processing time can be obtained.
第1図は本発明の一実施例を示す説明図、第2図は縮小
結果を示す説明図、第3図は従来の例を示す説明図であ
る。
D 00〜D 55”’原画像の画像データ、A oo
〜A 33・・・縮小結果の画像データ。FIG. 1 is an explanatory diagram showing an embodiment of the present invention, FIG. 2 is an explanatory diagram showing a reduction result, and FIG. 3 is an explanatory diagram showing a conventional example. D 00 to D 55”' Original image data, A oo
~A33... Image data as a result of reduction.
Claims (1)
いて、1点のデータを用いて補間結果とする第1の方法
と、X方向の相隣り合う2点のデータを用いて補間結果
とする第2の方法と、Y方向の相隣合う2点のデータを
用いて補間結果とする第3の方法と、相隣り合う4点の
データを用いて補間結果とする第4の方法とを備え、第
1の出力ラインに対しては前記第1と第2の補間方法を
繰り返すことにより縮小結果を得、続く第2の出力ライ
ンに対しては前記第3と第4の補間方法を繰り返すこと
により縮小結果を得、以後ライン単位で補間を繰り返す
ことを特徴とする画像補間縮小方式。 2、請求項1記載の画像補間縮小方式において、第1の
出力ラインに対しては前記第1および第3の補間方法を
繰り返すことにより縮小結果を得、続く第2の出力ライ
ンに対しては前記第2および第4の補間方法を繰り返す
ことにより縮小結果を得、以後ライン単位で補間を繰り
返すことを特徴とする画像補間縮小方式。[Claims] 1. In an apparatus for interpolating and reducing multi-gradation image data to 2/3, a first method uses one point of data to obtain an interpolation result, and a first method uses two points adjacent in the X direction. A second method uses data to generate an interpolation result, a third method uses data from two adjacent points in the Y direction to generate an interpolation result, and a third method uses data from four adjacent points to generate an interpolation result. A reduction result is obtained by repeating the first and second interpolation methods for the first output line, and the third and second interpolation methods are performed for the subsequent second output line. An image interpolation reduction method characterized in that a reduction result is obtained by repeating the fourth interpolation method, and thereafter interpolation is repeated line by line. 2. In the image interpolation reduction method according to claim 1, the reduction result is obtained by repeating the first and third interpolation methods for the first output line, and the reduction result is obtained for the subsequent second output line. An image interpolation reduction method characterized in that a reduction result is obtained by repeating the second and fourth interpolation methods, and thereafter interpolation is repeated line by line.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2160207A JPH0449473A (en) | 1990-06-19 | 1990-06-19 | Image interpolating and contracting system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2160207A JPH0449473A (en) | 1990-06-19 | 1990-06-19 | Image interpolating and contracting system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0449473A true JPH0449473A (en) | 1992-02-18 |
Family
ID=15710079
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2160207A Pending JPH0449473A (en) | 1990-06-19 | 1990-06-19 | Image interpolating and contracting system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0449473A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0660173A (en) * | 1992-06-11 | 1994-03-04 | Internatl Business Mach Corp <Ibm> | Method and apparatus for reducing picture |
-
1990
- 1990-06-19 JP JP2160207A patent/JPH0449473A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0660173A (en) * | 1992-06-11 | 1994-03-04 | Internatl Business Mach Corp <Ibm> | Method and apparatus for reducing picture |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5202670A (en) | Image processing apparatus | |
JPS6126382A (en) | Animation frame rate conversion system with use of moving quantity | |
JPH10319898A (en) | Resolution converting method and display control device using it | |
CA2129092A1 (en) | Image Interpolation Apparatus | |
KR100416370B1 (en) | Method and apparatus for deinterlacing video fields into sequential scan video frames | |
JPH0449473A (en) | Image interpolating and contracting system | |
US6766338B1 (en) | High order lagrange sample rate conversion using tables for improved efficiency | |
JPS63166369A (en) | Mobile vector detection circuit | |
JPS6219973A (en) | Data compression method | |
JPH0581951B2 (en) | ||
JP2760083B2 (en) | Interframe interpolation method | |
JPS62145482A (en) | Picture processor | |
JP3017239B2 (en) | Image generation method | |
JPS6029042A (en) | Waveform correcting method at the time of d/a conversion | |
KR20020057527A (en) | Method and apparatus for interpolating image | |
JP2736803B2 (en) | How to convert image magnification | |
JPS6367913A (en) | Method for converting time sequential numerical data | |
JPS61276071A (en) | Image processing device | |
JP2949587B2 (en) | Pixel density converter | |
JPH06204798A (en) | System for interpolating asynchronous sampling frequency conversion | |
JPH01142990A (en) | Picture processor | |
JPH05145422A (en) | Pulse modulation system and d/a converter | |
KR100343463B1 (en) | Format converting apparatus | |
JPS62276669A (en) | Interpolation device | |
JPH04326183A (en) | Enlarging and reducing method for picture |