JP4291408B2 - Imaging device - Google Patents

Imaging device Download PDF

Info

Publication number
JP4291408B2
JP4291408B2 JP2009007731A JP2009007731A JP4291408B2 JP 4291408 B2 JP4291408 B2 JP 4291408B2 JP 2009007731 A JP2009007731 A JP 2009007731A JP 2009007731 A JP2009007731 A JP 2009007731A JP 4291408 B2 JP4291408 B2 JP 4291408B2
Authority
JP
Japan
Prior art keywords
face
shooting
self
unit
photographing
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.)
Active
Application number
JP2009007731A
Other languages
Japanese (ja)
Other versions
JP2009134300A (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.)
Fujifilm Corp
Original Assignee
Fujifilm 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 Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2009007731A priority Critical patent/JP4291408B2/en
Publication of JP2009134300A publication Critical patent/JP2009134300A/en
Application granted granted Critical
Publication of JP4291408B2 publication Critical patent/JP4291408B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Exposure Control For Cameras (AREA)
  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)
  • Details Of Cameras Including Film Mechanisms (AREA)
  • Indication In Cameras, And Counting Of Exposures (AREA)

Description

本発明は、セルフタイマー機能又は自動撮影機能を備えたデジタルスチルカメラ等の撮影装置に関するものである。   The present invention relates to a photographing apparatus such as a digital still camera having a self-timer function or an automatic photographing function.

従来、レリーズボタンが押下されてから所定時間経過後に被写体の撮影を行うセルフタイマー機能や、任意のタイミングにて自動的に被写体の撮影を行う自動撮影機能等を備えたデジタルカメラやデジタルビデオカメラ等の撮像装置が多く普及している。例えば、スルー画像にて被写体の所望の部分を指定後、該部分が変化したときに撮影を開始又は停止させることにより、セルフタイマーの設定時間に束縛されずに所望のタイミングで撮像を行う撮像装置(特許文献1)や、カメラへの入力画像の中から被撮影者を検出し、カメラの撮像枠内での被撮影者の位置状態から撮影状態の良否を判定して、該判定された撮影状態が良好なときに撮影を行い、撮影者自身の顔や体の一部に不自然な欠け等の存在しない写真を自動撮影する自動撮影装置(特許文献2)が提案されている。   Conventionally, a digital camera or digital video camera equipped with a self-timer function for photographing a subject after a predetermined time has passed since the release button was pressed, an automatic photographing function for automatically photographing a subject at an arbitrary timing, etc. Many imaging devices are widely used. For example, after specifying a desired portion of a subject in a through image, an imaging device that performs imaging at a desired timing without being bound by the set time of the self-timer by starting or stopping shooting when the portion changes (Patent Document 1) or a person to be photographed is detected from the input image to the camera, and the quality of the photographing state is determined from the position state of the person to be photographed in the imaging frame of the camera. There has been proposed an automatic photographing apparatus (Patent Document 2) that performs photographing when the state is good and automatically photographs a photograph in which a photographer himself / herself has no unnatural chipping or the like.

特開2000−196934号公報JP 2000-196934 A 特開2005−3852号公報Japanese Patent Laid-Open No. 2005-3852

一方、デジタルカメラ等の撮像装置においては、スルー画像やレリーズボタンが半押しされた際に撮像されるプレ画像の中から顔等の所定の対象物を検出し、該検出された対象物に応じて、露出条件を決定するAE処理及び合焦位置を決定するAF処理が行われている。しかしながら上述のようなセルフタイマー機能や自動撮影機能により撮影を行う際には、レリーズボタンが全押しすなわち撮影開始の指示がされてから、実際に本露光撮影が開始されるまでに時間を要するので、本露光撮影時とAE処理及びAF処理が行われたときとでは、例えば被撮影者自身を被写体とする撮影を行う場合等、被写体の状況が変化するので、被写体の明るさ(輝度)やピント(合焦位置)がずれてしまう虞がある。   On the other hand, in an imaging device such as a digital camera, a predetermined object such as a face is detected from a through image or a pre-image captured when the release button is pressed halfway, and the detected object is detected. Thus, AE processing for determining the exposure condition and AF processing for determining the in-focus position are performed. However, when shooting with the self-timer function or the automatic shooting function as described above, it takes time until the actual exposure shooting starts after the release button is fully pressed, that is, when shooting is instructed. When the subject exposure is performed and when the AE process and the AF process are performed, for example, when the subject is photographed with the subject as a subject, the subject's situation changes. There is a risk that the focus (focus position) may be shifted.

本発明は係る事情に鑑みてなされたものであり、セルフタイマー機能又は自動撮影機能を使用して撮影を行うときに、輝度及び合焦位置が適切である画像を取得可能な撮像装置を提供することを目的とするものである。   The present invention has been made in view of such circumstances, and provides an imaging apparatus capable of acquiring an image with appropriate brightness and in-focus position when shooting using a self-timer function or an automatic shooting function. It is for the purpose.

本発明の撮像装置は、被写体を撮影して画像データを生成する撮像手段と、
画像データから所定の対象物を検出する対象物検出手段と、
対象物の検出結果に応じて露出条件を決定する露出決定手段と、
対象物の検出結果に応じて合焦位置を決定する合焦決定手段と、
露出決定手段及び合焦決定手段により決定された露出条件及び合焦位置に従って撮像手段に本露光撮影を指示する撮影指示手段と、
撮影指示手段より本露光撮影が指示されてから所定時間経過後に本露光撮影を行なわせるセルフタイマー撮影手段、及び/又は、所定のタイミングで撮影指示手段に本露光撮影を行わせる自動撮影手段と、を備えてなる撮像装置において、
セルフタイマー撮影手段又は自動撮影手段を使用して本露光撮影を行うとき、
撮影指示手段により本露光撮影が指示された時から本露光撮影が行われるまでの間に、少なくとも1回以上、露出決定手段及び合焦決定手段により対象物の検出結果に応じて露出条件及び/又は合焦位置が決定されることを特徴とするものである。
An imaging apparatus according to the present invention includes an imaging unit that shoots a subject and generates image data;
Object detection means for detecting a predetermined object from the image data;
Exposure determining means for determining an exposure condition according to the detection result of the object;
Focusing determining means for determining a focusing position according to the detection result of the object;
A shooting instruction unit for instructing the imaging unit to perform main exposure shooting according to the exposure condition and the focus position determined by the exposure determination unit and the focus determination unit;
A self-timer photographing means for performing the main exposure photographing after a predetermined time has elapsed since the main instruction photographing is instructed by the photographing instruction means; and / or an automatic photographing means for causing the photographing instruction means to perform the main exposure photographing at a predetermined timing; In an imaging apparatus comprising:
When performing main exposure photography using self-timer photography means or automatic photography means,
At least once or more between the time when the main exposure shooting is instructed by the shooting instruction means and the time when the main exposure shooting is performed. Alternatively, the in-focus position is determined.

本発明の撮像装置は、セルフタイマー撮影手段を使用して本露光撮影が行われるとき、所定時間経過後に、少なくとも一回以上、露出決定手段及び合焦決定手段により対象物の検出結果に応じて露出条件及び/又は合焦位置が決定されてもよい。   When the main exposure photographing is performed using the self-timer photographing means, the image pickup apparatus according to the present invention performs at least once after the predetermined time has passed according to the detection result of the object by the exposure determining means and the focus determining means. An exposure condition and / or a focus position may be determined.

本発明の撮像装置は、セルフタイマー撮影手段を使用して本露光撮影が行われるとき、所定時間経過中に、少なくとも一回以上、露出決定手段及び合焦決定手段により対象物の検出結果に応じて露出条件及び/又は合焦位置が決定されてもよい。   When the main exposure photographing is performed using the self-timer photographing means, the imaging apparatus according to the present invention responds to the detection result of the object by the exposure determining means and the focus determining means at least once during a predetermined time. Then, the exposure condition and / or the focus position may be determined.

本発明の撮像装置は、セルフタイマー撮影手段又は自動撮影手段を使用して本露光撮影が行われるとき、撮影指示手段による本露光撮影の指示に応じて、露出決定手段及び/又は合焦決定手段により対象物検出手段による対象物の検出結果によらず露出条件及び/又は合焦位置が決定されてもよい。   The image pickup apparatus according to the present invention has an exposure determination unit and / or a focus determination unit according to an instruction of the main exposure shooting by the shooting instruction unit when the main exposure shooting is performed using the self-timer shooting unit or the automatic shooting unit. Thus, the exposure condition and / or the focus position may be determined regardless of the detection result of the object by the object detection means.

本発明の撮像装置は、セルフタイマー撮影手段を使用して本露光撮影が行われるとき、所定時間経過中の所定時に、露出決定手段及び合焦決定手段により前記対象物の検出結果に応じて露出条件及び/又は合焦位置が決定されてもよい。   The image pickup apparatus according to the present invention is configured to perform exposure according to the detection result of the object by the exposure determination unit and the focus determination unit at a predetermined time during a predetermined time when the main exposure shooting is performed using the self-timer shooting unit. Conditions and / or focus positions may be determined.

本発明の撮像装置は、対象物検出手段により、複数の対象物が検出された時、又は複数の対象物が検出されてから所定時間経過した時に、露出決定手段及び/又は合焦決定手段により露出条件及び/又は合焦位置が決定されてもよい。   The imaging apparatus according to the present invention is configured such that when a plurality of objects are detected by the object detection unit, or when a predetermined time has elapsed after the plurality of objects are detected, the exposure determination unit and / or the focus determination unit. An exposure condition and / or a focus position may be determined.

本発明の撮像装置は、合焦決定手段が、対象物検出手段により所定の対象物が検出されたときに該対象物の領域において合焦位置を決定し、対象物検出手段により所定の対象物が検出されなかったときに所定領域において合焦位置を決定することが好ましい。   In the imaging apparatus of the present invention, the focus determination unit determines a focus position in a region of the target object when the target detection unit detects the target object, and the target detection unit determines the predetermined target object. It is preferable to determine the in-focus position in the predetermined area when no is detected.

本発明の撮像装置は、撮影指示手段により本露光撮影が指示される前に、合焦決定手段により第一の合焦位置を決定する時、
対象物検出手段により所定の対象物が検出されているときには、該検出された対象物の領域において第一の合焦位置を決定し、
第一の合焦位置が決定された後で撮影指示手段により本露光撮影が指示された時、
第一の合焦位置が決定された後で、対象物検出手段により所定の対象物が検出されているときには、該検出された対象物の領域において合焦決定手段により第二の合焦位置を決定し、
対象物検出手段により所定の対象物が検出されていないときには、合焦決定手段による合焦位置の決定を行なわないことが好ましい。
The image pickup apparatus of the present invention determines the first in-focus position by the in-focus determination unit before the main exposure shooting is instructed by the in-shoot instruction unit.
When a predetermined object is detected by the object detection means, a first in-focus position is determined in the area of the detected object;
When main exposure shooting is instructed by the shooting instruction means after the first in-focus position is determined,
When a predetermined object is detected by the object detection means after the first focus position is determined, the second focus position is determined by the focus determination means in the detected object area. Decide
When a predetermined object is not detected by the object detection means, it is preferable not to determine the focus position by the focus determination means.

本発明の撮像装置は、特定の撮影モードを選択して実行可能なモード選択手段をさらに備え、
モード選択手段により特定の選択モードが選択されて、セルフタイマー撮影手段又は自動撮影手段を使用して本露光撮影が行われるとき、
撮影指示手段により本露光撮影の開始を指示されてから本露光撮影が行われるまでの間に、露光決定手段及び/又は合焦決定手段により対象物の検出結果に応じて露出条件及び/又は合焦位置が決定されてもよい。
The imaging apparatus of the present invention further includes mode selection means that can be executed by selecting a specific shooting mode,
When a specific selection mode is selected by the mode selection means and the main exposure photographing is performed using the self-timer photographing means or the automatic photographing means,
During the period from the start of the main exposure shooting is instructed by the shooting instruction means to the time of the main exposure shooting being performed, the exposure determining means and / or the focus determining means according to the detection result of the object and / or the focusing condition. The focal position may be determined.

本発明の撮像装置は、特定の撮影モードが、ユーザ自身を撮影する自分録り撮影モード又は前記対象物を顔とする顔検出利用撮影モードであることが好ましい。   In the imaging apparatus of the present invention, it is preferable that the specific shooting mode is a self-recording shooting mode for shooting the user himself or a face detection using shooting mode in which the object is a face.

本発明の撮像装置は、モード選択手段により、特定の撮影モードを選択するのみでセルフタイマー撮影手段又は自動撮影手段を使用して本露光撮影が行われるとき、
撮影指示手段による本露光撮影の開始の指示に応じて、露光決定手段及び/又は合焦決定手段により露出条件及び/又は合焦位置が決定されてもよい。
The imaging apparatus of the present invention, when the main exposure shooting is performed using the self-timer shooting unit or the automatic shooting unit only by selecting a specific shooting mode by the mode selection unit,
The exposure condition and / or the focus position may be determined by the exposure determination unit and / or the focus determination unit in response to an instruction to start the main exposure shooting by the shooting instruction unit.

また本発明の撮像装置は、セルフタイマー撮影手段又は自動撮影手段を使用して本露光撮影が行われるとき、
対象物検出手段により検出される対象物の数が増えた後に、露出決定手段及び/又は合焦決定手段により露出条件及び/又は合焦位置が決定されてもよい。
Further, the imaging apparatus of the present invention, when the main exposure shooting is performed using the self-timer shooting means or the automatic shooting means,
After the number of objects detected by the object detection unit increases, the exposure condition and / or the focus position may be determined by the exposure determination unit and / or the focus determination unit.

また本発明の撮像装置は、セルフタイマー撮影手段又は自動撮影手段を使用して本露光撮影が行われるとき、
対象物検出手段により検出される対象物の数が増えてから所定時間経過後に、露出決定手段及び/又は合焦決定手段により露出条件及び/又は合焦位置が決定されてもよい。
Further, the imaging apparatus of the present invention, when the main exposure shooting is performed using the self-timer shooting means or the automatic shooting means,
The exposure condition and / or focus position may be determined by the exposure determination means and / or the focus determination means after a predetermined time has elapsed since the number of objects detected by the target object detection means has increased.

また本発明の撮像装置は、セルフタイマー撮影手段又は自動撮影手段を使用して本露光撮影が行われるとき、
対象物検出手段により検出される対象物の数が増えて、かつ、対象物の検出結果が安定した後に、露出決定手段及び/又は合焦決定手段により露出条件及び/又は合焦位置が決定されてもよい。なお本発明において「対象物の検出結果が安定した後」とは、検出された対象物の変動量が所定の閾値よりも小さくなったときをいう。
Further, the imaging apparatus of the present invention, when the main exposure shooting is performed using the self-timer shooting means or the automatic shooting means,
Even if the number of objects detected by the object detection unit increases and the detection result of the object becomes stable, the exposure condition and / or the focus position is determined by the exposure determination unit and / or the focus determination unit. Good. In the present invention, “after the detection result of the object is stabilized” refers to a time when the amount of fluctuation of the detected object becomes smaller than a predetermined threshold.

本発明の第二の撮像装置は、被写体を撮影して画像データを生成する撮像手段と、
画像データから所定の対象物を検出する対象物検出手段と、
対象物の検出結果に応じて露出条件を決定する露出決定手段と、
対象物の検出結果に応じて合焦位置を決定する合焦決定手段と、
露出決定手段及び合焦決定手段により決定された露出条件及び合焦位置に従って撮像手段に本露光撮影を指示する撮影指示手段と、
撮影指示手段より本露光撮影が指示されてから所定時間経過後に本露光撮影を行なわせるセルフタイマー撮影手段、及び/又は、所定のタイミングで撮影指示手段に本露光撮影を行わせる自動撮影手段と、を備えてなる撮像装置において、
セルフタイマー撮影手段又は自動撮影手段を使用して本露光撮影が行われるとき、
露出決定手段及び合焦決定手段により対象物の検出結果に応じて露出条件及び/又は合焦位置を決定するタイミングをユーザが任意に設定可能であることを特徴とするものである。
The second imaging device of the present invention includes an imaging unit that captures an image of a subject and generates image data;
Object detection means for detecting a predetermined object from the image data;
Exposure determining means for determining an exposure condition according to the detection result of the object;
Focusing determining means for determining a focusing position according to the detection result of the object;
A shooting instruction unit for instructing the imaging unit to perform main exposure shooting according to the exposure condition and the focus position determined by the exposure determination unit and the focus determination unit;
A self-timer photographing means for performing the main exposure photographing after a predetermined time has elapsed since the main instruction photographing is instructed by the photographing instruction means; and / or an automatic photographing means for causing the photographing instruction means to perform the main exposure photographing at a predetermined timing; In an imaging apparatus comprising:
When main exposure shooting is performed using self-timer shooting means or automatic shooting means,
The user can arbitrarily set the timing for determining the exposure condition and / or the focus position according to the detection result of the object by the exposure determination means and the focus determination means.

また本発明の撮像装置は、前記対象物検出手段による検出条件を、複数の異なる状態の対象物のいずれかを検出する条件に設定する設定手段及び/又は前記対象物検出手段により検出された複数の異なる状態の対象物のいずれかを選択する選択手段をさらに備えてもよい。   In the imaging apparatus of the present invention, the detection condition by the object detection means may be set to a condition for detecting any of a plurality of objects in different states and / or a plurality of objects detected by the object detection means. There may be further provided selection means for selecting any of the objects in different states.

また本発明の撮像装置は、前記設定手段による設定又は前記選択手段による選択が、前記セルフタイマー撮影手段又は自動撮影手段を使用して本露光撮影が行われるときに行われるものであることが好ましい。   In the imaging apparatus of the present invention, it is preferable that the setting by the setting unit or the selection by the selection unit is performed when the main exposure shooting is performed using the self-timer shooting unit or the automatic shooting unit. .

