JP3578613B2 - Image data interpolation method and apparatus - Google Patents
Image data interpolation method and apparatus Download PDFInfo
- Publication number
- JP3578613B2 JP3578613B2 JP33273397A JP33273397A JP3578613B2 JP 3578613 B2 JP3578613 B2 JP 3578613B2 JP 33273397 A JP33273397 A JP 33273397A JP 33273397 A JP33273397 A JP 33273397A JP 3578613 B2 JP3578613 B2 JP 3578613B2
- Authority
- JP
- Japan
- Prior art keywords
- interpolation
- image data
- signal
- difference
- difference signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4007—Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Editing Of Facsimile Originals (AREA)
- Image Processing (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は画像データの補間方法および装置に関するものである。
【0002】
【従来の技術】
従来より、写真フイルムに記録された画像を光電的に読み取って画像信号を得、この画像信号に適切な画像処理を施した後、画像を再生記録することが種々の分野で行われている。そして、画像信号を得てこの画像信号に基づいて可視画像を再生するシステムにおいて、その可視画像のうち観察対象となる関心領域をより詳細に観察したいとき、その領域を拡大して再生することがある。この場合、拡大して再生に供する画像データの数を原画像に対応した原画像データのデータ数のままで拡大再生したのでは、人の視覚の特性上その拡大画像の鮮鋭度は原画像よりも相対的に低下したものとして認識される。このため画像を単に拡大再生しただけでは鮮鋭度が低下して画像の詳細な観察はできない。
【0003】
そこで、原画像を読み取って得られた原画像データに対して所定の補間演算を施して原画像データ数とは異なるデータ数、具体的には拡大再生に際しては原画像データよりも多いデータ数の2次的な画像データである補間画像データを求め、この補間画像データに基づいて可視画像の再生を行うことによって、拡大再生した場合でも画像の鮮鋭度の低下を防止することができる。
【0004】
このように画像データに対して補間演算を施す補間演算方法としては従来より種々の方法が提案されているが、一般に3次のスプライン補間関数による方法がよく用いられている。この方法は、デジタル的に得られた原画像データ{Zk}を各区間ごとに3次関数{fk}で結び、補間点の設定位置(上記各区間内での設定位置)におけるfkの値を補間画像データとするものである。
【0005】
このように原画像データを通過する補間演算は、鮮鋭度が比較的高い補間方法であり、例えばCubicスプライン補間演算などが知られている。以下、このCubicスプライン補間演算について具体的に説明する。
【0006】
原画像からデジタル的に読み取って得られた連続する画素Xk-2,Xk-1,Xk,Xk+1,Xk+2,…の画像データ(原画像データ)を図8に示すようにそれぞれZk-2,Zk-1,Zk,Zk+1,Zk+2,…とする。ここで、3次のスプライン補間関数は、各区間Xk-2〜Xk-1,Xk-1〜Xk,Xk〜Xk+1,Xk+1〜Xk+2ごとにそれぞれ設定され、各区間に対応するスプライン補間関数をfk-2,fk-1,fk,fk+1,fk+2とする。この補間関数はいずれも各区間の位置を変数とする3次関数である。
【0007】
ここでまず、補間しようとする点(以下、補間点という)Xpが区間Xk〜Xk+1の範囲にある場合について説明する。なお、区間Xk〜Xk+1に対応するスプライン補間関数fkは下記式(1)で表される。
【0008】
fk(x)=Akx3+Bkx2+Ckx+Dk (1)
Cubicスプライン補間演算においては、スプライン補間関数fkは元のサンプル点(画素)を通ることと、その第1階微分係数が各区間間で連続することが必要とされ、これらの条件から下記式(2)〜(5)を満たす必要がある
fk(Xk)=Zk (2)
fk(Xk+1)=Zk+1 (3)
fk′(Xk)=fk-1′(Xk) (4)
fk′(Xk+1)=fk+1′(Xk+1) (5)
なお、fk′は関数fkの第1階微分(3Akx2+2Bkx+Ck)を表すものである。
【0009】
ここで、Cubicスプライン補間演算は厳密には第2階微分係数の連続条件を含むが、この第2階微分係数の連続条件によれば演算式が複雑になるため、上述のように簡略化して用いるのが一般的である。
【0010】
またCubicスプライン補間演算においては、画素Xkにおける第1階微分係数が、その画素Xkの前後の画素であるXk-1とXk+1とについて、これらの画像データZk-1、Zk+1の勾配(Zk+1−Zk-1)/(Xk+1−Xk-1)に一致することが条件であるから、下記式(6)を満たす必要がある。
【0011】
fk′(Xk)=(Zk+1−Zk-1)/(Xk+1−Xk-1) (6)
同様に、画素Xk+1における第1階微分係数が、その画素Xk+1の前後の画素であるXkとXk+2とについて、これらの画像データZk、Zk+2の勾配(Zk+2−Zk)/(Xk+2−Xk)に一致することが条件であるから、下記式(7)を満たす必要がある。
【0012】
fk′(Xk+1)=(Zk+2−Zk)/(Xk+2−Xk) (7)
ここで、各区間Xk-2〜Xk-1,Xk-1〜Xk,Xk〜Xk+1,Xk+1〜Xk+2の間隔(格子間隔という)を1とし、画素Xkからの画素Xk+1方向への補間点Xpの位置をt(0≦t≦1)とすれば、式(1)〜(7)より、
fk(0)=Dk=Zk
fk(1)=Ak+Bk+Ck+Dk=Zk+1
fk′(0)=Ck=(Zk+1−Zk-1)/2
fk′(1)=3Ak+2Bk+Ck=(Zk+2−Zk)/2
したがって、
Ak=(Zk+2−3Zk+1+3Zk−Zk-1)/2
Bk=(−Zk+2+4Zk+1−5Zk+2Zk-1)/2
Ck=(Zk+1−Zk-1)/2
Dk=Zk
なお、スプライン補間関数fk(x)は上述の通り、X=tなる変数変換をしているため、
fk(x)=fk(t)
となる。よって、補間点Xpにおける補間画像データZpは、
Zp=fk(t)=Akt3+Bkt2+Ckt+Dk (8)
で表すことができる。ここで上記各係数Ak,Bk,Ck,Dkを式(8)に代入すると、
となり、これを画像データZk-1,Zk,Zk+1,Zk+2について整理すると、下記式(9)で表すことができる。
【0013】
ここで、原画像データZk-1、Zk、Zk+1、Zk+2の各係数を補間係数ck-1、ck、ck+1、ck+2と称する。すなわち、式(6)における原画像データZk-1、Zk、Zk+1、Zk+2にそれぞれ対応する補間係数ck-1、ck、ck+1、ck+2は、
ck-1=(−t3+2t2−t)/2
ck=(3t3−5t2+2)/2
ck+1=(−3t3+4t2+t)/2
ck+2=(t3−t2)/2
となる。
【0014】
以上の演算を各区間Xk-2〜Xk-1,Xk-1〜Xk,Xk〜Xk+1,Xk+1〜Xk+2について繰り返すことにより、原画像データの全体について原画像データとは間隔の異なる補間画像データを求めることができる。
【0015】
ところで、上記Cubicスプライン補間演算は、前述したように元のサンプル点(画素)を通ることと、その第1階微分係数が各区間間で連続することが必要とされていて、鮮鋭度の比較的高いシャープな2次画像(補間により得られる画像)を再生するための補間画像データを得る補間関数であるが、一方、原画像の濃度変化が緩い部分についての補間演算では鮮鋭度は比較的低いが滑らかな2次画像を再生するのが望ましい。このように鮮鋭度は比較的低いが滑らかな2次画像を再生する補間画像データを得る補間関数としては例えばBスプライン(Bスプライン)補間演算が知られている。このBスプライン補間演算は、元のサンプル点(画素)を通ることは必要とされない代わりに、第1階微分係数および第2階微分係数(f”(X)で表す)が各区間間で連続することが必要とされる。
【0016】
すなわち、
fk(x)=Akx3+Bkx2+Ckx+Dk (1)
において、
fk′(Xk)=fk-1′(Xk) (4)
fk′(Xk+1)=fk+1′(Xk+1) (5)
fk″(Xk)=fk-1″(Xk) (10)
fk″(Xk+1)=fk+1″(Xk+1) (11)
が条件となる。但し、画素Xkにおける第1階微分係数が、その画素Xkの前後の画素であるXk-1とXk+1とについて、これらの画像データZk-1、Zk+1の勾配(Zk+1−Zk-1)/(Xk+1−Xk-1)に一致することが条件であるから、下記式(6)を満たす必要がある。
【0017】
fk′(Xk)=(Zk+1−Zk-1)/(Xk+1−Xk-1) (6)
同様に、画素Xk+1における第1階微分係数が、その画素Xk+1の前後の画素であるXkとXk+2とについて、これらの画像データZk、Zk+2の勾配(Zk+2−Zk)/(Xk+2−Xk)に一致することが条件であるから、下記式(7)を満たす必要がある。
【0018】
fk′(Xk+1)=(Zk+2−Zk)/(Xk+2−Xk) (7)
また関数f(X)は一般に下記式(12)に示すもので近似される。
【0019】
f(X)=f(0)+f′(0)X+{f″(0)/2}X2 (12)
ここで、各区間Xk-2〜Xk-1,Xk-1〜Xk,Xk〜Xk+1,Xk+1〜Xk+2の間隔(格子間隔という)を1とし、画素Xkからの画素Xk+1方向への補間点Xpの位置をt(0≦t≦1)とすれば、式(1)、(4)〜(7)、(10)〜(12)より、
fk′(0)=Ck=(Zk+1−Zk-1)/2
fk′(1)=3Ak+2Bk+Ck=(Zk+2−Zk)/2
fk″(0)=Zk+1−2Zk+Zk-1=2B
したがって、
Ak=(Zk+2−3Zk+1+3Zk−Zk-1)/6
Bk=(Zk+1−2Zk+Zk-1)/2
Ck=(Zk+1−Zk-1)/2
ここで、Dkは未知のため、
Dk=(D1Zk+2+D2Zk+1+D3Zk+D4Zk-1)/6
とおく。また、スプライン補間関数fk(x)は上述の通り、X=tなる変数変換をしているため、
fk(x)=fk(t)
となる。よって、
となり、これを画像データZk-1,Zk,Zk+1,Zk+2について整理すると、下記式(13)で表すことができる。
【0020】
ここで、t=1とおけば、
次に区間Xk+1〜Xk+2については式(13)と同様に、下記式(14)で表すことができる。
【0021】
ここで、t=0とおけば、
連続性の条件(fk(1)=fk+1(0))、および各原画像データに対応する係数同士が等しいという条件により、D4−1=0,D3−3=D4,D2+3=D3,D1+1=D2,D1=0、となり、したがって、
Dk=(Zk+1+4Zk+Zk-1)/6
となる。よって、
したがって、原画像データZk-1、Zk、Zk+1、Zk+2にそれぞれ対応する補間係数bk-1、bk、bk+1、bk+2は、
bk-1=(−t3+3t2−3t+1)/6
bk=(3t3−6t2+4)/6
bk+1=(−3t3+3t2+3t+1)/6
bk+2=t3/6
となる。
【0022】
以上の演算を各区間Xk-2〜Xk-1,Xk-1〜Xk,Xk〜Xk+1,Xk+1〜Xk+2について繰り返すことにより、原画像データの全体について原画像データとは間隔の異なる補間画像データを求めることができる。
【0023】
このように2次画像(補間画像)を高い鮮鋭度でシャープに再生したい場合は例えばCubicスプライン補間演算を用い、低い鮮鋭度で滑らかに再生したい場合は例えばBスプライン補間演算を用いればよい。
【0024】
【発明が解決しようとする課題】
ところで、人物を被写体とした画像には、人物が着ている服や顔が含まれており、このような画像を拡大する場合には、服の柄などを高い鮮鋭度でシャープに再生し、顔などの肌色の部分は鮮鋭度を低くして粒状等のノイズを除去し、滑らかに再生したいという要求がある。しかしながら、上述したCubicスプライン補間法やBスプライン補間法を用いて画像を拡大した場合、画像の鮮鋭度を部分的に高くしたり、画像を部分的に滑らかにしたりすることができないため、シャープネスを犠牲にするかまたはノイズを犠牲にするかを選択する必要があり、両者をともに満たすように画像を拡大することができなかった。
【0025】
本発明は上記事情に鑑みてなされたものであり、画像の鮮鋭度を部分的に変更して補間拡大および縮小を行うことができる、画像データ補間方法および装置を提供することを目的とするものである。
【0026】
【課題を解決するための手段】
本発明による第1の画像データ補間方法は、画像を構成する画素の間に補間点を挿入することにより、前記画像を表す原画像データを補間して該原画像データとはデータ数が異なる補間画像データを求める画像データ補間方法において、
前記原画像データに対して、互いに鮮鋭度の異なる第1および第2の補間法に基づく補間演算を施すことにより得られる第1および第2の補間画像データの各補間点における補間信号の差分信号を算出し、
該差分信号の絶対値が所定のしきい値未満の場合には該差分信号の信号値を有し、該差分信号の絶対値が前記所定のしきい値以上の場合には、該差分信号の絶対値の増大に伴って該差分信号の絶対値を小さくし、さらに該絶対値よりも大きい一定値を超えた場合は該差分信号の値を0とするように該差分信号を補正することにより補正信号を算出し、
前記原画像データに対して、前記第1および第2の補間法のうちの鮮鋭度が高い方の補間法に基づく補間演算を施して第3の補間画像データを算出し、
前記各補間点における前記第3の補間画像データの補間信号と前記補正信号との差分値を算出することにより、該第3の補間画像データを補正して最終的な補間画像データを得ることを特徴とするものである。
【0027】
本発明による第2の画像データ補間方法は、画像を構成する画素の間に補間点を挿入することにより、前記画像を表す原画像データを補間して該原画像データとはデータ数が異なる補間画像データを求める画像データ補間方法において、
前記原画像データに対して、互いに鮮鋭度の異なる第1および第2の補間法に基づく補間演算を施すことにより得られる第1および第2の補間画像データの各補間点における差分信号を算出し、
該差分信号の絶対値が所定のしきい値未満の場合には、該差分信号の絶対値が前記所定のしきい値以上の場合よりも該差分信号の絶対値を小さくするように該差分信号を補正することにより補正信号を算出し、
前記原画像データに対して、前記第1および第2の補間法のうちの鮮鋭度が低い方の補間法に基づく補間演算を施して第3の補間画像データを算出し、
前記各補間点における前記第3の補間画像データの補間信号と前記補正信号との加算値を算出することにより、該第3の補間画像データを補正して最終的な補間画像データを得ることを特徴とするものである。
【0028】
ここで、上記互いに鮮鋭度の異なる第1および第2の補間法としては、鮮鋭度の低い画像に対応する補間法をBスプライン補間法、これよりも鮮鋭度の高い画像に対応する補間法をCubicスプライン補間法とするのが望ましい。この両者の組合わせの場合は、第1階微分係数が連続するからである。
【0029】
但し、本発明の補間法はこれらの組合わせに限るものではなく、Bスプライン補間法、Cubicスプライン補間法、線形補間法、Lagurange補間法などの種々の補間法を用いることができ、これらのうちの任意の2つの補間演算関数の組合わせることができる。
【0030】
また、特徴量、補間画像データを算出するとは、必ずしも算術式によりそれぞれを計算結果として求める必要はないものであり、例えばコンピュータにおいて本発明の画像データ補間方法を実施する場合において、算出された特徴量および補間画像データをコンピュータのメモリに書き込むなどの物理的な算出をも含むものである。
【0031】
さらに、上記第3の補間法としてこれらの補間法を用いることができ、とくに第3の補間法として前記第1および第2の補間法のいずれか一方とすることが好ましい。
【0032】
また、本発明による第1および第2の画像データ補間方法においては、前記差分信号の算出を、前記第1の補間画像データと前記第2の補間画像データとの各補間点における差分値を算出することにより行ってもよい。
【0033】
また、本発明による第1および第2の画像データ補間方法においては、前記差分信号の算出を、前記第1の補間画像データと前記第2の補間画像データとの各補間点における補間信号の差分値を算出することにより行ってもよい。
【0034】
また、本発明による第1および第2の画像データ補間方法においては、前記差分信号の算出を、前記各補間点の近傍の所定範囲の複数画素における前記第1の補間法による補間係数と前記第2の補間法による補間係数との差分値である差分補間係数を算出し、前記各補間点の近傍の所定範囲の複数画素における信号に、対応する前記差分補間係数をそれぞれ乗算し、該差分補間係数が乗算された前記複数の信号を加算することにより行ってもよい。
【0035】
本発明による第3の画像データ補間方法は、本発明による第1および第2の画像データ補間方法を特にカラー画像に適用したものであり、カラー画像を構成する画素の間に補間点を挿入することにより、前記カラー画像を表す原画像データを補間して該原画像データとはデータ数が異なる補間画像データを求める画像データ補間方法において、
前記原画像データを担持するR,G,Bの色信号を、前記原画像データを担持する輝度信号および色差信号に変換し、
前記輝度信号について本発明による第1または第2の画像データ補間方法に基づいて補間輝度信号を算出し、
前記色差信号について安定度重視で補間色差信号を算出し、
前記補間輝度信号および補間色差信号をR,G,Bの色信号に変換し、該変換して得られたR,G,Bの色信号からなる補間画像データを得ることを特徴とするものである。
【0036】
ここで、安定度重視の補間とは、信号値の連続性を担保する補間であり、例えば上述したBスプライン補間法による補間のことをいうものである。
【0037】
本発明による第1の画像データ補間装置は、画像を構成する画素の間に補間点を挿入することにより、前記画像を表す原画像データを補間して該原画像データとはデータ数が異なる補間画像データを求める画像データ補間装置において、
前記原画像データに対して、互いに鮮鋭度の異なる第1および第2の補間法に基づく補間演算を施すことにより得られる第1および第2の補間画像データの各補間点における補間信号の差分信号を算出する差分信号算出手段と、
該差分信号の絶対値が所定のしきい値未満の場合には該差分信号の信号値を有し、該差分信号の絶対値が前記所定のしきい値以上の場合には、該差分信号の絶対値の増大に伴って該差分信号の絶対値を小さくし、さらに該絶対値よりも大きい一定値を超えた場合は該差分信号の値を0とするように該差分信号を補正することにより補正信号を算出する補正手段と、
前記原画像データに対して、前記第1および第2の補間法のうちの鮮鋭度が高い方の補間法に基づく補間演算を施して第3の補間画像データを算出する補間演算手段と、
前記各補間点における前記第3の補間画像データの補間信号と前記補正信号との差分値を算出することにより、該第3の補間画像データを補正して最終的な補間画像データを得る差分手段とを備えたことを特徴とするものである。
【0038】
本発明による第2の画像データ補間装置は、画像を構成する画素の間に補間点を挿入することにより、前記画像を表す原画像データを補間して該原画像データとはデータ数が異なる補間画像データを求める画像データ補間装置において、
前記原画像データに対して、互いに鮮鋭度の異なる第1および第2の補間法に基づく補間演算を施すことにより得られる第1および第2の補間画像データの各補間点における差分信号を算出する差分信号算出手段と、
該差分信号の絶対値が所定のしきい値未満の場合には、該差分信号の絶対値が前記所定のしきい値以上の場合よりも該差分信号の絶対値を小さくするように該差分信号を補正することにより補正信号を算出する補正手段と、
前記原画像データに対して、前記第1および第2の補間法のうちの鮮鋭度が低い方の補間法に基づく補間演算を施して第3の補間画像データを算出する補間演算手段と、
前記各補間点における前記第3の補間画像データの補間信号と前記補正信号との加算値を算出することにより、該第3の補間画像データを補正して最終的な補間画像データを得る加算手段とを備えたことを特徴とするものである。
【0039】
なお、本発明による第1および第2の画像データ補間装置においては、前記差分信号算出手段を、前記差分信号の算出を、前記第1の補間画像データと前記第2の補間画像データとの各補間点における補間信号の差分値を算出することにより行う手段としてもよい。
【0040】
また、本発明による第1および第2の画像データ補間装置においては、前記差分信号手段を、前記差分信号の算出を、前記各補間点の近傍の所定範囲の複数画素における前記第1の補間法による補間係数と前記第2の補間法による補間係数との差分値である差分補間係数を算出し、前記各補間点の近傍の所定範囲の複数画素における信号に、対応する前記差分補間係数をそれぞれ乗算し、該差分補間係数が乗算された前記複数の信号を加算することにより行う手段としてもよい。
【0041】
また、本発明による第1および第2の画像データ補間装置においては、前記互いに鮮鋭度の異なる第1および第2の補間法のうち一方がBスプライン補間法、他方がCubicスプライン補間法であってもよい。
【0042】
本発明による第3の画像データ補間装置は、カラー画像を構成する画素の間に補間点を挿入することにより、前記カラー画像を表す原画像データを補間して該原画像データとはデータ数が異なる補間画像データを求める画像データ補間装置において、
前記原画像データを担持するR,G,Bの色信号を、前記原画像データを担持する輝度信号および色差信号に変換する第1の変換手段と、
前記輝度信号について本発明による第1および第2の画像データ補間方法による補間演算を施して補間輝度信号を算出する補間輝度信号算出手段と、
前記色差信号に安定度重視の補間法による補間演算を施して補間色差信号を算出する補間色差信号算出手段と、
前記補間輝度信号および補間色差信号をR,G,Bの色信号に変換し、該変換して得られたR,G,Bの色信号からなる補間画像データを得る第2の変換手段とを備えたことを特徴とするものである。
【0043】
【発明の効果】
本発明による第1の画像データ補間方法および装置においては、互いに鮮鋭度が異なる第1および第2の補間法に基づく補間演算を原画像データに対して施すことにより得られる第1および第2の補間画像データの各補間点における補間信号の差分信号を算出し、差分信号の絶対値が所定のしきい値未満の場合には差分信号の信号値を有し、差分信号の絶対値が所定のしきい値以上の場合には、差分信号の絶対値の増大に伴って差分信号の絶対値を小さくし、さらに絶対値よりも大きい一定値を超えた場合は差分信号の値を0とするように差分信号を補正することにより補正信号を算出し、原画像データに対して、第1および第2の補間法のうちの鮮鋭度が高い方の補間法に基づく補間演算を施して第3の補間画像データを算出し、各補間点における前記第3の補間画像データの補間信号と補正信号との差分値を算出することにより、第3の補間画像データを補正して最終的な補間画像データを得る。
【0044】
本発明による第2の画像データ補間方法および装置においては、互いに鮮鋭度が異なる第1および第2の補間法に基づく補間演算を原画像データに対して施すことにより得られる第1および第2の補間画像データの各補間点における補間信号の差分信号を算出し、差分信号の絶対値が所定のしきい値未満の場合には、差分信号の絶対値が所定のしきい値以上の場合よりも差分信号の絶対値を小さくするように差分信号を補正することにより補正信号を算出し、原画像データに対して、第1および第2の補間法のうちの鮮鋭度が低い方の補間法に基づく補間演算を施して第3の補間画像データを算出し、各補間点における第3の補間画像データの補間信号と補正信号との加算値を算出することにより、第3の補間画像データを補正して最終的な補間画像データを得る。
【0045】
これにより、高い鮮鋭度でシャープに再生したい部分については鮮鋭度を強調し、低い鮮鋭度で滑らかに再生したい部分については鮮鋭度を低減することができる。したがって、シャープネスやノイズ低減効果を犠牲にすることなく画像の鮮鋭度を部分的に高くしたり、画像を部分的に滑らかにしたりすることができる。
【0046】
【発明の実施の形態】
以下図面を参照して本発明の実施形態について説明する。
【0047】
図1は本発明の第1の実施形態による画像データ補間方法を実施するための補間演算装置30を内包する画像再生システムを示す概略ブロック図である。図1に示すように、第1の実施形態を内包する画像再生システムは、画像を表す画像データを記憶した画像データ記憶装置10と、所定の再生サイズに適合するように画像データ記憶装置10に記憶された原画像データSorg(カラー、白黒のいずれでもよい)に対して所定の信号処理を施す画像処理装置20と、画像処理装置20により所定の信号処理が施された補間画像データS′に基づいて、上記所望の再生サイズの可視画像を再生するCRTやプリンタ等の再生手段40とを備えた構成である。
【0048】
画像処理装置20は、例えば、画像を出力する印画紙のサイズ(Lサイズ、ポストカードサイズ、A4サイズなど)に適合するように原画像データSorgを信号処理するものであり、特に画像の拡大縮小に際して、原画像データSorgとはデータ数の異なる補間画像データを補間演算によって算出する本発明の補間演算装置30を内包しているものである。
【0049】
ここで本実施形態において使用される原画像データSorgは、等間隔の周期でサンプリングされた一方向に配列されたサンプリング点(画素)Xk-2,Xk-1,Xk,Xk+1,Xk-2…に対応したデジタル画像データ(Sk-2,Sk-1,Sk,Sk+1Sk+2…)である。
【0050】
画像処理装置20に内包された補間演算装置30は、原画像データSorgについてCubicスプライン補間法(第1および第3の補間法)により各補間点における補間信号SCを求めるCubicスプライン補間演算手段31と、原画像データSorgについてBスプライン補間法(第2の補間法)により各補間点における補間信号SBを求めるBスプライン補間演算手段32と、補間信号SCと補間信号SBとの各補間点における差分値である差分信号ΔS(=SC−SB)を算出する加算手段33と、差分信号ΔSを後述するように補正して補正信号ΔS′を得る補正手段34と、各補間点における補間信号SCと補正信号ΔS′とを減算して最終的な補間画像データS′(=SC−ΔS′)を得る加算手段35とを備えた構成である。
【0051】
Cubicスプライン補間演算手段31は、既述のCubicスプライン補間方法に従って、原画像データSorgの各補間点における補間信号SCを求める。具体的には、オリジナルのサンプリング点(画素)Xk-1〜Xk+2間に設けられた補間点Xpの補間信号SCを3次のCubicスプライン補間演算式(16)により求める。
【0052】
SC=ck-1Sk-1+ckSk+ck+1Sk+1+ck+2Sk+2 (16)
ck-1=(−t3+2t2−t)/2
ck=(3t3−5t2+2)/2
ck+1=(−3t3+4t2+t)/2
ck+2=(t3−t2)/2
(但し、t(0≦t≦1)は格子間隔を1とし、画素Xkを基準としたときの補間点Xpの画素Xk+1方向への位置を示す。)
Bスプライン補間演算手段32は、既述のBスプライン補間方法に従って、原画像データSorgの各補間点における補間信号SBを求める。具体的には、オリジナルのサンプリング点Xk-1〜Xk+2間に設けられた補間点Xpの補間信号SBを3次のBスプライン補間演算式(17)により求める。
【0053】
SB=bk-1Sk-1+bkSk+bk+1Sk+1+bk+2Sk+2 (17)
bk-1=(−t3+3t2−3t+1)/6
bk=(3t3−6t2+4)/6
bk+1=(−3t3+3t2+3t+1)/6
bk+2=t3/6
(但し、t(0≦t≦1)は格子間隔を1とし、画素Xkを基準としたときの補間点Xpの画素Xk+1方向への位置を示す。)
また、実際の画像は画素が2次元に配列されて形成されるため、上記Cubicスプライン補間係数ck-1,ck,ck+1,ck+2、およびBスプライン補間係数bk-1,bk,bk+1,bk+2は、それぞれ画像を構成する画素の互いに異なる2つの配列方向(i方向、j方向とする)ごとに求められるものであり、そのように求められたものを、それぞれCij、Bijと表記するものとすることがあるものとする。
【0054】
ここで、本実施形態の画像再生システムは単に補間画像データS′を出力するだけでなく、補間画像データS′の配列の間隔を原画像データSorgの配列間隔と同一になるように拡張することによって、補間画像は原画像を拡大したものとして再生される。
【0055】
補正手段34は、補間信号SCと補間信号SBとの各補間点における差分値である差分信号ΔSの値に基づいて補正信号ΔS′を算出するものであり、具体的には図2に示すような補正関数に基づいて補正信号ΔS′を算出するものである。すなわち、差分信号ΔSの絶対値がS1より小さい場合には、差分信号ΔSの値をそのまま補正信号ΔS′の値とし(ΔS=ΔS′)、差分信号ΔSの絶対値がS1より大きくなるのに応じて補正信号ΔS′の絶対値を小さくし、さらに絶対値が一定値を超えた場合は補正信号ΔS′の値を0とするものである。
【0056】
ここで、補間信号SCは上述したCubicスプライン補間法に基づいて算出されているため、鮮鋭度の比較的高いシャープな画像を再生する信号となっており、補間信号SBは上述したBスプライン補間法に基づいて算出されているため、鮮鋭度は比較的低いが滑らかな画像を再生する信号となっている。このため、補間信号SCと補間信号SBとの差分値である差分信号ΔSにおいては、画像中のエッジ部分などの鮮鋭度の高い部分においては値が大きく、画像中の滑らかな部分については値が小さいものとなっている。したがって、この差分信号ΔSを補正手段34において図2に示す補正関数に基づいて補正することにより、補正信号ΔS′は、画像中の鮮鋭度が高い部分については0もしくは低い値となり、画像中の滑らかな部分については鮮鋭度が高い部分よりも大きな値を有するものとなる。
【0057】
次に、本実施形態の画像再生システムの作用について説明する。
【0058】
まず、画像処理装置20は画像データ記憶装置10に予め記憶されている原画像データSorgを読み出す。また画像処理装置20は、再生手段40の印画紙のサイズに応じた拡大画像を表す補間画像データS′を得るために、この読み出された原画像データSorgを画像処理装置20内の補間演算装置30に入力する。
【0059】
補間演算装置30に入力された原画像データSorgは、Cubicスプライン補間演算手段31およびBスプライン補間演算手段32に入力される。Cubicスプライン補間演算手段31、Bスプライン補間演算手段32は、再生手段40の印画紙のサイズに応じた各補間係数におけるtの値を設定する。例えば2倍の拡大率が入力された場合は、tの値として0.5および1.0が設定され、4倍の場合は0.25,0.5,0.75,1.0の各値が設定され、10倍の場合は0.1,0.2,…,1.0の各値がtの値として設定されて補間信号SC,SBがそれぞれ求められる。Cubicスプライン補間演算手段31において求められた補間信号SCと、Bスプライン補間演算手段32において求められた補間信号SBとはそれぞれ加算手段33に入力され、この加算手段33において補間信号SCと補間信号SBとの各補間点における差分信号ΔSが算出される。算出された差分信号ΔSは補正手段34に入力される。
【0060】
補正手段34に入力された差分信号ΔSは図2に示す補正関数に基づいて補正されて補正信号ΔS′が算出される。ここで、差分信号ΔSにおいては、画像中のエッジ部分など鮮鋭度が高い部分においては値が大きく、人物の顔など画像中の滑らかな部分については値が小さいものとなっているため、差分信号ΔSを図2に示す補正関数に基づいて補正することにより、補正信号ΔS′は、画像中の鮮鋭度が高い部分については0もしくは低い値となり、画像中の滑らかな部分については鮮鋭度が高い部分よりも大きな値を有するものとなる。
【0061】
補正手段34において算出された補正信号ΔS′は加算手段35に入力され、各補間点における補間信号SCと補正信号ΔS′との差分値が算出される。ここで、補間信号SCはCubicスプライン補間法に基づいて算出されているため、図3(a)に示すように鮮鋭度の比較的高いシャープな画像を再生する信号となっているが、画像中の本来滑らかであるべき肌色の部分においては図3(a)の部分Bに示すように写真の粒状等のノイズが目立ったものとなっている。一方、補正信号ΔS′は図3(b)に示すように画像中の鮮鋭度が高い部分(図3(a)の部分A)については0もしくは低い値であり、滑らかな部分については鮮鋭度が高い部分よりも大きな値を有するものとなっている。したがって、補間信号SCから補正信号ΔS′を減算することにより得られる差分値からなる補間画像データS′は、図3(c)に示すように、補間信号SC中の鮮鋭度が高い部分Aの値が保存され、本来滑らかであるべき部分Bにおけるノイズが除去されたものとなる。このようにして得られた補間画像データS′は再生手段40に入力される。
【0062】
再生手段40は入力された補間画像データS′に基づいた画像を可視画像として再生する。上述の処理により、この再生された可視画像は、画像中のエッジや細かい模様等の部分については鮮鋭度の比較的高いシャープな画像となっており、人物の肌色などの部分については鮮鋭度は比較的低いが滑らかな画像となっている。したがって、画像中の部分に応じた鮮鋭度を有する画像が再生できるように原画像の拡大縮小を行うことができる。
【0063】
次いで、本発明の第2の実施形態について説明する。
【0064】
図4は本発明の第2の実施形態による画像データ補間方法を実施するための補間演算装置30の構成を示す図である。なお、図2においては、図1に示した画像データ記憶装置10、画像処理装置20および再生手段40を省略している。第2の実施形態は、Bスプライン補間演算手段32および加算手段33に代えて、上記Cubicスプライン補間演算式(16)における補間係数ck-1,ck,ck+1,ck+2と、Bスプライン補間演算式(17)における補間係数bk-1,bk,bk+1,bk+2との各補間点における差分値を差分補間係数dk-1,dk,dk+1,dk+2として算出し、この差分補間係数dk-1,dk,dk+1,dk+2に基づいて補間演算を行い、各補間点における差分補間信号ΔS″を得る(Cubicスプライン−Bスプライン)補間演算手段36を備えた点が第1の実施形態と異なるものである。
【0065】
ここで、(Cubicスプライン−Bスプライン)補間演算手段36においては、Cubicスプライン補間演算式(16)における補間係数ck-1,ck,ck+1,ck+2と、Bスプライン補間演算式(17)における補間係数bk-1,bk,bk+1,bk+2との各補間点における差分値を差分補間係数dk-1,dk,dk+1,dk+2として算出し、この差分補間係数dk-1,dk,dk+1,dk+2に基づいて補間演算を行っているため、得られる差分補間信号ΔS″は、上記第1の実施形態の加算手段33において得られる補間信号SCと補間信号SBとの差分信号ΔSと実質的に同一の値となるものである。
【0066】
したがって、差分補間信号ΔS″を補正手段34において補正して補正信号ΔS′を得、加算手段35において各補間点における補間信号SCと補正信号ΔS′との差分値を算出することにより、第1の実施形態と同様に図3(c)に示すように、補間信号SC中の鮮鋭度が高い部分Aの値が保存され、本来滑らかであるべき部分Bにおけるノイズが除去された信号からなる補間画像データS′を得ることができる。したがって、この補間画像データS′を再生手段40において再生することにより、画像中のエッジや細かい模様等の部分については鮮鋭度の比較的高いシャープな画像となり、人物の肌色などの部分については鮮鋭度は比較的低いが滑らかな画像となるため、画像中の部分に応じた鮮鋭度を有する画像が再生できるように原画像の拡大縮小を行うことができる。
【0067】
また、第2の実施形態においては、(Cubicスプライン−Bスプライン)補間演算手段36において実質的に第1の実施形態における加算手段33における処理をも同時に行うことができるため、装置の構成を簡易なものとすることができるとともに、演算時間を短縮して高速に処理を行うことができる。
【0068】
なお、上記第1および第2の実施形態においては、補正信号ΔS′をCubicスプライン補間演算手段31において算出された補間信号SCに対して加算しているが、Bスプライン補間演算手段32において算出された補間信号SBに対して加算するようにしてもよい。この場合、Bスプライン補間法が第3の補間法となる。またこの場合、補正手段34において用いられる補正関数としては、図2に示すものとは逆に、差分信号ΔSまたは差分補間信号ΔS″の信号値が小さい部分については0もしくは低い値とし、信号値が大きい部分についてはこれよりも大きな値となるような関数とするものである。
【0069】
次いで、本発明の第3の実施形態について説明する。
【0070】
図5は本発明の第3の実施形態による画像データ補間方法を実施するための補間演算装置30の構成を示す図である。なお、図2においては、図1に示した画像データ記憶装置10、画像処理装置20および再生手段40を省略している。第3の実施形態による補間演算装置30は、原画像データSorgについて公知のLagurange補間法(第3の補間法)により補間信号SLを求めるLagurange補間演算手段37と、上記第1および第2の実施形態と同様に各補間点における補間信号SC,SBを算出するCubicスプライン補間演算手段31およびBスプライン補間演算手段32と、補間信号SCと補間信号SBとをそれぞれ補正して補正補間信号SC′,SB′を得る補正手段34′と、各補間点における補正補間信号SC′を補正補間信号SB′により除して除算信号SDを得る除算手段38と、除算信号SDに基づいて補間信号SLを補正するための補正信号SD′を得る演算手段39と、各補間点における補正信号SD′を補間信号SLに乗じる乗算手段50とを備えた構成である。なお、第3の実施形態においては、Cubicスプライン補間法が第1の補間法、Bスプライン補間法が第2の補間法となる。
【0071】
補正手段34′は、図6に示すような補正関数により補間信号SC、SBを補正するものである。すなわち、画像中における信号値が大きい明るい部分については暗い部分よりも視覚的に濃度の差を認識しやすいものであるため、図6に示す補正関数により補間信号SC,SBを補正することにより、より信号値が大きい明るい部分が強調されることとなる。
【0072】
除算手段38は、各補間点における補正補間信号SC′を補正補間信号SB′により除して除算信号SDを得るものである。ここで、補間信号SCは上述したCubicスプライン補間法に基づいて算出されているため、鮮鋭度の比較的高いシャープな画像を再生する信号となっており、補間信号SBは上述したBスプライン補間法に基づいて算出されているため、鮮鋭度は比較的低いが滑らかな画像を再生する信号となっている。このため、除算信号SDは、画像中のエッジ部分などの鮮鋭度の高い部分においては値が1より大きく、画像中の滑らかな部分については値が1程度のものとなっている。
【0073】
演算手段39は除算信号SDに基づいて、補間信号SLを補正するための補正信号SD′を得るためのものであり、具体的に補正信号SD′は除算信号SDの値が1に近いほど1よりも小さい値となり、除算信号SDの値が1より大きいほど1よりも大きい値となるように演算手段39において補正信号SD′が演算される。
【0074】
次に、第3の実施形態の作用について説明する。
【0075】
補間演算装置30に入力された原画像データSorgは、Lagurange補間演算手段37、Cubicスプライン補間演算手段31およびBスプライン補間演算手段32に入力される。Lagurange補間演算手段37においてはLagurange補間法に基づいて補間信号SLが算出される。Cubicスプライン補間演算手段31およびBスプライン補間演算手段32においては上記第1の実施形態と同様に各補間点における補間信号SC,SBが算出される。補間信号SC,SBはそれぞれ補正手段34′に入力され、図6に示す補正関数に基づいて補正されて各補間点における補正補間信号SC′,SB′が算出される。補正補間信号SC′,SB′は除算手段38に入力され、各補間点における除算信号SD(=SC′/SB′)が算出される。ここで、除算信号SDにおいては、画像中のエッジ部分などの鮮鋭度の高い部分においては値が1より大きく、画像中の滑らかな部分については値が1程度となっている。除算信号SDは演算手段39に入力され、ここで画像中のエッジ部分などの鮮鋭度の高い部分においては値が1より大きく、画像中の滑らかな部分については値が1より小さい補正信号SD′が算出される。
【0076】
各補間点における補正信号SD′は乗算手段50において補間信号SLに乗算される。ここで、補間信号SLは鮮鋭度が高くもなく低くもない画像を再生するものであるが、補正信号SD′が乗算されることにより、滑らかな部分は信号値が小さくなり、本来鮮鋭度が比較的高い部分は信号値が大きくなるように補正される。したがって、補間信号SLに補正信号SD′を乗算することにより得られる乗算信号からなる補間画像データS′は、補間信号SL中の本来滑らかであるべき部分の値が低減され、鮮鋭度が高い部分の値が強調されたものとなる。そしてこのようにして得られた補間画像データS′は再生手段40に入力されて可視像として再生される。
【0077】
このように第3の実施形態においても、再生手段40において再生される可視画像は、画像中のエッジや細かい模様等の部分については鮮鋭度の比較的高いシャープな画像となっており、人物の肌色などの部分については鮮鋭度は比較的低いが滑らかな画像となっているため、画像中の部分に応じた鮮鋭度を有する画像が再生できるように原画像の拡大縮小を行うことができる。
【0078】
なお、上記第3の実施形態においては、補正手段34′において補間信号SC,SBに対して図6に示す補正関数により補正を行うようにしているが、原画像データSorgに対してまずこの補正関数により補正を行い、その後Cubicスプライン補間演算手段31およびBスプライン補間演算手段32において補間演算を行うようにしてもよい。また、この補正を行わなくてもよいものである。
【0079】
次いで、本発明の第4の実施形態について説明する。
【0080】
図7は、本発明の第4の実施形態による画像データ補間方法を実施するための補間演算装置30の構成を示す図である。なお、図7においては、図1に示した画像データ記憶装置10、画像処理装置20および再生手段40を省略している。第4の実施形態による補間演算装置30は、特にカラーの原画像データSorgに対して処理を行うものであり、原画像データSorgの各画素データを表すRGBの色信号を下記式(18)に従って、YCC輝度色差信号に変換する第1の変換手段51と、
Y=0.299×R+0.587×G+0.114×B
C1=-0.299×R−0.587×G+0.886×B
C2=0.701×R−0.587×G−0.114×B (18)
変換手段51により得られたYCC輝度色差信号のうち輝度信号Yについて強調Cubicスプライン補間法(第1および第3の補間法)により各補間点における補間輝度信号YCを求める強調Cubicスプライン補間演算手段31′(補間輝度信号算出手段)と、輝度信号Yについて強調Bスプライン補間法(第2の補間法)により各補間点における補間輝度信号YBを求める強調Bスプライン補間演算手段32′(補間色差信号算出手段)と、色差信号C1およびC2について安定度重視のBスプライン補間法により各補間点における補間色差信号C1B、C2Bを求めるBスプライン補間演算手段32と、各補間点における補間輝度信号YCと補間輝度信号YBとの差分値である差分輝度信号ΔYを算出する加算手段33′と、上述した第1の実施形態と同様に差分輝度信号ΔYを補正して補正輝度信号ΔY′を得る補正手段34′と、各補間点における補間輝度信号YCから補正輝度信号ΔY′を減算して補間画像信号Y′を得る加算手段35′と、YCC輝度色差信号を下記式(19)に従って、RGB色信号に変換する第2の変換手段52とを備えた構成である。
【0081】
R=Y′+C2
G=Y′−0.194×C2−0.509×C2
B=Y′+C1 (19)
ここで、強調Cubicスプライン補間演算手段31′および強調Bスプライン補間演算手段32′においては、例えば特開平9−93426号公報に記載されているように、上述した補間係数ck-1,ck,ck+1,ck+2および補間係数bk-1,bk,bk+1,bk+2を、次式(20)〜(23)にしたがって、原画像データYk-1、Yk、Yk+1、Yk+2に対応するごとに重み付けして加算して補間係数ak-2,ak-1,ak,ak+1,ak+2を決定し、この補間係数ak-2,ak-1,ak,ak+1,ak+2に基づいて補間演算を行うものである。
【0082】
そして、強調Cubicスプライン補間演算手段31′においては、係数αの値を0よりも小さい値とすることにより、通常のCubicスプライン補間法により得られる画像よりも、一層鮮鋭度の高いシャープな補間画像を得ることができ、強調Bスプライン補間演算手段32′においては、係数αの値を1よりも大きい値とすることにより、通常のBスプライン補間法により得られる画像よりも、さらに滑らかな補間画像を得ることができるものである。
【0083】
次に、第4の実施形態の作用について説明する。
【0084】
原画像データSorgは、まず第1の変換手段51に入力され、R,G,Bの各色信号は前述の式(18)により輝度色差信号YCCに変換される。その後、輝度信号Yは強調Cubicスプライン補間演算手段31′および強調Bスプライン補間演算手段32′に入力され、色差信号C1およびC2はBスプライン補間演算手段32に入力される。
【0085】
強調Cubicスプライン補間演算手段31′および強調Bスプライン補間演算手段32′においては、輝度信号Yに対して上述した式(20)〜(23)により求められた補間係数ak-1,ak,ak+1,ak+2および係数αに基づいて補間演算が行われ各補間点における補間輝度信号YC,YBが得られる。一方、Bスプライン補間演算手段32においては、上記第1の実施形態と同様にBスプライン補間法に基づく補間演算が行われ、各補間点における補間色差信号C1B,C2Bが得られる。
【0086】
補間輝度信号YC,YBは加算手段33′、補正手段34′および加算手段35′において上記第1の実施形態と同様に演算が行われ、補間輝度信号Y′が得られる。補間輝度信号Y′と、補間色差信号C1BおよびC2Bはそれぞれ第2の変換手段52に入力され、この第2の変換手段52において前述の式(19)により補間色信号R′,G′,B′に変換される。
【0087】
この補間演算装置30において得られた補間色信号R′,G′,B′は補間画像データS′における各色信号であり、補間画像データS′は再生手段40に入力されて可視像として再生される。
【0088】
このように第4の実施形態においては、輝度信号Yに対して上記第1の実施形態と同様の補間演算を行うことにより、輝度信号Yについては画像中のエッジや細かい模様等の部分が鮮鋭度の比較的高いシャープな画像となり、人物の肌色などの部分が鮮鋭度は比較的低いが滑らかな画像となる。一方、色差信号C1,C2については滑らかな画像となる。このため、従来、鮮鋭度重視の補間方法によりRGB各色信号についてそれぞれ補間色信号を求めていたために生じた、データ補間後の可視画像における各画素での異なる方向および異なる量の色相ずれを生じることがなくなる。一方、人間の視覚は輝度信号に対して非常に敏感であるが、色差信号についてはそれほど敏感ではないものであるため、画像の鮮鋭度は輝度変化に依存するものである。第4の実施形態においては、輝度信号に対しては輝度信号に対して上記第1の実施形態と同様の補間演算を行うことにより、最終的に得られた補間画像データS′を再生することにより得られた画像について、エッジや細かい模様等の部分については鮮鋭度の比較的高いシャープなものとすることができるとともに、人物の肌色などの部分については鮮鋭度は比較的低いが滑らかなものとすることができる。
【0089】
なお、上記第4の実施形態においては、強調Cubicスプライン補間演算手段31′および強調Bスプライン補間演算手段32′により輝度信号Yに対して補間演算を行っているが、上記第1の実施形態と同様のCubicスプライン補間演算手段31およびBスプライン補間演算手段32により補間演算を行ってもよく、第2の実施形態あるいは第3の実施形態と同様に補間演算を行ってもよいものである。
【0090】
また、上記第1から第3の実施形態においては、Cubicスプライン補間演算手段31およびBスプライン補間演算手段32あるいは(Cubicスプライン−Bスプライン)補間演算手段36により補間演算を行っているが、第4の実施形態のように強調Cubicスプライン補間演算手段31′および強調Bスプライン補間演算手段32′により原画像データSorgに対して補間演算を行ってもよい。
【0091】
さらに、上記第4の実施形態においては、補正輝度信号ΔY′を強調Cubicスプライン補間演算手段31′において算出された補間輝度信号YCに対して加算しているが、強調Bスプライン補間演算手段32′において算出された補間輝度信号YBに対して加算するようにしてもよい。
【0092】
また、第4の実施形態においては、輝度色差空間における信号としてYCC輝度色差信号を用いたが、Lab,Luv等で表される輝度色差信号を用いてもよい。
【0093】
なお、本実施形態においては、補間演算装置30は、画像データ記憶装置10に予め記憶された原画像データSorgを用いるものについて説明したが、本発明の補間演算装置はこの形態に限るものではなく、画像読取装置により読み取って得られた、画像を表す画像データを用いる形態であってもよい。
【図面の簡単な説明】
【図1】本発明の第1の実施形態による画像データ補間装置を内包する画像再生システムを示すブロック図
【図2】補正関数を示すグラフ
【図3】第1の実施形態の加算手段35において行われる処理を説明するための図
【図4】本発明の第2の実施形態による画像データ補間装置の構成を示すブロック図
【図5】本発明の第3の実施形態による画像データ補間装置の構成を示すブロック図
【図6】第3の実施形態において用いられる補正関数を示すグラフ
【図7】本発明の第4の実施形態による画像データ補間装置の構成を示すブロック図
【図8】従来の、等間隔の周期でサンプリングされた一方向に配列されたサンプリング点(画素)の原画像データからCubicスプライン補間演算により補間画像データを求める作用を説明するグラフ
【符号の説明】
10 画像データ記憶装置
20 画像処理装置
30 補間演算装置
31 Cubicスプライン補間演算手段
31′ 強調Cubicスプライン補間演算手段
32 Bスプライン補間演算手段
32′ 強調Bスプライン補間演算手段
33,35 加算手段
34 補正手段
36 (Cubicスプライン−Bスプライン)補間演算手段
37 Lagurange補間演算手段
38 除算手段
39 演算手段
40 再生手段
50 乗算手段[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image data interpolation method and apparatus.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, in various fields, an image recorded on a photographic film is photoelectrically read to obtain an image signal, the image signal is subjected to appropriate image processing, and the image is reproduced and recorded. In a system that obtains an image signal and reproduces a visible image based on the image signal, when it is desired to observe a region of interest to be observed in the visible image in more detail, it is possible to enlarge and reproduce the region. is there. In this case, if the number of image data to be enlarged and used for reproduction is enlarged and reproduced with the number of original image data corresponding to the original image, the sharpness of the enlarged image is higher than that of the original image due to human visual characteristics. Are also perceived as having relatively decreased. Therefore, the mere sharp reproduction of the image lowers the sharpness and makes it impossible to observe the image in detail.
[0003]
Therefore, a predetermined interpolation operation is performed on the original image data obtained by reading the original image to obtain a data number different from the original image data number. By obtaining the interpolated image data as secondary image data and reproducing the visible image based on the interpolated image data, it is possible to prevent the sharpness of the image from lowering even when the image is reproduced in an enlarged manner.
[0004]
As described above, various methods of performing an interpolation operation on image data have conventionally been proposed, but generally, a method using a cubic spline interpolation function is often used. This method uses digitally obtained original image data {Zk} Is a cubic function {fk結 び, f at the set position of the interpolation point (the set position within each of the above sections)kIs used as interpolation image data.
[0005]
The interpolation calculation that passes through the original image data is an interpolation method with relatively high sharpness, and for example, a Cubic spline interpolation calculation is known. Hereinafter, the Cubic spline interpolation calculation will be specifically described.
[0006]
Consecutive pixels X obtained by digitally reading from the original imagek-2, Xk-1, Xk, Xk + 1, Xk + 2,... (Original image data) as shown in FIG.k-2, Zk-1, Zk, Zk + 1, Zk + 2, ... Here, the cubic spline interpolation function is expressed in each section Xk-2~ Xk-1, Xk-1~ Xk, Xk~ Xk + 1, Xk + 1~ Xk + 2And the spline interpolation function corresponding to each section is set as fk-2, Fk-1, Fk, Fk + 1, Fk + 2And Each of the interpolation functions is a cubic function using the position of each section as a variable.
[0007]
Here, first, a point to be interpolated (hereinafter referred to as an interpolation point) XpIs section Xk~ Xk + 1Will be described. Note that section Xk~ Xk + 1Spline interpolation function f corresponding tokIs represented by the following equation (1).
[0008]
fk(X) = AkxThree+ BkxTwo+ Ckx + Dk (1)
In the Cubic spline interpolation operation, the spline interpolation function fkNeeds to pass through the original sample point (pixel) and its first derivative must be continuous in each section. From these conditions, it is necessary to satisfy the following equations (2) to (5)
fk(Xk) = Zk (2)
fk(Xk + 1) = Zk + 1 (3)
fk′ (Xk) = Fk-1′ (Xk) (4)
fk′ (Xk + 1) = Fk + 1′ (Xk + 1) (5)
Note that fk'Is the function fkFirst derivative (3AkxTwo+ 2Bkx + Ck).
[0009]
Here, the Cubic spline interpolation operation strictly includes the continuous condition of the second derivative, but the operation condition becomes complicated according to the continuous condition of the second derivative. It is generally used.
[0010]
In the Cubic spline interpolation calculation, the pixel XkIs the first derivative of the pixel XkX which is the pixel before and afterk-1And Xk + 1And these image data Zk-1, Zk + 1Gradient (Zk + 1-Zk-1) / (Xk + 1-Xk-1) Is a condition, so that the following equation (6) must be satisfied.
[0011]
fk′ (Xk) = (Zk + 1-Zk-1) / (Xk + 1-Xk-1) (6)
Similarly, pixel Xk + 1Is the first derivative of the pixel Xk + 1X which is the pixel before and afterkAnd Xk + 2And these image data Zk, Zk + 2Gradient (Zk + 2-Zk) / (Xk + 2-Xk) Is a condition, so that the following equation (7) must be satisfied.
[0012]
fk′ (Xk + 1) = (Zk + 2-Zk) / (Xk + 2-Xk) (7)
Here, each section Xk-2~ Xk-1, Xk-1~ Xk, Xk~ Xk + 1, Xk + 1~ Xk + 2Is defined as 1 and the pixel XkPixel X fromk + 1Interpolation point X in directionpIs defined as t (0 ≦ t ≦ 1), from equations (1) to (7),
fk(0) = Dk= Zk
fk(1) = Ak+ Bk+ Ck+ Dk= Zk + 1
fk'(0) = Ck= (Zk + 1-Zk-1) / 2
fk'(1) = 3Ak+ 2Bk+ Ck= (Zk + 2-Zk) / 2
Therefore,
Ak= (Zk + 2-3Zk + 1+ 3Zk-Zk-1) / 2
Bk= (-Zk + 2+ 4Zk + 1-5Zk+ 2Zk-1) / 2
Ck= (Zk + 1-Zk-1) / 2
Dk= Zk
Note that the spline interpolation function fk(X) performs the variable transformation of X = t as described above,
fk(X) = fk(T)
It becomes. Therefore, the interpolation point XpImage data Z inpIs
Zp= Fk(T) = AktThree+ BktTwo+ Ckt + Dk (8)
Can be represented by Where each coefficient Ak, Bk, Ck, DkIs substituted into equation (8),
And the image data Zk-1, Zk, Zk + 1, Zk + 2Can be expressed by the following equation (9).
[0013]
Here, the original image data Zk-1, Zk, Zk + 1, Zk + 2Is used as the interpolation coefficient ck-1, Ck, Ck + 1, Ck + 2Called. That is, the original image data Z in the equation (6)k-1, Zk, Zk + 1, Zk + 2Interpolation coefficients c corresponding tok-1, Ck, Ck + 1, Ck + 2Is
ck-1= (-TThree+ 2tTwo−t) / 2
ck= (3tThree-5tTwo+2) / 2
ck + 1= (-3tThree+ 4tTwo+ T) / 2
ck + 2= (TThree-TTwo) / 2
It becomes.
[0014]
The above operation is performed for each section Xk-2~ Xk-1, Xk-1~ Xk, Xk~ Xk + 1, Xk + 1~ Xk + 2Is repeated, interpolation image data having a different interval from the original image data can be obtained for the entire original image data.
[0015]
By the way, the Cubic spline interpolation operation needs to pass through the original sample point (pixel) as described above, and its first-order differential coefficient needs to be continuous between sections. This is an interpolation function for obtaining interpolated image data for reproducing a highly sharp secondary image (an image obtained by interpolation). On the other hand, the sharpness is relatively low in the interpolation calculation for a portion where the density change of the original image is gentle. It is desirable to reproduce a low but smooth secondary image. As an interpolation function for obtaining interpolated image data for reproducing a smooth secondary image with relatively low sharpness, for example, a B-spline (B-spline) interpolation operation is known. This B-spline interpolation operation does not require passing through the original sample points (pixels), but instead, the first derivative and the second derivative (represented by f ″ (X)) are continuous between sections. Is required.
[0016]
That is,
fk(X) = AkxThree+ BkxTwo+ Ckx + Dk (1)
At
fk′ (Xk) = Fk-1′ (Xk) (4)
fk′ (Xk + 1) = Fk + 1′ (Xk + 1) (5)
fk″ (Xk) = Fk-1″ (Xk) (Ten)
fk″ (Xk + 1) = Fk + 1″ (Xk + 1) (11)
Is a condition. However, pixel XkIs the first derivative of the pixel XkX which is the pixel before and afterk-1And Xk + 1And these image data Zk-1, Zk + 1Gradient (Zk + 1-Zk-1) / (Xk + 1-Xk-1) Is a condition, so that the following equation (6) must be satisfied.
[0017]
fk′ (Xk) = (Zk + 1-Zk-1) / (Xk + 1-Xk-1) (6)
Similarly, pixel Xk + 1Is the first derivative of the pixel Xk + 1X which is the pixel before and afterkAnd Xk + 2And these image data Zk, Zk + 2Gradient (Zk + 2-Zk) / (Xk + 2-Xk) Is a condition, so that the following equation (7) must be satisfied.
[0018]
fk′ (Xk + 1) = (Zk + 2-Zk) / (Xk + 2-Xk) (7)
The function f (X) is generally approximated by the following equation (12).
[0019]
f (X) = f (0) + f '(0) X + {f "(0) / 2 @ XTwo (12)
Here, each section Xk-2~ Xk-1, Xk-1~ Xk, Xk~ Xk + 1, Xk + 1~ Xk + 2Is defined as 1 and the pixel XkPixel X fromk + 1Interpolation point X in directionpIs defined as t (0 ≦ t ≦ 1), from equations (1), (4) to (7), and (10) to (12),
fk'(0) = Ck= (Zk + 1-Zk-1) / 2
fk'(1) = 3Ak+ 2Bk+ Ck= (Zk + 2-Zk) / 2
fk″ (0) = Zk + 1-2Zk+ Zk-1= 2B
Therefore,
Ak= (Zk + 2-3Zk + 1+ 3Zk-Zk-1) / 6
Bk= (Zk + 1-2Zk+ Zk-1) / 2
Ck= (Zk + 1-Zk-1) / 2
Where DkIs unknown,
Dk= (D1Zk + 2+ DTwoZk + 1+ DThreeZk+ DFourZk-1) / 6
far. Also, the spline interpolation function fk(X) performs the variable transformation of X = t as described above,
fk(X) = fk(T)
It becomes. Therefore,
And the image data Zk-1, Zk, Zk + 1, Zk + 2Can be expressed by the following equation (13).
[0020]
Here, if t = 1,
Next, section Xk + 1~ Xk + 2Can be expressed by the following equation (14), similarly to the equation (13).
[0021]
Here, if t = 0,
Continuity condition (fk(1) = fk + 1(0)) and the condition that the coefficients corresponding to the respective original image data are equal to each other,Four-1 = 0, DThree-3 = DFour, DTwo+ 3 = DThree, D1+ 1 = DTwo, D1= 0 and therefore
Dk= (Zk + 1+ 4Zk+ Zk-1) / 6
It becomes. Therefore,
Therefore, the original image data Zk-1, Zk, Zk + 1, Zk + 2Interpolation coefficients b corresponding tok-1, Bk, Bk + 1, Bk + 2Is
bk-1= (-TThree+ 3tTwo-3t + 1) / 6
bk= (3tThree-6tTwo+4) / 6
bk + 1= (-3tThree+ 3tTwo+ 3t + 1) / 6
bk + 2= TThree/ 6
It becomes.
[0022]
The above operation is performed for each section Xk-2~ Xk-1, Xk-1~ Xk, Xk~ Xk + 1, Xk + 1~ Xk + 2Is repeated, interpolation image data having a different interval from the original image data can be obtained for the entire original image data.
[0023]
As described above, when it is desired to reproduce the secondary image (interpolated image) sharply with high sharpness, for example, Cubic spline interpolation calculation is used, and when it is desired to reproduce smoothly with low sharpness, for example, B spline interpolation calculation may be used.
[0024]
[Problems to be solved by the invention]
By the way, an image in which a person is a subject includes clothes and a face worn by the person, and when such an image is enlarged, a pattern of the clothes and the like are reproduced sharply with high sharpness. There is a demand to reduce the sharpness of a skin-colored portion such as a face to remove noise such as graininess and to reproduce smoothly. However, when the image is enlarged using the Cubic spline interpolation method or the B-spline interpolation method described above, the sharpness of the image cannot be partially increased or the image cannot be partially smoothed. It was necessary to choose between sacrifice or noise sacrifice, and the image could not be enlarged to satisfy both.
[0025]
The present invention has been made in view of the above circumstances, and it is an object of the present invention to provide an image data interpolation method and apparatus capable of partially changing the sharpness of an image to perform interpolation enlargement and reduction. It is.
[0026]
[Means for Solving the Problems]
According to a first image data interpolation method of the present invention, an interpolation point is inserted between pixels constituting an image to interpolate the original image data representing the image, and the number of data is different from the original image data. In an image data interpolation method for obtaining image data,
A difference signal of an interpolation signal at each interpolation point of first and second interpolation image data obtained by performing an interpolation operation based on first and second interpolation methods having different sharpness levels on the original image data. Is calculated,
When the absolute value of the differential signal is less than a predetermined threshold, the signal has the signal value of the differential signal. When the absolute value of the differential signal is equal to or more than the predetermined threshold, the differential signal has By reducing the absolute value of the difference signal with an increase in the absolute value, and further correcting the difference signal so that the value of the difference signal is set to 0 when the absolute value exceeds a constant value larger than the absolute value. Calculate the correction signal,
Interpolation is performed on the original image data based on the higher sharpness interpolation method of the first and second interpolation methods to calculate third interpolation image data;
By calculating a difference value between the interpolation signal of the third interpolation image data and the correction signal at each of the interpolation points, it is possible to correct the third interpolation image data to obtain final interpolation image data. It is a feature.
[0027]
In a second image data interpolation method according to the present invention, an interpolation point is inserted between pixels constituting an image, thereby interpolating the original image data representing the image so that the number of data differs from that of the original image data. In an image data interpolation method for obtaining image data,
A difference signal at each interpolation point of the first and second interpolated image data obtained by performing an interpolation operation based on first and second interpolation methods having different sharpness levels on the original image data is calculated. ,
When the absolute value of the difference signal is less than a predetermined threshold value, the difference signal is reduced so that the absolute value of the difference signal is smaller than when the absolute value of the difference signal is equal to or greater than the predetermined threshold value. To calculate a correction signal by correcting
Interpolation is performed on the original image data based on the lower sharpness interpolation method of the first and second interpolation methods to calculate third interpolation image data;
By calculating an added value of the interpolation signal of the third interpolation image data and the correction signal at each of the interpolation points, it is possible to correct the third interpolation image data to obtain final interpolation image data. It is a feature.
[0028]
Here, as the first and second interpolation methods having different sharpness from each other, an interpolation method corresponding to an image having low sharpness is a B-spline interpolation method, and an interpolation method corresponding to an image having higher sharpness is used. It is desirable to use Cubic spline interpolation. This is because in the case of a combination of the two, the first derivative is continuous.
[0029]
However, the interpolation method of the present invention is not limited to these combinations, and various interpolation methods such as B-spline interpolation, Cubic spline interpolation, linear interpolation, and Lagurange interpolation can be used. Can be combined with any two interpolation operation functions.
[0030]
Calculating the feature amount and the interpolated image data does not necessarily require each to be obtained as a calculation result by an arithmetic expression. For example, when the computer executes the image data interpolation method of the present invention, the calculated features are calculated. It also includes physical calculations such as writing the amount and the interpolated image data into a computer memory.
[0031]
Further, these interpolation methods can be used as the third interpolation method, and it is particularly preferable to use any one of the first and second interpolation methods as the third interpolation method.
[0032]
In the first and second image data interpolation methods according to the present invention, the difference signal is calculated by calculating a difference value at each interpolation point between the first interpolation image data and the second interpolation image data. May be performed.
[0033]
In the first and second image data interpolation methods according to the present invention, the calculation of the difference signal is performed by calculating a difference between the interpolation signals at each interpolation point between the first interpolation image data and the second interpolation image data. This may be performed by calculating a value.
[0034]
Further, in the first and second image data interpolation methods according to the present invention, the calculation of the difference signal is performed by using the interpolation coefficient by the first interpolation method in a plurality of pixels in a predetermined range near each of the interpolation points. Calculating a difference interpolation coefficient that is a difference value from the interpolation coefficient obtained by the
[0035]
A third image data interpolation method according to the present invention applies the first and second image data interpolation methods according to the present invention particularly to a color image, and inserts interpolation points between pixels constituting the color image. Thereby, in the image data interpolation method of interpolating the original image data representing the color image to obtain interpolated image data having a different number of data from the original image data,
Converting the R, G, B color signals carrying the original image data into a luminance signal and a color difference signal carrying the original image data;
Calculating an interpolated luminance signal for the luminance signal based on the first or second image data interpolation method according to the present invention;
Calculating an interpolation color difference signal with emphasis on stability for the color difference signal,
The interpolation luminance signal and the interpolation chrominance signal are converted into R, G, B color signals, and interpolated image data composed of the R, G, B color signals obtained by the conversion is obtained. is there.
[0036]
Here, the interpolation with emphasis on stability is interpolation that ensures continuity of signal values, and refers to, for example, the above-described B-spline interpolation.
[0037]
A first image data interpolating apparatus according to the present invention interpolates original image data representing the image by inserting interpolation points between pixels constituting the image, and interpolates the image data different in the number of data from the original image data. In an image data interpolation device for obtaining image data,
A difference signal of an interpolation signal at each interpolation point of first and second interpolation image data obtained by performing an interpolation operation based on first and second interpolation methods having different sharpness levels on the original image data. Difference signal calculating means for calculating
When the absolute value of the differential signal is less than a predetermined threshold, the signal has the signal value of the differential signal. When the absolute value of the differential signal is equal to or more than the predetermined threshold, the differential signal has By reducing the absolute value of the difference signal with an increase in the absolute value, and further correcting the difference signal so that the value of the difference signal is set to 0 when the absolute value exceeds a constant value larger than the absolute value. Correction means for calculating a correction signal;
Interpolation operation means for performing an interpolation operation on the original image data based on the higher sharpness interpolation method of the first and second interpolation methods to calculate third interpolation image data;
Calculating a difference value between an interpolation signal of the third interpolation image data and the correction signal at each of the interpolation points, thereby correcting the third interpolation image data to obtain final interpolation image data It is characterized by having the following.
[0038]
The second image data interpolating apparatus according to the present invention interpolates the original image data representing the image by inserting interpolation points between pixels constituting the image, and interpolates the image data different in the number of data from the original image data. In an image data interpolation device for obtaining image data,
A difference signal at each interpolation point of the first and second interpolation image data obtained by performing an interpolation operation based on the first and second interpolation methods having different sharpness levels on the original image data is calculated. Difference signal calculating means,
When the absolute value of the difference signal is less than a predetermined threshold value, the difference signal is reduced so that the absolute value of the difference signal is smaller than when the absolute value of the difference signal is equal to or greater than the predetermined threshold value. Correction means for calculating a correction signal by correcting
Interpolation operation means for performing an interpolation operation on the original image data based on the lower sharpness interpolation method of the first and second interpolation methods to calculate third interpolation image data;
An adding means for correcting the third interpolation image data to obtain final interpolation image data by calculating an addition value of the interpolation signal of the third interpolation image data and the correction signal at each of the interpolation points; It is characterized by having the following.
[0039]
In the first and second image data interpolating devices according to the present invention, the difference signal calculating means may calculate the difference signal by using each of the first interpolation image data and the second interpolation image data. Means may be performed by calculating a difference value of the interpolation signal at the interpolation point.
[0040]
In the first and second image data interpolation devices according to the present invention, the difference signal means may calculate the difference signal by performing the first interpolation method on a plurality of pixels in a predetermined range near each interpolation point. And a difference interpolation coefficient that is a difference value between the interpolation coefficient according to the second interpolation method and the interpolation coefficient according to the second interpolation method. The signal may be multiplied by adding the plurality of signals multiplied by the difference interpolation coefficient.
[0041]
In the first and second image data interpolation devices according to the present invention, one of the first and second interpolation methods having different sharpness levels is a B-spline interpolation method, and the other is a Cubic spline interpolation method. Is also good.
[0042]
The third image data interpolating device according to the present invention interpolates the original image data representing the color image by inserting interpolation points between pixels constituting the color image, and the number of data is different from the original image data. In an image data interpolator for obtaining different interpolated image data,
First conversion means for converting the R, G, B color signals carrying the original image data into a luminance signal and a color difference signal carrying the original image data;
Interpolation luminance signal calculating means for performing an interpolation operation on the luminance signal by the first and second image data interpolation methods according to the present invention to calculate an interpolation luminance signal;
Interpolation color difference signal calculation means for performing an interpolation operation on the color difference signal by a stability-oriented interpolation method to calculate an interpolation color difference signal,
A second conversion means for converting the interpolated luminance signal and the interpolated color difference signal into R, G, B color signals and obtaining interpolated image data composed of the R, G, B color signals obtained by the conversion; It is characterized by having.
[0043]
【The invention's effect】
In the first image data interpolation method and apparatus according to the present invention, the first and second image data obtained by performing an interpolation operation based on the first and second interpolation methods having different sharpness levels on the original image data. A difference signal of the interpolation signal at each interpolation point of the interpolation image data is calculated, and when the absolute value of the difference signal is smaller than a predetermined threshold, the signal has the signal value of the difference signal. When the absolute value of the differential signal is equal to or larger than the threshold value, the absolute value of the differential signal is decreased with an increase in the absolute value of the differential signal. A correction signal is calculated by correcting the difference signal, and an interpolation operation is performed on the original image data based on the interpolation method having the higher sharpness of the first and second interpolation methods. Calculate interpolated image data and calculate each interpolated point By calculating a difference value between the interpolation signal and the correction signal of definitive the third interpolated image data to obtain the final interpolated image data by correcting the third interpolated image data.
[0044]
In the second image data interpolation method and apparatus according to the present invention, the first and second image data obtained by performing an interpolation operation based on the first and second interpolation methods having different sharpness levels on the original image data. A difference signal of the interpolation signal at each interpolation point of the interpolation image data is calculated. A correction signal is calculated by correcting the difference signal so as to reduce the absolute value of the difference signal, and the original image data is replaced with the lower sharpness interpolation method of the first and second interpolation methods. The third interpolation image data is corrected by calculating the third interpolation image data by performing an interpolation operation based on the third interpolation image data, and calculating the sum of the interpolation signal and the correction signal of the third interpolation image data at each interpolation point. And finally Obtaining between image data.
[0045]
As a result, the sharpness can be emphasized for a portion to be reproduced sharply with high sharpness, and the sharpness can be reduced for a portion to be reproduced smoothly with low sharpness. Therefore, it is possible to partially increase the sharpness of the image or partially smooth the image without sacrificing the sharpness and the noise reduction effect.
[0046]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0047]
FIG. 1 is a schematic block diagram showing an image reproduction system including an
[0048]
The
[0049]
Here, the original image data Sorg used in the present embodiment has sampling points (pixels) X arranged in one direction sampled at equal intervals.k-2, Xk-1, Xk, Xk + 1, Xk-2Digital image data (Sk-2, Sk-1, Sk, Sk + 1Sk + 2…).
[0050]
An
[0051]
The Cubic spline interpolation calculating means 31 obtains an interpolation signal SC at each interpolation point of the original image data Sorg according to the Cubic spline interpolation method described above. Specifically, the original sampling point (pixel) Xk-1~ Xk + 2The interpolation signal SC at the interpolation point Xp provided therebetween is obtained by the cubic spline interpolation equation (16).
[0052]
SC = ck-1Sk-1+ CkSk+ Ck + 1Sk + 1+ Ck + 2Sk + 2 (16)
ck-1= (-TThree+ 2tTwo−t) / 2
ck= (3tThree-5tTwo+2) / 2
ck + 1= (-3tThree+ 4tTwo+ T) / 2
ck + 2= (TThree-TTwo) / 2
(However, for t (0 ≦ t ≦ 1), the grid interval is set to 1 and the pixel XkInterpolation point X with reference topPixel Xk + 1Indicates the position in the direction. )
The B-spline interpolation calculating means 32 obtains an interpolation signal SB at each interpolation point of the original image data Sorg according to the B-spline interpolation method described above. Specifically, the original sampling point Xk-1~ Xk + 2Interpolation point X provided betweenpIs obtained by the cubic B-spline interpolation operation formula (17).
[0053]
SB = bk-1Sk-1+ BkSk+ Bk + 1Sk + 1+ Bk + 2Sk + 2 (17)
bk-1= (-TThree+ 3tTwo-3t + 1) / 6
bk= (3tThree-6tTwo+4) / 6
bk + 1= (-3tThree+ 3tTwo+ 3t + 1) / 6
bk + 2= TThree/ 6
(However, for t (0 ≦ t ≦ 1), the grid interval is set to 1 and the pixel XkInterpolation point X with reference topPixel Xk + 1Indicates the position in the direction. )
Further, since the actual image is formed by arranging the pixels two-dimensionally, the Cubic spline interpolation coefficient ck-1, Ck, Ck + 1, Ck + 2, And B-spline interpolation coefficient bk-1, bk, Bk + 1, Bk + 2Is obtained for each of two different arrangement directions (i-direction and j-direction) of pixels constituting an image, and the obtained values are expressed as Cij and Bij, respectively. It may be.
[0054]
Here, the image reproduction system of the present embodiment not only outputs the interpolated image data S 'but also extends the arrangement interval of the interpolated image data S' so as to be the same as the arrangement interval of the original image data Sorg. Thus, the interpolation image is reproduced as an enlarged version of the original image.
[0055]
The correction means 34 calculates the correction signal ΔS ′ based on the value of the difference signal ΔS, which is the difference value at each interpolation point between the interpolation signal SC and the interpolation signal SB. Specifically, as shown in FIG. The correction signal ΔS ′ is calculated based on a suitable correction function. That is, when the absolute value of the difference signal ΔS is smaller than S1, the value of the difference signal ΔS is directly used as the value of the correction signal ΔS ′ (ΔS = ΔS ′), and the absolute value of the difference signal ΔS becomes larger than S1. Accordingly, the absolute value of the correction signal ΔS ′ is reduced, and when the absolute value exceeds a certain value, the value of the correction signal ΔS ′ is set to 0.
[0056]
Here, since the interpolation signal SC is calculated based on the above-mentioned Cubic spline interpolation method, it is a signal for reproducing a sharp image having relatively high sharpness, and the interpolation signal SB is obtained by the above-described B-spline interpolation method. , The sharpness is relatively low, but the signal reproduces a smooth image. For this reason, in the difference signal ΔS which is a difference value between the interpolation signal SC and the interpolation signal SB, the value is large in a portion with high sharpness such as an edge portion in the image, and is large in a smooth portion in the image. It is small. Therefore, by correcting the difference signal ΔS by the correction means 34 based on the correction function shown in FIG. 2, the correction signal ΔS ′ becomes 0 or a low value in a portion where the sharpness in the image is high, and A smooth part has a larger value than a part with high sharpness.
[0057]
Next, the operation of the image reproduction system according to the present embodiment will be described.
[0058]
First, the
[0059]
The original image data Sorg input to the
[0060]
The difference signal ΔS input to the correction means 34 is corrected based on the correction function shown in FIG. 2 to calculate a correction signal ΔS '. Here, the difference signal ΔS has a large value in a portion with high sharpness such as an edge portion in an image, and has a small value in a smooth portion in an image such as a person's face. By correcting ΔS based on the correction function shown in FIG. 2, the correction signal ΔS ′ has a value of 0 or a low value for a portion having a high sharpness in the image, and has a high value for a smooth portion in the image. It has a larger value than the part.
[0061]
The correction signal ΔS ′ calculated by the correction means 34 is input to the addition means 35, and a difference value between the interpolation signal SC and the correction signal ΔS ′ at each interpolation point is calculated. Here, since the interpolation signal SC is calculated based on the Cubic spline interpolation method, it is a signal for reproducing a sharp image having relatively high sharpness as shown in FIG. In the part of the skin color which should be originally smooth, noise such as graininess of the photograph is conspicuous as shown in a part B of FIG. On the other hand, as shown in FIG. 3B, the correction signal ΔS ′ has a value of 0 or a low value for a portion having a high sharpness in the image (portion A in FIG. 3A), and has a sharpness value for a smooth portion. Has a larger value than the high part. Therefore, as shown in FIG. 3C, the interpolated image data S ′ composed of a difference value obtained by subtracting the correction signal ΔS ′ from the interpolated signal SC has a high sharpness portion A in the interpolated signal SC. The value is saved, and noise in the part B, which should be smooth, is removed. The interpolated image data S 'thus obtained is input to the reproducing
[0062]
The reproducing means 40 reproduces an image based on the input interpolation image data S 'as a visible image. By the above-described processing, the reproduced visible image is a sharp image having relatively high sharpness in a portion such as an edge or a fine pattern in the image, and is not sharp in a portion such as a human skin color. The image is relatively low but smooth. Therefore, the original image can be enlarged or reduced so that an image having a sharpness corresponding to a portion in the image can be reproduced.
[0063]
Next, a second embodiment of the present invention will be described.
[0064]
FIG. 4 is a diagram showing a configuration of an
[0065]
Here, the (Cubic spline-B spline) interpolation calculation means 36 calculates the interpolation coefficient c in the Cubic spline interpolation calculation formula (16).k-1, Ck, Ck + 1, Ck + 2And the interpolation coefficient b in the B-spline interpolation equation (17)k-1, Bk, Bk + 1, Bk + 2The difference value at each interpolation point with the difference interpolation coefficient dk-1, Dk, Dk + 1, Dk + 2And the difference interpolation coefficient dk-1, Dk, Dk + 1, Dk + 2Is obtained, the obtained difference interpolation signal ΔS ″ is substantially the same as the difference signal ΔS between the interpolation signal SC and the interpolation signal SB obtained by the adding means 33 of the first embodiment. Is the value of
[0066]
Therefore, the difference interpolation signal ΔS ″ is corrected by the correction means 34 to obtain a correction signal ΔS ′, and the addition means 35 calculates the difference value between the interpolation signal SC and the correction signal ΔS ′ at each interpolation point, thereby obtaining the first value. As shown in FIG. 3 (c), the value of the portion A having a high sharpness in the interpolation signal SC is preserved, and the interpolation of the signal from which the noise should be removed in the portion B, which should be smooth, as in the embodiment shown in FIG. Therefore, by reproducing the interpolated image data S 'in the reproducing
[0067]
Further, in the second embodiment, the (Cubic spline-B spline) interpolation operation means 36 can substantially simultaneously perform the processing in the addition means 33 in the first embodiment. In addition, the processing time can be shortened and the processing can be performed at high speed.
[0068]
In the first and second embodiments, the correction signal .DELTA.S 'is added to the interpolation signal SC calculated by the Cubic spline interpolation calculating means 31, but the correction signal .DELTA.S' is calculated by the B spline interpolation calculating means 32. It may be added to the interpolated signal SB. In this case, the B-spline interpolation method is the third interpolation method. In this case, the correction function used in the correction means 34 is 0 or a low value for a portion where the signal value of the difference signal ΔS or the difference interpolation signal ΔS ″ is small, contrary to the one shown in FIG. For a portion where is large, the function is set to a value larger than this.
[0069]
Next, a third embodiment of the present invention will be described.
[0070]
FIG. 5 is a diagram showing a configuration of an
[0071]
The correction means 34 'corrects the interpolation signals SC and SB using a correction function as shown in FIG. That is, since a bright portion having a large signal value in an image is easier to visually recognize the difference in density than a dark portion, by correcting the interpolation signals SC and SB using the correction function shown in FIG. A bright part having a larger signal value is emphasized.
[0072]
The dividing means 38 divides the corrected interpolation signal SC 'at each interpolation point by the corrected interpolation signal SB' to obtain a division signal SD. Here, since the interpolation signal SC is calculated based on the above-mentioned Cubic spline interpolation method, it is a signal for reproducing a sharp image having relatively high sharpness, and the interpolation signal SB is obtained by the above-described B-spline interpolation method. , The sharpness is relatively low, but the signal reproduces a smooth image. For this reason, the value of the division signal SD is larger than 1 in a portion with high sharpness such as an edge portion in an image, and is about 1 in a smooth portion in the image.
[0073]
The calculating means 39 is for obtaining a correction signal SD 'for correcting the interpolation signal SL based on the division signal SD. More specifically, the correction signal SD' becomes 1 as the value of the division signal SD becomes closer to 1. The correction signal SD 'is calculated by the calculating means 39 so that the value becomes smaller than 1 and the larger the value of the division signal SD is, the larger the value becomes.
[0074]
Next, the operation of the third embodiment will be described.
[0075]
The original image data Sorg input to the
[0076]
The correction signal SD 'at each interpolation point is multiplied by the interpolation signal SL by the multiplication means 50. Here, the interpolation signal SL reproduces an image having neither high nor low sharpness. However, by multiplying the correction signal SD ′, the signal value of a smooth portion becomes small, and the sharpness is originally reduced. The relatively high portion is corrected so that the signal value becomes large. Therefore, in the interpolated image data S 'composed of a multiplied signal obtained by multiplying the interpolation signal SL by the correction signal SD', the value of the originally smooth portion of the interpolation signal SL is reduced, and the portion of the interpolation signal SL having high sharpness is reduced. Is emphasized. The interpolated image data S 'thus obtained is input to the reproducing
[0077]
As described above, also in the third embodiment, the visible image reproduced by the reproducing
[0078]
In the third embodiment, the correction means 34 'corrects the interpolation signals SC and SB using the correction function shown in FIG. 6. First, the correction is performed on the original image data Sorg. The correction may be performed by a function, and then the interpolation calculation may be performed in the Cubic spline interpolation calculation means 31 and the B spline interpolation calculation means 32. Further, this correction need not be performed.
[0079]
Next, a fourth embodiment of the present invention will be described.
[0080]
FIG. 7 is a diagram showing a configuration of an
Y = 0.299 × R + 0.587 × G + 0.114 × B
C1 = -0.299 × R-0.587 × G + 0.886 × B
C2 = 0.701 x R-0.587 x G-0.114 x B (18)
Enhanced Cubic spline interpolation calculating means 31 for obtaining an interpolated luminance signal YC at each interpolation point by an enhanced Cubic spline interpolation method (first and third interpolation methods) for the luminance signal Y among the YCC luminance and color difference signals obtained by the conversion means 51. (Interpolated luminance signal calculating means) and enhanced B-spline interpolation calculating means 32 '(interpolated color difference signal calculating means) for obtaining an interpolated luminance signal YB at each interpolation point by an enhanced B-spline interpolation method (second interpolation method) for the luminance signal Y. Means), B-spline interpolation calculating means 32 for obtaining interpolated color difference signals C1B and C2B at each interpolation point by a B-spline interpolation method emphasizing stability for the color difference signals C1 and C2, an interpolated luminance signal YC and interpolated luminance at each interpolation point. An adding means 33 'for calculating a difference luminance signal ΔY, which is a difference value from the signal YB, is provided in the same manner as in the first embodiment. Correction means 34 'for correcting the partial luminance signal .DELTA.Y to obtain a corrected luminance signal .DELTA.Y', and adding means 35 'for subtracting the corrected luminance signal .DELTA.Y' from the interpolated luminance signal YC at each interpolation point to obtain an interpolated image signal Y '. And a second conversion means 52 for converting the YCC luminance / color difference signal into an RGB color signal according to the following equation (19).
[0081]
R = Y '+ C2
G = Y'-0.194xC2-0.509xC2
B = Y '+ C1 (19)
Here, in the enhanced Cubic spline interpolation calculating means 31 'and the enhanced B spline interpolation calculating means 32', for example, as described in Japanese Patent Application Laid-Open No. 9-93426, the interpolation coefficient ck-1, Ck, Ck + 1, Ck + 2And interpolation coefficient bk-1, Bk, Bk + 1, Bk + 2According to the following equations (20) to (23):k-1, Yk, Yk + 1, Yk + 2And weighted and added for each of the interpolation coefficients a.k-2, Ak-1, Ak, Ak + 1, Ak + 2And the interpolation coefficient ak-2, Ak-1, Ak, Ak + 1, Ak + 2Is used to perform an interpolation operation.
[0082]
Then, in the enhanced Cubic spline interpolation calculating means 31 ', by setting the value of the coefficient α to a value smaller than 0, a sharp interpolated image having a higher sharpness than an image obtained by a normal Cubic spline interpolation method. In the enhanced B-spline interpolation calculating means 32 ', by setting the value of the coefficient α to a value larger than 1, a smoother interpolated image than an image obtained by a normal B-spline interpolation method can be obtained. Can be obtained.
[0083]
Next, the operation of the fourth embodiment will be described.
[0084]
The original image data Sorg is first input to the first conversion means 51, and each of the R, G, and B color signals is converted to a luminance / color difference signal YCC by the above-described equation (18). Thereafter, the luminance signal Y is input to the enhanced Cubic spline interpolation calculating means 31 'and the enhanced B spline interpolation calculating means 32', and the color difference signals C1 and C2 are input to the B spline interpolation calculating means 32.
[0085]
In the emphasized Cubic spline interpolation calculating means 31 'and the emphasized B-spline interpolation calculating means 32', the interpolation coefficient a calculated by the above-described formulas (20) to (23) for the luminance signal Y is used.k-1, Ak, Ak + 1, Ak + 2And an interpolation operation is performed based on the coefficient α to obtain interpolation luminance signals YC and YB at each interpolation point. On the other hand, in the B-spline interpolation operation means 32, an interpolation operation based on the B-spline interpolation method is performed in the same manner as in the first embodiment, and interpolation color difference signals C1B and C2B at each interpolation point are obtained.
[0086]
The interpolation luminance signals YC and YB are calculated by the addition means 33 ', the correction means 34' and the addition means 35 'in the same manner as in the first embodiment, and an interpolation luminance signal Y' is obtained. The interpolated luminance signal Y 'and the interpolated color difference signals C1B and C2B are input to a second conversion means 52, and the second conversion means 52 calculates the interpolated color signals R', G ', B by the above-mentioned equation (19). '.
[0087]
The interpolated color signals R ', G', B 'obtained by the
[0088]
As described above, in the fourth embodiment, by performing the same interpolation calculation on the luminance signal Y as in the first embodiment, the luminance signal Y has sharp edges and small patterns in the image. A sharp image having a relatively high degree is obtained, and a portion such as a skin color of a person has a relatively low sharpness but a smooth image. On the other hand, the color difference signals C1 and C2 are smooth images. For this reason, in the related art, since the interpolation color signal is obtained for each of the RGB color signals by the interpolation method emphasizing the sharpness, a different direction and a different amount of hue shift occur in each pixel in the visible image after the data interpolation. Disappears. On the other hand, human vision is very sensitive to the luminance signal, but not so sensitive to the color difference signal, so that the sharpness of the image depends on the luminance change. In the fourth embodiment, the interpolation processing similar to that of the first embodiment is performed on the luminance signal to reproduce the finally obtained interpolated image data S ′. In the image obtained by the above, it is possible to obtain a sharp image having relatively high sharpness for parts such as edges and fine patterns, and a relatively low but smooth image for parts such as skin color of a person. It can be.
[0089]
In the fourth embodiment, the interpolation operation is performed on the luminance signal Y by the enhanced Cubic spline interpolation operation means 31 'and the enhanced B spline interpolation operation means 32'. The interpolation operation may be performed by the similar Cubic spline interpolation operation means 31 and the B spline interpolation operation means 32, and may be performed in the same manner as in the second embodiment or the third embodiment.
[0090]
In the first to third embodiments, the interpolation calculation is performed by the Cubic spline interpolation calculation means 31, the B spline interpolation calculation means 32, or the (Cubic spline-B spline) interpolation calculation means 36. As in the embodiment, the interpolation operation may be performed on the original image data Sorg by the enhanced Cubic spline interpolation operation means 31 'and the enhanced B spline interpolation operation means 32'.
[0091]
Further, in the fourth embodiment, the corrected luminance signal ΔY ′ is added to the interpolated luminance signal YC calculated by the enhanced Cubic spline interpolation operation means 31 ′. May be added to the interpolated luminance signal YB calculated in.
[0092]
In the fourth embodiment, the YCC luminance / chrominance signal is used as the signal in the luminance / chrominance space. However, a luminance / chrominance signal represented by Lab, Luv, or the like may be used.
[0093]
In the present embodiment, the
[Brief description of the drawings]
FIG. 1 is a block diagram showing an image reproduction system including an image data interpolation device according to a first embodiment of the present invention.
FIG. 2 is a graph showing a correction function.
FIG. 3 is a diagram for explaining processing performed in an adding
FIG. 4 is a block diagram illustrating a configuration of an image data interpolation device according to a second embodiment of the present invention.
FIG. 5 is a block diagram showing a configuration of an image data interpolation device according to a third embodiment of the present invention.
FIG. 6 is a graph showing a correction function used in the third embodiment.
FIG. 7 is a block diagram showing a configuration of an image data interpolation device according to a fourth embodiment of the present invention.
FIG. 8 is a graph illustrating a conventional operation of obtaining interpolated image data by Cubic spline interpolation from original image data of sampling points (pixels) arranged in one direction and sampled at equal intervals.
[Explanation of symbols]
10 Image data storage device
20 Image processing device
30 Interpolator
31 Cubic spline interpolation calculation means
31 'enhanced Cubic spline interpolation calculation means
32 B spline interpolation calculation means
32 'enhanced B-spline interpolation calculation means
33, 35 Addition means
34 Correction means
36 (Cubic spline-B spline) interpolation calculation means
37 Lagurange interpolation calculation means
38 Division
39 Calculation means
40 Reproduction means
50 Multiplication means
Claims (12)
前記原画像データに対して、互いに鮮鋭度の異なる第1および第2の補間法に基づく補間演算を施すことにより得られる第1および第2の補間画像データの各補間点における補間信号の差分信号を算出し、
該差分信号の絶対値が所定のしきい値未満の場合には該差分信号の信号値を有し、該差分信号の絶対値が前記所定のしきい値以上の場合には、該差分信号の絶対値の増大に伴って該差分信号の絶対値を小さくし、さらに該絶対値よりも大きい一定値を超えた場合は該差分信号の値を0とするように該差分信号を補正することにより補正信号を算出し、
前記原画像データに対して、前記第1および第2の補間法のうちの鮮鋭度が高い方の補間法に基づく補間演算を施して第3の補間画像データを算出し、
前記各補間点における前記第3の補間画像データの補間信号と前記補正信号との差分値を算出することにより、該第3の補間画像データを補正して最終的な補間画像データを得ることを特徴とする画像データ補間方法。In an image data interpolation method of interpolating original image data representing the image by inserting interpolation points between pixels constituting the image to obtain interpolated image data having a different number of data from the original image data,
A difference signal of an interpolation signal at each interpolation point of the first and second interpolation image data obtained by performing an interpolation operation based on first and second interpolation methods having different sharpness levels on the original image data. Is calculated,
When the absolute value of the differential signal is less than a predetermined threshold, the signal has the signal value of the differential signal. When the absolute value of the differential signal is equal to or more than the predetermined threshold, the differential signal has By reducing the absolute value of the difference signal with an increase in the absolute value, and further correcting the difference signal so that the value of the difference signal is set to 0 when the absolute value exceeds a constant value larger than the absolute value. Calculate the correction signal,
Interpolation is performed on the original image data based on the higher sharpness interpolation method of the first and second interpolation methods to calculate third interpolation image data;
By calculating a difference value between the interpolation signal of the third interpolation image data and the correction signal at each of the interpolation points, it is possible to correct the third interpolation image data to obtain final interpolation image data. Characteristic image data interpolation method.
前記原画像データに対して、互いに鮮鋭度の異なる第1および第2の補間法に基づく補間演算を施すことにより得られる第1および第2の補間画像データの各補間点における差分信号を算出し、
該差分信号の絶対値が所定のしきい値未満の場合には、該差分信号の絶対値が前記所定のしきい値以上の場合よりも該差分信号の絶対値を小さくするように該差分信号を補正することにより補正信号を算出し、
前記原画像データに対して、前記第1および第2の補間法のうちの鮮鋭度が低い方の補間法に基づく補間演算を施して第3の補間画像データを算出し、
前記各補間点における前記第3の補間画像データの補間信号と前記補正信号との加算値を算出することにより、該第3の補間画像データを補正して最終的な補間画像データを得ることを特徴とする画像データ補間方法。In an image data interpolation method of interpolating original image data representing the image by inserting interpolation points between pixels constituting the image to obtain interpolated image data having a different number of data from the original image data,
A difference signal at each interpolation point of the first and second interpolated image data obtained by performing an interpolation operation based on first and second interpolation methods having different sharpness levels on the original image data is calculated. ,
When the absolute value of the difference signal is less than a predetermined threshold value, the difference signal is reduced so that the absolute value of the difference signal is smaller than when the absolute value of the difference signal is equal to or greater than the predetermined threshold value. To calculate a correction signal by correcting
Interpolation is performed on the original image data based on the lower sharpness interpolation method of the first and second interpolation methods to calculate third interpolation image data;
By calculating an added value of the interpolation signal of the third interpolation image data and the correction signal at each of the interpolation points, it is possible to correct the third interpolation image data to obtain final interpolation image data. Characteristic image data interpolation method.
前記原画像データを担持するR,G,Bの色信号を、前記原画像データを担持する輝度信号および色差信号に変換し、
前記輝度信号について請求項1から5のいずれか1項記載の画像データ補間方法による補間演算を施して補間輝度信号を算出し、
前記色差信号に安定度重視の補間法による補間演算を施して補間色差信号を算出し、
前記補間輝度信号および補間色差信号をR,G,Bの色信号に変換し、該変換して得られたR,G,Bの色信号からなる補間画像データを得ることを特徴とする画像データ補間方法。An image data interpolation method for interpolating original image data representing the color image to obtain interpolated image data having a different number of data from the original image data by inserting interpolation points between pixels constituting the color image,
Converting the R, G, B color signals carrying the original image data into a luminance signal and a color difference signal carrying the original image data;
An interpolation luminance signal is calculated by performing an interpolation operation on the luminance signal according to the image data interpolation method according to any one of claims 1 to 5.
Calculating an interpolation color difference signal by performing an interpolation operation on the color difference signal by a stability-oriented interpolation method;
Converting the interpolated luminance signal and the interpolated color difference signal into R, G, B color signals, and obtaining interpolated image data composed of the R, G, B color signals obtained by the conversion; Interpolation method.
前記原画像データに対して、互いに鮮鋭度の異なる第1および第2の補間法に基づく補間演算を施すことにより得られる第1および第2の補間画像データの各補間点における補間信号の差分信号を算出する差分信号算出手段と、
該差分信号の絶対値が所定のしきい値未満の場合には該差分信号の信号値を有し、該差分信号の絶対値が前記所定のしきい値以上の場合には、該差分信号の絶対値の増大に伴って該差分信号の絶対値を小さくし、さらに該絶対値よりも大きい一定値を超えた場合は該差分信号の値を0とするように該差分信号を補正することにより補正信号を算出する補正手段と、
前記原画像データに対して、前記第1および第2の補間法のうちの鮮鋭度が高い方の補間法に基づく補間演算を施して第3の補間画像データを算出する補間演算手段と、
前記各補間点における前記第3の補間画像データの補間信号と前記補正信号との差分値を算出することにより、該第3の補間画像データを補正して最終的な補間画像データを得る差分手段とを備えたことを特徴とする画像データ補間装置。In an image data interpolating apparatus for interpolating original image data representing the image to obtain interpolated image data having a different number of data from the original image data by inserting interpolation points between pixels constituting the image,
A difference signal of an interpolation signal at each interpolation point of the first and second interpolation image data obtained by performing an interpolation operation based on first and second interpolation methods having different sharpness levels on the original image data. Difference signal calculating means for calculating
When the absolute value of the differential signal is less than a predetermined threshold, the signal has the signal value of the differential signal. When the absolute value of the differential signal is equal to or more than the predetermined threshold, the differential signal has By reducing the absolute value of the difference signal with an increase in the absolute value, and further correcting the difference signal so that the value of the difference signal is set to 0 when the absolute value exceeds a constant value larger than the absolute value. Correction means for calculating a correction signal;
Interpolation operation means for performing an interpolation operation on the original image data based on the higher sharpness interpolation method of the first and second interpolation methods to calculate third interpolation image data;
Difference means for calculating a difference value between the interpolation signal of the third interpolation image data and the correction signal at each of the interpolation points, thereby correcting the third interpolation image data to obtain final interpolation image data. An image data interpolating device comprising:
前記原画像データに対して、互いに鮮鋭度の異なる第1および第2の補間法に基づく補間演算を施すことにより得られる第1および第2の補間画像データの各補間点における差分信号を算出する差分信号算出手段と、
該差分信号の絶対値が所定のしきい値未満の場合には、該差分信号の絶対値が前記所定のしきい値以上の場合よりも該差分信号の絶対値を小さくするように該差分信号を補正することにより補正信号を算出する補正手段と、
前記原画像データに対して、前記第1および第2の補間法のうちの鮮鋭度が低い方の補間法に基づく補間演算を施して第3の補間画像データを算出する補間演算手段と、
前記各補間点における前記第3の補間画像データの補間信号と前記補正信号との加算値を算出することにより、該第3の補間画像データを補正して最終的な補間画像データを得る加算手段とを備えたことを特徴とする画像データ補間装置。In an image data interpolating apparatus for interpolating original image data representing the image to obtain interpolated image data having a different number of data from the original image data by inserting interpolation points between pixels constituting the image,
A difference signal at each interpolation point of the first and second interpolation image data obtained by performing an interpolation operation based on the first and second interpolation methods having different sharpness levels on the original image data is calculated. Difference signal calculating means,
When the absolute value of the difference signal is less than a predetermined threshold value, the difference signal is reduced so that the absolute value of the difference signal is smaller than when the absolute value of the difference signal is equal to or greater than the predetermined threshold value. Correction means for calculating a correction signal by correcting
Interpolation operation means for performing an interpolation operation on the original image data based on the lower sharpness interpolation method of the first and second interpolation methods to calculate third interpolation image data;
An adding means for correcting the third interpolation image data to obtain final interpolation image data by calculating an addition value of the interpolation signal of the third interpolation image data and the correction signal at each of the interpolation points; An image data interpolating device comprising:
前記原画像データを担持するR,G,Bの色信号を、前記原画像データを担持する輝度信号および色差信号に変換する第1の変換手段と、
前記輝度信号について請求項1から5のいずれか1項記載の画像データ補間方法による補間演算を施して補間輝度信号を算出する補間輝度信号算出手段と、
前記色差信号に安定度重視の補間法による補間演算を施して補間色差信号を算出する補間色差信号算出手段と、
前記補間輝度信号および補間色差信号をR,G,Bの色信号に変換し、該変換して得られたR,G,Bの色信号からなる補間画像データを得る第2の変換手段とを備えたことを特徴とする画像データ補間装置。By inserting interpolation points between pixels constituting a color image, an image data interpolation device for interpolating original image data representing the color image and obtaining interpolated image data having a different data number from the original image data,
First conversion means for converting the R, G, B color signals carrying the original image data into a luminance signal and a color difference signal carrying the original image data;
An interpolated luminance signal calculation means for performing an interpolation operation on the luminance signal by the image data interpolation method according to any one of claims 1 to 5 to calculate an interpolated luminance signal,
Interpolation color difference signal calculation means for performing an interpolation operation on the color difference signal by a stability-oriented interpolation method to calculate an interpolation color difference signal,
A second conversion means for converting the interpolated luminance signal and the interpolated color difference signal into R, G, B color signals and obtaining interpolated image data composed of the R, G, B color signals obtained by the conversion; An image data interpolation device, comprising:
Priority Applications (5)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP33273397A JP3578613B2 (en) | 1997-12-03 | 1997-12-03 | Image data interpolation method and apparatus |
| DE69818949T DE69818949T2 (en) | 1997-12-03 | 1998-12-01 | Method and device for interpolating image signals |
| ES98122787T ES2209041T3 (en) | 1997-12-03 | 1998-12-01 | PROCEDURE AND APPARATUS FOR THE INTERPOLATION OF IMAGE SIGNALS. |
| EP98122787A EP0921494B1 (en) | 1997-12-03 | 1998-12-01 | Interpolating operation method and apparatus for image signals |
| US09/204,058 US6392765B1 (en) | 1997-12-03 | 1998-12-03 | Interpolating operation method and apparatus for image signals |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP33273397A JP3578613B2 (en) | 1997-12-03 | 1997-12-03 | Image data interpolation method and apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH11168621A JPH11168621A (en) | 1999-06-22 |
| JP3578613B2 true JP3578613B2 (en) | 2004-10-20 |
Family
ID=18258261
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP33273397A Expired - Fee Related JP3578613B2 (en) | 1997-12-03 | 1997-12-03 | Image data interpolation method and apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3578613B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10679326B2 (en) | 2015-11-24 | 2020-06-09 | Canon Kabushiki Kaisha | Image data processing apparatus and image data processing method that determine confidence data indicating a level of confidence in a pixel value in high resolution image data |
| JP6838918B2 (en) * | 2015-11-24 | 2021-03-03 | キヤノン株式会社 | Image data processing device and method |
-
1997
- 1997-12-03 JP JP33273397A patent/JP3578613B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH11168621A (en) | 1999-06-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3683397B2 (en) | Color image data interpolation method and apparatus | |
| US8290263B2 (en) | Image processing apparatus | |
| KR101267404B1 (en) | Image processor, image processing method, and recording medium | |
| JP4556276B2 (en) | Image processing circuit and image processing method | |
| CN103202022B (en) | Image processing device and control method thereof | |
| US6724942B1 (en) | Image processing method and system | |
| US8125533B2 (en) | Undeveloped image data developing apparatus, method for developing undeveloped image data, and computer program for developing undeveloped image data | |
| JP5034003B2 (en) | Image processing device | |
| JP7296745B2 (en) | Image processing device, image processing method, and program | |
| EP0921494B1 (en) | Interpolating operation method and apparatus for image signals | |
| JP4526445B2 (en) | Imaging device | |
| JP4129254B2 (en) | Noise reduction apparatus and method | |
| US7755670B2 (en) | Tone-conversion device for image, program, electronic camera, and tone-conversion method | |
| US8115833B2 (en) | Image-acquisition apparatus | |
| JP3578613B2 (en) | Image data interpolation method and apparatus | |
| JP2009194721A (en) | Image signal processing apparatus, image signal processing method, and imaging apparatus | |
| JP4402994B2 (en) | Image processing method, apparatus, and program | |
| JP3759309B2 (en) | Image data interpolation method and apparatus | |
| JP2001197321A (en) | Color picture processing method and picture processor | |
| US6597819B1 (en) | Method, apparatus and recording medium for interpolation operation | |
| JP2004289607A (en) | Signal processing apparatus and method, recording medium, and program | |
| CN101998030A (en) | Signal processing device, reproducing device, signal processing method and program | |
| JP4478258B2 (en) | Image processing device | |
| JP4053167B2 (en) | Image processing method and apparatus | |
| JP3985903B2 (en) | Image compression method, digital watermark embedding method using the same, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20030909 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040203 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040219 |
|
| 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: 20040713 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040713 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080723 Year of fee payment: 4 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080723 Year of fee payment: 4 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080723 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090723 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090723 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100723 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110723 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110723 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120723 Year of fee payment: 8 |
|
| LAPS | Cancellation because of no payment of annual fees |