JP2012034276A - Imaging apparatus and image processing method, and image processing program - Google Patents
Imaging apparatus and image processing method, and image processing program Download PDFInfo
- Publication number
- JP2012034276A JP2012034276A JP2010173623A JP2010173623A JP2012034276A JP 2012034276 A JP2012034276 A JP 2012034276A JP 2010173623 A JP2010173623 A JP 2010173623A JP 2010173623 A JP2010173623 A JP 2010173623A JP 2012034276 A JP2012034276 A JP 2012034276A
- Authority
- JP
- Japan
- Prior art keywords
- evaluation value
- image
- state
- eyes
- eye
- 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
- Image Processing (AREA)
- Studio Devices (AREA)
- Image Analysis (AREA)
Abstract
Description
本発明は、撮像装置及び画像処理方法、並びに画像処理プログラムに関し、特に、連続的に撮影された複数の画像からユーザが所望する画像を優先的に選択して記録する撮像装置及び画像処理方法、並びに画像処理プログラムに関する。 The present invention relates to an imaging apparatus, an image processing method, and an image processing program, and in particular, an imaging apparatus and an image processing method for preferentially selecting and recording an image desired by a user from a plurality of images that are continuously captured, And an image processing program.
近年、連続的に撮影された画像の中から特定の被写体の顔が写っているものを自動的に記録する画像処理技術が望まれている。例えば、複数の画像のそれぞれに対して、所定条件に基づいた評価を行い、当該評価に基づいて画像の順位づけを行う撮像装置が提案されている(特許文献1参照)。この撮像装置では、撮影者が評価項目として、例えば、「目つぶれ」、「笑顔」を選択することができる。「目つぶれ」が選択された場合、画像評価部が、目が開いている状態の画像データには画像評価を高くし、目が閉じている状態の画像データには画像評価を低くする。そして、順位決定部56が、画像データの画像評価値に基づいて、画像データに優先順位を決定し、画像選択部が、決定された優先順位の高い画像データを選択する。 In recent years, there has been a demand for an image processing technique that automatically records an image of a face of a specific subject from continuously shot images. For example, there has been proposed an imaging apparatus that evaluates each of a plurality of images based on a predetermined condition and ranks the images based on the evaluation (see Patent Document 1). In this imaging apparatus, the photographer can select, for example, “blind” or “smile” as evaluation items. When “blind” is selected, the image evaluation unit increases the image evaluation for the image data with the eyes open, and decreases the image evaluation for the image data with the eyes closed. Then, the order determination unit 56 determines the priority order of the image data based on the image evaluation value of the image data, and the image selection unit selects the image data with the determined high priority order.
しかしながら、上述した特許文献1記載の撮像装置では、評価項目として「目つぶれ」が選択されている場合は、目を瞑っていない画像データの画像評価値が高くなる。撮影者が被写体の泣き顔や寝顔のような目を瞑った顔を撮影したいと考えていた場合、それらの画像データの優先順位が低くなり、画像選択部により選択されない可能性が高くなることから、撮影者が望む画像が得られないおそれがある。 However, in the imaging apparatus described in Patent Document 1 described above, when “blind” is selected as the evaluation item, the image evaluation value of the image data in which the eyes are not meditated is high. If the photographer wants to shoot a face with a closed eye such as a crying face or sleeping face, the priority of those image data will be lower, and it is more likely not to be selected by the image selector, There is a possibility that an image desired by the photographer cannot be obtained.
本発明は、上記問題に鑑みて成されたものであり、連続的に撮影された画像の中から、被写体の泣き顔や寝顔のような目を瞑った顔の画像を効率よく記録することができる撮像装置及び画像処理方法、並びに画像処理プログラムを提供することを目的とする。 The present invention has been made in view of the above-described problems, and can efficiently record an image of a face with a closed eye such as a crying face or a sleeping face of a subject from continuously shot images. An object is to provide an imaging apparatus, an image processing method, and an image processing program.
上記目的を達成するために、本発明の撮像装置は、被写体を連続して撮像することが可能な撮像手段と、前記撮像手段から得られた画像から所定の条件に基づく第1の評価値を算出する第1の評価値算出手段と、前記撮像手段から得られた画像から特定の被写体が目を瞑っている状態であるか、目を開いている状態であるかを判断する判断手段と、前記撮像手段から得られた複数の画像から前記特定の被写体が目を瞑っている状態であると判断された場合は、前記特定の被写体が目を瞑っている目瞑り画像を優先する目瞑り優先状態に切り替え、前記判断手段により前記特定の被写体が目を開いている状態であると判断された場合は、前記特定の被写体が目を開いている目開き画像を優先する目開き優先状態に切り替える切り替え手段と、前記第1の評価値から、前記画像に付与する第2の評価値を算出する第2の評価値算出手段と、前記算出された第2の評価値に応じて、記録する画像を選択する選択手段とを備え、前記第2の評価値算出手段は、前記目瞑り優先状態のときに、前記判断手段により前記特定の被写体が目を瞑っている状態であると判断された場合には、目を開いている状態であると判断された場合よりも、前記第1の評価値から算出される前記第2の評価値を高くし、前記目開き優先状態のときに、前記判断手段により前記特定の被写体が目を開いている状態であると判断された場合には、目を瞑っている状態であると判断された場合よりも、前記第1の評価値から算出される前記第2の評価値を高くすることを特徴とする。 In order to achieve the above object, an imaging apparatus according to the present invention has an imaging unit capable of continuously imaging a subject, and a first evaluation value based on a predetermined condition from an image obtained from the imaging unit. A first evaluation value calculating means for calculating; a determining means for determining whether a specific subject is in a state where his eyes are meditated or in a state where his eyes are open from the image obtained from the imaging means; If it is determined from the plurality of images obtained from the imaging means that the specific subject is in a state of meditating eyes, priority is given to the eye-meditation image in which the specific subject is meditating eyes When the determination means determines that the specific subject is in an open state, the specific subject switches to an opening priority state that prioritizes the opening image in which the specific subject has open eyes. Switching means and front Second evaluation value calculation means for calculating a second evaluation value to be applied to the image from the first evaluation value, and selection means for selecting an image to be recorded according to the calculated second evaluation value And the second evaluation value calculating means is in the eye-meditation priority state, when the judgment means determines that the specific subject is in a state of meditating eyes, The second evaluation value calculated from the first evaluation value is set higher than the case where it is determined that the state is open. The second evaluation value calculated from the first evaluation value when it is determined that the subject is in an open state is more than in the case where it is determined that the subject is in a closed state. It is characterized by making it high.
本発明によれば、特定の被写体の泣き顔や寝顔のような目を瞑った顔の画像を効率よく記録できると共に、被写体の目が開いている画像をも効率よく記録することができる。 According to the present invention, it is possible to efficiently record an image of a face with a closed eye such as a crying face or a sleeping face of a specific subject, and it is also possible to efficiently record an image in which the subject's eyes are open.
以下、本発明の実施の形態を図面を参照して詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[第1の実施形態]
図1は、本発明の第1の実施形態に係る撮像装置の概略構成を示すブロック図である。
[First Embodiment]
FIG. 1 is a block diagram showing a schematic configuration of an imaging apparatus according to the first embodiment of the present invention.
撮影レンズ101は、ズーム機構、フォーカスレンズ機構、絞りシャッター機構を含む撮影レンズである。撮像素子102は、被写体からの反射光を電気信号に変換する受光手段又は光電変換手段としての撮像素子である。A/D変換部103は、撮像素子102の出力ノイズを除去するCDS回路やA/D変換前に行う非線形増幅回路を含むA/D変換部である。画像処理部104は、A/D変換部103から出力された画像データに対して画像処理を行う。また、画像処理部104は、輝度に関する特定周波数帯域の信号成分を抽出し、被写体のピント状態を検出することも可能である。
The photographing
フォーマット変換部105は、画像処理部104から出力された画像データをJPEGフォーマット等に変換する画像フォーマット変換部である。DRAM106は、高速なデータアクセスが可能なDRAM等で構成される。DRAM106は、一時的な画像記憶手段として或いは画像の圧縮伸張における作業用メモリなどに使用される。画像記録部107は、メモリーカードなどの記録媒体とそのインターフェースからなる画像記録部である。
The
システム制御部(以下、「CPU」と記す)108は、撮影シーケンスなどのシステムを制御するシステム制御部である。操作部109は、撮像装置を外部から操作するための操作部である。操作部109は、例えば次のようなものが含まれる。撮像装置の撮影機能や画像再生時の設定などの各種設定を行うためのメニュースイッチ、撮影レンズのズーム動作を指示するためのズームレバー、撮影モードと再生モードの動作モードを切り換えるための切換スイッチなどである。
A system control unit (hereinafter referred to as “CPU”) 108 is a system control unit that controls a system such as an imaging sequence. The
撮影モードスイッチ110は、顔検出モードをON又はOFFに切り替える設定等を行うための撮影モードスイッチである。メインスイッチ111は、撮像装置の電源をON/OFFするためのメインスイッチである。SW1_112は、AFやAE等の撮影スタンバイ動作を行うためのスイッチである。SW2_113は、SW1_112の操作後に撮影を行うための撮影スイッチである。
The
顔検出部114は、画像処理部104で処理された画像データを用いて顔領域の検出を行い、検出した顔領域から顔情報(例えば、顔の位置、大きさ、信頼度等)を抽出してCPU108に送る。また、顔検出部114は、画像処理部104からの画像データに対して公知の顔検出処理を施し、画像内に含まれる人物の顔領域を検出する。なお、公知の顔検出処理としては、例えば、画像データで表される各画素の階調色から肌色領域を抽出し、予め用意する顔の輪郭プレートとのマッチング度で顔を検出する方法がある。また、周知のパターン認識技術を用いて、顔の特徴量(例えば、目、鼻、口などの顔器官)を抽出することで顔検出を行う方法等も開示されている。
The
笑顔検出部115は、顔検出部114で検出された顔領域から被写体の顔の笑顔レベルを算出する。具体的には、笑顔検出部115は、顔を構成する目、鼻、及び口等の輪郭、目頭、目尻、小鼻、口角及び唇の位置など、笑顔レベルの算出に必要な特徴量を抽出する。特徴量を抽出する方法としては、目や鼻といった物理的な形状に特徴のある部位を画像領域からテンプレートマッチングで抽出する手法がある。また、顔の構成部位の複数のサンプル画像を用いてマシンラーニング学習により特徴量を抽出する手法もある。そして、笑顔検出部115は、抽出した特徴量に基づいて、笑顔の度合を示す笑顔レベルを算出し、顔が笑顔であるかどうかを判別する。笑顔レベルの算出手法としては、例えば、満点の笑顔と笑っていない顔から取得した特徴量の位置及び形状の差分に応じて、笑顔レベルを算出する手法がある。
The
目領域検出部116は、顔検出部114で検出された顔領域から目の存在する目領域を検出する。
The eye
目瞑り検出部117は、目領域検出部116で検出された目領域内のヒストグラムから、黒目に相当する輝度の領域の面積を検出する。そして、黒目に相当する輝度の領域の面積が、目領域の大きさに応じて、設定された閾値を下回った場合に目瞑りであると判断する。
The eye
視線検出部118は、目領域検出部116で検出された目領域から両目が検出され、かつ当該両目の間の距離が短いか否かを判別する。両目の間の距離が短いときは正面顔であると判断し、目領域検出部116で検出された目領域内の瞳の位置を検出する。そして、瞳の位置が目領域の中心に位置している場合は、視線方向が撮像装置に向いていると判定する。
The line-of-
上述した顔検出、笑顔レベルの算出、目瞑り検出、視線検出の手法については、上述したものに限定されるものではなく、公知の種々の手法を用いることができる。また、上述した顔検出部114〜視線検出部118は、ハードウェアで構成されていても、ソフトウェアで構成されていてもよい。
The methods of face detection, smile level calculation, eye meditation detection, and line-of-sight detection described above are not limited to those described above, and various known methods can be used. Moreover, the
角度センサ部119は、例えば、ジャイロスコープ等で構成され、撮像装置自体の傾き量を検出してCPU108に送る機能を有する。
The
次に、図1の撮像装置における目瞑り状態/目開き状態の判定について説明する。 Next, the determination of the eye-meditation state / open-eye state in the imaging apparatus of FIG.
図2は、図1の撮像装置における目瞑り優先状態と目開き優先状態の切り替えを説明するための図である。図2(a)は被写体が最初から目を開いている状態、図2(b)は被写体が最初から目を閉じている状態を示す。図2(c)は被写体が最初は目を開いていて、途中から目を閉じた場合、図2(d)は被写体が最初から目を閉じていて、途中で一度目を開くが再度目を閉じた場合を示す。 FIG. 2 is a diagram for explaining switching between the eye-meditation priority state and the eye opening priority state in the imaging apparatus of FIG. FIG. 2A shows a state in which the subject has opened eyes from the beginning, and FIG. 2B shows a state in which the subject has closed eyes from the beginning. FIG. 2 (c) shows that the subject initially opened his eyes and closed his eyes from the middle. FIG. 2 (d) shows that the subject closed his eyes from the beginning and opened his eyes once. Indicates closed case.
目瞑り優先状態、目開き優先状態とは、それぞれの状態を優先する状態のことである。すなわち、目瞑り優先状態とは、撮影者が、被写体が目瞑りしている画像を撮影したい状況であると判断して、撮像装置が目瞑り画像を優先的に選択する状態を意味する。被写体が目瞑りしている画像には、例えば、泣き顔や大笑い顔、寝顔などが含まれる。一方、目開き優先状態とは、撮影者が、被写体が目開きしている画像を撮影したい状況であると判断して、撮像装置が目開き画像を優先的に選択する状態を意味する。 The eye-meditation priority state and the eye opening priority state are states in which each state is prioritized. That is, the eye-meditation priority state means a state in which the photographer determines that the subject wants to capture an image in which the subject is eye-closure, and the imaging device preferentially selects the eye-meditation image. Examples of images in which the subject is meditating include a crying face, a laughing face, and a sleeping face. On the other hand, the opening priority state means a state in which the photographer determines that the subject wants to take an image with an opening of the subject and the imaging device preferentially selects the opening image.
図2(a)〜図2(d)において、撮影枚数601は、撮像装置が連写撮影を行った際の撮影枚数である。被写体の目の状態602は、連写撮影により得られた複数の画像のそれぞれに写った被写体の目の状態である。撮像装置において、目を瞑っていると判定したときは「目瞑り」、目を開けていると判定したときは目開きとなる。なお、1つの画像に複数の被写体が写っている場合には、ユーザが指定した被写体の目の状態であってもよいし、最も多い被写体の目の状態であってもよい。優先状態603は、撮像装置の優先状態を示している。
2A to 2D, the number of
図2(a)及び図2(b)は最大撮影枚数(ここでは15枚)まで撮影した場合であり、図2(c)及び図2(d)は、撮影者が撮像装置に撮影停止指示を行い、最大撮影枚数になる前に撮影を終了した場合である。 2 (a) and 2 (b) show the case where the maximum number of shots (15 shots in this case) is taken, and FIGS. 2 (c) and 2 (d) show that the photographer instructs the imaging apparatus to stop shooting. This is a case where shooting is finished before the maximum number of shots is reached.
図2(a)に示す例では、被写体が最初から目を開いている状態であることが分かる。所々で、被写体の目瞑りが発生しているのは、被写体が瞬きを行うためである。この場合、撮像装置では、撮影者が、被写体が目を開いている状態を撮りたい状況であると判断する。 In the example shown in FIG. 2A, it can be seen that the subject is in the state of opening his eyes from the beginning. The reason why the subject is meditating in some places is because the subject blinks. In this case, in the image pickup apparatus, the photographer determines that it is a situation where the subject wants to take a picture with his eyes open.
図2(b)に示す例では、被写体が最初から目を閉じている状態であるが、優先状態603の初期設定は目開き優先状態である。そして、被写体の目の状態602が2枚連続して目瞑り状態であったことから、目開き優先状態から目瞑り優先状態に切り替わる。このような場合、撮像装置では、撮影者が、被写体が目を閉じている状態を撮りたい状況であると判断する。なお、本実施形態では、被写体の目の状態602が2枚連続して同じであった場合に優先状態603を切り替えているが、これに限定されるものではない。例えば、コマ速に応じて、優先状態の切り替えに要する枚数を可変としてもよい。
In the example shown in FIG. 2B, the subject is in a state where the eyes are closed from the beginning, but the initial setting of the
図2(c)に示す例では、被写体が最初は目を開いているが、途中から目を閉じるようになっていることが分かる。この場合、目瞑り状態の方が目開き状態よりも撮影枚数が多いので、連写撮影された画像の中から1枚を選択して記録する設定が行われていたときは、撮影者が、被写体が目を閉じている状態を撮りたい状況であると判断する。 In the example shown in FIG. 2C, it can be seen that the subject opens his eyes at first, but closes his eyes from the middle. In this case, the number of shots is larger in the closed-eye state than in the open-open state, so when one of the continuously shot images is selected and recorded, the photographer It is determined that the subject wants to take a picture with his eyes closed.
図2(d)に示す例では、被写体が最初から目を閉じていて、途中で一度目を開くが、再度目を閉じるようになっていることが分かる。この場合、目開き状態の方が目瞑り状態よりも撮影枚数が多いので、連写撮影された画像の中から1枚を選択して記録する設定が行われていたときは、撮影者が、被写体が目を開いている状態を撮りたい状況であると判断する。 In the example shown in FIG. 2D, it can be seen that the subject closes his eyes from the beginning and opens his eyes once in the middle, but closes his eyes again. In this case, since the number of shots is larger in the open state than in the closed state, when the setting is made to select and record one of the continuously shot images, the photographer It is determined that the subject wants to take a picture with his eyes open.
次に、上述した動作を踏まえて、図1の撮像装置における目瞑り状態/目開き状態判定処理の流れについて図3A、図3B、図3Cを用いて説明する。 Next, based on the above-described operation, the flow of the eye closed / open eye state determination process in the imaging apparatus of FIG. 1 will be described with reference to FIGS. 3A, 3B, and 3C.
図3A〜図3Cは、本発明の第1の実施形態に係る撮像装置で実行される画像選択処理の流れを示すフローチャートである。なお、本処理は、CPU108が不図示のメモリから制御プログラムを読み出して実行することにより、図2に示す各機能部を制御することで成されるものとする。
3A to 3C are flowcharts showing a flow of image selection processing executed by the imaging apparatus according to the first embodiment of the present invention. Note that this processing is performed by the
図3Aにおいて、ステップS201では、CPU108は、撮像素子102等を制御して撮像処理を実行する。撮像処理では、撮像素子102から読み出された電荷信号が、A/D変換部103、画像処理部104、フォーマット変換部105を介してDRAM106に出力され、画像データとして書き込まれる。
In FIG. 3A, in step S201, the
次に、ステップS202では、CPU108は、DRAM106に書き込まれた画像データから顔評価値(第1の評価値)を算出する(顔評価値算出処理)。ステップS202では、CPU108は第1の評価値算出手段として機能する。この顔評価値算出処理の詳細については後述する。
Next, in step S202, the
次に、ステップS203にて、CPU108は、目瞑り検出部117を制御して、撮影した画像から目瞑りしている被写体を検出する。次に、ステップS204において、CPU108は、ステップS203の検出結果に基づいて、主被写体が目瞑り状態か否かを判定する。この主被写体とは、画面中央付近に存在し、サイズが最も大きいものとしてもよいし、予め登録していた被写体であってもよい。
Next, in step S <b> 203, the
ステップS204の判定の結果、CPU108が、主被写体が目を閉じている状態、つまり目瞑り状態であると判断した場合、図3CのステップS214に進む。一方、主被写体が目を開いている状態、つまり目開き状態であると判断した場合、ステップS205に進む。
As a result of the determination in step S204, if the
ステップS205では、CPU108は、優先状態が目開き優先状態であるか否かの判定を行う。この優先状態の判定については、CPU108が、DRAM106内の特定の領域に保存されている情報を読み出すことにより行われる。このDRAM106内の特定の領域に保存される情報は、後述する処理により随時更新される。この情報の初期設定として、目開き状態が設定されていても、目瞑り状態が設定されていてもよい。
In step S205, the
ステップS205の判定の結果、CPU108が、目開き優先状態でない、すなわち目瞑り優先状態であると判定した場合はステップS209へ進む。一方、目開き優先状態であると判定した場合、ステップS206に進み、CPU108は目瞑りカウンタをクリアする。目瞑りカウンタとは、目開き優先状態において、目瞑り状態の時間が、どの程度連続したかを測るための変数である。
As a result of the determination in step S205, if the
次に、ステップS207にて、CPU108は、目開き優先カウンタを+1する。目開き優先カウンタとは、目開き優先状態の時間が、どの程度連続しているかを測るための変数である。目開き優先カウンタの値はDRAM106に保存される。
Next, in step S207, the
次に、ステップS208にて、CPU108は、目開き優先カウンタの値をDRAM106に記録して、図3BのステップS223へ進む。目開き優先カウンタの値を記録する理由は、優先状態が何枚連続したかを判定するためである。連写撮影された画像の中から1枚を選択して記録する設定が行われていた場合、より長く優先状態が続いた方を優先的に残すこととする。より長く状態の続いた方を優先的に残すのは、撮影者が、そのような意図を持って連続撮影を続けていると考えられるからである。
Next, in step S208, the
ステップS209では、CPU108は、目開きカウンタを+1する。目開きカウンタとは、目瞑り優先状態において、目開き状態の時間が、どの程度連続したかを測るための変数である。
In step S209, the
次に、ステップS210にて、CPU108は、目瞑り優先状態での目開き顔評価値(第3の評価値)を算出する。ここでは、ステップS202で求めた顔評価値を下げるように計算が行われる。例えば、顔評価値から所定の数値(−100など)を引いたり、顔評価値に0.5を掛けることなどが挙げられる。ステップS210では、CPU108は第3の評価値算出手段として機能する。
Next, in step S210, the
次に、ステップS211にて、CPU108は、目開きカウンタの値が所定値以上かの判定を行う。目開きカウンタの値が所定値以上であった場合、つまり所定回数以上目を開いている状態が連続していると判断された場合は、撮影者が、目を開いている被写体を撮影したい意志があると判断する。そして、CPU108は、ステップS212にて目開き優先状態へ切り替える。つづいて、ステップS213にて、CPU108は、目開き優先カウンタをクリアし、図3BのステップS223へ進む。
Next, in step S211, the
一方、ステップS211の判定の結果、目開きカウンタの値が所定値未満であると判定した場合は、図3BのステップS223へ進む。 On the other hand, as a result of the determination in step S211, when it is determined that the value of the opening counter is less than the predetermined value, the process proceeds to step S223 in FIG. 3B.
図3Cにおいて、ステップS214では、CPU108は、優先状態が目瞑り優先状態であるか否かの判定を行う。この判定の結果、CPU108が、目瞑り優先状態でない、すなわち目開き優先状態であると判定した場合はステップS218へ進む。一方、目瞑り優先状態であると判定した場合、ステップS215に進み、CPU108は目開きカウンタをクリアする。
In FIG. 3C, in step S214, the
次に、ステップS216にて、CPU108は、目瞑り優先カウンタを+1する。目瞑り優先カウンタとは、目瞑り優先状態の時間が、どの程度連続しているかを測るための変数である。目瞑り優先カウンタの値はDRAM106に保存される。
Next, in step S216, the
次に、ステップS217にて、CPU108は、目瞑り優先カウンタの値をDRAM106に記録して、図3BのステップS223へ進む。目瞑り優先カウンタの値を記録する理由は、優先状態が何枚連続したかを判定するためである。連写撮影された画像の中から1枚を選択して記録する設定が行われていた場合、より長く優先状態が続いた方を優先的に残すこととする。より長く状態の続いた方を優先的に残すのは、撮影者が、そのような意図を持って連続撮影を続けていると考えられるからである。
Next, in step S217, the
ステップS218では、CPU108は、目瞑りカウンタを+1する。次に、ステップS219にて、CPU108は、目開き優先状態での目瞑り顔評価値(第4の評価値)を算出する。ここでは、ステップS202で求めた顔評価値を下げるように計算が行われる。例えば、顔評価値から所定の数値(−100など)を引いたり、顔評価値に0.5を掛けることなどが挙げられる。ステップS218では、CPU108は第4の評価値算出手段として機能する。
In step S218, the
次に、ステップS220にて、CPU108は、目瞑りカウンタの値が所定値以上かの判定を行う。目瞑りカウンタの値が所定値以上であった場合、つまり所定回数以上目を閉じている状態が連続していると判断された場合は、撮影者が、目を瞑っている被写体を撮影したい意志があると判断する。そして、CPU108は、ステップS221にて目瞑り優先状態へ切り替える。つづいて、ステップS222にて、CPU108は、目瞑り優先カウンタをクリアし、図3BのステップS223へ進む。
Next, in step S220, the
図3Bにおいて、ステップS223では、CPU108は、画像評価値を算出する。
ここでは、目瞑り優先状態で目瞑りと判定された場合又は目開き優先状態で目開きと判定された場合において、ステップS202で求めた顔評価値から、最終的に画像に付与する画像評価値(第2の評価値)が算出される。一方、目瞑り優先状態で目開きと判定された場合又は目開き優先状態で目瞑りと判定された場合、ステップS210で算出した目開き顔評価値又はステップS219で算出した目瞑り顔評価値から、最終的に画像に付与する画像評価値(第2の評価値)が算出される。ステップS223では、CPU108は第2の評価値算出手段として機能する。
In FIG. 3B, in step S223, the
In this case, when it is determined that the eyes are closed in the eye-meditation priority state, or when it is determined that the eyes are opened in the opening priority state, the image evaluation value that is finally given to the image from the face evaluation value obtained in step S202. (Second evaluation value) is calculated. On the other hand, when it is determined that the eyes are open in the priority state of eye opening or when it is determined that the eyes are closed in the priority state of opening the eyes, from the eye opening face evaluation value calculated in step S210 or the eye closing face evaluation value calculated in step S219. Then, an image evaluation value (second evaluation value) finally given to the image is calculated. In step S223, the
次に、ステップS224では、CPU108は、処理の対象となる撮影画像が1枚目の画像かを判定する。この判定の結果、1枚目の画像であると判定した場合、CPU108は、その1枚目の画像を記録予定画像としてDRAM106に保存して、ステップS227へ進む。一方、1枚目の画像でない、つまり2枚目以降の画像であると判定した場合、ステップS225に進む。
Next, in step S224, the
ステップS225では、CPU108は、撮影した画像の画像評価値(現在の画像評価値)と、記録予定画像としてDRAM106に保存されている画像の評価値とを比較する。この比較対象となる撮影した画像の画像評価値は、ステップS223で算出した画像評価値である。
In step S225, the
また、ステップS225では、CPU108は、目瞑り優先カウンタの値と目開き優先カウンタの値を比較し、優先カウンタの値が所定値以上高い方を、画像評価値に関わらず、優先的に記録予定画像とする。すなわち、目瞑り優先カウンタの値と目開き優先カウンタの値を比較することで、どちらの優先状態が連続して続いたかを判断し、より長い時間、優先状態が続いた方の画像を優先する。
In step S225, the
ステップS226では、CPU108は、現在の画像評価値が高いか否かを判定する。CPU108は、現在の画像評価値が高いと判断した場合、或いは、現在の優先カウンタの値が所定値以上高いと判断した場合は、ステップS227にて、記録予定画像を現在の画像に更新する。これにより、DRAM106に保存されている画像が現在の画像に置き換わる。ステップS226の判定の結果、CPU108が、現在の画像評価値が高くないと判断した場合は、ステップS228へ進む。
In step S226, the
ステップS228では、CPU108は、現在の撮影枚数が最少撮影枚数であるかの判断を行う。最少撮影枚数とは、撮影指示が行われた場合に必ず撮影する枚数のことである。画像選択処理では、複数枚の撮影画像からユーザの撮影意図に沿う画像を選択するので、複数枚撮影する必要がある。ステップS228において、CPU108が最少撮影枚数まで達していないと判断した場合、図3AのステップS201に戻り、撮影を継続する。CPU108が最小撮影枚数まで達していると判断した場合は、ステップS229へ進む。
In step S228, the
ステップS229では、CPU108は、撮影終了指示が出されたかの判断を行う。撮影終了指示の態様については、撮影者が押下していたSW2_113を離すことであってもよいし、ユーザが操作部109を直接操作するものであってもよい。CPU108は、撮影終了指示が出されたと判断した場合は、ステップS231にて、DRAM106に保存されている画像を画像記録部107へ記録し、本処理を終了する。
In step S229, the
一方、ステップS229の判定の結果、撮影終了指示が出されていないと判断した場合、CPU108は、現在の撮影枚数が最大撮影枚数撮影であるかの判断を行う。最大撮影枚数とは、連続して撮影する時間が所定時間以上過ぎてしまうと、撮影するシーンが変わってしまい、評価値の比較を行うことが困難になるので、同一シーンであるように設定する枚数のことである。最大撮影枚数まで撮影していないと判断された場合は、図3AのステップS201に戻り、撮影処理が行われる。一方、ステップS230の判定の結果、最大撮影枚数まで撮影していると判断された場合は、ステップS231にて、DRAM106に書き込まれている画像を画像記録部107へ記録し、本処理を終了する。
On the other hand, as a result of the determination in step S229, if it is determined that the shooting end instruction has not been issued, the
このように、本処理では、目瞑り優先状態であるときは、撮影者が、目瞑りしている画像、例えば、泣き顔や、大笑い顔、寝顔などを撮影したい状況であると判断し、目瞑り画像であっても、画像評価値を下げない。一方、目開き優先状態であるときは、撮影者は、目開きしている画像を撮影したい状況であると判断し、目瞑り画像の評価値を下げる。目開き優先状態又は目瞑り優先状態への切り替えは、連続してその状態が続く場合や、また撮影開始時にどの優先状態であったか、などにより判断することが可能である。また、ユーザが予め、どちらの状態を優先するか設定しておいてもよい。優先状態が確定していない場合は、目開き状態としておく。 In this way, in this process, when it is in the eye-meditation priority state, it is determined that the photographer wants to photograph an image that is meditating, such as a crying face, a laughing face, or a sleeping face. Even for an image, the image evaluation value is not lowered. On the other hand, when the eye opening priority state is set, the photographer determines that it is a situation in which an image having an opening is desired to be photographed, and lowers the evaluation value of the eye closed image. Switching to the priority state for opening the eyes or the priority state for closing the eyes can be determined based on whether the state continues continuously, or which priority state was set at the start of photographing. In addition, the user may set in advance which state is prioritized. If the priority state is not fixed, the open state is set.
次に、図3AのステップS202における顔評価値算出処理について図4を参照して説明する。 Next, the face evaluation value calculation process in step S202 of FIG. 3A will be described with reference to FIG.
図4は、図3AのステップS202における顔評価値算出処理を示すフローチャートである。 FIG. 4 is a flowchart showing the face evaluation value calculation process in step S202 of FIG. 3A.
まず、ステップS301では、CPU108は、顔位置を評価する。具体的には、CPU108は、顔検出部114にて検出された顔位置情報や撮影された画像の情報から、顔位置が、画面を六分割した交点付近若しくは画面中央付近、これら3点に近い位置にあるか否かで評価を行う。図5(a)、図5(b)を用いて、ステップS301における顔位置の評価方法について説明する。
First, in step S301, the
図5(a)の501は、撮影者が撮像装置を横に構えて撮像したときに撮影画像である。502は、撮影画像501の画面を六分割したときの交点、503は画面中央付近の点である。画面中央付近の点は、画面中心より少し上に配置される。
図5(b)の505は、撮影者が撮像装置を縦に構えて撮像したときの撮影画像である。506は、撮影画像505の画面を六分割したときの交点、507は画面中央付近の点である。画面中法付近の点は、画面中心より上の方に配置される。
ステップS301では、顔検出部114により検出された顔位置がこれらの点に近ければ近いほど、CPU108が、顔位置(第1の顔位置)の評価値を高くする。
In step S301, the closer the face position detected by the
次に、ステップS302では、CPU108は、顔が画像からはみ出していないかを評価する。具体的には、CPU108は、顔検出部114にて検出された顔のサイズ、座標、さらに、画像の座標情報から、顔がはみ出していないかを判定する。顔が画像からはみ出していると判断された場合、CPU108は、顔位置(第2の顔位置)の評価値を低くする。
Next, in step S302, the
次に、ステップS303では、CPU108は、笑顔の評価を行う。具体的には、笑顔検出部115にて検出された笑顔レベルによって、被写体が笑っていると判断された場合は、笑顔の評価値が高くなる。笑顔であるかの判断は、所定の閾値を設け、その閾値より高い数値の笑顔レベルが検出されることにより行う、などの方法がある。
Next, in step S303, the
次に、ステップS304では、CPU108は、視線の評価を行う。目領域検出部116、視線検出部118により、視線が撮像装置に向いている判断された場合、CPU108は、視線の評価値を高くする。
Next, in step S304, the
次に、ステップS305では、CPU108は、輝度の評価を行う。輝度の評価は、顔付近の輝度がより適正であるかにより行われる。顔付近の輝度が適正から大きく外れていると判断された場合、CPU108は、輝度の評価値を低くする。
Next, in step S305, the
次に、ステップS306では、CPU108は、ピント状態の評価を行う。CPU108は、画像処理部104にて抽出される特性周波数帯域の信号成分から画像のピント状態を検出し、ブレなどにより所定以上ピントが合っていないと判断した場合、ピント状態の評価値を低くする。
Next, in step S306, the
そして、CPU108は、上述したステップS301〜S306にて得られた各評価値に基づいて、顔評価値を算出する。例えば、全ての評価値を足し合わせてもよいし、各評価値に重みづけを行い、算出してもよい。また、ピント評価値以外は足し合わせ、その足し合わせた値に対して、ピント評価値を掛けることによって算出してもよい。
Then, the
上記第1の実施形態によれば、得られた複数の画像から所定の条件に基づく顔評価値を算出し、特定の被写体が目を瞑っている状態であるか、目を開いている状態であるかを判断する。そして、特定の被写体が目を瞑っている状態であると判断された場合は、目瞑り優先状態に切り替え、特定の被写体が目を開いている状態であると判断された場合は、目開き優先状態に切り替える。さらに、目瞑り優先状態のときに、特定の被写体が目を瞑っている状態であると判断された場合、及び、目開き優先状態のときに、特定の被写体が目を開いている状態であると判断された場合には、顔評価値から画像評価値を算出する。そして、算出された画像評価値に応じて、記録する画像を選択する。これにより、撮影者が意図する特定の被写体の泣き顔や寝顔のような目を瞑った顔の画像を効率よく記録できると共に、被写体の目が開いている画像をも効率よく記録することができる。 According to the first embodiment, a face evaluation value based on a predetermined condition is calculated from a plurality of obtained images, and a specific subject is in a state where his eyes are closed or his eyes are open. Determine if there is. If it is determined that the specific subject is in the state of meditating, the eyes are switched to the priority state. If it is determined that the specific subject is in the state of opening the eyes, priority is given to opening the eyes. Switch to state. Furthermore, when it is determined that the specific subject is in the state of meditating when the eyes are in the priority state, and when the opening priority is in the state, the specific subject is in the state where the eyes are open. If it is determined, the image evaluation value is calculated from the face evaluation value. Then, an image to be recorded is selected according to the calculated image evaluation value. Thereby, it is possible to efficiently record an image of a face with a closed eye such as a crying face or sleeping face of a specific subject intended by the photographer, and also efficiently record an image with the subject's eyes open.
なお、上記実施形態では、記録予定画像を1枚だけ記録する場合について説明したが、複数枚を記録するようにしてもよい。例えば、予め設定された基準値を超える画像評価値が付与された画像のみを記録するように構成してもよい。また、記録する枚数を予め設定して、当該枚数に達したときに画像を記録するように設定してもよい。 In the above-described embodiment, the case where only one scheduled recording image is recorded has been described. However, a plurality of images may be recorded. For example, only an image to which an image evaluation value exceeding a preset reference value is assigned may be recorded. Alternatively, the number of sheets to be recorded may be set in advance, and the image may be recorded when the number is reached.
[第2の実施形態]
本発明の第2の実施の形態に係る撮像装置は、その構成が図1を用いて説明した上記第1の実施の形態に係る撮像装置と同じであり、同一の構成要素については同一の符号を用いて、その説明を省略する。
[Second Embodiment]
The imaging apparatus according to the second embodiment of the present invention has the same configuration as the imaging apparatus according to the first embodiment described with reference to FIG. 1, and the same components are denoted by the same reference numerals. The description will be omitted.
本発明の第2の実施形態に係る撮像装置における画像選択処理について図6A、図6B、図6Cを参照して説明する。 Image selection processing in the imaging apparatus according to the second embodiment of the present invention will be described with reference to FIGS. 6A, 6B, and 6C.
図6A〜図6Cは、本発明の第2の実施形態に係る撮像装置で実行される画像選択処理の流れを示すフローチャートである。なお、図3A〜図3Cを用いて説明したステップと同一のステップについては、同一のステップ番号を付して、その詳細な説明は省略する。 6A to 6C are flowcharts showing a flow of image selection processing executed by the imaging apparatus according to the second embodiment of the present invention. The same steps as those described with reference to FIGS. 3A to 3C are denoted by the same step numbers, and detailed description thereof is omitted.
図6Aでは、ステップS205の判定の結果、CPU108が目開き優先状態であると判定した場合、ステップS401に進み、目開き優先状態での目開き顔評価値を算出する。ここでは、ステップS202で求めた顔評価値を上げるように計算が行われる。例えば、顔評価値に対して、所定数値を足したり、1より大きい所定係数を掛けたりすることが挙げられる。
In FIG. 6A, when the
そして、ステップS206に進み、CPU108が目瞑りカウンタをクリアした後、図6BのステップS405へ進む。
Then, the process proceeds to step S206, and after the
また、図6Aにおいて、ステップS212の後は、図3AのステップS213を実行することなく、図6BのステップS405へ進む。 In FIG. 6A, after step S212, the process proceeds to step S405 in FIG. 6B without executing step S213 in FIG. 3A.
図6Cでは、ステップS214の判定の結果、CPU108が目瞑り優先状態であると判定した場合、ステップS402に進み、目瞑り優先状態での目瞑り顔評価値を算出する。ここでは、ステップS202で求めた顔評価値を上げるように計算が行われる。例えば、顔評価値に対して、所定数値を足したり、1より大きい所定係数を掛けたりすることが挙げられる。
In FIG. 6C, when the
そして、ステップS215に進み、CPU108は目開きカウンタをクリアした後、図6BのステップS405へ進む。
In step S215, the
また、図6Cにおいて、ステップS221の後は、図3CのステップS222を実行することなく、図6BのステップS405へ進む。 In FIG. 6C, after step S221, the process proceeds to step S405 in FIG. 6B without executing step S222 in FIG. 3C.
図6BのステップS405では、CPU108は、画像評価値を算出する。ここでは、目瞑り優先状態で目瞑りと判定された場合又は目開き優先状態で目開きと判定された場合において、ステップS401やステップS402で求めた顔評価値から、最終的に画像に付与する画像評価値が算出される。反対に、目瞑り優先状態で目開きと判定された場合又は目開き優先状態で目瞑りと判定された場合では、ステップS211やステップS220で算出した目開き顔評価値又は目瞑り顔評価値から、最終的に画像に付与する画像評価値が算出される。
In step S405 of FIG. 6B, the
次に、ステップS224では、CPU108は、処理の対象となる撮影画像が1枚目の画像かを判定する。本実施形態では、目開き、目瞑りの優先状態が切り替わった時点で、画像記録部107への画像データの記録が行われる。この記録が行われた後の1枚目も、ここで判断される。記録後の1枚目であれば、CPU108が1枚目の画像であると判断し、ステップS227にて、記録予定画像を現在の画像に更新する。これにより、DRAM106に保存されている画像が現在の画像に置き換わる。
Next, in step S224, the
図6BのステップS403では、CPU108は、目開き、目瞑りの優先状態が切り替わったか否かの判断を行う。優先状態が切り替わった場合、CPU108は、それまでの評価において、記録予定画像としてDRAM106に記録されている画像を画像記録部107へ記録して(ステップS404)、図6AのステップS201に戻り、撮像処理を行う。
In step S403 of FIG. 6B, the
このように、優先状態が切り替わるときに、画像の記録動作を行うことで、目開き優先状態、目瞑り優先状態において、撮影書の所望の画像を、それぞれ記録することが可能である。 As described above, by performing the image recording operation when the priority state is switched, it is possible to record a desired image of the photographed document in the opening priority state and the eye closing priority state.
上記第2の実施形態によれば、目開き、目瞑りの優先状態が切り替わったときに、目開き顔評価値、目瞑り顔評価値を算出するので、処理速度や処理効率を向上させることが可能となる。 According to the second embodiment, the opening face evaluation value and the eye closing face evaluation value are calculated when the priority of eye opening and eye closing is switched, so that the processing speed and processing efficiency can be improved. It becomes possible.
上記実施形態では、本発明を撮像装置に適用した場合について説明したが、これに限定されず、画像処理装置であってもよいことは云うまでもない。なお、画像処理装置に適用された場合、撮像機能がなく、撮影終了指示や撮影枚数のカウント等を行わないことから、例えば、図3B、図6BのステップS228〜S230については削除されていてもよい。 In the above-described embodiment, the case where the present invention is applied to the imaging apparatus has been described. However, the present invention is not limited to this and may be an image processing apparatus. Note that when applied to an image processing apparatus, since there is no imaging function and no shooting end instruction or the number of shots is counted, for example, steps S228 to S230 in FIGS. 3B and 6B may be deleted. Good.
また、上記実施形態では、連写撮影に適用した場合について説明したが、これに限定されず、動画撮影を行った際のそれぞれのフレーム画像に対して画像評価値を付与する場合にも適用できる。すなわち、動画の中から、画像評価値の高いフレーム画像を抽出したり、画像評価値を用いて連続するフレーム画像を区切る位置の目安としたりすることが可能となる。
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
Moreover, although the case where it applied to continuous shooting was demonstrated in the said embodiment, it is not limited to this, It can apply also when giving an image evaluation value with respect to each frame image at the time of video shooting. . In other words, it is possible to extract a frame image having a high image evaluation value from the moving image, or to use it as a guideline for a position where continuous frame images are separated using the image evaluation value.
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.
101 撮像レンズ
102 撮像素子
104 画像処理部
108 システム制御部(CPU)
114 顔検出部
115 笑顔検出部
116 目領域検出部
117 目瞑り検出部
118 視線検出部
DESCRIPTION OF
114
Claims (11)
前記撮像手段から得られた画像から所定の条件に基づく第1の評価値を算出する第1の評価値算出手段と、
前記撮像手段から得られた画像から特定の被写体が目を瞑っている状態であるか、目を開いている状態であるかを判断する判断手段と、
前記撮像手段から得られた複数の画像から前記特定の被写体が目を瞑っている状態であると判断された場合は、前記特定の被写体が目を瞑っている目瞑り画像を優先する目瞑り優先状態に切り替え、前記判断手段により前記特定の被写体が目を開いている状態であると判断された場合は、前記特定の被写体が目を開いている目開き画像を優先する目開き優先状態に切り替える切り替え手段と、
前記第1の評価値から、前記画像に付与する第2の評価値を算出する第2の評価値算出手段と、
前記算出された第2の評価値に応じて、記録する画像を選択する選択手段と
を備え、
前記第2の評価値算出手段は、前記目瞑り優先状態のときに、前記判断手段により前記特定の被写体が目を瞑っている状態であると判断された場合には、目を開いている状態であると判断された場合よりも、前記第1の評価値から算出される前記第2の評価値を高くし、前記目開き優先状態のときに、前記判断手段により前記特定の被写体が目を開いている状態であると判断された場合には、目を瞑っている状態であると判断された場合よりも、前記第1の評価値から算出される前記第2の評価値を高くすることを特徴とする撮像装置。 Imaging means capable of continuously imaging a subject;
First evaluation value calculation means for calculating a first evaluation value based on a predetermined condition from an image obtained from the imaging means;
A judging means for judging whether a specific subject is in a state where his eyes are meditated or in a state where his eyes are open from the image obtained from the imaging means;
If it is determined from the plurality of images obtained from the imaging means that the specific subject is in a state of meditating eyes, priority is given to the eye-meditation image in which the specific subject is meditating eyes When the determination means determines that the specific subject is in an open state, the specific subject switches to an opening priority state that prioritizes the opening image in which the specific subject has open eyes. Switching means;
Second evaluation value calculating means for calculating a second evaluation value to be applied to the image from the first evaluation value;
Selecting means for selecting an image to be recorded in accordance with the calculated second evaluation value;
The second evaluation value calculation means is in a state where the eyes are open when the determination means determines that the specific subject is meditating in the eye-meditation priority state. The second evaluation value calculated from the first evaluation value is set higher than the case where it is determined that the specific subject is in the eye opening priority state by the determination means. When it is determined that the eye is open, the second evaluation value calculated from the first evaluation value is set higher than when it is determined that the eye is closed. An imaging apparatus characterized by the above.
前記目開き優先状態のときに、前記判断手段により前記特定の被写体が目を瞑っている状態であると判断された場合には、前記第1の評価値から第4の評価値を算出する第4の評価値算出手段とをさらに備え、
前記第2の評価値算出手段は、前記第3の評価値または前記第4の評価値から前記第2の評価値を算出することを特徴とする請求項1記載の撮像装置。 When the determination means determines that the specific subject is in an open state in the eye-meditation priority state, a third evaluation value is calculated from the first evaluation value. 3 evaluation value calculating means;
When the determination means determines that the specific subject is in a state where the eyes are meditated in the eye opening priority state, a fourth evaluation value is calculated from the first evaluation value. 4 evaluation value calculation means,
The imaging apparatus according to claim 1, wherein the second evaluation value calculation unit calculates the second evaluation value from the third evaluation value or the fourth evaluation value.
前記第4の評価値算出手段は、前記第1の評価値を下げるように前記第4の評価値を算出することを特徴とする請求項2に記載の撮像装置。 The third evaluation value calculating means calculates the third evaluation value so as to lower the first evaluation value;
The imaging apparatus according to claim 2, wherein the fourth evaluation value calculation unit calculates the fourth evaluation value so as to lower the first evaluation value.
前記選択手段は、前記撮像手段により連続して撮影された複数の画像の中から1枚だけを選択する場合、前記判断手段により連続して続いたと判断された優先状態の画像から、前記第2の評価値の高い画像を選択することを特徴とする請求項1乃至5のいずれか1項に記載の撮像装置。 The determination means determines which priority state of the eye-meditation priority state or the opening priority state has continued continuously,
In the case where only one image is selected from a plurality of images continuously captured by the imaging unit, the selection unit selects the second image from the priority state image determined to be continuously continued by the determination unit. The image pickup apparatus according to claim 1, wherein an image having a high evaluation value is selected.
前記選択手段により選択された画像を記録する記録手段は、前記切り替え手段により優先状態が切り替わったときに画像を記録することを特徴とする請求項1に記載の撮像装置。 The second evaluation value calculating means calculates the second evaluation value so as to increase the first evaluation value;
The imaging apparatus according to claim 1, wherein a recording unit that records an image selected by the selection unit records an image when a priority state is switched by the switching unit.
前記撮像手段から得られた画像から所定の条件に基づく第1の評価値を算出する第1の評価値算出工程と、
前記撮像手段から得られた画像から特定の被写体が目を瞑っている状態であるか、目を開いている状態であるかを判断する判断工程と、
前記撮像手段から得られた複数の画像から前記特定の被写体が目を瞑っている状態であると判断された場合は、前記特定の被写体が目を瞑っている目瞑り画像を優先する目瞑り優先状態に切り替え、前記判断工程にて前記特定の被写体が目を開いている状態であると判断された場合は、前記特定の被写体が目を開いている目開き画像を優先する目開き優先状態に切り替える切り替え工程と、
前記第1の評価値から、前記画像に付与する第2の評価値を算出する第2の評価値算出工程と、
前記算出された第2の評価値に応じて、記録する画像を選択する選択工程と
を備え、
前記第2の評価値算出工程では、前記目瞑り優先状態のときに、前記判断工程にて前記特定の被写体が目を瞑っている状態であると判断された場合には、目を開いている状態であると判断された場合よりも、前記第1の評価値から算出される前記第2の評価値を高くし、前記目開き優先状態のときに、前記判断工程にて前記特定の被写体が目を開いている状態であると判断された場合には、目を瞑っている状態であると判断された場合よりも、前記第1の評価値から算出される前記第2の評価値を高くすることを特徴とする画像処理方法。 In an image processing method of an imaging device including an imaging unit capable of continuously imaging a subject,
A first evaluation value calculating step of calculating a first evaluation value based on a predetermined condition from an image obtained from the imaging means;
A determination step of determining whether a specific subject is in a state where his eyes are meditated or in a state where his eyes are open from the image obtained from the imaging means;
If it is determined from the plurality of images obtained from the imaging means that the specific subject is in a state of meditating eyes, priority is given to the eye-meditation image in which the specific subject is meditating eyes When it is determined in the determination step that the specific subject is in an open state, the specific subject is set to an opening priority state in which priority is given to an open image in which the eye is open. A switching process for switching;
A second evaluation value calculating step of calculating a second evaluation value to be applied to the image from the first evaluation value;
A selection step of selecting an image to be recorded according to the calculated second evaluation value,
In the second evaluation value calculation step, if the specific subject is determined to be in a state where the eyes are meditating in the determination step, the eyes are opened. The second evaluation value calculated from the first evaluation value is set higher than when it is determined to be in the state, and the specific subject is determined in the determination step in the opening priority state. When it is determined that the eyes are open, the second evaluation value calculated from the first evaluation values is higher than when it is determined that the eyes are closed. An image processing method.
前記撮像手段から得られた画像から所定の条件に基づく第1の評価値を算出する第1の評価値算出ステップと、
前記撮像手段から得られた画像から特定の被写体が目を瞑っている状態であるか、目を開いている状態であるかを判断する判断ステップと、
前記撮像手段から得られた複数の画像から前記特定の被写体が目を瞑っている状態であると判断された場合は、前記特定の被写体が目を瞑っている目瞑り画像を優先する目瞑り優先状態に切り替え、前記判断ステップにて前記特定の被写体が目を開いている状態であると判断された場合は、前記特定の被写体が目を開いている目開き画像を優先する目開き優先状態に切り替える切り替えステップと、
前記第1の評価値から、前記画像に付与する第2の評価値を算出する第2の評価値算出ステップと、
前記算出された第2の評価値に応じて、記録する画像を選択する選択ステップと
を備え、
前記第2の評価値算出ステップでは、前記目瞑り優先状態のときに、前記判断ステップにて前記特定の被写体が目を瞑っている状態であると判断された場合には、目を開いている状態であると判断された場合よりも、前記第1の評価値から算出される前記第2の評価値を高くし、前記目開き優先状態のときに、前記判断ステップにて前記特定の被写体が目を開いている状態であると判断された場合には、目を瞑っている状態であると判断された場合よりも、前記第1の評価値から算出される前記第2の評価値を高くすることを特徴とするプログラム。 In a program for causing an imaging apparatus to execute an image processing method of an imaging apparatus including an imaging unit capable of continuously imaging a subject,
A first evaluation value calculating step of calculating a first evaluation value based on a predetermined condition from an image obtained from the imaging means;
A determination step of determining whether a specific subject is in a state where his eyes are meditated or in a state where his eyes are open from the image obtained from the imaging means;
If it is determined from the plurality of images obtained from the imaging means that the specific subject is in a state of meditating eyes, priority is given to the eye-meditation image in which the specific subject is meditating eyes When it is determined in the determining step that the specific subject is in an open state, the specific subject is set to an opening priority state that prioritizes the opening image in which the specific subject has an open eye. A switching step to switch,
A second evaluation value calculating step of calculating a second evaluation value to be given to the image from the first evaluation value;
A selection step of selecting an image to be recorded according to the calculated second evaluation value;
In the second evaluation value calculating step, the eyes are opened when it is determined in the determination step that the specific subject is meditating in the eyes in the eye-meditation priority state. The second evaluation value calculated from the first evaluation value is set higher than when it is determined to be in the state, and the specific subject is determined in the determination step in the opening priority state. When it is determined that the eyes are open, the second evaluation value calculated from the first evaluation values is higher than when it is determined that the eyes are closed. The program characterized by doing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010173623A JP2012034276A (en) | 2010-08-02 | 2010-08-02 | Imaging apparatus and image processing method, and image processing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010173623A JP2012034276A (en) | 2010-08-02 | 2010-08-02 | Imaging apparatus and image processing method, and image processing program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2012034276A true JP2012034276A (en) | 2012-02-16 |
Family
ID=45847128
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010173623A Pending JP2012034276A (en) | 2010-08-02 | 2010-08-02 | Imaging apparatus and image processing method, and image processing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2012034276A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017134765A1 (en) * | 2016-02-03 | 2017-08-10 | オリンパス株式会社 | Imaging device, image processing device, image processing method, and image processing program |
-
2010
- 2010-08-02 JP JP2010173623A patent/JP2012034276A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017134765A1 (en) * | 2016-02-03 | 2017-08-10 | オリンパス株式会社 | Imaging device, image processing device, image processing method, and image processing program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9060158B2 (en) | Image pickup apparatus that continuously takes images to obtain multiple images, control method therefor, and storage medium | |
JP4196714B2 (en) | Digital camera | |
US8077215B2 (en) | Apparatus for detecting blinking state of eye | |
JP4720810B2 (en) | Image processing apparatus, imaging apparatus, image processing method, and image processing program | |
KR100924685B1 (en) | Imaging apparatus and control method thereof | |
KR101795601B1 (en) | Apparatus and method for processing image, and computer-readable storage medium | |
JP4819001B2 (en) | Imaging apparatus and method, program, image processing apparatus and method, and program | |
EP2741293A1 (en) | Video processing apparatus and method | |
KR101537948B1 (en) | Photographing method and apparatus using pose estimation of face | |
KR101755598B1 (en) | Digital photographing apparatus and control method thereof | |
JP2008131204A (en) | Imaging apparatus and its control method and program and storage medium | |
KR20100048600A (en) | Image photography apparatus and method for proposing composition based person | |
JP5623256B2 (en) | Imaging apparatus, control method thereof, and program | |
KR20100055946A (en) | Method and apparatus for generating thumbnail of moving picture | |
JP5759170B2 (en) | TRACKING DEVICE AND ITS CONTROL METHOD | |
US8988545B2 (en) | Digital photographing apparatus and method of controlling the same | |
US20130222635A1 (en) | Digital photographing apparatus and method of controlling the same | |
KR20110032250A (en) | Method for auto focusing, medium for recording the method and apparatus applying the method | |
KR20120025341A (en) | Digital photographing apparatus and control method thereof | |
JP5370555B2 (en) | Imaging apparatus, imaging method, and program | |
JP2012231327A (en) | Imaging apparatus, imaging method, and program | |
JP5383308B2 (en) | Image processing device | |
JP2014225763A (en) | Imaging apparatus, control method of the same, program, and storage medium | |
JP2009182880A (en) | Imaging apparatus and its program | |
JP2012034276A (en) | Imaging apparatus and image processing method, and image processing program |