JPH08223407A - Image processing unit - Google Patents

Image processing unit

Info

Publication number
JPH08223407A
JPH08223407A JP7025275A JP2527595A JPH08223407A JP H08223407 A JPH08223407 A JP H08223407A JP 7025275 A JP7025275 A JP 7025275A JP 2527595 A JP2527595 A JP 2527595A JP H08223407 A JPH08223407 A JP H08223407A
Authority
JP
Japan
Prior art keywords
data
interpolation
multiplier
pixel
original
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
JP7025275A
Other languages
Japanese (ja)
Inventor
Mitsuru Owada
満 大和田
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 JP7025275A priority Critical patent/JPH08223407A/en
Publication of JPH08223407A publication Critical patent/JPH08223407A/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)
  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE: To attain interpolation processing of all of four picture elements to be obtained without changing a multiplication coefficient by using an interpolation filter equivalent to one picture element to replace a received original picture element. CONSTITUTION: Original picture elements including a noted picture element E are inputted from an input terminal 101. A switch circuit 102 selects an original image required for arithmetic operation of an interpolation picture element and provides an output to each of multipliers 103-106. Data of an original picture element A are given to the multiplier 103, data of an original picture element B are given to the multiplier 104, data of an original picture element D are given to the multiplier 105, data of an original picture element E are given to the multiplier 106 and the results of products are added by an adder 107 to obtain an interpolation result E1. Similarly data of an original picture element C are given to the multiplier 103, data of an original picture element F are given to the multiplier 104, data of an original picture element B are given to the multiplier 105, data of an original picture element E are given to the multiplier 106 to obtain the interpolation result E2. Similarly results E3, E4 are obtained. Thus, interpolation picture elements E1-E4 with respect to the noted picture element E are obtained by a series of four operations.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、画像処理装置に関し、
特に入力された多値画像信号を基に画素密度または拡大
処理を行う画像処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus,
In particular, the present invention relates to an image processing device that performs pixel density or enlargement processing based on an input multi-valued image signal.

【0002】[0002]

【従来の技術】従来からコピー機等の画像情報を処理す
る機器においては、拡大変倍処理あるいは画素密度変換
処理が行われている。
2. Description of the Related Art Conventionally, enlargement / magnification processing or pixel density conversion processing has been performed in a device such as a copying machine for processing image information.

【0003】拡大または画素密度変換する1手法とし
て、入力された原画像を複数回繰返すという単純ないわ
ゆる前値補間法があるが、この方法は、輪郭部にジャギ
ーが発生し、また倍率をあげるとブロック状に歪みが発
生してしまい画質の大きな劣化を招いてしまう。
As one method for enlarging or converting the pixel density, there is a simple so-called pre-value interpolation method in which an input original image is repeated a plurality of times, but this method causes jaggies in the contour portion and increases the magnification. As a result, block-shaped distortion occurs, which causes a large deterioration in image quality.

【0004】これを解決する方法として、画質劣化の少
ない線形補間法がある。この補間法を用いた一般的な変
換例を図11を用いて説明する。図11は、原画素の2
次元平面上の重心点A〜Iと、変換後の画素E1を原画
像上に写像したときの状態を示している。この時のE1
の画素位置を図のようにx,yとしたとき、求める画素
E1は周囲の4点の原画素A、B、D、Eから1次補間
する事で求めることができる。すなわち、変換画素E1
の画素値(濃度)は次の様になる。
As a method of solving this, there is a linear interpolation method which causes little deterioration in image quality. A general conversion example using this interpolation method will be described with reference to FIG. FIG. 11 shows 2 of the original pixels.
The center of gravity points A to I on the dimensional plane and the pixel E1 after conversion are mapped onto the original image. E1 at this time
When the pixel position of x is set to x and y as shown in the figure, the pixel E1 to be obtained can be obtained by linearly interpolating from four surrounding original pixels A, B, D and E. That is, the conversion pixel E1
The pixel value (density) of is as follows.

【0005】E1=xyA+(1−x)yB+x(1+
y)D+(1−x)(1−y)E この演算を行うことで新たな画素を線形補間する事が可
能となる。
E1 = xyA + (1-x) yB + x (1+
y) D + (1-x) (1-y) E By performing this calculation, a new pixel can be linearly interpolated.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、従来に
おいては一つの補間画素を演算するのに8個の乗算器と
5個の減加算器が必要になるため、ハード量が多くなる
という問題が有った。また補間画素ごとに原画像上での
位置(x,y)を求めなければならず、この演算回路も
大きなハード量を必要とする。原画像の位置(x,y)
を前もって計算しその結果をメモリー等に保持しその結
果を演算に用いることも可能であるが、この場合におい
てもメモリーとその周辺回路が必要となりハード量の増
加は避けれなかった。
However, in the prior art, since eight multipliers and five subtraction adders are required to calculate one interpolation pixel, there is a problem that the amount of hardware increases. It was. Further, the position (x, y) on the original image must be obtained for each interpolation pixel, and this arithmetic circuit also requires a large amount of hardware. Original image position (x, y)
It is also possible to calculate in advance and retain the result in a memory or the like and use the result for calculation, but in this case as well, the memory and its peripheral circuits are required, and an increase in the amount of hardware is unavoidable.

【0007】本発明は、上述した従来例の欠点に鑑みて
なされたものであり、その目的とするところは、画質劣
化させることなく、簡単なハードウェアで実現できる画
素密度または拡大処理を行う画像処理装置を提供するこ
とである。
The present invention has been made in view of the above-mentioned drawbacks of the conventional example, and an object of the present invention is to provide an image for which pixel density or enlargement processing can be realized by simple hardware without degrading image quality. It is to provide a processing device.

【0008】[0008]

【課題を解決するための手段】本発明は上述の課題を解
決することを目的としてなされたもので、上述の課題を
解決する一手段として以下の構成を備える。
The present invention has been made for the purpose of solving the above-mentioned problems, and has the following structure as one means for solving the above-mentioned problems.

【0009】即ち、注目画素周囲の9画素から規則に従
って最大4画素を選択する手段を有し、1つの注目原画
素について4回の同様な処理を行う構成を備える。
That is, a means for selecting a maximum of 4 pixels from 9 pixels around the target pixel according to a rule is provided, and the same processing is performed four times for one target original pixel.

【0010】[0010]

【作用】以上の構成において、画像の画質劣化を極力低
減し、簡単なハードウェアで画素密度変換または拡大処
理を行うことを可能とする。
With the above construction, the deterioration of the image quality can be reduced as much as possible, and the pixel density conversion or enlargement processing can be performed with simple hardware.

【0011】[0011]

【実施例】【Example】

(実施例1)以下、図面を参照して本発明に係る一実施
例を詳細に説明する。
(Embodiment 1) Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

【0012】図1は本発明に係る一実施例の概略構成を
示す図である。
FIG. 1 is a diagram showing a schematic configuration of an embodiment according to the present invention.

【0013】図2は本実施例の画素の関係を説明する図
である。
FIG. 2 is a diagram for explaining the pixel relationship of this embodiment.

【0014】本実施例は垂直水平それぞれ2倍に拡大ま
たは画素密度変換した場合について説明する。図2中A
〜Iは入力された原画素を示す。注目画素Eを拡大また
は画素密度変換する事で、補間画素E1〜E4を得る。
補間画素E1は原画素A、B、D、Eから補間する事が
できる。同様に補間画素E2は原画素B、C、E、Fか
ら、補間画素E3は原画素D、E、G、Hから、補間画
素E4は原画素E、F、H、Iからそれぞれ補間するこ
とができる。
In this embodiment, a case will be described in which vertical and horizontal magnifications are doubled or pixel density conversion is performed. 2A
~ I indicates the input original pixel. Interpolated pixels E1 to E4 are obtained by enlarging or converting the pixel of interest E.
The interpolation pixel E1 can be interpolated from the original pixels A, B, D and E. Similarly, the interpolation pixel E2 is interpolated from the original pixels B, C, E, and F, the interpolation pixel E3 is interpolated from the original pixels D, E, G, and H, and the interpolation pixel E4 is interpolated from the original pixels E, F, H, and I, respectively. You can

【0015】各原画素に乗算する係数をK1〜K16で
表すと E1=K1*A+K2*B+K3*D+K4*E E2=K5*C+K6*F+K7*B+K8*E E3=K9*I+K10*H+K11*F+K12*E E4=K13*G+K14*D+K15*H+K16*
となる。
Representing the coefficients by which each original pixel is multiplied by K1 to K16, E1 = K1 * A + K2 * B + K3 * D + K4 * E E2 = K5 * C + K6 * F + K7 * B + K8 * E E3 = K9 * I + K10 * H + K11 * F + K12 * E4 = K13 * G + K14 * D + K15 * H + K16 * E
Becomes

【0016】この時、補間画素E1〜E4は原画素Eの
重心に対して水平・垂直共に対称な位置にあるので係数
はそれぞれ同じ値となる。したがって上記各演算式は E1=K1*A+K2*B+K3*D+K4*E E2=K1*C+K2*F+K3*B+K4*E E3=K1*I+K2*H+K3*F+K4*E E4=K1*G+K2*D+K3*H+K4*E となる。
At this time, since the interpolated pixels E1 to E4 are horizontally and vertically symmetrical with respect to the center of gravity of the original pixel E, the coefficients have the same value. Thus each computing equation E1 = K1 * A + K2 * B + K3 * D + K4 * E E2 = K1 * C + K2 * F + K3 * B + K4 * E E3 = K1 * I + K2 * H + K3 * F + K4 * E E4 = K1 * G + K2 * D + K3 * H + K4 * E Becomes

【0017】上記演算式から明らかなように使われる乗
算係数は4種類であり、また原画素の入換えにより全て
の補間画素を求めることが可能である。
As is apparent from the above arithmetic expression, there are four types of multiplication coefficients, and it is possible to find all the interpolated pixels by replacing the original pixels.

【0018】図1にそのハード構成の1実施例を示す。FIG. 1 shows an embodiment of the hardware configuration.

【0019】図1において、101は画像データの入力
端子、102は前記入力端子101からの画素データを
選択出力するスイッチ回路、103〜106はスイッチ
回路102からのデータをそれぞれ係数K1、K2、K
3、K4で乗算する乗算器、107は前記乗算器103
〜106の出力を加算する加算器、108はその補間出
力端子である。
In FIG. 1, 101 is an input terminal for image data, 102 is a switch circuit for selectively outputting pixel data from the input terminal 101, and 103 to 106 are data from the switch circuit 102 for coefficients K1, K2 and K, respectively.
3, a multiplier for multiplying by K4, 107 is the multiplier 103
An adder for adding the outputs of 106 to 108 and its interpolation output terminal 108.

【0020】まず注目画素Eを囲む周辺の原画素を入力
端子101から入力する。スイッチ回路102ではこれ
から求めようとする補間画素の演算に必要とされる原画
像を選択し各乗算器103〜106に出力する。乗算器
103に原画素Aのデータを、乗算器104に原画素B
のデータを、乗算器105に原画素Dのデータを、乗算
器106に原画素Eのデータを入力し各演算結果を加算
器107により加算することで補間結果E1を求めるこ
とができる。同様に乗算器103に原画素Cのデータ
を、乗算器104に原画素Fのデータを、乗算器105
に原画素Bのデータを、乗算器106に原画素Eのデー
タを入力するとE2が、乗算器103に原画素Iのデー
タを、乗算器104に原画素Hのデータを、乗算器10
5に原画素Fのデータを、乗算器106に原画素Eのデ
ータを入力するとE3が、乗算器103に原画素Gのデ
ータを、乗算器104に原画素Dのデータを、乗算器1
05に原画素Hのデータを、乗算器106に原画素Eの
データを入力するとE4が、求められる。一連の4回の
動作により注目画素Eに対する補間画素E1〜E4を求
めることができる。
First, the surrounding original pixels surrounding the pixel of interest E are input from the input terminal 101. The switch circuit 102 selects an original image required for the calculation of the interpolated pixel to be obtained, and outputs it to each of the multipliers 103 to 106. The multiplier 103 receives the original pixel A data and the multiplier 104 receives the original pixel B data.
Of the original pixel D to the multiplier 105, and the data of the original pixel E to the multiplier 106, and the respective arithmetic results are added by the adder 107 to obtain the interpolation result E1. Similarly, the multiplier 103 receives the data of the original pixel C, the multiplier 104 receives the data of the original pixel F, and the multiplier 105
When the data of the original pixel B is input to the multiplier 106 and the data of the original pixel E is input to the multiplier 106, E2 outputs the data of the original pixel I to the multiplier 103, the data of the original pixel H to the multiplier 104, and the multiplier 10
When the data of the original pixel F is input to 5 and the data of the original pixel E is input to the multiplier 106, E3, the data of the original pixel G to the multiplier 103, the data of the original pixel D to the multiplier 104, and the multiplier 1
When the data of the original pixel H is input to 05 and the data of the original pixel E is input to the multiplier 106, E4 is obtained. Interpolation pixels E1 to E4 for the target pixel E can be obtained by a series of four operations.

【0021】以上説明した様に本実施例によれば、1画
素分の補間フィルターにより入力する原画素を入換える
ことで乗算係数を変えることなく、求める4画素すべて
の補間処理、つまり水平・垂直それぞれ2倍の拡大また
は画素密度変換処理を行うことが可能となる。
As described above, according to the present embodiment, interpolation processing for all four pixels to be obtained, that is, horizontal / vertical processing, is performed without changing the multiplication coefficient by replacing the input original pixel by the interpolation filter for one pixel. It is possible to perform double expansion or pixel density conversion processing, respectively.

【0022】(実施例2)以下、図面を参照して本発明
に係る第2の実施例を詳細に説明する。
(Second Embodiment) A second embodiment according to the present invention will be described in detail below with reference to the drawings.

【0023】水平・垂直それぞれ2倍の拡大または画素
密度変換処理をする場合、変換のための演算処理は第1
の実施例と同様に E1=K1*A+K2*B+K3*D+K4*E E2=K1*C+K2*F+K3*B+K4*E E3=K1*I+K2*H+K3*F+K4*E E4=K1*G+K2*D+K3*H+K4*E となる。
In the case where the horizontal / vertical magnification is doubled or the pixel density conversion processing is performed, the calculation processing for conversion is the first.
Similar to the embodiment E1 = K1 * A + K2 * B + K3 * D + K4 * E E2 = K1 * C + K2 * F + K3 * B + K4 * E E3 = K1 * I + K2 * H + K3 * F + K4 * E E4 = K1 * G + K2 * D + K3 * H + K4 * E Becomes

【0024】この時、水平・垂直とも同じ比率で拡大ま
たは画素密度変換するため、上記乗算係数K2とK3は
同じ値となる。
At this time, since both horizontal and vertical are enlarged or pixel density converted at the same ratio, the multiplication coefficients K2 and K3 have the same value.

【0025】従って演算式は、 E1=K1*A+K2*B+K3*D+K4*E E2=K1*C+K2*F+K2*B+K4*E E3=K1*I+K2*H+K2*F+K4*E E4=K1*G+K2*D+K2*H+K4*E となる。[0025] Thus arithmetic expression, E1 = K1 * A + K2 * B + K3 * D + K4 * E E2 = K1 * C + K2 * F + K2 * B + K4 * E E3 = K1 * I + K2 * H + K2 * F + K4 * E E4 = K1 * G + K2 * D + K2 * H + K4 * It becomes E.

【0026】上記演算式を元に構成した本発明のかかる
第2の実施例が図3である。
FIG. 3 shows a second embodiment of the present invention constructed based on the above arithmetic expression.

【0027】図3において、第1の実施例と同一の部分
については同一の番号を付し説明を省略する。
In FIG. 3, the same parts as those in the first embodiment are designated by the same reference numerals and the description thereof will be omitted.

【0028】201は、レジスターであり乗算器104
からの出力を一時的に保持し加算器107に出力する。
加算器107の出力は補間出力として202から出力さ
れる。
Reference numeral 201 denotes a register, which is a multiplier 104.
The output from is temporarily stored and output to the adder 107.
The output of the adder 107 is output from 202 as an interpolation output.

【0029】入力される原画素A〜Iは実施例1同様に
スイッチ回路102に入力される。スイッチ回路102
ではまずはじめに乗算係数K2に対する被乗算画素、補
間画素E1を演算するときはBまたはD、補間画素E2
を演算するときはFまたはB、補間画素E3を演算する
ときはHまたはF、補間画素E4を演算するときはDま
たはH、のそれぞれのどちらか一方を出力する。スイッ
チ回路102から乗算器104に入力された画素データ
は乗算器104によってK2が乗算され、レジスター2
01によって保持される。次にスイッチ回路102は乗
算器103、104、106にそれぞれに対応する原画
素データを出力する。補間画素E1を演算するときは乗
算器103には原画素Aのデータを、乗算器104には
前回出力しBまたはDの他のデータを、乗算器106に
は原画素Eのデータを出力する。同様に補間画素E2を
演算するときは乗算器103には原画素Cのデータを、
乗算器104には前回出力したFまたはBの他のデータ
を、乗算器106には原画素Eのデータを、補間画素E
3を演算するときは乗算器103には原画素Iのデータ
を、乗算器104には前回出力しHまたはFの他のデー
タを、乗算器106には原画素Eのデータを、補間画素
E4を演算するときは乗算器103には原画素Gのデー
タを、乗算器104には前回出力したDまたはHの他の
データを、乗算器106には原画素Eのデータをそれぞ
れ出力する。乗算器103、104、106及びレジス
ター201の出力は加算器107により加算され補間出
力として補間出力端子202より出力される。一連の動
作は補間画素E1〜E4それぞれについて行われる。
The input original pixels A to I are input to the switch circuit 102 as in the first embodiment. Switch circuit 102
First, when calculating the multiplied pixel for the multiplication coefficient K2, the interpolation pixel E1, B or D, the interpolation pixel E2
Is output when F is calculated, H or F is output when the interpolation pixel E3 is calculated, and D or H is output when the interpolation pixel E4 is calculated. The pixel data input from the switch circuit 102 to the multiplier 104 is multiplied by K2 by the multiplier 104, and the register 2
Held by 01. Next, the switch circuit 102 outputs the original pixel data corresponding to each of the multipliers 103, 104 and 106. When the interpolation pixel E1 is calculated, the data of the original pixel A is output to the multiplier 103, the previous data of B or D is output to the multiplier 104, and the data of the original pixel E is output to the multiplier 106. . Similarly, when the interpolation pixel E2 is calculated, the data of the original pixel C is stored in the multiplier 103,
The multiplier 104 receives the other data of F or B output last time, the multiplier 106 receives the data of the original pixel E, and the interpolation pixel E
When 3 is calculated, the data of the original pixel I is output to the multiplier 103, the other data of H or F output last time is output to the multiplier 104, the data of the original pixel E is input to the multiplier 106, and the interpolation pixel E4 is output. When calculating, the data of the original pixel G is output to the multiplier 103, the other data of D or H output last time is output to the multiplier 104, and the data of the original pixel E is output to the multiplier 106. The outputs of the multipliers 103, 104 and 106 and the register 201 are added by the adder 107 and output from the interpolation output terminal 202 as an interpolation output. A series of operations is performed for each of the interpolation pixels E1 to E4.

【0030】以下第1の実施例と同様な効果をもたら
す。
The same effects as those of the first embodiment are obtained below.

【0031】(実施例3)以下、図面を参照して本発明
に係る第3の実施例を詳細に説明する。
(Embodiment 3) A third embodiment of the present invention will be described in detail below with reference to the drawings.

【0032】水平・垂直それぞれ2倍の拡大または画素
密度変換処理をする場合、水平・垂直とも同じ比率で拡
大または画素密度変換するため乗算K2とK3は同じ値
となり、変換のための演算処理は第2の実施例と同様に E1=K1*A+K2*B+K2*D+K4*E E2=K1*C+K2*F+K2*B+K4*E E3=K1*I+K2*H+K2*F+K4*E E4=K1*G+K2*D+K2*H+K4*E となる。
When the horizontal / vertical magnification is doubled or the pixel density conversion processing is performed, the multiplications K2 and K3 have the same value in order to perform the horizontal / vertical expansion or pixel density conversion at the same ratio. similar to the second embodiment E1 = K1 * a + K2 * B + K2 * D + K4 * E E2 = K1 * C + K2 * F + K2 * B + K4 * E E3 = K1 * I + K2 * H + K2 * F + K4 * E E4 = K1 * G + K2 * D + K2 * H + K4 * It becomes E.

【0033】さらにまとめると E1=K1*A+K2*(B+D)+K4*E E2=K1*C+K2*(F+B)+K4*E E3=K1*I+K2*(H+F)+K4*E E4=K1*G+K2*(D+H)+K4*E となる。To further summarize, E1 = K1 * A + K2 * (B + D) + K4 * E E2 = K1 * C + K2 * (F + B) + K4 * E E3 = K1 * I + K2 * (H + F) + K4 * E E4 = K1 * G + K2 * (D + H) ) + K4 * E.

【0034】上記演算式を元に構成した本発明のかかる
第3の実施例が図4である。
FIG. 4 shows a third embodiment of the present invention constructed based on the above arithmetic expression.

【0035】図4において、第1・第2の実施例と同一
の部分については同一の番号を付し説明を省略する。
In FIG. 4, the same parts as those in the first and second embodiments are designated by the same reference numerals and the description thereof will be omitted.

【0036】301は、加算器でありスイッチ回路10
2からの2つの出力を加算し結果を乗算器104に出力
する。302は乗算器、103、104、106を加算
し補間出力端子303に出力する加算器である。
Reference numeral 301 denotes an adder, which is a switch circuit 10
The two outputs from 2 are added and the result is output to the multiplier 104. Reference numeral 302 denotes a multiplier, which is an adder that adds 103, 104, and 106 and outputs the result to the interpolation output terminal 303.

【0037】入力される原画素A〜Iは実施例1同様に
スイッチ回路102に入力される。スイッチ回路102
では、乗算器103に原画素Aのデータを、乗算器10
6に原画素Eのデータを、加算器301に原画素BとD
のデータを入力する。加算器301の出力は乗算器10
4に入力される。各乗算器により乗算された演算結果は
加算器302により加算され補間データE1として補間
出力端子303から出力される。同様に、乗算器103
に原画素Cのデータを、乗算器106に原画素Eのデー
タを、乗算器103に原画素Iのデータを、乗算器10
6に原画素Eのデータを、加算器301に原画素HとF
のデータを入力する事で補間データE3を、乗算器10
3に原画素Gのデータを、乗算器106に原画素Eのデ
ータを、加算器301に原画素DとHのデータを入力す
る事で補間データE4を求めることができる。
The input original pixels A to I are input to the switch circuit 102 as in the first embodiment. Switch circuit 102
Then, the data of the original pixel A is sent to the multiplier 103 by the multiplier 10
6 shows the data of the original pixel E, and the adder 301 shows the original pixels B and D.
Enter the data of. The output of the adder 301 is the multiplier 10
4 is input. The calculation result multiplied by each multiplier is added by the adder 302 and output as interpolation data E1 from the interpolation output terminal 303. Similarly, the multiplier 103
To the multiplier 106, the data of the original pixel E to the multiplier 106, the data of the original pixel I to the multiplier 103,
6 shows the data of the original pixel E and the adder 301 shows the original pixels H and F.
The interpolation data E3 is input to the multiplier 10
By inputting the data of the original pixel G to 3, the data of the original pixel E to the multiplier 106, and the data of the original pixels D and H to the adder 301, the interpolation data E4 can be obtained.

【0038】以下第1の実施例と同様な効果をもたら
す。
The same effects as those of the first embodiment are obtained below.

【0039】(実施例4)以下、図面を参照して本発明
に係る第4の実施例を詳細に説明する。
(Embodiment 4) Hereinafter, a fourth embodiment of the present invention will be described in detail with reference to the drawings.

【0040】水平・垂直それぞれ3倍の拡大または画素
密度変換処理をする場合、水平・垂直とも同じ比率で拡
大または画素密度変換するため、図6の様に補間画素E
1、E3、E7、E9は補間に用いる原画素を選択切替
える事で同一の補間フィルターを用いることができる。
同様に補間画素E2、E4、E6、E8も同一の補間フ
ィルターを用いることができる。補間画素E5は原画素
Eと重心点が重なるため原画素Eのデータがそのまま補
間画素データE5となる。つまり上記2種類の補間フィ
ルターを用いそれらに入力する原画素データA〜Iを選
択切替える事ですべての補間データE1〜E9を求める
ことができる。
In the case where the horizontal / vertical expansion is performed three times or the pixel density conversion processing is performed, the interpolation pixel E as shown in FIG.
For 1, E3, E7, and E9, the same interpolation filter can be used by selectively switching the original pixel used for interpolation.
Similarly, the same interpolation filter can be used for the interpolation pixels E2, E4, E6, and E8. Since the interpolation pixel E5 and the center of gravity point overlap the original pixel E, the data of the original pixel E becomes the interpolation pixel data E5 as it is. That is, all the interpolation data E1 to E9 can be obtained by using the above two types of interpolation filters and selectively switching the original pixel data A to I input thereto.

【0041】補間データの演算式を以下にしめすと E1=K1*A+K2*B+K3*D+K4*E E3=K1*C+K2*F+K3*B+K4*E E9=K1*I+K2*H+K3*F+K4*E E7=K1*G+K2*D+K3*H+K4*E E2=K5*B+K6*E E6=K5*F+K6*E E8=K5*H+K6*E E4=K5*D+K6*E E5=E となる。[0041] When shown in the following calculation formula for the interpolation data E1 = K1 * A + K2 * B + K3 * D + K4 * E E3 = K1 * C + K2 * F + K3 * B + K4 * E E9 = K1 * I + K2 * H + K3 * F + K4 * E E7 = K1 * G + K2 * D + K3 * H + K4 * EE2 = K5 * B + K6 * EE6 = K5 * F + K6 * EE8 = K5 * H + K6 * EE4 = K5 * D + K6 * EE5 = E.

【0042】上記演算式を元に構成した本発明のかかる
第4の実施例が図5である。
A fourth embodiment of the present invention constructed on the basis of the above arithmetic expression is shown in FIG.

【0043】図5において、第1〜第3の実施例と同一
の部分については同一の番号を付し説明を省略する。
In FIG. 5, the same parts as those in the first to third embodiments are designated by the same reference numerals and the description thereof will be omitted.

【0044】401〜404、407、408は乗算器
でありそれぞれK1〜K6の乗算係数があらかじめ設定
されている。405、409は加算器であり、405は
乗算器401〜404の乗算結果を加算し補間出力端子
406に出力する。補間出力端子406からは補間デー
タE1、E3、E7、E9が出力される。加算器409
ば乗算器407、408の乗算結果を加算し補間出力端
子410に出力する。補間出力端子410からは補間デ
ータE2、E4、E6、E8が出力される。411は補
間データE5の補間出力端子である。
Numerals 401 to 404, 407 and 408 are multipliers, and multiplication coefficients of K1 to K6 are preset respectively. Reference numerals 405 and 409 denote adders, and 405 adds the multiplication results of the multipliers 401 to 404 and outputs the result to the interpolation output terminal 406. The interpolation output terminal 406 outputs interpolation data E1, E3, E7, E9. Adder 409
For example, the multiplication results of the multipliers 407 and 408 are added and output to the interpolation output terminal 410. The interpolation output terminal 410 outputs interpolation data E2, E4, E6, and E8. Reference numeral 411 is an interpolation output terminal for the interpolation data E5.

【0045】以上の構成により上記換算式にもとづいて
スイッチ回路102から注目画素Eの周辺画素A〜Iの
原画素データが選択出力され演算される。
With the above configuration, the original pixel data of the peripheral pixels A to I of the pixel of interest E are selected and output from the switch circuit 102 based on the above conversion formula.

【0046】以上説明した様に本実施例によれば、2種
類の補間フィルターにより入力する原画素を入換える事
で乗算係数を変えることなく、求める9画素すべての補
間処理、つまり水平・垂直それぞれ3倍の拡大または画
素密度変換処理を行うことが可能となる。
As described above, according to this embodiment, by interchanging the original pixels to be input by the two types of interpolation filters, the interpolation processing of all 9 pixels to be obtained without changing the multiplication coefficient, that is, each of the horizontal and vertical It is possible to perform a three-fold expansion or pixel density conversion processing.

【0047】(実施例5)以下、図面を参照して本発明
に係る第5の実施例を詳細に説明する。
(Fifth Embodiment) A fifth embodiment according to the present invention will be described in detail below with reference to the drawings.

【0048】水平・垂直それぞれ3倍の拡大または画素
密度変換処理をする場合、水平・垂直とも同じ比率で拡
大または画素密度変換するため、実施例4の手法にさら
に実施例2の手法を取入れることができる。つまり実施
例4の乗算係数K2とK3は等しいためK3をK2に置
換えて以下のような演算式となる。
In the case where the horizontal / vertical expansion is performed three times or the pixel density is converted, the horizontal / vertical expansion and the pixel density conversion are performed at the same ratio. Therefore, the method of the fourth embodiment further includes the method of the second embodiment. be able to. That is, since the multiplication coefficients K2 and K3 of the fourth embodiment are equal, K3 is replaced with K2 to obtain the following arithmetic expression.

【0049】 E1=K1*A+K2*B+K2*D+K4*E E3=K1*C+K2*F+K2*B+K4*E E9=K1*I+K2*H+K2*F+K4*E E7=K1*G+K2*D+K2*H+K4*E E2=K5*B+K6*E E6=K5*F+K6*E E8=K5*H+K6*E E4=K5*D+K6*E E5=E となる。E1 = K1 * A + K2 * B + K2 * D + K4 * E E3 = K1 * C + K2 * F + K2 * B + K4 * EE9 = K1 * I + K2 * H + K2 * F + K4 * E + 7 + K1 * G + K2 * D + K2 * D + K2 * D + K4 * E + * B + K6 * EE6 = K5 * F + K6 * EE8 = K5 * H + K6 * EE4 = K5 * D + K6 * EE5 = E.

【0050】上記演算式を元に構成した本発明のかかる
第5の実施例が図7である。
FIG. 7 shows a fifth embodiment of the present invention constructed based on the above arithmetic expression.

【0051】図7において、第1〜第4の実施例と同一
の部分については同一の番号を付し説明を省略する。
In FIG. 7, the same parts as those in the first to fourth embodiments are designated by the same reference numerals and the description thereof will be omitted.

【0052】501は実施例2の図3中レジスター20
1と同様な働きをするレジスター、502は乗算器40
1、402、404とレジスター501からの出力を加
算する加算器、503は加算器502からのデータを出
力する補間出力端子、504は加算器409からのデー
タを出力する補間出力端子、505は補間データE5の
出力端子である。
501 is a register 20 in FIG. 3 of the second embodiment.
A register having the same function as 1, 502 is a multiplier 40
1, 402, 404 and an adder that adds the outputs from the register 501, 503 is an interpolation output terminal that outputs the data from the adder 502, 504 is an interpolation output terminal that outputs the data from the adder 409, and 505 is an interpolation This is an output terminal for data E5.

【0053】以上の構成により上記演算式にもとづいて
演算され、第4の実施例と同様な効果をもたらす。
With the above construction, the calculation is performed based on the above calculation formula, and the same effect as the fourth embodiment is obtained.

【0054】(実施例6)以下、図面を参照して本発明
に係る第6の実施例を詳細に説明する。
(Embodiment 6) A sixth embodiment of the present invention will be described in detail below with reference to the drawings.

【0055】水平・垂直それぞれ3倍の拡大または画素
密度変換処理をする場合、水平・垂直とも同じ比率で拡
大または画素密度変換するため、実施例4の手法にさら
に実施例3の手法を取入れることができる。つまり実施
例4の乗算係数K2とK3は等しいためK3をK2に置
換えて以下のような演算式となる。
In the case where the horizontal / vertical expansion is performed three times or the pixel density is converted, the horizontal / vertical expansion is performed at the same ratio or the pixel density is converted. Therefore, the method of the fourth embodiment further includes the method of the third embodiment. be able to. That is, since the multiplication coefficients K2 and K3 of the fourth embodiment are equal, K3 is replaced with K2 to obtain the following arithmetic expression.

【0056】 E1=K1*A+K2*(B+D)+K4*E E3=K1*C+K2*(F+B)+K4*E E9=K1*I+K2*(H+F)+K4*E E7=K1*G+K2*(D+H)+K4*E E2=K5*B+K6*E E6=K5*F+K6*E E8=K5*H+K6*E E4=K5*D+K6*E E5=E となる。E1 = K1 * A + K2 * (B + D) + K4 * E E3 = K1 * C + K2 * (F + B) + K4 * E E9 = K1 * I + K2 * (H + F) + K4 * E E7 = K1 * G + K2 * (D + H) + K4 * E E2 = K5 * B + K6 * E E6 = K5 * F + K6 * E E8 = K5 * H + K6 * E E4 = K5 * D + K6 * E E5 = E.

【0057】上記演算式を元に構成した本発明のかかる
第6の実施例が図8である。
FIG. 8 shows a sixth embodiment of the present invention constructed based on the above arithmetic expression.

【0058】図8において、第1〜第5の実施例と同一
の部分については同一の番号を付し説明を省略する。
In FIG. 8, the same parts as those in the first to fifth embodiments are designated by the same reference numerals and the description thereof will be omitted.

【0059】601は実施例3の図4中加算器301と
同様な働きをする加算器、602は乗算器401、40
2、404からの出力を加算する加算器である。
Reference numeral 601 denotes an adder having a function similar to that of the adder 301 in FIG. 4 of the third embodiment, and 602 denotes multipliers 401 and 40.
It is an adder that adds the outputs from 2, 404.

