JP2006163496A - Apparatus, method and program for image recording - Google Patents

Apparatus, method and program for image recording Download PDF

Info

Publication number
JP2006163496A
JP2006163496A JP2004349860A JP2004349860A JP2006163496A JP 2006163496 A JP2006163496 A JP 2006163496A JP 2004349860 A JP2004349860 A JP 2004349860A JP 2004349860 A JP2004349860 A JP 2004349860A JP 2006163496 A JP2006163496 A JP 2006163496A
Authority
JP
Japan
Prior art keywords
image
eye
eyes
open
image recording
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004349860A
Other languages
Japanese (ja)
Inventor
Fumihiro Funazaki
文博 舟崎
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP2004349860A priority Critical patent/JP2006163496A/en
Publication of JP2006163496A publication Critical patent/JP2006163496A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To enable image recording by distinguishing an image nobody closes his eyes from an image somebody closes his eyes. <P>SOLUTION: In S5, an eye area detector 112c detects an eye area having eyes therein from a face portion detected by a face detector 112a. In S6, an eye open/close detector 112d decides whether the eyes in the detected eye area are open or close. If the eyes are open, the process proceeds to S7. In S7, if it is decided that the eyes are open for the entire face portions, the process proceeds to S8. In S8, an image data in a VRAM 132 are recorded into a recording medium 40 as an Exif file. At this time, a CPU 112 records information indicating a successfully photographed image in a predetermined tag (such as Imagedescription tag) of a header part of the Exif file. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は画像記録装置、画像記録方法及び画像記録プログラムに係り、特に撮影に成功した画像を記録する装置、方法及びプログラムに関する。   The present invention relates to an image recording apparatus, an image recording method, and an image recording program, and more particularly to an apparatus, method, and program for recording an image that has been successfully photographed.

従来、撮影に成功した画像を記録する技術が様々考案されている。例えば特許文献1によると、デジタルカメラは、被写体からの画像光を集光する対物レンズと、該対物レンズにより合焦された被写体画像の輝度レベルに基づいて、電気信号を出力する撮像素子と、デジタル変換された画像信号を複数枚格納可能な画像メモリと、画像メモリに繋がった制御回路とを具えている。画像メモリは、複数のブロックに区分けされて、各ブロックにデジタル画像が格納される。制御回路は、被写体画像の輝度信号に含まれる高域成分を検索して、一定レベル以上の高域成分を有するデジタル画像を探す判別回路に接続されている。制御回路は、判別回路により高域成分が一定レベル未満と判断されたデジタル画像を消去し、一定レベル以上の高域成分を有する画像を画像メモリに保存する。
特開2001−358978号公報
Conventionally, various techniques for recording images that have been successfully photographed have been devised. For example, according to Patent Document 1, a digital camera includes an objective lens that collects image light from a subject, an image sensor that outputs an electrical signal based on the luminance level of the subject image focused by the objective lens, and An image memory capable of storing a plurality of digitally converted image signals and a control circuit connected to the image memory are provided. The image memory is divided into a plurality of blocks, and a digital image is stored in each block. The control circuit is connected to a discrimination circuit that searches for a high frequency component included in the luminance signal of the subject image and searches for a digital image having a high frequency component equal to or higher than a certain level. The control circuit erases the digital image in which the high frequency component is determined to be less than a certain level by the discrimination circuit, and stores the image having the high frequency component equal to or higher than the certain level in the image memory.
JP 2001-358978 A

特許文献1の技術では、手ぶれの生じた状態で撮影された画像を消去できるが、目をつむっている人物がいる場合も手ぶれが生じていなければ記録されてしまう。本発明はこのような問題点に鑑みてなされたもので、誰も目をつむっていない画像と誰かが目をつむっている画像を区別して記録できるようにすること目的とする。   In the technique of Patent Document 1, an image shot in a state in which camera shake occurs can be erased, but even if there is a person who is blind, if there is no camera shake, the image is recorded. The present invention has been made in view of such a problem, and an object of the present invention is to make it possible to distinguish and record an image in which no one has closed eyes and an image in which someone has closed eyes.

上述の課題を解決するため、本発明に係る画像記録装置は、画像から顔部分を検出する顔検出部と、顔部分から目の存在する目領域を検出する目領域検出部と、目領域内の目が開いているか又は閉じているかを判断する目開閉検出部と、目領域内の目が開いていると判断された画像を撮影成功画像として記録する画像記録部と、を備える。   In order to solve the above-described problems, an image recording apparatus according to the present invention includes a face detection unit that detects a face portion from an image, an eye region detection unit that detects an eye region where an eye exists from the face portion, An eye open / close detection unit that determines whether the eye is open or closed, and an image recording unit that records an image determined to have an open eye in the eye area as a successful shooting image.

この発明によると、画像に目をつむった人物が全くいない場合は成功画像として記録する。このため、ユーザがいちいち画像を確認して目をつむった人物が記録されたか否かを判断する必要もなく、誰も目をつむっていない集合写真を撮影成功画像として記録することができる。   According to the present invention, when there is no person who looks into the image, it is recorded as a successful image. For this reason, it is not necessary for the user to check each image and determine whether or not a person who has closed eyes has been recorded, and a group photo in which no one has closed eyes can be recorded as a successful shooting image.

顔部分が合焦しているか否かを判断する合焦判断部をさらに備え、画像記録部は顔部分が合焦しておりかつ目領域内の目が開いていると判断された画像を撮影成功画像として記録してもよい。   The camera further includes a focus determination unit that determines whether or not the face portion is in focus, and the image recording unit captures an image in which the face portion is in focus and the eyes in the eye area are determined to be open. It may be recorded as a successful image.

こうすれば、目つむりがなくかつピントが合った画像を記録することができる。   In this way, it is possible to record an image that is not blurred and in focus.

目領域内の目が閉じていると判断された顔部分の数である目つむり数を計数する計数部をさらに備えてもよい。   You may further provide the counting part which counts the number of eye-openings which is the number of the face parts judged that the eyes in an eye area are closed.

目つむり数を警告表示する表示部をさらに備えてもよい。   You may further provide the display part which displays the number of eyes closed as a warning.

画像記録部は目つむり数を記録してもよい。   The image recording unit may record the number of eyebrows.

画像記録部は目領域内の目が閉じていると判断された画像を撮影失敗画像として記録してもよい。   The image recording unit may record an image determined to have closed eyes in the eye area as a shooting failure image.

また、上述の課題を解決するため、本発明に係る画像記録方法は、画像から顔部分を検出する顔検出ステップと、顔部分から目の存在する目領域を検出する目領域検出ステップと、目領域内の目が開いているか又は閉じているかを判断する目開閉検出ステップと、目領域内の目が開いていると判断された画像を撮影成功画像として記録する画像記録ステップと、を含む。   In order to solve the above-described problem, an image recording method according to the present invention includes a face detection step for detecting a face portion from an image, an eye region detection step for detecting an eye region where an eye exists from the face portion, An eye opening / closing detection step for determining whether the eye in the region is open or closed, and an image recording step for recording an image determined to have the eye in the eye region open as a successful photographing image.

また、上述の課題を解決するため、本発明に係る画像記録プログラムは、画像から顔部分を検出する顔検出ステップと、顔部分から目の存在する目領域を検出する目領域検出ステップと、目領域内の目が開いているか又は閉じているかを判断する目開閉検出ステップと、目領域内の目が開いていると判断された画像を撮影成功画像として記録する画像記録ステップと、をコンピュータに実行させる。   In order to solve the above-described problem, an image recording program according to the present invention includes a face detection step for detecting a face portion from an image, an eye region detection step for detecting an eye region where an eye exists from the face portion, An eye opening / closing detection step for determining whether the eye in the region is open or closed, and an image recording step for recording an image determined to have the eye in the eye region open as a successful shooting image. Let it run.

この発明によると、画像に目をつむった人物が全くいない場合は成功画像として記録する。このため、ユーザがいちいち画像を確認して目をつむった人物が記録されたか否かを判断する必要もなく、誰も目をつむっていない集合写真を撮影成功画像として記録することができる。   According to the present invention, when there is no person who looks into the image, it is recorded as a successful image. For this reason, it is not necessary for the user to check each image and determine whether or not a person who has closed eyes has been recorded, and a group photo in which no one has closed eyes can be recorded as a successful shooting image.

以下、添付した図面を参照し本発明の好ましい実施の形態を説明する。   Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.

[概略構成]
図1は本発明の好ましい実施形態に係るデジタルカメラ10の機能ブロック図である。まず、同図のデジタルカメラ10において、中央処理装置(CPU)112は、レリーズスイッチ22、モードダイヤル150等を含む操作部113の各種のボタンやキーからの入力に基づいてデジタルカメラ10内の各回路を統括制御する。CPU112の実行するプログラムはEEPEOM119に記憶される。
[Schematic configuration]
FIG. 1 is a functional block diagram of a digital camera 10 according to a preferred embodiment of the present invention. First, in the digital camera 10 shown in FIG. 1, the central processing unit (CPU) 112 is configured to input each button in the digital camera 10 based on input from various buttons and keys of the operation unit 113 including the release switch 22, the mode dial 150, and the like. Supervises and controls the circuit. A program executed by the CPU 112 is stored in the EEPEOM 119.

いま、モードダイヤル150によって静止画撮影モードが設定されると、CPU112は、動画(スルー画)を表示部110に表示させ、撮影画角を確認可能にする。即ち、撮像レンズ14を通過した光は、固体撮像素子102に入射する。固体撮像素子102の受光面には、フォトセンサが平面的に配列されており、該受光面に結像された被写体像は、各フォトセンサによって入射光量に応じた量の信号電荷に変換される。こうして蓄積された信号電荷は、図示せぬドライバ回路から与えられるパルス信号に基づいて信号電荷に応じた電圧信号(画像信号)として順次読み出され、それぞれ撮像回路102に加えられる。   Now, when the still image shooting mode is set by the mode dial 150, the CPU 112 displays a moving image (through image) on the display unit 110 so that the shooting angle of view can be confirmed. That is, the light that has passed through the imaging lens 14 enters the solid-state imaging device 102. Photosensors are arranged in a plane on the light receiving surface of the solid-state imaging device 102, and the subject image formed on the light receiving surface is converted into signal charges of an amount corresponding to the amount of incident light by each photosensor. . The signal charges accumulated in this way are sequentially read out as voltage signals (image signals) corresponding to the signal charges based on pulse signals given from a driver circuit (not shown), and are respectively added to the imaging circuit 102.

撮像回路102は、ゲイン調整回路を含み、撮像回路102を通してデジタル信号に変換された画像データは、それぞれ画像処理回路108及びハイパスフィルタ(HPF)125へ送られる。画像処理回路108は、ホワイトバランス補正回路108b、ガンマ補正回路108c、YC処理回路108d、輝度・色差信号生成回路、シャープネス補正回路、コントラスト補正回路、撮影画像に対する輪郭補正を含む画像処理を行う輪郭処理部、画像のノイズ低減処理を行うノイズ低減処理部等を含む画像処理手段であり、CPU112からのコマンドに従って画像信号を処理する。   The imaging circuit 102 includes a gain adjustment circuit, and the image data converted into a digital signal through the imaging circuit 102 is sent to the image processing circuit 108 and the high-pass filter (HPF) 125, respectively. The image processing circuit 108 includes a white balance correction circuit 108b, a gamma correction circuit 108c, a YC processing circuit 108d, a luminance / color difference signal generation circuit, a sharpness correction circuit, a contrast correction circuit, and contour processing for performing image processing including contour correction for a captured image. Image processing means including a noise reduction processing unit that performs image noise reduction processing, and processes an image signal in accordance with a command from the CPU 112.

画像処理回路108に入力された画像データは、輝度信号(Y信号)及び色差信号(Cr、Cl信号)に変換されるとともに、ガンマ補正等の所定の処理が施された後、VRAM132に格納される。   The image data input to the image processing circuit 108 is converted into a luminance signal (Y signal) and a color difference signal (Cr, Cl signal) and subjected to predetermined processing such as gamma correction, and then stored in the VRAM 132. The

一方、撮像回路108のA/D変換部108aでデジタル信号に変換された画像データは、ハイパスフィルタ(HPF)125でG画素成分のみ抽出される。そして、積算処理部126で抽出されたG画素成分に積算処理が施されてCPU112に送られる。CPU112は、積算処理部126から送られた1画面分の64分割の画像データの内、任意に設定された顔中心付近の4エリアの平均値を算出し、これをオートフォーカス(AF)評価値とする。顔中心は後述の顔検出部112aが設定する。AF評価値は、所定周期の経過毎に算出され、算出の度にメモリ127に更新記憶される。後述するが、CPU112の実行するプログラムである合焦判断部112bは、AF評価値に従って人物の顔領域の合焦を判定する。   On the other hand, the image data converted into a digital signal by the A / D conversion unit 108 a of the imaging circuit 108 is extracted only by the G pixel component by the high pass filter (HPF) 125. Then, the G pixel component extracted by the integration processor 126 is integrated and sent to the CPU 112. The CPU 112 calculates an average value of four areas in the vicinity of the center of the face set arbitrarily among the 64-division image data for one screen sent from the integration processing unit 126, and calculates this as an autofocus (AF) evaluation value And The face center is set by the face detection unit 112a described later. The AF evaluation value is calculated every elapse of a predetermined period, and is updated and stored in the memory 127 each time it is calculated. As will be described later, the focus determination unit 112b, which is a program executed by the CPU 112, determines the focus of the person's face area according to the AF evaluation value.

撮影画像を表示部110にモニタ出力する場合、VRAM132からYC信号が読み出され、ビデオエンコーダ134に送られる。ビデオエンコーダ134は、入力されたYC信号を表示用の所定方式の信号(例えば、NTSC方式のカラー複合映像信号)に変換して表示部110に出力する。表示部110の駆動はドライバ111を介して行われる。   When the captured image is output to the display unit 110 on the monitor, the YC signal is read from the VRAM 132 and sent to the video encoder 134. The video encoder 134 converts the input YC signal into a predetermined display signal (for example, an NTSC color composite video signal) and outputs the converted signal to the display unit 110. The display unit 110 is driven via the driver 111.

所定のフレームレートで処理された各フレームのYC信号は、VRAM132のA領域とB領域とに交互に書き込まれ、VRAM132のA領域及びB領域のうち、YC信号が書き込まれている方の領域以外の領域から、書き込まれているYC信号が読み出される。このようにしてVRAM132内のYC信号が定期的に書き換えられ、そのYC信号から生成される映像信号が表示部110に供給されることにより、撮像中の映像がリアルタイムに表示部110に表示される。ユーザは、表示部110に表示される映像(スルー)によって撮影画角を確認できる。   The YC signal of each frame processed at a predetermined frame rate is alternately written in the A area and B area of the VRAM 132, and the Y area other than the area where the YC signal is written out of the A area and B area of the VRAM 132. The YC signal that has been written is read out from this area. In this way, the YC signal in the VRAM 132 is periodically rewritten, and the video signal generated from the YC signal is supplied to the display unit 110, whereby the image being captured is displayed on the display unit 110 in real time. . The user can check the shooting angle of view from the video (through) displayed on the display unit 110.

ここで、レリーズスイッチ22が半押しされると、AE及びAF処理が開始される。AE/AF処理が行われ、レリーズスイッチ22が全押しされることによって記録用の撮影動作がスタートする。レリーズスイッチ22全押しに応動して取得された画像データは画像処理回路108において輝度/色差信号(Y/C信号)に変換され、ガンマ補正等の所定の処理が施された後、VRAM132に格納される。   Here, when the release switch 22 is half-pressed, AE and AF processes are started. AE / AF processing is performed, and when the release switch 22 is fully pressed, a recording operation is started. Image data acquired in response to the release switch 22 being fully pressed is converted into a luminance / color difference signal (Y / C signal) by the image processing circuit 108, subjected to predetermined processing such as gamma correction, and then stored in the VRAM 132. Is done.

VRAM132に格納されたY/C信号は、圧縮伸長処理回路144によって所定のフォーマットに従って圧縮された後、メディアコントローラ146を介して記録媒体40にExif(Exchangeable Image File Format)ファイルとして記録される。画像はExifファイルのデータ部分に記録される。CPU112は上記Exifファイルのヘッダ部分の所定のタグ(Imagedescriptionタグなど)に撮影日時情報などを記録する。   The Y / C signal stored in the VRAM 132 is compressed according to a predetermined format by the compression / decompression processing circuit 144 and then recorded as an Exif (Exchangeable Image File Format) file on the recording medium 40 via the media controller 146. The image is recorded in the data part of the Exif file. The CPU 112 records shooting date / time information and the like in a predetermined tag (such as an image description tag) in the header portion of the Exif file.

CPU112には、キセノン管からなるストロボ18の発光を制御するストロボ制御回路115も接続されており、静止画撮影において、低照度であることが検出された場合や、ストロボボタンによって発光が指示された場合や、強制発光モードが設定された場合にタイミングジェネレータ120によって発生されたタイミング信号に同期したタイミングで短時間(例えば1秒以上の短時間)発光するようにストロボ18を制御する。   The CPU 112 is also connected to a strobe control circuit 115 that controls the light emission of the strobe 18 made of a xenon tube. When still light shooting is detected as having low illuminance, or the light emission is instructed by the strobe button. In this case or when the forced light emission mode is set, the flash 18 is controlled to emit light for a short time (for example, for a short time of 1 second or more) at a timing synchronized with the timing signal generated by the timing generator 120.

モードダイヤル150によって動画撮影モードが設定されたときには、レリーズスイッチ22の全押し操作に連動して動画記録動作がスタートし、もう一度レリーズスイッチ22を押下すると動画記録動作が停止する。レリーズスイッチ22を押下継続している期間、録画動作を行い、押下解除によって録画を停止するようにしてもよい。動画データは、例えばモーションJPEG(MPEG)形式によって記録媒体40に記録される。   When the moving image shooting mode is set by the mode dial 150, the moving image recording operation starts in conjunction with the full pressing operation of the release switch 22, and when the release switch 22 is pressed again, the moving image recording operation is stopped. The recording operation may be performed while the release switch 22 is continuously pressed, and the recording may be stopped by releasing the pressing. The moving image data is recorded on the recording medium 40 in, for example, a motion JPEG (MPEG) format.

モードダイヤル150により再生モードが選択されると、記録媒体40に記録されている最終の画像ファイル(最後に記録されたファイル)の圧縮データが読み出される。最後の記録に係るファイルが静止画ファイルの場合、この読み出された画像圧縮データは、圧縮伸長処理回路144を介して非圧縮のYC信号に伸長され、VRAM132に保存される。VRAM132に保存されたYC信号は、ビデオエンコーダ134に加えられる。ビデオエンコーダ134は、入力するYC信号からNTSC方式のRGBカラー複合映像信号を作成し、これを表示部110に出力する。これにより、表示部110には記録媒体40に記録されている最終コマのコマ画像が表示される。   When the playback mode is selected by the mode dial 150, the compressed data of the last image file (last recorded file) recorded on the recording medium 40 is read. When the file related to the last recording is a still image file, the read image compressed data is decompressed into an uncompressed YC signal via the compression / decompression processing circuit 144 and stored in the VRAM 132. The YC signal stored in the VRAM 132 is added to the video encoder 134. The video encoder 134 creates an NTSC RGB color composite video signal from the input YC signal and outputs it to the display unit 110. Thereby, the frame image of the last frame recorded on the recording medium 40 is displayed on the display unit 110.

その後、十字キー81の右キーが押されると、順方向にコマ送りされ、十字キー81の左キーが押されると、逆方向にコマ送りされる。そして、コマ送りされたコマ位置の画像ファイルが記録媒体40から読み出され、上記と同様にしてコマ画像が表示部110に再生される。尚、最終コマのコマ画像が表示されている状態で順方向にコマ送りされると、記録媒体40に記録されている1コマ目の画像ファイルが読み出され、1コマ目のコマ画像が表示部110に再生される。   Thereafter, when the right key of the cross key 81 is pressed, the frame is advanced in the forward direction, and when the left key of the cross key 81 is pressed, the frame is advanced in the reverse direction. Then, the frame-positioned image file at the frame position is read from the recording medium 40, and the frame image is reproduced on the display unit 110 in the same manner as described above. If the last frame image is displayed and the frame is advanced in the forward direction, the first frame image file recorded on the recording medium 40 is read and the first frame image is displayed. Played back to the unit 110.

表示部110は、カメラ10に内蔵されたLCD114、ファインダー又は映像出力端子等に接続された外部の表示装置に相当する。なお、CPU112は、OSD信号発生回路を含み、OSD信号発生回路はシャッター速度や絞り値、撮影可能枚数、撮影日時、警告メッセージ等の文字及びアイコン等の記号を表示するための信号を発生させる。このOSD信号発生回路から出力される信号は、必要に応じて画像信号に混合されて、LCD114に供給される。これにより、スルー画像や再生画像に文字やアイコン等が合成された合成画像が表示される。   The display unit 110 corresponds to an external display device connected to an LCD 114, a finder, a video output terminal, or the like built in the camera 10. The CPU 112 includes an OSD signal generation circuit, and the OSD signal generation circuit generates a signal for displaying characters such as a shutter speed, an aperture value, the number of shootable images, a shooting date / time, a warning message, and a symbol such as an icon. A signal output from the OSD signal generation circuit is mixed with an image signal as necessary and supplied to the LCD 114. As a result, a composite image in which characters, icons, and the like are combined with the through image and the playback image is displayed.

記録媒体40は、撮影で得た画像データを保持する手段であり、例えばスマートメディアと呼ばれるメモリカードが使用される。記録メディアの形態はこれに限定されず、PCカード、コンパクトフラッシュ(登録商標)、磁気ディスク、光ディスク、光磁気ディスク、メモリスティックなどでもよく、電子的、磁気的、もしくは光学的、又はこれらの組み合わせによる方式などに従って読み書き可能な媒体を用いることができる。異種・同種の記録メディアを問わず、複数の媒体を装着可能な構成にしてもよい。また、画像ファイルを保存する手段は、カメラ本体に着脱可能なリムーバブルメディアに限らず、カメラに内蔵された記録媒体(内蔵メモリ)であってもよい。   The recording medium 40 is means for holding image data obtained by shooting, and for example, a memory card called smart media is used. The form of the recording medium is not limited to this, and it may be a PC card, a compact flash (registered trademark), a magnetic disk, an optical disk, a magneto-optical disk, a memory stick, etc., electronic, magnetic, optical, or a combination thereof A readable / writable medium can be used in accordance with the above-described method. A configuration in which a plurality of media can be mounted regardless of different types or the same type of recording media may be adopted. The means for storing the image file is not limited to a removable medium that can be attached to and detached from the camera body, but may be a recording medium (built-in memory) built in the camera.

CPU112は、カメラ10の各回路を統括制御する制御回路であり、レリーズスイッチ22、十字キー81、電源スイッチ82、モードダイヤル150、情報位置指定キー83あるいは図示しないストロボボタン、ズームキー、メニュー/実行ボタンその他を含む操作部113から受信する信号に基づき、対応する回路の動作を制御するとともに、表示部110における表示制御、ストロボ発光制御、オートフォーカス(AF)制御及び自動露出(AE)制御等を行う。   The CPU 112 is a control circuit that comprehensively controls each circuit of the camera 10, and includes a release switch 22, a cross key 81, a power switch 82, a mode dial 150, an information position designation key 83 or a not-shown strobe button, zoom key, menu / execution button. Based on signals received from the operation unit 113 including others, the operation of the corresponding circuit is controlled, and display control, strobe light emission control, autofocus (AF) control, automatic exposure (AE) control, and the like are performed on the display unit 110. .

カメラ10の電源が電源スイッチ82でオンされる度に、カメラボディ内部に装着される電池からなる主要電源164から、デジタルカメラ10の各回路に電源が供給される。   Each time the power supply of the camera 10 is turned on by the power switch 82, power is supplied to each circuit of the digital camera 10 from the main power supply 164 formed of a battery mounted inside the camera body.

画像処理回路108からの画像データは、測光処理部157にも送られる。この測光処理部157は、外光の光量を測定する手段の一例である。測光処理部157は、入力される各画像データと、固体撮像素子102の電荷蓄積時間、すなわち電子シャッタのシャッタ秒時とに基づいて被写体輝度の測光値(EV値)を算出する測光値算出部により構成できる。これにより、固体撮像素子102の駆動が調節される。なお、電子シャッタのシャッタ秒時とともに絞り値を変化させてもよい。絞り値を変化させる場合には、絞り値を加味して被写体輝度に応じた測光値を算出する。このように、測光処理部157は、固体撮像素子102を受光センサとしてTTL(Through The Lens) 測光方式によって被写体の明るさ(被写体輝度)を検出する。測光処理部157は、フォトトランジスタで構成された測光センサであってもよく、測光が可能な手段であれば特に限定されない。   Image data from the image processing circuit 108 is also sent to the photometric processing unit 157. The photometric processing unit 157 is an example of a unit that measures the amount of external light. The photometric processing unit 157 calculates a photometric value (EV value) of subject luminance based on each input image data and the charge accumulation time of the solid-state imaging device 102, that is, the shutter time of the electronic shutter. Can be configured. Thereby, the drive of the solid-state image sensor 102 is adjusted. The aperture value may be changed with the shutter time of the electronic shutter. When changing the aperture value, the photometric value corresponding to the subject brightness is calculated with the aperture value taken into account. As described above, the photometry processing unit 157 detects the brightness of the subject (subject brightness) by the TTL (Through The Lens) photometry method using the solid-state imaging device 102 as a light receiving sensor. The photometric processing unit 157 may be a photometric sensor composed of a phototransistor, and is not particularly limited as long as it is a means capable of photometry.

図2はCPU112の実行するプログラムをブロック図で示している。CPU112は、プログラムである顔検出部112a、合焦判断部112b、目領域検出部112c及び目開閉検出部112dを実行する。顔検出部112a、合焦判断部112b、目領域検出部112c及び目開閉検出部112dはEEPROM119に記憶されており、CPU112により適宜メモリ127に読み出されて実行される。   FIG. 2 shows a program executed by the CPU 112 in a block diagram. The CPU 112 executes a face detection unit 112a, a focus determination unit 112b, an eye region detection unit 112c, and an eye open / close detection unit 112d, which are programs. The face detection unit 112a, the focus determination unit 112b, the eye region detection unit 112c, and the eye open / close detection unit 112d are stored in the EEPROM 119, and are appropriately read by the CPU 112 to the memory 127 and executed.

顔検出部112aは、公知の顔認識技術により撮影画像から人物の顔部分を検出する。撮影画像に複数の人物が記録されている場合は、複数の顔部分を個別に検出する。合焦判断部112bは、AF評価値に基づいて検出された顔部分に合焦しているか否かを判断する。その判断方法は任意であるが、例えばAF評価値が極大点の近傍に略到達しているか否かを判断し、極大点に略達している場合は合焦していると判断し、その他の場合は合焦していないと判断する。あるいは、AF評価値が所定の閾値を超えていれば合焦していると判断することもできる。   The face detection unit 112a detects a human face portion from a captured image using a known face recognition technique. When a plurality of persons are recorded in the captured image, a plurality of face portions are individually detected. The focus determination unit 112b determines whether or not the face portion detected based on the AF evaluation value is in focus. The determination method is arbitrary. For example, it is determined whether or not the AF evaluation value has substantially reached the vicinity of the maximum point. If the AF evaluation value has substantially reached the maximum point, the AF evaluation value is determined to be in focus. In this case, it is determined that the subject is not in focus. Alternatively, if the AF evaluation value exceeds a predetermined threshold, it can be determined that the subject is in focus.

目領域検出部112cは、顔検出部112aの検出した顔部分から目の存在する目領域を検出する。目領域は顔検出の結果得られる顔概略中心位置の相対的位置関係から検出することができる。目開閉検出部112dは、目領域内の目が開いているか又は閉じているかを判断する。目の開閉の判断方法は特に限定されない。例えば目開閉検出部112dは、目領域内の縦方向黒色画素数をそれぞれ検出する。そして、目領域の縦方向黒色画素数に基づき、目を閉じているか否かを判断する。   The eye area detection unit 112c detects an eye area in which an eye exists from the face portion detected by the face detection unit 112a. The eye region can be detected from the relative positional relationship of the approximate face center position obtained as a result of face detection. The eye opening / closing detection unit 112d determines whether the eyes in the eye region are open or closed. The method for determining whether to open or close the eyes is not particularly limited. For example, the eye opening / closing detection unit 112d detects the number of vertical black pixels in the eye area. Then, based on the number of vertical black pixels in the eye area, it is determined whether or not the eyes are closed.

[処理の流れ]
以下、図3のフローチャートに従い、CPU112の実行する画像記録処理の流れを説明する。この処理では、VRAM132に記憶された画像のうち、いずれの人物も目のつむっていない画像を成功画像として記録媒体40に記録する処理である。
[Process flow]
The flow of image recording processing executed by the CPU 112 will be described below with reference to the flowchart of FIG. In this process, among the images stored in the VRAM 132, an image in which no person is blind is recorded on the recording medium 40 as a successful image.

S1では、VRAM132に格納された画像データを読み出し、S2では、顔検出部112aがこの画像データから各々の顔部分を検出する。   In S1, the image data stored in the VRAM 132 is read, and in S2, the face detection unit 112a detects each face portion from this image data.

S3では、顔検出部112aは検出されたある一つの顔部分の中心を顔中心と定め、合焦判定部112bは設定された顔中心付近の4エリアの平均値を算出し、これをAF評価値とする。   In S3, the face detection unit 112a determines the center of one detected face portion as the center of the face, and the focus determination unit 112b calculates an average value of four areas near the set face center, and this is used for AF evaluation. Value.

S4では、合焦判断部112bは、算出されたAF評価値に基づき、該顔部分に合焦しているか否かを判断する。合焦している場合はS5に移行し、合焦していない場合はS9に移行する。なお、合焦の有無に基づいて撮影が成功か失敗かを判断しないのであれば、S4の判断は省略し、S3からS5に移行するようにしてもよい。   In S4, the focus determination unit 112b determines whether or not the face portion is focused based on the calculated AF evaluation value. If it is in focus, the process proceeds to S5. If it is not focused, the process proceeds to S9. If it is not determined whether the shooting is successful or unsuccessful based on the presence or absence of focus, the determination in S4 may be omitted, and the process may proceed from S3 to S5.

S5では、目領域検出部112cは、顔検出部112aの検出した顔部分から目の存在する目領域を検出する。   In S5, the eye area detection unit 112c detects an eye area in which an eye exists from the face portion detected by the face detection unit 112a.

S6では、目開閉検出部112dは、検出された目領域内の目が開いているか又は閉じているか判断する。目が開いている場合はS7に移行し、目が閉じている場合はS9に移行する。   In S6, the eye opening / closing detection unit 112d determines whether the eyes in the detected eye area are open or closed. If the eyes are open, the process proceeds to S7, and if the eyes are closed, the process proceeds to S9.

S7では、画像データから検出された全ての顔部分について上記S2〜S6の処理を実行したか否かを判断する。全ての顔部分について上記の処理を実行し、その結果全ての顔部分について目が開いていると判断された場合はS8に移行し、上記の処理が実行されていない顔部分がある場合はS2に戻ってその顔部分につき上記S2〜S6の処理を実行する。なお、上記S2〜S6の処理を繰り返す際、目が閉じている顔部分の総数である目つむり数を計数してもよい。   In S7, it is determined whether or not the processes in S2 to S6 have been executed for all the face portions detected from the image data. If the above processing is executed for all the face portions, and it is determined that the eyes are open for all the face portions, the process proceeds to S8, and if there is a face portion for which the above processing is not executed, S2 is performed. Returning to step S2, the processes in S2 to S6 are executed for the face portion. In addition, when repeating the process of S2-S6, you may count the number of eye-openings which is the total number of face parts with closed eyes.

S8では、VRAM132の画像データをExifファイルとして記録媒体40に記録する。この際、CPU112はExifファイルのヘッダ部分の所定のタグ(Imagedescriptionタグなど)に撮影成功画像である旨を示す情報を記録する。なお、S8においては、撮影成功画像である旨を表示部110に表示してもよい。   In S8, the image data in the VRAM 132 is recorded on the recording medium 40 as an Exif file. At this time, the CPU 112 records information indicating that the image is a successful shooting image in a predetermined tag (such as an image description tag) in the header portion of the Exif file. In S8, the display unit 110 may display that the image has been successfully captured.

S9では、VRAM132の画像データをExifファイルとして記録媒体40に記録する。この際、CPU112は上記Exifファイルのヘッダ部分の所定のタグ(Imagedescriptionタグなど)に撮影失敗画像である旨を示す情報を記録する。目つむり数を所定のタグに記録してもよい。   In S9, the image data in the VRAM 132 is recorded on the recording medium 40 as an Exif file. At this time, the CPU 112 records information indicating that the image has failed in a predetermined tag (such as an image description tag) in the header portion of the Exif file. The number of eyes closed may be recorded on a predetermined tag.

なお、S9においては、撮影失敗画像である旨の警告や目つむり数を表示部110に表示してもよい。あるいは、S9においては、操作部113から撮影失敗画像を記録するか否かの指示を受け付け、記録することが指示された場合はVRAM132の画像データをExifファイルとして記録媒体40に記録し、記録しないことが指示された場合はVRAM132の画像データを削除してもよい。また、上記の画像記録処理のS2〜S7を実行するか否かのモード設定を操作部113から指定させ、実行しないモードが指定されない場合はVRAM132の画像データをExifファイルとして無条件に記録媒体40に記録してもよい。   In S <b> 9, a warning indicating that the image has failed and the number of eyebrows may be displayed on the display unit 110. Alternatively, in S9, an instruction as to whether or not to record a shooting failure image is received from the operation unit 113, and when recording is instructed, the image data in the VRAM 132 is recorded as an Exif file on the recording medium 40 and is not recorded. May be deleted, the image data in the VRAM 132 may be deleted. Also, the mode setting for determining whether or not to execute S2 to S7 of the image recording process is specified from the operation unit 113. When the mode not to be executed is not specified, the image data in the VRAM 132 is unconditionally recorded as an Exif file. May be recorded.

以上説明した通り、本発明に係るデジタルカメラ10は、画像に目をつむった人物が全くいない場合は成功画像として記録する。このため、ユーザがいちいち画像を確認して目をつむった人物が記録されたか否かを判断する必要もなく、誰も目をつむっていない集合写真(撮影成功画像)と、誰かが目をつむっている集合写真(撮影失敗画像)とを区別して記録することができる。   As described above, the digital camera 10 according to the present invention records a successful image when there is no person who has looked at the image. For this reason, it is not necessary for the user to check each image and determine whether or not a person who has closed his eyes has been recorded. It can be recorded separately from the group photo (shooting failure image).

デジタルカメラのブロック構成図Block diagram of digital camera CPUの実行するプログラムを示すブロック図The block diagram which shows the program which CPU executes 画像記録処理の流れを示すフローチャートFlow chart showing the flow of image recording processing

符号の説明Explanation of symbols

112:CPU、112a:顔検出部、112b:合焦判断部、112c:目領域検出部、112d:目開閉検出部 112: CPU, 112a: face detection unit, 112b: focus determination unit, 112c: eye area detection unit, 112d: eye open / close detection unit

Claims (8)

画像から顔部分を検出する顔検出部と、
前記顔部分から目の存在する目領域を検出する目領域検出部と、
前記目領域内の目が開いているか又は閉じているかを判断する目開閉検出部と、
前記目領域内の目が開いていると判断された画像を撮影成功画像として記録する画像記録部と、
を備える画像記録装置。
A face detection unit for detecting a face part from an image;
An eye area detection unit for detecting an eye area where eyes are present from the face part;
An eye opening / closing detection unit for determining whether the eye in the eye region is open or closed;
An image recording unit that records an image determined to have an open eye in the eye area as a successful shooting image;
An image recording apparatus comprising:
前記顔部分が合焦しているか否かを判断する合焦判断部をさらに備え、
前記画像記録部は前記顔部分が合焦しておりかつ前記目領域内の目が開いていると判断された画像を撮影成功画像として記録する請求項1に記載の画像記録装置。
A focus determination unit for determining whether or not the face portion is in focus;
The image recording apparatus according to claim 1, wherein the image recording unit records an image that is determined that the face portion is in focus and the eyes in the eye area are open as a successful shooting image.
前記目領域内の目が閉じていると判断された顔部分の数である目つむり数を計数する計数部をさらに備える請求項1又は2に記載の画像記録装置。   The image recording apparatus according to claim 1, further comprising a counting unit that counts the number of eyebrows, which is the number of face portions that are determined to have closed eyes in the eye region. 前記目つむり数を警告表示する表示部をさらに備える請求項3に記載の画像記録装置。   The image recording apparatus according to claim 3, further comprising: a display unit that displays a warning on the number of eyebrows. 前記画像記録部は前記目つむり数を記録する請求項3又は4に記載の画像記録装置。   The image recording apparatus according to claim 3, wherein the image recording unit records the number of eyebrows. 前記画像記録部は前記目領域内の目が閉じていると判断された画像を撮影失敗画像として記録する請求項1〜5のいずれかに記載の画像記録装置。   The image recording apparatus according to claim 1, wherein the image recording unit records an image determined to have closed eyes in the eye area as a photographing failure image. 画像から顔部分を検出する顔検出ステップと、
前記顔部分から目の存在する目領域を検出する目領域検出ステップと、
前記目領域内の目が開いているか又は閉じているかを判断する目開閉検出ステップと、
前記目領域内の目が開いていると判断された画像を撮影成功画像として記録する画像記録ステップと、
を含む画像記録方法。
A face detection step for detecting a face portion from the image;
An eye area detecting step for detecting an eye area where eyes are present from the face part;
Eye opening / closing detection step for determining whether the eye in the eye region is open or closed;
An image recording step of recording an image determined to have an open eye in the eye area as a successful shooting image;
An image recording method comprising:
画像から顔部分を検出する顔検出ステップと、
前記顔部分から目の存在する目領域を検出する目領域検出ステップと、
前記目領域内の目が開いているか又は閉じているかを判断する目開閉検出ステップと、
前記目領域内の目が開いていると判断された画像を撮影成功画像として記録する画像記録ステップと、
をコンピュータに実行させる画像記録プログラム。
A face detection step for detecting a face portion from the image;
An eye area detecting step for detecting an eye area where eyes are present from the face part;
Eye opening / closing detection step for determining whether the eye in the eye region is open or closed;
An image recording step of recording an image determined to have an open eye in the eye area as a successful shooting image;
Is an image recording program for causing a computer to execute.
JP2004349860A 2004-12-02 2004-12-02 Apparatus, method and program for image recording Pending JP2006163496A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004349860A JP2006163496A (en) 2004-12-02 2004-12-02 Apparatus, method and program for image recording

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004349860A JP2006163496A (en) 2004-12-02 2004-12-02 Apparatus, method and program for image recording

Publications (1)

Publication Number Publication Date
JP2006163496A true JP2006163496A (en) 2006-06-22

Family

ID=36665482

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004349860A Pending JP2006163496A (en) 2004-12-02 2004-12-02 Apparatus, method and program for image recording

Country Status (1)

Country Link
JP (1) JP2006163496A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008149925A1 (en) * 2007-06-08 2008-12-11 Nikon Corporation Imaging device, image display device, and program
JP2009163691A (en) * 2008-01-10 2009-07-23 Casio Comput Co Ltd Image processor and program
JP2009267696A (en) * 2008-04-24 2009-11-12 Canon Inc Image processing apparatus, control method for the same, and program
JP2010028589A (en) * 2008-07-22 2010-02-04 Sony Corp Imaging apparatus, processing method thereof and program
JP2010028588A (en) * 2008-07-22 2010-02-04 Sony Corp Imaging apparatus, processing method thereof, and program
US20110069194A1 (en) * 2009-09-24 2011-03-24 Canon Kabushiki Kaisha Imaging apparatus and imaging method
JP2011234002A (en) * 2010-04-26 2011-11-17 Kyocera Corp Imaging device and terminal device
US8077215B2 (en) 2007-04-13 2011-12-13 Fujifilm Corporation Apparatus for detecting blinking state of eye
US8711265B2 (en) 2008-04-24 2014-04-29 Canon Kabushiki Kaisha Image processing apparatus, control method for the same, and storage medium
KR101411309B1 (en) 2007-12-05 2014-06-25 삼성전자주식회사 Digital image processing apparatus which can determine the eye's open-close rate comprised in image
KR101448536B1 (en) 2008-03-21 2014-10-08 삼성전자주식회사 Digital photographing apparatus, method for controlling the same, and recording medium storing program to implement the method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000137791A (en) * 1998-10-30 2000-05-16 Minolta Co Ltd Image evaluating device
JP2000259833A (en) * 1999-03-08 2000-09-22 Toshiba Corp Face image processor and processing method therefor
JP2000292853A (en) * 1999-01-14 2000-10-20 Toshiba Corp Method and device for photographing face picture
JP2000347278A (en) * 1999-06-04 2000-12-15 Fuji Photo Film Co Ltd Camera and photographing method
JP2002010179A (en) * 2000-06-19 2002-01-11 Olympus Optical Co Ltd Print image selector, photograph printer with automatic selecting function and automatic selecting print system as well as storage medium
JP2003141512A (en) * 2001-11-06 2003-05-16 Konica Corp Face imaging system and image processing method
JP2004320286A (en) * 2003-04-15 2004-11-11 Nikon Gijutsu Kobo:Kk Digital camera

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000137791A (en) * 1998-10-30 2000-05-16 Minolta Co Ltd Image evaluating device
JP2000292853A (en) * 1999-01-14 2000-10-20 Toshiba Corp Method and device for photographing face picture
JP2000259833A (en) * 1999-03-08 2000-09-22 Toshiba Corp Face image processor and processing method therefor
JP2000347278A (en) * 1999-06-04 2000-12-15 Fuji Photo Film Co Ltd Camera and photographing method
JP2002010179A (en) * 2000-06-19 2002-01-11 Olympus Optical Co Ltd Print image selector, photograph printer with automatic selecting function and automatic selecting print system as well as storage medium
JP2003141512A (en) * 2001-11-06 2003-05-16 Konica Corp Face imaging system and image processing method
JP2004320286A (en) * 2003-04-15 2004-11-11 Nikon Gijutsu Kobo:Kk Digital camera

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8077215B2 (en) 2007-04-13 2011-12-13 Fujifilm Corporation Apparatus for detecting blinking state of eye
US8587658B2 (en) 2007-06-08 2013-11-19 Nikon Corporation Imaging device, image display device, and program with intruding object detection
WO2008149925A1 (en) * 2007-06-08 2008-12-11 Nikon Corporation Imaging device, image display device, and program
KR101411309B1 (en) 2007-12-05 2014-06-25 삼성전자주식회사 Digital image processing apparatus which can determine the eye's open-close rate comprised in image
JP2009163691A (en) * 2008-01-10 2009-07-23 Casio Comput Co Ltd Image processor and program
KR101448536B1 (en) 2008-03-21 2014-10-08 삼성전자주식회사 Digital photographing apparatus, method for controlling the same, and recording medium storing program to implement the method
JP2009267696A (en) * 2008-04-24 2009-11-12 Canon Inc Image processing apparatus, control method for the same, and program
US8711265B2 (en) 2008-04-24 2014-04-29 Canon Kabushiki Kaisha Image processing apparatus, control method for the same, and storage medium
JP2010028589A (en) * 2008-07-22 2010-02-04 Sony Corp Imaging apparatus, processing method thereof and program
JP2010028588A (en) * 2008-07-22 2010-02-04 Sony Corp Imaging apparatus, processing method thereof, and program
US8462225B2 (en) 2009-09-24 2013-06-11 Canon Kabushiki Kaisha Imaging apparatus and imaging method
US20110069194A1 (en) * 2009-09-24 2011-03-24 Canon Kabushiki Kaisha Imaging apparatus and imaging method
JP2011234002A (en) * 2010-04-26 2011-11-17 Kyocera Corp Imaging device and terminal device
US8928770B2 (en) 2010-04-26 2015-01-06 Kyocera Corporation Multi-subject imaging device and imaging method

Similar Documents

Publication Publication Date Title
US7706674B2 (en) Device and method for controlling flash
JP4626425B2 (en) Imaging apparatus, imaging method, and imaging program
US7711190B2 (en) Imaging device, imaging method and imaging program
JP2008017166A (en) Photographing device and method, and program
JP2007311861A (en) Photographic apparatus and method
JP2008085737A (en) Electronic camera
KR100547998B1 (en) Control method of digital camera informing that photographing state was inadequate
JP5027580B2 (en) Imaging apparatus, method, and program
JP2006163496A (en) Apparatus, method and program for image recording
JP2008053811A (en) Electronic camera
JP5073602B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP4182864B2 (en) Electronic camera
JP4879127B2 (en) Digital camera and digital camera focus area selection method
JP2009020163A (en) Imaging apparatus and program therefor
JP4717840B2 (en) Imaging apparatus and control method thereof
JP2004032524A (en) Digital camera
JP2009033386A (en) Photographing device and method
JP2010028605A (en) Image capturing apparatus and method of controlling the same
JP2009182880A (en) Imaging apparatus and its program
JP2007228532A (en) Imaging apparatus and program therefor
JP2005159708A (en) Digital camera and image processing apparatus
JP4761039B2 (en) Imaging device
JP2006222900A (en) Imaging device and control program therefor
JP2009094686A (en) Camera having projector
JP2008053856A (en) Imaging apparatus

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20070110

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070412

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100204

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100329

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100414

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100803