JP2006030984A - Image-taking apparatus and focusing method - Google Patents

Image-taking apparatus and focusing method Download PDF

Info

Publication number
JP2006030984A
JP2006030984A JP2005175371A JP2005175371A JP2006030984A JP 2006030984 A JP2006030984 A JP 2006030984A JP 2005175371 A JP2005175371 A JP 2005175371A JP 2005175371 A JP2005175371 A JP 2005175371A JP 2006030984 A JP2006030984 A JP 2006030984A
Authority
JP
Japan
Prior art keywords
subject
focus
focus detection
distance
screen
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.)
Granted
Application number
JP2005175371A
Other languages
Japanese (ja)
Other versions
JP4850442B2 (en
Inventor
Kimita Terayama
公太 寺山
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2005175371A priority Critical patent/JP4850442B2/en
Publication of JP2006030984A publication Critical patent/JP2006030984A/en
Application granted granted Critical
Publication of JP4850442B2 publication Critical patent/JP4850442B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image-taking apparatus which is capable of effectively reducing the influence of the one-side blur by an excellent automatic focusing function. <P>SOLUTION: The image-taking apparatus comprises a focus detector 105, which detects the focus state of a plurality of focus detection areas 11 to 19 provided in an image-taking screen, and a selector 115, which selects a focus target area from a plurality of focus detection areas based on the detection result of the focus detector, an image-taking lens 101 being focused on an object in the focus target area. In a case where a first object distance to a first object is longer than a first predetermined distance and a second object distance to a second object, which exists on an outer side of the first object in the image-taking screen, is shorter than the first object distance by a second predetermined distance or more, the selector selects the focus detection area corresponding to the second object as the focus target area. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、複数の焦点検出領域のうち選択された焦点検出領域に対して合焦制御が可能なる撮影装置に関する。   The present invention relates to an imaging apparatus capable of controlling focusing on a focus detection area selected from a plurality of focus detection areas.

近年のデジタルカメラの普及に伴い、自動焦点調節(AF)機能の向上による画質の向上が益々要求されている。従来のAF装置は、撮像素子に結像した被写体像の輝度信号の高周波成分が最大となるフォーカスレンズ位置を合焦位置として焦点調節を行うコントラスト検出方式を一般的に採用している。また、撮影画面の中央に被写体が存在しない場合においても合焦可能となるように撮影画面内に複数の焦点検出領域を設け、合焦状態が得られた複数の焦点検出領域のうち最至近の被写体距離に対応する焦点検出領域に対して焦点調節を行うカメラも知られている。 With the spread of digital cameras in recent years, there has been an increasing demand for improvement in image quality by improving an automatic focus adjustment (AF) function. Conventional AF apparatuses generally employ a contrast detection method that performs focus adjustment with a focus lens position where the high-frequency component of the luminance signal of the subject image formed on the image sensor is maximized as the focus position. In addition, a plurality of focus detection areas are provided in the shooting screen so that focusing is possible even when no subject exists in the center of the shooting screen, and the closest focus detection area in which the in-focus state is obtained is the closest. A camera that performs focus adjustment on a focus detection region corresponding to the subject distance is also known.

しかし、組立誤差等によって撮影レンズと撮像素子の傾きや中心ずれ、あるいは撮影レンズを構成するレンズ群の傾きなどが発生すると、焦点検出精度が悪化する。そして、精度の低い焦点検出情報に基づいてAFを行うことはいわゆる片ぼけの原因となる。片ぼけとは、撮影画面の片側はピントが合っているが、その反対側あるいは画面中央でピントが合っていない状態をいう。   However, the focus detection accuracy deteriorates when an inclination or a center shift of the photographing lens and the image sensor or an inclination of a lens group constituting the photographing lens occurs due to an assembly error or the like. And performing AF based on focus detection information with low accuracy causes so-called blurring. One side of the shooting screen is in focus, but the other side or the center of the screen is not in focus.

かかる問題に対して、例えば特許文献1には、複数の焦点検出領域で合焦状態が得られた被写体距離(以下、合焦距離という)間の偏差情報を基準偏差と比較し、該偏差情報が基準偏差を超えるか否かに応じて焦点調節制御を変更するカメラが開示されている。該公報によれば、各焦点検出領域での合焦距離がほぼ同じあれば、片ぼけの影響を低減するため、画面中央の焦点検出領域に対して焦点調節を行う。
特開2003−222787号公報特開号公報(段落、図等)
To deal with such a problem, for example, Patent Document 1 compares deviation information between subject distances (hereinafter referred to as in-focus distances) at which in-focus states are obtained in a plurality of focus detection areas with reference deviations, and the deviation information. A camera is disclosed that changes focus adjustment control depending on whether or not exceeds a reference deviation. According to this publication, if the focus distances in the focus detection areas are substantially the same, focus adjustment is performed on the focus detection area at the center of the screen in order to reduce the influence of blurring.
Japanese Patent Laid-Open No. 2003-222787 (Japanese Patent Laid-Open No. 2003-222787)

しかし、上記特許文献1にて開示のカメラでは、画面中央以外の被写体に対しては合焦を得にくく、またほぼ等距離な被写体に対して焦点調節を行うために大きなぼけが発生することはないが、ベストピント状態を得にくいという問題がある。   However, in the camera disclosed in Patent Document 1, it is difficult to obtain a focus on a subject other than the center of the screen, and a large blur occurs because focus adjustment is performed on a subject that is substantially equidistant. There is a problem that it is difficult to obtain the best focus state.

例えば、図7に示すようなシーンにおいて、テーブルの左右に位置する人物P1,P2とテーブルT越しの電気スタンドSとに対応する合焦距離間の偏差が所定偏差以内であれば、画面中央のテーブル越しの電気スタンドに焦点調節することになる。ほぼ等距離であるとはいえ人物についてはベストピントにはならない。また、風景などの遠景の撮影では撮影画面全体が遠距離となり、被写界深度が深くなるためにほぼ平面被写体と見なすことができるため、片ぼけの影響を特に受けやすい。   For example, in the scene as shown in FIG. 7, if the deviation between the in-focus distances corresponding to the persons P1, P2 located on the left and right of the table and the table lamp S over the table T is within a predetermined deviation, the table at the center of the screen The focus will be adjusted to the desk lamp. Although it is almost equidistant, it is not the best focus for people. In addition, when photographing a distant view such as a landscape, the entire photographing screen becomes a long distance and the depth of field becomes deep, so that it can be regarded as a substantially flat subject, and thus is particularly susceptible to blurring.

本発明は、優れた自動焦点調節機能により片ぼけの影響を効果的に低減することができる撮影装置および焦点調節方法を提供することを例示的目的とする。   An object of the present invention is to provide a photographing apparatus and a focus adjustment method capable of effectively reducing the influence of blurring by an excellent automatic focus adjustment function.

本発明の一側面としての撮影装置は、撮影画面内に設けられた複数の焦点検出領域での焦点状態を検出する焦点検出手段と、該複数の焦点検出領域のうち、焦点検出手段による検出結果に基づいて撮影レンズを合焦させる合焦目標領域を選択する選択手段とを有する。そして、選択手段は、第1の被写体までの第1の被写体距離が第1の所定距離より遠く、かつ該第1の被写体よりも撮影画面上で外側に存在する第2の被写体までの第2の被写体距離が第1の被写体距離よりも第2の所定距離以上近いときは、第2の被写体に対応する焦点検出領域を合焦目標領域として選択することを特徴とする。   An imaging apparatus according to one aspect of the present invention includes a focus detection unit that detects a focus state in a plurality of focus detection areas provided in a shooting screen, and a detection result by the focus detection unit among the plurality of focus detection areas. Selection means for selecting a focus target area for focusing the photographic lens based on the above. Then, the selection means has a second subject up to the second subject that has a first subject distance to the first subject that is farther than the first predetermined distance and that is present outside the first subject on the shooting screen. When the subject distance is closer to the second predetermined distance than the first subject distance, the focus detection area corresponding to the second subject is selected as the focusing target area.

また、本発明の他の側面としての撮影装置は、撮影画面内に設けられた複数の画像領域での焦点状態を検出する焦点検出手段と、該複数の画像領域のうち、該焦点検出手段による検出結果に基づいて撮影レンズを合焦させる合焦目標領域を選択する選択手段とを有する。そして、選択手段は、撮影画面における第1の画面領域に表示される第1の被写体までの第1の被写体距離が第1の所定距離より遠く、かつ該第1の被写体よりも撮影画面上で外側の第2の画面領域に表示される第2の被写体までの第2の被写体距離が第1の被写体距離よりも第2の所定距離以上近いときは、第2の被写体に対応する画像領域を合焦目標領域として選択する。   An imaging apparatus according to another aspect of the present invention includes a focus detection unit that detects a focus state in a plurality of image areas provided in a shooting screen, and the focus detection unit among the plurality of image areas. Selection means for selecting a focus target area for focusing the photographing lens based on the detection result. Then, the selection means has a first subject distance to the first subject displayed in the first screen area on the photographing screen that is farther than the first predetermined distance, and on the photographing screen than the first subject. When the second subject distance to the second subject displayed on the outer second screen region is closer than the first subject distance by a second predetermined distance or more, the image region corresponding to the second subject is displayed. Select as the focus target area.

また、本発明の他の側面としての焦点調節方法は、撮影画面内に設けられた複数の焦点検出領域での焦点状態を検出する焦点検出ステップと、該複数の焦点検出領域のうち、焦点検出ステップによる検出結果に基づいて撮影レンズを合焦させる合焦目標領域を選択する選択ステップとを有する。そして、選択ステップにおいて、第1の被写体までの第1の被写体距離が第1の所定距離より遠く、かつ該第1の被写体よりも撮影画面上で外側に存在する第2の被写体までの第2の被写体距離が第1の被写体距離よりも第2の所定距離以上近いときは、第2の被写体に対応する焦点検出領域を合焦目標領域として選択することを特徴とする。   According to another aspect of the present invention, a focus adjustment method includes a focus detection step for detecting a focus state in a plurality of focus detection areas provided in a shooting screen, and focus detection among the focus detection areas. And a selection step of selecting a focus target area for focusing the photographic lens based on the detection result of the step. Then, in the selection step, the second subject to the second subject that has a first subject distance to the first subject that is farther than the first predetermined distance and that is outside the first subject on the shooting screen. When the subject distance is closer to the second predetermined distance than the first subject distance, the focus detection area corresponding to the second subject is selected as the focusing target area.

さらに、本発明の他の側面としての焦点調節方法は、撮影画面内に設けられた複数の画像領域での焦点状態を検出する焦点検出ステップと、該複数の画像領域のうち、焦点検出ステップによる検出結果に基づいて撮影レンズを合焦させる合焦目標領域を選択する選択ステップとを有する。そして、選択ステップにおいて、撮影画面における第1の画面領域に表示される第1の被写体までの第1の被写体距離が第1の所定距離より遠く、かつ該第1の被写体よりも撮影画面上で外側の第2の画面領域に表示される第2の被写体までの第2の被写体距離が第1の被写体距離よりも第2の所定距離以上近いときは、第2の被写体に対応する画像領域を合焦目標領域として選択することを特徴とする。   Furthermore, a focus adjustment method according to another aspect of the present invention includes a focus detection step for detecting a focus state in a plurality of image areas provided in a shooting screen, and a focus detection step among the plurality of image areas. And a selection step of selecting a focus target area for focusing the photographic lens based on the detection result. Then, in the selection step, the first subject distance to the first subject displayed in the first screen area on the photographing screen is longer than the first predetermined distance and on the photographing screen than the first subject. When the second subject distance to the second subject displayed on the outer second screen region is closer than the first subject distance by a second predetermined distance or more, the image region corresponding to the second subject is displayed. It selects as a focusing target area | region, It is characterized by the above-mentioned.

本発明によれば、優れた自動焦点調節機能により、片ぼけの影響を効果的に低減することができる。   According to the present invention, it is possible to effectively reduce the influence of blurring by an excellent automatic focus adjustment function.

以下、図面を参照しながら本発明の好ましい実施例について説明する。   Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings.

図1Aには、本発明の一実施例である電子カメラ100の構成を示している。電子カメラ100は、撮影レンズ101、絞り及びシャッター102、自動露出(AE)処理部103、フォーカスレンズ104、AF処理部(駆動器)105、フラッシュ106、フラッシュ処理部107、撮像素子(CCDセンサやCMOSセンサにより構成される)108、A/D変換部109、画像処理部110、ホワイトバランス処理部111、フォーマット変換部112、DRAM113、画像処理部114、システム制御部(焦点検出器、選択器および距離算出器)115、VRAM116、操作表示部117、操作部118、姿勢検出センサ119、メインスイッチ(SW)120、モードSW121、122及び123がそれぞれ付された第1ストロークスイッチSW1及び第2ストロークスイッチSW2を有する。   FIG. 1A shows a configuration of an electronic camera 100 that is an embodiment of the present invention. The electronic camera 100 includes a photographing lens 101, an aperture and shutter 102, an automatic exposure (AE) processing unit 103, a focus lens 104, an AF processing unit (driver) 105, a flash 106, a flash processing unit 107, an image sensor (a CCD sensor, 108, A / D converter 109, image processor 110, white balance processor 111, format converter 112, DRAM 113, image processor 114, system controller (focus detector, selector and (Distance calculator) 115, VRAM 116, operation display unit 117, operation unit 118, attitude detection sensor 119, main switch (SW) 120, first stroke switch SW1 and second stroke switch with modes SW 121, 122, and 123, respectively. It has SW2.

撮影レンズ101はズーム機構を含み、被写体像を撮像素子108に結像させる。絞り及びシャッター102は光量を制御する。自動露出(AE)処理部103は、被写体の明るさを判断して自動的に露出を決定する。フォーカスレンズ104は撮像素子108上にピントを合わせる。図1に示すフォーカスレンズ104は、不図示の駆動部(ステッピングモータ等)とその駆動量を検出するフォトインタラプタ等の検出器(位置検出器)104aを備えている。   The photographing lens 101 includes a zoom mechanism, and forms a subject image on the image sensor 108. The aperture and shutter 102 controls the amount of light. The automatic exposure (AE) processing unit 103 determines the exposure automatically by determining the brightness of the subject. The focus lens 104 focuses on the image sensor 108. The focus lens 104 shown in FIG. 1 includes a drive unit (stepping motor or the like) (not shown) and a detector (position detector) 104a such as a photo interrupter that detects the drive amount.

AF処理部105は、自動的にピントを合わせる機能を有し、TTL(スルー・ザ・レンズ)方式と、撮像素子108上のコントラストを示す信号の高周波成分を用いて焦点状態を検出するコントラスト検出方式を使用する。撮像素子108は被写体からの反射光を電気信号に変換する受光手段又は光電変換手段として機能する。A/D変換部109は、アナログデータをデジタルデータに変換する機能を有し、撮像素子108の出力ノイズを除去する相関二重サンプリング(CDS)回路やA/D変換前に行う非線形増幅回路を含む。   The AF processing unit 105 has a function of automatically focusing, and a contrast detection that detects a focus state using a TTL (through-the-lens) method and a high-frequency component of a signal indicating contrast on the image sensor 108. Use the method. The image sensor 108 functions as a light receiving unit or a photoelectric conversion unit that converts reflected light from the subject into an electrical signal. The A / D conversion unit 109 has a function of converting analog data into digital data, and includes a correlated double sampling (CDS) circuit that removes output noise of the image sensor 108 and a non-linear amplification circuit that is performed before A / D conversion. Including.

画像処理部110は、A/D変換部109からのデータに対して所定の画素補間処理や色変換処理を行う。また、画像処理部110は、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてシステム制御部115がAE処理部103、AF処理部105、EF処理部107を制御する。また、画像処理部110は、電子ズーム機能を有し、電子ズーム機能は撮像素子108入力画像から操作表示部117への表示画像への画像変換を行う。このように、電子ズームは、画像信号の一部を拡大して表示することにより、ズーム倍率を変化させる。ズームレンズを望遠端まで移動させた後、更に望遠するように指示された場合は、電子ズームにより画像信号の一部を拡大して、より高倍率のズームを実現する。   The image processing unit 110 performs predetermined pixel interpolation processing and color conversion processing on the data from the A / D conversion unit 109. The image processing unit 110 performs predetermined calculation processing using the captured image data, and the system control unit 115 controls the AE processing unit 103, the AF processing unit 105, and the EF processing unit 107 based on the obtained calculation result. Control. Further, the image processing unit 110 has an electronic zoom function, and the electronic zoom function performs image conversion from an input image of the image sensor 108 to a display image on the operation display unit 117. As described above, the electronic zoom changes the zoom magnification by enlarging and displaying a part of the image signal. When the zoom lens is moved to the telephoto end and instructed to further telephoto, a part of the image signal is enlarged by electronic zoom to realize a higher magnification zoom.

WB処理部111は、撮像した画像データに対して所定の演算処理を行い、得られた演算結果に基づいてTTL方式のAWB(オートホワイトバランス)処理を行う。フォーマット変換部112は、画像データのフォーマットをJPEGフォーマットなど、所定のフォーマットに変換する。DRAM113は、高速な内蔵メモリ(例えば、ランダムアクセスメモリなど)を含み、一時的な画像記憶手段としての高速バッファ、あるいは画像の圧縮伸張における作業用メモリなどに使用される。   The WB processing unit 111 performs predetermined calculation processing on the captured image data, and performs TTL AWB (auto white balance) processing based on the obtained calculation result. The format conversion unit 112 converts the format of the image data into a predetermined format such as a JPEG format. The DRAM 113 includes a high-speed built-in memory (for example, a random access memory) and is used as a high-speed buffer as temporary image storage means or a working memory for image compression / decompression.

画像記録部114は、半導体メモリなどの記録媒体とそのインターフェースを含む。システム制御部115は撮影シーケンスなどシステムを制御すると共に、後述する図2乃至図5に示す処理を実行する。VRAM116は画像表示用メモリとして機能する。操作表示部117は、画像表示の他、操作補助のための表示やカメラ状態の表示、撮影時には撮影画面と焦点検出領域を表示する。操作表示部117はLCD、LED、スピーカーなどを含む。   The image recording unit 114 includes a recording medium such as a semiconductor memory and its interface. The system control unit 115 controls the system such as an imaging sequence and executes processes shown in FIGS. The VRAM 116 functions as an image display memory. In addition to image display, the operation display unit 117 displays a display for assisting operations, a display of a camera state, and a shooting screen and a focus detection area during shooting. The operation display unit 117 includes an LCD, an LED, a speaker, and the like.

操作部118はカメラを外部から操作する際に使用され、例えば、カメラ100の撮影機能や画像再生時の設定などの各種設定を行うメニュースイッチ、撮影レンズ101のズーム動作を指示するズームレバー(ズーム指示手段)、撮影モードと再生モードの動作モード切替スイッチ、電子ズーム設定オン/オフスイッチなどを含む。ここで、ズームレバーは、ユーザがズーム操作を行うレバーである。ズームレバーは、映像を拡大する望遠(Tele)側と映像を縮小する広角(Wide)側に設定可能である。ズームレバーは、ズームレバーオフ、望遠オン、広角オンの3つの状態をとることができる。電子ズーム設定オン/オフスイッチは、電子ズームを使用するかどうかを設定する。電子ズーム設定がオンのときは、電子ズームの動作を行い、オフのときは電子ズーム動作を行わない。   The operation unit 118 is used when the camera is operated from the outside. For example, a menu switch for performing various settings such as a shooting function of the camera 100 and a setting at the time of image reproduction, a zoom lever (zoom for instructing a zoom operation of the shooting lens 101) Instruction means), an operation mode changeover switch between a photographing mode and a reproduction mode, an electronic zoom setting on / off switch, and the like. Here, the zoom lever is a lever on which the user performs a zoom operation. The zoom lever can be set to a telephoto (Tele) side for enlarging an image and a wide angle (Wide) side for reducing an image. The zoom lever can take three states: zoom lever off, telephoto on, and wide angle on. The electronic zoom setting on / off switch sets whether to use the electronic zoom. When the electronic zoom setting is on, the electronic zoom operation is performed. When the electronic zoom setting is off, the electronic zoom operation is not performed.

姿勢検出センサ119は、カメラ100の姿勢、すなわち、正立(横姿勢)、倒立(天地逆さ姿勢)、左傾(グリップ下姿勢)、右傾(グリップ上姿勢)、前傾(レンズ下姿勢)、後傾(レンズ上姿勢)に応じた信号を出力する。この信号によりシステム制御部115は、カメラ100の姿勢を検出することができる。また、システム制御部115は、姿勢検出センサ119による姿勢情報を基に、測光評価やAFの重み付けに変化を持たせたり、縦姿勢(左傾姿勢、右傾姿勢)で撮影を行った画像に回転処理を施して操作表示部117上に縦位置表示を行ったりすることができる。   The posture detection sensor 119 is the posture of the camera 100, that is, erect (horizontal posture), inverted (upside down posture), tilted left (grip down posture), tilted right (grip up posture), tilted forward (lens down posture), rear A signal corresponding to the tilt (post-lens posture) is output. With this signal, the system control unit 115 can detect the posture of the camera 100. Further, the system control unit 115 rotates the image obtained by changing the photometric evaluation and the AF weighting based on the posture information from the posture detection sensor 119, or shooting the image in the vertical posture (left tilt posture, right tilt posture). To display the vertical position on the operation display unit 117.

メインSW120は、システムに電源を投入するためのスイッチである。モードSW121は、プログラム、風景、人物などの撮影モードを設定するスイッチである。122が付された第1ストロークスイッチSW1は、不図示のレリーズスイッチの半押し操作によってオンし、AFやAE等の撮影スタンバイ動作を行うためのスイッチである。123が付された第2ストロークスイッチSW2は、レリーズスイッチの全半押し操作によってオンし、撮影動作(記録媒体への画像の記録動作)を開始させる撮影スイッチである。   The main SW 120 is a switch for turning on the system. A mode SW 121 is a switch for setting shooting modes such as a program, a landscape, and a person. The first stroke switch SW1 to which 122 is attached is a switch for performing a shooting standby operation such as AF or AE, which is turned on by a half-press operation of a release switch (not shown). A second stroke switch SW2 denoted by reference numeral 123 is a photographing switch that is turned on by pressing the release switch halfway and starts a photographing operation (an image recording operation on a recording medium).

図1Bには、本実施例の電子カメラ100における焦点検出領域の配置を示している。この図において、10は撮影画面(撮影画角範囲)である。該撮影画面10内には、中央に設けられた焦点検出領域11および該焦点検出領域11の左右に設けられた焦点検出領域12,13からなる中段の焦点検出領域群と、その上段および下段に3つずつ設けられた焦点検出領域群14〜19の計9つの焦点検出領域(画像領域)が設けられている。   FIG. 1B shows the arrangement of focus detection areas in the electronic camera 100 of the present embodiment. In this figure, reference numeral 10 denotes a shooting screen (shooting angle of view range). In the photographing screen 10, a focus detection area group in the middle, which includes a focus detection area 11 provided in the center and focus detection areas 12 and 13 provided on the left and right of the focus detection area 11, and upper and lower stages thereof. A total of nine focus detection areas (image areas) of the focus detection area groups 14 to 19 provided by three are provided.

以下、電子カメラ100の動作について図2を参照して説明する。ここで、図2は、電子カメラ100の動作を説明するためのフローチャートである。   Hereinafter, the operation of the electronic camera 100 will be described with reference to FIG. Here, FIG. 2 is a flowchart for explaining the operation of the electronic camera 100.

まず、システム制御部115はメインSW120がオンであるかどうかを判断する(ステップS201)。システム制御部115は、メインSW120がオンであると判断すれば(ステップS201)、次いで、画像記録部114の残容量が存在するかどうかを判断する(ステップS202)。システム制御部115は、画像記録部114の残容量が0であると判断すれば(ステップS202)、残容量が0であることを警告して(ステップS203)、ステップS201に帰還する。ステップS203では画像記録部114の警告は操作表示部117に表示するか又は図示しない音声出力部から警告音を出すか、又は、その両方を行ってもよい。   First, the system control unit 115 determines whether or not the main SW 120 is on (step S201). If the system control unit 115 determines that the main SW 120 is on (step S201), the system control unit 115 then determines whether the remaining capacity of the image recording unit 114 exists (step S202). If the system control unit 115 determines that the remaining capacity of the image recording unit 114 is 0 (step S202), the system control unit 115 warns that the remaining capacity is 0 (step S203) and returns to step S201. In step S203, the warning of the image recording unit 114 may be displayed on the operation display unit 117, a warning sound may be output from a voice output unit (not shown), or both may be performed.

システム制御部115は、画像記録部114の残容量が0でないと判断すれば(ステップS202)、ズーム動作を行う(ステップS204)。以下、図3を参照して、ステップS204のズーム動作について説明する。ここに、図3は、ズーム動作のサブルーチンのフローチャートである。   If the system control unit 115 determines that the remaining capacity of the image recording unit 114 is not 0 (step S202), the system control unit 115 performs a zoom operation (step S204). Hereinafter, the zoom operation in step S204 will be described with reference to FIG. FIG. 3 is a flowchart of the subroutine for the zoom operation.

まず、システム制御部115は、操作部118に含まれるズームレバーが望遠(Tele)側に操作されているかどうかを判断する(ステップS301)。システム制御部115は、ズームレバーが望遠側に操作されていると判断すれば(ステップS301)、撮像レンズ101のズーム位置が望遠端にあるかどうかを判断する(ステップS302)。システム制御部115は、撮像レンズ101のズーム位置が望遠端にないと判断すれば(ステップS302)、撮像レンズ101のズーム位置を望遠端に移動させ(ステップS303)、その後、ステップS301に帰還する。   First, the system control unit 115 determines whether or not the zoom lever included in the operation unit 118 is operated to the telephoto (Tele) side (step S301). If the system control unit 115 determines that the zoom lever is operated to the telephoto side (step S301), the system control unit 115 determines whether the zoom position of the imaging lens 101 is at the telephoto end (step S302). If the system control unit 115 determines that the zoom position of the imaging lens 101 is not at the telephoto end (step S302), the system control unit 115 moves the zoom position of the imaging lens 101 to the telephoto end (step S303), and then returns to step S301. .

一方、システム制御部115は、撮像レンズ101のズーム位置が望遠端にあると判断すれば(ステップS302)、画像処理部110による電子ズームが最大倍率であるかどうかを判断する(ステップS304)。システム制御部115は、画像処理部110による電子ズームが最大倍率ではないと判断すれば(ステップS304)、画像処理部110による電子ズームの倍率を上げて(ステップS305)、その後、ステップS301へ帰還する。   On the other hand, if the system control unit 115 determines that the zoom position of the imaging lens 101 is at the telephoto end (step S302), the system control unit 115 determines whether the electronic zoom performed by the image processing unit 110 is the maximum magnification (step S304). If the system control unit 115 determines that the electronic zoom by the image processing unit 110 is not the maximum magnification (step S304), the system control unit 115 increases the magnification of the electronic zoom by the image processing unit 110 (step S305), and then returns to step S301. To do.

一方、システム制御部115は、ズームレバーが望遠側に操作されていないと判断した場合(ステップS301)、若しくは、画像処理部110による電子ズームが最大倍率であると判断した場合(ステップS304)、ズームレバーが広角側に操作されているかどうかを判断する(ステップS306)。システム制御部115は、ズームレバーが広角側に操作されていると判断すれば(ステップS306)、撮像レンズ101のズーム位置が広角端にあるかどうかを判断する(ステップS307)。システム制御部115は、撮像レンズ101のズーム位置が広角端にないと判断すれば(ステップS307)、画像処理部110が電子ズームを使用しているかを判断する(ステップS308)。   On the other hand, when the system control unit 115 determines that the zoom lever is not operated to the telephoto side (step S301), or when it is determined that the electronic zoom by the image processing unit 110 is the maximum magnification (step S304). It is determined whether or not the zoom lever is operated to the wide angle side (step S306). If the system control unit 115 determines that the zoom lever is operated to the wide angle side (step S306), the system control unit 115 determines whether the zoom position of the imaging lens 101 is at the wide angle end (step S307). If the system control unit 115 determines that the zoom position of the imaging lens 101 is not at the wide-angle end (step S307), the system control unit 115 determines whether the image processing unit 110 is using the electronic zoom (step S308).

システム制御部115は、画像処理部110が電子ズームを使用していると判断すれば(ステップS308)、電子ズームの倍率を下げ(ステップS309)、その後、ステップS306に帰還する。一方、システム制御部115は、画像処理部110が電子ズームを使用していないと判断すれば(ステップS308)、撮像レンズ101のズーム位置を広角側に移動させ(ステップS310)、その後、ステップS306に帰還する。   If the system control unit 115 determines that the image processing unit 110 is using the electronic zoom (step S308), the system control unit 115 decreases the magnification of the electronic zoom (step S309), and then returns to step S306. On the other hand, if the system control unit 115 determines that the image processing unit 110 is not using the electronic zoom (step S308), the system control unit 115 moves the zoom position of the imaging lens 101 to the wide angle side (step S310), and then step S306. Return to

一方、システム制御部115は、ズームレバーが広角側に操作されていないと判断した場合(ステップS306)、若しくは、撮像レンズ101のズーム位置が広角端であると判断した場合(ステップS307)、現在の撮像レンズ101のズーム位置をシステム制御部115に内蔵される図示しない演算メモリに記憶する(ステップS311)。   On the other hand, when the system control unit 115 determines that the zoom lever is not operated to the wide angle side (step S306), or determines that the zoom position of the imaging lens 101 is at the wide angle end (step S307), The zoom position of the imaging lens 101 is stored in a calculation memory (not shown) built in the system control unit 115 (step S311).

図2に戻って、システム制御部115は、ズーム動作(ステップS204)の後に、スイッチSW1がオンであるかどうかを判断する(ステップS205)。システム制御部115は、スイッチSW1がオフであると判断すれば(ステップS205)、スイッチSW120がオンであるかどうかを判断する(ステップS206)。システム制御部115は、スイッチSW120がオンであると判断すれば(ステップS206)、ステップS204に帰還する。   Returning to FIG. 2, the system control unit 115 determines whether or not the switch SW1 is on after the zoom operation (step S204) (step S205). If the system control unit 115 determines that the switch SW1 is off (step S205), the system control unit 115 determines whether the switch SW120 is on (step S206). If the system control unit 115 determines that the switch SW120 is on (step S206), the system control unit 115 returns to step S204.

システム制御部115は、スイッチSW120がオフであると判断すれば(ステップS206)、ステップS201に帰還する。一方、システム制御部115は、スイッチSW1がオンであると判断すれば(ステップS205)、AE処理部103に対して画像処理部110の出力からAE処理を行うように命令する(ステップS207)。   If the system control unit 115 determines that the switch SW120 is off (step S206), the system control unit 115 returns to step S201. On the other hand, when determining that the switch SW1 is on (step S205), the system control unit 115 instructs the AE processing unit 103 to perform AE processing from the output of the image processing unit 110 (step S207).

次に、システム制御部115はAF動作を行う(ステップS208)。以下、図4を参照して、ステップS208のAF動作について説明する。ここに、図4は、AF動作のサブルーチンのフローチャートである。AF動作は、フォーカスレンズ104を無限端と至近端との間で駆動(スキャン)し、該スキャン中に撮像素子108から得られた信号の高周波成分(以下、「AF評価値」と記す)がピークを示した位置を合焦レンズ位置とする方式により行われる。合焦レンズ位置のスキャンは、9つの焦点検出領域11〜19のそれぞれについて行われ、距離が異なる被写体に対応した焦点検出領域では異なるフォーカスレンズ位置が合焦レンズ位置として判定される。   Next, the system control unit 115 performs an AF operation (step S208). Hereinafter, the AF operation in step S208 will be described with reference to FIG. FIG. 4 is a flowchart of an AF operation subroutine. In the AF operation, the focus lens 104 is driven (scanned) between the infinite end and the closest end, and a high-frequency component of a signal obtained from the image sensor 108 during the scan (hereinafter referred to as “AF evaluation value”). Is performed by a method in which the position where the peak shows a focus lens position. The focus lens position is scanned for each of the nine focus detection areas 11 to 19, and different focus lens positions are determined as the focus lens positions in the focus detection areas corresponding to subjects with different distances.

まず、システム制御部115は、フォーカスレンズ104をスキャン開始位置に移動する(ステップS401)。本実施例では、スキャン開始位置を無限端に設定している。スキャンを開始すると、システム制御部115は、撮影画面内に設けられた焦点検出領域毎のAF評価値とそのAF評価値が得られたフォーカスレンズ104の位置をシステム制御部115に内蔵された図示しない演算メモリに記憶する(ステップS402)。フォーカスレンズ104の位置は、フォーカスレンズ104の駆動部の駆動量を所定のリセット位置からの相対位置として検出部を介して検出する。   First, the system control unit 115 moves the focus lens 104 to the scan start position (step S401). In this embodiment, the scan start position is set to an infinite end. When the scan is started, the system control unit 115 includes the AF evaluation value for each focus detection area provided in the imaging screen and the position of the focus lens 104 from which the AF evaluation value is obtained in the system control unit 115. It stores in the calculation memory which does not (step S402). The position of the focus lens 104 is detected via the detection unit as a relative position from a predetermined reset position with the drive amount of the drive unit of the focus lens 104.

次に、システム制御部115は、フォーカスレンズ104の位置がスキャン終了位置にあるかどうかを判断する(ステップS403)。本実施例は、スキャン終了位置を至近端に設定している。システム制御部115は、フォーカスレンズ104の位置がスキャン終了位置にないと判断すれば(ステップS403)、フォーカスレンズ104を至近方向へ所定量だけ移動する(ステップS404)。   Next, the system control unit 115 determines whether or not the position of the focus lens 104 is at the scan end position (step S403). In this embodiment, the scan end position is set to the closest end. If the system control unit 115 determines that the position of the focus lens 104 is not at the scan end position (step S403), the system control unit 115 moves the focus lens 104 by a predetermined amount in the closest direction (step S404).

システム制御部115は、フォーカスレンズ104の位置がスキャン終了位置にあると判断すれば(ステップS403)、焦点検出領域毎にステップS402で記憶したAF評価値とフォーカスレンズ104の位置とから焦点検出結果の信頼度を判定する。更に、満足に足る信頼度があると判断した焦点検出領域においては、AF評価値がピークを示すフォーカスレンズ104の位置(合焦レンズ位置)を計算する(ステップS405)。例えば、システム制御部115は信頼度を式(1)に示す信頼度評価値Evalを求めることによって判定する。ここで、Vmax、Vminは、ある焦点検出領域における焦点評価値の最大値と最小値であり、kは規格化係数である。ここで、Evalの値が1以上であればその焦点検出領域での信頼度は高いと判定し(以下、○判定と記す)、1未満であればその焦点検出領域での信頼度は低い)と判定する(以下、×と記す)。○判定された焦点検出領域は、合焦が可能な焦点検出領域(合焦可能領域)である。 If the system control unit 115 determines that the position of the focus lens 104 is at the scan end position (step S403), the focus detection result is obtained from the AF evaluation value stored in step S402 and the position of the focus lens 104 for each focus detection region. Determine the reliability of. Further, in the focus detection area determined to have satisfactory reliability, the position (focus lens position) of the focus lens 104 at which the AF evaluation value exhibits a peak is calculated (step S405). For example, the system control unit 115 determines the reliability by obtaining a reliability evaluation value Eval shown in Expression (1). Here, V max and V min are the maximum and minimum focus evaluation values in a certain focus detection area, and k is a normalization coefficient. Here, if the value of E val is 1 or more, it is determined that the reliability in the focus detection region is high (hereinafter referred to as “◯” determination), and if it is less than 1, the reliability in the focus detection region is low. ) (Hereinafter referred to as x). The determined focus detection area is a focus detection area that can be focused (a focusable area).

val=k(Vmax−Vmin) …(1)
次に、システム制御部115は、焦点検出領域毎に至近端でのフォーカスレンズ104の位置でAF評価値が最大値を示しているかどうかを判定し、最大値を示していれば△判定をする(ステップS406)。△判定とは、スキャン範囲よりも至近側に被写体が存在していることを示す。
E val = k (V max −V min ) (1)
Next, the system control unit 115 determines whether or not the AF evaluation value shows the maximum value at the position of the focus lens 104 at the closest end for each focus detection area. (Step S406). Δdetermination indicates that a subject is present closer to the scan range.

次に、システム制御部115は、姿勢検出センサ119により検出されたカメラ100の姿勢が、例えば正立である場合は、撮影画面の上段および中段(第1の画面領域)の焦点検出領域11〜16に○判定の焦点検出領域があるかどうかを判断する(ステップS407)。システム制御部115は、撮影画面の上段および中段の焦点検出領域に○判定の焦点検出領域があると判断すれば(ステップS407)、撮影レンズが片ぼけ対策を行うべきズーム位置にあるかどうかを判断する(ステップS408)。これは撮影レンズの構成などによって、特定のズーム位置で片ぼけが悪化することを防止するためである。   Next, when the posture of the camera 100 detected by the posture detection sensor 119 is erect, for example, the system control unit 115 sets the focus detection regions 11 to 11 in the upper and middle (first screen region) of the shooting screen. It is determined whether or not there is a focus detection region for ◯ in FIG. 16 (step S407). If the system control unit 115 determines that there is a focus detection area for determination in the upper and middle focus detection areas of the shooting screen (step S407), the system control unit 115 determines whether or not the shooting lens is at a zoom position where anti-blurring measures should be taken. Judgment is made (step S408). This is to prevent the blurring from deteriorating at a specific zoom position depending on the configuration of the photographing lens.

システム制御部115は、片ぼけ対策を行うズーム位置にあると判断すれば(ステップS408)、中央の焦点検出領域11が○判定であり、かつ、ズーム位置の関数である第1の所定距離Yよりも該中央焦点検出領域11に対応する第1の被写体距離が遠距離であるかどうかを判断する(ステップS409)。これは撮影する画像が片ぼけの影響が大きい遠景であり、かつ中央焦点検出領域11で焦点調節を行うために必要な焦点検出結果が○判定であるかを調べるためである。ここで、被写体距離は、フォーカスレンズ104の位置が無限端に近いほど被写体までの距離は遠く、至近端に近いほど被写体までの距離が近いという関係を用いて、フォーカスレンズ104の位置の検出結果から算出することができる。   If the system control unit 115 determines that the zoom position is at the position where the anti-blurring measure is taken (step S408), the central focus detection area 11 is determined to be ◯, and the first predetermined distance Y that is a function of the zoom position. In step S409, it is determined whether the first subject distance corresponding to the central focus detection area 11 is a long distance. This is because the image to be photographed is a distant view that is greatly affected by blurring, and whether or not the focus detection result necessary for performing focus adjustment in the central focus detection region 11 is a ◯ determination. Here, the subject distance is detected using the relationship that the closer to the infinite end the closer the focus lens 104 is to the subject, the farther the subject is, and the closer the subject is to the closest end. It can be calculated from the result.

システム制御部115は、ステップS409でYESと判断すると、撮影画面の上中段の○判定された焦点検出領域のうち、中央焦点検出領域11に対応する被写体距離よりも第2の所定距離X以上至近側の被写体距離に対応した焦点検出領域があるかどうかを判断する(ステップS410)。これは、風景をバックにして記念写真などを撮影する場合を想定したものである。この場合、パンフォーカス制御あるいは人物にピントを合わせるため、バックに対応した中央焦点検出領域11に対する合焦制御は行わない。   If the system control unit 115 determines YES in step S409, the object distance corresponding to the central focus detection region 11 is closer than the subject distance corresponding to the central focus detection region 11 among the focus detection regions determined in the upper middle stage of the shooting screen. It is determined whether there is a focus detection area corresponding to the subject distance on the side (step S410). This assumes the case where a commemorative photo or the like is taken with the landscape in the background. In this case, in order to focus on the pan focus control or the person, focus control on the central focus detection area 11 corresponding to the back is not performed.

ここで、ステップS409で遠景と判断する第1の所定距離Yと、ステップS410で中央焦点検出領域に対応する被写体距離との差の基準とする第2の所定距離Xとはズーム位置の関数、すなわちズーム位置に応じて変化する値である。これは、ズーム位置により被写界深度が変化するためである。   Here, the first predetermined distance Y that is determined to be a distant view in step S409 and the second predetermined distance X that serves as a reference for the difference between the subject distance corresponding to the central focus detection area in step S410 is a function of the zoom position. That is, the value changes according to the zoom position. This is because the depth of field changes depending on the zoom position.

システム制御部115は、ステップS410でNOと判断すると、中央焦点検出領域11を、フォーカスレンズ104を駆動してピントを合わせる合焦目標領域として選択する(ステップS411)。次に、システム制御部115は、選択された中央焦点検出領域11に対応する、ステップS405で求めたAF評価値がピークとなる位置(合焦レンズ位置)へフォーカスレンズ104を駆動することにより、該中央焦点検出領域11に対する合焦制御を行う(ステップS412)。   If it is determined NO in step S410, the system control unit 115 selects the central focus detection area 11 as an in-focus target area for driving the focus lens 104 and focusing (step S411). Next, the system control unit 115 drives the focus lens 104 to a position (focusing lens position) corresponding to the selected central focus detection area 11 where the AF evaluation value obtained in step S405 reaches a peak. Focus control for the central focus detection region 11 is performed (step S412).

以下、図5を参照して、ステップS409及びS410で説明した焦点検出領域の選択についての一例を説明する。図5は、焦点検出領域の選択を説明するための概略図であり、簡単のために、焦点検出領域として撮影画面中段の中央の焦点検出領域11と、左側の焦点検出領域12と、右側の焦点検出領域13の3つのみ示している。また、図5においては、中央焦点検出領域11に対応する被写体距離A(電気スタンドSまでの距離)が第1の所定距離Yよりも遠距離である。中央焦点検出領域11が○判定である場合には、被写体距離Aよりも第2の所定距離X以上至近側の被写体距離α(人物P1までの距離)に対応する左焦点検出領域12が○判定か否かを判定する。左焦点検出領域12が○判定であれば、該左焦点検出領域12を合焦目標位置として選択してフォーカスレンズ104を駆動し、左焦点検出領域12に対する合焦制御を行う。   Hereinafter, an example of the focus detection area selection described in steps S409 and S410 will be described with reference to FIG. FIG. 5 is a schematic diagram for explaining the selection of the focus detection area. For simplicity, as the focus detection area, the center focus detection area 11 in the middle of the shooting screen, the left focus detection area 12, and the right focus detection area 12 are shown. Only three focus detection areas 13 are shown. In FIG. 5, the subject distance A (the distance to the desk lamp S) corresponding to the central focus detection area 11 is longer than the first predetermined distance Y. When the central focus detection region 11 is “good”, the left focus detection region 12 corresponding to the subject distance α (distance to the person P1) closer to the second predetermined distance X than the subject distance A is “good”. It is determined whether or not. If the left focus detection area 12 is determined as ◯, the left focus detection area 12 is selected as a focus target position, the focus lens 104 is driven, and focus control on the left focus detection area 12 is performed.

一方、左焦点検出領域12が×判定であれば、右焦点検出領域13は被写体距離Aより第2の所定距離X以上至近ではないため、中央焦点検出領域11を合焦目標位置として選択し、中央焦点検出領域11に対する合焦制御を行う。   On the other hand, if the left focus detection area 12 is x, the right focus detection area 13 is not closer than the second predetermined distance X from the subject distance A, so the center focus detection area 11 is selected as the focus target position, Focus control for the central focus detection area 11 is performed.

なお、左右の焦点検出領域12,13のいずれもが○判定であり、かつ該左右の焦点検出領域12,13に対応する被写体距離がいずれも被写体距離Aよりも第2の所定距離X以上至近側の被写体距離である場合には、これらの焦点検出領域12,13のうちより至近側の、すなわち最至近の被写体距離に対応する焦点検出領域を合焦目標領域として選択する。   It should be noted that both the left and right focus detection areas 12 and 13 are “good”, and the subject distances corresponding to the left and right focus detection areas 12 and 13 are both closer than the subject distance A by a second predetermined distance X or more. In the case of the subject distance on the side, the focus detection area corresponding to the closest object distance among these focus detection areas 12 and 13 is selected as the focus target area.

また、図4のステップS407、S410での判断対象を上段および中段の焦点検出領域としたが、これは例示であり、姿勢検出センサ119による検出結果に応じてステップS407、S410での判断対象は変更される。また、それに合わせて後述するステップS414での判断対象となる焦点検出領域も下段から変更される。   In addition, although the determination targets in steps S407 and S410 in FIG. 4 are the upper and middle focus detection areas, this is an example, and the determination targets in steps S407 and S410 are based on the detection result by the posture detection sensor 119. Be changed. In accordance with this, the focus detection area to be determined in step S414 described later is also changed from the lower stage.

図4に戻って、システム制御部115は、片ぼけ対策を行うべきズーム位置でないと判断した場合(ステップS408)、ステップS409でNOと判断した場合、又はステップ410でYESと判断した場合は、上段および中段の○判定焦点検出領域のうちステップS405で求めた合焦レンズ位置が最至近である焦点検出領域を合焦目標領域として選択する(ステップS413)。   Returning to FIG. 4, when the system control unit 115 determines that the zoom position is not to be corrected for blurring (step S <b> 408), when NO is determined in step S <b> 409, or when YES is determined in step 410, Among the upper and middle circle determination focus detection areas, the focus detection area where the focus lens position obtained in step S405 is closest is selected as the focus target area (step S413).

一方、システム制御部115は、上段および中段の焦点検出領域11〜16に○判定焦点検出領域がないと判断すれば(ステップS407)、姿勢検出センサ119により検出されたカメラ100の姿勢に応じて、下段の焦点検出領域17〜19に○判定焦点検出領域があるか否かを判断する(ステップS414)。   On the other hand, if the system control unit 115 determines that the upper and middle focus detection areas 11 to 16 do not have the o determination focus detection area (step S407), the system control unit 115 depends on the attitude of the camera 100 detected by the attitude detection sensor 119. Then, it is determined whether or not there is a circle determination focus detection region in the lower focus detection regions 17 to 19 (step S414).

下段の焦点検出領域17〜19に○判定焦点検出領域があるときは(ステップS414)、下段の○判定焦点検出領域のうちステップS405で求めた合焦レンズ位置が最至近である焦点検出領域を合焦目標領域として選択し(ステップS415)、ステップS412に移行する。   When the lower focus detection areas 17 to 19 include the o determination focus detection area (step S414), the focus detection area in which the focus lens position obtained in step S405 is closest to the lower o determination focus detection area is selected. The focus target area is selected (step S415), and the process proceeds to step S412.

一方、システム制御部115は、下段の焦点検出領域17〜19に○判定焦点検出領域がないと判断したときは(ステップS414)、下段の焦点検出領域17〜19にステップS406で△判定された焦点検出領域があるかどうかを判断する(ステップ416)。システム制御部115は、下段の焦点検出領域に△判定領域があると判断したときは(ステップS416)、至近端へフォーカスレンズ104を移動し(ステップS417)、ステップS412に移行する。   On the other hand, when the system control unit 115 determines that the lower focus detection areas 17 to 19 do not have the ○ determination focus detection area (step S414), the lower focus detection areas 17 to 19 are determined to be Δ in step S406. It is determined whether or not there is a focus detection area (step 416). When the system control unit 115 determines that there is a Δ determination region in the lower focus detection region (step S416), the system control unit 115 moves the focus lens 104 to the closest end (step S417), and proceeds to step S412.

一方、システム制御部115は、下段の焦点検出領域に△判定領域がないと判断したときは(ステップS416)、ステップS405において求めた中央焦点検出領域の信頼度評価値Evalが所定値以上であるかどうかを判断する(ステップS418)。システム制御部115は、信頼度評価値Evalが所定値以上であると判断すれば(ステップS418)、ステップS417へ移行し、所定値以上でないと判断すれば(ステップS418)、定点ととしてあらかじめ設定された位置へフォーカスレンズ104を駆動する(ステップS419)。   On the other hand, when the system control unit 115 determines that there is no Δ determination region in the lower focus detection region (step S416), the reliability evaluation value Eval of the central focus detection region obtained in step S405 is greater than or equal to a predetermined value. Whether or not (step S418). If the system control unit 115 determines that the reliability evaluation value Eval is greater than or equal to a predetermined value (step S418), the system control unit 115 proceeds to step S417, and if it is determined that the reliability evaluation value Eval is not equal to or greater than the predetermined value (step S418), it is preset as a fixed point. The focus lens 104 is driven to the set position (step S419).

再び図2に戻り、AF動作(ステップS208)の後、システム制御部115は、第2ストロークスイッチSW2がオンであるかどうかを判断する(ステップS209)。システム制御部115は、第2ストロークスイッチSW2がオフであると判断すれば(ステップS209)、第1ストロークスイッチSW1がオンであるかどうかを判断する(ステップS210)。システム制御部115は、第1ストロークスイッチSW1がオンであると判断すれば(ステップS210)、ステップS209にリターンする。システム制御部115は、第1ストロークスイッチSW1がオフであると判断すれば(ステップS210)、ステップS204にリターンする。   Returning to FIG. 2 again, after the AF operation (step S208), the system control unit 115 determines whether or not the second stroke switch SW2 is ON (step S209). If the system control unit 115 determines that the second stroke switch SW2 is off (step S209), the system control unit 115 determines whether the first stroke switch SW1 is on (step S210). If the system control unit 115 determines that the first stroke switch SW1 is on (step S210), the system control unit 115 returns to step S209. If the system control unit 115 determines that the first stroke switch SW1 is off (step S210), the system control unit 115 returns to step S204.

一方、システム制御部115は、第2ストロークスイッチSW2がオンであると判断すれば(ステップS209)、撮影動作を行う(ステップS211)。以下、図6のフローチャートを参照しながら、撮影動作(ステップS211)について説明する。ここで、図6は、撮影動作(ステップS211)のサブルーチンのフローチャートである。   On the other hand, if the system control unit 115 determines that the second stroke switch SW2 is on (step S209), the system control unit 115 performs a photographing operation (step S211). Hereinafter, the photographing operation (step S211) will be described with reference to the flowchart of FIG. Here, FIG. 6 is a flowchart of a subroutine of the photographing operation (step S211).

まず、システム制御部115は、被写体輝度を測定する(ステップS601)。次に、システム制御部115は、ステップS601で測定した被写体輝度に応じた電荷蓄積時間の制御と絞りおよびシャッター102の制御とを行って撮像素子108への露光を行う(ステップS602)。撮像素子108面上に結像された像は光電変換されてアナログ信号となり、A/D変換部109へと送られる。次に、該アナログ信号は、A/D変換部109によって、撮像素子108の出力ノイズ除去や非線形処理などの前処理の後にデジタル信号に変換される(ステップS603)。   First, the system control unit 115 measures subject brightness (step S601). Next, the system control unit 115 performs exposure on the image sensor 108 by controlling the charge accumulation time according to the subject brightness measured in step S601 and controlling the aperture and the shutter 102 (step S602). An image formed on the surface of the image sensor 108 is photoelectrically converted into an analog signal and sent to the A / D converter 109. Next, the analog signal is converted into a digital signal by the A / D conversion unit 109 after preprocessing such as output noise removal of the image sensor 108 and nonlinear processing (step S603).

次に、A/D変換部109からの出力信号をWB処理部111により画像処理部110でホワイトバランス調整し、適正な出力画像信号とする(ステップS604)。次に、出力画像信号をフォーマット変換部112でJPEGフォーマット等への画像フォーマット変換を行い、DRAM113に一時的に記憶する(ステップS605)。次に、DRAM113内のデータを画像記録部114にてカメラ内のメモリ、又はカメラ100に装着されたメモリカードなどの記録媒体へと転送して記録させる(ステップS606)。   Next, the white balance of the output signal from the A / D conversion unit 109 is adjusted by the image processing unit 110 by the WB processing unit 111 to obtain an appropriate output image signal (step S604). Next, the output image signal is converted into the JPEG format or the like by the format conversion unit 112 and temporarily stored in the DRAM 113 (step S605). Next, the data in the DRAM 113 is transferred and recorded by the image recording unit 114 to a memory in the camera or a recording medium such as a memory card attached to the camera 100 (step S606).

再び図2に戻って、システム制御部115は、画像記録部114の残容量が存在するかどうかを判断する(ステップS212)。システム制御部115は、画像記録部114の残容量が0であると判断すれば(ステップS212)、残容量が0であることを警告して(ステップS203)、ステップS201にリターンする。一方、システム制御部115は、画像記録部114の残容量が0でないと判断すれば(ステップS212)、第2ストロークスイッチSW2がオンであるかどうかを判断する(ステップS213)。システム制御部115は、第2ストロークスイッチSW2がオフであると判断すれば(ステップS213)、ステップS209にリターンする。一方、システム制御部115は、スイッチSW2がオンであると判断すればステップS213を繰り返す。   Returning to FIG. 2 again, the system control unit 115 determines whether or not the remaining capacity of the image recording unit 114 exists (step S212). If the system control unit 115 determines that the remaining capacity of the image recording unit 114 is 0 (step S212), the system control unit 115 warns that the remaining capacity is 0 (step S203) and returns to step S201. On the other hand, if the system control unit 115 determines that the remaining capacity of the image recording unit 114 is not 0 (step S212), the system control unit 115 determines whether the second stroke switch SW2 is on (step S213). If the system control unit 115 determines that the second stroke switch SW2 is OFF (step S213), the system control unit 115 returns to step S209. On the other hand, if the system control unit 115 determines that the switch SW2 is on, it repeats step S213.

以上説明した本実施例の電子カメラ100によれば、片ぼけの影響を特に受けやすい風景などの遠景を撮影画面の中央に入れた撮影時に、画面中央の焦点検出領域に対応する被写体距離よりも所定距離近い被写体に対応する焦点検出領域に対する合焦制御を行う。これにより、撮影画面の中央以外に設けられた焦点検出領域に対応する被写体(主被写体)に対する合焦精度を確保することができる。すなわち、片ぼけの影響を効果的に低減した焦点調節が可能となる。   According to the electronic camera 100 of the present embodiment described above, when shooting a distant view such as a landscape that is particularly susceptible to blurring in the center of the shooting screen, it is more than the subject distance corresponding to the focus detection area at the center of the screen. Focus control is performed on a focus detection area corresponding to a subject close to a predetermined distance. As a result, it is possible to ensure the focusing accuracy for the subject (main subject) corresponding to the focus detection area provided outside the center of the shooting screen. That is, the focus adjustment that effectively reduces the influence of blurring becomes possible.

なお、上記実施例では、撮影画面の中央に1つの焦点検出領域が設けられた場合について説明したが、画面中央を含む所定の大きさの領域内に複数の焦点検出領域を設けて「中央の焦点検出領域」とし、さらにその周囲に複数の焦点検出領域を設けてもよい。   In the above embodiment, the case where one focus detection area is provided at the center of the shooting screen has been described. However, a plurality of focus detection areas are provided in an area having a predetermined size including the center of the screen. A “focus detection area” may be provided, and a plurality of focus detection areas may be provided around the focus detection area.

本発明の実施例の電子カメラの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the electronic camera of the Example of this invention. 図1に示す電子カメラにおける焦点検出領域を示す概念図である。It is a conceptual diagram which shows the focus detection area | region in the electronic camera shown in FIG. 図1に示す電子カメラの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the electronic camera shown in FIG. 図2に示すズーム動作のサブルーチンのフローチャートである。3 is a flowchart of a zoom operation subroutine shown in FIG. 2. 図2に示すAF動作のサブルーチンのフローチャートである。3 is a flowchart of an AF operation subroutine shown in FIG. 2. 図4に示すAF動作における焦点検出領域の選択を説明するための模式図である。FIG. 5 is a schematic diagram for explaining selection of a focus detection area in the AF operation shown in FIG. 4. 図2における撮影動作のサブルーチンのフローチャートである。3 is a flowchart of a shooting operation subroutine in FIG. 2. 従来のデジタルカメラにおいて片ぼけをもたらすシーンの一例である。It is an example of the scene which brings about a blur in the conventional digital camera.

符号の説明Explanation of symbols

100 電子カメラ
101 撮影レンズ
105 AF処理部
108 撮像素子
115 システム制御部
119 姿勢検出センサ
DESCRIPTION OF SYMBOLS 100 Electronic camera 101 Shooting lens 105 AF process part 108 Image pick-up element 115 System control part 119 Posture detection sensor

Claims (11)

撮影画面内に設けられた複数の焦点検出領域での焦点状態を検出する焦点検出手段と、
前記複数の焦点検出領域のうち、前記焦点検出手段による検出結果に基づいて撮影レンズを合焦させる合焦目標領域を選択する選択手段とを有し、
前記選択手段は、第1の被写体までの第1の被写体距離が第1の所定距離より遠く、かつ該第1の被写体よりも撮影画面上で外側に存在する第2の被写体までの第2の被写体距離が前記第1の被写体距離よりも第2の所定距離以上近いときは、前記第2の被写体に対応する焦点検出領域を前記合焦目標領域として選択することを特徴とする撮影装置。
A focus detection means for detecting a focus state in a plurality of focus detection areas provided in the photographing screen;
A selection unit that selects a focus target region for focusing the photographing lens based on a detection result by the focus detection unit among the plurality of focus detection regions;
The selection means includes a second subject to a second subject whose first subject distance to the first subject is longer than a first predetermined distance and is outside the first subject on the photographing screen. When the subject distance is closer than the first subject distance by a second predetermined distance or more, a focus detection area corresponding to the second subject is selected as the focus target area.
前記選択手段は、前記第2の被写体が複数ある場合には、該複数の第2の被写体のうち他の被写体よりも被写体距離の短い被写体に対応する焦点検出領域を前記合焦目標位置として選択することを特徴とする請求項1に記載の撮影装置。   When there are a plurality of the second subjects, the selection unit selects, as the focus target position, a focus detection area corresponding to a subject having a subject distance shorter than other subjects among the plurality of second subjects. The imaging apparatus according to claim 1, wherein: 前記選択手段は、前記第1の被写体距離が前記第1の所定距離より遠く、かつ前記第2の被写体距離が前記第1の被写体距離より前記第2の所定距離以上近くないときは、前記第1の被写体に対応する焦点検出領域を前記合焦目標領域として選択することを特徴とする請求項1又は2に記載の撮影装置。   When the first subject distance is farther than the first predetermined distance and the second subject distance is not closer than the second predetermined distance than the first subject distance, the selection means The imaging apparatus according to claim 1, wherein a focus detection area corresponding to one subject is selected as the focus target area. 前記選択手段は、前記第1の被写体距離が前記第1の所定距離より近いときは、最も被写体距離の被写体に対応する焦点検出領域を前記合焦目標位置として選択することを特徴とする請求項1から3のいずれか1つに記載の撮影装置。   The selection means, when the first subject distance is closer than the first predetermined distance, selects a focus detection area corresponding to the subject with the closest subject distance as the focus target position. The imaging device according to any one of 1 to 3. 前記第1および第2の所定距離は、前記撮影レンズの焦点距離に応じて変更されることを特徴とする請求項1から4のいずれか1つに記載の撮影装置。   5. The photographing apparatus according to claim 1, wherein the first and second predetermined distances are changed according to a focal length of the photographing lens. 前記合焦目標領域に対して前記撮影レンズが合焦するようにフォーカスレンズを駆動する駆動手段を有することを特徴とする請求項1から5のいずれか1つに記載の撮影装置。   6. The photographing apparatus according to claim 1, further comprising a driving unit that drives a focus lens so that the photographing lens is focused on the focus target area. 撮影画面内に設けられた複数の画像領域での焦点状態を検出する焦点検出手段と、
前記複数の画像領域のうち、前記焦点検出手段による検出結果に基づいて撮影レンズを合焦させる合焦目標領域を選択する選択手段とを有し、
前記選択手段は、前記撮影画面における第1の画面領域に表示される第1の被写体までの第1の被写体距離が第1の所定距離より遠く、かつ該第1の被写体よりも前記撮影画面上で外側の第2の画面領域に表示される第2の被写体までの第2の被写体距離が前記第1の被写体距離よりも第2の所定距離以上近いときは、前記第2の被写体に対応する画像領域を前記合焦目標領域として選択することを特徴とする撮影装置。
A focus detection means for detecting a focus state in a plurality of image areas provided in the shooting screen;
A selection unit that selects a target region for focusing the photographing lens based on a detection result by the focus detection unit among the plurality of image regions;
The selection means is configured such that a first subject distance to a first subject displayed in a first screen area on the photographing screen is longer than a first predetermined distance and is on the photographing screen more than the first subject. When the second subject distance to the second subject displayed in the outer second screen area is closer than the first subject distance by a second predetermined distance or more, it corresponds to the second subject. An imaging apparatus, wherein an image area is selected as the focus target area.
前記選択手段は、前記第1の画面領域に合焦可能な領域がないときは、前記第2の画面領域において最も被写体距離が近い焦点検出領域を前記合焦目標位置として選択することを特徴とする請求項7に記載の撮影装置。   The selection means, when there is no focusable area in the first screen area, selects a focus detection area with the closest subject distance in the second screen area as the focus target position. The imaging device according to claim 7. 前記撮影装置の姿勢を検出する姿勢検出手段を有し、
前記選択手段は、前記姿勢の検出結果に応じて前記第1および第2の画面領域を変更することを特徴とする請求項7又は8に記載の撮影装置。
Having an attitude detecting means for detecting an attitude of the photographing apparatus;
9. The photographing apparatus according to claim 7, wherein the selection unit changes the first and second screen areas in accordance with the detection result of the posture.
撮影画面内に設けられた複数の焦点検出領域での焦点状態を検出する焦点検出ステップと、
前記複数の焦点検出領域のうち、前記焦点検出ステップによる検出結果に基づいて撮影レンズを合焦させる合焦目標領域を選択する選択ステップとを有し、
前記選択ステップにおいて、第1の被写体までの第1の被写体距離が第1の所定距離より遠く、かつ該第1の被写体よりも撮影画面上で外側に存在する第2の被写体までの第2の被写体距離が前記第1の被写体距離よりも第2の所定距離以上近いときは、前記第2の被写体に対応する焦点検出領域を前記合焦目標領域として選択することを特徴とする焦点調節方法。
A focus detection step for detecting a focus state in a plurality of focus detection areas provided in the shooting screen;
A selection step of selecting a focus target region for focusing the photographing lens based on a detection result of the focus detection step among the plurality of focus detection regions;
In the selection step, the second subject to the second subject that is farther than the first predetermined distance and is outside the first subject on the shooting screen is the first subject distance to the first subject. When the subject distance is closer than the first subject distance by a second predetermined distance or more, a focus detection region corresponding to the second subject is selected as the focus target region.
撮影画面内に設けられた複数の画像領域での焦点状態を検出する焦点検出ステップと、
前記複数の画像領域のうち、前記焦点検出ステップによる検出結果に基づいて撮影レンズを合焦させる合焦目標領域を選択する選択ステップとを有し、
前記選択ステップにおいて、前記撮影画面における第1の画面領域に表示される第1の被写体までの第1の被写体距離が第1の所定距離より遠く、かつ該第1の被写体よりも前記撮影画面上で外側の第2の画面領域に表示される第2の被写体までの第2の被写体距離が前記第1の被写体距離よりも第2の所定距離以上近いときは、前記第2の被写体に対応する画像領域を前記合焦目標領域として選択することを特徴とする焦点調節方法。
A focus detection step for detecting a focus state in a plurality of image areas provided in the shooting screen;
A selection step of selecting a focus target region for focusing the photographing lens based on a detection result of the focus detection step among the plurality of image regions;
In the selection step, the first subject distance to the first subject displayed in the first screen area on the photographing screen is longer than a first predetermined distance and is on the photographing screen than the first subject. When the second subject distance to the second subject displayed in the outer second screen area is closer than the first subject distance by a second predetermined distance or more, it corresponds to the second subject. A focus adjustment method, wherein an image area is selected as the focus target area.
JP2005175371A 2004-06-15 2005-06-15 Imaging apparatus and focus adjustment method Expired - Fee Related JP4850442B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005175371A JP4850442B2 (en) 2004-06-15 2005-06-15 Imaging apparatus and focus adjustment method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2004176896 2004-06-15
JP2004176896 2004-06-15
JP2005175371A JP4850442B2 (en) 2004-06-15 2005-06-15 Imaging apparatus and focus adjustment method

Publications (2)

Publication Number Publication Date
JP2006030984A true JP2006030984A (en) 2006-02-02
JP4850442B2 JP4850442B2 (en) 2012-01-11

Family

ID=35897341

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005175371A Expired - Fee Related JP4850442B2 (en) 2004-06-15 2005-06-15 Imaging apparatus and focus adjustment method

Country Status (1)

Country Link
JP (1) JP4850442B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006058421A (en) * 2004-08-18 2006-03-02 Samsung Techwin Co Ltd Method and apparatus for controlling automatic focusing
JP2014178619A (en) * 2013-03-15 2014-09-25 Olympus Imaging Corp Imaging device, and focusing method and focusing program for the same
CN104243815A (en) * 2014-08-25 2014-12-24 联想(北京)有限公司 Focusing method and electronic equipment
CN114384091A (en) * 2021-12-16 2022-04-22 苏州镁伽科技有限公司 Automatic focusing device, panel detection equipment and method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01288715A (en) * 1989-03-10 1989-11-21 Minolta Camera Co Ltd Range finder
JPH0713068A (en) * 1993-06-18 1995-01-17 Olympus Optical Co Ltd Range-finding device
JPH07270156A (en) * 1994-03-30 1995-10-20 Olympus Optical Co Ltd Distance measuring apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01288715A (en) * 1989-03-10 1989-11-21 Minolta Camera Co Ltd Range finder
JPH0713068A (en) * 1993-06-18 1995-01-17 Olympus Optical Co Ltd Range-finding device
JPH07270156A (en) * 1994-03-30 1995-10-20 Olympus Optical Co Ltd Distance measuring apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006058421A (en) * 2004-08-18 2006-03-02 Samsung Techwin Co Ltd Method and apparatus for controlling automatic focusing
JP4520792B2 (en) * 2004-08-18 2010-08-11 サムスン・デジタル・イメージング・カンパニー・リミテッド Automatic focus control method and automatic focus control device
JP2014178619A (en) * 2013-03-15 2014-09-25 Olympus Imaging Corp Imaging device, and focusing method and focusing program for the same
CN104243815A (en) * 2014-08-25 2014-12-24 联想(北京)有限公司 Focusing method and electronic equipment
CN104243815B (en) * 2014-08-25 2017-09-29 联想(北京)有限公司 A kind of focusing method and electronic equipment
CN114384091A (en) * 2021-12-16 2022-04-22 苏州镁伽科技有限公司 Automatic focusing device, panel detection equipment and method thereof

Also Published As

Publication number Publication date
JP4850442B2 (en) 2012-01-11

Similar Documents

Publication Publication Date Title
US7627239B2 (en) Image-taking apparatus and focusing method
JP4198449B2 (en) Digital camera
JP4858849B2 (en) Imaging apparatus and program thereof
JP4644883B2 (en) Imaging device
JP5039786B2 (en) Imaging device
JP4042710B2 (en) Autofocus device and program thereof
US8670064B2 (en) Image capturing apparatus and control method therefor
JP4509081B2 (en) Digital camera and digital camera program
JP2008165044A (en) Imaging apparatus and imaging method
JP2006208558A (en) Imaging device
JP2001208959A (en) Image pickup device, automatic focusing method, and recording medium having focusing procedure recorded thereon
JP2003125275A (en) Object image adjustment device and imaging apparatus
JP2011175281A (en) Imaging apparatus and program therefor
JP4250198B2 (en) Digital camera
JP4850442B2 (en) Imaging apparatus and focus adjustment method
JP2008216503A (en) Imaging apparatus
JP2007293144A (en) Optical equipment
JP2009081810A (en) Photographing device and photographing method
JP2007225897A (en) Focusing position determination device and method
JP2000125178A (en) Image pickup unit
JP2011048265A (en) Focus detection device and focus detection method
JP4981955B2 (en) Imaging apparatus and control method thereof
JP4785548B2 (en) Imaging apparatus and control method thereof
JP2003241066A (en) Camera
JP2007094023A (en) Focus adjustment method of focus lens and imaging apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080613

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110111

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110314

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110517

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110719

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

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

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

Free format text: PAYMENT UNTIL: 20141028

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees