JP3583952B2 - Black and white / color switching camera - Google Patents

Black and white / color switching camera Download PDF

Info

Publication number
JP3583952B2
JP3583952B2 JP22060199A JP22060199A JP3583952B2 JP 3583952 B2 JP3583952 B2 JP 3583952B2 JP 22060199 A JP22060199 A JP 22060199A JP 22060199 A JP22060199 A JP 22060199A JP 3583952 B2 JP3583952 B2 JP 3583952B2
Authority
JP
Japan
Prior art keywords
threshold
component
color
mode
threshold 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
JP22060199A
Other languages
Japanese (ja)
Other versions
JP2001045512A (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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP22060199A priority Critical patent/JP3583952B2/en
Publication of JP2001045512A publication Critical patent/JP2001045512A/en
Application granted granted Critical
Publication of JP3583952B2 publication Critical patent/JP3583952B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Processing Of Color Television Signals (AREA)
  • Color Television Image Signal Generators (AREA)

Description

【0001】
【産業上の利用分野】
この発明は、白黒/カラー切換カメラに関し、特にたとえば監視カメラに適用され、被写体の明るさに応じて撮影モードをカラーモードと白黒モードとの間で切り換える、白黒/カラー切換カメラに関する。
【0002】
【従来の技術】
多くのカラーカメラでは、撮像素子としてCCDイメージャが用いられている。このCCDイメージャの感光特性は400nm〜900nm程度の波長領域に及び、特に赤外領域(700nm以上)の感度が高くなっている。このため、CCDイメージャに被写体の光像をそのまま照射すると、再現される画像が赤みを帯びてしまう。このような点を考慮して、通常は、CCDイメージャの受光面と光学レンズとの間に赤外線カットフィルタ(IRカットフィルタ)が設られている。
【0003】
ただし、夜間のような光量が十分に得られない状況での撮影時にもIRカットフィルタを用いると、CCDイメージャに照射される光量がより一層不足してしまい、撮影に支障をきたしてしまう。
【0004】
このため、昼夜を問わず撮影が必要な監視カメラなどでは、従来、輝度成分を所定の閾値と比較し、輝度成分が少なければ、IRカットフィルタをオフするとともに、白黒ビデオ信号を出力していた。つまり、赤外領域に含まれる輝度成分を利用して再現画像の明るさを確保すべくIRカットフィルタをオフし、IRカットフィルタがオフされたときの色再現性の劣化を考慮して白黒ビデオ信号を出力していた。
【0005】
つまり、従来技術では、十分な光量が確保できる昼間は、IRカットフィルタを有効にしてカラービデオ信号を出力するカラーモードを選択し、光量不足が生じる夜間は、IRカットフィルタを無効にして白黒ビデオ信号を出力する白黒モードを選択していた。
【0006】
【発明が解決しようとする課題】
しかし、従来技術では、輝度成分との比較に用いる閾値は固定値であったため、そのような閾値と輝度成分との比較結果による撮影モードの制御では、ハロゲンのような白熱電灯の下で撮影を行なったときに動作が不安定になる恐れがあった。つまり、白熱電灯に定格電圧よりも低い電圧を与えた場合、図7から分かるように、照明光のスペクトルが長波長側にシフトし、可視領域の光量が減少する代わりに近赤外領域の光量が増加してしまう。すると、IRカットフィルタがオフ状態のときは多くの輝度成分が得られるのに対し、IRカットフィルタがオン状態のときは輝度成分が不足するという現象が起きる。この結果、低電圧で駆動される白熱電灯下の撮影では、撮影モード切り換えが頻繁に繰り返され、動作が不安定になっていた。
【0007】
それゆえに、この発明の主たる目的は、撮影条件に関係なくモード切換動作を安定させることができる、白黒/カラー切換カメラを提供することである。
【0008】
【課題を解決するための手段】
この発明に従う白黒/カラー切換カメラは、被写体像を撮影するイメージセンサ、イメージセンサの出力から輝度成分を検出する第1検出手段、イメージセンサの出力からR成分およびB成分を検出する第2検出手段、輝度成分を所定閾値と比較する比較手段、比較手段の比較結果に応じて撮影モードをカラーモードおよび白黒モードの間で切り換える切換手段、撮影モードカラーモードへの切換時に第1閾値を所定閾値に設定する第1設定手段、および撮影モード白黒モードへの切換時に第2閾値および第3閾値の一方を所定閾値に設定する第2設定手段を備え、第2閾値および第3閾値はいずれも第1閾値よりも大きく、第3閾値は第2閾値よりも大きく、第2設定手段は、R成分およびB成分が所定条件を満たさないとき第2閾値を所定閾値に設定する第2閾値設定手段、およびR成分およびB成分が所定条件を満たすとき第3閾値を所定閾値に設定する第3閾値設定手段を含み、所定条件はR成分がB成分よりも大きいという条件を含む
【0009】
【作用】
イメージセンサによって被写体像が撮影されると、第1検出手段がイメージセンサの出力から輝度成分を検出し、第2検出手段が同じイメージセンサの出力からR成分およびB成分を検出する。一方、第1設定手段は、撮影モードをカラーモードに切り換えるときに第1閾値を所定閾値に設定する。また、第2設定手段は、撮影モードを白黒モードに切り換えるときに、R成分およびB成分に基づいて、第2閾値および第3閾値の一方を所定閾値に設定する。第2閾値および第3閾値は、第1閾値よりも大きくかつ互いに異なる値を有する。比較手段は、このような所定閾値を輝度成分と比較し、切換手段は、比較結果に応じて撮影モードをカラーモードおよび白黒モードの間で切り換える。
【0010】
この発明のある局面では、第2設定手段は次のように動作する。まず、比較手段がR成分およびB成分を比較する。R成分とB成分とが所定の関係を有しなければ、第2閾値設定手段が第2閾値を所定閾値に設定し、R成分とB成分とが所定の関係を有せば、第3閾値設定手段が第3閾値を所定閾値に設定する。
【0011】
ここで、第3閾値は第2閾値よりも大きく、所定の関係はR成分がB成分よりも大きいという条件を含む。
【0012】
この発明の他の局面では、赤外線カットフィルタが、イメージセンサに照射される被写体像から赤外線を除去する。また、ビデオ信号生成手段が、イメージセンサの出力に基づいて白黒ビデオ信号およびカラービデオ信号を生成し、選択手段が、白黒ビデオ信号およびカラービデオ信号の一方を選択する。
【0013】
切換手段は、カメラモードにおいて赤外線カットフィルタをオンするとともにカラービデオ信号を選択し、白黒モードにおいて赤外線カットフィルタをオフするとともに白黒ビデオ信号を選択する。
【0014】
【発明の効果】
この発明によれば、撮影モードを白黒モードに切り換えるときに、R成分およびB成分に基づいて、第2閾値および第3閾値の一方が所定閾値に設定される。ここで、第2閾値および第3閾値は、第1閾値よりも大きくかつ互いに異なる値を持つ。したがって、どのような条件下の撮影でも撮影モードが適切に切り換えられ、動作を安定させることができる。
【0015】
この発明の上述の目的,その他の目的,特徴および利点は、図面を参照して行う以下の実施例の詳細な説明から一層明らかとなろう。
【0016】
【実施例】
図1を参照して、この実施例のビデオカメラ10は、光学レンズ12を含む。光学レンズ12とCCDイメージャ24との間には、長方形の板状に形成されたガラス部材14が配置される。図2に示すように、ガラス部材14の上半分はIRカットフィルタ14aによって形成され、下半分はダミーガラス14bによって形成される。ガラス部材14は、マイコン20によって制御されるモータ20によって、長さ方向に移動する。このため、光学レンズ12およびCCDイメージャ24の間(光軸上)には、IRカットフィルタ14aおよびダミーガラス14bのいずれか一方が配置される。光軸上にIRカットフィルタ14aが配置されたときは、赤外線成分(700nm以上の波長成分)が被写体の光像からカットされる。一方、光軸上にダミーガラス14bが配置されているときは、赤外線成分を含む被写体の光像が、そのままガラス部材14を透過する。
【0017】
なお、ガラス部材14の位置は状態センサ16によって検知され、検知信号はマイコン18に与えられる。
【0018】
CCDイメージャ24の受光面には、図3に示すようにYe,Cy,MgおよびGの色要素がモザイク状に配置された色フィルタ22が装着される。このうち、垂直方向における2つの色要素が1ラインを構成する。ガラス部材14を透過した被写体像は、このような色フィルタ22を通してCCDイメージャ24の受光面に照射される。なお、色フィルタ22を構成するいずれの色要素も、自分の色成分だけでなく、赤外線成分も透過する。このため、IRカットフィルタ14aによって赤外線成分をカットするようにしている。
【0019】
CCDイメージャ14からは、図示しないタイミングジェネレータによって、ラスタスキャン方式で画素信号が読み出される。上述のように、各ラインには垂直方向における2つの色要素が対応する。このため、奇数ラインでは、(Mg+Ye),(G+Cy),(Mg+Ye),(G+Cy)…の要領で画素信号がCCDイメージャ14から出力され、偶数ラインでは(G+Ye),(Mg+Cy),(G+Ye),(Mg+Cy)…の要領で画素信号がCCDイメージャ14から出力される。奇数ラインおよび偶数ラインのいずれにおいても、隣接する2画素にすべての色成分Ye,Cy,MgおよびGが含まれる。このようなすべての色成分の和(Ye+Cy+Mg+G)は、輝度成分つまりY成分に近似できる。
【0020】
CCDイメージャ14から出力された画素信号は、CDS回路26で周知のノイズ除去を施された後、LPF28に入力される。LPF28は入力された画素信号を平滑し、平滑信号つまりY信号を積分回路30に与える。積分回路30は、入力されたY信号を積分し、積分値Yをマイコン18に与える。
【0021】
CDS回路26から出力された画素信号はまた、AGC回路32によって周知のゲイン調整を施され、その後、色分離回路38に与えられる。色分離回路38は、水平方向に連続する画素信号を1画素ずつ分離し、分離した各画素信号を引き算器40に与える。奇数ラインでは、(Mg+Ye)が引き算器40のプラス側に与えられ、(G+Cy)が引き算器40のマイナス側に与えられる。また、偶数ラインでは、(G+Ye)が引き算器40のプラス側に与えられ、(Mg+Cy)が引き算器40のマイナス側に与えられる。このため、引き算器40からは、奇数ラインにおいて2R−G(=Mg+Ye−(G+Cy))の画素信号が出力され、偶数ラインにおいてG−2B(=G+Ye−(Mg+Cy))の画素信号が出力される。なお、原色成分R,GおよびBと補色成分Ye,CyおよびMgの間には、数1が成立する。
【0022】
【数1】
Ye=R+G
Cy=G+B
Mg=R+B
引き算器40の出力は、そのまま加算器44の一方入力端に与えられるとともに、ラインメモリ42aおよび42bを介して加算器44の他方入力端に与えられる。つまり、現ラインの画素信号および2ライン前の画素信号が、加算器44に入力される。現ラインおよび2ライン前が奇数ラインであれば2R−Gの画素信号が、現ラインおよび2ライン前が偶数ラインであればG−2Bの画素信号が、加算器44に入力される。加算器44は、入力された画素信号を互いに加算し、かつ加算値を1/2にする。つまり、入力画素信号の平均をとる。そして、平均値をセレクタ46の一方入力端に与える。
【0023】
セレクタ46の他方入力端には、ラインメモリ42aから出力された前ラインの画素信号が与えられる。このため、一方端に2R−Gの画素信号が与えられたときはG−2Bの画素信号が他方端に与えられ、一方端にG−2Bの画素信号が与えられたときは2R−Gの画素信号が他方端に与えられる。入力された画素信号はいずれも、セレクタ46の一方出力端および他方出力端から出力されるが、出力端は1ライン毎に切り換えられる。この結果、2R−G(=C)の画素信号は常に一方出力端から出力され、G−2B(=C)の画素信号は常に他方出力端から出力される。
【0024】
このようにしてセレクタ46から出力されたC信号およびC信号は、マトリクス演算回路48に入力される。マトリクス演算回路48には、AGC回路32の出力つまりY信号も入力される。マトリクス演算回路48は、このようなC信号,C信号およびY信号に所定のマトリクス演算を施し、R信号,G信号およびB信号を生成する。生成されたR信号,G信号およびB信号は、白バランス調整回路50による白バランス調整ならびにガンマ補正回路52によるガンマ補正を経て、マトリクス演算回路54に与えられる。
【0025】
マトリクス演算回路54は、入力されたR信号,G信号およびB信号に基づいて色差信号R−YおよびB−Yを生成し、生成したR−Y信号およびB−Y信号をエンコーダ36に入力する。エンコーダ36にはまた、AGC回路32から出力され、かつLPF33による平滑化およびガンマ補正回路34によるガンマ補正を施されたY信号が入力される。エンコーダ36は、このようなR−Y信号,B−Y信号およびY信号に所定のエンコード処理を施し、輝度信号成分および同期信号成分を持つ白黒ビデオ信号(白黒テレビジョン信号)ならびに輝度信号成分および同期信号成分に加えてカラーバースト信号成分および色信号成分を持つカラービデオ信号(カラーテレビジョン信号)を生成する。そして、白黒ビデオ信号およびカラービデオ信号の一方が、スイッチSW1を介して出力される。
【0026】
ガンマ補正回路52から出力されたR信号およびB信号はまた、積分回路56および58に入力される。積分回路56および58は、与えられたR信号およびB信号をそれぞれ積分し、積分値RおよびBを求める。求められた積分値RおよびBは、マイコン18に入力される。
【0027】
つまり、マイコン18には、状態センサ16から出力された検知信号ならびに積分回路30,56および58から出力された積分値Y,RおよびBが与えられ、マイコン18はこれらの信号に基づいてモータ20およびスイッチSW1を制御する。なお、マイコン18はエンコーダ36から出力された垂直同期信号に応じてタイミングをとり、積分回路30,56および58は同じ垂直同期信号に応答してリセットされる。
【0028】
図4を参照して、マイコン18の動作を説明する。マイコン18はまず、ステップS1でカラーモードを選択する。つまり、IRカットフィルタ14aを光軸上に配置するとともに、スイッチSW1を端子S2側に接続する。これによって、カラービデオ信号がスイッチSW1から出力される。マイコン18は次に、ステップS3で閾値YTHを第1閾値Yに設定する。続いて、垂直同期信号が入力されたかどうかをステップS5で判断し、YESであれば、ステップS7で積分値Y,RおよびBを積分回路30,56および58から取り込む。
【0029】
ステップS9では、積分値Yを閾値YTHと比較する。ここでY>YTHであれば、ステップS11で現撮影モードを判定する。そして、現撮影モードがカラーモードであればステップS5に戻り、現撮影モードが白黒モードであればステップS1に戻る。
【0030】
一方、Y≦YTHであれば、マイコン18はステップS9からステップS13に進み、ステップS11と同様に現撮影モードを判定する。そして、現撮影モードが白黒モードであればステップS5に戻り、現撮影モードがカラーモードであればステップS15に進む。ステップS15では、B≪Rであるかどうか判断する。ここでNOであればステップS17で閾値YTHを第2閾値Yに設定するが、YESであればステップS19で閾値YTHを第3閾値Yに設定する。具体的には、積分値Bがほとんどゼロで積分値Rが十分に大きいとき、ステップS15でYESと判断される。閾値YTHの更新処理が完了すると、マイコン18は、ステップS21で白黒モードを選択してステップS5に戻る。つまり、ダミーガラス14bを光軸上に配置するとともにスイッチSW1を端子S1側に接続し、ステップS5に戻る。
【0031】
第1閾値Y,第2閾値Yおよび第3閾値Yの関係を、図5に示す。各閾値が示す値は、Y,Y,Yの順で大きくなる。また、第1閾値Yと第2閾値Yとの間の差分の方が、第2閾値Yと第3閾値Yとの間の差分よりも大きい。閾値YTHは、カラーモードの選択とともに第1閾値Yに設定される。カラーモードが選択されかつ積分値Yが第1閾値Yを上回る間は、ステップS5〜S11の処理が繰り返される。積分値Yが第1閾値Yまで低下すると、ステップS13〜S21が処理され、閾値YTHが第2閾値YまたはYに更新されるとともに、撮影モードが白黒モードに切り換えられる。
【0032】
白黒モードが選択された状態では、積分値Yが閾値YTH(=YまたはY)を上回らない限り、ステップS5〜S13の処理が繰り返され、白黒モードが維持される。積分値Yが上昇して閾値YTHを上回ると、ステップS11,S1およびS3の処理が実行される。この結果、撮影モードがカラーモードに切り換えられ、閾値YTHが第1閾値Yに更新される。
【0033】
定格電圧よりも低い電圧が印可された白熱電灯の波長特性は、図7に示すように、定格電圧を印加したときよりも長波長側にシフトする。このような状況で撮影を行なうと、IRカットフィルタ14aがオフ状態のときは積分値Yが上昇し、IRカットフィルタ14aがオン状態のときは積分値Yが低下するという現象が起きる。このため、撮影モードの切換の判断基準となる閾値YTHとして単一の値を用いると、モード切換が頻繁に繰り返され、動作が不安定になってしまう。
【0034】
このような動作の不安定さを解消するには、カラーモードから白黒モードに切り換えるときの閾値と白黒モードからカラーモードに切り換えるときの閾値を異ならせるようにすればよい。つまり、図5に示す第1閾値Yを白黒モードへの切換のための閾値とし、第3閾値Yをカラーモードへの閾値とすればよい。しかし、この第1閾値Yと第3閾値Yとの間の差が大きすぎると、低電圧駆動の白熱電灯下では動作が安定するものの、他の状況たとえば定格電圧駆動の白熱電灯,蛍光灯あるいは昼光の下での撮影時に、モード切換がうまくいかない。つまり、撮影モードが切り換わってほしい状況でも切換が行なわれない現象が生じる。
【0035】
このため、この実施例では、カラーモードから白黒モードへの切換時に積分値Bを積分値Rと比較し、比較結果に応じて、第2閾値Yおよび第3閾値Yのいずれか一方を閾値YTHに設定するようにしている。これによって、低電圧駆動の白熱電灯下で撮影を行なったときに撮影モードが頻繁に切り換えられるという問題が解消される。また、他の状況で撮影を行なったときに撮影モードが適切なタイミングで切り換えられる。つまり、どのような条件下の撮影でも撮影モードの切り換え動作を安定させることができる。
【0036】
なお、この実施例では、CDS回路26の出力をLPF28を通して積分回路30に与えるようにしているが、AGC回路32の出力を積分回路30に与えるようにしてもよい。また、この実施例では、ガンマ補正回路52から出力されたR信号およびB信号を積分回路56および58に与えるようにしているが、マトリクス演算回路48または白バランス調整50から出力されたR信号およびB信号を積分回路56および58に与えるようにしてもよい。
【0037】
さらに、この実施例では、色フィルタ22として補色フィルタを用いているが、R,GおよびBの色要素がモザイク上に配置された原色フィルタを用いてもよい。また、この実施例では、画素信号にアナログ処理を施しているが、この発明は画素信号にディジタル処理を施すカメラにも適用できる。
【図面の簡単な説明】
【図1】この発明の一実施例を示すブロック図である。
【図2】ガラス部材の一例を示す図解図である。
【図3】補色フィルタの一例部を示す図解図である。
【図4】図1実施例の動作の一部を示すフロー図である。
【図5】図1実施例の動作の一部を示す図解図である。
【図6】IRカットフィルタを用いたときと用いないときのCCDイメージャの出力特性を示すグラフである。
【図7】昼光、白熱電灯、および蛍光灯の波長特性を示すグラフである。
【符号の説明】
10…白黒/カラー切換カメラ
14a…IRカットフィルタ
14b…ダミーガラス
16…状態センサ
18…マイコン
20…モータ
30,56,58…積分回路
36…エンコーダ
[0001]
[Industrial applications]
The present invention relates to a black-and-white / color switching camera, and more particularly to a black-and-white / color switching camera which is applied to, for example, a surveillance camera and switches a shooting mode between a color mode and a black-and-white mode in accordance with the brightness of a subject.
[0002]
[Prior art]
Many color cameras use a CCD imager as an image sensor. The photosensitive characteristics of the CCD imager are in a wavelength region of about 400 nm to 900 nm, and the sensitivity in the infrared region (700 nm or more) is particularly high. For this reason, if the light image of the subject is directly irradiated on the CCD imager, the reproduced image becomes reddish. In consideration of such points, usually, an infrared cut filter (IR cut filter) is provided between the light receiving surface of the CCD imager and the optical lens.
[0003]
However, if an IR cut filter is used even when shooting in a situation where a sufficient amount of light cannot be obtained, such as at night, the amount of light applied to the CCD imager will be further insufficient, which will hinder shooting.
[0004]
For this reason, in a surveillance camera or the like that requires shooting regardless of day and night, conventionally, the luminance component is compared with a predetermined threshold, and if the luminance component is small, the IR cut filter is turned off and a black-and-white video signal is output. . In other words, the IR cut filter is turned off in order to secure the brightness of the reproduced image using the luminance component included in the infrared region, and the black and white video is considered in consideration of the deterioration in color reproducibility when the IR cut filter is turned off. Signal was output.
[0005]
That is, in the prior art, in the daytime when a sufficient amount of light can be secured, a color mode in which the IR cut filter is enabled and a color video signal is output is selected. The black and white mode that outputs a signal was selected.
[0006]
[Problems to be solved by the invention]
However, in the related art, the threshold value used for comparison with the luminance component is a fixed value. Operation could result in unstable operation. That is, when a voltage lower than the rated voltage is applied to the incandescent lamp, as can be seen from FIG. 7, the spectrum of the illumination light shifts to the longer wavelength side, and the light amount in the near infrared region decreases instead of decreasing in the visible region. Will increase. Then, when the IR cut filter is in the off state, many luminance components are obtained, whereas when the IR cut filter is in the on state, a phenomenon occurs in which the luminance component is insufficient. As a result, in shooting under an incandescent lamp driven at a low voltage, the shooting mode switching is frequently repeated, and the operation has been unstable.
[0007]
SUMMARY OF THE INVENTION Therefore, a main object of the present invention is to provide a black-and-white / color switching camera capable of stabilizing a mode switching operation regardless of shooting conditions.
[0008]
[Means for Solving the Problems]
A black-and-white / color switching camera according to the present invention includes an image sensor for photographing a subject image, first detection means for detecting a luminance component from an output of the image sensor, and second detection means for detecting an R component and a B component from an output of the image sensor. Comparing means for comparing a luminance component with a predetermined threshold value, switching means for switching a photographing mode between a color mode and a black-and-white mode according to a comparison result of the comparing means, and setting a first threshold value to a predetermined threshold value when switching the photographing mode to the color mode And a second setting means for setting one of the second threshold and the third threshold to a predetermined threshold when the shooting mode is switched to the monochrome mode , wherein both the second threshold and the third threshold are set. The third threshold value is greater than the first threshold value, and the third threshold value is greater than the second threshold value. When the R component and the B component do not satisfy the predetermined condition, the second threshold value is set. A second threshold setting means for setting a predetermined threshold; and a third threshold setting means for setting a third threshold to a predetermined threshold when the R component and the B component satisfy a predetermined condition, wherein the R component has a higher value than the B component. Including the condition of being large .
[0009]
[Action]
When a subject image is photographed by the image sensor, the first detecting means detects a luminance component from the output of the image sensor, and the second detecting means detects an R component and a B component from the output of the same image sensor. On the other hand, the first setting means sets the first threshold to a predetermined threshold when switching the shooting mode to the color mode. The second setting means sets one of the second threshold and the third threshold to a predetermined threshold based on the R component and the B component when switching the shooting mode to the monochrome mode. The second threshold value and the third threshold value are larger than the first threshold value and have different values from each other. The comparing means compares such a predetermined threshold value with the luminance component, and the switching means switches the photographing mode between the color mode and the monochrome mode according to the comparison result.
[0010]
In one aspect of the present invention, the second setting means operates as follows. First, the comparing means compares the R component and the B component. If the R component and the B component do not have a predetermined relationship, the second threshold setting means sets the second threshold to a predetermined threshold, and if the R component and the B component have a predetermined relationship, the third threshold is set. The setting means sets the third threshold to a predetermined threshold.
[0011]
Here, the third threshold is larger than the second threshold, and the predetermined relation includes a condition that the R component is larger than the B component.
[0012]
In another aspect of the present invention, the infrared cut filter removes infrared rays from the subject image irradiated on the image sensor. Further, the video signal generating means generates a black-and-white video signal and a color video signal based on the output of the image sensor, and the selecting means selects one of the black-and-white video signal and the color video signal.
[0013]
The switching means turns on the infrared cut filter and selects a color video signal in the camera mode, and turns off the infrared cut filter and selects a black and white video signal in the black and white mode.
[0014]
【The invention's effect】
According to the present invention, when the shooting mode is switched to the monochrome mode, one of the second threshold and the third threshold is set to the predetermined threshold based on the R component and the B component. Here, the second threshold value and the third threshold value are larger than the first threshold value and have different values from each other. Therefore, the shooting mode can be appropriately switched even under shooting under any conditions, and the operation can be stabilized.
[0015]
The above and other objects, features and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.
[0016]
【Example】
Referring to FIG. 1, a video camera 10 according to this embodiment includes an optical lens 12. A glass member 14 formed in a rectangular plate shape is arranged between the optical lens 12 and the CCD imager 24. As shown in FIG. 2, the upper half of the glass member 14 is formed by an IR cut filter 14a, and the lower half is formed by a dummy glass 14b. The glass member 14 is moved in the length direction by a motor 20 controlled by the microcomputer 20. Therefore, between the optical lens 12 and the CCD imager 24 (on the optical axis), one of the IR cut filter 14a and the dummy glass 14b is arranged. When the IR cut filter 14a is arranged on the optical axis, an infrared component (a wavelength component of 700 nm or more) is cut from the light image of the subject. On the other hand, when the dummy glass 14b is arranged on the optical axis, the light image of the subject including the infrared component passes through the glass member 14 as it is.
[0017]
The position of the glass member 14 is detected by the state sensor 16, and a detection signal is given to the microcomputer 18.
[0018]
As shown in FIG. 3, a color filter 22 in which Ye, Cy, Mg, and G color elements are arranged in a mosaic pattern is mounted on the light receiving surface of the CCD imager 24. Of these, two color elements in the vertical direction constitute one line. The subject image transmitted through the glass member 14 is irradiated on the light receiving surface of the CCD imager 24 through such a color filter 22. In addition, any of the color elements constituting the color filter 22 transmits not only its own color component but also an infrared component. For this reason, the infrared component is cut by the IR cut filter 14a.
[0019]
Pixel signals are read from the CCD imager 14 in a raster scan manner by a timing generator (not shown). As described above, two color elements in the vertical direction correspond to each line. For this reason, pixel signals are output from the CCD imager 14 in the manner of (Mg + Ye), (G + Cy), (Mg + Ye), (G + Cy)... , (Mg + Cy)... Are output from the CCD imager 14. In each of the odd-numbered line and the even-numbered line, adjacent two pixels include all color components Ye, Cy, Mg, and G. The sum (Ye + Cy + Mg + G) of all such color components can be approximated to a luminance component, that is, a Y component.
[0020]
The pixel signal output from the CCD imager 14 is input to the LPF 28 after being subjected to well-known noise removal by the CDS circuit 26. The LPF 28 smoothes the input pixel signal and supplies a smoothed signal, that is, a Y signal to the integration circuit 30. Integrating circuit 30 integrates the input Y signal, providing an integral value Y S to the microcomputer 18.
[0021]
The pixel signal output from the CDS circuit 26 is also subjected to a well-known gain adjustment by the AGC circuit 32, and is thereafter provided to the color separation circuit 38. The color separation circuit 38 separates pixel signals that are continuous in the horizontal direction one pixel at a time, and supplies the separated pixel signals to a subtractor 40. In the odd lines, (Mg + Ye) is given to the plus side of the subtractor 40, and (G + Cy) is given to the minus side of the subtractor 40. On the even line, (G + Ye) is given to the plus side of the subtractor 40 and (Mg + Cy) is given to the minus side of the subtractor 40. For this reason, the subtractor 40 outputs a pixel signal of 2R-G (= Mg + Ye- (G + Cy)) on an odd line and a pixel signal of G-2B (= G + Ye- (Mg + Cy)) on an even line. You. Equation 1 holds between the primary color components R, G, and B and the complementary color components Ye, Cy, and Mg.
[0022]
(Equation 1)
Ye = R + G
Cy = G + B
Mg = R + B
The output of the subtracter 40 is supplied to one input terminal of the adder 44 as it is and to the other input terminal of the adder 44 via the line memories 42a and 42b. That is, the pixel signal of the current line and the pixel signal of two lines before are input to the adder 44. The pixel signal of 2R-G is input to the adder 44 if the current line and two lines before are odd lines, and the pixel signal of G-2B is input if the current line and two lines before are even lines. The adder 44 adds the input pixel signals to each other and halves the added value. That is, the average of the input pixel signals is obtained. Then, the average value is given to one input terminal of the selector 46.
[0023]
The other input terminal of the selector 46 is supplied with the pixel signal of the previous line output from the line memory 42a. For this reason, when a 2R-G pixel signal is applied to one end, a G-2B pixel signal is applied to the other end, and when a G-2B pixel signal is applied to one end, a 2R-G pixel signal is applied. A pixel signal is provided to the other end. Each of the input pixel signals is output from one output terminal and the other output terminal of the selector 46, and the output terminal is switched for each line. As a result, the pixel signals of 2R-G (= C R) are output at all times from the other hand the output terminal, the pixel signals of the G-2B (= C B) is always outputted from the other output terminal.
[0024]
Thus C R signal and C B signal outputted from the selector 46 in the is input to the matrix operation circuit 48. The output of the AGC circuit 32, that is, the Y signal is also input to the matrix operation circuit 48. Matrix operation circuit 48, such C R signal, performs predetermined matrix computation on the C B signal and Y signal to produce a R, G and B signals. The generated R signal, G signal, and B signal are provided to a matrix operation circuit 54 through white balance adjustment by a white balance adjustment circuit 50 and gamma correction by a gamma correction circuit 52.
[0025]
The matrix operation circuit 54 generates color difference signals RY and BY based on the input R signal, G signal and B signal, and inputs the generated RY signal and BY signal to the encoder 36. . The Y signal output from the AGC circuit 32 and subjected to smoothing by the LPF 33 and gamma correction by the gamma correction circuit 34 is also input to the encoder 36. The encoder 36 performs a predetermined encoding process on the RY signal, the BY signal, and the Y signal, and outputs a monochrome video signal (monochrome television signal) having a luminance signal component and a synchronization signal component, and a luminance signal component and A color video signal (color television signal) having a color burst signal component and a color signal component in addition to the synchronization signal component is generated. Then, one of the black and white video signal and the color video signal is output via the switch SW1.
[0026]
The R and B signals output from the gamma correction circuit 52 are also input to integration circuits 56 and 58. Integrating circuit 56 and 58 are given R signals and B signals each integrated to obtain the integrated value R S and B S. The obtained integral values R S and B S are input to the microcomputer 18.
[0027]
That is, the microcomputer 18, the integration value outputted from the detection signal and the integrator circuit 30,56 and 58 output from the state sensor 16 Y S, given R S and B S, the microcomputer 18 based on these signals To control the motor 20 and the switch SW1. The microcomputer 18 takes a timing according to the vertical synchronization signal output from the encoder 36, and the integration circuits 30, 56 and 58 are reset in response to the same vertical synchronization signal.
[0028]
The operation of the microcomputer 18 will be described with reference to FIG. First, the microcomputer 18 selects the color mode in step S1. That is, the IR cut filter 14a is arranged on the optical axis, and the switch SW1 is connected to the terminal S2. As a result, a color video signal is output from the switch SW1. The microcomputer 18 then sets a threshold value Y TH to the first threshold value Y 1 at step S3. Subsequently, whether the vertical synchronizing signal is input is determined at step S5, if YES, the capture integral value Y S, the R S and B S from the integrator 30,56 and 58 in step S7.
[0029]
In step S9, it compares the integral value Y S with the threshold Y TH. Here, if a Y S> Y TH, determines the current shooting mode in step S11. If the current shooting mode is the color mode, the process returns to step S5. If the current shooting mode is the monochrome mode, the process returns to step S1.
[0030]
On the other hand, if Y S ≦ Y TH , the microcomputer 18 proceeds from step S9 to step S13, and determines the current shooting mode as in step S11. If the current shooting mode is the monochrome mode, the process returns to step S5, and if the current shooting mode is the color mode, the process proceeds to step S15. In step S15, it is determined whether or not B S «R S. Here it is to set the threshold value Y TH at step S17 if NO in the second threshold value Y 2, set if YES in step S19 the threshold Y TH to the third threshold value Y 3. Specifically, when the integral value BS is almost zero and the integral value RS is sufficiently large, YES is determined in the step S15. When the update process of the threshold Y TH is completed, the microcomputer 18 selects the monochrome mode in step S21 and returns to step S5. That is, the dummy glass 14b is arranged on the optical axis, the switch SW1 is connected to the terminal S1, and the process returns to step S5.
[0031]
The first threshold value Y 1, the relationship between the second threshold value Y 2 and the third threshold value Y 3, shown in FIG. The value indicated by each threshold increases in the order of Y 1 , Y 2 , and Y 3 . Further, towards the difference between the first threshold value Y 1 and the second threshold value Y 2 is greater than the difference between the second threshold value Y 2 and the third threshold value Y 3. The threshold Y TH is set to the first threshold Y 1 together with the selection of the color mode. Color mode is selected and the integral value Y S is while above the first threshold value Y 1, the process of step S5~S11 is repeated. When the integral value Y S decreases to the first threshold value Y 1, step S13~S21 are processed, together with the threshold value Y TH is updated to the second threshold value Y 2 or Y 3, shooting mode is switched to the monochrome mode.
[0032]
In a state where the monochrome mode is selected, as long as the integral value Y S does not exceed the threshold value Y TH (= Y 2 or Y 3), the processing in step S5~S13 are repeated, monochrome mode is maintained. When the integral value Y S exceeds the threshold value Y TH rises, the processing in step S11, S1 and S3 are performed. As a result, the shooting mode is switched to the color mode, and the threshold Y TH is updated to the first threshold Y 1 .
[0033]
As shown in FIG. 7, the wavelength characteristic of the incandescent lamp to which a voltage lower than the rated voltage is applied shifts to a longer wavelength side than when the rated voltage is applied. When performing imaging in this situation, IR cut filter 14a is integral value Y S is increased when the OFF state, IR cut filter 14a is in the on state phenomenon occurs that the integral value Y S decreases. For this reason, if a single value is used as the threshold value Y TH which is a criterion for switching the shooting mode, the mode switching is frequently repeated, and the operation becomes unstable.
[0034]
In order to eliminate such instability of the operation, the threshold value when switching from the color mode to the monochrome mode and the threshold value when switching from the monochrome mode to the color mode may be made different. That is, the first threshold value Y 1 shown in FIG. 5 as a threshold value for switching to the monochrome mode, the third threshold value Y 3 may be the threshold of the color mode. However, this difference between the first threshold value Y 1 and the third threshold value Y 3 is too large, although the operation in an incandescent lamp of low voltage driving is stabilized, in other situations for example incandescent lamp rated voltage driving, fluorescent Mode switching does not work well when shooting under light or daylight. In other words, a phenomenon occurs in which switching is not performed even in a situation where the photographing mode is desired to be switched.
[0035]
Therefore, in this embodiment, the integrated value B S when switching from the color mode to the monochrome mode as compared with the integrated value R S, in accordance with the comparison result, either the second threshold value Y 2 and the third threshold value Y 3 One is set to the threshold Y TH . This solves the problem that the photographing mode is frequently switched when photographing is performed under an incandescent lamp driven by a low voltage. Further, when shooting is performed in another situation, the shooting mode is switched at an appropriate timing. That is, it is possible to stabilize the operation of switching the shooting mode under any conditions.
[0036]
In this embodiment, the output of the CDS circuit 26 is supplied to the integration circuit 30 through the LPF 28, but the output of the AGC circuit 32 may be supplied to the integration circuit 30. In this embodiment, the R signal and the B signal output from the gamma correction circuit 52 are supplied to the integration circuits 56 and 58. However, the R signal and the B signal output from the matrix operation circuit 48 or the white balance adjustment 50 are provided. The B signal may be provided to the integration circuits 56 and 58.
[0037]
Further, in this embodiment, a complementary color filter is used as the color filter 22, but a primary color filter in which R, G, and B color elements are arranged on a mosaic may be used. In this embodiment, the pixel signal is subjected to analog processing. However, the present invention can be applied to a camera that performs digital processing on the pixel signal.
[Brief description of the drawings]
FIG. 1 is a block diagram showing one embodiment of the present invention.
FIG. 2 is an illustrative view showing one example of a glass member;
FIG. 3 is an illustrative view showing one example of a complementary color filter;
FIG. 4 is a flowchart showing a part of the operation of the embodiment in FIG. 1;
FIG. 5 is an illustrative view showing one portion of an operation of the embodiment in FIG. 1;
FIG. 6 is a graph showing output characteristics of a CCD imager when an IR cut filter is used and when it is not used.
FIG. 7 is a graph showing wavelength characteristics of daylight, an incandescent lamp, and a fluorescent lamp.
[Explanation of symbols]
Reference Signs List 10 black-and-white / color switching camera 14a IR cut filter 14b dummy glass 16 state sensor 18 microcomputer 20 motor 30, 56, 58 integration circuit 36 encoder

Claims (3)

被写体像を撮影するイメージセンサ、
前記イメージセンサの出力から輝度成分を検出する第1検出手段、
前記イメージセンサの出力からR成分およびB成分を検出する第2検出手段、
前記輝度成分を所定閾値と比較する比較手段、
前記比較手段の比較結果に応じて撮影モードをカラーモードおよび白黒モードの間で切り換える切換手段、
前記撮影モード前記カラーモードへの切換時に第1閾値を前記所定閾値に設定する第1設定手段、および
前記撮影モード前記白黒モードへの切換時に第2閾値および第3閾値の一方を前記所定閾値に設定する第2設定手段を備え
前記第2閾値および前記第3閾値はいずれも前記第1閾値よりも大きく、
前記第3閾値は前記第2閾値よりも大きく、
前記第2設定手段は、前記R成分および前記B成分が所定条件を満たさないとき前記第2閾値を前記所定閾値に設定する第2閾値設定手段、および前記R成分および前記B成分が前記所定条件を満たすとき前記第3閾値を前記所定閾値に設定する第3閾値設定手段を含み、
前記所定条件は前記R成分が前記B成分よりも大きいという条件を含む、白黒/カラー切換カメラ。
An image sensor that captures the image of the subject,
First detecting means for detecting a luminance component from the output of the image sensor,
Second detection means for detecting an R component and a B component from the output of the image sensor,
Comparing means for comparing the luminance component with a predetermined threshold,
Switching means for switching a shooting mode between a color mode and a black and white mode in accordance with a comparison result of the comparing means,
First setting means for setting a first threshold value to the predetermined threshold value when the shooting mode is switched to the color mode; and setting one of the second threshold value and the third threshold value when the shooting mode is switched to the monochrome mode to the predetermined value. A second setting means for setting a threshold value ;
Both the second threshold and the third threshold are larger than the first threshold,
The third threshold is greater than the second threshold,
A second threshold setting unit that sets the second threshold to the predetermined threshold when the R component and the B component do not satisfy a predetermined condition; and a second threshold setting unit that sets the R component and the B component to the predetermined condition. A third threshold setting unit that sets the third threshold to the predetermined threshold when
The monochrome / color switching camera, wherein the predetermined condition includes a condition that the R component is larger than the B component .
前記イメージセンサに照射される被写体像から赤外線を除去する赤外線カットフィルタ、
前記イメージセンサの出力に基づいて白黒ビデオ信号およびカラービデオ信号を生成するビデオ信号生成手段、および
前記白黒ビデオ信号および前記カラービデオ信号の一方を選択する選択手段をさらに備える、請求項1記載の白黒/カラー切換カメラ。
An infrared cut filter that removes infrared rays from a subject image irradiated on the image sensor,
Video signal generating means for generating a black-and-white video signal and a color video signal based on an output of the image sensor, and further comprising a selection means for selecting one of the black and white video signal and the color video signal, No placement claim 1 Symbol Black and white / color switching camera.
前記切換手段は、前記カメラモードにおいて前記赤外線カットフィルタをオンするとともに前記カラービデオ信号を選択し、前記白黒モードにおいて前記赤外線カットフィルタをオフするとともに前記白黒ビデオ信号を選択する、請求項記載の白黒/カラー切換カメラ。Said switching means selects said color video signal as well as on the infrared cut filter in the camera mode, selects the monochrome video signal turns off the infrared cut filter in the monochrome mode, according to claim 2, wherein Black and white / color switching camera.
JP22060199A 1999-08-04 1999-08-04 Black and white / color switching camera Expired - Fee Related JP3583952B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22060199A JP3583952B2 (en) 1999-08-04 1999-08-04 Black and white / color switching camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22060199A JP3583952B2 (en) 1999-08-04 1999-08-04 Black and white / color switching camera

Publications (2)

Publication Number Publication Date
JP2001045512A JP2001045512A (en) 2001-02-16
JP3583952B2 true JP3583952B2 (en) 2004-11-04

Family

ID=16753542

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22060199A Expired - Fee Related JP3583952B2 (en) 1999-08-04 1999-08-04 Black and white / color switching camera

Country Status (1)

Country Link
JP (1) JP3583952B2 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003219254A (en) * 2002-01-25 2003-07-31 Matsushita Electric Ind Co Ltd Camera with photographing mode switching function
US7633529B2 (en) 2004-11-08 2009-12-15 Samsung Electronics, Co., Ltd. Imaging apparatus, and a method for switching between chromatic and monochromatic modes of an imaging apparatus
JP2006166342A (en) 2004-12-10 2006-06-22 Canon Inc Imaging apparatus and imaging system
CN100420279C (en) * 2005-03-31 2008-09-17 北京中星微电子有限公司 Method and apparatus for lowering image noise under low illumination
JP4612861B2 (en) 2005-04-27 2011-01-12 キヤノン株式会社 Imaging device
JP4630781B2 (en) 2005-09-26 2011-02-09 キヤノン株式会社 Wavelength component ratio detection apparatus and imaging apparatus using the same
JP4781825B2 (en) * 2006-01-19 2011-09-28 三菱電機株式会社 Imaging device
JP2007202034A (en) 2006-01-30 2007-08-09 Sony Corp Imaging apparatus, control method, and program
JP4310317B2 (en) * 2006-02-06 2009-08-05 キヤノン株式会社 Visible component ratio calculation method and optical instrument using the same
JP2010215029A (en) * 2009-03-13 2010-09-30 Toyota Industries Corp Parking support apparatus
FR3004882B1 (en) * 2013-04-17 2015-05-15 Photonis France DEVICE FOR ACQUIRING BIMODE IMAGES
CN106454290B (en) * 2016-10-12 2019-05-14 成都西纬科技有限公司 A kind of dual camera image processing system and method
JP7169863B2 (en) 2018-12-03 2022-11-11 キヤノン株式会社 Imaging device, its control method, and calculation method

Also Published As

Publication number Publication date
JP2001045512A (en) 2001-02-16

Similar Documents

Publication Publication Date Title
US7030911B1 (en) Digital camera and exposure control method of digital camera
JP4210021B2 (en) Image signal processing apparatus and image signal processing method
EP1437886B1 (en) Imager and image quality correcting method
JP3583952B2 (en) Black and white / color switching camera
JP2003224769A (en) Digital camera
JP2001169160A (en) Digital camera and image display method for digital camera
JP2005117395A (en) Imaging apparatus
EP2471257A1 (en) Image capture device
US7646406B2 (en) Image taking apparatus
JPS62111590A (en) Image pickup device
JP2012095223A (en) Imaging device, imaging method, and program
JP4190346B2 (en) Imaging device
JP2009118052A (en) Image signal processing method and apparatus
JP4235408B2 (en) Noise reduction circuit and imaging device
JP3535585B2 (en) Image processing method, image processing device, and imaging device
JP2007174160A (en) Imaging apparatus
JPH075733Y2 (en) White balance circuit for color television cameras
JP2006074710A (en) Digital camera and camera system
JP2001136539A (en) Electronic camera
JP2001160915A (en) Digital camera
JP5915242B2 (en) Image processing apparatus, image processing method, image processing program, and recording medium recording the image processing program on a computer
JPS601989A (en) Image pickup device
JPH11168748A (en) Image-pickup device
JP2004096633A (en) Imaging apparatus and imaging method
JPH05191719A (en) Image pickup device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040428

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040525

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040610

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040713

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040730

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

Free format text: PAYMENT UNTIL: 20070806

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20080806

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090806

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100806

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100806

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110806

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees