JP3700232B2 - Video input device - Google Patents

Video input device Download PDF

Info

Publication number
JP3700232B2
JP3700232B2 JP02123296A JP2123296A JP3700232B2 JP 3700232 B2 JP3700232 B2 JP 3700232B2 JP 02123296 A JP02123296 A JP 02123296A JP 2123296 A JP2123296 A JP 2123296A JP 3700232 B2 JP3700232 B2 JP 3700232B2
Authority
JP
Japan
Prior art keywords
image
luminance
images
video input
luminance value
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
Application number
JP02123296A
Other languages
Japanese (ja)
Other versions
JPH09102930A (en
Inventor
雅史 山本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mazda Motor Corp
Original Assignee
Mazda Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mazda Motor Corp filed Critical Mazda Motor Corp
Priority to JP02123296A priority Critical patent/JP3700232B2/en
Publication of JPH09102930A publication Critical patent/JPH09102930A/en
Application granted granted Critical
Publication of JP3700232B2 publication Critical patent/JP3700232B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、映像入力装置に関し、特にCCDカメラ等の撮像手段のダイナミックレンジを広げることができる映像入力装置に関する。
【0002】
【従来の技術】
車両にCCDカメラを搭載して道路前方の映像を画像処理することにより走行路認識および障害物認識を行なう装置や、CCDカメラを用いた車両用後方監視装置が知られているが、これらの装置を夜間に使用すると、前方車両や後続車両のヘッドライト部分の映像の輝度情報が飽和してグレアを生じ、画像認識ために必要十分な映像情報を得ることができなかったり、あるいは後方の監視に不都合を生じたりするという問題がある。一方、オートアイリスや電子シャッターの機能を用いて露光量を減少させると、明るい部分の飽和が解消されてグレアを防止することができるが、逆に暗い部分の映像情報が失われてしまうことになる。
【0003】
これは、一般的なCCDカメラのダイナミックレンジ(S/N比)が高々40dB程度であるのに対し、夜間の道路シーン中の対象物の明るさのレンジは1Lux〜100,000Lux 程度(50dB)の範囲に及ぶためである。すなわち、従来のCCDカメラでは、夜間の道路シーンを撮像するにはダイナミックレンジが不足しており、暗い部分から明るい部分まで一度に映像を入力することは不可能であった。
【0004】
このため、例えば特開昭62−23843号に記載された車両用視認補助装置では、特定波長領域の光を車両から照射して、この光によって照射された対象物を上記特定波長領域の光の狭帯域フィルタを介してCCDカメラで撮像することによって、対象物からの光量を減少させることなく、ヘッドライト等の幻惑光の光量のみを減少させるようにしている。
【0005】
また、車載CCDカメラのダイナミックレンジを広げる従来技術として、2種類のシャッタースピード、例えば1/60秒と1/100 秒をもって撮像した画像を合成することが知られている。これによって、明るい部分の映像情報が飽和することがないから、グレアを防止することができ、かつ、暗い部分の映像情報もある程度得ることができる。
【0006】
さらに、暗い部分の映像を鮮明に撮像する従来技術として、電荷蓄積型CCDカメラを用いることが知られている。この場合は、比較的遅いシャッタースピード(1/30 秒〜1秒)をもって撮像することにより、照明の届かない非常に暗い対象物も、明るく、鮮明な映像を得ることができ、屋外監視用装置として利用されている。
【0007】
【発明が解決しようとする課題】
しかしながら、上記公報に記載された技術では、特定波長領域の光の照射装置を必要とする欠点があり、また、上記のCCDカメラのダイナミックレンジを広げる従来技術では、シャッタースピードを遅くしようとしても1/60秒が限度であるため、これによって得た暗い部分の映像情報は十分のものとは言えず、この技術を用いた走行路認識・障害物認識装置あるいは後方監視装置は、夜間性能が不満足なものであった。
【0008】
さらに、上記電荷蓄積型CCDカメラを用いた場合は、暗い部分の鮮明な映像を入力できるが、カメラのダイナミックレンジは広がっておらず、このため、明るい部分と暗い部分とが混在するシーンを撮像しようとするとき、明るい部分の映像情報が飽和しないように、かつ、暗い部分の映像情報は鮮明になるように映像を入力することは困難である。
【0009】
上述の事情に鑑み、本発明は、明るい部分の映像情報が飽和しないようにし、かつ、暗い対象物の映像も明るく、かつ鮮明に撮像することが可能な映像入力装置を提供することを目的とする。
【0010】
【課題を解決するための手段】
本発明による映像入力装置は、CCDカメラのような撮像手段により画像を撮像しながら該画像をフレームメモリに蓄積し、該フレームメモリに蓄積された画像を合成する映像入力装置であって、
上記フレームメモリに蓄積する画像の蓄積枚数を、低輝度の画素ほど上記蓄積枚数を増加させる態様で、画素の輝度値に応じて画素ごとに変更する蓄積枚数変更手段を備えてなることを特徴とするものである。
【0011】
また、上記撮像手段により、複数の画像を一定の露光量をもって撮像してもよいし、あるいは、複数の画像を露光時間を異ならせて撮像してもよい。
【0012】
さらに、蓄積枚数の異なる画素間で、あるいは露光時間を異ならせて撮像した画素間で輝度変化が少なくなるように輝度値を補正する補正手段を備えていることが好ましい。
【0013】
上記フレームメモリは、互いに異なる蓄積枚数を固定的に設定された複数のフレームメモリによって構成することができる。
【0014】
あるいは、蓄積枚数を計数するカウンタと、上記フレームメモリに蓄積された画素の輝度値を所定のしきい値とを比較する比較器と、この比較器による比較に基づいて、上記しきい値よりも小さい輝度を有する画素の輝度値を上記フレームメモリに蓄積された輝度値に加算する加算器とを設けてもよい。
【0015】
また、本発明による映像入力装置は、電荷蓄積時間の制御可能な電荷蓄積型撮像手段を備え、該撮像手段により画像を撮像しながら該画像をフレームメモリに蓄積し、該フレームメモリに蓄積された画像を合成する映像入力装置であって、 上記撮像手段における電荷蓄積時間を制御する制御手段を備え、該制御手段による電荷蓄積時間の制御の下に上記撮像手段により、蓄積時間が長い画像と短い画像とを交互に獲得し、低照度部分は上記蓄積時間が長い画像の画素情報を用い、高照度部分は上記蓄積時間が短い画像の画素情報を用いて、画像を合成することを特徴とするものである。
【0016】
この場合も、蓄積時間が長い画像と短い画像の画素間で輝度変化が少なくなるように輝度値を補正する補正手段を備えているものとする。
【0017】
そして、上記補正手段による輝度値の補正は、下記の式を用いて行なうことができる。
【0018】
【数2】

Figure 0003700232
【0019】
但し、L(x,y):蓄積時間が長い画像の座標(x,y)における輝度値
S(x,y):蓄積時間が短い画像の座標(x,y)における輝度値
H(x,y):補正画像の座標(x,y)における輝度値
T :輝度のしきい値
n :蓄積時間が長い画像と短い画像との蓄積時間比(n>1)
【0020】
【発明の効果】
本発明によれば、フレームメモリに蓄積する画像の蓄積枚数を、低輝度の画素ほど上記蓄積枚数を増加させる態様で、画素の輝度値に応じて画素ごとに変更する蓄積枚数変更手段を備えていることにより、画素ごとに最適な露光量をもって映像を入力することができるから、明るい部分の画像を飽和させることなしに、暗い部分の画像に対して露光量を等価的に増大させることができるため、例えば車両のヘッドライトによるグレアを低減しながら、暗い部分の映像を明るく、かつ鮮明に撮像することができる。
【0021】
また、蓄積枚数の異なる画素間で、あるいは露光時間を異ならせて撮像した画素間で輝度変化が少なくなるように輝度値を補正する補正手段を設けた場合は、明るい部分から暗い部分までの輝度情報を連続的に、かつ滑らかに変化させることができるから、自然な画像を得ることができる。
【0022】
さらに、蓄積枚数を計数するカウンタと、上記フレームメモリに蓄積された画素の輝度値を所定のしきい値とを比較する比較器と、この比較器による比較に基づいて、上記しきい値よりも小さい輝度を有する画素の輝度値を上記フレームメモリに蓄積された輝度値に加算する加算器とを設けることにより、互いに異なる蓄積枚数を固定的に設定された複数のフレームメモリを設ける必要がなくなるから、蓄積枚数の変更に柔軟に対応でき、かつ、処理回路が簡単になる利点がある。
【0023】
ところで、CCD素子の出力には映像信号成分と雑音成分とがあるが、低輝度領域では、映像信号成分に対して雑音成分が相対的に大きい。このため、上述のように、低輝度の画素のフレームメモリへの蓄積枚数を増加させる場合には、低輝度領域の雑音成分も増幅されるから、S/N比(映像信号成分/雑音成分)の低下は否めない。
【0024】
そこで、電荷蓄積時間の制御可能な電荷蓄積型撮像手段を用いて、蓄積時間が長い画像と短い画像とを交互に獲得し、低照度部分は、蓄積時間を長くして信号電荷量を増やした画像の画素情報を用い、高照度部分は蓄積時間が短い画像の画素情報を用いて、画像を合成するとにより、明るい部分の映像を飽和させることなしに、かつ暗い部分の映像を高S/N比をもって明るく、より鮮明に撮像することができる。
【0025】
そして、この場合も、蓄積時間が長い画像と短い画像の画素間で輝度変化が少なくなるように輝度値を補正することにより、自然な画像を得ることができる。
【0026】
【発明の実施の形態】
以下、図面を参照して、本発明による映像入力装置の実施の形態について説明する。
【0027】
理解を容易にするために、本発明による映像入力装置の第1の実施の形態の構成の説明に先立って、この第1の実施の形態において行なわれる処理について説明する。画像の蓄積枚数nは予め設定されているものとして、ここではn=4とする。
【0028】
先ず、画像を1枚入力する。この1枚目の画像の座標(x,y)における輝度値をI1 (x,y)とする。このとき、明るい部分(ヘッドライトの光の部分)の輝度情報が飽和しないように、電子シャッターのスピードを速くして、もしくはレンズのアイリス(絞り)を絞って、露光量を制御する。この画像では、露光量を少なくしているため、明るい部分の輝度情報は飽和しないが、暗い部分の情報はノイズに埋もれてしまっており、獲得不能である。
【0029】
次に、2枚目の画像を1枚目と同じ露光量で撮像し、この2枚目の画像の座標(x,y)における輝度値をI2 (x,y)とする。そして、1枚目の画像において輝度値が所定のしきい値T1 よりも小さい画素、すなわち、I1 (x,y)<T1 となる画素について、I1 (x,y)とI2 (x,y)とを足し合わせる。このようにして得られた蓄積枚数が2枚の画素の輝度値をJ2 (x,y)とすると、J2 (x,y)は次式で表すことができる。
【0030】
1 (x,y)<T1 のとき
2 (x,y)=I1 (x,y)+I2 (x,y) (1)
画像を2枚蓄積すると露光量が2倍となるため、蓄積枚数が2枚の画像の輝度値J2 は、蓄積しない画像の輝度値J1 の2倍となる。したがって、次式が成立する。
【0031】
1 =(1/2 )J2 (2)
ここで、画像の深さを8ビット、すなわち256階調とすると、J2 (x,y)≧256のとき座標(x,y)の画素の輝度情報が飽和する。(2) 式より、J2 =256のときJ1 =128となるため、I1 (x,y)≧128である画素を蓄積すると輝度情報が飽和してしまう。そこで、しきい値T1 =128と設定する。
【0032】
このように画像を2枚足し合わせる(蓄積する)ことにより等価的に露光量を2倍にすることができる(レンズの絞りを開けることと同じ効果が得られる)ため、暗い部分の映像を明るく、かつ鮮明に入力することができる。
【0033】
しかしながら、画像を2枚足し合わせても、露光量が足りず、輝度情報がノイズに埋もれている画素がある。そこで、3枚目の画像を1、2枚目と同じ露光量で撮像し、その3枚目の画像の座標(x,y)における輝度値をI3 (x,y)とする。そして、蓄積枚数が2枚の画像において輝度値が所定のしきい値T2 よりも小さい画素、すなわち、J2 (x,y)<T2 となる画素について、J2 (x,y)とI3 (x,y)とを足し合わせる。このようにして得られた蓄積枚数が3枚の画素の輝度値をJ3 (x,y)とすると、J3 (x,y)は次式で表すことができる。
【0034】
2 (x,y)<T2 のとき
3 (x,y)=J2 (x,y)+I3 (x,y)
=I1 (x,y)+I2 (x,y)+I3 (x,y) (3)
蓄積枚数が3枚の画像の露光量は、蓄積枚数が2枚の画像の露光量の3/2 倍となるため、蓄積枚数が3枚の画像の輝度値J3 は、蓄積枚数が2枚の画像の輝度値J2 の3/2 倍となる。したがって、次式が成立する。
【0035】
2 =(2/3) J3 (4)
画像の深さが8ビットであるため、J3 ≧256のとき座標(x,y)の画素の輝度情報が飽和する。(4) 式より、J3 =256のときJ2 =171となるため、J2 (x,y)≧171である画素を蓄積すると輝度情報が飽和してしまう。そこで、しきい値T2 =171と設定する。
【0036】
さらに、画像を3枚足し合わせても、露光量が足りず、輝度情報がノイズに埋もれている画素がある。そこで、4枚目の画像を1〜3枚目と同じ露光量で撮像し、その4枚目の画像の座標(x,y)における画素の輝度値をI4 (x,y)とする。そして、蓄積枚数が3枚の画像において輝度値が所定のしきい値T3 よりも小さい画素、すなわち、J3 (x,y)<T3 となる画素について、J3 (x,y)とI4 (x,y)とを足し合わせる。このようにして得られた蓄積数が4枚の画素の輝度値をJ4 (x,y)とすると、J4 (x,y)は次式で表すことができる。
【0037】
3 (x,y)<T3 のとき
4 (x,y)=J3 (x,y)+I4 (x,y)
=I1 (x,y)+I2 (x,y)+I3 (x,y)
+I4 (x,y) (5)
蓄積枚数が4枚の画像の露光量は、蓄積枚数が3枚の画像の露光量の4/3 倍となるため、蓄積枚数が4枚の画像の輝度値J4 は、蓄積枚数が3枚の画像の輝度値J3 の4/3 倍となる。したがって、次式が成立する。
【0038】
3 =(3/4) J4 (6)
画像の深さが8ビットであるため、J4 ≧256のとき座標(x,y)の画素の輝度情報が飽和する。(6) 式より、J4 =256のときJ3 =192となるため、J3 (x,y)≧192である画素を蓄積すると輝度情報が飽和してしまう。そこで、しきい値T3 =192と設定する。
【0039】
以上のような処理を行なうと、最も暗い部分の画素の蓄積枚数は4枚となり、明るくなるにつれて蓄積枚数が3枚、2枚、1枚(蓄積なし)となって、画素ごとに蓄積枚数が異なる画像が得られる。そして、蓄積枚数が1枚の画素J1 (x,y)、2枚の画素J2 (x,y)、3枚の画素J3 (x,y)、4枚の画素J4 (x,y)の輝度値が採り得る範囲は、それぞれ次の4つの式からなる(7) 式のようになる。
【0040】
128≦J1 (x,y)<256
171≦J2 (x,y)<256 (7)
192≦J3 (x,y)<256
0≦J4 (x,y)<256
横軸を明るさに、縦軸を輝度値にとって、(7) 式をグラフに描くと図1が得られる。しかしながら、図1のような画素ごとに蓄積枚数が異なる画像では、暗い部分から明るい部分にかけて輝度情報が連続的に変化していないため、自然な画像を得ることができない。そこで、暗い部分から明るい部分にかけて輝度値が滑らかに変化するように、J3 ,J2 ,J1 を補正する。
【0041】
先ず、輝度値J4 とJ3 とが連続的に繋がるように、式(8) を用いてJ3 を補正する。
【0042】
3 ′=255+(J3 −191) (8)
次に、J3 ′とJ2 とが連続的に繋がるように、式(9) を用いてJ2 を補正する。
【0043】
2 ′=255+(255−191)+(J2 −170)
=319+(J2 −170) (9)
さらに、J2 ′とJ1 とが連続的に繋がるように、(10)式を用いてJ1 を補正する。
【0044】
1 ′=255+(319−170)+(J1 −127)
=404+(J1 −127) (10)
以上のようにして、J1 ,J2 ,J3 をそれぞれJ1 ′,J2 ′,J3 ′に補正すると、J1 ′,J2 ′,J3 ′に採り得る範囲は、下記の4つの式からなる(11)式ようになる。
【0045】
405≦J1 ′(x,y)<533
320≦J2 ′(x,y)<405 (11)
256≦J3 ′(x,y)<320
0≦J4 (x,y)<256
再び横軸を明るさに、縦軸を輝度値にとって、(11)式をグラフに描くと図2が得られる。図2から明らかなように、式(8) ,(9) ,(10)を用いて輝度値を補正した画像は、画素間の輝度変化が少なく、輝度が連続的に滑らかに繋がっているため、自然な画像を得ることができる。
【0046】
最後に533階調もある輝度を、次の4つの式からなる(12)式を用いて、フレームメモリの一般的な階調である256階調に変換する。
【0047】
1 ′=J1 ′*(256/533)
2 ′=J2 ′*(256/533) (12)
3 ′=J3 ′*(256/533)
=J4 *(256/533)
以上の処理を施すことにより、図1に示すようにCCDカメラのダイナミックレンジをDR1 からDR2 に広げることができる。すなわち、画素ごとに蓄積枚数を変更して、明るい部分(ヘッドライト光)で輝度情報が飽和せず、暗い部分で、明るく、かつ鮮明な映像情報を得ることができる。さらに、必要に応じて、ヒストグラムを改善することにより、暗い部分のコントラストを高くすることができる。
【0048】
以上説明した本発明の実施の形態は、画像の最大蓄積枚数を4とした場合であるが、蓄積枚数は任意に設定することができ、蓄積枚数をnとした場合は、各式を次のように変更すればよい。
【0049】
式(1),(3),(5) J1 =I1
k =Jk-1 +Ik
=I1 +I2 +…+Ik
(ただし、k=1,2,…,n)
式(2),(4),(6) Jk =[k/(k+1)] Jk+1
(ただし、k=1,2,…,n−1)
しきい値Tn k =[k/(k+1)] *256
(ただし、k=2,…,n−1)
式(7) T1 ≦J1 (x,y)<256
2 ≦J2 (x,y)<256

k ≦Jk (x,y)<256

0≦Tn (x,y)<256
(ただし、k=1,2,…,n)
【0050】
【数3】
Figure 0003700232
【0051】
図3は、以上の処理を施すための映像入力装置の第1の実施の形態の回路例を示すブロック図であり、蓄積枚数n=4の場合を示す。1はCCDカメラ、2は、電子シャッターまたはレンズのアイリス(絞り)を制御する回路、3はアドレス発生回路である。
【0052】
CCDカメラ1で撮像された映像信号はA/D変換器4でデジタル信号に変換され、フレームメモリ5a〜5dに蓄積されるが、メモリ5a(メモリ1)は1枚目の画像(≧128)を記憶するメモリ、メモリ5b(メモリ2)は1枚目と2枚目の画像を足し合わせた画像を記憶するメモリ、メモリ5c(メモリ3)は1〜3枚目の画像を足し合わせた画像を記憶するメモリ、メモリ4は1〜4枚目の画像を足し合わせた画像を記憶するメモリである。輝度値J1 ,J2 ,J3 は、ルックアップ・テーブル(LUT)6a〜6cでそれぞれ式(8) 〜(10)に基づいてJ1 ′,J2 ′,J3 ′に補正され(図2)、かつJ1 ′,J2 ′,J3 ′およびJ4 に対してルックアップ・テーブル(LUT)6a〜6dによって式(12)に示す256階調への変換がなされる。そして、変換されたJ1 ′,J2 ′,J3 ′およびJ4 を合成した映像情報がメモリ7に格納され、かつこのメモリ7から読み出されてD/A変換器8でアナログ情報に変換されて出力される。
【0053】
なお、図3の回路では、ルックアップ・テーブル(LUT)6a〜6dにおいて、J1 ,J2 ,J3 をそれぞれJ1 ′,J2 ′,J3 ′に補正し、かつ256階調に変換してから、その変換したJ1 ′,J2 ′,J3 ′およびJ4 を足し合わせているが、先に足し合わせてから変換を行なってもよい。
【0054】
図4は、本発明の第2の実施の形態を示すブロック図である。この第2の実施の形態の回路では、蓄積枚数を任意に設定することができるから、映像の蓄積回数の変更に柔軟に対応でき、かつ回路構成がより簡単になる。
【0055】
図4の回路では、画像を蓄積するための1個のフレームメモリ5を備えており、かつCCDカメラ1からの同期信号を用いて、カウンタ9で蓄積枚数をカウントしている。そして、カウンタ9からの蓄積枚数情報は、しきい値Tを記憶しているメモリ10に与えられ、このメモリ10から蓄積枚数に対応するしきい値が、比較器11に出力される。比較器11では、メモリ5に蓄積されているデータDと、メモリ10から出力されるしきい値Tとを比較して、比較結果をセレクタ12に出力する。セレクタ12では、比較器11の比較結果がD≧Tであれば0(データD2)を選択し、D<Tであれば、メモリ5からのデータD1を選択する。セレクタ12の出力は、加算器13でA/D変換器4の出力に加算されてフレームメモリ5に蓄積されるように構成されている。
【0056】
すなわち、D≧Tのとき、セレクタ12が0を選択するという処理は、画素の輝度がしきい値Tよりも明るければ映像を足し合わさないという操作になり、D<Tのとき、セレクタ12がメモリ5からのデータD1を選択するという処理は、画素の輝度がしきい値Tよりも暗ければ映像を足し合わせてフレームメモリ5に書き込むという操作になる。そして、メモリ5から読み出された映像情報が一旦メモリ7に蓄積された後、ルックアップ・テーブル6で上述のような補正および変換がなされて、256階調の自然な画像に変換され、次いでD/A変換器8でアナログ情報に変換されて出力される。
【0057】
次に本発明による画像入力装置の第3の実施の形態について説明する。
【0058】
先ず、第3の実施の形態において行なわれる処理について説明すると、シャッタースピードを変えることができる電子シャッターを備えたCCDカメラを用いて、異なるシャッタースピードで画像を撮像する。例えば、シャッタースピードt1 ,t2 で撮像した画像をI1 (t1 ,x,y),I(t2 ,x,y)とする。t1 ,t2 はt1 =Nt ・t2 (ただしNt >1)なる関係があるとする。すなわち、t2 の方がシャッタースピードが速い。例えば、t1 =1/60秒、t2 =1/240秒とすると、Nt =4となる。
【0059】
画像I1 (t1 ,x,y)の中で輝度がしきい値S1 (例えば、S1 =240)よりも大きい画素について、画像I(t2 ,x,y)の輝度値と入れ替える。
【0060】
1 (t1 ,x,y)≧S1 のとき
1 (t2 ,x,y)=I(t2 ,x,y)
1 (t1 ,x,y)<S1 のとき
1 (t1 ,x,y)=I1 (t1 ,x,y)
シャッタースピードt1 とt2 との間にはt1 =Nt ・t2 の関係があるため、画像I(t2 ,x,y)の露光量は、画像I1 (t1 ,x,y)の露光量の1/Nt 倍になっている。すなわち、I(t2 ,x,y)=(1/Nt )・I1 (t1 ,x,y)となる。したがって、S1 ≦I1 (t1 ,x,y)である画素は、次式で示す関係を満たすようになる。
【0061】
1 ≦I1 (t1 ,x,y)=Nt ・I(t2 ,x,y)
1 /Nt ≦ I(t2 ,x,y)<256
1 /Nt ≦J1 (t2 ,x,y)<256
このようにすることで、明るい部分はシャッタースピードを速くして露光量を少なくし、輝度情報が飽和することを防ぐことができる。
【0062】
次に、画像J1 (x,y)の中で輝度がしきい値S1 よりも小さい画素について蓄積処理を行なう。例えば、蓄積枚数をn=3とする。
【0063】
シャッタースピードt1 で2枚目の画像I2 (t1 ,x,y)を撮像する。画像J1 (x,y)の中で輝度がしきい値T1 よりも小さい画素について2枚目の画像の輝度値I2 (t1 ,x,y)を加え、蓄積枚数が2枚の画像J2 (x,y)を得る。
【0064】
1 (x,y)<T1 のとき
2 (x,y)=J1 (x,y)+I2 (t1 ,x,y)
=I1 (t1 ,x,y)+I2 (t1 ,x,y)
1 ≦J1 (x,y)<S1 のとき
2 (x,y)=J1 (x,y)
=I1 (t1 ,x,y)
画像を2枚蓄積することにより等価敵に露光量が2倍となるため、蓄積しない画像の輝度J1 (t1 )と蓄積枚数が2枚の画像の輝度J2 (t1 )との間には、理想的にはJ2 (t1 )=2J1 (t1 )の関係が成り立つ。したがって、J1 (t1 )≧128である画像について蓄積を行なうと、蓄積した画像はJ2 (t1 )≧256となり、飽和してしまう。そこで、しきい値としてT1 =128を選ぶ。
【0065】
さらに、画像J2 (x,y)の中で輝度がしきい値T2 よりも小さい画素についてさらに蓄積処理を行なう。
【0066】
シャッタースピードt1 で3枚目の画像I3 (t1 ,x,y)を撮像する。画像J2 (x,y)の中で輝度がしきい値T2 よりも小さい画素について3枚目の画像の輝度値I3 (t1 ,x,y)を加え、蓄積枚数が3枚の画像J3 (x,y)を得る。
【0067】
2 (x,y)<T2 のとき
3 (x,y)=J2 (x,y)+I3 (t1 ,x,y)
=I1 (t1 ,x,y)+I2 (t1 ,x,y)
+I3 (t1 ,x,y)
2 ≦J2 (x,y)<256のとき
3 (x,y)=J2 (x,y)
=I1 (t1 ,x,y)+I2 (t1 ,x,y)
蓄積枚数が2枚の画像の輝度J2 (t1 )と蓄積枚数が3枚の画像の輝度J3(t1 )との間には、理想的にはJ3 (t1 )=(3/2) J2 (t1 )の関係が成り立つ。したがって、J2 (t1 )≧171である画像について蓄積を行なうと、蓄積した画像はJ3 (t1 )≧256となり、飽和してしまう。そこで、しきい値としてT2 =171を選ぶ。
【0068】
以上のように蓄積処理を行なうことにより、等価的に露光量を多くすることができるため、暗い部分の映像を明るく、かつ鮮明に入力することができる。そして、シャッタースピードt1 で撮像した画像I1 (t1 )の中で輝度がしきい値S1 (=240)よりも大きい画素について、シャッタースピードt2 で撮像した画像I(t2 )の輝度値と入れ替えた画素J1 (t2 )、シャッタースピードt1 で撮像した蓄積枚数が1枚の画素J1 (t1 )、2枚の画素J2 (t1 )、3枚の画素J3 (t1 )の輝度値が採り得る範囲は、下記の式に示すようになる。
【0069】
60≦J1 (t2 )<256
128≦J1 (t1 )<240
171≦J2 (t1 )<256
0≦J3 (t1 )<256
横軸に明るさを、縦軸に輝度値をとってグラフを描くと、図5のようになり、ダイナミックレンジがDR1 からDR2 に拡大されているが、輝度値が明るさに対して単調増加していないため、自然な画像が得られない。そこで、前述した第1の実施の形態と同様に、輝度値を補正すると、下記の式に示すようになる。
【0070】
3 ′(t1 )=J3 (t1
2 ′(t1 )=255+{J2 (t1 )−170}
1 ′(t1 )=255+(255−170)+{J1 (t1 )−127}
=340+{J1 (t1 )−127}
1 ′(t2 )=239+(340−127)+{J1 (t2 )−59}
=452+{J1 (t2 )−59}
以上のようにしてJ1 (t2 ),J1 (t1 ),J2 (t1 )を補正すると、J1 ′(t2 ),J1 ′(t1 ),J2 ′(t1 ),J3 ′(t1 )が採り得る範囲は次のようになる。
【0071】
453≦J1 ′(t2 )<649
341≦J1 ′(t1 )<453
256≦J2 ′(t1 )<341
0≦J3 ′(t1 )<256
明るさを横軸に、輝度値を縦軸に取りグラフを描くと、図6のようになり、輝度値が連続的に繋がっているため、自然な画像をうることができる。
【0072】
最後に、次式を用いて、階調を649階調から256階調へ変換し、その後、必要に応じてヒストグラムの改善を行なえばよい。
【0073】
1 ′(t2 )=J1 ′(t2 )*(256/649)
1 ′(t1 )=J1 ′(t1 )*(256/649)
2 ′(t1 )=J2 ′(t1 )*(256/649)
3 ′(t1 )=J3 ′(t1 )*(256/649)
以上の処理を行なうことにより、図5に示すようにダイナミックレンジを広げることができる。すなわち、明るい部分は輝度情報が飽和していない映像を、暗い部分は明るく、かつ鮮明な画像を入力することができる。さらに、ヒストグラムを改善することにより、暗い部分のコントラストを高くすることができる。
【0074】
なお、以上の説明では、蓄積枚数n=3、シャッタースピードt1 =1/60秒、t2 =1/240秒としたが、これは任意に設定することができる。
【0075】
図7は、本発明による映像入力装置の第3の実施の形態の回路例を示すブロック図である。図7のブロック図では、図4の電子シャッターまたはレンズのアイリス(絞り)を制御する回路2に代えて、シャッタースピード制御回路20を備えていることと、処理内容が異なることを除いては、図4の回路と同様であるから、対応する要素に同一符号を付し、重複する説明は省略する。
【0076】
次に、本発明による映像入力装置の第4の実施の形態について説明する。
【0077】
図8はCCDカメラに用いられるCCD撮像素子への入射光量と出力信号との関係を表す光電変換特性を両対数グラフで示したものである。図8から明らかなように、低照度領域の撮像限界はアンプ雑音やリセットノイズにより決定される。したがって、暗い被写体を高S/N比をもって撮像するためには、これらの雑音を減らすか、あるいはCCD撮像素子における電荷蓄積時間を長くして、信号電荷量(信号電子数)を増加させることが重要となる。すなわち、電荷蓄積時間を長くすると、信号電荷量が増加することにより、図9に示すように、より低照度の領域の撮像が可能となる。
【0078】
ところが、電荷蓄積時間を長くすることにより、信号電子数が飽和し始める照度が低くなるため、グレア発生領域が広がってしまう。
【0079】
そこで、本実施の形態では、電荷蓄積時間tを制御することができるCCDカメラを用いて、電荷蓄積時間が長い画像(例えば、t=4/30sec )と電荷蓄積時間が短い画像(例えば、t=1/60sec )とを交互に撮像し、低照度の部分は電荷蓄積時間が長い画像の画素情報を用い、高照度の部分は電荷蓄積時間が短い画像の画素情報を用いて、新しい画像を合成している。合成した新しい画像の光電変換特性は図10に示すようになり、ヘッドライトの光による飽和がなく、かつ低照度部分は明るく、かつS/N比の高い画像となる。
【0080】
以下、図11のタイムチャートを参照しながら、本実施の形態における処理の流れを述べる。
【0081】
(1) 電荷蓄積時間が長い画像(例えば、t=4/30sec )と、電荷蓄積時間が短い画像(例えば、t=1/60sec )とを交互に撮像しながら以下の処理を行なう(図11(a) )
(2) 電荷蓄積時間が長い画像を撮像し、A/D変換を行なう。この画像をL1(x,y)とする(x、yは画素の座標値)
(3) A/D変換した画像L1 (x,y)をフレームメモリ1へ転送し、書き込む(図11(b) )。
【0082】
(4) 次に、電荷蓄積時間が短い画像を撮像し、A/D変換を行なう。この画像をS1 (x,y)とする(5) A/D変換した画像S1 (x,y)をフレームメモリ1へ転送し、処理(6) を実行する(図11(b) )
(6) フレームメモリ1の座標(x,y)に書き込まれている画像L1 (x,y)の画素の輝度値を、所定のしきい値Tと比較し、L1 (x,y)>Tであれば、S1 (x,y)を補正処理(後述)した後、フレームメモリ1の座標(x,y)に書き込む。L1 (x,y)≦Tであれば、書き込まれているL1 (x,y)を補正処理して再びフレームメモリ1に書き込む。
【0083】
(7) 次に、電荷蓄積時間が長い画像を撮像し、A/D変換を行なう。この画像をL2 (x,y)とする
(8) A/D変換した画像L2 (x,y)をフレームメモリ2へ転送し、書き込む(図11(d) )。
【0084】
(9) 次に、電荷蓄積時間が短い画像を撮像し、A/D変換を行なう。この画像をS2 (x,y)とする
(10)A/D変換した画像S2 (x,y)をフレームメモリ1へ転送し、処理(11)を実行する(図11(d) )
(11)フレームメモリ2の座標(x,y)に書き込まれている画像L2 (x,y)の画素の輝度値を、所定のしきい値Tと比較し、L2 (x,y)>Tであれば、S2 (x,y)を補正処理(後述)した後、フレームメモリ1の座標(x,y)に書き込む。L2 (x,y)≦Tであれば、書き込まれているL2 (x,y)を補正処理して再びフレームメモリ2に書き込む。
【0085】
(12)以下、(2) 〜(12)の処理を繰り返す
(13)映像出力は、フレームメモリ1で処理 (2)〜(6) を行なっているときにはフレームメモリ2の画像を出力し、フレームメモリ2で処理 (7)〜(11)を行なっているときにはフレームメモリ2の画像を出力する(図11(c) ,(e))。
【0086】
なお、上述の処理では、S1 (x,y)またはL1 (x,y)に対して、またS2 (x,y)またはL2 (x,y)に対して補正処理を行なっているが、これら補正処理を施さない場合は、図10に示すように、照度に対して電子数が単調増加していない。すなわち、明るさに対して輝度値が単調増加してないから、自然な映像が得られない。そこで、前述の実施の形態と同様に、輝度値を補正して自然な映像に変換する。
【0087】
電荷蓄積時間が長い(例えば、t=n・t0 )画像L(x,y)と、電荷蓄積時間が短い(例えば、t=t0 )画像S(x,y)の間には、理想的にはL(x,y)=n・S(x,y)の関係が成立する。そこで、下記の式を用いて補正画像H(x,y)を生成する。
【0088】
【数4】
Figure 0003700232
【0089】
但し、L(x,y):蓄積時間が長い画像の座標(x,y)における輝度値
S(x,y):蓄積時間が短い画像の座標(x,y)における輝度値
H(x,y):補正画像の座標(x,y)における輝度値
この補正は、上述の処理 (3),(6) ,(8) ,(11)で行なう。この補正により、明るさに対して輝度値が単調増加となり、自然な映像が得られる。
【0090】
図12は、本発明による映像入力装置の第4の実施の形態の回路例を示すブロック図である。図12のブロック図では、電荷蓄積時間tを制御することができるCCDカメラ41のために蓄積時間制御回路42を設け、これをコントローラ40でコントロールする。
【0091】
CCDカメラ41から出力される映像信号は、A/D変換器43でA/D変換されて、演算回路44aを経てフレームメモリ45a(フレームメモリ1)に転送されるとともに、上述の補正演算を行なう演算回路44bを経てフレームメモリ45b(フレームメモリ2)に転送される。また、CCDカメラ41から出力される映像信号に含まれる同期信号は、垂直・水平同期分離回路46で分離されてアドレス発生回路47に与えられ、ここで、フレームメモリ45a,45bのためのアドレス信号が作成される。
【0092】
フレームメモリ45a,45bからそれぞれ読み出された蓄積時間が長い画像L1 (x,y),L2 (x,y)の画素情報は比較器48a,48bでそれぞれでしきい値Tと比較され、その比較結果によりメモリコントローラ49a,49bが演算回路44a,44bをそれぞれ制御して、上述の式に従って補正を行なわせるとともに、メモリコントローラ49a,49bがフレームメモリ45a,45bの動作をそれぞれ制御する。図11のタイミングチャートに示すように、交互に出力されるフレームメモリ45a,45bの出力は、D/A変換器50でD/Aされて外部に出力される。A/D変換器43およびD/A変換器50には、ドットクロック発生回路51からクロック信号が与えられる。
【図面の簡単な説明】
【図1】 本発明による映像入力装置の第1の実施の形態における処理の説明に供するグラフ
【図2】 本発明による映像入力装置の第1の実施の形態における処理において輝度値を補正したグラフ
【図3】 本発明による映像入力装置の第1の実施の形態の回路構成を示すブロック図
【図4】 本発明による映像入力装置の第2の実施の形態の回路構成を示すブロック図
【図5】 本発明による映像入力装置の第3の実施の形態における処理の説明に供するグラフ
【図6】 本発明による映像入力装置の第3の実施の形態における処理において輝度値を補正したグラフ
【図7】 本発明による映像入力装置の第3の実施の形態の回路構成を示すブロック図
【図8】 CCD撮像素子の光電変換特性を示すグラフ
【図9】 電荷蓄積時間を長くしたときの光電変換特性を示すグラフ
【図10】 本発明による映像入力装置の第4の実施の形態における光電変換特性を示すグラフ
【図11】 本発明による映像入力装置の第4の実施の形態における処理のタイミングチャート
【図12】 本発明による映像入力装置の第4の実施の形態の回路構成を示すブロック図
【符号の説明】
1,41 CCDカメラ
2 電子シャッターまたはオートアイリス制御回路
3,47 アドレス発生回路
4,43 A/D変換器
5,5a〜5d,7,45a,45b フレームメモリ
6,6a〜6d ルックアップ・テーブル
8,50 D/A変換器
9 カウンタ
10 メモリ
11,48a,48b 比較器
12 セレクタ
13 加算器
20 シャッタースピード制御回路
40 コントローラ
42 電荷蓄積時間制御回路
44a,44b 演算回路
49a,49b メモリコントローラ[0001]
BACKGROUND OF THE INVENTION
  The present invention relates to a video input device, and more particularly to a video input device capable of widening the dynamic range of an imaging means such as a CCD camera.
[0002]
[Prior art]
  There are known a device for recognizing a traveling path and obstacles by mounting a CCD camera on a vehicle and processing an image of a road ahead, and a vehicle rear monitoring device using a CCD camera. When the camera is used at night, the brightness information of the images of the headlights of the preceding vehicle and the following vehicle is saturated and glare occurs, so that sufficient image information necessary for image recognition cannot be obtained, or for rear monitoring. There is a problem of inconvenience. On the other hand, if the exposure is reduced using the auto iris or electronic shutter functions, saturation of bright areas can be eliminated and glare can be prevented, but video information in dark areas will be lost. .
[0003]
  This is because the dynamic range (S / N ratio) of a general CCD camera is at most about 40 dB, while the brightness range of an object in a night road scene is about 1 Lux to 100,000 Lux (50 dB). This is because it covers a range of. That is, the conventional CCD camera has a dynamic range that is insufficient to capture a night road scene, and it is impossible to input an image from a dark part to a bright part at a time.
[0004]
  For this reason, for example, in the vehicular visual aid described in Japanese Patent Application Laid-Open No. Sho 62-23843, light in a specific wavelength region is irradiated from the vehicle, and an object irradiated by this light is emitted from the light in the specific wavelength region. By imaging with a CCD camera through a narrow band filter, only the light amount of the illusion light such as a headlight is reduced without reducing the light amount from the object.
[0005]
  Further, as a conventional technique for expanding the dynamic range of an in-vehicle CCD camera, it is known to synthesize images captured at two types of shutter speeds, for example, 1/60 seconds and 1/100 seconds. Thereby, since the video information of the bright part is not saturated, the glare can be prevented and the video information of the dark part can be obtained to some extent.
[0006]
  Further, it is known to use a charge storage type CCD camera as a conventional technique for clearly capturing an image of a dark part. In this case, by taking an image with a relatively slow shutter speed (from 1/30 seconds to 1 second), even a very dark object that does not reach illumination can obtain a bright and clear image. It is used as.
[0007]
[Problems to be solved by the invention]
  However, the technique described in the above publication has a drawback that it requires a light irradiation device in a specific wavelength region, and the conventional technique for expanding the dynamic range of the above-mentioned CCD camera has a disadvantage that even if it is attempted to reduce the shutter speed. / 60 seconds is the limit, so it cannot be said that the video information of the dark part obtained by this is sufficient, and the road performance recognition / obstacle recognition device or the backward monitoring device using this technology is unsatisfactory at night performance It was something.
[0008]
  Furthermore, when the charge storage type CCD camera is used, a clear image of a dark part can be input, but the dynamic range of the camera is not widened, so that a scene in which a bright part and a dark part are mixed is imaged. When trying to do so, it is difficult to input the video so that the video information in the bright part is not saturated and the video information in the dark part is clear.
[0009]
  In view of the above-described circumstances, an object of the present invention is to provide a video input device that prevents video information in a bright part from being saturated and also enables a bright and clear image of a dark object to be captured. To do.
[0010]
[Means for Solving the Problems]
  A video input device according to the present invention is a video input device that stores an image in a frame memory while capturing an image by an imaging unit such as a CCD camera, and synthesizes the image stored in the frame memory.
  The number of stored images is stored in the frame memory, and the number of stored images is changed for each pixel in accordance with the luminance value of the pixel in such a manner that the number of stored images is increased as the pixel has lower luminance. To do.
[0011]
  In addition, a plurality of images may be picked up with a constant exposure amount by the image pickup means, or a plurality of images may be picked up with different exposure times.
[0012]
  Furthermore, it is preferable to include a correction unit that corrects the luminance value so that the luminance change is reduced between pixels with different numbers of accumulated images or between pixels that are captured with different exposure times.
[0013]
  The frame memory can be composed of a plurality of frame memories in which different storage numbers are fixedly set.
[0014]
  Alternatively, a counter for counting the number of accumulated images, a comparator for comparing the luminance value of the pixel accumulated in the frame memory with a predetermined threshold value, and based on the comparison by the comparator, You may provide the adder which adds the luminance value of the pixel which has small brightness | luminance to the luminance value accumulate | stored in the said frame memory.
[0015]
  The video input device according to the present invention includes charge storage type imaging means capable of controlling the charge storage time, stores the image in the frame memory while capturing the image by the imaging means, and stores the image in the frame memory. An image input device for synthesizing images, comprising a control means for controlling a charge accumulation time in the imaging means, and an image having a long accumulation time and a short time by the imaging means under the control of the charge accumulation time by the control means. The image is obtained alternately, and the low illuminance part uses the pixel information of the image with a long accumulation time, and the high illuminance part uses the pixel information of the image with a short accumulation time to synthesize the image. Is.
[0016]
  Also in this case, there is provided a correcting means for correcting the luminance value so that the luminance change between the pixels of the image having a long accumulation time and the image having a short accumulation time is reduced.Shall be.
[0017]
  And the correction | amendment of the luminance value by the said correction | amendment means can be performed using the following formula | equation.
[0018]
[Expression 2]
Figure 0003700232
[0019]
  Where L (x, y): luminance value at the coordinates (x, y) of the image with a long accumulation time
        S (x, y): luminance value at the coordinates (x, y) of the image with a short accumulation time
        H (x, y): luminance value at the coordinates (x, y) of the corrected image
                T: threshold of luminance
                n: Ratio of accumulation time between an image having a long accumulation time and a short image (n> 1)
[0020]
【The invention's effect】
  According to the present invention, the number of stored images is stored in the frame memory, and the number of stored images is changed for each pixel in accordance with the luminance value of the pixel in such a manner that the number of stored images increases as the luminance of the pixel decreases. Therefore, since an image can be input with an optimum exposure amount for each pixel, the exposure amount can be equivalently increased with respect to an image in a dark portion without saturating an image in a bright portion. For this reason, for example, it is possible to brightly and clearly capture an image of a dark portion while reducing glare due to a vehicle headlight.
[0021]
  In addition, when correction means is provided to correct the brightness value so that the change in brightness is reduced between pixels with different numbers of stored images or pixels with different exposure times, the brightness from bright to dark Since information can be changed continuously and smoothly, a natural image can be obtained.
[0022]
  In addition, a counter for counting the number of accumulated images, a comparator for comparing the luminance values of the pixels accumulated in the frame memory with a predetermined threshold, and based on the comparison by the comparator, By providing an adder that adds the luminance value of a pixel having a small luminance to the luminance value accumulated in the frame memory, it is not necessary to provide a plurality of frame memories in which different numbers of accumulated images are fixedly set. There is an advantage that the number of stored sheets can be flexibly changed and the processing circuit can be simplified.
[0023]
  By the way, there are a video signal component and a noise component in the output of the CCD element, but the noise component is relatively larger than the video signal component in the low luminance region. Therefore, as described above, when increasing the number of low-luminance pixels stored in the frame memory, the noise component in the low-luminance region is also amplified, so the S / N ratio (video signal component / noise component). I cannot deny the decline.
[0024]
  Therefore, using charge storage type imaging means with controllable charge storage time, images with long storage time and short images were alternately obtained, and the signal charge amount was increased by increasing the storage time for the low illuminance part. By using the pixel information of the image, the high illuminance portion uses the pixel information of the image having a short accumulation time, and the image is synthesized, so that the image of the dark portion is not saturated and the image of the dark portion is high S / N. It is bright with a ratio and can be imaged more clearly.
[0025]
  In this case as well, a natural image can be obtained by correcting the luminance value so that the luminance change is small between the pixels of the image having a long accumulation time and the image having a short accumulation time.
[0026]
DETAILED DESCRIPTION OF THE INVENTION
  Embodiments of a video input device according to the present invention will be described below with reference to the drawings.
[0027]
  In order to facilitate understanding, prior to the description of the configuration of the first embodiment of the video input device according to the present invention, the processing performed in the first embodiment will be described. Assume that the number n of stored images is preset, and n = 4 here.
[0028]
  First, one image is input. The luminance value at the coordinates (x, y) of this first image is expressed as I1 Let (x, y). At this time, the exposure amount is controlled by increasing the speed of the electronic shutter or by reducing the iris of the lens so that the luminance information of the bright part (headlight light part) is not saturated. In this image, since the exposure amount is reduced, the luminance information of the bright part is not saturated, but the information of the dark part is buried in noise and cannot be acquired.
[0029]
  Next, the second image is captured with the same exposure amount as the first image, and the luminance value at the coordinates (x, y) of the second image is expressed as I.2 Let (x, y). The luminance value in the first image is a predetermined threshold value T.1 Smaller pixels, ie I1 (X, y) <T1 For the pixel1 (X, y) and I2 Add (x, y). The luminance value of the pixel having two accumulated images obtained in this way is expressed as J.2 If (x, y), then J2 (X, y) can be expressed by the following equation.
[0030]
    I1 (X, y) <T1 When
         J2 (X, y) = I1 (X, y) + I2 (X, y) (1)
  When two images are stored, the exposure amount is doubled, so the brightness value J of the image with two stored images2 Is the luminance value J of the image that is not stored1 Twice as much. Therefore, the following equation is established.
[0031]
                J1 = (1/2) J2                                 (2)
  Here, if the depth of the image is 8 bits, that is, 256 gradations, J2 When (x, y) ≧ 256, the luminance information of the pixel at the coordinate (x, y) is saturated. From equation (2), J2 = 256 when J1 = 128, so I1 If pixels with (x, y) ≧ 128 are accumulated, luminance information is saturated. Therefore, the threshold value T1 = 128 is set.
[0032]
  By adding (accumulating) two images in this way, the amount of exposure can be equivalently doubled (the same effect as opening the aperture of the lens can be obtained). And clear input.
[0033]
  However, even if two images are added together, there are pixels in which the amount of exposure is insufficient and the luminance information is buried in noise. Therefore, the third image is captured with the same exposure amount as the first and second images, and the luminance value at the coordinates (x, y) of the third image is expressed as I.Three Let (x, y). Then, the luminance value is a predetermined threshold value T in an image having two stored images.2 Smaller pixels, ie J2 (X, y) <T2 J2 (X, y) and IThree Add (x, y). The luminance value of the pixel having three accumulated images obtained in this way is expressed as J.Three If (x, y), then JThree (X, y) can be expressed by the following equation.
[0034]
    J2 (X, y) <T2 When
          JThree (X, y) = J2 (X, y) + IThree (X, y)
              = I1 (X, y) + I2 (X, y) + IThree (X, y) (3)
  Since the exposure amount of an image with 3 accumulated images is 3/2 times the exposure amount of 2 images, the brightness value J of the image with 3 accumulated imagesThree Is the brightness value J of an image with two stored images2 3/2 times the Therefore, the following equation is established.
[0035]
                  J2 = (2/3) JThree                                 (Four)
  Since the depth of the image is 8 bits, JThree When ≧ 256, the luminance information of the pixel at the coordinates (x, y) is saturated. From equation (4), JThree = 256 when J2 = 171, so J2 If pixels with (x, y) ≧ 171 are accumulated, luminance information is saturated. Therefore, the threshold value T2 = 171.
[0036]
  Furthermore, even if three images are added together, there are pixels in which the amount of exposure is insufficient and the luminance information is buried in noise. Therefore, the fourth image is captured with the same exposure amount as the first to third images, and the luminance value of the pixel at the coordinates (x, y) of the fourth image is set to I.Four Let (x, y). Then, the luminance value is a predetermined threshold value T in an image having three stored images.ThreeSmaller pixels, ie JThree(X, y) <TThree JThree (X, y) and IFour Add (x, y). The accumulated value obtained in this way is the luminance value of the four pixels JFour If (x, y), then JFour (X, y) can be expressed by the following equation.
[0037]
    JThree (X, y) <TThree When
          JFour (X, y) = JThree (X, y) + IFour (X, y)
                  = I1 (X, y) + I2 (X, y) + IThree (X, y)
                  + IFour(X, y) (5)
  Since the exposure amount of an image with 4 stored images is 4/3 times the exposure amount of 3 images, the brightness value J of the image with 4 stored imagesFour Is the brightness value J of an image with 3 stored imagesThree 4/3 times as much. Therefore, the following equation is established.
[0038]
                  JThree = (3/4) JFour                                  (6)
  Since the image depth is 8 bits, JFour When ≧ 256, the luminance information of the pixel at the coordinates (x, y) is saturated. From equation (6), JFour = 256 when JThree = 192, so JThree If pixels with (x, y) ≧ 192 are accumulated, the luminance information is saturated. Therefore, the threshold value TThree = 192.
[0039]
  When the above processing is performed, the number of accumulated pixels in the darkest part is 4, and as the brightness increases, the accumulated number is 3, 2, and 1 (no accumulation). Different images are obtained. Then, the pixel J with the accumulated number is one.1 (X, y) Two pixels J2 (X, y) 3 pixels JThree (X, y) 4 pixels JFour The range that the luminance value of (x, y) can take is as shown in equation (7) consisting of the following four equations.
[0040]
                  128 ≦ J1 (X, y) <256
                  171 ≦ J2 (X, y) <256 (7)
                  192 ≦ JThree(X, y) <256
                      0 ≦ JFour(X, y) <256
  Drawing the equation (7) on a graph with the horizontal axis as the brightness and the vertical axis as the luminance value yields FIG. However, in an image in which the number of accumulated images is different for each pixel as shown in FIG. 1, since the luminance information does not continuously change from a dark part to a bright part, a natural image cannot be obtained. Therefore, in order for the brightness value to change smoothly from dark to bright,Three , J2 , J1 Correct.
[0041]
  First, the luminance value JFour And JThree So that they are connected continuously using equation (8)Three Correct.
[0042]
                  JThree ′ = 255 + (JThree -191) (8)
  Next, JThree ′ And J2 So that they are connected continuously using equation (9)2 Correct.
[0043]
                  J2 '= 255 + (255-191) + (J2 -170)
                       = 319 + (J2 −170) (9)
  In addition, J2 ′ And J1 So that they are continuously connected to each other using equation (10)1 Correct.
[0044]
                  J1 '= 255 + (319-170) + (J1 -127)
                       = 404 + (J1 -127) (10)
  J1 , J2 , JThree J1 ', J2 ', JThree When corrected to ′, J1 ', J2 ', JThree The range that can be taken as ′ is the following four formulas (11).
[0045]
                405 ≦ J1 '(X, y) <533
                320 ≦ J2 '(X, y) <405 (11)
                256 ≦ JThree '(X, y) <320
                    0 ≦ JFour (X, y) <256
  FIG. 2 is obtained by drawing the equation (11) on the graph with the horizontal axis representing brightness and the vertical axis representing luminance value. As is clear from FIG. 2, the luminance value corrected using the equations (8), (9), and (10) has little luminance change between pixels, and the luminance is continuously and smoothly connected. , Natural images can be obtained.
[0046]
  Finally, the luminance having 533 gradations is converted into 256 gradations, which are general gradations of the frame memory, using the following equation (12) consisting of the following four expressions.
[0047]
                  J1 '= J1 ′ * (256/533)
                  J2 '= J2 * (256/533) (12)
                  JThree '= JThree ′ * (256/533)
                        = JFour * (256/533)
  By performing the above processing, the dynamic range of the CCD camera is reduced to DR as shown in FIG.1 To DR2 Can be spread. That is, by changing the number of accumulated pixels for each pixel, it is possible to obtain bright and clear video information in a dark part without saturation of luminance information in a bright part (headlight light). Furthermore, if necessary, the contrast of dark portions can be increased by improving the histogram.
[0048]
  The embodiment of the present invention described above is for the case where the maximum number of stored images is 4. However, the number of stored images can be arbitrarily set. When the number of stored images is n, the following equations are used. It should be changed as follows.
[0049]
  Formula (1), (3), (5) J1 = I1
                    Jk = Jk-1 + Ik
                        = I1 + I2 + ... + Ik
                                (Where k = 1, 2,..., N)
  Formula (2), (4), (6) Jk = [K / (k + 1)] Jk + 1
                                (Where k = 1, 2,..., N−1)
  Threshold Tn  Tk = [K / (k + 1)] * 256
                                (However, k = 2, ..., n-1)
  Equation (7) T1 ≦ J1 (X, y) <256
                   T2 ≦ J2 (X, y) <256
                               …
                   Tk ≦ Jk (X, y) <256
                               …
                     0 ≦ Tn (X, y) <256
                               (Where k = 1, 2,..., N)
[0050]
[Equation 3]
Figure 0003700232
[0051]
  FIG. 3 is a block diagram showing a circuit example of the first embodiment of the video input apparatus for performing the above processing, and shows a case where the number of stored sheets n = 4. Reference numeral 1 denotes a CCD camera, 2 denotes a circuit for controlling an electronic shutter or lens iris (aperture), and 3 denotes an address generation circuit.
[0052]
  The video signal picked up by the CCD camera 1 is converted into a digital signal by the A / D converter 4 and stored in the frame memories 5a to 5d, but the memory 5a (memory 1) stores the first image (≧ 128). A memory 5b (memory 2) is a memory that stores an image obtained by adding the first and second images, and a memory 5c (memory 3) is an image obtained by adding the first to third images. The memory 4 is a memory for storing an image obtained by adding the first to fourth images. Luminance value J1 , J2 , JThree Is based on the equations (8) to (10) in the lookup tables (LUT) 6a to 6c, respectively.1 ', J2 ', JThree (Fig. 2) and J1 ', J2 ', JThree ′ And JFourOn the other hand, conversion to 256 gradations shown in Expression (12) is performed by look-up tables (LUT) 6a to 6d. And the converted J1 ', J2 ', JThree ′ And JFour Is stored in the memory 7, read out from the memory 7, converted into analog information by the D / A converter 8, and output.
[0053]
  In the circuit shown in FIG. 3, in the lookup tables (LUT) 6a to 6d, J1 , J2 , JThree J1 ', J2 ', JThree ′ And converted to 256 tones, then the converted J1 ', J2 ', JThree ′ And JFour However, conversion may be performed after adding together.
[0054]
  FIG. 4 is a block diagram showing a second embodiment of the present invention. In the circuit according to the second embodiment, the number of stored images can be set arbitrarily, so that it is possible to flexibly cope with a change in the number of stored images and the circuit configuration becomes simpler.
[0055]
  In the circuit of FIG. 4, one frame memory 5 for storing images is provided, and the number of stored images is counted by a counter 9 using a synchronization signal from the CCD camera 1. Then, the accumulated number information from the counter 9 is given to the memory 10 storing the threshold value T, and the threshold value corresponding to the accumulated number is output from the memory 10 to the comparator 11. The comparator 11 compares the data D stored in the memory 5 with the threshold value T output from the memory 10 and outputs the comparison result to the selector 12. The selector 12 selects 0 (data D2) if the comparison result of the comparator 11 is D ≧ T, and selects data D1 from the memory 5 if D <T. The output of the selector 12 is added to the output of the A / D converter 4 by the adder 13 and stored in the frame memory 5.
[0056]
  That is, when D ≧ T, the process of selecting 0 by the selector 12 is an operation that the video is not added if the luminance of the pixel is higher than the threshold value T. When D <T, the selector 12 The process of selecting the data D1 from the memory 5 is an operation of adding the video and writing it in the frame memory 5 if the luminance of the pixel is darker than the threshold value T. Then, after the video information read from the memory 5 is temporarily stored in the memory 7, the above correction and conversion are performed in the lookup table 6 to convert it into a natural image of 256 gradations, and then It is converted into analog information by the D / A converter 8 and output.
[0057]
  Next, a third embodiment of the image input apparatus according to the present invention will be described.
[0058]
  First, the processing performed in the third embodiment will be described. Images are captured at different shutter speeds using a CCD camera equipped with an electronic shutter that can change the shutter speed. For example, shutter speed t1 , T2 The image captured with1 (T1 , X, y), I (t2 , X, y). t1 , T2 Is t1 = Nt ・ T2 (However, Nt > 1). That is, t2 The shutter speed is faster. For example, t1 = 1/60 seconds, t2 = 1/240 seconds, Nt = 4.
[0059]
  Image I1 (T1 , X, y) has a threshold value S1(For example, S1 For pixels larger than = 240), the image I (t2 , X, y).
[0060]
      I1 (T1 , X, y) ≧ S1 When
            J1 (T2 , X, y) = I (t2 , X, y)
      I1 (T1 , X, y) <S1 When
            J1 (T1 , X, y) = I1 (T1 , X, y)
  Shutter speed t1 And t2 Between1 = Nt ・ T2 Therefore, the image I (t2 , X, y) is determined by the image I1 (T1 , X, y) 1 / N of the exposure amountt It has doubled. That is, I (t2 , X, y) = (1 / Nt) ・ I1 (T1 , X, y). Therefore, S1 ≦ I1 (T1 , X, y) satisfies the relationship expressed by the following equation.
[0061]
        S1 ≦ I1 (T1 , X, y) = Nt ・ I (t2 , X, y)
        S1 / Nt ≤ I (t2 , X, y) <256
        S1 / Nt ≦ J1 (T2 , X, y) <256
  By doing so, it is possible to prevent the brightness information from being saturated by increasing the shutter speed and reducing the exposure amount in a bright part.
[0062]
  Next, image J1 The luminance is the threshold value S in (x, y)1 The accumulation process is performed for smaller pixels. For example, the number of accumulated sheets is n = 3.
[0063]
  Shutter speed t1 In the second image I2 (T1 , X, y). Image J1 The luminance is the threshold value T in (x, y)1 Luminance value I of the second image for smaller pixels2 (T1 , X, y), and an image J having two stored images2 (X, y) is obtained.
[0064]
        J1 (X, y) <T1 When
            J2 (X, y) = J1 (X, y) + I2 (T1 , X, y)
                          = I1 (T1 , X, y) + I2 (T1 , X, y)
        T1 ≦ J1 (X, y) <S1 When
            J2 (X, y) = J1 (X, y)
                          = I1 (T1 , X, y)
  By accumulating two images, the exposure amount is doubled to the equivalent enemy.1 (T1 ) And the brightness J of an image with two stored images2 (T1 ) Between J2 (T1 ) = 2J1 (T1 ). Therefore, J1 (T1 ) When accumulation is performed for an image with ≧ 128, the accumulated image is J2 (T1 ) ≧ 256, which is saturated. So, T1 = 128 is selected.
[0065]
  Furthermore, image J2 The luminance is the threshold value T in (x, y)2 Further accumulation processing is performed for smaller pixels.
[0066]
  Shutter speed t1 In the third image IThree (T1 , X, y). Image J2 The luminance is the threshold value T in (x, y)2 The luminance value I of the third image for smaller pixelsThree (T1, X, y), and an image J having three stored imagesThree (X, y) is obtained.
[0067]
    J2 (X, y) <T2 When
          JThree (X, y) = J2 (X, y) + IThree (T1 , X, y)
                        = I1 (T1 , X, y) + I2 (T1 , X, y)
                        + IThree (T1 , X, y)
    T2 ≦ J2 When (x, y) <256
          JThree (X, y) = J2(X, y)
                        = I1 (T1 , X, y) + I2 (T1 , X, y)
  Luminance J of images with two stored images2 (T1 ) And brightness J of an image with 3 stored imagesThree(T1 ) Between JThree (T1 ) = (3/2) J2 (T1 ). Therefore, J2 (T1 ) When accumulation is performed for an image of ≧ 171, the accumulated image is JThree (T1 ) ≧ 256, which is saturated. So, T2 = 171 is selected.
[0068]
  By performing the accumulation process as described above, the amount of exposure can be equivalently increased, so that a video in a dark part can be input brightly and clearly. And shutter speed t1 Image I taken with1 (T1 ) Is the threshold value S1 For pixels larger than (= 240), the shutter speed t2 I (t2 Pixel J replaced with the brightness value of1 (T2 ), Shutter speed t1 Pixel J with one stored image taken in1 (T1 ) Two pixels J2 (T1 ) 3 pixels JThree (T1 The range in which the luminance value can be taken is as shown in the following equation.
[0069]
            60 ≦ J1 (T2 ) <256
          128 ≦ J1 (T1 <240
          171 ≦ J2(T1 ) <256
              0 ≦ JThree (T1 ) <256
  Drawing the graph with brightness on the horizontal axis and luminance value on the vertical axis gives a graph as shown in FIG.1 To DR2 However, since the luminance value does not monotonously increase with respect to the brightness, a natural image cannot be obtained. Thus, as in the first embodiment described above, when the luminance value is corrected, the following equation is obtained.
[0070]
  JThree ′ (T1 ) = JThree (T1 )
  J2 ′ (T1 ) = 255 + {J2 (T1 ) -170}
  J1 ′ (T1 ) = 255 + (255-170) + {J1 (T1 ) -127}
                = 340 + {J1 (T1 ) -127}
  J1 ′ (T2 ) = 239 + (340-127) + {J1 (T2 ) -59}
                = 452 + {J1 (T2 ) -59}
  J1 (T2 ), J1 (T1 ), J2 (T1 )1 ′ (T2 ), J1 ′ (T1 ), J2 ′ (T1), JThree ′ (T1 ) Is as follows.
[0071]
              453 ≦ J1 ′ (T2 ) <649
              341 ≦ J1 ′ (T1 ) <453
              256 ≦ J2 ′ (T1 ) <341
                  0 ≦ JThree ′ (T1 ) <256
  When a graph is drawn with the brightness on the horizontal axis and the luminance value on the vertical axis, the result is as shown in FIG. 6 and the luminance values are continuously connected, so that a natural image can be obtained.
[0072]
  Finally, the gradation may be converted from 649 gradations to 256 gradations using the following formula, and then the histogram may be improved as necessary.
[0073]
              J1 ′ (T2 ) = J1 ′ (T2 ) * (256/649)
              J1 ′ (T1 ) = J1 ′ (T1 ) * (256/649)
              J2 ′ (T1 ) = J2 ′ (T1 ) * (256/649)
              JThree ′ (T1 ) = JThree ′ (T1 ) * (256/649)
  By performing the above processing, the dynamic range can be expanded as shown in FIG. That is, it is possible to input an image in which luminance information is not saturated in a bright portion, and a bright and clear image in a dark portion. Furthermore, the contrast of dark parts can be increased by improving the histogram.
[0074]
  In the above description, the number of stored sheets n = 3 and the shutter speed t1 = 1/60 seconds, t2 = 1/240 seconds, but this can be set arbitrarily.
[0075]
  FIG. 7 is a block diagram showing a circuit example of the video input device according to the third embodiment of the present invention. In the block diagram of FIG. 7, except that the electronic shutter or lens iris (aperture) control circuit 2 shown in FIG. 4 is replaced by a shutter speed control circuit 20 and the processing contents are different. Since it is the same as that of the circuit of FIG.
[0076]
  Next, a fourth embodiment of the video input device according to the present invention will be described.
[0077]
  FIG. 8 is a logarithmic graph showing photoelectric conversion characteristics representing the relationship between the amount of light incident on a CCD image sensor used in a CCD camera and the output signal. As is apparent from FIG. 8, the imaging limit in the low illuminance region is determined by amplifier noise and reset noise. Therefore, in order to image a dark subject with a high S / N ratio, it is possible to reduce these noises or increase the charge accumulation time in the CCD image sensor to increase the signal charge amount (number of signal electrons). It becomes important. In other words, if the charge accumulation time is lengthened, the signal charge amount increases, so that it is possible to image a region with lower illuminance as shown in FIG.
[0078]
  However, by increasing the charge accumulation time, the illuminance at which the number of signal electrons begins to saturate decreases, and therefore the glare generation region widens.
[0079]
  Therefore, in the present embodiment, an image having a long charge accumulation time (for example, t = 4/30 sec) and an image having a short charge accumulation time (for example, t) are used by using a CCD camera capable of controlling the charge accumulation time t. = 1/60 sec) alternately, and the low illuminance part uses the pixel information of the image with a long charge accumulation time, and the high illuminance part uses the pixel information of the image with a short charge accumulation time to create a new image. Synthesizing. The photoelectric conversion characteristic of the synthesized new image is as shown in FIG. 10, and there is no saturation due to the light of the headlight, the low illuminance portion is bright, and the image has a high S / N ratio.
[0080]
  Hereinafter, the flow of processing in the present embodiment will be described with reference to the time chart of FIG.
[0081]
  (1) The following processing is performed while alternately capturing an image having a long charge accumulation time (for example, t = 4/30 sec) and an image having a short charge accumulation time (for example, t = 1/60 sec) (FIG. 11). (a))
  (2) Take an image with a long charge accumulation time and perform A / D conversion. This image is L1(X, y) (x and y are pixel coordinate values)
  (3) A / D converted image L1 (X, y) is transferred to the frame memory 1 and written (FIG. 11 (b)).
[0082]
  (4) Next, an image with a short charge accumulation time is taken and A / D conversion is performed. S1 (5) A / D converted image S1 (X, y) is transferred to the frame memory 1 and the process (6) is executed (FIG. 11 (b)).
  (6) Image L written at coordinates (x, y) in frame memory 11 The luminance value of the pixel (x, y) is compared with a predetermined threshold value T, and L1 If (x, y)> T, then S1 After (x, y) is corrected (described later), it is written in the coordinates (x, y) of the frame memory 1. L1 If (x, y) ≦ T, the written L1 (X, y) is corrected and written into the frame memory 1 again.
[0083]
  (7) Next, an image having a long charge accumulation time is taken and A / D conversion is performed. This image is L2 (X, y)
  (8) A / D converted image L2 (X, y) is transferred to the frame memory 2 and written (FIG. 11 (d)).
[0084]
  (9) Next, an image with a short charge accumulation time is taken and A / D conversion is performed. S2 (X, y)
  (10) A / D converted image S2 (X, y) is transferred to the frame memory 1 and the process (11) is executed (FIG. 11 (d)).
  (11) The image L written at the coordinates (x, y) of the frame memory 22 The luminance value of the pixel (x, y) is compared with a predetermined threshold value T, and L2 If (x, y)> T, then S2 After (x, y) is corrected (described later), it is written in the coordinates (x, y) of the frame memory 1. L2 If (x, y) ≦ T, the written L2 (X, y) is corrected and written into the frame memory 2 again.
[0085]
  (12) Repeat steps (2) to (12) below
  (13) For video output, when the processing (2) to (6) is performed in the frame memory 1, the image of the frame memory 2 is output, and when the processing (7) to (11) is performed in the frame memory 2. The image in the frame memory 2 is output (FIGS. 11C and 11E).
[0086]
  In the above process, S1 (X, y) or L1 For (x, y) and S2 (X, y) or L2 Although correction processing is performed on (x, y), when these correction processing is not performed, the number of electrons does not monotonously increase with respect to illuminance as shown in FIG. That is, since the luminance value does not monotonously increase with respect to the brightness, a natural image cannot be obtained. Therefore, as in the above-described embodiment, the luminance value is corrected and converted into a natural image.
[0087]
  Charge accumulation time is long (for example, t = n · t0 ) Image L (x, y) and short charge accumulation time (for example, t = t0 ) Ideally, the relationship of L (x, y) = n · S (x, y) is established between the images S (x, y). Therefore, a corrected image H (x, y) is generated using the following equation.
[0088]
[Expression 4]
Figure 0003700232
[0089]
  Where L (x, y): luminance value at the coordinates (x, y) of the image with a long accumulation time
        S (x, y): luminance value at the coordinates (x, y) of the image with a short accumulation time
        H (x, y): luminance value at the coordinates (x, y) of the corrected image
  This correction is performed in the above processes (3), (6), (8), and (11). By this correction, the luminance value monotonously increases with respect to the brightness, and a natural image can be obtained.
[0090]
  FIG. 12 is a block diagram showing a circuit example of the video input device according to the fourth embodiment of the present invention. In the block diagram of FIG. 12, an accumulation time control circuit 42 is provided for the CCD camera 41 capable of controlling the charge accumulation time t, and this is controlled by the controller 40.
[0091]
  The video signal output from the CCD camera 41 is A / D converted by the A / D converter 43, transferred to the frame memory 45a (frame memory 1) through the arithmetic circuit 44a, and performs the above correction calculation. The data is transferred to the frame memory 45b (frame memory 2) via the arithmetic circuit 44b. The synchronization signal included in the video signal output from the CCD camera 41 is separated by the vertical / horizontal synchronization separation circuit 46 and applied to the address generation circuit 47. Here, the address signal for the frame memories 45a and 45b is provided. Is created.
[0092]
  An image L having a long accumulation time read from each of the frame memories 45a and 45b.1 (X, y), L2 The pixel information of (x, y) is compared with the threshold value T by the comparators 48a and 48b, respectively, and the memory controllers 49a and 49b control the arithmetic circuits 44a and 44b, respectively, according to the comparison results. The correction is performed and the memory controllers 49a and 49b control the operations of the frame memories 45a and 45b, respectively. As shown in the timing chart of FIG. 11, the outputs of the frame memories 45a and 45b that are alternately output are D / A output by the D / A converter 50 and output to the outside. A clock signal is supplied from the dot clock generation circuit 51 to the A / D converter 43 and the D / A converter 50.
[Brief description of the drawings]
FIG. 1 is a graph for explaining processing in a first embodiment of a video input device according to the present invention;
FIG. 2 is a graph in which the luminance value is corrected in the processing in the first embodiment of the video input device according to the present invention;
FIG. 3 is a block diagram showing a circuit configuration of the video input device according to the first embodiment of the present invention.
FIG. 4 is a block diagram showing a circuit configuration of a video input device according to a second embodiment of the present invention.
FIG. 5 is a graph for explaining processing in the third embodiment of the video input device according to the present invention;
FIG. 6 is a graph in which the luminance value is corrected in the processing of the video input device according to the third embodiment of the present invention.
FIG. 7 is a block diagram showing a circuit configuration of a video input device according to a third embodiment of the present invention.
FIG. 8 is a graph showing photoelectric conversion characteristics of a CCD image sensor
FIG. 9 is a graph showing photoelectric conversion characteristics when the charge accumulation time is lengthened.
FIG. 10 is a graph showing photoelectric conversion characteristics in the video input device according to the fourth embodiment of the present invention.
FIG. 11 is a timing chart of processing in the fourth embodiment of the video input device according to the present invention;
FIG. 12 is a block diagram showing a circuit configuration of a video input device according to a fourth embodiment of the present invention.
[Explanation of symbols]
      1,41 CCD camera
      2 Electronic shutter or auto iris control circuit
      3,47 Address generation circuit
      4,43 A / D converter
      5, 5a to 5d, 7, 45a, 45b Frame memory
      6, 6a-6d Look-up table
      8,50 D / A converter
      9 counter
      10 memory
      11, 48a, 48b comparator
      12 Selector
      13 Adder
      20 Shutter speed control circuit
      40 controller
      42 Charge accumulation time control circuit
      44a, 44b arithmetic circuit
      49a, 49b Memory controller

Claims (9)

撮像手段により画像を撮像しながら該画像をフレームメモリに蓄積し、該フレームメモリに蓄積された画像を合成する映像入力装置であって、
上記フレームメモリに蓄積する画像の蓄積枚数を、低輝度の画素ほど上記蓄積枚数を増加させる態様で、画素の輝度値に応じて画素ごとに変更する蓄積枚数変更手段を備えてなることを特徴とする映像入力装置。
A video input device that accumulates the image in a frame memory while capturing the image by an imaging means, and synthesizes the image accumulated in the frame memory,
The number of stored images is stored in the frame memory in such a manner that the number of stored images is increased as the luminance of the pixels decreases, and the number of stored images is changed for each pixel according to the luminance value of the pixels. Video input device.
上記撮像手段により、複数の画像が一定の露光量をもって撮像されることを特徴とする請求項1記載の映像入力装置。 The video input apparatus according to claim 1, wherein a plurality of images are captured with a constant exposure amount by the imaging means. 蓄積枚数の異なる画素間で輝度変化が少なくなるように輝度値を補正する補正手段を備えてなることを特徴とする請求項2記載の映像入力装置。 3. The video input apparatus according to claim 2, further comprising correction means for correcting a luminance value so that a luminance change is reduced between pixels having different accumulation numbers. 上記撮像手段により、複数の画像が露光時間を異ならせて撮像されることを特徴とする請求項1記載の映像入力装置。 2. The video input apparatus according to claim 1, wherein a plurality of images are picked up with different exposure times by the image pickup means. 露光時間を異ならせて撮像した画素間で輝度変化が少なくなるように輝度値を補正する補正手段を備えてなることを特徴とする請求項4記載の映像入力装置。 5. The video input device according to claim 4, further comprising correction means for correcting a luminance value so that a change in luminance is reduced between pixels picked up with different exposure times. 上記フレームメモリが、互いに異なる蓄積枚数を固定的に設定された複数のフレームメモリよりなることを特徴とする請求項2または4記載の映像入力装置。 5. The video input device according to claim 2, wherein the frame memory is composed of a plurality of frame memories in which different storage numbers are fixedly set. 上記蓄積枚数を計数するカウンタと、上記フレームメモリに蓄積された画素の輝度値を所定のしきい値とを比較する比較器と、該比較器による比較に基づいて、上記しきい値よりも小さい輝度を有する画素の輝度値を上記フレームメモリに蓄積された輝度値に加算する加算器とを備えてなることを特徴とする請求項2または4記載の映像入力装置。 A counter that counts the number of stored images, a comparator that compares the luminance values of the pixels stored in the frame memory with a predetermined threshold value, and is smaller than the threshold value based on the comparison by the comparator 5. The video input device according to claim 2, further comprising an adder for adding a luminance value of a pixel having luminance to a luminance value stored in the frame memory. 電荷蓄積時間の制御可能な電荷蓄積型撮像手段を備え、該撮像手段により画像を撮像しながら該画像をフレームメモリに蓄積し、該フレームメモリに蓄積された画像を合成する映像入力装置であって、
上記撮像手段における電荷蓄積時間を制御する制御手段を備え、該制御手段による電荷蓄積時間の制御の下に上記撮像手段により、蓄積時間が長い画像と短い画像とを交互に獲得し、低照度部分は上記蓄積時間が長い画像の画素情報を用い、高照度部分は上記蓄積時間が短い画像の画素情報を用いて、画像を合成するとともに、
上記蓄積時間が長い画像と短い画像の画素間で輝度変化が少なくなるように輝度値を補正する補正手段を備えていることを特徴とする映像入力装置
A video input device comprising charge storage type image pickup means capable of controlling charge storage time, storing the image in a frame memory while taking an image by the image pickup means, and combining the images stored in the frame memory. ,
A control means for controlling the charge accumulation time in the imaging means, and under the control of the charge accumulation time by the control means, an image having a long accumulation time and a short image are alternately obtained by the imaging means, Uses the pixel information of the image with a long accumulation time, and the high illuminance part uses the pixel information of the image with a short accumulation time to synthesize an image ,
A video input apparatus comprising: a correcting unit that corrects a luminance value so that a luminance change is small between pixels of the image having a long accumulation time and a short image .
上記補正手段が、下記の式を用いて輝度値を補正することを特徴とする請求項記載の映像入力装置。
Figure 0003700232
但し、L(x,y):蓄積時間が長い画像の座標(x,y)における輝度値
S(x,y):蓄積時間が短い画像の座標(x,y)における輝度値
H(x,y):補正画像の座標(x,y)における輝度値
T :輝度のしきい値
n :蓄積時間が長い画像と短い画像との蓄積時間比(n>1)
9. The video input device according to claim 8 , wherein the correction means corrects the luminance value using the following equation.
Figure 0003700232
Where L (x, y): luminance value at the coordinates (x, y) of the image having a long accumulation time S (x, y): luminance value at the coordinates (x, y) of the image having a short accumulation time H (x, y) y): luminance value at coordinates (x, y) of the corrected image
T: threshold of luminance
n: Ratio of accumulation times of images with long accumulation times and short images (n> 1)
JP02123296A 1995-07-28 1996-02-07 Video input device Expired - Fee Related JP3700232B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02123296A JP3700232B2 (en) 1995-07-28 1996-02-07 Video input device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP7-192770 1995-07-28
JP19277095 1995-07-28
JP02123296A JP3700232B2 (en) 1995-07-28 1996-02-07 Video input device

Publications (2)

Publication Number Publication Date
JPH09102930A JPH09102930A (en) 1997-04-15
JP3700232B2 true JP3700232B2 (en) 2005-09-28

Family

ID=26358277

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02123296A Expired - Fee Related JP3700232B2 (en) 1995-07-28 1996-02-07 Video input device

Country Status (1)

Country Link
JP (1) JP3700232B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6734904B1 (en) 1998-07-23 2004-05-11 Iteris, Inc. Imaging system and method with dynamic brightness control
EP1074430B1 (en) * 1999-08-04 2007-10-17 Iteris, Inc. Imaging system and method with dynamic brightness control
JPWO2004084121A1 (en) 2003-03-17 2006-06-22 富士通株式会社 Vehicle identification method and apparatus

Also Published As

Publication number Publication date
JPH09102930A (en) 1997-04-15

Similar Documents

Publication Publication Date Title
JP4163353B2 (en) Image processing device
JP4240023B2 (en) Imaging apparatus, imaging method and imaging program, and image processing apparatus, image processing method and image processing program
US6882754B2 (en) Image signal processor with adaptive noise reduction and an image signal processing method therefor
JP3730419B2 (en) Video signal processing device
JP4835593B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP4404823B2 (en) Imaging device
JP4089911B2 (en) Image input device
JP4630730B2 (en) Imaging apparatus, camera, and imaging method
JP2009049547A (en) Image processing apparatus, image processing method, image processing program
KR20150045877A (en) Image processing apparatus and image processing method
JP3184309B2 (en) Gradation correction circuit and imaging device
JP2008206111A (en) Photographing apparatus and photographing method
US7639287B2 (en) Video imaging apparatus having non-linear input-output characteristic for improved image contrast control
JP7340772B2 (en) Imaging device and image adjustment method
JP4212741B2 (en) Image processing device
JP4775230B2 (en) Image processing apparatus, imaging apparatus, and image processing program
JP2004297701A (en) Video processing apparatus and image pickup system
JP3700232B2 (en) Video input device
JP4270638B2 (en) Imaging device
JP3092397B2 (en) Imaging device
JPH06253176A (en) Gradation correction circuit and image pickup device
KR20160001582A (en) Apparatus and method for processing image
JP2007194832A (en) Gradation correction device
JP7117532B2 (en) Image processing device, image processing method and program
KR102050415B1 (en) Apparatus and method for image processing.

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050222

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050418

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050704

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

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees