JP2001346037A - Image interpolating method - Google Patents

Image interpolating method

Info

Publication number
JP2001346037A
JP2001346037A JP2000225446A JP2000225446A JP2001346037A JP 2001346037 A JP2001346037 A JP 2001346037A JP 2000225446 A JP2000225446 A JP 2000225446A JP 2000225446 A JP2000225446 A JP 2000225446A JP 2001346037 A JP2001346037 A JP 2001346037A
Authority
JP
Japan
Prior art keywords
pixel
pixel data
original
minimum
data
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.)
Granted
Application number
JP2000225446A
Other languages
Japanese (ja)
Other versions
JP3706529B2 (en
Inventor
Akihiro Maenaka
章弘 前中
Masahiko Yoshiyama
雅彦 吉山
Susumu Tanase
晋 棚瀬
Haruhiko 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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2000225446A priority Critical patent/JP3706529B2/en
Publication of JP2001346037A publication Critical patent/JP2001346037A/en
Application granted granted Critical
Publication of JP3706529B2 publication Critical patent/JP3706529B2/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 transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/403Edge-driven scaling; Edge-based scaling

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)
  • Picture Signal Circuits (AREA)
  • Television Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image interpolating method capable of preventing generation of ruggedness and blur on an edge part and reproducing a smooth image when an image is interpolated. SOLUTION: This image interpolating method for interpolating a pixel at an intermediate position between a first original pixel and a second original pixel adjacent to the first original pixel comprises a first step of calculating edge components to decide whether or not interpolation pixels exist in the vicinity of an edge position of original image data, a second step of calculating a settable range of pixel data of the interpolation pixels based on the calculated edge components and a third step of selecting plural sets of opposite pixels to hold the interpolation pixels in the oblique direction and to calculate the pixel data and the minimum correlation value of the interpolation pixels the correlation value of which to be expressed by the sum of absolute values of the difference between the pixel data of the interpolation pixels and each opposite pixel becomes minimum in the settable range of the pixel data of the interpolation pixels by every set are provided.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像を補間する画
像補間方法に関する。
The present invention relates to an image interpolation method for interpolating an image.

【0002】[0002]

【従来の技術】従来より、インターレース画像をプログ
レッシブ画像に変換する場合、画像を拡大する場合、画
像の解像度を高める場合などにおいて、隣接した原画素
の画素データ(ディスプレイ上の輝度を表すデータ量に
相当する)を用いて、画像を補間する様々な方法が提案
されている。
2. Description of the Related Art Conventionally, when an interlaced image is converted into a progressive image, when an image is enlarged, or when the resolution of the image is increased, pixel data of adjacent original pixels (a data amount representing luminance on a display) is used. Various methods have been proposed for interpolating an image by using (equivalent).

【0003】画像補間方法の代表的なものに、単純補間
方法と線形補間方法とがある。単純補間方法とは、補間
する画素の上下(又は左右)に隣接した画素のいずれか
の画素データを、補間する画素に画素データとして与え
る方法である。線形補間方法とは、補間する画素の上下
(又は左右)に隣接した画素の画素データを平均した値
を、補間する画素に画素データとして与える方法であ
る。
[0005] Representative image interpolation methods include a simple interpolation method and a linear interpolation method. The simple interpolation method is a method in which any pixel data of a pixel adjacent above and below (or left and right) of a pixel to be interpolated is given to the pixel to be interpolated as pixel data. The linear interpolation method is a method of giving, as pixel data, a value obtained by averaging pixel data of pixels adjacent above and below (or left and right) of a pixel to be interpolated.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、単純補
間方法では、補間する画素に隣接した画素の画素データ
がそのまま与えられるため、ディスプレイ上などに再生
された画像に斜め方向のエッジ部分があるとき、そのエ
ッジ部分にガタツキが生じるという問題がある。又、線
形補間方法では、補間する画素に上下(又は左右)に隣
接した画素の画素データの平均値が与えられるため、補
間する画素の近傍がエッジ部分であり、補間する画素の
上下(又は左右)に隣接した画素の画素データの差が大
きい場合には、補間された画素が中間値となり、エッジ
部分にボケが生じるという問題がある。
However, in the simple interpolation method, since the pixel data of the pixel adjacent to the pixel to be interpolated is given as it is, when an image reproduced on a display or the like has an oblique edge portion, There is a problem that rattling occurs at the edge portion. Further, in the linear interpolation method, an average value of pixel data of pixels vertically and vertically (or left and right) adjacent to the pixel to be interpolated is given. If the difference between the pixel data of the pixels adjacent to ()) is large, there is a problem that the interpolated pixel becomes an intermediate value and blur occurs at the edge portion.

【0005】本発明は、画像を補間する際に、エッジ部
分にガタツキやボケが生じないようにできるとともに、
滑らかな画像を再生することができる画像補間方法を提
供することを目的とする。
According to the present invention, it is possible to prevent rattling or blurring at an edge portion when interpolating an image.
It is an object of the present invention to provide an image interpolation method capable of reproducing a smooth image.

【0006】[0006]

【課題を解決するための手段】〔1〕この発明による第
1の画像補間方法の説明 この発明による第1の画像補間方法は、第1の原画素と
第1の原画素と隣接する第2の原画素との中間位置に画
素を補間する画像補間方法において、補間画素が原画像
データのエッジ位置付近に存在するかを判定するための
エッジ成分を算出する第1ステップ、算出されたエッジ
成分と第1および第2の原画素の画素データとに基づい
て、補間画素の画素データの設定可能範囲を求める第2
ステップ、補間画素を斜め方向に挟む対向画素の組を複
数組選択し、各組毎に、補間画素の画素データの設定可
能範囲内において、補間画素の画素データと各対向画素
との差の絶対値の和で表される相関値が最小となる補間
画素の画素データと相関最小値とを求める第3ステッ
プ、ならびに上記各組毎に求められた、相関値が最小と
なる補間画素の画素データと相関最小値とに基づいて、
補間画素の画素データを求める第4ステップを備えてい
ることを特徴とする。
Means for Solving the Problems [1] Description of First Image Interpolation Method According to the Present Invention The first image interpolation method according to the present invention comprises a first original pixel and a second original pixel adjacent to the first original pixel. A first step of calculating an edge component for determining whether an interpolated pixel exists near an edge position of original image data in an image interpolation method for interpolating a pixel at an intermediate position with respect to an original pixel A second settable range of pixel data of the interpolated pixel is obtained based on the pixel data of the first and second original pixels.
Step: A plurality of sets of opposing pixels sandwiching the interpolated pixel in the oblique direction are selected. For each set, the absolute difference between the pixel data of the interpolated pixel and each opposing pixel is set within the settable range of the pixel data of the interpolated pixel. A third step of obtaining pixel data of an interpolated pixel having a minimum correlation value represented by a sum of values and a minimum correlation value, and pixel data of an interpolated pixel having a minimum correlation value obtained for each of the sets; And the correlation minimum,
A fourth step of obtaining pixel data of the interpolation pixel.

【0007】第1の原画素に隣接しかつ第2の原画素と
反対側にある原画素を第3の原画素とし、第2の原画素
に隣接しかつ第1の原画素と反対側にある原画素を第4
の原画素とすると、第1ステップでは、第1〜第4の原
画素の画素データに基づいて、エッジ成分が算出され
る。
[0007] An original pixel adjacent to the first original pixel and on the opposite side of the second original pixel is referred to as a third original pixel, and adjacent to the second original pixel and on the opposite side of the first original pixel. A certain original pixel is
In the first step, an edge component is calculated based on the pixel data of the first to fourth original pixels.

【0008】より具体的には、第1の原画素の画素デー
タをd1、第2の原画素の画素データをd2、第3の原
画素の画素データをd3、第4の原画素の画素データを
d4とすると、エッジ成分Eは、次式(1)に基づいて
算出される。
More specifically, the pixel data of the first original pixel is d1, the pixel data of the second original pixel is d2, the pixel data of the third original pixel is d3, and the pixel data of the fourth original pixel is d1. Is d4, the edge component E is calculated based on the following equation (1).

【0009】 E=−d3+d1+d2−d4 …(1)E = −d3 + d1 + d2-d4 (1)

【0010】第1ステップで求められたエッジ成分を
E、予め定められた閾値をTh、第1の原画素の画素デ
ータと第2の原画素の画素データのうち大きい方をd
max 、小さい方をdmin 、dmax −dmin をdとする
と、第2ステップでは、次式(2)に基づいて、補間画
素の画素データの設定可能範囲Sが求められる。
The edge component obtained in the first step is E, the predetermined threshold is Th, and the larger of the pixel data of the first original pixel and the pixel data of the second original pixel is d.
Assuming that max is smaller and d min is smaller and d max -d min is d, in the second step, the settable range S of the pixel data of the interpolation pixel is obtained based on the following equation (2).

【0011】 if E>Th,then dmin +d/2≦S≦dmax , if −Th≦E≦Th,then dmin +d/4≦S≦dmax −d/4, if E<−Th,then dmin ≦S≦dmin +d/2 …(2)If E> Th, then d min + d / 2 ≦ S ≦ d max , if −Th ≦ E ≦ Th, then d min + d / 4 ≦ S ≦ d max −d / 4, if E <−Th, then d min ≦ S ≦ d min + d / 2 (2)

【0012】第2ステップで求められた設定可能範囲S
の画素データをxとし、1組の対向画素を構成する2つ
の原画素の画素データを、それぞれdaおよびdbとす
ると、その組に対する相関値Lは、次式(3)によって
算出される。
The settable range S obtained in the second step
Let x be the pixel data of, and let da and db be the pixel data of the two original pixels that make up a set of opposing pixels, respectively. The correlation value L for that set is calculated by the following equation (3).

【0013】 L=|da−x|+|db−x| …(3)L = | da−x | + | db−x | (3)

【0014】第4ステップとしては、たとえば、第3ス
テップで各組毎に求められた相関最小値のうち最小の相
関最小値を選択するステップ、選択した最小の相関最小
値を与える補間画素の画素データを抽出するステップ、
最小の相関最小値が1つである場合には、その最小の相
関最小値を与える補間画素の画素データを、補間画素の
画素データとして決定するステップ、ならびに最小の相
関最小値が複数ある場合には、それらの最小の相関最小
値を与える補間画素の画素データの平均値を補間画素の
画素データとして決定するステップを備えているものが
用いられる。
The fourth step is, for example, a step of selecting the minimum correlation minimum value among the correlation minimum values obtained for each pair in the third step, and a pixel of an interpolation pixel giving the selected minimum correlation minimum value. Extracting data,
When the minimum correlation minimum value is one, determining the pixel data of the interpolation pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel; and when there are a plurality of minimum correlation minimum values, The method includes a step of determining the average value of the pixel data of the interpolation pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel.

【0015】第4ステップとしては、たとえば、第3ス
テップで各組毎に求められた相関最小値のうち最小の相
関最小値を選択するステップ、選択した最小の相関最小
値を与える補間画素の画素データを抽出するステップ、
最小の相関最小値が1つである場合には、その最小の相
関最小値を与える補間画素の画素データを、補間画素の
画素データとして決定するステップ、ならびに最小の相
関最小値が複数ある場合には、それらの最小の相関最小
値を与える補間画素の画素データのうちから、最大値と
最小値とを抽出し、抽出した最大値と最小値との平均値
を補間画素の画素データとして決定するステップを備え
ているものが用いられる。
The fourth step includes, for example, the step of selecting the smallest correlation minimum value among the correlation minimum values obtained for each set in the third step, and the pixel of the interpolated pixel giving the selected minimum correlation minimum value. Extracting data,
When the minimum correlation minimum value is one, determining the pixel data of the interpolation pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel; and when there are a plurality of minimum correlation minimum values, Extracts the maximum value and the minimum value from the pixel data of the interpolation pixel giving the minimum correlation minimum value, and determines the average value of the extracted maximum value and the minimum value as the pixel data of the interpolation pixel. Those having steps are used.

【0016】第4ステップとしては、たとえば、第3ス
テップで各組毎に求められた相関最小値のうち最小の相
関最小値を選択するステップ、選択した最小の相関最小
値を与える補間画素の画素データを抽出するステップ、
最小の相関最小値が1つである場合には、その最小の相
関最小値を与える補間画素の画素データを、補間画素の
画素データとして決定するステップ、ならびに最小の相
関最小値が複数ある場合には、それらの最小の相関最小
値を与える補間画素の画素データのうち、補間画素に最
も近接した対向画素から得られた画素データを選択し、
選択した画素データが1つである場合にはその画素デー
タを補間画素の画素データとして決定し、選択した画素
データが2つである場合にはそれらの平均値を補間画素
の画素データとして決定するステップを備えているもの
が用いられる。
The fourth step is, for example, a step of selecting the smallest correlation minimum value among the correlation minimum values obtained for each set in the third step, and a pixel of an interpolation pixel which gives the selected minimum correlation minimum value. Extracting data,
When the minimum correlation minimum value is one, determining the pixel data of the interpolation pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel; and when there are a plurality of minimum correlation minimum values, Selects the pixel data obtained from the opposing pixel closest to the interpolation pixel among the pixel data of the interpolation pixel giving the minimum correlation minimum value thereof,
When the number of selected pixel data is one, the pixel data is determined as the pixel data of the interpolation pixel. When the number of the selected pixel data is two, the average value thereof is determined as the pixel data of the interpolation pixel. Those having steps are used.

【0017】〔2〕この発明による第2の画像補間方法
の説明 この発明による第2の画像補間方法は、第1の原画素と
第1の原画素と隣接する第2の原画素との中間位置に画
素を補間する画像補間方法において、補間画素が原画像
データのエッジ位置付近に存在するかを判定するための
エッジ成分を算出する第1ステップ、算出されたエッジ
成分を所定の擬似ノイズ成分に基づいて補正する第2ス
テップ、補正後のエッジ成分と第1および第2の原画素
の画素データとに基づいて、補間画素の画素データの設
定可能範囲を求める第3ステップ、補間画素を斜め方向
に挟む対向画素の組を複数組選択し、各組毎に、補間画
素の画素データの設定可能範囲内において、補間画素の
画素データと各対向画素との差の絶対値の和と各対向画
素の周辺の原画素の画素データに基づいて算出される補
正値とで表される相関値が最小となる補間画素の画素デ
ータと相関最小値とを求める第4ステップ、ならびに上
記各組毎に求められた、相関値が最小となる補間画素の
画素データと相関最小値とに基づいて、補間画素の画素
データを求める第5ステップを備えていることを特徴と
する。
[2] Description of Second Image Interpolation Method According to the Present Invention The second image interpolation method according to the present invention employs an intermediate method between a first original pixel and a second original pixel adjacent to the first original pixel. A first step of calculating an edge component for determining whether an interpolated pixel exists near an edge position of original image data in an image interpolation method of interpolating a pixel at a position, and calculating the calculated edge component as a predetermined pseudo noise component A second step of correcting based on the corrected edge component and the pixel data of the first and second original pixels, and a third step of obtaining a settable range of the pixel data of the interpolation pixel based on the corrected edge component and the pixel data of the first and second original pixels. A plurality of pairs of opposing pixels sandwiched in the direction are selected, and for each set, the sum of the absolute value of the difference between the pixel data of the interpolated pixel and each opposing pixel and the Around the pixel A fourth step of obtaining pixel data and a minimum correlation value of the interpolated pixel in which the correlation value represented by the correction value calculated based on the pixel data of the original pixel is the minimum, and the fourth step of obtaining the minimum correlation value; A fifth step of obtaining pixel data of the interpolated pixel based on the pixel data of the interpolated pixel having the minimum correlation value and the minimum correlation value is provided.

【0018】第1の原画素に隣接しかつ第2の原画素と
反対側にある原画素を第3の原画素とし、第2の原画素
に隣接しかつ第1の原画素と反対側にある原画素を第4
の原画素とすると、第1ステップでは、第1〜第4の原
画素の画素データに基づいて、エッジ成分が算出され
る。
An original pixel adjacent to the first original pixel and on the opposite side of the second original pixel is defined as a third original pixel, and is adjacent to the second original pixel and on the opposite side of the first original pixel. A certain original pixel is
In the first step, an edge component is calculated based on the pixel data of the first to fourth original pixels.

【0019】より具体的には、第1の原画素の画素デー
タをd1、第2の原画素の画素データをd2、第3の原
画素の画素データをd3、第4の原画素の画素データを
d4とすると、エッジ成分Eは、次式(4)に基づいて
算出される。
More specifically, the pixel data of the first original pixel is d1, the pixel data of the second original pixel is d2, the pixel data of the third original pixel is d3, and the pixel data of the fourth original pixel is d1. Is d4, the edge component E is calculated based on the following equation (4).

【0020】 E=−d3+d1+d2−d4 …(4)E = −d3 + d1 + d2-d4 (4)

【0021】擬似ノイズ成分をQとし、第1ステップで
算出されたエッジ成分をEとすると、第2ステップで求
められる補正後のエッジ成分E1は次式(5)で表され
る。
Assuming that the pseudo noise component is Q and the edge component calculated in the first step is E, the corrected edge component E1 obtained in the second step is represented by the following equation (5).

【0022】 if −Q≦E≦Q,then E1=0, if E>Q or E<−Q,then E1=E …(5)If-Q ≦ E ≦ Q, then E1 = 0, if E> Q or E <−Q, then E1 = E (5)

【0023】第2ステップで求められた補正後のエッジ
成分をE1、第1の原画素の画素データと第2の原画素
の画素データのうち大きい方をdmax 、小さい方をd
min 、dmax とdmin との平均をdc、α(0≦α≦
1)およびγを予め設定された係数とすると、第3ステ
ップでは、次式(6)に基づいて、補間画素の画素デー
タの設定可能範囲Sが求められる。
The corrected edge component obtained in the second step is E1, the larger of the pixel data of the first original pixel and the pixel data of the second original pixel is d max , and the smaller one is d max .
min, and the average of d max and d min dc, α (0 ≦ α ≦
Assuming that 1) and γ are predetermined coefficients, in the third step, the settable range S of the pixel data of the interpolation pixel is obtained based on the following equation (6).

【0024】 if E1≧0,then dmin ・α+dc(1−α)≦S≦dmax ・α +dc(1−α)+E1・γ, if E1<0,then dmin ・α+dc(1−α)+E1・γ≦S≦ dmax ・α+dc(1−α) …(6)If E1 ≧ 0, then d min · α + dc (1-α) ≦ S ≦ d max · α + dc (1-α) + E1 · γ, if E1 <0, then d min · α + dc (1-α) + E1 · γ ≦ S ≦ dmax · α + dc (1-α) (6)

【0025】第1の原画素と第2の原画素とを結ぶ方向
を上下方向と定義し、上下方向と直角な方向を左右方向
と定義し、1組の対向画素をD12,D24とし、一方
の対向画素D12の左右両隣にある2つの原画素をD1
1,D13、この対向画素D12の上下両隣にある2つ
の原画素をD02,D22とし、他方の対向画素D24
の左右両隣にある2つの原画素をD23,D25とし、
この対向画素D24の上下両隣にある2つの原画素をD
14,D34とし、各原画素D02,D11,D12,
D13,D14,D22,D23,D24,D25およ
びD34の画素データをd02,d11,d12,d1
3,d14,d22,d23,d24,d25およびd
34とし、β1およびβ2を所定の係数とし、第3ステ
ップで求められた設定可能範囲Sの画素データをxとす
ると、その組に対する相関値Lの算出式は次式(7)で
表される。
A direction connecting the first original pixel and the second original pixel is defined as an up-down direction, a direction perpendicular to the up-down direction is defined as a left-right direction, and one set of opposing pixels is D12, D24. The two original pixels on both the left and right sides of the opposite pixel D12
1, D13, the two original pixels on the upper and lower sides of the opposite pixel D12 are D02 and D22, and the other opposite pixel D24
The two original pixels on both the left and right sides of are D23 and D25,
The two original pixels on the upper and lower sides of the opposing pixel D24 are D
14, D34, and the original pixels D02, D11, D12,
The pixel data of D13, D14, D22, D23, D24, D25 and D34 are converted to d02, d11, d12, d1.
3, d14, d22, d23, d24, d25 and d
Assuming that β is 34, β1 and β2 are predetermined coefficients, and x is the pixel data of the settable range S obtained in the third step, the equation for calculating the correlation value L for the set is represented by the following equation (7). .

【0026】 L=|d12−x|+|d24−x|+β1・Hl−β2・Vl Hl=MAX{(|d11−d12|+|d12−d13|),(|d23− d24|+|d24−d25|)} Vl=MIN{(|d02−d12|+|d12−d22|),(|d14− d24|+|d24−d34|)} …(7)L = | d12−x | + | d24−x | + β1 · H1−β2 · V1 H1 = MAX {(| d11−d12 | + | d12−d13 |), (| d23−d24 | + | d24 −d25 |)} V1 = MIN {(| d02−d12 | + | d12−d22 |), (| d14−d24 | + | d24−d34 |)} (7)

【0027】第5ステップとしては、たとえば、第4ス
テップで各組毎に求められた相関最小値のうち最小の相
関最小値を選択するステップ、選択した最小の相関最小
値を与える補間画素の画素データを抽出するステップ、
最小の相関最小値が1つである場合には、その最小の相
関最小値を与える補間画素の画素データを、補間画素の
画素データとして決定するステップ、ならびに最小の相
関最小値が複数ある場合には、それらの最小の相関最小
値を与える補間画素の画素データの平均値を補間画素の
画素データとして決定するステップを備えているものが
用いられる。
The fifth step includes, for example, the step of selecting the minimum correlation minimum value among the correlation minimum values obtained for each set in the fourth step, the pixel of the interpolated pixel giving the selected minimum correlation minimum value. Extracting data,
When the minimum correlation minimum value is one, determining the pixel data of the interpolation pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel; and when there are a plurality of minimum correlation minimum values, The method includes a step of determining the average value of the pixel data of the interpolation pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel.

【0028】第5ステップとしては、たとえば、第4ス
テップで各組毎に求められた相関最小値のうち最小の相
関最小値を選択するステップ、選択した最小の相関最小
値を与える補間画素の画素データを抽出するステップ、
最小の相関最小値が1つである場合には、その最小の相
関最小値を与える補間画素の画素データを、補間画素の
画素データとして決定するステップ、ならびに最小の相
関最小値が複数ある場合には、それらの最小の相関最小
値を与える補間画素の画素データのうちから、最大値と
最小値とを抽出し、抽出した最大値と最小値との平均値
を補間画素の画素データとして決定するステップを備え
ているものが用いられる。
The fifth step is, for example, the step of selecting the minimum correlation minimum value among the correlation minimum values obtained for each set in the fourth step, the pixel of the interpolation pixel giving the selected minimum correlation minimum value, Extracting data,
When the minimum correlation minimum value is one, determining the pixel data of the interpolation pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel; and when there are a plurality of minimum correlation minimum values, Extracts the maximum value and the minimum value from the pixel data of the interpolation pixel giving the minimum correlation minimum value, and determines the average value of the extracted maximum value and the minimum value as the pixel data of the interpolation pixel. Those having steps are used.

【0029】第5ステップとしては、たとえば、第4ス
テップで各組毎に求められた相関最小値のうち最小の相
関最小値を選択するステップ、選択した最小の相関最小
値を与える補間画素の画素データを抽出するステップ、
最小の相関最小値が1つである場合には、その最小の相
関最小値を与える補間画素の画素データを、補間画素の
画素データとして決定するステップ、ならびに最小の相
関最小値が複数ある場合には、それらの最小の相関最小
値を与える補間画素の画素データのうち、補間画素に最
も近接した対向画素から得られた画素データを選択し、
選択した画素データが1つである場合にはその画素デー
タを補間画素の画素データとして決定し、選択した画素
データが2つである場合にはそれらの平均値を補間画素
の画素データとして決定するステップを備えているもの
が用いられる。
The fifth step is, for example, the step of selecting the smallest correlation minimum value among the correlation minimum values obtained for each set in the fourth step, the pixel of the interpolation pixel giving the selected minimum correlation minimum value, Extracting data,
When the minimum correlation minimum value is one, determining the pixel data of the interpolation pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel; and when there are a plurality of minimum correlation minimum values, Selects the pixel data obtained from the opposing pixel closest to the interpolation pixel among the pixel data of the interpolation pixel giving the minimum correlation minimum value thereof,
When the number of selected pixel data is one, the pixel data is determined as the pixel data of the interpolation pixel. When the number of the selected pixel data is two, the average value thereof is determined as the pixel data of the interpolation pixel. Those having steps are used.

【0030】〔3〕この発明による第3の画像補間方法
の説明 この発明による第3の画像補間方法は、左右方向に隣合
う第1の原画素および第2の原画素、第1の原画素の下
側に隣接する第3画素ならびに第2の原画素の下側に隣
接する第4画素からなる4つの原画素の中央位置に画素
を補間する画像補間方法において、第1の原画素、第4
の原画素、第1の原画素と第4の原画素を結ぶ線の延長
上であって第1の原画素の左斜め上に隣接する第5の原
画素および第1の原画素と第4の原画素を結ぶ線の延長
上であって第4の原画素の右斜め下に隣接する第6の原
画素の画素データに基づいて、補間画素が原画像データ
のエッジ位置付近に存在するかを判定するための第1の
エッジ成分を算出する第1ステップ、第2の原画素、第
3の原画素、第2の原画素と第3の原画素を結ぶ線の延
長上であって第2の原画素の右斜め上に隣接する第7の
原画素および第2の原画素と第3の原画素を結ぶ線の延
長上であって第3の原画素の左斜め下に隣接する第8の
原画素の画素データに基づいて、補間画素が原画像デー
タのエッジ位置付近に存在するかを判定するための第2
のエッジ成分を算出する第2ステップ、第1のエッジ成
分と第1および第4の原画素の画素データとに基づい
て、補間画素の画素データの第1の設定可能範囲を求め
るとともに、第2のエッジ成分と第2および第3の原画
素の画素データとに基づいて、補間画素の画素データの
第2の設定可能範囲を求める第3ステップ、第1の設定
可能範囲と第2の設定可能範囲に、互いに重なり合う部
分が存在するか否かを判定する第4ステップ、第1の設
定可能範囲と第2の設定可能範囲に、互いに重なり合う
部分が存在しない場合には、第1〜第4の原画素の画素
データの平均値を算出し、その算出結果を補間画素の画
素データと決定する第5ステップ、第1の設定可能範囲
と第2の設定可能範囲に、互いに重なり合う部分がある
場合には、その重なり合う部分を設定可能範囲として設
定した後、補間画素を斜め方向に挟む対向画素の組を複
数組選択し、各組毎に、補間画素の画素データの設定可
能範囲内において、補間画素の画素データと各対向画素
との差の絶対値の和で表される相関値が最小となる補間
画素の画素データと相関最小値とを求める第6ステッ
プ、ならびに上記第6ステップにおいて各組毎に求めら
れた、相関値が最小となる補間画素の画素データと相関
最小値とに基づいて、補間画素の画素データを求める第
7ステップを備えていることを特徴とする。
[3] Description of Third Image Interpolation Method According to the Present Invention According to the third image interpolation method according to the present invention, a first original pixel, a second original pixel, and a first original pixel adjacent in the left-right direction are provided. In an image interpolation method of interpolating a pixel at the center position of four original pixels consisting of a third pixel adjacent below and a fourth pixel below the second original pixel, the first original pixel, 4
Of the original pixel, the fifth original pixel, the first original pixel, and the fourth original pixel, which are on the extension of the line connecting the first original pixel and the fourth original pixel, and which are adjacent to the diagonally upper left of the first original pixel. Whether the interpolated pixel exists near the edge position of the original image data based on the pixel data of the sixth original pixel which is on the extension of the line connecting the original pixels and is diagonally lower right of the fourth original pixel. A first step of calculating a first edge component for determining, a second original pixel, a third original pixel, an extension of a line connecting the second original pixel and the third original pixel, and The seventh original pixel adjacent to the second original pixel on the upper right and the seventh original pixel on the extension of the line connecting the second original pixel and the third original pixel and the lower left adjacent to the third original pixel on the left. 8 for determining whether the interpolated pixel exists near the edge position of the original image data based on the pixel data of the original pixel No. 8
A second step of calculating an edge component of the first pixel component and a first settable range of pixel data of the interpolation pixel based on the first edge component and the pixel data of the first and fourth original pixels. A third step of obtaining a second settable range of the pixel data of the interpolated pixel based on the edge component and the pixel data of the second and third original pixels, the first settable range and the second settable A fourth step of determining whether or not there is an overlapping portion in the range; if there are no overlapping portions in the first settable range and the second settable range, the first to fourth steps Fifth step of calculating the average value of the pixel data of the original pixel and determining the calculation result as the pixel data of the interpolation pixel, when there is a portion where the first settable range and the second settable range overlap each other Is that heavy After setting the matching portion as a settable range, a plurality of sets of opposing pixels sandwiching the interpolated pixel in the oblique direction are selected, and for each set, the pixel data of the interpolated pixel is set within the settable range of the pixel data of the interpolated pixel. A sixth step of obtaining pixel data of an interpolated pixel having a minimum correlation value represented by a sum of absolute values of differences between the pixel data and each of the opposing pixels and a minimum correlation value; The method further comprises a seventh step of obtaining pixel data of the interpolated pixel based on the pixel data of the interpolated pixel having the minimum correlation value and the minimum correlation value.

