JP4829186B2 - Imaging device - Google Patents

Imaging device Download PDF

Info

Publication number
JP4829186B2
JP4829186B2 JP2007195449A JP2007195449A JP4829186B2 JP 4829186 B2 JP4829186 B2 JP 4829186B2 JP 2007195449 A JP2007195449 A JP 2007195449A JP 2007195449 A JP2007195449 A JP 2007195449A JP 4829186 B2 JP4829186 B2 JP 4829186B2
Authority
JP
Japan
Prior art keywords
face image
smile
image
detected
detecting means
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.)
Expired - Fee Related
Application number
JP2007195449A
Other languages
Japanese (ja)
Other versions
JP2009033491A (en
JP2009033491A5 (en
Inventor
淳 丸山
雪竹  晶
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.)
Olympus Imaging Corp
Original Assignee
Olympus Imaging 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 Olympus Imaging Corp filed Critical Olympus Imaging Corp
Priority to JP2007195449A priority Critical patent/JP4829186B2/en
Priority to CN 201310371583 priority patent/CN103458183A/en
Priority to CN 200810127997 priority patent/CN101355652B/en
Publication of JP2009033491A publication Critical patent/JP2009033491A/en
Publication of JP2009033491A5 publication Critical patent/JP2009033491A5/ja
Application granted granted Critical
Publication of JP4829186B2 publication Critical patent/JP4829186B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、撮像装置に関し、詳しくは、被写体像の変化時に撮影を行う撮像装置に関する。 The present invention relates to imaging equipment, more particularly, relates to an imaging equipment to perform photographing when the change of the object image.

撮影者が自ら被写体として撮影するセルフ撮影の場合には、カメラ操作者が遠隔からカメラをリモコン装置によってコントロールし、撮影することが、しばしば利用されている(例えば、特許文献1参照)。しかしながら、リモコン装置は、一般に小さく紛失し易いという問題と、カメラとセットで常に携帯しなければならないという煩わしさがある。 In the case of self-photographing in which a photographer himself photographs as a subject, it is often used that a camera operator remotely controls the camera with a remote control device and shoots (see, for example, Patent Document 1). However, the remote control device has a problem that it is generally small and easily lost, and annoying that it must always be carried with the camera.

そこで、特許文献2には、リモコン装置を携帯しなくても、遠隔レリーズを可能としたデジタルカメラが開示されている。この特許文献2に開示されているデジタルカメラは、顔画像を検出可能とし、顔画像を検出すると、シャッタレリーズを行うように構成されている。 Therefore, Patent Document 2 discloses a digital camera that enables remote release without carrying a remote control device. The digital camera disclosed in Patent Document 2 is configured to detect a face image and perform shutter release when the face image is detected.

特許第2790268号公報Japanese Patent No. 2790268 特開2003−92700号公報JP 2003-92700 A

特許文献2に開示のデジタルカメラによれば、リモコン装置を携帯しなければならないという煩わしさから開放されるが、顔画像を検出した時点で、カメラのレリーズ動作に移行してしまうので、カメラ操作者(=被写体)が意図するシャッタタイミングに合致しない場合がある。 According to the digital camera disclosed in Patent Document 2, it is freed from the hassle of having to carry a remote control device, but when a face image is detected, the camera shifts to the release operation of the camera. There are cases where the person (= subject) does not match the intended shutter timing.

すなわち、第1の問題として、一人でセルフ撮影を行うときに、カメラ操作者が画面中心にいなくても、レリーズ動作に移行してしまう。この不都合を解消するために、カメラ操作者が画面中心にいる場合のみ、レリーズ動作に移行するように構成することも考えられる。しかし、このように構成したとしても、カメラ操作者が画面中心位置に入るように、自らその位置を調整する必要があり、非常に煩わしいものとなってしまう。また、第2の問題として、複数人にてセルフ撮影を行う場合には、既に画面内に顔画像が存在しているため、遠隔レリーズとしては機能しないことになってしまう。 That is, as a first problem, when performing self-photographing alone, the camera moves to the release operation even if the camera operator is not at the center of the screen. In order to eliminate this inconvenience, it can be considered that the camera is shifted to the release operation only when the camera operator is at the center of the screen. However, even with this configuration, it is necessary to adjust the position of the camera operator so that the camera operator enters the center position of the screen, which is very troublesome. As a second problem, when a plurality of persons perform self-photographing, a face image already exists in the screen, so that it does not function as a remote release.

本発明は、このような事情を鑑みてなされたものであり、一人でのセルフ撮影であっても、複数人でのセルフ撮影であっても、カメラ操作者の意図通りのシャッタタイミングでレリーズ動作に移行しうる遠隔レリーズ機能を備えた撮像装置を提供することを目的とする。 This onset Ming has been made in view of such circumstances, even self-shooting alone, even self photographing a plurality of persons, the release by the shutter timing intended by the camera operator and an object thereof is to provide an imaging equipment having a remote release function can transition to the operation.

上記目的を達成するため第1の発明に係わる撮像装置は、被写体像を撮像するための撮像手段と、この撮像手段の出力を記録するための画像記録手段と、を具備する撮像装置において、上記撮像手段の出力から、人物の顔に相当する画像を検出するための顔画像検出手段と、この顔画像検出手段によって検出された顔画像の変化を検出するための顔画像変化検出手段と、上記顔画像検出手段によって顔画像が検出され、さらにその顔画像が変化をしたことが上記顔画像変化検出手段によって検出された場合、上記画像記録手段を作動させる制御手段と、を有し、上記顔画像変化検出手段は、上記顔画像検出手段の検出する顔画像より目を抽出し、顔画像の両目の瞳を結ぶ線より上側の白目の面積と下側の白目の面積を測定し、該上下の白目の面積の差を和で正規化した第1の笑顔度を求め、上記顔画像検出手段の検出する顔画像より唇を抽出し、顔画像の口の両端を結ぶ線より上側の唇の面積と下側の唇の面積を測定し、該上下の唇の面積の差を和で正規化した第2の笑顔度を求め、上記第1の笑顔度と第2の笑顔度を加算した第3の笑顔度が所定値以上か否かを判定して変化を検出する。 An imaging apparatus according to the first aspect of the present invention for achieving the above object, an imaging means for imaging an object image, in the image pickup apparatus having a, an image recording means for recording the output of the imaging means, the A face image detecting means for detecting an image corresponding to a person's face from the output of the imaging means; a face image change detecting means for detecting a change in the face image detected by the face image detecting means; Control means for operating the image recording means when the face image detection means detects the face image and the face image change detection means detects that the face image has changed. The image change detection means extracts the eyes from the face image detected by the face image detection means, measures the area of the white eye above and below the line connecting the eyes of both eyes of the face image, White eyes The first smile level obtained by normalizing the product difference with the sum is obtained, the lips are extracted from the face image detected by the face image detecting means, and the area of the lip above and below the line connecting the both ends of the mouth of the face image is extracted. A third smile obtained by measuring the area of the lips on the side, obtaining a second smile degree obtained by normalizing the difference between the areas of the upper and lower lips, and adding the first smile degree and the second smile degree. A change is detected by determining whether the degree is equal to or greater than a predetermined value.

第2の発明に係わる撮像装置は、上記第1の発明において、上記顔画像変化検出手段は、上記顔画像検出手段により検出される顔画像に基づき、口に歯が見えるか否かを判定し、歯が見えた場合は上記第3の笑顔度に所定値を加算する。
また、第3の発明に係わる撮像装置は、上記第1の発明において、上記顔画像変化検出手段は、上記顔画像検出手段により検出される顔画像に基づき、口端部に影があるか否かを判定し、影があると判定された場合は上記第3の笑顔度に所定値を加算する。
さらに、第4の発明に係わる撮像装置は、上記第1の発明において、上記顔画像変化検出手段は、上記顔画像検出手段により検出される顔画像に基づき、両目の間に皺があるか否かを判定し、皺があると判定した場合は上記第3の笑顔度より所定値を減算する。
In the imaging device according to a second aspect based on the first aspect, the face image change detecting means determines whether or not teeth can be seen in the mouth based on the face image detected by the face image detecting means. When a tooth is visible, a predetermined value is added to the third smile level.
In the imaging device according to a third aspect of the present invention, in the first aspect, the face image change detecting means is based on the face image detected by the face image detecting means, and whether or not there is a shadow at the mouth end. If it is determined that there is a shadow, a predetermined value is added to the third smile level.
Furthermore, in the imaging apparatus according to a fourth aspect of the present invention, in the first aspect, the face image change detection means determines whether there is a wrinkle between both eyes based on the face image detected by the face image detection means. If it is determined that there is a wrinkle, a predetermined value is subtracted from the third smile level.

本発明によれば、一人でのセルフ撮影であっても、複数人でのセルフ撮影であっても、カメラ操作者の意図通りのシャッタタイミングでレリーズ動作に移行しうる遠隔レリーズ機能を備えた撮像装置を提供することができる。 According to the present invention, imaging with a remote release function capable of shifting to a release operation at a shutter timing as intended by a camera operator, whether for self-photographing by one person or for self-photographing by a plurality of persons. it is possible to provide the equipment.

以下、図面に従って本発明の撮像装置を適用したデジタルカメラを用いて好ましい実施形態について説明する。本実施形態に係わるデジタルカメラは、被写体像を撮像素子によって画像データに変換し、レリーズ操作されると画像データは記録媒体に記録される。また、画像データから顔の画像を検出することができると共に、顔の画像が笑顔に変化したことも検出することができる。また、セルフタイマーモードと共に、笑顔検出レリーズモードを選択することができ、このモードが選択されていると、笑顔に変化したことを検出した際に、画像データを取り込み、記録媒体にこのときの画像データが記録される。このときの撮影は複数回連続して行われ、また、フラッシュ装置によってフラッシュ照射がなされる。 Hereinafter, the preferred embodiments will be described using a digital camera to which the imaging equipment of the present invention with reference to the drawings. The digital camera according to the present embodiment converts a subject image into image data using an image sensor, and the image data is recorded on a recording medium when a release operation is performed. In addition, a face image can be detected from the image data, and it can also be detected that the face image has changed to a smile. In addition, the smile detection release mode can be selected together with the self-timer mode. When this mode is selected, image data is taken in when a change to smile is detected, and the image at this time is stored in the recording medium. Data is recorded. Shooting at this time is continuously performed a plurality of times, and flash irradiation is performed by a flash device.

図1は、本発明の一実施形態に係わるデジタルカメラとその周辺のブロック図である。カメラ100には、撮影レンズ2、AF(オートフォーカス)制御部2a、絞り2b、絞り制御部2c、撮像素子3、アナログフロントエンド(以下、AFEと略す)部4が設けられている。撮影レンズ2は、内部にフォーカスレンズを有し、入射した被写体15の像を撮像素子3上に結像させる。 FIG. 1 is a block diagram of a digital camera and its surroundings according to an embodiment of the present invention. The camera 100 includes a photographing lens 2, an AF (autofocus) control unit 2a, an aperture 2b, an aperture control unit 2c, an image sensor 3, and an analog front end (hereinafter abbreviated as AFE) unit 4. The taking lens 2 has a focus lens inside, and forms an image of the incident subject 15 on the image sensor 3.

AF制御部2aは、撮影レンズ2の合焦位置を、後述する画像処理部5内において画像処理を行い、いわゆる山登り法により検出し、フォーカスレンズを駆動して、合焦位置に移動させる。なお、山登り法は、撮影画像のコントラスト信号ピークから合焦位置(ピント位置)を検出する方式であるが、山登り法以外にも、例えば位相差法や三角測距法等公知の合焦方法に置き換えてもよい。AFによって合焦位置に達すると、このときの撮影レンズ2を検出することにより、距離判定を行うことができる。この場合、撮影レンズ2がズームレンズのときには、ズーム位置等を加味して距離の判定を行う。 The AF control unit 2a performs image processing in an image processing unit 5 to be described later, detects an in-focus position of the photographic lens 2, detects it by a so-called hill-climbing method, drives the focus lens, and moves it to the in-focus position. Note that the hill-climbing method is a method for detecting the in-focus position (focus position) from the contrast signal peak of the photographed image. In addition to the hill-climbing method, for example, a known focusing method such as a phase difference method or a triangulation method can be used. It may be replaced. When the in-focus position is reached by AF, the distance can be determined by detecting the photographing lens 2 at this time. In this case, when the photographing lens 2 is a zoom lens, the distance is determined in consideration of the zoom position and the like.

撮影レンズ2内または近傍に、シャッタや絞りの効果を奏する絞り2bが設けられる。絞り2bは、撮影時に所定の口径まで開き、露出が終了すると閉じて露光を終了させるものである。絞り制御部2cは、絞り2bを駆動して絞り径を設定する。撮像素子3は、多数の受光面(画素)からなるCCDやCMOSセンサ等であり、撮影レンズ2を介して被写体15からの像を受光しこれを画像信号に変換する。 A diaphragm 2b that provides the effects of a shutter and a diaphragm is provided in or near the photographing lens 2. The diaphragm 2b is opened to a predetermined aperture at the time of photographing, and is closed when the exposure is finished to finish the exposure. The aperture control unit 2c drives the aperture 2b to set the aperture diameter. The image sensor 3 is a CCD or CMOS sensor having a large number of light receiving surfaces (pixels) and receives an image from the subject 15 via the photographing lens 2 and converts it into an image signal.

アナログフロントエンド(AFE)部4は、アナログデジタル(AD)変換手段を含み、撮像素子3からの信号をデジタル信号化する。そして、AFE部4は、撮像素子3から出力される画像信号について各種処理を行う。また、AFE部4には、撮像素子3のいくつかの画素をまとめて、一括して読み出す機能も設けられている。たとえば、4画素(2×2)や9画素(3×3)など、各画素の信号レベルが小さいときには、いくつかの画素信号を加算して、S/Nを向上させることができ、また、感度を上げることも出来る。 The analog front end (AFE) unit 4 includes analog-digital (AD) conversion means, and converts a signal from the image sensor 3 into a digital signal. The AFE unit 4 performs various processes on the image signal output from the image sensor 3. The AFE unit 4 is also provided with a function of reading several pixels of the image pickup device 3 together and reading them together. For example, when the signal level of each pixel is small, such as 4 pixels (2 × 2) and 9 pixels (3 × 3), several pixel signals can be added to improve the S / N. Sensitivity can also be increased.

また、AFE部4は、撮像素子3の出力する信号を取捨選択する機能を有し、受光範囲の中から限られた範囲の画像データを抽出することが出来る。一般に撮像素子3の画素から間引いた画素信号を抽出する場合には、高速読出が可能となる。これにより構図確認用の画像信号を、画像処理部5によって高速処理し、表示制御部8aを介して表示部8に表示することにより、フレーミングが可能となる。 The AFE unit 4 has a function of selecting signals output from the image sensor 3 and can extract image data in a limited range from the light receiving range. In general, when pixel signals thinned out from the pixels of the image sensor 3 are extracted, high-speed reading is possible. Thus, the image signal for composition confirmation is processed at high speed by the image processing unit 5 and displayed on the display unit 8 via the display control unit 8a, thereby enabling framing.

AFE部4の出力は、画像処理部5に接続されている。画像処理部5は、入力信号の色や階調やシャープネスを補正処理する。また、撮像素子3から得られた画像信号を所定のレベルに増幅して、正しい濃淡、正しい灰色レベルに設定する増感部を有している。これは、デジタル化された信号レベルが、所定レベルになるようにデジタル演算するものである。 The output of the AFE unit 4 is connected to the image processing unit 5. The image processing unit 5 corrects the color, gradation, and sharpness of the input signal. Further, it has an intensifying unit that amplifies the image signal obtained from the image sensor 3 to a predetermined level and sets the correct gray level and the correct gray level. This is a digital operation so that the digitized signal level becomes a predetermined level.

また、画像処理部5は、ライブビュー画像(スルー画像とも言う)をリアルタイムに表示部に表示できるように、撮像素子3からの信号を表示部8に表示できるサイズに加工するリサイズ部を有する。この働きによって、撮影に先立って撮像素子に入射する像を表示部8でファインダ代わりに確認でき、これを見ながら撮影時のタイミングやシャッタチャンスを決定することが出来る。 In addition, the image processing unit 5 includes a resizing unit that processes a signal from the image sensor 3 into a size that can be displayed on the display unit 8 so that a live view image (also referred to as a through image) can be displayed on the display unit in real time. By this function, an image incident on the image sensor can be confirmed on the display unit 8 instead of the finder prior to photographing, and the timing and photo opportunity at the time of photographing can be determined while viewing this.

また、この画像処理部5の信号を利用して、撮像素子3から入力されてくる画像の特徴などを判定する画像判定機能を有している。画像情報を加工して得られる輪郭情報から、撮像しているものの形状を検出する形状判定部5a、また、画像の特徴を調べて、主要被写体の位置を検出する顔検出手段5dなどが、このシステムには含まれている。これは、写真撮影時に、ユーザーがどのような写真を撮ろうとしているかを判定して、撮影制御を最適化するためのものであり、これによって、いろいろな操作をしなくとも迅速な撮影に移行することが可能となる。 In addition, the image processing unit 5 has an image determination function for determining characteristics of an image input from the image sensor 3 by using a signal from the image processing unit 5. From the contour information obtained by processing the image information, a shape determination unit 5a that detects the shape of the object being imaged, and a face detection unit 5d that detects the position of the main subject by examining the characteristics of the image, etc. Included in the system. This is for optimizing the shooting control by determining what kind of photo the user is going to take when taking a photo. It becomes possible to do.

また、画像処理部5には、撮像素子3によって得られた顔画像から、顔の表情を判定する表情判定部5cが接続されている。表情判定部5cによって、被写体の感情や、撮影シーンの雰囲気などを類推することができる。画像処理部5は、前述した画像のコントラストを判定する機能を有し、撮影レンズのピント合わせ手段との連動で、オートフォーカスの制御を行う。撮影レンズ2のピント合わせ時のレンズ位置の情報によって、被写体の距離や、背景の距離などが判定できる。 In addition, the image processing unit 5 is connected to a facial expression determination unit 5c that determines facial expression from a facial image obtained by the image sensor 3. The facial expression determination unit 5c can infer the subject's emotion, the atmosphere of the shooting scene, and the like. The image processing unit 5 has a function of determining the above-described image contrast, and performs autofocus control in conjunction with the focusing unit of the photographing lens. The distance of the subject, the distance of the background, and the like can be determined based on the information on the lens position when the photographing lens 2 is focused.

カメラ100には、圧縮部6、記録部9a、記録メディア9、データ送受信部9c、表示部8、表示制御部8aが設けられている。圧縮部6は、撮影時に画像処理部5から出力された信号を圧縮する。圧縮部6内には、MPEG(Moving Picture Experts Group)4やH.264などの圧縮用コア部で構成される動画用の圧縮部及び JPEG(Joint
Photographic Experts Group)コア部など静止画像用の圧縮部が設けられる。また、圧縮部6は記録メディア9に記録されている画像を表示部8に再生する際には、画像伸張も行なう。
The camera 100 includes a compression unit 6, a recording unit 9a, a recording medium 9, a data transmission / reception unit 9c, a display unit 8, and a display control unit 8a. The compression unit 6 compresses the signal output from the image processing unit 5 at the time of shooting. The compression unit 6 includes MPEG (Moving Picture Experts Group) 4 and H.264. A compression unit for moving images composed of a compression core unit such as H.264 and JPEG (Joint
A still image compression unit such as a Photographic Experts Group) core unit is provided. The compression unit 6 also performs image expansion when reproducing the image recorded on the recording medium 9 on the display unit 8.

記録部9aは、圧縮された画像信号を記録メディア9に記録する。記録メディア9はカメラに着脱可能な保存用の記録媒体である。なお、画像信号の記録にあたっては、前述の圧縮された画像データのほか、撮影時間等の付随データも併せて記録される。撮影時間情報は、後述するMPU1内の時計部1tによって計測されており、MPU1は画像と関連付を行なう。 The recording unit 9 a records the compressed image signal on the recording medium 9. The recording medium 9 is a storage recording medium that can be attached to and detached from the camera. In recording the image signal, in addition to the compressed image data described above, accompanying data such as the shooting time is also recorded. The shooting time information is measured by a clock unit 1t in the MPU 1 described later, and the MPU 1 associates with the image.

記録メディア9に記録された撮影画像データは、RFIDのようなICカードやワイヤレスLANなどの無線データ技術等の技術を利用したデータ送受信部9cによって、インターネット等を経由して外部に送信することができる。表示部8は、例えば液晶や有機EL等から構成され、この表示部8の裏面には白色LEDなどのバックライトが配置されている。バックライトからの光を表示部8に照射することにより、表示部8の視認性を向上することができる。 The captured image data recorded on the recording medium 9 may be transmitted to the outside via the Internet or the like by the data transmitting / receiving unit 9c using a technology such as an IC card such as an RFID or a wireless data technology such as a wireless LAN. it can. The display unit 8 is composed of, for example, a liquid crystal or an organic EL, and a backlight such as a white LED is disposed on the back surface of the display unit 8. By irradiating the display unit 8 with light from the backlight, the visibility of the display unit 8 can be improved.

カメラ100には、補助光発光部11、MPU(Micro Processing Unit)1、レリーズスイッチ1a、モード切替スイッチ1b、他のスイッチ1cが設けられている。MPU1は、カメラ全体の制御を司る制御手段である。レリーズスイッチ1a、モード切替スイッチ1b、他のスイッチ1cおよびプログラム等を記憶したROM(不図示)が、MPU1に接続される。 The camera 100 is provided with an auxiliary light emitting unit 11, an MPU (Micro Processing Unit) 1, a release switch 1a, a mode switch 1b, and another switch 1c. The MPU 1 is a control unit that controls the entire camera. A release switch 1a, a mode switch 1b, another switch 1c, and a ROM (not shown) storing a program and the like are connected to the MPU 1.

MPU1内には、前述したように、日や時刻を検出するための時計部1tが設けられており、写真の撮影日時を検出し、撮影画像と関連付けを行う。なお、スイッチ1a、1b、1cは、スイッチを総称的に表示したものであって、実際には、図2に示すような多数の操作部材に連動する多数のスイッチ群から構成されている。 As described above, the MPU 1 is provided with the clock unit 1t for detecting the date and time, and detects the shooting date and time of the photograph and associates it with the captured image. Note that the switches 1a, 1b, and 1c are generically displayed switches, and actually include a large number of switch groups that are linked to a large number of operation members as shown in FIG.

各スイッチ1a〜1cは、ユーザーの操作を検出して、その結果をマイクロコントローラからなる演算制御手段であるMPU1に通知する。MPU1が、これらのスイッチの操作に従って動作を切り換える。これらのスイッチの操作に従って、撮影準備動作や撮影動作を行い、また、セルフタイマーの設定モードや、笑顔を検出した際にレリーズする笑顔レリーズモードの設定を行うことができる。 Each switch 1a-1c detects a user's operation, and notifies the result to MPU1 which is a calculation control means consisting of a microcontroller. The MPU 1 switches the operation according to the operation of these switches. According to the operation of these switches, a shooting preparation operation and a shooting operation can be performed, and a setting mode of a self-timer and a smile release mode that is released when a smile is detected can be set.

補助光発光部11は、白色LEDやXe放電発光管を有し、電流量で光量が制御できるようになっている。状況に応じて被写体15に光を照射して、明るさの不足や不均一な明るさを防止する。 The auxiliary light emitting unit 11 includes a white LED and a Xe discharge light emitting tube, and the amount of light can be controlled by the amount of current. Depending on the situation, the subject 15 is irradiated with light to prevent insufficient brightness or uneven brightness.

図2は、本実施形態に係わるデジタルカメラの外観背面図である。このカメラの背面には、TFTカラー液晶モニタ(以下、TFTと称す)20が配置されており、これは表示部8の一部である。カメラの上部には、スイッチ1aと連動するレリーズ釦21が配置されている。カメラの背面であって、右上側には撮影レンズ2の焦点距離を変化させるズーム釦22が配置され、その下側には、回転式のモード設定ダイヤル23が配置されている。 FIG. 2 is an external rear view of the digital camera according to the present embodiment. A TFT color liquid crystal monitor (hereinafter referred to as TFT) 20 is disposed on the back of the camera, and is a part of the display unit 8. At the top of the camera, a release button 21 that is linked to the switch 1a is arranged. A zoom button 22 for changing the focal length of the photographic lens 2 is disposed on the upper right side of the rear surface of the camera, and a rotary mode setting dial 23 is disposed below the zoom button 22.

このモード設定ダイヤル23は、静止画撮影モード、再生モード、手振れ軽減撮影モード、動画撮影モードなどを選択して設定することができる。モード設定ダイヤル23の下方側には、十字タイプの十字キースイッチ24が配置されている。この十字キースイッチ24の各キー部を操作することにより、露出補正の設定、フラッシュの設定、セルフ撮影モードの設定、マクロ撮影モードの設定を行うことができる。また、メニュー設定画面表示時には、キースイッチの操作により、カーソルを移動させることができ、またメニュー階層の切り替えを行うことができる。 The mode setting dial 23 can select and set a still image shooting mode, a playback mode, a camera shake reduction shooting mode, a moving image shooting mode, and the like. A cross-type cross key switch 24 is disposed below the mode setting dial 23. By operating each key part of the cross key switch 24, exposure correction setting, flash setting, self shooting mode setting, and macro shooting mode setting can be performed. Further, when the menu setting screen is displayed, the cursor can be moved by the operation of the key switch, and the menu hierarchy can be switched.

十字キースイッチ24の上端部側の三角マークと対向する位置に設けられた指標25は、露出補正設定ポジションを示し、この位置に対向する十字キースイッチ24を操作することにより、露出補正モードとなる。また、十字キースイッチ24の右端部側の三角マークと対向する位置に設けられた指標26は、フラッシュ設定ポジションを示し、この位置に対向する十字キースイッチ24を操作することにより、フラッシュ発光モードに変更される。 An index 25 provided at a position facing the triangular mark on the upper end portion side of the cross key switch 24 indicates an exposure correction setting position, and the exposure correction mode is set by operating the cross key switch 24 facing this position. . An index 26 provided at a position facing the triangle mark on the right end side of the cross key switch 24 indicates a flash setting position. By operating the cross key switch 24 facing this position, the flash emission mode is set. Be changed.

十字キースイッチ24の下端部側の三角マークと対向する位置に設けられた指標27は、セルフ撮影モード設定ポジションを示し、この位置に対向する十字キースイッチ24を操作することにより、セルフ撮影モードモードとなる。十字キースイッチ24の左端部側の三角マークと対向する位置に設けられた指標28は、マクロ撮影モード設定ポジションを示し、この位置に対向する十字キースイッチ24を操作することにより、マクロ撮影モードに変更される。 An index 27 provided at a position facing the triangular mark on the lower end side of the cross key switch 24 indicates a self shooting mode setting position. By operating the cross key switch 24 facing this position, the self shooting mode mode is set. It becomes. An index 28 provided at a position facing the triangular mark on the left end side of the cross key switch 24 indicates a macro shooting mode setting position. By operating the cross key switch 24 facing this position, the macro shooting mode is set. Be changed.

十字キースイッチ24の左上側には、メニュー釦29が配置されている。このメニュー釦29を操作すると、TFT20にメニュー設定画面が表示される。また、十字キースイッチ24の中央部には、OK釦30が配置されている。このOK釦30は、メニュー設定画面表示時に、メニュー項目を決定する場合の確定キーや、ファンクション設定モードに遷移するための遷移キーとして使用される。 A menu button 29 is disposed on the upper left side of the cross key switch 24. When this menu button 29 is operated, a menu setting screen is displayed on the TFT 20. An OK button 30 is disposed at the center of the cross key switch 24. The OK button 30 is used as a confirmation key for determining a menu item or a transition key for transitioning to the function setting mode when the menu setting screen is displayed.

次に、前述したセルフタイマー撮影モードの設定画面について図3を用いて説明する。この設定画面は、本実施形態において、詳述する笑顔検出レリーズを選択するための画面であり、十字キースイッチ24の下側を操作すると、図3に示すように、3つの項目に遷移可能な撮影モードが表示される。 Next, the setting screen for the above-described self-timer shooting mode will be described with reference to FIG. This setting screen is a screen for selecting a smile detection release, which will be described in detail in the present embodiment. When the lower side of the cross key switch 24 is operated, as shown in FIG. The shooting mode is displayed.

まず、「セルタイマー/笑顔検出レリーズオフ」を選択すると、セルフタイマー撮影モードと、笑顔検出レリーズモードの両方をオフにする。「セルフタイマーオン」を選択すると、セルフタイマー撮影モードをオンにする。「笑顔検出レリーズオン」を選択すると、笑顔検出レリーズモードをオンにする。なお、図3では、「セルタイマー/笑顔検出レリーズオフ」がカーソル位置であり、これがデフォルト値になっている。 First, when “cell timer / smile detection release off” is selected, both the self-timer shooting mode and the smile detection release mode are turned off. Selecting “Self-timer on” turns on the self-timer shooting mode. When “smile detection release on” is selected, the smile detection release mode is turned on. In FIG. 3, “cell timer / smile detection release off” is the cursor position, which is a default value.

次に、笑顔検出レリーズモードが選択されている状態におけるTFT20での被写体像のライブビュー表示を、図4に示す。TFT20の表示画面の左上には、バッテリー残量表示40、左下側には、笑顔検出モードであることを示すアイコン41、中央下側には撮影画質42、右下側には撮影可能枚数43が表示されている。 Next, FIG. 4 shows a live view display of a subject image on the TFT 20 in a state where the smile detection release mode is selected. At the upper left of the display screen of the TFT 20 is a battery remaining amount display 40, at the lower left is an icon 41 indicating the smile detection mode, at the lower center is a photographic image quality 42, and at the lower right is a shootable number 43. It is displayed.

図4(A)は笑顔になる前の被写体像であり、(B)は笑顔の被写体像である。カメラは、被写体15が笑顔になったことを検出すると、すなわち、図4(A)から図4(B)に変化したことを検出すると、自動的にレリーズ動作を行い、被写体画像データを取得して記録する。なお、本実施形態においては、このモードでレリーズ動作を行う場合には、3駒連写を行うと共に、補助光発光部11からフラッシュ照射を行っている。 FIG. 4A shows a subject image before smiling, and FIG. 4B shows a smiling subject image. When the camera detects that the subject 15 is smiling, that is, detects that the subject 15 has changed from FIG. 4A to FIG. 4B, it automatically performs a release operation to acquire subject image data. Record. In the present embodiment, when the release operation is performed in this mode, the three-frame continuous shooting and the flash irradiation from the auxiliary light emitting unit 11 are performed.

本実施形態においては、被写体15の表情の変化の検出にあたって、表情変化を数値Rに数値化している。図5は人の表情を表す図であり、(A)は笑顔の状態であり、(B)は困ったときの状態を比較したものである。両者を比較すると、眼と口元に特徴があることが分かる。 In the present embodiment, the change in facial expression is converted into a numerical value R when detecting the change in facial expression of the subject 15. FIGS. 5A and 5B are diagrams showing human facial expressions. FIG. 5A shows a smiling state, and FIG. 5B shows a comparison of situations when troubled. Comparing the two, it can be seen that there are features in the eyes and mouth.

すなわち、眼を比較すると、両目の瞳の中心を結んだ線61の上側に白目が多いと、笑顔に近いことが分かる。また、口元も、同様な考え方で判定できる。つまり、口の両端を結んだ線62より、下側にある唇部の面積が広いと、笑顔の度合いも大きくなる。 In other words, when the eyes are compared, it can be seen that if there are many white eyes above the line 61 connecting the centers of the eyes of both eyes, it is close to a smile. The mouth can also be determined based on the same concept. That is, if the area of the lower lip is larger than the line 62 connecting both ends of the mouth, the degree of smile increases.

図5で示した判定方法を利用して笑顔度Rを求める方法について、図9に示すフローチャートに基づいて説明する。なお、このフローに入る前に、撮像素子3の出力に基づいて、顔検出部5dによって顔を検出し、その検出された顔の中から眼と、口の部分をパターン認識により抽出して、口部と眼部を検出するが、これについては、図8を用いて後述する。 A method of obtaining the smile level R using the determination method shown in FIG. 5 will be described based on the flowchart shown in FIG. Before entering this flow, based on the output of the image sensor 3, the face detection unit 5d detects the face, and the eyes and mouth are extracted from the detected face by pattern recognition. The mouth and eye are detected, which will be described later with reference to FIG.

このフローに入ると、ステップS61からS63において、眼の白目の面積から笑顔度を検出する。まず、両目の瞳を結ぶ線61より上側の白目の面積を測定し、この値をEAとする(S61)。同様に、線61より下側の白目の面積を測定し、この値をEBとする(S62)。次に、こうして得たEA、EBの差を、これらの和で正規化して、すなわち、(EA−EB)/(EA+EB)を求め、数値REを得る(S63)。数値REは大きいほうが、笑顔度が高いと判定される。 When this flow is entered, the smile level is detected from the area of the white of the eye in steps S61 to S63. First, the area of the white eye above the line 61 connecting the eyes of both eyes is measured, and this value is set as EA (S61). Similarly, the area of the white eye below the line 61 is measured, and this value is defined as EB (S62). Next, the difference between EA and EB obtained in this way is normalized by the sum of these, that is, (EA−EB) / (EA + EB) is obtained to obtain a numerical value RE (S63). It is determined that the larger the numerical value RE, the higher the smile degree.

次に、ステップS64からS66において、唇の面積から笑顔度を検出する。まず、口の両端を結ぶ線62より上側の唇の面積を測定し、この値をLAとする(S64)。同様に、線62より下側の唇の面積を測定し、この値をLBとする(S65)。こうして得たLA、LBの差を、これらの和で正規化して、すなわち、(LB−LA)/(LA+LB)を求め、数値RLを得る(S66)。数値RLは大きいほうが、笑顔度が高いと判定される。 Next, in steps S64 to S66, the smile level is detected from the area of the lips. First, the area of the lips above the line 62 connecting both ends of the mouth is measured, and this value is set as LA (S64). Similarly, the area of the lips below the line 62 is measured, and this value is set to LB (S65). The difference between LA and LB thus obtained is normalized with the sum of these, that is, (LB−LA) / (LA + LB) is obtained to obtain a numerical value RL (S66). It is determined that the larger the numerical value RL, the higher the smile degree.

続いて、ステップS63とS66で得た値REとRLを加算して笑顔度Rを求める(S67)。値Rが大きいほど笑顔に近いことになる。さらに、笑顔度の判定の精度を高めるために、図5(A)の矢印64付近の状態を判定する。すなわち、口に歯が見えているか否かを判定し(S68)、見えていれば笑顔の確率が高いので、笑顔度Rに0.7を加算する(S69)。また、口端部に影が有るか否かの判定を行い(S70)、影があれば、笑顔の確率が高いので、笑顔度Rに0.3を加算する(71)。

Subsequently, the smile level R is obtained by adding the values RE and RL obtained in steps S63 and S66 (S67). The larger the value R, the closer to smile. Furthermore, in order to improve the accuracy of determination of the smile level, the state near the arrow 64 in FIG. That is, it is determined whether or not teeth are visible in the mouth (S68), and if it is visible, the probability of smile is high, so 0.7 is added to the smile level R (S69). Further, it is determined whether a shadow is present in the mouth end (S70), if there is a shadow, there is a high smile probability, adding 0.3 to smile degree R (S 71).

ただし、眉間にしわがあると笑顔とは言えないので、これを判定する。すなわち、図5(B)の矢印65付近において眼の間の皺があるか否かの判定を行なう(S72)。判定の結果、眉間の間に皺を検出した場合は、笑顔度Rから1点、減点する(S73)。このように笑顔に近いほど高得点になる数値化(R)が可能となる。 However, if there is a wrinkle between the eyebrows, it cannot be said that it is a smile, so this is determined. That is, it is determined whether or not there is a wrinkle between the eyes in the vicinity of the arrow 65 in FIG. 5B (S72). As a result of the determination, when a wrinkle is detected between the eyebrows, one point is deducted from the smile level R (S73). In this way, the numerical value (R) can be obtained such that the closer to a smile, the higher the score.

なお、本実施形態においては、両目の瞳の中心を結んだ線より上側に白目が多いか否かで笑顔度を求めたが、これに限らず、上瞼の傾き等によって求めるようにしてもよい。すなわち、図6において、瞼の幅EHに対し、瞼の一番高いところの位置ETを求め、これの比、ET/EHによっても笑顔度を求めることができる。ET/EHが大きくなると笑顔に近くなり、また、この比が小さくなり、上瞼の傾きが大きくなると笑顔から遠ざかる傾向にある。 In the present embodiment, the degree of smile is determined based on whether there are many white eyes above the line connecting the centers of the eyes of both eyes. However, the present invention is not limited to this. Good. That is, in FIG. 6, the position ET at the highest point of the heel with respect to the width EH of the heel is obtained, and the smile degree can also be obtained by the ratio ET / EH. When ET / EH increases, it becomes close to a smile, and when this ratio decreases and the inclination of the upper eye increases, it tends to move away from the smile.

次に、本実施形態に係わるデジタルカメラ100の動作について図6乃至図10に示すフローチャートを用いて説明する。カメラ100の電源がオンされると、カメラ100のMPU1が図6に示すプログラムの処理を開始する。まず、カメラのモードダイヤル23が、撮影モードに設定されているか、再生モードに設定されているについて判定する(S2)。 Next, the operation of the digital camera 100 according to the present embodiment will be described using the flowcharts shown in FIGS. When the power source of the camera 100 is turned on, the MPU 1 of the camera 100 starts processing of the program shown in FIG. First, it is determined whether the mode dial 23 of the camera is set to the shooting mode or the playback mode (S2).

判定の結果、再生モードに設定されていた場合には、再生処理ルーチン(不図示)にジャンプする(S3)。一方、撮影モードに設定されていた場合には、鏡枠イニシャル動作、すなわち、撮影レンズ2の鏡枠を所定の初期位置に繰り出した後に、ピント調節用のレンズを初期位置に繰り出し動作を行う(S4)。 If the result of determination is that playback mode has been set, the routine jumps to a playback processing routine (not shown) (S3). On the other hand, when the photographing mode is set, the lens frame initial operation, that is, after the lens frame of the photographing lens 2 is extended to a predetermined initial position, the lens for focus adjustment is extended to the initial position ( S4).

続いて、TFT20の表示をオンし(S5)、撮像系の動作を開始する(S6)。これによって撮像素子3によって取得された被写体像の画像データに基づいてTFT20にライブビュー表示される。次に、操作入力が発生したか否かの判定を行う(S7)。これは、ズーム釦22、モード設定ダイヤル23等に連動するスイッチが操作されたか否かを判定するものである。 Subsequently, the display of the TFT 20 is turned on (S5), and the operation of the imaging system is started (S6). Thus, live view display is performed on the TFT 20 based on the image data of the subject image acquired by the image sensor 3. Next, it is determined whether or not an operation input has occurred (S7). This is to determine whether or not a switch linked to the zoom button 22, the mode setting dial 23, or the like has been operated.

判定の結果、操作入力がない場合には、続いて、操作入力がない状態で所定時間経過したか否かの判定を行う(S8)。判定の結果、所定時間経過していない場合には、ステップS7に戻り、この判定を繰り返し、一方、所定時間が経過した場合には、省エネルギーモードであるスリープモードに移行する(S9)。 If there is no operation input as a result of the determination, it is subsequently determined whether or not a predetermined time has passed without any operation input (S8). As a result of the determination, if the predetermined time has not elapsed, the process returns to step S7, and this determination is repeated. On the other hand, if the predetermined time has elapsed, the process shifts to a sleep mode that is an energy saving mode (S9).

ステップS7において、操作入力があった場合には、その操作入力が十字キー下か否かの判定を行う(S10)。これは、セルフ撮影設定ポジションを示す指標27側の十字キースイッチ24を操作したか否かを判定するものであって、判定の結果、それ以外の操作入力であった場合には、不図示の他の操作入力処理に移行する(S11)。一方、判定の結果、Yesであった場合には、図3に示したセルフメニュー表示をTFT20上に表示する。カーソル位置の初期状態は、前述したように「セルフタイマー/笑顔検出レリーズオフ」である。 If there is an operation input in step S7, it is determined whether the operation input is under the cross key (S10). This is to determine whether or not the cross key switch 24 on the index 27 side indicating the self-photographing setting position has been operated. If the result of determination is that other operation input has been made, this is not shown. The process proceeds to another operation input process (S11). On the other hand, if the result of determination is Yes, the self-menu display shown in FIG. 3 is displayed on the TFT 20. The initial state of the cursor position is “self-timer / smile detection release off” as described above.

続いて、セルフメニュー表示の中でどのモードが選択されたかを判断するために、キー判断のサブルーチンをコールする(S13)。このサブルーチンの詳細については、図7を用いて後述する。キー判断のサブルーチンの中で、OK釦30の操作によりモードが確定した場合には、ステップS14の判断に移行する。 Subsequently, in order to determine which mode is selected in the self-menu display, a key determination subroutine is called (S13). Details of this subroutine will be described later with reference to FIG. If the mode is determined by operating the OK button 30 in the key determination subroutine, the process proceeds to step S14.

ステップS14においては、笑顔検出レリーズモードが選択されたか否かを判定する。判定の結果、笑顔検出レリーズモードではない場合には、他のモード処理に移行する(S15)。一方、笑顔検出レリーズモードであった場合には、顔検出のサブルーチンをコールする(S16)。この顔検出のサブルーチンの詳細については、図8を用いて後述する。 In step S14, it is determined whether or not the smile detection release mode is selected. If the result of determination is not smile detection release mode, processing proceeds to other mode processing (S15). On the other hand, if it is in the smile detection release mode, a face detection subroutine is called (S16). Details of the face detection subroutine will be described later with reference to FIG.

次に、顔検出のサブルーチンの中で、レリーズ移行OKの判断がなされたか否かを判定する(S17)。顔検出の中でコールする笑顔検出のサブルーチンにおいて、笑顔度Rを求めてから、ステップS17にリターンしている(S48、S50)。ステップS17における判定では、笑顔度RがステップS47においてOKの判断がなされていなかった場合には、ステップS9と同様にスリープモードに移行する(S19)。 Next, in the face detection subroutine, it is determined whether or not the release transition OK is determined (S17). In the smile detection subroutine called in the face detection, the smile level R is obtained, and the process returns to step S17 (S48, S50). If it is determined in step S17 that the smile level R has not been determined to be OK in step S47, the process shifts to the sleep mode as in step S9 (S19).

一方、笑顔度RがステップS47においてレリーズOKの判断がなされるレベルであった場合には、撮影シーケンスに移り、ホワイトバランス調整、ピント調整、露出が行われ、撮像素子3によって取得された画像データが記録メディア9に記録される(S18)。この撮影シーケンスの詳細については、図10を用いて後述する。 On the other hand, if the smile level R is at the level at which release OK is determined in step S47, the process proceeds to the shooting sequence, white balance adjustment, focus adjustment, and exposure are performed, and image data acquired by the image sensor 3 is acquired. Is recorded on the recording medium 9 (S18). Details of this imaging sequence will be described later with reference to FIG.

このように、デジタルカメラ100の全体制御は行われるが、次に、ステップS13におけるキー判断のサブルーチンについて、図7を用いて説明する。キー判断のサブルーチンがスタートすると、まず、OK釦30が操作されたか否かの判定を行う(S31)。OK釦30が操作されていれば、元のルーチンにリターンする(S32)。すなわち、OK釦30が操作されることによりセルフメニューの中で、何れのモードが選択され確定するからである。 The overall control of the digital camera 100 is performed as described above. Next, the key determination subroutine in step S13 will be described with reference to FIG. When the key determination subroutine starts, it is first determined whether or not the OK button 30 has been operated (S31). If the OK button 30 has been operated, the process returns to the original routine (S32). That is, when the OK button 30 is operated, any mode is selected and confirmed in the self menu.

ステップS31における判定の結果、OK釦30が操作されていなかった場合には、次に、十字キースイッチ24が操作されたかを判定する(S33)。判定の結果、操作されていなかった場合には、ステップS35にジャンプし、一方、操作されていた場合には、十字キースイッチ24が操作された方向に、メニュー上のカーソルを上下方向に移動させる(S34)。 If the result of determination in step S31 is that the OK button 30 has not been operated, it is next determined whether or not the cross key switch 24 has been operated (S33). If the result of determination is that it has not been operated, the operation jumps to step S35, while if it has been operated, the cursor on the menu is moved up and down in the direction in which the cross key switch 24 has been operated. (S34).

続いて、メニュー釦29が操作されたか否かの判定を行う(S35)。判定の結果、操作された場合には、カーソル移動をキャンセルして撮影待機状態となる(S36)。一方、操作されていなかった場合には、操作入力がないまま所定時間経過したか否かを判定する(S37)。判定の結果、所定時間が経過していない場合には、ステップS31に戻り、一方、所定時間が経過した場合には、スリープモードに移行する(S38)。 Subsequently, it is determined whether or not the menu button 29 has been operated (S35). As a result of the determination, if operated, the cursor movement is canceled and a shooting standby state is entered (S36). On the other hand, if it has not been operated, it is determined whether or not a predetermined time has passed without any operation input (S37). If the predetermined time has not elapsed as a result of the determination, the process returns to step S31, whereas if the predetermined time has elapsed, the process shifts to the sleep mode (S38).

次に、ステップS16(図6参照)における顔検出のサブルーチンについて、図8を用いて説明する。このサブルーチンがスタートすると、まず、撮像素子3によって撮像された画像から、顔を構成するパーツである、目、鼻、口を検出する(S41〜S43)。続いて、データ照合を行う(S44)。 Next, the face detection subroutine in step S16 (see FIG. 6) will be described with reference to FIG. When this subroutine starts, first, the eyes, nose, and mouth, which are parts constituting the face, are detected from the image captured by the image sensor 3 (S41 to S43). Subsequently, data collation is performed (S44).

このデータ照合は、MPU1に記憶された顔データベースと照合し、相関度合いを計算し、相関度が高い場合には、撮像された画像に顔が含まれるとし、相関度が低い場合には、撮像された画像に顔が含まれていないとする。なお、顔データベースは、一般的な目、鼻、口の形状および互いの位置関係をデータベースとして記憶したものである。 In this data collation, the face database stored in the MPU 1 is collated, the degree of correlation is calculated, and when the degree of correlation is high, the captured image includes a face, and when the degree of correlation is low, imaging is performed. It is assumed that no face is included in the obtained image. Note that the face database stores general eye, nose and mouth shapes and mutual positional relationships as a database.

続いて、ステップS44におけるデータ照合に基づいて、顔を検出したか否かの判定を行う(S45)。判定の結果、顔を検出しなかった場合には、ステップS49にジャンプする。一方、顔を検出した場合には、笑顔検出のサブルーチンをコールする(S46)。この笑顔検出のサブルーチンについては、図9を用いて前述したとおりであり、このサブルーチンの中で笑顔を数値化した数値Rを求めている。 Then, based on the data collation in step S44, it is determined whether a face has been detected (S45). If the face is not detected as a result of the determination, the process jumps to step S49. On the other hand, when a face is detected, a smile detection subroutine is called (S46). The smile detection subroutine is as described above with reference to FIG. 9, and the numerical value R obtained by quantifying the smile is obtained in this subroutine.

ステップS46の笑顔検出のサブルーチンが終わると、続いて、数値Rが所定値以上か否かの判定を行う(S47)。判定の結果、所定値以上の場合には、元のルーチンにリターンする(S48)。一方、判定の結果、数値Rが所定値未満の場合には、所定時間が経過したか否かを判定する(S49)。判定の結果、所定時間が経過していない場合には、ステップS41に戻り、一方、所定時間が経過した場合には、元のルーチンにリターンする(S50)。 When the smile detection subroutine of step S46 ends, it is subsequently determined whether or not the numerical value R is equal to or greater than a predetermined value (S47). If the result of determination is greater than or equal to the predetermined value, processing returns to the original routine (S48). On the other hand, if the result of determination is that the numerical value R is less than the predetermined value, it is determined whether or not a predetermined time has elapsed (S49). As a result of the determination, if the predetermined time has not elapsed, the process returns to step S41. On the other hand, if the predetermined time has elapsed, the process returns to the original routine (S50).

次に、ステップS18(図6参照)における撮影シーケンスのサブルーチンについて、図10を用いて説明する。このサブルーチンがスタートすると、笑顔検出レリーズモードで撮影に移行してきたか否かの判定を行う(S81)。判定の結果、笑顔検出レリーズ以外のモードで撮影に移行してきた場合には、その他の撮影モード(不図示)に移行する(S82)。 Next, the shooting sequence subroutine in step S18 (see FIG. 6) will be described with reference to FIG. When this subroutine starts, it is determined whether or not the camera has shifted to shooting in the smile detection release mode (S81). If the result of determination is that shooting has shifted to a mode other than the smile detection release, the mode shifts to another shooting mode (not shown) (S82).

一方、判定の結果、笑顔検出レリーズモードで移行してきた場合には、フラッシュモードを強制発光モードに設定する(S83)。これによって、露光時には、必ずフラッシュが発光されるため、被撮影者は撮影されたか否かを容易に判断することができ、撮影にあたって笑顔が検出されたか否か疑心暗鬼になることがない。 On the other hand, as a result of the determination, when the mode is shifted to the smile detection release mode, the flash mode is set to the forced light emission mode (S83). As a result, the flash is always emitted at the time of exposure, so that the subject can easily determine whether or not the photograph has been taken, and there is no suspicion as to whether or not a smile has been detected during the photographing.

次に、撮像素子3の出力に基づいて被写体輝度の測光を行う(S84)。これに基づいて、絞り2bの制御のための露出制御値を決定することができる。続いて、被写体のピント合わせを行う(S85)。ここでは、前述したように画像処理部5によって検出されたコントラスト信号に基づいてAF制御部2aが撮影レンズ2のピント合わせを行う。 Next, subject luminance is measured based on the output of the image sensor 3 (S84). Based on this, an exposure control value for controlling the diaphragm 2b can be determined. Subsequently, the subject is focused (S85). Here, as described above, the AF control unit 2a focuses the photographing lens 2 based on the contrast signal detected by the image processing unit 5.

この後、フラッシュを同調させながら3駒の撮影を行う(S86〜S88)。本実施形態においては、3駒撮影を行っているので、笑顔の変化過程を含めて記録することができ、確実に笑顔を記録することが可能となる。露光が終わると、続いて、撮影した3駒の画像データを記録メディア9に記録する(S89)。記録が終わると、撮影待機状態となる(S90)。 Thereafter, three frames are photographed while synchronizing the flash (S86 to S88). In the present embodiment, since three-frame shooting is performed, it is possible to record including a process of changing a smile, and it is possible to reliably record a smile. When the exposure is finished, subsequently, the photographed image data of the three frames is recorded on the recording medium 9 (S89). When recording is completed, the camera enters a shooting standby state (S90).

このように、本実施形態によれば、笑顔を検出して、レリーズ動作に移行するように構成したので、一人のセルフ撮影であっても、複数人のセルフ撮影であっても、カメラ操作者の意図通りのシャッタタイミングでレリーズ動作に移行することができる遠隔レリーズ機能を備えた撮像装置を提供することができる。 As described above, according to the present embodiment, since it is configured to detect a smile and shift to the release operation, the camera operator can perform the self-photographing of one person or the self-photographing of a plurality of persons. It is possible to provide an imaging device having a remote release function that can shift to a release operation at the shutter timing as intended.

また、赤ん坊のように意図的に笑顔を作れない場合でも、労せずして笑顔をきろくすることが可能となる。さらに、笑顔を検出し、レリーズ動作に移行後は、フラッシュが同調した撮影を行うため、被撮影者は撮影されたか否かを容易に判断することができ、今の笑顔が検出されたか否か疑心暗鬼になることがない。さらに、レリーズ動作移行後に3駒の撮影を行うため、笑顔の変化過程を含めて記録することができ、確実に笑顔を記録することができる。 Also, even when a smile cannot be intentionally made like a baby, it is possible to make a smile without effort. Furthermore, after detecting a smile and moving to the release operation, the subject performs shooting synchronized with the flash, so that the subject can easily determine whether or not the current smile has been detected. Never become a suspicion demon. Furthermore, since three frames are shot after the release operation is shifted, it is possible to record including the process of changing the smile, so that the smile can be recorded reliably.

なお、本実施形態においては、被写体像の変化として、笑顔を検出して、レリーズを行い画像データの記録を行っていたが、笑顔以外にも、顔の表情の変化や顔や手等の体の一部の動きを検出して撮影を開始するようにしても良い。また、笑顔検出レリーズモードにおける撮影時にフラッシュを同調させて撮影を被撮影者に告知するようにしているが、この手段としては、フラッシュ以外にもLED等の視覚表示や、音声等の聴覚表示でもよいことはもちろんである。さらに、本実施形態においては、笑顔を検出すると、3駒の連写を行っているが、この駒数は、適宜、変更しても良いことは勿論である。さらに、この連写駒数は固定された駒数に限らず、例えば、連写中も笑顔検出を継続し、笑顔を検出している間は連写を続け、笑顔を検出しなくなったら連写を終了するようにしても良い。 In the present embodiment, a smile is detected as the change in the subject image, and the release is performed to record the image data. However, in addition to the smile, the facial expression changes and the body such as the face and hands. It is also possible to detect a part of the movement and start shooting. In addition, the flash is synchronized when shooting in the smile detection release mode, and the shooting is notified to the subject. As a means for this, in addition to the flash, a visual display such as an LED or an auditory display such as a sound can be used. Of course it is good. Furthermore, in this embodiment, when a smile is detected, continuous shooting of three frames is performed, but it is needless to say that the number of frames may be changed as appropriate. Furthermore, the number of continuous shots is not limited to a fixed number of frames. For example, smile detection is continued during continuous shooting, and continuous shooting is continued while smiling is detected. May be terminated.

本発明の説明にあたって、撮像装置として、デジタルカメラに適用した例で説明したが、デジタルカメラとしてはコンパクトカメラや一眼レフレックスカメラ等の種々のデジタルカメラに適用することができる。また、通常のデジタルカメラ以外にも、携帯電話やPDA等の内蔵カメラ等、種々の撮像装置にも適用することができる。 In the description of the present invention, an example in which the imaging apparatus is applied to a digital camera has been described. However, the digital camera can be applied to various digital cameras such as a compact camera and a single-lens reflex camera. In addition to a normal digital camera, the present invention can also be applied to various imaging devices such as a built-in camera such as a mobile phone or a PDA.

本発明の一実施形態に係わるカメラとその周辺のブロック図である。1 is a block diagram of a camera and its surroundings according to an embodiment of the present invention. 本発明の一実施形態に係わるカメラの外観背面図である。It is an external appearance rear view of the camera concerning one embodiment of the present invention. 本発明の一実施形態に係わるカメラにおいて、セルフメニューの表示画面を示す図である。It is a figure which shows the display screen of a self menu in the camera concerning one Embodiment of this invention. 本発明の一実施形態に係るカメラにおいて、笑顔検出レリーズモードが選択されている状態におけるTFT20での被写体像のライブビュー表示を示す図であり、(A)は通常の被写体像を示し、(B)は笑顔の被写体像を示す。FIG. 6 is a diagram showing a live view display of a subject image on the TFT 20 in a state where a smile detection release mode is selected in the camera according to an embodiment of the present invention, where (A) shows a normal subject image and (B ) Indicates a smiling subject image. 本発明の一実施形態において、被写体の笑顔と困った顔を比較する図であり、(A)は笑顔を示し、(B)は困った顔を示す。In one Embodiment of this invention, it is a figure which compares the smile of a to-be-photographed object and a troubled face, (A) shows a smile, (B) shows a troubled face. 本発明の一実施形態に係るカメラにおける電源オンの動作を示すフローチャートである。6 is a flowchart showing a power-on operation in the camera according to the embodiment of the present invention. 本発明の一実施形態に係るカメラにおけるキー判断の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the key judgment in the camera which concerns on one Embodiment of this invention. 本発明の一実施形態に係るカメラにおける顔検出の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the face detection in the camera which concerns on one Embodiment of this invention. 本発明の一実施形態に係るカメラにおける笑顔検出の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the smile detection in the camera which concerns on one Embodiment of this invention. 本発明の一実施形態に係るカメラにおける撮影シーケンスの動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the imaging | photography sequence in the camera which concerns on one Embodiment of this invention.

符号の説明Explanation of symbols

1・・・MPU、1a・・・レリーズスイッチ、1b・・・モード切替スイッチ、1c・・・他のスイッチ、1t・・・時計部、2・・・撮影レンズ、2a・・・AF(オートフォーカス)制御部、2b・・・絞り、2c・・・絞り制御部、3・・・撮像素子、4・・・アナログフロントエンド(AFE)部、5・・・画像処理部、5a・・・形状判定部、5c・・・表情判定部、5d・・・顔検出部、6・・・圧縮部、8・・・表示パネル、8a・・・表示制御部、9・・・記録メディア、9a・・・記録部、9c・・・データ送受信部、11・・・補助光発光部、15・・・被写体、20・・・TFTカラー液晶モニタ、21・・・レリーズ釦、22・・・ズーム釦、23・・・モード設定ダイヤル、24・・・十字キースイッチ、25・・・指標(露出補正設定ポジション)、26・・・指標(フラッシュ設定ポジション)、27・・・指標(セルフ撮影設定ポジション)、28・・・指標(マクロ撮影設定ポジション)、29・・・メニュー釦、30・・・OK釦、40・・・バッテリー残量表示、41・・・笑顔検出モードアイコン、42・・・撮影画質表示、43・・・撮影可能枚数、61・・・線(瞳を結ぶ線)、64・・・矢印(口元)、65・・・矢印(眉間)、100・・・カメラ DESCRIPTION OF SYMBOLS 1 ... MPU, 1a ... Release switch, 1b ... Mode changeover switch, 1c ... Other switch, 1t ... Clock part, 2 ... Shooting lens, 2a ... AF (automatic Focus) control unit, 2b ... aperture, 2c ... aperture control unit, 3 ... imaging device, 4 ... analog front end (AFE) unit, 5 ... image processing unit, 5a ... Shape determination unit, 5c ... facial expression determination unit, 5d ... face detection unit, 6 ... compression unit, 8 ... display panel, 8a ... display control unit, 9 ... recording medium, 9a ... Recording unit, 9c ... Data transmission / reception unit, 11 ... Auxiliary light emitting unit, 15 ... Subject, 20 ... TFT color liquid crystal monitor, 21 ... Release button, 22 ... Zoom Button, 23... Mode setting dial, 24. Indicator (exposure correction setting position), 26 ... Indicator (flash setting position), 27 ... Indicator (self-shooting setting position), 28 ... Indicator (macro shooting setting position), 29 ... Menu button , 30 ... OK button, 40 ... Battery remaining amount display, 41 ... Smile detection mode icon, 42 ... Shooting image quality display, 43 ... Number of shootable images, 61 ... Line (pupil) Connecting line), 64... Arrow (mouth), 65... Arrow (between eyebrows), 100.

Claims (4)

被写体像を撮像するための撮像手段と、
この撮像手段の出力を記録するための画像記録手段と、
を具備する撮像装置において、
上記撮像手段の出力から、人物の顔に相当する画像を検出するための顔画像検出手段と、
この顔画像検出手段によって検出された顔画像の変化を検出するための顔画像変化検出手段と、
上記顔画像検出手段によって顔画像が検出され、さらにその顔画像が変化をしたことが上記顔画像変化検出手段によって検出された場合、上記画像記録手段を作動させる制御手段と、
を有し、
上記顔画像変化検出手段は、
上記顔画像検出手段の検出する顔画像より目を抽出し、顔画像の両目の瞳を結ぶ線より上側の白目の面積と下側の白目の面積を測定し、該上下の白目の面積の差を和で正規化した第1の笑顔度を求め、
上記顔画像検出手段の検出する顔画像より唇を抽出し、顔画像の口の両端を結ぶ線より上側の唇の面積と下側の唇の面積を測定し、該上下の唇の面積の差を和で正規化した第2の笑顔度を求め、
上記第1の笑顔度と第2の笑顔度を加算した第3の笑顔度が所定値以上か否かを判定して変化を検出する、
ことを特徴とする撮像装置。
Imaging means for capturing a subject image;
Image recording means for recording the output of the imaging means;
In an imaging apparatus comprising:
A face image detecting means for detecting an image corresponding to a human face from the output of the imaging means;
A face image change detecting means for detecting a change in the face image detected by the face image detecting means;
Control means for operating the image recording means when the face image is detected by the face image detection means and when the face image change detection means detects that the face image has changed ;
Have
The face image change detecting means is
Eyes are extracted from the face image detected by the face image detecting means, the area of the white eye above and below the line connecting the pupils of both eyes of the face image is measured, and the difference between the areas of the upper and lower white eyes Find the first smile level normalized by sum
Extract the lips from the face image detected by the face image detection means, measure the area of the lips above and below the line connecting the ends of the mouth of the face image, the difference between the areas of the upper and lower lips Find the second smile level normalized by sum
A change is detected by determining whether or not a third smile degree obtained by adding the first smile degree and the second smile degree is a predetermined value or more;
An imaging apparatus characterized by that.
上記顔画像変化検出手段は、上記顔画像検出手段により検出される顔画像に基づき、口に歯が見えるか否かを判定し、歯が見えた場合は上記第3の笑顔度に所定値を加算することを特徴とする請求項1に記載の撮像装置。 The face image change detecting means determines whether or not teeth are visible in the mouth based on the face image detected by the face image detecting means, and if teeth are visible, sets a predetermined value for the third smile degree. The imaging apparatus according to claim 1, wherein addition is performed . 上記顔画像変化検出手段は、上記顔画像検出手段により検出される顔画像に基づき、口端部に影があるか否かを判定し、影があると判定された場合は上記第3の笑顔度に所定値を加算することを特徴とする請求項1に記載の撮像装置。 The face image change detecting means determines whether or not there is a shadow on the mouth edge based on the face image detected by the face image detecting means, and if it is determined that there is a shadow, the third smile The imaging apparatus according to claim 1 , wherein a predetermined value is added each time . 上記顔画像変化検出手段は、上記顔画像検出手段により検出される顔画像に基づき、両目の間に皺があるか否かを判定し、皺があると判定した場合は上記第3の笑顔度より所定値を減算することを特徴とする請求項1に記載の撮像装置。 The face image change detecting means determines whether or not there is a wrinkle between both eyes based on the face image detected by the face image detecting means. If it is determined that there is a wrinkle, the third smile degree The imaging apparatus according to claim 1, wherein a predetermined value is subtracted .
JP2007195449A 2007-07-27 2007-07-27 Imaging device Expired - Fee Related JP4829186B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2007195449A JP4829186B2 (en) 2007-07-27 2007-07-27 Imaging device
CN 201310371583 CN103458183A (en) 2007-07-27 2008-07-09 Imaging apparatus and control method for the same
CN 200810127997 CN101355652B (en) 2007-07-27 2008-07-09 Image pickup device and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007195449A JP4829186B2 (en) 2007-07-27 2007-07-27 Imaging device

Publications (3)

Publication Number Publication Date
JP2009033491A JP2009033491A (en) 2009-02-12
JP2009033491A5 JP2009033491A5 (en) 2010-08-26
JP4829186B2 true JP4829186B2 (en) 2011-12-07

Family

ID=40308207

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007195449A Expired - Fee Related JP4829186B2 (en) 2007-07-27 2007-07-27 Imaging device

Country Status (2)

Country Link
JP (1) JP4829186B2 (en)
CN (2) CN103458183A (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4720810B2 (en) 2007-09-28 2011-07-13 富士フイルム株式会社 Image processing apparatus, imaging apparatus, image processing method, and image processing program
JP4914398B2 (en) 2008-04-09 2012-04-11 キヤノン株式会社 Facial expression recognition device, imaging device, method and program
JP5066133B2 (en) * 2009-05-20 2012-11-07 株式会社日立製作所 Information recording apparatus and power saving method
JP5488961B2 (en) * 2009-07-27 2014-05-14 カシオ計算機株式会社 Image processing apparatus, image processing method, and program
JP5609045B2 (en) * 2009-09-02 2014-10-22 ソニー株式会社 Imaging control apparatus and method
JP5661380B2 (en) * 2009-09-24 2015-01-28 キヤノン株式会社 IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
CN102131048B (en) * 2010-01-18 2014-07-02 致伸科技股份有限公司 Method and system for starting shooting static picture
JP5430428B2 (en) * 2010-02-01 2014-02-26 オリンパスイメージング株式会社 Photography equipment
JP5521591B2 (en) * 2010-02-03 2014-06-18 カシオ計算機株式会社 Image display device and program
CN103491297A (en) * 2013-08-22 2014-01-01 英华达(南京)科技有限公司 Photographing method and device
CN104519261B (en) * 2013-09-27 2020-01-31 联想(北京)有限公司 information processing method and electronic equipment
CN104750236A (en) * 2013-12-27 2015-07-01 联想(北京)有限公司 Information processing method and electronic equipment
JP6512768B2 (en) * 2014-08-08 2019-05-15 キヤノン株式会社 Lighting device, imaging device and camera system
CN104394315A (en) * 2014-11-07 2015-03-04 深圳市金立通信设备有限公司 A method for photographing an image
CN105812642A (en) * 2014-12-30 2016-07-27 中兴通讯股份有限公司 Information processing method and electronic device
US10212338B2 (en) * 2016-11-22 2019-02-19 Google Llc Camera operable using natural language commands
KR20180060786A (en) * 2016-11-29 2018-06-07 삼성전자주식회사 Electronic device and method for auto focusing thereof
WO2018188007A1 (en) * 2017-04-13 2018-10-18 华为技术有限公司 Self-photographing method and apparatus, and terminal device
CN107301390A (en) * 2017-06-16 2017-10-27 广东欧珀移动通信有限公司 Shoot reminding method, device and terminal device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005234686A (en) * 2004-02-17 2005-09-02 Fuji Xerox Co Ltd Expression recognition device, expression recognition method and program
JP2005293539A (en) * 2004-03-08 2005-10-20 Matsushita Electric Works Ltd Facial expression recognizing device
JP2006237803A (en) * 2005-02-23 2006-09-07 Konica Minolta Photo Imaging Inc Imaging system, photographic studio, and control method of imaging system

Also Published As

Publication number Publication date
CN103458183A (en) 2013-12-18
CN101355652A (en) 2009-01-28
JP2009033491A (en) 2009-02-12
CN101355652B (en) 2013-09-25

Similar Documents

Publication Publication Date Title
JP4829186B2 (en) Imaging device
JP4644883B2 (en) Imaging device
JP4654974B2 (en) Imaging apparatus and imaging method
JP4626425B2 (en) Imaging apparatus, imaging method, and imaging program
JP4904243B2 (en) Imaging apparatus and imaging control method
JP4661413B2 (en) Imaging apparatus, number of shots management method and number of shots management program
JP4787180B2 (en) Imaging apparatus and imaging method
JP4574459B2 (en) Image capturing apparatus, control method therefor, program, and storage medium
WO2012147560A1 (en) Image capturing apparatus and image capturing method
KR20100027700A (en) Photographing method and apparatus
JP5030022B2 (en) Imaging apparatus and program thereof
JP5228354B2 (en) Digital camera
JP4697549B2 (en) Image capturing apparatus and face detection method thereof
JP4623299B2 (en) Imaging apparatus and imaging method
JP5883564B2 (en) Imaging device
JP2004085936A (en) Camera
JP5043721B2 (en) Imaging device
JP4964992B2 (en) Image capturing apparatus and image recording method thereof
JP6084316B2 (en) Imaging device
JP2008172732A (en) Imaging apparatus, control method thereof, and program
JP4767904B2 (en) Imaging apparatus and imaging method
JP4823964B2 (en) Imaging apparatus and imaging method
JP5496274B2 (en) Imaging apparatus and imaging method
JP2004117776A (en) Digital camera
JP5767352B2 (en) Imaging apparatus, imaging method, and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100712

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100712

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110908

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110915

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140922

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4829186

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140922

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees