JP2000253235A - Picture processing method - Google Patents

Picture processing method

Info

Publication number
JP2000253235A
JP2000253235A JP11053718A JP5371899A JP2000253235A JP 2000253235 A JP2000253235 A JP 2000253235A JP 11053718 A JP11053718 A JP 11053718A JP 5371899 A JP5371899 A JP 5371899A JP 2000253235 A JP2000253235 A JP 2000253235A
Authority
JP
Japan
Prior art keywords
pixel
image
interpolation
processing method
picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11053718A
Other languages
Japanese (ja)
Inventor
Makoto Murata
信 村田
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.)
Rohm Co Ltd
Original Assignee
Rohm Co 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 Rohm Co Ltd filed Critical Rohm Co Ltd
Priority to JP11053718A priority Critical patent/JP2000253235A/en
Publication of JP2000253235A publication Critical patent/JP2000253235A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a picture processing method, by which the picture of low resolution is converted into that of high resolution, capable of suppressing the increase of circuit scale and the increase of cost, easily securing the similarity of a processing and improving the quality of the picture subjected to resolution conversion. SOLUTION: When a regard picture element PT is positioned close to one of peripheral picture elements PA, PB, PC and PD, the picture element value of the peripheral picture element which the regard picture element PT approaches is set to be the picture element of the regard picture element PT. When the regard picture element PT is not positioned close to any peripheral picture elements PA, PB, PC and PD, the result of a product-sum operation using the picture element values of the peripheral picture elements PA, PB, PC and PD is set to be the picture element value of the regard picture element PT.

Description

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

【0001】[0001]

【発明の属する技術分野】低解像度の画像を高解像度の
画像に変換する画像処理方法に関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to an image processing method for converting a low-resolution image into a high-resolution image.

【0002】[0002]

【従来の技術】低解像度の画像を高解像度の画像に変換
する画像処理方法として様々なものが提案されている。
例えば、図4の(イ)に示すように、注目画素PTを囲
む元画素(以下、「周囲画素」と言う)PA、PB
C、PDのうちの注目画素PTに最も近い画素の画素値
を注目画素PTとする最近接内挿方法や、同図の(ロ)
に示すように、元画素の間隔をdとし、また、周囲画素
A、PB、PC、PDの画素値をそれぞれA、B、C、D
とし、また、注目画素PTが周囲画素PAから横方向、縦
方向にそれぞれ距離i、jだけ離れているとすると、内
挿画素PTの値Tを、T={(d−i)(d−j)A+i(d
−j)B+(d−i)jC+ijD}/d2として、周囲画
素の画素値を用いた積和演算の結果を注目画素の画素値
とする双一次内挿方法が知られている。
2. Description of the Related Art Various image processing methods for converting a low-resolution image into a high-resolution image have been proposed.
For example, as shown in FIG. 4A, original pixels (hereinafter, referred to as “surrounding pixels”) P A , P B , surrounding the pixel of interest PT .
P C, nearest the interpolation method and, FIG to the pixel of interest P T pixel value of the nearest pixel to the pixel of interest P T of P D (b)
, The interval between the original pixels is d, and the pixel values of the surrounding pixels P A , P B , P C , and P D are A, B, C, and D, respectively.
And then, also, the horizontal direction the pixel of interest P T from surrounding pixels P A, in the vertical direction respectively distances i, assuming that separated by j, the value T of the interpolated prime P T, T = {(d -i) (d−j) A + i (d
A bilinear interpolation method is known in which the result of the product-sum operation using the pixel values of the surrounding pixels is used as the pixel value of the pixel of interest as −j) B + (di) jC + ijD} / d 2 .

【0003】[0003]

【発明が解決しようとする課題】上記最近接内挿方法や
双一次内挿方法は、簡単な構成で実現可能であるという
利点はあるものの、以下のような問題がある。まず、最
近接内挿方法では、視覚的にブロックが目立ってしまい
画質が良くない。また、双一次内挿方法では、スムージ
ングがかかった画面が得られるが、文字や図形などのシ
ャープな部分やエッジ部分がぼやけてしまう。
The nearest neighbor interpolation method and the bilinear interpolation method have the advantage that they can be realized with a simple configuration, but have the following problems. First, in the closest interpolation method, blocks are visually conspicuous, and the image quality is not good. Further, in the bilinear interpolation method, a screen with smoothing is obtained, but sharp portions and edge portions of characters and figures are blurred.

【0004】このため、実際には、より複雑な方法で解
像度変換が行われることが多い。例えば、注目画素の画
素値を求めるのにより多くの元画素の値を用いたり、比
較的簡単な方法で解像度変換を行って得られた画素の値
に輪郭補正成分のデータを生成して加算したりする方法
がある。
For this reason, in practice, resolution conversion is often performed by a more complicated method. For example, more original pixel values are used to determine the pixel value of the pixel of interest, or contour correction component data is generated and added to the pixel value obtained by performing resolution conversion using a relatively simple method. Or there is a way.

【0005】しかしながら、これらの方法を実現するた
めには構成が複雑になるので、解像度変換を行う装置の
回路規模が増大するとともに、コストの上昇を伴うとい
う問題がある。また、処理が複雑であるので、処理の同
時性を確保するのが難しいという問題もある。
However, in order to realize these methods, the configuration becomes complicated, so that there is a problem that the circuit scale of the device for performing the resolution conversion increases and the cost increases. Further, since the processing is complicated, there is a problem that it is difficult to secure the synchronization of the processing.

【0006】そこで、本発明は、低解像度の画像を高解
像度の画像に変換する画像処理方法であって、ハードの
回路規模の増大及びコストの上昇を抑えるとともに、処
理の同時性の確保を容易にした上で、解像度変換後の画
像の画質を向上させた画像処理方法を提供することを目
的とする。
Accordingly, the present invention is an image processing method for converting a low-resolution image into a high-resolution image, which suppresses an increase in hardware circuit scale and cost, and facilitates securing of processing simultaneity. It is another object of the present invention to provide an image processing method in which the image quality of an image after resolution conversion is improved.

【0007】[0007]

【課題を解決するための手段】上記の目的を達成するた
め、請求項1に記載の発明では、低解像度の画像を高解
像度の画像に変換する画像処理方法において、その画素
値を求めようとしている画素である注目画素と解像度変
換対象である原画像の画素である元画素のうちの前記注
目画素の周囲に位置する画素である周囲画素との位置関
係に応じて、前記周囲画素のうちの前記注目画素に最も
近い画素の画素値と、前記周囲画素の画素値を用いた積
和演算の結果とのどちらか一方を前記注目画素の画素値
とするようにしている。
In order to achieve the above object, according to the first aspect of the present invention, in an image processing method for converting a low-resolution image to a high-resolution image, an attempt is made to obtain the pixel value. Depending on the positional relationship between the pixel of interest that is a pixel and a peripheral pixel that is a pixel located around the pixel of interest among the original pixels that are the pixels of the original image that is the resolution conversion target, One of the pixel value of the pixel closest to the target pixel and the result of the product-sum operation using the pixel values of the surrounding pixels is set as the pixel value of the target pixel.

【0008】以上の方法により、ブロック状のパターン
が目立たない範囲で近接する元画素の画素値を代入する
とともに、注目画素がどの元画素からも比較的離れて位
置する場合はその重み付けをより強調した上で線形補間
を行うようにすることができる。
According to the above method, the pixel values of the original pixels which are close to each other in a range where the block-shaped pattern is not conspicuous are substituted. Then, linear interpolation can be performed.

【0009】また、前記周囲画素の画素値を用いた所定
の演算の結果に基づいて、上記方法により注目画素の画
素値を求めるか、それとも、その他の方法により注目画
素の画素値を求めるかを切り換えるようにしても良い。
Also, based on the result of a predetermined operation using the pixel values of the surrounding pixels, it is determined whether the pixel value of the target pixel is obtained by the above method or the pixel value of the target pixel is obtained by another method. Switching may be performed.

【0010】例えば、隣接する周囲画素の画素値の差の
大きさによってエッジ成分や文字・図形などであるか否
かを判別することができるので、以上のようにすれば、
上記請求項1に記載の画像処理方法により補間を行うの
か、それとも、その他の方法により補間を行うのかが画
像の属性に応じて切り換えられる。
For example, it is possible to determine whether an image is an edge component, a character or a figure, based on the magnitude of the difference between the pixel values of adjacent peripheral pixels.
Whether the interpolation is performed by the image processing method according to the first aspect or the interpolation is performed by another method is switched according to the attribute of the image.

【0011】[0011]

【発明の実施の形態】以下に、本発明の実施形態を図面
を参照しながら説明する。本発明の第1実施形態である
画像処理方法では、注目画素と周囲画素との位置関係に
応じた方法で注目画素の画素値を求めるようになってい
る。具体的には、図1に示すように、注目画素PT及び
4つの周囲画素PA、PB、PC、PDに関して、横方向、
縦方向にそれぞれ隣接する2つの周囲画素の間隔を
x、dy、注目画素PTが周囲画素PAから横方向にi、
縦方向にjだけそれぞれ離れた位置にあるとすると、注
目画素PTの値Tを以下のようにして求める。
Embodiments of the present invention will be described below with reference to the drawings. In the image processing method according to the first embodiment of the present invention, the pixel value of the target pixel is obtained by a method corresponding to the positional relationship between the target pixel and surrounding pixels. Specifically, as shown in FIG. 1, with respect to the target pixel PT and the four surrounding pixels P A , P B , P C , and P D ,
Each interval between the two peripheral pixels adjacent in the vertical direction d x, d y, i laterally target pixel P T from surrounding pixels P A,
When the vertical direction is referred to as being j by each remote location to determine the value T of the target pixel P T as follows.

【0012】(1)i<txかつj<tyのとき(すなわ
ち、注目画素PTが領域R1に位置するとき)には、T
=Aとする。 (2)tx≦i≦dx−txかつj<tyのとき(すなわ
ち、注目画素PTが領域R2に位置するとき)には、 T={(dx−tx−i)A+(i−tx)B}/(dx−2t
) とする。 (3)d−tx<iかつj<tyのとき(すなわち、注
目画素PTが領域R3に位置するとき)には、T=Bと
する。 (4)i<txかつty≦j≦dy−tyのとき(すなわ
ち、注目画素PTが領域R4に位置するとき)には、 T={(dy−ty−j)A+(j−ty)C}/(dy−2
y) とする。 (5)tx≦i≦dx−txかつty≦j≦dy−tyのとき
(すなわち、注目画素PTが領域R5に位置するとき)
には、 T=(K12A+K23B+K14C+K34D)/(dx
−2tx)(dy−2ty) とする。但し、K1=dx−tx−i、K2=dy−ty
j、K3=i−tx、K4=j−tyである。 (6)dx−tx<iかつty≦j≦dy−tyのとき(す
なわち、注目画素PTが領域R6に位置するとき)に
は、 T={(dy−ty−j)B+(j−ty)D}/(dy−2
y) とする。 (7)i<txかつd−ty<jのとき(すなわち、注目
画素PTが領域R7に位置するとき)には、T=Cとす
る。 (8)tx≦i≦dx−txかつdy−ty<jのとき(す
なわち、注目画素PTが領域R8に位置するとき)に
は、 T={(dx−tx−i)C+(i−tx)D}/(dx−2
x) とする。 (9)dx−tx<iかつdy−ty<jのとき(すなわ
ち、注目画素PTが領域R9に位置するとき)には、T
=Dとする。
[0012] (1) i <time t x and j <t y (i.e., when the pixel of interest P T is located in the region R1) is, T
= A. (2) when t x ≦ i ≦ d x -t x and j <t y (i.e., when the pixel of interest P T is positioned in the region R2) on the, T = {(d x -t x -i) A + (i−t x ) B} / (d x −2t
x ). (3) when the d x -t x <i and j <t y (i.e., when the pixel of interest P T is positioned in the region R3), the the T = B. (4) i <time t x and t y ≦ j ≦ d y -t y ( i.e., when the pixel of interest P T is positioned in the region R4) The, T = {(d y -t y -j) A + (j− ty ) C} / ( dy− 2)
t y ). (5) when t x ≦ i ≦ d x -t x and t y ≦ j ≦ d y -t y ( i.e., when the pixel of interest P T is located in the region R5)
The, T = (K 1 K 2 A + K 2 K 3 B + K 1 K 4 C + K 3 K 4 D) / (d x
−2t x ) (d y −2t y ). Where K 1 = d x −t x −i, K 2 = d y −t y
j, is K 3 = i-t x, K 4 = j-t y. (6) d x -t x < i and when t y ≦ j ≦ d y -t y ( i.e., when the pixel of interest P T is located in a region R6) To, T = {(d y -t y −j) B + (j− ty ) D} / ( dy− 2)
t y ). (7) When i <t x and d−t y <j (that is, when the target pixel PT is located in the region R7), T = C. (8) t when x ≦ i ≦ d x -t x and d y -t y <j (i.e., when the pixel of interest P T is positioned in the region R8) To, T = {(d x -t x −i) C + (i−t x ) D} / (d x −2)
t x ). (9) When d x -t x <i and d y -t y <j (i.e., when the pixel of interest P T is positioned in the region R9) The, T
= D.

【0013】ここで、横方向、縦方向の別々に考え、例
えば、図1における2つの周囲画素PA、PBを用いた横
方向のみへの補間に着目して見ると、注目画素PTの画
素値Tは、 i<txときには、T=A tx≦i≦dx−txのときには、 T={(dx−tx−i)A+(i−tx)B}/(dx−2
x) dx−tx<iのときには、T=Bとなり、注目画素PT
の画素値TをT=αA+βBで表すとすると、iとα、
iとβはそれぞれ図2の(イ)、(ロ)中に実線で示す
関係がある。尚、双一次内挿方法によるiとα、iとβ
の関係を同図中に破線で示しておく。
[0013] Here, the horizontal direction, the vertical direction of the considered separately, for example, two surrounding pixels P A in FIG. 1, when viewed by focusing on interpolation of the only transverse with P B, the pixel of interest P T the pixel value T, i <t x sometimes, when T = a t x ≦ i ≦ d x -t x is, T = {(d x -t x -i) a + (i-t x) B} / (d x -2
t x ) d x −t x <i, T = B, and the target pixel P T
Is represented by T = αA + βB, i and α,
i and β have the relationships indicated by solid lines in FIGS. 2A and 2B, respectively. Note that i and α, i and β by the bilinear interpolation method
Is shown by a broken line in FIG.

【0014】すなわち、本第1実施形態の画像処理方法
では、注目画素と周囲画素との位置関係に応じて補間方
法を切り換えている。具体的には、注目画素が周囲画素
に近接していれば、その周囲画素の画素値を注目画素の
画素値とし、一方、注目画素が周囲画素に近接していな
ければ、周囲画素の画素値を用いた積和演算の結果を注
目画素の画素値としている。尚、横方向には距離tx
縦方向には距離tyをそれぞれ閾値として、注目画素が
周囲画素に近接しているか否かを判定している。
That is, in the image processing method of the first embodiment, the interpolation method is switched according to the positional relationship between the target pixel and the surrounding pixels. Specifically, if the target pixel is close to the surrounding pixel, the pixel value of the surrounding pixel is set to the pixel value of the target pixel. On the other hand, if the target pixel is not close to the surrounding pixel, the pixel value of the peripheral pixel is set. Is used as the pixel value of the target pixel. Note that the distance t x in the horizontal direction
As each threshold distance t y in the vertical direction, the pixel of interest is determined whether or not close to the surrounding pixels.

【0015】ここで、例えば、コンピュータの画面出力
で使用される小さな文字・図形は構成する画素数が少な
く、線も細いものが多い。これを従来の方法により低い
倍率(1倍〜3倍程度)で拡大すると、原画像の原形が
失われ、判読が困難になることもあった。特に、双一次
内挿方法を用いると、幅が1画素の斜めの直線などは影
響を受けやすかった。
Here, for example, small characters and figures used in computer screen output often have a small number of pixels and thin lines. If this is enlarged at a low magnification (about 1 to 3 times) by a conventional method, the original form of the original image may be lost, which may make it difficult to read. In particular, when the bilinear interpolation method is used, an oblique straight line having a width of one pixel is easily affected.

【0016】これに対して、本第1実施形態の画像処理
方法では、距離tx、tyを例えば0.25dx、0.2
5dyなどの値にそれぞれ設定すれば、回路構成が簡単
で済む。そして、注目画素の画素値として、ブロック状
のパターンが目立たない範囲で近接する元画素の画素値
を代入するとともに、注目画素がどの元画素からも比較
的離れて位置する場合はその重み付けをより強調した上
で線形補間を行うことになるので、文字・図形などのシ
ャープな画像出力が要求される場合には、双一次内挿方
法と比較して解像度変換後の画像はぼやけの少ないもの
となる。また、最近接内挿方法と比較してもブロックは
目立たなくなる。したがって、本第1実施形態の画像処
理方法は、細かい文字・図形からなる画像を低倍率で拡
大して解像度変換を行う場合に特に適した方法であると
言える。
On the other hand, in the image processing method of the first embodiment, the distances t x and t y are set to, for example, 0.25 d x , 0.2
Setting each to a value such as 5d y simplifies the circuit configuration. Then, as the pixel value of the pixel of interest, the pixel value of the original pixel that is close in a range where the block-shaped pattern is not conspicuous is substituted. Since linear interpolation is performed after emphasizing, when sharp image output of characters and figures is required, the image after resolution conversion is less blurred compared to the bilinear interpolation method. Become. Also, the blocks are less noticeable compared to the nearest interpolation method. Therefore, it can be said that the image processing method of the first embodiment is a method particularly suitable for performing resolution conversion by enlarging an image composed of fine characters and graphics at a low magnification.

【0017】また、ラプラシアンなどのフィルタを用い
て輪郭補正を行う方法も従来からあったが、この方法で
は演算でオーバーフローやアンダーフローが生じる場合
があり、回路的なリミッタを設ける必要があった。これ
に対して、上記第1実施形態の画像処理方法では、この
ような問題が生じることはなく、双一次内挿方法とほぼ
同程度の回路規模で実現することができる。また、処理
の同時性を確保するのも容易である。
In addition, there has been a conventional method of performing contour correction using a filter such as Laplacian. However, in this method, an overflow or an underflow may occur in a calculation, and it is necessary to provide a circuit limiter. On the other hand, in the image processing method of the first embodiment, such a problem does not occur, and the image processing method can be realized with a circuit scale substantially equal to that of the bilinear interpolation method. In addition, it is easy to ensure the simultaneity of the processing.

【0018】次に本発明の第2実施形態である画像処理
方法について説明する。本第2実施形態の画像処理方法
を実現する画像処理装置のブロック図を図3に示す。同
図に示す各ブロックについて説明する。
Next, an image processing method according to a second embodiment of the present invention will be described. FIG. 3 is a block diagram of an image processing apparatus that realizes the image processing method according to the second embodiment. Each block shown in FIG.

【0019】1は解像度変換の対象である画像を構成す
る元画素の画素値が入力される入力端子である。2は入
力端子1から入力された画素値をもとに双一次内挿方法
にて補間を行う線形補間回路である。3は入力端子1か
ら入力された画素値をもとに上記第1実施形態の方法に
て補間を行う非線形補間回路である。4は線形補間回路
2の出力と非線形補間回路3の出力とを入力しており、
どちらか一方を選択するセレクタである。
Reference numeral 1 denotes an input terminal to which a pixel value of an original pixel constituting an image to be converted is input. Reference numeral 2 denotes a linear interpolation circuit that performs interpolation by a bilinear interpolation method based on the pixel values input from the input terminal 1. Reference numeral 3 denotes a non-linear interpolation circuit for performing interpolation by the method of the first embodiment based on the pixel value input from the input terminal 1. Reference numeral 4 denotes the input of the output of the linear interpolation circuit 2 and the output of the non-linear interpolation circuit 3,
It is a selector for selecting either one.

【0020】5は注目画素を囲む元画素の画素値の差で
ある隣接画素差分を求める隣接画素差分回路である。6
は隣接画素差分回路5で求められた隣接画素差分を閾値
入力端子7から入力される閾値と比較し、その結果、隣
接画素差分の方が閾値よりも小さければ線形補間回路2
の出力を、一方、隣接画素差分の方が閾値よりも大きけ
れば非線形補間回路3の出力を、それぞれ選択するよう
にセレクタ4を制御する比較器である。8はセレクタ4
にて選択された画素値を出力するための出力端子であ
る。
Reference numeral 5 denotes an adjacent pixel difference circuit for obtaining an adjacent pixel difference which is a difference between pixel values of original pixels surrounding the target pixel. 6
Compares the adjacent pixel difference obtained by the adjacent pixel difference circuit 5 with the threshold value input from the threshold value input terminal 7, and as a result, if the adjacent pixel difference is smaller than the threshold value, the linear interpolation circuit 2
Is a comparator that controls the selector 4 so as to select the output of the nonlinear interpolation circuit 3 when the adjacent pixel difference is larger than the threshold value. 8 is a selector 4
Is an output terminal for outputting the pixel value selected by.

【0021】以上の構成により、隣接画素差分が閾値よ
りも大きい部分には、上記第1実施形態の画像処理方法
により補間が行われ、一方、隣接画素差分が閾値よりも
小さい部分には、双一次内挿方法により補間が行われ
る。
With the above configuration, interpolation is performed by the image processing method of the first embodiment on a portion where the difference between adjacent pixels is larger than the threshold value, and on a portion where the difference between adjacent pixels is smaller than the threshold value. Interpolation is performed by a linear interpolation method.

【0022】したがって、エッジ成分や文字・図形など
では、隣接する画素の画素値の差が大きくなることから
して、エッジ成分や文字・図形などである可能性が高い
場合には、より元画素の成分を保存するように機能する
上記第1実施形態の方法により補間が行われ、一方、そ
れ以外の場合には、スムージングがかかる双一次内挿方
法により補間が行われる。
Accordingly, the difference in pixel value between adjacent pixels in an edge component or a character / figure becomes large. Interpolation is performed by the method of the first embodiment, which functions to preserve the components of the above, while in other cases interpolation is performed by a bilinear interpolation method with smoothing.

【0023】このようにして、本第2実施形態の方法で
は、画像の属性(エッジ成分や文字・図形などであるか
否か)に適した方法で補間が行われるので、解像度変換
後の画質を向上させることができる。尚、閾値入力端子
7に入力される閾値を制御することにより、画質の調整
を行うこともできる。
As described above, in the method of the second embodiment, the interpolation is performed in a method suitable for the attribute of the image (whether or not it is an edge component or a character or a figure). Can be improved. The image quality can be adjusted by controlling the threshold value input to the threshold value input terminal 7.

【0024】また、上記第1実施形態の方法は回路機構
的に双一次内挿方法と親和性が高いので、双一次内挿方
法にて補間を行う線形補間回路2と上記第1実施形態の
方法にて補間を行う非線形補間回路3とは回路構成の多
くの部分を共用することが可能であり、したがって、回
路規模の増大を極力抑えることができる。
Since the method of the first embodiment is highly compatible with the bilinear interpolation method in terms of circuitry, the linear interpolation circuit 2 for performing interpolation by the bilinear interpolation method and the linear interpolation circuit 2 of the first embodiment are described. Many parts of the circuit configuration can be shared with the non-linear interpolation circuit 3 that performs interpolation by the method, so that an increase in the circuit scale can be suppressed as much as possible.

【0025】尚、本第2実施形態の画像処理方法では、
隣接画素差分の大きさによっては、上記第1実施形態の
画像処理方法の代わりに双一次内挿方法により補間を行
うようになっているが、解像度変換対象である画像の属
性に応じてその他の補間方法を用いるようにしても良
い。
In the image processing method according to the second embodiment,
Depending on the magnitude of the difference between adjacent pixels, interpolation is performed by a bilinear interpolation method instead of the image processing method of the first embodiment, but other interpolation is performed according to the attribute of the image to be resolution-converted. An interpolation method may be used.

【0026】また、本第2実施形態の画像処理方法で
は、隣接画素差分の大きさを1つの閾値と比較すること
で、上記第1実施形態の画像処理方法と他の1つの補間
方法との2つの補間方法のいずれか1つに切り換えるよ
うになっているが、隣接画素差分の大きさを複数の閾値
と比較することで、上記第1実施形態の画像処理方法と
他の複数の補間方法との3つ以上の補間方法のいずれか
1つに切り換えるようにしてもよい。
In the image processing method according to the second embodiment, the magnitude of the difference between adjacent pixels is compared with one threshold value, so that the image processing method according to the first embodiment can be compared with another interpolation method. The method is switched to one of the two interpolation methods. However, by comparing the magnitude of the difference between adjacent pixels with a plurality of threshold values, the image processing method of the first embodiment and the other plurality of interpolation methods are compared. May be switched to any one of the three or more interpolation methods.

【0027】また、本第2実施形態の画像処理方法で
は、補間方法の切り換えを、隣接画素差分の大きさに基
づいて行うようになっているが、このようにする代わり
に、周囲画素の画素値を用いた他の演算結果に基づいて
行うようにしても良い。どのような演算を行うかは、解
像度変換対象である画像の属性などによって決定すれば
良い。
Further, in the image processing method of the second embodiment, the switching of the interpolation method is performed based on the magnitude of the difference between the adjacent pixels. The calculation may be performed based on another calculation result using the value. What kind of calculation should be performed may be determined according to the attribute of the image whose resolution is to be converted.

【0028】[0028]

【発明の効果】以上説明したように、本発明の画像処理
方法によれば、低解像度の画像を高解像度の画像に変換
するにあたって、回路規模の増大及びコストの上昇を抑
えるとともに、処理の同時性の確保を容易にした上で、
解像度変換後の画像の画質を向上させることができる。
請求項1に記載の画像処理方法は、細かい文字・図形か
らなる画像を低倍率で拡大して解像度変換を行う場合に
特に適している。特に、第2の実施形態の画像処理方法
は、より多くの属性の画像に対して解像度変換後の画像
を向上させることができる。
As described above, according to the image processing method of the present invention, when converting a low-resolution image into a high-resolution image, it is possible to suppress an increase in circuit scale and cost and to simultaneously perform processing. After ensuring the
The image quality of the image after the resolution conversion can be improved.
The image processing method according to the first aspect is particularly suitable for the case where resolution conversion is performed by enlarging an image composed of fine characters and graphics at a low magnification. In particular, the image processing method according to the second embodiment can improve an image after resolution conversion for an image with more attributes.

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

【図1】 注目画素と周囲画素との位置関係を示す図で
ある。
FIG. 1 is a diagram showing a positional relationship between a target pixel and surrounding pixels.

【図2】 一次元方向への補間で考えたときに第1実施
形態の画像処理方法を積和演算で表わした場合の係数と
注目画素の位置との関係を示す図である。
FIG. 2 is a diagram illustrating a relationship between a coefficient and a position of a pixel of interest when the image processing method according to the first embodiment is represented by a product-sum operation when interpolation is considered in a one-dimensional direction.

【図3】 本発明の第2実施形態である画像処理方法を
実現する画像処理装置のブロック図である。
FIG. 3 is a block diagram of an image processing apparatus that realizes an image processing method according to a second embodiment of the present invention.

【図4】 最近接内挿方法及び双一次内挿方法を説明す
るための図である。
FIG. 4 is a diagram illustrating a nearest interpolation method and a bilinear interpolation method.

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

1 入力端子 2 線形補間回路 3 非線形補間回路 4 セレクタ 5 隣接画素差分回路 6 比較器 7 閾値入力端子 8 出力端子 PT 注目画素 PA、PB、PC、PD 周囲画素1 input terminal 2 the linear interpolation circuit 3 nonlinear interpolation circuit 4 selector 5 adjacent pixel difference circuit 6 comparator 7 threshold input terminal 8 an output terminal P T target pixel P A, P B, P C , P D surrounding pixels

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 低解像度の画像を高解像度の画像に変換
する画像処理方法において、その画素値を求めようとし
ている画素である注目画素と解像度変換対象である原画
像の画素である元画素のうちの前記注目画素の周囲に位
置する画素である周囲画素との位置関係に応じて、前記
周囲画素のうちの前記注目画素に最も近い画素の画素値
と、前記周囲画素の画素値を用いた積和演算の結果との
どちらか一方を前記注目画素の画素値とすることを特徴
とする画像処理方法。
In an image processing method for converting a low-resolution image into a high-resolution image, a pixel of interest whose pixel value is to be obtained and an original pixel which is a pixel of an original image whose resolution is to be converted are included. The pixel value of the pixel closest to the target pixel among the peripheral pixels and the pixel value of the peripheral pixel were used in accordance with the positional relationship between the target pixel and the peripheral pixel that is a pixel located around the target pixel. An image processing method, wherein one of the result of the product-sum operation is set as the pixel value of the target pixel.
JP11053718A 1999-03-02 1999-03-02 Picture processing method Pending JP2000253235A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11053718A JP2000253235A (en) 1999-03-02 1999-03-02 Picture processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11053718A JP2000253235A (en) 1999-03-02 1999-03-02 Picture processing method

Publications (1)

Publication Number Publication Date
JP2000253235A true JP2000253235A (en) 2000-09-14

Family

ID=12950619

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11053718A Pending JP2000253235A (en) 1999-03-02 1999-03-02 Picture processing method

Country Status (1)

Country Link
JP (1) JP2000253235A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006228107A (en) * 2005-02-21 2006-08-31 Yamaha Corp Image processing method and device
US7826686B2 (en) 2005-03-18 2010-11-02 Seiko Epson Corporation Pixel interpolation apparatus and pixel interpolation program product

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006228107A (en) * 2005-02-21 2006-08-31 Yamaha Corp Image processing method and device
JP4734952B2 (en) * 2005-02-21 2011-07-27 ヤマハ株式会社 Image processing method and apparatus
US7826686B2 (en) 2005-03-18 2010-11-02 Seiko Epson Corporation Pixel interpolation apparatus and pixel interpolation program product

Similar Documents

Publication Publication Date Title
US5832141A (en) Image processing method and apparatus using separate processing for pseudohalf tone area
JP3176195B2 (en) Image processing device
US7327904B2 (en) Pattern classification and filter design for increasing image resolution
JP2000339449A (en) Picture processor and picture processing method
US20010048771A1 (en) Image processing method and system for interpolation of resolution
KR20050059171A (en) Method for image scaling
JP3026706B2 (en) Image processing device
JP2000253235A (en) Picture processing method
US6961480B2 (en) Off-grid interpolation in image processing
RU2310911C1 (en) Method for interpolation of images
KR100587979B1 (en) Interpolation method for image enlargement based on edge and corner
JPH10155128A (en) Image interpolation device, image interpolation method and video printer
JPH07118002B2 (en) Image processing device
JPH07107268A (en) Image processing device
JP2005123813A (en) Image processing apparatus
JPH0256874B2 (en)
US6687417B1 (en) Modified kernel for image interpolation
JP3054299B2 (en) Image processing apparatus and method
KR101028449B1 (en) Method and apparatus for resizing image
JPH0744699A (en) Picture expansion/reduction device
JP2006252108A (en) Image processing device, image processing method, and its program
JP3054315B2 (en) Image processing method and apparatus
JPH08263644A (en) Picture processor and its method
JP4736121B2 (en) Image analysis apparatus, image processing apparatus, image analysis method, image analysis program, and recording medium recording the same
JP3347395B2 (en) Image processing apparatus and method