JP3663777B2 - Color signal interpolation method - Google Patents
Color signal interpolation method Download PDFInfo
- Publication number
- JP3663777B2 JP3663777B2 JP26151296A JP26151296A JP3663777B2 JP 3663777 B2 JP3663777 B2 JP 3663777B2 JP 26151296 A JP26151296 A JP 26151296A JP 26151296 A JP26151296 A JP 26151296A JP 3663777 B2 JP3663777 B2 JP 3663777B2
- Authority
- JP
- Japan
- Prior art keywords
- color signal
- signal
- color
- value
- output
- 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
Landscapes
- Color Television Image Signal Generators (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は特定の色フィルタを画素単位で市松状に配置して構成された2次元イメージセンサーの欠落した色信号を補間する、色信号補間方法に関するものである。
【0002】
【従来の技術】
従来、特定の色フィルタを画素単位で市松状に配置して構成された2次元イメージセンサーの撮像出力において、色フィルタに対応しない画素の欠落した特定の色信号を色フィルタに対応した特定の色信号で補間する場合、画素の欠落した特定の色信号を中心に隣接する複数の色フィルタに対応した特定の色信号の信号量を単純に平均化して色フィルタに対応しない画素の欠落した特定の色信号を補間している。
【0003】
以下、図面を参照しながら、上述したような従来の画素の信号補間方法について説明を行う。
【0004】
図5は、従来の信号補間方法を示すためのフィルタ配置の概念図である。図5においてR,G,Bはそれぞれ赤、緑、青の色フィルタを示す。また、図6は、図5のフィルタを配したイメージセンサーの撮像出力のうち、Gの色信号をフィルタ配置にしたがって2次元状に配列させた概念図である。
【0005】
図6において、60はGの色信号が欠落した箇所A、61〜64は、前記60のGの色信号が欠落した箇所Aの上、下、左、右にそれぞれ位置するGの色信号が存在する箇所(以下G信号と記す)、65はGの色信号が欠落した箇所Bである。
【0006】
図7(a)、(b)、(c)は2次元イメージセンサーで撮像した場合の撮像出力値と従来の補間の様子を示している。
【0007】
図7において、図7(a)は撮像した信号量を数値で表現した原図、図7(b)はGの位置の色信号量を2次元状に配置した状態を示す。図内のすべての数値は信号量を概念的に表現したものである。図6において60のGの色信号が欠落した箇所Aを補間するには周囲の61、62、63、64のG信号が存在する箇所の信号量の平均値をとり、60のGの色信号として補間している。図7(c)は従来の補間方法で補間後の信号量を2次元状に配置した状態を示す。
【0008】
【発明が解決しようとする課題】
しかしながら、上記従来の補間方法では図7(a)の原図に対する補間後図7(c)の信号量の忠実度が低いため、2次元イメージセンサーによる撮像信号出力を映像信号として用いる場合において、解像度が低く、色あるいは輝度の変化点で偽信号が発生しやすくなるという欠点を有していた。
【0009】
本発明は、上記従来の問題点を改善するもので、2次元イメージセンサーの撮像出力を、高解像度で偽信号の発生を抑制した信号に加工する補間方法を提供することを目的とする。
【0010】
【課題を解決するための手段】
この目的を達成するために、本発明の信号補間方法は、画素の欠落した特定の色信号を中心に、その上下及び左右に色フィルタに対応した特定の色信号が存在するとき、上下の色信号量の差を算出する演算部と、左右の色信号量の差を算出する演算部と、各演算部によって算出された2つの色信号量の差を比較する比較部を構成として備え、比較した色信号量の差の大小関係に従って、上下、及び左右の色信号量のうち平均値を求める色信号量を選択し、選択された色信号量から求めた平均値により色フィルタに対応しない画素の欠落した特定の色信号を補間するものである。
【0011】
また、さらに、ある一定の基準値を設定する設定部(コアリング値設定部)を構成として備え、この一定の基準値(コアリング値)と、各演算部によって算出された2つの色信号量の差を比較し、その大小関係に従って平均値を求める色信号量を選択し、選択された色信号量から求めた平均値により特定の色信号を補間するものである。
【0012】
この構成により、2次元イメージセンサーから水平あるいは垂直方向に急峻な信号変化があるような撮像出力がある場合に、急峻な信号変化を検知し、補間に必要な信号を選別して補間信号を生成するため、映像信号の解像感を高め、偽信号の発生を抑制し、高画質の映像信号を提供することができる。
【0013】
【発明の実施の形態】
以下、本発明の実施の形態について図面を参照しながら説明する。
【0014】
図1は本発明の第1の実施の形態における信号補間方法の信号の流れを示す機能ブロック図である。図1において、1〜4は、図6に示した61〜64のG信号の入力部(以下、それぞれ上段値入力部、下段値入力部、左段値入力部、右段値入力部と記す)、5は、1の上段値入力部に入力された61のG信号と2の下段値入力部に入力された62のG信号を加算する演算部(以下、上下加算部と記す)、6は、3の左段値入力部に入力された63のG信号と4の右段値入力部に入力された64のG信号を加算する演算部(以下、左右加算部と記す)、7は、1の上段値入力部に入力された61のG信号と2の下段値入力部に入力された62のG信号を減算しその減算値の絶対値を算出する演算部(以下、上下減算部と記す)、8は、3の左段値入力部に入力された63のG信号と4の右段値入力部に入力された64のG信号を減算しその減算値の絶対値を算出する演算部(以下、左右減算部と記す)、9は、7の上下減算部からの出力と8の左右減算部からの出力を比較し、大小を判別する比較器、10は、9の比較器の出力をもとに、7の上下減算部からの出力が8の左右減算部からの出力より小さい場合は5の上下加算部の出力を選択し、8の左右減算部からの出力が7の上下減算部からの出力より小さい場合は6の左右加算部の出力を選択するスイッチ部、11は、10のスイッチ部の出力を1/2にする演算部(以下、平均化部と記す)、12は、信号出力部、13は、5の上下加算部の出力と6の左右加算部の出力を加算する演算部(以下、周辺加算部と記す)、14は、13の周辺加算部の出力を1/2にする演算部(以下、割算部と記す)である。
【0015】
図3は、本発明の第1の実施の形態における信号補間方法による、2次元イメージセンサーで撮像した場合の撮像出力値と補間の様子を示している。図3において、図3(a)はR,G,Bフィルタの配置と撮像した信号量を数値で表現した原図、図3(b)はGの位置の色信号量を2次元状に配置した状態、図3(c)は本発明の第1の実施の形態における信号補間方法による補間後の信号量を2次元状に配置した状態を示す。
【0016】
以上のように構成された本発明の第1の実施の形態の信号補間方法について、以下、その動作を説明する。
【0017】
図3(a)の状態で撮像された2次元イメージセンサーの撮像出力は、次の信号処理の過程でRとGとBの各色成分ごとに振り分けられる。ここでG成分だけ抜き出すと図3(b)のようになる。ここで図6の60の位置に相当する図3(b)の箇所にはGの信号成分は存在しない。この箇所を本発明の補間方法で補間を行う。
【0018】
まず、上段値入力部1には図6の61のG信号に相当する0、下段値入力部2には図6の62のG信号に相当する6、左段値入力部3には図6の63のG信号に相当する8、右段値入力部4には図6の64のG信号に相当する8がそれぞれ入力される。すると、5の上下加算部の出力値は0+6=6となり、6の左右加算部の出力値は8+8=16となり、7の上下減算部の出力値は0−6の絶対値=6となり、8の左右減算部の出力値は8−8の絶対値=0となる。
【0019】
そこで、9の比較器は、7の上下減算部の出力値の6と8の左右減算部の出力値の0を比較し、8の左右減算部の出力値の方が7の上下減算部より小さいと判断する。つぎに、10のスイッチ部は9の比較器の情報をもとに6の左右加算部の出力値を選択する。すなわち11の平均化部には6の左右加算部の出力値8+8=16が入力される。11の平均化部の出力値は16/2=8となり、12の信号出力部からは8が出力され、図6の60の位置に相当する図3(b)の箇所にはGの信号成分8が補間される。
【0020】
次に、図6の65の位置に相当する図3(b)の箇所にもGの信号成分は存在しない。この箇所を本発明の補間方法で補間を行う。この場合、7の上下減算部の出力値と8の左右減算部の出力値がともに4であるため、11の平均化部には14の割り算部の出力が選択される。13の周辺加算部の出力は6+2+4+0=12であり、14の割算部の出力は12/2=6となる。11の平均化部の出力値は6/2=3となり12の信号出力部からは3が出力され、図6の65の位置に相当する図3(b)の箇所にはGの信号成分3が補間される。
【0021】
このようにして図3(b)のG信号が欠落した部分を補間していくと、図3(c)のようになる。図3(c)の補間結果は、図7(c)の従来の補間結果と比較して、図3(a)の原図により忠実であることがわかる。
【0022】
以上は市松状に配列したG信号について記述したが、信号が欠落した箇所を補間するために必要な周囲の4つの信号のうち、いくつかがすでに補間によってできた信号であってもよい。
【0023】
また、画素の欠落した色信号を中心に、その右上と左下、及び左上と右下に色フィルタの特定の色信号が存在するとき、右上と左下の色信号量の差と、左上と右下の色信号量の差を比較し、その大小関係に従って前記右上、左下、左上、及び右下の色信号量のうち平均値を求める色信号量を選択し、選択された色信号量から求めた平均値により色フィルタに対応しない画素の欠落した特定の色信号を補間してもよい。
【0024】
以上のように、本発明の第1の実施の形態における構成及び動作によって、各演算部と比較部が上下方向及び左右方向の信号量の急峻な変化を持つ方向を識別し、変化量の少ない方向のみの信号成分を使って信号補間を行うため、従来の補間による輪郭の偽信号を抑えることができる。
【0025】
図2は、本発明の第2の実施の形態における信号補間方法の信号の流れを示す機能ブロック図である。
【0026】
図2において、15〜18は、図6に示した61のG信号の入力部(以下、それぞれ上段値入力部、下段値入力部、左段値入力部、右段値入力部と記す)、19は、15の上段値入力部に入力された61のG信号と16の下段値入力部に入力された62のG信号を加算する演算部(以下、上下加算部と記す)、20は、17の左段値入力部に入力された63のG信号と18の右段値入力部に入力された64のG信号を加算する演算部(以下、左右加算部と記す)、21は、19の上下加算部の出力と20の左右加算部の出力を加算する演算部(以下、周辺加算部と記す)、22は、21の周辺加算部の出力を1/2にする演算部、23は、15の上段値入力部に入力された61のG信号と16の下段値入力部に入力された62のG信号を減算しその減算値の絶対値を算出する演算部(以下、上下減算部と記す)、24は、17の左段値入力部に入力された63のG信号と18の右段値入力部に入力された64のG信号を減算しその減算値の絶対値を算出する演算部(以下、左右減算部と記す)を示し、基本的には図1と同じ構成である。
【0027】
25はコアリング値、26は、23の上下減算部の出力と25のコアリング値を比較し、大小を判別する比較器(以下、比較器Aと記す)、27は、24の左右減算部の出力と25のコアリング値を比較し、大小を判別する比較器(以下、比較器Bと記す)、28は、26の比較器Aと27の比較器Bの出力をもとに、26の比較器Aが23の上下減算部の出力が25のコアリング値より小さいと判断し、27の比較器Bが24の左右減算部の出力が25のコアリング値より大きいと判断した場合、19の上下加算部の出力を選択し、26の比較器Aが23の上下減算部の出力が25のコアリング値より大きいと判断し、27の比較器Bが24の左右減算部の出力が25のコアリング値より小さいと判断した場合、20の左右加算部の出力を選択し、26の比較器Aも27の比較器Bもともに前記コアリング値より大きい、あるいは小さいと判断した場合は22の割算部の出力を選択するスイッチ部、29は、28のスイッチ部の出力を1/2にする演算部(以下、平均化部と記す)、30は信号出力部である。
【0028】
図4は、本発明の第2の実施の形態における信号補間方法による、2次元イメージセンサーで撮像した場合の撮像出力値と補間の様子を示している。
【0029】
図4において、図4(a)は、R,G,Bフィルタの配置と撮像した信号量を数値で表現した原図、図4(b)は、Gの位置の色信号量を2次元状に配置した状態、図4(c)は、本発明の第2の実施の形態における信号補間方法による補間後の信号量を2次元状に配置した状態を示す。
【0030】
以上のように構成された本発明の実施の形態の信号補間方法について、以下、その動作を説明する。
【0031】
図4(a)の状態で撮像された2次元イメージセンサーの撮像出力は、次の信号処理の過程でRとGとBの各色成分ごとに振り分けられる。ここでG成分だけ抜き出すと図4(b)のようになる。ここで図6の60の位置に相当する図4(b)の箇所にはGの信号成分は存在しない。この箇所を本発明の補間方法で補間を行う。
【0032】
まず、上段値入力部15には図6の61のG信号に相当する0、下段値入力部16には図6の62のG信号に相当する6、左段値入力部17には図6の63のG信号に相当する8、右段値入力部18には図6の64のG信号に相当する8がそれぞれ入力される。すると、19の上下加算部の出力値は0+6=6となり、20の左右加算部の出力値は8+8=16となり、21の周辺加算部の出力値は6+16=22となる。したがって、22の割算部の出力値は22/2=11となる。つぎに、23の上下減算部の出力値は0−6の絶対値=6となり、24の左右減算部の出力値は8−8の絶対値=0となる。ここで、25のコアリング値を4とする。
【0033】
26の比較器Aは、23の上下減算部の出力値の6と25のコアリング値の4を比較し、23の上下減算部の出力値が25のコアリング値より大きいと判断する。27の比較器Bは、24の左右減算部の出力値の0と25のコアリング値の4を比較し、24の左右減算部の出力値が25のコアリング値より小さいと判断する。つぎに、28のスイッチ部は26の比較器Aと27の比較器Bの出力をもとに、26の比較器Aが23の上下減算部の出力が25のコアリング値より小さいと判断し、27の比較器Bが24の左右減算部の出力が25のコアリング値より大きいと判断した場合、19の上下加算部の出力を選択し、26の比較器Aが23の上下減算部の出力が25のコアリング値より大きいと判断し、27の比較器Bが24の左右減算部の出力が25のコアリング値より小さいと判断した場合、20の左右加算部の出力を選択し、26の比較器Aも27の比較器Bもともに前記コアリング値より大きい、あるいは小さいと判断した場合は22の割算部の出力を選択することから、26の比較器Aと27の比較器Bの情報をもとに20の左右加算部の出力値を選択する。すなわち29の平均化部には20の左右加算部の出力値8+8=16が入力される。29の平均化部の出力値は16/2=8となり30の信号出力部からは8が出力され、図6の60の位置に相当する図4(b)の箇所にはGの信号成分8が補間される。
【0034】
次に、図6の65の位置に相当する図3(b)の箇所にもGの信号成分は存在しない。この箇所を本発明の補間方法で補間を行う。この場合、23の上下減算部の出力値と24の左右減算部の出力値がともに4であるため29の平均化部には22の割算部の出力が選択される。21の周辺加算部の出力は6+2+4+0=12であり、22の割り算部の出力は12/2=6となる。29の平均化部の出力値は6/2=3となり30の信号出力部からは3が出力され、図6の65の位置に相当する図4(b)の箇所にはGの信号成分3が補間される。
【0035】
このようにして図4(b)のG信号が欠落した部分を補間していくと、図4(c)のようになる。図4(c)の補間結果は、図7(c)の従来の補間結果と比較して図4(a)の原図により忠実であることがわかる。
【0036】
以上は市松状に配列したG信号について記述したが、信号が欠落した箇所を補間するために必要な周囲の4つの信号のうち、いくつかがすでに補間によってできた信号であってもよい。
【0037】
以上のように、本発明の第2の実施の形態における構成及び動作によって、各演算部と比較部が上下方向及び左右方向の信号量の急峻な変化を持つ方向を識別し、変化量の少ない方向の信号成分を使って信号補間を行うため、原画像に極めて近い忠実度の高い信号補間が実現でき、従来の補間によって発生する顕著な特性劣化の原因である輪郭の偽信号を抑えることができるため、高解像感のある映像信号を発生することができる。
【0038】
【発明の効果】
本発明は、画素の欠落した特定の色信号を中心にその上下及び左右に特定の色信号が存在するとき、上下の色信号量の差と、左右の色信号量の差を比較し、その大小関係に従って上下、及び左右の色信号量のうち平均値を求める色信号量を選択し、選択された色信号量から求めた平均値により前記色フィルタに対応しない画素の欠落した特定の色信号を補間することによって、原画像に極めて近い忠実度の高い信号補間が実現でき、従来の補間によって発生する顕著な特性劣化の原因である輪郭の偽信号を抑えることができるため、高解像感のある映像信号を発生することができる優れた信号補間を実現する方法である。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態における信号補間方法の信号の流れを示す機能ブロック図
【図2】本発明の第2の実施の形態における信号補間方法の信号の流れを示す機能ブロック図
【図3】本発明の第1の実施の形態における信号補間方法による、2次元イメージセンサーで撮像した場合の撮像出力値と補間の様子を示す図
【図4】本発明の第2の実施の形態における信号補間方法による、2次元イメージセンサーで撮像した場合の撮像出力値と補間の様子を示す図
【図5】従来の信号補間方法を示すためのフィルタ配置の概念図
【図6】図5のフィルタを配したイメージセンサーの撮像出力のうち、Gの色信号をフィルタ配置にしたがって2次元状に配列させた概念図
【図7】2次元イメージセンサーで撮像した場合の撮像出力値と従来の補間の様子を示す図
【符号の説明】
1、15 上段値入力部
2、16 下段値入力部
3、17 左段値入力部
4、18 右段値入力部
5、19 上下加算部
6、20 左右加算部
7、23 上下減算部
8、24 左右減算部
9 比較器
10、28 スイッチ部
11、29 平均化部
12、30 信号出力部
13、21 周辺加算部
14、22 割算部
25 コアリング値
26 比較器A
27 比較器B
60 Gの色信号が欠落した箇所A
61、62、63、64 G信号
65 Gの色信号が欠落した箇所B[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a color signal interpolation method for interpolating missing color signals of a two-dimensional image sensor configured by arranging specific color filters in a checkered pattern in units of pixels.
[0002]
[Prior art]
Conventionally, in the imaging output of a two-dimensional image sensor configured by arranging specific color filters in a checkered pattern in units of pixels, a specific color signal corresponding to the color filter corresponds to a specific color signal lacking pixels that do not correspond to the color filter. When interpolating with a signal, the signal amount of a specific color signal corresponding to a plurality of adjacent color filters is simply averaged around a specific color signal with missing pixels, and a specific missing signal with pixels that do not correspond to the color filter is simply averaged. Interpolates the color signal.
[0003]
Hereinafter, a conventional pixel signal interpolation method as described above will be described with reference to the drawings.
[0004]
FIG. 5 is a conceptual diagram of a filter arrangement for showing a conventional signal interpolation method. In FIG. 5, R, G, and B indicate red, green, and blue color filters, respectively. FIG. 6 is a conceptual diagram in which G color signals are two-dimensionally arranged in accordance with the filter arrangement in the imaging output of the image sensor provided with the filter of FIG.
[0005]
In FIG. 6, 60 is a location A where the G color signal is missing, and 61 to 64 are G color signals located above, below, left, and right of the location A where the 60 G color signal is missing. An existing location (hereinafter referred to as G signal), 65 is a location B where the G color signal is missing.
[0006]
FIGS. 7A, 7B, and 7C show imaging output values and conventional interpolation when imaging is performed with a two-dimensional image sensor.
[0007]
In FIG. 7, FIG. 7 (a) is an original diagram expressing the picked-up signal amount as a numerical value, and FIG. 7 (b) shows a state in which the color signal amount at the G position is two-dimensionally arranged. All numerical values in the figure are conceptual representations of the signal amount. In FIG. 6, in order to interpolate the portion A where 60 G color signals are missing, the average value of the signal amounts of the surrounding 61, 62, 63, 64 G signals is taken, and the 60 G color signals are obtained. Is interpolated as FIG. 7C shows a state in which the signal amount after interpolation by the conventional interpolation method is two-dimensionally arranged.
[0008]
[Problems to be solved by the invention]
However, in the above conventional interpolation method, the fidelity of the signal amount of FIG. 7C after interpolation with respect to the original drawing of FIG. 7A is low, so that when the image signal output from the two-dimensional image sensor is used as a video signal, the resolution is reduced. Is low, and a false signal is likely to be generated at a change point of color or luminance.
[0009]
An object of the present invention is to improve the above-described conventional problems, and an object of the present invention is to provide an interpolation method for processing an imaging output of a two-dimensional image sensor into a signal with high resolution and suppressed generation of false signals.
[0010]
[Means for Solving the Problems]
In order to achieve this object, the signal interpolation method according to the present invention has a specific color signal corresponding to a color filter at the top, bottom, left and right of a specific color signal with missing pixels. Comparing an arithmetic unit that calculates a difference in signal amount, an arithmetic unit that calculates a difference between left and right color signal amounts, and a comparison unit that compares the difference between two color signal amounts calculated by each arithmetic unit. Pixels that do not correspond to a color filter according to the average value obtained from the selected color signal amount by selecting the color signal amount for obtaining the average value from the upper and lower and left and right color signal amounts according to the magnitude relationship of the difference in the color signal amount This interpolates a specific color signal lacking.
[0011]
In addition, a setting unit (coring value setting unit) for setting a certain reference value is provided as a configuration, and this constant reference value (coring value) and two color signal amounts calculated by the respective calculation units. Are compared, a color signal amount for obtaining an average value is selected according to the magnitude relationship, and a specific color signal is interpolated by the average value obtained from the selected color signal amount.
[0012]
With this configuration, when there is an imaging output that has a steep signal change in the horizontal or vertical direction from a two-dimensional image sensor, a steep signal change is detected, and an interpolation signal is generated by selecting a signal necessary for interpolation. Therefore, the resolution of the video signal can be enhanced, the generation of false signals can be suppressed, and a high-quality video signal can be provided.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0014]
FIG. 1 is a functional block diagram showing a signal flow of the signal interpolation method according to the first embodiment of the present invention. In FIG. 1, 1-4 are G
[0015]
FIG. 3 shows an imaging output value and a state of interpolation when an image is captured by a two-dimensional image sensor by the signal interpolation method according to the first embodiment of the present invention. In FIG. 3, FIG. 3 (a) is an original drawing in which the arrangement of R, G, B filters and the amount of captured signals are expressed numerically, and FIG. 3 (b) is a two-dimensional arrangement of color signal amounts at the G position. FIG. 3 (c) shows a state in which the signal amount after interpolation by the signal interpolation method according to the first embodiment of the present invention is two-dimensionally arranged.
[0016]
The operation of the signal interpolation method of the first embodiment of the present invention configured as described above will be described below.
[0017]
The imaging output of the two-dimensional image sensor imaged in the state of FIG. 3A is distributed for each color component of R, G, and B in the process of the next signal processing. If only the G component is extracted here, the result is as shown in FIG. Here, the G signal component does not exist at the position in FIG. 3B corresponding to the
[0018]
First, 0 corresponds to the
[0019]
Therefore, the
[0020]
Next, there is no G signal component at the position in FIG. 3B corresponding to the position 65 in FIG. This part is interpolated by the interpolation method of the present invention. In this case, since the output value of the up / down subtracting unit 7 and the output value of the left /
[0021]
When the portion where the G signal in FIG. 3B is missing is interpolated in this way, the result is as shown in FIG. It can be seen that the interpolation result of FIG. 3C is more faithful to the original drawing of FIG. 3A than the conventional interpolation result of FIG.
[0022]
Although the G signals arranged in a checkerboard pattern have been described above, some of the surrounding four signals necessary for interpolating the missing signal may be signals that have already been interpolated.
[0023]
Also, when there is a specific color signal of the color filter centered on the missing color signal of the pixel at the upper right and lower left, and the upper left and lower right, the difference between the upper right and lower left color signal amount, and the upper left and lower right The color signal amounts of the upper right, lower left, upper left, and lower right color signal amounts were selected according to the magnitude relationship, and the color signal amount for obtaining the average value was selected and obtained from the selected color signal amount. A specific color signal lacking pixels that do not correspond to the color filter may be interpolated by the average value.
[0024]
As described above, according to the configuration and operation in the first embodiment of the present invention, each calculation unit and comparison unit identify a direction having a sharp change in the signal amount in the vertical direction and the horizontal direction, and the amount of change is small. Since the signal interpolation is performed using the signal component of only the direction, the false signal of the contour due to the conventional interpolation can be suppressed.
[0025]
FIG. 2 is a functional block diagram showing a signal flow of the signal interpolation method according to the second embodiment of the present invention.
[0026]
In FIG. 2, reference numerals 15 to 18 denote 61 G signal input units shown in FIG. 6 (hereinafter referred to as an upper value input unit, a lower value input unit, a left value input unit, and a right value input unit, respectively), 19 is an arithmetic unit (hereinafter referred to as a vertical addition unit) that adds 61 G signals input to the upper value input unit of 15 and 62 G signals input to the lower value input unit of 16, and 20 is An arithmetic unit (hereinafter referred to as a left / right addition unit) that adds 63 G signals input to the 17 left-stage value input unit and 64 G signals input to the 18 right-stage value input unit, , An arithmetic unit that adds the outputs of the upper and lower adders and the output of the left and right adders (hereinafter referred to as a peripheral adder), 22 is an arithmetic unit that halves the output of 21 peripheral adders, and 23 , Subtract 61 G signal input to 15 upper value input section and 62 G signal input to 16 lower value input section An arithmetic unit (hereinafter referred to as an up-and-down subtractor) for calculating the absolute value of the subtraction value, 24 is input to 63 G signals input to 17 left value input units and 18 right value input units. The calculation unit (hereinafter, referred to as a left / right subtraction unit) that subtracts the 64 G signals and calculates the absolute value of the subtraction value is shown, and basically has the same configuration as FIG.
[0027]
25 is a coring value, 26 is a comparator (hereinafter referred to as comparator A) that compares the output of 23 up-and-down subtracting units with 25 coring value and discriminates the magnitude, and 27 is a left-right subtracting unit of 24 A comparator (hereinafter referred to as comparator B) for comparing the output of 25 and the coring value of 25 to determine the magnitude, 28 is based on the outputs of 26 comparators A and 27 based on the outputs of 26 When the comparator A determines that the output of the 23 subtracting unit is smaller than 25 coring values and the comparator B determines that the output of the 24 left and right subtracting unit is greater than 25 coring values, The output of 19 up / down adders is selected, 26 comparators A determine that the output of 23 up / down subtractors is greater than 25 coring values, and 27 comparator B outputs the output of 24 left / right subtractors. If it is determined that the value is smaller than 25 coring values, the output of 20 left and right addition units is If both the
[0028]
FIG. 4 shows an imaging output value and a state of interpolation when an image is captured by a two-dimensional image sensor by the signal interpolation method according to the second embodiment of the present invention.
[0029]
In FIG. 4, FIG. 4 (a) is an original diagram that numerically represents the arrangement of R, G, and B filters and the amount of imaged signals, and FIG. 4 (b) is a two-dimensional representation of the amount of color signal at the G position. FIG. 4C shows a state in which the signal amount after interpolation by the signal interpolation method according to the second embodiment of the present invention is two-dimensionally arranged.
[0030]
The operation of the signal interpolation method of the embodiment of the present invention configured as described above will be described below.
[0031]
The imaging output of the two-dimensional image sensor imaged in the state of FIG. 4A is distributed for each color component of R, G, and B in the process of the next signal processing. If only the G component is extracted here, the result is as shown in FIG. Here, there is no G signal component at the position in FIG. 4B corresponding to the
[0032]
First, 0 corresponds to the
[0033]
The
[0034]
Next, there is no G signal component at the position in FIG. 3B corresponding to the position 65 in FIG. This part is interpolated by the interpolation method of the present invention. In this case, since the output value of 23 up / down subtraction units and the output value of 24 left / right subtraction units are both 4, the output of 22 division units is selected for 29 averaging units. The output of 21 peripheral adders is 6 + 2 + 4 + 0 = 12, and the output of 22 dividers is 12/2 = 6. The output value of the averaging unit of 29 is 6/2 = 3, 3 is output from the 30 signal output unit, and the
[0035]
When the portion where the G signal in FIG. 4B is missing is interpolated in this way, the result is as shown in FIG. It can be seen that the interpolation result of FIG. 4 (c) is more faithful to the original drawing of FIG. 4 (a) than the conventional interpolation result of FIG. 7 (c).
[0036]
Although the G signals arranged in a checkerboard pattern have been described above, some of the surrounding four signals necessary for interpolating the missing signal may be signals that have already been interpolated.
[0037]
As described above, according to the configuration and operation in the second embodiment of the present invention, each calculation unit and comparison unit identify a direction having a steep change in the signal amount in the vertical direction and the horizontal direction, and the change amount is small. Since signal interpolation is performed using signal components in the direction, signal interpolation with high fidelity that is very close to the original image can be realized, and the false signal of the contour that is the cause of significant characteristic degradation caused by conventional interpolation can be suppressed. Therefore, it is possible to generate a video signal with high resolution.
[0038]
【The invention's effect】
The present invention compares the difference between the upper and lower color signal amounts with the difference between the left and right color signal amounts when there are specific color signals in the upper and lower and left and right sides of the specific color signal with missing pixels. According to the magnitude relationship, the color signal amount for obtaining an average value is selected from the upper and lower and left and right color signal amounts, and a specific color signal in which pixels that do not correspond to the color filter are missing by the average value obtained from the selected color signal amount By interpolating the image, high-fidelity signal interpolation that is very close to the original image can be achieved, and contour false signals that cause significant characteristic degradation caused by conventional interpolation can be suppressed. This is a method for realizing excellent signal interpolation capable of generating a certain video signal.
[Brief description of the drawings]
FIG. 1 is a functional block diagram showing a signal flow of a signal interpolation method according to a first embodiment of the present invention. FIG. 2 is a function block diagram showing a signal flow of a signal interpolation method according to a second embodiment of the present invention. FIG. 3 is a diagram showing an imaging output value and a state of interpolation when an image is captured by a two-dimensional image sensor by the signal interpolation method according to the first embodiment of the present invention. The figure which shows the imaging output value and the mode of interpolation at the time of imaging with the two-dimensional image sensor by the signal interpolation method in the embodiment. FIG. 5 is a conceptual diagram of a filter arrangement for showing a conventional signal interpolation method. FIG. 7 is a conceptual diagram in which G color signals are two-dimensionally arranged in accordance with the filter arrangement among the imaging outputs of the image sensor provided with the filter of FIG. 5. FIG. Figure Description of the sign] showing how come of interpolation
1, 15 Upper
27 Comparator B
Location A where 60 G color signal is missing
61, 62, 63, 64 G signal 65 Location B where the color signal of G is missing
Claims (3)
前記2次元イメージセンサーの撮像出力をフィルタ配置にしたがって2次元状に配列させた場合において、前記画素の欠落した特定の色信号を中心にその上下及び左右に前記色フィルタに対応した特定の色信号が存在するとき、
前記上下の色信号量の第1の差と前記左右の色信号量の第2の差をとり、前記第1の差、及び第2の差とある一定の基準値(コアリング値)をそれぞれ比較し、その大小関係に従って前記上下、及び左右の色信号量のうち平均値を求める色信号量を選択し、前記第1の差、及び、前記第2の差がともにコアリング値よりも小さい場合には、上下、及び左右の4つの色信号量を選択し、前記選択された色信号量から求めた平均値により前記色フィルタに対応しない画素の欠落した特定の色信号を補間する色信号補間方法。A specific color signal corresponding to the color filter is a specific color signal lacking a pixel that does not correspond to the color filter of the imaging output of a two-dimensional image sensor configured by arranging specific color filters in a checkered pattern in units of pixels. In the color signal interpolation method to interpolate in
When the imaging output of the two-dimensional image sensor is arranged two-dimensionally according to a filter arrangement, a specific color signal corresponding to the color filter is vertically and horizontally centered on a specific color signal lacking the pixel. When
The first difference between the upper and lower color signal amounts and the second difference between the left and right color signal amounts are taken, and the first difference and the second difference are set as certain reference values (coring values), respectively. A color signal amount for obtaining an average value is selected from the upper, lower, left and right color signal amounts according to the magnitude relationship, and both the first difference and the second difference are smaller than the coring value. In this case, four color signal amounts are selected from the upper, lower, and left and right color signals, and a color signal for interpolating a specific color signal with missing pixels that do not correspond to the color filter is obtained by an average value obtained from the selected color signal amount. Interpolation method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP26151296A JP3663777B2 (en) | 1996-10-02 | 1996-10-02 | Color signal interpolation method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP26151296A JP3663777B2 (en) | 1996-10-02 | 1996-10-02 | Color signal interpolation method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH10108209A JPH10108209A (en) | 1998-04-24 |
| JP3663777B2 true JP3663777B2 (en) | 2005-06-22 |
Family
ID=17362941
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP26151296A Expired - Fee Related JP3663777B2 (en) | 1996-10-02 | 1996-10-02 | Color signal interpolation method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3663777B2 (en) |
Families Citing this family (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1171462C (en) * | 1998-05-08 | 2004-10-13 | 松下电器产业株式会社 | solid color camera |
| US6836572B2 (en) | 1998-06-01 | 2004-12-28 | Nikon Corporation | Interpolation processing apparatus and recording medium having interpolation processing program recorded therein |
| JP4292625B2 (en) * | 1998-06-01 | 2009-07-08 | 株式会社ニコン | Interpolation processing apparatus and recording medium recording interpolation processing program |
| US6774943B1 (en) | 1998-09-01 | 2004-08-10 | Ess Technology, Inc. | Method and apparatus for edge enhancement in digital images |
| US6888568B1 (en) | 1999-08-19 | 2005-05-03 | Dialog Semiconductor Gmbh | Method and apparatus for controlling pixel sensor elements |
| WO2001013649A1 (en) * | 1999-08-19 | 2001-02-22 | Ymedia Corporation | Method and apparatus for color interpolation |
| US7133073B1 (en) * | 1999-08-19 | 2006-11-07 | Dialog Imaging Systems Gmbh | Method and apparatus for color interpolation |
| JP3458080B2 (en) * | 1999-10-19 | 2003-10-20 | 松下電器産業株式会社 | Color imaging device |
| JP3905708B2 (en) | 2001-01-26 | 2007-04-18 | ペンタックス株式会社 | Image interpolation device |
| JP3965460B2 (en) | 2002-06-14 | 2007-08-29 | 有限会社ビーテック | Interpolation method for interleaved pixel signals such as checkered green signal of single-panel color camera |
-
1996
- 1996-10-02 JP JP26151296A patent/JP3663777B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH10108209A (en) | 1998-04-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4097815B2 (en) | Image processing apparatus and image processing method | |
| KR100574185B1 (en) | Color Sample Interpolation Method and Interpolator | |
| JP4162111B2 (en) | Image processing method and apparatus, and recording medium | |
| CA1222049A (en) | Motion detecting circuit utilizing inter-frame difference signals of successive fields | |
| KR100699831B1 (en) | How to interpolate color signals of Bayer pattern and interpolator | |
| KR100780932B1 (en) | Color interpolation method and device | |
| JP3663777B2 (en) | Color signal interpolation method | |
| KR20090050460A (en) | Image processing apparatus and method | |
| KR100729559B1 (en) | Color signal interpolation | |
| KR101133520B1 (en) | Color noise reduction method and device | |
| JP5868046B2 (en) | Luminance signal creation device, imaging device, brightness signal creation method, program, and recording medium | |
| KR100667803B1 (en) | Method and device for removing color noise considering characteristics between color channels | |
| KR101327790B1 (en) | Image interpolation method and apparatus | |
| KR20060127629A (en) | Color interpolation method and apparatus thereof for interlaced scanning CMC color format | |
| JP3633561B2 (en) | Image processing apparatus, image processing method, and program | |
| JP2009194721A (en) | Image signal processing apparatus, image signal processing method, and imaging apparatus | |
| JP3576600B2 (en) | Color imaging device | |
| JP3965460B2 (en) | Interpolation method for interleaved pixel signals such as checkered green signal of single-panel color camera | |
| JP2000165892A (en) | Pixel interpolation method and image processing device | |
| KR100637272B1 (en) | Color interpolation method considering correlation between channels | |
| KR100741517B1 (en) | High Resolution Color Interpolation Method Considering Correlation between Channels | |
| JPH08163583A (en) | Three-dimensional luminance signal color signal separation device | |
| JP5109911B2 (en) | Imaging apparatus and interpolation processing method | |
| JPH11205808A (en) | Signal processing unit and its processing method | |
| JP2507129B2 (en) | Interpolation filter device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20041005 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20041026 |
|
| 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: 20050308 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050321 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080408 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090408 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100408 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110408 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120408 Year of fee payment: 7 |
|
| LAPS | Cancellation because of no payment of annual fees |