JP2013131970A - Imaging device, imaging method, and program - Google Patents
Imaging device, imaging method, and program Download PDFInfo
- Publication number
- JP2013131970A JP2013131970A JP2011281219A JP2011281219A JP2013131970A JP 2013131970 A JP2013131970 A JP 2013131970A JP 2011281219 A JP2011281219 A JP 2011281219A JP 2011281219 A JP2011281219 A JP 2011281219A JP 2013131970 A JP2013131970 A JP 2013131970A
- Authority
- JP
- Japan
- Prior art keywords
- facial expression
- detected
- face
- image
- imaging
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、特に、ベストショット撮影を行うために用いて好適な撮像装置、撮像方法及びプログラムに関する。 The present invention particularly relates to an imaging apparatus, an imaging method, and a program suitable for use in performing best shot imaging.
従来、撮影した画像の中から人物の顔を検出し、検出された顔が笑顔などの特定の表情であるかどうかを検出する技術が知られている。また、1回の撮影指示に応じて、顔画像を含む人物の画像を連続的に撮影し、撮影された複数枚の画像の中から、撮影状態が最適な画像を1枚選択して記録する撮像装置がこれまで提案されている。例えば、特許文献1には、顔器官の検出位置に基づいて、顔の位置、角度、大きさ等が正規化され、得られた正規化顔画像を用いて、特定の表情を検出して撮影する技術が開示されている。また、特許文献2には、連続的に撮影された画像の中から特定の表情が撮影されたベストショット画像を記録することができる技術が開示されている。 Conventionally, a technique for detecting a human face from a photographed image and detecting whether the detected face is a specific expression such as a smile is known. Further, in response to a single shooting instruction, images of a person including a face image are continuously shot, and one image having the best shooting state is selected from a plurality of shot images and recorded. Imaging devices have been proposed so far. For example, in Patent Document 1, the position, angle, size, and the like of a face are normalized based on the detection position of a facial organ, and a specific facial expression is detected using the obtained normalized face image. Techniques to do this are disclosed. Patent Document 2 discloses a technique capable of recording a best shot image in which a specific facial expression is photographed from continuously photographed images.
従来、ベストショット撮影と呼ばれている機能においては、まず、記録用画像を撮影する前のプレビュー画像から、人物の顔を時系列的に検出するとともに、検出された顔が特定の表情(以下、「笑顔」を例にとって説明する)であるかどうかを判定する。次に、検出された顔が笑顔であると判定されている状態で、ユーザが撮影指示を行うと、画像が連続的に撮影され、撮影された複数枚の画像の笑顔度、目瞑り結果、ぶれ度合の評価を行い、それらの評価結果をもとに、最適な1枚の画像を選択する。 Conventionally, in a function called best shot shooting, first, a face of a person is detected in a time series from a preview image before a recording image is shot, and the detected face is a specific facial expression (hereinafter referred to as a facial expression). , “Smile” will be described as an example). Next, when the user gives a shooting instruction in a state where the detected face is determined to be a smile, the images are continuously shot, the smile level of the shot images, the eye-meditation result, The degree of blurring is evaluated, and an optimal single image is selected based on the evaluation results.
このとき、プレビュー画像で、被写体の表情が笑顔であると判定されなくなった場合でも、笑顔が検出できなくなってから所定の時間が経過するまでに、ユーザから撮影指示された場合は、ベストショット撮影が実施されるようにしている。これは、笑顔の評価に多少の時間がかかるため、本来は笑顔であるにも関わらず、一時的に笑顔でないと判定されてしまった場合に、再び笑顔と判定されるまでに時間を要してしまうことから提案された技術である。このように笑顔と非笑顔とが頻繁に切り替わるようなシーンにおいて、笑顔であると判定されなくなってからすぐに笑顔に復帰した場合でも、ユーザから撮影指示された場合は、すぐにベストショット撮影を行うことができる。 At this time, even if the preview image does not determine that the facial expression of the subject is a smile, if the user gives a shooting instruction before a predetermined time elapses after the smile cannot be detected, the best shot shooting is performed. Has been implemented. Since it takes some time to evaluate smiles, it takes time until a smile is determined again when it is temporarily determined that it is not a smile even though it is originally a smile. This is a proposed technique. In such a scene where smiles and non-smiles are frequently switched, even if the user returns to smile immediately after it is not determined to be a smile, if the user gives a shooting instruction, the best shot is immediately taken. It can be carried out.
しかしながら、上述した技術を用いてベストショット撮影を行うと、以下のような問題が発生する。この問題について、図3を参照しながら説明する。なお、図3において、顔が点線で囲われているものは、顔検出により顔が検出されたことを示している。 However, when the best shot is taken using the technique described above, the following problems occur. This problem will be described with reference to FIG. In FIG. 3, a face surrounded by a dotted line indicates that the face is detected by face detection.
図3(a)は、最初に笑顔が検出されていたが、途中から真顔になって笑顔が検出されなくなった場合における、ベストショット撮影と単写との撮影方式の切り替わりの動作例を示す図である。
図3(a)に示すように、プレビュー画像のフレーム301〜304までは笑顔が検出されているため、その間にユーザから撮影指示が出された場合には、ベストショット撮影が実施される。また、フレーム305からは真顔に変化しているが、前述したように、笑顔が検出できなくなってから所定時間が経過するまでにユーザから撮影指示が出された場合には、ベストショット撮影が実施される。したがって、所定時間の範囲内であるフレーム305〜307では、ベストショット撮影が実施される。そして、所定時間が経過した後のフレーム308以降では、ユーザから撮影指示が出された場合には、単写撮影が実施される。
FIG. 3A is a diagram illustrating an operation example of switching between the shooting method of the best shot shooting and the single shooting when a smile is first detected, but a smile is not detected due to a straight face in the middle. It is.
As shown in FIG. 3A, since a smile is detected in the
一方、図3(b)は、最初に笑顔が検出されていたが、途中から顔が横を向いて顔自体が検出されなくなったため、笑顔が検出できなくなった場合における、ベストショット撮影と単写との撮影方式の切り替わりの動作例を示す図である。
図3(b)に示すように、プレビュー画像のフレーム311〜314までは笑顔が検出されているため、その間にユーザから撮影指示が出された場合には、ベストショット撮影が実施される。ところが、フレーム315からは顔が検出されていないため、笑顔も検出されていない。この場合、従来技術では、所定時間が経過するまでのフレーム315〜317では、ユーザから撮影指示が出されると、ベストショット撮影が実施される。
On the other hand, FIG. 3 (b) shows the best shot shooting and single shooting when a smile is first detected, but the face turns sideways and the face itself is no longer detected. It is a figure which shows the operation example of switching of the imaging | photography system.
As shown in FIG. 3B, since smiles are detected in the
このように従来技術では、被写体が横を向いたり、物陰に隠れたりして顔を検出できなくなった場合にも、笑顔が検出できなくなってから一定時間が経過するまでに撮影指示されると、ベストショット撮影を行う。ベストショット撮影を行うと、連写により撮影時間が増加するとともに、最適な画像を選択するための処理時間が増加する。ところが、顔が検出されていないため、笑顔や目瞑りの評価ができず、最適な画像を選択できず、さらには余分な撮影時間及び処理時間がかかってしまうという問題がある。 In this way, in the conventional technology, even when the face cannot be detected because the subject is facing sideways or hidden behind the object, if a shooting instruction is given until a certain time has passed since the smile could not be detected, Take the best shot. When the best shot shooting is performed, the shooting time increases due to continuous shooting, and the processing time for selecting an optimal image increases. However, since a face is not detected, it is not possible to evaluate smiles and eye meditation, an optimal image cannot be selected, and there are problems that extra shooting time and processing time are required.
本発明は前述の問題点に鑑み、ベストショット撮影を行うべきシーンを適切に判別できるようにすることを目的としている。 The present invention has been made in view of the above-described problems, and it is an object of the present invention to appropriately determine a scene on which best shot shooting should be performed.
本発明の撮像装置は、被写体を撮像してプレビュー画像を生成する撮像手段と、前記撮像手段により生成されたプレビュー画像から前記被写体の顔を検出する顔検出手段と、前記顔検出手段によって検出された顔が特定の表情であるか否かを検出する表情検出手段と、前記表情検出手段によって前記特定の表情が検出されている間は、ユーザによる撮影指示に応じて静止画を連続的に撮影するよう前記撮像手段を制御するとともに、前記連続的に撮影された複数の静止画のうち、最も評価値の高い画像を記録用画像として選択する制御手段とを備え、前記表情検出手段により前記特定の表情が検出されている状態から前記特定の表情が検出されない状態に変化した場合に、前記制御手段は、前記特定の表情が検出されない状態における前記顔検出手段による検出結果に応じて、前記撮像手段により1枚の静止画を撮影する制御に切り替えるタイミングが異なるようにすることを特徴とする。 An imaging apparatus according to the present invention is detected by an imaging unit that images a subject to generate a preview image, a face detection unit that detects the face of the subject from the preview image generated by the imaging unit, and the face detection unit. A facial expression detection means for detecting whether or not the face is a specific facial expression, and while the specific facial expression is detected by the facial expression detection means, a still image is continuously photographed in accordance with a photographing instruction from a user. Control means for controlling the image pickup means, and a control means for selecting an image having the highest evaluation value as a recording image from among the plurality of still images taken continuously, and the specifying by the expression detection means When the facial expression changes from a state in which the specific facial expression is detected to a state in which the specific facial expression is not detected, the control means does not detect the specific facial expression. Depending on the detection result by the detecting means, the timing for switching the control to shoot one still image is characterized by the different by the imaging means.
本発明によれば、ベストショット撮影を行うべきシーンを適切に判別することができ、適切でない画像が得られたり、余分な処理時間がかかってしまったりすることを防止することができる。 According to the present invention, it is possible to appropriately determine a scene to be shot with the best shot, and it is possible to prevent an inappropriate image from being obtained or taking extra processing time.
以下、本発明の好ましい実施形態について、添付の図面に基づいて詳細に説明する。
図1は、実施形態に係る撮像装置100の概略構成例を示すブロック図である。
図1において、実施形態に係る撮像装置100は、レンズ及び絞りからなる光学系1、メカニカルシャッタ(メカシャッタ)2、撮像素子3、CDS回路4、A/D変換器5、タイミング信号発生回路6、及び駆動回路7を備えている。さらに、信号処理回路8、画像メモリ9、画像記録媒体10、記録回路11、画像表示装置12、表示回路13、顔検出回路14、表情検出回路15及びシステム制御部16を備えている。
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
FIG. 1 is a block diagram illustrating a schematic configuration example of an
1, an
CDS回路4は、光学系1、メカニカルシャッタ2及び撮像素子3を介して得られた画像信号に対してアナログ信号処理を行う。また、A/D変換器5は、アナログ信号をデジタル信号に変換する。タイミング信号発生回路6は、撮像素子3とCDS回路4とA/D変換器5とを動作させる信号を発生させる回路である。駆動回路7は、光学系1とメカニカルシャッタ2と撮像素子3とを駆動させる回路である。
The CDS circuit 4 performs analog signal processing on an image signal obtained via the optical system 1, the mechanical shutter 2, and the
信号処理回路8は、画像データに必要な信号処理を行い、信号処理された画像データを画像メモリ9に記憶する。記録回路11は、信号処理された画像データを、撮像装置100から取り外し可能な画像記録媒体10に記録する。表示回路13は、信号処理された画像データに係る画像を画像表示装置12に表示する。
The signal processing circuit 8 performs signal processing necessary for the image data, and stores the signal processed image data in the image memory 9. The
また、顔検出回路14は画像データから人物の顔を検出するための回路であり、表情検出回路15は顔検出回路14で検出された顔が笑顔であるかどうかを検出するための回路である。そして、システム制御部16は、撮像装置100全体を制御する。
The
以下、上述のように構成された撮像装置100におけるメカニカルシャッタ2を使用した撮影動作について説明する。まず、システム制御部16からの制御信号により駆動回路7が光学系1の絞りとレンズとを駆動させ、光学系1は、適切な明るさに設定された被写体像を撮像素子3上に結像させる。次に、メカニカルシャッタ2は、システム制御部16からの制御信号に従って駆動回路7により、必要な露光時間となるように撮像素子3の動作に合わせて撮像素子3を遮光するように駆動される。この時、撮像素子3が電子シャッタ機能を有する場合は、メカニカルシャッタ2と併用して、必要な露光時間を確保してもよい。
Hereinafter, a photographing operation using the mechanical shutter 2 in the
撮像素子3は、システム制御部16により制御されるタイミング信号発生回路6で発生する動作パルスに基づく駆動パルスによって駆動回路7により駆動され、被写体像を光電変換により電気信号に変換してアナログ画像信号として出力する。撮像素子3から出力されたアナログの画像信号は、システム制御部16により制御されるタイミング信号発生回路6で発生する動作パルスにより、CDS回路4でクロック同期性ノイズが除去され、A/D変換器5でデジタル画像信号に変換される。
The
次に、信号処理回路8は、色変換、ホワイトバランス、ガンマ補正等の画像処理、解像度変換処理、画像圧縮処理等をデジタル画像信号に対して行う。なお、信号処理回路8は、システム制御部16からの制御信号により信号処理をせずにデジタル画像信号をそのまま画像データとして、画像メモリ9や記録回路11に出力してもよい。さらに信号処理回路8は、システム制御部16からの要求に応じて例えば画像の空間周波数、指定領域の平均値、圧縮画像のデータ量等の信号処理の過程で生じた画像データの情報、又はこれらの情報から抽出された情報をシステム制御部16に出力する。また、記録回路11は、システム制御部16から要求があった場合に、画像記録媒体10の種類や空き容量等の情報をシステム制御部16に出力する。
Next, the signal processing circuit 8 performs image processing such as color conversion, white balance, and gamma correction, resolution conversion processing, and image compression processing on the digital image signal. The signal processing circuit 8 may output the digital image signal as it is to the image memory 9 or the
次に、画像記録媒体10に画像データが記録されている場合の再生動作について説明する。まず、システム制御部16からの制御信号により記録回路11は、画像記録媒体10から画像データを読み出す。そして、システム制御部16からの制御信号により信号処理回路8は、画像データが圧縮データであった場合には、画像伸長処理を行い、画像メモリ9に記憶する。そして、画像メモリ9に記憶された画像データは、信号処理回路8で解像度変換処理を実施された後、表示回路13において画像表示装置12に適した信号に変換されてその画像が画像表示装置12に表示される。
Next, the reproduction operation when image data is recorded on the
顔検出回路14は、信号処理回路8からの画像データに対して公知の顔検出処理を施し、撮像素子3の撮像画像内に含まれる人物の顔領域を検出する。なお、公知の顔検出処理としては、例えば、画像データで表される各画素の階調色から、肌色領域を抽出し、予め用意する顔の輪郭プレートとのマッチング度で顔を検出する方法がある。また、周知のパターン認識技術を用いて、目、鼻、口等の顔の特徴点を抽出することで顔検出を行う方法等も開示されている。なお、顔検出処理の手法については、上述した手法に限るものではなく、公知の種々の手法を用いることができる。
The
表情検出回路15は、顔検出回路14が検出した顔について、笑顔等の顔の表情を判別する。具体的には、顔を構成する目、鼻および口等の顔構成部品の輪郭、並びに目頭、目尻、小鼻、口角および唇の位置等の顔構成部品の位置等、表情の算出に必要な特徴量を取得する。特徴量を取得する手法としては、各顔構成部品のテンプレートを用いたテンプレートマッチングによる手法や、顔構成部品の多数のサンプル画像を用いたマシンラーニング学習により得られた、顔構成部品毎の判別器を用いる手法等により取得することができる。そして、表情検出回路15は、特徴量に基づいて、顔が特定の表情である度合を示す表情レベルを算出し、顔が特定の表情であるかどうかを判別する。なお、表情を判別する手法としては、これに限定されるものではなく、公知の種々の手法を用いることができる。
The facial
次に、図2に示すフローチャートを参照しながら、システム制御部16で行われる笑顔検出及びそれに伴うベストショット撮影制御について説明する。この笑顔検出及びそれに伴うベストショット撮影は、システム制御部16内のメモリ(図示しない)に格納されたコンピュータプログラムに従って実行される。また、笑顔検出制御は、撮像素子03において所定のフレームレートで逐次撮影されたプレビュー画像について時系列的に順次行われる。なお、笑顔検出制御が行われる間隔は、顔検出回路14の処理能力にもよるが、数フレームに一回の割合程度であってよい。
Next, the smile detection performed by the
ベストショット撮影と呼ばれている機能においては、まず、記録用画像を撮影する前のプレビュー画像から、人物の顔を時系列的に検出するとともに、検出された顔が笑顔であるかどうかを判定する。次に、検出された顔が笑顔であると判定されている状態で、ユーザが撮影指示を行うと、画像が連続的に撮影され、撮影された複数枚の画像の笑顔度、目瞑り結果、及びぶれ度合の評価を行う。そして、それらの評価結果をもとに、最適な1枚の画像を記録用画像として選択する。 In a function called best shot shooting, first, a face of a person is detected in a time series from a preview image before a recording image is shot, and whether or not the detected face is a smile is determined. To do. Next, when the user gives a shooting instruction in a state where the detected face is determined to be a smile, the images are continuously shot, the smile level of the shot images, the eye-meditation result, In addition, the degree of blur is evaluated. Then, based on those evaluation results, an optimal single image is selected as a recording image.
図2は、本実施形態における撮影処理手順の一例を示すフローチャートである。
始めに、ステップS201において、前述した手順により生成されたプレビュー画像から顔検出回路14により人物の顔検出処理を行って顔画像を検出し、さらに検出された顔画像をもとに笑顔検出処理を表情検出回路15により行う。
FIG. 2 is a flowchart illustrating an example of a shooting processing procedure in the present embodiment.
First, in step S201, a face image is detected by the
笑顔検出処理では、まず、顔領域からエッジを検出するとともに、顔領域を複数の領域に分割する。そして、各領域におけるエッジの向きや強度が、その領域における笑顔判定用のエッジの向きや強度とどの程度一致しているかについて評価を行い、評価値が所定値を上回る場合に笑顔であると判定する。例えば、笑顔である場合には、ほうれい線が強調され、目尻が下がり、口角が上がる。このように、顔領域の該当する領域において、このような条件と一致するエッジが生じているか否かを評価すればよい。 In the smile detection process, first, an edge is detected from the face area, and the face area is divided into a plurality of areas. Then, an evaluation is made as to how closely the direction and strength of the edge in each region matches the direction and strength of the edge for smile determination in that region, and if the evaluation value exceeds a predetermined value, it is determined to be a smile To do. For example, in the case of a smile, the frying line is emphasized, the corners of the eyes are lowered, and the corners of the mouth are raised. In this way, it is only necessary to evaluate whether or not an edge that matches such a condition has occurred in the corresponding area of the face area.
また、顔領域の検出と比較して、笑顔の評価のほうが処理時間を要する。そのため、実際には笑顔であるにも関わらず、顔の向きなどの影響によって低い評価値が算出されてしまい、笑顔でないと判定されてしまうと、再び笑顔であると判定されるまでには少し時間がかかる。 Further, smile evaluation requires more processing time than detection of a face area. For this reason, a low evaluation value is calculated due to the influence of the face orientation, etc., even though it is actually a smile, and if it is determined that it is not a smile, it will be a little before it is determined that it is a smile again. take time.
次に、ステップS202において、ステップS201の笑顔検出処理による結果、被写体の顔が笑顔であるか否かを判定する。この判定の結果、被写体の顔が笑顔である場合は、ステップS206に進み、ユーザから撮影指示が出された場合にベストショット撮影を実施するよう設定する。このとき、表示回路13により笑顔で判定したことを示すアイコン等を画像表示装置12に表示して、ユーザに知らせるようにしてもよい。
Next, in step S202, it is determined whether or not the face of the subject is a smile as a result of the smile detection process in step S201. If the result of this determination is that the subject's face is smiling, the process proceeds to step S206, and setting is made such that best shot shooting is performed when a shooting instruction is issued from the user. At this time, an icon or the like indicating that the determination is made with a smile may be displayed on the
また、ステップS202の判定の結果、ステップS201の笑顔検出処理により被写体の顔が笑顔でない場合は、ステップS203に進む。そして、ステップS203において、過去のフレームで笑顔が検出されていた履歴があるかどうかを判定する。なお、システム制御部16は、表情検出回路15で検出されたフレーム毎の笑顔検出の結果を一時的に記憶するバッファを備えている。そして、バッファに確保された所定の記憶領域から過去のフレームでの笑顔検出結果の履歴を読みだすことにより、過去のフレームで笑顔が検出されていた履歴があるかどうかを判定する。
If the result of determination in step S202 is that the subject's face is not smiling by the smile detection process in step S201, the process proceeds to step S203. In step S203, it is determined whether there is a history in which a smile has been detected in the past frame. The
ステップS203の判定の結果、過去のフレームで笑顔が検出された履歴がない場合は、ステップS207に進み、ユーザから撮影指示が出された場合に通常の単写撮影を実施するよう設定する。 As a result of the determination in step S203, if there is no history of smile detection in the past frame, the process proceeds to step S207, where normal single shooting is set when a shooting instruction is issued from the user.
一方、ステップS203の判定の結果、過去のフレームで笑顔が検出された履歴がある場合は、ステップS204に進み、笑顔が検出されなくなってから現在まで、所定の時間が経過しているかどうかを判定する。この判定の結果、笑顔が検出されなくなってから現在まで、所定の時間が経過している場合は、ステップS207に進み、ユーザから撮影指示が出されると通常の単写撮影が実施される。 On the other hand, if the result of determination in step S203 is that there is a history of smile detection in the past frame, the process proceeds to step S204 to determine whether or not a predetermined time has passed since the smile was not detected. To do. As a result of this determination, if a predetermined time has elapsed from when the smile is no longer detected until now, the process proceeds to step S207, and when a shooting instruction is issued from the user, normal single shooting is performed.
一方、ステップS204の判定の結果、笑顔が検出されなくなってから現在まで、所定の時間が経過していない場合は、ステップS205に進み、顔検出回路14により顔が検出されているかどうかを判定する。この判定の結果、顔が検出されている場合は、ステップS206に進み、ユーザから撮影指示が出された場合にベストショット撮影を実施するよう設定する。
On the other hand, as a result of the determination in step S204, if a predetermined time has not elapsed since the smile was no longer detected, the process proceeds to step S205, where it is determined whether the face is detected by the
笑顔であると判定されていた状態から、笑顔でないと判定された場合において、顔が検出されている場合には、従来と同様に所定時間内にユーザから撮影指示があれば連写撮影を行い、画像の評価及び選択を行う。 When a face is detected when it is determined that it is not a smile from a state where it is determined that it is a smile, continuous shooting is performed if there is a shooting instruction from the user within a predetermined time as in the conventional case. Perform image evaluation and selection.
一方、ステップS205の判定の結果、顔が検出されていない場合は、ステップS207に進み、ユーザから撮影指示が出された場合に通常の単写撮影を実施するよう設定する。 On the other hand, if the face is not detected as a result of the determination in step S205, the process proceeds to step S207, where normal single shooting is set when a shooting instruction is issued from the user.
笑顔であると判定されていた状態から、笑顔でないと判定された場合において、顔が検出されていない場合は、所定時間内にユーザから撮影指示があれば連写撮影ではなく、一枚の静止画撮影を行う。このように顔が検出されていない場合には、実際には笑顔であるにも関わらず笑顔判定に失敗したという可能性は低いと考えられる。そこで、画像の無駄な撮影や画像の評価の負荷を抑制するため、一枚の静止画撮影のみ行う。 If it is determined that it is not a smile from a state where it is determined that it is a smile, and if a face is not detected, if there is a shooting instruction from the user within a predetermined time, instead of continuous shooting, a single still Take a picture. If no face is detected in this way, it is considered unlikely that the smile determination has failed even though the face is actually a smile. Therefore, only one still image shooting is performed in order to suppress unnecessary image shooting and image evaluation load.
ここで、本実施形態における動作例について、図4を参照しながら説明する。図4において、顔が点線で囲われているものは、顔が検出されたことを示している。 Here, an operation example in the present embodiment will be described with reference to FIG. In FIG. 4, the face surrounded by a dotted line indicates that the face has been detected.
図4(a)は、始めは笑顔が検出されていたが、途中から真顔になって笑顔が検出されなくなった場合における、ベストショット撮影と単写との撮影方式の切り替わりの動作例を示す図である。
図4(a)に示すように、プレビュー画像のフレーム401〜404までは笑顔が検出されているため、その間にユーザから撮影指示が出された場合には、ベストショット撮影が実施される。また、フレーム405からは真顔に変化しているが、前述したように、笑顔が検出できなくなってから所定時間が経過するまでにユーザから撮影指示が出された場合には、ベストショット撮影が実施されるような仕組みになっている。このため、所定時間の範囲内であるフレーム405〜407では、ベストショット撮影が実施される。
FIG. 4A is a diagram illustrating an operation example of switching between the shooting method between the best shot shooting and the single shooting when a smile is detected at first, but a smile is not detected due to becoming a true face in the middle. It is.
As shown in FIG. 4A, since smiles are detected in the
例えば、笑顔と非笑顔とが頻繁に切り替わるようなシーンにおいては、笑顔であると判定されなくなってから、すぐ笑顔に復帰した場合でも、ユーザから撮影指示された場合にすぐにベストショット撮影することができる。そして、所定時間が経過した後のフレーム408、409以降では、ユーザから撮影指示が出された場合には、単写撮影が実施される。
For example, in a scene where smiles and non-smiles are frequently switched, the best shot can be taken immediately when the user instructs to take a picture even if it returns to smile immediately after it is no longer determined to be a smile. Can do. After
一方、図4(b)は、始めは笑顔が検出されていたが、途中から顔が横を向いて顔自体が検出されなくなったために、笑顔が検出されなくなった場合における、ベストショット撮影と単写との撮影方式の切り替わりの動作例を示す図である。
図4(b)に示すように、プレビュー画像のフレーム411〜414までは笑顔が検出されているため、その間にユーザから撮影指示が出された場合には、ベストショット撮影が実施される。また、フレーム415〜419では顔が検出されておらず、そのために笑顔も検出されていない。本実施形態では、顔が検出されていないため、所定時間の経過を待つことなく、ユーザから撮影指示が出された場合には、すぐに単写撮影に切り替わる。
On the other hand, in FIG. 4B, the smile was initially detected, but the face turned sideways from the middle and the face itself was not detected. It is a figure which shows the operation example of switching of the imaging | photography system with a copy.
As shown in FIG. 4B, since smiles are detected in the
従来は、図4(b)に示す例のように、途中から顔が横を向いて顔自体が検出されなくなった場合でも、笑顔が検出できなくなってから所定時間が経過するまでにユーザから撮影指示が出された場合には、ベストショット撮影が実施される。このように、顔が検出されていないにもかかわらず、連写により撮影時間が増加したり、最適な画像を選択するために処理時間が増加したりする。また、顔が検出されていないため、笑顔や目瞑りの評価ができず、最適な画像を選択できない。 Conventionally, as in the example shown in FIG. 4B, even when the face turns sideways and the face itself is no longer detected, the user takes a picture until a predetermined time elapses after the smile cannot be detected. When an instruction is issued, the best shot shooting is performed. As described above, although the face is not detected, the shooting time increases due to continuous shooting, or the processing time increases in order to select an optimal image. In addition, since no face is detected, it is impossible to evaluate smiles and eye meditation, and an optimal image cannot be selected.
これに対して本実施形態では、笑顔が検出されなくなってから所定時間以内であって顔が検出されていない場合には、ユーザから撮影指示が出されると単写撮影を行う。このため、ベストショット撮影による処理時間の増加を抑制するとともに、精度の低い画像が選択されてしまうことを防止することができる。 On the other hand, in the present embodiment, if a face is not detected within a predetermined time after no smile is detected, single shooting is performed when a shooting instruction is issued from the user. For this reason, it is possible to prevent an increase in processing time due to the best shot shooting and to select an image with low accuracy.
(その他の実施形態)
なお、上述した実施形態は一例を示すものであり、これに限定するものではない。上述した実施形態では、笑顔が検出できなくなってから所定時間が経過するまでにユーザから撮影指示が出された場合には、笑顔が検出されている場合と同様のベストショット撮影を実施するような構成としている。さらに、時間が経過するに従って、ベストショット撮影の連写枚数を減らしていくような構成にしてもよい。
(Other embodiments)
In addition, embodiment mentioned above shows an example and is not limited to this. In the embodiment described above, when a shooting instruction is issued from the user until a predetermined time elapses after the smile cannot be detected, the same best shot shooting as when a smile is detected is performed. It is configured. Furthermore, the configuration may be such that the number of continuous shots for best shot shooting is reduced as time passes.
例えば図5に示すように、プレビュー画像がフレーム501〜504であり、笑顔が検出されている場合のベストショット撮影は5枚連写とする。そして、笑顔が検出されなくなった場合には、プレビュー画像がフレーム505〜507である間は、時間が経過するに従って、4枚、3枚、2枚というように連写枚数を減らしていくような構成にしてもよい。そして、プレビュー画像がフレーム508、509となると、単写撮影に切り替わる。さらに、本実施形態では、特定の表情を検出する場合として、笑顔を例に挙げたが、別の表情であってももちろん構わない。このように、上述した実施形態における構成及び動作に関しては、適宜変更が可能である。
For example, as shown in FIG. 5, when the preview image is
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。以上、本発明の好ましい実施形態について説明したが、本発明はこれらの実施形態に限定されず、その要旨の範囲内で種々の変形及び変更が可能である。 The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed. As mentioned above, although preferable embodiment of this invention was described, this invention is not limited to these embodiment, A various deformation | transformation and change are possible within the range of the summary.
1 光学系
2 メカシャッタ
3 撮像素子
7 駆動回路
14 顔検出回路
15 表情検出回路
16 システム制御部
DESCRIPTION OF SYMBOLS 1 Optical system 2
Claims (8)
前記撮像手段により生成されたプレビュー画像から前記被写体の顔を検出する顔検出手段と、
前記顔検出手段によって検出された顔が特定の表情であるか否かを検出する表情検出手段と、
前記表情検出手段によって前記特定の表情が検出されている間は、ユーザによる撮影指示に応じて静止画を連続的に撮影するよう前記撮像手段を制御するとともに、前記連続的に撮影された複数の静止画のうち、最も評価値の高い画像を記録用画像として選択する制御手段とを備え、
前記表情検出手段により前記特定の表情が検出されている状態から前記特定の表情が検出されない状態に変化した場合に、前記制御手段は、前記特定の表情が検出されない状態における前記顔検出手段による検出結果に応じて、前記撮像手段により1枚の静止画を撮影する制御に切り替えるタイミングが異なるようにすることを特徴とする撮像装置。 Imaging means for imaging a subject and generating a preview image;
Face detection means for detecting the face of the subject from the preview image generated by the imaging means;
Facial expression detection means for detecting whether the face detected by the face detection means is a specific facial expression;
While the specific facial expression is detected by the facial expression detection means, the imaging means is controlled to continuously shoot still images according to a shooting instruction from a user, and the plurality of continuously shot images Control means for selecting an image with the highest evaluation value among the still images as a recording image,
When the specific facial expression is detected by the facial expression detection unit, the control unit detects the specific facial expression in a state where the specific facial expression is not detected. An imaging apparatus characterized in that the timing of switching to control for capturing a single still image by the imaging means varies depending on the result.
前記撮像手段により生成されたプレビュー画像から前記被写体の顔を検出する顔検出工程と、
前記顔検出工程において検出された顔が特定の表情であるか否かを検出する表情検出工程と、
前記表情検出工程において前記特定の表情が検出されている間は、ユーザによる撮影指示に応じて静止画を連続的に撮影するよう前記撮像手段を制御するとともに、前記連続的に撮影された複数の静止画のうち、最も評価値の高い画像を記録用画像として選択する制御工程とを備え、
前記表情検出工程において前記特定の表情が検出されている状態から前記特定の表情が検出されない状態に変化した場合に、前記制御工程においては、前記特定の表情が検出されない状態における前記顔検出工程の検出結果に応じて、前記撮像手段により1枚の静止画を撮影する制御に切り替えるタイミングが異なるようにすることを特徴とする撮像方法。 An imaging method of an imaging apparatus including an imaging unit that images a subject and generates a preview image,
A face detection step of detecting the face of the subject from the preview image generated by the imaging means;
A facial expression detection step for detecting whether the face detected in the face detection step is a specific facial expression;
While the specific facial expression is detected in the facial expression detection step, the imaging unit is controlled so as to continuously capture still images in accordance with a capturing instruction from a user, and the plurality of continuously captured images A control step of selecting the image with the highest evaluation value among the still images as a recording image,
In the facial expression detection step, when the specific facial expression is detected to change to a state in which the specific facial expression is not detected, the control step includes the face detection step in the state in which the specific facial expression is not detected. According to a detection result, the timing for switching to control for capturing one still image by the imaging unit is made different.
前記撮像手段により生成されたプレビュー画像から前記被写体の顔を検出する顔検出工程と、
前記顔検出工程において検出された顔が特定の表情であるか否かを検出する表情検出工程と、
前記表情検出工程において前記特定の表情が検出されている間は、ユーザによる撮影指示に応じて静止画を連続的に撮影するよう前記撮像手段を制御するとともに、前記連続的に撮影された複数の静止画のうち、最も評価値の高い画像を記録用画像として選択する制御工程とをコンピュータに実行させ、
前記表情検出工程において前記特定の表情が検出されている状態から前記特定の表情が検出されない状態に変化した場合に、前記制御工程においては、前記特定の表情が検出されない状態における前記顔検出工程の検出結果に応じて、前記撮像手段により1枚の静止画を撮影する制御に切り替えるタイミングが異なるようにすることを特徴とするプログラム。 A program for controlling an image pickup apparatus including an image pickup unit that picks up a subject and generates a preview image,
A face detection step of detecting the face of the subject from the preview image generated by the imaging means;
A facial expression detection step for detecting whether the face detected in the face detection step is a specific facial expression;
While the specific facial expression is detected in the facial expression detection step, the imaging unit is controlled so as to continuously capture still images in accordance with a capturing instruction from a user, and the plurality of continuously captured images A control process for selecting an image with the highest evaluation value among the still images as a recording image is executed by a computer,
In the facial expression detection step, when the specific facial expression is detected to change to a state in which the specific facial expression is not detected, the control step includes the face detection step in the state in which the specific facial expression is not detected. According to a detection result, the timing for switching to control for capturing a single still image by the imaging unit is made different.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011281219A JP2013131970A (en) | 2011-12-22 | 2011-12-22 | Imaging device, imaging method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011281219A JP2013131970A (en) | 2011-12-22 | 2011-12-22 | Imaging device, imaging method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2013131970A true JP2013131970A (en) | 2013-07-04 |
Family
ID=48909200
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011281219A Pending JP2013131970A (en) | 2011-12-22 | 2011-12-22 | Imaging device, imaging method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2013131970A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110099212A (en) * | 2019-04-25 | 2019-08-06 | 努比亚技术有限公司 | A kind of photographic method, mobile terminal and computer readable storage medium |
-
2011
- 2011-12-22 JP JP2011281219A patent/JP2013131970A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110099212A (en) * | 2019-04-25 | 2019-08-06 | 努比亚技术有限公司 | A kind of photographic method, mobile terminal and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7450756B2 (en) | Method and apparatus for incorporating iris color in red-eye correction | |
JP5589548B2 (en) | Imaging apparatus, image processing method, and program storage medium | |
JP5129683B2 (en) | Imaging apparatus and control method thereof | |
JP4732303B2 (en) | Imaging device | |
KR101537948B1 (en) | Photographing method and apparatus using pose estimation of face | |
US20080101710A1 (en) | Image processing device and imaging device | |
JP5388774B2 (en) | Image processing apparatus and image processing apparatus control method | |
JP5536010B2 (en) | Electronic camera, imaging control program, and imaging control method | |
CN101325658A (en) | Imaging device, imaging method and computer program | |
CN110198418A (en) | Image processing method, device, storage medium and electronic equipment | |
JP2007188126A (en) | Image brightness calculation device, method, and program | |
JP2010199727A (en) | Imager | |
JP4953770B2 (en) | Imaging device | |
JP4468598B2 (en) | Image processing apparatus and recording medium storing image processing program | |
JP2014179920A (en) | Imaging apparatus, control method thereof, program, and storage medium | |
JP2012034069A (en) | Image processor and image processing program | |
JP2014225763A (en) | Imaging apparatus, control method of the same, program, and storage medium | |
JP2013131970A (en) | Imaging device, imaging method, and program | |
JP2006128793A (en) | Image pickup device and control method thereof | |
JP2018185576A (en) | Image processing device and image processing method | |
JP2013152643A (en) | Image processing apparatus, image processing method, and program | |
JP5424851B2 (en) | Image processing apparatus and image processing method | |
JP5332668B2 (en) | Imaging apparatus and subject detection program | |
JP2015126255A (en) | Imaging apparatus, control method and program of imaging apparatus | |
JP2009017135A (en) | Imaging device, imaging method, and program |