JP5063268B2 - Imaging apparatus and control method thereof - Google Patents

Imaging apparatus and control method thereof Download PDF

Info

Publication number
JP5063268B2
JP5063268B2 JP2007238066A JP2007238066A JP5063268B2 JP 5063268 B2 JP5063268 B2 JP 5063268B2 JP 2007238066 A JP2007238066 A JP 2007238066A JP 2007238066 A JP2007238066 A JP 2007238066A JP 5063268 B2 JP5063268 B2 JP 5063268B2
Authority
JP
Japan
Prior art keywords
control
state
focus
output signal
detection
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
JP2007238066A
Other languages
Japanese (ja)
Other versions
JP2009069496A (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.)
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 JP2007238066A priority Critical patent/JP5063268B2/en
Publication of JP2009069496A publication Critical patent/JP2009069496A/en
Application granted granted Critical
Publication of JP5063268B2 publication Critical patent/JP5063268B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、焦点調節機能を備えた撮像装置、および、その制御方法に関する。   The present invention relates to an imaging apparatus having a focus adjustment function, and a control method thereof.

一般に、ディジタルカメラ装置に利用可能な画像処理の分野においては、人間の顔など特定の被写体の位置や大きさを画像認識アルゴリズムにより推定する技術が実用化されている。画像認識アルゴリズムにより特定の被写体の位置、大きさの情報を推定する技術は、例えばオートフォーカス制御(AF制御)に利用されている。   In general, in the field of image processing that can be used in a digital camera device, a technique for estimating the position and size of a specific subject such as a human face using an image recognition algorithm has been put into practical use. A technique for estimating information on the position and size of a specific subject using an image recognition algorithm is used for, for example, autofocus control (AF control).

このオートフォーカス制御では、被写***置、大きさに合わせたAF評価枠を設定し、AF用の評価データを生成し、AF制御をすることにより、特定の被写体に注目したAF制御を行う。   In this autofocus control, an AF evaluation frame is set in accordance with the subject position and size, AF evaluation data is generated, and AF control is performed by focusing on a specific subject.

上述したディジタルカメラ装置に用いられるAF制御の技術を、連続した動画像を撮影、記録する装置に適用する場合には、特有の処理を考慮する必要がある。連続した動画像を撮影、記録する装置で行うAF制御では、撮影中に取得した画像からフォーカスを自動的に合わせる制御を行う。連続した動画像を撮影、記録する装置のAF制御では、設定された複数のAF評価枠の画像情報から評価値を算出し、算出された評価値の遷移にしたがってレンズの駆動制御を行う。   When the AF control technique used in the above-described digital camera device is applied to an apparatus that captures and records continuous moving images, it is necessary to consider specific processing. In AF control performed by an apparatus that captures and records continuous moving images, control is performed to automatically adjust the focus from an image acquired during shooting. In AF control of an apparatus that captures and records continuous moving images, an evaluation value is calculated from image information of a plurality of set AF evaluation frames, and lens drive control is performed according to the transition of the calculated evaluation value.

このAF制御では、算出した評価値を動作周期ごとに比較し、その差分が小さい状態が続けばフォーカスが合っていると判断して、フォーカスレンズの動きを小さくするように制御する。また、評価値を動作周期ごとに比較したときの差分が大きい場合は、フォーカスが合っていないと判断し、差分値の変化に従ってフォーカスレンズの動きを大きくして、フォーカスが合う状態を探る動作を行うように制御する。   In this AF control, the calculated evaluation values are compared for each operation cycle, and if the difference continues to be small, it is determined that the focus is achieved, and control is performed to reduce the movement of the focus lens. Also, if the difference between the evaluation values for each operation cycle is large, it is determined that the focus is not correct, and the movement of the focus lens is increased according to the change in the difference value, and an operation for searching for the focus is performed. Control to do.

従来の連続した動画像を撮影、記録する装置では、特定の被写体の位置や大きさを、画像認識のアルゴリズムにより検出し、その検出結果に基づいてAF制御を行う技術が提案されている。このAF制御の技術では、被写体検出結果に基づいて、複数あるAF評価枠から1つを選択し、そのAF評価枠から算出した評価値を使用してAFの動作制御を行っている(例えば、特許文献1参照)。
特開2000−330008号公報
In a conventional apparatus for capturing and recording continuous moving images, a technique has been proposed in which the position and size of a specific subject are detected by an image recognition algorithm and AF control is performed based on the detection result. In this AF control technique, one of a plurality of AF evaluation frames is selected based on a subject detection result, and AF operation control is performed using an evaluation value calculated from the AF evaluation frame (for example, Patent Document 1).
JP 2000-330008 A

しかしながら、上述のような画像認識のアルゴリズムを利用したAF制御を連続した動画像を撮影、記録する装置で利用する場合には、次のような課題がある。   However, when the AF control using the image recognition algorithm as described above is used in an apparatus that captures and records continuous moving images, there are the following problems.

画像認識のアルゴリズムを利用して特定被写体を検出する場合には、特定被写体の向きが変わったり、映像内に他の特定被写体が入った時に、検出結果が途切れたり、主要被写体が頻繁に変動してしまう可能性がある。   When a specific subject is detected using an image recognition algorithm, the detection result may be interrupted or the main subject may fluctuate frequently when the orientation of the specific subject changes, or when another specific subject enters the image. There is a possibility that.

この画像認識のアルゴリズムを利用して特定被写体を検出する場合には、被写体の検出結果が途切れた場合に、使用するAF評価枠がデフォルトのAF評価枠に即座に戻ってしまう。この場合には、フォーカスを合わせるポイントが移動してしまい、AF制御の動作が不安定になるという問題がある。さらに、画像認識のアルゴリズムを利用して特定被写体を検出する場合には、主要被写体が頻繁に変動すると、フォーカスを合わせるポイントが頻繁に移動してしまい、AF制御の動作が不安定になるという問題がある。   When a specific subject is detected using this image recognition algorithm, when the detection result of the subject is interrupted, the AF evaluation frame to be used immediately returns to the default AF evaluation frame. In this case, there is a problem that the point to be focused moves and the operation of AF control becomes unstable. Furthermore, when detecting a specific subject using an image recognition algorithm, if the main subject changes frequently, the focus adjustment point frequently moves, and the AF control operation becomes unstable. There is.

また、ビデオカメラ装置で撮影中に、AF制御の動作が不安定な状態となった場合には、その時の映像も全て記録されてしまう。この場合には、ビデオカメラで撮影された動画が、フォーカスが合っている映像とフォーカスの合っていない映像とが頻繁に切り替わる状態で記録される。このため、ビデオカメラ装置でAF制御の動作が不安定な状態となると、良好な動画を撮影することができない状態となる。   Also, if the AF control operation becomes unstable during shooting with the video camera device, all the video at that time is also recorded. In this case, the moving image shot by the video camera is recorded in a state where the focused video and the focused video are frequently switched. For this reason, when the operation of AF control becomes unstable in the video camera device, a good moving image cannot be captured.

本発明の目的は、特定被写体を中心としたオートフォーカス制御を行いながら動画を撮影する際に、特定被写体検出結果の急激な変化による影響を抑制することによって、AF制御の動作を安定化し、良好に動画を撮影できるようにした撮像装置、その制御方法を提供することにある。   The object of the present invention is to stabilize the AF control operation by suppressing the influence of a sudden change in the detection result of a specific subject when shooting a movie while performing autofocus control around a specific subject. It is another object of the present invention to provide an imaging apparatus capable of capturing a moving image and a control method thereof.

上記目的を達成するために、本発明の撮像装置は、撮像画像から合焦すべき被写体像を検出する検出手段と、撮像光学系の合焦状態を検出する際の焦点検出領域を複数設定する設定手段と、前記焦点検出領域における検波値より算出されたAF評価値に基づいて前記撮像光学系を移動させてAF制御を行う焦点調節手段と、前記検出手段により検出された被写***置と前記複数の焦点検出領域との相対的な位置関係に応じて、複数の焦点検出領域における検波値の合成比率を算出する合成比率算出手段とを有する撮像装置であって、前記AF制御の状態が方向判定のときには、前記AF制御の状態が山登りのときに比べて前記合成比率算出手段の合成比率の変化度合いを大きくし、前記AF制御の状態が頂上付近のときには、前記AF制御の状態が山登りのときに比べて前記合成比率算出手段の合成比率の変化度合いを小さくすることを特徴とする。 In order to achieve the above object, an imaging apparatus of the present invention sets a plurality of detection means for detecting a subject image to be focused from a captured image, and a plurality of focus detection areas for detecting a focusing state of the imaging optical system. A setting unit; a focus adjusting unit that performs AF control by moving the imaging optical system based on an AF evaluation value calculated from a detection value in the focus detection region; an object position detected by the detection unit; An imaging apparatus having a composite ratio calculating means for calculating a composite ratio of detection values in a plurality of focus detection areas according to a relative positional relationship with the focus detection area, wherein the state of the AF control is a direction determination when the state of the AF control by increasing the degree of change in the synthesis ratio of the synthesis rate calculating means than when the hill-climbing, the state of the AF control is at the vicinity of the summit, the AF control State is characterized by reduced change in the degree of synthesis ratio of the synthesis rate calculating means than when the hill-climbing.

本発明によれば、特定被写体検出結果の急激な変化による影響を抑制し安定した動作でAF制御を行い、良好に動画を撮影可能とする。   According to the present invention, AF control is performed with stable operation while suppressing the influence of a sudden change in the detection result of a specific subject, and a moving image can be captured satisfactorily.

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

〔第1実施の形態〕
本発明の第1実施の形態に係わるオートフォーカス機能付撮像装置について説明する。図1は、第1実施の形態に係わるオートフォーカス機能付撮像装置の要部の構成を概略的に示すブロック図である。図1に示すように、撮像装置100は、装置全体で主だった制御を掌る中央制御装置と、撮像レンズ部(撮像光学系)と、画像信号出力部と、オートフォーカス制御部とを備える。
[First embodiment]
An imaging apparatus with an autofocus function according to the first embodiment of the present invention will be described. FIG. 1 is a block diagram schematically showing a configuration of a main part of an image pickup apparatus with an autofocus function according to the first embodiment. As shown in FIG. 1, the imaging device 100 includes a central control device that controls mainly the entire device, an imaging lens unit (imaging optical system), an image signal output unit, and an autofocus control unit. .

撮像装置100に設ける中央制御装置は、CPU(Central Processing Unit)9を用いて構成されている。図示しないがCPU9には、ROM(Read Only Memory)、RAM(Random Access Memory)、インターフェース、その他の制御に必要な機器が付属して、中央制御装置を構成している。なお、本明細書でCPU9(AF制御手段)というときには、特にことわらない場合に、中央制御装置を意味する。   A central control device provided in the imaging apparatus 100 is configured using a CPU (Central Processing Unit) 9. Although not shown, the CPU 9 includes a ROM (Read Only Memory), a RAM (Random Access Memory), an interface, and other devices necessary for control to constitute a central controller. In this specification, the CPU 9 (AF control means) means a central controller unless otherwise specified.

撮像装置100の撮像レンズ部(撮像光学系)は、レンズ系1と、レンズ駆動制御回路10を有する。このレンズ系1は、焦点距離を一般に用いられている図示しないステップモータ等の駆動手段(駆動部)で移動調整可能に構成する。また、レンズ駆動制御回路10は、CPU9からの制御信号により制御されるレンズ駆動制御回路10の出力信号S10により、適切な焦点距離になるように動き、適切な被写体像を撮像素子2の受光面に投影して結像させる。   The imaging lens unit (imaging optical system) of the imaging apparatus 100 includes a lens system 1 and a lens drive control circuit 10. The lens system 1 is configured such that the focal length can be adjusted by a driving means (driving unit) such as a step motor (not shown) that is generally used. Further, the lens drive control circuit 10 moves to an appropriate focal length by an output signal S10 of the lens drive control circuit 10 controlled by a control signal from the CPU 9, and receives an appropriate subject image on the light receiving surface of the image sensor 2. To form an image.

撮像装置100の画像信号出力部は、撮像素子2と、AFE(Analog Front End)3と、カメラ信号処理回路4とを有する。この撮像素子2は、受光面に被写体像が結像された際に、光電変換により電気信号に変換してアナログ画像信号としてAFE3へ出力する。AFE3は、撮像素子2から出力されたアナログの画像信号を、その内部に備えたA/D変換器によりデジタル画像信号に変換し、撮像画像の出力信号S3としてカメラ信号処理回路4へ出力する。   The image signal output unit of the imaging apparatus 100 includes an imaging device 2, an AFE (Analog Front End) 3, and a camera signal processing circuit 4. When the subject image is formed on the light receiving surface, the image pickup device 2 converts the image into an electric signal by photoelectric conversion and outputs it as an analog image signal to the AFE 3. The AFE 3 converts the analog image signal output from the image sensor 2 into a digital image signal by an A / D converter provided therein, and outputs the digital image signal to the camera signal processing circuit 4 as an output signal S3 of the captured image.

カメラ信号処理回路4は、AFE3の撮像画像の出力信号S3を入力信号とし、この入力信号に対してアパーチャ補正、ガンマ補正、ホワイトバランス等の撮像系の画像信号処理を行う。このカメラ信号処理回路4で画像信号処理を終えて出力された出力信号S4は、カメラで撮影した撮影画像の画像信号として記録メディアに記録される。   The camera signal processing circuit 4 uses the output signal S3 of the captured image of the AFE 3 as an input signal, and performs image signal processing of the imaging system such as aperture correction, gamma correction, and white balance on the input signal. The output signal S4 output after finishing the image signal processing by the camera signal processing circuit 4 is recorded on a recording medium as an image signal of a photographed image taken by the camera.

撮像装置100のオートフォーカス制御部は、被写体検出回路5と、合成比率算出回路6と、合成比率調整回路7と、AF評価値生成回路8と、CPU9とを用いて構成する。   The autofocus control unit of the imaging apparatus 100 is configured using a subject detection circuit 5, a composition ratio calculation circuit 6, a composition ratio adjustment circuit 7, an AF evaluation value generation circuit 8, and a CPU 9.

オートフォーカス制御部の被写体検出回路5(被写体検出手段)は、AFE3の撮影画像の出力信号S3を入力信号として、撮像画像から合焦すべき被写体像の検出を行う。この被写体検出回路5では、予めROM(図示せず)等に保存してあるデータベースと、入力されたAFE3の撮影画像の出力信号S3の画像とのパターンマッチングを行う。これに基づいて被写体検出回路5では、複数の被写体の検出を行い、検出された被写体の座標位置およびサイズを出力信号S5として合成比率算出回路6へ出力する。   The subject detection circuit 5 (subject detection means) of the autofocus control unit detects the subject image to be focused from the captured image using the output signal S3 of the captured image of the AFE 3 as an input signal. The subject detection circuit 5 performs pattern matching between a database stored in advance in a ROM (not shown) or the like and an image of the output signal S3 of the captured image of the AFE 3 that has been input. Based on this, the subject detection circuit 5 detects a plurality of subjects and outputs the detected coordinate position and size of the subject to the composition ratio calculation circuit 6 as an output signal S5.

合成比率算出回路6(合成比率算出手段)では、被写体検出回路5の出力信号S5(特定被写体の座標情報)及びCPU9の出力信号S92(各AF評価枠の座標情報)を入力信号とし、AF評価値を求めるときに使用する合成比率の算出を行う。すなわち、この合成比率算出回路6では、検出された特定被写体にフォーカスが合いやすくするように各AF評価枠(いわゆるAFエリア)の検波値の合成比率を算出し、算出した合成比率を出力信号S6として出力する。   In the composition ratio calculation circuit 6 (composition ratio calculation means), the output signal S5 (coordinate information of the specific object) of the subject detection circuit 5 and the output signal S92 (coordinate information of each AF evaluation frame) of the CPU 9 are input signals, and AF evaluation is performed. The composition ratio used when obtaining the value is calculated. That is, the composition ratio calculation circuit 6 calculates a composition ratio of detection values of each AF evaluation frame (so-called AF area) so that the detected specific subject can be focused easily, and the calculated composition ratio is output as the output signal S6. Output as.

合成比率調整回路7(合成比率算出手段)は、合成比率算出回路6の出力信号S6および、CPU9の出力信号S93を入力信号として、最終的にAF評価値生成回路8で使用する合成比率の算出を行う。この合成比率調整回路7では、合成比率算出回路6で求めた合成比率を、CPU9の出力信号S93である調整係数によって調整を行い、調整を行った合成比率を出力信号S7としてAF評価値生成回路8へ出力する。   The composition ratio adjustment circuit 7 (composition ratio calculation means) calculates the composition ratio to be finally used in the AF evaluation value generation circuit 8 by using the output signal S6 of the composition ratio calculation circuit 6 and the output signal S93 of the CPU 9 as input signals. I do. In this composition ratio adjustment circuit 7, the composition ratio obtained by the composition ratio calculation circuit 6 is adjusted by the adjustment coefficient which is the output signal S93 of the CPU 9, and the adjusted composition ratio is used as the output signal S7 as an AF evaluation value generation circuit. Output to 8.

AF評価値生成回路8(AF評価値算出手段)は、AFE3の出力信号S3および、合成比率調整回路7の出力信号S7を入力信号として、AF評価値を算出する。このAF評価値生成回路8では、各AF評価枠の高周波成分をバンドパスフィルタにより検波値として抽出し、出力信号S7である合成比率を用いて合成を行い、AF評価値として算出し、出力信号S8としてCPU9へ出力する。   The AF evaluation value generation circuit 8 (AF evaluation value calculation means) calculates an AF evaluation value using the output signal S3 of the AFE 3 and the output signal S7 of the synthesis ratio adjustment circuit 7 as input signals. The AF evaluation value generation circuit 8 extracts a high-frequency component of each AF evaluation frame as a detection value by a bandpass filter, performs synthesis using a synthesis ratio that is the output signal S7, calculates an AF evaluation value, and outputs an output signal. It outputs to CPU9 as S8.

CPU9は、AF評価値生成回路8の出力信号S8を入力信号として処理して、オートフォーカスのための制御動作を決定する。そして、決定したオートフォーカス(AF)動作の指令信号(レンズ駆動制御に関する情報)を、出力信号S91(動作制御信号)として出力する。またCPU9では、情報として保持している各AF評価枠の座標情報を出力信号S92として出力すると共に、合成比率調整回路7で使用する制御情報を出力信号S93として出力する。   The CPU 9 processes the output signal S8 of the AF evaluation value generation circuit 8 as an input signal, and determines a control operation for autofocus. Then, the determined auto focus (AF) operation command signal (information on lens drive control) is output as an output signal S91 (operation control signal). Further, the CPU 9 outputs coordinate information of each AF evaluation frame held as information as an output signal S92, and outputs control information used in the composition ratio adjustment circuit 7 as an output signal S93.

レンズ駆動制御回路10は、CPU9の出力信号S91(動作制御信号)を入力信号とし、レンズ駆動制御信号S10を出力し、レンズ系1をフォーカスが合うように駆動制御する。   The lens drive control circuit 10 receives the output signal S91 (operation control signal) of the CPU 9 as an input signal, outputs the lens drive control signal S10, and drives and controls the lens system 1 so as to be in focus.

次に、上述した図1に示す各ブロックの詳細な内容について述べる。まず、合成比率算出回路6について、図2を参照して詳細に説明する。図2は、ファインダー視野に設定された複数の焦点検出領域の配置を例示する説明図である。   Next, the detailed contents of each block shown in FIG. 1 will be described. First, the composition ratio calculation circuit 6 will be described in detail with reference to FIG. FIG. 2 is an explanatory diagram illustrating the arrangement of a plurality of focus detection areas set in the viewfinder field.

この撮像装置では、ファインダー視野(被写界および撮影画面に相当)に焦点検出領域(AF評価枠)を複数設定する。合成比率算出回路6では、被写体検出回路5の出力信号S5である特定被写体の座標情報と、CPU9の出力信号S92である各AF評価枠の座標情報から、特定被写体と各AF評価枠との距離(相対位置関係)を算出する。   In this imaging apparatus, a plurality of focus detection areas (AF evaluation frames) are set in the viewfinder field (corresponding to an object field and a shooting screen). In the composition ratio calculation circuit 6, the distance between the specific subject and each AF evaluation frame from the coordinate information of the specific subject that is the output signal S <b> 5 of the subject detection circuit 5 and the coordinate information of each AF evaluation frame that is the output signal S <b> 92 of the CPU 9. (Relative positional relationship) is calculated.

第2図に示す演算の例では、AF評価枠を3つに設定し、特定被写体の検出結果の座標と、各AF評価枠との距離(相対位置関係)をそれぞれ求める。特定被写体の検出結果が複数あった場合は、全ての特定被写体検出結果に対して、各AF評価枠との距離(相対位置関係)を算出し、各AF評価枠で算出された距離をAF評価枠ごとに合計する。   In the example of calculation shown in FIG. 2, three AF evaluation frames are set, and the distance (relative positional relationship) between the coordinates of the detection result of the specific subject and each AF evaluation frame is obtained. When there are a plurality of detection results of the specific subject, the distance (relative positional relationship) with each AF evaluation frame is calculated for all the specific subject detection results, and the distance calculated in each AF evaluation frame is AF evaluated. Sum each frame.

全ての特定被写体と各AF評価枠との距離を算出した後に逆数を求め、正規化を行い、各AF評価枠の合成比率を出力信号S5として出力する。逆数を求めているのは、距離が近い程大きな値を出力するようにするためである。また、ここで言う正規化とは、AF評価枠ごとに算出した距離の全AF評価枠の合計を求め、各AF評価枠において算出した距離をその合計値で割ることを意味している。   After calculating the distances between all the specific subjects and each AF evaluation frame, the reciprocal is obtained, normalized, and the composition ratio of each AF evaluation frame is output as the output signal S5. The reason why the reciprocal is obtained is to output a larger value as the distance is shorter. The normalization here means that the total of all AF evaluation frames of the distances calculated for each AF evaluation frame is obtained, and the distance calculated in each AF evaluation frame is divided by the total value.

次に、合成比率調整回路7について、図3を参照して詳細に説明する。図3は、図1における合成比率調整回路の回路図である。   Next, the composition ratio adjusting circuit 7 will be described in detail with reference to FIG. FIG. 3 is a circuit diagram of the synthesis ratio adjusting circuit in FIG.

この合成比率調整回路7では、合成比率算出回路6で算出された各AF評価枠の検波値の合成比率を、CPU9の出力信号S93によって調整を行い、AF評価値生成回路8で使用する合成比率として出力する。   In this composition ratio adjustment circuit 7, the composition ratio of the detection value of each AF evaluation frame calculated by the composition ratio calculation circuit 6 is adjusted by the output signal S 93 of the CPU 9, and the composition ratio used in the AF evaluation value generation circuit 8. Output as.

この合成比率調整回路7に入力されるCPU9の出力信号S93は、0≦S93≦1の範囲の値とされている。また、第1のメモリ71は、前回の合成比率調整回路7の出力信号を保持し、出力信号S71として出力する。   The output signal S93 of the CPU 9 input to the synthesis ratio adjusting circuit 7 is a value in the range of 0 ≦ S93 ≦ 1. The first memory 71 holds the previous output signal of the composition ratio adjustment circuit 7 and outputs it as an output signal S71.

CPU9の出力信号S93が減算処理回路72に入力すると、減算処理回路72は、CPU9の出力信号S93を1から引く処理を行い、その結果を出力信号S72として、第2乗算器74へ出力する。   When the output signal S93 of the CPU 9 is input to the subtraction processing circuit 72, the subtraction processing circuit 72 performs a process of subtracting the output signal S93 of the CPU 9 from 1, and outputs the result to the second multiplier 74 as the output signal S72.

また第1乗算器73では、合成比率算出回路6から入力された各AF評価枠の合成比率であるS6と、CPU9の出力信号S93との乗算を行い、その結果を出力信号S73として加算器75へ出力する。   The first multiplier 73 multiplies S6, which is the composition ratio of each AF evaluation frame input from the composition ratio calculation circuit 6, and the output signal S93 of the CPU 9, and uses the result as an output signal S73 as an adder 75. Output to.

次に、第2乗算器74では、減算処理回路72の出力信号S72と、第1のメモリ71の出力信号S71との乗算を行い、出力信号S74として、加算器75へ出力する。   Next, the second multiplier 74 multiplies the output signal S72 of the subtraction processing circuit 72 and the output signal S71 of the first memory 71, and outputs the result to the adder 75 as the output signal S74.

次に、加算器75では、第1乗算器73の出力信号S73と、第2乗算器74の出力信号S74の加算を行い、その結果の出力信号を合成比率調整回路7の出力信号S7として、AF評価値生成回路8へ出力する。   Next, the adder 75 adds the output signal S73 of the first multiplier 73 and the output signal S74 of the second multiplier 74, and uses the resultant output signal as the output signal S7 of the synthesis ratio adjustment circuit 7. Output to the AF evaluation value generation circuit 8.

この合成比率調整回路7で行う演算を式で表すと下記式のようになる。
式 S7=S6×S93+S7×(1−S93)
この合成比率調整回路7では、CPU9の出力信号S93が1に近ければ合成比率算出回路6の出力信号S6の成分を多く出力し、出力信号S93が0に近ければ前回の合成比率調整回路7の出力信号S7の成分を多く出力する。このようにして合成比率調整回路7は、CPU9の出力信号S93の値によって、AF評価値生成回路8で使用する合成比率の変化度合いを調整する。
The calculation performed by the synthesis ratio adjusting circuit 7 is expressed by the following equation.
Formula S7 = S6 × S93 + S7 × (1-S93)
In the synthesis ratio adjustment circuit 7, if the output signal S93 of the CPU 9 is close to 1, many components of the output signal S6 of the synthesis ratio calculation circuit 6 are output, and if the output signal S93 is close to 0, the previous synthesis ratio adjustment circuit 7 Many components of the output signal S7 are output. In this way, the composition ratio adjustment circuit 7 adjusts the degree of change of the composition ratio used in the AF evaluation value generation circuit 8 according to the value of the output signal S93 of the CPU 9.

次に、AF評価値生成回路8について、図4を参照して詳細に説明する。図4は、図1におけるAF評価値生成回路8での演算の模式図である。   Next, the AF evaluation value generation circuit 8 will be described in detail with reference to FIG. FIG. 4 is a schematic diagram of the calculation in the AF evaluation value generation circuit 8 in FIG.

この4図の模式図ではAF評価枠の数を3つとして図示している。このAF評価値生成回路8では、まず、設定された各AF評価枠の高周波成分を抽出するためにバンドパスフィルタ(BPF)処理を行い、検波値(BPF出力)として求める。   In the schematic diagram of FIG. 4, the number of AF evaluation frames is three. In this AF evaluation value generation circuit 8, first, a band pass filter (BPF) process is performed to extract a high-frequency component of each set AF evaluation frame, and a detection value (BPF output) is obtained.

次に、AF評価値生成回路8では、合成比率調整回路7の出力信号S7を使用し、先に求めた各AF評価枠の検波値と合成比率との乗算を行い、各AF評価枠の乗算の結果を合計し、AF評価値である出力信号S8として、CPU9へ出力する。   Next, the AF evaluation value generation circuit 8 uses the output signal S7 of the combination ratio adjustment circuit 7 to multiply the detection value of each AF evaluation frame obtained previously and the combination ratio, and multiplies each AF evaluation frame. Are summed and output to the CPU 9 as an output signal S8, which is an AF evaluation value.

次に、CPU9(中央制御装置)について、図1、図5及び図6を参照して詳細に説明する。前述した図1に示すように、このCPU9は、AF評価値生成回路8の出力信号S8を入力信号とし、レンズの動作制御に関する演算を行い、制御情報を出力信号S91として出力する。またCPU9は、合成比率調整回路7で使用する制御情報の演算を行い、制御情報を出力信号S92として出力し、AF評価枠の座標位置を出力信号S93として出力する。   Next, the CPU 9 (central control unit) will be described in detail with reference to FIGS. 1, 5, and 6. FIG. As shown in FIG. 1, the CPU 9 uses the output signal S8 of the AF evaluation value generation circuit 8 as an input signal, performs calculations related to lens operation control, and outputs control information as an output signal S91. Further, the CPU 9 calculates control information used in the composition ratio adjusting circuit 7, outputs the control information as an output signal S92, and outputs the coordinate position of the AF evaluation frame as an output signal S93.

まずCPU9において、AF評価値生成回路8の出力信号S8からレンズの制御情報を算出する方法について、図5を参照しながら説明する。図5は、図1におけるレンズ系1のフォーカスを調整するためのオートフォーカス制御を行ったときの遷移状態を示す説明図である。   First, a method for calculating lens control information from the output signal S8 of the AF evaluation value generation circuit 8 in the CPU 9 will be described with reference to FIG. FIG. 5 is an explanatory diagram showing a transition state when autofocus control for adjusting the focus of the lens system 1 in FIG. 1 is performed.

5図に示すように、レンズの制御状態は、AF評価値の遷移によって3つの状態に分けることができる。AF評価値が小さい時は、AF評価枠内に高周波成分が少ないということなので大ボケの状態であると考えられる。このときはレンズの駆動方向を判定する「方向判定(方向判別)」の状態となる。   As shown in FIG. 5, the control state of the lens can be divided into three states according to the transition of the AF evaluation value. When the AF evaluation value is small, it is considered that there is a large amount of high frequency components in the AF evaluation frame, and therefore it is considered to be in a largely blurred state. At this time, a state of “direction determination (direction determination)” for determining the driving direction of the lens is set.

AF評価値が大きいときは、AF評価枠内に高周波成分が多いということなので、フォーカスがあっていると考えることができる。このときはAF評価値が最大となる付近でレンズを微小駆動させる「頂上探索」の状態となる。   When the AF evaluation value is large, there are many high-frequency components in the AF evaluation frame, so that it can be considered that the focus is on. At this time, the “top search” state in which the lens is finely driven in the vicinity of the maximum AF evaluation value is set.

AF評価値が単調増加している時は、AF評価枠内の高周波成分が増加しているということなので、フォーカスが徐々に合ってきている状態と考えられる。このときレンズは一定方向に駆動している「山登り」の状態となる。   When the AF evaluation value is monotonously increasing, it means that the high frequency component in the AF evaluation frame is increasing, and it is considered that the focus is gradually being adjusted. At this time, the lens is in a “mountain climbing” state where it is driven in a certain direction.

次に、図1におけるCPU9によって実行されるオートフォーカス制御処理の手順について図6のフローチャートによって説明する。図6において、通常のオートフォーカス制御を開始したときの初期状態では、レンズ系1を微小駆動する制御を行っている(ステップS201)。なお、オートフォーカス制御中に、初期状態がレンズ系1を微小駆動する以外の制御状態であったとしても、処理の流れに影響は無い。   Next, the procedure of the autofocus control process executed by the CPU 9 in FIG. 1 will be described with reference to the flowchart of FIG. In FIG. 6, in the initial state when normal autofocus control is started, control for minutely driving the lens system 1 is performed (step S201). Even if the initial state is a control state other than the minute driving of the lens system 1 during autofocus control, there is no effect on the flow of processing.

まず、AF評価値生成回路8の出力信号S8(AF評価)を取り込み(ステップS202)、メモリに保存する(ステップS203)。次に、AF評価値が一定回数増加または減少を繰り返している場合は、AFの方向判定ができていると判断することができるため(ステップS204でYES)、山登りと判断して(ステップS205)山登り制御を行う。   First, the output signal S8 (AF evaluation) of the AF evaluation value generation circuit 8 is captured (step S202) and stored in the memory (step S203). Next, when the AF evaluation value repeats increasing or decreasing a certain number of times, it can be determined that the AF direction has been determined (YES in step S204), so it is determined that the mountain has been climbed (step S205). Perform hill climbing control.

この山登り制御では、AF評価値が一定回数の増加または減少を繰り返していない場合に、一定回数同じ領域で往復しているかのチェックを行う。なお、この一定回数は予め設定された値でも、外部から設定可能な値でも良い。   In this hill-climbing control, if the AF evaluation value has not repeatedly increased or decreased a certain number of times, it is checked whether or not it has reciprocated in the same region a certain number of times. The fixed number of times may be a preset value or a value that can be set from the outside.

この山登り制御では、AF評価値生成回路8の出力信号S8を取り込み(ステップS206)、メモリに保存する(ステップS207)。   In this hill climbing control, the output signal S8 of the AF evaluation value generation circuit 8 is fetched (step S206) and stored in the memory (step S207).

保存したAF評価値が、メモリから読み出したAF評価値よりも大きいとき(ステップS208でYES)には、レンズ系1を順方向に移動させる制御信号をCPU9から出力信号S91として出力する(ステップS209)。   When the stored AF evaluation value is larger than the AF evaluation value read from the memory (YES in step S208), a control signal for moving the lens system 1 in the forward direction is output from the CPU 9 as an output signal S91 (step S209). ).

保存したAF評価値が、メモリから読み出したAF評価値よりも小さいとき(ステップS208でNO)には、レンズ系1を逆方向に移動させる制御信号をCPU9から出力信号S91として出力する(ステップS210)。その後、制御を最初の微小駆動(ステップS201)の状態に戻し、電源がオフになる等でオートフォーカス制御が終了(図示せず)するまで、フローチャートを繰り返し処理する。   When the stored AF evaluation value is smaller than the AF evaluation value read from the memory (NO in step S208), a control signal for moving the lens system 1 in the reverse direction is output from the CPU 9 as the output signal S91 (step S210). ). Thereafter, the control is returned to the initial micro-driving state (step S201), and the flowchart is repeatedly processed until the autofocus control is ended (not shown) by turning off the power.

また、ステップS204で判定の結果、AF評価値が一定回数増加または減少を繰り返していない場合(ステップS204でNO)には、AF評価値が一定回数同じ領域で往復しているか判定(ステップS211)を行う。ステップS204で判定の結果、往復しているときには(ステップS211でYES)、合焦判定が出来たということなので、AFの制御状態を「頂上付近」と判断する(ステップS212)。さらにAF評価値生成回路8の出力信号S8を取り込み(ステップS213)、メモリに保存する(ステップS214)。   If the result of determination in step S204 is that the AF evaluation value has not repeatedly increased or decreased a predetermined number of times (NO in step S204), it is determined whether the AF evaluation value has reciprocated in the same region a predetermined number of times (step S211). I do. As a result of the determination in step S204, when the vehicle is reciprocating (YES in step S211), it is determined that the in-focus determination has been made, so the AF control state is determined to be “near the top” (step S212). Further, the output signal S8 of the AF evaluation value generation circuit 8 is fetched (step S213) and stored in the memory (step S214).

そして、今回のAF評価値の変動が大きいと判断した場合(ステップS215でYES)は、制御を最初の微小駆動に戻して、ステップS201以降の処理を繰り返す。   If it is determined that the variation in the current AF evaluation value is large (YES in step S215), the control is returned to the first minute driving, and the processes in and after step S201 are repeated.

また、ステップS215で判定の結果、今回のAF評価値の変動が小さかった場合(ステップS215でNO)は、合焦している状態である。よってこのときには、レンズ系1の動作を停止させる制御信号をCPU9から出力信号S91として出力して(ステップS216)、AF評価値の変動が大きくなるまで、ステップS212以降の処理を繰り返す。   In addition, if the result of determination in step S215 is that the variation in the current AF evaluation value is small (NO in step S215), the state is in focus. Therefore, at this time, a control signal for stopping the operation of the lens system 1 is output from the CPU 9 as the output signal S91 (step S216), and the processing after step S212 is repeated until the AF evaluation value fluctuates.

次に、ステップS211でAF評価値が一定回数同じ領域で往復していないと判定したとき(ステップS211でNO)は、AFの制御状態を「方向判定」と判断(ステップS217)する。そして、この方向判定時には、制御を最初の微小駆動の処理(ステップS201)に戻って、ステップS201以降の処理を繰り返す。   Next, when it is determined in step S211 that the AF evaluation value does not reciprocate in the same region a predetermined number of times (NO in step S211), the AF control state is determined as “direction determination” (step S217). At the time of this direction determination, the control returns to the first minute driving process (step S201), and the processes after step S201 are repeated.

次に、合成比率調整回路7で使用する制御情報の算出方法について説明する。
この制御情報は、AFの制御状態に応じて値を変化させる。
Next, a method for calculating control information used in the synthesis ratio adjustment circuit 7 will be described.
This control information changes its value according to the AF control state.

オートフォーカス制御の制御状態が「頂上付近」に対応するときには、フォーカスが合っている状態なので、急激に検波値の合成比率が変化したときに算出されるAF評価値の変化が大きくなってしまう。この場合には、レンズが大きく駆動してしまい、フォーカスが合わない状態となってしまう。   When the control state of the autofocus control corresponds to “near the top”, since the focus is on, the change in the AF evaluation value calculated when the detection value composition ratio suddenly changes increases. In this case, the lens is driven greatly and the focus is not achieved.

したがって、フォーカスが合っている状態の場合には、徐々に特定被写体に対してフォーカスが合う状態となるように動作させる(変更度合いを小さくさせる)ため、制御情報として0に近い値を出力信号S93として出力する。すなわち、フォーカスが合っている状態の場合には、微小駆動時のAF制御状態とする。   Therefore, in the case of the in-focus state, the output signal S93 is set to a value close to 0 as the control information in order to gradually move the focus on the specific subject (to reduce the degree of change). Output as. In other words, when the focus is achieved, the AF control state during minute driving is set.

AFの制御状態が「方向判定」のときには、フォーカスが合っていない状態なので、急激に検波値の合成比率を変化させることにより算出されるAF評価値の変化が大きくなっても、画像の合焦状態の差が分かりにくくなっている。   When the AF control state is “direction determination”, since the focus is not achieved, the image is focused even if the AF evaluation value calculated by suddenly changing the detection value composition ratio increases. The difference in state is difficult to understand.

したがって、フォーカスが合わない大ボケの状態では、特定被写体に対して早くフォーカスが合うように検波値の合成比率を急激に変化させる(変更度合いを大きくさせる)ように、制御情報として1に近い値を出力信号S93として出力する。   Therefore, in the case of a large blur that is out of focus, a value close to 1 as control information so as to rapidly change the synthesis ratio of detection values (increase the degree of change) so that a specific subject can be focused quickly. Is output as an output signal S93.

また、AFの制御状態が「山登り(合焦位置へのレンズの移動動作状態)」のときには、「頂上付近(近似合焦状態)」「方向判定(合焦させるためのレンズの移動方向の判定状態)」という2つの状態の中間の状態である。よって、この「山登り(合焦位置へのレンズの移動動作状態)」のときには、制御情報として0.5に近い値を出力信号S93として出力する。   Further, when the AF control state is “mountain climbing (lens moving operation state to the in-focus position)”, “near the top (approximate in-focus state)” “direction determination (determination of the moving direction of the lens for focusing) This is an intermediate state between the two states. Therefore, at the time of this “mountain climbing (the movement operation state of the lens to the in-focus position)”, a value close to 0.5 is output as the output signal S93 as control information.

このように本第1実施の形態のオートフォーカス機能付撮像装置では、AF制御で使用する複数のAF評価枠の検波値を合成しAF評価値として求める。このときに、オートフォーカス機能付撮像装置では、特定被写体検出の結果(特定被写体と、複数のAF評価枠との相対的な位置関係)によって検波値の合成比率を変化させる。これによって、この撮像装置では、特定被写体を中心としたAF制御をビデオカメラ等の撮像装置において実現する。このビデオカメラ等の撮像装置では、合成比率の変化の度合い(履歴情報)をオートフォーカスの制御状態(AF制御状態)に応じて変更するよう制御する。これによって、このビデオカメラ等の撮像装置では、特定被写体検出結果の急激な変化による影響を低減した、特定被写体を中心としたAF制御を実現することができる。   As described above, in the imaging apparatus with an autofocus function according to the first embodiment, the detection values of a plurality of AF evaluation frames used in the AF control are combined and obtained as an AF evaluation value. At this time, in the imaging apparatus with an autofocus function, the detection value composition ratio is changed according to the result of the specific subject detection (the relative positional relationship between the specific subject and the plurality of AF evaluation frames). Thereby, in this imaging apparatus, AF control centering on a specific subject is realized in an imaging apparatus such as a video camera. In an imaging apparatus such as a video camera, control is performed such that the degree of change in the composition ratio (history information) is changed according to the autofocus control state (AF control state). As a result, in this imaging apparatus such as a video camera, it is possible to realize AF control centered on a specific subject with reduced influence due to a sudden change in the detection result of the specific subject.

〔第2実施の形態〕
次に、本発明の第2実施の形態に係わるオートフォーカス機能付撮像装置について、図7により説明する。図7は、第2実施の形態に係わるオートフォーカス機能付撮像装置の要部構成を概略的に示すブロック図である。なお、この図7において、前述した図1に対応する部分には、同一の符号を付すこととして、その詳細な説明を省略する。
[Second Embodiment]
Next, an image pickup apparatus with an autofocus function according to a second embodiment of the present invention will be described with reference to FIG. FIG. 7 is a block diagram schematically showing a main configuration of an imaging apparatus with an autofocus function according to the second embodiment. In FIG. 7, parts corresponding to those in FIG. 1 described above are denoted by the same reference numerals, and detailed description thereof is omitted.

本第2実施の形態に係わる撮像装置100では、オートフォーカス制御部に、第2のメモリ11と調整制御信号生成回路12とを新たに追加して構成したものである。   In the imaging apparatus 100 according to the second embodiment, a second memory 11 and an adjustment control signal generation circuit 12 are newly added to the autofocus control unit.

また、本第2実施の形態に係わる撮像装置100では、合成比率調整回路7が、CPU9の出力信号の代わりに調整制御信号生成回路12の出力信号S12を使用することとなる。この合成比率調整回路7におけるその他の処理は、前述した第1実施の形態と同様である。   In the imaging apparatus 100 according to the second embodiment, the synthesis ratio adjustment circuit 7 uses the output signal S12 of the adjustment control signal generation circuit 12 instead of the output signal of the CPU 9. Other processes in the synthesis ratio adjusting circuit 7 are the same as those in the first embodiment.

またCPU9は、前述した第1実施の形態で行っていた合成比率調整回路7の制御情報の算出処理および制御情報の出力を行わない。このCPU9におけるレンズの制御情報の生成方法および出力、各AF評価枠の座標情報の出力に関しては、前述した第1実施の形態と同様である。   Further, the CPU 9 does not perform the control information calculation process and the control information output of the synthesis ratio adjusting circuit 7 performed in the first embodiment. The generation method and output of the lens control information and the output of the coordinate information of each AF evaluation frame in the CPU 9 are the same as those in the first embodiment described above.

次に、オートフォーカス制御部に新たに追加された、第2のメモリ11と調整制御信号生成回路12とについて説明する。この第2のメモリ11には、合成比率算出回路6から出力信号S6が入力されるよう構成する。第2のメモリ11は、合成比率算出回路6の出力信号S6が入力された際に、出力信号S6を保持(記憶)する。また、第2のメモリ11は、保持していた前回に算出された合成比率を、出力信号S11として、調整制御信号生成回路12へ出力するよう構成する。   Next, the second memory 11 and the adjustment control signal generation circuit 12 newly added to the autofocus control unit will be described. The second memory 11 is configured to receive the output signal S6 from the synthesis ratio calculation circuit 6. The second memory 11 holds (stores) the output signal S6 when the output signal S6 of the synthesis ratio calculation circuit 6 is input. Further, the second memory 11 is configured to output the last-calculated synthesis ratio held therein to the adjustment control signal generation circuit 12 as the output signal S11.

調整制御信号生成回路12は、合成比率算出回路6の出力信号S6及び第2のメモリ11の出力信号S11と、CPU9の出力信号S92とを入力信号とし、合成比率調整回路7で使用する調整制御信号を算出し、出力信号S12として出力する。   The adjustment control signal generation circuit 12 uses the output signal S6 of the synthesis ratio calculation circuit 6 and the output signal S11 of the second memory 11 and the output signal S92 of the CPU 9 as input signals, and the adjustment control used in the synthesis ratio adjustment circuit 7 The signal is calculated and output as an output signal S12.

この調整制御信号生成回路12では、合成比率算出回路6の出力信号S6と、第2のメモリ11の出力信号S11と、CPU9の出力信号S92とを入力信号とする。そして、これら入力信号が入力された調整制御信号生成回路12は、合成比率調整回路7で使用する調整のための値を算出し、出力信号S12として出力する。   In the adjustment control signal generation circuit 12, the output signal S6 of the synthesis ratio calculation circuit 6, the output signal S11 of the second memory 11, and the output signal S92 of the CPU 9 are used as input signals. Then, the adjustment control signal generation circuit 12 to which these input signals are input calculates a value for adjustment used in the synthesis ratio adjustment circuit 7 and outputs it as an output signal S12.