【0060】以上の構成により上記演算式にもとづいて
演算され、第4の実施例と同様な効果をもたらす。
With the above construction, the calculation is performed based on the above calculation formula, and the same effect as the fourth embodiment is obtained.

【0061】(実施例7)以下、図面を参照して本発明
に係る第7の実施例を詳細に説明する。
(Embodiment 7) Hereinafter, a seventh embodiment of the present invention will be described in detail with reference to the drawings.

【0062】水平・垂直それぞれ4倍の拡大または画素
密度変換処理をする場合、水平・垂直とも同じ比率で拡
大または画素密度変換するため、図10の様に補間画素
E1、E6、E11、E16は補間に用いる原画素を選
択する事で同一の補間フィルターを用いることができ
る。同様に、補間画素E4、E7、E10、E13も同
一の補間フィルターを用いることができ、補間画素E
2、E8、E9、E15と補間画素E3、E5、E1
2、E14も同一の補間フィルターを用いることができ
る。つまり上記3種類の補間フィルターを用いそれらに
入力する原画素データA〜Iを選択切替える事ですべて
の補間データE1〜E16を求めることができる。
When the horizontal / vertical expansion is performed by 4 times or the pixel density conversion processing is performed, the interpolation pixels E1, E6, E11, E16 are expanded as shown in FIG. The same interpolation filter can be used by selecting the original pixel used for interpolation. Similarly, the same interpolation filter can be used for the interpolation pixels E4, E7, E10, and E13.
2, E8, E9, E15 and interpolation pixels E3, E5, E1
The same interpolation filter can be used for 2 and E14. That is, all the interpolation data E1 to E16 can be obtained by using the above three types of interpolation filters and selectively switching the original pixel data A to I input thereto.

【0063】本発明のかかる第7の実施例が図9であ
る。
The seventh embodiment of the present invention is shown in FIG.

【0064】図9において、第1〜第6の実施例と同一
の部分については同一の番号を付し説明を省略する。
In FIG. 9, the same parts as those in the first to sixth embodiments are designated by the same reference numerals and the description thereof will be omitted.

【0065】701〜704は乗算器でありそれぞれK
1〜K4の乗算係数があらかじめ設定されている。70
5は加算器であり乗算器701〜704の乗算結果を加
算し補間出力端子707に出力する。補間出力端子70
7からは補間データE1、E6、E11、E16が出力
される。
Reference numerals 701 to 704 denote multipliers, each of which is K
The multiplication factors 1 to K4 are preset. 70
An adder 5 adds the multiplication results of the multipliers 701 to 704 and outputs the result to the interpolation output terminal 707. Interpolation output terminal 70
7 outputs interpolation data E1, E6, E11, E16.

【0066】以上の構成で補間フィルター706を構成
し、708、710も同様に構成されている。補間フィ
ルター708は乗算係数K5〜K8が設定され補間出力
端子709から補間データE4、E7、E10、E13
が出力される。同様に補間フィルター710は乗算係数
K9〜K12が設定され補間出力端子711から補間デ
ータE2、E8、E9、E15が出力される。また補間
フィルター710の出力はレジスター712にも接続さ
れており、前記演算時と時を異にして演算され、レジス
ター712に入力保持される。レジスター712からの
データは補間出力端子713から補間データE3、E
5、E12、E14として出力される。
The interpolation filter 706 is configured with the above configuration, and 708 and 710 are also configured in the same manner. In the interpolation filter 708, the multiplication coefficients K5 to K8 are set, and the interpolation output terminal 709 outputs interpolation data E4, E7, E10, E13.
Is output. Similarly, in the interpolation filter 710, the multiplication coefficients K9 to K12 are set, and the interpolation output terminal 711 outputs interpolation data E2, E8, E9, E15. Further, the output of the interpolation filter 710 is also connected to the register 712, is operated at a different time from the time of the operation, and is input and held in the register 712. The data from the register 712 is output from the interpolation output terminal 713 as interpolation data E3, E.
5, E12, and E14 are output.

【0067】スイッチ回路102から注目画素Eの周辺
画素A〜Iの原画素データが選択出力され演算される。
The original pixel data of the peripheral pixels A to I of the target pixel E are selectively output from the switch circuit 102 and calculated.

【0068】以上説明した様に本実施例によれば、3種
類の補間フィルターにより入力する原画素を入換える事
で乗算係数を変えることなく、求める16画素すべての
補間処理、つまり水平・垂直それぞれ4倍の拡大または
画素密度変換処理を行うことが可能となる。
As described above, according to the present embodiment, by interchanging the original pixels to be input by the three types of interpolation filters, interpolation processing of all 16 pixels to be obtained, that is, horizontal and vertical, respectively, without changing the multiplication coefficient. It is possible to perform a 4-fold enlargement or a pixel density conversion process.

【0069】補間フィルター706、708は実施例2
及び3の手法により実現しても良い。この場合本実施例
よりさらにハード量の低減が計れる。
The interpolation filters 706 and 708 are the second embodiment.
It may be realized by the methods of 3 and 3. In this case, the amount of hardware can be further reduced as compared with this embodiment.

【0070】実施例1〜7においては注目画素Eの周辺
画素である原画素A〜Iの中から選択出力するのにスイ
ッチ回路を用いたがこの限りではないのは言うまでもな
く、メモリー等の保持回路でも同様である。
In the first to seventh embodiments, the switch circuit is used to select and output from the original pixels A to I which are the peripheral pixels of the target pixel E, but it goes without saying that this is not the case, and it is needless to say that the memory or the like is held. The same applies to circuits.

【0071】[0071]

【発明の効果】以上説明したように本発明によれば、簡
単なハードウェアで拡大処理または画素密度変換処理が
可能となる。
As described above, according to the present invention, enlargement processing or pixel density conversion processing can be performed with simple hardware.

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

【図1】本発明に係る第1実施例の構成を示す図。FIG. 1 is a diagram showing a configuration of a first embodiment according to the present invention.

【図2】本発明に係る第1実施例の画素関係を示す図。FIG. 2 is a diagram showing a pixel relationship of a first embodiment according to the present invention.

【図3】本発明に係る第2実施例の概略構成を示す図。FIG. 3 is a diagram showing a schematic configuration of a second embodiment according to the present invention.

【図4】本発明に係る第3実施例の概略構成を示す図。FIG. 4 is a diagram showing a schematic configuration of a third embodiment according to the present invention.

【図5】本発明に係る第4実施例の概略構成を示す図。FIG. 5 is a diagram showing a schematic configuration of a fourth embodiment according to the present invention.

【図6】本発明に係る第4実施例の画素関係を示す図。FIG. 6 is a diagram showing a pixel relationship of a fourth embodiment according to the present invention.

【図7】本発明に係る第5実施例の概略構成を示す図。FIG. 7 is a diagram showing a schematic configuration of a fifth embodiment according to the present invention.

【図8】本発明に係る第6実施例の概略構成を示す図。FIG. 8 is a diagram showing a schematic configuration of a sixth embodiment according to the present invention.

【図9】本発明に係る第7実施例の概略構成を示す図。FIG. 9 is a diagram showing a schematic configuration of a seventh embodiment according to the present invention.

【図10】本発明に係る第7実施例の画素関係を示す
図。
FIG. 10 is a diagram showing a pixel relationship of a seventh embodiment according to the present invention.

【図11】従来例の線形補間を説明する図。FIG. 11 is a diagram illustrating linear interpolation of a conventional example.

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

101 原画像データ入力端子 102 スイッチ回路 103〜106 乗算器 107 加算器 201 レジスター 101 original image data input terminal 102 switch circuits 103 to 106 multiplier 107 adder 201 register

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 多値画像を拡大処理または画素密度変換
する画像処理装置であって、注目画素を含む9画素から
最大4画素を選択する手段と、その選択画素を用いて補
間演算する手段と、その一連の処理を注目画素について
4回繰返すことを特徴とする画像処理装置。
1. An image processing apparatus for enlarging a multi-valued image or converting a pixel density, comprising means for selecting a maximum of 4 pixels from 9 pixels including a target pixel, and means for performing an interpolation calculation using the selected pixels. An image processing apparatus characterized in that the series of processing is repeated four times for a target pixel.
【請求項2】 上記9画素は注目画素とその隣接する8
画素である請求項1記載の画像処理装置。
2. The 9 pixels are the pixel of interest and 8 adjacent to the pixel of interest.
The image processing apparatus according to claim 1, which is a pixel.
【請求項3】 上記補間演算手段の係数が固定である請
求項1記載の画像処理装置。
3. The image processing apparatus according to claim 1, wherein the coefficient of the interpolation calculation means is fixed.
JP7025275A 1995-02-14 1995-02-14 Image processing unit Withdrawn JPH08223407A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7025275A JPH08223407A (en) 1995-02-14 1995-02-14 Image processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7025275A JPH08223407A (en) 1995-02-14 1995-02-14 Image processing unit

Publications (1)

Publication Number Publication Date
JPH08223407A true JPH08223407A (en) 1996-08-30

Family

ID=12161478

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7025275A Withdrawn JPH08223407A (en) 1995-02-14 1995-02-14 Image processing unit

Country Status (1)

Country Link
JP (1) JPH08223407A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1176823A1 (en) * 1999-04-20 2002-01-30 Niigata Seimitsu Co., Ltd. Image processing circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1176823A1 (en) * 1999-04-20 2002-01-30 Niigata Seimitsu Co., Ltd. Image processing circuit
EP1176823A4 (en) * 1999-04-20 2007-04-04 Niigata Seimitsu Co Ltd Image processing circuit
EP1890491A1 (en) * 1999-04-20 2008-02-20 Niigata Seimitsu Co., Ltd. Image processing circuit

Similar Documents

Publication Publication Date Title
US5991463A (en) Source data interpolation method and apparatus
JP4317619B2 (en) Image processing device
JP4361991B2 (en) Image processing device
JP2007096431A (en) Digital video format down-conversion apparatus and method with optional conversion ratio
JPH06132781A (en) Picture processing digital filter
JPH08223407A (en) Image processing unit
JP2018120536A (en) Data interpolation apparatus and method therefor, and image processing apparatus
EP1433133B1 (en) A method and apparatus for executing an affine or non-affine transformation
JP3899994B2 (en) Image signal processing apparatus and image signal processing method
JP3682239B2 (en) Digital filter processor
KR0175352B1 (en) Discrete cosine conversion circuit for processing 8x8 blocks and two 4x8 blocks
JPH1021386A (en) Image processor
JP2017215941A (en) Image processor and control method thereof
JPH0540776A (en) Two-dimensional dct matrix operation circuit
JP2005057529A (en) Method and apparatus for image processing, and program
JP2949587B2 (en) Pixel density converter
JPH11308575A (en) Interpolation arithmetic unit and its method
JP3655814B2 (en) Enlarged image generation apparatus and method
JP2000332998A (en) Image processor
JP2904499B2 (en) Image signal processing circuit
JPH11155099A (en) Electronic zoom processor
JPH06197222A (en) Image processor
JPH06350397A (en) Interpolation circuit and electronic zoom equipment provided with it
JPH06113120A (en) Resolution conversion device for picture processor
JPH05227413A (en) Binary picture variable magnification device

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: 20020507