JP5134116B2 - Imaging apparatus and in-focus position search method - Google Patents

Imaging apparatus and in-focus position search method Download PDF

Info

Publication number
JP5134116B2
JP5134116B2 JP2011155039A JP2011155039A JP5134116B2 JP 5134116 B2 JP5134116 B2 JP 5134116B2 JP 2011155039 A JP2011155039 A JP 2011155039A JP 2011155039 A JP2011155039 A JP 2011155039A JP 5134116 B2 JP5134116 B2 JP 5134116B2
Authority
JP
Japan
Prior art keywords
temporary
focus
focus position
evaluation value
region
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2011155039A
Other languages
Japanese (ja)
Other versions
JP2011253193A (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 JP2011155039A priority Critical patent/JP5134116B2/en
Publication of JP2011253193A publication Critical patent/JP2011253193A/en
Application granted granted Critical
Publication of JP5134116B2 publication Critical patent/JP5134116B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)

Description

本発明は顔検出AF機能を備えた撮影装置に関する。   The present invention relates to a photographing apparatus having a face detection AF function.

従来、逆光状態を判別する撮像装置が存在する。例えば特許文献1によると、被写体が逆光状態か否か判定し、逆光状態の時は電荷蓄積型イメージセンサの積分時間を長くして、再度積分を行い、そのときのセンサ出力に基づいて再度焦点検出をやり直す。   2. Description of the Related Art Conventionally, there are imaging devices that determine a backlight state. For example, according to Patent Document 1, it is determined whether or not the subject is backlit. When the subject is backlit, the integration time of the charge storage type image sensor is lengthened and integration is performed again, and the focus is refocused based on the sensor output at that time. Redo detection.

特許文献2によると、2種類のサンプリング手段(少なくとも蓄積時間の一部が共通)を有し、逆光と判断された場合には、第2サンプリング手段の出力を優先して焦点検出を行う。   According to Patent Document 2, there are two types of sampling means (at least a part of the accumulation time is common), and when it is determined that the light is backlit, focus detection is performed with priority given to the output of the second sampling means.

特許文献3によると、画像信号の高周波成分の信号量を検出することにより合焦評価値を取得し、この合焦評価値に基づいて合焦位置を検出し、検出された合焦位置が、合焦位置であるか偽合焦位置であるかを判定する。   According to Patent Document 3, a focus evaluation value is obtained by detecting a signal amount of a high-frequency component of an image signal, a focus position is detected based on the focus evaluation value, and the detected focus position is It is determined whether the focus position is a false focus position.

特開平05−264887号公報Japanese Patent Laid-Open No. 05-264887 特開平11−223759号公報Japanese Patent Laid-Open No. 11-223759 特開2006−145666号公報JP 2006-145666 A

特許文献1の技術では、逆光状態の場合には、都合2回の積分と2回の演算処理を行うため、焦点検出に時間がかかる。特許文献2の技術では、逆光判定の結果に応じて、AF用の電荷蓄積時間を変化させるためには、撮像素子の動作を切り替える必要がある。特許文献3では、撮影シーンに適した合焦が行われるとは限らない。   In the technique of Patent Document 1, in the case of a backlight state, it takes time for focus detection because it performs two integrations and two computations for convenience. In the technique of Patent Document 2, it is necessary to switch the operation of the image sensor in order to change the AF charge accumulation time according to the result of the backlight determination. In Patent Document 3, focusing suitable for a shooting scene is not always performed.

本発明はこのような問題点に鑑みてなされたもので、シーンに適したAF制御を行うことで、合焦率を高めることを目的とする。   The present invention has been made in view of such problems, and an object thereof is to increase the focusing rate by performing AF control suitable for a scene.

本発明は、撮影レンズを介して被写体像を撮影素子上に結像させ、該撮影素子より得られる画像信号から所望の周波数成分をフィルタにより抽出し、抽出された周波数成分を積分して焦点評価値を算出し、該算出した焦点評価値に基づいて撮影レンズの合焦位置を探索する撮影装置または合焦位置探索方法に関する。   The present invention forms a subject image on a photographing element through a photographing lens, extracts a desired frequency component from an image signal obtained from the photographing element by a filter, and integrates the extracted frequency component to evaluate a focus. The present invention relates to an imaging apparatus or an in-focus position search method for calculating a value and searching for an in-focus position of an imaging lens based on the calculated focus evaluation value.

本発明に係る撮影装置は、被写体像の撮影シーンを判別するシーン判別部と、シーン判別部によって判別された撮影シーンに基づき、撮影レンズの合焦位置の探索範囲またはフィルタの抽出すべき周波数成分のうち少なくともいずれか一方を変更した上で、合焦位置を探索するよう撮影レンズを移動させる制御部と、を備える。   A photographing apparatus according to the present invention includes a scene discriminating unit that discriminates a photographing scene of a subject image, and a frequency component to be extracted by a search range of a focusing position of a photographing lens or a filter based on the photographing scene discriminated by the scene discriminating unit. And a control unit that moves the photographic lens so as to search for an in-focus position after changing at least one of them.

この発明によると、撮影シーンに応じて合焦位置探索範囲または合焦検出用フィルタのうち少なくともいずれか一方を変更して、合焦位置を算出するから、逆光の有無や顔の有無などの撮影シーンに応じた正確な合焦位置の探索を行うことができる。   According to the present invention, since at least one of the in-focus position search range and the in-focus detection filter is changed according to the shooting scene, and the in-focus position is calculated, it is possible to capture the presence or absence of backlight or the presence or absence of a face. It is possible to search for an accurate in-focus position according to the scene.

ここで、撮影シーンは、逆光状態・順光状態であること、人物撮影か人物以外の被写体の撮影であること、画像の明暗、高コントラスト・低コントラストであることを含む。   Here, the shooting scene includes a backlit state / front lighted state, shooting of a person or a subject other than a person, brightness of an image, high contrast / low contrast.

また、本発明に係る撮影装置は、撮影シーンを判別するシーン判別部と、シーン判別部によって判別された撮影シーンに応じた合焦位置探索手順を実行する制御部と、を備える。   In addition, a photographing apparatus according to the present invention includes a scene discriminating unit that discriminates a photographing scene, and a control unit that executes a focusing position search procedure corresponding to the photographing scene discriminated by the scene discriminating unit.

この発明によると、撮影シーンに応じた適切な合焦位置算出手順を実行することで、撮影シーンに応じた正確な合焦を行うことができる。   According to the present invention, it is possible to perform accurate focusing according to the shooting scene by executing an appropriate focus position calculation procedure according to the shooting scene.

また、本発明に係る撮影装置は、フィルタから出力された信号に基づいて焦点評価値を算出するための第1の手順、および第1の手順とは異なる第2の手順で、それぞれ第1の仮合焦位置および第2の仮合焦位置を算出する仮合焦位置算出部と、第1の仮合焦位置と第2の仮合焦位置との差が所定の範囲内であるか否かを判定し、差が所定の範囲内であると判定されたことに応じ、最終的な合焦位置として第1の仮合焦位置に撮影レンズを移動させる制御部と、を備える。   The imaging apparatus according to the present invention includes a first procedure for calculating a focus evaluation value based on a signal output from the filter, and a second procedure different from the first procedure, respectively. Whether the difference between the temporary in-focus position and the second in-focus position is within a predetermined range, and the difference between the first in-focus position and the second in-focus position. And a control unit that moves the photographic lens to the first provisional focusing position as the final focusing position in response to determining that the difference is within a predetermined range.

この発明によると、2つの異なる手順で仮合焦位置を算出し、それらの誤差が所定の範囲内であれば、第1の仮合焦位置を最終的な合焦位置とすることで、第1の仮合焦位置が真の合焦位置としての確からしさが担保され、正確な合焦を行うことができる。   According to the present invention, the temporary in-focus position is calculated in two different procedures, and if those errors are within a predetermined range, the first in-focus position is set as the final in-focus position, The certainty of the temporary focusing position of 1 is ensured as a true focusing position, and accurate focusing can be performed.

仮合焦位置検出部は、差が所定の範囲内でないと判定されたことに応じ、第1の仮合焦位置の焦点評価値算出対象領域およびフィルタの抽出すべき周波数成分のうち少なくともいずれか一方を変更した上、第1の仮合焦位置を再び算出し、制御部は、再び検出された第1の仮合焦位置と第2の仮合焦位置との差が所定の範囲内であるか否かを判定し、差が所定の範囲内であると判定されたことに応じ、第1の仮合焦位置を最終的な合焦位置として撮影レンズを移動させるようにしてもよい。   The temporary focus position detection unit detects at least one of the focus evaluation value calculation target region at the first temporary focus position and the frequency component to be extracted by the filter when it is determined that the difference is not within the predetermined range. After changing one, the first temporary focus position is calculated again, and the control unit determines that the difference between the first temporary focus position detected again and the second temporary focus position is within a predetermined range. It may be determined whether the difference is within a predetermined range, and the photographic lens may be moved with the first temporary focusing position as the final focusing position.

制御部は、差が所定の範囲内であると判定されるまで、第1の仮合焦位置の再算出を繰り返すようにしてもよい。   The control unit may repeat recalculation of the first temporary in-focus position until it is determined that the difference is within a predetermined range.

制御部は、第1の仮合焦位置の算出の回数が1以上の所定の回数を超えたことに応じ、所定の基準位置を最終的な合焦位置として撮影レンズを移動させるようにしてもよい。   The control unit may move the photographic lens with the predetermined reference position as the final in-focus position in response to the calculation of the first temporary in-focus position exceeding a predetermined number of 1 or more. Good.

撮影シーンを判別するシーン判別部をさらに備え、制御部は、シーン判別部によって判別された撮影シーンに基づき、所定の範囲または所定の基準位置のうち少なくとも一方を変化させるようにしてもよい。   A scene discriminating unit for discriminating a photographic scene may be further provided, and the control unit may change at least one of a predetermined range or a predetermined reference position based on the photographic scene determined by the scene discriminating unit.

シーン判別部は、逆光状態を検出し、制御部は、シーン判別部による逆光状態の検出に応じ、異なる2つの焦点評価値算出対象領域について算出された2つの仮合焦位置を比較し、両者の差が所定の範囲内である場合、2つの焦点評価値算出対象領域のいずれか一方について検出された2つの仮合焦位置を最終的な合焦位置とするようにしてもよい。   The scene determination unit detects a backlight state, and the control unit compares two temporary in-focus positions calculated for two different focus evaluation value calculation target areas in accordance with the detection of the backlight state by the scene determination unit. If the difference is within a predetermined range, the two temporary in-focus positions detected for either one of the two focus evaluation value calculation target areas may be set as the final in-focus position.

画像信号に基づいて顔領域を検出する顔検出部と、顔検出部が検出した顔領域に基づいて、首領域、胸領域、腹領域および足領域のうち少なくともいずれか1つを決定する領域決定部と、をさらに備えてもよい。   A face detection unit that detects a face region based on an image signal, and a region determination that determines at least one of a neck region, a chest region, an abdominal region, and a foot region based on the face region detected by the face detection unit And a section.

この場合、異なる2つの焦点評価値算出対象領域は、顔領域、首領域、胸領域、腹領域および足領域ならびにこれらの全部または一部を組み合わせた領域のうちいずれか2つを含んでもよい。   In this case, the two different focus evaluation value calculation target regions may include any two of a face region, a neck region, a chest region, an abdominal region, a foot region, and a region obtained by combining all or part of them.

また、焦点評価値算出対象領域は、顔領域、首領域、胸領域、腹領域および足領域ならびにこれらの全部または一部を組み合わせた領域のうちいずれか1つを含んでもよい。   The focus evaluation value calculation target region may include any one of a face region, a neck region, a chest region, an abdominal region, a foot region, and a region obtained by combining all or part thereof.

フィルタの抽出すべき周波数成分は、所定の第1の周波数成分から第1の周波数成分よりも低い所定の第2の周波数成分に切り替えられるようにしてもよい。   The frequency component to be extracted by the filter may be switched from a predetermined first frequency component to a predetermined second frequency component lower than the first frequency component.

本発明に係る合焦位置探索方法は、被写体像の撮影シーンを判別するステップと、判別された撮影シーンに基づき、撮影レンズの合焦位置の探索範囲またはフィルタの抽出すべき周波数成分のうち少なくともいずれか一方を変更した上で、合焦位置を探索するよう撮影レンズを移動させるステップと、を備える。   The focus position searching method according to the present invention includes a step of determining a shooting scene of a subject image and at least a frequency range to be extracted from a search range of a focus position of a shooting lens or a filter based on the determined shooting scene. And changing either one of them, and moving the photographic lens so as to search for the in-focus position.

本発明に係る合焦位置探索方法は、撮影シーンを判別するステップと、判別された撮影シーンに応じた合焦位置探索手順を実行するステップと、を備える。   The in-focus position searching method according to the present invention includes a step of determining a photographic scene and a step of executing a focus position search procedure corresponding to the determined photographic scene.

本発明に係る合焦位置探索方法は、フィルタから出力された信号に基づいて焦点評価値を算出するための第1の手順、および第1の手順とは異なる第2の手順で、それぞれ第1の仮合焦位置および第2の仮合焦位置を算出するステップと、第1の仮合焦位置と第2の仮合焦位置との差が所定の範囲内であるか否かを判定し、差が所定の範囲内であると判定されたことに応じ、最終的な合焦位置として第1の仮合焦位置に撮影レンズを移動させるステップと、を備える。   The in-focus position search method according to the present invention includes a first procedure for calculating a focus evaluation value based on a signal output from a filter and a second procedure different from the first procedure, respectively. Calculating a temporary focusing position and a second temporary focusing position, and determining whether or not a difference between the first temporary focusing position and the second temporary focusing position is within a predetermined range. And, when the difference is determined to be within a predetermined range, the step of moving the photographic lens to the first temporary focusing position as the final focusing position is provided.

この発明によると、撮影シーンに応じて合焦位置検出範囲または合焦検出用フィルタのうち少なくともいずれか一方を変更して、合焦位置を算出するから、逆光の有無や顔の有無などの撮影シーンに応じた正確な合焦を行うことができる。   According to the present invention, since at least one of the in-focus position detection range and the in-focus detection filter is changed according to the shooting scene and the in-focus position is calculated, it is possible to capture the presence / absence of backlight or the presence / absence of a face. Accurate focusing according to the scene can be performed.

デジタルカメラの正面図Front view of digital camera デジタルカメラの背面図Rear view of digital camera デジタルカメラのブロック構成図Block diagram of digital camera 顔検出LSIのブロック構成図Block diagram of face detection LSI 顔検出LSIの出力する顔情報の一例を示す図The figure which shows an example of the face information which a face detection LSI outputs 撮影動作の概略フローチャートOutline flowchart of shooting operation 顔検出AFの概略フローチャートOutline flowchart of face detection AF AF対象顔領域設定の概略フローチャートOutline flowchart of AF target face area setting 逆光判定処理のフローチャートBacklight determination processing flowchart 逆光判定の概念説明図Conceptual illustration of backlight judgment 逆光判定の結果を示すフラグの一例を示す図The figure which shows an example of the flag which shows the result of backlight determination 第1実施形態に係る逆光顔AF処理のフローチャートFlowchart of backlight face AF processing according to the first embodiment AF領域拡大処理の内容を概念的に示す図The figure which shows the content of AF area expansion processing notionally 順光AF処理のフローチャートFlow chart of follow-up AF processing 第2実施形態に係る逆光顔AF処理の要部フローチャートThe principal part flowchart of the backlit face AF processing according to the second embodiment

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

図1は、本発明の好ましい実施形態に係るデジタルカメラ(以下カメラと略す)100の正面図である。   FIG. 1 is a front view of a digital camera (hereinafter abbreviated as a camera) 100 according to a preferred embodiment of the present invention.

カメラ100の正面に配備されたレンズ鏡胴60には、ズームレンズ101a及びフォーカスレンズ101bを含む撮影レンズ101が内蔵されており、ズームレンズ101aを光軸方向に移動させることで焦点距離調節が行なわれるとともに、フォーカスレンズ101bを光軸方向に移動させることによりピント調節が行なわれる。   A lens barrel 60 provided in front of the camera 100 includes a photographic lens 101 including a zoom lens 101a and a focus lens 101b, and the focal length is adjusted by moving the zoom lens 101a in the optical axis direction. In addition, focus adjustment is performed by moving the focus lens 101b in the optical axis direction.

レンズ鏡胴60は、カメラボディ180に沈胴した状態から、予め設定された最短焦点距離位置であるワイド端と最長焦点距離位置であるテレ端との間で進退することで、カメラボディ180から繰り出し、また収納される。この図では、レンズ鏡胴60がカメラボディ180に沈胴した状態が示されている。   The lens barrel 60 is advanced from the camera body 180 by moving forward and backward between the wide end, which is the shortest focal length position, and the tele end, which is the longest focal length position, from the state where the lens barrel 60 is retracted. Also stored. In this figure, a state in which the lens barrel 60 is retracted into the camera body 180 is shown.

またカメラ100には、非撮影時には撮影レンズ101の前面を覆って撮影レンズ101と外界とを遮ることで撮影レンズ101を保護する状態をつくり出すとともに、撮像時には撮影レンズを外界に露出するレンズカバー61が設けられている。   Further, the camera 100 creates a state in which the photographing lens 101 is protected by covering the front surface of the photographing lens 101 and blocking the photographing lens 101 and the outside when not photographing, and a lens cover 61 that exposes the photographing lens to the outside when photographing. Is provided.

レンズカバー61は開閉自在な機構で構成されており、開放状態で撮影レンズ101の前面を覆い、閉鎖状態で撮影レンズ101の前面を外界に露出する。レンズカバー61は電源スイッチ121のオン/オフに連動して開放/閉鎖される。この図ではレンズカバー61は開放状態となっている。   The lens cover 61 is configured by a mechanism that can be freely opened and closed. The lens cover 61 covers the front surface of the photographing lens 101 in an open state, and exposes the front surface of the photographing lens 101 to the outside in a closed state. The lens cover 61 is opened / closed in conjunction with the power switch 121 being turned on / off. In this figure, the lens cover 61 is open.

カメラ100の上面には、中央部分にレリーズスイッチ104の配備されたモードダイヤル123と電源スイッチ121とが配備されており、正面には、ストロボ105a、AF補助光ランプ105b、セルフタイマランプ105c等が配備されている。   On the upper surface of the camera 100, a mode dial 123 and a power switch 121 provided with a release switch 104 at the center are provided, and a strobe 105a, an AF auxiliary light lamp 105b, a self-timer lamp 105c, and the like are provided on the front. Has been deployed.

図2はカメラ100の背面図である。カメラ100の背面には、ズームスイッチ127が配備されている。ズームスイッチ127のワイド(W)側を押すと、押し続けている間、レンズ鏡胴60がワイド端(広角)側に繰り出し、テレ(T)側の他方を押すと、押し続けている間、レンズ鏡胴60がテレ端(望遠)側に移動する。   FIG. 2 is a rear view of the camera 100. A zoom switch 127 is provided on the back of the camera 100. When the wide (W) side of the zoom switch 127 is pressed, the lens barrel 60 is extended to the wide end (wide angle) side while being pressed, and when the other side of the tele (T) side is pressed, the lens barrel 60 is being pressed. The lens barrel 60 moves to the telephoto end (telephoto) side.

カメラ100の背面には、画像表示LCD102、十字キー124、顔ボタン125、情報位置指定キー126等も設けられている。十字キー124は、上下左右がそれぞれ表示明るさ調節/セルフタイマ/マクロ撮影/ストロボ撮影を設定する操作系である。後述するが、十字キー124の下キーを押下することで、セルフタイマ回路83の計時完了後にメインCPU20がCCD132にシャッタ動作を行わせるセルフ撮影モードの設定を行える。撮影モード設定時に顔ボタン125が押下されると、後述の顔検出を開始させる。   On the back of the camera 100, an image display LCD 102, a cross key 124, a face button 125, an information position designation key 126, and the like are also provided. The cross key 124 is an operation system for setting display brightness adjustment / self-timer / macro shooting / flash shooting on the top, bottom, left and right respectively. As will be described later, by pressing the lower key of the cross key 124, the main CPU 20 can set the self-photographing mode in which the CCD 132 performs the shutter operation after the time measurement of the self-timer circuit 83 is completed. When the face button 125 is pressed when the shooting mode is set, face detection described later is started.

図3はカメラ100のブロック図である。カメラ100にはユーザがこのカメラ100を使用するときに種々の操作を行なうための操作部120が設けられている。この操作部120には、カメラ100を作動させるための電源投入用の電源スイッチ121、オート撮影、マニュアル撮影、風景撮影モード、ポートレート撮影モード、証明写真モード等を選択するためのモードダイヤル123、各種のメニューの設定や選択あるいはズームを行なうための十字キー124、顔ボタン125、および十字キー124で選択されたメニューの実行やキャンセル等を行なうための情報位置指定キー126が備えられている。   FIG. 3 is a block diagram of the camera 100. The camera 100 is provided with an operation unit 120 for performing various operations when the user uses the camera 100. The operation unit 120 includes a power switch 121 for turning on the power for operating the camera 100, a mode dial 123 for selecting auto shooting, manual shooting, landscape shooting mode, portrait shooting mode, ID photo mode, and the like. A cross key 124 for setting, selecting or zooming various menus, a face button 125, and an information position specifying key 126 for executing or canceling the menu selected with the cross key 124 are provided.

また、カメラ100には、撮影画像や再生画像等を表示するための画像表示LCD102と、操作の手助けを行なうための操作LCD表示103が備えられている。   In addition, the camera 100 is provided with an image display LCD 102 for displaying captured images, reproduced images, and the like, and an operation LCD display 103 for assisting operations.

このカメラ100にはレリーズスイッチ104が配備されている。このレリーズスイッチ104によって撮影の開始指示がメインCPU20へと伝えられる。このカメラ100では所定のメニュー画面によって撮影と再生との切り替えが自在になっている。また、カメラ100には、コントラストAF時に被写体に投光スポットを照射するための発光ダイオード(LED)からなるAF補助光ランプ105b、閃光を発光するストロボ105aを有する閃光発光装置が配備されている。   The camera 100 is provided with a release switch 104. The release switch 104 transmits a shooting start instruction to the main CPU 20. In the camera 100, switching between photographing and reproduction can be freely performed on a predetermined menu screen. Further, the camera 100 is provided with a flash light emitting device having an AF auxiliary light lamp 105b composed of a light emitting diode (LED) for irradiating a subject with a light projection spot during contrast AF, and a strobe 105a that emits flash light.

また、カメラ100には、撮影レンズ101と、絞り131と、撮影レンズ101および絞り131を経由して結像された被写体像をアナログの画像信号に変換する撮像素子であるCCDセンサ132(以下CCD132と略記する)とが備えられている。CCD132は、CCD132に照射された被写体光により発生した電荷を可変の電荷蓄積時間(露光期間)の間蓄積することにより画像信号を生成するものである。CCD132からは、CG部136から出力される垂直同期信号VDに同期したタイミングでフレーム毎の画像信号が順次出力される。   In addition, the camera 100 includes a photographing lens 101, a diaphragm 131, and a CCD sensor 132 (hereinafter referred to as a CCD 132) that is an imaging device that converts a subject image formed through the photographing lens 101 and the diaphragm 131 into an analog image signal. For short). The CCD 132 generates an image signal by accumulating charges generated by subject light irradiated on the CCD 132 for a variable charge accumulation time (exposure period). The CCD 132 sequentially outputs image signals for each frame at a timing synchronized with the vertical synchronization signal VD output from the CG unit 136.

撮像素子にCCD132を用いた場合には、色偽信号やモアレ縞等の発生を防止するために、入射光内の不要な高周波成分を除去する光学的ローパスフィルタ132aが配設されている。また、入射光内の赤外線を吸収若しくは反射して、長波長域で感度が高いCCDセンサ132固有の感度特性を補正する赤外カットフィルタ132bが配設されている。光学的ローパスフィルタ132a及び赤外カットフィルタ132bの具体的な配設の態様は特に限定されない。   When the CCD 132 is used as the image sensor, an optical low-pass filter 132a that removes unnecessary high-frequency components in the incident light is disposed in order to prevent the generation of color false signals and moire fringes. In addition, an infrared cut filter 132b that absorbs or reflects infrared light in incident light and corrects a sensitivity characteristic unique to the CCD sensor 132 having high sensitivity in a long wavelength region is provided. The specific arrangement of the optical low-pass filter 132a and the infrared cut filter 132b is not particularly limited.

また、カメラ100には、CCDセンサ132からのアナログ画像信号が表わす被写体像のホワイトバランスを合わせるとともにその被写体像の階調特性における直線の傾き(γ)を調節し、さらにアナログ画像信号を増幅する増幅率可変の増幅器を含む白バランス・γ処理部133が備えられている。   The camera 100 also adjusts the white balance of the subject image represented by the analog image signal from the CCD sensor 132 and adjusts the slope (γ) of the straight line in the gradation characteristics of the subject image, and further amplifies the analog image signal. A white balance / γ processing unit 133 including an amplifier with a variable gain is provided.

さらに、カメラ100には、白バランス・γ処理部133からのアナログ信号をディジタルのR,G,B画像データにA/D変換するA/D変換部134と、そのA/D変換部134からのR,G,B画像データを格納するバッファメモリ135が備えられている。   Further, the camera 100 includes an A / D converter 134 that A / D converts an analog signal from the white balance / γ processing unit 133 into digital R, G, B image data, and an A / D converter 134. A buffer memory 135 for storing R, G, B image data is provided.

A/D変換部134によって得られたR,G,B画像データは、AF検出部150にも入力される。   The R, G, B image data obtained by the A / D conversion unit 134 is also input to the AF detection unit 150.

AF検出部150は、画像データの通過周波数帯域(切り捨てずに通過させる周波数帯域)が高いあるいは低い、異なる2つのハイパスフィルタのいずれか一方をAFフィルタとして切り替え可能である。AF検出部150は、これらのフィルタのうちいずれか一方のフィルタをAFフィルタとして優先的に用いることで、後述のAF評価値を算出する。   The AF detection unit 150 can switch either one of two different high-pass filters having a high or low pass frequency band of image data (a frequency band to be passed without being cut off) as an AF filter. The AF detection unit 150 calculates an AF evaluation value, which will be described later, by using one of these filters preferentially as an AF filter.

どちらのフィルタを優先的に用いるかは、EEPROM146に予めデフォルトの優先順位を記憶してもよいし、後述する逆光判定処理の結果に応じて切り替えてもよいし、顔検出の結果に応じて切り替えてもよい。   Which filter is preferentially used may be stored in the EEPROM 146 in advance in the default priority order, may be switched according to the result of backlight determination processing described later, or may be switched according to the result of face detection. May be.

例えば、CPU20によって、順光と判定された場合や、明るい撮影シーンと判定された場合や、モードダイヤル123で風景モードが選択されたと判定された場合や、顔が検出されないと判定された場合、顔領域が検出されても顔領域の面積が画像全体の面積に比して所定の比率(例えば1/10)より小さい(すなわち風景のデータ量が多い)と判定された場合、分割測光により複数のエリアごとに輝度を求め、隣接するエリアの輝度の差が所定以上と判定されるなど、高コントラストの撮影シーンと判定された場合などは、画像データ全体の、あるいは顔領域の高周波成分が多くなるから、通過周波数帯域の高い方のフィルタに切り替えるとよい。   For example, when it is determined by the CPU 20 that the light is forward, when it is determined that the scene is bright, when it is determined that the landscape mode is selected with the mode dial 123, or when it is determined that no face is detected, Even if a face area is detected, if it is determined that the area of the face area is smaller than a predetermined ratio (for example, 1/10) as compared to the area of the entire image (that is, the amount of landscape data is large), multiple areas are divided by division photometry. When the brightness is determined for each area and the difference in brightness between adjacent areas is determined to be greater than or equal to a predetermined level, such as when it is determined to be a high-contrast shooting scene, there are many high-frequency components in the entire image data or in the face area. Therefore, it is preferable to switch to a filter having a higher pass frequency band.

あるいは、逆光と判定された場合や、夜景モードが選択された場合、顔領域の面積が所定比率より小さい場合、暗い撮影シーン、低コントラストの撮影シーンである場合は、顔領域よりもそれ以外の領域の高周波成分が多くなったり、画像データの量が全体的に、あるいは顔領域の画像データの量が減少するから、可及的に所定の周波数成分を抽出すべく、通過周波数帯域の低い方のフィルタに切り替えるとよい。   Alternatively, when it is determined that the light is backlit, when the night view mode is selected, when the area of the face area is smaller than a predetermined ratio, when the scene is dark, or when the scene is low-contrast, other than the face area Since the amount of high frequency components in the region increases, the amount of image data as a whole, or the amount of image data in the face region decreases, the one with the lower pass frequency band to extract the predetermined frequency components as much as possible You can switch to this filter.

あるいは、風景画など、顔領域が検出されない場合、通過周波数帯域が高い方のハイパスフィルタに切り替えてもよい。   Alternatively, when a face area is not detected, such as a landscape image, the high-pass filter having a higher pass frequency band may be switched.

以下、優先される方のAFフィルタをFirst_Filter、優先されない方のAFフィルタをSecond_Filterで表すこともある。以下説明の簡略のため、通過周波数帯域の高い方をFirst_Filter、通過周波数帯域の低い方をSecond_Filterとするが、それらのフィルタの通過周波数帯域を逆にしてもよい。   Hereinafter, the priority AF filter may be represented by First_Filter, and the non-prioritized AF filter may be represented by Second_Filter. For the sake of simplicity, the higher pass frequency band is referred to as First_Filter and the lower pass frequency band is referred to as Second_Filter. However, the pass frequency bands of these filters may be reversed.

AF検出部150は、A/D変換部134からの画像データのうち、所望の積算エリア(AF領域)に対応するR,G,B画像データの全部または一部(例えばG信号のみ)を使用し、1次元水平方向あるいは垂直方向に連続する画像データから、通過周波数帯域の切り替え可能なAFフィルタを介して所定の周波数成分を抽出し、この周波数成分を積算した値(AF評価値)をCPU20に出力する。   The AF detection unit 150 uses all or a part (for example, only the G signal) of R, G, B image data corresponding to a desired integration area (AF region) among the image data from the A / D conversion unit 134. Then, a predetermined frequency component is extracted from the image data that is continuous in the one-dimensional horizontal direction or the vertical direction through an AF filter whose pass frequency band can be switched, and a value (AF evaluation value) obtained by integrating these frequency components is CPU 20. Output to.

AF検出部150が1度の機会で得た画像からFirst_FilterとSecond_Filterの双方について同時に異なる周波数成分を抽出し、それらに対応した2つのAF評価値を同時に出力してもよい。First_FilterとSecond_Filterを順次切り替えてAF評価値を算出する場合は、AFフィルタをFirst_Filterに切り替えた場合とSecond_Filterに切り替えた場合の2回に渡りフォーカスレンズ101bを移動させる必要があるが、こうすれば1回の移動で済む。   The AF detection unit 150 may simultaneously extract different frequency components for both First_Filter and Second_Filter from an image obtained at a single opportunity, and simultaneously output two AF evaluation values corresponding to them. When the AF evaluation value is calculated by sequentially switching First_Filter and Second_Filter, it is necessary to move the focus lens 101b twice when the AF filter is switched to First_Filter and when the AF filter is switched to Second_Filter. It only takes one movement.

CPU20は、AF検出部150から出力されたAF評価値が最大になるレンズ位置にフォーカス用モータ111を介してフォーカスレンズ101bを移動させる。   The CPU 20 moves the focus lens 101 b via the focus motor 111 to the lens position where the AF evaluation value output from the AF detection unit 150 is maximized.

また、カメラ100には、CG(クロックジェネレータ)部136と、測光・測距用CPU137と、充電・発光制御部138と、通信制御部139と、YC処理部140と、電源電池68とが備えられている。   Further, the camera 100 includes a CG (clock generator) unit 136, a photometry / ranging CPU 137, a charge / light emission control unit 138, a communication control unit 139, a YC processing unit 140, and a power supply battery 68. It has been.

CG部136は、CCDセンサ132を駆動するための垂直同期信号VD,高速掃き出しパルスPを含む駆動信号、白バランス・γ処理部133,A/D変換部134を制御する制御信号、および通信制御部139を制御する制御信号を出力する。また、このCG部136には、測光・測距用CPU137からの制御信号が入力される。   The CG unit 136 includes a vertical synchronization signal VD for driving the CCD sensor 132, a drive signal including a high-speed sweep pulse P, a control signal for controlling the white balance / γ processing unit 133, the A / D conversion unit 134, and communication control. A control signal for controlling the unit 139 is output. Further, a control signal from the photometry / ranging CPU 137 is input to the CG unit 136.

測光・測距用CPU137は、ズーム用モータ110、フォーカス用モータ111、絞り調節を行う絞り用モータ112を制御してズームレンズ101a、フォーカスレンズ101b、絞り131をそれぞれ駆動することにより被写体までの距離の算出(測距)を行ない、CG部136および充電・発光制御部138を制御する。ズーム用モータ110、フォーカス用モータ111、絞り用モータ112の駆動は、モータドライバ62によって制御され、モータドライバ62の制御コマンドは、測光・測距用CPU137あるいはメインCPU20から送られる。   The photometry / ranging CPU 137 controls the zoom motor 110, the focus motor 111, and the aperture motor 112 for adjusting the aperture to drive the zoom lens 101a, the focus lens 101b, and the aperture 131, respectively, thereby driving the distance to the subject. Is calculated (ranging), and the CG unit 136 and the charge / light emission control unit 138 are controlled. Driving of the zoom motor 110, the focus motor 111, and the aperture motor 112 is controlled by the motor driver 62, and a control command for the motor driver 62 is sent from the photometry / ranging CPU 137 or the main CPU 20.

なお、ズームレンズ101a、フォーカスレンズ101b、絞り131、AF補助光照射角の駆動源は、ズーム用モータ110、フォーカス用モータ111、絞り用モータ112のような各種モータに限定する必然性はなく、アクチュエータなどであってもよい。   The driving source of the zoom lens 101a, the focus lens 101b, the stop 131, and the AF auxiliary light irradiation angle is not necessarily limited to various motors such as the zoom motor 110, the focus motor 111, and the stop motor 112. It may be.

測光・測距用CPU137は、レリーズスイッチ104が半押し(S1オン)されると、CCD132によって周期的(1/30秒から1/60秒ごと)に得られる画像データ(スルー画像)に基づいて被写体の明るさの測光(EV値の算出)を行う。   The CPU 137 for photometry / ranging is based on image data (through image) obtained periodically (every 1/30 seconds to 1/60 seconds) by the CCD 132 when the release switch 104 is half-pressed (S1 is turned on). Measure the brightness of the subject (calculate EV value).

即ち、AE演算部151は、A/D変換部134から出力されたR、G、Bの画像信号を積算し、その積算値を測光・測距用CPU137に提供する。測光・測距用CPU137は、AE演算部151から入力する積算値に基づいて被写体の平均的な明るさ(被写体輝度)を検出し、撮影に適した露出値(EV値)を算出する。   That is, the AE calculation unit 151 integrates the R, G, and B image signals output from the A / D conversion unit 134 and provides the integrated values to the photometry / ranging CPU 137. The photometry / ranging CPU 137 detects the average brightness (subject brightness) of the subject based on the integrated value input from the AE calculation unit 151, and calculates an exposure value (EV value) suitable for photographing.

そして、測光・測距用CPU137は、得られたEV値に基づいて絞り131の絞り値(F値)及びCCD132の電子シャッタ(シャッタスピード)を含む露出値を所定のプログラム線図にしたがって決定する(AE動作)。   Then, the photometry / ranging CPU 137 determines the exposure value including the aperture value (F value) of the aperture 131 and the electronic shutter (shutter speed) of the CCD 132 based on the obtained EV value according to a predetermined program diagram. (AE operation).

レリーズスイッチ104が全押し(S2オン)されると、測光・測距用CPU137は、その決定した絞り値に基づいて絞り131を駆動し、絞り131の開口径を制御するとともに、決定したシャッタスピードに基づき、CG136を介してCCD132での電荷蓄積時間を制御する。   When the release switch 104 is fully pressed (S2 is turned on), the photometry / ranging CPU 137 drives the aperture 131 based on the determined aperture value, controls the aperture diameter of the aperture 131, and determines the determined shutter speed. Based on the above, the charge accumulation time in the CCD 132 is controlled via the CG 136.

AE動作は、絞り優先AE,シャッタ速度優先AE,プログラムAEなどがあるが、いずれにおいても、被写体輝度を測定し、この被写体輝度の測光値に基づいて決められた露出値、すなわち絞り値とシャッタスピードとの組み合わせで撮影を行うことにより、適正な露光量で撮像されるように制御しており、面倒な露出決定の手間を省くことができる。   The AE operation includes an aperture priority AE, a shutter speed priority AE, a program AE, etc. In any case, the subject brightness is measured, and an exposure value determined based on the photometric value of the subject brightness, that is, an aperture value and a shutter. By taking a picture in combination with the speed, control is performed so that an image is taken with an appropriate exposure amount, and it is possible to save troublesome determination of exposure.

AF検出部150は、測光・測距CPU137により選定された所望のAF領域に対応する画像データをA/D変換部134から抽出する。焦点位置を探索・検出する方法は、合焦位置で画像データのAF領域部分の高周波成分が最大振幅になるという特徴を利用して行う。AF検出部150は、抽出された画像データの高周波成分を1フィールド期間積分することにより、振幅値を算出する。AF検出部150は、測光・測距CPU137がフォーカス用モータ111を駆動制御してフォーカスレンズ101bを可動範囲内、即ち無限遠側の端点(INF点)から至近側の端点(NEAR点)の間で移動させている間に順次振幅値の計算を実行し、最大振幅を検出した時に検出値を測光・測距CPU137に送信する。ただし本出願人による特開2001−208959号公報のように、無限遠側に焦点位置があると推測される風景モードが設定された場合などは、合焦に要する時間を短縮するため、必要に応じて無限遠側から至近側にフォーカスレンズ101bを移動させてもよい。   The AF detection unit 150 extracts image data corresponding to a desired AF area selected by the photometry / ranging CPU 137 from the A / D conversion unit 134. The method for searching and detecting the focal position is performed using the feature that the high frequency component of the AF area portion of the image data has the maximum amplitude at the in-focus position. The AF detection unit 150 calculates an amplitude value by integrating the high-frequency component of the extracted image data for one field period. The AF detector 150 is configured such that the photometry / ranging CPU 137 drives and controls the focus motor 111 to move the focus lens 101b within the movable range, that is, between the end point (INF point) on the infinity side and the end point (NEAR point) on the near side. When the maximum amplitude is detected, the detection value is transmitted to the photometry / ranging CPU 137 when the maximum amplitude is detected. However, as in Japanese Patent Application Laid-Open No. 2001-208959 filed by the present applicant, when a landscape mode that is assumed to have a focal position on the infinity side is set, it is necessary to shorten the time required for focusing. Accordingly, the focus lens 101b may be moved from the infinity side to the close side.

測光・測距CPU137は、この検出値を取得して対応する合焦位置に、フォーカスレンズ101bを移動させるようにフォーカス用モータ111に指令を出す。フォーカス用モータ111は、測光・測距CPU137の指令に応じてフォーカスレンズ101bを合焦位置に移動させる(AF動作)。   The photometry / ranging CPU 137 obtains this detection value and issues a command to the focus motor 111 to move the focus lens 101b to the corresponding in-focus position. The focus motor 111 moves the focus lens 101b to the in-focus position in accordance with a command from the photometry / ranging CPU 137 (AF operation).

測光・測距用CPU137は、メインCPU20とのCPU間通信によってレリーズスイッチ104と接続されており、ユーザによりレリーズスイッチ104が半押しされた時に、この合焦位置の検出が行われる。また、測光・測距用CPU137には、ズーム用モータ110が接続されており、メインCPU20が、ズームスイッチ127によってユーザからのTELE方向又はWIDE方向へのズームの指令を取得した場合に、ズーム用モータ110を駆動させることにより、ズームレンズ101aをWIDE端とTELE端との間で移動させる。   The photometry / ranging CPU 137 is connected to the release switch 104 through inter-CPU communication with the main CPU 20, and the in-focus position is detected when the release switch 104 is half-pressed by the user. Further, a zoom motor 110 is connected to the photometry / ranging CPU 137, and when the main CPU 20 acquires a zoom command from the user in the TELE direction or WIDE direction, the zoom motor 110 is used. By driving the motor 110, the zoom lens 101a is moved between the WIDE end and the TELE end.

充電・発光制御部138は,ストロボ105aを発光させるために電源電池68からの電力の供給を受けて図示しない閃光発光用のコンデンサを充電したり、そのストロボ105aの発光を制御する。   The charging / light emission control unit 138 is supplied with electric power from the power supply battery 68 in order to cause the strobe 105a to emit light, and charges a flash light emitting capacitor (not shown) or controls light emission of the strobe 105a.

充電・発光制御部138は,電源電池68の充電開始、レリーズスイッチ104の半押し・全押し操作信号等の各種の信号や、発光量、発光タイミングを示す信号をメインCPU20や測光・測距CPU137から取り込んだことに応じ、セルフタイマランプ(タリーランプ)105cやAF補助光ランプ105bへの電流供給制御を行い、所望の発光量が所望のタイミングで得られるように制御する。   The charging / light emission control unit 138 receives various signals such as a charging start of the power supply battery 68, a half-press / full-press operation signal of the release switch 104, and a signal indicating the light emission amount and the light emission timing. Is supplied to the self-timer lamp (tally lamp) 105c and the AF auxiliary light lamp 105b, and control is performed so that a desired light emission amount can be obtained at a desired timing.

なお、セルフタイマランプ105cはLEDで構成してもよく、AF補助光ランプ105bを構成するLEDと共通にしてもよい。   Note that the self-timer lamp 105c may be constituted by an LED, or may be made common with the LED constituting the AF auxiliary light lamp 105b.

メインCPU20には、セルフタイマ回路83が接続されている。メインCPU20は、セルフ撮影モードが設定されている場合、レリーズスイッチ104の全押し信号に基づいて計時を行なう。この計時中に、メインCPU20は測光・測距CPU137を介し、残り時間に合わせて点滅速度をだんだんと早めながら、セルフタイマランプ105cを点滅させる。セルフタイマ回路83は、計時完了後に計時完了信号をメインCPU20に入力する。メインCPU20は、計時完了信号に基づいて、CCD132にシャッタ動作を実施させる。   A self-timer circuit 83 is connected to the main CPU 20. When the self-photographing mode is set, the main CPU 20 measures time based on the full-press signal of the release switch 104. During this timing, the main CPU 20 causes the self-timer lamp 105c to blink while gradually increasing the blinking speed in accordance with the remaining time via the photometry / ranging CPU 137. The self-timer circuit 83 inputs a timing completion signal to the main CPU 20 after timing is completed. The main CPU 20 causes the CCD 132 to perform a shutter operation based on the timing completion signal.

通信制御部139には、通信ポート107が備えられており、この通信制御部139は、カメラ100により撮影された被写体の画像信号をUSB端子が備えられたパーソナルコンピュータ等の外部装置に出力し、およびこのような外部装置からカメラ100に画像信号を入力することにより、その外部装置との間のデータ通信を担うものである。また、このカメラ100は、ロール状の写真フイルムに写真撮影を行なう通常のカメラが有するISO感度80,100,200,400,1600等に切り替える機能を模擬した機能を有し、ISO感度400以上に切り替えられた場合、白バランス・γ処理部133の増幅器の増幅率が所定の増幅率を越えた高増幅率に設定された高感度モードとなる。通信制御部139は、高感度モードでの撮影中は、外部装置との通信を停止する。   The communication control unit 139 includes a communication port 107. The communication control unit 139 outputs an image signal of a subject photographed by the camera 100 to an external device such as a personal computer equipped with a USB terminal. In addition, by inputting an image signal from such an external device to the camera 100, data communication with the external device is performed. The camera 100 also has a function of simulating the function of switching to ISO sensitivity 80, 100, 200, 400, 1600, etc. of a normal camera that takes a photograph on a roll-shaped photographic film, and has an ISO sensitivity of 400 or more. When switched, the high-sensitivity mode is set in which the amplification factor of the amplifier of the white balance / γ processing unit 133 is set to a high amplification factor exceeding a predetermined amplification factor. The communication control unit 139 stops communication with the external device during shooting in the high sensitivity mode.

また、カメラ100には、圧縮・伸長&ID抽出部143と、I/F部144が備えられている。圧縮・伸長&ID抽出部143は、バッファメモリ135に格納された画像データを、バスライン142を介して読み出して圧縮し、I/F部144を経由してメモリカード200に格納する。また、圧縮・伸長&ID抽出部143は、メモリカード200に格納された画像データの読み出しにあたり、メモリカード200固有の識別番号(ID)を抽出し、そのメモリカード200に格納された画像データを読み出して伸長し、バッファメモリ135に格納する。   The camera 100 also includes a compression / decompression & ID extraction unit 143 and an I / F unit 144. The compression / decompression & ID extraction unit 143 reads and compresses the image data stored in the buffer memory 135 via the bus line 142 and stores the image data in the memory card 200 via the I / F unit 144. In addition, the compression / decompression & ID extraction unit 143 extracts an identification number (ID) unique to the memory card 200 and reads the image data stored in the memory card 200 when reading the image data stored in the memory card 200. Are decompressed and stored in the buffer memory 135.

バッファメモリ135に格納されたY/C信号は、圧縮・伸長&ID抽出部143によって所定のフォーマットに従って圧縮された後、I/F144を介してメモリカード200のようなリムーバブルメディアないしハードディスク(HDD)75のような内蔵型大容量記憶媒体に所定の形式(例えばExif(Exchangeable Image File Format)ファイル)で記録される。ハードディスク(HDD)75へのデータ記録またはハードディスク(HDD)75からのデータの読込みは、メインCPU20の指令に応じてハードディスクコントローラ74によって制御される。   The Y / C signal stored in the buffer memory 135 is compressed in accordance with a predetermined format by the compression / decompression & ID extraction unit 143, and then the removable medium such as the memory card 200 or the hard disk (HDD) 75 via the I / F 144. Are recorded in a predetermined format (for example, an Exif (Exchangeable Image File Format) file). Data recording to the hard disk (HDD) 75 or reading of data from the hard disk (HDD) 75 is controlled by the hard disk controller 74 in accordance with a command from the main CPU 20.

また、カメラ100には、メインCPU20と、EEPROM146と、YC/RGB変換部147と、表示用のドライバ148とが備えられている。メインCPU20は、このカメラ100全体の制御を行なう。EEPROM146には、このカメラ100固有の固体データやプログラム等が格納されている。YC/RGB変換部147は、YC処理部140で生成されたカラー映像信号YCを3色のRGB信号に変換して表示用のドライバ148を経由して画像表示LCD102に出力する。   The camera 100 includes a main CPU 20, an EEPROM 146, a YC / RGB conversion unit 147, and a display driver 148. The main CPU 20 controls the entire camera 100. The EEPROM 146 stores solid data and programs unique to the camera 100. The YC / RGB conversion unit 147 converts the color video signal YC generated by the YC processing unit 140 into RGB signals of three colors, and outputs them to the image display LCD 102 via the display driver 148.

また、カメラ100は、AC電源から電力を得るためのACアダプタ48と電源電池68とが着脱可能な構成となっている。電源電池68は充電可能な二次電池、例えばニカド電池、ニッケル水素電池、リチウムイオン電池で構成される。電源電池68は使い切り型の一次電池、例えばリチウム電池、アルカリ電池で構成してもよい。電源電池68は図示しない電池収納室に装填することにより、カメラ100の各回路と電気的に接続される。   In addition, the camera 100 has a configuration in which an AC adapter 48 for obtaining power from an AC power supply and a power supply battery 68 are detachable. The power supply battery 68 is composed of a rechargeable secondary battery such as a nickel-cadmium battery, a nickel metal hydride battery, or a lithium ion battery. The power supply battery 68 may be a single-use primary battery such as a lithium battery or an alkaline battery. The power supply battery 68 is electrically connected to each circuit of the camera 100 by being loaded into a battery storage chamber (not shown).

ACアダプタ48がカメラ100に装填されAC電源からACアダプタ48を介してカメラ100に電力が供給される場合には、電源電池68が電池収納室に装填されている場合であっても、優先的に当該ACアダプタ48から出力された電力がカメラ100の各部に駆動用の電力として供給される。また、ACアダプタ48が装填されておらず、かつ電源電池68が電池収納室に装填されている場合には、当該電源電池68から出力された電力がカメラ100の各部に駆動用の電力として供給される。   When the AC adapter 48 is loaded in the camera 100 and power is supplied from the AC power source to the camera 100 via the AC adapter 48, the power supply battery 68 is preferential even if it is loaded in the battery storage chamber. The power output from the AC adapter 48 is supplied to each part of the camera 100 as driving power. If the AC adapter 48 is not loaded and the power battery 68 is loaded in the battery storage chamber, the power output from the power battery 68 is supplied to each part of the camera 100 as driving power. Is done.

なお、図示しないが、カメラ100には、電池収納室内に収納される電源電池68とは別にバックアップ電池が設けられている。内蔵バックアップ電池には例えば専用の二次電池が用いられ、電源電池68によって充電される。バックアップ電池は、電源電池68の交換や取り外し等、電源電池68が電池収納室に装填されていない場合、カメラ100の基本機能に給電する。   Although not shown, the camera 100 is provided with a backup battery separately from the power supply battery 68 housed in the battery housing chamber. For example, a dedicated secondary battery is used as the built-in backup battery and is charged by the power supply battery 68. The backup battery supplies power to the basic functions of the camera 100 when the power battery 68 is not loaded in the battery storage chamber, such as when the power battery 68 is replaced or removed.

即ち、電源電池68又はACアダプタ48からの電源供給が停止すると、バックアップ電池がスイッチング回路(図示せず)によってRTC15等に接続され、これらの回路に給電する。これにより、バックアップ電池29が寿命に達しない限り、RTC15等の基本機能には、電源供給が間断なく継続する。   That is, when the power supply from the power supply battery 68 or the AC adapter 48 is stopped, the backup battery is connected to the RTC 15 or the like by a switching circuit (not shown) and supplies power to these circuits. As a result, as long as the backup battery 29 does not reach the end of its life, power supply continues to the basic functions such as the RTC 15 without interruption.

RTC(Real Time Clock)15は計時専用のチップであり、電源電池68やACアダプタ48からの給電がオフされていてもバックアップ電池から電源供給を受けて継続的に動作する。   An RTC (Real Time Clock) 15 is a chip dedicated to timekeeping, and continuously operates by receiving power supply from the backup battery even when power supply from the power supply battery 68 or the AC adapter 48 is turned off.

画像表示LCD102には透過型又は半透過型の液晶パネル71を背面側から照明するバックライト70が配設されており、省電力モードの場合には、メインCPU20によりそのバックライト70の明るさ(輝度)がバックライトドライバ72を介して制御され、バックライト70の消費電力が低減されるようになっている。また、省電力モードは、操作部120の情報位置指定キー126を押して画像表示LCD102にメニュー画面を表示させ、そのメニュー画面で所定の操作を行うことによってオン/オフを設定することができるようになっている。   The image display LCD 102 is provided with a backlight 70 that illuminates the transmissive or transflective liquid crystal panel 71 from the back side. In the power saving mode, the main CPU 20 determines the brightness of the backlight 70 ( Brightness) is controlled through the backlight driver 72, and the power consumption of the backlight 70 is reduced. In the power saving mode, the information position designation key 126 of the operation unit 120 is pressed to display a menu screen on the image display LCD 102, and a predetermined operation can be performed on the menu screen so that on / off can be set. It has become.

図4は顔検出LSI20bのブロック構成の一例を示す。   FIG. 4 shows an example of a block configuration of the face detection LSI 20b.

図5は、顔検出LSI20bが顔情報として出力する情報を例示する。顔検出LSI20bは、A/D変換部134からバッファメモリ135に逐次出力されて記憶されるCCDRAW画像から、人物の顔部分を含む領域である顔領域の数、各顔の位置、各顔の大きさ、各顔の検出スコア(検出された顔領域が実際の顔であることの確からしさ)、各顔の向き、各顔の傾きなどの情報を含む顔情報を検出し、その検出結果をバッファメモリ135に出力する。   FIG. 5 illustrates information output by the face detection LSI 20b as face information. The face detection LSI 20b obtains the number of face areas including the face portion of the person, the position of each face, the size of each face from the CCD RAW image that is sequentially output from the A / D conversion unit 134 and stored in the buffer memory 135. Then, the detection information of each face (probability that the detected face area is an actual face), face information including information such as the orientation of each face and the inclination of each face is detected, and the detection result is buffered. Output to the memory 135.

図6はCPU20によって制御される、顔検出処理を利用した撮影動作の概要を示すフローチャートである。この図に示すように、顔検出処理を行うタイミングは、大きく分けてスルー画から行う場合(S3)と、本露光後に行う場合(S12)の2通りが存在する。本明細書で説明する顔検出S1AF(S9)は、スルー画中の顔検出の結果を使って、AFエリアをXY平面上で限定し、確実にピントを合わせることを目的とする。   FIG. 6 is a flowchart showing an outline of the photographing operation using the face detection process controlled by the CPU 20. As shown in this figure, the timing for performing the face detection process is roughly divided into two cases: a case where the face detection process is performed from a through image (S3) and a case where the face detection process is performed after the main exposure (S12). The purpose of the face detection S1AF (S9) described in this specification is to limit the AF area on the XY plane by using the result of the face detection in the through image, and to focus on surely.

図7は顔検出S1AFの動作の概要を示すフローチャートである。   FIG. 7 is a flowchart showing an outline of the operation of the face detection S1AF.

この動作の概略を説明すると、顔ボタン125の押下操作などの所定操作によって顔検出がオンにされており、かつスルー画から顔検出を試みた結果、顔が検出された場合は、他のAF方式に優先して動作させる。   An outline of this operation will be described. When face detection is turned on by a predetermined operation such as a pressing operation of the face button 125 and a face is detected as a result of the face detection from the through image, another AF is detected. Operate in preference to the method.

なお、具体的な顔検出S1AFの実施方法としては、例えば本出願人による特願2006−046123号において記述された技術を適用することができる。   As a specific method of performing face detection S1AF, for example, the technique described in Japanese Patent Application No. 2006-046123 by the present applicant can be applied.

図8は、顔検出S1AFのS21「AF領域設定」の流れを示すフローチャートである。   FIG. 8 is a flowchart showing the flow of S21 “AF area setting” of the face detection S1AF.

S41では、AFの対象とすべき任意の1つの顔領域を選択する。選択の仕方としては、例えば、各顔領域の大きさを求め、最も面積の大きい顔領域を選択する。   In S41, an arbitrary face area to be subjected to AF is selected. As a selection method, for example, the size of each face area is obtained, and the face area having the largest area is selected.

S42では、逆光判定処理を行う。この処理の詳細は後述する。   In S42, a backlight determination process is performed. Details of this processing will be described later.

S43では、顔検出LSI20bが出力した顔領域の座標のうち、S41で選択された顔領域の座標を基準に、AF領域を算出する。この動作の概略を示すと、顔検出LSI20bの検出した顔情報に含まれる顔の大きさ・向き・傾きを基準にAF領域の中心および矩形の4頂点の座標を算出する。次に、算出されたそれらの中心座標および4頂点座標を、実際にAF評価値を取得する対象となるCCDRAW画像の座標系に変換する。そして、その変換後の4頂点を直線で結ぶことで形成される矩形の閉領域を、AF領域とする。   In S43, the AF area is calculated based on the coordinates of the face area selected in S41 among the coordinates of the face area output by the face detection LSI 20b. The outline of this operation is as follows: the coordinates of the center of the AF area and the four vertices of the rectangle are calculated based on the size, orientation, and inclination of the face included in the face information detected by the face detection LSI 20b. Next, the calculated center coordinates and four vertex coordinates are converted into a coordinate system of a CCD RAW image that is a target for actually acquiring an AF evaluation value. A rectangular closed region formed by connecting the four vertices after the conversion with a straight line is defined as an AF region.

図9は、逆光判定処理の流れを示すフローチャートであり、図10は、逆光判定の要点を概念的に示す。   FIG. 9 is a flowchart showing the flow of the backlight determination process, and FIG. 10 conceptually shows the main points of the backlight determination.

逆光判定処理では、顔検出LSI20bの検出した垂直方向の顔領域周縁の外側の画素の測光値から、顔領域周縁を介在させてその外側の画素と相対する垂直方向の顔領域周縁の内側の画素の測光値を減じ、その差分値が所定の閾値を超えれば、その値(Temp_deltaEV)を保存しておく。これを、AEの16分割エリアの画素のそれぞれについて繰り返す(図9のS50〜S71、図10)。   In the backlight determination processing, pixels inside the periphery of the vertical face area that are opposed to the outer pixels through the face area periphery are determined from the photometric values of the pixels outside the periphery of the face area in the vertical direction detected by the face detection LSI 20b. If the difference value exceeds a predetermined threshold value, the value (Temp_deltaEV) is stored. This is repeated for each pixel in the 16-divided area of AE (S50 to S71 in FIG. 9, FIG. 10).

さらに、画素ごとに保存された上記差分値(Temp_deltaEV)のうち最大のもの(max_deltaEV)を、所定の閾値(FACE_AF_BACKLIGHT_TH)を10倍した値とを比較し(S72)、max_deltaEV>FACE_AF_BACKLIGHT_TH×10であれば逆光であると判断し(S73)、max_deltaEV>FACE_AF_BACKLIGHT_TH×10でなければ逆光ではないと判断する(S74)。   Further, the maximum value (max_deltaEV) among the difference values (Temp_deltaEV) stored for each pixel is compared with a value obtained by multiplying a predetermined threshold (FACE_AF_BACKLIGHT_TH) by 10 (S72), and max_deltaEV> FACE_AF_BACKLIGHT_TH × 10. If it is not max_deltaEV> FACE_AF_BACKLIGHT_TH × 10, it is determined that there is no backlight (S74).

なお、撮像素子やAF検出部の構成に応じて、水平方向の顔領域周縁の外側の画素の測光値から内側の画素の測光値を減じるようにさせても良い。   Note that the photometric value of the inner pixel may be subtracted from the photometric value of the outer pixel on the peripheral edge of the face region in the horizontal direction, depending on the configuration of the image sensor and the AF detection unit.

また、図11に示すように、逆光判定処理で逆光であると判断された場合は、逆光用に特化したAF動作を行う旨のフラグ「1」をEEPROM146に記憶し、逆光でないと判断された場合は、逆光用に特化したAF動作を行わない旨のフラグ「0」をEEPROM146に記憶する。   Further, as shown in FIG. 11, when it is determined that the backlight is backlit in the backlight determination process, the flag “1” indicating that the AF operation specialized for backlight is performed is stored in the EEPROM 146, and it is determined that the backlight is not backlit. If it is, the flag “0” indicating that the AF operation specialized for backlighting is not performed is stored in the EEPROM 146.

図12は、逆光用に特化したAF動作を行う旨のフラグ「1」がEEPROM146に記憶された場合に対応した特有のAF動作を含んだAF動作の流れを示すフローチャートである。この処理は、図7のS26〜S30の詳細な内容を表す。   FIG. 12 is a flowchart showing the flow of the AF operation including the specific AF operation corresponding to the case where the flag “1” for performing the AF operation specialized for backlighting is stored in the EEPROM 146. This process represents the detailed contents of S26 to S30 in FIG.

この処理では、まず、「逆光用顔AFエリア設定」、「中断処理OFF設定」、「顔狭範囲サーチ後の全域サーチOFF設定」を行う。   In this process, first, “backlit face AF area setting”, “interrupt processing OFF setting”, and “global search OFF setting after face narrow range search” are performed.

ここで、「逆光用顔AFエリア設定」は、顔情報に基づいたAF領域(図8のS43で算出されたAF領域)を逆光用顔AFエリアに設定する処理である。   Here, “backlit face AF area setting” is a process of setting an AF area based on face information (the AF area calculated in S43 of FIG. 8) as a backlighting face AF area.

また、「中断処理OFF設定」は、フォーカスレンズ101bを一定方向に一定量(Search_Step)ずつ微小駆動(ステップ駆動)することで新たに取得したAF評価値と、微
小駆動前に取得した前回のAF評価値とを比較して、AF評価値が減少した場合、AF評価値のピーク点(いわゆるジャスピン位置)を通過したものと判断して(減少傾向にあるとして)AFサーチを中断する処理自体を、行わない設定をすることである。
In addition, the “interrupt processing OFF setting” means that the AF evaluation value newly acquired by minute driving (step driving) the focus lens 101b by a certain amount (Search_Step) in a certain direction and the previous AF acquired before the minute driving. When the AF evaluation value is reduced by comparing with the evaluation value, it is determined that the AF evaluation value peak point (so-called jaspin position) has been passed (assuming that the AF search value is decreasing) and the AF search is interrupted. The setting is not performed.

これは、信号量の多い画像や高コントラストの画像ではAF評価値のピーク点の存在が比較的正確に判断され、それ以後は無駄なサーチを中断する(中断処理)のがよいのであるが、逆光時の顔領域はノイズ成分が多く、ここから得られたAF評価値の極大点が大山小山のように複数出現し、減少傾向にあると判定された最初の大山の極大点が、ノイズに起因し、必ずしも真の合焦位置でない可能性もあり、その大山のピークでAFサーチを中断すると正確な合焦が完了していない可能性があるからである。   This is because the presence of the peak point of the AF evaluation value is relatively accurately determined in an image with a large amount of signal or a high-contrast image, and after that, it is preferable to interrupt a useless search (interruption process) The face area during backlighting has many noise components, and multiple local maximum points of the AF evaluation value obtained from this appear as Oyama Koyama. This is because there is a possibility that it is not necessarily the true in-focus position. If the AF search is interrupted at the peak of the mountain, accurate focusing may not be completed.

また、「顔狭範囲サーチ後の全域サーチOFF設定」は、顔検出利用狭範囲サーチでAF評価値のピークがなかった場合に、全域サーチを行わない設定である。つまり、至近側(Near側)から無限遠側(INF側)に向けてフォーカスレンズ101bをステップ駆動する範囲を、所定の基準位置(Pulse_Target)を基準に特定の範囲に限定(至近側に向けた所定の距離(Pulse Target - Search_Step * Search_Range_Near)の範囲内および無限遠側に向けた所定の距離(Pulse Target + Search_Step * Search_Range_Inf)の範囲内に限定)して、AF評価値のピークを探索した後、AF評価値のピークがなかった場合でも全域サーチは行わない。これは、順光時では顔領域にノイズ成分が少ないため、所定の基準位置(Pulse Target)から多少離れたところにピークが存在しても、ある程度の信頼性は確保されるが、逆光時ではノイズ成分等、本来の顔のコントラストとは異なる情報に影響される割合が高く、所定の基準位置(Pulse Target)から離れたところのピーク位置は信頼性が低いためである。   Further, “all area search OFF setting after face narrow range search” is a setting in which the entire area search is not performed when there is no AF evaluation value peak in the narrow area search using face detection. In other words, the range in which the focus lens 101b is step-driven from the closest side (Near side) to the infinity side (INF side) is limited to a specific range based on a predetermined reference position (Pulse_Target) (toward the closest side) After searching for the peak of the AF evaluation value within a predetermined distance (Pulse Target-Search_Step * Search_Range_Near) and a predetermined distance toward the infinity side (limited to the range of Pulse Target + Search_Step * Search_Range_Inf) Even if there is no AF evaluation value peak, the entire area search is not performed. This is because there are few noise components in the face area at the time of direct light, so even if there is a peak slightly away from the predetermined reference position (Pulse Target), a certain degree of reliability is ensured, but at the time of backlighting This is because the ratio affected by information different from the original face contrast, such as noise components, is high, and the peak position away from the predetermined reference position (Pulse Target) is low in reliability.

なお、至近側のステップ駆動の基準値(Search_Range_Near)と無限遠側のステップ駆動の基準値(Search_Range_Inf)は、別個の値とすることができる。この場合は、至近側のサーチ範囲(Pulse Target - Search_Step * Search_Range_Near)と無限遠側のサーチ範囲(Pulse Target + Search_Step * Search_Range_Inf)をそれぞれ別個に設定できる。  Note that the reference value (Search_Range_Near) for the step drive on the near side and the reference value (Search_Range_Inf) for the step drive on the infinity side can be different values. In this case, the search range on the near side (Pulse Target-Search_Step * Search_Range_Near) and the search range on the infinity side (Pulse Target + Search_Step * Search_Range_Inf) can be set separately.

次に、図8のS43で算出されたAF領域を基準に、撮影レンズ101のAF用のサーチ範囲を設定する(S101)。なお、このサーチ範囲の大きさは、順光時とは別の値を設定できる。次に、上記サーチ範囲内で撮影レンズ101を駆動することでAF評価値を取得し(S102)、First_Filterの抽出した周波数成分から求めたAF評価値のピークを得ることができたか否かを判断し(S103)、ピークを得ることができればS105、得ることができなければS104へ移行する。   Next, an AF search range of the photographing lens 101 is set based on the AF area calculated in S43 of FIG. 8 (S101). Note that the size of the search range can be set to a value different from that during direct light. Next, the AF evaluation value is acquired by driving the photographing lens 101 within the search range (S102), and it is determined whether or not the peak of the AF evaluation value obtained from the frequency component extracted by First_Filter has been obtained. If the peak can be obtained (S103), the process proceeds to S105, and if not, the process proceeds to S104.

次に、Second_Filterの抽出した周波数成分から求めたAF評価値のピークを得ることができたか否かを判断し(S104)、ピークを得ることができればS105、得ることができなければS115へ移行する。   Next, it is determined whether or not the peak of the AF evaluation value obtained from the frequency component extracted by Second_Filter can be obtained (S104). If the peak can be obtained, the process proceeds to S105, and if not, the process proceeds to S115. .

そして、S103もしくはS104でAF評価値のピークが得られたときの撮影レンズ101の位置を算出し、これを仮合焦位置(Temp_pint_pulse0)とする(S105)。   Then, the position of the photographing lens 101 when the peak of the AF evaluation value is obtained in S103 or S104 is calculated, and this is set as a temporary focusing position (Temp_pint_pulse0) (S105).

次に、仮合焦位置(Temp_pint_pulse0)が、所定の基準位置(Pulse Target、任意の方法で予め設定された焦点位置であり、いわゆる置きピン)から、至近側の所定の限界距離(Backlight_Range_Near)の範囲内にあるか否か、および無限遠側の所定の限界距離(Backlight_Range_Inf)の範囲内にあるか否かを判断し(S106、S107)、至近側または無限遠側の所定の限界距離の範囲内になければ、仮合焦位置(Temp_pint_pulse0)が合焦位置としての信頼性が低いものとして、S108に移行する。仮合焦位置(Temp_pint_pulse0)が、至近側かつ無限遠側の所定の基準位置(Pulse Target)から所定の範囲内にあれば、仮合焦位置が合焦位置としての信頼性が高いものとして、S115に移行する。   Next, the temporary in-focus position (Temp_pint_pulse0) is a predetermined reference position (Pulse Target, which is a focus position set in advance by an arbitrary method, a so-called placement pin), and a predetermined limit distance (Backlight_Range_Near) on the near side. It is determined whether it is within the range and whether it is within the range of the predetermined limit distance (Backlight_Range_Inf) on the infinity side (S106, S107), and the range of the predetermined limit distance on the near side or infinity side If not, the temporary focus position (Temp_pint_pulse0) is assumed to have low reliability as the focus position, and the process proceeds to S108. If the temporary in-focus position (Temp_pint_pulse0) is within a predetermined range from the predetermined reference position (Pulse Target) on the near side and infinity side, the temporary in-focus position is considered highly reliable as the in-focus position. The process proceeds to S115.

なお、所定の基準位置(Pulse Target)の決定方法は、仮合焦位置(Temp_pint_pulse0)の算出方法と異なれば何でもよく、様々な方法が考えられる。例えば、顔領域が検出された場合は、画面内における顔の比率とズーム位置とに基づいて算出する。あるいは、顔領域が検出されなかった場合は、風景モードなど現在設定されている撮影モードおよびズーム位置に対応したデフォルト位置あるいは通常AF時のデフォルト位置をEEPROM146から読み出し、これを所定の基準位置としてもよい。あるいは、逆光判定の結果に対応した基準位置をEEPROM146から読み出してもよい。   The method for determining the predetermined reference position (Pulse Target) may be anything as long as it is different from the method for calculating the temporary in-focus position (Temp_pint_pulse0), and various methods are conceivable. For example, when a face area is detected, the calculation is performed based on the ratio of the face in the screen and the zoom position. Alternatively, if no face area is detected, the default position corresponding to the currently set shooting mode such as landscape mode and the zoom position or the default position during normal AF is read from the EEPROM 146, and this is used as a predetermined reference position. Good. Alternatively, the reference position corresponding to the result of the backlight determination may be read from the EEPROM 146.

また、至近側の限界距離の基準値(Backlight_Range_Near)と無限遠側の限界距離の基準値(Backlight_Range_Inf)は、別個の値とすることができる。例えば、風景モードなどの遠距離撮影シーンでは無限遠側に合焦位置があり、人物モード(あるいは顔検出時)やマクロ撮影モードなどの近距離撮影シーンでは至近側に合焦位置があり、撮影シーンによって合焦位置の存在が想定される範囲が広くなったり狭くなったり、あるいは至近側・無限遠側に偏るなど、撮影シーンによって変わる。そこで例えば、人物モードや顔検出時には、無限遠側の限界距離の基準値(Backlight_Range_Inf)の値を至近側の限界距離の基準値(Backlight_Range_Near)よりも小さくして、意図した被写体よりも後ろにピントが合う(いわゆる後ピン)のを防止することができる。   Further, the reference value of the limit distance on the near side (Backlight_Range_Near) and the reference value of the limit distance on the infinity side (Backlight_Range_Inf) can be different values. For example, in a long distance shooting scene such as landscape mode, the focus position is on the infinity side, and in a short distance shooting scene such as portrait mode (or face detection) or macro shooting mode, the focus position is on the close side. Depending on the scene, the range in which the in-focus position is assumed widens or narrows, or is biased toward the close side or the infinity side. Therefore, for example, in portrait mode and face detection, the limit value reference value (Backlight_Range_Inf) on the infinity side is made smaller than the reference value (Backlight_Range_Near) on the closest distance side, and the subject is focused behind the intended subject. (So-called rear pin) can be prevented.

至近側の限界距離の基準値(Backlight_Range_Near)と無限遠側の限界距離の基準値(Backlight_Range_Inf)を別個に設定できない場合は、基準位置を撮影シーンの判別結果に応じて変化させてもよい。   When the reference value of the limit distance on the near side (Backlight_Range_Near) and the reference value of the limit distance on the infinity side (Backlight_Range_Inf) cannot be set separately, the reference position may be changed according to the discrimination result of the shooting scene.

S108では、逆光用に特化したAF動作を行う旨のフラグ「1」がEEPROM146に記憶されているか否かを判断する。フラグ「1」が記憶されていればS109、フラグ「0」が記憶されていればS114に移行する。   In S <b> 108, it is determined whether or not a flag “1” indicating that an AF operation specialized for backlighting is performed is stored in the EEPROM 146. If the flag “1” is stored, the process proceeds to S109, and if the flag “0” is stored, the process proceeds to S114.

S109〜113は、逆光用に特化したAF動作である。ここでは、特願2006−046123号の段落0196以降において開示されたようなAF領域拡大処理により、顔領域を基準にして胴体方向にAF領域を拡大し、拡大により得ることができた領域(拡大領域)から元の顔領域や首、足などの所定エリアを差し引いて残った領域を胸領域とし、これを顔領域とは独立別個の新たなAF領域とし(S109)、S110に移行する。ただし、拡大領域そのものを新たなAF領域としてもよい。   S109 to 113 are AF operations specialized for backlighting. Here, the AF area is enlarged in the body direction with reference to the face area by AF area enlargement processing as disclosed in paragraph 0196 and later of Japanese Patent Application No. 2006-046123, and an area (enlarged) that can be obtained by enlargement. The area remaining after subtracting the original face area and the predetermined areas such as the neck and feet from the area is defined as a chest area, which is defined as a new AF area independent of the face area (S109), and the process proceeds to S110. However, the enlarged area itself may be a new AF area.

図13にAF領域拡大処理の内容を概念的に示す。この処理は、顔情報に含まれる顔の傾きに応じ、AF領域を、所定の大きさに至るまで、顔から胴体に向かう方向に、所定の増分により順次拡大していく。図13(a)は、顔の傾きが0度である場合、AF領域を垂直下方に、顔領域の5倍の大きさに至るまで、顔領域と同じ大きさの増分で順次拡大する様子を示す。図13(b)は、顔の傾きが90度である場合、AF領域を水平左方に、顔エリアの6倍の大きさに至るまで、顔領域と同じ大きさの増分で順次拡大する様子を示す。図13(c)は、顔の傾きが180度である場合、AF領域を垂直上方に、顔エリアの5倍の大きさに至るまで、顔領域と同じ大きさの増分で順次拡大する様子を示す。図13(d)は、顔の傾きが270度である場合、AF領域を水平右方に、顔エリアの6倍の大きさに至るまで、顔領域と同じ大きさの増分で順次拡大する様子を示す。   FIG. 13 conceptually shows the contents of the AF area expansion processing. In this process, the AF area is sequentially enlarged by a predetermined increment in the direction from the face to the body until reaching a predetermined size in accordance with the inclination of the face included in the face information. FIG. 13 (a) shows a state in which when the tilt of the face is 0 degree, the AF area is vertically enlarged in the same downward increment to the size of the face area up to 5 times the size of the face area. Show. FIG. 13B shows that when the tilt of the face is 90 degrees, the AF area is sequentially enlarged to the left in the same size increment as the face area up to 6 times the size of the face area. Indicates. FIG. 13 (c) shows a state in which when the tilt of the face is 180 degrees, the AF area is vertically enlarged in the same size increment as the face area up to 5 times the size of the face area. Show. FIG. 13D shows that when the tilt of the face is 270 degrees, the AF area is sequentially enlarged to the right in the same size increment as the face area until it reaches 6 times the size of the face area. Indicates.

顔検出を使ったAFの基本は、顔領域を基準に決定したAF領域からAF評価値を求めてピーク点を探索するスポットAFで行われる。しかし実際は、顔領域のAF評価値のピークが小さく合焦位置が求まらない場合も存在する。このような場合、AF領域拡大処理を用いて得られたAF領域を用いる。   The basics of AF using face detection are performed by spot AF that searches for a peak point by obtaining an AF evaluation value from an AF area determined based on the face area. However, in reality, there are cases where the AF evaluation value peak of the face area is small and the in-focus position cannot be obtained. In such a case, the AF area obtained using the AF area enlargement process is used.

S110では、画像中の胸領域を基準に、撮影レンズ101のAF用のサーチ範囲を設定してAF評価値を取得し、First_Filterの抽出したデータから算出されたAF評価値のピークを得ることができたか否かを判断し、ピークを得ることができればS112、得ることができなければS111へ移行する。   In S110, an AF evaluation value is obtained by setting an AF search range of the photographing lens 101 with reference to the chest region in the image, and a peak of the AF evaluation value calculated from the data extracted by First_Filter is obtained. It is determined whether or not it has been completed, and if a peak can be obtained, the process proceeds to S112, and if it cannot be obtained, the process proceeds to S111.

S111では、画像中の胸領域範囲を基準に、撮影レンズ101のAF用のサーチ範囲を設定してAF評価値を取得し、Second_Filterの抽出したデータから算出されたAF評価値のピークを得ることができたか否かを判断し、ピークを得ることができればS112、得ることができなければS120へ移行する。   In S111, an AF evaluation value is obtained by setting an AF search range of the photographing lens 101 based on the chest region range in the image, and a peak of the AF evaluation value calculated from the data extracted by Second_Filter is obtained. The process proceeds to S112 if a peak can be obtained, and to S120 if a peak cannot be obtained.

S112では、S110またはS111で、AF評価値のピークが得られたときの撮影レンズ101の位置を算出し、これを仮合焦位置(Temp_pint_pulse2)とする。   In S112, the position of the photographing lens 101 when the peak of the AF evaluation value is obtained in S110 or S111 is calculated, and this is set as a temporary focusing position (Temp_pint_pulse2).

S113では、2つの仮合焦位置の差の絶対値|Temp_pint_pulse0-Temp_pint_pulse2|が、所定の許容閾値未満であるか否かを判断する。上記絶対値が所定の許容閾値未満である場合はS114、許容閾値未満でない場合はS119に移行する。  In S113, it is determined whether or not the absolute value | Temp_pint_pulse0-Temp_pint_pulse2 | of the difference between the two temporary in-focus positions is less than a predetermined allowable threshold value. If the absolute value is less than the predetermined allowable threshold, the process proceeds to S114. If not, the process proceeds to S119.

S114では、仮合焦位置(Temp_pint_pulse0)が最終的な合焦位置としての信頼性が高いものとして、撮影レンズ101を仮合焦位置(Temp_pint_pulse0)に移動し、ピントを合わせる。   In S114, assuming that the temporary focusing position (Temp_pint_pulse0) has high reliability as the final focusing position, the photographing lens 101 is moved to the temporary focusing position (Temp_pint_pulse0) to focus.

S115〜S118は、それぞれS109〜112の処理が「顔領域」から「胸領域」に置換された処理である。あるいは「首領域」、「腹領域」、「足領域」に置換することもできる。   S115 to S118 are processes in which the processes of S109 to 112 are respectively replaced from the “face area” to the “chest area”. Alternatively, it can be replaced with “neck region”, “abdomen region”, and “foot region”.

すなわちまずS115では、上述の拡大処理などにより胸領域が決定されたか否かを判断する。胸領域を決定することができた場合はS115、決定できない場合はS120に移行する。   That is, first, in S115, it is determined whether or not a breast region has been determined by the above-described enlargement processing or the like. If the breast region can be determined, the process proceeds to S115, and if it cannot be determined, the process proceeds to S120.

S116では、胸領域をAF領域としてFirst_Filterのデータに基づきAF評価値を算出し、このピーク点をサーチする。この結果、AF評価値のピークが存在すればS118、ピークが存在しなければS117に移行する。   In S116, an AF evaluation value is calculated based on First_Filter data using the breast region as an AF region, and this peak point is searched. As a result, if there is a peak of the AF evaluation value, the process proceeds to S118, and if there is no peak, the process proceeds to S117.

S117では、画像中の胸領域範囲内に基づいてAF評価値を取得し、Second_Filterのデータに基づくAF評価値のピークを得ることができたか否かを判断し、ピークを得ることができればS118、得ることができなければS120へ移行する。   In S117, an AF evaluation value is acquired based on the chest region range in the image, and it is determined whether or not the peak of the AF evaluation value based on the Second_Filter data can be obtained. If it cannot be obtained, the process proceeds to S120.

S118では、AF評価値のピークが得られたときの撮影レンズ101の位置を算出し、これを仮合焦位置(Temp_pint_pulse0)とする。   In S118, the position of the taking lens 101 when the peak of the AF evaluation value is obtained is calculated, and this is set as a temporary in-focus position (Temp_pint_pulse0).

S119では、仮合焦位置(Temp_pint_pulse2)が最終的な合焦位置としての信頼性が高いものとして、撮影レンズ101を仮合焦位置(Temp_pint_pulse2)に移動し、ピントを合わせる。ただし、仮合焦位置(Temp_pint_pulse2)を最終的な合焦位置とする・しないを示すフラグをEEPROM146に予め記憶させておき、仮合焦位置(Temp_pint_pulse2)を最終的な合焦位置とするフラグが記憶されているときに限って撮影レンズ101を仮合焦位置(Temp_pint_pulse2)に移動してもよい。   In S119, assuming that the temporary focusing position (Temp_pint_pulse2) has high reliability as the final focusing position, the photographing lens 101 is moved to the temporary focusing position (Temp_pint_pulse2) to focus. However, a flag indicating whether or not the temporary in-focus position (Temp_pint_pulse2) is the final in-focus position is stored in the EEPROM 146 in advance, and the temporary in-focus position (Temp_pint_pulse2) is set as the final in-focus position. The photographing lens 101 may be moved to the temporary focusing position (Temp_pint_pulse2) only when it is stored.

S120では、仮合焦位置(Temp_pint_pulse0)および仮合焦位置(Temp_pint_pulse2)のいずれも合焦位置としての信頼性が低いものとして、撮影レンズ101を所定の基準位置(Pulse Target)に移動し、ピントを合わせる。   In S120, assuming that both the temporary in-focus position (Temp_pint_pulse0) and the temporary in-focus position (Temp_pint_pulse2) have low reliability as the in-focus position, the photographic lens 101 is moved to a predetermined reference position (Pulse Target) and focused. Adjust.

以上の動作により、逆光シーンにおいても、AF領域を顔から別の人物被写体に関する領域に変えたり、あるいはフィルタの通過周波数帯域を落とすことで、可及的に合焦位置の探索を行うことができる。   With the above operation, even in a backlight scene, it is possible to search for the in-focus position as much as possible by changing the AF area from the face to an area related to another human subject, or by reducing the pass frequency band of the filter. .

なお、図14は、逆光用に特化したAF動作を行わない旨のフラグ「0」がEEPROM146に記憶された場合に対応したAF動作を含んだAF動作の流れを示す。   FIG. 14 shows the flow of the AF operation including the AF operation corresponding to the case where the flag “0” indicating that the AF operation specialized for backlighting is not performed is stored in the EEPROM 146.

この処理の概要を示すと、フォーカスレンズ101bを一定方向に微小駆動(ステップ駆動)を行うことでAF評価値を取得し(S131〜S132)。ステップ駆動の駆動量は焦点深度程度だが、焦点距離(ズーム位置)とAFサーチ時の絞り値の組み合わせで定義される。実際の駆動量は全て通常AF時の値と同じとし、EEPROM146に設定された固定値パラメータを使用する。   An outline of this process is as follows: AF evaluation values are acquired by performing minute driving (step driving) of the focus lens 101b in a certain direction (S131 to S132). The drive amount of the step drive is about the focal depth, but is defined by the combination of the focal length (zoom position) and the aperture value at the time of AF search. The actual driving amounts are all the same as the values during normal AF, and fixed value parameters set in the EEPROM 146 are used.

AFサーチの中断処理をするか否かの判断(S134)、および中断処理をする場合の判定をFirst_filterの評価値に対してのみ行うか否かの判断(S135)は、EEPROM146の設定値で決定される。   The determination as to whether or not to interrupt the AF search (S134) and the determination as to whether or not to perform the interruption process only for the evaluation value of the First_filter (S135) are determined by the setting value of the EEPROM 146. Is done.

また、顔検出利用狭範囲サーチでAF評価値のピークがなかった場合に、全域サーチを行うか否かの判断(S141)もEEPROM146の設定値で決定される。全域サーチを行う場合、サーチの開始位置をNEAR側サーチ限界にする(S149)か、あるいはINF側サーチ限界にする(S150)かの判断(S148)も、EEPROM146の設定値で設定が可能である。   In addition, when there is no AF evaluation value peak in the narrow-area search using face detection, whether or not to perform the whole area search (S141) is also determined by the set value of the EEPROM 146. When performing a global search, the determination (S148) of whether to set the search start position to the NEAR side search limit (S149) or the INF side search limit (S150) can also be set by the setting value of the EEPROM 146. .

<第2実施形態>
第1実施形態のS117では、胸領域をAF領域として、ピークを得ることができなければS120へ移行していた。
Second Embodiment
In S117 of the first embodiment, if the chest area is an AF area and a peak cannot be obtained, the process proceeds to S120.

しかし、図15に示すように、胸領域でピークが得られなければ(S117で“No”)、さらにAF領域を変化させてAF評価値の算出し直し、ピークを得るべく処理を繰り返してもよい。すなわち、胸領域以外の適当な領域、上述の拡大処理により順次得られる、腹(あるいは首や足なども可)に相当する首領域をAF領域とし、あるいは上述の拡大処理により順次拡大することで得られた拡大領域をAF領域とし(S201)、このAF領域の画像データからFirst_Filter、Second_Filterで特定の周波数成分を抽出し、これらをそれぞれ積算してAF評価値を得て、ピークが得られたか否かを判断し(S202、S203)、ピークが得られたら、仮合焦位置(Temp_pint_pulse2)を算出し(S204)、ここに合焦する(S119)。   However, as shown in FIG. 15, if a peak is not obtained in the breast region (“No” in S117), the AF evaluation value is calculated again by changing the AF region, and the process is repeated to obtain the peak. Good. That is, an appropriate region other than the chest region, and a neck region corresponding to the abdomen (or a neck, a leg, or the like) that is sequentially obtained by the above-described enlargement processing is set as an AF region, or is enlarged by the above-described enlargement processing sequentially The obtained enlarged area is set as an AF area (S201), specific frequency components are extracted from the image data of the AF area using First_Filter and Second_Filter, and these are integrated to obtain an AF evaluation value. It is determined whether or not (S202, S203), and if a peak is obtained, a temporary in-focus position (Temp_pint_pulse2) is calculated (S204) and focused here (S119).

このように、AF領域を変化させた上で、改めて2つの異なる通過周波数帯についてAF評価値を算出し直す動作を繰り返すことで、AF評価値のピークを得る可能性が増し、可及的に正確な合焦をすることができる。   In this way, by repeating the operation of recalculating the AF evaluation value for two different pass frequency bands after changing the AF area, the possibility of obtaining the peak of the AF evaluation value increases, and as much as possible. Accurate focus can be achieved.

AF領域の変更を繰り返すべき所定回数は任意である。例えば顔から、首、腹、足と3回AF領域を変化させてAF評価値を繰り返し算出し直しても、AF評価値のピークを得ることができない場合、撮影レンズ101を所定の基準位置(Pulse Target)に移動し、ピントを合わせるとよい。   The predetermined number of times to change the AF area is arbitrary. For example, if the AF evaluation value cannot be obtained even if the AF evaluation value is repeatedly calculated again by changing the AF area from the face to the neck, the abdomen, and the foot three times, the photographing lens 101 is moved to a predetermined reference position ( Move to (Pulse Target) and focus.

<第3実施形態>
第1ないし第2実施形態では逆光判定の結果に応じてAF領域を変化させていたが、逆光判定に限らず、各種の撮影シーンの判別に応じて切り替えてもよい。
<Third Embodiment>
In the first and second embodiments, the AF area is changed according to the result of the backlight determination. However, the AF area is not limited to the backlight determination, and may be switched according to the determination of various shooting scenes.

例えば、CPU20によって、モードダイヤル123で風景モードが選択されたと判定されかつ顔領域が検出された場合、AF領域を、画像を中心に所定の拡大率(例えば1.2倍)で拡大するとよい。   For example, when the CPU 20 determines that the landscape mode is selected with the mode dial 123 and a face area is detected, the AF area may be enlarged at a predetermined magnification (for example, 1.2 times) centering on the image.

あるいは、証明写真モードでは、AF領域を拡大すると後ピンの心配があるから、AF領域を拡大しない方がよい。   Alternatively, in the ID photo mode, if the AF area is enlarged, there is a concern about the back pin, so it is better not to enlarge the AF area.

20:メインCPU、20b:顔検出LSI、83:セルフタイマ回路、101:撮影レンズ、105c:セルフタイマランプ、132:CCD、134:A/D変換部、150:AF検出部、151:AE演算部   20: Main CPU, 20b: Face detection LSI, 83: Self-timer circuit, 101: Shooting lens, 105c: Self-timer lamp, 132: CCD, 134: A / D conversion unit, 150: AF detection unit, 151: AE calculation Part

Claims (9)

撮影レンズを介して被写体像を撮影素子上に結像させ、該撮影素子より得られる画像信号から所望の周波数成分をフィルタにより抽出し、抽出された周波数成分を積分して焦点評価値を算出し、該算出した焦点評価値に基づいて前記撮影レンズの合焦位置を探索する撮影装置であって、
前記フィルタから出力された信号に基づいて焦点評価値を算出するための第1の手順、および前記第1の手順とは異なる第2の手順で、それぞれ第1の仮合焦位置および第2の仮合焦位置を算出する仮合焦位置算出部と、
前記第1の仮合焦位置と前記第2の仮合焦位置との差が所定の範囲内であるか否かを判定し、前記差が前記所定の範囲内であると判定されたことに応じ、最終的な合焦位置として前記第1の仮合焦位置に前記撮影レンズを移動させる制御部と、を備え、
前記仮合焦位置出部は、前記差が前記所定の範囲内でないと判定されたことに応じ、前記第1の仮合焦位置の焦点評価値算出対象領域および前記フィルタの抽出すべき周波数成分のうち少なくともいずれか一方を変更した上、前記第1の仮合焦位置を再び算出し、
前記制御部は、再び検出された第1の仮合焦位置と前記第2の仮合焦位置との差が所定の範囲内であるか否かを判定し、前記差が前記所定の範囲内であると判定されたことに応じ、前記第1の仮合焦位置を最終的な合焦位置として前記撮影レンズを移動させる撮影装置。
A subject image is formed on a photographing element through a photographing lens, a desired frequency component is extracted from an image signal obtained from the photographing element by a filter, and a focus evaluation value is calculated by integrating the extracted frequency component. A photographing apparatus for searching for a focus position of the photographing lens based on the calculated focus evaluation value,
In the first procedure for calculating the focus evaluation value based on the signal output from the filter and the second procedure different from the first procedure, the first temporary in-focus position and the second A temporary in-focus position calculating unit for calculating a temporary in-focus position;
It is determined whether the difference between the first temporary focusing position and the second temporary focusing position is within a predetermined range, and it is determined that the difference is within the predetermined range. And a controller that moves the photographic lens to the first temporary focusing position as a final focusing position,
The temporary in-focus position calculation output unit, in response to said difference is determined to the not within a predetermined range, said first focus evaluation value calculation target region and the frequency to be extracted in the filter of the temporary in-focus position After changing at least one of the components, the first temporary focusing position is calculated again,
The control unit determines whether or not a difference between the first temporarily focused position detected again and the second temporarily focused position is within a predetermined range, and the difference is within the predetermined range. response to it is determined that the said first temporary in-focus position final focusing the photographing lens shade apparatus Taking that moves as a position.
前記制御部は、前記差が前記所定の範囲内であると判定されるまで、前記第1の仮合焦位置の再算出を繰り返す請求項に記載の撮影装置。 The imaging apparatus according to claim 1 , wherein the control unit repeats recalculation of the first temporary in-focus position until it is determined that the difference is within the predetermined range. 前記制御部は、前記第1の仮合焦位置の算出の回数が1以上の所定の回数を超えたことに応じ、所定の基準位置を最終的な合焦位置として撮影レンズを移動させる請求項に記載の撮影装置。 The control unit moves the photographing lens with a predetermined reference position as a final in-focus position when the number of times of calculation of the first temporary in-focus position exceeds a predetermined number of 1 or more. The imaging device according to 2 . 撮影シーンを判別するシーン判別部をさらに備え、
前記制御部は、前記シーン判別部によって判別された撮影シーンに基づき、前記所定の範囲または前記所定の基準位置のうち少なくとも一方を変化させる請求項1〜のいずれかに記載の撮影装置。
A scene discriminating unit for discriminating a shooting scene;
The control unit, based on the photographic scene is determined by the scene discrimination unit, imaging apparatus according to any one of claims 1 to 3, changing at least one of the predetermined range or the predetermined reference position.
前記画像信号に基づいて顔領域を検出する顔検出部と、
前記顔検出部が検出した顔領域に基づいて、首領域、胸領域、腹領域および足領域のうち少なくともいずれか1つを決定する領域決定部と、
前記焦点評価値算出対象領域は、顔領域、首領域、胸領域、腹領域および足領域ならびにこれらの全部または一部を組み合わせた領域のうちいずれか1つを含む請求項に記載の撮影装置。
A face detection unit for detecting a face region based on the image signal;
A region determination unit that determines at least one of a neck region, a chest region, an abdominal region, and a foot region based on the face region detected by the face detection unit;
The imaging apparatus according to claim 1 , wherein the focus evaluation value calculation target region includes any one of a face region, a neck region, a chest region, an abdominal region, a foot region, and a region obtained by combining all or part thereof. .
前記フィルタの抽出すべき周波数成分は、所定の第1の周波数成分から前記第1の周波数成分よりも低い所定の第2の周波数成分に切り替えられる請求項またはに記載の撮影装置。 Frequency components to be extracted in the filter, imaging apparatus according to claim 1 or 5 from the predetermined first frequency component is switched to a predetermined second frequency component lower than the first frequency component. 撮影レンズを介して被写体像を撮影素子上に結像させ、該撮影素子より得られる画像信号から所望の周波数成分をフィルタにより抽出し、抽出された周波数成分を積分して焦点評価値を算出し、該算出した焦点評価値に基づいて前記撮影レンズの合焦位置を探索する撮影装置であって、  A subject image is formed on a photographing element through a photographing lens, a desired frequency component is extracted from an image signal obtained from the photographing element by a filter, and a focus evaluation value is calculated by integrating the extracted frequency component. A photographing apparatus for searching for a focus position of the photographing lens based on the calculated focus evaluation value,
前記フィルタから出力された信号に基づいて焦点評価値を算出するための第1の手順、および前記第1の手順とは異なる第2の手順で、それぞれ第1の仮合焦位置および第2の仮合焦位置を算出する仮合焦位置算出部と、  In the first procedure for calculating the focus evaluation value based on the signal output from the filter and the second procedure different from the first procedure, the first temporary in-focus position and the second A temporary in-focus position calculating unit for calculating a temporary in-focus position;
前記第1の仮合焦位置と前記第2の仮合焦位置との差が所定の範囲内であるか否かを判定し、前記差が前記所定の範囲内であると判定されたことに応じ、最終的な合焦位置として前記第1の仮合焦位置に前記撮影レンズを移動させる制御部と、を備え、  It is determined whether the difference between the first temporary focusing position and the second temporary focusing position is within a predetermined range, and it is determined that the difference is within the predetermined range. And a controller that moves the photographic lens to the first temporary focusing position as a final focusing position,
前記制御部は、前記第1の仮合焦位置の算出の回数が1以上の所定の回数を超えたことに応じ、所定の基準位置を最終的な合焦位置として撮影レンズを移動させる撮影装置。  The control unit moves an imaging lens with a predetermined reference position as a final in-focus position when the number of times of calculation of the first temporary in-focus position exceeds a predetermined number of 1 or more. .
撮影レンズを介して被写体像を撮影素子上に結像させ、該撮影素子より得られる画像信号から所望の周波数成分をフィルタにより抽出し、抽出された周波数成分を積分して焦点評価値を算出し、該算出した焦点評価値に基づいて前記撮影レンズの合焦位置を探索する合焦位置探索方法であって、
前記フィルタから出力された信号に基づいて焦点評価値を算出するための第1の手順、および前記第1の手順とは異なる第2の手順で、それぞれ第1の仮合焦位置および第2の仮合焦位置を算出するステップと、
前記第1の仮合焦位置と前記第2の仮合焦位置との差が所定の範囲内であるか否かを判定し、前記差が前記所定の範囲内であると判定されたことに応じ、最終的な合焦位置として前記第1の仮合焦位置に前記撮影レンズを移動させるステップと、
前記差が前記所定の範囲内でないと判定されたことに応じ、前記第1の仮合焦位置の焦点評価値算出対象領域および前記フィルタの抽出すべき周波数成分のうち少なくともいずれか一方を変更した上、前記第1の仮合焦位置を再び算出するステップと、
再び検出された第1の仮合焦位置と前記第2の仮合焦位置との差が所定の範囲内であるか否かを判定し、前記差が前記所定の範囲内であると判定されたことに応じ、前記第1の仮合焦位置を最終的な合焦位置として前記撮影レンズを移動させるステップと、
を備える合焦位置探索方法。
A subject image is formed on a photographing element through a photographing lens, a desired frequency component is extracted from an image signal obtained from the photographing element by a filter, and a focus evaluation value is calculated by integrating the extracted frequency component. A focus position search method for searching for a focus position of the photographing lens based on the calculated focus evaluation value,
In the first procedure for calculating the focus evaluation value based on the signal output from the filter and the second procedure different from the first procedure, the first temporary in-focus position and the second Calculating a temporary in-focus position;
It is determined whether the difference between the first temporary focusing position and the second temporary focusing position is within a predetermined range, and it is determined that the difference is within the predetermined range. Accordingly, the step of moving the photographic lens to the first temporary focusing position as the final focusing position;
When it is determined that the difference is not within the predetermined range, at least one of the focus evaluation value calculation target region at the first temporary focusing position and the frequency component to be extracted by the filter is changed. Calculating the first temporary focusing position again;
It is determined whether or not the difference between the first temporarily focused position detected again and the second temporarily focused position is within a predetermined range, and it is determined that the difference is within the predetermined range. In response, the step of moving the photographic lens with the first temporary focus position as the final focus position;
An in-focus position search method comprising:
撮影レンズを介して被写体像を撮影素子上に結像させ、該撮影素子より得られる画像信号から所望の周波数成分をフィルタにより抽出し、抽出された周波数成分を積分して焦点評価値を算出し、該算出した焦点評価値に基づいて前記撮影レンズの合焦位置を探索する合焦位置探索方法であって、  A subject image is formed on a photographing element through a photographing lens, a desired frequency component is extracted from an image signal obtained from the photographing element by a filter, and a focus evaluation value is calculated by integrating the extracted frequency component. A focus position search method for searching for a focus position of the photographing lens based on the calculated focus evaluation value,
前記フィルタから出力された信号に基づいて焦点評価値を算出するための第1の手順、および前記第1の手順とは異なる第2の手順で、それぞれ第1の仮合焦位置および第2の仮合焦位置を算出するステップと、  In the first procedure for calculating the focus evaluation value based on the signal output from the filter and the second procedure different from the first procedure, the first temporary in-focus position and the second Calculating a temporary in-focus position;
前記第1の仮合焦位置と前記第2の仮合焦位置との差が所定の範囲内であるか否かを判定し、前記差が前記所定の範囲内であると判定されたことに応じ、最終的な合焦位置として前記第1の仮合焦位置に前記撮影レンズを移動させるステップと、  It is determined whether the difference between the first temporary focusing position and the second temporary focusing position is within a predetermined range, and it is determined that the difference is within the predetermined range. Accordingly, the step of moving the photographic lens to the first temporary focusing position as the final focusing position;
前記第1の仮合焦位置の算出の回数が1以上の所定の回数を超えたことに応じ、所定の基準位置を最終的な合焦位置として撮影レンズを移動させるステップと、  Moving the photographic lens with a predetermined reference position as a final in-focus position in response to the number of calculations of the first temporary in-focus position exceeding a predetermined number of 1 or more;
を備える合焦位置探索方法。  An in-focus position search method comprising:
JP2011155039A 2011-07-13 2011-07-13 Imaging apparatus and in-focus position search method Expired - Fee Related JP5134116B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011155039A JP5134116B2 (en) 2011-07-13 2011-07-13 Imaging apparatus and in-focus position search method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011155039A JP5134116B2 (en) 2011-07-13 2011-07-13 Imaging apparatus and in-focus position search method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2006221630A Division JP4943769B2 (en) 2006-08-15 2006-08-15 Imaging apparatus and in-focus position search method

Publications (2)

Publication Number Publication Date
JP2011253193A JP2011253193A (en) 2011-12-15
JP5134116B2 true JP5134116B2 (en) 2013-01-30

Family

ID=45417124

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011155039A Expired - Fee Related JP5134116B2 (en) 2011-07-13 2011-07-13 Imaging apparatus and in-focus position search method

Country Status (1)

Country Link
JP (1) JP5134116B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5991755B2 (en) * 2012-11-16 2016-09-14 キヤノン株式会社 Automatic focus detection apparatus and control method thereof
JP6568448B2 (en) 2015-10-09 2019-08-28 キヤノン株式会社 Automatic focusing apparatus, control method therefor, and imaging apparatus
JP7130521B2 (en) * 2018-10-18 2022-09-05 キヤノン株式会社 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD AND PROGRAM

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2808609B2 (en) * 1988-09-12 1998-10-08 株式会社ニコン Auto focus camera
JP3760658B2 (en) * 1999-03-05 2006-03-29 オムロン株式会社 Light guide, display device, and optical communication device
JP2006047439A (en) * 2004-08-02 2006-02-16 Fuji Photo Film Co Ltd Digital still camera and its control method

Also Published As

Publication number Publication date
JP2011253193A (en) 2011-12-15

Similar Documents

Publication Publication Date Title
JP4943769B2 (en) Imaging apparatus and in-focus position search method
JP4683339B2 (en) Image trimming device
JP4654974B2 (en) Imaging apparatus and imaging method
JP4661413B2 (en) Imaging apparatus, number of shots management method and number of shots management program
JP4626425B2 (en) Imaging apparatus, imaging method, and imaging program
US8111315B2 (en) Imaging device and imaging control method that detects and displays composition information
KR20090098197A (en) Digital photographing apparatus to control flash lighting, controlling method for the same, and recording medium which records the program for carrying the same method
US9264611B2 (en) Image-pickup apparatus, its control method, and storage medium
JP4683228B2 (en) Image display device, photographing device, image display method and program
JP2005184508A (en) Imaging device and control method therefor
JP2008131094A (en) Imaging apparatus and method
JP4623299B2 (en) Imaging apparatus and imaging method
US20070268397A1 (en) Image pickup apparatus and image pickup control method
JP5134116B2 (en) Imaging apparatus and in-focus position search method
JP2007104108A (en) Imaging apparatus, emission luminance control method and program
JP2008022280A (en) Imaging apparatus, method, and program
JP4697604B2 (en) Imaging apparatus and imaging control method
JP2007274598A (en) Imaging apparatus and photographing condition display method
JP4534253B2 (en) Imaging device
JP2008129082A (en) Image taking device and light emission control method
JP2007178453A (en) Imaging apparatus and imaging method
JP2008005034A (en) System and method for setting photographic conditions, photographing condition providing server, and photographic device
JP2006352252A (en) Image recorder, image recording/reproducing method and program
JP2007295390A (en) Imaging apparatus, and warning method
JP2012252163A (en) Electronic apparatus and program

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120824

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121010

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

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

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

Free format text: PAYMENT UNTIL: 20151116

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5134116

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

LAPS Cancellation because of no payment of annual fees