すなわち、この調整制御信号生成回路12は、合成比率算出回路6の出力信号S6及びAF評価枠の座標情報であるCPU9の出力信号S92から、最も合成比率の高いAF評価枠の座標情報を取得する。さらに、この調整制御信号生成回路12は、第2のメモリ11の出力信号S11及びAF評価枠の座標情報であるCPU9の出力信号S92から、最も合成比率の高いAF評価枠の座標情報を取得する。   That is, the adjustment control signal generation circuit 12 acquires the coordinate information of the AF evaluation frame with the highest composition ratio from the output signal S6 of the composition ratio calculation circuit 6 and the output signal S92 of the CPU 9 that is the coordinate information of the AF evaluation frame. . Further, the adjustment control signal generation circuit 12 acquires the coordinate information of the AF evaluation frame having the highest composition ratio from the output signal S11 of the second memory 11 and the output signal S92 of the CPU 9 which is the coordinate information of the AF evaluation frame. .

次に、この調整制御信号生成回路12は、前回の最も合成比率の高いAF評価枠の座標と、今回の最も合成比率の高いAF評価枠の座標との距離を算出し、距離が離れているほど0に近い値を出力信号S12として出力する。これと共に、この調整制御信号生成回路12は、距離が近い程(小さい程)、1に近い値を出力信号S12として出力する。なお、距離が0、つまり最も合成比率の高いAF評価枠が移動していない場合には、1を出力信号S12として出力する。   Next, the adjustment control signal generation circuit 12 calculates the distance between the previous coordinate of the AF evaluation frame with the highest composition ratio and the coordinate of the AF evaluation frame with the highest composition ratio this time, and the distance is long. A value closer to 0 is output as the output signal S12. At the same time, the adjustment control signal generation circuit 12 outputs a value closer to 1 as the output signal S12 as the distance is shorter (smaller). When the distance is 0, that is, when the AF evaluation frame having the highest composition ratio is not moved, 1 is output as the output signal S12.

この調整制御信号生成回路12は、上述のように制御することにより、合成比率調整回路7において最も合成比率の高いAF評価枠の移動が少ないときには、急激に合成比率を変化させる。これは、重点を置くAF評価枠(特定被写体があるAF評価枠)の移動が画像に与える影響が小さいためである。   The adjustment control signal generation circuit 12 performs the control as described above, and when the movement of the AF evaluation frame having the highest combination ratio in the combination ratio adjustment circuit 7 is small, the adjustment ratio is rapidly changed. This is because the influence of the movement of the AF evaluation frame on which the emphasis is placed (the AF evaluation frame having the specific subject) on the image is small.

さらに、この調整制御信号生成回路12は、最も合成比率の高いAF評価枠の移動が大きいときには、合成比率の変化が小さくなるように調整信号を出力する。これは、重点を置くAF評価枠(特定被写体があるAF評価枠)の移動が画像に与える影響が大きく、急に画像が大ボケしてしまう可能性があるためである。   Further, the adjustment control signal generation circuit 12 outputs an adjustment signal so that the change of the composition ratio becomes small when the movement of the AF evaluation frame having the highest composition ratio is large. This is because the movement of the AF evaluation frame on which the emphasis is placed (the AF evaluation frame with a specific subject) has a large influence on the image, and the image may suddenly become out of focus.

この本第2実施の形態の撮像装置100では、AF制御で使用する複数のAF評価枠の検波値を合成しAF評価値として求めるときに、特定被写体検出の結果(特定被写体と、複数のAF評価枠との相対的な位置関係)によって検波値の合成比率を変化させる。これによって、ビデオカメラ等の撮像装置100は、特定被写体を中心としたAF制御を実現する。さらに、このビデオカメラ等の撮像装置では、合成比率の変化の度合い(履歴情報)を、重点を置くAF評価枠の移動距離に応じて適応的に変更するよう制御する。これによって、ビデオカメラ等の撮像装置100は、特定被写体を中心としたAF制御を行いながらも特定被写体検出結果の急激な変化による影響を低減したAF制御を実現することができる。   In the imaging apparatus 100 according to the second embodiment, when the detection values of a plurality of AF evaluation frames used in AF control are combined and obtained as an AF evaluation value, the result of specific subject detection (a specific subject and a plurality of AFs) is obtained. The detection value composition ratio is changed according to the relative position relative to the evaluation frame. As a result, the imaging apparatus 100 such as a video camera implements AF control centered on a specific subject. Furthermore, in this imaging apparatus such as a video camera, control is performed so that the degree of change in the composition ratio (history information) is adaptively changed in accordance with the movement distance of the AF evaluation frame to be emphasized. As a result, the imaging apparatus 100 such as a video camera can realize AF control in which the influence of a sudden change in the detection result of the specific subject is reduced while performing AF control around the specific subject.

なお、本発明は、上述した実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲内において適宜変更可能である。   Note that the present invention is not limited to the above-described embodiment, and can be appropriately changed without departing from the gist of the present invention.

また、本発明の目的は、以下の処理を実行することによって達成することができる。すなわち、上述した実施の形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給する。そして、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)が記憶媒体に格納されたプログラムコードを読み出して処理を実行することによって達成できる。   The object of the present invention can be achieved by executing the following processing. That is, a storage medium that records a program code of software that implements the functions of the above-described embodiments is supplied to a system or apparatus. This can be achieved by the computer (or CPU, MPU, etc.) of the system or apparatus reading the program code stored in the storage medium and executing the processing.

この場合には、記憶媒体から読み出されたプログラムコード自体が前述した実施の形態の機能を実現することになる。加えて、本発明では、プログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現されるように構成しても良い。さらに、本発明では、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれるように構成する。そして、プログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行うように構成しても良い。なお、プログラムコードを供給するための記憶媒体としては、次のものを用いることができる。例えば、フロッピー(登録商標)ディスク、ハードディスク、光磁気ディスク、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW、磁気テープ、不揮発性のメモリカード、ROM等である。または、プログラムコードは、ネットワークを介してダウンロードしてもよい。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment. In addition, in the present invention, an OS (operating system) or the like running on the computer performs part or all of the actual processing based on the instruction of the program code, and the functions of the above-described embodiments are realized by the processing. It may be configured as described above. Furthermore, in the present invention, the program code read from the storage medium is configured to be written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. Then, based on an instruction of the program code, a CPU or the like provided in the function expansion board or function expansion unit may be configured to perform part or all of the actual processing. The following can be used as a storage medium for supplying the program code. For example, floppy (registered trademark) disk, hard disk, magneto-optical disk, CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW, magnetic tape, nonvolatile memory card, ROM or the like. Alternatively, the program code may be downloaded via a network.

本発明の第1実施の形態に係わるオートフォーカス機能付撮像装置の要部構成を概略的に示すブロック図である。1 is a block diagram schematically showing a main configuration of an image pickup apparatus with an autofocus function according to a first embodiment of the present invention. ファインダー視野に設定された複数の焦点検出領域の配置を例示する説明図である。It is explanatory drawing which illustrates arrangement | positioning of several focus detection area | region set to the finder visual field. 図1における合成比率調整回路の回路図である。FIG. 2 is a circuit diagram of a synthesis ratio adjustment circuit in FIG. 1. 図1におけるAF評価値算出回路での演算の模式図である。It is a schematic diagram of the calculation in the AF evaluation value calculation circuit in FIG. 図1におけるレンズ系のフォーカスを調整するためのオートフォーカス制御を行ったときの遷移状態を示す説明図である。It is explanatory drawing which shows the transition state when performing the autofocus control for adjusting the focus of the lens system in FIG. 図1におけるCPUによって実行されるオートフォーカス制御処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the autofocus control process performed by CPU in FIG. 本発明の第2実施の形態に係わるオートフォーカス機能付撮像装置の要部構成を概略的に示すブロック図である。It is a block diagram which shows roughly the principal part structure of the imaging device with an auto-focus function concerning 2nd Embodiment of this invention.

符号の説明Explanation of symbols

1 レンズ系
2 撮像素子
3 AFE
4 カメラ信号処理回路
5 被写体検出回路
6 合成比率算出回路
7 合成比率調整回路
8 AF評価値生成回路
9 CPU(中央制御装置)
10 レンズ駆動制御回路
11 メモリ
12 調整制御信号生成回路
1 Lens system 2 Image sensor 3 AFE
4 camera signal processing circuit 5 subject detection circuit 6 composition ratio calculation circuit 7 composition ratio adjustment circuit 8 AF evaluation value generation circuit 9 CPU (central control unit)
DESCRIPTION OF SYMBOLS 10 Lens drive control circuit 11 Memory 12 Adjustment control signal generation circuit

Claims (2)

撮像画像から合焦すべき被写体像を検出する検出手段と、
撮像光学系の合焦状態を検出する際の焦点検出領域を複数設定する設定手段と、
前記焦点検出領域における検波値より算出されたAF評価値に基づいて前記撮像光学系を移動させてAF制御を行う焦点調節手段と、前記検出手段により検出された被写***置と前記複数の焦点検出領域との相対的な位置関係に応じて、複数の焦点検出領域における検波値の合成比率を算出する合成比率算出手段とを有する撮像装置であって、
前記AF制御の状態が方向判定のときには、前記AF制御の状態が山登りのときに比べて前記合成比率算出手段の合成比率の変化度合いを大きくし、前記AF制御の状態が頂上付近のときには、前記AF制御の状態が山登りのときに比べて前記合成比率算出手段の合成比率の変化度合いを小さくすることを特徴とする撮像装置。
Detecting means for detecting a subject image to be focused from the captured image;
Setting means for setting a plurality of focus detection areas when detecting the in-focus state of the imaging optical system;
A focus adjustment unit that performs AF control by moving the imaging optical system based on an AF evaluation value calculated from a detection value in the focus detection region, a subject position detected by the detection unit, and the plurality of focus detection regions An imaging device having a synthesis ratio calculation means for calculating a synthesis ratio of detection values in a plurality of focus detection areas according to a relative positional relationship with
When the state of the AF control is a direction determination, the degree of change of the composite ratio of the composite ratio calculation means is larger than when the state of the AF control is hill climbing, and when the state of the AF control is near the top , An image pickup apparatus characterized in that the degree of change of the composite ratio of the composite ratio calculating means is made smaller than when the state of AF control is mountain climbing.
撮像画像から合焦すべき被写体像を検出する検出ステップと、撮像光学系の合焦状態を検出する際の焦点検出領域を複数設定する設定ステップと、前記焦点検出領域における検波値より算出されたAF評価値に基づいて前記撮像光学系を移動させてAF制御を行う焦点調節ステップと、前記検出ステップにより検出された被写***置と前記複数の焦点検出領域との相対的な位置関係に応じて、複数の焦点検出領域における検波値の合成比率を算出する合成比率算出ステップとを有する撮像装置の制御方法であって、
前記AF制御の状態が方向判定のときには、前記AF制御の状態が山登りのときに比べて前記合成比率算出ステップの合成比率の変化度合いを大きくし、前記AF制御の状態が頂上付近のときには、前記AF制御の状態が山登りのときに比べて前記合成比率算出ステップの合成比率の変化度合いを小さくすることを特徴とする撮像装置の制御方法。
Calculated from a detection step for detecting a subject image to be focused from the captured image, a setting step for setting a plurality of focus detection areas when detecting the focus state of the imaging optical system, and a detection value in the focus detection area A focus adjustment step for performing AF control by moving the imaging optical system based on an AF evaluation value, and a relative positional relationship between the subject position detected by the detection step and the plurality of focus detection regions, A control method for an imaging apparatus, comprising: a composite ratio calculating step for calculating a composite ratio of detection values in a plurality of focus detection areas;
When the state of the AF control is a direction determination, the degree of change of the composite ratio in the composite ratio calculation step is larger than when the state of the AF control is hill climbing, and when the state of the AF control is near the top , A method for controlling an image pickup apparatus, characterized in that the degree of change in the composition ratio in the composition ratio calculation step is made smaller than when the state of AF control is mountain climbing.
JP2007238066A 2007-09-13 2007-09-13 Imaging apparatus and control method thereof Expired - Fee Related JP5063268B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007238066A JP5063268B2 (en) 2007-09-13 2007-09-13 Imaging apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007238066A JP5063268B2 (en) 2007-09-13 2007-09-13 Imaging apparatus and control method thereof

Publications (2)

Publication Number Publication Date
JP2009069496A JP2009069496A (en) 2009-04-02
JP5063268B2 true JP5063268B2 (en) 2012-10-31

Family

ID=40605823

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007238066A Expired - Fee Related JP5063268B2 (en) 2007-09-13 2007-09-13 Imaging apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP5063268B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2770408B2 (en) * 1989-04-24 1998-07-02 ミノルタ株式会社 Focus detection device
JP4642542B2 (en) * 2005-05-09 2011-03-02 キヤノン株式会社 Focus adjustment device, imaging device, and control method thereof

Also Published As

Publication number Publication date
JP2009069496A (en) 2009-04-02

Similar Documents

Publication Publication Date Title
JP4582423B2 (en) Imaging apparatus, image processing apparatus, imaging method, and image processing method
JP5088118B2 (en) Focus adjustment device
JP4674471B2 (en) Digital camera
US8629915B2 (en) Digital photographing apparatus, method of controlling the same, and computer readable storage medium
US8947579B2 (en) Imaging apparatus, imaging system, and imaging apparatus control method and program for setting a range of lens positions
US9413946B2 (en) Imaging apparatus and imaging method
JP2008271240A (en) Imaging apparatus, image processing apparatus, imaging method, and image processing method
JP5210843B2 (en) Imaging device
JP2010139666A (en) Imaging device
JP2012164002A (en) Imaging apparatus and imaging method
KR20110032250A (en) Method for auto focusing, medium for recording the method and apparatus applying the method
JP2016201626A (en) Shift element controller, shift element control program and optical apparatus
US20050128340A1 (en) Lens barrel and imaging apparatus
JP4595563B2 (en) Autofocus control device, autofocus control method, and imaging device
JP2010279054A (en) Image pickup device, image processing device, image pickup method, and image processing method
JP2002122776A (en) Autofocus controller, digital still camera and digital video camera equipped with the same, autofocus control method and recording medium having autofocus control program recorded thereon
JP6087536B2 (en) Imaging apparatus and control method thereof
JP5063268B2 (en) Imaging apparatus and control method thereof
JP4981758B2 (en) Focus adjustment apparatus and method
JP2016021016A (en) Imaging apparatus and imaging method
JP6164978B2 (en) FOCUS ADJUSTMENT DEVICE, ITS CONTROL METHOD, CONTROL PROGRAM, AND IMAGING DEVICE
JP2005208274A (en) Autofocusing camera
JPH11211974A (en) Image pickup device
JP2006243609A (en) Autofocus device
JP7020387B2 (en) Imaging control device, imaging device and imaging control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100907

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111102

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111108

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120424

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120621

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

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

R151 Written notification of patent or utility model registration

Ref document number: 5063268

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20150817

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees