JP2013132011A - Imaging device, imaging method, and program - Google Patents
Imaging device, imaging method, and program Download PDFInfo
- Publication number
- JP2013132011A JP2013132011A JP2011281993A JP2011281993A JP2013132011A JP 2013132011 A JP2013132011 A JP 2013132011A JP 2011281993 A JP2011281993 A JP 2011281993A JP 2011281993 A JP2011281993 A JP 2011281993A JP 2013132011 A JP2013132011 A JP 2013132011A
- Authority
- JP
- Japan
- Prior art keywords
- face
- image
- still images
- detected
- 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
Landscapes
- Exposure Control For Cameras (AREA)
- Studio Devices (AREA)
Abstract
【課題】寝顔を撮影した場合に適正な画像を得ることができるようにする。
【解決手段】プレビュー画像から顔検出を行い、さらにその顔が寝顔であるか否かを判定する。そして、寝顔である場合には、画像合成による手振れ防止撮影を行う。また、寝顔であって笑顔の表情である場合には、画像合成による手振れ防止撮影の代わりに、ベストショット撮影を行ってもよい。これにより、寝顔を撮影するような薄暗い環境や撮影しにくい体勢であっても、適正な画像を得ることができるようにする。
【選択図】図1An image can be obtained when a sleeping face is photographed.
Face detection is performed from a preview image, and it is further determined whether or not the face is a sleeping face. If it is a sleeping face, camera shake prevention shooting is performed by image synthesis. In addition, when the face is a sleeping face and a smiling expression, best shot photography may be performed instead of camera shake prevention photography by image composition. Thus, an appropriate image can be obtained even in a dim environment where a sleeping face is photographed or in a posture that is difficult to photograph.
[Selection] Figure 1
Description
本発明は、特に、寝顔が写った画像を撮影するために用いて好適な撮像装置、撮像方法及びプログラムに関する。 In particular, the present invention relates to an imaging apparatus, an imaging method, and a program suitable for taking an image of a sleeping face.
従来、撮影した画像の中から人物の顔を検出し、検出された顔が寝顔であるかどうかを検出する技術が知られている。例えば特許文献1には、人物の顔を撮影して顔画像を取得し、人物が閉眼しているか否かを顔画像に基づいて推定するとともに、人物が笑顔であるか否かに応じて当該人物の覚醒状態を判定する技術が開示されている。 2. Description of the Related Art Conventionally, a technique for detecting a human face from a photographed image and detecting whether the detected face is a sleeping face is known. For example, in Patent Literature 1, a face image is acquired by capturing a face of a person, and whether or not the person is closed is estimated based on the face image, and depending on whether or not the person is smiling A technique for determining a person's arousal state is disclosed.
従来、プレビュー画像から人物の顔を時系列的に検出するとともに、検出された顔が寝顔か否かを判定し、寝顔と判定された場合には、ストロボの発光を禁止したりシャッタ音や操作音を抑制したりして、寝ている人に配慮した撮影を行う機能を備えるものがある。しかしながら、寝顔を撮影しようとする場合、もともと薄暗い室内での撮影が多いため、十分な環境及び体勢により撮影できないという問題がある。 Conventionally, a human face is detected from a preview image in time series, and it is determined whether or not the detected face is a sleeping face. Some of them have a function of suppressing the sound and taking a picture in consideration of a sleeping person. However, when trying to shoot a sleeping face, there is a problem that it is impossible to shoot due to a sufficient environment and posture because many images are originally taken in a dimly lit room.
本発明は前述の問題点に鑑み、寝顔を撮影した場合に適正な画像を得ることができるようにすることを目的としている。 The present invention has been made in view of the above-described problems, and an object thereof is to obtain an appropriate image when a sleeping face is photographed.
本発明の撮像装置は、被写体を撮像してプレビュー画像を生成する撮像手段と、前記撮像手段により生成されたプレビュー画像から前記被写体の顔を検出する顔検出手段と、前記顔検出手段によって検出された顔が寝顔であるか否かを検出する表情検出手段と、前記表情検出手段により寝顔が検出されている間は、ユーザによる撮影指示に応じて、静止画を連続的に撮影するよう前記撮像手段を制御するとともに、前記連続的に撮影された複数の静止画の間で位置ずれを補正し、前記補正された複数の静止画を合成して記録用画像を生成する制御手段とを備えることを特徴とする。 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 detecting means for detecting whether or not the sleeping face is a sleeping face, and the imaging so that a still image is continuously photographed in accordance with a photographing instruction from a user while the sleeping face is detected by the facial expression detecting means. And a control unit that corrects a positional deviation between the plurality of continuously shot still images and generates a recording image by combining the corrected plurality of still images. It is characterized by.
本発明によれば、寝顔を撮影した場合に適正な画像を得ることができる。 According to the present invention, an appropriate image can be obtained when a sleeping face is photographed.
以下、本発明の好ましい実施形態について、添付の図面に基づいて詳細に説明する。
図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 image sensor 3. The A /
信号処理回路8は、画像データに必要な信号処理を行い、信号処理された画像データを画像メモリ9に記憶する。記録回路11は、信号処理された画像データを、撮像装置100から取り外し可能な画像記録媒体10に記録する。表示回路13は、信号処理された画像データに係る画像を画像表示装置12に表示する。
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 image pickup device 3 is driven by a
次に、信号処理回路8は、色変換、ホワイトバランス、ガンマ補正等の画像処理、解像度変換処理、画像圧縮処理等をデジタル画像信号に対して行う。なお、信号処理回路8は、システム制御部16からの制御信号により信号処理をせずにデジタル画像信号をそのまま画像データとして、画像メモリ9や記録回路11に出力してもよい。さらに信号処理回路8は、システム制御部16からの要求に応じて例えば画像の空間周波数、指定領域の平均値、圧縮画像のデータ量等の信号処理の過程で生じた画像データの情報、又はこれらの情報から抽出された情報をシステム制御部16に出力する。また、記録回路11は、システム制御部16から要求があった場合に、画像記録媒体10の種類や空き容量等の情報をシステム制御部16に出力する。
Next, 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
(第1の実施形態)
次に、本発明の第1の実施形態について、図2に示すフローチャートを参照しながらシステム制御部16で行われる寝顔検出及びそれに伴う画像合成による手振れ防止撮影制御について説明する。この寝顔検出及びそれに伴う画像合成による手振れ防止撮影は、システム制御部16内のメモリ(図示しない)に格納されたコンピュータプログラムに従って実行される。また、寝顔検出制御は、撮像素子3において所定のフレームレートで逐次撮影されたプレビュー画像について時系列的に順次行われる。なお、寝顔検出制御が行われる間隔は、顔検出回路14の処理能力にもよるが、数フレームに一回の割合程度であってよい。
(First embodiment)
Next, with reference to the flowchart shown in FIG. 2, the first embodiment of the present invention will be described with reference to the sleeping face detection performed by the
図2は、本実施形態における撮影処理手順の一例を示すフローチャートである。
始めに、ステップS201において、前述した手順により生成されたプレビュー画像から人物の顔検出処理を顔検出回路14により行い、顔画像を検出する。次に、ステップS202において、表情検出回路15によりステップS201で検出された顔画像をもとに寝顔検出処理を行う。
FIG. 2 is a flowchart illustrating an example of a shooting processing procedure in the present embodiment.
First, in step S201, a human face detection process is performed by the
寝顔検出処理では、顔検出された顔に対して目を閉じているか否かを判定し、同一の顔が所定数のフレーム画像にわたって連続して目を閉じていると判定された場合に、寝顔であると判定する。目を閉じているか否かについては、表情検出回路15が検出された顔の目の領域の位置及びサイズを示す情報を顔検出回路14から受け取り、この目を囲うように検出用領域を検出する。この検出用領域から輝度値が閾値以下となる領域を黒目として抽出する。そして、顔のサイズに対して基準値を設定し、黒目のサイズが基準値以下であれば、目を閉じていると判定する。
In the sleeping face detection process, it is determined whether or not eyes are closed with respect to the detected face, and when it is determined that the same face is closed with eyes over a predetermined number of frame images, the sleeping face is determined. It is determined that As to whether or not the eyes are closed, the facial
次に、ステップS203において、ステップS202の寝顔検出処理による結果、被写体の顔が寝顔であるか否かを判定する。この判定の結果、被写体の顔が寝顔である場合はステップS204に進み、ユーザから撮影指示が出された場合に画像合成による手振れ防止撮影を実施するよう設定する。 Next, in step S203, it is determined whether or not the face of the subject is a sleeping face as a result of the sleeping face detection process in step S202. If the result of this determination is that the subject's face is a sleeping face, the process proceeds to step S204, and setting is made to perform camera shake prevention shooting by image composition when a shooting instruction is issued from the user.
ここで、画像合成による手振れ防止撮影について説明する。まず、手振れの影響を受けない程度の短い露光時間で連続的に複数枚の画像を連写撮影する。そして、これらの撮影された複数枚の画像から画像相互の位置ずれを補正し、補正された複数枚の画像を合成することによって、記録用画像を生成する。 Here, camera shake prevention photographing by image composition will be described. First, a plurality of images are continuously shot with a short exposure time that is not affected by camera shake. Then, a misalignment between the images is corrected from the plurality of photographed images, and a plurality of corrected images are synthesized to generate a recording image.
例えば、2枚の画像を連写撮影した場合、画像の合成方法としては、比較対象とする2つの画像のうちの一方の画像の一部に基準領域を設定し、他方の画像から、その基準領域と最も類似度の高い領域を検出する。このとき、一方の画像の基準領域の中心位置と、他方の画像から検出された領域の中心位置とのズレが、その基準領域における動きベクトルとなる。例えば、一方の画像を複数の領域に分割し、分割したそれぞれの領域を基準領域と設定すると、画面全体における複数の動きベクトルを求めることができる。そして、それぞれの動きベクトルに重みづけをすることによって、この2つの画像間における代表的な動きベクトルを求めることができる。 For example, when two images are taken continuously, a method of combining images is to set a reference area in a part of one of the two images to be compared, and to calculate the reference from the other image. The region having the highest similarity with the region is detected. At this time, the difference between the center position of the reference area of one image and the center position of the area detected from the other image becomes a motion vector in the reference area. For example, if one image is divided into a plurality of areas and each divided area is set as a reference area, a plurality of motion vectors in the entire screen can be obtained. Then, by weighting each motion vector, a representative motion vector between the two images can be obtained.
この重みづけの方法としては、例えば、画面中央部に近い基準領域の動きベクトルほど重みづけを大きくする方法や、スカラ量の大きな動きベクトルの重みづけを大きくする(動体を被写体とみなし被写体の動きベクトルの重みづけを大きくする)方法がある。また、反対にスカラ量の小さな動きベクトルの重みづけを大きくする(背景は大きくは動かないとみなして背景の動きベクトルの重みづけを大きくする)方法もある。 As the weighting method, for example, the weighting of the motion vector in the reference area closer to the center of the screen is increased, or the weighting of the motion vector having a large scalar amount is increased (the motion of the subject is regarded as a moving object). There is a method of increasing the weight of the vector). On the other hand, there is also a method of increasing the weight of a motion vector having a small scalar amount (assuming that the background does not move significantly and increasing the weight of the background motion vector).
代表的な動きベクトルを求める他の方法としては、動きベクトルをその向きに応じて複数のグループに分類し、最も数の多いグループに含まれる動きベクトルから代表的な動きベクトルを求める方法もある。また、顔検出に成功している場合には、その顔の位置を基準領域として、顔領域の動きベクトルを代表的な動きベクトルとして求めることもできる。 As another method for obtaining a representative motion vector, there is a method of classifying motion vectors into a plurality of groups according to their directions and obtaining a representative motion vector from the motion vectors included in the largest number of groups. If face detection is successful, the position of the face can be used as a reference area, and the motion vector of the face area can be obtained as a representative motion vector.
本実施形態では、画像合成を行う際には、寝顔である顔が検出されているので、この顔領域を基準領域として動きベクトルを求める。そして、撮影した複数の画像を、この動きベクトルを用いて、顔の位置が一致するように各画像を重ね合わせて合成する。連写撮影や合成処理を行うため、処理時間が増加するとともに、被写体に動きがあった場合などにはうまく合成できないが、寝顔を撮影している場合には、被写体に動きがほとんどないことから有効な方法である。 In the present embodiment, when performing image synthesis, since a face that is a sleeping face is detected, a motion vector is obtained using this face area as a reference area. Then, using the motion vectors, the captured images are combined so that the positions of the faces coincide with each other. Since continuous shooting and composition processing are performed, the processing time increases, and when the subject moves, it cannot be combined well, but when shooting a sleeping face, the subject has almost no movement. It is an effective method.
一方、ステップS203の判定の結果て、被写体の顔が寝顔でない場合はステップS205に進み、ユーザから撮影指示が出された場合に通常の単写撮影を実施するよう設定する。 On the other hand, if the result of the determination in step S203 is that the subject's face is not a sleeping face, the process proceeds to step S205, where normal single shooting is set when a shooting instruction is issued from the user.
以上のように、寝顔を撮影しようとする場合、もともと薄暗い室内での撮影が多く、さらにカメラを下向きに構えて前かがみになるなど、不安定な体勢で撮影する場合が多い。したがって、通常の撮影方法で撮影すると、ぶれた画像が撮影されやすくなってしまう。一方、本実施形態によれば、寝顔が検出されたときには、上述したような画像合成による手振れ防止撮影を行うようにした。これにより、手振れを抑制した画像を撮影することができるようになる。また、寝顔が検出されていないときには、通常の単写撮影を行うため、手振れ防止撮影を行うことによる連写や処理時間の増加を防ぐことができる。 As described above, when trying to photograph a sleeping face, there are many cases where the photographing is performed in an unstable posture, for example, the photographing is often performed in a dimly lit room, and the camera is held downward to bend forward. Therefore, if a normal shooting method is used, a blurred image is easily shot. On the other hand, according to the present embodiment, when a sleeping face is detected, the above-described camera shake prevention shooting by image synthesis is performed. As a result, it is possible to capture an image in which camera shake is suppressed. Further, when a sleeping face is not detected, normal single shooting is performed, so that continuous shooting and an increase in processing time due to camera shake prevention shooting can be prevented.
(第2の実施形態)
従来、プレビュー画像で検出された顔が笑顔であると判定されている状態でユーザが撮影指示を行うと、画像が連続的に撮影され、撮影された複数枚の画像から最適な1枚の画像を残すことができるベストショット撮影機能と呼ばれているものがある。この機能では、撮影された複数枚の画像の笑顔度、目瞑り結果、及びぶれ度合を評価し、それらの評価結果をもとに、最適な1枚の画像を残すことができる。本実施形態では、寝顔と判定されている間に笑顔が検出された場合の処理について、図3に示すフローチャートを参照しながら説明する。
(Second Embodiment)
Conventionally, when a user issues a shooting instruction in a state where the face detected in the preview image is determined to be a smile, the image is continuously shot, and one optimal image is selected from the plurality of shot images. There is what is called the best shot shooting function that can leave. With this function, it is possible to evaluate the smile level, the eye-meditation result, and the blurring degree of a plurality of shot images, and leave an optimal single image based on the evaluation results. In the present embodiment, a process when a smile is detected while the sleeping face is determined will be described with reference to the flowchart shown in FIG.
図3は、本実施形態における撮影処理手順の一例を示すフローチャートである。なお、寝顔検出及びそれに伴う画像合成による手振れ防止撮影は、システム制御部16内のメモリ(図示しない)に格納されたコンピュータプログラムに従って実行される。
始めに、ステップS301において、顔検出回路14によりプレビュー画像から人物の顔検出処理を行い、顔画像を検出する。次に、ステップS302において、表情検出回路15によりステップS301で検出された顔画像をもとに寝顔検出処理及び笑顔検出処理を行う。
FIG. 3 is a flowchart illustrating an example of a shooting processing procedure in the present embodiment. Note that the camera shake prevention photographing by detecting the sleeping face and accompanying image synthesis is executed according to a computer program stored in a memory (not shown) in the
First, in step S301, the
笑顔検出処理では、検出された顔画像からエッジを検出し、このエッジの向きに基づいて笑顔の評価を行う。そこで、検出された顔画像を複数の領域に分割し、それぞれの領域で検出されたエッジの向きが、笑顔であるときに検出されやすいエッジの向きとどの程度一致しているかという値を笑顔度として求める。例えば、笑顔である場合には、ほうれい線が強調され、口角が上がり、目じりが下がる。分割された顔画像の各領域におけるエッジの向きが、これらの条件を満たすエッジの向きと一致するほど、笑顔である可能性が高いと評価し、笑顔度が所定値を上回った場合に笑顔であると判定される。なお、寝顔検出処理については第1の実施形態と同様である。 In the smile detection process, an edge is detected from the detected face image, and smile evaluation is performed based on the direction of the edge. Therefore, the detected face image is divided into a plurality of regions, and the value of how much the direction of the edge detected in each region matches the direction of the edge that is easy to detect when a smile is detected. Asking. For example, in the case of a smile, the constriction line is emphasized, the mouth corner is raised, and the eyes are lowered. Evaluate that the more likely the smile is so that the edge direction in each area of the divided face image matches the edge direction that satisfies these conditions, and smile when the smile level exceeds a predetermined value. It is determined that there is. The sleeping face detection process is the same as that in the first embodiment.
次に、ステップS303において、ステップS302の寝顔検出処理による結果、被写体の顔が寝顔であるか否かを判定する。この判定の結果、被写体の顔が寝顔である場合は、ステップS304に進み、そうでない場合はステップS305に進む。ステップS304では、ステップS302の笑顔検出処理による結果、被写体の顔が笑顔であるか否かを判定する。この判定の結果、被写体の顔が笑顔でない場合は、ステップS306に進み、ユーザから撮影指示が出された場合に画像合成による手振れ防止撮影を実施するよう設定する。画像合成による手振れ防止撮影については第1の実施形態と同様である。 Next, in step S303, it is determined whether or not the face of the subject is a sleeping face as a result of the sleeping face detection process in step S302. If the result of this determination is that the subject's face is a sleeping face, the process proceeds to step S304; otherwise, the process proceeds to step S305. In step S304, it is determined whether the face of the subject is a smile as a result of the smile detection process in step S302. If the result of this determination is that the subject's face is not smiling, the process proceeds to step S306, and setting is made to perform camera shake prevention shooting by image composition when a shooting instruction is issued from the user. Camera shake prevention shooting by image composition is the same as in the first embodiment.
一方、ステップS304の判定の結果、被写体の顔が笑顔である場合は、ステップS307に進み、ユーザから撮影指示が出された場合に前述したベストショット撮影を実施するよう設定する。 On the other hand, if the result of the determination in step S304 is that the subject's face is smiling, the process proceeds to step S307, and the above-described best shot shooting is set to be performed when a shooting instruction is issued from the user.
ベストショット撮影では、上述した方法で被写体が笑顔であると判定している間に、ユーザにより静止画の撮影の指示を受けると、所定枚数の静止画を連続撮影する。そして、それぞれの静止画における笑顔度を求め、笑顔度、目つむり結果、及び静止画のぶれ量に基づいて評価値を算出し、最も評価値の高い静止画を記録用画像として選択する。 In the best shot shooting, when the user receives a still image shooting instruction while the subject is determined to be smiling, the predetermined number of still images are continuously shot. Then, the degree of smile in each still image is obtained, an evaluation value is calculated based on the degree of smile, the result of eye-browsing, and the amount of blur of the still image, and the still image with the highest evaluation value is selected as a recording image.
また、ステップS303の判定の結果、被写体の顔が寝顔でない場合は、ステップS305に進む。そして、ステップS305において、ステップS304と同様に被写体の顔が笑顔であるかどうかを判定する。この判定の結果、被写体の顔が笑顔である場合は、ステップS307に進み、ベストショット撮影を実施するよう設定する。一方、ステップS305の判定の結果、被写体の顔が笑顔でない場合は、ステップS308に進み、ユーザから撮影指示が出された場合に通常の単写撮影を実施するよう設定する。 If the result of determination in step S303 is that the subject's face is not a sleeping face, the process proceeds to step S305. In step S305, it is determined whether or not the subject's face is smiling as in step S304. If the result of this determination is that the subject's face is a smile, the process advances to step S307 to set to perform best shot shooting. On the other hand, if the result of determination in step S305 is that the subject's face is not smiling, the process proceeds to step S308, where normal single shooting is set when a shooting instruction is issued by the user.
寝顔と判定されている間に笑顔が検出された場合に、画像合成による手振れ防止撮影とベストショット撮影とを両方実施すると、連写撮影や撮影後の処理にかかる時間が増えてしまい、次のシャッタチャンスを逃しやすくなる。また、笑っているシーンでは表情が変化しやすく、画像合成による手振れ防止撮影を実施すると、画像合成に失敗したり、精度の高い合成ができなかったりする場合がある。 If a smiling face is detected while it is determined to be a sleeping face, taking both image stabilization and best shot shooting by combining images will increase the time required for continuous shooting and post-shooting processing. It is easy to miss a photo opportunity. In addition, facial expressions are likely to change in a laughing scene, and if camera shake prevention shooting is performed by image synthesis, image synthesis may fail or high-precision synthesis may not be possible.
そこで本実施形態によれば、寝顔判定されている間に笑顔が検出された場合には、ベストショット撮影のみを行うようにした。これにより、画像合成による手振れ防止撮影による撮影時間及び処理時間の増加や、画像合成の失敗を防止でき、さらにベストショット撮影によって、精度の良い画像をピックアップすることが可能になる。 Therefore, according to the present embodiment, only the best shot is taken when a smile is detected while the sleeping face is being determined. Accordingly, it is possible to prevent an increase in shooting time and processing time due to camera shake shooting by image synthesis, and failure of image synthesis, and it is possible to pick up a highly accurate image by best shot shooting.
(その他の実施形態)
なお、上述した実施形態は一例を示すものであり、これに限定するものではない。例えば、第2の実施形態においては、笑顔が検出された場合には、図3のステップS307でベストショット撮影に設定している。そこで、ユーザから撮影指示が出された場合に、手振れの影響を受けない早いシャッタスピードで連続的に複数枚撮影を行い、撮影された画像の露出を判定してもよい。そして、適正な露出である場合には、各画像の評価結果をもとに最適な1枚の画像を残すように通常のベストショット撮影の処理を実施する。一方、撮影された画像の露出を判定した結果、適正な露出でない場合に、画像を加算して適正な露出の画像を作成するようにしてもよい。
(Other embodiments)
In addition, embodiment mentioned above shows an example and is not limited to this. For example, in the second embodiment, when a smile is detected, the best shot shooting is set in step S307 in FIG. Therefore, when a shooting instruction is issued from the user, a plurality of images may be continuously shot at a high shutter speed that is not affected by camera shake, and the exposure of the shot image may be determined. If the exposure is appropriate, normal best shot shooting processing is performed so as to leave an optimal image based on the evaluation result of each image. On the other hand, as a result of determining the exposure of the photographed image, if the exposure is not appropriate, the image may be added to create an image with the appropriate exposure.
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(または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 Mechanical shutter 3 Image pick-up
Claims (8)
前記撮像手段により生成されたプレビュー画像から前記被写体の顔を検出する顔検出手段と、
前記顔検出手段によって検出された顔が寝顔であるか否かを検出する表情検出手段と、
前記表情検出手段により寝顔が検出されている間は、ユーザによる撮影指示に応じて、静止画を連続的に撮影するよう前記撮像手段を制御するとともに、前記連続的に撮影された複数の静止画の間で位置ずれを補正し、前記補正された複数の静止画を合成して記録用画像を生成する制御手段とを備えることを特徴とする撮像装置。 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 sleeping face;
While the sleeping face is detected by the facial expression detection means, the imaging means is controlled to continuously shoot still images according to a shooting instruction from the user, and the plurality of continuously shot still images An image pickup apparatus comprising: a control unit that corrects misalignment between the two and generates a recording image by combining the plurality of corrected still images.
前記撮像手段により生成されたプレビュー画像から前記被写体の顔を検出する顔検出手段と、
前記顔検出手段によって検出された顔の表情を検出する表情検出手段と、
前記表情検出手段により寝顔が検出され、かつ笑顔が検出されていない間は、ユーザによる撮影指示に応じて静止画を連続的に撮影するよう前記撮像手段を制御するとともに、前記連続的に撮影された複数の静止画の間で位置ずれを補正し、前記補正された複数の静止画を合成して記録用画像を生成する制御手段とを備え、
前記表情検出手段により笑顔が検出されている間は、前記制御手段は、ユーザによる撮影指示に応じて、静止画を連続的に撮影するよう前記撮像手段を制御するとともに、前記連続的に撮影された複数の静止画のうち、最も評価値の高い画像を記録用画像として選択することを特徴とする撮像装置。 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 facial expressions detected by the face detection means;
While the sleeping face is detected by the facial expression detection means and no smile is detected, the imaging means is controlled to continuously take still images in accordance with a shooting instruction from the user, and the continuous shooting is performed. Control means for correcting a positional deviation between the plurality of still images, and generating a recording image by combining the corrected plurality of still images,
While the smile is detected by the facial expression detection means, the control means controls the imaging means to continuously shoot still images according to a shooting instruction from the user, and the continuous shooting is performed. An image pickup apparatus that selects an image having the highest evaluation value from among a plurality of still images as a recording image.
前記撮像手段により生成されたプレビュー画像から前記被写体の顔を検出する顔検出工程と、
前記顔検出工程において検出された顔が寝顔であるか否かを検出する表情検出工程と、
前記表情検出工程において寝顔が検出されている間は、ユーザによる撮影指示に応じて、静止画を連続的に撮影するよう前記撮像手段を制御するとともに、前記連続的に撮影された複数の静止画の間で位置ずれを補正し、前記補正された複数の静止画を合成して記録用画像を生成する制御工程とを備えることを特徴とする撮像方法。 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 or not the face detected in the face detection step is a sleeping face;
While the sleeping face is detected in the facial expression detection step, the imaging unit is controlled to continuously shoot still images according to a shooting instruction from the user, and the plurality of continuously shot still images And a control step of generating a recording image by combining the plurality of corrected still images.
前記撮像手段により生成されたプレビュー画像から前記被写体の顔を検出する顔検出工程と、
前記顔検出工程において検出された顔の表情を検出する表情検出工程と、
前記表情検出工程において寝顔が検出され、かつ笑顔が検出されていない間は、ユーザによる撮影指示に応じて静止画を連続的に撮影するよう前記撮像手段を制御するとともに、前記連続的に撮影された複数の静止画の間で位置ずれを補正し、前記補正された複数の静止画を合成して記録用画像を生成する制御工程とを備え、
前記表情検出工程において笑顔が検出されている間は、前記制御工程においては、ユーザによる撮影指示に応じて、静止画を連続的に撮影するよう前記撮像手段を制御するとともに、前記連続的に撮影された複数の静止画のうち、最も評価値の高い画像を記録用画像として選択することを特徴とする撮像方法。 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 facial expressions detected in the face detection step;
While the sleeping face is detected and the smile is not detected in the facial expression detection step, the imaging unit is controlled to continuously shoot still images in accordance with a shooting instruction from the user, and the continuous shooting is performed. And a control step of correcting a positional deviation between the plurality of still images and generating a recording image by combining the corrected plurality of still images,
While the smiling face is detected in the facial expression detection step, the control step controls the imaging unit to continuously take still images in accordance with a shooting instruction from the user, and the continuous shooting. An image pickup method comprising: selecting an image having the highest evaluation value as a recording image from a plurality of still images.
前記撮像手段により生成されたプレビュー画像から前記被写体の顔を検出する顔検出工程と、
前記顔検出工程において検出された顔が寝顔であるか否かを検出する表情検出工程と、
前記表情検出工程において寝顔が検出されている間は、ユーザによる撮影指示に応じて、静止画を連続的に撮影するよう前記撮像手段を制御するとともに、前記連続的に撮影された複数の静止画の間で位置ずれを補正し、前記補正された複数の静止画を合成して記録用画像を生成する制御工程とをコンピュータに実行させることを特徴とするプログラム。 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 or not the face detected in the face detection step is a sleeping face;
While the sleeping face is detected in the facial expression detection step, the imaging unit is controlled to continuously shoot still images according to a shooting instruction from the user, and the plurality of continuously shot still images And a control step of generating a recording image by combining the corrected still images and causing the computer to execute a program.
前記撮像手段により生成されたプレビュー画像から前記被写体の顔を検出する顔検出工程と、
前記顔検出工程において検出された顔の表情を検出する表情検出工程と、
前記表情検出工程において寝顔が検出され、かつ笑顔が検出されていない間は、ユーザによる撮影指示に応じて静止画を連続的に撮影するよう前記撮像手段を制御するとともに、前記連続的に撮影された複数の静止画の間で位置ずれを補正し、前記補正された複数の静止画を合成して記録用画像を生成する制御工程とをコンピュータに実行させ、
前記表情検出工程において笑顔が検出されている間は、前記制御工程においては、ユーザによる撮影指示に応じて、静止画を連続的に撮影するよう前記撮像手段を制御するとともに、前記連続的に撮影された複数の静止画のうち、最も評価値の高い画像を記録用画像として選択することを特徴とするプログラム。 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 facial expressions detected in the face detection step;
While the sleeping face is detected and the smile is not detected in the facial expression detection step, the imaging unit is controlled to continuously shoot still images in accordance with a shooting instruction from the user, and the continuous shooting is performed. Correcting a positional deviation between the plurality of still images, and causing the computer to execute a control step of generating a recording image by combining the corrected plurality of still images,
While the smiling face is detected in the facial expression detection step, the control step controls the imaging unit to continuously take still images in accordance with a shooting instruction from the user, and the continuous shooting. A program for selecting an image having the highest evaluation value as a recording image from among the plurality of still images.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011281993A JP2013132011A (en) | 2011-12-22 | 2011-12-22 | Imaging device, imaging method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011281993A JP2013132011A (en) | 2011-12-22 | 2011-12-22 | Imaging device, imaging method, and program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2013132011A true JP2013132011A (en) | 2013-07-04 |
Family
ID=48909229
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2011281993A Pending JP2013132011A (en) | 2011-12-22 | 2011-12-22 | Imaging device, imaging method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2013132011A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2018106763A (en) * | 2018-04-05 | 2018-07-05 | 株式会社ニコン | Imaging apparatus |
| JP2021057816A (en) * | 2019-09-30 | 2021-04-08 | キヤノン株式会社 | Imaging apparatus and control method of the same, program, and storage medium |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008136074A (en) * | 2006-11-29 | 2008-06-12 | Sky Kk | Camera and photography program |
| JP2009021763A (en) * | 2007-07-11 | 2009-01-29 | Fujifilm Corp | Imaging device |
| JP2009071344A (en) * | 2007-09-10 | 2009-04-02 | Casio Comput Co Ltd | Imaging apparatus and program |
| JP2009163357A (en) * | 2007-12-28 | 2009-07-23 | Casio Comput Co Ltd | Image composition apparatus and program |
| JP2010117948A (en) * | 2008-11-13 | 2010-05-27 | Canon Inc | Facial expression determination device, control method thereof, imaging device and program |
| JP2010130437A (en) * | 2008-11-28 | 2010-06-10 | Casio Computer Co Ltd | Imaging device and program |
| JP2010198110A (en) * | 2009-02-23 | 2010-09-09 | Nikon Corp | Image processor and electronic still camera |
| JP2010239467A (en) * | 2009-03-31 | 2010-10-21 | Casio Computer Co Ltd | Image selection apparatus, image selection method, and program |
| JP2011170057A (en) * | 2010-02-18 | 2011-09-01 | Panasonic Corp | Imaging apparatus |
-
2011
- 2011-12-22 JP JP2011281993A patent/JP2013132011A/en active Pending
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008136074A (en) * | 2006-11-29 | 2008-06-12 | Sky Kk | Camera and photography program |
| JP2009021763A (en) * | 2007-07-11 | 2009-01-29 | Fujifilm Corp | Imaging device |
| JP2009071344A (en) * | 2007-09-10 | 2009-04-02 | Casio Comput Co Ltd | Imaging apparatus and program |
| JP2009163357A (en) * | 2007-12-28 | 2009-07-23 | Casio Comput Co Ltd | Image composition apparatus and program |
| JP2010117948A (en) * | 2008-11-13 | 2010-05-27 | Canon Inc | Facial expression determination device, control method thereof, imaging device and program |
| JP2010130437A (en) * | 2008-11-28 | 2010-06-10 | Casio Computer Co Ltd | Imaging device and program |
| JP2010198110A (en) * | 2009-02-23 | 2010-09-09 | Nikon Corp | Image processor and electronic still camera |
| JP2010239467A (en) * | 2009-03-31 | 2010-10-21 | Casio Computer Co Ltd | Image selection apparatus, image selection method, and program |
| JP2011170057A (en) * | 2010-02-18 | 2011-09-01 | Panasonic Corp | Imaging apparatus |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2018106763A (en) * | 2018-04-05 | 2018-07-05 | 株式会社ニコン | Imaging apparatus |
| JP2021057816A (en) * | 2019-09-30 | 2021-04-08 | キヤノン株式会社 | Imaging apparatus and control method of the same, program, and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI425826B (en) | Image selection device, image selection method | |
| JP4254873B2 (en) | Image processing apparatus, image processing method, imaging apparatus, and computer program | |
| JP6355454B2 (en) | Imaging apparatus, control method therefor, program, and storage medium | |
| US10359498B2 (en) | Image pickup apparatus having function of generating simulation image,control method therefor, and storage medium | |
| US20080101710A1 (en) | Image processing device and imaging device | |
| JP2010152871A (en) | Image processing device, image processing method and program | |
| JP2010114752A (en) | Device and method of imaging and program | |
| JP6740109B2 (en) | Image processing apparatus, image processing method, and program | |
| JP4468598B2 (en) | Image processing apparatus and recording medium storing image processing program | |
| KR101630307B1 (en) | A digital photographing apparatus, a method for controlling the same, and a computer-readable storage medium | |
| JP6128928B2 (en) | Imaging device, control method thereof, and control program | |
| JP2013132011A (en) | Imaging device, imaging method, and program | |
| JP2009021909A (en) | Image adding apparatus and method, and program | |
| US8498494B2 (en) | Method and apparatus for processing a digital image signal, and a recording medium having recorded thereon a program for executing the method | |
| JP2015080157A (en) | Image processing apparatus, image processing method, and program | |
| JP2014225763A (en) | Imaging apparatus, control method of the same, program, and storage medium | |
| JP2008116663A (en) | Imaging device | |
| JP2009027437A (en) | Image processing apparatus, image processing method, and imaging apparatus | |
| JP4871664B2 (en) | IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD | |
| JP2010093451A (en) | Imaging apparatus and program for imaging apparatus | |
| JP2015126255A (en) | Imaging apparatus, control method and program of imaging apparatus | |
| JP2013131970A (en) | Imaging device, imaging method, and program | |
| JP5424851B2 (en) | Image processing apparatus and image processing method | |
| JP2008271181A (en) | Imaging apparatus and imaging method, playback apparatus and playback method, and captured image processing system | |
| JP5301690B2 (en) | Imaging apparatus, method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20141204 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150924 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20151020 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20151216 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20160607 |