【0031】第1の原画素の画素データをd1、第4の
原画素の画素データをd4、第5の原画素の画素データ
をd5、第6の原画素の画素データをd6とし、第1の
エッジ成分をELとすると、第1ステップでは、次式
(8)に基づいて第1のエッジ成分ELが算出される。
また、第2の原画素の画素データをd2、第3の原画素
の画素データをd3、第7の原画素の画素データをd
7、第8の原画素の画素データをd8とし、第2のエッ
ジ成分をERとすると、第2ステップでは、次式(9)
に基づいて第2のエッジ成分ERが算出される。
The pixel data of the first original pixel is d1, the pixel data of the fourth original pixel is d4, the pixel data of the fifth original pixel is d5, and the pixel data of the sixth original pixel is d6. In the first step, the first edge component EL is calculated based on the following equation (8).
Also, the pixel data of the second original pixel is d2, the pixel data of the third original pixel is d3, and the pixel data of the seventh original pixel is d2.
Assuming that the pixel data of the seventh and eighth original pixels is d8 and the second edge component is ER, in the second step, the following equation (9) is used.
Is calculated based on the second edge component ER.

【0032】 EL=−d5+d1+d4−d6 …(8) ER=−d7+d2+d3−d8 …(9)EL = −d5 + d1 + d4-d6 (8) ER = −d7 + d2 + d3-d8 (9)

【0033】第1のエッジ成分をEL、第2のエッジ成
分をER、予め定められた閾値をTh、第1の原画素の
画素データと第4の原画素の画素データのうち大きい方
をdLmax 、小さい方をdLmin 、dLmax −dLmin
をdLとし、第2の原画素の画素データと第3の原画素
の画素データのうち大きい方をdRmax 、小さい方をd
min 、dRmax −dRmin をdRとすると、第3ステ
ップでは、次式(10)に基づいて第1の設定可能範囲
SLが求められ、次式(11)に基づいて第2の設定可
能範囲SRが求められる。
The first edge component is EL, the second edge component is ER, the predetermined threshold is Th, and the larger of the pixel data of the first original pixel and the pixel data of the fourth original pixel is dL. max , the smaller one is dL min , dL max −dL min
Is set to dL, the larger one of the pixel data of the second original pixel and the pixel data of the third original pixel is dR max , and the smaller one is dR max .
R min , dR max −dR min is defined as dR. In the third step, a first settable range SL is obtained based on the following equation (10), and a second settable range SL is obtained based on the following equation (11). A range SR is determined.

【0034】 if EL>Th,then dLmin +dL/2≦SL≦dLmax , if −Th≦EL≦Th,then dLmin +dL/4≦SL≦dLmax −dL/4, if EL<−Th,then dLmin ≦SL≦dLmin +dL/2 …(10)[0034] if EL> Th, then dL min + dL / 2 ≦ SL ≦ dL max, if -Th ≦ EL ≦ Th, then dL min + dL / 4 ≦ SL ≦ dL max -dL / 4, if EL <-Th, then dL min ≦ SL ≦ dL min + dL / 2 ... (10)

【0035】 if ER>Th,then dRmin +dR/2≦SR≦dRmax , if −Th≦ER≦Th,then dRmin +dR/4≦SR≦dRmax −dR/4, if ER<−Th,then dRmin ≦SR≦dRmin +dR/2 …(11)[0035] if ER> Th, then dR min + dR / 2 ≦ SR ≦ dR max, if -Th ≦ ER ≦ Th, then dR min + dR / 4 ≦ SR ≦ dR max -dR / 4, if ER <-Th, then dR min ≦ SR ≦ dR min + dR / 2 (11)

【0036】第6ステップで設定された設定可能範囲S
内の画素データをxとし、1組の対向画素を構成する2
つの原画素の画素データを、それぞれdaおよびdbと
すると、その組に対する相関値Lは、次式(12)に基
づいて算出される。
The settable range S set in the sixth step
Where x is the pixel data within the pixel, and 2 constitutes a set of opposing pixels.
Assuming that the pixel data of the two original pixels are da and db, respectively, the correlation value L for the pair is calculated based on the following equation (12).

【0037】 L=|da−x|+|db−x| …(12)L = | da−x | + | db−x | (12)

【0038】第7ステップとしては、たとえば、第6ス
テップで各組毎に求められた相関最小値のうち最小の相
関最小値を選択するステップ、選択した最小の相関最小
値を与える補間画素の画素データを抽出するステップ、
最小の相関最小値が1つである場合には、その最小の相
関最小値を与える補間画素の画素データを、補間画素の
画素データとして決定するステップ、ならびに最小の相
関最小値が複数ある場合には、それらの最小の相関最小
値を与える補間画素の画素データの平均値を補間画素の
画素データとして決定するステップを備えているものが
用いられる。
As the seventh step, for example, the step of selecting the minimum correlation minimum value among the correlation minimum values obtained for each pair in the sixth step, the pixel of the interpolation pixel giving the selected minimum correlation minimum value, Extracting data,
When the minimum correlation minimum value is one, determining the pixel data of the interpolation pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel; and when there are a plurality of minimum correlation minimum values, The method includes a step of determining the average value of the pixel data of the interpolation pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel.

【0039】第7ステップとしては、たとえば、第6ス
テップで各組毎に求められた相関最小値のうち最小の相
関最小値を選択するステップ、選択した最小の相関最小
値を与える補間画素の画素データを抽出するステップ、
最小の相関最小値が1つである場合には、その最小の相
関最小値を与える補間画素の画素データを、補間画素の
画素データとして決定するステップ、ならびに最小の相
関最小値が複数ある場合には、それらの最小の相関最小
値を与える補間画素の画素データのうちから、最大値と
最小値とを抽出し、抽出した最大値と最小値との平均値
を補間画素の画素データとして決定するステップを備え
ているものが用いられる。
As the seventh step, for example, the step of selecting the minimum correlation minimum value among the correlation minimum values obtained for each set in the sixth step, the pixel of the interpolation pixel giving the selected minimum correlation minimum value, Extracting data,
When the minimum correlation minimum value is one, determining the pixel data of the interpolation pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel; and when there are a plurality of minimum correlation minimum values, Extracts the maximum value and the minimum value from the pixel data of the interpolation pixel giving the minimum correlation minimum value, and determines the average value of the extracted maximum value and the minimum value as the pixel data of the interpolation pixel. Those having steps are used.

【0040】第7ステップとしては、たとえば、第6ス
テップで各組毎に求められた相関最小値のうち最小の相
関最小値を選択するステップ、選択した最小の相関最小
値を与える補間画素の画素データを抽出するステップ、
最小の相関最小値が1つである場合には、その最小の相
関最小値を与える補間画素の画素データを、補間画素の
画素データとして決定するステップ、ならびに最小の相
関最小値が複数ある場合には、それらの最小の相関最小
値を与える補間画素の画素データのうち、補間画素に最
も近接した対向画素から得られた画素データを選択し、
選択した画素データが1つである場合にはその画素デー
タを補間画素の画素データとして決定し、選択した画素
データが2つである場合にはそれらの平均値を補間画素
の画素データとして決定するステップを備えているもの
が用いられる。
As the seventh step, for example, the step of selecting the minimum correlation minimum value among the correlation minimum values obtained for each pair in the sixth step, the pixel of the interpolation pixel giving the selected minimum correlation minimum value, Extracting data,
When the minimum correlation minimum value is one, determining the pixel data of the interpolation pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel; and when there are a plurality of minimum correlation minimum values, Selects the pixel data obtained from the opposing pixel closest to the interpolation pixel among the pixel data of the interpolation pixel giving the minimum correlation minimum value thereof,
When the number of selected pixel data is one, the pixel data is determined as the pixel data of the interpolation pixel. When the number of the selected pixel data is two, the average value thereof is determined as the pixel data of the interpolation pixel. Those having steps are used.

【0041】〔4〕この発明による第4の画像補間方法
の説明 この発明による第4の画像補間方法は、左右方向に隣合
う第1の原画素および第2の原画素、第1の原画素の下
側に隣接する第3画素ならびに第2の原画素の下側に隣
接する第4画素からなる4つの原画素の中央位置に画素
を補間する画像補間方法において、第1の原画素、第4
の原画素、第1の原画素と第4の原画素を結ぶ線の延長
上であって第1の原画素の左斜め上に隣接する第5の原
画素および第1の原画素と第4の原画素を結ぶ線の延長
上であって第4の原画素の右斜め下に隣接する第6の原
画素の画素データに基づいて、補間画素が原画像データ
のエッジ位置付近に存在するかを判定するための第1の
エッジ成分を算出する第1ステップ、第2の原画素、第
3の原画素、第2の原画素と第3の原画素を結ぶ線の延
長上であって第2の原画素の右斜め上に隣接する第7の
原画素および第2の原画素と第3の原画素を結ぶ線の延
長上であって第3の原画素の左斜め下に隣接する第8の
原画素の画素データに基づいて、補間画素が原画像デー
タのエッジ位置付近に存在するかを判定するための第2
のエッジ成分を算出する第2ステップ、算出された第1
のエッジ成分および第2のエッジ成分を、それぞれ所定
の擬似ノイズ成分に基づいて補正する第3ステップ、補
正後の第1のエッジ成分と第1および第4の原画素の画
素データに基づいて補間画素の画素データの第1の設定
可能範囲を求めるとともに、補正後の第2のエッジ成分
と第2および第3の原画素の画素データとに基づいて補
間画素の画素データの第2の設定可能範囲を求める第4
ステップ、第1の設定可能範囲と第2の設定可能範囲
に、互いに重なり合う部分が存在するか否かを判定する
第5ステップ、第1の設定可能範囲と第2の設定可能範
囲に、互いに重なり合う部分が存在しない場合には、第
1〜第4の原画素の画素データの平均値を算出し、その
算出結果を補間画素の画素データと決定する第6ステッ
プ、第1の設定可能範囲と第2の設定可能範囲に、互い
に重なり合う部分が存在する場合には、その重なり合う
部分を設定可能範囲として設定した後、補間画素を斜め
方向に挟む対向画素の組を複数組選択し、各組毎に、補
間画素の画素データの設定可能範囲内において、補間画
素の画素データと各対向画素との差の絶対値の和と各対
向画素の周辺の原画素の画素データに基づいて算出され
る補正値とで表される相関値が最小となる補間画素の画
素データと相関最小値とを求める第7ステップ、ならび
に上記各組毎に求められた、相関値が最小となる補間画
素の画素データと相関最小値とに基づいて、補間画素の
画素データを求める第8ステップを備えていることを特
徴とする。
[4] Description of the Fourth Image Interpolation Method According to the Present Invention The fourth image interpolation method according to the present invention employs a first original pixel, a second original pixel, and a first original pixel adjacent in the left-right direction. In an image interpolation method of interpolating a pixel at the center position of four original pixels consisting of a third pixel adjacent below and a fourth pixel below the second original pixel, the first original pixel, 4
Of the original pixel, the fifth original pixel, the first original pixel, and the fourth original pixel, which are on the extension of the line connecting the first original pixel and the fourth original pixel, and which are adjacent to the diagonally upper left of the first original pixel. Whether the interpolated pixel exists near the edge position of the original image data based on the pixel data of the sixth original pixel which is on the extension of the line connecting the original pixels and is diagonally lower right of the fourth original pixel. A first step of calculating a first edge component for determining, a second original pixel, a third original pixel, an extension of a line connecting the second original pixel and the third original pixel, and The seventh original pixel adjacent to the second original pixel on the upper right and the seventh original pixel on the extension of the line connecting the second original pixel and the third original pixel and the lower left adjacent to the third original pixel on the left. 8 for determining whether the interpolated pixel exists near the edge position of the original image data based on the pixel data of the original pixel No. 8
Second step of calculating the edge component of the calculated first component
A third step of correcting each of the edge component and the second edge component based on a predetermined pseudo noise component, and interpolating based on the corrected first edge component and the pixel data of the first and fourth original pixels. The first settable range of the pixel data of the pixel is obtained, and the second settable of the pixel data of the interpolated pixel is determined based on the corrected second edge component and the pixel data of the second and third original pixels. The fourth to find the range
Step, a fifth step of determining whether or not there is a portion overlapping each other in the first settable range and the second settable range, overlapping each other in the first settable range and the second settable range If no portion exists, a sixth step of calculating the average value of the pixel data of the first to fourth original pixels and determining the calculation result as the pixel data of the interpolation pixel; In the case where there is an overlapping part in the settable range of 2, when the overlapping part is set as a settable range, a plurality of sets of opposing pixels sandwiching the interpolation pixel in the oblique direction are selected, and for each set, Within the settable range of the pixel data of the interpolation pixel, a correction value calculated based on the sum of the absolute values of the differences between the pixel data of the interpolation pixel and each of the opposite pixels and the pixel data of the original pixels around each of the opposite pixels And represented by A seventh step of obtaining the pixel data of the interpolated pixel having the minimum correlation value and the minimum correlation value, and based on the pixel data of the interpolated pixel having the minimum correlation value and the minimum correlation value obtained for each of the sets. And an eighth step of obtaining pixel data of the interpolated pixel.

【0042】第1の原画素の画素データをd1、第4の
原画素の画素データをd4、第5の原画素の画素データ
をd5、第6の原画素の画素データをd6とし、第1の
エッジ成分をELとすると、第1ステップでは、次式
(13)に基づいて第1のエッジ成分ELが算出され
る。また、第2の原画素の画素データをd2、第3の原
画素の画素データをd3、第7の原画素の画素データを
d7、第8の原画素の画素データをd8とし、第2のエ
ッジ成分をERとすると、第2ステップでは、次式(1
4)に基づいて第2のエッジ成分ERが算出される。
The pixel data of the first original pixel is d1, the pixel data of the fourth original pixel is d4, the pixel data of the fifth original pixel is d5, and the pixel data of the sixth original pixel is d6. In the first step, the first edge component EL is calculated based on the following equation (13). The pixel data of the second original pixel is d2, the pixel data of the third original pixel is d3, the pixel data of the seventh original pixel is d7, the pixel data of the eighth original pixel is d8, and the second Assuming that the edge component is ER, in the second step, the following equation (1)
The second edge component ER is calculated based on 4).

【0043】 EL=−d5+d1+d4−d6 …(13) ER=−d7+d2+d3−d8 …(14)EL = −d5 + d1 + d4-d6 (13) ER = −d7 + d2 + d3-d8 (14)

【0044】擬似ノイズ成分をQとし、第1のエッジ成
分をEL、第2のエッジ成分をERとすると、第3ステ
ップで求められる補正後の第1のエッジ成分EL1は次
式(15)で表され、補正後の第2のエッジ成分ER1
は次式(16)で表される。
Assuming that the pseudo noise component is Q, the first edge component is EL, and the second edge component is ER, the corrected first edge component EL1 obtained in the third step is given by the following equation (15). Expressed and corrected second edge component ER1
Is represented by the following equation (16).

【0045】 if −Q≦EL≦Q,then EL1=0, if EL>Q or EL<−Q,then EL1=EL …(15)If−Q ≦ EL ≦ Q, then EL1 = 0, if EL> Q or EL <−Q, then EL1 = EL (15)

【0046】 if −Q≦ER≦Q,then ER1=0, if ER>Q or ER<−Q,then ER1=ER …(16)If−Q ≦ ER ≦ Q, then ER1 = 0, if ER> Q or ER <−Q, then ER1 = ER (16)

【0047】補正後の第1のエッジ成分をEL1、補正
後の第2のエッジ成分をER1、第1の原画素の画素デ
ータと第4の原画素の画素データのうち大きい方をdL
max、小さい方をdLmin 、dLmax とdLmin との平
均をdLc、第2の原画素の画素データと第3の原画素
の画素データのうち大きい方をdRmax 、小さい方をd
min 、dRmax とdRmin との平均をdRc、αおよ
びγを予め設定された係数とすると、第4ステップで
は、次式(17)に基づいて第1の設定可能範囲SLが
求められるとともに次式(18)に基づいて第2の設定
可能範囲SRが求められる。
The corrected first edge component is EL1, the corrected second edge component is ER1, and the larger of the pixel data of the first original pixel and the pixel data of the fourth original pixel is dL.
max , the smaller one is dL min , the average of dL max and dL min is dLc, the larger one of the pixel data of the second original pixel and the third original pixel is dR max , and the smaller one is dR max .
When the average of R min , dR max and dR min is dRc, α and γ are coefficients set in advance, in the fourth step, the first settable range SL is obtained based on the following equation (17). The second settable range SR is obtained based on the following equation (18).

【0048】 if EL1≧0,then dLmin ・α+dLc(1−α)≦SL≦dL max ・α+dLc(1−α)+EL1・γ, if EL1<0,then dLmin ・α+dLc(1−α)+EL1・γ ≦SL≦dLmax ・α+dLc(1−α) …(17)If EL1 ≧ 0, then dLmin・ Α + dLc (1−α) ≦ SL ≦ dL max .Alpha. + DLc (1-.alpha.) + EL1.gamma., If EL1 <0, then dLmin・ Α + dLc (1-α) + EL1 ・ γ ≦ SL ≦ dLmax.Alpha. + DLc (1-.alpha.) (17)

【0049】 if ER1≧0,then dRmin ・α+dRc(1−α)≦SR≦dR max ・α+dRc(1−α)+ER1・γ, if ER1<0,then dRmin ・α+dRc(1−α)+ER1・γ ≦SR≦dRmax ・α+dRc(1−α) …(18)If ER1 ≧ 0, then dRmin・ Α + dRc (1−α) ≦ SR ≦ dR max ・ Α + dRc (1-α) + ER1 ・ γ, if ER1 <0, then dRmin・ Α + dRc (1-α) + ER1 ・ γ ≦ SR ≦ dRmax.Alpha. + DRc (1-.alpha.) (18)

【0050】第7ステップで設定された設定可能範囲S
内の画素データをxとし、1組の対向画素を構成する2
つの原画素の画素データを、それぞれdaおよびdbと
すると、その組に対する相関値Lは、次式(19)によ
って算出される。
The settable range S set in the seventh step
Where x is the pixel data within the pixel, and 2 constitutes a set of opposing pixels.
Assuming that the pixel data of the two original pixels are da and db, respectively, the correlation value L for the pair is calculated by the following equation (19).

【0051】 L=|da−x|+|db−x| …(19)L = | da−x | + | db−x | (19)

【0052】第8ステップとしては、たとえば、第7ス
テップで各組毎に求められた相関最小値のうち最小の相
関最小値を選択するステップ、選択した最小の相関最小
値を与える補間画素の画素データを抽出するステップ、
最小の相関最小値が1つである場合には、その最小の相
関最小値を与える補間画素の画素データを、補間画素の
画素データとして決定するステップ、ならびに最小の相
関最小値が複数ある場合には、それらの最小の相関最小
値を与える補間画素の画素データの平均値を補間画素の
画素データとして決定するステップを備えているものが
用いられる。
The eighth step includes, for example, the step of selecting the minimum correlation minimum value among the correlation minimum values obtained for each pair in the seventh step, the pixel of the interpolation pixel giving the selected minimum correlation minimum value. Extracting data,
When the minimum correlation minimum value is one, determining the pixel data of the interpolation pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel; and when there are a plurality of minimum correlation minimum values, The method includes a step of determining the average value of the pixel data of the interpolation pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel.

【0053】第8ステップとしては、たとえば、第7ス
テップで各組毎に求められた相関最小値のうち最小の相
関最小値を選択するステップ、選択した最小の相関最小
値を与える補間画素の画素データを抽出するステップ、
最小の相関最小値が1つである場合には、その最小の相
関最小値を与える補間画素の画素データを、補間画素の
画素データとして決定するステップ、ならびに最小の相
関最小値が複数ある場合には、それらの最小の相関最小
値を与える補間画素の画素データのうちから、最大値と
最小値とを抽出し、抽出した最大値と最小値との平均値
を補間画素の画素データとして決定するステップを備え
ているものが用いられる。
As the eighth step, for example, the step of selecting the minimum correlation minimum value among the correlation minimum values obtained for each pair in the seventh step, the pixel of the interpolation pixel giving the selected minimum correlation minimum value, Extracting data,
When the minimum correlation minimum value is one, determining the pixel data of the interpolation pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel; and when there are a plurality of minimum correlation minimum values, Extracts the maximum value and the minimum value from the pixel data of the interpolation pixel giving the minimum correlation minimum value, and determines the average value of the extracted maximum value and the minimum value as the pixel data of the interpolation pixel. Those having steps are used.

【0054】第8ステップとしては、たとえば、第7ス
テップで各組毎に求められた相関最小値のうち最小の相
関最小値を選択するステップ、選択した最小の相関最小
値を与える補間画素の画素データを抽出するステップ、
最小の相関最小値が1つである場合には、その最小の相
関最小値を与える補間画素の画素データを、補間画素の
画素データとして決定するステップ、ならびに最小の相
関最小値が複数ある場合には、それらの最小の相関最小
値を与える補間画素の画素データのうち、補間画素に最
も近接した対向画素から得られた画素データを選択し、
選択した画素データが1つである場合にはその画素デー
タを補間画素の画素データとして決定し、選択した画素
データが2つである場合にはそれらの平均値を補間画素
の画素データとして決定するステップを備えているもの
が用いられる。
The eighth step includes, for example, the step of selecting the minimum correlation minimum value among the correlation minimum values obtained for each pair in the seventh step, the pixel of the interpolation pixel providing the selected minimum correlation minimum value, Extracting data,
When the minimum correlation minimum value is one, determining the pixel data of the interpolation pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel; and when there are a plurality of minimum correlation minimum values, Selects the pixel data obtained from the opposing pixel closest to the interpolation pixel among the pixel data of the interpolation pixel giving the minimum correlation minimum value thereof,
When the number of selected pixel data is one, the pixel data is determined as the pixel data of the interpolation pixel. When the number of the selected pixel data is two, the average value thereof is determined as the pixel data of the interpolation pixel. Those having steps are used.

【0055】[0055]

【発明の実施の形態】以下、図面を参照して、この発明
の実施の形態について説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0056】〔1〕第1の画像補間方法の説明 図1〜図6を参照して、第1の画像補間方法の概要につ
いて説明する。2次元の画像は、水平方向と垂直方向の
2次元的な広がりを持っている。しかしながら、以下で
説明する第1の画像補間方法の概要説明においては、説
明を簡略化するために、垂直方向の1次元の補間方法に
ついて説明する。
[1] Description of First Image Interpolation Method An outline of the first image interpolation method will be described with reference to FIGS. A two-dimensional image has a two-dimensional spread in the horizontal and vertical directions. However, in the outline description of the first image interpolation method described below, a one-dimensional interpolation method in the vertical direction will be described in order to simplify the description.

【0057】図1は、原画素と補間される補間画素との
関係を示している。図1において、ライン(n−1),
n,(n+1),(n+2)が原画像の水平ラインであ
り、ライン(i−1),i,(i+1)が補間される水
平ラインである。
FIG. 1 shows the relationship between original pixels and interpolated pixels to be interpolated. In FIG. 1, lines (n-1),
n, (n + 1), (n + 2) are horizontal lines of the original image, and lines (i-1), i, (i + 1) are horizontal lines to be interpolated.

【0058】ここでは、ラインi上の画素(以下、補間
画素という)Xを補間する場合について説明する。補間
画素Xの真上の原画素をD12、補間画素Xの真下の原
画素をD22とする。原画素D12の両隣の原画素をD
11,D13とする。原画素D22の両隣の原画素をD
21,D23とする。また、原画素D12の真上の原画
素をD02とし、原画素D22の真下の原画素をD32
とする。
Here, a case in which a pixel X on a line i (hereinafter, referred to as an interpolated pixel) is interpolated will be described. The original pixel immediately above the interpolation pixel X is D12, and the original pixel immediately below the interpolation pixel X is D22. The original pixel on both sides of the original pixel D12 is D
11, D13. The original pixel on both sides of the original pixel D22 is D
21, D23. The original pixel immediately above the original pixel D12 is D02, and the original pixel immediately below the original pixel D22 is D32
And

【0059】以下の説明においては、原画素D11,D
12,D13,D21,D22,D23,D02,D3
2および補間画素Xの画素データを、それぞれd11,
d12,d13,d21,d22,d23,d02,d
32および補間画素xで表す。また、この例では、画素
データが8ビットであり、黒データは”0”であり、白
データは”255”であるとする。
In the following description, the original pixels D11, D
12, D13, D21, D22, D23, D02, D3
2 and the pixel data of the interpolated pixel X are d11,
d12, d13, d21, d22, d23, d02, d
32 and an interpolation pixel x. In this example, it is assumed that the pixel data is 8 bits, the black data is “0”, and the white data is “255”.

【0060】図2は、第1の画像補間方法によって、補
間画素Xの画素データxを求めるための手順を示してい
る。
FIG. 2 shows a procedure for obtaining the pixel data x of the interpolated pixel X by the first image interpolation method.

【0061】まず、補間画素Xが原画像のエッジ付近に
あるか否かを判定するために、エッジ成分Eを算出する
(ステップ1)。つまり、補間画素Xの真上にある2つ
の原画素D02,D12と、補間画素Xの真下にある原
画素D22,D32の画素データを用いて、エッジ成分
Eを、次式(20)から求める。
First, an edge component E is calculated to determine whether or not the interpolation pixel X is near the edge of the original image (step 1). That is, using the pixel data of the two original pixels D02 and D12 just above the interpolation pixel X and the pixel data of the original pixels D22 and D32 just below the interpolation pixel X, the edge component E is obtained from the following equation (20). .

【0062】 E=−d02+d12+d22−d32 …(20)E = −d02 + d12 + d22−d32 (20)

【0063】補間画素Xが原画像の黒エッジ付近に存在
している場合には、エッジ成分Eは負の比較的大きな値
をとり、補間画素Xが原画像の白エッジ付近に存在して
いる場合には、エッジ成分Eは正の比較的大きな値をと
る。
When the interpolation pixel X exists near the black edge of the original image, the edge component E takes a relatively large negative value, and the interpolation pixel X exists near the white edge of the original image. In this case, the edge component E takes a relatively large positive value.

【0064】次に、補間画素Xの画素データxの設定可
能範囲を決定する(ステップ2)。つまり、ステップ1
で求められたエッジ成分Eに基づいて、補間画素Xの画
素データxの設定可能範囲を、図3に示すように決定す
る。図3において、dmax は、原画素D12,D22の
画素データd12,d22のうちの値の大きい方を表
し、dmin は原画素D12,D22の画素データd1
2,d22のうちの値の小さい方を表している。また、
dは、原画素D12,D22の画素データd12,d2
2の差(dmax −dmin )を表している。
Next, the settable range of the pixel data x of the interpolation pixel X is determined (step 2). That is, step 1
The settable range of the pixel data x of the interpolation pixel X is determined as shown in FIG. In FIG. 3, d max represents the larger of the pixel data d12 and d22 of the original pixels D12 and D22, and d min is the pixel data d1 of the original pixels D12 and D22.
2 and d22, whichever is smaller. Also,
d is pixel data d12, d2 of the original pixels D12, D22.
2 (d max -d min ).

【0065】Thを予め設定されたしきい値とすると、
エッジ成分Eと補間画素Xの画素データxの設定可能範
囲との関係は次のようになる。
If Th is a predetermined threshold value,
The relationship between the edge component E and the settable range of the pixel data x of the interpolation pixel X is as follows.

【0066】 E>Thのときの補間画素Xの画素デ
ータxの設定可能範囲S dmin +(d/2)≦S≦dmax この場合は、補間画素Xが原画像の白エッジ付近に存在
していると想定し、設定可能範囲Sをdmin 〜dmax
範囲のうち、dmax 側に近い範囲に設定している。
Settable range S dmin + (d / 2) ≦ S ≦ d max of pixel data x of interpolation pixel X when E> Th In this case, interpolation pixel X exists near the white edge of the original image and that the assumed, among the settable range S in the range of d min to d max, it is set in a range close to d max side.

【0067】 −Th≦E≦Thのときの補間画素X
の画素データxの設定可能範囲S dmin +(d/4)≦S≦dmax −(d/4)
Interpolated pixel X when −Th ≦ E ≦ Th
Range S dmin + (d / 4) ≦ S ≦ d max − (d / 4)

【0068】 E<−Thのときの補間画素Xの画素
データxの設定可能範囲S dmin ≦S≦dmin +(d/2) この場合は、補間画素Xが原画像の黒エッジ付近に存在
していると想定し、設定可能範囲Sをdmin 〜dmax
範囲のうち、dmin 側に近い範囲に設定している。
Settable range S dmin ≦ S ≦ dmin + (d / 2) of pixel data x of interpolation pixel X when E <−Th In this case, interpolation pixel X is located near the black edge of the original image. Assuming that it exists, the settable range S is set to a range closer to the d min side in the range from d min to d max .

【0069】次に、補間画素Xを斜め方向に挟む対向画
素の画素データに基づいて、補間画素Xの画素データの
候補を、補間画素Xの画素データxの設定可能範囲内か
ら求める(ステップ3)。つまり、以下に説明するよう
に、2つの斜め方向相関値L,Rの最小値Lmin ,R
min とその最小値を与える画素データxl,xrとを、
補間画素Xの画素データxの設定可能範囲S内から求め
る。
Next, based on the pixel data of the opposite pixel sandwiching the interpolation pixel X in the oblique direction, a candidate for the pixel data of the interpolation pixel X is determined from the settable range of the pixel data x of the interpolation pixel X (step 3). ). That is, as described below, the minimum values L min , R of the two diagonal correlation values L, R
min and pixel data xl, xr that gives the minimum value thereof,
It is determined from the settable range S of the pixel data x of the interpolation pixel X.

【0070】補間画素Xの画素データの候補を求める方
法には、2つの方法があるので、それらの方法について
説明する。
There are two methods for obtaining pixel data candidates for the interpolated pixel X. These methods will be described.

【0071】(1)第1方法の説明 補間画素Xを斜め方向(左上斜め方向)に挟む2つの対
向画素D11,D23と補間画素Xとの画素データの相
関値Lを表す次式(21)に、設定可能範囲S内の全て
の画素データxをそれぞれ代入していき、最小となる相
関値Lmin と、最小相関値Lmin を与える画素データx
lとを求める。
(1) Description of First Method The following equation (21) representing the correlation value L of the pixel data between the two opposing pixels D11 and D23 sandwiching the interpolated pixel X in the oblique direction (the upper left oblique direction) and the interpolated pixel X. in, will all the pixel data x in the settable range S substituted respectively, and the correlation value L min of a minimum, pixel data x which gives the minimum correlation value L min
and l.

【0072】 L=|d11−x|+|d23−x| …(21)L = | d11−x | + | d23−x | (21)

【0073】同様に、補間画素Xを斜め方向(右上斜め
方向)に挟む2つの対向画素D13,D21と補間画素
Xとの画素データの相関値Rを表す次式(22)に、設
定可能範囲S内の全ての画素データxをそれぞれ代入し
ていき、最小となる相関値R min と、最小相関値Rmin
を与える画素データxrとを求める。
Similarly, the interpolation pixel X is set in the oblique direction (upper right
Direction), two opposing pixels D13, D21 and an interpolation pixel
The following equation (22) representing the correlation value R of the pixel data with X is set as
Substitute all pixel data x in the settable range S
And the minimum correlation value R minAnd the minimum correlation value Rmin
And the pixel data xr that gives

【0074】 R=|d13−x|+|d21−x| …(22)R = | d13−x | + | d21−x | (22)

【0075】このようにして、求められた画素データx
l,xrが、補間画素Xの画素データ候補となる。ただ
し、このような方法では、最小相関値Lmin を与える画
素データxlとして、複数の画素データが該当する場合
がある。同様に、最小相関値Rmin を与える画素データ
xrとして、複数の画素データが該当する場合がある。
The pixel data x obtained as described above
l and xr are pixel data candidates for the interpolation pixel X. However, in such a method, as the pixel data xl which gives the minimum correlation value L min, there is a case where a plurality of pixel data corresponds. Similarly, a plurality of pixel data may be applicable as the pixel data xr giving the minimum correlation value Rmin .

【0076】最小相関値Lmin を与える画素データxl
として、複数の画素データが該当する場合には、それら
の平均値を最小相関値Lmin を与える画素データxlと
して決定するようにすればよい。同様に、最小相関値R
min を与える画素データxrとして、複数の画素データ
が該当する場合には、それらの平均値を最小相関値R
min を与える画素データxrとして決定するようにすれ
ばよい。
The minimum correlation value LminPixel data xl giving
If more than one pixel data is applicable,
Is the average correlation value LminPixel data xl giving
It is sufficient to determine it. Similarly, the minimum correlation value R
min, A plurality of pixel data xr
, The average value thereof is calculated as the minimum correlation value R
minIs determined as pixel data xr that gives
I just need.

【0077】(2)第2方法の説明 図4は、相関値Lと画素データxとの関係を表してい
る。図4におけるxminは、対向画素D11,D23の
画素データd11,d23のうち小さい方の画素データ
を示し、xmax は、画素データd11,d23のうち大
きい方の画素データを示している。また、xdは画素デ
ータd11,d23の差(xmax −xmin)を示してい
る。
(2) Description of the Second Method FIG. 4 shows the relationship between the correlation value L and the pixel data x. In FIG. 4, x min indicates the smaller one of the pixel data d11 and d23 of the opposing pixels D11 and D23, and x max indicates the larger one of the pixel data d11 and d23. Further, xd represents the difference between the pixel data d11, d23 (x max -x min ).

【0078】図4に示す相関値Lと画素データxとの関
係から、上記式(21)は、次式(23)のように変形
することができる。
From the relationship between the correlation value L and the pixel data x shown in FIG. 4, the above equation (21) can be modified into the following equation (23).

【0079】 L=xd+2(x−xmin ) (x>xmax ) L=xd (xmin ≦x≦xmax ) L=xd+2(xmin −x) (x<xmin ) …(23)L = xd + 2 (xx min ) (x> x max ) L = xd (x min ≦ x ≦ x max ) L = xd + 2 (x min −x) (x <x min ) (23)

【0080】なお、相関値Lについての変形式のみ示し
たが、上記式(22)の相関値Rについても同様に変形
することができる。
Although only the modification formula for the correlation value L is shown, the correlation value R in the above equation (22) can be similarly modified.

【0081】以下、最小相関値Lmin ,Rmin 及び画素
データxl,xrの求め方(第2方法)について説明す
る。ここでは、最小相関値Lmin 及び画素データxlの
求め方について説明する。
Hereinafter, a method (second method) for obtaining the minimum correlation values L min and R min and the pixel data xl and xr will be described. Here, a method of obtaining the minimum correlation value L min and the pixel data xl will be described.

【0082】図5の(a)〜(f)は、相関値Lと画素
データxとの関係を示すグラフと画素データxの設定可
能範囲を示している。
FIGS. 5A to 5F show a graph indicating the relationship between the correlation value L and the pixel data x and the settable range of the pixel data x.

【0083】図5において、xaは設定可能範囲内の画
素データxの最小値を示し、xbは設定可能範囲内の画
素データxの最大値を示している。
In FIG. 5, xa indicates the minimum value of the pixel data x within the settable range, and xb indicates the maximum value of the pixel data x within the settable range.

【0084】 xb≦xmin のとき 図5(a)のように、画素データxの設定可能範囲がx
min 以下のときには、画素データxbにおいて相関値L
が最小となるので、最小相関値Lmin はxd+2(x
min −xb)となる。又、このときの画素データxlは
xbである。
When xb ≦ x min As shown in FIG. 5A, the settable range of the pixel data x is x
When it is equal to or less than min , the correlation value L in the pixel data xb
Is minimum, the minimum correlation value L min is xd + 2 (x
min− xb). The pixel data xl at this time is xb.

【0085】 xmax ≦xaのとき 図5(b)のように、画素データxの設定可能範囲がx
max 以上のときには、画素データxaにおいて相関値L
が最小となるので、最小相関値Lmin はxd+2(xa
−xmax )となる。又、このときの画素データxlはx
aである。
When x max ≦ xa As shown in FIG. 5B, the settable range of the pixel data x is x
If it is equal to or greater than max , the correlation value L in the pixel data xa
Is minimum, the minimum correlation value L min is xd + 2 (xa
−x max ). The pixel data xl at this time is x
a.

【0086】 xmin ≦xa且つxb≦xmax のとき 図5(c)のように、画素データxの設定可能範囲が画
素データxmin 〜xma x の間にあるときには、設定可能
範囲の任意の画素データxにおいて相関値Lが最小値x
dとなるので最小相関値Lmin はxdとなる。この場合
には、画素データxlは、設定可能範囲の中央の値(x
a+xb)/2に決定される。
[0086] When x min ≦ xa and xb ≦ x max as shown in FIG. 5 (c), when the setting range of the pixel data x is between pixel data x min ~x ma x is any settable range Is the minimum value x in the pixel data x of
minimum correlation value L min since the d becomes xd. In this case, the pixel data xl is a value (x
a + xb) / 2.

【0087】 xa<xmin 且つxmax <xbのとき 図5(d)のように、画素データxの設定可能範囲が画
素データxmin 〜xma x の範囲よりも広い範囲となると
きには、画素データxmin 〜xmax の任意の画素データ
xにおいて相関値Lが最小値xdとなる。したがって、
最小相関値Lmi n はxdとなる。この場合には、画素デ
ータxlは、画素データxmin ,xmaxの平均値(x
min +xmax )/2に決定される。
[0087] xa <x min and x max <As shown in FIG. 5 (d) when xb, when the settable range of the pixel data x is a range wider than the range of the pixel data x min ~x ma x is the pixel The correlation value L becomes the minimum value xd in any pixel data x of the data x min to x max . Therefore,
Minimum correlation value L mi n becomes xd. In this case, the pixel data xl is an average of the pixel data x min and x max (x
min + xmax ) / 2.

【0088】 xa<xmin 且つxmin <xb≦x
max のとき 図5(e)のように、画素データxの設定可能範囲が画
素データxmin 〜xma x の範囲よりも左側にずれている
ときには、画素データxmin 〜xbの任意の画素データ
xにおいて相関値Lが最小値xdとなる。したがって、
最小相関値Lmi n はxdとなる。この場合には、画素デ
ータxlは、画素データxmin ,xbの平均値(xmin
+xb)/2に決定される。
Xa <x min and x min <xb ≦ x
As shown in FIG. 5 (e) when the max, when the settable range of the pixel data x is shifted to the left side than the range of the pixel data x min ~x ma x is any pixel data in the pixel data x min ~Xb At x, the correlation value L becomes the minimum value xd. Therefore,
Minimum correlation value L mi n becomes xd. In this case, the pixel data xl is an average of the pixel data x min and xb (x min
+ Xb) / 2.

【0089】 xmin ≦xa<xmax 且つxmax ≦x
bのとき 図5(f)のように、画素データxの設定可能範囲が画
素データxmin 〜xma x の範囲よりも右側にずれている
ときには、画素データxa〜xmax の任意の画素データ
xにおいて相関値Lが最小値xdとなる。したがって、
最小相関値Lmi n はxdとなる。この場合には、画素デ
ータxlは、画素データxa,xmax の平均値(xa+
max )/2に決定される。
X min ≦ xa <x max and x max ≦ x
When b as shown in FIG. 5 (f), the when the settable range of the pixel data x is shifted to the right side than the range of the pixel data x min ~x ma x is any pixel data in the pixel data Xa~x max At x, the correlation value L becomes the minimum value xd. Therefore,
Minimum correlation value L mi n becomes xd. In this case, the pixel data xl is pixel data xa, the average value of x max (xa +
x max ) / 2.

【0090】このようにして、最小相関値Lmin 及び画
素データxlが求められる。尚、最小相関値Rmin 及び
画素データxrについても、最小相関値Lmin 及び画素
データxlと同様にして求められる。
Thus, the minimum correlation value L min and the pixel data xl are obtained. The minimum correlation value R min and the pixel data xr are obtained in the same manner as the minimum correlation value L min and the pixel data xl.

【0091】ステップ3によって、最小相関値Lmin
min およびそれを与える画素データxl,xrが求め
られると、両最小相関値Lmin ,Rmin のうち小さい方
の相関値を与える画素データを抽出する(ステップ
4)。
In step 3, the minimum correlation value L min ,
When R min and the pixel data xl and xr that provide it are obtained, the pixel data that provides the smaller one of the two minimum correlation values L min and R min is extracted (step 4).

【0092】両最小相関値Lmin ,Rmin が異なる場合
には、1つの画素データが抽出され、両最小相関値L
min ,Rmin が同じ場合には、2つの画素データが抽出
される。
If the two minimum correlation values L min and R min are different, one pixel data is extracted and the two minimum correlation values L min and R min are extracted.
If min and Rmin are the same, two pixel data are extracted.

【0093】ステップ4において1つの画素データxl
またはxrが抽出された場合には(ステップ5でYE
S)、抽出された画素データが補間画素Xの画素データ
xとして決定される(ステップ6)。ステップ4におい
て、2つの(複数の)画素データxl,xrが選択され
た場合には(ステップ5でNO)、画素データxl,x
rの平均値が補間画素Xの画素データxに決定される
(ステップ7)。詳しくは次の通りである。
In step 4, one pixel data xl
Or, if xr is extracted (YE in step 5)
S), the extracted pixel data is determined as the pixel data x of the interpolation pixel X (step 6). If two (plural) pixel data xl, xr are selected in step 4 (NO in step 5), the pixel data xl, x
The average value of r is determined as the pixel data x of the interpolation pixel X (step 7). The details are as follows.

【0094】 if Lmin <Rmin ,then x=xl if Lmin >Rmin ,then x=xr if Lmin =Rmin ,then x=(xl+x
r)/2
If L min <R min , then x = xl if L min > R min , then x = xr if L min = R min , then x = (xl + x
r) / 2

【0095】なお、上記ステップ3では、補間画素Xを
斜め方向に挟む対向画素の組として、2組が選択されて
いるが、2組より多い組を選択してもよい。たとえば、
図6に示すように、D11とD27、D12とD26、
D13とD25、D15とD23、D16とD22、D
17とD21というように、6組の対向画素を選択して
もよい。この場合には、それぞれの対向画素の組毎に、
相関値の最小値を与える画素データがステップ3で求め
られる。つまり、6つの画素データ候補が求められる。
In step S3, two pairs of opposing pixels sandwiching the interpolation pixel X in the oblique direction are selected. However, more than two pairs may be selected. For example,
As shown in FIG. 6, D11 and D27, D12 and D26,
D13 and D25, D15 and D23, D16 and D22, D
Six sets of opposing pixels, such as 17 and D21, may be selected. In this case, for each pair of opposing pixels,
Pixel data that gives the minimum value of the correlation value is obtained in step 3. That is, six pixel data candidates are obtained.

【0096】そして、6組の対向画素の組に対する相関
最小値のうち、最小のものが3以上ある場合には、ステ
ップ4では、これらの6つの画素データ候補のうちか
ら、3以上の画素データが抽出される。
If there are three or more of the minimum correlation values among the six pairs of opposing pixels, in step 4, three or more of the six pixel data candidates are selected from among these six pixel data candidates. Is extracted.

【0097】ステップ4で3以上の画素データが選択さ
れた場合に、補間画素Xの画素データxを決定する方法
としては、次の3つの方法がある。
When three or more pieces of pixel data are selected in step 4, there are the following three methods for determining the pixel data x of the interpolated pixel X.

【0098】第1は、ステップ4で選択された3以上の
画素データの平均値を算出し、その算出結果を補間画素
Xの画素データxとして決定する方法である。第2は、
ステップ4で選択された3以上の画素データのうちの最
大値と最小値とを抽出してそれらの平均値を算出し、そ
の算出結果を補間画素Xの画素データxとして決定する
方法である。
The first is a method of calculating an average value of three or more pixel data selected in step 4 and determining the calculation result as pixel data x of the interpolation pixel X. Second,
In this method, the maximum value and the minimum value of the three or more pixel data selected in step 4 are extracted, the average value thereof is calculated, and the calculation result is determined as the pixel data x of the interpolation pixel X.

【0099】第3は、ステップ4で選択された3以上の
画素データのうち、補間画素Xに最も近接した対向画素
から得られる画素データを選択し、選択した画素データ
を補間画素Xの画素データxとして決定する方法であ
る。ただし、補間画素Xに最も近接した対向画素から得
られる画素データが2つ存在する場合には、それら平均
を値を算出し、その算出結果を補間画素Xの画素データ
xとして決定する。
Third, from among the three or more pixel data selected in step 4, pixel data obtained from the opposing pixel closest to the interpolation pixel X is selected, and the selected pixel data is converted to the pixel data of the interpolation pixel X. It is a method of determining as x. However, when there are two pieces of pixel data obtained from the opposite pixel closest to the interpolation pixel X, the average is calculated, and the calculation result is determined as the pixel data x of the interpolation pixel X.

【0100】〔1−1〕 第1の画像補間方法を用いた
画像補間装置の説明 〔1−1−1〕第1の画像補間装置の説明 上記〔1〕では、斜め方向の対向画素の組数を2とした
ときの画像補間方法について説明したが、ここでは、図
6を用いて説明したように、斜め方向の対向画素の組数
を6である場合について説明する。なお、説明を簡略化
するために、垂直方向の1次元の補間を行なう画像補間
装置について説明する。
[1-1] Description of Image Interpolation Device Using First Image Interpolation Method [1-1-1] Description of First Image Interpolation Device In [1], a group of diagonally opposed pixels is described. The image interpolation method when the number is 2 has been described. Here, as described with reference to FIG. 6, a case where the number of diagonally opposed pixels is 6 will be described. To simplify the description, an image interpolating device that performs one-dimensional interpolation in the vertical direction will be described.

【0101】図7は、第1の画像補間装置の構成を示し
ている。メモリ部1は、入力端子INを介して入力され
る原画素の画素データを記憶する。補間相関値演算部2
は、メモリ部1に記憶されている原画素の画素データを
用いて、6組の対向画素から得られる6つの最小相関値
L1min 〜L3min ,R1min 〜R3min と、この6つ
の最小相関値をそれぞれ与える補間画素Xの画素データ
x1l〜x3l,x1r〜x3rとを算出する。
FIG. 7 shows the configuration of the first image interpolation device. The memory unit 1 stores pixel data of original pixels input via the input terminal IN. Interpolated correlation value calculator 2
Are the six minimum correlation values L1 min to L3 min and R1 min to R3 min obtained from six sets of opposing pixels using the pixel data of the original pixels stored in the memory unit 1, and the six minimum correlation values. The pixel data x11 to x31 and x1r to x3r of the interpolation pixel X to be given values are calculated.

【0102】最小値抽出部3は、補間相関値演算部2に
よって算出された6つの最小相関値L1min 〜L
min ,R1min 〜R3min のうち最小となる最小相関
値を識別する。画素データ選択部4は、最小値抽出部3
の識別結果に基づいて、補間相関値演算部2から与えら
れる6つの画素データx1l〜x3l,x1r〜x3r
から補間画素Xの画素データの候補となる画素データを
選択する。
The minimum value extracting section 3 calculates the six minimum correlation values L1 min to L1 calculated by the interpolation correlation value calculating section 2.
The minimum correlation value which is the minimum among 3 min and R1 min to R3 min is identified. The pixel data selection unit 4 includes the minimum value extraction unit 3
Of the six pixel data x11 to x31, x1r to x3r provided from the interpolation correlation value calculation unit 2 based on the identification result of
, Pixel data which is a candidate for the pixel data of the interpolation pixel X is selected.

【0103】最大値最小値抽出部5は、画素データ選択
部4で選択された画素データのうち最大、最小となる画
素データを抽出する。平均値演算部6は、最大値最小値
抽出部5で抽出された2つの画素データの平均値を算出
し、この算出結果を補間画素Xの画素データとして出力
端子OUTに出力する。
The maximum value / minimum value extraction unit 5 extracts the maximum and minimum pixel data from the pixel data selected by the pixel data selection unit 4. The average value calculation unit 6 calculates the average value of the two pixel data extracted by the maximum value minimum value extraction unit 5, and outputs the calculation result to the output terminal OUT as the pixel data of the interpolation pixel X.

【0104】画像補間装置の動作について説明する。The operation of the image interpolation device will be described.

【0105】図6は、原画素と補間される補間画素との
関係を表している。図6のように、補間画素Xに対し
て、原画素D04,D11〜D17,D21〜D27,
D34が配されているとする。補間画素Xおよび原画素
D04,D11〜D17,D21〜D27,D34の画
素データを、それぞれx,d04,d11〜d17,d
21〜d27,d34で表す。
FIG. 6 shows the relationship between original pixels and interpolated pixels to be interpolated. As shown in FIG. 6, the original pixels D04, D11 to D17, D21 to D27,
It is assumed that D34 is provided. The pixel data of the interpolation pixel X and the original pixels D04, D11 to D17, D21 to D27, and D34 are respectively converted to x, d04, d11 to d17, d
21 to d27 and d34.

【0106】まず、補間画素Xの真上および真下にある
4つの原画素D04,D14,D24,D34の画素デ
ータがメモリ部1より補間相関値演算部2に入力され、
エッジ成分Eが次式(24)より求められる。
First, pixel data of four original pixels D04, D14, D24, and D34 immediately above and below the interpolation pixel X are input from the memory unit 1 to the interpolation correlation value calculation unit 2,
The edge component E is obtained from the following equation (24).

【0107】 E=−d04+d14+d24−d34 …(24)E = −d04 + d14 + d24−d34 (24)

【0108】このようにして求められたエッジ成分Eに
よって、図2のステップ2と同様な方法で、補間画素X
の画素データxの設定可能範囲Sが求められる。 そし
て、対向画素D11,D27と補間画素Xとの画素デー
タの相関値L1、対向画素D12,D26と補間画素X
との画素データの相関値L2、対向画素D13,D25
と補間画素Xとの画素データの相関値L3、対向画素D
17,D21と補間画素Xとの画素データの相関値R
1、対向画素D16,D22と補間画素Xとの画素デー
タの相関値R2、及び対向画素D15,D23と補間画
素Xとの画素データの相関値R3をそれぞれを表す以下
の式(25)〜(30)に基づいて、図2のステップ3
と同様な方法で、相関値L1〜L3、R1〜R3の最小
値L1min〜L3min 、R1min 〜R3min と、これら
の最小値を与える画素データx1l〜x3l,x1r〜
x3rが求められる。
The edge component E thus obtained is used to calculate the interpolation pixel X in the same manner as in step 2 of FIG.
The settable range S of the pixel data x is obtained. Then, the correlation value L1 of the pixel data between the opposing pixels D11 and D27 and the interpolation pixel X, and the opposition pixels D12 and D26 and the interpolation pixel X
The pixel data correlation value L2 with the opposite pixels D13 and D25
Value L3 of the pixel data between the pixel and the interpolation pixel X, and the opposite pixel D
17, D21 and the correlation value R of the pixel data between the interpolation pixel X
1, the following equations (25) to (25) representing the correlation value R2 of pixel data between the opposing pixels D16 and D22 and the interpolation pixel X and the correlation value R3 of pixel data between the opposing pixels D15 and D23 and the interpolation pixel X, respectively. 30) based on step 3 in FIG.
In the same manner as above, the minimum values L1 min to L3 min and R1 min to R3 min of the correlation values L1 to L3 and R1 to R3, and the pixel data x11 to x31 and x1r to give these minimum values.
x3r is determined.

【0109】 L1=|d11−x|+|d27−x| …(25) L2=|d12−x|+|d26−x| …(26) L3=|d13−x|+|d25−x| …(27) R1=|d17−x|+|d21−x| …(28) R2=|d16−x|+|d22−x| …(29) R3=|d15−x|+|d23−x| …(30)L1 = | d11−x | + | d27−x | (25) L2 = | d12−x | + | d26−x | (26) L3 = | d13−x | + | d25−x | (27) R1 = | d17-x | + | d21-x | (28) R2 = | d16-x | + | d22-x | (29) R3 = | d15-x | + | d23-x |… (30)

【0110】このように、相関値L1〜L3、R1〜R
3の最小値L1min 〜L3min 、R1min 〜R3
min と、これらの最小値を与える画素データx1l〜x
3l,x1r〜x3rが補間相関値演算部2で求められ
ると、最小値L1min 〜L3min 、R1min 〜R3min
が最小値抽出部3に、画素データx1l〜x3l,x1
r〜x3rが画素データ選択部4に与えられる。
As described above, the correlation values L1 to L3, R1 to R3
3 minimum values L1 min to L3 min , R1 min to R3
min and pixel data x11 to x that give these minimum values
When 3l, x1r to x3r are obtained by the interpolation correlation value calculator 2, the minimum values L1 min to L3 min and R1 min to R3 min are obtained.
Are stored in the minimum value extracting unit 3 as pixel data x11 to x31, x1.
r to x3r are provided to the pixel data selection unit 4.

【0111】最小値抽出部3は、最小相関値L1min
L3min 、R1min 〜R3min が入力されるとともに、
この入力された最小相関値L1min 〜L3min 、R1
min 〜R3min に応じた制御信号であるFlag1〜F
lag6を出力する。
The minimum value extracting section 3 calculates the minimum correlation value L1 min
L3 min , R1 min to R3 min are input,
The input minimum correlation values L1 min to L3 min , R1
Flag1 to Flag3 to F3 which are control signals corresponding to min to R3 min
lag6 is output.

【0112】この最小値抽出部3は、相関値L1〜L
3、R1〜R3の最小値L1min 〜L3min 、R1min
〜R3min にそれぞれ対応した制御信号Flag1〜6
を出力する。相関値L1〜L3、R1〜R3の最小値L
min 〜L3min 、R1min 〜R3min のうち最も小さ
い値に応じた制御信号をHighとし、それ以外の値に
応じた制御信号をLowとする。
The minimum value extracting section 3 calculates the correlation values L1 to L
3, the minimum value of R1 to R3 L1 min to L3 min , R1 min
Control signals respectively corresponding to ~R3 min Flag1~6
Is output. Minimum value L of correlation values L1 to L3 and R1 to R3
A control signal corresponding to the smallest value among 1 min to L3 min and R1 min to R3 min is High, and a control signal corresponding to other values is Low.

【0113】例えば、最小値L1min 〜L3min 、R1
min 〜R3min のうち、L1min とR2min とが最小で
ある場合には、制御信号Flag1とFlag5をHi
ghとし、その他の制御信号Flag2〜Flag4,
Flag6をLowとする。尚、Highとなる制御信
号は、この例のように2つとは限られず、1〜6つのう
ちのいずれかである。
For example, the minimum values L1 min to L3 min , R1
When L1 min and R2 min are the minimum among min to R3 min , the control signals Flag1 and Flag5 are set to Hi.
gh, and other control signals Flag2 to Flag4.
Flag 6 is set to Low. Note that the number of control signals that become High is not limited to two as in this example, but is any one of 1 to 6.

【0114】最小値抽出部3から出力される制御信号F
lag1〜Flag6は、画素データ選択部4に与えら
れる。画素データ選択部4では、最小値抽出部3から与
えられた制御信号のうちHighとなる制御信号に対応
した画素データを最大値最小値抽出部5に出力する。
Control signal F output from minimum value extracting section 3
Flag 1 to Flag 6 are provided to the pixel data selection unit 4. The pixel data selector 4 outputs pixel data corresponding to a High control signal among the control signals supplied from the minimum value extractor 3 to the maximum value / minimum value extractor 5.

【0115】最小値抽出部3から与えられる制御信号
が、上記の例のように、制御信号Flag1,Flag
5がHighで、その他の制御信号Flag2〜Fla
g4,Flag6がLowであるとき、画素データx1
l,x2rが選択されて最大値最小値抽出部5に与えら
れる。
When the control signal supplied from the minimum value extracting unit 3 is the control signal Flag1, Flag1,
5 is High, and other control signals Flag2 to Flag
When g4 and Flag6 are Low, pixel data x1
1, x2r is selected and given to the maximum / minimum value extraction unit 5.

【0116】最大値最小値抽出部5では、画素データ選
択部4から与えられた画素データのうちから、最大の画
素データと最小の画素データとが選択されて、平均値演
算部6に与えられる。平均値演算部6では、最大値最小
値抽出部5から与えられた2つの画素データの平均値が
算出され、その算出結果が補間画素Xの画素データxと
して出力端子OUTに出力される。
The maximum value minimum value extraction unit 5 selects the maximum pixel data and the minimum pixel data from the pixel data supplied from the pixel data selection unit 4 and supplies the selected pixel data to the average value calculation unit 6. . The average value calculation unit 6 calculates the average value of the two pixel data provided from the maximum value / minimum value extraction unit 5, and outputs the calculation result to the output terminal OUT as the pixel data x of the interpolation pixel X.

【0117】最大値最小値抽出部5に1つの画素データ
のみしか与えられなかった場合には、最大値最小値抽出
部5はその1つの画素データを平均値演算部6に与え
る。この場合には、平均値演算部6は与えられた1つの
画素データを補間画素Xの画素データxとしてそのまま
出力する。
When only one piece of pixel data is given to the maximum value / minimum value extracting section 5, the maximum value / minimum value extracting section 5 supplies the one piece of pixel data to the average value calculating section 6. In this case, the average calculator 6 outputs the given one pixel data as it is as the pixel data x of the interpolated pixel X.

【0118】なお、原画素の画素データは、メモリ部1
および補間相関値演算部2を介して、出力端子OUTに
出力される。つまり、nライン上の原画素の画素データ
が出力された後、iライン上の補間画素の画素データが
出力される。
The pixel data of the original pixel is stored in the memory 1
The signal is output to the output terminal OUT via the interpolating correlation value calculation unit 2. That is, after the pixel data of the original pixel on the n-th line is output, the pixel data of the interpolation pixel on the i-th line is output.

【0119】補間相関値演算部2でエッジ成分を比較す
る閾値Thを外部から入力できるようにして、閾値Th
を変更可能にすると、再生される画像に最適な補間処理
を施すことができる。
The threshold value Th for comparing the edge components in the interpolation correlation value calculator 2 can be input from the outside, and the threshold value Th
Can be changed, optimal interpolation processing can be performed on the reproduced image.

【0120】上記第1の画像補間装置は、ライン数を増
やすものであるが、ライン上の画素数を増やすには、水
平方向において同様の補間処理を行うようにすればよ
い。
The first image interpolation device increases the number of lines. To increase the number of pixels on a line, a similar interpolation process may be performed in the horizontal direction.

【0121】なお、図7において、最大値最小値抽出部
5および平均値演算部6を省略するとともに、画素デー
タ選択部4の後段に平均値演算部を設け、画素データ選
択部4によって複数の画素データが選択された場合に、
それらの画素データの平均値を算出し、その算出結果を
補間画素Xの画素データxとして出力端子OUTに出力
させるようにしてもよい。
In FIG. 7, the maximum value / minimum value extraction unit 5 and the average value calculation unit 6 are omitted, and an average value calculation unit is provided at the subsequent stage of the pixel data selection unit 4. When pixel data is selected,
An average value of the pixel data may be calculated, and the calculation result may be output to the output terminal OUT as pixel data x of the interpolation pixel X.

【0122】〔1−1−2〕 第2の画像補間装置の説
明 図8は、第2の画像補間装置の構成を示している。図8
において、図7と同じものには同一の符号を付して、そ
の説明を省略する。補間画素Xと原画素との関係は、図
6のような関係にあるものとする。
[1-1-2] Description of Second Image Interpolation Device FIG. 8 shows the configuration of the second image interpolation device. FIG.
In FIG. 7, the same components as those in FIG. 7 are denoted by the same reference numerals, and description thereof will be omitted. It is assumed that the relationship between the interpolation pixel X and the original pixel is as shown in FIG.

【0123】この画像補間装置は、入力端子INと、出
力端子OUTと、メモリ部1と、補間相関値演算部2
と、最小値抽出部3と、画素データ選択部4と、画素デ
ータ選択部4から与えられる画素データより補間画素X
に最も近接した対向画素より求められる画素データを抽
出する補間画素データ抽出部7とを備えている。
This image interpolation apparatus comprises an input terminal IN, an output terminal OUT, a memory unit 1, an interpolation correlation value calculation unit 2
, The minimum value extracting unit 3, the pixel data selecting unit 4, and the interpolation pixel X based on the pixel data given from the pixel data selecting unit 4.
And an interpolation pixel data extraction unit 7 for extracting pixel data obtained from the opposing pixel closest to the pixel data.

【0124】メモリ部1、補間相関値演算部2、最小値
抽出部3および画素データ選択部4の動作は、図7のメ
モリ部1、補間相関値演算部2、最小値抽出部3、及び
画素データ選択部4の動作と同じである。
The operations of the memory unit 1, the interpolation correlation value calculation unit 2, the minimum value extraction unit 3, and the pixel data selection unit 4 are the same as those of the memory unit 1, interpolation correlation value calculation unit 2, minimum value extraction unit 3, The operation is the same as that of the pixel data selection unit 4.

【0125】補間相関値演算部2で最小相関値L1min
〜L3min 、R1min 〜R3min 及び画素データx1l
〜x3l,x1r〜x3rが求められ、最小相関値L1
min〜L3min 、R1min 〜R3min が最小値抽出部3
に送出されるとともに、画素データx1l〜x3l,x
1r〜x3rが画素データ選択部4に送出される。
The minimum correlation value L1 min is calculated by the interpolation correlation value calculation unit 2.
~ L3 min , R1 min ~ R3 min and pixel data x11
To x31, x1r to x3r are obtained, and the minimum correlation value L1
min to L3 min and R1 min to R3 min are the minimum value extraction units 3
And the pixel data x11 to x31, x
1r to x3r are sent to the pixel data selection unit 4.

【0126】最小値抽出部3からは、最小相関値L1
min 〜L3min 、R1min 〜R3minそれぞれに対応し
た制御信号Flag1〜Flag6が出力される。画素
データ選択部4では、Highとなっている制御信号に
対応する画素データが、画素データx1l〜x3l,x
1r〜x3rより選択されて、補間画素データ抽出部7
に与えられる。
From the minimum value extracting section 3, the minimum correlation value L1
Control signals Flag1 to Flag6 corresponding to min to L3 min and R1 min to R3 min are output. In the pixel data selection unit 4, the pixel data corresponding to the control signal of High is set to pixel data x11 to x31, x
1r to x3r, the interpolation pixel data extraction unit 7
Given to.

【0127】補間画素データ抽出部7は、画素データ選
択部4によって与えられた画素データのうち、補間画素
Xに最も近接した対向画素の組より得られる画素データ
が抽出され、補間画素Xの画素データxとして出力端子
OUTに出力される。この際、抽出された画素データが
2つある場合には、これらの画素データの平均が算出さ
れ、その算出結果が補間画素Xの画素データxとして出
力端子OUTに出力される。
The interpolated pixel data extraction unit 7 extracts pixel data obtained from the set of opposing pixels closest to the interpolated pixel X from the pixel data given by the pixel data selection unit 4, The data x is output to the output terminal OUT. At this time, when there are two extracted pixel data, the average of these pixel data is calculated, and the calculation result is output to the output terminal OUT as the pixel data x of the interpolation pixel X.

【0128】例えば、画素データ選択部4で選択された
画素データがx1l,x2l,x1rのとき、補間画素
Xに最も近接した対向画素の組より得られる画素データ
は、対向画素D12,D26より得られる画素データx
2lであるので、この画素データx2lが、補間画素X
の画素データxとして出力端子OUTに出力される。
For example, when the pixel data selected by the pixel data selection unit 4 is x11, x21, x1r, the pixel data obtained from the set of opposing pixels closest to the interpolation pixel X is obtained from the opposing pixels D12 and D26. Pixel data x
2l, the pixel data x21 is the interpolation pixel X
Is output to the output terminal OUT as pixel data x.

【0129】また、画素データ選択部4で選択された画
素データがx1l,x2l,x2rのとき、補間画素X
に最も近接した対向画素の組より得られる画素データ
は、対向画素D12,D26より得られる画素データx
2l及び対向画素D16,D22より得られる画素デー
タx2rであるので、この画素データx2l,x2rの
平均値(x2l+x2r)/2が、補間画素Xの画素デ
ータxとして出力端子OUTに出力される。
When the pixel data selected by the pixel data selection section 4 is x11, x21, x2r, the interpolation pixel X
The pixel data obtained from the pair of opposing pixels closest to the pixel data is the pixel data x obtained from the opposing pixels D12 and D26.
Since the pixel data x2r is obtained from 2l and the opposite pixels D16 and D22, the average value (x21 + x2r) / 2 of the pixel data x21 and x2r is output to the output terminal OUT as the pixel data x of the interpolation pixel X.

【0130】なお、原画素の画素データは、メモリ部1
および補間相関値演算部2を介して、出力端子OUTに
出力される。つまり、nライン上の原画素の画素データ
が出力された後、iライン上の補間画素の画素データが
出力される。
The pixel data of the original pixel is stored in the memory 1
The signal is output to the output terminal OUT via the interpolating correlation value calculation unit 2. That is, after the pixel data of the original pixel on the n-th line is output, the pixel data of the interpolation pixel on the i-th line is output.

【0131】また、上記第2の画像補間装置は、ライン
数を増やすものであるが、ライン上の画素数を増やすに
は、水平方向において同様の補間処理を行うようにすれ
ばよい。
The second image interpolating apparatus increases the number of lines. To increase the number of pixels on a line, a similar interpolation process may be performed in the horizontal direction.

【0132】第1の画像補間方法では、エッジ成分Eに
基づいて補間画素の画素データの設定可能範囲を決定し
た後に、斜め方向の相関値に基づいて、補間画素の画素
データの候補を抽出している。補間画素の画素データの
設定可能範囲を決定していることの利点について、図9
を用いて説明する。図9において黒丸は黒データの原画
素を、白丸は白データの原画素を示している。また、X
は補間画素を示している。図9の説明においては、説明
を簡単にするために、白データを”1”とし、黒データ
を”0”とする。
In the first image interpolation method, the settable range of the pixel data of the interpolation pixel is determined based on the edge component E, and then the pixel data candidates of the interpolation pixel are extracted based on the diagonal correlation value. ing. FIG. 9 illustrates the advantage of determining the settable range of the pixel data of the interpolation pixel.
This will be described with reference to FIG. In FIG. 9, black circles indicate original pixels of black data, and white circles indicate original pixels of white data. Also, X
Indicates an interpolation pixel. In the description of FIG. 9, for the sake of simplicity, white data is set to "1" and black data is set to "0".

【0133】図9に示すように、白い背景中に黒い細い
線がある場合には、補間画素Xの画素データを黒デー
タ”0”とすることが好ましい。
As shown in FIG. 9, when there is a thin black line in a white background, it is preferable to set the pixel data of the interpolation pixel X to black data “0”.

【0134】補間画素の画素データの設定可能範囲を決
定せずに、斜め方向の相関値に基づいて、補間画素の画
素データの候補を抽出する場合について説明する。この
場合には、対向画素D13,D25に対応する相関値
(|d13−x|+|d25−x|)の最小値は、|1
−1|+|1−1|=0となり、その相関最小値を与え
る画素データxは1となる。また、対向画素D15,D
23に対応する相関値(|d15−x|+|d23−x
|)の最小値は、|0−0|+|0−0|=0となり、
その相関最小値を与える画素データxは0となる。した
がって、補間画素Xの画素データxは、(1+0)/2
=0.5となり、黒データとならない。
A case will be described in which pixel data candidates for an interpolation pixel are extracted based on a correlation value in an oblique direction without determining the settable range of the pixel data of the interpolation pixel. In this case, the minimum value of the correlation value (| d13−x | + | d25−x |) corresponding to the opposing pixels D13 and D25 is | 1
-1 | + | 1-1 | = 0, and the pixel data x that gives the minimum correlation value is 1. Further, the opposite pixels D15, D
23 (| d15−x | + | d23−x)
|) Is | 0-0 | + | 0-0 | = 0,
The pixel data x that gives the minimum correlation value is 0. Therefore, the pixel data x of the interpolation pixel X is (1 + 0) / 2
= 0.5 and no black data.

【0135】第1の画像補間方法のように補間画素の画
素データの設定可能範囲を決定した後に、斜め方向の相
関値に基づいて、補間画素の画素データの候補を抽出す
る場合について説明する。この場合には、エッジ成分E
(=−d04+d14+d24−d34)は、−1+0
+1−1=−1となり、補間画素Xの画素データxの設
定可能範囲の範囲は0≦x≦0.5となる。
A case will be described in which the settable range of the pixel data of the interpolation pixel is determined as in the first image interpolation method, and then the candidate of the pixel data of the interpolation pixel is extracted based on the correlation value in the oblique direction. In this case, the edge component E
(= −d04 + d14 + d24−d34) is −1 + 0
+ 1-1 = -1, and the settable range of the pixel data x of the interpolation pixel X is 0 ≦ x ≦ 0.5.

【0136】この設定範囲内において、対向画素D1
3,D25に対応する相関値の最小値を求めると、|1
−0.5|+|1−0.5|=1となり、その相関最小
値を与える画素データxは0.5となる。また、対向画
素D15,D23に対応する相関値の最小値は、|0−
0|+|0−0|=0となり、その相関最小値を与える
画素データxは0となる。したがって、補間画素Xの画
素データxは、0となる。
Within this set range, the opposite pixel D1
3, the minimum value of the correlation value corresponding to D25 is | 1
−0.5 | + | 1-0.5 | = 1, and the pixel data x that gives the minimum correlation value is 0.5. The minimum value of the correlation value corresponding to the opposing pixels D15 and D23 is | 0−
0 | + | 0-0 | = 0, and the pixel data x that gives the minimum correlation value is 0. Therefore, the pixel data x of the interpolation pixel X is 0.

【0137】〔2〕第2の画像補間方法の説明 第2の画像補間方法について説明する。2次元の画像
は、水平方向と垂直方向の2次元的な広がりを持ってい
る。しかしながら、説明を簡略化するために、垂直方向
の1次元の補間方法について説明する。
[2] Description of Second Image Interpolation Method The second image interpolation method will be described. A two-dimensional image has a two-dimensional spread in the horizontal and vertical directions. However, in order to simplify the description, a one-dimensional interpolation method in the vertical direction will be described.

【0138】図10は、第2の画像補間方法による画像
補間処理手順を示している。ここでは、図11に示すよ
うに、ラインnとライン(n+1)との間のラインi上
にあり、かつラインn上の原画素D13とライン(n+
1)上の原画素D23との間にある補間画素Xの画素デ
ータを求める方法について説明する。
FIG. 10 shows an image interpolation processing procedure according to the second image interpolation method. Here, as shown in FIG. 11, the original pixel D13 on the line i between the line n and the line (n + 1) and the line (n +
1) A method for obtaining pixel data of the interpolated pixel X between the original pixel D23 and the original pixel D23 will be described.

【0139】まず、補間画素Xが原画像のエッジ付近に
あるか否かを判定するために、エッジ成分Eを算出する
(ステップ11)。つまり、補間画素Xの真上にある2
つの原画素D03,D13と、補間対象画素Xの真下に
ある原画素D23,D33の画素データを用いて、エッ
ジ成分Eを、次式(31)から求める。
First, an edge component E is calculated to determine whether or not the interpolation pixel X is near the edge of the original image (step 11). That is, 2 directly above the interpolation pixel X
The edge component E is obtained from the following equation (31) using the pixel data of the original pixels D03 and D13 and the original pixels D23 and D33 immediately below the interpolation target pixel X.

【0140】 E=−d03+d13+d23−d33 …(31)E = −d03 + d13 + d23−d33 (31)

【0141】次に、予め設定された擬似ノイズ成分をN
として、エッジ成分Eが−Q≦E≦Qの範囲内にあるか
否かを判定する(ステップ12)。この擬似ノイズ成分
Qは外部より制御可能な変数である。
Next, a pseudo noise component set in advance is set to N
It is determined whether or not the edge component E is within the range of −Q ≦ E ≦ Q (step 12). This pseudo noise component Q is a variable that can be controlled from the outside.

【0142】そして、この判定結果に基づいてエッジ成
分Eを補正する。つまり、補正後のエッジ成分をE1と
すると、エッジ成分Eが−Q≦E≦Qの範囲内にある場
合には、補正後のエッジ成分E1を0とする(ステップ
13)。
The edge component E is corrected based on the result of the determination. That is, assuming that the corrected edge component is E1, if the edge component E is within the range of −Q ≦ E ≦ Q, the corrected edge component E1 is set to 0 (step 13).

【0143】エッジ成分Eが−Q≦E≦Qの範囲外にあ
る場合、つまり、E<−QまたはE>Qである場合に
は、補正後のエッジ成分E1をEとする(ステップ1
4)。したがって、エッジ成分Eと補正後のエッジ成分
E1との関係は、次式32で表されるとともに、図12
のようなグラフで表される。
If the edge component E is out of the range of −Q ≦ E ≦ Q, that is, if E <−Q or E> Q, the corrected edge component E1 is set to E (step 1).
4). Therefore, the relationship between the edge component E and the corrected edge component E1 is expressed by the following equation 32,
It is represented by a graph such as

【0144】 E1=0 (−Q≦E≦Q) E1=E (E>Q or E<−Q) …(32)E1 = 0 (−Q ≦ E ≦ Q) E1 = E (E> Q or E <−Q) (32)

【0145】このように擬似ノイズ成分Qを用いてエッ
ジ成分Eを補正することによって、エッジ成分Eに現れ
るノイズの影響を低減している。
As described above, by correcting the edge component E using the pseudo noise component Q, the influence of noise appearing in the edge component E is reduced.

【0146】次に、補正後のエッジ成分E1に基づい
て、補間画素Xの画素データxの設定可能範囲Sを決定
する(ステップ15)。
Next, the settable range S of the pixel data x of the interpolated pixel X is determined based on the corrected edge component E1 (step 15).

【0147】図13に基づいて、設定可能範囲Sの決定
方法について説明する。図13において、dmax は原画
素D13,D23の画素データd13,d23のうち値
の大きい方を表し、dmin は画素データd13,d23
のうち値の小さい方を表している。また、dcは、d
max とdmin との平均値(dmax +dmin )/2を表し
ている。
The method for determining the settable range S will be described with reference to FIG. In FIG. 13, d max represents the larger of the pixel data d13 and d23 of the original pixels D13 and D23, and d min represents the pixel data d13 and d23.
Represents the smaller value. Dc is d
It represents the average value of max and d min (d max + d min ) / 2.

【0148】(1)E1≧0のときの画素データxの設
定可能範囲S 図13(a)に示すように、dmin ×α+dc×(1−
α)≦S≦dmax ×α+dc×(1−α)+E1×γと
する。ただし、α及びγは外部より制御可能な変数であ
る。
(1) Settable range S of pixel data x when E1 ≧ 0 As shown in FIG. 13A, d min × α + dc × (1-
α) ≦ S ≦ d max × α + dc × (1−α) + E1 × γ. Here, α and γ are variables that can be controlled from the outside.

【0149】つまり、エッジ成分E1が0以上のときに
は、画素データxの設定可能範囲Sは、dcを中心とし
た範囲〔dmin ×α+dc×(1−α)≦x≦dmax ×
α+dc×(1−α)〕よりも、γ・E1の値分だけ上
側に広がった範囲となる。
That is, when the edge component E1 is 0 or more, the settable range S of the pixel data x is a range centered at dc [d min × α + dc × (1−α) ≦ x ≦ d max ×
α + dc × (1−α)], the range is extended upward by the value of γ · E1.

【0150】(2)E1<0のときのときの画素データ
xの設定可能範囲S 図13(b)に示すように、dmin ×α+dc×(1−
α)+E1×γ≦S≦dmax ×α+dc×(1−α)と
する。
(2) Settable range S of pixel data x when E1 <0 As shown in FIG. 13B, dmin × α + dc × (1-
α) + E1 × γ ≦ S ≦ dmax × α + dc × (1−α).

【0151】つまり、エッジ成分E1が0より小さいと
きには、画素データxの設定可能範囲Sは、dcを中心
とした範囲〔dmin ×α+dc×(1−α)≦x≦d
max ×α+dc×(1−α)〕よりも、γ・E1の値分
だけ下側に広がった範囲となる。
That is, when the edge component E1 is smaller than 0, the settable range S of the pixel data x is a range centered on dc [d min × α + dc × (1−α) ≦ x ≦ d
max × α + dc × (1−α)], the range extending downward by the value of γ · E1.

【0152】次に、補間画素Xを斜め方向に挟む対向画
素の画素データに基づいて、補間画素Xの画素データの
候補を、補間画素Xの画素データxの設定可能範囲S内
から求める(ステップ16)。
Next, pixel data candidates for the interpolated pixel X are obtained from the settable range S of the interpolated pixel X based on the pixel data of the opposing pixels sandwiching the interpolated pixel X in the oblique direction (step S1). 16).

【0153】補間画素Xの画素データの候補を求める方
法は、図2のステップ3とほぼ同様であるが、相関値
L,Rを求める式が図2のステップ3と異なっている。
The method of obtaining pixel data candidates for the interpolated pixel X is substantially the same as that of step 3 in FIG. 2, but the equation for obtaining the correlation values L and R is different from that of step 3 in FIG.

【0154】対向画素D12,D24と補間画素Xとの
画素データの相関値Lは、次式(33)で表され、対向
画素D14,D22と補間画素Xとの画素データの相関
値Rは、次式(34)によって表される。
The correlation value L of the pixel data between the opposed pixels D12 and D24 and the interpolation pixel X is expressed by the following equation (33). The correlation value R of the pixel data between the opposed pixels D14 and D22 and the interpolation pixel X is It is represented by the following equation (34).

【0155】 L=|d12−x|+|d24−x|+β1×Hl−β2×Vl …(33)L = | d12−x | + | d24−x | + β1 × H1−β2 × V1 (33)

【0156】 R=|d14−x|+|d22−x|+β1×Hr−β2×Vr …(34)R = | d14−x | + | d22−x | + β1 × Hr−β2 × Vr (34)

【0157】上記式(33),(34) において、
β1,β2は、外部から制御可能な変数である。
In the above equations (33) and (34),
β1 and β2 are variables that can be controlled from the outside.

【0158】また、Hlは、次式(35)によって求め
られる量d11〜d13の変化量Hl1と、次式(3
6)によって求められるd23〜d25の変化量Hl2
のうち、大きい方を表している。つまり、Hl=MAX
(Hl1,Hl2)である。MAX(a,b)は、aお
よびbのうちの大きい方の値を選択することを示す記号
である。
Further, Hl is the change amount H11 of the quantities d11 to d13 obtained by the following equation (35) and the following equation (3).
Change amount H12 of d23 to d25 obtained by 6)
Of which represents the larger one. That is, Hl = MAX
(H11, H12). MAX (a, b) is a symbol indicating that the larger value of a and b is selected.

【0159】また、Vlは、次式(37)によって求め
られるd02〜d22の変化量Vllと、次式(38)
によって求められるd14〜d34の変化量Vl2のう
ち、小さい方を表している。つまり、Vl=MIN(V
l1,Vl2)である。MIN(a,b)は、aおよび
bのうちの小さい方の値を選択することを示す記号であ
る。
Further, Vl is a change amount V11 of d02 to d22 obtained by the following equation (37), and the following equation (38).
Represents the smaller one of the change amounts V12 of d14 to d34 obtained by the above. That is, Vl = MIN (V
11, Vl2). MIN (a, b) is a symbol indicating that the smaller value of a and b is selected.

【0160】 Hl1=|d11−d12|+|d12−d13| …(35) Hl2=|d23−d24|+|d24−d25| …(36) Vl1=|d02−d12|+|d12−d22| …(37) Vl2=|d14−d24|+|d24−d34| …(38)H11 = | d11−d12 | + | d12−d13 | (35) H12 = | d23−d24 | + | d24−d25 | (36) V11 = | d02−d12 | + | d12−d22 | (37) V12 = | d14−d24 | + | d24−d34 | (38)

【0161】また、Hrは、次式(39)によって求め
られるd13〜d15の変化量Hr1と、次式(40)
によって求められるd21〜d23の変化量Hr2のう
ち、大きい方を表している。つまり、Hr=MAX(H
r1,Hr2)である。
Further, Hr is a change amount Hr1 of d13 to d15 obtained by the following equation (39) and Hr1 is obtained by the following equation (40).
Represents the larger one of the change amounts Hr2 of d21 to d23 obtained by the above. That is, Hr = MAX (H
r1, Hr2).

【0162】また、Vrは、次式(41)によって求め
られるd12〜d32の変化量Vr1と、次式(42)
によって求められるd04〜d24の変化量Vr2のう
ち、小さい方を表している。つまり、Vr=MIN(V
r1,Vr2)である。
Further, Vr is the change amount Vr1 of d12 to d32 obtained by the following equation (41) and the following equation (42).
Represents the smaller one of the change amounts Vr2 of d04 to d24 obtained by the above. That is, Vr = MIN (V
r1, Vr2).

【0163】 Hr1=|d13−d14|+|d14−d15| …(39) Hr2=|d21−d22|+|d22−d23| …(40) Vr1=|d12−d22|+|d22−d32| …(41) Vr2=|d04−d14|+|d14−d24| …(42)Hr1 = | d13−d14 | + | d14−d15 | (39) Hr2 = | d21−d22 | + | d22−d23 | (40) Vr1 = | d12−d22 | + | d22−d32 | .. (41) Vr2 = | d04−d14 | + | d14−d24 | (42)

【0164】なお、図14は、相関値Lと画素データx
との関係を表している。また、図14において、xmin
は、画素データd12,d24のうち小さい方の画素デ
ータを示し、xmax は、画素データd12,d24のう
ち大きい方の画素データを示している。また、xd=x
max −xmin +β1×Hl−β2×Vlである。
FIG. 14 shows the correlation value L and the pixel data x.
Represents the relationship with In FIG. 14, x min
Indicates the smaller pixel data among the pixel data d12, d24, x max indicates the direction of pixel data larger one of the pixel data d12, d24. Also, xd = x
max− x min + β1 × H1−β2 × Vl.

【0165】xd=xmax −xmin +β1×Hl−β2
×Vlとすると、上記式(33)の相関値Lは、次式
(43)のように変形することができる。相関値Rにつ
いても、同様に変形することができる。
[0165] xd = x max -x min + β1 × Hl-β2
Assuming that × V1, the correlation value L in the above equation (33) can be modified as in the following equation (43). The correlation value R can be similarly modified.

【0166】 L=xd+2(x−xmin ) (x>xmax ) L=xd (xmin ≦x≦xmax ) L=xd+2(xmin −x) (x<xmin ) …(43)L = xd + 2 (x−x min ) (x> x max ) L = xd (x min ≦ x ≦ x max ) L = xd + 2 (x min −x) (x <x min ) (43)

【0167】最小相関値Lmin ,Rmin 及び画素データ
xl,xrは、図2のステップ3の第2方法で説明した
方法、つまり図5を用いて説明した方法と同様な方法で
求めることができる。この際、図5のグラフにおけるx
dは、xmax −xmin +β1×Hl−β2×Vlを表す
ことになる。
The minimum correlation values L min and R min and the pixel data xl and xr can be obtained by the method described in the second method in step 3 of FIG. 2, that is, the same method as that described with reference to FIG. it can. At this time, x in the graph of FIG.
d will represent x max −x min + β1 × H1−β2 × Vl.

【0168】ステップ16によって、最小相関値
min ,Rmin およびそれを与える画素データxl,x
rが求められると、両最小相関値Lmin ,Rmin のうち
小さい方の相関値を与える画素データを抽出する(ステ
ップ17)。
At step 16, the minimum correlation values L min , R min and the pixel data xl, x giving them are obtained.
When r is obtained, pixel data that gives the smaller one of the two minimum correlation values L min and R min is extracted (step 17).

【0169】両最小相関値Lmin ,Rmin が異なる場合
には、1つの画素データが抽出され、両最小相関値L
min ,Rmin が同じ場合には、2つの画素データが抽出
される。
If the two minimum correlation values L min and R min are different, one pixel data is extracted and the two minimum correlation values L min and R min are extracted.
If min and Rmin are the same, two pixel data are extracted.

【0170】ステップ17において1つの画素データx
lまたはxrが抽出された場合には(ステップ18でY
ES)、抽出された画素データが補間画素Xの画素デー
タxとして決定される(ステップ19)。ステップ17
において、2つの(複数の)画素データxl,xrが選
択された場合には(ステップ18でNO)、画素データ
xl,xrの平均値が補間画素Xの画素データxに決定
される(ステップ20)。
In step 17, one pixel data x
If l or xr is extracted (Y in step 18)
ES), the extracted pixel data is determined as the pixel data x of the interpolation pixel X (step 19). Step 17
In the case where two (plural) pieces of pixel data xl and xr are selected (NO in step 18), the average value of the pixel data xl and xr is determined as the pixel data x of the interpolation pixel X (step 20). ).

【0171】対向画素が2組の場合を用いて画像補間方
法について説明したが、この対向画素は2組以上であっ
ても構わない。
Although the image interpolation method has been described using two sets of opposing pixels, two or more sets of opposing pixels may be used.

【0172】図7または図8のような構成の画像補間装
置において、第2の画像補間方法を用いて画像補間を実
行させる場合には、補間相関値演算部2に図10のステ
ップ11〜16の処理を行なわせるようにすればよい。
When the image interpolation apparatus having the configuration as shown in FIG. 7 or FIG. 8 is to execute the image interpolation using the second image interpolation method, the interpolation correlation value calculation section 2 causes the interpolation correlation value calculation section 2 to execute steps 11 to 16 in FIG. May be performed.

【0173】ここでは、図15に示す補間画素Xの画素
データxを求める際の補間相関値演算部2の動作につい
て説明する。また、斜め方向の対向画素の組数を6とし
た場合について説明する。
Here, the operation of the interpolation correlation value calculator 2 when obtaining the pixel data x of the interpolation pixel X shown in FIG. 15 will be described. Further, a case where the number of pairs of the opposite pixels in the oblique direction is 6 will be described.

【0174】補間相関値演算部2は、まず、図10のス
テップ11で説明したように、エッジ成分Eを次式(4
4)式に基づいて求める。
The interpolation correlation value calculation unit 2 first calculates the edge component E by the following equation (4) as described in step 11 of FIG.
4) Determined based on equation.

【0175】 E=−d05+d15+d25−d35 …(44)E = −d05 + d15 + d25−d35 (44)

【0176】次に、図10のステップ12〜14で説明
したように、エッジ成分Eに基づいて、ノイズ成分の影
響を低減させたエッジ成分E1が求められる。つまり、
補正後のエッジ成分E1が、次式(45)に基づいて、
補正される。
Next, as described in steps 12 to 14 in FIG. 10, based on the edge component E, the edge component E1 in which the influence of the noise component is reduced is obtained. That is,
The corrected edge component E1 is calculated based on the following equation (45).
Will be corrected.

【0177】 E1=0 (−Q≦E≦Q) E1=E (E>Q or E<−Q) …(45)E1 = 0 (−Q ≦ E ≦ Q) E1 = E (E> Q or E <−Q) (45)

【0178】次に、このようにして求められたエッジ成
分E1によって、図10のステップ15で説明したよう
に、補間画素Xの画素データxの設定可能範囲Sが求め
られる。
Next, the settable range S of the pixel data x of the interpolation pixel X is obtained from the edge component E1 thus obtained, as described in step 15 of FIG.

【0179】次に、図10のステップ16で説明したと
同様な方法で、補間画素Xの画素データ候補が求められ
る。ただし、この例では、補間画素Xを斜め方向に挟む
対向画素の組数は6である。
Next, pixel data candidates for the interpolated pixel X are obtained in the same manner as described in step 16 of FIG. However, in this example, the number of pairs of opposing pixels sandwiching the interpolation pixel X in the oblique direction is six.

【0180】つまり、対向画素D12,D28と補間画
素Xとの画素データの相関値L1、対向画素D13,D
27と補間画素Xとの画素データの相関値L2、対向画
素D14,D26と補間画素Xとの画素データの相関値
L3、対向画素D18,D22と補間画素Xとの画素デ
ータの相関値R1、対向画素D17,D23と補間画素
Xとの画素データの相関値R2および対向画素D16,
D24と補間画素Xとの画素データの相関値R3をそれ
ぞれ表す以下の式(46)〜(51)に基づいて、相関
値L1〜L3、R1〜R3の最小値L1min 〜L
min 、R1min 〜R3min と、この最小値を与える画
素データx1l〜x3l,x1r〜x3rとが求められ
る。
That is, the correlation value L1 of the pixel data between the opposing pixels D12, D28 and the interpolation pixel X, the opposing pixels D13, D
The correlation value L2 of pixel data between the pixel 27 and the interpolation pixel X, the correlation value L3 of pixel data between the pixels D14 and D26 and the interpolation pixel X, the correlation value R1 of pixel data between the pixels D18 and D22 and the interpolation pixel X, The correlation value R2 of the pixel data between the opposing pixels D17, D23 and the interpolated pixel X and the opposing pixels D16, D16,
Based on the following equations (46) to (51) representing the correlation value R3 of the pixel data between D24 and the interpolated pixel X, respectively, the minimum values L1 min to L1 of the correlation values L1 to L3 and R1 to R3.
3 min , R1 min to R3 min, and pixel data x11 to x31, x1r to x3r that give the minimum value are obtained.

【0181】 L1=|d12−x|+|d28−x|+β1×Hla−β2×Vla …(46) L2=|d13−x|+|d27−x|+β1×Hlb−β2×Vlb …(47) L3=|d14−x|+|d26−x|+β1×Hlc−β2×Vlc …(48) R1=|d18−x|+|d22−x|+β1×Hra−β2×Vra …(49) R2=|d17−x|+|d23−x|+β1×Hrb−β2×Vrb …(50) R3=|d16−x|+|d24−x|+β1×Hrc−β2×Vrc …(51)L1 = | d12−x | + | d28−x | + β1 × Hla−β2 × Vla (46) L2 = | d13−x | + | d27−x | + β1 × Hlb−β2 × Vlb (47) L3 = | d14−x | + | d26−x | + β1 × Hlc−β2 × Vlc (48) R1 = | d18−x | + | d22−x | + β1 × Hra−β2 × Vra (49) R2 = | D17−x | + | d23−x | + β1 × Hrb−β2 × Vrb (50) R3 = | d16−x | + | d24−x | + β1 × Hrc−β2 × Vrc (51)

【0182】なお、上記式(46)〜(51)中のHl
a〜Hlc,Hra〜Hrc,Vla〜Vlc,Vra
〜Vrcは、次式(52)〜(63)によって表され
る。
Note that Hl in the above formulas (46) to (51)
a to Hlc, Hra to Hrc, Vla to Vlc, Vra
To Vrc are represented by the following equations (52) to (63).

【0183】 Hla=MAX(Hla1,Hla2) …(52) Hlb=MAX(Hlb1,Hlb2) …(53) Hlc=MAX(Hlc1,Hlc2) …(54) Hra=MAX(Hra1,Hra2) …(55) Hrb=MAX(Hrb1,Hrb2) …(56) Hrc=MAX(Hrc1,Hrc2) …(57) Vla=MIN(Vla1,Vla2) …(58) Vlb=MIN(Vlb1,Vlb2) …(59) Vlc=MIN(Vlc1,Vlc2) …(60) Vra=MIN(Vra1,Vra2) …(61) Vrb=MIN(Vrb1,Vrb2) …(62) Vrc=MIN(Vrc1,Vrc2) …(63)Hla = MAX (Hla1, Hla2) (52) Hlb = MAX (Hlb1, Hlb2) (53) Hlc = MAX (Hlc1, Hlc2) (54) Hra = MAX (Hra1, Hra2) (55) Hrb = MAX (Hrb1, Hrb2) (56) Hrc = MAX (Hrc1, Hrc2) (57) Vla = MIN (Vla1, Vla2) (58) Vlb = MIN (Vlb1, Vlb2) (59) Vlc = MIN (Vlc1, Vlc2) (60) Vra = MIN (Vra1, Vra2) (61) Vrb = MIN (Vrb1, Vrb2) (62) Vrc = MIN (Vrc1, Vrc2) (63)

【0184】さらに、上記式(52)〜(63)中のH
la1〜Hlc1,Hla2〜Hlc2,Hra1〜H
rc1,Hra2〜Hrc2,Vla1〜Vlc1,V
la2〜Vlc2,Vra1〜Vrc1,Vra2〜V
rc2は、次式(64)〜(87)式によって表され
る。
Further, H in the above formulas (52) to (63)
la1-Hlc1, Hla2-Hlc2, Hra1-H
rc1, Hra2 to Hrc2, Vla1 to Vlc1, V
la2-Vlc2, Vra1-Vrc1, Vra2-V
rc2 is represented by the following equations (64) to (87).

【0185】 Hla1=|d11−d12|+|d12−d13| …(64) Hlb1=|d12−d13|+|d13−d14| …(65) Hlc1=|d13−d14|+|d14−d15| …(66) Hla2=|d27−d28|+|d28−d29| …(67) Hlb2=|d26−d27|+|d27−d28| …(68) Hlc2=|d25−d26|+|d26−d27| …(69)Hla1 = | d11−d12 | + | d12−d13 | (64) Hlb1 = | d12−d13 | + | d13−d14 | (65) Hlc1 = | d13−d14 | + | d14−d15 | ... (66) Hla2 = | d27-d28 | + | d28-d29 | ... (67) Hlb2 = | d26-d27 | + | d27-d28 | ... (68) Hlc2 = | d25-d26 | + | d26-d27 |… (69)

【0186】 Hra1=|d17−d18|+|d18−d19| …(70) Hrb1=|d16−d17|+|d17−d18| …(71) Hrc1=|d15−d16|+|d16−d17| …(72) Hra2=|d21−d22|+|d22−d23| …(73) Hrb2=|d22−d23|+|d23−d24| …(74) Hrc2=|d23−d24|+|d24−d25| …(75)Hra1 = | d17-d18 | + | d18-d19 | (70) Hrb1 = | d16-d17 | + | d17-d18 | (71) Hrc1 = | d15-d16 | + | d16-d17 | ... (72) Hra2 = | d21-d22 | + | d22-d23 | ... (73) Hrb2 = | d22-d23 | + | d23-d24 | ... (74) Hrc2 = | d23-d24 | + | d24-d25 |… (75)

【0187】 Vla1=|d02−d12|+|d12−d22| …(76) Vlb1=|d03−d13|+|d13−d23| …(77) Vlc1=|d04−d14|+|d14−d24| …(78) Vla2=|d18−d28|+|d28−d38| …(79) Vlb2=|d17−d27|+|d27−d37| …(80) Vlc2=|d16−d26|+|d26−d36| …(81)Vla1 = | d02-d12 | + | d12-d22 | (76) Vlb1 = | d03-d13 | + | d13-d23 | (77) Vlc1 = | d04-d14 | + | d14-d24 | (78) Vla2 = | d18-d28 | + | d28-d38 | (79) Vlb2 = | d17-d27 | + | d27-d37 | (80) Vlc2 = | d16-d26 | + | d26-d36 | (81)

【0188】 Vra1=|d08−d18|+|d18−d28| …(82) Vrb1=|d07−d17|+|d17−d27| …(83) Vrc1=|d06−d16|+|d16−d26| …(84) Vra2=|d12−d22|+|d22−d32| …(85) Vrb2=|d13−d23|+|d23−d33| …(86) Vrc2=|d14−d24|+|d24−d34| …(87)Vra1 = | d08-d18 | + | d18-d28 | (82) Vrb1 = | d07-d17 | + | d17-d27 | (83) Vrc1 = | d06-d16 | + | d16-d26 | (84) Vra2 = | d12-d22 | + | d22-d32 | (85) Vrb2 = | d13-d23 | + | d23-d33 | (86) Vrc2 = | d14-d24 | + | d24-d34 | (87)

【0189】このようにして、最小相関値L1min 〜L
min 、R1min 〜R3min と、この最小値を与える画
素データx1l〜x3l,x1r〜x3rが補間相関値
演算部2で求められると、最小相関値L1min 〜L3
min 、R1min 〜R3min が最小値抽出部3に、画素デ
ータx1l〜x3l,x1r〜x3rが画素データ選択
部4に与えられる。
Thus, the minimum correlation values L1 min to L1
When 3 min , R1 min to R3 min and pixel data x11 to x31, x1r to x3r that give the minimum value are obtained by the interpolation correlation value calculation unit 2, the minimum correlation values L1 min to L3 are obtained.
min and R1 min to R3 min are supplied to the minimum value extracting unit 3, and the pixel data x11 to x31 and x1r to x3r are supplied to the pixel data selecting unit 4.

【0190】図10のステップ15での設定可能範囲S
の決定方法と、図2のステップ2の設定可能範囲Sの決
定方法とは異なっている。図10のステップ15での設
定可能範囲Sの決定方法の利点について、図16を用い
て説明する。
Settable range S in step 15 of FIG.
Is different from the method of determining the settable range S in step 2 of FIG. The advantage of the method for determining the settable range S in step 15 in FIG. 10 will be described with reference to FIG.

【0191】図16において黒丸は黒データの原画素
を、白丸は白データの原画素を、ハッチングの入れられ
た丸は灰色の原画素を、それぞれ示している。また、X
は補間画素を示している。図16の説明においては、説
明を簡単にするために、白データを”1”とし、黒デー
タを”0”とし、灰色データを”0.5”とする。
In FIG. 16, black circles indicate original pixels of black data, white circles indicate original pixels of white data, and hatched circles indicate original pixels of gray. Also, X
Indicates an interpolation pixel. In the description of FIG. 16, for the sake of simplicity, white data is set to “1”, black data is set to “0”, and gray data is set to “0.5”.

【0192】図16に示すように、白い背景中に2本の
黒い線があり、それらのつなぎ目部分が灰色となってい
る場合がある。このような場合には、つなぎ目の灰色の
画素の間に補間される画素Xの画素データを黒データ”
0”とすることが好ましい。
As shown in FIG. 16, there are cases where there are two black lines on a white background, and the joint between them is gray. In such a case, the pixel data of the pixel X to be interpolated between the gray pixels at the joint is represented by black data "
Preferably, it is 0 ".

【0193】第1画像補間方法によって補間画素Xの画
素データを求める場合について説明する。この場合に
は、エッジ成分E(=−d04+d14+d24−d3
4)は、−1+0.5+0.5−1=−1となり、補間
画素Xの画素データxの設定可能範囲Sは0.5とな
る。したがって、補間画素Xの画素データxは、0.5
となり、黒データとならない。
The case where pixel data of the interpolated pixel X is obtained by the first image interpolation method will be described. In this case, the edge component E (= −d04 + d14 + d24−d3
4) is -1 + 0.5 + 0.5-1 = -1, and the settable range S of the pixel data x of the interpolation pixel X is 0.5. Therefore, the pixel data x of the interpolation pixel X is 0.5
And no black data.

【0194】第2の画像補間方法のように補間画素Xの
画素データを求める場合について説明する。この場合に
も、エッジ成分E(=−d04+d14+d24−d3
4)は、−1+0.5+0.5−1=−1となる。ま
た、E1=−1となる。
A case in which pixel data of an interpolated pixel X is obtained as in the second image interpolation method will be described. Also in this case, the edge component E (= −d04 + d14 + d24−d3)
4) is -1 + 0.5 + 0.5-1 = -1. Also, E1 = -1.

【0195】E1<0なので、補間画素Xの画素データ
xの設定可能範囲Sは、dmin ×α+dc×(1−α)
+E1×γ≦S≦dmax ×α+dc×(1−α)とな
る。ここで、説明の便宜上、α=1,γ=0.5とする
と、設定可能範囲Sは、dmin+E1×0.5≦S≦d
max となる。つまり、0.5−0.5≦S≦0.5、つ
まり、0≦S≦0.5となる。
Since E1 <0, the settable range S of the pixel data x of the interpolation pixel X is d min × α + dc × (1−α)
+ E1 × γ ≦ S ≦ dmax × α + dc × (1−α). Here, for convenience of explanation, if α = 1 and γ = 0.5, the settable range S is d min + E1 × 0.5 ≦ S ≦ d
max . That is, 0.5−0.5 ≦ S ≦ 0.5, that is, 0 ≦ S ≦ 0.5.

【0196】また、説明の便宜上、相関値を求める式
(46)〜(51)のβを0として、この設定範囲S内
において、対向画素D13,D25に対応する相関値の
最小値を求めると、|1−0.5|+|1−0.5|=
1となり、その相関最小値を与える画素データxは0.
5となる。また、対向画素D15,D23に対応する相
関値の最小値は、|0−0|+|0−0|=0となり、
その相関最小値を与える画素データxは0となる。した
がって、補間画素Xの画素データxは、0となる。
Further, for convenience of explanation, when β in the equations (46) to (51) for obtaining the correlation value is set to 0 and the minimum value of the correlation value corresponding to the opposing pixels D13 and D25 is obtained within this set range S. , | 1-0.5 | + | 1-0.5 | =
1, and the pixel data x that gives the minimum correlation value is 0.1.
It becomes 5. The minimum value of the correlation value corresponding to the opposing pixels D15 and D23 is | 0-0 | + | 0-0 | = 0,
The pixel data x that gives the minimum correlation value is 0. Therefore, the pixel data x of the interpolation pixel X is 0.

【0197】図10のステップ16で用いられる相関値
算出式と、図2のステップ3で用いられる相関値算出式
とは異なっている。図10のステップ16で用いられる
相関値算出式の利点について、図17を用いて説明す
る。
The equation for calculating the correlation value used in step 16 of FIG. 10 is different from the equation for calculating the correlation value used in step 3 of FIG. The advantage of the correlation value calculation formula used in step 16 of FIG. 10 will be described with reference to FIG.

【0198】図17において黒丸は黒データの原画素
を、白丸は白データの原画素を、それぞれ示している。
また、Xは補間画素を示している。図17の説明におい
ては、説明を簡単にするために、白データを”1”と
し、黒データを”0”とし、灰色データを”0.5”と
する。
In FIG. 17, black circles indicate original pixels of black data, and white circles indicate original pixels of white data.
X indicates an interpolation pixel. In the description of FIG. 17, for the sake of simplicity, white data is set to “1”, black data is set to “0”, and gray data is set to “0.5”.

【0199】図17に示すように、白い背景中に黒い線
がある場合には、第1の画像補間方法では、原画素D1
4と原画素D24との間に画素Xを補間すると、原画素
D13と原画素D23との間の補間画素の画素データよ
り、補間画素Xの画素データが大きくなり、線の太さが
変化してしまう。
As shown in FIG. 17, when there is a black line on a white background, the first image interpolation method uses the original pixel D1
4 and the original pixel D24, the pixel data of the interpolated pixel X becomes larger than the pixel data of the interpolated pixel between the original pixel D13 and the original pixel D23, and the line thickness changes. Would.

【0200】このような場合に、第2の画像補間方法の
ように相関値を対向画素の近傍画素との繋がりも考慮し
て求めると、原画素D14と原画素D24との間の補間
画素Xの画素データを、原画素D13と原画素D23と
の間の補間画素の画素データと等しくできるようにな
る。
In such a case, when the correlation value is determined in consideration of the connection between the adjacent pixels of the opposing pixel and the adjacent pixels as in the second image interpolation method, the interpolation pixel X between the original pixel D14 and the original pixel D24 is obtained. Can be made equal to the pixel data of the interpolation pixel between the original pixel D13 and the original pixel D23.

【0201】〔3〕第3の画像補間方法についての説明 次に、第3の画像補間方法について説明する。[3] Description of Third Image Interpolation Method Next, a third image interpolation method will be described.

【0202】図18は、原画素と補間される補間画素と
の関係を表している。第3の画像補間方法では、図18
に示すように、4つの原画素D12,D13,D22,
D23の中心位置に画素が補間される。
FIG. 18 shows the relationship between original pixels and interpolated pixels to be interpolated. In the third image interpolation method, FIG.
, Four original pixels D12, D13, D22,
Pixels are interpolated at the center position of D23.

【0203】以下、4つの原画素D12,D13,D2
2,D23の中心位置に配置される補間画素Xの画素デ
ータを求める方法について説明する。
Hereinafter, the four original pixels D12, D13, D2
A method for obtaining the pixel data of the interpolated pixel X arranged at the center of D2 and D23 will be described.

【0204】図18の原画素D01〜D04,D11〜
D14,D21〜D24,D31〜D34および補間画
素Xの画素データを、それぞれ、d01〜d04,d1
1〜d14,d21〜d24,d31〜d34およびx
で表す。
The original pixels D01 to D04, D11 to D11 in FIG.
The pixel data of D14, D21 to D24, D31 to D34 and the interpolated pixel X are respectively represented by d01 to d04 and d1.
1 to d14, d21 to d24, d31 to d34 and x
Expressed by

【0205】図19は、第3の画像補間方法による画像
補間処理手順を示している。まず、補間画素Xが原画像
のエッジ付近にあるか否かを判定するために、2種類の
エッジ成分EL,ERを算出する(ステップ31)。つ
まり、原画素D01,D12,D23,D34の画素デ
ータを用いて、エッジ成分ELを次式(88)に基づい
て算出するとともに、原画素D04,D13,D22,
D31の画素データを用いて、エッジ成分ERを次式
(89)に基づいて算出する。
FIG. 19 shows an image interpolation processing procedure according to the third image interpolation method. First, two types of edge components EL and ER are calculated to determine whether or not the interpolation pixel X is near the edge of the original image (step 31). That is, using the pixel data of the original pixels D01, D12, D23, and D34, the edge component EL is calculated based on the following equation (88), and the original pixels D04, D13, D22,
The edge component ER is calculated based on the following equation (89) using the pixel data of D31.

【0206】 EL=−d01+d12+d23−d34 …(88) ER=−d04+d13+d22−d31 …(89)EL = −d01 + d12 + d23−d34 (88) ER = −d04 + d13 + d22−d31 (89)

【0207】次に、各エッジ成分EL,ER毎に、補間
画素Xの画素データxの設定可能範囲SL,SRを決定
する(ステップ32)。
Next, the settable ranges SL and SR of the pixel data x of the interpolation pixel X are determined for each of the edge components EL and ER (step 32).

【0208】つまり、図2のステップ2と同様に、エッ
ジ成分ELに基づいて、補間画素Xの画素データxの設
定可能範囲SLを求めるとともに、エッジ成分ERに基
づいて、補間画素Xの画素データxの設定可能範囲SR
を求める。
That is, as in step 2 of FIG. 2, the settable range SL of the pixel data x of the interpolation pixel X is determined based on the edge component EL, and the pixel data of the interpolation pixel X is determined based on the edge component ER. x settable range SR
Ask for.

【0209】具体的には、予め定められた閾値をThと
し、原画素D12の原画素の画素データd12と原画素
D23の画素データd23のうち大きい方をdLmax
小さい方をdLmin 、dLmax −dLmin をdLとする
と、設定可能範囲SLは、次式(90)に基づいて求め
られる。
More specifically, a predetermined threshold value is set to Th, and the larger one of the pixel data d12 of the original pixel D12 and the pixel data d23 of the original pixel D23 is dL max ,
Assuming that the smaller one is dL min and dL max −dL min is dL, the settable range SL is obtained based on the following equation (90).

【0210】 if EL>Th,then dLmin +dL/2≦SL≦dLmax , if −Th≦EL≦Th,then dLmin +dL/4≦SL≦dLmax −dL/4, if EL<−Th,then dLmin ≦SL≦dLmin +dL/2 …(90)[0210] if EL> Th, then dL min + dL / 2 ≦ SL ≦ dL max, if -Th ≦ EL ≦ Th, then dL min + dL / 4 ≦ SL ≦ dL max -dL / 4, if EL <-Th, then dL min ≦ SL ≦ dL min + dL / 2 ... (90)

【0211】また、原画素D13の原画素の画素データ
d13と原画素D22の画素データd22のうち大きい
方をdRmax 、小さい方をdRmin 、dRmax −dR
min をdRとすると、設定可能範囲SRは、次式(9
1)に基づいて求められる。
The larger one of the pixel data d13 of the original pixel D13 and the pixel data d22 of the original pixel D22 is dR max , the smaller one is dR min , dR max -dR.
When min is dR, the settable range SR is given by the following equation (9).
It is determined based on 1).

【0212】 if ER>Th,then dRmin +dR/2≦SR≦dRmax , if −Th≦ER≦Th,then dRmin +dR/4≦SR≦dRmax −dR/4, if ER<−Th,then dRmin ≦SR≦dRmin +dR/2 …(91)[0212] if ER> Th, then dR min + dR / 2 ≦ SR ≦ dR max, if -Th ≦ ER ≦ Th, then dR min + dR / 4 ≦ SR ≦ dR max -dR / 4, if ER <-Th, then dR min ≦ SR ≦ dR min + dR / 2 (91)

【0213】次に、両設定可能範囲SL,SRに、互い
に重なり合う部分が存在するか否か判別する(ステップ
33)。
Next, it is determined whether or not there is an overlapping portion between both settable ranges SL and SR (step 33).

【0214】図20(a)に示すように、両設定可能範
囲SL,SRに、互いに重なり合う部分がある場合に
は、この重なりあった部分を補間画素Xの画素データx
の設定可能範囲Sとする(ステップ34)。
As shown in FIG. 20 (a), when there is an overlapping portion between the settable ranges SL and SR, the overlapping portion is determined by the pixel data x of the interpolation pixel X.
(Step 34).

【0215】そして、補間画素Xを斜め方向に挟む対向
画素の画素データに基づいて、補間画素Xの画素データ
の候補を、補間画素Xの画素データxの設定可能範囲内
から求める(ステップ35)。
Then, based on the pixel data of the opposite pixel sandwiching the interpolation pixel X in the oblique direction, a candidate for the pixel data of the interpolation pixel X is determined from the settable range of the pixel data x of the interpolation pixel X (step 35). .

【0216】つまり、原画素D11,D24と補間画素
Xとの画素データの相関値L1、原画素D12,D23
と補間画素Xとの画素データの相関値L2、原画素D0
2,D33と補間画素Xとの画素データの相関値L3、
原画素D14,D21と補間画素Xとの画素データの相
関値R1、原画素D13,D22と補間画素Xとの画素
データの相関値R2、および原画素D03,D32と補
間画素Xとの画素データの相関値R3をそれぞれ表す式
(92)〜(97)に基づいて、図2のステップ3の第
2方法と同様な方法で、相関値L1〜L3、R1〜R3
の最小値L1min 〜L3min 、R1min 〜R3min と、
この最小値を与える画素データx1l〜x3l,x1r
〜x3rを求める。
That is, the correlation value L1 of the pixel data between the original pixels D11 and D24 and the interpolation pixel X, the original pixels D12 and D23
Value L2 of the pixel data between the pixel data and the interpolation pixel X, the original pixel D0
2, a correlation value L3 of pixel data between D33 and the interpolation pixel X,
Correlation value R1 of pixel data between original pixels D14 and D21 and interpolation pixel X, correlation value R2 of pixel data between original pixels D13 and D22 and interpolation pixel X, and pixel data between original pixels D03 and D32 and interpolation pixel X Based on the equations (92) to (97) respectively representing the correlation values R3, the correlation values L1 to L3, R1 to R3 in the same manner as the second method in step 3 in FIG.
The minimum values of L1min to L3min, R1min to R3min,
Pixel data x11 to x31, x1r giving this minimum value
To x3r.

【0217】 L1=|d11−x|+|d24−x| …(92) L2=|d12−x|+|d23−x| …(93) L3=|d02−x|+|d33−x| …(94) R1=|d14−x|+|d21−x| …(95) R2=|d13−x|+|d22−x| …(96) R3=|d03−x|+|d32−x| …(97)L1 = | d11−x | + | d24−x | (92) L2 = | d12−x | + | d23−x | (93) L3 = | d02−x | + | d33−x | (94) R1 = | d14-x | + | d21-x | (95) R2 = | d13-x | + | d22-x | (96) R3 = | d03-x | + | d32-x |… (97)

【0218】このようにして求めた最小相関値L1min
〜L3min 、R1min 〜R3 min のうちから最小となる
最小相関値を選択し、選択した最小相関値に対応する画
素データを、画素データx1l〜x3l,x1r〜x3
rから抽出する(ステップ36)。
The thus obtained minimum correlation value L1min
~ L3min, R1min~ R3 minIs the smallest of
Select the minimum correlation value and select the image corresponding to the selected minimum correlation value.
The raw data is converted to pixel data x11 to x31, x1r to x3
r (step 36).

【0219】ステップ36で抽出した画素データに基づ
いて、補間画素Xの画素データxを求める(ステップ3
7)。
The pixel data x of the interpolated pixel X is obtained based on the pixel data extracted in step 36 (step 3).
7).

【0220】つまり、ステップ36で抽出した画素デー
タから、最大となる画素データと最小となる画素データ
を抽出した後、この2つの画素データの平均値を算出し
その算出結果を補間画素Xの画素データxとする。ステ
ップ36で選択した画素データが1つである場合には、
その画素データを補間画素Xの画素データxとして決定
する。
That is, after the maximum pixel data and the minimum pixel data are extracted from the pixel data extracted in step 36, the average value of the two pixel data is calculated, and the calculation result is used as the pixel of the interpolation pixel X. Let it be data x. If the pixel data selected in step 36 is one,
The pixel data is determined as the pixel data x of the interpolation pixel X.

【0221】なお、ステップ36で抽出した画素データ
の平均値を算出し、この算出結果を補間画素Xの画素デ
ータxとして決定してもよい。
The average value of the pixel data extracted in step 36 may be calculated, and the calculation result may be determined as the pixel data x of the interpolation pixel X.

【0222】また、ステップ36で選択した画素データ
から、補間画素Xに最も近接した対向画素より得られる
画素データを抽出し、抽出した画素データを補間画素X
の画素データxとするようにしてもよい。この際、補間
画素Xに最も近接した対向画素の組より得られる画素デ
ータが2つある場合には、それらの画素データの平均値
が、補間画素Xの画素データxとされる。
Further, from the pixel data selected in step 36, pixel data obtained from the counter pixel closest to the interpolation pixel X is extracted, and the extracted pixel data is extracted from the interpolation pixel X.
Pixel data x. At this time, when there are two pieces of pixel data obtained from the set of the opposing pixels closest to the interpolation pixel X, the average value of the pixel data is used as the pixel data x of the interpolation pixel X.

【0223】上記ステップ33において、エッジ成分E
L,ERのそれぞれによって求められる設定可能範囲S
L,SRが図20(b)に示すように重なり合わないと
判別された場合には、原画素D12,D13,D22,
D23の4画素の画素データd12,d13,d22,
d23の平均値(d12+d13+d22+d23)/
4を、補間画素Xの画素データxと決定する(ステップ
38)。
In the above step 33, the edge component E
Settable range S determined by each of L and ER
If it is determined that L and SR do not overlap as shown in FIG. 20B, the original pixels D12, D13, D22,
D23 pixel data d12, d13, d22,
average value of d23 (d12 + d13 + d22 + d23) /
4 is determined as pixel data x of the interpolation pixel X (step 38).

【0224】図7または図8のような構成の画像補間装
置において、第3の画像補間方法を用いて画像補間を実
行させる場合には、補間相関値演算部2に図19のステ
ップ31〜35およびステップ38の処理を行なわせる
ようにすればよい。
When the image interpolation apparatus having the configuration shown in FIG. 7 or FIG. 8 is to perform image interpolation using the third image interpolation method, the interpolation correlation value calculation unit 2 causes the interpolation correlation value calculation unit 2 to execute steps 31 to 35 in FIG. And the processing in step 38 may be performed.

【0225】つまり、補間相関値演算部2は、まず、エ
ッジ成分EL,ERを求め、求めたエッジ成分EL,E
R毎に設定可能範囲SL,SRを求める。これらの設定
可能範囲SL,SRに互いに重なる部分があるときに
は、最小相関値L1min 〜L3min 、R1min 〜R3mi
n 及びそれらを与える画素データx1l〜x3l,x1
r〜x3rを求める。そして、求めた最小相関値L1mi
n 〜L3min 、R1min〜R3min を最小値抽出部3に
送るとともに、画素データx1l〜x3l,x1r〜x
3rを画素データ選択部4に送る。
That is, the interpolation correlation value calculation unit 2 first obtains the edge components EL and ER, and obtains the obtained edge components EL and E.
The settable ranges SL and SR are obtained for each R. When there are overlapping portions in these settable ranges SL and SR, the minimum correlation values L1min to L3min and R1min to R3mi
n and pixel data x11 to x31, x1 for providing them
Find r to x3r. Then, the obtained minimum correlation value L1mi
n to L3min and R1min to R3min are sent to the minimum value extracting unit 3, and the pixel data x11 to x31, x1r to x
3r is sent to the pixel data selection unit 4.

【0226】一方、エッジ成分EL,ERより求められ
た設定可能範囲SL,SRが重なり合わないときは、画
素D12,D13,D22,D23の4画素の画素デー
タの平均値を補間画素Xの画素データxとして出力端子
OUTに出力する。
On the other hand, when the settable ranges SL and SR obtained from the edge components EL and ER do not overlap each other, the average value of the pixel data of the four pixels D12, D13, D22 and D23 is used as the pixel of the interpolation pixel X. Output to the output terminal OUT as data x.

【0227】上記の例では、6組の対向画素を用いて補
間画素の画素データを求めたが、この対向画素の組数は
6組に限定されるものでなく、更に多くの組数の対向画
素を用いて補間画素の画素データを求めても構わない。
In the above example, the pixel data of the interpolated pixel is obtained by using six sets of opposing pixels. However, the number of sets of opposing pixels is not limited to six. The pixel data of the interpolation pixel may be obtained using the pixel.

【0228】〔4〕第4の画像補間方法についての説明 次に、第4の画像補間方法について説明する。[4] Description of Fourth Image Interpolation Method Next, a fourth image interpolation method will be described.

【0229】第4の画像補間方法では、第3の画像補間
方法と同様に、図18に示すように、4つの原画素D1
2,D13,D22,D23の中心位置に画素が補間さ
れる。ただし、第3の画像補間方法とは、若干異なって
いる。
In the fourth image interpolation method, similar to the third image interpolation method, as shown in FIG.
Pixels are interpolated at the center positions of 2, D13, D22, and D23. However, it is slightly different from the third image interpolation method.

【0230】ここでは、4つの原画素D12,D13,
D22,D23の中心位置に配置された補間画素Xの画
素データを求める方法について説明する。
Here, four original pixels D12, D13,
A method for obtaining the pixel data of the interpolated pixel X arranged at the center of D22 and D23 will be described.

【0231】図18の原画素D01〜D04,D11〜
D14,D21〜D24,D31〜D34および補間画
素Xの画素データを、それぞれ、d01〜d04,d1
1〜d14,d21〜d24,d31〜d34およびx
で表す。
The original pixels D01 to D04, D11 to D11 in FIG.
The pixel data of D14, D21 to D24, D31 to D34 and the interpolated pixel X are respectively represented by d01 to d04 and d1.
1 to d14, d21 to d24, d31 to d34 and x
Expressed by

【0232】図21は、第4の画像補間方法による画像
補間処理手順を示している。まず、補間画素Xが原画像
のエッジ付近にあるか否かを判定するために、2種類の
エッジ成分EL,ERを算出する(ステップ41)。つ
まり、原画素D01,D12,D23,D34の画素デ
ータを用いて、エッジ成分ELを次式(98)に基づい
て算出するとともに、原画素D04,D13,D22,
D31の画素データを用いて、エッジ成分ERを次式
(99)に基づいて算出する。
FIG. 21 shows an image interpolation processing procedure according to the fourth image interpolation method. First, two types of edge components EL and ER are calculated to determine whether or not the interpolation pixel X is near the edge of the original image (step 41). That is, using the pixel data of the original pixels D01, D12, D23, and D34, the edge component EL is calculated based on the following expression (98), and the original pixels D04, D13, D22,
The edge component ER is calculated based on the following equation (99) using the pixel data of D31.

【0233】 EL=−d01+d12+d23−d34 …(98) ER=−d04+d13+d22−d31 …(99)EL = −d01 + d12 + d23−d34 (98) ER = −d04 + d13 + d22−d31 (99)

【0234】次に、エッジ成分ELについて補正処理を
行なう。つまり、予め設定された擬似ノイズ成分をNと
して、エッジ成分ELが−Q≦EL≦Qの範囲内にある
か否かを判定する(ステップ42)。
Next, a correction process is performed on the edge component EL. That is, assuming that the preset pseudo noise component is N, it is determined whether or not the edge component EL is within the range of -Q ≦ EL ≦ Q (step 42).

【0235】そして、この判定結果に基づいてエッジ成
分ELを補正する。つまり、補正後のエッジ成分をEL
1とすると、エッジ成分ELが−Q≦EL≦Qの範囲内
にある場合には、補正後のエッジ成分EL1を0とする
(ステップ43)。
The edge component EL is corrected based on the result of the determination. That is, the corrected edge component is expressed as EL
If the edge component EL is within the range of −Q ≦ EL ≦ Q, the corrected edge component EL1 is set to 0 (step 43).

【0236】エッジ成分ELが−Q≦EL≦Qの範囲外
にある場合、つまり、EL<−QまたはEL>Qである
場合には、補正後のエッジ成分EL1をELとする(ス
テップ44)。
If the edge component EL is out of the range of -Q≤EL≤Q, that is, if EL <-Q or EL> Q, the corrected edge component EL1 is set to EL (step 44). .

【0237】次に、エッジ成分ERについても同様な補
正処理を行なう。つまり、予め設定された擬似ノイズ成
分をNとして、エッジ成分ERが−Q≦ER≦Qの範囲
内にあるか否かを判定する(ステップ45)。
Next, the same correction processing is performed on the edge component ER. That is, assuming that the preset pseudo noise component is N, it is determined whether or not the edge component ER is within the range of -Q ≦ ER ≦ Q (step 45).

【0238】そして、この判定結果に基づいてエッジ成
分ERを補正する。つまり、補正後のエッジ成分をER
1とすると、エッジ成分ERが−Q≦ER≦Qの範囲内
にある場合には、補正後のエッジ成分ER1を0とする
(ステップ46)。
The edge component ER is corrected based on the result of this determination. In other words, the corrected edge component is ER
If the edge component ER is within the range of −Q ≦ ER ≦ Q, the corrected edge component ER1 is set to 0 (step 46).

【0239】エッジ成分ERが−Q≦ER≦Qの範囲外
にある場合、つまり、ER<−QまたはER>Qである
場合には、補正後のエッジ成分ER1をERとする(ス
テップ47)。
If the edge component ER is out of the range of -Q ≦ ER ≦ Q, that is, if ER <−Q or ER> Q, the corrected edge component ER1 is set to ER (step 47). .

【0240】次に、補正後のEL1に基づいて画素Xの
画素データxの設定可能範囲SLを決定するとともに、
補正後のER1に基づいて画素Xの画素データxの設定
可能範囲SRを決定する(ステップ48)。これらの設
定可能範囲SL,SRの求め方は、図10のステップ1
5と同じである。
Next, the settable range SL of the pixel data x of the pixel X is determined based on the corrected EL1.
The settable range SR of the pixel data x of the pixel X is determined based on the corrected ER1 (step 48). How to obtain these settable ranges SL and SR is described in step 1 in FIG.
Same as 5.

【0241】つまり、原画素D12の画素データd12
と原画素D23の画素データd23のうち大きい方をd
max 、小さい方をdLmin 、dLmax とdLmin との
平均をdLc、αおよびγを予め設定された係数とする
と、設定可能範囲SLは、次式(100)に基づいて、
求められる。
That is, the pixel data d12 of the original pixel D12
And the larger one of the pixel data d23 of the original pixel D23 is d
Assuming that L max , the smaller one is dL min , the average of dL max and dL min is dLc, and α and γ are predetermined coefficients, the settable range SL is calculated based on the following equation (100).
Desired.

【0242】 if EL1≧0,then dLmin ・α+dLc(1−α)≦SL≦dL max ・α+dLc(1−α)+EL1・γ, if EL1<0,then dLmin ・α+dLc(1−α)+EL1・γ ≦SL≦dLmax ・α+dLc(1−α) …(100)If EL1 ≧ 0, then dLmin・ Α + dLc (1−α) ≦ SL ≦ dL max .Alpha. + DLc (1-.alpha.) + EL1.gamma., If EL1 <0, then dLmin・ Α + dLc (1-α) + EL1 ・ γ ≦ SL ≦ dLmax.Alpha. + DLc (1-.alpha.) (100)

【0243】また、原画素D13の画素データd13と
原画素D22の画素データd22のうち大きい方をdR
max 、小さい方をdRmin 、dRmax とdRmin との平
均をdRc、αおよびγを予め設定された係数とする
と、設定可能範囲SRは、次式(101)に基づいて、
求められる。
The larger of the pixel data d13 of the original pixel D13 and the pixel data d22 of the original pixel D22 is referred to as dR
max, the smaller the dR min, DRC an average of the dR max and dR min, when a preset coefficient α and gamma, settable range SR is based on the following equation (101),
Desired.

【0244】 if ER1≧0,then dRmin ・α+dRc(1−α)≦SR≦dR max ・α+dRc(1−α)+ER1・γ, if ER1<0,then dRmin ・α+dRc(1−α)+ER1・γ ≦SR≦dRmax ・α+dRc(1−α) …(101)If ER1 ≧ 0, then dRmin・ Α + dRc (1−α) ≦ SR ≦ dR max ・ Α + dRc (1-α) + ER1 ・ γ, if ER1 <0, then dRmin・ Α + dRc (1-α) + ER1 ・ γ ≦ SR ≦ dRmax.Alpha. + DRc (1-.alpha.) (101)

【0245】次に、両設定可能範囲SL,SRに、互い
に重なり合う部分があるか否か判別する(ステップ4
9)。
Next, it is determined whether or not there is an overlapping portion between the two settable ranges SL and SR (step 4).
9).

【0246】両設定可能範囲SL,SRに、互いに重な
り合う部分がある場合には、この重なりあった部分を補
間画素Xの画素データxの設定可能範囲Sとする(ステ
ップ50)。
If both settable ranges SL and SR have a portion overlapping each other, the overlapped portion is set as a settable range S of the pixel data x of the interpolation pixel X (step 50).

【0247】そして、補間画素Xを斜め方向に挟む対向
画素の画素データに基づいて、補間画素Xの画素データ
の候補を、補間画素Xの画素データxの設定可能範囲内
から求める(ステップ51)。
Then, based on the pixel data of the opposite pixel sandwiching the interpolation pixel X in the oblique direction, a candidate for the pixel data of the interpolation pixel X is determined from the settable range of the pixel data x of the interpolation pixel X (step 51). .

【0248】つまり、原画素D11,D24と補間画素
Xとの画素データの相関値L1、原画素D12,D23
と補間画素Xとの画素データの相関値L2、原画素D0
2,D33と補間画素Xとの画素データの相関値L3、
原画素D14,D21と補間画素Xとの画素データの相
関値R1、原画素D13,D22と補間画素Xとの画素
データの相関値R2、および原画素D03,D32と補
間画素Xとの画素データの相関値R3をそれぞれ表す以
下の式(102)〜(107)に基づいて、図2のステ
ップ3の第2方法と同様な方法で、相関値L1〜L3、
R1〜R3の最小値L1min 〜L3min 、R1min 〜R
3min と、この最小値を与える画素データx1l〜x3
l,x1r〜x3rを求める。
That is, the correlation value L1 of the pixel data between the original pixels D11 and D24 and the interpolation pixel X, the original pixels D12 and D23
Value L2 of the pixel data between the pixel data and the interpolation pixel X, the original pixel D0
2, a correlation value L3 of pixel data between D33 and the interpolation pixel X,
Correlation value R1 of pixel data between original pixels D14 and D21 and interpolation pixel X, correlation value R2 of pixel data between original pixels D13 and D22 and interpolation pixel X, and pixel data between original pixels D03 and D32 and interpolation pixel X Based on the following equations (102) to (107) respectively representing the correlation values R3, the correlation values L1 to L3 are calculated in the same manner as the second method in step 3 in FIG.
Minimum values of R1 to R3 L1min to L3min, R1min to R
3min, and pixel data x11 to x3 giving the minimum value.
1, x1r to x3r are obtained.

【0249】 L1=|d11−x|+|d24−x| …(102) L2=|d12−x|+|d23−x| …(103) L3=|d02−x|+|d33−x| …(104) R1=|d14−x|+|d21−x| …(105) R2=|d13−x|+|d22−x| …(106) R3=|d03−x|+|d32−x| …(107)L1 = | d11−x | + | d24−x | (102) L2 = | d12−x | + | d23−x | (103) L3 = | d02−x | + | d33−x | ... (104) R1 = | d14-x | + | d21-x | ... (105) R2 = | d13-x | + | d22-x | ... (106) R3 = | d03-x | + | d32-x |… (107)

【0250】このようにして求めた最小相関値L1min
〜L3min 、R1min 〜R3 min のうちから最小となる
最小相関値を選択し、選択した最小相関値に対応する画
素データを、画素データx1l〜x3l,x1r〜x3
rから抽出する(ステップ52)。
The thus obtained minimum correlation value L1min
~ L3min, R1min~ R3 minIs the smallest of
Select the minimum correlation value and select the image corresponding to the selected minimum correlation value.
The raw data is converted to pixel data x11 to x31, x1r to x3
r (step 52).

【0251】ステップ52で抽出した画素データに基づ
いて、補間画素Xの画素データxを求める(ステップ5
3)。
Based on the pixel data extracted in step 52, the pixel data x of the interpolated pixel X is obtained (step 5).
3).

【0252】つまり、ステップ52で抽出した画素デー
タから、最大となる画素データと最小となる画素データ
を抽出した後、この2つの画素データの平均値を算出し
その算出結果を補間画素Xの画素データxとする。ステ
ップ52で抽出した画素データが1つである場合には、
その画素データを補間画素Xの画素データxとして決定
する。
That is, after the maximum pixel data and the minimum pixel data are extracted from the pixel data extracted in step 52, the average value of the two pixel data is calculated, and the calculation result is used as the pixel of the interpolation pixel X. Let it be data x. If the pixel data extracted in step 52 is one,
The pixel data is determined as the pixel data x of the interpolation pixel X.

【0253】なお、ステップ52で抽出した画素データ
の平均値を算出し、この算出結果を補間画素Xの画素デ
ータxとして決定してもよい。
The average value of the pixel data extracted in step 52 may be calculated, and the calculation result may be determined as the pixel data x of the interpolation pixel X.

【0254】また、ステップ52で選択した画素データ
から、補間画素Xに最も近接した対向画素より得られる
画素データを抽出し、抽出した画素データを補間画素X
の画素データxとするようにしてもよい。この際、補間
画素Xに最も近接した対向画素の組より得られる画素デ
ータが2つある場合には、それらの画素データの平均値
が、補間画素Xの画素データxとされる。
Also, from the pixel data selected in step 52, pixel data obtained from the closest pixel to the interpolation pixel X is extracted, and the extracted pixel data is extracted from the interpolation pixel X.
Pixel data x. At this time, when there are two pieces of pixel data obtained from the set of the opposing pixels closest to the interpolation pixel X, the average value of the pixel data is used as the pixel data x of the interpolation pixel X.

【0255】上記ステップ49において、エッジ成分E
L1,ER1のそれぞれによって求められる設定可能範
囲SL,SRが重なり合わないと判別された場合には、
原画素D12,D13,D22,D23の4画素の画素
データd12,d13,d22,d23の平均値(d1
2+d13+d22+d23)/4を、補間画素Xの画
素データxと決定する(ステップ54)。
In the above step 49, the edge component E
If it is determined that the settable ranges SL and SR obtained by L1 and ER1 do not overlap,
The average value (d1) of pixel data d12, d13, d22, and d23 of four pixels of original pixels D12, D13, D22, and D23.
2 + d13 + d22 + d23) / 4 is determined as the pixel data x of the interpolation pixel X (step 54).

【0256】図7または図8のような構成の画像補間装
置において、第4の画像補間方法を用いて画像補間を実
行させる場合には、補間相関値演算部2に図21のステ
ップ41〜51およびステップ54の処理を行なわせる
ようにすればよい。
When the image interpolation apparatus having the configuration shown in FIG. 7 or FIG. 8 is to execute the image interpolation using the fourth image interpolation method, the interpolation correlation value calculation section 2 causes the interpolation correlation value calculation section 2 to execute steps 41 to 51 in FIG. And the processing of step 54 may be performed.

【0257】[0257]

【発明の効果】本発明によれば、画像を補間する際に、
エッジ部分にガタツキやボケが生じないようにできると
ともに、滑らかな画像を再生することができるようにな
る。
According to the present invention, when interpolating an image,
It is possible to prevent rattling and blurring at the edge portion and to reproduce a smooth image.

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

【図1】原画素と補間画素との関係を示す模式図であ
る。
FIG. 1 is a schematic diagram illustrating a relationship between an original pixel and an interpolation pixel.

【図2】第1の画像補間方法の手順を示すフローチャー
トである。
FIG. 2 is a flowchart illustrating a procedure of a first image interpolation method.

【図3】エッジ成分Eと補間画素Xの画素データxの設
定可能範囲Sとの関係を示すグラフである。
FIG. 3 is a graph showing a relationship between an edge component E and a settable range S of pixel data x of an interpolation pixel X;

【図4】相関値Lと画素データxの関係を表すグラフで
ある。
FIG. 4 is a graph showing a relationship between a correlation value L and pixel data x.

【図5】相関値Lと画素データxの関係を示すグラフ及
び画素データの設定可能範囲Sを示す模式図である。
FIG. 5 is a schematic diagram showing a relationship between a correlation value L and pixel data x and a settable range S of pixel data.

【図6】原画素と補間画素との関係を示す模式図であ
る。
FIG. 6 is a schematic diagram illustrating a relationship between an original pixel and an interpolation pixel.

【図7】第1の画像補間装置の構成を示すブロック図で
ある。
FIG. 7 is a block diagram illustrating a configuration of a first image interpolation device.

【図8】第2の画像補間装置の構成を示すブロック図で
ある。
FIG. 8 is a block diagram illustrating a configuration of a second image interpolation device.

【図9】第1の画像補間方法の利点を説明するための模
式図である。
FIG. 9 is a schematic diagram for explaining an advantage of the first image interpolation method.

【図10】第2の画像補間方法の手順を示すフローチャ
ートである。
FIG. 10 is a flowchart illustrating a procedure of a second image interpolation method.

【図11】原画素と補間画素との関係を示す模式図であ
る。
FIG. 11 is a schematic diagram illustrating a relationship between an original pixel and an interpolation pixel.

【図12】エッジ成分Eと、補正後のエッジ成分E1と
の関係を示すグラフである。
FIG. 12 is a graph showing a relationship between an edge component E and a corrected edge component E1.

【図13】補間画素Xの画素データxの設定可能範囲S
を示す模式図である。
FIG. 13 shows a settable range S of pixel data x of an interpolation pixel X;
FIG.

【図14】相関値Lと画素データxの関係を表すグラフ
である。
FIG. 14 is a graph showing a relationship between a correlation value L and pixel data x.

【図15】原画素と補間画素との関係を示す模式図であ
る。
FIG. 15 is a schematic diagram illustrating a relationship between original pixels and interpolation pixels.

【図16】第2の画像補間方法の利点を説明するための
模式図である。
FIG. 16 is a schematic diagram for explaining an advantage of the second image interpolation method.

【図17】第2の画像補間方法の利点を説明するための
模式図である。
FIG. 17 is a schematic diagram for explaining an advantage of the second image interpolation method.

【図18】原画素と補間画素との関係を示す模式図であ
る。
FIG. 18 is a schematic diagram illustrating a relationship between original pixels and interpolation pixels.

【図19】第3の画像補間方法の手順を示すフローチャ
ートである。
FIG. 19 is a flowchart illustrating a procedure of a third image interpolation method.

【図20】第1の設定可能範囲SLと第2の設定可能範
囲SRとの関係を示す模式図である。
FIG. 20 is a schematic diagram showing a relationship between a first settable range SL and a second settable range SR.

【図21】第4の画像補間方法の手順を示すフローチャ
ートである。
FIG. 21 is a flowchart illustrating a procedure of a fourth image interpolation method.

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

1 メモリ部 2 補間相関値演算部 3 最小値抽出部 4 画素データ選択部 5 最大値最小値抽出部 6 平均値演算部 7 補間画素データ抽出部 Reference Signs List 1 memory section 2 interpolation correlation value calculation section 3 minimum value extraction section 4 pixel data selection section 5 maximum value minimum value extraction section 6 average value calculation section 7 interpolation pixel data extraction section

───────────────────────────────────────────────────── フロントページの続き (31)優先権主張番号 特願2000−89664(P2000−89664) (32)優先日 平成12年3月28日(2000.3.28) (33)優先権主張国 日本(JP) (72)発明者 棚瀬 晋 大阪府守口市京阪本通2丁目5番5号 三 洋電機株式会社内 (72)発明者 村田 治彦 大阪府守口市京阪本通2丁目5番5号 三 洋電機株式会社内 Fターム(参考) 5B057 CD06 DC16 5C021 PA53 PA56 PA57 PA62 PA66 PA76 RA02 RA12 RB00 RB05 RB08 XB02 XB07 YB04 5C063 AA01 AA06 AA20 AC01 BA04 CA23 CA40 5C076 AA21 BA06 BB04 BB13  ──────────────────────────────────────────────────続 き Continued on front page (31) Priority claim number Japanese Patent Application No. 2000-89664 (P2000-89664) (32) Priority date March 28, 2000 (2000. 3.28) (33) Priority claim country Japan (JP) (72) Inventor Susumu Tanase 2-5-5 Keihanhondori, Moriguchi City, Osaka Prefecture Inside Sanyo Electric Co., Ltd. (72) Inventor Haruhiko Murata 2-5-5 Keihanhondori, Moriguchi City, Osaka Prefecture F-term (reference) in Sanyo Electric Co., Ltd.

Claims (32)

【特許請求の範囲】[Claims] 【請求項1】 第1の原画素と第1の原画素と隣接する
第2の原画素との中間位置に画素を補間する画像補間方
法において、 補間画素が原画像データのエッジ位置付近に存在するか
を判定するためのエッジ成分を算出する第1ステップ、 算出されたエッジ成分と第1および第2の原画素の画素
データとに基づいて、補間画素の画素データの設定可能
範囲を求める第2ステップ、 補間画素を斜め方向に挟む対向画素の組を複数組選択
し、各組毎に、補間画素の画素データの設定可能範囲内
において、補間画素の画素データと各対向画素との差の
絶対値の和で表される相関値が最小となる補間画素の画
素データと相関最小値とを求める第3ステップ、ならび
に上記各組毎に求められた、相関値が最小となる補間画
素の画素データと相関最小値とに基づいて、補間画素の
画素データを求める第4ステップ、 を備えていることを特徴とする画像補間方法。
1. An image interpolation method for interpolating a pixel at an intermediate position between a first original pixel and a second original pixel adjacent to the first original pixel, wherein the interpolated pixel exists near an edge position of the original image data. A first step of calculating an edge component for determining whether or not to perform setting, based on the calculated edge component and pixel data of the first and second original pixels, determining a settable range of pixel data of the interpolation pixel. In two steps, a plurality of sets of opposing pixels sandwiching the interpolated pixel in the oblique direction are selected, and for each set, the difference between the pixel data of the interpolated pixel and each opposing pixel is set within the settable range of the pixel data of the interpolated pixel. A third step of obtaining the pixel data of the interpolated pixel having the minimum correlation value represented by the sum of the absolute values and the minimum correlation value, and the pixel of the interpolated pixel having the minimum correlation value obtained for each of the sets; Data and minimum correlation A fourth step of obtaining pixel data of the interpolation pixel based on the image data.
【請求項2】 第1の原画素に隣接しかつ第2の原画素
と反対側にある原画素を第3の原画素とし、第2の原画
素に隣接しかつ第1の原画素と反対側にある原画素を第
4の原画素とすると、第1ステップでは、第1〜第4の
原画素の画素データに基づいて、エッジ成分が算出され
ることを特徴とする請求項1に記載の画像補間方法。
2. An original pixel adjacent to the first original pixel and on the opposite side of the second original pixel is defined as a third original pixel, adjacent to the second original pixel and opposite to the first original pixel. The edge component is calculated based on the pixel data of the first to fourth original pixels in the first step, assuming that the original pixel on the side is a fourth original pixel. Image interpolation method.
【請求項3】 第1の原画素の画素データをd1、第2
の原画素の画素データをd2、第3の原画素の画素デー
タをd3、第4の原画素の画素データをd4とすると、
エッジ成分Eは、演算式E=−d3+d1+d2−d4
に基づいて算出されることを特徴とする請求項2に記載
の画像補間方法。
3. The method according to claim 1, wherein the pixel data of the first original pixel is d1,
If the pixel data of the original pixel is d2, the pixel data of the third original pixel is d3, and the pixel data of the fourth original pixel is d4,
The edge component E is calculated by the following equation: E = -d3 + d1 + d2-d4
The image interpolation method according to claim 2, wherein the calculation is performed based on:
【請求項4】 第1ステップで求められたエッジ成分を
E、予め定められた閾値をTh、第1の原画素の画素デ
ータと第2の原画素の画素データのうち大きい方をd
max 、小さい方をdmin 、dmax −dmin をdとする
と、第2ステップでは、次式に基づいて、補間画素の画
素データの設定可能範囲Sが求められることを特徴とす
る請求項3に記載の画像補間方法。 if E>Th,then dmin +d/2≦S≦d
max , if −Th≦E≦Th,then dmin +d/4≦
S≦dmax −d/4, if E<−Th,then dmin ≦S≦dmin +d
/2.
4. An edge component obtained in the first step is E, a predetermined threshold is Th, and a larger one of pixel data of the first original pixel and pixel data of the second original pixel is d.
4. A settable range S of pixel data of an interpolated pixel is obtained in the second step in the second step, where max is smaller than d min and d max -d min is d. The image interpolation method described in 1. if E> Th, then d min + d / 2 ≦ S ≦ d
max , if−Th ≦ E ≦ Th, then min + d / 4 ≦
S ≦ d max −d / 4, if E <−Th, then d min ≦ S ≦ d min + d
/ 2.
【請求項5】 第2ステップで求められた設定可能範囲
Sの画素データをxとし、1組の対向画素を構成する2
つの原画素の画素データを、それぞれdaおよびdbと
すると、その組に対する相関値Lは、L=|da−x|
+|db−x|によって算出されることを特徴とする請
求項1に記載の画像補間方法。
5. The pixel data of the settable range S obtained in the second step is defined as x, and a pair of opposite pixels 2
Assuming that the pixel data of the two original pixels are da and db, respectively, the correlation value L for the set is L = | da−x |
2. The image interpolation method according to claim 1, wherein the value is calculated by + | db-x |.
【請求項6】 第4ステップは、第3ステップで各組毎
に求められた相関最小値のうち最小の相関最小値を選択
するステップ、 選択した最小の相関最小値を与える補間画素の画素デー
タを抽出するステップ、 最小の相関最小値が1つである場合には、その最小の相
関最小値を与える補間画素の画素データを、補間画素の
画素データとして決定するステップ、ならびに最小の相
関最小値が複数ある場合には、それらの最小の相関最小
値を与える補間画素の画素データの平均値を補間画素の
画素データとして決定するステップ、 を備えていることを特徴とする請求項1に記載の画像補
間方法。
6. The fourth step is a step of selecting the smallest correlation minimum value among the correlation minimum values obtained for each pair in the third step; and the pixel data of the interpolated pixel giving the selected minimum correlation minimum value. Extracting the pixel data of the interpolated pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel when the minimum correlation minimum value is one, and the minimum correlation minimum value 2. The method according to claim 1, further comprising the step of: determining, as the pixel data of the interpolation pixel, the average value of the pixel data of the interpolation pixel that gives the minimum correlation minimum value when there are a plurality of the correlation pixels. Image interpolation method.
【請求項7】 第4ステップは、第3ステップで各組毎
に求められた相関最小値のうち最小の相関最小値を選択
するステップ、 選択した最小の相関最小値を与える補間画素の画素デー
タを抽出するステップ、 最小の相関最小値が1つである場合には、その最小の相
関最小値を与える補間画素の画素データを、補間画素の
画素データとして決定するステップ、ならびに最小の相
関最小値が複数ある場合には、それらの最小の相関最小
値を与える補間画素の画素データのうちから、最大値と
最小値とを抽出し、抽出した最大値と最小値との平均値
を補間画素の画素データとして決定するステップ、 を備えていることを特徴とする請求項1に記載の画像補
間方法。
7. A fourth step is a step of selecting the smallest correlation minimum value among the correlation minimum values obtained for each pair in the third step, and pixel data of an interpolated pixel giving the selected minimum correlation minimum value. Extracting the pixel data of the interpolated pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel when the minimum correlation minimum value is one, and the minimum correlation minimum value When there are a plurality of pixels, the maximum value and the minimum value are extracted from the pixel data of the interpolation pixel giving the minimum correlation minimum value, and the average value of the extracted maximum value and the minimum value is calculated as the interpolation pixel value. 2. The image interpolation method according to claim 1, further comprising: determining the pixel data as pixel data.
【請求項8】 第4ステップは、第3ステップで各組毎
に求められた相関最小値のうち最小の相関最小値を選択
するステップ、 選択した最小の相関最小値を与える補間画素の画素デー
タを抽出するステップ、 最小の相関最小値が1つである場合には、その最小の相
関最小値を与える補間画素の画素データを、補間画素の
画素データとして決定するステップ、ならびに最小の相
関最小値が複数ある場合には、それらの最小の相関最小
値を与える補間画素の画素データのうち、補間画素に最
も近接した対向画素から得られた画素データを選択し、
選択した画素データが1つである場合にはその画素デー
タを補間画素の画素データとして決定し、選択した画素
データが2つである場合にはそれらの平均値を補間画素
の画素データとして決定するステップ、 を備えていることを特徴とする請求項1に記載の画像補
間方法。
8. The fourth step is a step of selecting a minimum correlation minimum value among the correlation minimum values obtained for each pair in the third step, and pixel data of an interpolation pixel giving the selected minimum correlation minimum value. Extracting the pixel data of the interpolated pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel when the minimum correlation minimum value is one, and the minimum correlation minimum value When there are a plurality of, from among the pixel data of the interpolated pixel giving the minimum correlation minimum value thereof, select the pixel data obtained from the opposite pixel closest to the interpolated pixel,
When the number of selected pixel data is one, the pixel data is determined as the pixel data of the interpolation pixel. When the number of the selected pixel data is two, the average value thereof is determined as the pixel data of the interpolation pixel. The image interpolation method according to claim 1, further comprising the steps of:
【請求項9】 第1の原画素と第1の原画素と隣接する
第2の原画素との中間位置に画素を補間する画像補間方
法において、 補間画素が原画像データのエッジ位置付近に存在するか
を判定するためのエッジ成分を算出する第1ステップ、 算出されたエッジ成分を所定の擬似ノイズ成分に基づい
て補正する第2ステップ、 補正後のエッジ成分と第1および第2の原画素の画素デ
ータとに基づいて、補間画素の画素データの設定可能範
囲を求める第3ステップ、 補間画素を斜め方向に挟む対向画素の組を複数組選択
し、各組毎に、補間画素の画素データの設定可能範囲内
において、補間画素の画素データと各対向画素との差の
絶対値の和と各対向画素の周辺の原画素の画素データに
基づいて算出される補正値とで表される相関値が最小と
なる補間画素の画素データと相関最小値とを求める第4
ステップ、ならびに上記各組毎に求められた、相関値が
最小となる補間画素の画素データと相関最小値とに基づ
いて、補間画素の画素データを求める第5ステップ、 を備えていることを特徴とする画像補間方法。
9. An image interpolation method for interpolating a pixel at an intermediate position between a first original pixel and a second original pixel adjacent to the first original pixel, wherein the interpolated pixel exists near an edge position of the original image data. A first step of calculating an edge component for determining whether to perform the correction, a second step of correcting the calculated edge component based on a predetermined pseudo noise component, and a corrected edge component and first and second original pixels. A third step of obtaining a settable range of pixel data of the interpolated pixel based on the pixel data of (a), a plurality of pairs of opposing pixels sandwiching the interpolated pixel in an oblique direction are selected, and the pixel data of the interpolated pixel is determined for each set. Within the settable range, the correlation represented by the sum of the absolute values of the differences between the pixel data of the interpolation pixel and each of the opposing pixels and the correction value calculated based on the pixel data of the original pixel around each of the opposing pixels The complement that minimizes the value Fourth seeking the minimum correlation value between the pixel of the pixel data
And a fifth step of obtaining pixel data of the interpolated pixel based on the pixel data of the interpolated pixel having the minimum correlation value and the minimum correlation value obtained for each of the sets. Image interpolation method.
【請求項10】 第1の原画素に隣接しかつ第2の原画
素と反対側にある原画素を第3の原画素とし、第2の原
画素に隣接しかつ第1の原画素と反対側にある原画素を
第4の原画素とすると、第1ステップでは、第1〜第4
の原画素の画素データに基づいて、エッジ成分が算出さ
れることを特徴とする請求項9に記載の画像補間方法。
10. An original pixel adjacent to the first original pixel and on the opposite side of the second original pixel is defined as a third original pixel, adjacent to the second original pixel and opposite to the first original pixel. Assuming that the original pixel on the side is the fourth original pixel, in the first step, first to fourth
10. The image interpolation method according to claim 9, wherein an edge component is calculated based on the pixel data of the original pixel.
【請求項11】 第1の原画素の画素データをd1、第
2の原画素の画素データをd2、第3の原画素の画素デ
ータをd3、第4の原画素の画素データをd4とする
と、エッジ成分Eは、演算式E=−d3+d1+d2−
d4に基づいて算出されることを特徴とする請求項9に
記載の画像補間方法。
11. Assuming that pixel data of a first original pixel is d1, pixel data of a second original pixel is d2, pixel data of a third original pixel is d3, and pixel data of a fourth original pixel is d4. , The edge component E is calculated by the following equation:
The image interpolation method according to claim 9, wherein the calculation is performed based on d4.
【請求項12】 擬似ノイズ成分をQとし、第1ステッ
プで算出されたエッジ成分をEとすると、第2ステップ
で求められる補正後のエッジ成分E1は次式で表される
ことを特徴とする請求項11に記載の画像補間方法。 if −Q≦E≦Q,then E1=0, if E>Q or E<−Q,then E1=E.
12. When the pseudo noise component is Q and the edge component calculated in the first step is E, the corrected edge component E1 obtained in the second step is represented by the following equation. An image interpolation method according to claim 11. if −Q ≦ E ≦ Q, then E1 = 0, if E> Q or E <−Q, then E1 = E.
【請求項13】 第2ステップで求められた補正後のエ
ッジ成分をE1、第1の原画素の画素データと第2の原
画素の画素データのうち大きい方をdmax 、小さい方を
min 、dmax とdmin との平均をdc、α(0≦α≦
1)およびγを予め設定された係数とすると、第3ステ
ップでは、次式に基づいて、補間画素の画素データの設
定可能範囲Sが求められることを特徴とする請求項12
に記載の画像補間方法。 if E1≧0,then dmin ・α+dc(1−
α)≦S≦dmax ・α+dc(1−α)+E1・γ, if E1<0,then dmin ・α+dc(1−
α)+E1・γ≦S≦dmax ・α+dc(1−α).
13. The corrected edge component obtained in the second step is E1, the larger of the pixel data of the first original pixel and the pixel data of the second original pixel is d max , and the smaller one is d min. , D max and d min are represented by dc, α (0 ≦ α ≦
If 1) and γ are predetermined coefficients, the settable range S of the pixel data of the interpolation pixel is obtained in the third step based on the following equation:
The image interpolation method described in 1. if E1 ≧ 0, then d min · α + dc (1-
α) ≦ S ≦ d max · α + dc (1-α) + E1 · γ, if E1 <0, then d min · α + dc (1-
α) + E1 · γ ≦ S ≦ dmax · α + dc (1-α).
【請求項14】 第1の原画素と第2の原画素とを結ぶ
方向を上下方向と定義し、上下方向と直角な方向を左右
方向と定義し、1組の対向画素をD12,D24とし、
一方の対向画素D12の左右両隣にある2つの原画素を
D11,D13、この対向画素D12の上下両隣にある
2つの原画素をD02,D22とし、他方の対向画素D
24の左右両隣にある2つの原画素をD23,D25と
し、この対向画素D24の上下両隣にある2つの原画素
をD14,D34とし、各原画素D02,D11,D1
2,D13,D14,D22,D23,D24,D25
およびD34の画素データをd02,d11,d12,
d13,d14,d22,d23,d24,d25およ
びd34とし、β1およびβ2を所定の係数とし、第3
ステップで求められた設定可能範囲Sの画素データをx
とすると、その組に対する相関値Lの算出式は次式で表
されることを特徴とする請求項9に記載の画像補間方
法。 L=|d12−x|+|d24−x|+β1・Hl−β
2・Vl Hl=MAX{(|d11−d12|+|d12−d1
3|),(|d23−d24|+|d24−d25
|)} Vl=MIN{(|d02−d12|+|d12−d2
2|),(|d14−d24|+|d24−d34
|)}
14. A direction connecting the first original pixel and the second original pixel is defined as an up-down direction, a direction perpendicular to the up-down direction is defined as a left-right direction, and one set of opposing pixels is D12, D24. ,
Two original pixels on the left and right sides of one opposing pixel D12 are D11 and D13, two original pixels on the upper and lower sides of the opposing pixel D12 are D02 and D22, and the other opposing pixel D12
The two original pixels on both left and right sides of D24 are D23 and D25, and the two original pixels on both upper and lower sides of the opposing pixel D24 are D14 and D34, and each of the original pixels D02, D11, D1
2, D13, D14, D22, D23, D24, D25
And the pixel data of D34 are d02, d11, d12,
d13, d14, d22, d23, d24, d25 and d34, β1 and β2 are predetermined coefficients,
The pixel data of the settable range S obtained in the step is x
10. The image interpolation method according to claim 9, wherein the equation for calculating the correlation value L for the set is represented by the following equation. L = | d12−x | + | d24−x | + β1 · H1−β
2 · Vl Hl = MAX {(| d11−d12 | + | d12−d1
3 |), (| d23-d24 | + | d24-d25
|)} Vl = MIN {(| d02−d12 | + | d12−d2
2 |), (| d14-d24 | + | d24-d34
|)}
【請求項15】 第5ステップは、第4ステップで各組
毎に求められた相関最小値のうち最小の相関最小値を選
択するステップ、 選択した最小の相関最小値を与える補間画素の画素デー
タを抽出するステップ、 最小の相関最小値が1つである場合には、その最小の相
関最小値を与える補間画素の画素データを、補間画素の
画素データとして決定するステップ、ならびに最小の相
関最小値が複数ある場合には、それらの最小の相関最小
値を与える補間画素の画素データの平均値を補間画素の
画素データとして決定するステップ、 を備えていることを特徴とする請求項9に記載の画像補
間方法。
15. A fifth step is a step of selecting the smallest correlation minimum value among the correlation minimum values obtained for each pair in the fourth step, and pixel data of an interpolated pixel giving the selected minimum correlation minimum value. Extracting the pixel data of the interpolated pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel when the minimum correlation minimum value is one, and the minimum correlation minimum value Determining the average value of the pixel data of the interpolated pixel that gives the minimum correlation minimum value as the pixel data of the interpolated pixel when there are a plurality of interpolated pixel values. Image interpolation method.
【請求項16】 第5ステップは、第4ステップで各組
毎に求められた相関最小値のうち最小の相関最小値を選
択するステップ、 選択した最小の相関最小値を与える補間画素の画素デー
タを抽出するステップ、 最小の相関最小値が1つである場合には、その最小の相
関最小値を与える補間画素の画素データを、補間画素の
画素データとして決定するステップ、ならびに最小の相
関最小値が複数ある場合には、それらの最小の相関最小
値を与える補間画素の画素データのうちから、最大値と
最小値とを抽出し、抽出した最大値と最小値との平均値
を補間画素の画素データとして決定するステップ、 を備えていることを特徴とする請求項9に記載の画像補
間方法。
16. The fifth step is a step of selecting a minimum correlation minimum value among the correlation minimum values obtained for each set in the fourth step, and pixel data of an interpolated pixel giving the selected minimum correlation minimum value. Extracting the pixel data of the interpolated pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel when the minimum correlation minimum value is one, and the minimum correlation minimum value When there are a plurality of pixels, the maximum value and the minimum value are extracted from the pixel data of the interpolation pixel giving the minimum correlation minimum value, and the average value of the extracted maximum value and the minimum value is calculated as the interpolation pixel value. 10. The image interpolation method according to claim 9, further comprising: determining as pixel data.
【請求項17】 第5ステップは、第4ステップで各組
毎に求められた相関最小値のうち最小の相関最小値を選
択するステップ、 選択した最小の相関最小値を与える補間画素の画素デー
タを抽出するステップ、 最小の相関最小値が1つである場合には、その最小の相
関最小値を与える補間画素の画素データを、補間画素の
画素データとして決定するステップ、ならびに最小の相
関最小値が複数ある場合には、それらの最小の相関最小
値を与える補間画素の画素データのうち、補間画素に最
も近接した対向画素から得られた画素データを選択し、
選択した画素データが1つである場合にはその画素デー
タを補間画素の画素データとして決定し、選択した画素
データが2つである場合にはそれらの平均値を補間画素
の画素データとして決定するステップ、 を備えていることを特徴とする請求項9に記載の画像補
間方法。
17. The fifth step is a step of selecting the smallest correlation minimum value among the correlation minimum values obtained for each pair in the fourth step, and the pixel data of the interpolated pixel giving the selected minimum correlation minimum value. Extracting the pixel data of the interpolated pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel when the minimum correlation minimum value is one, and the minimum correlation minimum value When there are a plurality of, from among the pixel data of the interpolated pixel giving the minimum correlation minimum value thereof, select the pixel data obtained from the opposite pixel closest to the interpolated pixel,
When the number of selected pixel data is one, the pixel data is determined as the pixel data of the interpolation pixel. When the number of the selected pixel data is two, the average value thereof is determined as the pixel data of the interpolation pixel. The image interpolation method according to claim 9, further comprising:
【請求項18】 左右方向に隣合う第1の原画素および
第2の原画素、第1の原画素の下側に隣接する第3画素
ならびに第2の原画素の下側に隣接する第4画素からな
る4つの原画素の中央位置に画素を補間する画像補間方
法において、 第1の原画素、第4の原画素、第1の原画素と第4の原
画素を結ぶ線の延長上であって第1の原画素の左斜め上
に隣接する第5の原画素および第1の原画素と第4の原
画素を結ぶ線の延長上であって第4の原画素の右斜め下
に隣接する第6の原画素の画素データに基づいて、補間
画素が原画像データのエッジ位置付近に存在するかを判
定するための第1のエッジ成分を算出する第1ステッ
プ、 第2の原画素、第3の原画素、第2の原画素と第3の原
画素を結ぶ線の延長上であって第2の原画素の右斜め上
に隣接する第7の原画素および第2の原画素と第3の原
画素を結ぶ線の延長上であって第3の原画素の左斜め下
に隣接する第8の原画素の画素データに基づいて、補間
画素が原画像データのエッジ位置付近に存在するかを判
定するための第2のエッジ成分を算出する第2ステッ
プ、 第1のエッジ成分と第1および第4の原画素の画素デー
タとに基づいて、補間画素の画素データの第1の設定可
能範囲を求めるとともに、第2のエッジ成分と第2およ
び第3の原画素の画素データとに基づいて、補間画素の
画素データの第2の設定可能範囲を求める第3ステッ
プ、 第1の設定可能範囲と第2の設定可能範囲に、互いに重
なり合う部分が存在するか否かを判定する第4ステッ
プ、 第1の設定可能範囲と第2の設定可能範囲に、互いに重
なり合う部分が存在しない場合には、第1〜第4の原画
素の画素データの平均値を算出し、その算出結果を補間
画素の画素データと決定する第5ステップ、 第1の設定可能範囲と第2の設定可能範囲に、互いに重
なり合う部分がある場合には、その重なり合う部分を設
定可能範囲として設定した後、補間画素を斜め方向に挟
む対向画素の組を複数組選択し、各組毎に、補間画素の
画素データの設定可能範囲内において、補間画素の画素
データと各対向画素との差の絶対値の和で表される相関
値が最小となる補間画素の画素データと相関最小値とを
求める第6ステップ、ならびに上記第6ステップにおい
て各組毎に求められた、相関値が最小となる補間画素の
画素データと相関最小値とに基づいて、補間画素の画素
データを求める第7ステップ、 を備えていることを特徴とする画像補間方法。
18. A first original pixel and a second original pixel adjacent in the left-right direction, a third pixel adjacent below the first original pixel, and a fourth adjacent pixel below the second original pixel. In an image interpolation method for interpolating a pixel at a center position of four original pixels including pixels, a first original pixel, a fourth original pixel, and an extension of a line connecting the first original pixel and the fourth original pixel. The fifth original pixel adjacent to the upper left of the first original pixel and the extension of the line connecting the first original pixel and the fourth original pixel and the lower right of the fourth original pixel A first step of calculating a first edge component for determining whether an interpolated pixel exists near an edge position of the original image data based on pixel data of an adjacent sixth original pixel; a second original pixel , On the extension of the line connecting the third original pixel, the second original pixel and the third original pixel, and obliquely above and to the right of the second original pixel. On the basis of the pixel data of the eighth original pixel which is on the extension of the line connecting the seventh original pixel, the second original pixel, and the third original pixel which are in contact and which is adjacent to the third original pixel at the lower left of the third original pixel. A second step of calculating a second edge component for determining whether the interpolated pixel exists near the edge position of the original image data, and calculating the first edge component and the pixel data of the first and fourth original pixels. , A first settable range of the pixel data of the interpolated pixel is obtained, and a second set of the pixel data of the interpolated pixel is obtained based on the second edge component and the pixel data of the second and third original pixels. A third step of determining a settable range of the first settable range, a fourth step of determining whether or not there is an overlapping portion between the first settable range and the second settable range, and a first settable range and a second settable range. Parts that overlap each other within the settable range of Does not exist, the fifth step of calculating the average value of the pixel data of the first to fourth original pixels and determining the calculation result as the pixel data of the interpolation pixel, the first settable range and the second In the settable range, if there is a part overlapping each other, after setting the overlapping part as a settable range, a plurality of sets of opposing pixels sandwiching the interpolation pixel in the oblique direction are selected, and for each set, interpolation is performed. Within the settable range of the pixel data of the pixel, the pixel data of the interpolated pixel and the minimum correlation value that minimize the correlation value represented by the sum of the absolute value of the difference between the pixel data of the interpolation pixel and each of the opposite pixels are obtained. A sixth step, and a seventh step of obtaining pixel data of the interpolated pixel based on the pixel data of the interpolated pixel having the minimum correlation value and the minimum correlation value obtained for each pair in the sixth step. prepare for Image interpolation method comprising Rukoto.
【請求項19】 第1の原画素の画素データをd1、第
4の原画素の画素データをd4、第5の原画素の画素デ
ータをd5、第6の原画素の画素データをd6とし、第
1のエッジ成分をELとすると、第1ステップでは、演
算式EL=−d5+d1+d4−d6に基づいて第1の
エッジ成分ELを算出し、 第2の原画素の画素データをd2、第3の原画素の画素
データをd3、第7の原画素の画素データをd7、第8
の原画素の画素データをd8とし、第2のエッジ成分を
ERとすると、第2ステップでは、演算式ER=−d7
+d2+d3−d8に基づいて第2のエッジ成分ERを
算出することを特徴とする請求項18に記載の画像補間
方法。
19. The pixel data of the first original pixel is d1, the pixel data of the fourth original pixel is d4, the pixel data of the fifth original pixel is d5, the pixel data of the sixth original pixel is d6, Assuming that the first edge component is EL, in the first step, the first edge component EL is calculated based on the arithmetic expression EL = −d5 + d1 + d4-d6, the pixel data of the second original pixel is d2, and the third The pixel data of the original pixel is d3, the pixel data of the seventh original pixel is d7,
Let d8 be the pixel data of the original pixel and ER be the second edge component. In the second step, the arithmetic expression ER = −d7
19. The image interpolation method according to claim 18, wherein the second edge component ER is calculated based on + d2 + d3-d8.
【請求項20】 第1のエッジ成分をEL、第2のエッ
ジ成分をER、予め定められた閾値をTh、第1の原画
素の画素データと第4の原画素の画素データのうち大き
い方をdLmax 、小さい方をdLmin 、dLmax −dL
min をdLとし、第2の原画素の画素データと第3の原
画素の画素データのうち大きい方をdRmax 、小さい方
をdRmin 、dRmax −dRmin をdRとすると、第3
ステップでは、次式に基づいて、第1の設定可能範囲S
Lおよび第2の設定可能範囲SRが求められることを特
徴とする請求項19に記載の画像補間方法。 if EL>Th,then dLmin +dL/2≦S
L≦dLmax , if −Th≦EL≦Th,then dLmin +dL
/4≦SL≦dLmax−dL/4, if EL<−Th,then dLmin ≦SL≦dL
min +dL/2. if ER>Th,then dRmin +dR/2≦S
R≦dRmax , if −Th≦ER≦Th,then dRmin +dR
/4≦SR≦dRmax−dR/4, if ER<−Th,then dRmin ≦SR≦dR
min +dR/2.
20. The first edge component is EL, the second edge component is ER, the predetermined threshold is Th, and the larger of the pixel data of the first original pixel and the pixel data of the fourth original pixel. Is dL max , the smaller one is dL min , dL max −dL
When min is dL, the larger of the pixel data of the second original pixel and the pixel data of the third original pixel is dR max , the smaller one is dR min , and dR max -dR min is dR.
In the step, based on the following equation, the first settable range S
20. The image interpolation method according to claim 19, wherein L and a second settable range SR are obtained. if EL> Th, then dL min + dL / 2 ≦ S
L ≦ dL max , if−Th ≦ EL ≦ Th, then dL min + dL
/ 4 ≦ SL ≦ dL max -dL / 4, if EL <-Th, then dL min ≦ SL ≦ dL
min + dL / 2. if ER> Th, then dR min + dR / 2 ≦ S
R ≦ dR max , if−Th ≦ ER ≦ Th, then dR min + dR
/ 4 ≦ SR ≦ dR max −dR / 4, if ER <−Th, then dR min ≦ SR ≦ dR
min + dR / 2.
【請求項21】 第6ステップで設定された設定可能範
囲S内の画素データをxとし、1組の対向画素を構成す
る2つの原画素の画素データを、それぞれdaおよびd
bとすると、その組に対する相関値Lは、L=|da−
x|+|db−x|によって算出されることを特徴とす
る請求項18に記載の画像補間方法。
21. The pixel data within the settable range S set in the sixth step is defined as x, and the pixel data of two original pixels forming one set of opposed pixels are respectively da and d.
b, the correlation value L for the set is L = | da−
19. The image interpolation method according to claim 18, wherein the calculation is performed by x | + | db-x |.
【請求項22】 第7ステップは、第6ステップで各組
毎に求められた相関最小値のうち最小の相関最小値を選
択するステップ、 選択した最小の相関最小値を与える補間画素の画素デー
タを抽出するステップ、 最小の相関最小値が1つである場合には、その最小の相
関最小値を与える補間画素の画素データを、補間画素の
画素データとして決定するステップ、ならびに最小の相
関最小値が複数ある場合には、それらの最小の相関最小
値を与える補間画素の画素データの平均値を補間画素の
画素データとして決定するステップ、 を備えていることを特徴とする請求項18に記載の画像
補間方法。
22. A seventh step is a step of selecting the smallest correlation minimum value among the correlation minimum values obtained for each pair in the sixth step, and pixel data of an interpolation pixel giving the selected minimum correlation minimum value. Extracting the pixel data of the interpolated pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel when the minimum correlation minimum value is one, and the minimum correlation minimum value 19. The method according to claim 18, further comprising the step of: determining, as the pixel data of the interpolation pixel, an average value of the pixel data of the interpolation pixel that gives the minimum correlation minimum value when there are a plurality of the pixel data. Image interpolation method.
【請求項23】 第7ステップは、第6ステップで各組
毎に求められた相関最小値のうち最小の相関最小値を選
択するステップ、 選択した最小の相関最小値を与える補間画素の画素デー
タを抽出するステップ、 最小の相関最小値が1つである場合には、その最小の相
関最小値を与える補間画素の画素データを、補間画素の
画素データとして決定するステップ、ならびに最小の相
関最小値が複数ある場合には、それらの最小の相関最小
値を与える補間画素の画素データのうちから、最大値と
最小値とを抽出し、抽出した最大値と最小値との平均値
を補間画素の画素データとして決定するステップ、 を備えていることを特徴とする請求項18に記載の画像
補間方法。
23. A seventh step is a step of selecting the smallest correlation minimum value among the correlation minimum values obtained for each pair in the sixth step, and pixel data of an interpolation pixel giving the selected minimum correlation minimum value. Extracting the pixel data of the interpolated pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel when the minimum correlation minimum value is one, and the minimum correlation minimum value When there are a plurality of pixels, the maximum value and the minimum value are extracted from the pixel data of the interpolation pixel giving the minimum correlation minimum value, and the average value of the extracted maximum value and the minimum value is calculated as the interpolation pixel value. 19. The image interpolation method according to claim 18, further comprising: determining as pixel data.
【請求項24】 第7ステップは、第6ステップで各組
毎に求められた相関最小値のうち最小の相関最小値を選
択するステップ、 選択した最小の相関最小値を与える補間画素の画素デー
タを抽出するステップ、 最小の相関最小値が1つである場合には、その最小の相
関最小値を与える補間画素の画素データを、補間画素の
画素データとして決定するステップ、ならびに最小の相
関最小値が複数ある場合には、それらの最小の相関最小
値を与える補間画素の画素データのうち、補間画素に最
も近接した対向画素から得られた画素データを選択し、
選択した画素データが1つである場合にはその画素デー
タを補間画素の画素データとして決定し、選択した画素
データが2つである場合にはそれらの平均値を補間画素
の画素データとして決定するステップ、 を備えていることを特徴とする請求項18に記載の画像
補間方法。
24. The seventh step is a step of selecting the smallest correlation minimum value among the correlation minimum values obtained for each set in the sixth step, and the pixel data of the interpolated pixel giving the selected minimum correlation minimum value. Extracting the pixel data of the interpolated pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel when the minimum correlation minimum value is one, and the minimum correlation minimum value When there are a plurality of, from among the pixel data of the interpolated pixel giving the minimum correlation minimum value thereof, select the pixel data obtained from the opposite pixel closest to the interpolated pixel,
When the number of selected pixel data is one, the pixel data is determined as the pixel data of the interpolation pixel. When the number of the selected pixel data is two, the average value thereof is determined as the pixel data of the interpolation pixel. The image interpolation method according to claim 18, comprising the following steps:
【請求項25】 左右方向に隣合う第1の原画素および
第2の原画素、第1の原画素の下側に隣接する第3画素
ならびに第2の原画素の下側に隣接する第4画素からな
る4つの原画素の中央位置に画素を補間する画像補間方
法において、 第1の原画素、第4の原画素、第1の原画素と第4の原
画素を結ぶ線の延長上であって第1の原画素の左斜め上
に隣接する第5の原画素および第1の原画素と第4の原
画素を結ぶ線の延長上であって第4の原画素の右斜め下
に隣接する第6の原画素の画素データに基づいて、補間
画素が原画像データのエッジ位置付近に存在するかを判
定するための第1のエッジ成分を算出する第1ステッ
プ、 第2の原画素、第3の原画素、第2の原画素と第3の原
画素を結ぶ線の延長上であって第2の原画素の右斜め上
に隣接する第7の原画素および第2の原画素と第3の原
画素を結ぶ線の延長上であって第3の原画素の左斜め下
に隣接する第8の原画素の画素データに基づいて、補間
画素が原画像データのエッジ位置付近に存在するかを判
定するための第2のエッジ成分を算出する第2ステッ
プ、 算出された第1のエッジ成分および第2のエッジ成分
を、それぞれ所定の擬似ノイズ成分に基づいて補正する
第3ステップ、 補正後の第1のエッジ成分と第1および第4の原画素の
画素データとに基づいて補間画素の画素データの第1の
設定可能範囲を求めるとともに、補正後の第2のエッジ
成分と第2および第3の原画素の画素データとに基づい
て補間画素の画素データの第2の設定可能範囲を求める
第4ステップ、 第1の設定可能範囲と第2の設定可能範囲に、互いに重
なり合う部分が存在するか否かを判定する第5ステッ
プ、 第1の設定可能範囲と第2の設定可能範囲に、互いに重
なり合う部分が存在しない場合には、第1〜第4の原画
素の画素データの平均値を算出し、その算出結果を補間
画素の画素データと決定する第6ステップ、 第1の設定可能範囲と第2の設定可能範囲に、互いに重
なり合う部分が存在する場合には、その重なり合う部分
を設定可能範囲として設定した後、補間画素を斜め方向
に挟む対向画素の組を複数組選択し、各組毎に、補間画
素の画素データの設定可能範囲内において、補間画素の
画素データと各対向画素との差の絶対値の和と各対向画
素の周辺の原画素の画素データに基づいて算出される補
正値とで表される相関値が最小となる補間画素の画素デ
ータと相関最小値とを求める第7ステップ、ならびに上
記各組毎に求められた、相関値が最小となる補間画素の
画素データと相関最小値とに基づいて、補間画素の画素
データを求める第8ステップ、 を備えていることを特徴とする画像補間方法。
25. A first original pixel and a second original pixel adjacent in the left-right direction, a third pixel adjacent below the first original pixel, and a fourth adjacent pixel below the second original pixel. In an image interpolation method for interpolating a pixel at a center position of four original pixels including pixels, a first original pixel, a fourth original pixel, and an extension of a line connecting the first original pixel and the fourth original pixel. The fifth original pixel adjacent to the upper left of the first original pixel and the extension of the line connecting the first original pixel and the fourth original pixel and the lower right of the fourth original pixel A first step of calculating a first edge component for determining whether an interpolated pixel exists near an edge position of the original image data based on pixel data of an adjacent sixth original pixel; a second original pixel , On the extension of the line connecting the third original pixel, the second original pixel and the third original pixel, and obliquely above and to the right of the second original pixel. On the basis of the pixel data of the eighth original pixel which is on the extension of the line connecting the seventh original pixel, the second original pixel, and the third original pixel which are in contact and which is adjacent to the third original pixel at the lower left of the third original pixel. A second step of calculating a second edge component for determining whether or not the interpolation pixel exists near an edge position of the original image data; and determining the calculated first edge component and the calculated second edge component respectively. A third step of correcting based on the pseudo-noise component of the above, based on the corrected first edge component and the pixel data of the first and fourth original pixels, to set a first settable range of the pixel data of the interpolation pixel. A fourth step of obtaining a second settable range of pixel data of the interpolated pixel based on the corrected second edge component and the pixel data of the second and third original pixels. Range and second settable range A fifth step of determining whether or not there is an overlapped portion; if there are no overlapping portions in the first settable range and the second settable range, the first to fourth original pixels A sixth step of calculating the average value of the pixel data of, and determining the calculation result as the pixel data of the interpolation pixel. If there are overlapping portions in the first settable range and the second settable range, After setting the overlapping portion as a settable range, a plurality of sets of opposing pixels sandwiching the interpolated pixel in the oblique direction are selected, and for each set, the set of the interpolated pixel Pixel data of the interpolated pixel that minimizes the correlation value represented by the sum of the absolute values of the differences between the pixel data and each opposing pixel and the correction value calculated based on the pixel data of the original pixel around each opposing pixel And correlation A seventh step of obtaining pixel values of the interpolated pixels based on the pixel data of the interpolated pixels having the minimum correlation value and the minimum correlation value obtained for each pair. An image interpolation method, comprising:
【請求項26】 第1の原画素の画素データをd1、第
4の原画素の画素データをd4、第5の原画素の画素デ
ータをd5、第6の原画素の画素データをd6とし、第
1のエッジ成分をELとすると、第1ステップでは、演
算式EL=−d5+d1+d4−d6に基づいて第1の
エッジ成分ELを算出し、 第2の原画素の画素データをd2、第3の原画素の画素
データをd3、第7の原画素の画素データをd7、第8
の原画素の画素データをd8とし、第2のエッジ成分を
ERとすると、第2ステップでは、演算式ER=−d7
+d2+d3−d8に基づいて第2のエッジ成分ERを
算出することを特徴とする請求項25に記載の画像補間
方法。
26. The pixel data of the first original pixel is d1, the pixel data of the fourth original pixel is d4, the pixel data of the fifth original pixel is d5, the pixel data of the sixth original pixel is d6, Assuming that the first edge component is EL, in the first step, the first edge component EL is calculated based on the arithmetic expression EL = −d5 + d1 + d4-d6, the pixel data of the second original pixel is d2, and the third The pixel data of the original pixel is d3, the pixel data of the seventh original pixel is d7,
Let d8 be the pixel data of the original pixel and ER be the second edge component. In the second step, the arithmetic expression ER = −d7
26. The image interpolation method according to claim 25, wherein the second edge component ER is calculated based on + d2 + d3-d8.
【請求項27】 擬似ノイズ成分をQとし、第1のエッ
ジ成分をEL、第2のエッジ成分をERとすると、第3
ステップで求められる補正後の第1のエッジ成分EL1
および補正後の第2のエッジ成分ER1は次式で表され
ることを特徴とする請求項26に記載の画像補間方法。 if −Q≦EL≦Q,then EL1=0, if EL>Q or EL<−Q,then EL1
=EL. if −Q≦ER≦Q,then ER1=0, if ER>Q or ER<−Q,then ER1
=ER.
27. Assuming that a pseudo noise component is Q, a first edge component is EL, and a second edge component is ER,
First edge component EL1 after correction obtained in step
The image interpolation method according to claim 26, wherein the corrected second edge component ER1 is expressed by the following equation. if -Q ≦ EL ≦ Q, then EL1 = 0, if EL> Q or EL <−Q, then EL1
= EL. if −Q ≦ ER ≦ Q, then ER1 = 0, if ER> Q or ER <−Q, then ER1
= ER.
【請求項28】 補正後の第1のエッジ成分をEL1、
補正後の第2のエッジ成分をER1、第1の原画素の画
素データと第4の原画素の画素データのうち大きい方を
dLmax 、小さい方をdLmin 、dLmax とdLmin
の平均をdLc、第2の原画素の画素データと第3の原
画素の画素データのうち大きい方をdRmax 、小さい方
をdRmin 、dRmax とdRmin との平均をdRc、α
およびγを予め設定された係数とすると、第4ステップ
では、次式に基づいて、第1の設定可能範囲SLおよび
第2の設定可能範囲SRが求められることを特徴とする
請求項27に記載の画像補間方法。 if EL1≧0,then dLmin ・α+dLc
(1−α)≦SL≦dL max ・α+dLc(1−α)+
EL1・γ, if EL1<0,then dLmin ・α+dLc
(1−α)+EL1・γ≦SL≦dLmax ・α+dLc
(1−α). if ER1≧0,then dRmin ・α+dRc
(1−α)≦SR≦dR max ・α+dRc(1−α)+
ER1・γ, if ER1<0,then dRmin ・α+dRc
(1−α)+ER1・γ≦SR≦dRmax ・α+dRc
(1−α).
28. The corrected first edge component is represented by EL1,
The corrected second edge component is ER1, and the image of the first original pixel is
The larger of the raw data and the pixel data of the fourth original pixel
dLmax, The smaller one is dLmin, DLmaxAnd dLminWhen
Is the average of dLc, the pixel data of the second original pixel and the third original pixel.
The larger of the pixel data of the pixel is dRmax, The smaller one
To dRmin, DRmaxAnd dRminDRc, α
If γ and γ are predetermined coefficients, the fourth step
Then, based on the following equation, the first settable range SL and
The second settable range SR is obtained.
An image interpolation method according to claim 27. if EL1 ≧ 0, then dLmin・ Α + dLc
(1−α) ≦ SL ≦ dL max・ Α + dLc (1-α) +
EL1 · γ, if EL1 <0, then dLmin・ Α + dLc
(1−α) + EL1 · γ ≦ SL ≦ dLmax・ Α + dLc
(1-α). if ER1 ≧ 0, then dRmin・ Α + dRc
(1−α) ≦ SR ≦ dR max・ Α + dRc (1-α) +
ER1 · γ, if ER1 <0, then dRmin・ Α + dRc
(1−α) + ER1 · γ ≦ SR ≦ dRmax・ Α + dRc
(1-α).
【請求項29】 第7ステップで設定された設定可能範
囲S内の画素データをxとし、1組の対向画素を構成す
る2つの原画素の画素データを、それぞれdaおよびd
bとすると、その組に対する相関値Lは、L=|da−
x|+|db−x|によって算出されることを特徴とす
る請求項25に記載の画像補間方法。
29. The pixel data within the settable range S set in the seventh step is defined as x, and the pixel data of two original pixels forming one set of opposed pixels are respectively da and d.
b, the correlation value L for the set is L = | da−
26. The image interpolation method according to claim 25, wherein the value is calculated by x | + | db-x |.
【請求項30】 第8ステップは、第7ステップで各組
毎に求められた相関最小値のうち最小の相関最小値を選
択するステップ、 選択した最小の相関最小値を与える補間画素の画素デー
タを抽出するステップ、 最小の相関最小値が1つである場合には、その最小の相
関最小値を与える補間画素の画素データを、補間画素の
画素データとして決定するステップ、ならびに最小の相
関最小値が複数ある場合には、それらの最小の相関最小
値を与える補間画素の画素データの平均値を補間画素の
画素データとして決定するステップ、 を備えていることを特徴とする請求項25に記載の画像
補間方法。
30. An eighth step is a step of selecting the smallest correlation minimum value among the correlation minimum values obtained for each pair in the seventh step, and pixel data of an interpolation pixel giving the selected minimum correlation minimum value. Extracting the pixel data of the interpolated pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel when the minimum correlation minimum value is one, and the minimum correlation minimum value Determining the average value of the pixel data of the interpolated pixel that gives the minimum correlation minimum value as the pixel data of the interpolated pixel, when there are a plurality of interpolated pixel values. Image interpolation method.
【請求項31】 第8ステップは、第7ステップで各組
毎に求められた相関最小値のうち最小の相関最小値を選
択するステップ、 選択した最小の相関最小値を与える補間画素の画素デー
タを抽出するステップ、 最小の相関最小値が1つである場合には、その最小の相
関最小値を与える補間画素の画素データを、補間画素の
画素データとして決定するステップ、ならびに最小の相
関最小値が複数ある場合には、それらの最小の相関最小
値を与える補間画素の画素データのうちから、最大値と
最小値とを抽出し、抽出した最大値と最小値との平均値
を補間画素の画素データとして決定するステップ、 を備えていることを特徴とする請求項25に記載の画像
補間方法。
31. An eighth step is a step of selecting the smallest correlation minimum value among the correlation minimum values obtained for each set in the seventh step, and pixel data of an interpolation pixel giving the selected minimum correlation minimum value. Extracting the pixel data of the interpolated pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel when the minimum correlation minimum value is one, and the minimum correlation minimum value When there are a plurality of pixels, the maximum value and the minimum value are extracted from the pixel data of the interpolation pixel giving the minimum correlation minimum value, and the average value of the extracted maximum value and the minimum value is calculated as the interpolation pixel value. 26. The image interpolation method according to claim 25, further comprising: determining as pixel data.
【請求項32】 第8ステップは、第7ステップで各組
毎に求められた相関最小値のうち最小の相関最小値を選
択するステップ、 選択した最小の相関最小値を与える補間画素の画素デー
タを抽出するステップ、 最小の相関最小値が1つである場合には、その最小の相
関最小値を与える補間画素の画素データを、補間画素の
画素データとして決定するステップ、ならびに最小の相
関最小値が複数ある場合には、それらの最小の相関最小
値を与える補間画素の画素データのうち、補間画素に最
も近接した対向画素から得られた画素データを選択し、
選択した画素データが1つである場合にはその画素デー
タを補間画素の画素データとして決定し、選択した画素
データが2つである場合にはそれらの平均値を補間画素
の画素データとして決定するステップ、 を備えていることを特徴とする請求項25に記載の画像
補間方法。
32. An eighth step is a step of selecting the smallest correlation minimum value among the correlation minimum values obtained for each set in the seventh step, and pixel data of an interpolation pixel giving the selected minimum correlation minimum value. Extracting the pixel data of the interpolated pixel that gives the minimum correlation minimum value as the pixel data of the interpolation pixel when the minimum correlation minimum value is one, and the minimum correlation minimum value When there are a plurality of, from among the pixel data of the interpolated pixel giving the minimum correlation minimum value thereof, select the pixel data obtained from the opposite pixel closest to the interpolated pixel,
When the number of selected pixel data is one, the pixel data is determined as the pixel data of the interpolation pixel. When the number of the selected pixel data is two, the average value thereof is determined as the pixel data of the interpolation pixel. The image interpolation method according to claim 25, comprising:
JP2000225446A 1999-08-05 2000-07-26 Image interpolation method Expired - Fee Related JP3706529B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000225446A JP3706529B2 (en) 1999-08-05 2000-07-26 Image interpolation method

Applications Claiming Priority (9)

Application Number Priority Date Filing Date Title
JP22271799 1999-08-05
JP24152099 1999-08-27
JP27496799 1999-09-28
JP11-274967 2000-03-28
JP2000-89664 2000-03-28
JP11-222717 2000-03-28
JP11-241520 2000-03-28
JP2000089664 2000-03-28
JP2000225446A JP3706529B2 (en) 1999-08-05 2000-07-26 Image interpolation method

Publications (2)

Publication Number Publication Date
JP2001346037A true JP2001346037A (en) 2001-12-14
JP3706529B2 JP3706529B2 (en) 2005-10-12

Family

ID=27529725

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000225446A Expired - Fee Related JP3706529B2 (en) 1999-08-05 2000-07-26 Image interpolation method

Country Status (1)

Country Link
JP (1) JP3706529B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006099613A (en) * 2004-09-30 2006-04-13 Sanyo Electric Co Ltd Image interpolation apparatus, image interpolation method, and image display
US7123781B2 (en) 2002-03-27 2006-10-17 Sanyo Electric Co., Ltd. Image interpolating method
KR20150115695A (en) * 2015-09-18 2015-10-14 엘지이노텍 주식회사 Method and apparatus for image processing
KR101558580B1 (en) * 2009-03-09 2015-10-20 엘지이노텍 주식회사 Method and apparatus for image processing

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7123781B2 (en) 2002-03-27 2006-10-17 Sanyo Electric Co., Ltd. Image interpolating method
JP2006099613A (en) * 2004-09-30 2006-04-13 Sanyo Electric Co Ltd Image interpolation apparatus, image interpolation method, and image display
KR101558580B1 (en) * 2009-03-09 2015-10-20 엘지이노텍 주식회사 Method and apparatus for image processing
KR20150115695A (en) * 2015-09-18 2015-10-14 엘지이노텍 주식회사 Method and apparatus for image processing
KR101637851B1 (en) 2015-09-18 2016-07-07 엘지이노텍 주식회사 Method and apparatus for image processing

Also Published As

Publication number Publication date
JP3706529B2 (en) 2005-10-12

Similar Documents

Publication Publication Date Title
EP1173017B1 (en) Image interpolating method
CA2417169C (en) Image processing apparatus and image processing method
JPH0884321A (en) Video data processing method
JPH07236147A (en) Color separating circuit for single plate type color video camera
JP3717863B2 (en) Image interpolation method
KR20070055366A (en) Image display apparatus and method, program therefor, and recording medium having recorded thereon the same
CN1130455A (en) Method and apparatus for motion estimation using block matching
JP2001013482A (en) Matrix display device and plasma address display device
KR20090059764A (en) Method for auto white balance in ycbcr color space
EP1227668A1 (en) Method and circuit for emphasizing contour
US6961479B1 (en) Image processing device, image processing method, image-processing program recorded medium
JP2001346037A (en) Image interpolating method
US7532773B2 (en) Directional interpolation method and device for increasing resolution of an image
US20040257475A1 (en) Methods, interpolator circuits, and computer program products for generating interpolated display data using remote pixel data
KR100807612B1 (en) Image signal processing circuit display apparatus and image signal processing method
US7184608B2 (en) Apparatus and method for edge enhancement of digital image data and digital display device including edge enhancer
KR20090003080A (en) Display apparatus and method of adjusting brightness for the same
JP4335979B2 (en) Low cost progressive scan television system with special features
CN1292592C (en) Time-space domain self-adaptive weighted average interlacing removing method for digital video signal
US20050068465A1 (en) Adjustment of motion vectors in digital image processing systems
JP2002010070A (en) Image processor, image display device, image processing method and image displaying method
EP1191785A1 (en) Interlace to progresssive conversion
KR100679744B1 (en) Error Diffusion Technique based on Gray Level Multiples for Smooth Gray Level Reproduction in Dark Areas on Plasma Display Panel
JP3444170B2 (en) Field image interpolation method and field image interpolation device
JP2000284739A (en) Picture quality correcting circuit

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040309

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040423

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050420

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050614

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050713

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050729

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090805

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100805

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110805

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110805

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120805

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees