Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4701122B2 - camera - Google Patents
[go: Go Back, main page]

JP4701122B2 - camera - Google Patents

camera Download PDF

Info

Publication number
JP4701122B2
JP4701122B2 JP2006102034A JP2006102034A JP4701122B2 JP 4701122 B2 JP4701122 B2 JP 4701122B2 JP 2006102034 A JP2006102034 A JP 2006102034A JP 2006102034 A JP2006102034 A JP 2006102034A JP 4701122 B2 JP4701122 B2 JP 4701122B2
Authority
JP
Japan
Prior art keywords
face
unit
auxiliary light
image
subject
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
JP2006102034A
Other languages
Japanese (ja)
Other versions
JP2007281593A5 (en
JP2007281593A (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 JP2006102034A priority Critical patent/JP4701122B2/en
Publication of JP2007281593A publication Critical patent/JP2007281593A/en
Publication of JP2007281593A5 publication Critical patent/JP2007281593A5/ja
Application granted granted Critical
Publication of JP4701122B2 publication Critical patent/JP4701122B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Exposure Control For Cameras (AREA)
  • Studio Devices (AREA)

Description

本発明はデジタルカメラの改良に関し、より詳しくは被写体像の判定に従ってカメラの性能を高め、より失敗のない写真撮影を可能としたカメラに関するものである。   The present invention relates to an improvement of a digital camera, and more particularly to a camera that improves the performance of a camera according to determination of a subject image and enables photography without failure.

ユーザが所望とする顔を画像の中から検出する技術は広く知られている。例えば、下記特許文献1では、顔の大きさを用いて、被写体と機器の距離を判定して音量レベルを切換えるような提案がなされている。また、顔の位置に対して、ピント合わせや露出を制御するカメラも発売されている。
特開2004−40491号公報
A technique for detecting a face desired by a user from an image is widely known. For example, in the following Patent Document 1, a proposal is made to switch the volume level by determining the distance between the subject and the device using the size of the face. Cameras that control the focus and exposure of the face position are also on the market.
JP 2004-40491 A

ところで、上述したように、顔の位置に対してピント合わせや露出を制御するカメラも発売されているが、上記特許文献1に記載の技術は、顔によって撮影シーンを分析して、その結果、最適なカメラ制御を行うようなものではなかった。   By the way, as described above, a camera that controls focusing and exposure with respect to the position of the face is also on sale, but the technique described in Patent Document 1 analyzes a shooting scene by face, and as a result, It wasn't like optimal camera control.

従って、本発明は上記課題に鑑みてなされたものであり、その目的は、被写体の人物を判定してシャッタチャンスを逃すことなく、最適な撮影制御を行い、顔の描写を最適化して美しい写真を得ることのできるカメラを提供することである。   Accordingly, the present invention has been made in view of the above-described problems, and its purpose is to determine a person to be a subject and perform optimal shooting control without missing a photo opportunity, and to optimize the depiction of a face to be a beautiful photograph It is to provide a camera that can be obtained.

すなわち請求項1に記載の発明は、補助光を照射する補助光源を有するカメラに於いて、撮像により画像を得る撮像部と、上記撮像部による撮影前に上記撮像部によって得られた画像内に顔画像が含まれるかを検出する顔検出部と、記撮影時に先立つ上記補助光源のプリ発光時の発光を制御する制御部と、上記補助光源のプリ発光の結果として上記撮像部によって得られた画像内の顔画像の明部と暗部とのコントラスト変化を検出する明るさ検出部と、を具備し、上記制御部は、上記明るさ検出部で検出されたコントラスト変化の大きさに応じて上記撮像部による撮影時の上記補助光源の発光量を制御することを特徴とする。 That is, according to the first aspect of the present invention, in a camera having an auxiliary light source that emits auxiliary light, an imaging unit that obtains an image by imaging, and an image obtained by the imaging unit before imaging by the imaging unit are included. obtained a face detection unit for detecting whether a face is included image, and a control unit for controlling the light emission amount at the time of preliminary light emission of the auxiliary light source prior to the time of the upper Symbol shooting by the imaging section as a result of the preliminary light emission of the auxiliary light source A brightness detection unit that detects a contrast change between a bright part and a dark part of the face image in the received image, and the control unit is configured to respond to the magnitude of the contrast change detected by the brightness detection unit. And controlling the light emission amount of the auxiliary light source during photographing by the imaging unit .

請求項2に記載の発明は、請求項1に記載の発明に於いて、上記制御部は、上記コントラスト変化が大きい場合に上記撮影時の上記補助光源の発光量を制御し、上記コントラスト変化が小さい場合には上記撮影時に上記補助光源を発光させないことを特徴とする。 According to a second aspect of the present invention, in the first aspect of the invention, the control unit controls a light emission amount of the auxiliary light source during the photographing when the contrast change is large, and the contrast change is If it is small, the auxiliary light source is not caused to emit light during the photographing .

請求項3に記載の発明は、請求項1に記載の発明に於いて、上記撮像部による撮影によって得られた画像の圧縮率を切り替える圧縮率切替部と、上記顔画像が主要被写体に対応しているかどうかを判定する主要被写体判定部と、上記顔画像が主要被写体と判定された場合に、該主要被写体が動体かどうかを判定する動体判定部と、をさらに具備し、上記圧縮率切替部は、上記顔画像が主要被写体と判定された場合に、上記動体判定部の判定結果に応じて上記圧縮率を切り替えることを特徴とする。 According to a third aspect of the present invention, in the first aspect of the present invention, the compression ratio switching unit that switches a compression ratio of an image obtained by photographing by the imaging unit, and the face image corresponds to a main subject. A main subject determination unit that determines whether the main subject is a moving subject, and a moving body determination unit that determines whether the main subject is a moving object when the face image is determined to be a main subject. Is characterized in that, when the face image is determined as a main subject, the compression rate is switched according to the determination result of the moving object determination unit .

本発明によれば、被写体の人物を判定してシャッタチャンスを逃すことなく、最適な撮影制御を行い、顔の描写を最適化して美しい写真を得ることのできるカメラを提供することができる。   According to the present invention, it is possible to provide a camera capable of obtaining a beautiful photograph by determining the person of the subject and performing optimal shooting control without missing a photo opportunity and optimizing the depiction of the face.

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

図1は、本発明の一実施形態に係るカメラの基本構成を示すブロック図である。このカメラは、メインCPU(以下、MPUと記す)11と、複数のスイッチ11a、11b、11cと、信号処理部12と、顔検出部13と、フラッシュROM15と、補助光照射部16と、ピント合わせ部18と、ズーム制御部19と、アナログフロントエンド部(AFE)21と、SDRAM22と、メモリ23と、マイクロホン24と、スピーカ26と、表示部27と、プリント信号出力部28と、無線通信部29と、撮像素子31及び撮影レンズ32とを有して構成される。   FIG. 1 is a block diagram showing a basic configuration of a camera according to an embodiment of the present invention. This camera includes a main CPU (hereinafter referred to as MPU) 11, a plurality of switches 11a, 11b, and 11c, a signal processing unit 12, a face detection unit 13, a flash ROM 15, an auxiliary light irradiation unit 16, and a focus. Alignment unit 18, zoom control unit 19, analog front end unit (AFE) 21, SDRAM 22, memory 23, microphone 24, speaker 26, display unit 27, print signal output unit 28, and wireless communication The unit 29 includes an image sensor 31 and a photographing lens 32.

図1に於いて、MPU11は、制御手段、顔判定手段、顔変化判定手段、算出手段、補助光制御手段、光量決定手段、影判定手段、切り替え手段、ピント合わせ条件切り替え手段等の機能を有する。上記MPU11はマイクロコントローラ等から構成されるもので、ユーザによる各種の操作をスイッチ11a、11b、11cの状態によって検出する。更に、MPU11は、上記スイッチ11a、11b、11cの検出結果とフラッシュROM15内に記憶されているプログラムに従って、後述する各ブロックをシーケンシャルに制御して、撮影や再生のシーケンスを実行する。尚、スイッチ11a〜11cは、電源のオン、オフを行う電源スイッチ(11a)や、レリーズスイッチ(11b)、後述する撮影と再生やその他のスイッチ(11c)の機能を有しており、ユーザの操作を入力するものである。   In FIG. 1, the MPU 11 has functions such as control means, face determination means, face change determination means, calculation means, auxiliary light control means, light amount determination means, shadow determination means, switching means, and focusing condition switching means. . The MPU 11 is composed of a microcontroller or the like, and detects various operations by the user based on the states of the switches 11a, 11b, and 11c. Further, the MPU 11 sequentially controls each block to be described later according to the detection results of the switches 11a, 11b, and 11c and the program stored in the flash ROM 15, and executes a shooting and playback sequence. The switches 11a to 11c have functions of a power switch (11a) for turning the power on and off, a release switch (11b), and shooting and playback and other switches (11c) described later. An operation is input.

上記MPU11には、信号圧縮等の機能を有する信号処理部12と、顔検出部13と、フラッシュROM15と、補助光照射部16と、ピント合わせ部18及びズーム制御部19とが接続されている。上記信号処理部12では、色補正や信号圧縮等の処理が行われる。また、信号処理部12の内部には、露出レベルを変更した後の感度や画像処理時の補正のかけ方を変更したり、圧縮率を変更したりするための切り替え手段としての補助ブロック12aを有している。   Connected to the MPU 11 are a signal processing unit 12 having a function such as signal compression, a face detection unit 13, a flash ROM 15, an auxiliary light irradiation unit 16, a focusing unit 18 and a zoom control unit 19. . The signal processing unit 12 performs processing such as color correction and signal compression. The signal processing unit 12 includes an auxiliary block 12a as a switching unit for changing the sensitivity after changing the exposure level, how to apply the correction at the time of image processing, or changing the compression rate. Have.

上記顔検出部13は、撮像素子31より得られた像信号を解析して人間の顔の特徴を用いて、被写体の中に人物がいるか、その顔の位置や大きさを判定するために検出するための顔検出手段である。   The face detection unit 13 analyzes the image signal obtained from the image sensor 31 and uses the features of the human face to detect whether there is a person in the subject and determine the position and size of the face. This is a face detection means.

フラッシュROM15は、本カメラのMPU11が実行する種々のプログラムや、本カメラに関する各種調整値が記憶されているものである。上記補助光照射部16は、被写体34に向って補助光を照射し、露出を補ったり影を捉えたりするためのものである。更に、ピント合わせ部18は、AFズームレンズ等が想定された撮影レンズ32を介して撮像素子31の結像面上に、被写体34のピントを合わせるために該撮影レンズ32を制御するためのピント合わせ条件切り替え手段である。そして、ズーム制御部19は、撮影レンズ32による画角切り替えを行うための制御部である。   The flash ROM 15 stores various programs executed by the MPU 11 of the camera and various adjustment values related to the camera. The auxiliary light irradiating unit 16 irradiates auxiliary light toward the subject 34 to supplement exposure or capture shadows. Further, the focusing unit 18 is used to control the photographing lens 32 in order to focus the subject 34 on the imaging surface of the image sensor 31 via the photographing lens 32 assumed to be an AF zoom lens or the like. It is a matching condition switching means. The zoom control unit 19 is a control unit for switching the angle of view by the photographing lens 32.

上記信号処理部12には、また、アナログフロントエンド部21と、SDRAM22と、メモリ23と、マイクロホン24と、スピーカ26と、表示部27と、プリント信号出力部28と、無線通信部29とが接続されている。また、アナログフロントエンド部21には、撮影時に、撮影レンズ32から入射された被写体34の像を結像する撮像手段である撮像素子31が接続されている。この撮像素子31は、CCDやCMOSセンサ等により構成されるもので、上記被写体の像を光電変換して画像信号にするものである。   The signal processing unit 12 further includes an analog front end unit 21, an SDRAM 22, a memory 23, a microphone 24, a speaker 26, a display unit 27, a print signal output unit 28, and a wireless communication unit 29. It is connected. The analog front end unit 21 is connected to an image sensor 31 that is an image pickup unit that forms an image of the subject 34 incident from the shooting lens 32 during shooting. The image sensor 31 is constituted by a CCD, a CMOS sensor, or the like, and photoelectrically converts the subject image into an image signal.

上記アナログフロントエンド部21では、撮像素子31で変換された画像信号の読み出しやA/D変換が行われる。そして、このアナログフロントエンド部21では、入力画像の露出レベルを切り替えたりする制御も行われる。このアナログフロントエンド部21で変換されたデジタル画像信号は、信号処理部12に入力される。そして、信号処理部12にて種々の画像処理が施され画像データを生成する。そして、この画像データは、着脱自在のメモリ23に記録される。ここで、メモリ23に記録される画像データは、カメラの設定に応じて適当なデータ量に圧縮されて記録される。この時、種々の演算を行うために、SDRAM22に適宜データが格納される。本発明では、動画も、先ずここに格納される。   The analog front end unit 21 reads the image signal converted by the image sensor 31 and performs A / D conversion. The analog front end unit 21 also performs control such as switching the exposure level of the input image. The digital image signal converted by the analog front end unit 21 is input to the signal processing unit 12. The signal processing unit 12 performs various image processes to generate image data. The image data is recorded in a removable memory 23. Here, the image data recorded in the memory 23 is compressed and recorded in an appropriate amount of data according to the camera settings. At this time, data is appropriately stored in the SDRAM 22 in order to perform various operations. In the present invention, the moving image is also first stored here.

MPUと共に分類表示部を構成する表示部21は、LCD等から構成される。そして、構図決定は、この表示部27によって撮像素子31からの信号を逐次再生して表示することによって、被写体34の状態を確認して行われる。再生表示は、ユーザのスイッチ11cの操作に従って、メモリ23内の圧縮された画像データが信号処理部12に読み出されて表示データに変換され、表示部27に表示されることによって行われる。同様に、音声の再生は、上記スイッチ11cの操作に従って、メモリ23内の圧縮された音声データが信号処理部12に読み出されて音声データに変換され、スピーカ26より出力される。メモリ23は、内蔵のものや、カードのように着脱できるものの何れでもよい。   The display unit 21 that constitutes the classification display unit together with the MPU is composed of an LCD or the like. The composition is determined by confirming the state of the subject 34 by sequentially reproducing and displaying signals from the image sensor 31 by the display unit 27. Reproduction display is performed by reading the compressed image data in the memory 23 into the signal processing unit 12, converting it into display data, and displaying it on the display unit 27 in accordance with the user's operation of the switch 11 c. Similarly, in the audio reproduction, the compressed audio data in the memory 23 is read out to the signal processing unit 12 and converted into audio data according to the operation of the switch 11c, and is output from the speaker 26. The memory 23 may be either a built-in one or a removable one like a card.

撮影された画像等は、プリント信号出力部28や無線通信部29を介して、図示されない外部機器に送信が可能である。   The captured image or the like can be transmitted to an external device (not shown) via the print signal output unit 28 and the wireless communication unit 29.

このような構成に於いて、ユーザがスイッチ11a〜11cを操作すると、その状態がMPU11によって検出され、フラッシュROM15に記憶されているプログラムに従って、各ブロックがシーケンシャルに制御されて、撮影や再生のシーケンスが実行される。   In such a configuration, when the user operates the switches 11a to 11c, the state is detected by the MPU 11, and each block is sequentially controlled in accordance with the program stored in the flash ROM 15, and the sequence of shooting and reproduction is performed. Is executed.

撮影時には、撮影レンズ32から入射した被写体34の像が、撮像素子31によって取り込まれて電気信号に変換され、アナログフロントエンド部21を介してデジタル画像信号が信号処理部12に入力される。そして、この信号処理部12にて色補正や画像圧縮等の処理が行われると、その結果のデータがメモリ23に記録されて撮影が終了する。   At the time of shooting, an image of the subject 34 incident from the shooting lens 32 is captured by the image sensor 31 and converted into an electrical signal, and a digital image signal is input to the signal processing unit 12 via the analog front end unit 21. When the signal processing unit 12 performs processing such as color correction and image compression, the resulting data is recorded in the memory 23 and the shooting is finished.

次に、図2のフローチャートを参照して、このような構成のカメラの撮影時の動作について説明する。尚、このカメラの動作は、主にMPU11の制御によって行われる。   Next, with reference to the flowchart of FIG. 2, the operation at the time of shooting of the camera having such a configuration will be described. The operation of this camera is mainly performed by the control of the MPU 11.

本シーケンスが開始されると、先ずステップS1に於いて、撮影シーケンスが実行されるため、ユーザによりレリーズスイッチ11b等が操作されたか否かが判定される。ここで、撮影シーケンスに入る前には、ステップS18及びS19に移行して、撮影範囲がユーザによって確認することができるように、カメラ背面に設けられたLCD等から成る表示部27に、撮像素子31からの信号が高速で読み出されて撮像結果が表示される。このときは、リアルタイム性が求められるので、表示に十分な画素数のデータのみが処理されて、応答性が向上されている(撮影時には、より多くの画素数が利用されて画質が高められている)。また、続くステップS20にて、被写体像が分析される。   When this sequence is started, first, in step S1, since the photographing sequence is executed, it is determined whether or not the release switch 11b or the like has been operated by the user. Here, before entering the shooting sequence, the process proceeds to steps S18 and S19, and the display unit 27 including an LCD or the like provided on the back of the camera is connected to the image sensor so that the shooting range can be confirmed by the user. The signal from 31 is read out at high speed and the imaging result is displayed. In this case, since real-time characteristics are required, only data with a sufficient number of pixels for display is processed, and responsiveness is improved (at the time of shooting, a larger number of pixels are used to improve image quality). ) In step S20, the subject image is analyzed.

そして、ステップS21に於いて、顔検出部13により、上記ステップS20で得られた像が利用されて、被写体の画像の中に顔が存在するか否かが判定される。ここで、顔が検出されない場合は上記ステップS1に移行し、検出された場合はステップS22に移行する。尚、この顔検出の処理動作については、周知の技術であるので説明は省略する。   In step S21, the face detection unit 13 uses the image obtained in step S20 to determine whether a face exists in the image of the subject. If a face is not detected, the process proceeds to step S1. If a face is detected, the process proceeds to step S22. Since this face detection processing operation is a well-known technique, a description thereof will be omitted.

ステップS22では、上記ステップS21で検出された顔の、撮像素子31上での位置が検出され、同様に、続くステップS23にて、撮像素子31上で顔の大きさ(W)が検出される(図3参照)。更に、ステップS24にて、その時の撮影レンズ32のズーム位置fT が求められて、上記WとfT より下記(1)式のようにして被写体距離L0 が算出される。 In step S22, the position of the face detected in step S21 on the image sensor 31 is detected. Similarly, in step S23, the face size (W) is detected on the image sensor 31. (See FIG. 3). Further, in step S24, the zoom position f T of the photographing lens 32 at that time is obtained, and the subject distance L 0 is calculated from the above W and f T according to the following equation (1).

0 =fT (Wf /W) …(1)
また、下記(2)式及び(3)式のように、画角(θ)とズーム位置fT (焦点距離)の関係が表される。
θ=arctan(W0 /fT ) …(2)
T =(W0 /tanθ) …(3)
これは、人の顔の幅Wf が、一般に十数cmであることからできる概算値となる。したがって、ステップS25にて、上記(1)〜(3)式から、被写体距離L0 が概算される。
L 0 = f T (W f / W) (1)
Further, the relationship between the angle of view (θ) and the zoom position f T (focal length) is expressed as in the following equations (2) and (3).
θ = arctan (W 0 / f T ) (2)
f T = (W 0 / tan θ) (3)
This is an approximate value that can be obtained because the width W f of a human face is generally a few tens of centimeters. Therefore, at step S25, the above (1) to (3), the object distance L 0 is estimated.

また、被写体の顔の位置がわかっているので、その部分の明るさをB1 とすると、ステップS26にて、撮像素子31の出力から、被写体の顔の部分の明るさB1 を検出することができる。更に、それ以外の部分(背景)の明るさも、ステップS27にて同時にB2 として検出することができる。この差異を調べると、逆光であるか否かが判定可能となる。 Further, since the position of the face of the subject is known, assuming that the brightness of that portion is B 1 , the brightness B 1 of the face portion of the subject is detected from the output of the image sensor 31 in step S26. Can do. Further, the brightness of the other part (background) can also be detected as B 2 at the same time in step S27. By examining this difference, it is possible to determine whether or not the backlight is backlit.

逆光の場合は、図示されないキセノン(Xe)管のフラッシュ発光による閃光発光や、白色LED光のカメラ側からの照射によって、背景と人物の明るさを近付けて適正な露出に収めることが可能となる。このようなシーンでは、これらの補助光照射を行う方が好ましい。逆光ではなくても、室内や夜景のように全体的に暗いシーンでも、補助光の照射は好ましい効果を奏する。したがって、こういった状況下であると判定された場合でも、ステップS28にて、サブルーチン「補助光発光決定」が実行されて、補助光照射部16による補助光発光が行われることが決定される。尚、このサブルーチン「補助光発光決定」の詳細な動作については後述する。   In the case of backlighting, it is possible to bring the background and the brightness of the person close to each other and achieve appropriate exposure by flashing light by flashing a xenon (Xe) tube (not shown) or irradiating white LED light from the camera side. . In such a scene, it is preferable to perform irradiation of these auxiliary lights. Irradiation of auxiliary light has a favorable effect even in a dark scene such as a room or a night view, even if it is not backlit. Therefore, even if it is determined that the situation is under such a situation, the subroutine “auxiliary light emission determination” is executed in step S28 and it is determined that auxiliary light emission by the auxiliary light irradiation unit 16 is performed. . The detailed operation of this subroutine “determination of auxiliary light emission” will be described later.

次いで、ステップS29に於いて、検出された顔位置の変化によって顔部分が移動しているか否かが判定される。背景が変化していないのに顔の部分が動いていれば、被写体は動体であることがわかる。したがって、ステップS29にて顔の部分が移動していると判定されたならば、ステップS30に移行して被写体が動体であるとされ、そうでなければステップS30がスキップされて上記ステップS1に移行する。このようにして、上述したステップS1及びS18〜S30が繰返される。つまり、こうした表示制御中に顔の判定等が行われている。   Next, in step S29, it is determined whether or not the face portion is moving based on the detected change in the face position. If the face is moving even though the background has not changed, it can be seen that the subject is a moving object. Therefore, if it is determined in step S29 that the face portion is moving, the process proceeds to step S30 and the subject is determined to be a moving object. Otherwise, step S30 is skipped and the process proceeds to step S1. To do. Thus, steps S1 and S18 to S30 described above are repeated. That is, face determination or the like is performed during such display control.

上記ステップS1に於いて撮影の操作が行われると、続くステップS2にて被写体に顔が有るか否かが判定される。この顔の有無の判定は、上述したステップS21の顔検出と同様、周知の技術により行われるので、ここでは説明を省略する。そして、このステップS2にて顔が存在しないと判定された場合は、通常の撮影制御に移行する。尚、この通常の撮影制御については、周知のものであるのでここでは説明を省略する。一方、上記ステップS2にて顔が存在すると判定された場合は、ステップS3に移行する。   When a photographing operation is performed in step S1, it is determined in subsequent step S2 whether or not the subject has a face. The determination of the presence / absence of the face is performed by a well-known technique in the same manner as the face detection in step S21 described above, and thus the description thereof is omitted here. If it is determined in step S2 that no face is present, the routine proceeds to normal shooting control. Since this normal photographing control is well known, the description thereof is omitted here. On the other hand, when it is determined in step S2 that a face exists, the process proceeds to step S3.

ステップS3では、被写体が動体であるか否かが判定される。被写体が動体の場合には、直ちに撮影動作を行わないと被写体がどこかに離れて行ってしまったりしてシャッタチャンスを逃してしまうおそれがある。したがって、ステップS3にて被写体が動体であると判定された場合は、ステップS9に移行して、上記ステップS25にて求められた被写体距離L0 にピントを合わせが行われる。次いで、ステップS10にて、その距離L0 とレンズの明るさを示すFナンバ値で定められる適正な発光量が決定される。そして、続くステップS11にて、被写体に対し補助光が照射されて撮影(露出)が行われるべく、サブルーチン「補助光発光及び露出」が実行される。 In step S3, it is determined whether or not the subject is a moving object. When the subject is a moving object, if the subject is not immediately taken, there is a possibility that the subject will go away somewhere and miss a photo opportunity. Accordingly, the object in step S3 is if it is determined that the moving object, the process proceeds to step S9, to focus on the object distance L 0 obtained in step S25 is performed. Then, at step S10, adequate light emission amount determined by the F number value indicating the brightness of the distance L 0 and the lens is determined. Then, in the subsequent step S11, the subroutine “auxiliary light emission and exposure” is executed so that the subject is irradiated with the auxiliary light and photographing (exposure) is performed.

次に、ステップS12にて、詳細を後述するサブルーチン「主被写体検出」が実行された後、ステップS13に於いて顔が主被写体であるか否かが判定される。ここで、顔が主被写体であればステップS14へ移行し、そうでなければステップS15へ移行する。また、ステップS14にて被写体が動体であるか否かが判定され、動体であればステップS15へ、そうでなければステップS16へそれぞれ移行する。   Next, after a subroutine “main subject detection”, which will be described in detail later, is executed in step S12, it is determined in step S13 whether or not the face is the main subject. If the face is the main subject, the process proceeds to step S14. Otherwise, the process proceeds to step S15. In step S14, it is determined whether or not the subject is a moving object. If it is a moving object, the process proceeds to step S15, and if not, the process proceeds to step S16.

上記ステップS15に移行したような撮影状況の場合は、撮影画像は乱れがちになることが起こりやすいので、記録時に圧縮をかけても像の劣化は比較的目立たない。したがって、ステップS15にて圧縮率が上げられた後、ステップS17にて記録される。これによって、同じメモリ23のサイズでも、撮影可能な量(枚数)を増やすことができる。一方、ステップS16については後述する。   In the case of a shooting situation such as the transition to step S15, the shot image tends to be disturbed, so that even if compression is applied during recording, the image deterioration is relatively inconspicuous. Therefore, after the compression rate is increased in step S15, recording is performed in step S17. As a result, the amount (number of images) that can be shot can be increased even with the same size of the memory 23. On the other hand, step S16 will be described later.

尚、動体に対しては、シャッタチャンスを掴むことが難しいので、何枚も撮影することができるようにする方が好ましい。   Since it is difficult to capture a photo opportunity for a moving object, it is preferable to be able to take a number of images.

また、上記ステップS3にて、動体と判定されなかった場合は、ステップS4に移行して被写体34に対して、山登りAFが行われる。これは、撮影レンズ32のピント位置を切り替えながら得られる像信号のコントラストのピーク位置をベストピント位置と判定する方式である。この方式は、何ポイントかのピント位置にレンズを制御する必要があるが、その時の時間を短くしないと撮影タイムラグを短くすることができない。そこで、本実施形態では、このレンズ制御位置を、上記ステップS25の上記(1)式により求めた位置(L0 )近傍に絞り込むことにより、高速のピント合わせを可能としている。 On the other hand, if the moving object is not determined in step S3, the process proceeds to step S4, and hill-climbing AF is performed on the subject 34. In this method, the peak position of the contrast of the image signal obtained while switching the focus position of the photographic lens 32 is determined as the best focus position. In this method, it is necessary to control the lens at several focal positions, but the shooting time lag cannot be shortened unless the time at that time is shortened. Therefore, in this embodiment, this lens control position is narrowed down to the vicinity of the position (L 0 ) obtained by the above equation (1) in step S25, thereby enabling high-speed focusing.

次いで、ステップS5では、補助光が撮影に先立ってプリ発光される。そして、ステップS6にて、上記ステップS5の補助光のプリ発光により、図4に示されるように、顔の部分の影の状態が判定される。ここで、補助光が照射されることによって顔の部分の影が消える方向にあるならば、ステップS11に移行して、補助光により影を消す撮影が行われる。   Next, in step S5, auxiliary light is pre-lighted prior to photographing. In step S6, the shadow state of the face portion is determined as shown in FIG. 4 by the auxiliary light pre-emission in step S5. Here, if there is a direction in which the shadow of the face portion disappears when the auxiliary light is irradiated, the process proceeds to step S11, and photographing for removing the shadow by the auxiliary light is performed.

例えば、図5に示されるような強い日射しの下では、同図に斜線で示されるように、木影や帽子や髪の毛等で顔に影ができやすくなる。この状態では、影の部分には光が当たらず、他の部分には光がふりそそぐので、図4(a)に示される対数の輝度分布のように、大きな明暗のコントラスト(ΔBB )が生じる。これに対し、フラッシュ光等の補助光が照射されれば、図4(b)に示されるように、対数の輝度分布で表されるコントラスト(ΔBA )は、明るい部分は太陽光には及ばないので変化が小さいのに対し、暗い部分には光が補われて輝度が大きく変化する(例えば、1:100のコントラストの部分に10の補助光が照射されると、10:110となり、比は1/10程度に収まる)。したがって、顔検出された部分にこのような変化がある被写体に対しては、顔の影を消した撮影が、ステップS11にて行われる。 For example, under intense sunlight as shown in FIG. 5, shadows on the face can be easily formed with tree shadows, hats, hair, etc., as indicated by hatching in FIG. In this state, no light is applied to the shadow portion and light is applied to the other portion, so that a large contrast of light and darkness (ΔB B ) occurs as in the logarithmic luminance distribution shown in FIG. . On the other hand, when auxiliary light such as flash light is irradiated, as shown in FIG. 4B, the contrast (ΔB A ) expressed by the logarithmic luminance distribution reaches the sunlight in the bright part. Since there is no change, the luminance is greatly changed by supplementing light in the dark portion (for example, when 10 auxiliary light is irradiated on the contrast portion of 1: 100, the ratio becomes 10: 110, Is about 1/10). Therefore, for a subject having such a change in the face detected portion, shooting with the face shadow removed is performed in step S11.

また、上記ステップS6にて、上述した影を消す効果がない場合は、ステップS7に移行して、上記ステップS28にて補助光発光決定がなされているか否かが判定される。そして、補助光発光が決定されている場合はステップS11に移行し、補助光発光がされない場合はステップS8に移行する。つまり、影を消す効果がなく、補助光発光が決定されていない場合は、補助光のエネルギーを節約するためにも、人工的な光で被写体を照らすことによる副作用を起こさないように、ステップS7にて補助光照射のない撮影が行われる。   On the other hand, if it is determined in step S6 that there is no effect of removing the above-described shadow, the process proceeds to step S7, and it is determined whether or not auxiliary light emission determination is made in step S28. If the auxiliary light emission is determined, the process proceeds to step S11. If the auxiliary light emission is not performed, the process proceeds to step S8. In other words, when there is no effect to erase the shadow and the auxiliary light emission has not been determined, in order to save the energy of the auxiliary light, in order not to cause side effects caused by illuminating the subject with artificial light, step S7. Shooting without auxiliary light irradiation is performed.

次に、ステップS12では、「主被写体検出」のサブルーチンが実行される。このサブルーチン「主被写体検出」の詳細な動作については後述する。   Next, in step S12, a “main subject detection” subroutine is executed. The detailed operation of this subroutine “main subject detection” will be described later.

上記ステップS8にて、補助光発光無しで撮影された場合は、ステップS12の後、ステップS13、S14を介してステップS16に移行して、圧縮率を上げないようにする。つまり、記録時の圧縮率を抑えて、デリケートな顔の陰影や質感や色あいを落とさないようにする。その後、ステップS17にて記録される。   In step S8, when the image is shot without auxiliary light emission, the process proceeds to step S16 through steps S13 and S14 after step S12 so as not to increase the compression rate. That is, the compression ratio at the time of recording is suppressed so that the delicate shadow, texture and color of the face are not dropped. Then, it is recorded in step S17.

しかし、上述したように、ステップS14にて動体である場合は、それ以上に像の乱れがあったりするので、顔以外の場合は、一般のユーザには色や陰影の差異は気にならないことが多い。したがって、撮影できる枚数を優先して、ステップS15及びS17にて圧縮率を上げて記録が行われるようにする。   However, as described above, if the object is a moving object in step S14, the image may be disturbed more than that, so that the user may not be concerned about the difference in color and shadow except for the face. There are many. Therefore, priority is given to the number of images that can be shot, and recording is performed at a higher compression rate in steps S15 and S17.

次に、図6のフローチャートを参照して、上述した図2のフローチャートに於けるステップS11のサブルーチン「補助光発光及び露出」の詳細な動作について説明する。   Next, a detailed operation of the subroutine “auxiliary light emission and exposure” in step S11 in the flowchart of FIG. 2 described above will be described with reference to the flowchart of FIG.

本ルーチンに入ると、先ず、ステップS41にて、プリ発光時に、被写体の顔の部分から反射してきた補助光の光も含めた明るさB3 が検出される。次いで、ステップS42に於いて、上記ステップS41で検出された明るさB3 と、図2のフローチャートに於けるステップS28で検出された背景の明るさB2 とが比較される。 Once in this routine, first, in step S41, when pre-emission brightness B 3 which light was also included in the auxiliary light reflected from the portion of the face of the subject is detected. Then, in step S42, the brightness B 3 which is detected in step S41, and the brightness B 2 of the detected background in step S28 in the flowchart of FIG. 2 are compared.

ここで、補助光が発光されたB3 がB2 より暗いと逆光条件となるので、ステップS43に移行して、これらの中間の明るさを適正にする露出条件が決定される。図7(a)に示されるように、画面の位置を横軸にし、明るさを縦軸にして、背景の明るさと補助光が発光された被写体の顔の明るさについて説明する。この場合、B2 よりB3 の方が暗いので、露出時間を長くしてB3 を適正にすると、背景が真っ白になってしまい、どのようなシーンかわからなくなってしまう。一方、B2 を適正にすると、顔の部分が黒くなってしまい、人の表情がわからなくなってしまう。 Here, if B 3 from which the auxiliary light is emitted is darker than B 2 , the backlight condition is reached. Therefore, the process proceeds to step S43, and an exposure condition for making the intermediate brightness appropriate is determined. As shown in FIG. 7A, the background brightness and the brightness of the face of the subject to which the auxiliary light is emitted will be described with the screen position on the horizontal axis and the brightness on the vertical axis. In this case, since B 3 is darker than B 2 , if the exposure time is increased and B 3 is made appropriate, the background becomes pure white and it becomes difficult to know what kind of scene it is. On the other hand, if B 2 is set appropriately, the face portion becomes black and the human facial expression is not understood.

そこで、図7(b)に示されるように、B2 とB3 の明るさについて、何れも変化がわかるような露出時間やレンズ絞り値が選択されるようにする。ここでは、明るさB2 とB3 の平均値に対して適正電荷量になるような露出時間が制御されることにより、撮像素子31の電荷蓄積量が所定値にされるようにしている。このように決定された露出条件で、ステップS46にて補助光が照射されながら、シャッタの制御が行われる。 Therefore, as shown in FIG. 7B, an exposure time and a lens aperture value are selected such that the brightness of B 2 and B 3 can be both changed. Here, the charge accumulation amount of the image sensor 31 is set to a predetermined value by controlling the exposure time so as to obtain an appropriate charge amount with respect to the average value of the brightness B 2 and B 3 . Under the exposure conditions determined as described above, the shutter is controlled while the auxiliary light is irradiated in step S46.

また、上記ステップS42に於いて、逆光ではない場合には、ステップS44に移行して、背景の色が真っ黒にならないように工夫する。つまり、図8(a)に示されるように、近くに存在する被写体の顔のみが適正な条件で露出されると、背景には光は届かないので、その像が不明瞭になってつまらない写真となってしまう。この場合は、ステップS45にて、図8(b)に示されるように、シャッタを開いている時間(露出時間)を延ばして、背景像のコントラストを描写することができるようにする。そして、ステップS45にて、その条件で、顔の部分が適正な露出になるような発光量が設定される。これにより、ステップS46にて、顔の部分が照射されて、背景の描写ができるようにして雰囲気のある写真撮影が可能となる。   In step S42, if the backlight is not backlit, the process proceeds to step S44 to devise so that the background color does not become black. That is, as shown in FIG. 8 (a), when only the face of a nearby subject is exposed under appropriate conditions, the light does not reach the background, so the image becomes unclear and boring. End up. In this case, in step S45, as shown in FIG. 8B, the time during which the shutter is open (exposure time) is extended so that the contrast of the background image can be depicted. In step S45, the amount of light emission is set so that the face portion is properly exposed under the conditions. As a result, in step S46, the face portion is irradiated, and the background can be drawn so that a photograph with an atmosphere can be taken.

この後、本サブルーチンを抜けて、図2のフローチャートのステップS12に移行する。   Thereafter, the present subroutine is exited, and the process proceeds to step S12 in the flowchart of FIG.

図9は、図2のフローチャートに於けるステップS28のサブルーチン「補助光発光決定」の詳細な動作を説明するフローチャートである。このサブルーチンでは、顔の部分の明るさB1 と、顔以外の部分の明るさB2 が利用されて処理が行われる。 FIG. 9 is a flowchart for explaining the detailed operation of the subroutine “auxiliary light emission determination” in step S28 in the flowchart of FIG. In this subroutine, processing is performed using the brightness B 1 of the face portion and the brightness B 2 of the portion other than the face.

本ルーチンに入ると、先ずステップS51に於いて、図2のフローチャートに於けるステップ26及びS27で検出された顔の部分の明るさB1 と、顔以外の部分、すなわち背景の明るさB2 とが比較される。顔の部分が背景よりずっと暗い場合は逆光シーンであると考えられるので、補助光発光によってカメラ側から光を補う必要がある。したがって、ステップS54では、補助光照射部16による発光が決定される。 When this routine is entered, first in step S51, the brightness B 1 of the face portion detected in steps 26 and S27 in the flowchart of FIG. 2 and the brightness other than the face, that is, the background brightness B 2 are detected. Are compared. When the face portion is much darker than the background, it is considered that the scene is a backlight scene, so it is necessary to supplement the light from the camera side with auxiliary light emission. Therefore, in step S54, light emission by the auxiliary light irradiation unit 16 is determined.

また、上記ステップS51にて、上記背景の明るさB2 が所定の明るさB0 と比較される。ここで、背景の明るさB2 が所定の明るさB0 より暗いシーンである場合は、ステップS54に移行して発光制御が行われる。一方、上記ステップS52にて、背景の明るさB2 が所定の明るさB0 より暗いシーンでない場合は、ステップS53に移行して、補助光発光なしの制御が行われることが決定され、補助光照射によるエネルギー消費が抑えられるようにしている。 In step S51, the background brightness B 2 is compared with a predetermined brightness B 0 . If the scene has a background brightness B 2 that is darker than the predetermined brightness B 0 , the process proceeds to step S54 where light emission control is performed. On the other hand, if the background brightness B 2 is not darker than the predetermined brightness B 0 in step S52, the process proceeds to step S53 where it is determined that control without auxiliary light emission is performed. Energy consumption due to light irradiation is suppressed.

この後、本サブルーチンを抜けて、図2のフローチャートのステップS29に移行する。   Thereafter, the present subroutine is exited and the process proceeds to step S29 in the flowchart of FIG.

図10は、図2のフローチャートに於けるステップS12のサブルーチン「主被写体検出」の詳細な動作を説明するフローチャートである。   FIG. 10 is a flowchart for explaining the detailed operation of the subroutine “main subject detection” in step S12 in the flowchart of FIG.

例えば、図11(a)に示されるように、画面内に顔が大きく写っている場合は、その位置が隅の方であっても主被写体と判定することができる。一方、図11(b)に示されるように、顔の大きさが小さくとも、画面の中央部に近いものは、主被写体と考えることができる。したがって、図10のフローチャートでは、先ずステップS61及びS62にて、画面内で顔が占める面積の割合を判定するようにしている。   For example, as shown in FIG. 11 (a), when a large face appears in the screen, it can be determined that the subject is the main subject even if the position is at the corner. On the other hand, as shown in FIG. 11B, even if the size of the face is small, an object close to the center of the screen can be considered as the main subject. Therefore, in the flowchart of FIG. 10, first, in steps S61 and S62, the ratio of the area occupied by the face in the screen is determined.

すなわち、ステップS61では、画面内で顔が占める面積の割合が1/10以上であるか否かが判定される。ここで、画面内で顔が占める面積の割合が1/10以上の大きさを占めるならば、ステップS67に移行して顔が主被写体とされる。一方、上記ステップS61にて、画面内で顔が占める面積の割合が1/10未満であったならば、ステップS62に移行して、画面内で顔が占める面積の割合が1/20以下であるか否かが判定される。ここで、ステップS62にて画面内で顔が占める面積の割合が1/20以下である場合はステップS63に移行し、上記ステップS62にてそれ以下の面積である場合はステップS65に移行する。   That is, in step S61, it is determined whether the ratio of the area occupied by the face in the screen is 1/10 or more. Here, if the ratio of the area occupied by the face in the screen occupies a size of 1/10 or more, the process proceeds to step S67 and the face is set as the main subject. On the other hand, if the ratio of the area occupied by the face in the screen is less than 1/10 in step S61, the process proceeds to step S62, and the ratio of the area occupied by the face in the screen is 1/20 or less. It is determined whether or not there is. Here, if the ratio of the area occupied by the face in the screen is 1/20 or less in step S62, the process proceeds to step S63, and if the area is less than that in step S62, the process proceeds to step S65.

そして、ステップS63に於いて、画面内で顔が占める面積の割合が1/50以下であるか否かが判定される。ここで、画面内で顔が占める面積の割合が1/50以下の大きさである場合は、ステップS66に移行して顔以外が主被写体とされる。一方、上記ステップS63にて、画面内で顔が占める面積の割合が1/50を超えるならば、ステップS64に移行する。   Then, in step S63, it is determined whether or not the ratio of the area occupied by the face in the screen is 1/50 or less. Here, when the ratio of the area occupied by the face in the screen is 1/50 or less, the process proceeds to step S66, and the area other than the face is set as the main subject. On the other hand, if the ratio of the area occupied by the face in the screen exceeds 1/50 in step S63, the process proceeds to step S64.

ステップS64では、被写体の顔が画面の中央1/3に入っているか否かが判定される。ここで、顔が画面の中央1/3に入っている場合は、ステップS67に移行するが、そうでない場合はステップS66に移行する。また、ステップS65では、画面内で顔の位置が判定される。このステップS65では、図11(b)に示されるように、画面中央の3/4に顔が入っているか否かが判定される。その結果、画面中央の3/4に顔が入っている場合はステップS67に移行し、そうでない場合はステップS66に移行する。   In step S64, it is determined whether or not the subject's face is in the center 1/3 of the screen. If the face is in the center 1/3 of the screen, the process proceeds to step S67. If not, the process proceeds to step S66. In step S65, the position of the face is determined on the screen. In this step S65, as shown in FIG. 11B, it is determined whether or not a face is in 3/4 of the center of the screen. As a result, if the face is in 3/4 of the center of the screen, the process proceeds to step S67, and if not, the process proceeds to step S66.

そして、ステップS66では顔以外が主被写体であるとされ、一方ステップS67では顔が主被写体であるとされる。その後、本ルーチンを抜けて図2のフローチャートに於けるステップS13に移行する。   In step S66, it is determined that a part other than the face is the main subject, and in step S67, the face is the main subject. Thereafter, the process exits from this routine and proceeds to step S13 in the flowchart of FIG.

すなわち、画面内で顔が占める面積の割合が1/10以上であれば、顔が主被写体であるとして検出される。また、画面内で顔が占める面積の割合が1/10未満であっても、1/20より大きい場合は、顔の位置が画面中央の3/4に入っていれば、顔が主被写体として検出される。更に、画面内で顔が占める面積の割合が1/20以下の場合は、顔の位置が画面中央の1/3に入っていれば、顔が主被写体として検出される。そして、上記の何れにも該当しない場合は、顔以外が主被写体であると検出される。   That is, if the ratio of the area occupied by the face in the screen is 1/10 or more, the face is detected as the main subject. Also, even if the ratio of the area occupied by the face in the screen is less than 1/10, but larger than 1/20, if the face position is within 3/4 of the center of the screen, the face is the main subject. Detected. Further, when the ratio of the area occupied by the face in the screen is 1/20 or less, the face is detected as the main subject if the face position falls within 1/3 of the center of the screen. If none of the above applies, it is detected that the subject other than the face is the main subject.

このように、顔が主被写体であるか否かを画面内に占める割合と位置で判定して、画像処理を変更するので、一般のユーザが撮影する被写体の8割を占めるといわれる人物の肌の色や、質感を最適に再現できるカメラを提供し、ユーザから高い満足を得ることができる。また、顔を判定して肌の色により忠実な色処理を行うような工夫も有効である。   In this way, since the image processing is changed by determining whether the face is the main subject or not based on the ratio and position in the screen, the skin of a person who is said to account for 80% of the subject photographed by a general user A camera that can optimally reproduce the color and texture of the camera can be provided, and high satisfaction can be obtained from the user. It is also effective to perform face processing and color processing that is faithful to the skin color.

以上のように、本実施形態によれば、被写体の顔を利用してシーンを判定し、それに適切な撮影を行うようにすることができる。   As described above, according to the present embodiment, it is possible to determine a scene using the face of a subject and perform appropriate shooting.

以上、本発明の実施形態について説明したが、本発明は上述した実施形態に限定されるものではなく、本発明の要旨を逸脱しない範囲で種々の変形実施が可能であるのは勿論である。   Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the present invention.

更に、上述した実施形態には種々の段階の発明が含まれており、開示される複数の構成要件の適当な組合せにより種々の発明が抽出され得る。例えば、実施形態に示される全構成要件から幾つかの構成要件が削除されても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除された構成も発明として抽出され得る。   Further, the above-described embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if some constituent requirements are deleted from all the constituent requirements shown in the embodiment, the problem described in the column of the problem to be solved by the invention can be solved, and the effect described in the column of the effect of the invention Can be extracted as an invention.

本発明の一実施形態に係るカメラの基本構成を示すブロック図である。It is a block diagram which shows the basic composition of the camera which concerns on one Embodiment of this invention. 本発明の一実施形態に於けるカメラの撮影動作を説明するためのフローチャートである。4 is a flowchart for explaining a photographing operation of a camera in an embodiment of the present invention. 撮影レンズのズーム位置と被写体距離と被写体の顔の大きさとの関係を示した図である。It is the figure which showed the relationship between the zoom position of an imaging lens, a to-be-photographed object distance, and the size of the face of a to-be-photographed object. 影が生じた被写体の輝度分布の例を示した図である。It is the figure which showed the example of the luminance distribution of the to-be-photographed object. 被写体の影について説明するための図である。It is a figure for demonstrating the shadow of a to-be-photographed object. 図2のフローチャートに於けるステップS11のサブルーチン「補助光発光及び露出」の詳細な動作について説明するフローチャートである。It is a flowchart explaining the detailed operation | movement of the subroutine "auxiliary light emission and exposure" of step S11 in the flowchart of FIG. 背景の明るさと補助光が発光された被写体の顔の明るさについて説明する図である。It is a figure explaining the brightness of the face of the to-be-photographed object to which the brightness of the background and auxiliary light were emitted. 背景の明るさと補助光が発光された被写体の顔の明るさについて説明する図である。It is a figure explaining the brightness of the face of the to-be-photographed object to which the brightness of the background and auxiliary light were emitted. 図2のフローチャートに於けるステップS28のサブルーチン「補助光発光決定」の詳細な動作を説明するフローチャートである。3 is a flowchart for explaining detailed operations of a subroutine “auxiliary light emission determination” in step S28 in the flowchart of FIG. 2. 図2のフローチャートに於けるステップS12のサブルーチン「主被写体検出」の詳細な動作を説明するフローチャートである。3 is a flowchart for explaining detailed operations of a subroutine “main subject detection” in step S12 in the flowchart of FIG. 2. 画面と被写体の顔の大きさとの関係を説明するための図である。It is a figure for demonstrating the relationship between a screen and the magnitude | size of a to-be-photographed object's face.

符号の説明Explanation of symbols

11…メインCPU(MPU)、11a、11b、11c…スイッチ、12…信号処理部、13…顔検出部、15…フラッシュROM、16…補助光照射部、18…ピント合わせ部、19…ズーム制御部、21…アナログフロントエンド部(AFE)、22…SDRAM、23…メモリ、24…マイクロホン、26…スピーカ、27…表示部、28…プリント信号出力部、29…無線通信部、31…撮像素子、32…撮影レンズ、34…被写体。   DESCRIPTION OF SYMBOLS 11 ... Main CPU (MPU), 11a, 11b, 11c ... Switch, 12 ... Signal processing part, 13 ... Face detection part, 15 ... Flash ROM, 16 ... Auxiliary light irradiation part, 18 ... Focusing part, 19 ... Zoom control , 21 ... Analog front end (AFE), 22 ... SDRAM, 23 ... Memory, 24 ... Microphone, 26 ... Speaker, 27 ... Display part, 28 ... Print signal output part, 29 ... Wireless communication part, 31 ... Image sensor 32 ... photographic lens, 34 ... subject.

Claims (3)

補助光を照射する補助光源を有するカメラに於いて、
撮像により画像を得る撮像部と、
上記撮像部による撮影前に上記撮像部によって得られた画像内に顔画像が含まれるかを検出する顔検出部と、
記撮影時に先立つ上記補助光源のプリ発光時の発光を制御する制御部と、
上記補助光源のプリ発光の結果として上記撮像部によって得られた画像内の顔画像の明部と暗部とのコントラスト変化を検出する明るさ検出部と、
を具備し、
上記制御部は、上記明るさ検出部で検出されたコントラスト変化の大きさに応じて上記撮像部による撮影時の上記補助光源の発光量を制御することを特徴とするカメラ。
In a camera having an auxiliary light source that emits auxiliary light,
An imaging unit for obtaining an image by imaging;
A face detection unit that detects whether a face image is included in an image obtained by the imaging unit before shooting by the imaging unit ;
A control unit for controlling the light emission amount at the time of preliminary light emission of the auxiliary light source prior to the time of the upper Symbol shooting,
A brightness detection unit for detecting a contrast change between a bright part and a dark part of a face image in the image obtained by the imaging unit as a result of the pre-light emission of the auxiliary light source;
Comprising
The camera , wherein the control unit controls a light emission amount of the auxiliary light source at the time of photographing by the imaging unit in accordance with a magnitude of a contrast change detected by the brightness detection unit .
上記制御部は、上記コントラスト変化が大きい場合に上記撮影時の上記補助光源の発光量を制御し、上記コントラスト変化が小さい場合には上記撮影時に上記補助光源を発光させないことを特徴とする請求項1に記載のカメラ。The control unit controls a light emission amount of the auxiliary light source at the time of photographing when the contrast change is large, and does not cause the auxiliary light source to emit light at the time of photographing when the contrast change is small. 1. The camera according to 1. 上記撮像部による撮影によって得られた画像の圧縮率を切り替える圧縮率切替部と、A compression rate switching unit that switches a compression rate of an image obtained by photographing by the imaging unit;
上記顔画像が主要被写体に対応しているかどうかを判定する主要被写体判定部と、A main subject determination unit for determining whether the face image corresponds to a main subject;
上記顔画像が主要被写体と判定された場合に、該主要被写体が動体かどうかを判定する動体判定部と、A moving body determination unit that determines whether or not the main subject is a moving body when the face image is determined to be a main subject;
をさらに具備し、Further comprising
上記圧縮率切替部は、上記顔画像が主要被写体と判定された場合に、上記動体判定部の判定結果に応じて上記圧縮率を切り替えることを特徴とする請求項1に記載のカメラ。The camera according to claim 1, wherein the compression rate switching unit switches the compression rate according to a determination result of the moving object determination unit when the face image is determined to be a main subject.
JP2006102034A 2006-04-03 2006-04-03 camera Expired - Fee Related JP4701122B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006102034A JP4701122B2 (en) 2006-04-03 2006-04-03 camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006102034A JP4701122B2 (en) 2006-04-03 2006-04-03 camera

Publications (3)

Publication Number Publication Date
JP2007281593A JP2007281593A (en) 2007-10-25
JP2007281593A5 JP2007281593A5 (en) 2009-05-14
JP4701122B2 true JP4701122B2 (en) 2011-06-15

Family

ID=38682639

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006102034A Expired - Fee Related JP4701122B2 (en) 2006-04-03 2006-04-03 camera

Country Status (1)

Country Link
JP (1) JP4701122B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010008711A (en) * 2008-06-26 2010-01-14 Canon Inc Imaging apparatus, imaging method, and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000050151A (en) * 1998-07-28 2000-02-18 Olympus Optical Co Ltd Image pickup device
JP2002277921A (en) * 2001-03-15 2002-09-25 Sony Corp Imaging device and method, program storage medium, and program
JP2004317699A (en) * 2003-04-15 2004-11-11 Nikon Gijutsu Kobo:Kk Digital camera

Also Published As

Publication number Publication date
JP2007281593A (en) 2007-10-25

Similar Documents

Publication Publication Date Title
US8199203B2 (en) Imaging apparatus and imaging method with face detection based on scene recognition results
JP4115467B2 (en) Imaging device
KR101411910B1 (en) Digital photographing apparatus and method for controlling the same
JP5319078B2 (en) Camera, camera image processing method, program, and recording medium
US8937677B2 (en) Digital photographing apparatus, method of controlling the same, and computer-readable medium
JP5639140B2 (en) camera
JP5306628B2 (en) Imaging method and apparatus
US7432973B2 (en) Digital camera for capturing an image with a predetermined composition
JP5048614B2 (en) Imaging apparatus and method
WO2020238827A1 (en) Image acquisition device and image acquisition method
JP5027580B2 (en) Imaging apparatus, method, and program
JP4510768B2 (en) Imaging apparatus and method, and program
JP2009253367A (en) Imaging device and method of controlling the same
JP5048599B2 (en) Imaging device
JP2010199727A (en) Imager
JP4600684B2 (en) Imaging apparatus and imaging method
JP4717867B2 (en) Imaging apparatus and imaging method
JP4891674B2 (en) camera
JP2009071391A (en) Image capturing apparatus, image capturing apparatus control method, and program
JP5316923B2 (en) Imaging apparatus and program thereof
JP4717840B2 (en) Imaging apparatus and control method thereof
JP7218116B2 (en) IMAGING DEVICE AND METHOD OF CONTROLLING IMAGING DEVICE
JP4701122B2 (en) camera
JP2009157004A (en) Imaging device
JP4789776B2 (en) Imaging apparatus and imaging method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090401

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090401

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101214

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110204

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: 20110301

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110307

R151 Written notification of patent or utility model registration

Ref document number: 4701122

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

LAPS Cancellation because of no payment of annual fees