なお設定手段による設定及び選択手段による選択は、自動でも手動でもよく、例えば自動の場合には、セルフタイマー撮影又は自動撮影が選択されたときに、予め決定した状態の対象物を自動的に検出したり、選択したりすることができる。また例えば手動の場合には、液晶画面等の表示画面に複数の検出条件を表示し、ユーザが任意に選択するようにしてもよいし、対象物検出手段により検出された複数の異なる状態の対象物を囲む枠を表示し、ユーザが任意の状態の対象物を囲む枠のみを手動で選択してもよい。   The setting by the setting means and the selection by the selection means may be automatic or manual. For example, in the case of automatic, when a self-timer photographing or automatic photographing is selected, an object in a predetermined state is automatically detected. Or select. Further, for example, in the case of manual operation, a plurality of detection conditions may be displayed on a display screen such as a liquid crystal screen, and the user may arbitrarily select them, or a plurality of objects in different states detected by the object detection means. A frame surrounding the object may be displayed, and the user may manually select only the frame surrounding the object in an arbitrary state.

また前記複数の異なる状態の対象物が、向きの異なる対象物又は大きさの異なる対象物又は傾きの異なる対象物であることが好ましい。   The plurality of objects in different states are preferably objects having different directions, objects having different sizes, or objects having different inclinations.

また選択手段が、検出された対象物のうち変動量が所定値よりも大きいものを選択しないことが好ましい。ここで「変動量」とは対象物の位置の移動量、対象物の大きさの変動量、上記向きの変化量等を意味する。   Moreover, it is preferable that a selection means does not select the detected target object from which the fluctuation amount is larger than a predetermined value. Here, the “variation amount” means a movement amount of the position of the object, a variation amount of the size of the object, a variation amount of the direction, and the like.

またセルフタイマー撮影手段を使用して本露光撮影が行われるとき、所定時間経過中の所定時に、対象物検出手段による前記検出又は選択手段による前記選択を行うことができる。   In addition, when the main exposure photographing is performed using the self-timer photographing means, the detection by the object detection means or the selection by the selection means can be performed at a predetermined time during the elapse of a predetermined time.

また前記設定手段による設定及び/又は前記選択手段による選択は、ユーザが任意に行うことが可能であってもよい。   The setting by the setting unit and / or the selection by the selection unit may be arbitrarily performed by the user.

また本発明の撮像装置は、対象物検出手段により所定の対象物が検出されなかった時に、所定の対象物が未検出であることをユーザに伝達する伝達手段を、さらに備えてなるものであることが好ましい。なおこの伝達手段は、対象物検出手段により所定の対象物が検出された時には所定の対象物が検出されたことをユーザに伝達することも可能である。   In addition, the imaging apparatus of the present invention further includes a transmission means for transmitting to the user that the predetermined object has not been detected when the predetermined object is not detected by the object detection means. It is preferable. The transmission means can also transmit to the user that the predetermined object has been detected when the predetermined object is detected by the object detection means.

本発明の撮像装置は、伝達手段を複数備えてなり、該複数の伝達手段の中から1つをユーザによって任意に選択又は設定可能であることが好ましい。   The imaging apparatus according to the present invention preferably includes a plurality of transmission means, and one of the plurality of transmission means can be arbitrarily selected or set by the user.

本発明の撮像装置によれば、セルフタイマー撮影手段又は前記自動撮影手段を使用して本露光撮影が行われるとき、撮影指示手段により前記本露光撮影が指示されたときから前記本露光撮影が行われるまでの間に、少なくとも1回以上、露出決定手段及び合焦決定手段により前記対象物の検出結果に応じて露出条件及び/又は合焦位置が決定されるので、撮影指示手段により本露光撮影が指示されてから所定の対象物が検出された場合に、該検出された対象物の領域において露出条件及び/又は合焦位置を決定することができる。これにより、例えば撮影者自身が被写体となる場合であっても、撮影者に明るさ(輝度)やピント(合焦位置)があった画像を取得することができる。   According to the imaging apparatus of the present invention, when the main exposure photographing is performed using the self-timer photographing unit or the automatic photographing unit, the main exposure photographing is performed from the time when the main exposure photographing is instructed by the photographing instruction unit. The exposure condition and / or in-focus position is determined at least once or more according to the detection result of the object by the exposure determining means and the focus determining means. When a predetermined object is detected after the instruction is issued, it is possible to determine the exposure condition and / or the focus position in the area of the detected object. Thereby, for example, even when the photographer himself is the subject, an image in which the photographer has brightness (luminance) and focus (focus position) can be acquired.

デジタルカメラの背面斜視図Rear perspective view of digital camera デジタルカメラの前面斜視図Front perspective view of digital camera デジタルカメラの機能ブロック図Functional block diagram of digital camera デジタルカメラの一連の処理のフローチャートを示す図The figure which shows the flowchart of a series of processes of a digital camera セルフタイマー撮影のフローチャートを示す図Figure showing a flowchart of self-timer shooting 第二のセルフタイマー撮影のフローチャートを示す図(その1)The figure which shows the flowchart of the 2nd self-timer photography (the 1) 第二のセルフタイマー撮影のフローチャートを示す図(その2)The figure which shows the flowchart of the 2nd self-timer photography (the 2) 第三のセルフタイマー撮影のフローチャートを示す図(その1)The figure which shows the flowchart of the 3rd self-timer photography (the 1) 第三のセルフタイマー撮影のフローチャートを示す図(その2)The figure which shows the flowchart of the 3rd self-timer photography (the 2) 第四のセルフタイマー撮影のフローチャートを示す図(その1)The figure which shows the flowchart of the 4th self-timer photography (the 1) 第四のセルフタイマー撮影のフローチャートを示す図(その2)The figure which shows the flowchart of the 4th self-timer photography (the 2) セルフタイマー撮影のメニュー表示例を示す図Figure showing a menu display example of self-timer shooting 第五のセルフタイマー撮影のフローチャートを示す図The figure which shows the flowchart of 5th self-timer photography 第二のデジタルカメラの機能ブロック図Functional block diagram of the second digital camera 顔検出条件の設定処理のフローチャートを示す図The figure which shows the flowchart of the setting process of face detection conditions 顔検出結果の一例を示す図The figure which shows an example of a face detection result 顔検出条件の第二の設定処理のフローチャートを示す図The figure which shows the flowchart of the 2nd setting process of face detection conditions. 顔検出結果の別の例を示す図The figure which shows another example of a face detection result セルフタイマー撮影の別のメニュー表示例を示す図Figure showing another menu display example of self-timer shooting 顔検出条件の第三の設定処理のフローチャートを示す図The figure which shows the flowchart of the 3rd setting process of face detection conditions. 三のデジタルカメラの機能ブロック図Functional block diagram of the digital camera 第六のセルフタイマー撮影のフローチャートを示す図(その1)The figure which shows the flowchart of 6th self-timer photography (the 1) 第六のセルフタイマー撮影のフローチャートを示す図(その2)The figure which shows the flowchart of the 6th self-timer photography (the 2) (a)変動量を考慮しないときの顔検出結果の一例を示す図、(b)変動量を考慮したときの顔検出結果の一例を示す図(A) The figure which shows an example of the face detection result when not considering the fluctuation amount, (b) The figure which shows an example of the face detection result when the fluctuation amount is considered 第七のセルフタイマー撮影のフローチャートを示す図(その1)The figure which shows the flowchart of the 7th self-timer photography (the 1) 第七のセルフタイマー撮影のフローチャートを示す図(その2)The figure which shows the flowchart of the 7th self-timer photography (the 2) 第四のデジタルカメラの前面斜視図Front perspective view of the fourth digital camera 第四のデジタルカメラの機能ブロック図Functional block diagram of the fourth digital camera

以下、本発明の撮像装置の実施の形態を図面を参照して詳細に説明する。尚、以下の実施の形態では、本発明における撮像装置としてデジタルカメラを例に説明するが、本発明の適用範囲はこれに限定されず、例えば、カメラ付き携帯電話、カメラ付きPDA等、電子撮像機能を備えた他の電子機器に対しても適用可能である。   Hereinafter, embodiments of an imaging apparatus of the present invention will be described in detail with reference to the drawings. In the following embodiments, a digital camera will be described as an example of the imaging apparatus in the present invention. However, the scope of the present invention is not limited to this, and for example, electronic imaging such as a mobile phone with a camera, a PDA with a camera, etc. The present invention can also be applied to other electronic devices having functions.

図1及び図2は、デジタルカメラの一例を示すものであり、それぞれ背面側及び前面側から見た外観図である。デジタルカメラ1の本体10の背面には、図1に示す如く、撮影者による操作のためのインターフェースとして、動作モードスイッチ11、メニュー/OKボタン12、ズーム/上下レバー13、左右ボタン14、Back(戻る)ボタン15、表示切替ボタン16が設けられ、更に撮影のためのファインダ17、撮影並びに再生のためのモニタ18及びレリーズボタン(撮影指示手段)19、顔検出ボタン27が設けられている。   1 and 2 show an example of a digital camera and are external views as seen from the back side and the front side, respectively. As shown in FIG. 1, an operation mode switch 11, a menu / OK button 12, a zoom / up / down lever 13, a left / right button 14, Back ( A return button 15 and a display switching button 16 are provided, and a finder 17 for photographing, a monitor 18 for photographing and reproduction, a release button (photographing instruction means) 19, and a face detection button 27 are provided.

動作モードスイッチ11は、静止画撮影モード、動画撮影モード、再生モードの各動作モードを切り替えるためのスライドスイッチである。メニュー/OKボタン12は、押下される毎に撮影モード、フラッシュ発光モード、セルフタイマーON/OFF、記録画素数や感度等の設定を行うための各種メニューをモニタ18に表示させたり、モニタ18に表示されたメニューに基づく選択・設定を決定したりするためのボタンである。   The operation mode switch 11 is a slide switch for switching operation modes of a still image shooting mode, a moving image shooting mode, and a playback mode. Each time the menu / OK button 12 is pressed, the monitor 18 displays various menus for setting the shooting mode, flash emission mode, self-timer ON / OFF, recording pixel number, sensitivity, and the like. This is a button for determining selection / setting based on a displayed menu.

ズーム/上下レバー13は、上下方向に倒すことによって、撮影時には望遠/広角の調整が行われ、各種設定時にはモニタ18に表示されるメニュー画面中のカーソルが上下に移動して表示される。左右ボタン14は、各種設定時にモニタ18に表示されるメニュー画面中のカーソルを左右に移動して表示させるためのボタンである。   The zoom / up / down lever 13 is tilted up and down to adjust the telephoto / wide angle during shooting, and the cursor in the menu screen displayed on the monitor 18 is moved up and down during various settings. The left / right button 14 is a button for moving and displaying the cursor in the menu screen displayed on the monitor 18 at various settings.

Back(戻る)ボタン15は、押下されることによって各種設定操作を中止し、モニタ18に1つ前の画面を表示するためのボタンである。表示切替ボタン16は、押下することによってモニタ18の表示のON/OFF、各種ガイド表示、文字表示のON/OFF等を切り替えるためのボタンである。ファインダ17は、ユーザが被写体を撮影する際に構図やピントを合わせるために覗くためのものである。ファインダ17から見える被写体像は、本体10の前面にあるファインダ窓23を介して映し出される。顔検出ボタン27は、後述の顔検出部65による顔検出のON/OFFを切り替えるためのボタンである。   The Back button 15 is a button for stopping various setting operations when pressed and displaying the previous screen on the monitor 18. The display switching button 16 is a button for switching ON / OFF of the display of the monitor 18, various guide displays, ON / OFF of character display, and the like when pressed. The viewfinder 17 is used for a user to look into the subject for composition and focus when photographing a subject. The subject image seen from the finder 17 is projected through the finder window 23 on the front surface of the main body 10. The face detection button 27 is a button for switching ON / OFF of face detection by the face detection unit 65 described later.

以上説明した各ボタン及びレバーの操作によって設定された内容は、モニタ18中の表示や、ファインダ17内のランプ、スライドレバーの位置等によって確認可能となっている。また、モニタ18には、撮影の際に被写体確認用のスルー画像が表示される。これにより、モニタ18は電子ビューファインダとして機能する他、撮影後の静止画や動画の再生表示、各種設定メニューの表示を行う。ユーザによってレリーズボタン19が半押し操作されると、後述するAE処理及びAE処理が行われ、レリーズボタン19が全押し操作されると、AE処理及びAE処理によって出力されたデータに基づいて撮影が行われ、モニタ18に表示された画像が撮影画像として記録される。   The contents set by the operation of each button and lever described above can be confirmed by the display on the monitor 18, the position of the lamp in the finder 17, the position of the slide lever, and the like. The monitor 18 displays a through image for confirming the subject when photographing. As a result, the monitor 18 functions as an electronic viewfinder, displays still images and moving images after shooting, and displays various setting menus. When the user presses the release button 19 halfway, AE processing and AE processing, which will be described later, are performed. When the release button 19 is fully pressed, shooting is performed based on the data output by the AE processing and AE processing. The image displayed on the monitor 18 is recorded as a captured image.

更に、本体10の前面には、図2に示す如く、撮影レンズ20、レンズカバー21、電源スイッチ22、ファインダ窓23、フラッシュライト24、セルフタイマーランプ25及びAF補助光28が設けられ、側面にはメディアスロット26が設けられている。   Further, as shown in FIG. 2, a photographing lens 20, a lens cover 21, a power switch 22, a finder window 23, a flashlight 24, a self-timer lamp 25, and AF auxiliary light 28 are provided on the front surface of the main body 10, and are provided on the side surface. A media slot 26 is provided.

撮影レンズ20は、被写体像を所定の結像面上(本体10内部にあるCCD等)に結像させるためのものであり、フォーカスレンズやズームレンズ等によって構成される。レンズカバー21は、デジタルカメラ1の電源がオフ状態のとき、再生モードであるとき等に撮影レンズ20の表面を覆い、汚れやゴミ等から撮影レンズ20を保護するものである。   The photographic lens 20 is for forming a subject image on a predetermined image plane (CCD or the like inside the main body 10), and includes a focus lens, a zoom lens, and the like. The lens cover 21 covers the surface of the photographic lens 20 when the power of the digital camera 1 is turned off or in the playback mode, and protects the photographic lens 20 from dirt and dust.

電源スイッチ22は、デジタルカメラ1の電源のオン/オフを切り替えるためのスイッチである。フラッシュライト24は、レリーズボタン19が押下され、本体10の内部にあるシャッタが開いている間に、撮影に必要な光を被写体に対して瞬間的に照射するためのものである。セルフタイマーランプ25は、セルフタイマーによって撮影する際に、シャッタの開閉タイミングすなわち露光の開始及び終了を被写体に知らせるためものである。   The power switch 22 is a switch for switching on / off the power of the digital camera 1. The flashlight 24 is used to instantaneously irradiate the subject with light necessary for photographing while the release button 19 is pressed and the shutter inside the main body 10 is opened. The self-timer lamp 25 is used to notify the subject of the opening / closing timing of the shutter, that is, the start and end of exposure when shooting with the self-timer.

AF補助光28は、例えばLEDで構成され、被写体に狭い範囲の光すなわち絞った光を長時間照射することのよって後述のAF処理をし易くするためのものである。メディアスロット26は、メモリカード等の外部記録メディア70が充填されるための充填口であり、外部記録メディア70が充填されると、データの読み取り/書き込みが行われる。   The AF auxiliary light 28 is composed of, for example, an LED, and is intended to facilitate AF processing described later by irradiating a subject with a narrow range of light, that is, a narrowed light for a long time. The media slot 26 is a filling port for filling an external recording medium 70 such as a memory card. When the external recording medium 70 is filled, data reading / writing is performed.

図3にデジタルカメラ1の機能構成を示すブロック図を示す。図3に示す如く、デジタルカメラ1の操作系として、前述の動作モードスイッチ11、メニュー/OKボタン12、ズーム/上下レバー13、左右ボタン14、Back(戻り)ボタン15、表示切替ボタン16、レリーズボタン19、電源スイッチ22と、これらのスイッチ、ボタン、レバー類の操作内容をCPU75に伝えるためのインターフェースである操作系制御部74が設けられている。   FIG. 3 is a block diagram showing the functional configuration of the digital camera 1. As shown in FIG. 3, the operation system of the digital camera 1 includes the operation mode switch 11, the menu / OK button 12, the zoom / up / down lever 13, the left / right button 14, the back button 15, the display switching button 16, the release button. The button 19, the power switch 22, and an operation system control unit 74 that is an interface for transmitting the operation contents of these switches, buttons, and levers to the CPU 75 are provided.

また、撮影レンズ20を構成するものとして、フォーカスレンズ20a及びズームレンズ20bが設けられている。これらの各レンズは、モータとモータドライバからなるフォーカスレンズ駆動部51、ズームレンズ駆動部52によってステップ駆動され、光軸方向に移動可能な構成となっている。フォーカスレンズ駆動部51は、AF処理部62から出力されるフォーカス駆動量データに基づいてフォーカスレンズ20aをステップ駆動する。ズームレンズ駆動部52は、ズーム/上下レバー13の操作量データに基づいてズームレンズ20bのステップ駆動を制御する。   Further, a focus lens 20a and a zoom lens 20b are provided as components of the photographing lens 20. Each of these lenses is step-driven by a focus lens driving unit 51 and a zoom lens driving unit 52 including a motor and a motor driver, and is configured to be movable in the optical axis direction. The focus lens driving unit 51 step-drives the focus lens 20 a based on the focus driving amount data output from the AF processing unit 62. The zoom lens driving unit 52 controls step driving of the zoom lens 20 b based on the operation amount data of the zoom / up / down lever 13.

絞り54は、モータとモータドライバとからなる絞り駆動部55によって駆動される。この絞り駆動部55は、AE(自動露出)/AWB(オートホワイトバランス)処理部(露出決定手段)63から出力される絞り値データに基づいて絞り54の絞り径の調整を行う。   The diaphragm 54 is driven by a diaphragm driving unit 55 including a motor and a motor driver. The aperture driving unit 55 adjusts the aperture diameter of the aperture 54 based on aperture value data output from an AE (automatic exposure) / AWB (auto white balance) processing unit (exposure determining means) 63.

シャッタ56は、メカニカルシャッタであり、モータとモータドライバとからなるシャッタ駆動部57によって駆動される。シャッタ駆動部57は、レリーズボタン19の押下信号と、AE/AWB処理部63から出力されるシャッタ速度データとに応じてシャッタ56の開閉の制御を行う。   The shutter 56 is a mechanical shutter and is driven by a shutter drive unit 57 including a motor and a motor driver. The shutter drive unit 57 controls the opening / closing of the shutter 56 in accordance with the pressing signal of the release button 19 and the shutter speed data output from the AE / AWB processing unit 63.

上記光学系の後方には、撮影素子であるCCD(撮像手段)58を有している。CCD58は、多数の受光素子がマトリクス状に配置されてなる光電面を有しており、光学系を通過した被写体像が光電面に結像され、光電変換される。光電面の前方には、各画素に光を集光させるためのマイクロレンズアレイ(不図示)と、RGB各色のフィルタが規則的に配列されてなるカラーフィルタアレイ(不図示)とが配置されている。CCD58は、CCD制御部59から供給される垂直転送クロック信号及び水平転送クロック信号に同期して、画素毎に蓄積された電荷を1ラインずつ読み出して画像信号として出力する。各画素における電荷の蓄積時間(即ち露出時間)は、CCD制御部59から与えられる電子シャッタ駆動信号によって決定される。   Behind the optical system is a CCD (imaging means) 58 that is a photographing element. The CCD 58 has a photoelectric surface in which a large number of light receiving elements are arranged in a matrix, and a subject image that has passed through the optical system is formed on the photoelectric surface and subjected to photoelectric conversion. In front of the photocathode, a microlens array (not shown) for condensing light on each pixel and a color filter array (not shown) in which RGB filters are regularly arranged are arranged. Yes. The CCD 58 reads out the charges accumulated for each pixel line by line in synchronization with the vertical transfer clock signal and the horizontal transfer clock signal supplied from the CCD control unit 59 and outputs them as an image signal. The charge accumulation time (that is, exposure time) in each pixel is determined by an electronic shutter drive signal given from the CCD controller 59.

CCD58が出力する画像像信号は、アナログ信号処理部60に入力される。このアナログ信号処理部60は、画像信号のノイズ除去を行う相関2重サンプリング回路(CDS)と、画像信号のゲイン調整を行うオートゲインコントローラ(AGC)と、画像信号をデジタル画像データに変換するA/Dコンバータ(ADC)とからなる。そしてデジタル画像データは、画素毎にRGBの濃度値を持つCCD−RAWデータである。   The image signal output from the CCD 58 is input to the analog signal processing unit 60. The analog signal processing unit 60 includes a correlated double sampling circuit (CDS) that removes noise from the image signal, an auto gain controller (AGC) that adjusts the gain of the image signal, and an A that converts the image signal into digital image data. / D converter (ADC). The digital image data is CCD-RAW data having RGB density values for each pixel.

タイミングジェネレータ72は、タイミング信号を発生させるものであり、このタイミング信号がシャッタ駆動部57、CCD制御部59、アナログ信号処理部60に入力されて、レリーズボタン19の操作と、シャッタ56の開閉、CCD58の電荷取り込み、アナログ信号処理60の処理の同期が取られる。フラッシュ制御部73は、フラッシュライト24の発光動作を制御する。   The timing generator 72 generates a timing signal. The timing signal is input to the shutter drive unit 57, the CCD control unit 59, and the analog signal processing unit 60, and the operation of the release button 19 and the opening / closing of the shutter 56 are performed. The charge capturing of the CCD 58 and the processing of the analog signal processing 60 are synchronized. The flash controller 73 controls the light emission operation of the flashlight 24.

画像入力コントローラ61は、上記アナログ信号処理部60から入力されたCCD−RAWデータをフレームメモリ68に書き込む。このフレームメモリ68は、画像データに対して後述の各種デジタル画像処理(信号処理)を行う際に使用する作業用メモリであり、例えば、一定周期のバスクロック信号に同期してデータ転送を行うSDRAM(Synchronous Dynamic Random Access Memory)から構成されている。   The image input controller 61 writes the CCD-RAW data input from the analog signal processing unit 60 in the frame memory 68. The frame memory 68 is a working memory used when various digital image processing (signal processing) to be described later is performed on the image data. For example, an SDRAM that transfers data in synchronization with a bus clock signal having a fixed period. (Synchronous Dynamic Random Access Memory).

表示制御部71は、フレームメモリ68に格納された画像データをスルー画像としてモニタ18に表示させるためのものであり、例えば、輝度(Y)信号と色(C)信号を一緒にして1つの信号としたコンポジット信号に変換して、モニタ18に出力する。スルー画像は、撮影モードが選択されている間、所定時間間隔で取得されてモニタ18に表示される。また、表示制御部71は、外部記録メディア70に記憶され、メディア制御部69によって読み出された画像ファイルに含まれる画像データに基づいた画像をモニタ18に表示させる。   The display control unit 71 is for displaying the image data stored in the frame memory 68 on the monitor 18 as a through image. For example, the display control unit 71 combines a luminance (Y) signal and a color (C) signal into one signal. Is converted to a composite signal and output to the monitor 18. Through images are acquired at predetermined time intervals and displayed on the monitor 18 while the shooting mode is selected. In addition, the display control unit 71 causes the monitor 18 to display an image based on the image data stored in the external recording medium 70 and read out by the media control unit 69.

顔検出部(対象物検出手段)65は、フレームメモリ68に格納された画像データつまりスルー画像から人物の顔を検出する。具体的には、顔に含まれる顔の特徴を有する領域(例えば肌色を有する、目を有する、顔の形状を有する等)を顔領域として検出するが、これに限定されるものではない。そして顔検出ボタン27がONに設定された場合には常時スルー画像から顔の検出処理を行う。本発明において顔検出部65は、ソフトウェアにより構成されたものであっても単独でIC化されたものであってもよい。   The face detection unit (object detection means) 65 detects the face of a person from the image data stored in the frame memory 68, that is, a through image. Specifically, an area having a facial feature included in the face (for example, having skin color, having eyes, or having a face shape) is detected as a face area, but the present invention is not limited to this. When the face detection button 27 is set to ON, face detection processing is always performed from a through image. In the present invention, the face detection unit 65 may be configured by software or may be an IC alone.

AF処理部(合焦決定手段)62は、顔検出部65によって画像データから検出された顔検出結果に応じて焦点位置を検出し、フォーカスレンズ駆動量データを出力する(AF処理)。本実施の形態においては、焦点位置の検出方法としては、例えば、ピントが合った状態では画像の合焦評価値(コントラスト値)が高くなるという特徴を利用して、合焦位置を検出するパッシブ方式が適用される。   The AF processing unit (focusing determination means) 62 detects the focal position in accordance with the face detection result detected from the image data by the face detection unit 65, and outputs focus lens drive amount data (AF processing). In the present embodiment, as a method for detecting a focus position, for example, a passive method for detecting a focus position by using a feature that a focus evaluation value (contrast value) of an image is high in a focused state is used. The method is applied.

AE/AWB処理部(露出決定手段)63は、顔検出部65によって画像データから検出された顔検出結果に応じて被写体輝度を測定し、測定した被写体輝度に基づいて絞り値やシャッタ速度等を決定し、絞り値データやシャッタ速度データを出力すると共に(AE処理)、撮影時のホワイトバランスを自動調整する(AWB処理)。   The AE / AWB processing unit (exposure determining unit) 63 measures the subject brightness according to the face detection result detected from the image data by the face detection unit 65, and sets the aperture value, shutter speed, and the like based on the measured subject brightness. The aperture value data and shutter speed data are output (AE process), and the white balance at the time of shooting is automatically adjusted (AWB process).

画像処理部64は、本画像の画像データに対してガンマ補正、シャープネス補正、コントラスト補正等の画質補正処理を施すと共に、CCD−RAWデータを輝度信号であるYデータと、青色色差信号であるCbデータ及び赤色色差信号であるCrデータとからなるYCデータに変換するYC処理を行う。この本画像とは、レリーズボタン19が全押しされることによってCCD58から画像信号が出力され、アナログ信号処理部60、画像入力コントローラ61経由でフレームメモリ68に格納された画像データに基づいた画像である。   The image processing unit 64 performs image quality correction processing such as gamma correction, sharpness correction, and contrast correction on the image data of the main image, and converts the CCD-RAW data into Y data which is a luminance signal and Cb which is a blue color difference signal. YC processing is performed for conversion into YC data comprising data and Cr data which is a red color difference signal. The main image is an image based on the image data output from the CCD 58 when the release button 19 is fully pressed and stored in the frame memory 68 via the analog signal processing unit 60 and the image input controller 61. is there.

本画像の画素数の上限はCCD58の画素数によって決定されるが、例えば、ユーザが設定可能な画質設定(ファイン、ノーマル等の設定)により、記録画素数を変更することができる。一方、スルー画像やプレ画像の画素数は本画像より少なくてもよく、例えば、本画像の1/16程度の画素数で取り込まれてもよい。なおプレ画像とは、レリーズボタン19が半押しされることによって発生する半押し信号を検出したCPU75がCCD58にプレ撮影を実行させた結果、フレームメモリ68に格納された画像データに基づいた画像である。   The upper limit of the number of pixels of the main image is determined by the number of pixels of the CCD 58. For example, the number of recorded pixels can be changed by an image quality setting (setting such as fine and normal) that can be set by the user. On the other hand, the number of pixels of the through image or the pre-image may be smaller than that of the main image. The pre-image is an image based on the image data stored in the frame memory 68 as a result of the CPU 75 having detected a half-press signal generated when the release button 19 is half-pressed and causing the CCD 58 to perform pre-photographing. is there.

セルフタイマー撮影部(セルフタイマー撮影手段)66は、レリーズボタン19の全押しから本露光撮影が開始するまでの予め設定された所定の待機時間(例えばレリーズボタン19の全押しから5秒間)の経過を計時するタイマー部(図示せず)を備えるものであり、待機時間の0を計時したときにレリーズボタン19の押下信号がシャッタ駆動部57に出力されるように、タイミングジェネレータ72を介して制御している。また前記待機時間の間、上述のセルフタイマーランプ25を点滅させて本露光撮影の開始のタイミングを撮影者等に知らせる。なおセルフタイマー撮影部66によるセルフタイマーのON/OFFは、上述のようにモニタ18に表示させて選択するものであってもよいし、デジタルカメラ1の本体10の背面に図示しないセルフタイマーボタンを配設してON/OFFを設定しても良い。   The self-timer photographing unit (self-timer photographing means) 66 elapses a predetermined waiting time (for example, 5 seconds after the release button 19 is fully pressed) from when the release button 19 is fully pressed until the main exposure shooting starts. Is provided via a timing generator 72 so that a pressing signal of the release button 19 is output to the shutter drive unit 57 when the standby time of 0 is counted. is doing. During the standby time, the self-timer lamp 25 is blinked to notify the photographer and the like of the start timing of the main exposure shooting. The ON / OFF of the self-timer by the self-timer photographing unit 66 may be selected by being displayed on the monitor 18 as described above, or a self-timer button (not shown) is provided on the back of the main body 10 of the digital camera 1. It may be arranged to set ON / OFF.

圧縮/伸長処理部67は、画像処理部64によって画質補正等の処理が行われた画像データに対して、例えばJPEG等の圧縮形式で圧縮処理を行って、画像ファイルを生成する。この画像ファイルには、各種データ形式に基づいて付帯情報が付加される。またこの圧縮/伸長処理部67は、再生モードにおいては外部記録メディア70から圧縮された画像ファイルを読み出し、伸長処理を行う。伸長後の画像データは表示制御部71に出力され、表示制御部71は画像データに基づいた画像をモニタ18に表示する。   The compression / decompression processing unit 67 performs compression processing on the image data that has been subjected to processing such as image quality correction by the image processing unit 64 in a compression format such as JPEG, and generates an image file. Additional information is added to the image file based on various data formats. The compression / decompression processing unit 67 reads a compressed image file from the external recording medium 70 in the reproduction mode, and performs decompression processing. The decompressed image data is output to the display control unit 71, and the display control unit 71 displays an image based on the image data on the monitor 18.

メディア制御部69は、図2におけるメディアスロット26に相当し、外部記録メディア70に記憶された画像ファイル等の読み出し、又は画像ファイルの書き込みを行う。   The media control unit 69 corresponds to the media slot 26 in FIG. 2, and reads an image file or the like stored in the external recording medium 70 or writes an image file.

CPU75は、各種ボタン、レバー、スイッチの操作や各機能ブロックからの信号に応じて、デジタルカメラ1の本体各部を制御する。またデータバス76は、画像入力コントローラ61、各種処理部62〜64、67、顔検出部65、セルフタイマー撮影部66、フレームメモリ68、各種制御部69、71、及びCPU75に接続されており、このデータバス76を介して各種信号、データの送受信が行われる。   The CPU 75 controls each part of the main body of the digital camera 1 in accordance with operations of various buttons, levers, switches, and signals from the respective function blocks. The data bus 76 is connected to the image input controller 61, various processing units 62 to 64, 67, a face detection unit 65, a self-timer photographing unit 66, a frame memory 68, various control units 69 and 71, and a CPU 75. Various signals and data are transmitted and received through the data bus 76.

次に、以上の構成のデジタルカメラ1において撮影時に行われる処理について説明する。図4はデジタルカメラ1の一連の処理のフローチャートである。まず図4に示す如く、CPU75は、動作モードスイッチ11の設定に従って、動作モードが撮影モードであるか再生モードであるか判別する(ステップS1)。再生モードの場合(ステップS1;再生)、再生処理が行われる(ステップS2)。この再生処理は、メディア制御部69が外部記録メディア70に記憶された画像ファイルを読み出し、画像ファイルに含まれる画像データに基づいた画像をモニタ18に表示させるための処理である。再生処理が終了したら、CPU75はデジタルカメラ1の電源スイッチ22によってオフ操作がなされたか否かを判別し(ステップS9)、オフ操作がなされていたら(ステップS9;YES)、デジタルカメラ1の電源をオフし、処理を終了する。オフ操作がなされていなかったら(ステップS9;NO)、ステップS1へ処理を移行する。   Next, processing performed at the time of shooting in the digital camera 1 having the above configuration will be described. FIG. 4 is a flowchart of a series of processes of the digital camera 1. First, as shown in FIG. 4, the CPU 75 determines whether the operation mode is the photographing mode or the reproduction mode according to the setting of the operation mode switch 11 (step S1). In the reproduction mode (step S1; reproduction), reproduction processing is performed (step S2). This reproduction process is a process for the media control unit 69 to read an image file stored in the external recording medium 70 and display an image based on the image data included in the image file on the monitor 18. When the reproduction process is completed, the CPU 75 determines whether or not the power switch 22 of the digital camera 1 is turned off (step S9). If the power is turned off (step S9; YES), the power of the digital camera 1 is turned on. Turn off and end processing. If an off operation has not been performed (step S9; NO), the process proceeds to step S1.

一方、ステップS1において動作モードが撮影モードであると判別された場合(ステップS1;撮影)、CPU75はスルー画像の表示制御を行う(ステップS3)。スルー画像の表示とは、フレームメモリ68に格納された画像データモニタ18に表示する処理である。次に、CPU75はセルフタイマーがONか否かを判別する(ステップS4)。セルフタイマーがONでない場合(ステップS4;NO)は、レリーズボタン19が押下された時に本露光撮影が開始される通常の撮影を行う(ステップS5)。セルフタイマーがONの場合(ステップS4;YES)、セルフタイマー撮影部66によってセルフタイマー撮影を行う(ステップS6)。   On the other hand, when it is determined in step S1 that the operation mode is the shooting mode (step S1; shooting), the CPU 75 performs display control of the through image (step S3). The through image display is a process of displaying on the image data monitor 18 stored in the frame memory 68. Next, the CPU 75 determines whether or not the self-timer is ON (step S4). If the self-timer is not ON (step S4; NO), normal shooting is performed in which main exposure shooting is started when the release button 19 is pressed (step S5). When the self-timer is ON (step S4; YES), the self-timer photographing unit 66 performs self-timer photographing (step S6).

ここで図5にセルフタイマー撮影のフローチャートを示す。まず、図5に示す如く、CPU75は顔検出ボタン27がONか否かを判別する(ステップS21)。顔検出ボタン27がONに設定されていない場合(ステップS21;NO)には、被写体の中央を合焦領域すなわちAFエリアに設定してステップS25へ処理を移行し、顔検出ボタン27がONに設定されている場合(ステップS21;YES)には、顔検出部65が、図5のセルフタイマー撮影の流れと並行して常時、フレームメモリ68に格納された画像データから顔の検出処理を行う。   FIG. 5 shows a flowchart of self-timer shooting. First, as shown in FIG. 5, the CPU 75 determines whether or not the face detection button 27 is ON (step S21). If the face detection button 27 is not set to ON (step S21; NO), the center of the subject is set as the in-focus area, that is, the AF area, the process proceeds to step S25, and the face detection button 27 is turned ON. If it has been set (step S21; YES), the face detection unit 65 always performs face detection processing from the image data stored in the frame memory 68 in parallel with the flow of self-timer shooting in FIG. .

そして次にCPU75は顔が検出されているか否かを判別し(ステップS22)、顔が検出されている場合(ステップS22;YES)、顔領域をAFエリアに設定し、顔が検出されていない場合(ステップS22;NO)、被写体の中央をAFエリアに設定する。   Next, the CPU 75 determines whether or not a face is detected (step S22). If a face is detected (step S22; YES), the face area is set as an AF area, and no face is detected. In the case (step S22; NO), the center of the subject is set as the AF area.

次に、CPU75はレリーズボタン19が半押しされたか否かを判別する(ステップS25)。半押されていない場合は(ステップS25;NO)CPU75はステップS21へ処理を移行し、半押されている場合は(ステップS25;YES)はAE/AWB処理部63が、顔が検出されているか否かの判別結果に基づいてAE処理を行う(ステップ26)。このときステップS23又はステップS24で決定されたAFエリアと同じ領域に基づいてAE処理を行ってもよいが、これに限られるものではない。そして次にAF処理部62は、同じくステップS23又はステップS24で決定されたAFエリアに基づいてAF処理を行う(ステップS27)。   Next, the CPU 75 determines whether or not the release button 19 has been half-pressed (step S25). If not half-pressed (step S25; NO), the CPU 75 proceeds to step S21. If half-pressed (step S25; YES), the AE / AWB processing unit 63 detects the face. AE processing is performed based on the determination result of whether or not there is (step 26). At this time, the AE process may be performed based on the same area as the AF area determined in step S23 or step S24, but is not limited thereto. Then, the AF processing unit 62 performs AF processing based on the AF area determined in step S23 or step S24 (step S27).

次にCPU75はレリーズボタン19が全押しされたか否かを判別する(ステップS28)。全押しされていない場合は(ステップS28;NO)CPU75はレリーズボタン19が半押しされたか否かを判別する(ステップS29)。そして半押されていない場合は(ステップS29;NO)CPU75はステップS21へ処理を移行し、半押されている場合は(ステップS29;YES)CPU75はステップS28へ処理を移行する。また全押しされている場合は(ステップS28;YES)、セルフタイマー撮影部66のタイマー部が本露光撮影を開始するまでの予め設定された所定の待機時間を計時すなわちカウントダウンを開始する(ステップS30)。   Next, the CPU 75 determines whether or not the release button 19 has been fully pressed (step S28). If it is not fully pressed (step S28; NO), the CPU 75 determines whether or not the release button 19 is half-pressed (step S29). If not half-pressed (step S29; NO), the CPU 75 proceeds to step S21. If half-pressed (step S29; YES), the CPU 75 proceeds to step S28. If it is fully pressed (step S28; YES), the timer unit of the self-timer photographing unit 66 starts to count, that is, counts down a predetermined waiting time that is set until the main exposure photographing is started (step S30). ).

そしてCPU75は待機時間が0すなわちカウントが0になったか否かを判別する(ステップS31)。カウントが0でない場合(ステップS31;NO)は、CPU75はステップS30へ処理を移行し、カウントが0になった場合(ステップS31;YES)は、CPU75が、顔が検出されているか否かを判別する(ステップS32)。   Then, the CPU 75 determines whether the standby time is 0, that is, whether the count is 0 (step S31). When the count is not 0 (step S31; NO), the CPU 75 shifts the process to step S30, and when the count becomes 0 (step S31; YES), the CPU 75 determines whether or not a face is detected. It discriminate | determines (step S32).

そして顔が検出されている場合(ステップS32;YES)は、顔領域をAFエリアに設定し(ステップS33)、顔が検出されていない場合(ステップS32;NO)は、前回のAFエリアで顔領域が設定されているか否かすなわちステップS23で顔領域をAFエリアに設定したか否かを判別し(ステップS35)、ステップS23で顔領域をAFエリアに設定していない場合(ステップS35;NO)には、被写体の中央をAFエリアに設定する。そしてステップS33又はステップS36にてAFエリアが設定されると、その設定されたAFエリアに基づいてAF処理を行い(ステップS34)、本露光撮影を開始する(ステップS37)。また、ステップS23で顔領域をAFエリアに設定した場合(ステップS35;YES)には、AF処理をせずにそのまま本露光撮影を開始する(ステップS37)。   If a face is detected (step S32; YES), the face area is set as an AF area (step S33). If a face is not detected (step S32; NO), the face is detected in the previous AF area. It is determined whether or not an area has been set, that is, whether or not the face area has been set as an AF area in step S23 (step S35). If the face area has not been set in the AF area in step S23 (step S35; NO) ), The center of the subject is set as the AF area. When an AF area is set in step S33 or step S36, AF processing is performed based on the set AF area (step S34), and main exposure shooting is started (step S37). If the face area is set as the AF area in step S23 (step S35; YES), the main exposure shooting is started without performing the AF process (step S37).

なお本実施形態においては、本露光撮影の直前にAF処理(ステップS34)のみを行うものとしたが、本発明はこれに限られず、ステップS34の前にAE処理を行っても良い。   In the present embodiment, only the AF process (step S34) is performed immediately before the main exposure shooting. However, the present invention is not limited to this, and the AE process may be performed before step S34.

またステップS32におけるCPU75による顔が検出されているか否かの判別は、ステップS21にて顔検出ボタン27がONに設定されている場合(ステップS21;YES)のみに行うものとし、顔検出ボタン27がOFFに設定されている場合(ステップS21;NO)には、ステップS25においてレリーズボタン19が半押しされたとき(ステップS25;YES)に被写体の中央をAFエリアとしてAF処理を行い、ステップS31においてカウントが0になった場合(ステップS30;YES)は、AF処理を行わずそのまま本露光撮影を行う(ステップS37)。このとき被写体の中央をAFエリアとするAF処理はレリーズボタン19が半押しされたときに限定されるものではなく、例えばステップS31においてカウントが0になったときであってもよい。   Whether or not a face is detected by the CPU 75 in step S32 is determined only when the face detection button 27 is set to ON in step S21 (step S21; YES). Is set to OFF (step S21; NO), when the release button 19 is half-pressed in step S25 (step S25; YES), AF processing is performed using the center of the subject as the AF area, and step S31. If the count reaches 0 (step S30; YES), the main exposure shooting is performed without performing the AF process (step S37). At this time, the AF processing in which the center of the subject is the AF area is not limited to when the release button 19 is half-pressed, and may be, for example, when the count becomes 0 in step S31.

そして本露光撮影が行われる(ステップS37)と、図4に示す如く、本露光撮影により取得された本画像に対して画像処理部64が画像処理を施す(ステップS7)。なおこのとき画像処理が施された本画像データに対してさらに圧縮/伸長処理部67によって圧縮処理が施されて画像ファイルが生成されてもよい。   When the main exposure shooting is performed (step S37), as shown in FIG. 4, the image processing unit 64 performs image processing on the main image acquired by the main exposure shooting (step S7). At this time, the compression / decompression processing unit 67 may further perform compression processing on the main image data subjected to image processing to generate an image file.

次にCPU75は、画像処理が施された本画像をモニタ18に表示する処理を行うともに外部記録メディア70に記録する(ステップ8)。そしてCPU75は電源スイッチ22によってオフ操作がなされたか否かを判別し(ステップS9)、オフ操作がなされていたら(ステップS9;YES)、デジタルカメラ1の電源をオフし、処理を終了する。オフ操作がなされていなかったら(ステップS9;NO)、ステップS1へ処理を移行し、ステップS1以降の処理を繰り返す。このようにしてデジタルカメラ1による撮影は行われる。   Next, the CPU 75 performs processing for displaying the main image subjected to the image processing on the monitor 18 and records it on the external recording medium 70 (step 8). Then, the CPU 75 determines whether or not an off operation has been performed by the power switch 22 (step S9). If the off operation has been performed (step S9; YES), the power of the digital camera 1 is turned off, and the process ends. If the off operation has not been performed (step S9; NO), the process proceeds to step S1, and the processes after step S1 are repeated. In this way, photographing with the digital camera 1 is performed.

ここで表1及び表2にAF処理の一例を示す。

Figure 0004291408
Figure 0004291408
本実施形態のAF処理は、図5に示し説明した上述のように、表1における1、2、3−1及び4−1のようにAFエリアを設定して行うものであるが、本発明はこれに限られるものではなく、図5のステップS27で顔領域をAFエリアとしてAF処理を行った場合にステップS32にて顔が検出されていなかったときには、例えば3−1のように再AF処理を行わないのではなく、3−2に示す如く、被写体の中央をAFエリアに設定して再AF処理を行っても良い。また図5のステップS27で被写体の中央をAFエリアとしてAF処理を行った場合にステップS32にて顔が検出されていなかったときには、例えば4−1のように被写体の中央をAFエリアに設定して再AF処理を行うのではなく、4−2に示す如く、再AF処理を行わなくても良い。 Here, Table 1 and Table 2 show an example of AF processing.
Figure 0004291408
Figure 0004291408
As described above with reference to FIG. 5, the AF processing of this embodiment is performed by setting AF areas as indicated by 1, 2, 3-1, and 4-1 in Table 1. Is not limited to this. When AF processing is performed with the face area as the AF area in step S27 in FIG. 5, if no face is detected in step S32, re-AF is performed as in 3-1, for example. Instead of performing the process, as shown in 3-2, the center of the subject may be set as the AF area and the re-AF process may be performed. If AF processing is performed with the center of the subject as the AF area in step S27 in FIG. 5 and no face is detected in step S32, the center of the subject is set as the AF area as in 4-1, for example. Instead of performing the re-AF process, it is not necessary to perform the re-AF process as shown in 4-2.

また本実施形態のAF処理は、図5に示し説明した上述のように、レリーズボタン19が半押しされた時と本露光撮影直前に行うものとしたが、本発明はこれに限られるものではなく、例えば本露光撮影直前のみにAF処理を行っても良い。この場合表2に示す如く、本露光撮影直前に、CPU75が、顔が検出されていると判別した場合は、該検出された顔領域をAFエリアとしてAF処理を行い、顔が検出されていないと判別した場合は、被写体の中央をAFエリアとしてAF処理を行う。なお「本露光撮影直前(露光直前)」は、レリーズボタン19が全押しされた時及びレリーズボタン19が全押しされてから本露光撮影が行われるまでの間のことをいう。   Further, as described above with reference to FIG. 5, the AF processing of the present embodiment is performed when the release button 19 is half-pressed and immediately before the main exposure shooting. However, the present invention is not limited to this. For example, the AF process may be performed only immediately before the main exposure shooting. In this case, as shown in Table 2, if the CPU 75 determines that a face is detected immediately before the main exposure shooting, AF processing is performed using the detected face area as an AF area, and no face is detected. Is determined, AF processing is performed with the center of the subject as the AF area. Note that “immediately before main exposure shooting (immediately before exposure)” refers to the time when the release button 19 is fully pressed and the time from when the release button 19 is fully pressed until the main exposure shooting is performed.

また本実施形態のAE処理及び/又はAF処理は、上述したタイミングにて行うものとしたが、本発明はこれに限られるものではなく、例えば、対象物(顔)の数が増えた後に行ってもよい。セルフタイマー撮影においては、一般的に撮影者自身が被写体となる場合が多く、この場合撮影者はレリーズボタン19を全押し時には、撮影視野内に入ることができないが、本露光前には撮影視野内に入ることができる。   Further, the AE process and / or the AF process of the present embodiment are performed at the timing described above, but the present invention is not limited to this. For example, the process is performed after the number of objects (faces) increases. May be. In self-timer shooting, in general, the photographer himself is often the subject. In this case, the photographer cannot enter the field of view when the release button 19 is fully pressed, but before the main exposure, You can get inside.

従って、顔検出部65によって検出された顔の数を常に確認しておき、顔の数が増えたら、例えば撮影者自身が被写体として撮影視野内に入ったと判断してAE処理及び/又はAF処理を行うようにする。ここで図6に顔の数が増えた後にAE処理及び/又はAF処理が行われる場合のセルフタイマー撮影のフローチャートを示す。なお図6Aは図5のステップS29までの処理と同様であるため、同じステップ番号で示して説明は省略する。   Accordingly, the number of faces detected by the face detection unit 65 is always checked, and when the number of faces increases, for example, it is determined that the photographer himself has entered the field of view as a subject, and AE processing and / or AF processing is performed. To do. Here, FIG. 6 shows a flowchart of the self-timer shooting when the AE process and / or the AF process is performed after the number of faces is increased. Since FIG. 6A is the same as the processing up to step S29 in FIG. 5, it is denoted by the same step number and description thereof is omitted.

図6Aに示す如く、ステップS28にてレリーズボタン19が全押しされると(ステップS28)、図6Bに示す如く、CPU75は顔検出部65が検出した顔の数Aを確認し(ステップS121)、次にセルフタイマー撮影部66のタイマー部がカウントダウンを開始する(ステップS122)。   As shown in FIG. 6A, when the release button 19 is fully pressed in step S28 (step S28), as shown in FIG. 6B, the CPU 75 confirms the number A of faces detected by the face detection unit 65 (step S121). Next, the timer unit of the self-timer photographing unit 66 starts counting down (step S122).

そしてカウントダウンが開始された後で、CPU75は顔検出部65が検出した顔の数Bを確認する(ステップS123)。そしてCPU75は、カウントダウンの開始前後で顔の数が増えたか否か、すなわちB>Aであるか否かを判別する(ステップS124)。   Then, after the countdown is started, the CPU 75 confirms the number B of faces detected by the face detection unit 65 (step S123). Then, the CPU 75 determines whether or not the number of faces has increased before and after the start of the countdown, that is, whether or not B> A (step S124).

そして顔が増えていた場合(ステップS124;YES)には、AF等の撮影条件が照準される顔を決定し、この顔領域をAFエリアに設定して(ステップS125)、設定されたAFエリアに基づいてAF処理を行う(ステップS126)。次にCPU75はカウントが0になったか否かを判別し(ステップS127)、カウントが0になると(ステップS127;YES)、ステップS126でAF処理部62が出力したデータに基づいて本露光撮影を行う(ステップS128)。   If the number of faces has increased (step S124; YES), a face to which shooting conditions such as AF are aimed is determined, this face area is set as an AF area (step S125), and the set AF area AF processing is performed based on (step S126). Next, the CPU 75 determines whether or not the count has become 0 (step S127). When the count becomes 0 (step S127; YES), the main exposure shooting is performed based on the data output by the AF processing unit 62 in step S126. This is performed (step S128).

一方、カウントが0でない場合(ステップS127;NO)は、CPU75はカウントが0になるまでカウントダウンを続け(ステップS129)、カウントが0になると処理をステップS128へ移行して本露光撮影を行う(ステップS128)。   On the other hand, if the count is not 0 (step S127; NO), the CPU 75 continues to count down until the count reaches 0 (step S129). When the count reaches 0, the process proceeds to step S128 to perform main exposure photography ( Step S128).

また、ステップS124にて顔が増えていない場合(ステップS124;NO)には、図5のステップS31からステップS36の処理と同様の処理を行って、本露光撮影を行う(ステップS128)。   If the number of faces has not increased in step S124 (step S124; NO), the same processing as the processing from step S31 to step S36 in FIG. 5 is performed to perform main exposure photography (step S128).

なお図6BにおいてステップS122からステップ128に至るまでの間、つまり図6B中のS’の処理と並行して、顔検出部65による顔検出とセルフタイマー撮影部66によるカウントダウンとを動作させる。また図6B中のS’で、ステップS126又はステップS34のAF処理が完了する前にカウントが0になった場合には、カウントダウンを終了させ、前回のAF処理すなわちステップS27でAF処理部62が出力したデータに基づいて本露光撮影(ステップS128)を行ってもよい。   In FIG. 6B, the face detection by the face detection unit 65 and the countdown by the self-timer photographing unit 66 are operated from step S122 to step 128, that is, in parallel with the processing of S ′ in FIG. 6B. Also, in S ′ in FIG. 6B, when the count reaches 0 before the AF processing in step S126 or step S34 is completed, the countdown is terminated, and the AF processing unit 62 performs the previous AF processing, that is, in step S27. The main exposure shooting (step S128) may be performed based on the output data.

また本実施形態においては、ステップS126又はステップS34にてAF処理のみを行うものとしたが、本発明はこれに限られず、AF処理の前にAE処理を行っても良い。   In the present embodiment, only the AF process is performed in step S126 or step S34. However, the present invention is not limited to this, and the AE process may be performed before the AF process.

このようにしてセルフタイマー撮影による本露光撮影を行うことにより、例えば撮影者自身が被写体となる場合に、顔が増えた後すなわち撮影者が撮影視野内に入った後でAF処理が行われるので、撮影者自身にAF等の撮影条件の照準が合った撮影画像を取得することができる。またカウントが0になってからAF処理を行う場合には、カウントが0になるタイミングと本露光との間に若干のタイムラグが発生するが、本実施形態のようにカウントが0になる前に、顔の数が増えたときにAF処理及び/又はAE処理を行うことにより、カウントが0になってから本露光撮影が行われるまでに要する時間を低減することができるので、上記タイムラグの発生を防ぐことができる。   By performing the main exposure shooting by self-timer shooting in this way, for example, when the photographer himself is the subject, AF processing is performed after the face is increased, that is, after the photographer enters the shooting field of view. A photographed image in which the photographer himself / herself is focused on a photographing condition such as AF can be acquired. When AF processing is performed after the count reaches 0, a slight time lag occurs between the timing when the count reaches 0 and the main exposure. However, before the count reaches 0 as in the present embodiment. By performing AF processing and / or AE processing when the number of faces increases, it is possible to reduce the time required from when the count reaches zero until the main exposure shooting is performed. Can be prevented.

また上記実施形態では、例えば撮影者自身が被写体となる場合に、撮影者自身が撮影視野内に入ると、撮影者が意図する立ち位置へ行く前に撮影者の顔が検出されてAF処理が行われてしまう虞があり、これにより撮影画像がいわゆるピンボケを起こしてしまう可能性がある。   In the above-described embodiment, for example, when the photographer himself / herself becomes a subject, when the photographer himself enters the field of view, the photographer's face is detected before going to the standing position intended by the photographer, and AF processing is performed. There is a risk that it will be performed, which may cause the photographed image to be out of focus.

そこで顔検出部65によって検出された顔の数を常に確認しておき、顔の数が増えから所定時間Mが経過した後に、例えば撮影者自身が被写体として撮影視野内に入り、かつ撮影者自身が意図する立ち位置への移動が完了したと判断してAE処理及び/又はAF処理を行うようにする。ここで図7に顔の数が増えてから所定時間経過後にAE処理及び/又はAF処理が行われる場合のセルフタイマー撮影のフローチャートを示す。なお図7において、図6と同様の処理は同じステップ番号で示して説明は省略する。   Therefore, the number of faces detected by the face detector 65 is always checked, and after a predetermined time M has elapsed since the number of faces has increased, for example, the photographer himself enters the field of view as a subject and the photographer himself It is determined that the movement to the intended standing position is completed, and the AE process and / or the AF process are performed. Here, FIG. 7 shows a flowchart of the self-timer imaging when the AE process and / or the AF process is performed after a predetermined time has elapsed since the number of faces increased. In FIG. 7, the same processing as in FIG. 6 is indicated by the same step number, and the description is omitted.

図7Bに示す如く、ステップS124にてCPU75がカウントダウンの開始前後で顔の数が増えたか否か、すなわちB>Aであるか否かを判別した(ステップS124)後で、CPU75は、セルフタイマー撮影部66のタイマー部とは別に上記所定時間Mを計時するためにkに0を設定する(ステップS130)。なお所定時間Mの値はユーザが任意に設定可能としてもよい。   As shown in FIG. 7B, in step S124, the CPU 75 determines whether or not the number of faces has increased before and after the start of the countdown, that is, whether or not B> A (step S124). In addition to the timer unit of the photographing unit 66, k is set to 0 to measure the predetermined time M (step S130). Note that the value of the predetermined time M may be arbitrarily set by the user.

そしてCPU75は上記所定時間Mが経過したか否か、すなわちk>Mであるか否かを判別し(ステップS131)、k>Mである場合(ステップS131;YES)にはAF等の撮影条件が照準される顔を決定し、この顔領域をAFエリアに設定して(ステップS132)、設定されたAFエリアに基づいてAF処理を行う(ステップS126)。   Then, the CPU 75 determines whether or not the predetermined time M has passed, that is, whether or not k> M (step S131). If k> M (step S131; YES), shooting conditions such as AF are determined. The face to be aimed at is determined, this face area is set as an AF area (step S132), and AF processing is performed based on the set AF area (step S126).

一方ステップS131にてk>Mではない場合(ステップS131;NO)には、CPU75はセルフタイマー撮影部66のタイマー部によるカウントが0になったか否かを判別し(ステップS133)、カウントが0の場合(ステップS133;YES)には、ステップS132へ処理を移行する。またカウントが0でない場合(ステップS133;NO)には、CPU75はkに1を加えて(ステップS134)、ステップS131へ処理を移行する。   On the other hand, if k> M is not satisfied in step S131 (step S131; NO), the CPU 75 determines whether or not the count by the timer unit of the self-timer photographing unit 66 has become 0 (step S133), and the count is 0. In the case of (Step S133; YES), the process proceeds to Step S132. If the count is not 0 (step S133; NO), the CPU 75 adds 1 to k (step S134), and proceeds to step S131.

このようにしてセルフタイマー撮影による本露光撮影を行うことにより、例えば撮影者自身が被写体となる場合に、顔が増えてから所定時間Mが経過後、すなわち撮影者が撮影視野内に入ってから撮影者が意図する立ち位置への移動が完了した後でAF処理及び/又はAE処理が行われるので、撮影者自身にAF等の撮影条件の照準が確実合った、ピントの合った撮影画像を取得することができる。   By performing the main exposure shooting by self-timer shooting in this manner, for example, when the photographer himself becomes a subject, after a predetermined time M has elapsed since the face increased, that is, after the photographer entered the field of view. Since the AF process and / or the AE process are performed after the movement to the standing position intended by the photographer is completed, a focused photographed image in which the aim of the photographing condition such as AF is surely matched to the photographer himself is obtained. Can be acquired.

またカウントが0になる前に、顔の数が増えてから所定時間経過した後にAF処理及び/又はAE処理を行うことにより、上記と同様にカウントが0になってから本露光撮影が行われるまでに要する時間を低減することができるので、上記タイムラグの発生を防ぐことができる。   In addition, by performing AF processing and / or AE processing after a predetermined time has elapsed since the number of faces increased before the count reaches 0, the main exposure shooting is performed after the count reaches 0 as described above. Since the time required until the time can be reduced, the occurrence of the time lag can be prevented.

また上記実施形態のように顔の数が増えてから所定時間Mが経過した後ではなく、顔の数が増えて、かつ、顔の検出結果が安定した後に、例えば撮影者自身が被写体として撮影視野内に入って撮影者自身が意図する立ち位置の移動が完了したと判断してAE処理及び/又はAF処理を行うようにしてもよい。ここで図8に顔の数が増えて、かつ顔検出結果が安定した後にAE処理及び/又はAF処理が行われる場合のセルフタイマー撮影のフローチャートを示す。なお図8において、図6と同様の処理は同じステップ番号で示して説明は省略する。   Further, for example, the photographer himself / herself photographed as a subject after the number of faces has increased and the detection result of the face has stabilized, not after a predetermined time M has elapsed since the number of faces has increased as in the above embodiment. AE processing and / or AF processing may be performed after determining that the movement of the standing position intended by the photographer himself / herself has been completed. Here, FIG. 8 shows a flowchart of self-timer imaging when the number of faces increases and the AE processing and / or AF processing is performed after the face detection result is stabilized. In FIG. 8, the same processes as those in FIG. 6 are denoted by the same step numbers, and description thereof is omitted.

図8Bに示す如く、ステップS124にてCPU75がカウントダウンの開始前後で顔の数が増えたか否か、すなわちB>Aであるか否かを判別した(ステップS124)後で、CPU75は、顔検出部65による顔の検出履歴から各顔の変動量を確認する(ステップS140)。なおここで「変動量」は、顔の位置の移動量とするが、顔の大きさの変動量、顔の向きや傾きの変化量等であってもよい。   As shown in FIG. 8B, in step S124, the CPU 75 determines whether or not the number of faces has increased before and after the start of the countdown, that is, whether or not B> A (step S124). The amount of change of each face is confirmed from the face detection history by the unit 65 (step S140). Here, the “variation amount” is the movement amount of the face position, but may be a variation amount of the face size, a change amount of the face direction or inclination, or the like.

そしてCPU75は各顔の変動量が安定したか否かを判別し(ステップS141)、変動量が安定している場合すなわち顔検出結果が安定している場合(ステップS141;YES)には、AF等の撮影条件が照準される顔を決定し、この顔領域をAFエリアに設定して(ステップS142)、設定されたAFエリアに基づいてAF処理を行う(ステップS126)。なお「顔の変動量」は、変動量が予め設定した閾値よりも小さい場合に、被写体が略静止していると判断して変動量つまり顔検出結果が安定したと判別する。   Then, the CPU 75 determines whether or not the variation amount of each face is stable (step S141). When the variation amount is stable, that is, when the face detection result is stable (step S141; YES), AF is performed. A face to which the shooting conditions such as the above are aimed is determined, this face area is set as an AF area (step S142), and AF processing is performed based on the set AF area (step S126). The “face variation amount” is determined to be that the variation amount, that is, the face detection result is stable when it is determined that the subject is substantially stationary when the variation amount is smaller than a preset threshold value.

一方ステップS141にて変動量が安定していない場合(ステップS141;NO)には、CPU75はセルフタイマー撮影部66のタイマー部によるカウントが0になったか否かを判別し(ステップS143)、カウントが0の場合(ステップS143;YES)には、ステップS142へ処理を移行する。またカウントが0でない場合(ステップS143;NO)には、CPU75はステップS140へ処理を移行する。   On the other hand, when the fluctuation amount is not stable in step S141 (step S141; NO), the CPU 75 determines whether or not the count by the timer unit of the self-timer photographing unit 66 has become 0 (step S143) and counts. Is 0 (step S143; YES), the process proceeds to step S142. If the count is not 0 (step S143; NO), the CPU 75 proceeds to step S140.

このようにしてセルフタイマー撮影による本露光撮影を行うことにより、例えば撮影者自身が被写体となる場合に、顔が増えて、かつ、顔の変動量が安定した後すなわち撮影者が撮影視野内に入ってから撮影者が意図する立ち位置へ移動が完了した後でAF処理が行われるので、上記と同様に撮影者自身にAF等の撮影条件の照準が確実合った、ピントの合った撮影画像を取得することができる。   By performing the main exposure shooting by self-timer shooting in this way, for example, when the photographer himself is a subject, the number of faces increases and the amount of variation of the face stabilizes, that is, the photographer is within the field of view. Since the AF process is performed after the movement to the standing position intended by the photographer is completed after entering, a photographed image in focus with the aim of the photographing condition such as AF surely aligned with the photographer himself as described above Can be obtained.

なお上述の実施形態のAE処理及び/又はAF処理は、上述したタイミングにて行うものとしたが、本発明はこれに限られるものではなく、例えば、ユーザが前記タイミングを任意に選択又は設定可能としてもよい。ここで図9にセルフタイマー撮影のメニュー表示例を示す。図9(a)に示す如く、メニュー画面91でセルフタイマー92が選択されたときに、AE処理及びAF処理を行うタイミング93を、例えば、レリーズボタンが半押しされた時、露光直前等において個別にON/OFF94で選択する。このとき全てがOFFに設定された場合には、モニタ18に「一つ以上はONにして下さい」と表示する。   The AE process and / or AF process of the above-described embodiment is performed at the timing described above, but the present invention is not limited to this, and for example, the user can arbitrarily select or set the timing. It is good. FIG. 9 shows an example of menu display for self-timer shooting. As shown in FIG. 9A, when the self-timer 92 is selected on the menu screen 91, the timing 93 for performing the AE process and the AF process is individually set, for example, immediately before the exposure when the release button is pressed halfway. Select ON / OFF94. If all of them are set to OFF at this time, “please turn ON one or more” is displayed on the monitor 18.

また図9(b)に示す如く、AE処理及びAF処理を行うタイミング93を、例えば、レリーズボタンが半押しされた時、露光直前等の複数のタイミングの中から一つを選択95するものであっても良い。   As shown in FIG. 9B, the timing 93 for performing the AE process and the AF process is selected 95 from a plurality of timings such as immediately before the exposure when the release button is pressed halfway. There may be.

また図9(c)に示す如く、メニュー画面91でセルフタイマー92が選択されたときに、自分撮りであるか否かを選択96するようにしてもよい。この場合、例えば自分撮りが選択されたときには露光直前にAE処理及びAF処理を行い、自分撮り以外のときにはレリーズボタンが半押しされた時にAE処理及びAF処理を行うようにすることが可能である。なお「自分撮り」は、撮影者自身が被写体として参加する撮影方法のことをいう。   Further, as shown in FIG. 9C, when the self-timer 92 is selected on the menu screen 91, it may be selected 96 whether or not it is self-portrait. In this case, for example, when self-portrait is selected, it is possible to perform AE processing and AF processing immediately before exposure, and when other than self-portrait, it is possible to perform AE processing and AF processing when the release button is pressed halfway. . “Self-portrait” refers to a shooting method in which the photographer himself participates as a subject.

こうすることにより、撮影者自身を被写体として撮影するときに撮影者に明るさ(輝度)やピント(合焦位置)があった画像を取得することができる。   By doing so, it is possible to acquire an image in which the photographer has brightness (luminance) and focus (focus position) when photographing the photographer himself as a subject.

以上により上述したデジタルカメラによれば、セルフタイマー撮影部66を使用して本露光撮影が行われる場合、レリーズボタン19が全押されてから本露光撮影が行われるまでの間に、AE/AWB処理部63及びAF処理部62により顔の検出結果に応じてAE処理及び/又はAF処理が行われるので、レリーズボタン19が全押されてから顔が検出された場合に、該検出された顔領域においてAE処理及び/又はAF処理を行うことができる。これにより、例えば撮影者自身が被写体となる場合であっても、撮影者に明るさ(輝度)やピント(合焦位置)があった画像を取得することができる。   As described above, according to the digital camera described above, when the main exposure shooting is performed using the self-timer shooting unit 66, the AE / AWB is performed after the release button 19 is fully pressed until the main exposure shooting is performed. Since the processing unit 63 and the AF processing unit 62 perform AE processing and / or AF processing according to the face detection result, when a face is detected after the release button 19 is fully pressed, the detected face AE processing and / or AF processing can be performed in the region. Thereby, for example, even when the photographer himself is the subject, an image in which the photographer has brightness (luminance) and focus (focus position) can be acquired.

次に本発明の撮像装置として別の実施形態のデジタルカメラを説明する。本実施形態のデジタルカメラは、上述した実施形態のデジタルカメラ1と同様の構成であるため説明を省略し、異なる部分であるセルフタイマー撮影の流れについてのみ説明するものとする。図10に本実施形態のセルフタイマー撮影のフローチャートを示す。なお本実施形態のセルフタイマー撮影は、図10に示す如く、カウントダウンを開始する(ステップS49)前までの流れは図5と同様であるため説明は省略する。   Next, a digital camera according to another embodiment will be described as an imaging apparatus of the present invention. Since the digital camera of the present embodiment has the same configuration as the digital camera 1 of the above-described embodiment, a description thereof will be omitted, and only the flow of self-timer shooting that is a different part will be described. FIG. 10 shows a flowchart of self-timer shooting according to this embodiment. In the self-timer photographing according to the present embodiment, as shown in FIG. 10, the flow until the countdown is started (step S49) is the same as that in FIG.

図10に示す如く、カウントダウンが開始されると(ステップS49)、CPU75は待機時間すなわちカウントが所定時間Nになったか否かを判別する(ステップS50)。カウントがNでない場合(ステップS50;NO)は、CPU75はステップS49へ処理を移行し、カウントがNになった場合(ステップS50;YES)は、CPU75が、顔が検出されているか否かを判別する(ステップS51)。   As shown in FIG. 10, when the countdown is started (step S49), the CPU 75 determines whether or not the standby time, that is, the count has reached a predetermined time N (step S50). When the count is not N (step S50; NO), the CPU 75 shifts the process to step S49, and when the count is N (step S50; YES), the CPU 75 determines whether or not a face is detected. It discriminate | determines (step S51).

そして顔が検出されている場合(ステップS51;YES)は、顔領域をAFエリアに設定し(ステップS52)、顔が検出されていない場合(ステップS51;NO)は、前回のAFエリアで顔領域が設定されているか否かすなわちステップS42で顔領域をAFエリアに設定したか否かを判別し(ステップS54)、ステップS42で顔領域をAFエリアに設定していない場合(ステップS54;NO)には、被写体の中央をAFエリアに設定する。   If a face is detected (step S51; YES), the face area is set as an AF area (step S52). If no face is detected (step S51; NO), the face is detected in the previous AF area. It is determined whether or not the area is set, that is, whether or not the face area is set as the AF area in step S42 (step S54). If the face area is not set as the AF area in step S42 (step S54; NO) ), The center of the subject is set as the AF area.

そしてステップS52又はステップS55にてAFエリアが設定されると、その設定されたAFエリアに基づいてAF処理を行い(ステップS53)、次にCPU75はカウントが0になったか否かを判別する(ステップS56)。そしてカウントが0になると(ステップS56;YES)、ステップS53でAF処理部62が出力したデータに基づいて本露光撮影を行う(ステップS57)。   When an AF area is set in step S52 or step S55, AF processing is performed based on the set AF area (step S53), and then the CPU 75 determines whether or not the count is zero (step S53). Step S56). When the count reaches 0 (step S56; YES), the main exposure shooting is performed based on the data output from the AF processing unit 62 in step S53 (step S57).

一方、カウントが0でない場合(ステップS56;NO)は、CPU75はカウントが0になるまでカウントダウンを続け(ステップS58)、カウントが0になると処理をステップS57へ移行して本露光撮影を行う(ステップS57)。   On the other hand, if the count is not 0 (step S56; NO), the CPU 75 continues to count down until the count reaches 0 (step S58). When the count reaches 0, the process proceeds to step S57 to perform main exposure photography (step S57). Step S57).

また、ステップS42で顔領域をAFエリアに設定した場合(ステップS54;YES)には、AF処理をせずにステップS56に処理を移行し、カウントが0になると、ステップS46でAF処理部62が出力したデータに基づいて本露光撮影を行う(ステップS57)
このようにしてセルフタイマー撮影による本露光撮影を行うことにより、カウントが0になる前に、CPU75により顔が検出されているか否かの判別が行われ、該判別の結果に応じてAF処理及び/又はAE処理が行われるので、カウントが0になってから本露光撮影が行われるまでに要する時間を低減することができる。なお上述したカウントNはユーザが任意に設定可能としてもよい。
If the face area is set as the AF area in step S42 (step S54; YES), the process proceeds to step S56 without performing the AF process, and when the count reaches 0, the AF processing unit 62 in step S46. Based on the data output by the main exposure photographing (step S57).
By performing the main exposure shooting by self-timer shooting in this manner, the CPU 75 determines whether or not a face has been detected before the count reaches 0, and AF processing and processing are performed according to the determination result. Since the AE process is performed, it is possible to reduce the time required from when the count reaches 0 until the main exposure shooting is performed. The count N described above may be arbitrarily set by the user.

また図10においてステップS50からステップ56に至るまでの間、つまり図10中のS’で、AF処理(ステップS53)が完了する前にカウントが0になった場合には、AF処理(ステップS53)が完了してから本露光撮影を行う(ステップS57)。なお本発明はこれに限られるものではなく、AF処理(ステップS53)が完了する前にカウントが0になった場合に、例えば、ステップS53のAF処理を強制的に終了させ、カウントが0になったときに、前回のAF処理すなわちステップS46でAF処理部62が出力したデータに基づいて本露光撮影(ステップS57)を行ってもよい。   Also, in FIG. 10, if the count reaches 0 before completing the AF process (step S53) from step S50 to step 56, that is, S ′ in FIG. 10, the AF process (step S53). ) Is completed, the main exposure shooting is performed (step S57). Note that the present invention is not limited to this, and when the count reaches 0 before the AF process (step S53) is completed, for example, the AF process in step S53 is forcibly terminated and the count is reset to 0. Then, the main exposure shooting (step S57) may be performed based on the previous AF processing, that is, the data output from the AF processing unit 62 in step S46.

またステップS51におけるCPU75による顔が検出されているか否かの判別は、ステップS40にて顔検出ボタン27がONに設定されている場合(ステップS40;YES)のみに行うものとし、顔検出ボタン27がOFFに設定されている場合(ステップS40;NO)には、ステップS44においてレリーズボタン19が半押しされたとき(ステップS44;YES)に被写体の中央をAFエリアとしてAF処理を行い、その後のAF処理は行わず、ステップS56においてカウントが0になったとき(ステップS56;YES)、本露光撮影を行う(ステップS37)。このとき被写体の中央をAFエリアとするAF処理はレリーズボタン19が半押しされたときに限定されるものではなく、例えばステップS56においてカウントが0になったときであってもよい。   Whether or not a face is detected by the CPU 75 in step S51 is determined only when the face detection button 27 is set to ON in step S40 (step S40; YES). Is set to OFF (step S40; NO), when the release button 19 is half-pressed in step S44 (step S44; YES), AF processing is performed with the center of the subject as the AF area, and thereafter AF processing is not performed, and when the count reaches 0 in step S56 (step S56; YES), main exposure photography is performed (step S37). At this time, the AF processing in which the center of the subject is the AF area is not limited to when the release button 19 is half-pressed, and may be, for example, when the count becomes 0 in step S56.

次に本発明かかる別の実施形態のデジタルカメラ1−2について説明する。図11にデジタルカメラ1−2の機能構成を示すブロック図を示す。本実施形態のデジタルカメラ1−2は、図11に示す如く、上述した実施形態のデジタルカメラ1の構成にさらに設定部77を備えるものであり、本実施形態の顔検出部65’は、例えば正面顔、横顔等の複数の異なる状態の顔を検出することができる。なお図11において図3と同様の箇所は同符号で示して説明を省略する。   Next, a digital camera 1-2 according to another embodiment of the present invention will be described. FIG. 11 is a block diagram showing a functional configuration of the digital camera 1-2. As shown in FIG. 11, the digital camera 1-2 according to the present embodiment further includes a setting unit 77 in addition to the configuration of the digital camera 1 according to the above-described embodiment, and the face detection unit 65 ′ according to the present embodiment includes, for example, A plurality of faces in different states such as a front face and a side face can be detected. In FIG. 11, the same parts as those in FIG.

設定部77は、顔検出部65’による顔の検出条件を、複数の異なる状態の顔のいずれかを検出する条件に設定するものであり、本実施形態ではセルフタイマー撮影がONにされたときに前記設定をする。   The setting unit 77 sets the face detection condition by the face detection unit 65 ′ to a condition for detecting any of a plurality of faces in different states. In this embodiment, when the self-timer shooting is turned on. Set as above.

以下、顔検出部65’が検出する顔の検出条件の設定について、図面を参照して詳細に説明する。図12は顔検出条件の設定処理のフローチャート、図13は図12の設定処理が施されたデジタルカメラ1−2での顔検出結果の一例である。   Hereinafter, setting of detection conditions for the face detected by the face detection unit 65 ′ will be described in detail with reference to the drawings. FIG. 12 is a flowchart of the face detection condition setting process, and FIG. 13 is an example of a face detection result in the digital camera 1-2 subjected to the setting process of FIG.

例えば顔検出部65’により複数の顔が検出されたときに中央よりの顔領域にAFエリアを設定するように制御されたデジタルカメラ1−2で、セルフタイマー撮影によって撮影者自身を被写体とした撮影を行う場合に、通常、撮影者はレリーズボタン19を全押ししてから撮影レンズ20の前に立つので、撮影者は自分の顔が写っている正確な位置がわからない、つまり自分の顔が中央付近にあるのか否かがわからないため、自分の顔領域がAFエリアに設定されているか否かを確認することができない。そこで自分以外にも顔が存在する撮影環境でセルフタイマー撮影を行う際には、自分に確実にAF等の撮影条件が照準されるようにすることが必要となる。   For example, when a plurality of faces are detected by the face detection unit 65 ′, the photographer himself / herself is set as a subject by self-timer shooting with the digital camera 1-2 controlled to set the AF area in the face area from the center. When taking a picture, the photographer normally presses the release button 19 and stands in front of the taking lens 20, so the photographer does not know the exact position where his face is shown, that is, his face is Since it is not known whether or not it is near the center, it cannot be confirmed whether or not its own face area is set as the AF area. Therefore, when performing self-timer shooting in a shooting environment in which there are faces other than yourself, it is necessary to ensure that shooting conditions such as AF are aimed at the user.

一般的にセルフタイマー撮影時には主要被写体となる人物の顔は撮影レンズ20に対して正面を向いている場合が多い。しかしながら顔検出部65’が、異なる状態の顔として例えば横顔と正面顔とを検出する場合には、図13(a)に示す如く、撮影視野の中央付近に撮影者が意図しない被写体である横顔F1が存在する撮影環境下で、撮影者が意図する主要被写体(例えば撮影者自身等)を撮影するとき、顔検出部65’は横顔F1と主要被写体である正面顔F2を検出するが、横顔F1の方が中央よりに位置しているために横顔F1の顔領域がAFエリアに設定されてしまう。   In general, during self-timer shooting, the face of a person who is the main subject is often facing the front of the taking lens 20. However, when the face detection unit 65 ′ detects, for example, a side face and a front face as faces in different states, as shown in FIG. 13A, a side face that is a subject unintended by the photographer near the center of the shooting field of view. When photographing a main subject intended by the photographer (for example, the photographer himself / herself) in a photographing environment in which F1 exists, the face detection unit 65 ′ detects the side face F1 and the front face F2 that is the main subject. Since F1 is located closer to the center, the face area of the side face F1 is set as the AF area.

そこで本実施形態のデジタルカメラ1−2では、セルフタイマー撮影時には正面顔のみを検出するように顔検出の条件を設定する。   Therefore, in the digital camera 1-2 of the present embodiment, the face detection condition is set so that only the front face is detected during self-timer shooting.

顔検出条件の設定は、図12に示す如く、先ずCPU75はセルフタイマーがONに設定されているか否かを判別する(ステップS60)。セルフタイマーがONに設定されている場合(ステップS60;YES)には、設定部77が、顔検出部65’による顔検出の条件を、正面顔のみを検出し、横顔を検出しないように設定する(ステップS61)。   As shown in FIG. 12, the CPU 75 first determines whether or not the self-timer is set to ON (step S60). When the self-timer is set to ON (step S60; YES), the setting unit 77 sets the face detection condition by the face detection unit 65 ′ so as to detect only the front face and not the side face. (Step S61).

一方、セルフタイマーがONに設定されていない場合(ステップS60;NO)には、設定部77が、顔検出部65’による顔検出の条件を、正面顔と横顔の両方を検出するように設定する(ステップS62)。   On the other hand, when the self-timer is not set to ON (step S60; NO), the setting unit 77 sets the face detection condition by the face detection unit 65 ′ to detect both the front face and the side face. (Step S62).

このようにセルフタイマー撮影がONにされたときに、設定部77が顔の検出条件を顔の向きを制限して設定することにより、顔検出部65’を正面顔のみを検出するように制御することができるので、上述した図13(a)と同様の撮影環境下であっても、顔検出部65’は、図13(b)に示す如く、主要被写体の正面顔F2’のみを検出するので、例えば撮影者自身等の主要被写体の正面顔に、確実にAF等の撮影条件を照準させることが可能となる。   In this way, when the self-timer shooting is turned on, the setting unit 77 controls the face detection unit 65 ′ to detect only the front face by setting the face detection condition by limiting the face direction. Therefore, the face detection unit 65 ′ detects only the front face F2 ′ of the main subject as shown in FIG. 13B even under the same shooting environment as that shown in FIG. Therefore, for example, the shooting condition such as AF can be surely aimed at the front face of the main subject such as the photographer himself.

なお本実施形態では設定部77が横顔を検出しないように顔検出条件を設定したが、本発明はこれに限られるものではなく、例えば上向き顔、下向き顔、傾き顔等を検出しないように設定してもよい。   In this embodiment, the setting unit 77 sets the face detection condition so as not to detect the side face. However, the present invention is not limited to this. For example, the setting unit 77 is set not to detect an upward face, a downward face, an inclined face, or the like. May be.

また本実施形態では、設定部77が、顔検出条件を顔の向きを制限するものとしたが、本発明はこれに限られるものではなく、例えば顔の大きさを制限するものであってもよい。ここで図14に別の実施形態の顔検出条件の設定処理のフローチャート、図15は図14の設定処理が施されたデジタルカメラ1−3での顔検出結果の一例を示す。   In the present embodiment, the setting unit 77 restricts the face direction as the face detection condition. However, the present invention is not limited to this. For example, even if the face size is restricted. Good. FIG. 14 is a flowchart of face detection condition setting processing according to another embodiment, and FIG. 15 shows an example of face detection results in the digital camera 1-3 subjected to the setting processing of FIG.

顔検出部65’が、異なる状態の顔として大小の様々な大きさの顔を検出する場合には、図15(a)に示す如く、撮影視野の中央付近に撮影者が意図しない被写体である小さい顔F3が存在する撮影環境下で、撮影者が意図する主要被写体(例えば撮影者自身等)を撮影するとき、顔検出部65’は小さい顔F3と主要被写体である大きい顔F4(F4>F3)を検出するが、小さい顔F3の方が中央よりに位置しているために小さい顔F3の顔領域がAFエリアに設定されてしまう。   When the face detection unit 65 ′ detects faces of various sizes, large and small, as faces in different states, as shown in FIG. 15 (a), the subject is not intended by the photographer. When photographing a main subject intended by the photographer (for example, the photographer himself / herself) in a photographing environment where the small face F3 exists, the face detection unit 65 ′ detects the small face F3 and the large face F4 (F4>) as the main subject. F3) is detected, but the face area of the small face F3 is set as the AF area because the small face F3 is located closer to the center.

そこで本実施形態では、セルフタイマー撮影時には検出対象となる顔の大きさを、例えば画像短辺の1/M以上の大きさのみ、画像短辺の1/N以下の大きさのみ、画像短辺の1/Mから1/Nの大きさのみ等、所定範囲の大きさのみを検出するように顔検出の条件を設定する。   Therefore, in the present embodiment, the size of the face to be detected at the time of self-timer shooting is, for example, only 1 / M or more of the short side of the image, only 1 / N or less of the short side of the image, and the short side of the image. The face detection condition is set so that only a predetermined range of size, such as 1 / M to 1 / N, is detected.

顔検出条件の設定は、図14に示す如く、先ずCPU75はセルフタイマーがONに設定されているか否かを判別する(ステップS70)。セルフタイマーがONに設定されている場合(ステップS70;YES)には、設定部77が、顔検出部65’による顔検出の条件を、上記所定範囲の大きさの顔のみを検出するように設定する(ステップS71)。   As shown in FIG. 14, the CPU 75 first determines whether or not the self-timer is set to ON (step S70). When the self-timer is set to ON (step S70; YES), the setting unit 77 detects only the face within the predetermined range as the face detection condition by the face detection unit 65 ′. Set (step S71).

一方、セルフタイマーがONに設定されていない場合(ステップS70;NO)には、設定部77が、顔検出部65’による顔検出の条件を、顔の大きさを制限しないで検出するように設定する(ステップS72)。   On the other hand, when the self-timer is not set to ON (step S70; NO), the setting unit 77 detects the face detection condition by the face detection unit 65 ′ without limiting the size of the face. Set (step S72).

このようにセルフタイマー撮影がONにされたときに、設定部77が顔の検出条件を顔の大きさを制限して設定することにより、顔検出部65’を所定範囲の大きさの顔のみを検出するように制御することができるので、上述した図15(a)と同様の撮影環境下であっても、顔検出部65’は、図15(b)に示す如く、所定範囲の大きさである主要被写体の大きい顔F4’のみを検出できるので、例えば撮影者自身等の主要被写体の顔に、確実にAF等の撮影条件を照準させることが可能となる。   In this way, when the self-timer shooting is turned on, the setting unit 77 sets the face detection condition by limiting the size of the face, so that the face detection unit 65 ′ only has a face within a predetermined range. Therefore, even under the same shooting environment as that shown in FIG. 15A, the face detection unit 65 ′ can be controlled within a predetermined range as shown in FIG. 15B. Since only the large face F4 ′ of the main subject can be detected, for example, the shooting condition such as AF can be reliably aimed at the face of the main subject such as the photographer himself.

なお本実施形態では設定部77は、上述したようにセルフタイマーがONに設定されると自動的に顔検出条件を設定するものとしたが本発明はこれに限られるものではなく、ユーザの手動によって設定するものであってもよい。ここで図16にセルフタイマー撮影のメニュー表示例を示す。   In this embodiment, the setting unit 77 automatically sets the face detection condition when the self-timer is set to ON as described above. However, the present invention is not limited to this, and the user's manual operation is not limited to this. It may be set by. FIG. 16 shows an example of menu display for self-timer shooting.

図16に示す如く、メニュー画面91でユーザがセルフタイマー92を選択したときに、顔検出設定97において、検出対象とする顔の状態をユーザが個別にON/OFFで選択する。例えば正面顔を常に検出対象としている場合には、図16(a)に示す如く、横顔を検出対象とするか否かをユーザがON/OFF98で選択することにより設定部77が顔検出条件を設定する。   As shown in FIG. 16, when the user selects the self-timer 92 on the menu screen 91, in the face detection setting 97, the user individually selects the face state to be detected by ON / OFF. For example, when the front face is always the detection target, as shown in FIG. 16A, the setting unit 77 sets the face detection condition by selecting whether or not the side face is the detection target by ON / OFF 98. Set.

また例えば常に検出対象となっている顔の状態が決まっていない場合には、図16(b)に示す如く、ユーザが顔の状態を個別にON/OFF99で選択することにより設定部77が顔検出条件を設定する。ここで図17に図16(b)の顔検出条件の設定処理のフローチャートを示す。   Further, for example, when the face state that is always a detection target is not determined, the setting unit 77 is selected by the user individually selecting the face state with ON / OFF 99 as shown in FIG. Set the detection conditions. FIG. 17 shows a flowchart of the face detection condition setting process shown in FIG.

図17に示す如く、CPU75はセルフタイマーがONに設定されているか否かを判別し(ステップS80)、セルフタイマーがONに設定されている場合(ステップS80;YES)には設定部77がユーザによる設定の確認を行う(ステップS81)。   As shown in FIG. 17, the CPU 75 determines whether or not the self-timer is set to ON (step S80). If the self-timer is set to ON (step S80; YES), the setting unit 77 is set to the user. Confirmation of the setting is performed (step S81).

そして設定部77は、先ず正面がONにされているか否かを判別し(ステップS82)、ONにされている場合(ステップS82;YES)には、正面顔を検出対象とし(ステップS83)、ONにされていない場合(ステップS82;NO)には、正面顔は検出対象外とする(ステップS84)。   The setting unit 77 first determines whether or not the front is turned on (step S82). If it is turned on (step S82; YES), the front face is set as a detection target (step S83). If it is not turned on (step S82; NO), the front face is not detected (step S84).

次に設定部77は、横向きがONにされているか否かを判別し(ステップS85)、ONにされている場合(ステップS85;YES)には、横向き顔を検出対象とし(ステップS86)、ONにされていない場合(ステップS85;NO)には、横向き顔は検出対象外とする(ステップS87)。   Next, the setting unit 77 determines whether or not the landscape orientation is turned on (step S85). If it is turned on (step S85; YES), the landscape face is set as a detection target (step S86). If it is not turned ON (step S85; NO), the sideways face is not detected (step S87).

次に設定部77は、上向きがONにされているか否かを判別し(ステップS88)、ONにされている場合(ステップS88;YES)には、上向き顔を検出対象とし(ステップS89)、ONにされていない場合(ステップS88;NO)には、上向き顔は検出対象外とする(ステップS90)。   Next, the setting unit 77 determines whether or not upward is turned on (step S88). If it is turned on (step S88; YES), the upward face is set as a detection target (step S89). If it is not turned on (step S88; NO), the upward face is not detected (step S90).

次に設定部77は、下向きがONにされているか否かを判別し(ステップS91)、ONにされている場合(ステップS91;YES)には、下向き顔を検出対象とし(ステップS92)、ONにされていない場合(ステップS91;NO)には、下向き顔は検出対象外とする(ステップS93)。   Next, the setting unit 77 determines whether or not downward is turned on (step S91). If it is turned on (step S91; YES), the downward face is set as a detection target (step S92). If it is not turned on (step S91; NO), the downward face is not detected (step S93).

そしてさらに設定部77は、図16(b)のON/OFF99が全てOFFすなわち全ての顔が検出対象外にされているか否かを判別し(ステップS94)、全てが検出対象外にされている場合(ステップS94;YES)には、どれかをONにするように例えばモニタ18に警告表示して(ステップS95)、CPU75はステップS81へ処理を移行する。一方、全てが検出対象外にされていない場合(ステップS94;NO)には、ステップS82〜ステップS83の処理により決定された検出対象を顔検出条件として設定する。   Further, the setting unit 77 determines whether or not all ON / OFF 99 in FIG. 16B are OFF, that is, whether all faces are excluded from detection targets (step S94), and all are excluded from detection targets. In such a case (step S94; YES), for example, a warning is displayed on the monitor 18 to turn on one (step S95), and the CPU 75 proceeds to step S81. On the other hand, when not all of them are excluded from the detection target (step S94; NO), the detection target determined by the processing of step S82 to step S83 is set as the face detection condition.

またステップS80にてセルフタイマーがONにされていない場合(ステップS80;NO)には、全ての顔を検出対象として顔検出条件を設定する(ステップS96)。このように設定部77は、ユーザの手動によって顔検出条件を設定してもよい。   If the self-timer is not turned on in step S80 (step S80; NO), face detection conditions are set for all faces as detection targets (step S96). Thus, the setting unit 77 may set the face detection condition manually by the user.

なお本実施形態で顔の状態として、正面、横向き、上向き、下向き等の向きを設定しているが、同様に顔の傾きを設定してもよい。   In this embodiment, the face state is set to face, sideways, upward, downward, etc., but the face inclination may be set similarly.

本実施形態のデジタルカメラ1−2は上述したように、設定部77が顔検出部65’による顔の検出条件を、複数の異なる状態の顔を検出する条件のいずれかに設定するものとしたが、本発明はこれに限られるものではない。図18に別の実施形態のデジタルカメラ1−3の機能構成を示すブロック図を示す。本実施形態のデジタルカメラ1−3は、図18に示す如く、デジタルカメラ1−2の設定部77の代わりに顔検出部65’により検出された複数の異なる状態の顔のいずれかを選択する選択部78を備えている。   As described above, in the digital camera 1-2 according to the present embodiment, the setting unit 77 sets the face detection condition by the face detection unit 65 ′ to one of a plurality of conditions for detecting faces in different states. However, the present invention is not limited to this. FIG. 18 is a block diagram showing a functional configuration of a digital camera 1-3 according to another embodiment. As illustrated in FIG. 18, the digital camera 1-3 according to the present embodiment selects any of a plurality of faces in different states detected by the face detection unit 65 ′ instead of the setting unit 77 of the digital camera 1-2. A selection unit 78 is provided.

なお選択部78は、上述したデジタルカメラ1−2の設定部77による顔検出条件設定の処理(図12、図14参照)と略同様にして選択条件を設定し、例えば図13(a)に示すように、横顔F1と正面顔F2が検出されたときに、横顔F1は選択せずに図13(b)に示すように正面顔F2’のみを選択し、この選択した正面顔F2’にAF等の撮影条件を照準させる。   The selection unit 78 sets the selection conditions in substantially the same manner as the face detection condition setting process (see FIGS. 12 and 14) by the setting unit 77 of the digital camera 1-2 described above. For example, FIG. As shown, when the side face F1 and the front face F2 are detected, the side face F1 is not selected and only the front face F2 ′ is selected as shown in FIG. 13B, and the selected front face F2 ′ is selected. Aim the shooting conditions such as AF.

また例えば図15(a)に示すように、小さい顔F3と所定範囲の大きさである大きい顔F4が検出されたときには、小さい顔F3は選択せずに図15(b)に示すように所定範囲の大きさである大きい顔F4’のみを選択し、この選択した大きい顔F4’にAF等の撮影条件を照準させる。   Further, for example, as shown in FIG. 15A, when a small face F3 and a large face F4 having a predetermined range are detected, the small face F3 is not selected and is predetermined as shown in FIG. 15B. Only the large face F4 ′ that is the size of the range is selected, and shooting conditions such as AF are aimed at the selected large face F4 ′.

このように顔検出部65’により複数の異なる状態の顔が検出された後で、いずれかを選択してAF等の撮影条件を照準することにより上記実施形態と同様に、主要被写体の顔に確実に撮影条件を照準させることが可能となる。   After a plurality of faces in different states are detected by the face detection unit 65 ′ in this way, by selecting one of them and aiming the shooting conditions such as AF, the face of the main subject is detected as in the above embodiment. It is possible to aim the shooting conditions with certainty.

また選択部78は、顔検出部65’により検出された顔のうち変動量が所定値よりも大きいものを選択しないように設定されたものであってもよい。ここで図19に顔の変動量を考慮したセルフタイマー撮影のフローチャート、図20(a)に変動量を考慮しないときの顔検出結果の一例、図20(b)に変動量を考慮したときの顔検出結果の一例をそれぞれ示す。なお図19において、図5と同じ処理は同じステップ番号で示して説明を省略する。   The selection unit 78 may be set so as not to select a face whose variation amount is larger than a predetermined value from the faces detected by the face detection unit 65 '. Here, FIG. 19 is a flowchart of self-timer shooting considering the amount of variation in the face, FIG. 20A shows an example of the face detection result when the amount of variation is not considered, and FIG. An example of the face detection result is shown respectively. In FIG. 19, the same processes as those in FIG.

デジタルカメラ1−3が顔検出部65’により複数の顔が検出されたときに中央よりの顔領域にAFエリアを設定するように制御されている場合、一般的にセルフタイマー撮影時には、主要被写体となる人物は本露光前に比較的動かない場合が多いので、変動量の大きい顔にAF等の撮影条件が照準されないように選択部78が変動量の大きい顔を選択しないようにする。   When the digital camera 1-3 is controlled so as to set the AF area in the face area from the center when a plurality of faces are detected by the face detection unit 65 ′, the main subject is generally used during self-timer shooting. Therefore, the selection unit 78 does not select a face with a large amount of variation so that shooting conditions such as AF are not aimed at a face with a large amount of variation.

具体的には図19Bに示す如く、ステップS32にて顔が検出されている場合(ステップS32;YES)は、選択部78が検出履歴から各顔の変動量を確認し(ステップS100)、変動量の大きい顔は撮影条件の照準の対象外扱いとし選択しない(ステップS101)。   Specifically, as shown in FIG. 19B, when a face is detected in step S32 (step S32; YES), the selection unit 78 confirms the amount of variation of each face from the detection history (step S100), and the variation is detected. Faces with a large amount are not selected because they are not targeted for shooting conditions (step S101).

そしてCPU75が、AF等の撮影条件を照準する対象となる顔があるか否かを判別し(ステップS102)、撮影条件を照準する対象となる顔がある場合には(ステップS102;YES)、この顔を、AFを照準する顔に決定し(ステップS103)、この顔領域をAFエリアとして設定する(ステップS104)。   Then, the CPU 75 determines whether or not there is a face that is a target for aiming shooting conditions such as AF (step S102), and when there is a face that is a target for aiming shooting conditions (step S102; YES), This face is determined as a face aiming at AF (step S103), and this face area is set as an AF area (step S104).

一方、ステップS102にて、撮影条件を照準する対象となる顔がない場合(ステップS102;NO)には、CPU75はステップS35へ処理を移行する。   On the other hand, in step S102, when there is no face targeted for the shooting conditions (step S102; NO), the CPU 75 proceeds to step S35.

例えば図20(a)、(b)のそれぞれ左図に示す如く、顔検出部65’がある時刻t1で、撮影視野の左側に撮影者が意図する主要被写体(例えば撮影者自身等)である人物P1の顔A、右端側に撮影者が意図しない被写体である人物P2の顔Bをそれぞれ検出し、さらに時刻t1よりも時間が経過した時刻t2で、撮影視野において略同位置にいる、つまり移動量が所定値よりも小さい人物P1の顔A’と、右端側から中央に移動した、つまり移動量が所定値よりも大きい人物P2の顔B’とを検出したときに、変動量が考慮されない場合には図20(a)の左図の時刻t1では、2つの顔A、Bのうち中央よりに位置する顔Aが、撮影条件が照準される対象となっているのに対して、時間が経過した時刻t2では右図に示す如く、移動により中央よりに位置した顔B’が、撮影条件が照準される対象となってしまう。   For example, as shown in the left diagrams of FIGS. 20A and 20B, the main object intended by the photographer (for example, the photographer himself) is on the left side of the field of view at time t1 when the face detection unit 65 ′ is present. The face A of the person P1 and the face B of the person P2, which is a subject unintended by the photographer, are detected on the right end side, and at the time t2 when the time elapses from the time t1, they are substantially in the same position in the shooting field of view. When the face A ′ of the person P1 whose movement amount is smaller than a predetermined value and the face B ′ of the person P2 who moved from the right end side to the center, that is, the face B ′ of the person P2 whose movement amount is larger than the predetermined value, are detected. If not, at time t1 in the left diagram of FIG. 20 (a), the face A located at the center of the two faces A and B is the target for which the shooting condition is aimed, At time t2 when time has passed, as shown in the right figure, More central face B 'located More, becomes a target of imaging condition is aiming.

一方、上述のように変動量を考慮した処理を行うことにより、図20(b)の右図に示す如く、選択部78が移動量の大きい人物P2の顔B’を撮影条件の照準の対象外扱いとして選択しないので、変動量の小さい人物P1の顔A’が、撮影条件が照準される対象となり、例えば撮影者自身等の主要被写体の顔に、確実にAF等の撮影条件を照準させることが可能となる。   On the other hand, by performing the processing in consideration of the variation amount as described above, the selection unit 78 targets the face B ′ of the person P2 having a large movement amount as the target of the shooting condition as shown in the right diagram of FIG. Since the face A ′ of the person P1 having a small amount of variation is a target to which the shooting condition is aimed, for example, the shooting condition such as AF is surely aimed at the face of the main subject such as the photographer himself. It becomes possible.

なお本実施形態では、変動量として、顔の位置の移動量を例に説明したが、本発明はこれに限られるものではなく、顔の大きさの変動量、顔の向きや傾きの変化量等であってもよい。   In the present embodiment, the amount of movement of the face position has been described as an example of the amount of variation, but the present invention is not limited to this, and the amount of variation in face size, the amount of change in face orientation and inclination Etc.

次に本発明の別の実施形態のデジタルカメラを説明する。本実施形態のデジタルカメラは、上述した実施形態のデジタルカメラ1−3と同様の構成であるため説明を省略し、異なる部分であるセルフタイマー撮影の流れについてのみ説明するものとする。図21に本実施形態のセルフタイマー撮影のフローチャートを示す。なお図21において、図19と同じ処理は同じステップ番号で示して説明を省略する。   Next, a digital camera according to another embodiment of the present invention will be described. Since the digital camera of the present embodiment has the same configuration as the digital camera 1-3 of the above-described embodiment, description thereof will be omitted, and only the flow of self-timer shooting that is a different part will be described. FIG. 21 shows a flowchart of self-timer shooting according to this embodiment. In FIG. 21, the same processes as those in FIG.

上記実施形態では、図19のステップS31にてカウントが0になってから選択部78がステップS100〜ステップS104の処理つまり変動量の確認からAFエリアの設定までを行い、AE処理及び/又はAF処理を行うので、カウントが0になってから本露光処理が行われるまでの間に若干のタイムラグが発生してしまう。   In the above embodiment, after the count reaches 0 in step S31 of FIG. 19, the selection unit 78 performs the processing from step S100 to step S104, that is, the confirmation of the variation amount to the setting of the AF area, and the AE processing and / or AF. Since the process is performed, a slight time lag occurs between the time when the count reaches 0 and the time when the main exposure process is performed.

そこで本実施形態のセルフタイマー撮影は、図21Bに示す如く、カウントダウンが開始されると(ステップS30)、CPU75は待機時間すなわちカウントが所定時間Nになったか否かを判別し(ステップS110)、カウントがNでない場合(ステップS110;NO)は、CPU75はステップS30へ処理を移行し、カウントがNになった場合(ステップS110;YES)は、CPU75が、顔が検出されているか否かを判別して(ステップS32)、顔が検出されている場合(ステップS32;YES)に、上述したステップS100〜ステップS104の処理つまり変動量の確認からAFエリアの設定までを行い、AF処理部62が設定されたAFエリアに基づいてAF処理を行う(ステップS34)。   Thus, in the self-timer shooting of this embodiment, as shown in FIG. 21B, when the countdown is started (step S30), the CPU 75 determines whether or not the standby time, that is, the count has reached a predetermined time N (step S110). If the count is not N (step S110; NO), the CPU 75 proceeds to step S30, and if the count is N (step S110; YES), the CPU 75 determines whether or not a face is detected. If it is determined (step S32) and a face is detected (step S32; YES), the processing from step S100 to step S104 described above, that is, from the confirmation of the fluctuation amount to the setting of the AF area, is performed, and the AF processing unit 62 AF processing is performed based on the AF area in which is set (step S34).

そして次にCPU75が、カウントが0になったか否かを判別し(ステップS111)、カウントが0になると(ステップS111;YES)、ステップS34でAF処理部62が出力したデータに基づいて本露光撮影を行う(ステップS37)。   Next, the CPU 75 determines whether or not the count has reached 0 (step S111). When the count has reached 0 (step S111; YES), the main exposure is performed based on the data output by the AF processing unit 62 in step S34. Photographing is performed (step S37).

一方、カウントが0でない場合(ステップS111;NO)は、CPU75はカウントが0になるまでカウントダウンを続け(ステップS112)、カウントが0になると処理をステップS37へ移行して本露光撮影を行う(ステップS37)。   On the other hand, if the count is not 0 (step S111; NO), the CPU 75 continues to count down until the count reaches 0 (step S112). When the count reaches 0, the process proceeds to step S37 to perform main exposure photography (step S37). Step S37).

また、ステップS23で顔領域をAFエリアに設定した場合(ステップS35;YES)には、AF処理をせずにステップS111に処理を移行し、カウントが0になると、ステップS27でAF処理部62が出力したデータに基づいて本露光撮影を行う(ステップS37)。   If the face area is set as the AF area in step S23 (step S35; YES), the process proceeds to step S111 without performing the AF process, and when the count reaches 0, the AF processing unit 62 in step S27. The main exposure shooting is performed based on the data output by (step S37).

このようにしてセルフタイマー撮影による本露光撮影を行うことにより、カウントが0になる前に、選択部78がステップS100〜ステップS104の処理つまり変動量の確認からAFエリアの設定までを行い、AF処理及び/又はAE処理が行われるので、カウントが0になってから本露光撮影が行われるまでに要する時間すなわち上記タイムラグを低減することができる。なお上述したカウントNはユーザが任意に設定可能としてもよい。   By performing the main exposure shooting using the self-timer shooting in this way, before the count reaches 0, the selection unit 78 performs the processing from step S100 to step S104, that is, the confirmation of the fluctuation amount to the setting of the AF area. Since the process and / or the AE process are performed, the time required until the main exposure shooting is performed after the count reaches 0, that is, the time lag can be reduced. The count N described above may be arbitrarily set by the user.

また図21BにおいてステップS110からステップ111に至るまでの間、つまり図21B中のS’で、AF処理(ステップS34)が完了する前にカウントが0になった場合には、AF処理(ステップS34)が完了してから本露光撮影を行う(ステップS37)。なお本発明はこれに限られるものではなく、AF処理(ステップS34)が完了する前にカウントが0になった場合に、例えば、ステップS34のAF処理を強制的に終了させ、カウントが0になったときに、前回のAF処理すなわちステップS27でAF処理部62が出力したデータに基づいて本露光撮影(ステップS37)を行ってもよい。   In FIG. 21B, when the count reaches 0 before the AF process (step S34) is completed during the period from step S110 to step 111, that is, S ′ in FIG. 21B, the AF process (step S34). ) Is completed, the main exposure shooting is performed (step S37). The present invention is not limited to this. When the count reaches 0 before the AF process (step S34) is completed, for example, the AF process in step S34 is forcibly terminated and the count is set to 0. Then, the main exposure shooting (step S37) may be performed based on the previous AF processing, that is, the data output from the AF processing unit 62 in step S27.

なお上述した実施形態のデジタルカメラでは、図5、図6A、図7A、図8A、図10、図19A、図21Aにおいてレリーズボタン19が半押しされる(ステップS25、S44)前に、顔が有るか否かの判別(ステップS22、S41)を行い、AFエリアを設定(ステップS23・S24、S42・S43)したが、本発明はこれに限られず、例えば、レリーズボタン19が半押しされた(ステップS25、S44)後で行っても良い。   In the digital camera according to the above-described embodiment, the face appears before the release button 19 is half-pressed (steps S25 and S44) in FIGS. 5, 6A, 7A, 8A, 10, 19A, and 21A. The presence or absence (steps S22, S41) is determined and the AF area is set (steps S23, S24, S42, S43). However, the present invention is not limited to this. For example, the release button 19 is half-pressed. (Steps S25 and S44) This may be performed later.

また上述した実施形態においては、所定の対象物を顔としているが、本発明はこれに限定されるものではなく、顔以外の他の対象物であってもよい。また上述した実施形態においては顔が検出されていなかった場合に、被写体の中央をAFエリアに設定しているが、本発明はこれに限定されるものではなく、被写体の中央以外の他の位置であってもよい。   In the above-described embodiment, the predetermined object is a face, but the present invention is not limited to this and may be an object other than the face. In the above-described embodiment, when the face is not detected, the center of the subject is set as the AF area. However, the present invention is not limited to this, and other positions other than the center of the subject. It may be.

また本発明の撮像装置は、上述したセルフタイマー撮影にて、本露光撮影までに顔が検出されていなかった場合には、撮影者及び/又は被撮影者に対して、顔が未検出であることを伝達する伝達手段をさらに備えても良い。このとき伝達手段は顔が検出されたことを伝達することも可能である。ここで図22に伝達手段を備えてなるデジタルカメラ1−4の正面斜視図、図23にデジタルカメラ1−4の機能構成を示すブロック図を示す。   In the image pickup apparatus of the present invention, when a face is not detected by the above-described self-timer shooting until the main exposure shooting, no face is detected for the photographer and / or the person to be photographed. You may further provide the transmission means which transmits this. At this time, the transmission means can transmit that the face has been detected. Here, FIG. 22 is a front perspective view of a digital camera 1-4 provided with a transmission means, and FIG. 23 is a block diagram showing a functional configuration of the digital camera 1-4.

通常、顔検出部65、65’による顔検出を動作中、撮影者はデジタルカメラ背面のモニタ18(図1参照)に表示される検出された顔を囲む検出枠等を目視して、顔が検出されているか否かを確認することが可能である。   Usually, during the face detection by the face detection units 65 and 65 ', the photographer looks at the detection frame surrounding the detected face displayed on the monitor 18 (see FIG. 1) on the back of the digital camera, and the face is detected. It is possible to confirm whether or not it has been detected.

しかしながら、セルフタイマー撮影等で、撮影者自身が被写体となる場合には、撮影者はデジタルカメラ正面側に移動しなければならないため、上記のようにして確認することは困難である。そこでセルフタイマー撮影時に、顔が検出されたか否かを被写体にむけて伝達する伝達手段を備える。   However, when the photographer himself / herself becomes a subject in self-timer photography or the like, the photographer must move to the front side of the digital camera, so it is difficult to confirm as described above. Therefore, a transmission means is provided for transmitting to the subject whether or not a face has been detected during self-timer shooting.

本実施形態のデジタルカメラ1−4では、伝達手段として、例えば図23に示す如く、情報発信部79と、この情報発信部79により発信される情報を表示させる液晶モニタ等の情報表示部18’を、図22に示す如くデジタルカメラ正面に設け、情報発信部79が情報表示部18’に、例えば顔が検出されれば丸印「○」を表示させ、顔が検出されなければバツ印「×」を表示させるようにする。   In the digital camera 1-4 of the present embodiment, as a transmission means, for example, as shown in FIG. 23, an information transmission unit 79 and an information display unit 18 ′ such as a liquid crystal monitor for displaying information transmitted by the information transmission unit 79 are provided. 22 is provided in front of the digital camera, and the information transmitting unit 79 displays a circle mark “◯” on the information display unit 18 ′, for example, if a face is detected, and a cross mark “ “×” is displayed.

これによりセルフタイマー撮影において、撮影者自身が主要被写体となる場合であっても顔が検出されているか否かを確認することが可能となるので、例えば撮影者が撮影視野内に入っていないときに、撮影者は自分で撮影視野内に入っていないことを確認し、撮影視野内に入るように移動することができる。これにより撮影が失敗するのを防止することができる。   This makes it possible to check whether a face is detected even when the photographer himself is the main subject in self-timer shooting. For example, when the photographer is not within the field of view. In addition, the photographer can confirm that he / she is not within the field of view and can move to be within the field of view. This can prevent the shooting from failing.

なお情報発信部79は情報表示部18’に、例えば顔が検出されたときに検出された顔の数を表示させるようにしてもよいし、背面のモニタ18(図3参照)と同様に前記検出枠を表示させるようにしてもよい。また顔検出部65、65’によって検出された顔が増えたか否かを確認している場合には、検出された顔が増えたときに、その旨を表示させるようにしてもよい。   Note that the information transmission unit 79 may display the number of detected faces when the face is detected, for example, on the information display unit 18 ′, or the same as the monitor 18 on the back (see FIG. 3). A detection frame may be displayed. Further, when it is confirmed whether or not the number of faces detected by the face detection units 65 and 65 ′ has increased, it may be displayed when the number of detected faces increases.

なお情報発信部79は、上記のように文字やマーク等を表示させるのではなく、発光素子のON/OFFすることにより顔が検出されたか否かを伝達させるものであってもよい。この場合、新たに情報表示部18’を設けなくても、例えば図22に示す如く、デジタルカメラ正面のAF補助光28を使用することも可能である。AF補助光28を使用する場合には、通常のAF補助光28として発光する方法とは異なる方法、例えば点滅発光等で発光させてもよい。さらに情報発信部79は、視覚情報による伝達ではなく、音や音声等の音声情報を被写体に向けて発信するようにしてもよい。   Note that the information transmitting unit 79 may transmit whether or not a face has been detected by turning on / off the light emitting element instead of displaying characters, marks, or the like as described above. In this case, it is possible to use the AF auxiliary light 28 on the front of the digital camera, for example, as shown in FIG. 22 without newly providing the information display section 18 '. When the AF auxiliary light 28 is used, the light may be emitted by a method different from the method of emitting light as the normal AF auxiliary light 28, for example, flashing light emission. Furthermore, the information transmitting unit 79 may transmit sound information such as sound and sound to the subject instead of transmission by visual information.

なお例えば様々な種類の伝達手段を複数用意しておき、これらの中から一つをユーザによって任意に選択又は設定可能としてもよい。   For example, a plurality of various types of transmission means may be prepared, and one of these may be arbitrarily selected or set by the user.

以上、本発明にかかる実施形態のデジタルカメラについて説明したが、セルフタイマー撮影部66の代り若しくは新たに、所定のタイミングでレリーズボタン19の押下信号を出力させ、本露光撮影を開始させる自動撮影部(自動撮影手段)を備え、自動撮影を行うデジタルカメラも、本発明の実施形態の1つである。この場合、レリーズボタン19が押下信号を出力時、及び、レリーズボタン19が押下信号を出力してから本露光撮影が行われるまでの間に、少なくとも1回以上、対象物が検出されたか否かを判別し、該判別結果に応じてAE処理及び/又はAF処理を行うものとする。   The digital camera according to the embodiment of the present invention has been described above. However, instead of the self-timer photographing unit 66 or newly, an automatic photographing unit that outputs a pressing signal of the release button 19 at a predetermined timing and starts main exposure photographing. A digital camera that includes (automatic photographing means) and performs automatic photographing is also one embodiment of the present invention. In this case, whether or not the object has been detected at least once when the release button 19 outputs a pressing signal and between the time when the release button 19 outputs the pressing signal and when the main exposure shooting is performed. AE processing and / or AF processing is performed according to the determination result.

また本発明の撮像装置は、上述した実施形態のデジタルカメラに限られるものではなく、本発明の趣旨を逸脱しない範囲において適宜設計変更可能である。   The imaging apparatus of the present invention is not limited to the digital camera of the above-described embodiment, and can be appropriately changed in design without departing from the spirit of the present invention.

1 デジタルカメラ(撮像装置)
18 モニタ
18’情報表示部(伝達手段)
19 レリーズボタン(撮影指示手段)
25 セルフタイマーランプ
27 顔検出ボタン
28 AF補助光
62 AF処理部(合焦決定手段)
63 AE/AWB処理部(露出決定手段)
65、65’ 顔検出部(対象物検出手段)
66 セルフタイマー撮影部(セルフタイマー撮影手段)
77 設定部(設定手段)
78 選択部(選択手段)
79 情報発信部(伝達手段)
1 Digital camera (imaging device)
18 monitor 18 'information display part (transmission means)
19 Release button (shooting instruction means)
25 Self-timer lamp 27 Face detection button 28 AF auxiliary light 62 AF processing unit (focusing determining means)
63 AE / AWB processing unit (exposure determining means)
65, 65 'face detection unit (object detection means)
66 Self-timer photographing unit (self-timer photographing means)
77 Setting section (setting means)
78 Selection part (selection means)
79 Information transmitter (transmission means)

Claims (6)

被写体を撮影して画像データを生成する撮像手段と、
前記画像データから人物の顔領域を検出する顔領域検出手段と、
露出条件を決定する露出決定手段と、
合焦位置を決定する合焦決定手段と、
本露光撮影を指示する撮影指示手段と、
該撮影指示手段による本露光撮影指示に応じて所定時間経過の計時を行い、所定時間経過後に前記本露光撮影を行わせるセルフタイマー撮影手段と、を備えてなる撮像装置において、
前記セルフタイマー撮影手段を使用して前記本露光撮影を行うとき、
前記計時の開始前に前記顔領域検出手段が前記顔領域の検出を行い、該検出された顔領域の数を第1の顔領域の数としてカウントし、
前記計時の開始から前記本露光撮影が行われるまでの間に、少なくとも1回以上、前記顔領域検出手段が前記顔領域の検出を行い、該検出された顔領域の数を第2の顔領域の数としてカウントして、前記第1の顔領域の数と前記第2の顔領域の数を比較し、
該比較の結果に基づいて前記計時の開始から前記所定時間経過までの間に、前記顔領域の数が増えたか否かを判別し、
前記顔領域の数が増えなかったときに、前記所定の顔領域の数が増えなかったことを撮影者及び/又は被撮影者に伝達する伝達手段を、さらに備えていることを特徴とする撮像装置。
An imaging means for capturing a subject and generating image data;
Face area detecting means for detecting a human face area from the image data;
Exposure determining means for determining an exposure condition;
A focus determining means for determining a focus position;
Photographing instruction means for instructing main exposure photographing;
In an imaging apparatus comprising: a self-timer photographing unit that measures a predetermined time in response to a main exposure photographing instruction by the photographing instruction unit and performs the main exposure photographing after the predetermined time has elapsed.
When performing the main exposure shooting using the self-timer shooting means,
The face region detecting means performs detection of the face area, a count of the detected face area as the number of the first face area before the start of the time measurement,
The face area detection means detects the face area at least once during the period from the start of the time measurement until the main exposure shooting is performed, and the number of the detected face areas is determined as the second face area. And comparing the number of the first face area and the number of the second face area,
Based on the result of the comparison, it is determined whether or not the number of the face regions has increased between the start of the timing and the lapse of the predetermined time,
An imaging apparatus, further comprising: a transmission unit configured to transmit to the photographer and / or the photographee that the predetermined number of face areas has not increased when the number of face areas has not increased. apparatus.
被写体を撮影して画像データを生成する撮像手段と、
前記画像データから所定の顔領域を検出する顔領域検出手段と、
露出条件を決定する露出決定手段と、
合焦位置を決定する合焦決定手段と、
本露光撮影を指示する撮影指示手段と、
該撮影指示手段による本露光撮影指示に応じて所定時間経過の計時を行い、所定時間経過後に前記本露光撮影を行わせるセルフタイマー撮影手段と、を備えてなる撮像装置において、
前記セルフタイマー撮影手段を使用して前記本露光撮影を行うとき、
前記計時の開始前に前記顔領域検出手段が前記顔領域の検出を行い、該検出された顔領域の数を第1の顔領域の数としてカウントし、
前記計時の開始から前記本露光撮影が行われるまでの間に、少なくとも1回以上、前記顔領域検出手段が前記顔領域の検出を行い、該検出された顔領域の数を第2の顔領域の数としてカウントして、前記第1の顔領域の数と前記第2の顔領域の数を比較し、
該比較の結果に基づいて前記計時の開始から前記所定時間経過までの間に、前記顔領域の数が増えたか否かを判別し、
前記顔領域の数が増えたときに、前記所定の顔領域の数が増えたことを撮影者及び/又は被撮影者に伝達する伝達手段を、さらに備えていることを特徴とする撮像装置。
An imaging means for capturing a subject and generating image data;
Face area detecting means for detecting a predetermined face area from the image data;
Exposure determining means for determining an exposure condition;
A focus determining means for determining a focus position;
Photographing instruction means for instructing main exposure photographing;
In an imaging apparatus comprising: a self-timer photographing unit that measures a predetermined time in response to a main exposure photographing instruction by the photographing instruction unit and performs the main exposure photographing after the predetermined time has elapsed.
When performing the main exposure shooting using the self-timer shooting means,
The face region detecting means performs detection of the face area, a count of the detected face area as the number of the first face area before the start of the time measurement,
The face area detection means detects the face area at least once during the period from the start of the time measurement until the main exposure shooting is performed, and the number of the detected face areas is determined as the second face area. And comparing the number of the first face area and the number of the second face area,
Based on the result of the comparison, it is determined whether or not the number of the face regions has increased between the start of the timing and the lapse of the predetermined time,
An imaging apparatus, further comprising: a transmission unit configured to transmit to the photographer and / or the photographee that the number of the predetermined face areas has increased when the number of face areas has increased .
前記伝達手段が、文字及び/又はマークの表示、発光素子の制御、音声発信の少なくとも1つを行うものであることを特徴とする請求項1又は2に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the transmission unit performs at least one of display of characters and / or marks, control of light emitting elements, and voice transmission. 前記伝達手段を複数備えてなり、該複数の伝達手段の中から1つをユーザによって任意に選択又は設定可能であることを特徴とする請求項1〜3のいずれか1項に記載の撮像装置。   The imaging apparatus according to claim 1, further comprising a plurality of the transmission units, wherein one of the plurality of transmission units can be arbitrarily selected or set by a user. . 前記発光素子の制御が、AF補助光を制御するものであることを特徴とする請求項3又は4に記載の撮像装置。   The imaging apparatus according to claim 3 or 4, wherein the light emitting element controls AF auxiliary light. 前記AF補助光の制御が、該AF補助光の点滅発光を含むものであることを特徴とする請求項5に記載の撮像装置。   6. The imaging apparatus according to claim 5, wherein the control of the AF auxiliary light includes blinking emission of the AF auxiliary light.
JP2009007731A 2006-07-25 2009-01-16 Imaging device Active JP4291408B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009007731A JP4291408B2 (en) 2006-07-25 2009-01-16 Imaging device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2006202469 2006-07-25
JP2009007731A JP4291408B2 (en) 2006-07-25 2009-01-16 Imaging device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2007157531A Division JP4338047B2 (en) 2006-07-25 2007-06-14 Imaging device

Publications (2)

Publication Number Publication Date
JP2009134300A JP2009134300A (en) 2009-06-18
JP4291408B2 true JP4291408B2 (en) 2009-07-08

Family

ID=39023217

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2009007731A Active JP4291408B2 (en) 2006-07-25 2009-01-16 Imaging device
JP2009129743A Abandoned JP2009239923A (en) 2006-07-25 2009-05-29 Imaging device

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2009129743A Abandoned JP2009239923A (en) 2006-07-25 2009-05-29 Imaging device

Country Status (2)

Country Link
JP (2) JP4291408B2 (en)
CN (2) CN101577794B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4816717B2 (en) * 2008-12-09 2011-11-16 ソニー株式会社 Image processing apparatus, imaging apparatus, image processing method, and program
US8339448B2 (en) * 2009-01-26 2012-12-25 Panasonic Corporation Imaging apparatus
JP2010226495A (en) * 2009-03-24 2010-10-07 Olympus Imaging Corp Photographing device
JP5421691B2 (en) * 2009-08-18 2014-02-19 キヤノン株式会社 Focus adjustment device and focus adjustment method
JP5423284B2 (en) * 2009-09-28 2014-02-19 リコーイメージング株式会社 Imaging device
JP5225317B2 (en) * 2010-04-06 2013-07-03 キヤノン株式会社 IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP5709500B2 (en) * 2010-12-09 2015-04-30 株式会社ザクティ Electronic camera
JP6331244B2 (en) * 2012-06-05 2018-05-30 ソニー株式会社 Image pickup apparatus, image pickup apparatus control method, and computer program.
EP2672694B1 (en) * 2012-06-05 2014-01-15 Axis AB Improved control of an image capturing device
JP2015079185A (en) * 2013-10-18 2015-04-23 株式会社ニコン Imaging device
CN103546696A (en) * 2013-10-29 2014-01-29 上海华勤通讯技术有限公司 Photographic device and photographing method thereof
CN103685943A (en) * 2013-11-22 2014-03-26 乐视致新电子科技(天津)有限公司 Display equipment, image capturing and controlling device and image capturing and controlling method
JP2016072864A (en) * 2014-09-30 2016-05-09 株式会社ニコン Electronic apparatus, reproduction apparatus, recording medium, recording program, reproduction program, recording method, and reproduction method
US9628720B2 (en) * 2015-08-12 2017-04-18 Qualcomm Incorporated System and method to control an imaging process
CN105407276A (en) * 2015-11-03 2016-03-16 北京旷视科技有限公司 Photographing method and equipment
WO2018235565A1 (en) * 2017-06-21 2018-12-27 富士フイルム株式会社 Imaging device and mobile imaging device
JP2018200481A (en) * 2018-08-01 2018-12-20 株式会社ニコン Imaging device
JP7316853B2 (en) * 2019-06-28 2023-07-28 キヤノン株式会社 Imaging device and focus adjustment method
CN112446252A (en) * 2019-08-30 2021-03-05 华为技术有限公司 Image recognition method and electronic equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0651188A (en) * 1992-07-27 1994-02-25 Asahi Optical Co Ltd Autofocusing camera and photographing method
JPH07281079A (en) * 1994-04-04 1995-10-27 Nikon Corp Automatic focusing camera
JP4549481B2 (en) * 2000-03-09 2010-09-22 オリンパス株式会社 Focusing device
CN1270515C (en) * 2002-12-11 2006-08-16 富士胶片株式会社 Image correcting apparatus and camera
JP3730630B2 (en) * 2003-03-31 2006-01-05 株式会社東芝 Imaging apparatus and imaging method
JP2004317699A (en) * 2003-04-15 2004-11-11 Nikon Gijutsu Kobo:Kk Digital camera
JP4333223B2 (en) * 2003-06-11 2009-09-16 株式会社ニコン Automatic photographing device
JP4352916B2 (en) * 2004-02-04 2009-10-28 ソニー株式会社 Imaging apparatus and imaging method
JP4442330B2 (en) * 2004-06-17 2010-03-31 株式会社ニコン Electronic camera and electronic camera system

Also Published As

Publication number Publication date
CN101577794A (en) 2009-11-11
CN101577794B (en) 2011-12-07
CN101115140B (en) 2010-09-29
JP2009239923A (en) 2009-10-15
JP2009134300A (en) 2009-06-18
CN101115140A (en) 2008-01-30

Similar Documents

Publication Publication Date Title
JP4338047B2 (en) Imaging device
JP4291408B2 (en) Imaging device
US7706674B2 (en) Device and method for controlling flash
JP4644883B2 (en) Imaging device
JP4127491B2 (en) Camera with auto focus function
JP2007311861A (en) Photographic apparatus and method
JP2007263926A (en) Range finder and method for the same
JP2007233113A (en) Distance measuring device and method
JP4697549B2 (en) Image capturing apparatus and face detection method thereof
JP2007235640A (en) Photographing device and method
US20070195190A1 (en) Apparatus and method for determining in-focus position
JP4949717B2 (en) In-focus position determining apparatus and method
JP4173459B2 (en) Digital camera
JP4750063B2 (en) Imaging apparatus and imaging method
JP4767904B2 (en) Imaging apparatus and imaging method
JP2007212723A (en) Focusing position determination method and device
JP4879127B2 (en) Digital camera and digital camera focus area selection method
JP4964992B2 (en) Image capturing apparatus and image recording method thereof
JP2009033386A (en) Photographing device and method
JP2009077143A (en) Automatic photographing apparatus
JP4908321B2 (en) Imaging device
JP2007226141A (en) Photographing device and method
JP2006270627A (en) Imaging apparatus
JP5406958B2 (en) Image processing apparatus, method, and program
JP2008311921A (en) Imaging apparatus

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090311

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4291408

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120410

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120410

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130410

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20130410

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140410

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250