JP2012252383A - Imaging apparatus, moving picture reproducing apparatus and imaging method - Google Patents

Imaging apparatus, moving picture reproducing apparatus and imaging method Download PDF

Info

Publication number
JP2012252383A
JP2012252383A JP2011122391A JP2011122391A JP2012252383A JP 2012252383 A JP2012252383 A JP 2012252383A JP 2011122391 A JP2011122391 A JP 2011122391A JP 2011122391 A JP2011122391 A JP 2011122391A JP 2012252383 A JP2012252383 A JP 2012252383A
Authority
JP
Japan
Prior art keywords
eye
eye opening
rate
unit
image data
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.)
Withdrawn
Application number
JP2011122391A
Other languages
Japanese (ja)
Inventor
Masanaga Tsuji
勝長 辻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Original Assignee
Panasonic Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp filed Critical Panasonic Corp
Priority to JP2011122391A priority Critical patent/JP2012252383A/en
Publication of JP2012252383A publication Critical patent/JP2012252383A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Studio Devices (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To effectively correct an opening/closing proportion of the eyes of a subject person when the opening/closing proportion of the eyes of the subject person in taken image data is inappropriate.SOLUTION: An imaging apparatus includes: a face detection part for detecting the face of a subject person in input image data; an eye opening/closing proportion determination part for determining an opening/closing proportion of the eyes of the subject person on the basis of a face image including the face detected by the face detection part in the image data; a storage part for storing eye opening/closing proportion information including the opening/closing proportion of the eyes of the subject person determined by the eye opening/closing proportion determination part; a comparison part for comparing the opening/closing proportion of the eyes of the subject person determined by the eye opening/closing proportion determination part with an eye opening/closing proportion obtained by multiplying the eye opening/closing proportion in the stored eye opening/closing proportion information by a specific correction allowable ratio; and a correction part for correcting the eye opening/closing proportion determined by the eye opening/closing proportion determination part according to a comparison result given by the comparison part.

Description

本発明は、人物等の被写体を撮像する撮像装置、動画再生装置及び撮像方法に関する。   The present invention relates to an imaging apparatus, a moving image reproduction apparatus, and an imaging method for imaging a subject such as a person.

一人又は複数の被写体人物の写真を撮像すると、被写体人物が撮像の瞬間に瞬きをしたり、又は半目の状態となったりする場合がある。人物の写真においては、目の閉じた状態又は半目の状態は品質的に好ましくなく、被写体人物も当該写真を気に入らない傾向が強い。写真の撮り直しが可能な場合には撮り直せば良いが、写真の撮り直しが困難な場合には、撮影後の写真の修正が必要となり煩雑な作業が要求される。   When taking a picture of one or more subject persons, the subject person may blink at the moment of imaging or may be in a half-eye state. In a photograph of a person, the closed state or half-eye state is not preferable in terms of quality, and the subject person has a strong tendency to not like the photograph. If it is possible to retake a picture, it is sufficient to take it again. However, if it is difficult to take a picture again, it is necessary to correct the photograph after taking a picture, and a complicated operation is required.

目の閉じた人物画像に対して目を開かせる画像処理を行うことによって撮影の失敗を修正する画像処理装置として、例えば、特許文献1が知られている。   For example, Patent Document 1 is known as an image processing apparatus that corrects a shooting failure by performing image processing for opening eyes on a person image with closed eyes.

特許文献1の画像処理装置は、入力された画像データが目のつむっている状態の人物の画像に対し、開いている状態の目の画像に修正する。具体的には、画像処理装置は、開いている目の画像のサンプルを複数用意し、当該用意されている複数のサンプルのうち選択されたサンプルの画像を用いて、目のつむっている画像に対し、同一人物の開いている目の画像を合成する。この様な画像処理装置によれば、目の閉じた人物画像に対して目を開かせる処理を行うことができ、撮影の失敗を修正した画像を出力できる。   The image processing apparatus of Patent Document 1 corrects an image of a person whose input image data is in an eye-open state to an eye image in an open state. Specifically, the image processing apparatus prepares a plurality of open eye image samples, and uses the selected sample image of the prepared plurality of samples to generate an eye-open image. On the other hand, the images of the eyes of the same person are combined. According to such an image processing apparatus, it is possible to perform a process of opening eyes on a person image with closed eyes and output an image in which shooting failure is corrected.

特開2001−197296号公報JP 2001-197296 A

しかしながら、特許文献1の画像処理装置は、つむっている状態の目を開いている状態の目に修正するために、開いている目の画像のサンプルを複数保持するためのメモリが必要となり、当該画像処理装置の製造コストが高くなってしまう。   However, the image processing apparatus of Patent Document 1 requires a memory for holding a plurality of open eye image samples in order to correct the eyes that are pinched and open eyes. The manufacturing cost of the image processing apparatus is increased.

又、特許文献1の画像処理装置は、目のつむっている画像に対し、同一人物の開いている目の画像を合成する。目のつむっている画像を目の開いている画像に合成すると、不自然な画像となる可能性がある。このため、必ずしも被写体の人物本人の嗜好に沿う画像を出力することができるわけではないという課題が存在する。   In addition, the image processing apparatus disclosed in Patent Document 1 synthesizes an eye image of the same person with an eye-open image. Combining an image with eyes closed with an image with open eyes may result in an unnatural image. For this reason, the subject that it cannot necessarily output the image according to the subject person's own preference exists.

本発明は、上述した従来の事情に鑑みてなされたものであり、撮像された画像データにおける被写体人物の目の開閉率が不適切な場合に、被写体人物の目の開閉率を効果的に補正する撮像装置、動画再生装置及び撮像方法を提供することを目的とする。   The present invention has been made in view of the above-described conventional circumstances, and effectively corrects the open / close ratio of the subject person's eyes when the open / close ratio of the subject person's eyes in the captured image data is inappropriate. It is an object to provide an imaging device, a moving image playback device, and an imaging method.

本発明は、上述した撮像装置であって、入力された画像データにおける被写体人物の顔を検出する顔検出部と、前記画像データのうち前記顔検出部により検出された顔を基に、前記被写体人物の目の目開閉率を判定する目開閉率判定部と、前記目開閉率判定部により判定された前記被写体人物の目の目開閉率を含む目開閉率情報を記憶する記憶部と、前記目開閉率判定部により判定された前記被写体人物の目の目開閉率と、前記記憶されている前記目開閉率情報における目開閉率に所定の補正許容率を乗じた目開閉率とを比較する比較部と、前記比較部の比較結果に応じて、前記目開閉率判定部により判定された前記目開閉率を補正する補正部と、を備える。   The present invention is the above-described imaging device, wherein the subject is detected based on a face detection unit that detects the face of the subject person in the input image data, and the face detected by the face detection unit in the image data. An eye opening / closing rate determining unit that determines an eye opening / closing rate of a person's eyes; a storage unit that stores eye opening / closing rate information including an eye opening / closing rate of the subject person's eyes determined by the eye opening / closing rate determining unit; The eye opening / closing rate of the subject person determined by the eye opening / closing rate determining unit is compared with the eye opening / closing rate obtained by multiplying the eye opening / closing rate in the stored eye opening / closing rate information by a predetermined correction allowable rate. A comparison unit; and a correction unit that corrects the eye opening / closing rate determined by the eye opening / closing rate determination unit according to a comparison result of the comparison unit.

又、本発明は、上述した動画再生装置であって、画像データ及び音声データを同期して再生可能な動画再生装置であって、前記動画再生装置における動画再生時又は一時停止操作直後に入力された前記画像データにおける被写体人物の顔を検出する顔検出部と、前記画像データのうち前記顔検出部により検出された顔を基に、前記被写体人物の目の目開閉率を判定する目開閉率判定部と、前記目開閉率判定部により判定された前記被写体人物の目の目開閉率を含む目開閉率情報を記憶する記憶部と、前記目開閉率判定部により判定された前記被写体人物の目の目開閉率と、前記記憶されている前記目開閉率情報における目開閉率に所定の補正許容率を乗じた目開閉率とを比較する比較部と、前記比較部の比較結果に応じて、前記目開閉率判定部により判定された前記目開閉率を補正する補正部と、を備え、前記補正部は、前記動画再生時に前記判定された目開閉率が前記一時停止操作直後に前記判定された目開閉率に前記所定の補正許容率を乗じた目開閉率より小さい場合に、所定の拡大率を用いて前記一時停止操作直後に前記判定された目開閉率を補正する。   In addition, the present invention is the above-described moving image reproducing device that can reproduce image data and audio data in synchronization with each other, and is input at the time of moving image reproduction or immediately after a pause operation in the moving image reproducing device. A face detection unit for detecting the face of the subject person in the image data, and an eye opening / closing rate for determining an eye opening / closing rate of the subject person based on the face detected by the face detection unit in the image data A determination unit; a storage unit that stores eye opening / closing rate information including an eye opening / closing rate of the subject person's eyes determined by the eye opening / closing rate determination unit; and a subject person determined by the eye opening / closing rate determination unit A comparison unit that compares an eye opening / closing rate with an eye opening / closing rate obtained by multiplying the eye opening / closing rate in the stored eye opening / closing rate information by a predetermined correction allowable rate, and according to a comparison result of the comparison unit , Eye opening / closing rate judgment A correction unit that corrects the eye opening / closing rate determined by the correction unit, wherein the correction unit determines that the determined eye opening / closing rate during the reproduction of the moving image is equal to the eye opening / closing rate determined immediately after the pause operation. If the eye opening / closing rate is smaller than the eye opening / closing rate multiplied by a predetermined correction allowance rate, the determined eye opening / closing rate is corrected immediately after the pause operation using a predetermined enlargement rate.

又、本発明は、上述した撮像方法であって、入力された画像データにおける被写体人物の顔を検出するステップと、前記画像データのうち前記検出された顔を基に、前記被写体人物の目の目開閉率を判定するステップと、記憶部に、前記判定された前記被写体人物の目の目開閉率を含む目開閉率情報を記憶するステップと、前記判定された前記被写体人物の目の目開閉率と、前記記憶部に記憶されている前記目開閉率情報における目開閉率に所定の補正許容率を乗じた目開閉率と、を比較するステップと、前記比較結果に応じて、前記判定された前記目開閉率を補正するステップと、を備える。   According to another aspect of the present invention, there is provided an imaging method as described above, the step of detecting a face of a subject person in input image data, and the eye of the subject person based on the detected face in the image data. A step of determining an eye open / close rate; a step of storing eye open / close rate information including an eye open / close rate of the determined subject person in the storage; and an eye open / close of the determined subject person's eye Comparing the eye opening / closing rate obtained by multiplying the eye opening / closing rate in the eye opening / closing rate information stored in the storage unit by a predetermined correction allowable rate, and the determination is made according to the comparison result. And correcting the eye opening / closing rate.

上述した構成によれば、撮像された画像データにおける被写体人物の目の開閉率が不適切な場合に、被写体人物の目の開閉率を効果的に補正することができる。   According to the configuration described above, the eye opening / closing rate of the subject person can be effectively corrected when the eye opening / closing rate of the subject person in the captured image data is inappropriate.

本発明によれば、撮像された画像データにおける被写体人物の目の開閉率が不適切な場合に、被写体人物の目の開閉率を効果的に補正することができる。   According to the present invention, when the open / close ratio of the subject person's eyes in the captured image data is inappropriate, the open / close ratio of the subject person's eyes can be effectively corrected.

第1の実施形態の撮像装置の動作概要を簡単に示す説明図Explanatory drawing which shows simply the operation | movement outline | summary of the imaging device of 1st Embodiment. 第1の実施形態の撮像装置のハードウェア構成を示すブロック図1 is a block diagram showing a hardware configuration of an imaging apparatus according to a first embodiment 第1の実施形態の撮像装置の制御部の内部構成を詳細に示すブロック図1 is a block diagram illustrating in detail an internal configuration of a control unit of an imaging apparatus according to a first embodiment. 目開閉率xの算出例の一部を示す説明図Explanatory drawing which shows a part of calculation example of eye opening / closing rate x 目開閉率xの算出例の他の一部を示す説明図Explanatory drawing which shows another one part of the example of calculation of the eye opening / closing rate x 第1の実施形態のプレビュー時における撮像装置の動作を説明するフローチャートFlowchart for explaining the operation of the imaging apparatus at the time of preview according to the first embodiment 第1の実施形態の撮像終了直後における撮像装置の動作を説明するフローチャートThe flowchart explaining operation | movement of the imaging device immediately after completion | finish of imaging of 1st Embodiment 第2の実施形態の動画再生装置の動作概要を簡単に示す説明図Explanatory drawing which shows simply the operation | movement outline | summary of the moving image reproduction apparatus of 2nd Embodiment. 第2の実施形態の動画再生装置のハードウェア構成を示すブロック図The block diagram which shows the hardware constitutions of the moving image reproducing device of 2nd Embodiment 第2の実施形態の動画再生時における動画再生装置の動作を説明するフローチャートThe flowchart explaining operation | movement of the moving image reproducing device at the time of the moving image reproduction of 2nd Embodiment 第2の実施形態の動画再生中に一時停止操作を受け付けた直後の動画再生装置の動作を説明するフローチャートThe flowchart explaining operation | movement of the moving image reproducing apparatus immediately after accepting pause operation during the moving image reproduction of 2nd Embodiment. 第3の実施形態の撮像装置の動作概要を簡単に示す説明図Explanatory drawing which shows simply the operation | movement outline | summary of the imaging device of 3rd Embodiment. 第3の実施形態の撮像装置のハードウェア構成を示すブロック図A block diagram showing hardware constitutions of an imaging device of a 3rd embodiment 第3の実施形態の右目用画像の撮像直後における撮像装置の動作を説明するフローチャートThe flowchart explaining operation | movement of the imaging device immediately after imaging of the image for right eyes of 3rd Embodiment. 第3の実施形態の左目用画像の撮像直後における撮像装置の動作を説明するフローチャートThe flowchart explaining operation | movement of the imaging device immediately after imaging of the image for left eyes of 3rd Embodiment. 第1の実施形態の変形例1の撮像装置のハードウェア構成を示すブロック図1 is a block diagram illustrating a hardware configuration of an imaging apparatus according to a first modification of the first embodiment. 第1の実施形態の変形例1の撮像装置の制御部の内部構成を詳細に示すブロック図The block diagram which shows in detail the internal structure of the control part of the imaging device of the modification 1 of 1st Embodiment. 第1の実施形態の変形例2の撮像装置のハードウェア構成を示すブロック図The block diagram which shows the hardware constitutions of the imaging device of the modification 2 of 1st Embodiment. 第1の実施形態の変形例2の撮像装置の制御部の内部構成を詳細に示すブロック図The block diagram which shows in detail the internal structure of the control part of the imaging device of the modification 2 of 1st Embodiment. 第1の実施形態の変形例3の撮像装置の制御部の内部構成を詳細に示すブロック図The block diagram which shows in detail the internal structure of the control part of the imaging device of the modification 3 of 1st Embodiment.

以下、本発明に係る撮像装置、動画再生装置及び撮像方法の実施形態について、図面を参照して説明する。本発明に係る撮像装置及び動画再生装置は、被写体を撮像可能なカメラ機能を搭載する電子機器であり、例えば携帯電話機、スマートフォン又はデジタルスチルカメラ等が挙げられる。   Hereinafter, embodiments of an imaging device, a moving image reproducing device, and an imaging method according to the present invention will be described with reference to the drawings. The imaging apparatus and the moving image playback apparatus according to the present invention are electronic devices equipped with a camera function capable of imaging a subject, and examples thereof include a mobile phone, a smartphone, a digital still camera, and the like.

なお、本発明は、撮像装置若しくは動画再生装置の様な装置、又は撮像装置若しくは動画再生装置をコンピュータとして動作させるためのプログラムとして表現することも可能である。更に、本発明は、撮像装置又は動画再生装置により実行される処理(ステップ)を含む撮像方法又は動画再生方法として表現することも可能である。即ち、本発明は、装置、方法及びプログラムのうちいずれのカテゴリーでも表現可能である。   Note that the present invention can also be expressed as an apparatus such as an imaging apparatus or a moving picture reproduction apparatus, or a program for operating the imaging apparatus or the moving picture reproduction apparatus as a computer. Furthermore, the present invention can also be expressed as an imaging method or a moving image reproduction method including processing (steps) executed by the imaging device or the moving image reproduction device. That is, the present invention can be expressed in any category of the apparatus, method, and program.

以下の各実施形態において、本発明に係る撮像装置又は動画再生装置により撮像された画像データのうち被写体人物の顔の両目の開閉度合いを示すパラメータを「目開閉率」と定義する。目開閉率の内容については図4及び図5を用いて詳細に説明する。   In each of the following embodiments, a parameter indicating the open / closed degree of both eyes of the face of the subject person is defined as “eye open / close rate” in the image data captured by the image capturing apparatus or the moving image reproducing apparatus according to the present invention. The contents of the eye opening / closing rate will be described in detail with reference to FIGS.

(第1の実施形態)
図1は、第1の実施形態の撮像装置1の動作概要を簡単に示す説明図である。第1の実施形態では、図1に示す様に、撮像装置1は、Aさん、Bさん、Cさんの集合写真の撮像のプレビュー時に、各被写体人物(Aさん、Bさん、Cさん)の目開閉率を記憶する。撮像装置1は、集合写真を撮像した直後に、撮像された画像データの各被写体人物(Aさん、Bさん、Cさん)の目開閉率のいずれか又は全部がプレビュー時の各目開閉率に比べて相当に小さい場合に、撮像された画像データの被写体人物の目開閉率を補正する。
(First embodiment)
FIG. 1 is an explanatory diagram simply showing an outline of the operation of the imaging apparatus 1 of the first embodiment. In the first embodiment, as illustrated in FIG. 1, the imaging apparatus 1 is configured to display each subject person (A-san, B-san, and C-san) at the time of previewing the group photo of A-san, B-san, and C-san. Memorize eye open / close rate. Immediately after taking the group photo, the imaging apparatus 1 sets any or all of the eye opening / closing rates of each subject person (Mr. A, Mr. B, Mr. C) of the captured image data to each eye opening / closing rate at the time of preview. If it is considerably smaller than that, the eye opening / closing rate of the subject person in the captured image data is corrected.

図1では、撮像された画像データにおいてBさんの目開閉率がプレビュー時の画像データにおけるBさんの目開閉率に比べて相当に小さいことが示されている。撮像装置1は、プレビュー時の画像データにおけるBさんの目開閉率を用いて、撮像された画像データのBさんの目開閉率を拡大する様に補正する。   FIG. 1 shows that in the captured image data, Mr. B's eye opening / closing rate is considerably smaller than Mr. B's eye opening / closing rate in the image data at the time of preview. The imaging apparatus 1 uses the Mr. B's eye opening / closing ratio in the image data at the time of preview to correct the Mr. B's eye opening / closing ratio of the captured image data to be enlarged.

図2は、第1の実施形態の撮像装置1のハードウェア構成を示すブロック図である。撮像装置1は、図2に示す様に、制御部11、操作部12、記憶部13、撮像部14、表示制御部15、表示部16、RAM(Random Access Memory)17及びROM(Read Only Memory)18を含む構成である。   FIG. 2 is a block diagram illustrating a hardware configuration of the imaging apparatus 1 according to the first embodiment. As shown in FIG. 2, the imaging device 1 includes a control unit 11, an operation unit 12, a storage unit 13, an imaging unit 14, a display control unit 15, a display unit 16, a RAM (Random Access Memory) 17, and a ROM (Read Only Memory). ) 18.

制御部11は、撮像装置1に内蔵されるCPU(Central Processing Unit)を用いて構成され、撮像装置1の各部の動作を制御する。図3は、第1の実施形態の撮像装置1の制御部11の内部構成を詳細に示すブロック図である。図3の各部の動作は、撮像装置1に内蔵されるCPUにより実現される。   The control unit 11 is configured using a CPU (Central Processing Unit) built in the imaging apparatus 1 and controls the operation of each unit of the imaging apparatus 1. FIG. 3 is a block diagram illustrating in detail the internal configuration of the control unit 11 of the imaging apparatus 1 according to the first embodiment. The operation of each unit in FIG. 3 is realized by a CPU built in the imaging apparatus 1.

制御部11は、図3に示す様に、撮像制御部21、顔検出部22、目開閉率判定部23、目開閉率管理部24、比較部25及び補正部26を含む構成である。   As shown in FIG. 3, the control unit 11 includes an imaging control unit 21, a face detection unit 22, an eye open / close rate determination unit 23, an eye open / close rate management unit 24, a comparison unit 25, and a correction unit 26.

撮像制御部21は、後述する操作部12からのユーザの操作、例えばAさん、Bさん、Cさんの集合写真を撮像(撮影)する旨の操作信号を入力する。撮像制御部21は、入力された操作信号を基に、撮像信号を撮像部14に出力する。撮像制御部21は、撮像部14により撮像された画像データを取得し、当該画像データ及び顔検出指示を顔検出部22に出力する。   The imaging control unit 21 inputs a user operation from the operation unit 12 to be described later, for example, an operation signal indicating that a group photo of Mr. A, Mr. B, and Mr. C is captured (captured). The imaging control unit 21 outputs an imaging signal to the imaging unit 14 based on the input operation signal. The imaging control unit 21 acquires the image data captured by the imaging unit 14 and outputs the image data and a face detection instruction to the face detection unit 22.

顔検出部22は、画像データ及び顔検出指示を撮像制御部21から取得し、顔検出指示を基に、画像データにおける被写体人物の顔を検出する。なお、画像データにおける被写体人物の顔を検出する技術は既に公知である。顔検出部22は、例えば図1の画像データにおける被写体人物の顔を3つ検出し、検出された各顔に対して当該各顔を識別する顔ID(Identification)を付与する。顔検出部22は、顔検出結果及び目開閉率判定指示を目開閉率判定部23に出力する。顔検出結果は、顔検出部22により付与された顔IDと、顔検出部22により顔検出の対象となった画像データとを含む。   The face detection unit 22 acquires image data and a face detection instruction from the imaging control unit 21, and detects the face of the subject person in the image data based on the face detection instruction. A technique for detecting the face of a subject person in image data is already known. For example, the face detection unit 22 detects three faces of a subject person in the image data of FIG. 1 and assigns a face ID (Identification) for identifying each face to each detected face. The face detection unit 22 outputs the face detection result and the eye opening / closing rate determination instruction to the eye opening / closing rate determination unit 23. The face detection result includes the face ID given by the face detection unit 22 and the image data subjected to face detection by the face detection unit 22.

目開閉率判定部23は、顔検出結果及び目開閉率判定指示を取得し、顔IDと共に取得された画像データ及び目開閉率判定指示を基に、同画像データにおける被写体人物の目の目開閉率を判定する。目開閉率判定部23は、顔IDと、同顔IDと共に取得された画像データに対する判定結果(目開閉率)とを目開閉率管理部24に出力する。   The eye open / close rate determination unit 23 acquires a face detection result and an eye open / close rate determination instruction, and based on the image data and the eye open / close rate determination instruction acquired together with the face ID, the eye open / close of the subject person in the image data Determine the rate. The eye opening / closing rate determination unit 23 outputs the face ID and the determination result (eye opening / closing rate) for the image data acquired together with the face ID to the eye opening / closing rate management unit 24.

ここで、目開閉率について図4及び図5を参照して説明する。図4は目開閉率xの算出例の一部を示す説明図であり、図5は目開閉率xの算出例の他の一部を示す説明図である。以下の説明において、目開閉率判定部23により判定された目開閉率をパラメータxで表し、後述する記憶部13に記憶されている目開閉率をパラメータyで表す。   Here, the eye opening / closing rate will be described with reference to FIGS. FIG. 4 is an explanatory diagram illustrating a part of a calculation example of the eye opening / closing rate x, and FIG. 5 is an explanatory diagram illustrating another part of the calculation example of the eye opening / closing rate x. In the following description, the eye opening / closing rate determined by the eye opening / closing rate determination unit 23 is represented by parameter x, and the eye opening / closing rate stored in the storage unit 13 described later is represented by parameter y.

図4の第1例において、目開閉率xは、顔検出部22により検出された顔のうち、顔の鉛直方向における高さHfに対する片目(例:右目)の鉛直方向における高さHeで表される両目の開閉度合いである。従って、図4の第1例においては、目開閉率xは数式(1)により示される。   In the first example of FIG. 4, the eye opening / closing rate x is represented by the height He in the vertical direction of one eye (for example, the right eye) with respect to the height Hf in the vertical direction of the face detected by the face detection unit 22. The degree of opening and closing of both eyes. Therefore, in the first example of FIG. 4, the eye opening / closing rate x is expressed by Equation (1).

Figure 2012252383
Figure 2012252383

又、図4の第2例において、目開閉率xは、顔検出部22により検出された顔のうち、顔の水平方向における横幅Wfに対する片目(例:右目)の鉛直方向における高さHeで表される両目の開閉度合いでも良い。なお、上述した片目として左目を用いても良く、以下同様である。従って、図4の第2例においては、目開閉率xは数式(2)により示される。   In the second example of FIG. 4, the eye opening / closing rate x is the height He in the vertical direction of one eye (eg, right eye) with respect to the horizontal width Wf of the face in the face detected by the face detection unit 22. The open / closed degree of both eyes shown may be sufficient. Note that the left eye may be used as one eye described above, and so on. Therefore, in the second example of FIG. 4, the eye opening / closing rate x is expressed by Equation (2).

Figure 2012252383
Figure 2012252383

又、図5の第3例において、目開閉率xは、顔検出部22により検出された顔のうち、顔の水平方向における片目(例:右目)の横幅Weに対する片目(例:右目)の鉛直方向における高さHeで表される両目の開閉度合いでも良い。従って、図5の第3例においては、目開閉率xは数式(3)により示される。   In the third example of FIG. 5, the eye opening / closing rate x is the one eye (eg, right eye) with respect to the lateral width We of one eye (eg, right eye) in the horizontal direction of the face detected by the face detection unit 22. The degree of opening and closing both eyes represented by the height He in the vertical direction may be used. Therefore, in the third example of FIG. 5, the eye opening / closing rate x is expressed by Equation (3).

Figure 2012252383
Figure 2012252383

又、図5の第4例において、目開閉率xは、顔検出部22により検出された顔のうち、顔の水平方向における両目の間の距離Beに対する片目(例:右目)の鉛直方向における高さHeで表される両目の開閉度合いでも良い。従って、図4の第4例においては、目開閉率xは数式(4)により示される。   In the fourth example of FIG. 5, the eye opening / closing rate x is the vertical direction of one eye (for example, the right eye) with respect to the distance Be between the eyes in the horizontal direction of the face detected by the face detection unit 22. The opening / closing degree of both eyes represented by the height He may be used. Therefore, in the fourth example of FIG. 4, the eye opening / closing rate x is expressed by Equation (4).

Figure 2012252383
Figure 2012252383

なお、数式(1)〜(4)のうちいずれかを用いた目開閉率xの算出において、被写体人物の顔の片目(例:右目又は左目)の鉛直方向における高さHeがもう片方の目(例:左目又は右目)の高さと異なる場合があり得る。目開閉率判定部23は、数式(1)〜(4)のうちいずれかを用いて目開閉率xを算出する場合において、両目の鉛直方向における各高さを平均しても良い。これにより、目開閉率判定部23は、目開閉率xを高精度に算出できる。また、目開閉率判定部23は、数式(1)〜(4)のうちいずれかを用いた目開閉率xの算出において、左目及び右目の鉛直方向における各高さHeの大きい値を選択してもよい。   In calculating the eye opening / closing rate x using any one of the formulas (1) to (4), the height He in the vertical direction of one eye (eg, right eye or left eye) of the subject person's face is the other eye. It may be different from the height of (eg left eye or right eye). The eye opening / closing rate determination unit 23 may average the heights in the vertical direction of both eyes when calculating the eye opening / closing rate x using any one of the mathematical formulas (1) to (4). Thereby, the eye opening / closing rate determination unit 23 can calculate the eye opening / closing rate x with high accuracy. Further, the eye opening / closing rate determination unit 23 selects a large value of each height He in the vertical direction of the left eye and the right eye in the calculation of the eye opening / closing rate x using any one of the mathematical formulas (1) to (4). May be.

目開閉率管理部24は、顔IDと、同顔IDと共に出力された目開閉率xを目開閉率判定部23から取得する。目開閉率管理部24は、記憶部13に同顔IDに関連付けて記憶されている目開閉率情報の目開閉率yを取得し、顔ID、目開閉率x、目開閉率y及び目開閉率xと目開閉率yとの比較指示を比較部25に出力する。目開閉率管理部24は、比較部25から出力された比較結果、比較の対象となった顔ID及び目開閉率xを基に、記憶部13に同顔IDに関連付けて記憶されている目開閉率情報の目開閉率yを目開閉率xに更新する。なお、比較部25からの比較結果は後述する。   The eye opening / closing rate management unit 24 acquires the face ID and the eye opening / closing rate x output together with the face ID from the eye opening / closing rate determination unit 23. The eye open / close rate management unit 24 acquires the eye open / close rate y of the eye open / close rate information stored in the storage unit 13 in association with the same face ID, and acquires the face ID, the eye open / close rate x, the eye open / close rate y, and the eye open / close rate. A comparison instruction between the rate x and the eye opening / closing rate y is output to the comparison unit 25. The eye opening / closing rate management unit 24 stores the eyes stored in the storage unit 13 in association with the same face ID based on the comparison result output from the comparison unit 25, the face ID to be compared and the eye opening / closing rate x. The eye opening / closing rate y in the opening / closing rate information is updated to the eye opening / closing rate x. The comparison result from the comparison unit 25 will be described later.

比較部25は、顔ID、目開閉率x、目開閉率y、及び目開閉率xと目開閉率yとの比較指示を目開閉率管理部24から取得する。比較部25は、顔IDに関連付けて記憶されている目開閉率情報の目開閉率yと、目開閉率判定部23により判定された目開閉率xとを比較する。比較部25は、目開閉率xが目開閉率yより大きい場合には、目開閉率xが目開閉率yより大きいという比較結果、比較の対象となった顔ID、及び目開閉率xを目開閉率管理部24に出力する。   The comparison unit 25 acquires from the eye opening / closing rate management unit 24 a face ID, an eye opening / closing rate x, an eye opening / closing rate y, and a comparison instruction between the eye opening / closing rate x and the eye opening / closing rate y. The comparison unit 25 compares the eye opening / closing rate y of the eye opening / closing rate information stored in association with the face ID with the eye opening / closing rate x determined by the eye opening / closing rate determination unit 23. When the eye opening / closing rate x is larger than the eye opening / closing rate y, the comparison unit 25 obtains the comparison result that the eye opening / closing rate x is larger than the eye opening / closing rate y, the face ID to be compared, and the eye opening / closing rate x. The data is output to the eye opening / closing rate management unit 24.

又、比較部25は、目開閉率yに所定の補正許容率μを乗じたパラメータμyが目開閉率xより大きい場合には、比較の対象となった顔ID、撮像制御部21に入力された画像データ、目開閉率x、目開閉率y及び補正指示を補正部26に出力する。更に、比較部25は、目開閉率yに所定の補正許容率μを乗じたパラメータμyが目開閉率x以下である場合には、撮像制御部21に入力された画像データを補正部26において補正することなく表示部16に表示する様に、表示指示を表示制御部15に出力する。   When the parameter μy obtained by multiplying the eye opening / closing rate y by a predetermined correction allowable rate μ is larger than the eye opening / closing rate x, the comparison unit 25 inputs the face ID to be compared and the imaging control unit 21. The image data, the eye open / close rate x, the eye open / close rate y, and the correction instruction are output to the correction unit 26. Further, when the parameter μy obtained by multiplying the eye opening / closing rate y by a predetermined correction allowable rate μ is equal to or smaller than the eye opening / closing rate x, the comparison unit 25 causes the correction unit 26 to store the image data input to the imaging control unit 21. A display instruction is output to the display control unit 15 so as to display on the display unit 16 without correction.

ここで、補正許容率μは、例えば被写体人物の目が少しだけつむっている様な顔の画像データが撮像された場合に当該目を拡大する様な補正を回避するために設けられた所定値であって、例えば0.8等である。但し、この補正許容率μは、比較部25の動作において予め規定されているとする。   Here, the correction allowable rate μ is, for example, a predetermined value provided in order to avoid correction that enlarges the face when the image data of a face whose subject person's eyes are slightly swollen is captured. For example, it is 0.8. However, it is assumed that the correction allowable rate μ is defined in advance in the operation of the comparison unit 25.

補正部26は、比較部25の比較の対象となった顔ID、撮像制御部21に入力された画像データ、目開閉率x、目開閉率y及び補正指示を比較部25から取得する。補正部26は、所定の拡大率を用いて、画像データの顔IDにより対応付けられる被写体人物の目の目開閉率を補正する(図1参照)。ここで、所定の拡大率は、例えば目開閉率y/目開閉率xである。補正部26は、顔IDにより対応付けられる被写体人物の目の目開閉率が補正された画像データ、及び当該画像データを表示部16に表示する旨の表示指示を表示制御部15に出力する。   The correction unit 26 acquires the face ID to be compared by the comparison unit 25, the image data input to the imaging control unit 21, the eye opening / closing rate x, the eye opening / closing rate y, and the correction instruction from the comparison unit 25. The correction unit 26 corrects the eye open / close rate of the subject person associated with the face ID of the image data using a predetermined magnification (see FIG. 1). Here, the predetermined enlargement ratio is, for example, eye opening / closing ratio y / eye opening / closing ratio x. The correction unit 26 outputs to the display control unit 15 image data in which the eye open / close ratio of the subject person associated with the face ID is corrected, and a display instruction for displaying the image data on the display unit 16.

操作部12は、ユーザが撮像装置1に対する操作を入力するためのユーザインタフェースであり、ユーザの操作内容に応じた操作信号を制御部11に出力する。例えば、操作部12は、ユーザの操作内容、例えばAさん、Bさん、Cさんの集合写真を撮像(撮影)する旨の操作信号を制御部11に出力する。   The operation unit 12 is a user interface for a user to input an operation on the imaging apparatus 1, and outputs an operation signal corresponding to the operation content of the user to the control unit 11. For example, the operation unit 12 outputs to the control unit 11 an operation signal indicating that the user's operation content, for example, a group photo of Mr. A, Mr. B, and Mr. C is taken (photographed).

操作部12は、例えば、撮像装置1が携帯電話機である場合には、電話番号等を入力するテンキー、オンフック又はオフフックを行う通話器キー及びファンクションキー等の各種キーで構成可能である。又、操作部12は、表示部16の上に配置され、ユーザの指又はスタイラスペン等による入力操作を受け付け可能なタッチパネルで構成されても良い。   For example, when the imaging apparatus 1 is a mobile phone, the operation unit 12 can be configured with various keys such as a numeric keypad for inputting a telephone number, a telephone key for performing on-hook or off-hook, and a function key. The operation unit 12 may be a touch panel that is arranged on the display unit 16 and can accept an input operation with a user's finger or a stylus pen.

記憶部13は、撮像装置1に内蔵されるハードディスク又はフラッシュメモリを用いて構成され、撮像部14により撮像された画像データ、及び、顔IDと同顔IDに対応付けられた目開閉率yとが関連付けられた目開閉率情報を記憶している。   The storage unit 13 is configured by using a hard disk or a flash memory built in the imaging apparatus 1, and includes image data captured by the imaging unit 14, and an eye opening / closing rate y associated with the face ID and the same face ID. Is stored.

撮像部14は、撮像装置1に内蔵されるレンズ、ファインダー及びCCD(Charged Couples Device)素子を含みカメラ機能を搭載する機構を用いて構成され、制御部11から出力された撮像信号を基に、ファインダーを介して映し出されている被写体(例:人物)を撮像する。撮像部14は、撮像により生成された画像データを制御部11に出力する。   The imaging unit 14 is configured using a mechanism that includes a lens, a finder, and a CCD (Charged Couples Device) element built in the imaging device 1 and has a camera function. Based on the imaging signal output from the control unit 11, Take an image of a subject (eg, a person) projected through the viewfinder. The imaging unit 14 outputs image data generated by imaging to the control unit 11.

表示制御部15は、撮像装置1に内蔵されるCPUを用いて構成され、制御部11から出力された表示指示及び画像データを取得し、表示指示に基づいて画像データを表示部16に表示する。   The display control unit 15 is configured using a CPU built in the imaging apparatus 1, acquires a display instruction and image data output from the control unit 11, and displays image data on the display unit 16 based on the display instruction. .

表示部16は、LCD(Liquid Crystal Display)を用いて構成され、表示制御部15の制御の下で、ユーザの操作に応じて撮像部14によって撮像された画像データ、又は当該画像データが制御部11によって補正された補正後の画像データを表示する。   The display unit 16 is configured using an LCD (Liquid Crystal Display), and the image data captured by the imaging unit 14 in accordance with a user operation under the control of the display control unit 15 or the image data is stored in the control unit. The corrected image data corrected by 11 is displayed.

RAM17は、制御部11、操作部12、撮像部14又は表示制御部15の各動作におけるワークメモリとして動作する。なお、図2においては、操作部12、撮像部14又は表示制御部15からRAM17への矢印の図示を省略している。   The RAM 17 operates as a work memory in each operation of the control unit 11, the operation unit 12, the imaging unit 14, or the display control unit 15. In FIG. 2, an arrow from the operation unit 12, the imaging unit 14, or the display control unit 15 to the RAM 17 is omitted.

ROM18は、撮像装置1における制御部11及び表示制御部15の各動作が予め規定されたプログラムを記憶している。なお、制御部11は、ハードウェア又はソフトウェアで構成することが可能である。特に、制御部11がソフトウェアにより構成される際には、撮像装置1に内蔵されているCPUが制御部11の各動作が予め規定されたプログラムをROM18から読み出すことにより、制御部11が動作可能となる。なお、図2においては、ROM18への矢印の図示を省略している。   The ROM 18 stores a program in which the operations of the control unit 11 and the display control unit 15 in the imaging apparatus 1 are defined in advance. The control unit 11 can be configured by hardware or software. In particular, when the control unit 11 is configured by software, the CPU incorporated in the imaging device 1 reads the program in which each operation of the control unit 11 is defined in advance from the ROM 18 so that the control unit 11 can operate. It becomes. In FIG. 2, the illustration of the arrow to the ROM 18 is omitted.

次に、第1の実施形態のプレビュー時における撮像装置1の動作を、図6を参照して詳細に説明する。図6は、第1の実施形態のプレビュー時における撮像装置1の動作を説明するフローチャートである。図6の説明においては、必要に応じて図1の撮像装置1の動作概要を参照する。   Next, the operation of the imaging apparatus 1 during preview according to the first embodiment will be described in detail with reference to FIG. FIG. 6 is a flowchart for explaining the operation of the imaging apparatus 1 during the preview according to the first embodiment. In the description of FIG. 6, the operation outline of the imaging apparatus 1 of FIG. 1 is referred to as necessary.

図6において、撮像制御部21は、撮像部14により撮像された画像データを取得し(S11)、当該画像データ及び顔検出指示を顔検出部22に出力する。顔検出部22は、画像データ及び顔検出指示を撮像制御部21から取得し、画像データにおける被写体人物の顔を検出する(S12)。ステップS12の顔検出によって検出された被写体人物は3人であるとする(図1参照)。   In FIG. 6, the imaging control unit 21 acquires image data captured by the imaging unit 14 (S11), and outputs the image data and a face detection instruction to the face detection unit 22. The face detection unit 22 acquires image data and a face detection instruction from the imaging control unit 21, and detects the face of the subject person in the image data (S12). It is assumed that there are three subject persons detected by the face detection in step S12 (see FIG. 1).

顔検出部22は、ステップS12の顔検出によって検出された被写体人物を表す顔IDのパラメータをjと定義し、第1番目の被写体人物の顔ID(即ちj=1、S13)における顔検出結果及び目開閉率判定指示を目開閉率判定部23に出力する。なお、第1番目の被写体人物の顔IDにおける顔検出結果は、顔IDと、顔検出部22により顔検出の対象となった画像データとを含む。又、パラメータjの最大値は、ステップS12の顔検出時に顔検出部22によって判明しているとする。   The face detection unit 22 defines the parameter of the face ID representing the subject person detected by the face detection in step S12 as j, and the face detection result in the face ID of the first subject person (ie, j = 1, S13). The eye opening / closing rate determination instruction is output to the eye opening / closing rate determination unit 23. Note that the face detection result for the face ID of the first subject person includes the face ID and the image data subjected to face detection by the face detection unit 22. Further, it is assumed that the maximum value of the parameter j is known by the face detection unit 22 when the face is detected in step S12.

目開閉率判定部23は、顔検出結果及び目開閉率判定指示を顔検出部22から取得し、顔IDと共に取得された画像データを基に、同画像データにおける第1番目の被写体人物の目の目開閉率xを判定する(S14)。目開閉率判定部23は、顔IDと、同顔IDと共に取得された画像データに対する判定結果(目開閉率x)とを目開閉率管理部24に出力する。   The eye opening / closing rate determination unit 23 acquires a face detection result and an eye opening / closing rate determination instruction from the face detection unit 22, and based on the image data acquired together with the face ID, the eye of the first subject person in the image data The eye open / close rate x is determined (S14). The eye opening / closing rate determination unit 23 outputs the face ID and the determination result (eye opening / closing rate x) for the image data acquired together with the face ID to the eye opening / closing rate management unit 24.

目開閉率管理部24は、顔IDと、同顔IDと共に出力された目開閉率xを目開閉率判定部23から取得する。目開閉率管理部24は、記憶部13に同顔IDに関連付けて記憶されている目開閉率情報の目開閉率yを取得し(S15)、顔ID、目開閉率x、目開閉率y及び目開閉率xと目開閉率yとの比較指示を比較部25に出力する。   The eye opening / closing rate management unit 24 acquires the face ID and the eye opening / closing rate x output together with the face ID from the eye opening / closing rate determination unit 23. The eye open / close rate management unit 24 acquires the eye open / close rate y of the eye open / close rate information stored in the storage unit 13 in association with the same face ID (S15), and the face ID, the eye open / close rate x, and the eye open / close rate y. In addition, a comparison instruction between the eye opening / closing rate x and the eye opening / closing rate y is output to the comparison unit 25.

比較部25は、顔ID、目開閉率x、目開閉率y、及び目開閉率xと目開閉率yとの比較指示を目開閉率管理部24から取得する。比較部25は、顔IDに関連付けて記憶されている目開閉率情報の目開閉率yと、目開閉率判定部23により判定された目開閉率xとを比較する(S16)。   The comparison unit 25 acquires from the eye opening / closing rate management unit 24 a face ID, an eye opening / closing rate x, an eye opening / closing rate y, and a comparison instruction between the eye opening / closing rate x and the eye opening / closing rate y. The comparison unit 25 compares the eye opening / closing rate y of the eye opening / closing rate information stored in association with the face ID with the eye opening / closing rate x determined by the eye opening / closing rate determination unit 23 (S16).

目開閉率xが目開閉率yより大きい場合には(S16、YES)、比較部25は、目開閉率xが目開閉率yより大きいという比較結果、比較の対象となった顔ID、及び目開閉率xを目開閉率管理部24に出力する。目開閉率管理部24は、比較部25から出力された比較結果、比較の対象となった顔ID及び目開閉率xを基に、記憶部13に同顔IDに関連付けて記憶されている目開閉率情報の目開閉率yを目開閉率xに更新する(S17)。目開閉率管理部24は、記憶部13に同顔IDに関連付けて記憶されている目開閉率情報の目開閉率yを目開閉率xに更新した旨を比較部25に出力する。   When the eye opening / closing rate x is larger than the eye opening / closing rate y (S16, YES), the comparison unit 25 determines that the comparison result that the eye opening / closing rate x is larger than the eye opening / closing rate y, the face ID to be compared, and The eye opening / closing rate x is output to the eye opening / closing rate management unit 24. The eye opening / closing rate management unit 24 stores the eyes stored in the storage unit 13 in association with the same face ID based on the comparison result output from the comparison unit 25, the face ID to be compared and the eye opening / closing rate x. The eye opening / closing rate y in the opening / closing rate information is updated to the eye opening / closing rate x (S17). The eye opening / closing rate management unit 24 outputs to the comparison unit 25 that the eye opening / closing rate y of the eye opening / closing rate information stored in the storage unit 13 in association with the same face ID is updated to the eye opening / closing rate x.

目開閉率xが目開閉率y未満である場合には(S16、NO)、又はステップS17の後、比較部25は、パラメータjをインクリメントし(S18)、同一の画像データにおいて次の顔IDに対する目開閉率判定指示を目開閉率判定部23に出力する。図6において、ステップS18においてインクリメントされたパラメータjがパラメータjの最大値を超えるまで(S19、NO)、ステップS14〜S18の各動作が繰り返される。パラメータjがパラメータjの最大値を超えると(S19、YES)、図6の撮像装置1のプレビュー時における動作は終了する。   When the eye opening / closing rate x is less than the eye opening / closing rate y (S16, NO), or after step S17, the comparison unit 25 increments the parameter j (S18), and the next face ID in the same image data. Outputs an eye opening / closing rate determination instruction to the eye opening / closing rate determination unit 23. In FIG. 6, the operations in steps S14 to S18 are repeated until the parameter j incremented in step S18 exceeds the maximum value of the parameter j (S19, NO). When the parameter j exceeds the maximum value of the parameter j (S19, YES), the operation of the imaging device 1 in FIG.

次に、第1の実施形態の撮像終了直後における撮像装置1の動作を、図7を参照して説明する。図7は、第1の実施形態の撮像終了直後における撮像装置1の動作を説明するフローチャートである。図7の説明においては、必要に応じて図1の撮像装置1の動作概要を参照する。   Next, the operation of the imaging apparatus 1 immediately after the end of imaging according to the first embodiment will be described with reference to FIG. FIG. 7 is a flowchart for explaining the operation of the imaging apparatus 1 immediately after the end of imaging according to the first embodiment. In the description of FIG. 7, the operation outline of the imaging device 1 of FIG. 1 is referred to as necessary.

図7において、撮像制御部21は、撮像部14により撮像された画像データを取得し(S21)、当該画像データ及び顔検出指示を顔検出部22に出力する。顔検出部22は、画像データ及び顔検出指示を撮像制御部21から取得し、画像データにおける被写体人物の顔を検出する(S22)。ステップS22の顔検出によって検出された被写体人物は、図6のプレビュー時と同様に3人であるとする(図1参照)。   In FIG. 7, the imaging control unit 21 acquires image data captured by the imaging unit 14 (S 21), and outputs the image data and a face detection instruction to the face detection unit 22. The face detection unit 22 acquires image data and a face detection instruction from the imaging control unit 21, and detects the face of the subject person in the image data (S22). Assume that the number of subject persons detected by the face detection in step S22 is three as in the preview of FIG. 6 (see FIG. 1).

顔検出部22は、ステップS12の顔検出によって検出された被写体人物を表す顔IDのパラメータをjと定義し、第1番目の被写体人物の顔ID(即ちj=1、S23)における顔検出結果及び目開閉率判定指示を目開閉率判定部23に出力する。   The face detection unit 22 defines the parameter of the face ID representing the subject person detected by the face detection in step S12 as j, and the face detection result in the face ID of the first subject person (ie, j = 1, S23). The eye opening / closing rate determination instruction is output to the eye opening / closing rate determination unit 23.

目開閉率判定部23は、顔検出結果及び目開閉率判定指示を顔検出部22から取得し、顔IDと共に取得された画像データを基に、同画像データにおける第1番目の被写体人物の目の目開閉率xを判定する(S24)。目開閉率判定部23は、顔IDと、同顔IDと共に取得された画像データに対する判定結果(目開閉率x)とを目開閉率管理部24に出力する。   The eye opening / closing rate determination unit 23 acquires a face detection result and an eye opening / closing rate determination instruction from the face detection unit 22, and based on the image data acquired together with the face ID, the eye of the first subject person in the image data The eye open / close rate x is determined (S24). The eye opening / closing rate determination unit 23 outputs the face ID and the determination result (eye opening / closing rate x) for the image data acquired together with the face ID to the eye opening / closing rate management unit 24.

目開閉率管理部24は、顔IDと、同顔IDと共に出力された目開閉率xを目開閉率判定部23から取得する。目開閉率管理部24は、記憶部13に同顔IDに関連付けて記憶されている目開閉率情報の目開閉率yを取得し(S25)、顔ID、目開閉率x、目開閉率y及び目開閉率xと目開閉率yとの比較指示を比較部25に出力する。   The eye opening / closing rate management unit 24 acquires the face ID and the eye opening / closing rate x output together with the face ID from the eye opening / closing rate determination unit 23. The eye open / close rate management unit 24 acquires the eye open / close rate y of the eye open / close rate information stored in the storage unit 13 in association with the same face ID (S25), and the face ID, the eye open / close rate x, and the eye open / close rate y. In addition, a comparison instruction between the eye opening / closing rate x and the eye opening / closing rate y is output to the comparison unit 25.

比較部25は、顔ID、目開閉率x、目開閉率y、及び目開閉率xと目開閉率yとの比較指示を目開閉率管理部24から取得する。比較部25は、目開閉率yに所定の補正許容率μを乗じたパラメータμyと、目開閉率xとを比較する(S26)。   The comparison unit 25 acquires from the eye opening / closing rate management unit 24 a face ID, an eye opening / closing rate x, an eye opening / closing rate y, and a comparison instruction between the eye opening / closing rate x and the eye opening / closing rate y. The comparison unit 25 compares the parameter μy obtained by multiplying the eye opening / closing rate y by a predetermined correction allowable rate μ with the eye opening / closing rate x (S26).

パラメータμyが目開閉率xより大きい場合には(S26、YES)、比較部25は、比較の対象となった顔ID、撮像制御部21に入力された画像データ、目開閉率x、目開閉率y及び補正指示を補正部26に出力する。補正部26は、比較部25の比較の対象となった顔ID、撮像制御部21に入力された画像データ、目開閉率x、目開閉率y及び補正指示を比較部25から取得する。補正部26は、上述した所定の拡大率を用いて、画像データの顔ID(パラメータj)により対応付けられる被写体人物の顔の目の目開閉率を補正する(S27)。   When the parameter μy is larger than the eye opening / closing rate x (S26, YES), the comparison unit 25 compares the face ID to be compared, the image data input to the imaging control unit 21, the eye opening / closing rate x, and the eye opening / closing. The rate y and the correction instruction are output to the correction unit 26. The correction unit 26 acquires the face ID to be compared by the comparison unit 25, the image data input to the imaging control unit 21, the eye opening / closing rate x, the eye opening / closing rate y, and the correction instruction from the comparison unit 25. The correction unit 26 corrects the eye open / close rate of the face of the subject person associated with the face ID (parameter j) of the image data using the predetermined magnification described above (S27).

ステップS27の後、補正部27は、パラメータjをインクリメントし(S28)、同一の画像データにおいて次の顔IDに対する目開閉率判定指示を目開閉率判定部23に出力する。なお、図3においては、補正部27から目開閉率判定部23への矢印の入力は省略している。図7において、ステップS28においてインクリメントされたパラメータjがパラメータjの最大値を超えるまで(S29、NO)、ステップS24〜S28の各動作が繰り返される。パラメータjがパラメータjの最大値を超えると(S29、YES)、図7の撮像装置1の撮像終了後における動作は終了する。   After step S27, the correction unit 27 increments the parameter j (S28), and outputs an eye opening / closing rate determination instruction for the next face ID to the eye opening / closing rate determination unit 23 in the same image data. In FIG. 3, an arrow input from the correction unit 27 to the eye opening / closing rate determination unit 23 is omitted. In FIG. 7, each operation of steps S24 to S28 is repeated until the parameter j incremented in step S28 exceeds the maximum value of the parameter j (S29, NO). When the parameter j exceeds the maximum value of the parameter j (S29, YES), the operation after the imaging of the imaging device 1 in FIG. 7 ends.

一方、パラメータμyが目開閉率x以下である場合には(S26、NO)、比較部25は、撮像制御部21に入力された画像データを補正部26において補正することなく表示部16に表示する様に、表示指示を表示制御部15に出力する。この後、比較部25は、パラメータjをインクリメントし(S28)、同一の画像データにおいて次の顔IDに対する目開閉率判定指示を目開閉率判定部23に出力する。なお、図3においては、補正部27から目開閉率判定部23への矢印の入力は省略している。図7において、ステップS28においてインクリメントされたパラメータjがパラメータjの最大値を超えるまで(S29、NO)、ステップS24〜S28の各動作が繰り返される。パラメータjがパラメータjの最大値を超えると(S29、YES)、図7の撮像装置1の撮像終了後における動作は終了する。   On the other hand, when the parameter μy is equal to or smaller than the eye opening / closing rate x (S26, NO), the comparison unit 25 displays the image data input to the imaging control unit 21 on the display unit 16 without correcting the image data by the correction unit 26. In this manner, a display instruction is output to the display control unit 15. Thereafter, the comparison unit 25 increments the parameter j (S28), and outputs an eye open / close rate determination instruction for the next face ID to the eye open / close rate determination unit 23 in the same image data. In FIG. 3, an arrow input from the correction unit 27 to the eye opening / closing rate determination unit 23 is omitted. In FIG. 7, each operation of steps S24 to S28 is repeated until the parameter j incremented in step S28 exceeds the maximum value of the parameter j (S29, NO). When the parameter j exceeds the maximum value of the parameter j (S29, YES), the operation after the imaging of the imaging device 1 in FIG. 7 ends.

以上により、第1の実施形態の撮像装置1は、例えば複数人の被写体人物の集合写真を撮像する場合において、プレビュー時に判定された各被写体人物の目の目開閉率と、記憶部に予め同被写体人物の顔IDと関連付けて記憶されている目開閉率情報の目開閉率とを比較する。比較の結果、プレビュー時において判定された各被写体人物の目の目開閉率が記憶部に記憶されている目開閉率より大きい場合には、撮像装置1は記憶部13に記憶されている目開閉率を更新する。   As described above, the imaging apparatus 1 according to the first embodiment, for example, when capturing a group photo of a plurality of subject persons, stores the eye opening / closing ratio of each subject person determined at the time of previewing in advance in the storage unit. The eye open / close rate of the eye open / close rate information stored in association with the face ID of the subject person is compared. As a result of the comparison, when the eye open / close rate of each subject person determined at the time of preview is larger than the eye open / close rate stored in the storage unit, the imaging device 1 stores the eye open / close stored in the storage unit 13. Update rate.

即ち、被写体人物毎に目の大きさは異なるため、目の拡大補正を全被写体人物に対して一律に行うと、目の大きさが被写体人物本人の意図しない大きさに補正されてしまう。この様な一律な拡大補正を回避するため、撮像装置1は、プレビュー時に、各被写体人物の顔IDに対して判定された目開閉率と、記憶部に記憶されている目開閉率とを比較し、目をつむっている状態又は半目の状態の写真とならない様に大きい値を有する目開閉率を記憶部に記憶する。   In other words, since the size of the eyes is different for each subject person, when the eye enlargement correction is uniformly performed on all subject persons, the eye size is corrected to an unintended size of the subject person himself / herself. In order to avoid such uniform enlargement correction, the imaging apparatus 1 compares the eye open / close rate determined for the face ID of each subject person with the eye open / close rate stored in the storage unit during preview. Then, the eye opening / closing rate having a large value is stored in the storage unit so as not to be a photograph of a state of eye-opening or a state of half-eye.

更に、撮像装置1は、集合写真の撮像直後に、同様に各被写体人物の目の目開閉率を判定し、この目開閉率と記憶部に同顔IDと関連付けて記憶されている目開閉率情報の目開閉率とを比較する。この比較結果に応じて、撮像装置1は、撮像された画像データにおいて各被写体人物の目の目開閉率が当該各被写体人物の意図しない様な目開閉率となった場合でも、プレビュー時において記憶部に記憶された目開閉率を用いて目を拡大可能に補正する。   Further, immediately after the group photo is taken, the imaging apparatus 1 similarly determines the eye open / close rate of each subject person's eyes, and the eye open / close rate stored in association with the same face ID in the storage unit. Compare the eye opening / closing rate of information. In accordance with the comparison result, the imaging apparatus 1 stores at the time of previewing even when the eye opening / closing rate of each subject person becomes an unintended eye opening / closing rate in the captured image data. The eye opening / closing ratio stored in the unit is used to correct the eye so that it can be enlarged.

従って、撮像装置1によれば、撮像された画像データにおける被写体の人物の目の開閉率が不適切な場合に、被写体の人物の目の開閉率を効果的に補正することができる。   Therefore, according to the imaging device 1, when the opening / closing rate of the subject's human eye in the captured image data is inappropriate, the opening / closing rate of the subject's human eye can be effectively corrected.

(第2の実施形態)
図8は、第2の実施形態の動画再生装置の動作概要を簡単に示す説明図である。第2の実施形態では、図8に示す様に、動画再生装置は、記憶部に記憶されているAさん、Bさん、Cさんの動画データを再生している時に、動画を構成している各画像データの各被写体人物(Aさん、Bさん、Cさん)の目開閉率を判定して記憶する。動画再生装置は、ユーザの操作として一時停止操作を受け付けた時に、一時停止操作を受け付けた時の画像データの各被写体人物(Aさん、Bさん、Cさん)の目開閉率のいずれか又は全部が動作再生時に記憶された各目開閉率に比べて相当に小さい場合に、一時停止操作を受け付けた時の画像データの被写体人物の目開閉率を補正する。
(Second Embodiment)
FIG. 8 is an explanatory diagram simply showing an outline of the operation of the moving image playback apparatus of the second embodiment. In the second embodiment, as shown in FIG. 8, the moving image reproducing apparatus forms a moving image when reproducing the moving image data of Mr. A, Mr. B, and Mr. C stored in the storage unit. The eye open / close ratio of each subject person (Mr. A, Mr. B, Mr. C) in each image data is determined and stored. When the video playback device accepts a pause operation as a user operation, any or all of the eye open / close rates of each subject person (Mr. A, Mr. B, Mr. C) of the image data when the pause operation is accepted Is considerably smaller than each eye opening / closing rate stored during operation reproduction, the eye opening / closing rate of the subject person in the image data when the pause operation is accepted is corrected.

図8では、一時停止操作を受け付けた時の画像データにおいてBさんの目開閉率が動作再生時のBさんの目開閉率に比べて相当に小さいことが示されている。動画再生装置は、動画再生時の画像データにおけるBさんの目開閉率を用いて、一時停止操作を受け付けた時の画像データのBさんの目開閉率を補正する。   FIG. 8 shows that in the image data when the pause operation is accepted, Mr. B's eye opening / closing rate is considerably smaller than Mr. B's eye opening / closing rate during operation reproduction. The moving image reproducing apparatus corrects the B eye opening / closing rate of the image data when the pause operation is received, using the B eye opening / closing rate in the image data at the time of moving image reproduction.

図9は、第2の実施形態の動画再生装置1bのハードウェア構成を示すブロック図である。動画再生装置1bは、図9に示す様に、制御部11、操作部12b、記憶部13、撮像部14、動作再生制御部31、表示部16、音声出力部32、RAM17及びROM18を含む構成である。図9において、図2の各部の説明と同様の内容の説明は省略し、異なる内容について説明する。なお、図9の動画再生装置1bは撮像部14を含む様に構成しているが、撮像部14を含まない様に構成しても良い。更に、動画再生装置1bは、撮像部14を含む様に構成している場合には、撮像部14を含むという観点において撮像装置とも考えられても良い。   FIG. 9 is a block diagram illustrating a hardware configuration of the moving image playback device 1b according to the second embodiment. As shown in FIG. 9, the moving image playback device 1 b includes a control unit 11, an operation unit 12 b, a storage unit 13, an imaging unit 14, an operation playback control unit 31, a display unit 16, an audio output unit 32, a RAM 17, and a ROM 18. It is. In FIG. 9, description of the same contents as those of the respective parts in FIG. 2 is omitted, and different contents are described. 9 is configured so as to include the imaging unit 14, it may be configured not to include the imaging unit 14. Furthermore, when the moving image reproducing device 1b is configured to include the imaging unit 14, it may be considered as an imaging device in terms of including the imaging unit 14.

記憶部13は、第2の実施形態の動画再生装置1bが再生する動画データを記憶している。   The storage unit 13 stores moving image data to be reproduced by the moving image reproducing device 1b of the second embodiment.

動画再生制御部31は、動画再生装置1bに内蔵されるCPUを用いて構成され、操作部12bが受け付けたユーザ操作により選択された動画再生の操作信号を取得する。動画再生制御部31は、操作部12bからの動画再生の操作信号に基づいて、再生対象となる動画データを記憶部13から読み出す。   The moving image playback control unit 31 is configured by using a CPU built in the moving image playback device 1b, and acquires a moving image playback operation signal selected by a user operation received by the operation unit 12b. The moving image reproduction control unit 31 reads out moving image data to be reproduced from the storage unit 13 based on a moving image reproduction operation signal from the operation unit 12b.

動画再生制御部31は、読み出された動画データを基に、操作部12bが受け付けたユーザ操作により選択された動画の映像信号(画像信号)及び音声信号を同期させる様に、同映像信号を表示部16に、同音声信号を音声出力部32にそれぞれ出力する。更に、動画再生制御部31は、動画データの再生時には、動画データを構成する複数の画像データを制御部11に出力している。   Based on the read video data, the video playback control unit 31 synchronizes the video signal so as to synchronize the video signal (image signal) and audio signal of the video selected by the user operation received by the operation unit 12b. The same audio signal is output to the audio output unit 32 on the display unit 16. Furthermore, the moving image reproduction control unit 31 outputs a plurality of image data constituting the moving image data to the control unit 11 when reproducing the moving image data.

動画再生制御部31は、操作部12bがユーザ操作として再生中の動画の一時停止操作を受け付けた時、操作部12bから動画の一時停止操作の操作信号を取得する。動画再生制御部31は、操作部12bからの動画の一時停止操作の操作信号に基づいて、一時停止時における動画を構成する画像データを制御部11に出力する。   The moving image reproduction control unit 31 acquires an operation signal of a moving image pause operation from the operation unit 12b when the operation unit 12b receives a pause operation of a moving image being reproduced as a user operation. The moving image reproduction control unit 31 outputs image data constituting the moving image at the time of suspension to the control unit 11 based on the operation signal of the moving image pause operation from the operation unit 12b.

音声出力部32は、スピーカ等で構成され、動画再生制御部31から出力された動画の音声信号を入力し、同音声信号を出力する。   The audio output unit 32 is configured by a speaker or the like, and receives the audio signal of the moving image output from the moving image reproduction control unit 31 and outputs the audio signal.

次に、第2の実施形態の動画再生時における動画再生装置1bの動作を、図10を参照して説明する。図10は、第2の実施形態の動作再生時における動画再生装置1bの動作を説明するフローチャートである。図10の説明においては、図6の説明と重複する内容の説明は省略する。なお、上述した様に、図10の説明の前提として、動画再生装置1bの動画再生制御部31は、操作部12bが受け付けたユーザ操作により選択された動画を再生しているとする。   Next, the operation of the video playback device 1b during video playback according to the second embodiment will be described with reference to FIG. FIG. 10 is a flowchart for explaining the operation of the moving image playback apparatus 1b during the operation playback of the second embodiment. In the description of FIG. 10, the description of the same content as that of FIG. 6 is omitted. As described above, it is assumed that the moving image reproduction control unit 31 of the moving image reproduction device 1b is reproducing the moving image selected by the user operation received by the operation unit 12b as a premise of the description of FIG.

図10において、撮像制御部21は、動画再生制御部31から出力された画像データを取得する(S31)。撮像制御部21は、動画再生制御部31から出力された画像データ及び顔検出指示を顔検出部22に出力する。なお、図10においてステップS31以降の処理は、図6のステップS12〜S19と同様であるため、説明を省略する。   In FIG. 10, the imaging control unit 21 acquires the image data output from the moving image reproduction control unit 31 (S31). The imaging control unit 21 outputs the image data and the face detection instruction output from the moving image reproduction control unit 31 to the face detection unit 22. In FIG. 10, the processes after step S31 are the same as steps S12 to S19 in FIG.

次に、第2の実施形態の動画再生中に一時停止操作を受け付けた直後の動画再生装置1bの動作を、図11を参照して説明する。図11は、第2の実施形態の動画再生中に一時停止操作を受け付けた直後の時における動画再生装置の動作を説明するフローチャートである。図11の説明においては、必要に応じて図8の動画再生装置1bの動作概要を参照し、図7の説明と重複する内容の説明は省略する。なお、上述した様に、図11の説明の前提として、動画再生装置1bの動画再生制御部31は、動画を再生している時に操作部12bからユーザ操作(動画の一時停止操作)を受け付けた時であるとする。   Next, the operation of the video playback device 1b immediately after receiving a pause operation during video playback according to the second embodiment will be described with reference to FIG. FIG. 11 is a flowchart for explaining the operation of the video playback device immediately after receiving a pause operation during video playback according to the second embodiment. In the description of FIG. 11, the outline of the operation of the moving image playback device 1b of FIG. 8 is referred to as necessary, and the description of the contents overlapping with the description of FIG. As described above, as a premise of the description of FIG. 11, the video playback control unit 31 of the video playback device 1b accepts a user operation (video pause operation) from the operation unit 12b during playback of a video. Suppose it is time.

図11において、動画再生制御部31は、操作部12bがユーザ操作として再生中の動画の一時停止操作を受け付けた時、操作部12bから動画の一時停止操作の操作信号を取得する。動画再生制御部31は、操作部12bからの動画の一時停止操作の操作信号に基づいて、一時停止時における動画を構成する画像データを制御部11に出力する。   In FIG. 11, when the operation unit 12b receives a pause operation for a moving image being played back as a user operation, the moving image reproduction control unit 31 acquires an operation signal for a moving image pause operation from the operation unit 12b. The moving image reproduction control unit 31 outputs image data constituting the moving image at the time of suspension to the control unit 11 based on the operation signal of the moving image pause operation from the operation unit 12b.

撮像制御部21は、動画再生制御部31から出力された一時停止操作時における画像データを取得する(S41)。撮像制御部21は、動画再生制御部31から出力された画像データ及び顔検出指示を顔検出部22に出力する。なお、図11においてステップS41以降の処理は、図7のステップS22〜S29と同様であるため、説明を省略する。   The imaging control unit 21 acquires the image data at the time of the pause operation output from the moving image reproduction control unit 31 (S41). The imaging control unit 21 outputs the image data and the face detection instruction output from the moving image reproduction control unit 31 to the face detection unit 22. In FIG. 11, the processes after step S41 are the same as steps S22 to S29 in FIG.

以上により、第2の実施形態の動画再生装置1bは、例えば記憶部13に記憶されている動画データを再生中に、当該動画データを構成する各画像データに対して判定された各被写体人物の目の目開閉率と、記憶部に予め同被写体人物の顔IDと関連付けて記憶されている目開閉率情報の目開閉率とを比較する。比較の結果、再生時において動画データを構成する各画像データにおいて判定された各被写体人物の目の目開閉率が記憶部に記憶されている目開閉率より大きい場合には、撮像装置1bは記憶部13に記憶されている目開閉率を更新する。   As described above, the moving image reproducing device 1b according to the second embodiment, for example, reproduces the moving image data stored in the storage unit 13 while reproducing each object person determined for each image data constituting the moving image data. The eye open / close rate is compared with the eye open / close rate of the eye open / close rate information stored in the storage unit in advance in association with the face ID of the subject person. As a result of the comparison, when the eye open / close rate of each subject person determined in each image data constituting the moving image data during reproduction is larger than the eye open / close rate stored in the storage unit, the imaging device 1b stores The eye opening / closing rate stored in the unit 13 is updated.

更に、動画再生装置1bは、動画データの再生中においてユーザから一時停止操作を受け付けた直後に、同様に一時停止操作を受け付けた時における動画データを構成する画像データに対して各被写体人物の目の目開閉率を判定し、この目開閉率と記憶部に同顔IDと関連付けて記憶されている目開閉率情報の目開閉率とを比較する。この比較結果に応じて、動画再生装置1bは、一時停止操作を受け付けた時における画像データにおいて各被写体人物の目の目開閉率が当該各被写体人物の意図しない様な目開閉率となった場合でも、動画再生時において記憶部に記憶された目開閉率を用いて目を拡大可能に補正する。   Furthermore, immediately after receiving the pause operation from the user during the playback of the video data, the video playback device 1b also receives the eye of each subject person with respect to the image data constituting the video data when the pause operation is similarly received. The eye open / close rate is determined, and the eye open / close rate is compared with the eye open / close rate of the eye open / close rate information stored in the storage unit in association with the face ID. In accordance with the comparison result, the video playback device 1b has a case where the eye opening / closing rate of each subject person becomes an unintended eye opening / closing rate in the image data when the pause operation is received. However, when the moving image is reproduced, the eye opening / closing rate stored in the storage unit is used to correct the eye so that the eye can be enlarged.

従って、動画再生装置1bによれば、第1の実施形態の撮像装置1と同様に、一時停止操作を受け付けた時の動画データを構成する画像データにおける被写体の人物の目の開閉率が不適切な場合に、被写体の人物の目の開閉率を効果的に補正することができる。   Therefore, according to the moving image reproducing device 1b, as with the imaging device 1 of the first embodiment, the opening / closing rate of the eye of the subject person in the image data constituting the moving image data when the pause operation is accepted is inappropriate. In such a case, it is possible to effectively correct the open / close ratio of the subject's eyes.

(第3の実施形態)
図12は、第3の実施形態の撮像装置1cの動作概要を簡単に示す説明図である。第3の実施形態では、図12に示す様に、撮像装置1cは、例えばAさん、Bさん、Cさんの3D集合写真を撮像するために、例えば先ず右目用画像を撮像し、続けて左目用画像を撮像する。撮像装置1cは、上述した各実施形態の様に、右目用画像データ及び左目用画像データに対して、それぞれ各被写体人物(Aさん、Bさん、Cさん)の目開閉率を判定し、各目開閉率を比較する。
(Third embodiment)
FIG. 12 is an explanatory diagram simply showing an outline of the operation of the imaging apparatus 1c of the third embodiment. In the third embodiment, as shown in FIG. 12, the imaging device 1c, for example, first captures a right-eye image, for example, in order to capture a 3D group photo of Mr. A, Mr. B, and Mr. C. Take an image. The imaging device 1c determines the eye open / close ratio of each subject person (Mr. A, Mr. B, Mr. C) for the right-eye image data and the left-eye image data, as in the above-described embodiments, Compare eye opening and closing rates.

撮像装置1cは、図12に示す様に、左目用画像データのBさんの目開閉率が右目用画像データのBさんの目開閉率より相当に小さい場合には、左目用画像データのBさんの目開閉率を、右目用画像データのBさんの目開閉率と同じになる様に補正する。又、同様に撮像装置1cは、左目用画像データのBさんの目開閉率が右目用画像データのBさんの目開閉率より相当に大きい場合には、逆に右目用画像データのBさんの目開閉率を、左目用画像データのBさんの目開閉率と同じになる様に補正する。撮像装置1cは、右目用画像データと補正された左目用画像データとを画像合成することによって、Aさん、Bさん、Cさんの3D集合写真を生成する。又、以下の第3の実施形態においては、右目用画像及び左目用画像の順に撮像されるとして説明するが、左目用画像及び右目用画像の順に撮像されても良い。   As shown in FIG. 12, when the eye opening / closing rate of Mr. B in the left-eye image data is considerably smaller than the eye opening / closing rate of Mr. B in the right-eye image data, the imaging device 1c The eye open / close rate is corrected to be the same as the eye open / close rate of B in the right-eye image data. Similarly, when the eye opening / closing rate of Mr. B in the left-eye image data is considerably larger than the eye opening / closing rate of Mr. B in the right-eye image data, the imaging device 1c, conversely, The eye open / close rate is corrected to be the same as the eye open / close rate of Mr. B in the image data for the left eye. The imaging device 1c generates a 3D group photo of Mr. A, Mr. B, and Mr. C by synthesizing the right-eye image data and the corrected left-eye image data. Further, in the following third embodiment, it is described that the right-eye image and the left-eye image are captured in this order, but the left-eye image and the right-eye image may be captured in this order.

図13は、第3の実施形態の撮像装置1cのハードウェア構成を示すブロック図である。撮像装置1cは、図13に示す様に、制御部11、操作部12、記憶部13、撮像部14c、画像合成部41、表示制御部15、表示部16、RAM17及びRAM18を含む構成である。図13において、図2の各部の説明と同様の内容の説明は省略し、異なる内容について説明する。   FIG. 13 is a block diagram illustrating a hardware configuration of the imaging apparatus 1c according to the third embodiment. As illustrated in FIG. 13, the imaging device 1 c includes a control unit 11, an operation unit 12, a storage unit 13, an imaging unit 14 c, an image composition unit 41, a display control unit 15, a display unit 16, a RAM 17, and a RAM 18. . In FIG. 13, description of the same content as that of each part in FIG. 2 is omitted, and different content will be described.

撮像部14cは、撮像装置1cに内蔵されるレンズ、ファインダー及びCCD素子を含みカメラ機能を搭載する機構を用いて構成され、制御部11から出力された撮像信号を基に、ファインダーを介して映し出されている被写体を撮像する。更に、撮像部14cは、3D画像を撮像可能であり、例えば右目用画像を撮像し、続けて左目用画像を撮像する。撮像部14は、撮像により生成された左目用画像データ及び右目用画像をそれぞれ制御部11に出力する。   The imaging unit 14c is configured using a mechanism that includes a lens, a finder, and a CCD element built in the imaging device 1c and has a camera function, and is projected via the finder based on an imaging signal output from the control unit 11. The subject is imaged. Furthermore, the imaging unit 14c can capture a 3D image. For example, the imaging unit 14c captures a right-eye image and then a left-eye image. The imaging unit 14 outputs the left-eye image data and the right-eye image generated by imaging to the control unit 11, respectively.

画像合成部41は、制御部11から出力された左目用画像データ及び右目用画像データを取得し、左目用画像データ及び右目用画像データを画像合成して3D画像データを生成する。画像合成部41は、生成された3D画像データを表示制御部15に出力する。   The image composition unit 41 acquires the left-eye image data and the right-eye image data output from the control unit 11, and generates 3D image data by synthesizing the left-eye image data and the right-eye image data. The image composition unit 41 outputs the generated 3D image data to the display control unit 15.

次に、第3の実施形態の右目用画像の撮像直後における撮像装置1cの動作を、図14を参照して説明する。図14は、第3の実施形態の右目用画像の撮像直後における撮像装置1cの動作を説明するフローチャートである。図14の説明においては、必要に応じて図12の撮像装置1cの動作概要を参照する。   Next, the operation of the imaging apparatus 1c immediately after imaging the right-eye image of the third embodiment will be described with reference to FIG. FIG. 14 is a flowchart for explaining the operation of the imaging apparatus 1c immediately after imaging the right-eye image according to the third embodiment. In the description of FIG. 14, the operation outline of the imaging device 1 c in FIG. 12 is referred to as necessary.

図14において、撮像制御部21は、撮像部14cにより撮像された右目用画像データを取得し(S51)、当該右目用画像データ及び顔検出指示を顔検出部22に出力する。顔検出部22は、右目用画像データ及び顔検出指示を撮像制御部21から取得し、右目用画像データにおける被写体人物の顔を検出する(S12)。ステップS12の顔検出によって検出された被写体人物は3人であるとする(図12参照)。   In FIG. 14, the imaging control unit 21 acquires right-eye image data captured by the imaging unit 14 c (S <b> 51), and outputs the right-eye image data and a face detection instruction to the face detection unit 22. The face detection unit 22 acquires the image data for the right eye and the face detection instruction from the imaging control unit 21, and detects the face of the subject person in the image data for the right eye (S12). It is assumed that there are three subject persons detected by the face detection in step S12 (see FIG. 12).

顔検出部22は、ステップS12の顔検出によって検出された被写体人物を表す顔IDのパラメータをjと定義し、第1番目の被写体人物の顔ID(即ちj=1、S13)における顔検出結果及び目開閉率判定指示を目開閉率判定部23に出力する。なお、第1番目の被写体人物の顔IDにおける顔検出結果は、顔IDと、顔検出部22により顔検出の対象となった右目用画像データとを含む。又、パラメータjの最大値は、ステップS12の顔検出時に顔検出部22によって判明しているとする。   The face detection unit 22 defines the parameter of the face ID representing the subject person detected by the face detection in step S12 as j, and the face detection result in the face ID of the first subject person (ie, j = 1, S13). The eye opening / closing rate determination instruction is output to the eye opening / closing rate determination unit 23. Note that the face detection result in the face ID of the first subject person includes the face ID and the image data for the right eye that has been subject to face detection by the face detection unit 22. Further, it is assumed that the maximum value of the parameter j is known by the face detection unit 22 when the face is detected in step S12.

目開閉率判定部23は、顔検出結果及び目開閉率判定指示を顔検出部22から取得し、顔IDと共に取得された右目用画像データを基に、同右目用画像データにおける第1番目の被写体人物の目の目開閉率x1を判定する(S54)。目開閉率判定部23は、顔IDと、同顔IDと共に取得された右目用画像データに対する判定結果(目開閉率x1)とを目開閉率管理部24に出力する。   The eye opening / closing rate determination unit 23 acquires the face detection result and the eye opening / closing rate determination instruction from the face detection unit 22, and based on the right eye image data acquired together with the face ID, the first eye data in the right eye image data is obtained. The eye opening / closing rate x1 of the subject person is determined (S54). The eye opening / closing rate determination unit 23 outputs the face ID and the determination result (eye opening / closing rate x1) for the image data for the right eye acquired together with the face ID to the eye opening / closing rate management unit 24.

目開閉率管理部24は、顔IDと、同顔IDと共に出力された目開閉率x1を目開閉率判定部23から取得する。目開閉率管理部24は、顔IDと、目開閉率x1と記憶部13に記憶する(S55)。   The eye opening / closing rate management unit 24 acquires the face ID and the eye opening / closing rate x1 output together with the face ID from the eye opening / closing rate determination unit 23. The eye opening / closing rate management unit 24 stores the face ID, the eye opening / closing rate x1, and the storage unit 13 (S55).

なお、ステップS55は、次の様にしても良い。   Step S55 may be performed as follows.

具体的には、目開閉率管理部24は、同顔IDに関連付けて目開閉率情報の目開閉率yが記憶部13に予め記憶されている場合には、同顔IDに関連付けて記憶されている目開閉率情報の目開閉率yを取得し、顔ID、目開閉率x1、目開閉率y及び目開閉率x1と目開閉率yとの比較指示を比較部25に出力する。この場合、比較部25は、顔IDに関連付けて記憶されている目開閉率情報の目開閉率yと、目開閉率判定部23により判定された目開閉率x1とを比較する。目開閉率x1が目開閉率yより大きい場合に限り、比較部25は、目開閉率x1が目開閉率yより大きいという比較結果、比較の対象となった顔ID、及び目開閉率x1を目開閉率管理部24に出力する。目開閉率管理部24は、比較部25から出力された比較結果、比較の対象となった顔ID及び目開閉率x1を基に、記憶部13に同顔IDに関連付けて記憶されている目開閉率情報の目開閉率yを目開閉率x1に更新する(S55)。   Specifically, when the eye opening / closing rate y of the eye opening / closing rate information is stored in advance in the storage unit 13 in association with the face ID, the eye opening / closing rate management unit 24 stores the eye opening / closing rate in association with the face ID. The eye opening / closing rate y of the current eye opening / closing rate information is acquired, and the face ID, the eye opening / closing rate x1, the eye opening / closing rate y, and the comparison instruction between the eye opening / closing rate x1 and the eye opening / closing rate y are output to the comparison unit 25. In this case, the comparison unit 25 compares the eye opening / closing rate y of the eye opening / closing rate information stored in association with the face ID and the eye opening / closing rate x1 determined by the eye opening / closing rate determination unit 23. Only when the eye opening / closing rate x1 is larger than the eye opening / closing rate y, the comparison unit 25 obtains the comparison result that the eye opening / closing rate x1 is larger than the eye opening / closing rate y, the face ID to be compared, and the eye opening / closing rate x1. The data is output to the eye opening / closing rate management unit 24. The eye opening / closing rate management unit 24 stores the eye stored in the storage unit 13 in association with the same face ID based on the comparison result output from the comparison unit 25, the face ID to be compared and the eye opening / closing rate x1. The eye opening / closing rate y in the opening / closing rate information is updated to the eye opening / closing rate x1 (S55).

ステップS55の後、目開閉率管理部24は、パラメータjをインクリメントし(S18)、同一の右目用画像データにおいて次の顔IDに対する目開閉率判定指示を目開閉率判定部23に出力する。図14において、ステップS18においてインクリメントされたパラメータjがパラメータjの最大値を超えるまで(S19、NO)、ステップS54、S55及びS18の各動作が繰り返される。パラメータjがパラメータjの最大値を超えると(S19、YES)、図14の撮像装置1cの右目用画像の撮像直後における動作は終了する。   After step S55, the eye opening / closing rate management unit 24 increments the parameter j (S18), and outputs an eye opening / closing rate determination instruction for the next face ID to the eye opening / closing rate determination unit 23 in the same right-eye image data. In FIG. 14, the operations of steps S54, S55, and S18 are repeated until the parameter j incremented in step S18 exceeds the maximum value of the parameter j (S19, NO). When the parameter j exceeds the maximum value of the parameter j (S19, YES), the operation immediately after the imaging of the right-eye image of the imaging device 1c in FIG. 14 ends.

次に、第3の実施形態の左目用画像の撮像直後における撮像装置1cの動作を、図15を参照して説明する。図15は、第3の実施形態の左目用画像の撮像直後における撮像装置1cの動作を説明するフローチャートである。図15の説明においては、必要に応じて図12の撮像装置1cの動作概要を参照する。   Next, the operation of the imaging device 1c immediately after imaging the left-eye image of the third embodiment will be described with reference to FIG. FIG. 15 is a flowchart for explaining the operation of the imaging apparatus 1c immediately after imaging the left-eye image of the third embodiment. In the description of FIG. 15, the operation outline of the imaging device 1 c of FIG. 12 is referred to as necessary.

図15において、撮像制御部21は、撮像部14cにより撮像された左目用画像データを取得し(S61)、当該左目用画像データ及び顔検出指示を顔検出部22に出力する。顔検出部22は、左目用画像データ及び顔検出指示を撮像制御部21から取得し、左目用画像データにおける被写体人物の顔を検出する(S22)。ステップS22の顔検出によって検出された被写体人物は3人であるとする(図12参照)。   In FIG. 15, the imaging control unit 21 acquires left-eye image data captured by the imaging unit 14 c (S 61), and outputs the left-eye image data and a face detection instruction to the face detection unit 22. The face detection unit 22 acquires the left-eye image data and the face detection instruction from the imaging control unit 21, and detects the face of the subject person in the left-eye image data (S22). It is assumed that there are three subject persons detected by the face detection in step S22 (see FIG. 12).

顔検出部22は、ステップS22の顔検出によって検出された被写体人物を表す顔IDのパラメータをjと定義し、第1番目の被写体人物の顔ID(即ちj=1、S23)における顔検出結果及び目開閉率判定指示を目開閉率判定部23に出力する。なお、第1番目の被写体人物の顔IDにおける顔検出結果は、顔IDと、顔検出部22により顔検出の対象となった左目用画像データとを含む。又、パラメータjの最大値は、ステップS22の顔検出時に顔検出部22によって判明しているとする。   The face detection unit 22 defines the parameter of the face ID representing the subject person detected by the face detection in step S22 as j, and the face detection result in the face ID of the first subject person (ie, j = 1, S23). The eye opening / closing rate determination instruction is output to the eye opening / closing rate determination unit 23. Note that the face detection result for the face ID of the first subject person includes the face ID and the image data for the left eye that has been subject to face detection by the face detection unit 22. Further, it is assumed that the maximum value of the parameter j is known by the face detection unit 22 at the time of face detection in step S22.

目開閉率判定部23は、顔検出結果及び目開閉率判定指示を顔検出部22から取得し、顔IDと共に取得された左目用画像データを基に、同左目用画像データにおける第1番目の被写体人物の目の目開閉率x2を判定する(S64)。目開閉率判定部23は、顔IDと、同顔IDと共に取得された左目用画像データに対する判定結果(目開閉率x2)とを目開閉率管理部24に出力する。   The eye opening / closing rate determination unit 23 acquires the face detection result and the eye opening / closing rate determination instruction from the face detection unit 22, and based on the image data for the left eye acquired together with the face ID, the first eye data in the left eye image data The eye opening / closing rate x2 of the subject person is determined (S64). The eye opening / closing rate determination unit 23 outputs the face ID and the determination result (eye opening / closing rate x2) for the image data for the left eye acquired together with the face ID to the eye opening / closing rate management unit 24.

目開閉率管理部24は、顔IDと、同顔IDと共に出力された目開閉率x2を目開閉率判定部23から取得する。目開閉率管理部24は、同顔IDに関連付けて記憶されている目開閉率情報の目開閉率x1(図14参照)を記憶部13から取得する(S65)。目開閉率管理部24は、顔ID、目開閉率x1、目開閉率x2及び目開閉率x1と目開閉率x2との比較指示を比較部25に出力する。   The eye opening / closing rate management unit 24 acquires the face ID and the eye opening / closing rate x2 output together with the face ID from the eye opening / closing rate determination unit 23. The eye open / close rate management unit 24 acquires the eye open / close rate x1 (see FIG. 14) of the eye open / close rate information stored in association with the same face ID from the storage unit 13 (S65). The eye opening / closing rate management unit 24 outputs to the comparison unit 25 a face ID, an eye opening / closing rate x1, an eye opening / closing rate x2, and a comparison instruction between the eye opening / closing rate x1 and the eye opening / closing rate x2.

比較部25は、顔ID、目開閉率x1、目開閉率x2、及び目開閉率x1と目開閉率x2との比較指示を目開閉率管理部24から取得する。比較部25は、目開閉率x1と目開閉率x2とを比較する(S66)。   The comparison unit 25 acquires from the eye opening / closing rate management unit 24 a face ID, an eye opening / closing rate x1, an eye opening / closing rate x2, and a comparison instruction between the eye opening / closing rate x1 and the eye opening / closing rate x2. The comparison unit 25 compares the eye opening / closing rate x1 with the eye opening / closing rate x2 (S66).

目開閉率x2が目開閉率x1より大きい場合には(S66、YES)、比較部25は、比較の対象となった顔ID、撮像制御部21に入力された左目用画像データ及び右目用画像データ、目開閉率x1、目開閉率x2及び補正指示を補正部26に出力する。補正部26は、比較部25の比較の対象となった顔ID、撮像制御部21に入力された左目用画像データ及び右目用画像データ、目開閉率x1、目開閉率x2及び補正指示を比較部25から取得する。   When the eye opening / closing rate x2 is larger than the eye opening / closing rate x1 (S66, YES), the comparison unit 25 determines the face ID to be compared, the left-eye image data and the right-eye image input to the imaging control unit 21. The data, the eye opening / closing rate x1, the eye opening / closing rate x2, and the correction instruction are output to the correction unit 26. The correction unit 26 compares the face ID to be compared by the comparison unit 25, the left eye image data and the right eye image data input to the imaging control unit 21, the eye open / close rate x1, the eye open / close rate x2, and the correction instruction. Obtained from the unit 25.

目開閉率x2が目開閉率x1より大きい場合、右目用画像データ及び左目用画像データの各目開閉率が一致しておらず、左目用画像データにおける目開閉率を右目用画像データにおける目開閉率に補正する必要がある。従って、補正部26は、所定の拡大率を用いて、左目用画像データの顔ID(パラメータj)により対応付けられる被写体人物の顔の目の目開閉率を補正する(S67)。ステップS67における所定の拡大率は、例えば目開閉率x2/目開閉率x1である。   When the eye opening / closing rate x2 is larger than the eye opening / closing rate x1, the eye opening / closing rates of the right eye image data and the left eye image data do not match, and the eye opening / closing rate in the left eye image data is equal to the eye opening / closing rate in the right eye image data. It is necessary to correct the rate. Therefore, the correction unit 26 corrects the eye open / close rate of the face of the subject person associated with the face ID (parameter j) of the image data for the left eye using a predetermined magnification (S67). The predetermined enlargement ratio in step S67 is, for example, eye opening / closing ratio x2 / eye opening / closing ratio x1.

一方、目開閉率x1が目開閉率x2より大きい場合には(S66、YES)、比較部25は、比較の対象となった顔ID、撮像制御部21に入力された左目用画像データ及び右目用画像データ、目開閉率x1、目開閉率x2及び補正指示を補正部26に出力する。補正部26は、比較部25の比較の対象となった顔ID、撮像制御部21に入力された左目用画像データ及び右目用画像データ、目開閉率x1、目開閉率x2及び補正指示を比較部25から取得する。   On the other hand, when the eye opening / closing rate x1 is larger than the eye opening / closing rate x2 (S66, YES), the comparison unit 25 determines the comparison target face ID, the left-eye image data input to the imaging control unit 21, and the right eye. The image data, the eye opening / closing rate x1, the eye opening / closing rate x2, and the correction instruction are output to the correction unit 26. The correction unit 26 compares the face ID to be compared by the comparison unit 25, the left eye image data and the right eye image data input to the imaging control unit 21, the eye open / close rate x1, the eye open / close rate x2, and the correction instruction. Obtained from the unit 25.

目開閉率x1が目開閉率x2より大きい場合、右目用画像データ及び左目用画像データの各目開閉率が一致しておらず、右目用画像データにおける目開閉率を左目用画像データにおける目開閉率に補正する必要がある。従って、補正部26は、所定の拡大率を用いて、右目用画像データの顔ID(パラメータj)により対応付けられる被写体人物の顔の目の目開閉率を補正する(S68)。ステップS68における所定の拡大率は、例えば目開閉率x1/目開閉率x2である。   When the eye opening / closing rate x1 is larger than the eye opening / closing rate x2, the eye opening / closing rates of the right eye image data and the left eye image data do not match, and the eye opening / closing rate in the right eye image data is equal to the eye opening / closing rate in the left eye image data. It is necessary to correct the rate. Accordingly, the correction unit 26 corrects the eye opening / closing rate of the face of the subject person associated with the face ID (parameter j) of the right-eye image data using a predetermined magnification (S68). The predetermined enlargement ratio in step S68 is, for example, eye opening / closing ratio x1 / eye opening / closing ratio x2.

ステップS67又はステップS68の後、補正部27は、パラメータjをインクリメントし(S28)、同一の左目用画像データにおいて次の顔IDに対する目開閉率判定指示を目開閉率判定部23に出力する。図15において、ステップS28においてインクリメントされたパラメータjがパラメータjの最大値を超えるまで(S29、NO)、ステップS64〜S68及びステップS28の各動作が繰り返される。パラメータjがパラメータjの最大値を超えると(S29、YES)、図15の撮像装置1cの左目用画像の撮像直後における動作は終了する。   After step S67 or step S68, the correction unit 27 increments the parameter j (S28) and outputs an eye opening / closing rate determination instruction for the next face ID to the eye opening / closing rate determination unit 23 in the same left-eye image data. In FIG. 15, the operations in steps S64 to S68 and step S28 are repeated until the parameter j incremented in step S28 exceeds the maximum value of the parameter j (S29, NO). When the parameter j exceeds the maximum value of the parameter j (S29, YES), the operation immediately after the imaging of the left-eye image of the imaging device 1c in FIG.

以上により、第3の実施形態の撮像装置1cは、例えば3D画像データを生成するために例えば右目用画像及び左目用画像の順に被写体人物を撮像する。撮像装置1cは、右目用画像データに対して判定された各被写体人物の目の目開閉率x1を記憶部13に記憶する。撮像装置1cは左目用画像データに対して判定された各被写体人物の目の目開閉率x2を記憶部13に記憶されている目開閉率x1と比較し、大きい値を有する目開閉率を基に、左目用画像データ又は右目用画像データを補正する。   As described above, the imaging apparatus 1c according to the third embodiment captures the subject person in the order of, for example, the right-eye image and the left-eye image in order to generate, for example, 3D image data. The imaging device 1c stores the eye opening / closing ratio x1 of each subject person determined for the right-eye image data in the storage unit 13. The imaging device 1c compares the eye opening / closing rate x2 of each subject person determined for the left-eye image data with the eye opening / closing rate x1 stored in the storage unit 13, and based on the eye opening / closing rate having a large value. In addition, the left-eye image data or the right-eye image data is corrected.

従って、撮像装置1cによれば、3D画像を撮像した直後に、意図せずに行われた瞬き等によって被写体人物の目の目開閉率がつむっている目の状態又は半目の状態等の様に不適切な場合においても、左目用画像データ及び右目用画像データの各被写体人物の目の目開閉率を同程度に補正することができ、撮像の操作性を向上できる。   Therefore, according to the imaging device 1c, immediately after the 3D image is captured, the eye opening / closing rate of the subject person's eyes is clogged due to an unintentional blink or the like, or the state of the half eye, etc. Even when it is inappropriate, the eye opening / closing ratio of each subject person in the left-eye image data and the right-eye image data can be corrected to the same level, and the operability of imaging can be improved.

(第1の実施形態の変形例1)
図16は、第1の実施形態の変形例1の撮像装置1dのハードウェア構成を示すブロック図である。第1の実施形態の変形例1では、撮像装置1dは、制御部51、タイマ52、操作部12、記憶部13、撮像部14、表示制御部15、表示部16、RAM17及びROM18を含む構成である。図16の各部には、図2の対応する各部と同様に動作するものには同様の符号が付されている。図16の各部の動作において、図2の対応する各部と同様に動作するものについては説明を省略し、異なる内容について説明する。
(Modification 1 of the first embodiment)
FIG. 16 is a block diagram illustrating a hardware configuration of an imaging apparatus 1d according to Modification 1 of the first embodiment. In the first modification of the first embodiment, the imaging device 1d includes a control unit 51, a timer 52, an operation unit 12, a storage unit 13, an imaging unit 14, a display control unit 15, a display unit 16, a RAM 17, and a ROM 18. It is. Components in FIG. 16 that operate in the same manner as the corresponding components in FIG. 2 are given the same reference numerals. In the operation of each unit in FIG. 16, the description of the same operation as each corresponding unit in FIG. 2 will be omitted, and different contents will be described.

第1の実施形態の変形例1では、制御部51は、記憶部13に記憶されている写真等の画像データの閲覧時間に応じて、比較部25の比較時における補正許容率μを可変とするための重み係数を判定する。写真等の画像データの閲覧時間はタイマ52により計測される。   In the first modification of the first embodiment, the control unit 51 can change the correction allowable rate μ at the time of comparison by the comparison unit 25 according to the browsing time of image data such as a photograph stored in the storage unit 13. A weighting coefficient for determining the weight is determined. The browsing time of image data such as a photograph is measured by the timer 52.

図17は、第1の実施形態の変形例1の撮像装置1dの制御部51の内部構成を詳細に示すブロック図である。制御部51は、図17に示す様に、撮像制御部21、顔検出部22、目開閉率判定部23、目開閉率管理部24、比較部25、補正部26及び重み係数判定部27を含む構成である。図17の各部には、図3の対応する各部と同様に動作するものには同様の符号が付されている。図17の各部の動作において、図3の対応する各部と同様に動作するものについては説明を省略し、異なる内容について説明する。   FIG. 17 is a block diagram illustrating in detail the internal configuration of the control unit 51 of the imaging device 1d according to the first modification of the first embodiment. As shown in FIG. 17, the control unit 51 includes an imaging control unit 21, a face detection unit 22, an eye open / close rate determination unit 23, an eye open / close rate management unit 24, a comparison unit 25, a correction unit 26, and a weighting coefficient determination unit 27. It is the composition which includes. 17 that operate in the same manner as the corresponding units in FIG. 3 are denoted by the same reference numerals. In the operation of each part in FIG. 17, the description of the same operation as each corresponding part in FIG. 3 will be omitted, and different contents will be described.

重み係数判定部27は、タイマ52から出力された画像データの閲覧時間を取得し、閲覧時間に応じて重み係数を判定する。閲覧時間は累計時間でも良く、この場合には重み係数判定部27は、画像データ毎に記憶部13に記憶されている累計時間情報を読み出し、タイマ52から出力された閲覧時間を加算した後に重み係数を判定することが好ましい。   The weighting factor determination unit 27 acquires the browsing time of the image data output from the timer 52, and determines the weighting factor according to the browsing time. The viewing time may be the accumulated time. In this case, the weighting factor determination unit 27 reads the accumulated time information stored in the storage unit 13 for each image data, adds the viewing time output from the timer 52, and then weights. It is preferable to determine the coefficient.

重み係数判定部27は、タイマ52からの計測時間(累計時間も可。以下同様)と重み係数とを対応付けたテーブル(不図示)を用いて、例えばタイマ52からの計測時間が30秒である場合には重み係数を2.0と判定する。更に例えば、重み係数判定部27は、タイマ52からの計測時間が60秒である場合には重み係数を2.5と判定する。重み係数判定部27は、判定された重み係数を比較部25に出力する。   The weighting factor determination unit 27 uses a table (not shown) in which the measurement time from the timer 52 (cumulative time is acceptable, the same applies below) and the weighting factor are associated with each other, for example, the measurement time from the timer 52 is 30 seconds. In some cases, the weighting factor is determined to be 2.0. Furthermore, for example, the weighting factor determination unit 27 determines that the weighting factor is 2.5 when the measurement time from the timer 52 is 60 seconds. The weight coefficient determination unit 27 outputs the determined weight coefficient to the comparison unit 25.

比較部25は、重み係数判定部27から出力された重み係数を取得する。第1の実施形態の変形例1においては、比較部25は、上述した所定の補正許容率に重み係数を乗じた係数を、ステップS26(図7参照)において目開閉率yに乗じるための係数として用いる。   The comparison unit 25 acquires the weighting factor output from the weighting factor determination unit 27. In the first modification of the first embodiment, the comparison unit 25 is a coefficient for multiplying the eye opening / closing ratio y in step S26 (see FIG. 7) by a coefficient obtained by multiplying the predetermined correction allowable ratio described above by a weighting coefficient. Used as

又、重み係数判定部27は、判定された重み係数を比較部25ではなく補正部26に出力しても良い。この場合、補正部26は、上述した所定の拡大率に重み係数を乗じた係数を、ステップS27(図7参照)において画像データの目開閉率を更に拡大するための係数として用いる。なお、図17において、重み係数判定部27から補正部26への矢印の図示は省略している。   The weighting factor determination unit 27 may output the determined weighting factor to the correction unit 26 instead of the comparison unit 25. In this case, the correction unit 26 uses a coefficient obtained by multiplying the predetermined enlargement ratio described above by a weighting coefficient as a coefficient for further expanding the eye opening / closing ratio of the image data in step S27 (see FIG. 7). In FIG. 17, an arrow from the weight coefficient determination unit 27 to the correction unit 26 is not shown.

以上により、第1の実施形態の変形例1の撮像装置1dによれば、写真等の画像データの閲覧時間に応じて、目開閉率の比較時又は補正時における補正許容率又は拡大率を更に増大可能であり、閲覧性の高い被写体人物の目開閉率をより好ましく効果的に補正できる。   As described above, according to the imaging device 1d of the first modification of the first embodiment, the correction allowable rate or the enlargement rate at the time of comparing or correcting the eye opening / closing rate is further increased according to the browsing time of image data such as a photograph. The eye opening / closing rate of a subject person that can be increased and has high visibility can be corrected more preferably and effectively.

(第1の実施形態の変形例2)
図18は、第1の実施形態の変形例2の撮像装置1eのハードウェア構成を示すブロック図である。第1の実施形態の変形例2では、撮像装置1eは、制御部61、通信部62、操作部12、記憶部13、撮像部14、表示制御部15、表示部16、RAM17及びROM18を含む構成である。図18の各部には、図2の対応する各部と同様に動作するものには同様の符号が付されている。図18の各部の動作において、図2の対応する各部と同様に動作するものについては説明を省略し、異なる内容について説明する。
(Modification 2 of the first embodiment)
FIG. 18 is a block diagram illustrating a hardware configuration of an imaging apparatus 1e according to the second modification of the first embodiment. In the second modification of the first embodiment, the imaging device 1e includes a control unit 61, a communication unit 62, an operation unit 12, a storage unit 13, an imaging unit 14, a display control unit 15, a display unit 16, a RAM 17, and a ROM 18. It is a configuration. 18 that operate in the same manner as the corresponding units in FIG. 2 are denoted by the same reference numerals. In the operation of each unit in FIG. 18, the description of the same operation as the corresponding unit in FIG. 2 will be omitted, and different contents will be described.

第1の実施形態の変形例2では、制御部61は、記憶部13に記憶されている写真等の画像データの送信回数の累計に応じて、比較部25の比較時における補正許容率μを可変とするための重み係数を判定する。写真等の画像データの送信回数の累計は、記憶部13に画像データ毎に記憶されている。   In the second modification of the first embodiment, the control unit 61 sets the correction allowable rate μ at the time of comparison by the comparison unit 25 according to the total number of times of transmission of image data such as photographs stored in the storage unit 13. The weighting coefficient for making it variable is determined. The total number of transmissions of image data such as photographs is stored in the storage unit 13 for each image data.

通信部62は、不図示の基地局装置等との情報又はデータの通信を制御可能な無線通信回路及びアンテナにより構成され、例えば制御部61から出力された画像データを送信する。通信部62は、画像データを送信した場合、当該画像データの画像ID及び画像データを送信した旨を制御部61の重み係数判定部27e(後述参照)に出力する。なお、通信部62は、上述した無線通信回路及びアンテナ素子により構成されても良い。   The communication unit 62 includes a wireless communication circuit and an antenna that can control communication of information or data with a base station device (not shown), and transmits image data output from the control unit 61, for example. When the image data is transmitted, the communication unit 62 outputs the image ID of the image data and the fact that the image data has been transmitted to the weight coefficient determination unit 27e (see later) of the control unit 61. The communication unit 62 may be configured by the above-described wireless communication circuit and antenna element.

図19は、第1の実施形態の変形例2の撮像装置1eの制御部61の内部構成を詳細に示すブロック図である。制御部61は、図19に示す様に、撮像制御部21、顔検出部22、目開閉率判定部23、目開閉率管理部24、比較部25、補正部26及び重み係数判定部27eを含む構成である。図19の各部には、図3の対応する各部と同様に動作するものには同様の符号が付されている。図19の各部の動作において、図3の対応する各部と同様に動作するものについては説明を省略し、異なる内容について説明する。   FIG. 19 is a block diagram illustrating in detail the internal configuration of the control unit 61 of the imaging apparatus 1e according to the second modification of the first embodiment. As shown in FIG. 19, the control unit 61 includes an imaging control unit 21, a face detection unit 22, an eye open / close rate determination unit 23, an eye open / close rate management unit 24, a comparison unit 25, a correction unit 26, and a weight coefficient determination unit 27e. It is the composition which includes. 19 that operate in the same manner as the corresponding units in FIG. 3 are denoted by the same reference numerals. In the operation of each part in FIG. 19, the description of the same operation as each corresponding part in FIG. 3 is omitted, and different contents will be described.

重み係数判定部27eは、通信部62から画像ID及び画像データを送信した旨を取得し、画像IDを基に記憶部13から当該画像IDに対応付けて記憶されている画像データの送信回数を読み出す。重み係数判定部27eは、読み出された送信回数に1を加算して送信回数の累計を算出する。   The weighting factor determination unit 27e acquires that the image ID and the image data have been transmitted from the communication unit 62, and determines the number of transmissions of the image data stored in association with the image ID from the storage unit 13 based on the image ID. read out. The weighting coefficient determination unit 27e adds 1 to the read number of transmissions to calculate the total number of transmissions.

重み係数判定部27eは、送信回数の累計と重み係数とを対応付けたテーブル(不図示)を用いて、例えば送信回数の累計が30回である場合には重み係数を2.0と判定する。更に例えば、重み係数判定部27eは、送信回数の累計が60回である場合には重み係数を3.0と判定する。重み係数判定部27eは、判定された重み係数を比較部25に出力する。   The weighting factor determination unit 27e uses a table (not shown) in which the total number of transmissions and the weighting factor are associated with each other, for example, determines that the weighting factor is 2.0 when the total number of transmissions is 30. . Further, for example, the weighting factor determination unit 27e determines that the weighting factor is 3.0 when the total number of transmissions is 60. The weighting factor determination unit 27e outputs the determined weighting factor to the comparison unit 25.

比較部25は、重み係数判定部27eから出力された重み係数を取得する。第1の実施形態の変形例2においては、比較部25は、上述した所定の補正許容率に重み係数を乗じた係数を、ステップS26(図7参照)において目開閉率yに乗じるための係数として用いる。   The comparison unit 25 acquires the weighting factor output from the weighting factor determination unit 27e. In Modification 2 of the first embodiment, the comparison unit 25 is a coefficient for multiplying the eye opening / closing ratio y in step S26 (see FIG. 7) by a coefficient obtained by multiplying the predetermined correction allowance ratio described above by a weighting coefficient. Used as

又、重み係数判定部27eは、判定された重み係数を比較部25ではなく補正部26に出力しても良い。この場合、補正部26は、上述した所定の拡大率に重み係数を乗じた係数を、ステップS27(図7参照)において画像データの目開閉率を更に拡大するための係数として用いる。なお、図19において、重み係数判定部27eから補正部26への矢印の図示は省略している。   Further, the weighting factor determination unit 27e may output the determined weighting factor to the correction unit 26 instead of the comparison unit 25. In this case, the correction unit 26 uses a coefficient obtained by multiplying the predetermined enlargement ratio described above by a weighting coefficient as a coefficient for further expanding the eye opening / closing ratio of the image data in step S27 (see FIG. 7). In FIG. 19, an arrow from the weight coefficient determination unit 27e to the correction unit 26 is not shown.

以上により、第1の実施形態の変形例2の撮像装置1eによれば、写真等の画像データの送信回数に応じて、目開閉率の比較時又は補正時における補正許容率又は拡大率を更に増大可能であり、ユーザ本人以外の知人等にも閲覧してもらいたい様な閲覧性の高い被写体人物の目開閉率をより好ましく効果的に補正できる。   As described above, according to the imaging device 1e of the second modification of the first embodiment, the correction allowable rate or the enlargement rate at the time of comparing or correcting the eye opening / closing rate is further increased according to the number of times image data such as a photograph is transmitted. The eye opening / closing rate of a subject person having high browsing ability that can be increased and that is also requested to be read by an acquaintance other than the user can be corrected more preferably and effectively.

(第1の実施形態の変形例3)
図20は、第1の実施形態の変形例3の撮像装置の制御部71の内部構成を示すブロック図である。第1の実施形態の変形例3では、撮像装置のハードウェア構成は、第1の実施形態の撮像装置1のハードウェア構成と同様であるため、説明を省略する。
(Modification 3 of the first embodiment)
FIG. 20 is a block diagram illustrating an internal configuration of the control unit 71 of the imaging apparatus according to the third modification of the first embodiment. In Modification 3 of the first embodiment, the hardware configuration of the imaging apparatus is the same as the hardware configuration of the imaging apparatus 1 of the first embodiment, and thus description thereof is omitted.

第1の実施形態の変形例3では、制御部71は、例えば以前にユーザの操作によって画像データの被写体人物が編集された場合、プレビュー時に、撮像制御部21に入力された画像データではなく、以前編集された画像データを用いて、編集された画像データにおける各被写体人物の目の目開閉率を判定する。なお、編集された画像データは記憶部13に記憶されているとする。   In the third modification of the first embodiment, when the subject person of the image data has been edited previously by the user's operation, for example, the control unit 71 is not the image data input to the imaging control unit 21 at the time of preview. Using the previously edited image data, the eye open / close rate of each subject person in the edited image data is determined. It is assumed that the edited image data is stored in the storage unit 13.

制御部71は、図20に示す様に、撮像制御部21、顔検出部22、目開閉率判定部23、目開閉率管理部24、比較部25、補正部26及び画像編集部28を含む構成である。図20の各部には、図3の対応する各部と同様に動作するものには同様の符号が付されている。図20の各部の動作において、図3の対応する各部と同様に動作するものについては説明を省略し、異なる内容について説明する。   As shown in FIG. 20, the control unit 71 includes an imaging control unit 21, a face detection unit 22, an eye open / close rate determination unit 23, an eye open / close rate management unit 24, a comparison unit 25, a correction unit 26, and an image editing unit 28. It is a configuration. 20 that operate in the same manner as the corresponding units in FIG. 3 are denoted by the same reference numerals. In the operation of each unit in FIG. 20, the description of the same operation as each corresponding unit in FIG. 3 will be omitted, and different contents will be described.

画像編集部28は、ユーザの操作、例えば画像データの被写体人物の編集操作に応じて操作部12から出力された操作信号を取得し、編集の対象となる画像データを編集する。画像編集部28は、編集された画像データを記憶部13に記憶する。画像編集部28は、例えばAさん、Bさん、Cさんの集合写真を撮像した旨を操作部12又は撮像制御部21から取得した場合、Aさん、Bさん、Cさんの集合写真の編集された画像データを記憶部13から取得する。画像編集部28は、編集された画像データ及び顔検出指示を顔検出部22に出力する。   The image editing unit 28 acquires an operation signal output from the operation unit 12 in response to a user operation, for example, an editing operation of a subject person of image data, and edits image data to be edited. The image editing unit 28 stores the edited image data in the storage unit 13. For example, when the image editing unit 28 acquires from the operation unit 12 or the imaging control unit 21 that a group photo of A, B, and C has been captured, the group photo of A, B, and C is edited. The obtained image data is acquired from the storage unit 13. The image editing unit 28 outputs the edited image data and face detection instruction to the face detection unit 22.

以上により、第1の実施形態の変形例3の撮像装置は、撮像直後における比較(図7のステップS26参照)においてユーザ自身の嗜好が反映された編集後の画像データに対する目開閉率を用いて補正許容率を可変にすることができる。   As described above, the imaging apparatus according to the third modification of the first embodiment uses the eye opening / closing rate for the edited image data in which the user's own preference is reflected in the comparison immediately after imaging (see step S26 in FIG. 7). The correction allowable rate can be made variable.

以上、図面を参照しながら各種の実施の形態について説明したが、本発明はかかる例に限定されないことは言うまでもない。当業者であれば、特許請求の範囲に記載された範疇内において、各種実施の形態の変更例または修正例、更に各種実施の形態の組み合わせ例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲に属するものと了解される。   While various embodiments have been described above with reference to the drawings, it goes without saying that the present invention is not limited to such examples. It is obvious for those skilled in the art that variations and modifications of various embodiments, and combinations of various embodiments can be conceived within the scope of the claims. Of course, it is understood that it belongs to the technical scope of the present invention.

なお、上述した各実施形態において記憶部に記憶されている画像データは、当該画像データに対するユーザのお気に入り度情報も更に書誌情報として含まれていても良い。ユーザが撮像装置において書誌情報のお気に入り度を増加又は減少する様な操作を行った場合には、撮像装置は、お気に入り度の増加値又は減少値に応じて、お気に入り度と関連付けて記憶されている画像データにおける各被写体人物の目の目開閉率を増加又は減少する。なお、お気に入り度の増加値又は減少値と、画像データにおける各被写体人物の目の目開閉率との関係は予めテーブル等において規定されていることが好ましい。   Note that the image data stored in the storage unit in each of the above-described embodiments may further include user preference information for the image data as bibliographic information. When the user performs an operation such as increasing or decreasing the favorite degree of bibliographic information in the imaging apparatus, the imaging apparatus is stored in association with the favorite degree in accordance with the increase or decrease value of the favorite degree. Increase or decrease the eye open / close rate of each subject person in the image data. The relationship between the increase or decrease value of the favorite degree and the eye opening / closing rate of each subject person in the image data is preferably defined in advance in a table or the like.

なお、上述した各実施形態において記憶部に記憶されている画像データを削除する旨のユーザ操作が行われた場合、撮像装置は、当該画像データが削除された旨及び画像データの内容を記憶する。更に、撮像装置は、当該削除された画像データと同様の内容の画像データが改めて入力された場合には、記憶部に記憶されている同様の内容の画像データが削除された旨を基に、当該画像データの各被写体人物の目の目開閉率の比較において補正許容率を減少しても良い。   Note that when a user operation is performed to delete image data stored in the storage unit in each of the above-described embodiments, the imaging apparatus stores information indicating that the image data has been deleted and the content of the image data. . Furthermore, when image data having the same content as the deleted image data is input again, the imaging device, based on the fact that the image data having the same content stored in the storage unit is deleted, In the comparison of the eye open / close rate of each subject person in the image data, the correction allowable rate may be decreased.

又、上述した各実施形態において記憶部には顔IDと目開閉率とが関連付けられた目開閉率情報が記憶されているが、撮像装置は、所定時間経過後に、当該目開閉率情報を削除しても良い。この場合、例えば第1の実施形態において、撮像装置1は、プレビュー時と撮像終了直後とにおいてそれぞれ判定された目開閉率を直接比較する。例えばプレビュー時と撮像終了直後とにおいて被写体人物の目開閉率が同様に半目の状態であったとしても、撮像装置1は、被写体人物の本人の意思が尊重された態様で撮像することができる。   Further, in each of the embodiments described above, the eye opening / closing rate information in which the face ID and the eye opening / closing rate are associated is stored in the storage unit, but the imaging device deletes the eye opening / closing rate information after a predetermined time has elapsed. You may do it. In this case, for example, in the first embodiment, the imaging apparatus 1 directly compares the eye opening / closing rates determined at the time of preview and immediately after the end of imaging. For example, even when the eye opening / closing rate of the subject person is a half-eye state at the time of preview and immediately after the end of imaging, the imaging apparatus 1 can capture images in a manner in which the intention of the subject person is respected.

本発明は、撮像された画像データにおける被写体人物の目の開閉率が不適切な場合に、被写体人物の目の開閉率を効果的に補正することができる撮像装置、動画再生装置及び撮像方法として有用である。   The present invention provides an imaging apparatus, a moving image reproducing apparatus, and an imaging method that can effectively correct the opening / closing ratio of the subject person's eyes when the opening / closing ratio of the subject person's eyes is inappropriate in the captured image data. Useful.

1、1c、1d、1e 撮像装置
1b 動画再生装置
11、51、61、71 制御部
12 操作部
13 記憶部
14 撮像部
15 表示制御部
16 表示部
17 RAM
18 ROM
21 撮像制御部
22 顔検出部
23 目開閉率判定部
24 目開閉率管理部
25 比較部
26 補正部
27、27e 重み係数判定部
28 画像編集部
31 動画再生制御部
32 音声出力部
41 画像合成部
52 タイマ
62 通信部
1, 1c, 1d, 1e Imaging device 1b Movie playback device 11, 51, 61, 71 Control unit 12 Operation unit 13 Storage unit 14 Imaging unit 15 Display control unit 16 Display unit 17 RAM
18 ROM
DESCRIPTION OF SYMBOLS 21 Imaging control part 22 Face detection part 23 Eye opening / closing rate determination part 24 Eye opening / closing rate management part 25 Comparison part 26 Correction | amendment part 27, 27e Weight coefficient determination part 28 Image editing part 31 Movie reproduction control part 32 Audio | voice output part 41 Image composition part 52 Timer 62 Communication Unit

Claims (14)

入力された画像データにおける被写体人物の顔を検出する顔検出部と、
前記画像データのうち前記顔検出部により検出された顔を基に、前記被写体人物の目の目開閉率を判定する目開閉率判定部と、
前記目開閉率判定部により判定された前記被写体人物の目の目開閉率を含む目開閉率情報を記憶する記憶部と、
前記目開閉率判定部により判定された前記被写体人物の目の目開閉率と、前記記憶されている前記目開閉率情報における目開閉率に所定の補正許容率を乗じた目開閉率とを比較する比較部と、
前記比較部の比較結果に応じて、前記目開閉率判定部により判定された前記目開閉率を補正する補正部と、を備える撮像装置。
A face detection unit for detecting the face of the subject person in the input image data;
An eye opening / closing rate determination unit that determines an eye opening / closing rate of the eye of the subject person based on the face detected by the face detection unit in the image data;
A storage unit that stores eye opening / closing rate information including an eye opening / closing rate of the eye of the subject person determined by the eye opening / closing rate determination unit;
The eye opening / closing rate of the subject person determined by the eye opening / closing rate determining unit is compared with the eye opening / closing rate obtained by multiplying the eye opening / closing rate in the stored eye opening / closing rate information by a predetermined correction allowable rate. A comparison unit to
An imaging apparatus comprising: a correction unit that corrects the eye opening / closing rate determined by the eye opening / closing rate determination unit according to a comparison result of the comparison unit.
請求項1に記載の撮像装置であって、
前記比較部は、前記目開閉率判定部により判定された前記被写体人物の目の目開閉率と、前記記憶部に記憶されている前記目開閉率情報における目開閉率とを比較し、
前記判定された前記被写体人物の目の目開閉率が前記目開閉率情報における目開閉率より大きい場合に、前記目開閉率情報における目開閉率を前記判定された前記被写体人物の目の目開閉率に更新する目開閉率管理部と、を更に備える撮像装置。
The imaging apparatus according to claim 1,
The comparison unit compares the eye open / close rate of the subject person determined by the eye open / close rate determination unit with the eye open / close rate in the eye open / close rate information stored in the storage unit,
When the determined eye opening / closing rate of the subject person's eye is larger than the eye opening / closing rate in the eye opening / closing rate information, the eye opening / closing rate in the eye opening / closing rate information is set to the eye opening / closing rate of the determined subject person's eye An imaging device further comprising: an eye opening / closing rate management unit that updates the rate.
請求項1又は2に記載の撮像装置であって、
前記画像データは、前記被写体人物の撮像のプレビュー時又は撮像後に入力され、
前記補正部は、前記プレビュー時に前記判定された目開閉率が前記撮像後に前記判定された目開閉率に前記所定の補正許容率を乗じた目開閉率より小さい場合に、所定の拡大率を用いて前記撮像後に前記判定された目開閉率を補正する撮像装置。
The imaging apparatus according to claim 1 or 2,
The image data is input at the time of previewing or after imaging of the subject person,
The correction unit uses a predetermined enlargement ratio when the determined eye open / close rate during the preview is smaller than the eye open / close rate obtained by multiplying the determined eye open / close rate after the imaging by the predetermined correction allowance rate. An imaging device that corrects the determined eye open / close rate after the imaging.
画像データ及び音声データを同期して再生可能な動画再生装置であって、
前記動画再生装置における動画再生時又は一時停止操作直後に入力された前記画像データにおける被写体人物の顔を検出する顔検出部と、
前記画像データのうち前記顔検出部により検出された顔を基に、前記被写体人物の目の目開閉率を判定する目開閉率判定部と、
前記目開閉率判定部により判定された前記被写体人物の目の目開閉率を含む目開閉率情報を記憶する記憶部と、
前記目開閉率判定部により判定された前記被写体人物の目の目開閉率と、前記記憶されている前記目開閉率情報における目開閉率に所定の補正許容率を乗じた目開閉率とを比較する比較部と、
前記比較部の比較結果に応じて、前記目開閉率判定部により判定された前記目開閉率を補正する補正部と、を備え、
前記補正部は、前記動画再生時に前記判定された目開閉率が前記一時停止操作直後に前記判定された目開閉率に前記所定の補正許容率を乗じた目開閉率より小さい場合に、所定の拡大率を用いて前記一時停止操作直後に前記判定された目開閉率を補正する動画再生装置。
A video playback device capable of synchronously playing back image data and audio data,
A face detection unit for detecting the face of the subject person in the image data input during the video playback or immediately after the pause operation in the video playback device;
An eye opening / closing rate determination unit that determines an eye opening / closing rate of the eye of the subject person based on the face detected by the face detection unit in the image data;
A storage unit that stores eye opening / closing rate information including an eye opening / closing rate of the eye of the subject person determined by the eye opening / closing rate determination unit;
The eye opening / closing rate of the subject person determined by the eye opening / closing rate determining unit is compared with the eye opening / closing rate obtained by multiplying the eye opening / closing rate in the stored eye opening / closing rate information by a predetermined correction allowable rate. A comparison unit to
A correction unit that corrects the eye open / close rate determined by the eye open / close rate determination unit according to the comparison result of the comparison unit, and
The correction unit has a predetermined eye opening rate when the determined eye opening rate is less than an eye opening rate obtained by multiplying the determined eye opening rate immediately after the pause operation by the predetermined correction allowable rate immediately after the pause operation. A moving image reproducing apparatus that corrects the determined eye opening / closing ratio immediately after the pause operation using an enlargement ratio.
請求項1又は2に記載の撮像装置であって、
左目用画像データと右目用画像データとを基に、3D表示用画像データを生成する画像合成部と、を更に備え、
前記画像データは、前記被写体人物の前記左目用画像データの撮像後、又は前記被写体人物の前記右目用画像データの撮像後に入力され、
前記補正部は、前記右目用画像データの撮像後に前記判定された目開閉率が前記左目用画像データの撮像後に前記判定された目開閉率より小さい場合に、前記右目用画像データにおける前記判定された目開閉率を、前記左目用画像データにおける前記判定された目開閉率と同一になる様に補正する撮像装置。
The imaging apparatus according to claim 1 or 2,
An image composition unit that generates 3D display image data based on the left-eye image data and the right-eye image data;
The image data is input after imaging the left-eye image data of the subject person or after imaging the right-eye image data of the subject person,
The correction unit determines the determination in the right-eye image data when the determined eye opening / closing rate after capturing the right-eye image data is smaller than the determined eye opening / closing rate after capturing the left-eye image data. An imaging device that corrects the eye opening / closing rate to be the same as the determined eye opening / closing rate in the left-eye image data.
請求項2に記載の撮像装置であって、
前記入力された画像データの閲覧時間を計測するタイマと、
前記タイマにより計測された前記画像データの閲覧時間を基に、前記補正許容率に乗じる重み係数を判定する重み係数判定部と、を更に備え、
前記比較部は、前記目開閉率判定部により判定された前記被写体人物の目の目開閉率と、前記記憶されている前記目開閉率情報における目開閉率に所定の補正許容率及び前記判定された重み係数を乗じた目開閉率とを比較する撮像装置。
The imaging apparatus according to claim 2,
A timer for measuring the browsing time of the input image data;
A weighting factor determination unit that determines a weighting factor by which the correction allowable rate is multiplied based on the browsing time of the image data measured by the timer;
The comparison unit determines the eye open / close rate of the subject person determined by the eye open / close rate determination unit and the eye open / close rate in the stored eye open / close rate information with a predetermined correction allowable rate and the determination. An imaging device that compares an eye opening / closing rate multiplied by a weighting factor.
請求項2に記載の撮像装置であって、
前記入力された画像データを送信する通信部と、
前記通信部により送信された前記画像データの送信回数を基に、前記補正許容率に乗じる重み係数を判定する重み係数判定部と、を更に備え、
前記比較部は、前記目開閉率判定部により判定された前記被写体人物の目の目開閉率と、前記記憶されている前記目開閉率情報における目開閉率に所定の補正許容率及び前記判定された重み係数を乗じた目開閉率とを比較する撮像装置。
The imaging apparatus according to claim 2,
A communication unit for transmitting the input image data;
A weighting factor determination unit that determines a weighting factor by which the correction allowable rate is multiplied based on the number of transmissions of the image data transmitted by the communication unit;
The comparison unit determines the eye open / close rate of the subject person determined by the eye open / close rate determination unit and the eye open / close rate in the stored eye open / close rate information with a predetermined correction allowable rate and the determination. An imaging device that compares an eye opening / closing rate multiplied by a weighting factor.
請求項2に記載の撮像装置であって、
前記記憶部に記憶されている画像データの前記被写体人物の目の目開閉率を編集する画像編集部と、を更に備え、
前記目開閉率管理部は、前記画像編集部により編集された画像データの前記被写体人物の目の目開閉率を前記記憶部に記憶し、
前記補正部は、前記入力された画像データに対して前記目開閉率判定部により判定された前記目開閉率を、前記記憶された前記目開閉率に補正する撮像装置。
The imaging apparatus according to claim 2,
An image editing unit that edits the eye open / close rate of the subject person in the image data stored in the storage unit,
The eye open / close rate management unit stores the eye open / close rate of the subject person of the image data edited by the image editing unit in the storage unit,
The imaging unit corrects the eye opening / closing rate determined by the eye opening / closing rate determination unit for the input image data to the stored eye opening / closing rate.
請求項2に記載の撮像装置であって、
前記撮像装置に対するユーザ操作を受け付ける操作部と、を更に備え、
前記目開閉率管理部は、前記操作部が受け付けた前記ユーザ操作に応じて、前記目開閉率情報における目開閉率を更新する撮像装置。
The imaging apparatus according to claim 2,
An operation unit that receives a user operation on the imaging device;
The eye opening / closing rate management unit updates the eye opening / closing rate in the eye opening / closing rate information according to the user operation received by the operation unit.
請求項1〜3及び5〜9のうちいずれか一項に記載の撮像装置であって、
前記目開閉率は、前記入力された画像データの前記被写体人物の目の鉛直方向の高さを、前記画像データの前記被写体人物の顔の前記鉛直方向の高さで除した値である撮像装置。
It is an imaging device as described in any one of Claims 1-3 and 5-9,
The eye opening / closing ratio is a value obtained by dividing the vertical height of the eyes of the subject person of the input image data by the height of the face of the subject person of the image data in the vertical direction. .
請求項1〜3及び5〜9のうちいずれか一項に記載の撮像装置であって、
前記目開閉率は、前記入力された画像データの前記被写体人物の目の鉛直方向の高さを、前記画像データの前記被写体人物の顔の水平方向の横幅で除した値である撮像装置。
It is an imaging device as described in any one of Claims 1-3 and 5-9,
The eye opening / closing ratio is an image pickup device that is a value obtained by dividing a vertical height of eyes of the subject person of the input image data by a horizontal width of the face of the subject person of the image data.
請求項1〜3及び5〜9のうちいずれか一項に記載の撮像装置であって、
前記目開閉率は、前記入力された画像データの前記被写体人物の目の鉛直方向の高さを、前記画像データの前記被写体人物の目の水平方向の横幅で除した値である撮像装置。
It is an imaging device as described in any one of Claims 1-3 and 5-9,
The eye opening / closing ratio is a value obtained by dividing a vertical height of eyes of the subject person of the input image data by a horizontal width of the eyes of the subject person of the image data.
請求項1〜3及び5〜9のうちいずれか一項に記載の撮像装置であって、
前記目開閉率は、前記入力された画像データの前記被写体人物の目の鉛直方向の高さを、前記画像データの前記被写体人物の両目の距離で除した値である撮像装置。
It is an imaging device as described in any one of Claims 1-3 and 5-9,
The eye opening / closing ratio is an image pickup apparatus that is a value obtained by dividing a vertical height of eyes of the subject person of the input image data by a distance between both eyes of the subject person of the image data.
入力された画像データにおける被写体人物の顔を検出するステップと、
前記画像データのうち前記検出された顔を基に、前記被写体人物の目の目開閉率を判定するステップと、
記憶部に、前記判定された前記被写体人物の目の目開閉率を含む目開閉率情報を記憶するステップと、
前記判定された前記被写体人物の目の目開閉率と、前記記憶部に記憶されている前記目開閉率情報における目開閉率に所定の補正許容率を乗じた目開閉率とを比較するステップと、
前記比較結果に応じて、前記判定された前記目開閉率を補正するステップと、を備える撮像方法。
Detecting the face of the subject person in the input image data;
Determining an eye open / close rate of the subject person based on the detected face of the image data;
Storing, in a storage unit, eye opening / closing rate information including an eye opening / closing rate of the eye of the determined subject person;
Comparing the determined eye opening / closing rate of the subject person with an eye opening / closing rate obtained by multiplying the eye opening / closing rate in the eye opening / closing rate information stored in the storage unit by a predetermined correction allowable rate; ,
Correcting the determined eye opening / closing rate in accordance with the comparison result.
JP2011122391A 2011-05-31 2011-05-31 Imaging apparatus, moving picture reproducing apparatus and imaging method Withdrawn JP2012252383A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011122391A JP2012252383A (en) 2011-05-31 2011-05-31 Imaging apparatus, moving picture reproducing apparatus and imaging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011122391A JP2012252383A (en) 2011-05-31 2011-05-31 Imaging apparatus, moving picture reproducing apparatus and imaging method

Publications (1)

Publication Number Publication Date
JP2012252383A true JP2012252383A (en) 2012-12-20

Family

ID=47525178

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011122391A Withdrawn JP2012252383A (en) 2011-05-31 2011-05-31 Imaging apparatus, moving picture reproducing apparatus and imaging method

Country Status (1)

Country Link
JP (1) JP2012252383A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6977975B1 (en) * 2020-12-22 2021-12-08 株式会社スワローインキュベート Eye opening / closing detection method, eye opening / closing detection device and eye opening / closing detection program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6977975B1 (en) * 2020-12-22 2021-12-08 株式会社スワローインキュベート Eye opening / closing detection method, eye opening / closing detection device and eye opening / closing detection program
WO2022137604A1 (en) * 2020-12-22 2022-06-30 株式会社スワローインキュベート Eye opening/closing detection method, eye opening/closing detection device, and eye opening/closing detection program

Similar Documents

Publication Publication Date Title
CN101742106B (en) Image pickup apparatus equipped with function of detecting image shaking
US8355048B2 (en) Subject tracking computer program product, subject tracking device and camera
JP4236986B2 (en) Imaging apparatus, method, and program
CN107950018A (en) The shallow depth of field true to nature presented by focus stack
JP2016119600A (en) Editing device and editing method
CN104869308A (en) Picture taking method and device
CN104869314A (en) Photographing method and device
JP5267609B2 (en) Imaging apparatus and program thereof
JP2011234002A (en) Imaging device and terminal device
CN108900764A (en) Image pickup method and electronic device and filming control method and server
CN103888684A (en) Image processing apparatus that combines a plurality of images
US9979899B2 (en) Image effect processing support apparatus, image effect processing support method, and medium for recording image effect processing support program
US9767587B2 (en) Image extracting apparatus, image extracting method and computer readable recording medium for recording program for extracting images based on reference image and time-related information
CN106572306A (en) Image shooting method and electronic equipment
JP5337420B2 (en) Video search device, video search method, and computer program
JP2012252383A (en) Imaging apparatus, moving picture reproducing apparatus and imaging method
CN105913433A (en) Information pushing method and information pushing device
KR20090119640A (en) An apparatus for displaying a preference level for an image and a method thereof
KR100710391B1 (en) Method for taking a panoramic picture and mobile terminal therefor
JP5242756B2 (en) Image processing apparatus, image processing method, and camera
JP4771524B2 (en) Imaging apparatus and program thereof
EP4037307A1 (en) Image processing method and apparatus, electronic device, and storage medium
CN107067392A (en) The method and device of identification flower screen image
JP5613285B2 (en) IMAGING DEVICE, IMAGING METHOD, DISPLAY DEVICE, AND DISPLAY METHOD
WO2023077755A1 (en) Pedestrian information determination method and apparatus, and vehicle, electronic device and storage medium

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140805