JP4063583B2 - Digital camera - Google Patents

Digital camera Download PDF

Info

Publication number
JP4063583B2
JP4063583B2 JP2002143967A JP2002143967A JP4063583B2 JP 4063583 B2 JP4063583 B2 JP 4063583B2 JP 2002143967 A JP2002143967 A JP 2002143967A JP 2002143967 A JP2002143967 A JP 2002143967A JP 4063583 B2 JP4063583 B2 JP 4063583B2
Authority
JP
Japan
Prior art keywords
subject
image
detection circuit
control circuit
image memory
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
JP2002143967A
Other languages
Japanese (ja)
Other versions
JP2003338952A (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 JP2002143967A priority Critical patent/JP4063583B2/en
Publication of JP2003338952A publication Critical patent/JP2003338952A/en
Application granted granted Critical
Publication of JP4063583B2 publication Critical patent/JP4063583B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、デジタルカメラ及びその画像処理方法に関する。
【0002】
【従来の技術】
図8は、従来のデジタルカメラの斜視図であり、図9は、従来のデジタルカメラの内部構成を示すブロック図である(特開2001−313680号参照)。カメラ本体(1)には、ストロボ(70)、シャッタ釦(10)が周知の如く設けられている。
カメラ本体(1)内には、ラック(31)を具えた対物レンズ(30)が設けられ、該ラック(31)はギア列(32)を介して、モータMにより、被写体に接近離間可能に設けられている。対物レンズ(30)からの光は、CCD(33)にて電気信号に変換され、A/Dコンバータ(34)にてデジタル信号に変換され、信号処理回路(35)にて色補正やガンマ補正等の処理が行われた後に、制御回路(2)に入力される。制御回路(2)はモータMに給電する。対物レンズ(30)、CCD(33)、A/Dコンバータ(34)、モータM、ギア列(32)とで、周知のオートフォーカス機構(3)を構成する。
【0003】
シャッタ釦(10)を押し込む途中、又はシャッタ釦(10)が軽く押された半押し状態では、制御回路(2)は一旦モータMに通電して、対物レンズ(30)を光軸Lに沿って少しずつ移動させる。ピントがあった状態から、対物レンズ(30)が僅かに動くと、CCD(33)からの電気信号は図10(a)のように起伏が激しい波形となり、ピントがあっていない状態で、対物レンズ(30)が動くとCCD(33)からの電気信号は図10(b)のように起伏のなだらかな波形となることが知られている。制御回路(2)は最も電気信号の波形の起伏が激しい地点で、対物レンズ(30)を止め、ピントを合わせる。
この状態でシャッタ釦(10)が完全に押し込まれると、ストロボ(70)が発光し、被写体の画像が制御回路(2)を通って画像メモリ(4)内に格納される。
【0004】
【発明が解決しようとする課題】
被写体が人の顔である場合は、撮影時にストロボ(70)が発光すると、人は反射的に目を閉じることが多い。即ち、目を閉じた写真が不用意に撮れてしまう。目が開いた写真を撮るには、連続して同じ顔を数枚撮り、撮影後に目が閉じていない写真を選ぶのが一般的であるが、手間がかかる。
この点に鑑みて、目を閉じていない写真を自動的に撮るカメラが、特開平7−295063号に開示されている。これは、ストロボ発光時に、被写体の目が赤く写る所謂赤目現象を利用して、被写体の目が赤く写った写真を残し、被写体の目が赤く写っていない写真を自動的にキャンセルする。
しかし、これではストロボを使用しないときには、被写体の目が閉じた写真が写ってしまう。また、目を閉じた写真は自動的にキャンセルされてしまうから、被写体である人が目を閉じた写真内に、他の被写体の決定的な瞬間が写っていた場合にもその写真はキャンセルされてしまい、却って使い勝手が悪かった。
本発明の目的は、目が開いた写真を撮影者が簡単に選択して撮ることができるカメラを提供することにある。
【0005】
【課題を解決する為の手段】
カメラ本体(1)は、シャッタ釦(10)と、対物レンズ(30)から取り込まれた被写体のデジタル画像をフレーム毎に格納可能な画像メモリ(4)と、シャッタ釦(10)の操作に応じて、被写体のデジタル画像を画像メモリ(4)に格納させる制御回路(2)と、制御回路 ( ) に繋がり被写体に向いた報知ランプ ( ) と、画像メモリ(4)内の画像データを2値化処理するとともに、目の領域を探索する目位置検出回路(5)と、目位置検出回路(5)が検出した目の領域を、特定のフレーム数分だけ監視し続け、該目の領域に於ける瞳部分が小さくなると、その旨の信号を発するまばたき検出回路(50)とを具えている。
前記制御回路(2)は、まばたき検出回路(50)に繋がっており、まばたき検出回路(50)から瞳部分が小さくなった旨の信号を受けた際には、報知ランプ ( ) を発光させて被写体の注意を引いた後に、被写体のデジタル画像を画像メモリ ( ) に格納する。
【0006】
【作用及び効果】
被写体が目を閉じる、即ち、まばたきすると、まばたき検出回路(50)は黒目部分を示す瞳部分が小さくなったことを検出する。制御回路(2)は、まばたき検出回路(50)から瞳部分が小さくなった旨の信号を受け、報知ランプ ( ) を発光させて被写体の注意を引いた後に、被写体のデジタル画像を画像メモリ(4)に格納する。これにより、目が開いた被写体の画像を簡単に撮ることができる。
【0007】
【発明の実施の形態】
以下、本発明の一例を図を用いて詳述する。
図1(a)は、カメラ本体(1)の斜視図、図1(b)は、図1(a)を背後から見た斜視図である。カメラ本体(1)上には、シャッタ釦(10)、ストロボ(70)の他に、2値化画像を処理すべきときに操作される切換スイッチ(SW)が設けられている。カメラ本体(1)には、デジタル画像を格納可能なメモリカード(9)が挿入される開口(11)が設けられている。撮った画像は、カメラ本体(1)の背面に設けられた液晶パネル(8)にて確認できる。カメラ本体(1)の前面には、3つの報知ランプ(7)が上下に3つ設けられているが、3つに限定されない。本例にあっては、被写体の目が開いた写真を撮影者が簡単に選択できる点に特徴がある。
【0008】
図2は、本例のデジタルカメラの内部ブロック図である。従来と同様に、オートフォーカス機構(3)は、信号処理回路(35)を介して、制御回路(2)に繋がっている。制御回路(2)には、プログラムが格納されたROM(20)、時間を計測するタイマー(6)、タイマー時間や液晶パネル(8)に表示する図形等が格納されるRAM(21)、デジタル画像が格納される画像メモリ(4)が接続されている。制御回路(2)には、またD/Aコンバータ(80)を介して前記液晶パネル(8)、圧縮伸長回路(90)を介してメモリカード(9)が接続される。一般に制御回路(2)はマイクロコンピュータで構成されるから、タイマー(6)を該マイクロコンピュータ内のクロックを分周して形成してもよい。
画像メモリ(4)には、被写体の画像を2値化処理して被写体の目の位置を検出する目位置検出回路(5)、被写体の目の位置を監視し続けて2値化画像から目を閉じたことを検出するまばたき検出回路(50)が接続されている。
【0009】
撮影者は、通常に撮影するときは、被写体にオートフォーカス機構(3)の対物レンズ(30)(図9参照)を向けてシャッタ釦(10)を押す。制御回路(2)は1フレームのデジタル画像を一旦画像メモリ(4)に格納するとともに、D/Aコンバータ(80)にてアナログ変換された画像を液晶パネル(8)に表示する。これとともに、デジタル画像を圧縮伸長回路(90)にて圧縮してメモリカード(9)に格納する。メモリカード(9)に格納することにより、画像が保存される。
撮影者がメモリカード(9)内の画像の再生をカメラ本体(1)上の再生釦(図示せず)を操作して再生を指示すると、圧縮伸長回路(90)にてメモリカード(9)内の画像が伸長されてD/Aコンバータ(80)を介して液晶パネル(8)に表示される。
撮影者は、被写体が目を開いた画像のみを撮るときは、切換スイッチ(SW)を操作して、目つぶり検出モードに設定する。
【0010】
(目つぶり検出)
撮影者が切換スイッチ(SW)を操作して、目つぶり検出モードを選択したときは、制御回路(2)はROM(20)から目つぶり検出モード用のプログラムを読み込む。カメラ本体(1)は、目を閉じた状態を検出すると撮影者に警告を発する。以下、目を閉じた状態を検出する手順を、図5のフローチャート及び図3、図4を用いて説明する。
先ず、撮影者は対物レンズ(30)を被写体に向けて、シャッタ釦(10)を押す(S2)。オートフォーカス機構(3)から、図3(a)に示す1フレーム分の被写体画像が制御回路(2)を通って、画像メモリ(4)に格納される。該画像は目位置検出回路(5)によって、ラスタ走査されて、ホワイトピークの部分を255、最も黒い部分を0とする256階調のデジタルデータに変換される。次に、特定のスレッショルドレベルで、画像を2値化し、周知のラベリング処理や、収縮・拡散による平滑化を行って、ノイズを除去する(S3)。スレッショルドレベルは、任意に定められるが、人の肌色を白とするレベルである。また、図3(a)では画素数は縦横各500ピクセルとしているが、これに限定されない。
【0011】
2値化画像から、顔を特定し、目の位置及びまばたき状態を検出する方法は、種々提案されているが、以下その一例を示す。これは鼻穴から目の位置を特定するものであるが、これは例示であって、この方法に限定されない。
2値化処理により、図3(b)に示すように、画素が繋がった一続きの線である被写体の頭の輪郭線AT、顔の輪郭線KA、髪の生え際の線であるHを得る。線ATと線KA、及び線Hと線KAは画素が環状に繋がっているから、これらの線が輪郭線又は生え際の線であることが判る。勿論、眉毛や唇の画像も2値化処理されているが、図3(b)では便宜上、図示しない。ここまでの手順は特開平4−174309号に記載されている。
【0012】
次に、2値化処理された画像にて、顔の輪郭線KA、及び髪の生え際の線であるHで囲まれる部分の略中央部を探索する。図3(b)に一点鎖線で示す領域に、ほぼ水平に並ぶ2つの黒部分が抽出され、この2つの黒部分を鼻穴として検出する。この2つの黒部分が鼻穴であることを確認する為に、該黒部分が頭の輪郭線AT、及び顔の輪郭線KAで囲まれる領域の中央部から下方にあることを検知する。
即ち、鼻穴の位置は個人差があるが、鼻穴は、顔の輪郭線KA及び髪の生え際の線であるHで囲まれる領域の略中央部に位置している。また、鼻穴は、頭の輪郭線AT及び顔の輪郭線KAで囲まれる領域の中央部から下方にあるから、上記工程によって、被写体の鼻穴が正確に検出される。尚、一般的な鼻穴の形状をテンプレートとして記憶しておき、2値化処理された顔画像のうちテンプレートと一致する部分を鼻穴として検出してもよい。
【0013】
次に、該鼻穴の近傍にて、鼻穴の位置の斜め上方に、該鼻穴よりも間隔の広い2つの黒部分(図3(c)に一点鎖線で示す部分R)を検出する(S4)。両目は鼻の上方にあり、且つ両目の間隔は2つの鼻穴の間隔よりも広いから、検出された2つの黒部分が目、即ち瞳部分であることが判る。この場合、2つの鼻穴の間隔よりも広い黒部分として、眉毛があるが、目は眉毛よりも鼻側にあり、鼻より上の2つの黒部分としてまず両目が検出されるから、眉毛を誤検出することはない。尚、鼻穴の位置に基づいて、目の位置を検出する旨は、特開平10−63850号に記載されている。
目位置検出回路(5)は目の位置を探知する操作を終えるが、次々に画像メモリ(4)に取り込まれる1フレーム毎の画像を2値化処理する動作は続ける。瞳部分の検出により、目の位置が決定されると、まばたき検出回路(50)が作動する。
【0014】
まばたき検出回路(50)は、2値化画像から該領域Rを一定時間、具体的には数百フレーム分監視し続ける(S5)。図4に示すように、被写体である人が目を閉じれば、瞳部分が瞼に覆われる。瞳部分は上下の瞼が合わさった線状の箇所となるから、瞳部分である黒部分の面積が小さくなる(S6)。まばたき検出回路(50)は被写体がまばたきをして、目を閉じたことを検出する。
制御回路(2)は、まばたき検出回路(50)から被写体が目を閉じた旨の信号を受信すると、液晶パネル(8)に表示された画像に、目を閉じた画像である旨の表示、例えばRAM(21)から読み込まれたバツ印を付して撮影者に警告する(S7)。撮影者は、目を閉じた画像を撮影したことが判り、シャッタ釦(10)をもう1回押すと、高い確率で目を開いた画像を撮ることができる。尚、制御回路(2)はまばたき検出回路(50)から被写体が目を閉じた旨の信号を受信した後に、自動的にもう1枚画像を画像メモリ(4)又はメモリカード(9)に格納してもよい。
撮影者は警告を受けた画像が不要であれば、該画像を消去すればよく、他の被写体の決定的な瞬間が写っている等、該画像が必要であれば、残しておけばよい。従って、かかる警告を受けることにより撮影者は目が開いた写真を簡単に選択して撮ることができる。また、ストロボを発光させなくとも、目を閉じたことを検出できる。
尚、目位置検出回路(5)が検出した目位置にて、当初目が閉じていても、まばたき検出回路(50)が領域Rを監視し続けることにより、瞳部分はその後大きくなるから、再び瞳部分が小さくなったことを検知すれば、まばたきがあったことが判る。
【0015】
(第2実施例)
本例にあっては、図6のフローチャートに示すように、目つぶりを検出するまでの手順は、上記と同様である(S10、S11)。しかし、被写体の目が閉じていることを検出すると、警告は発せずに、報知ランプ(7)を発光させて、被写体である人の注意を引く(S12)。被写体は稍驚いて、目が開く。この後、撮像画像を画像メモリ(4)に格納する(S13)。報知ランプ(7)を発光させてから、撮像画像を画像メモリ(4)に格納するまでの時間は、予め制御回路(2)内に定められており、一般的な人のまばたき間隔よりも短く定められる。これにより、目が開いた被写体の画像を簡単に撮ることができる。報知ランプ(7)の発光時間は被写体の目を開かせ続けるには、1秒程度が適切と考えられる。
尚、暗い場所で撮影する場合には、報知ランプ(7)の代わりに、ストロボ(70)を2回発光させて、被写体である人の目を開かせてもよい。ストロボ(70)は、報知ランプ(7)よりも強い光であり、被写体は最初の発光で一瞬目を閉じるが、直ぐに目を開ける。このときに、再びストロボ(70)を発光させ、撮像画像を画像メモリ(4)に格納する。
【0016】
最初の発光は、2回目の発光が失敗無く行われるかを確認するものである。従来のデジタルカメラでは、図1(a)に一点鎖線で示すように、カメラ本体(1)の前面にセンサ(12)を設け、ストロボ(70)を1回発光させ、ストロボ(70)からの光が被写体に反射される量をセンサ(12)にて感知する。この反射光量が十分なレベルに達すると、ストロボ(70)がそれ以上長く発光するのを阻止している。
然るに、出願人の提案するデジタルカメラでは、構成部品を削減すべくセンサ(12)を設けていない。その代わり、ストロボ(70)をまず1回発光させ、被写体に反射される光量を、オートフォーカス機構(3)のCCD(33)にて受ける。次に、制御回路(2)はストロボ(70)の発光量と反射光の光量を比較し、どれだけの光量で2回目に発光させれば、被写体がきれいに撮れるかを演算して、2回目の発光を行っている。
【0017】
(第3実施例)
本実施例に於けるデジタルカメラでは、報知ランプ(7)等を発光させない代わりに、まばたきの間隔時間tを測定して、該間隔時間t内に撮像画像を画像メモリ(4)に格納する。この場合、撮影者はシャッタ釦(10)を半押し、即ちオートフォーカス動作が働く程度に、シャッタ釦(10)を暫く軽く押してから、シャッタ釦(10)を押し込む。図7のフローチャートに手順を示す。
撮影者は、切換スイッチ(SW)を操作して(S20)、目つぶり検出モードを選択した後に、シャッタ釦(10)を半押しする。このとき、制御回路(2)は未だ撮像画像を画像メモリ(4)に格納しない。
まばたき検出回路(50)が被写体のまばたきを検出したときは(S21)、まばたき検出回路(50)は、タイマー(6)を作動させる(S22)。まばたき後は、黒目が露出して瞳部分が大きくなり、再びまばたきをすると、瞳部分が再び小さくなる。まばたき検出回路(50)は、前回のまばたきから今回のまばたきまでの時間tを、タイマー(6)にて計測して(S23、S24)、該計測データをRAM(21)に格納するとともに、今回のまばたきがあった旨を制御回路(2)に伝える。尚、まばたき検出回路(50)は、まばたきの時間間隔tを複数回測定し、平均値をRAM(21)に格納してもよい。
【0018】
撮影者がシャッタ釦(10)を押し込むと、制御回路(2)は、RAM(21)からまばたきの間隔時間tを読み込むとともに、まばたき検出回路(50)から伝えられた最新のまばたきから、時間tが経過しているかどうかを判断する(S25)。時間tが経過していなければ、オートフォーカス機構(3)から入力された撮像画像を画像メモリ(4)に格納する(S26)。時間tが経過していれば、まばたき検出回路(50)から次のまばたきがあった旨の情報を待って、該情報から時間t内に撮像画像を画像メモリ(4)に格納する。これにより、目が開いた被写体の画像を簡単に撮ることができる。
【0019】
オートフォーカス機構(3)は、一般に対物レンズ(30)の中心付近に焦点を合わせる。従って、目つぶり検出モードにて、画像内に多数の人が写っている場合は、画像の中心部に写っている人のまばたき状態を判断する。尚、画像内に複数の人がいる場合は、画像認識する領域を自動又は手動で制限し、中心部で顔が大きく写っている人を重点的に画像認識するようにしてもよい。
尚、オートフォーカス機構(3)を設けていなくとも、マニュアル操作にて、画像の中心部に焦点を合わせてもよい。また、本願の内容は、対物レンズ(30)の絞りを小さくして被写界深度を深くしたパンフォーカス機にも使用できる。
【0020】
上記実施例では、目つぶり検出モードはカメラ本体(1)上の切換スイッチ(SW)を操作して選択されるとしたが、これに代えて液晶パネル(8)に表示されるメニューから選択してもよい。
また、切換スイッチ(SW)を設けずに、常に目つぶりを検出してもよい。この場合、被写体が人であるかどうかは、先ず被写体の色又はつやを検知し、被写体が肌色か否かで判断する。この肌色を検知することにより被写体が顔か否かを判断する技術は、特開平11−281661号に開示されている。
【0021】
上記実施例の説明は、本発明を説明するためのものであって、特許請求の範囲に記載の発明を限定し、或は範囲を減縮する様に解すべきではない。又、本発明の各部構成は上記実施例に限らず、特許請求の範囲に記載の技術的範囲内で種々の変形が可能であることは勿論である。
【図面の簡単な説明】
【図1】(a)は、カメラ本体の斜視図、(b)は、(a)を背後から見た斜視図である。
【図2】本例のデジタルカメラの内部ブロック図である。
【図3】(a)、(b)、(c)は、2値化処理を示す図である。
【図4】目を閉じた被写体の2値化処理を示す図である。
【図5】目を閉じた状態を検出する手順を示すフローチャートである。
【図6】別の実施例に於ける目を開いた画像を撮る手順である。
【図7】別の実施例に於ける目を開いた画像を撮る手順である。
【図8】従来のデジタルカメラの斜視図である。
【図9】従来のデジタルカメラの内部構成を示すブロック図である。
【図10】(a)、(b)は、CCDからの電流波形を示す図である。
【符号の説明】
(2) 制御回路
(4) 画像メモリ
(5) 目位置検出回路
(6) タイマー
(10) シャッタ釦
(30) 対物レンズ
(50) まばたき検出回路
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a digital camera and an image processing method thereof.
[0002]
[Prior art]
FIG. 8 is a perspective view of a conventional digital camera, and FIG. 9 is a block diagram showing an internal configuration of the conventional digital camera (see Japanese Patent Application Laid-Open No. 2001-313680). The camera body (1) is provided with a strobe (70) and a shutter button (10) as is well known.
An objective lens (30) having a rack (31) is provided in the camera body (1), and the rack (31) can be moved closer to and away from the subject by a motor M via a gear train (32). Is provided. Light from the objective lens (30) is converted into an electrical signal by the CCD (33), converted to a digital signal by the A / D converter (34), and color correction and gamma correction are performed by the signal processing circuit (35). And the like are input to the control circuit (2). The control circuit (2) supplies power to the motor M. The objective lens (30), CCD (33), A / D converter (34), motor M, and gear train (32) constitute a known autofocus mechanism (3).
[0003]
In the middle of pressing the shutter button (10) or in the half-pressed state in which the shutter button (10) is lightly pressed, the control circuit (2) once energizes the motor M and moves the objective lens (30) along the optical axis L. Move little by little. When the objective lens (30) slightly moves from the focused state, the electrical signal from the CCD (33) becomes a waveform with a undulating undulation as shown in FIG. 10 (a). It is known that when the lens (30) moves, the electrical signal from the CCD (33) has a gentle waveform as shown in FIG. 10 (b). The control circuit (2) stops the objective lens (30) and focuses at the point where the waveform of the electric signal is most undulating.
When the shutter button (10) is fully depressed in this state, the flash (70) emits light, and the image of the subject passes through the control circuit (2) and is stored in the image memory (4).
[0004]
[Problems to be solved by the invention]
When the subject is a person's face, the person often closes his eyes reflectively when the strobe (70) emits light during shooting. That is, a photograph with closed eyes can be taken carelessly. To take a photo with open eyes, it is common to take several photos of the same face in succession, and then select a photo that does not have eyes closed after taking the photo.
In view of this point, a camera that automatically takes a photo with no eyes closed is disclosed in Japanese Patent Laid-Open No. 7-295063. This utilizes a so-called red-eye phenomenon in which the subject's eyes appear red when the flash is fired, leaving a photograph where the subject's eyes appear red and automatically canceling the photo where the subject's eyes do not appear red.
However, when the flash is not used, a photograph with the subject's eyes closed is taken. In addition, photos with closed eyes are automatically canceled, so if a subject who has closed their eyes shows a definitive moment of another subject, that photo is also canceled. On the other hand, usability was bad.
An object of the present invention is to provide a camera that allows a photographer to easily select and take a picture with open eyes.
[0005]
[Means for solving the problems]
The camera body (1) has a shutter button (10), an image memory (4) capable of storing a digital image of the subject captured from the objective lens (30) for each frame, and an operation of the shutter button (10). The control circuit (2) for storing the digital image of the subject in the image memory (4), the notification lamp ( 7 ) connected to the control circuit ( 2 ) and facing the subject, and the image data in the image memory (4) While performing binarization processing, the eye position detection circuit (5) for searching the eye area and the eye area detected by the eye position detection circuit (5) are continuously monitored for a specific number of frames. When the pupil portion in the region becomes small, a blink detection circuit (50) for emitting a signal to that effect is provided.
The control circuit (2) is connected to the blink detection circuit (50), and when receiving a signal indicating that the pupil is small from the blink detection circuit (50), the control circuit (2) emits the notification lamp ( 7 ). After drawing the attention of the subject, the digital image of the subject is stored in the image memory ( 4 ) .
[0006]
[Action and effect]
When the subject closes his eyes, that is, blinks, the blink detection circuit (50) detects that the pupil part indicating the black eye part has become small. The control circuit (2) receives a signal from the blink detection circuit (50) indicating that the pupil portion has become small , emits a notification lamp ( 7 ) to draw the attention of the subject , and then stores the digital image of the subject in the image memory. Store in (4). Thereby, it is possible to easily take an image of a subject with open eyes.
[0007]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an example of the present invention will be described in detail with reference to the drawings.
1A is a perspective view of the camera body 1, and FIG. 1B is a perspective view of FIG. 1A viewed from behind. On the camera body (1), in addition to the shutter button (10) and strobe (70), there is provided a changeover switch (SW) operated when a binary image is to be processed. The camera body (1) is provided with an opening (11) into which a memory card (9) capable of storing a digital image is inserted. The taken image can be confirmed on a liquid crystal panel (8) provided on the back of the camera body (1). Three notification lamps (7) are provided on the front surface of the camera body (1) at the top and bottom, but the number is not limited to three. This example is characterized in that the photographer can easily select a photograph with the subject's eyes open.
[0008]
FIG. 2 is an internal block diagram of the digital camera of this example. As in the prior art, the autofocus mechanism (3) is connected to the control circuit (2) via the signal processing circuit (35). The control circuit (2) includes a ROM (20) in which a program is stored, a timer (6) for measuring time, a RAM (21) in which timer time and figures to be displayed on the liquid crystal panel (8) are stored, digital An image memory (4) for storing images is connected. The control circuit (2) is connected to the liquid crystal panel (8) via a D / A converter (80) and a memory card (9) via a compression / decompression circuit (90). Since the control circuit (2) is generally composed of a microcomputer, the timer (6) may be formed by dividing the clock in the microcomputer.
In the image memory (4), an eye position detection circuit (5) for binarizing the subject image to detect the eye position of the subject, and continuously monitoring the eye position of the subject, A blink detection circuit (50) for detecting that the button is closed is connected.
[0009]
When shooting normally, the photographer points the objective lens (30) (see FIG. 9) of the autofocus mechanism (3) toward the subject and presses the shutter button (10). The control circuit (2) temporarily stores a digital image of one frame in the image memory (4), and displays the image converted into an analog form by the D / A converter (80) on the liquid crystal panel (8). At the same time, the digital image is compressed by the compression / decompression circuit (90) and stored in the memory card (9). Images are stored by storing them in the memory card (9).
When the photographer operates the playback button (not shown) on the camera body (1) to instruct playback of the image in the memory card (9), the compression / decompression circuit (90) causes the memory card (9) to play back. The image inside is expanded and displayed on the liquid crystal panel (8) via the D / A converter (80).
When the photographer takes only an image with the subject opening his eyes, he operates the changeover switch (SW) to set the blink detection mode.
[0010]
(Blink detection)
When the photographer operates the changeover switch (SW) to select the blink detection mode, the control circuit (2) reads the blink detection mode program from the ROM (20). The camera body (1) issues a warning to the photographer when it detects that the eyes are closed. Hereinafter, a procedure for detecting a state where the eyes are closed will be described with reference to the flowchart of FIG. 5 and FIGS. 3 and 4.
First, the photographer points the objective lens (30) toward the subject and presses the shutter button (10) (S2). From the autofocus mechanism (3), the subject image for one frame shown in FIG. 3A is stored in the image memory (4) through the control circuit (2). The image is raster-scanned by the eye position detection circuit (5) and converted into 256-gradation digital data in which the white peak portion is 255 and the blackest portion is 0. Next, the image is binarized at a specific threshold level, and noise is removed by performing well-known labeling processing and smoothing by shrinkage / diffusion (S3). The threshold level is arbitrarily determined, but is a level in which the human skin color is white. Further, in FIG. 3A, the number of pixels is 500 pixels in both the vertical and horizontal directions, but is not limited to this.
[0011]
Various methods have been proposed for identifying a face from a binarized image and detecting the position of the eyes and the blinking state. This specifies the position of the eye from the nostril, but this is an example and is not limited to this method.
By the binarization processing, as shown in FIG. 3B, the head outline AT of the subject, the face outline KA, and the hairline H, which are continuous lines connected with pixels, are obtained. . Since the line AT and the line KA, and the line H and the line KA are connected in a ring shape, it can be seen that these lines are contour lines or hairline lines. Of course, the image of eyebrows and lips is also binarized, but is not shown in FIG. 3B for convenience. The procedure so far is described in JP-A-4-174309.
[0012]
Next, in the binarized image, a search is made for a substantially central portion of the portion surrounded by the face outline KA and the hairline H. Two black portions arranged almost horizontally are extracted in a region indicated by a one-dot chain line in FIG. 3B, and these two black portions are detected as nostrils. In order to confirm that these two black portions are nostrils, it is detected that the black portions are below the center of the region surrounded by the head outline AT and the face outline KA.
That is, the position of the nostril varies among individuals, but the nostril is located at the approximate center of the area surrounded by the face outline KA and the hairline H. In addition, the nostril is located below the center of the region surrounded by the head outline AT and the face outline KA, so that the nostril of the subject is accurately detected by the above process. Note that the shape of a general nostril may be stored as a template, and a portion of the binarized face image that matches the template may be detected as a nostril.
[0013]
Next, in the vicinity of the nostril, two black portions (portion R indicated by a one-dot chain line in FIG. 3C) having a larger interval than the nostril are detected obliquely above the position of the nostril. S4). Since both eyes are above the nose and the distance between both eyes is wider than the distance between the two nostrils, it can be seen that the two detected black parts are the eyes, that is, the pupil part. In this case, there are eyebrows as a black part wider than the distance between the two nostrils, but the eyes are on the nose side of the eyebrows, and both eyes are first detected as two black parts above the nose. There is no false detection. JP-A-10-63850 describes that the position of the eye is detected based on the position of the nostril.
The eye position detection circuit (5) finishes the operation of detecting the eye position, but the operation of binarizing the image for each frame successively taken into the image memory (4) is continued. When the position of the eye is determined by detecting the pupil part, the blink detection circuit (50) is activated.
[0014]
The blink detection circuit (50) continues to monitor the region R from the binarized image for a predetermined time, specifically, several hundred frames (S5). As shown in FIG. 4, when a person who is a subject closes his eyes, the pupil portion is covered with eyelids. Since the pupil part is a linear part where the upper and lower eyelids are combined, the area of the black part which is the pupil part is reduced (S6). The blink detection circuit (50) detects that the subject blinks and closes his eyes.
When the control circuit (2) receives a signal indicating that the subject has closed his eyes from the blink detection circuit (50), a display indicating that the eyes are closed is displayed on the image displayed on the liquid crystal panel (8). For example, the photographer is warned with a cross mark read from the RAM (21) (S7). When the photographer knows that he has taken an image with his eyes closed, he can take an image with his eyes open with high probability by pressing the shutter button (10) once more. The control circuit (2) automatically stores another image in the image memory (4) or memory card (9) after receiving a signal from the blink detection circuit (50) that the subject has closed his eyes. May be.
The photographer may delete the image if the image for which the warning has been received is unnecessary, or may leave the image if necessary, such as when a definitive moment of another subject is shown. Accordingly, upon receiving such a warning, the photographer can easily select and take a picture with his eyes open. Further, it is possible to detect that the eyes are closed without causing the strobe to emit light.
Even if the eye is initially closed at the eye position detected by the eye position detection circuit (5), the blinking detection circuit (50) continues to monitor the region R, so that the pupil portion becomes larger thereafter. If it is detected that the pupil portion has become smaller, it can be seen that there was blinking.
[0015]
(Second embodiment)
In this example, as shown in the flowchart of FIG. 6, the procedure until the blinking is detected is the same as above (S10, S11). However, if it is detected that the subject's eyes are closed, the warning lamp (7) is caused to emit light without generating a warning, and the attention of the person who is the subject is drawn (S12). The subject was surprised and opened their eyes. Thereafter, the captured image is stored in the image memory (4) (S13). The time from when the notification lamp (7) is emitted until the captured image is stored in the image memory (4) is determined in advance in the control circuit (2), and is shorter than a general human blink interval. Determined. Thereby, it is possible to easily take an image of a subject with open eyes. The light emission time of the notification lamp (7) is considered to be about 1 second to keep the subject's eyes open.
When shooting in a dark place, instead of the notification lamp (7), the strobe (70) may be fired twice to open the eyes of the person who is the subject. The strobe (70) is stronger than the notification lamp (7), and the subject closes his eyes for the first time with the first light emission, but opens his eyes immediately. At this time, the strobe (70) is fired again, and the captured image is stored in the image memory (4).
[0016]
The first light emission confirms whether the second light emission is performed without failure. In a conventional digital camera, as shown by a dashed line in FIG. 1 (a), a sensor (12) is provided on the front surface of the camera body (1), and the strobe (70) is emitted once. A sensor (12) senses the amount of light reflected from the subject. When the amount of reflected light reaches a sufficient level, the strobe (70) is prevented from emitting light longer.
However, in the digital camera proposed by the applicant, the sensor (12) is not provided to reduce the number of components. Instead, the strobe (70) is first caused to emit light, and the amount of light reflected by the subject is received by the CCD (33) of the autofocus mechanism (3). Next, the control circuit (2) compares the amount of light emitted from the strobe (70) and the amount of reflected light, calculates the amount of light emitted for the second time, and calculates how well the subject can be taken. Is emitting light.
[0017]
(Third embodiment)
In the digital camera of this embodiment, instead of causing the notification lamp (7) or the like to not emit light, the interval time t for blinking is measured, and the captured image is stored in the image memory (4) within the interval time t. In this case, the photographer presses the shutter button (10) halfway, that is, lightly presses the shutter button (10) for a while to the extent that the autofocus operation works, and then pushes the shutter button (10). The procedure is shown in the flowchart of FIG.
The photographer operates the selector switch (SW) (S20), selects the blink detection mode, and then presses the shutter button (10) halfway. At this time, the control circuit (2) does not yet store the captured image in the image memory (4).
When the blink detection circuit (50) detects blinking of the subject (S21), the blink detection circuit (50) activates the timer (6) (S22). After blinking, black eyes are exposed and the pupil portion becomes large, and when blinking again, the pupil portion becomes small again. The blink detection circuit (50) measures the time t from the previous blink to the present blink by the timer (6) (S23, S24), stores the measured data in the RAM (21), and this time. Tell the control circuit (2) that there was a blink. The blink detection circuit (50) may measure the blink time interval t a plurality of times and store the average value in the RAM (21).
[0018]
When the photographer presses the shutter button (10), the control circuit (2) reads the blinking interval time t from the RAM (21), and at the time t from the latest blink transmitted from the blink detection circuit (50). It is determined whether or not elapses (S25). If the time t has not elapsed, the captured image input from the autofocus mechanism (3) is stored in the image memory (4) (S26). If the time t has elapsed, the blink detection circuit (50) waits for information indicating that the next blink has occurred, and stores the captured image in the image memory (4) from the information within the time t. Thereby, it is possible to easily take an image of a subject with open eyes.
[0019]
The autofocus mechanism (3) generally focuses near the center of the objective lens (30). Therefore, in the blink detection mode, when a large number of people appear in the image, the blinking state of the person shown in the center of the image is determined. If there are a plurality of people in the image, the image recognition area may be limited automatically or manually so that a person whose face is greatly reflected in the center may be recognized as an image.
Even if the autofocus mechanism (3) is not provided, the center of the image may be focused by manual operation. The contents of the present application can also be used for a pan focus machine in which the aperture of the objective lens (30) is reduced to increase the depth of field.
[0020]
In the above embodiment, the blink detection mode is selected by operating the selector switch (SW) on the camera body (1). Instead, it is selected from a menu displayed on the liquid crystal panel (8). May be.
Further, it is possible to always detect blinking without providing the changeover switch (SW). In this case, whether or not the subject is a person is first detected by detecting the color or gloss of the subject and determining whether or not the subject is skin color. A technique for determining whether or not the subject is a face by detecting the skin color is disclosed in JP-A-11-281661.
[0021]
The above description of the embodiments is for explaining the present invention, and should not be construed as limiting the invention described in the claims or reducing the scope thereof. In addition, the configuration of each part of the present invention is not limited to the above embodiment, and various modifications can be made within the technical scope described in the claims.
[Brief description of the drawings]
FIG. 1A is a perspective view of a camera body, and FIG. 1B is a perspective view of FIG.
FIG. 2 is an internal block diagram of the digital camera of this example.
FIGS. 3A, 3B, and 3C are diagrams illustrating a binarization process.
FIG. 4 is a diagram illustrating a binarization process for a subject with closed eyes.
FIG. 5 is a flowchart showing a procedure for detecting a state where the eyes are closed;
FIG. 6 is a procedure for taking an image with open eyes according to another embodiment.
FIG. 7 is a procedure for taking an image with open eyes according to another embodiment.
FIG. 8 is a perspective view of a conventional digital camera.
FIG. 9 is a block diagram showing an internal configuration of a conventional digital camera.
FIGS. 10A and 10B are diagrams showing current waveforms from a CCD. FIGS.
[Explanation of symbols]
(2) Control circuit
(4) Image memory
(5) Eye position detection circuit
(6) Timer
(10) Shutter button
(30) Objective lens
(50) Blink detection circuit

Claims (2)

シャッタ釦(10)と、
対物レンズ(30)から取り込まれた被写体のデジタル画像をフレーム毎に格納可能な画像メモリ(4)と、
シャッタ釦(10)の操作に応じて、被写体のデジタル画像を画像メモリ(4)に格納させる制御回路(2)と、
制御回路(2)に繋がり被写体に向いた報知ランプ(7)と、
画像メモリ(4)内の画像データを2値化処理するとともに、目の領域を探索する目位置検出回路(5)と、
目位置検出回路(5)が検出した目の領域を、特定のフレーム数分だけ監視し続け、該目の領域に於ける瞳部分が小さくなると、その旨の信号を発するまばたき検出回路(50)とを具え、
前記制御回路(2)は、まばたき検出回路(50)に繋がっており、まばたき検出回路(50)から瞳部分が小さくなった旨の信号を受けた際には、報知ランプ(7)を発光させて被写体の注意を引いた後に、被写体のデジタル画像を画像メモリ(4)に格納することを特徴とするデジタルカメラ。
Shutter button (10),
An image memory (4) capable of storing a digital image of a subject captured from the objective lens (30) for each frame;
A control circuit (2) for storing a digital image of the subject in the image memory (4) in response to an operation of the shutter button (10);
A notification lamp (7) connected to the control circuit (2) and facing the subject;
An eye position detection circuit (5) for binarizing the image data in the image memory (4) and searching for an eye region;
The eye position detection circuit (5) continues to monitor the eye area for a specific number of frames, and when the pupil portion in the eye area becomes smaller, the blink detection circuit (50) emits a signal to that effect. And
The control circuit (2) is connected to the blink detection circuit (50), and when the blink detection circuit (50) receives a signal indicating that the pupil portion has become small, the control circuit (2) causes the notification lamp (7) to emit light. A digital camera which stores a digital image of a subject in an image memory (4) after drawing attention of the subject.
シャッタ釦(10)と、
撮影時に被写体に光を発するストロボ(70)と、
対物レンズ(30)から取り込まれた被写体のデジタル画像をフレーム毎に格納可能な画像メモリ(4)と、
シャッタ釦(10)の操作に応じて、被写体のデジタル画像を画像メモリ(4)に格納させる制御回路(2)と、
画像メモリ(4)内の画像データを2値化処理するとともに、目の領域を探索する目位置検出回路(5)と、
目位置検出回路(5)が検出した目の領域を、特定のフレーム数分だけ監視し続け、該目の領域に於ける瞳部分が小さくなると、その旨の信号を発するまばたき検出回路(50)とを具え、
前記制御回路(2)は、まばたき検出回路(50)に繋がっており、まばたき検出回路(50)から瞳部分が小さくなった旨の信号を受けた際には、ストロボ(70)を発光させて被写体の注意を引いた後に、再度ストロボ(70)を発光させて被写体のデジタル画像を画像メモリ(4)に格納することを特徴とするデジタルカメラ。
Shutter button (10),
A strobe (70) that emits light to the subject during shooting,
An image memory (4) capable of storing a digital image of a subject captured from the objective lens (30) for each frame;
A control circuit (2) for storing a digital image of the subject in the image memory (4) in response to an operation of the shutter button (10);
An eye position detection circuit (5) for binarizing the image data in the image memory (4) and searching for an eye region;
The eye position detection circuit (5) continues to monitor the eye area for a specific number of frames, and when the pupil portion in the eye area becomes smaller, the blink detection circuit (50) emits a signal to that effect. And
The control circuit (2) is connected to the blink detection circuit (50). When the signal indicating that the pupil part is small is received from the blink detection circuit (50), the flash circuit (70) is caused to emit light. A digital camera characterized by storing a digital image of a subject in an image memory (4) by causing the strobe (70) to emit light again after drawing attention of the subject.
JP2002143967A 2002-05-20 2002-05-20 Digital camera Expired - Fee Related JP4063583B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002143967A JP4063583B2 (en) 2002-05-20 2002-05-20 Digital camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002143967A JP4063583B2 (en) 2002-05-20 2002-05-20 Digital camera

Publications (2)

Publication Number Publication Date
JP2003338952A JP2003338952A (en) 2003-11-28
JP4063583B2 true JP4063583B2 (en) 2008-03-19

Family

ID=29703762

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002143967A Expired - Fee Related JP4063583B2 (en) 2002-05-20 2002-05-20 Digital camera

Country Status (1)

Country Link
JP (1) JP4063583B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100358340C (en) 2005-01-05 2007-12-26 张健 Digital-camera capable of selecting optimum taking opportune moment
JP4661413B2 (en) * 2005-07-11 2011-03-30 富士フイルム株式会社 Imaging apparatus, number of shots management method and number of shots management program
JP4127296B2 (en) * 2006-06-09 2008-07-30 ソニー株式会社 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND COMPUTER PROGRAM
JP4898532B2 (en) * 2007-04-13 2012-03-14 富士フイルム株式会社 Image processing apparatus, photographing system, blink state detection method, blink state detection program, and recording medium on which the program is recorded
US8022982B2 (en) * 2008-01-02 2011-09-20 Sony Ericsson Mobile Communications Ab Camera system and method for operating a camera system
JP4561914B2 (en) * 2008-09-22 2010-10-13 ソニー株式会社 Operation input device, operation input method, program
JP5051091B2 (en) * 2008-10-03 2012-10-17 株式会社Jvcケンウッド Imaging apparatus, image signal processing apparatus, imaging method, and image signal processing method
JP5725745B2 (en) 2010-07-05 2015-05-27 株式会社東芝 X-ray diagnostic apparatus and medical image diagnostic apparatus

Also Published As

Publication number Publication date
JP2003338952A (en) 2003-11-28

Similar Documents

Publication Publication Date Title
JP4196714B2 (en) Digital camera
JP4898532B2 (en) Image processing apparatus, photographing system, blink state detection method, blink state detection program, and recording medium on which the program is recorded
JP4265600B2 (en) Compound eye imaging device
US6134339A (en) Method and apparatus for determining the position of eyes and for correcting eye-defects in a captured frame
US9147106B2 (en) Digital camera system
JP4307496B2 (en) Facial part detection device and program
JP4709147B2 (en) System and method for removing red eye phenomenon from digital images
JP4078334B2 (en) Image processing apparatus and image processing method
EP1522952B1 (en) Digital camera
JP4154917B2 (en) Iris photography device
JP2004317699A (en) Digital camera
JP5171468B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP2004320285A (en) Digital camera
JP4670521B2 (en) Imaging device
JPH105195A (en) Photographing method and device for iris
JP4063583B2 (en) Digital camera
CN108093170B (en) User photographing method, device and equipment
JP2013182062A (en) Display device and projection device
JP2004320284A (en) Digital camera
JP5109864B2 (en) Electronic still camera
JP2006318374A (en) Glasses determination device, authentication device, and glasses determination method
JP2003289468A (en) Imaging apparatus
JP2004086614A (en) Eye image pickup device and eye image verifying device
JP2009267468A (en) Imaging device
JP2009205203A (en) Iris authentication device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050415

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070814

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071012

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071225

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

Free format text: PAYMENT UNTIL: 20110111

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110111

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120111

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130111

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140111

Year of fee payment: 6

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

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

Free format text: PAYMENT UNTIL: 20140111

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees