JP5913902B2 - Automatic focusing device and automatic focusing method - Google Patents

Automatic focusing device and automatic focusing method Download PDF

Info

Publication number
JP5913902B2
JP5913902B2 JP2011232335A JP2011232335A JP5913902B2 JP 5913902 B2 JP5913902 B2 JP 5913902B2 JP 2011232335 A JP2011232335 A JP 2011232335A JP 2011232335 A JP2011232335 A JP 2011232335A JP 5913902 B2 JP5913902 B2 JP 5913902B2
Authority
JP
Japan
Prior art keywords
subject
detection
size
change
detected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2011232335A
Other languages
Japanese (ja)
Other versions
JP2013088785A (en
JP2013088785A5 (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 JP2011232335A priority Critical patent/JP5913902B2/en
Priority to US13/649,380 priority patent/US9160916B2/en
Publication of JP2013088785A publication Critical patent/JP2013088785A/en
Publication of JP2013088785A5 publication Critical patent/JP2013088785A5/ja
Application granted granted Critical
Publication of JP5913902B2 publication Critical patent/JP5913902B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、撮像対象に人物などの予め定められた被写体を含む場合に、人物などの特徴部(顔部など)を抽出し、その結果を考慮して焦点調節を行う撮像装置における自動焦点調節装置及び方法に関する。 According to the present invention, when an imaging target includes a predetermined subject such as a person, a feature part (such as a face part) such as a person is extracted, and automatic focusing is performed in an imaging apparatus that performs focus adjustment in consideration of the result. The present invention relates to an apparatus and a method.

ビデオカメラ等の自動焦点調節であるオートフォーカス(AF)制御では、次の様なTV−AF方式が主流である。すなわち、被写体からの光を撮像素子を用いて光電変換することにより生成された映像信号の鮮鋭度(コントラスト状態)を示すAF評価値信号を生成し、該AF評価値信号が最大となるフォーカスレンズの位置を探索する。しかしながら、顔検出機能を有する撮像装置において、人物を撮影する場合、一般的に人の顔はコントラストが低いため、十分なAF評価値を得にくい。よって、被写体との距離の変化が発生した場合などは、AF評価値の変化では合焦方向の特定が困難であるため、被写体に対してレンズ位置が追従できずに被写体像がボケてしまうことがあった。 In autofocus (AF) control, which is automatic focus adjustment for a video camera or the like, the following TV-AF system is the mainstream. That is, an AF evaluation value signal indicating the sharpness (contrast state) of a video signal generated by photoelectrically converting light from a subject using an image sensor, and a focus lens that maximizes the AF evaluation value signal Search for the location of. However, when a person is photographed in an imaging apparatus having a face detection function, it is difficult to obtain a sufficient AF evaluation value because a human face generally has low contrast. Therefore, when a change in the distance to the subject occurs, it is difficult to specify the in-focus direction with a change in the AF evaluation value, and the subject image is blurred because the lens position cannot follow the subject. was there.

このような問題を解決するために、検出された顔のサイズを比較し、顔サイズの増減が発生した場合は、被写体が至近または無限側の方向へ移動したと判定し、被写体を追従するようにフォーカスレンズを駆動する方法が提案されている(特許文献1、特許文献2参照)。 In order to solve such problems, the detected face sizes are compared, and if the face size increases or decreases, it is determined that the subject has moved closer or infinitely and follows the subject. A method of driving a focus lens has been proposed (see Patent Document 1 and Patent Document 2).

特開2009-31760号公報JP 2009-31760 JP 特開2008-276214号公報JP 2008-276214 A

しかし、上述した顔検出を用いたオートフォーカスでは、被写界深度などの撮影パラメータや被写体の状態を考慮していないため、次の様なことが起こり得る。すなわち、検出された顔のサイズのバラツキや撮影時のパラメータの設定によっては、被写体の距離変化の方向を誤判定してしまったり、被写体にボケが発生していないのに不必要に移動判定を行ってしまい、オートフォーカスの精度が低下することがあり得る。 However, in the autofocus using the face detection described above, since the shooting parameters such as the depth of field and the state of the subject are not considered, the following can occur. In other words, depending on the detected size variation of the face and the setting of the parameters at the time of shooting, the direction of the subject's distance change may be misjudged, or even if there is no blur on the subject, movement determination is unnecessary. The accuracy of autofocus may be reduced.

本発明は、上記点を鑑みてなされたものである。その目的は、動画撮影等でTV−AF方式を用いて被写体の人物等にAFを行うと共に、被写体の距離変化が発生した場合に被写体の状態を考慮して距離変化判定を行い、AFの安定性と精度を高められる自動焦点調節装置及び方法を提供することである。 The present invention has been made in view of the above points. The purpose is to perform AF on a subject person using the TV-AF method in moving image shooting and the like, and when a change in the distance of the subject occurs, determine the distance change in consideration of the state of the subject to stabilize AF. It is an object of the present invention to provide an automatic focusing apparatus and method capable of improving the performance and accuracy.

本発明の自動焦点調節装置は、フォーカスレンズを含む撮像光学系を通過した被写体からの光を光電変換して電気信号に変換する撮像素子と、前記撮像素子から出力される電気信号のうち設定された焦点検出領域に対応する電気信号からAF評価値を生成する生成手段と、前記撮像素子から出力される電気信号から所定の被写体像を検出する検出手段と、前記検出手段が検出した前記被写体の光軸方向の距離変化の有無を判別する判別手段と、前記AF評価値に基づいて前記フォーカスレンズを駆動制御して焦点調節を行う制御手段と、前記検出手段による検出結果が前記被写体の安定状態での結果であるか否かを判定する被写体安定判定手段と、を有する。前記被写体安定判定手段は、前記検出手段により検出された前記被写体像の大きさまたは位置を記憶する被写体情報記憶手段と、前記検出手段により検出された前記被写体像の最新の大きさまたは位置と時間間隔を置いて前に前記被写体情報記憶手段に記憶された前記被写体像の大きさまたは位置との差分値を算出する第1の差分算出手段と、前記第1の差分算出手段による差分値の算出結果を記憶する差分記憶手段と、を有し、前記差分記憶手段に記憶している最新の差分値と時間間隔を置いて前に記憶された差分値との変化量である、前記検出手段により検出される前記被写体像の大きさまたは位置の変化の急峻度合いが、所定時間連続して閾値未満である場合に前記被写体が安定していると判断する。前記制御手段は、前記判別手段による判別の結果に応じて前記検出手段が検出した被写体の光軸方向の距離変化に合わせて前記フォーカスレンズを駆動制御する際に、前記検出手段が検出した、前記被写体安定判定手段により前記被写体が安定していると判断されたときの被写体像の大きさの変化量が所定量より大きい場合には当該被写体の光軸方向の距離変化に対応させた追従駆動動作を前記フォーカスレンズの駆動制御として行い、前記検出手段が検出した、前記被写体安定判定手段により前記被写体が安定していると判断されたときの被写体像の大きさの変化量が前記所定量より小さい場合には前記検出手段が検出した被写体の光軸方向の距離変化に合わせた前記追従駆動動作を制限する。 The automatic focus adjustment apparatus of the present invention is set among an image sensor that photoelectrically converts light from a subject that has passed through an imaging optical system including a focus lens into an electric signal, and an electric signal output from the image sensor. Generating means for generating an AF evaluation value from the electrical signal corresponding to the focus detection area, detecting means for detecting a predetermined subject image from the electrical signal output from the image sensor, and detection of the subject detected by the detecting means Discriminating means for discriminating whether or not there is a distance change in the optical axis direction, control means for controlling the focus by driving the focus lens based on the AF evaluation value, and a detection result by the detecting means is a stable state of the subject Subject stability determination means for determining whether or not the result is The subject stability determination means includes subject information storage means for storing the size or position of the subject image detected by the detection means, and the latest size or position and time of the subject image detected by the detection means. First difference calculation means for calculating a difference value with the size or position of the subject image previously stored in the subject information storage means at an interval, and calculation of the difference value by the first difference calculation means A difference storage means for storing a result, and a change amount between a latest difference value stored in the difference storage means and a difference value previously stored at a time interval. It is determined that the subject is stable when the detected steepness of the size or position of the subject image is less than a threshold value for a predetermined time continuously. The control unit detects the detection unit when driving the focus lens in accordance with a change in the distance in the optical axis direction of the subject detected by the detection unit according to a determination result by the determination unit. If the amount of change in the size of the subject image when the subject stability determination means determines that the subject is stable is greater than a predetermined amount, a follow-up driving operation corresponding to the change in the distance of the subject in the optical axis direction Is controlled by the focus lens, and the amount of change in the size of the subject image detected by the detection unit when the subject stability determination unit determines that the subject is stable is smaller than the predetermined amount. In this case, the following driving operation is limited in accordance with the change in the distance of the subject in the optical axis direction detected by the detecting means.

また、本発明の自動焦点調節方法は、フォーカスレンズを含む撮像光学系を通過した被写体からの光を光電変換して電気信号に変換するステップと、前記変換ステップにおいて出力される電気信号のうち設定された焦点検出領域に対応する電気信号からAF評価値を生成する生成ステップと、前記変換ステップにおいて出力される電気信号から所定の被写体像を検出する検出ステップと、前記検出ステップで検出した前記被写体の光軸方向の距離変化の有無を判別する判別ステップと、前記AF評価値に基づいて前記フォーカスレンズを駆動制御して焦点調節を行う制御ステップと、前記検出ステップでの検出結果が前記被写体の安定状態での結果であるか否かを判定する被写体安定判定ステップと、を有する。前記被写体安定判定ステップは、前記検出ステップで検出された前記被写体像の大きさまたは位置を記憶する被写体情報記憶ステップと、前記検出ステップで検出された前記被写体像の最新の大きさまたは位置と時間間隔を置いて前に前記被写体情報記憶ステップで記憶された前記被写体像の大きさまたは位置との差分値を算出する第1の差分算出ステップと、前記第1の差分算出ステップの算出による差分値の算出結果を記憶する差分記憶ステップと、を有し、前記被写体安定判定ステップでは、前記差分記憶ステップで記憶している最新の差分値と時間間隔を置いて前に記憶された差分値との変化量である、前記検出ステップで検出される前記被写体像の大きさまたは位置の変化の急峻度合いが、所定時間連続して閾値未満である場合に前記被写体が安定していると判断する。前記制御ステップにおいて、前記判別ステップにおける判別の結果に応じて前記検出ステップで検出した被写体の光軸方向の距離変化に合わせて前記フォーカスレンズを駆動制御する際に、前記検出ステップで検出した、前記被写体安定判定ステップで前記被写体が安定していると判断されたときの被写体像の大きさの変化量が所定量より大きい場合には当該被写体の光軸方向の距離変化に対応させた追従駆動動作を前記フォーカスレンズの駆動制御として行い、前記検出ステップで検出した、前記被写体安定判定ステップで前記被写体が安定していると判断されたときの被写体像の大きさの変化量が前記所定量より小さい場合には前記検出ステップで検出した被写体の光軸方向の距離変化に合わせた前記追従駆動動作を制限する。 The automatic focus adjustment method of the present invention includes a step of photoelectrically converting light from a subject that has passed through an imaging optical system including a focus lens into an electrical signal, and setting among electrical signals output in the conversion step A generation step of generating an AF evaluation value from an electrical signal corresponding to the focus detection area, a detection step of detecting a predetermined subject image from the electrical signal output in the conversion step, and the subject detected in the detection step A determination step for determining whether or not there is a change in the distance in the optical axis direction, a control step for driving and controlling the focus lens based on the AF evaluation value, and a detection result in the detection step A subject stability determination step for determining whether or not the result is in a stable state. The subject stability determination step includes a subject information storage step for storing the size or position of the subject image detected in the detection step, and a latest size or position and time of the subject image detected in the detection step. A first difference calculation step for calculating a difference value between the size or position of the subject image stored in the subject information storage step at an interval before and a difference value obtained by calculation in the first difference calculation step A difference storage step for storing the calculation result of the difference between the latest difference value stored in the difference storage step and the difference value stored previously with a time interval. When the steepness of change in the size or position of the subject image detected in the detection step, which is the amount of change, is less than a threshold value for a predetermined time continuously The serial subject is determined to be stable. In the control step, when the focus lens is driven and controlled in accordance with the distance change in the optical axis direction of the subject detected in the detection step according to the determination result in the determination step, the detection is detected in the detection step, If the amount of change in the size of the subject image when the subject is determined to be stable in the subject stability determination step is greater than a predetermined amount, a follow-up driving operation corresponding to the change in the distance of the subject in the optical axis direction The focus lens drive control is performed, and the amount of change in the size of the subject image that is detected in the detection step and determined that the subject is stable in the subject stability determination step is smaller than the predetermined amount. In this case, the following driving operation is limited in accordance with the change in the distance of the subject in the optical axis direction detected in the detection step.

以上説明したように、本発明によれば、被写体の状態を分析し、安定した状態の被写体の情報を用いて被写体の距離変化の有無の判定を行うため、誤判定が低減し、不必要な判定を回避することが可能になる。これらにより、オートフォーカスの安定性と精度の向上が可能になる。 As described above, according to the present invention, the state of the subject is analyzed, and the presence / absence of a change in the distance of the subject is determined using information on the subject in a stable state, so that erroneous determination is reduced and unnecessary. Judgment can be avoided. As a result, the stability and accuracy of autofocus can be improved.

本発明の一実施例であるビデオカメラの構成を示すブロック図。1 is a block diagram illustrating a configuration of a video camera that is an embodiment of the present invention. 本発明の一実施例のカメラ/AFマイコンの処理を示すフローチャート。The flowchart which shows the process of the camera / AF microcomputer of one Example of this invention. 本発明の一実施例の微小駆動動作の処理を示すフローチャート。The flowchart which shows the process of the micro drive operation | movement of one Example of this invention. 本発明の一実施例の微小駆動動作を示す図。The figure which shows the micro drive operation | movement of one Example of this invention. 本発明の一実施例の山登り動作の処理を示すフローチャート。The flowchart which shows the process of the mountain climbing operation | movement of one Example of this invention. 本発明の一実施例の山登り動作を示す図。The figure which shows the mountain climbing operation | movement of one Example of this invention. 本発明の一実施例の移動判定の処理を示すフローチャート。The flowchart which shows the process of the movement determination of one Example of this invention. 本発明の一実施例の安定判定の処理を示すフローチャート。The flowchart which shows the process of the stability determination of one Example of this invention. 本発明の一実施例の移動判定閾値設定の処理を示すフローチャート。The flowchart which shows the process of the movement determination threshold value setting of one Example of this invention. 本発明の一実施例のズームレンズ位置に応じた閾値を示す図。The figure which shows the threshold value according to the zoom lens position of one Example of this invention. 本発明の一実施例の基準顔サイズに応じた補正係数Kを示す図。The figure which shows the correction coefficient K according to the reference | standard face size of one Example of this invention. 本発明の一実施例の撮影モードに応じた補正係数K’を示す図。The figure which shows the correction coefficient K 'according to the imaging | photography mode of one Example of this invention. 本発明の一実施例の横顔を表す信頼度の算出方法を示す図。The figure which shows the calculation method of the reliability showing the side face of one Example of this invention.

本発明の特徴は、自動焦点調節に際して、所定の被写体(人物の顔など)が安定していると判断されたときの被写体の像の大きさの変化量が所定量より大きいか小さいかを判別し、小さい場合には、被写体の光軸方向の距離変化に合わせた追従駆動動作を制限して焦点調節を行い、大きい場合には、被写体の光軸方向の距離変化に合わせた追従駆動動作をフォーカスレンズの駆動制御として行って焦点調節を行うことにある。 A feature of the present invention is to determine whether the amount of change in the size of a subject image when it is determined that a predetermined subject (such as a person's face) is stable during autofocusing is larger or smaller than a predetermined amount. However, if it is small, focus adjustment is performed by limiting the tracking drive operation in accordance with the distance change in the optical axis direction of the subject, and if it is large, the tracking drive operation in accordance with the distance change in the optical axis direction of the subject is performed. The focus adjustment is performed as drive control of the focus lens.

以下、本発明の実施例を説明する。図1は、本発明の実施例である自動焦点調節装置を含むビデオカメラ(撮像装置)の構成を示す。以下の実施例では、ビデオカメラについて説明するが、本発明はデジタルスチルカメラ等の他の撮像装置にも適用できる。 Examples of the present invention will be described below. FIG. 1 shows a configuration of a video camera (image pickup apparatus) including an automatic focus adjustment apparatus according to an embodiment of the present invention. In the following embodiments, a video camera will be described, but the present invention can also be applied to other imaging devices such as a digital still camera.

図1において、101は第1固定レンズ、102は光軸方向に移動して変倍を行う変倍レンズ、103は絞りである。また、104は第2固定レンズ、105は変倍に伴う焦点面の移動を補正する機能とフォーカシングの機能とを兼ね備えたフォーカスコンペンセータレンズ(本明細書では、フォーカスレンズともいう)である。第1固定レンズ101、変倍レンズ102、絞り103、第2固定レンズ104、及びフォーカスレンズ105により被写体からの光を結像するための撮像光学系が構成される。106は、CCDセンサやCMOSセンサにより構成される光電変換素子としての撮像素子である。撮像素子106は、結像された光を光電変換して電気信号に変換する。107は、撮像素子106の出力をサンプリングし、ゲイン調整するCDS/AGC回路である。108はカメラ信号処理回路であり、CDS/AGC回路107からの出力信号に対して各種の画像処理を施し、映像信号を生成する。109はLCD等により構成されるモニタであり、カメラ信号処理回路108からの映像信号を表示する。115は記録部であり、カメラ信号処理回路108からの映像信号を磁気テープ、光ディスク、半導体メモリ等の記録媒体に記録する。 In FIG. 1, 101 is a first fixed lens, 102 is a variable magnification lens that moves in the optical axis direction and performs variable magnification, and 103 is a diaphragm. Reference numeral 104 denotes a second fixed lens, and reference numeral 105 denotes a focus compensator lens (also referred to as a focus lens in this specification) that has both a function of correcting the movement of the focal plane due to zooming and a focusing function. The first fixed lens 101, the variable power lens 102, the stop 103, the second fixed lens 104, and the focus lens 105 constitute an imaging optical system for imaging light from the subject. Reference numeral 106 denotes an image sensor as a photoelectric conversion element constituted by a CCD sensor or a CMOS sensor. The image sensor 106 photoelectrically converts the imaged light into an electrical signal. Reference numeral 107 denotes a CDS / AGC circuit that samples the output of the image sensor 106 and adjusts the gain. A camera signal processing circuit 108 performs various image processing on the output signal from the CDS / AGC circuit 107 to generate a video signal. Reference numeral 109 denotes a monitor constituted by an LCD or the like, which displays a video signal from the camera signal processing circuit 108. A recording unit 115 records the video signal from the camera signal processing circuit 108 on a recording medium such as a magnetic tape, an optical disk, or a semiconductor memory.

110は、変倍レンズ102を移動させるためのズーム駆動源である。111は、フォーカスレンズ105を移動させるためのフォーカシング駆動源である。ズーム駆動源110及びフォーカシング駆動源111は、夫々、ステッピングモータ、DCモータ、振動型モータ、及びボイスコイルモータ等のアクチュエータにより構成される。112は、CDS/AGC回路107からの全画素の出力信号のうち焦点検出に用いられる領域(焦点検出領域)の信号のみを通すAFゲートである。AF信号処理回路113は、AFゲート112を通過した信号から高周波成分を抽出してAF評価値を生成する。つまり、AF信号処理回路113は、電気信号の映像信号に対して設定された焦点検出領域からAF評価値を生成する生成手段を構成する。AF評価値は、制御手段であるカメラ/AFマイコン114に出力される。AF評価値は、撮像素子106からの出力信号に基づいて生成される映像の鮮鋭度(コントラスト状態)を表すものであるが、鮮鋭度は撮像光学系の焦点状態(合焦の程度)によって変化するので、結果的に撮像光学系の焦点状態を表す信号となる。制御手段としてのカメラ/AFマイコン114は、ビデオカメラ全体の動作の制御を司るとともに、AF評価値に基づいて、フォーカシング駆動源111を制御してフォーカスレンズ105を移動させ焦点調節を行うAF制御をも行う。 Reference numeral 110 denotes a zoom drive source for moving the variable magnification lens 102. Reference numeral 111 denotes a focusing drive source for moving the focus lens 105. The zoom drive source 110 and the focusing drive source 111 are configured by actuators such as a stepping motor, a DC motor, a vibration type motor, and a voice coil motor, respectively. Reference numeral 112 denotes an AF gate that passes only signals in a region (focus detection region) used for focus detection among output signals of all pixels from the CDS / AGC circuit 107. The AF signal processing circuit 113 extracts a high frequency component from the signal that has passed through the AF gate 112 and generates an AF evaluation value. That is, the AF signal processing circuit 113 constitutes a generation unit that generates an AF evaluation value from a focus detection area set for an electric video signal. The AF evaluation value is output to the camera / AF microcomputer 114 which is a control means. The AF evaluation value represents the sharpness (contrast state) of an image generated based on the output signal from the image sensor 106, and the sharpness changes depending on the focus state (degree of focusing) of the imaging optical system. As a result, a signal representing the focus state of the imaging optical system is obtained. The camera / AF microcomputer 114 as a control unit controls the operation of the entire video camera, and controls the focusing drive source 111 to move the focus lens 105 and adjust the focus based on the AF evaluation value. Also do.

本実施例の顔検出部116は、画像信号に対して公知の顔検出処理を施し、撮影画面内の人物の顔領域を検出する。すなわち、顔検出部116は、電気信号から予め定められた被写体(ここでは顔)を検出する検出手段を構成する。その検出結果はカメラ/AFマイコン114に送信される。カメラ/AFマイコン114は、上記検出結果に基づき、撮影画面内の顔領域を含む位置に焦点検出領域を設定するようにAFゲート112へ情報を送信する。顔検出処理としては、画像データで表される各画素の階調色から肌色領域を抽出し、予め用意する顔の輪郭プレートとのマッチング度で顔を検出する方法や、周知のパターン認識技術を用いて、目、鼻、口等の顔の特徴点を抽出することで顔検出を行う方法等がある。 The face detection unit 116 according to the present embodiment performs a known face detection process on the image signal to detect a human face area in the shooting screen. That is, the face detection unit 116 constitutes detection means for detecting a predetermined subject (here, a face) from the electrical signal. The detection result is transmitted to the camera / AF microcomputer 114. Based on the detection result, the camera / AF microcomputer 114 transmits information to the AF gate 112 so as to set the focus detection area at a position including the face area in the shooting screen. As face detection processing, a skin color region is extracted from the gradation color of each pixel represented by image data, and a face is detected based on a matching degree with a face contour plate prepared in advance, or a known pattern recognition technique is used. There is a method of performing face detection by extracting facial feature points such as eyes, nose and mouth.

さらに、顔検出部116では、顔の信頼度と、横顔の信頼度の算出を行っている。顔の信頼度の算出は、例えば、顔の輪郭プレートとのマッチング度に基づいて算出され、マッチング度が高い順に5段階で表現される。また、横顔らしさを表す信頼度の算出は、図13に示すように、検出されている顔の両目の中心位置(図中の点線)を基準に顔検出枠を左右に分割するように領域を抽出する。そして、左右領域に含まれる肌色領域を抽出し、肌色領域の画素数をカウントすることで面積を算出する。横顔らしさを表す信頼度は、左右の画面に含まれる肌色領域の比を用いて算出される。左右の肌色の領域が同じ比率であった場合は、横顔の可能性が低いとして、横顔らしさを表す信頼度を低く設定し、比率が大きく異なる場合は、横顔の可能性が高いとして、信頼度を高く設定する。本実施例では、この比率に応じで信頼度を5段階に設定する。 Further, the face detection unit 116 calculates the reliability of the face and the reliability of the profile. The face reliability is calculated based on, for example, the matching degree with the face contour plate, and is expressed in five stages in descending order of matching degree. In addition, as shown in FIG. 13, the calculation of the reliability indicating the likelihood of a side face is performed by dividing the area so that the face detection frame is divided into left and right with reference to the center position of both eyes of the detected face (dotted line in the figure). Extract. Then, the skin color region included in the left and right regions is extracted, and the area is calculated by counting the number of pixels in the skin color region. The reliability representing the likelihood of profile is calculated using the ratio of the skin color area included in the left and right screens. If the left and right skin color areas have the same ratio, the probability of profile is assumed to be low, and the reliability indicating the likelihood of profile is set low, and if the ratio is significantly different, the probability of profile is assumed to be high Set high. In this embodiment, the reliability is set to 5 levels according to this ratio.

117は絞り駆動源であり、絞り103を駆動させるためのアクチュエータ及びそのドライバを含む。CDS/AGC回路107によって読み出された信号からは、画面内の測光枠の輝度値を取得するため、輝度情報検波・演算回路118により測光値が取得され、測光した測光値が演算により正規化される。そして、カメラ/AFマイコン114で、測光値と適正な露出が得られるように設定された目標値との差分が算出される。その後、算出した差分から絞りの補正駆動量を算出し、カメラ/AFマイコン114により絞り駆動源117の駆動が制御される。 Reference numeral 117 denotes an aperture driving source, which includes an actuator for driving the aperture 103 and its driver. From the signal read by the CDS / AGC circuit 107, in order to obtain the luminance value of the photometric frame in the screen, the photometric value is obtained by the luminance information detection / calculation circuit 118, and the photometric photometric value is normalized by calculation. Is done. Then, the camera / AF microcomputer 114 calculates the difference between the photometric value and the target value set so that proper exposure can be obtained. Thereafter, the correction driving amount of the diaphragm is calculated from the calculated difference, and the driving of the diaphragm driving source 117 is controlled by the camera / AF microcomputer 114.

次に、カメラ/AFマイコン114で行われるAF制御について、図2を用いて説明する。このAF制御は、カメラ/AFマイコン114内に格納されたコンピュータプログラムに従って実行される。Step201は処理の開始を示している。Step202で微小駆動動作を行い、合焦か、合焦でないならどちらの方向に合焦点があるかを判別する。細かい動作の説明は後述する。Step203においては、Step202で合焦と判定された場合はStep209へ行き合焦処理を行い、Step202で合焦と判定されなかった場合はStep204へ行く。Step204においては、Step202で方向判別ができている場合はStep205へ行き山登り駆動動作を行い、Step202で方向判別ができていない場合はStep202へ戻り微小駆動動作を継続する。Step205では、AF評価値が大きくなる方向へ高速でレンズを駆動させる山登り駆動をする。細かい動作の説明は後述する。 Next, AF control performed by the camera / AF microcomputer 114 will be described with reference to FIG. This AF control is executed according to a computer program stored in the camera / AF microcomputer 114. Step 201 indicates the start of processing. In step 202, a minute driving operation is performed, and it is determined whether the in-focus position is in focus or not. Detailed operation will be described later. In Step 203, if it is determined that the focus is in focus in Step 202, the process goes to Step 209 to perform the focusing process, and if it is not determined to be in focus in Step 202, the process goes to Step 204. In Step 204, if the direction can be determined in Step 202, go to Step 205 to perform the hill-climbing driving operation, and if the direction cannot be determined in Step 202, return to Step 202 and continue the minute driving operation. In Step 205, hill-climbing driving is performed to drive the lens at high speed in the direction in which the AF evaluation value increases. Detailed operation will be described later.

Step206においては、Step205でAF評価値のピークを越えたと判定された場合はStep207へ行き、Step206でAF評価値のピークを越えたと判定されない場合はStep205へ戻り山登り駆動を継続する。Step207では、山登り駆動中のAF評価値がピークとなるレンズ位置にレンズを戻す。Step208においては、Step207でピークのレンズ位置に戻った場合はStep202へ戻り再び微小駆動動作を行い、Step207でピークのレンズ位置に戻っていない場合はStep207へ戻りピークのレンズ位置に戻す動作を継続する。 In Step 206, if it is determined in Step 205 that the peak of the AF evaluation value has been exceeded, the process goes to Step 207. If it is not determined in Step 206 that the peak of the AF evaluation value has been exceeded, the process returns to Step 205 and hill-climbing driving is continued. In Step 207, the lens is returned to the lens position where the AF evaluation value during hill-climbing driving reaches a peak. In Step 208, if the peak lens position is returned in Step 207, the process returns to Step 202 and the minute driving operation is performed again. If not returned to the peak lens position in Step 207, the process returns to Step 207 and the operation of returning to the peak lens position is continued. .

次に、Step209からの合焦動作について説明する。Step209ではAF評価値を保持する。Step210では、最新のAF評価値を取得する。Step211では、Step209で保持したAF評価値とStep210で新たに取得したAF評価値とを比較し、所定レベル以上差があれば再起動と判定し、Step202へ行き微小駆動動作を再開する。Step211で再起動と判定されていなければStep212へ行く。Step212では、レンズを停止しStep210へ戻り再起動判定を継続する。 Next, the focusing operation from Step 209 will be described. In Step 209, the AF evaluation value is held. In Step 210, the latest AF evaluation value is acquired. In Step 211, the AF evaluation value held in Step 209 is compared with the AF evaluation value newly acquired in Step 210. If there is a difference of a predetermined level or more, it is determined that the operation is restarted, and the process proceeds to Step 202 to restart the minute driving operation. If it is not determined to restart in Step 211, go to Step 212. In Step 212, the lens is stopped, and the process returns to Step 210 to continue the restart determination.

次に、微小駆動動作について図3で説明する。Step301は処理の開始を示している。Step302では、最新の顔検出位置/大きさを取得すると共に、それらの情報に基づいて焦点検出領域であるAF枠を設定し、AF評価値を取得する。Step303では、取得された顔サイズから被写体の移動を判定する処理を行う。この処理については図7を用いて説明する。Step304では、被写体の至近または無限側の方向への移動があったかを判定し、被写体の移動があった場合はStep305へ進み、そうでなければStep306へ進む。本実施例では、変化量を監視する被写体像の大きさは、検出手段である顔検出部116により得られる人物の顔(体の他の部位などであってもよい)の大きさである。よって、後述する様に、顔サイズの変化量が所定量以内である場合には被写体の距離変化がないと判断され、前記変化量が所定量より大きい場合には被写体の距離変化があると判断される。そして、カメラ/AFマイコン114は、被写体の距離変化がないと判断されたときは、追従制御手段による追従制御を禁止して焦点調節を行い、被写体の距離変化があると判断されたときは、追従制御手段による追従制御を許可して焦点調節を行う。こうした切り替えが上記Step304で行われる。 Next, the minute driving operation will be described with reference to FIG. Step 301 indicates the start of processing. In Step 302, the latest face detection position / size is acquired, an AF frame that is a focus detection area is set based on the information, and an AF evaluation value is acquired. In Step 303, a process for determining movement of the subject from the acquired face size is performed. This process will be described with reference to FIG. In Step 304, it is determined whether or not the subject has moved nearer or infinitely. If the subject has moved, the process proceeds to Step 305. Otherwise, the process proceeds to Step 306. In this embodiment, the size of the subject image whose amount of change is monitored is the size of a person's face (which may be another part of the body) obtained by the face detection unit 116 serving as detection means. Therefore, as will be described later, when the amount of change in face size is within a predetermined amount, it is determined that there is no subject distance change, and when the amount of change is greater than the predetermined amount, it is determined that there is a subject distance change. Is done. When the camera / AF microcomputer 114 determines that there is no change in the distance of the subject, the camera / AF microcomputer 114 performs the focus adjustment by prohibiting the tracking control by the tracking control means. The focus control is performed by allowing the tracking control by the tracking control means. Such switching is performed in Step 304 above.

Step305では、移動判定の結果が近づきか遠ざかりかを判定する。近づきの場合は、Step314へ進み至近方向への山登りを決定し、Step313へ進み処理を終了する。そうでなければStep315へ進み無限方向への山登りを決定し、Step313へ進み処理を終了する。被写体の移動方向に応じて山登りの方向を切り替える駆動が、被写体の追従駆動ないし追従制御であり、追従駆動を行うことにより、AFの応答性と精度が向上する。この機能を実行するために、制御手段のカメラ/AFマイコン114は、検出手段である顔検出部116による検出結果に基づき被写体の距離変化の有無を判別する判別手段と、判別結果に応じてフォーカスレンズを被写体の距離変化に追従させる追従制御手段を含む。この様に、判別手段は、被写体像の大きさの変化量に所定量より大きい増加があった場合に被写体の近づきがあると判別し、制御手段は、フォーカスレンズを至近側に駆動させ被写体を追従する。他方、判別手段は、被写体像の大きさの変化量に所定量より大きい減少があった場合に被写体の遠ざかりがあると判別し、制御手段は、フォーカスレンズを無限側に駆動させ被写体を追従する。本実施例では、制御手段は、検出手段が検出した被写体像の大きさの変化量が所定量より大きい場合には被写体の光軸方向の距離変化に対応させてフォーカスレンズの山登り駆動動作を行う。検出手段が検出した被写体像の大きさの変化量が所定量より小さい場合にはフォーカスレンズの微小駆動動作を行う。 In Step 305, it is determined whether the result of the movement determination is approaching or moving away. When approaching, it progresses to Step 314, the mountain climbing to a near direction is determined, it progresses to Step 313, and a process is complete | finished. Otherwise, the process proceeds to Step 315 to decide mountain climbing in the infinite direction, and the process proceeds to Step 313 to end the process. The driving for switching the hill-climbing direction in accordance with the moving direction of the subject is the subject tracking drive or tracking control. By performing the tracking drive, AF responsiveness and accuracy are improved. In order to execute this function, the camera / AF microcomputer 114 of the control unit includes a determination unit that determines whether or not there is a change in the distance of the subject based on a detection result by the face detection unit 116 that is a detection unit, and a focus according to the determination result. Tracking control means for causing the lens to follow a change in the distance of the subject is included. In this way, the determining means determines that the subject is approaching when the amount of change in the size of the subject image is larger than a predetermined amount, and the control means drives the focus lens to the closest side to move the subject. Follow. On the other hand, the discriminating means discriminates that the subject is far away when the amount of change in the size of the subject image is larger than a predetermined amount, and the control means drives the focus lens to the infinite side to follow the subject. . In this embodiment, when the change amount of the size of the subject image detected by the detection unit is larger than a predetermined amount, the control unit performs a hill-climbing drive operation of the focus lens in accordance with the change in the distance of the subject in the optical axis direction. . When the amount of change in the size of the subject image detected by the detecting means is smaller than a predetermined amount, the focus lens is finely driven.

続いて、Step306においては、Step302で取り込んだAF評価値が前回のAF評価値より大きければStep307へ進み、Step302で取り込んだAF評価値が前回のAF評価値より小さければStep308へ進む。Step307では、前回の順方向に所定量フォーカスレンズを駆動する。一方、Step308では前回の逆方向に所定量フォーカスレンズを駆動する。上記レンズ動作の時間経過を示したのが図4である。ここで、Aの間にCCD(撮像素子)に蓄積された電荷に対するAF評価値AがTAで取り込まれ、Bの間にCCDに蓄積された電荷に対するAF評価値BがTBで取り込まれる。TBでは、AF評価値A、Bを比較し、A<Bであればそのまま順方向に移動し、一方、A>Bであれば逆方向にする。Step309においては、所定回数連続して合焦方向と判断される方向が同一であればStep310へ進み、所定回数連続して同一方向に進んでいなければStep311へ進む。Step311においては、所定回数フォーカスレンズが所定範囲で往復を繰り返していればStep312へ進み、所定時間フォーカスレンズが所定範囲にいなければStep313へ進み処理を終了する。この結果、図2のStep202の微小駆動動作に戻ることになる。Step310では、方向判別できたとして、Step313へ進み、処理を終了し図2のStep205の山登り駆動へ移行する。Step312では、合焦判別できたとして処理を終了し図2のStep210以降の再起動判定ルーチンへ移行する。 Subsequently, in Step 306, if the AF evaluation value captured in Step 302 is larger than the previous AF evaluation value, the process proceeds to Step 307. If the AF evaluation value captured in Step 302 is smaller than the previous AF evaluation value, the process proceeds to Step 308. In Step 307, the focus lens is driven by a predetermined amount in the previous forward direction. On the other hand, in Step 308, the focus lens is driven by a predetermined amount in the reverse direction of the previous time. FIG. 4 shows the time course of the lens operation. Here, the AF evaluation value A for the electric charge accumulated in the CCD (imaging device) during A is taken in by TA, and the AF evaluation value B for the electric charge accumulated in the CCD during B is taken in by TB. In TB, the AF evaluation values A and B are compared, and if A <B, they move in the forward direction, while if A> B, they are in the reverse direction. In Step 309, if the direction determined to be the in-focus direction is continuously the same number of times, the process proceeds to Step 310. If the direction is not continuously advanced the same number of times, the process proceeds to Step 311. In Step 311, if the focus lens repeats reciprocation within a predetermined range a predetermined number of times, the process proceeds to Step 312, and if the focus lens is not within the predetermined range for a predetermined time, the process proceeds to Step 313 and the process is terminated. As a result, the operation returns to the minute driving operation in Step 202 of FIG. In Step 310, assuming that the direction can be determined, the process proceeds to Step 313, where the processing is terminated and the process proceeds to hill climbing driving in Step 205 of FIG. In Step 312, the process is terminated because the in-focus determination has been made, and the process proceeds to a restart determination routine after Step 210 in FIG. 2.

次に、山登り駆動動作について図5を用いて説明する。Step501は処理の開始を示している。Step502では、最新の顔検出位置/大きさを取得し、その情報に基づいてAF枠(焦点検出領域)を設定し、AF評価値を取得する。Step503においては、Step502で取り込んだAF評価値が前回のAF評価値より大きければStep504へ進み、Step502で取り込んだAF評価値が前回のAF評価値より小さければStep505へ進む。Step504では前回の順方向に所定の速度でフォーカスレンズを駆動し、Step508へ進み処理を終了する。一方、Step505においては、AF評価値がピークを越えて減っていればStep506へ進みピークを越えたとして、Step508へ進み処理を終了し、図2のStep206などを経てStep202の微小駆動へ移行する。Step505で、AF評価値がピークを越えて減っていなければStep507へ進み、前回と逆方向に所定の速度でフォーカスレンズを駆動し、Step508へ進む。 Next, the hill-climbing driving operation will be described with reference to FIG. Step 501 indicates the start of processing. In Step 502, the latest face detection position / size is acquired, an AF frame (focus detection area) is set based on the information, and an AF evaluation value is acquired. In Step 503, if the AF evaluation value captured in Step 502 is larger than the previous AF evaluation value, the process proceeds to Step 504. If the AF evaluation value captured in Step 502 is smaller than the previous AF evaluation value, the process proceeds to Step 505. In Step 504, the focus lens is driven at a predetermined speed in the previous forward direction, and the process proceeds to Step 508 to end the process. On the other hand, in Step 505, if the AF evaluation value has decreased beyond the peak, the process proceeds to Step 506 and it is determined that the peak has been exceeded. The process proceeds to Step 508, where the processing is terminated, and the process proceeds to Step 202 of Step 202 through Step 206 in FIG. If the AF evaluation value does not decrease beyond the peak in Step 505, the process proceeds to Step 507, the focus lens is driven at a predetermined speed in the direction opposite to the previous time, and the process proceeds to Step 508.

上記レンズ動作を説明したのが図6である。ここで、Aの場合は、AF評価値がピークを越えて減少しているので、合焦点があるとして山登り駆動動作を終了し、微小駆動動作に移行する。一方、Bの場合は、AF評価値がピーク無しで減少しているので、方向を間違えたものとして反転し、山登り駆動動作を続ける。一定時間あたりの移動量、つまりは駆動速度は前記の微小駆動の駆動速度よりも大きな値となる。顔検出の大きさが連続的に増加している場合には、山登り駆動時の駆動速度を大きく設定することで、AFの応答性を向上させることができる。以上説明したように、カメラ/AFマイコン114は、再起動判定→微小駆動→山登り駆動→微小駆動→再起動判定を繰り返しながらフォーカスレンズを移動させAF評価値を大きくするように、制御を行っている。 FIG. 6 illustrates the lens operation. Here, in the case of A, since the AF evaluation value has decreased beyond the peak, the hill-climbing driving operation is terminated assuming that the in-focus point exists, and the operation shifts to the minute driving operation. On the other hand, in the case of B, since the AF evaluation value decreases without a peak, it is reversed as having the wrong direction, and the hill-climbing driving operation is continued. The movement amount per fixed time, that is, the driving speed is larger than the driving speed of the minute driving. When the size of face detection increases continuously, the AF responsiveness can be improved by setting the driving speed at the time of hill-climbing driving large. As described above, the camera / AF microcomputer 114 performs control so as to increase the AF evaluation value by moving the focus lens while repeating the restart determination → micro drive → mountain climbing drive → micro drive → restart determination. Yes.

次に、被写体の至近または無限方向の移動判定処理について、図7〜図13を用いて説明する。まず、図3のStep303の移動判定処理を図7を用いて説明する。Step701は移動判定処理の開始を示している。Step702では、検出された顔サイズの平均を算出する処理を行う。検出された顔サイズはカメラ/AFマイコン内のメモリに蓄積され、移動平均法を用いて蓄積個数が10ずつの平均が算出される。平均された顔サイズは、FaceAveSizeに格納することとする。このFaceAveSizeは20個の配列を持ち、平均値が算出される毎にFaceAveSize[0]〜[19]に履歴が保存される。ここでは、FaceAveSize[0]に最新の平均値を格納することとする。 Next, a process for determining whether the subject is near or infinite will be described with reference to FIGS. First, the movement determination process in Step 303 of FIG. 3 will be described with reference to FIG. Step 701 indicates the start of the movement determination process. In Step 702, processing for calculating the average of detected face sizes is performed. The detected face size is stored in a memory in the camera / AF microcomputer, and an average of 10 stored images is calculated using a moving average method. The averaged face size is stored in FaceAveSize. The FaceAveSize has 20 arrays, and a history is stored in FaceAveSize [0] to [19] each time an average value is calculated. Here, the latest average value is stored in FaceAveSize [0].

Step703では、移動判定フラグの有無を判定する。後述の処理で決定される移動判定フラグがSETされている場合は、Step704に遷移する。そうでない場合は、Step707に遷移する。Step707では、Step702において算出した平均顔サイズFaceAveSizeが安定している値か否かを判断する。この処理の詳細は図8を用いて後述する。Step708では、Step707で決定される安定フラグを判定し、安定フラグがSETの場合はStep709に遷移し、そうでない場合はStep720に遷移し、処理を終了する。 In Step 703, it is determined whether or not there is a movement determination flag. When the movement determination flag determined in the process described later is set, the process proceeds to Step 704. Otherwise, the process proceeds to Step 707. In Step 707, it is determined whether or not the average face size FaceAveSize calculated in Step 702 is a stable value. Details of this processing will be described later with reference to FIG. In Step 708, the stability flag determined in Step 707 is determined. If the stability flag is SET, the process proceeds to Step 709. If not, the process proceeds to Step 720, and the process ends.

ここで、安定フラグがCLEARの場合は、被写体の状態が安定していないため、移動判定を行えないことを意味している。この場合、図3のStep304を経てStep306以降に進むことになる。Step709では、顔基準サイズが設定されているかの判定を行う。顔基準サイズFaceBaseSizeとは、移動判定を行う際の基準となる顔のサイズのことである。顔基準サイズFaceBaseSizeが0の場合は、値が設定されていないため、Step719に遷移し、Step719において、FaceBaseSizeにFaceAveSize[0]を代入する。この場合も、図3のStep304を経てStep306以降に進むことになる。 Here, when the stability flag is CLEAR, it means that the movement cannot be determined because the state of the subject is not stable. In this case, the process proceeds to Step 306 and subsequent steps through Step 304 in FIG. In Step 709, it is determined whether the face reference size is set. The face reference size FaceBaseSize is the size of the face that serves as a reference when performing movement determination. When the face reference size FaceBaseSize is 0, no value is set, so the process proceeds to Step 719, and in Step 719, FaceAveSize [0] is substituted into FaceBaseSize. Also in this case, the process proceeds to Step 306 and subsequent steps through Step 304 in FIG.

顔基準サイズFaceBaseSizeが0でない場合は、Step710に遷移する。Step710では、移動判定閾値設定処理を行う。この処理は、撮影パラメータと被写体の状態に応じて、移動判定に用いる顔のサイズ変化の閾値を設定する処理である。この処理の詳細については、図9を用いて後述する。続いて、Step711では、顔基準サイズFaseBaceSizeと現在の顔サイズFaceAveSize[0]との大きさの比較を行う。現在の顔サイズが小さい場合は、遠ざかりの可能性があるため、Step712に遷移する。そうでない場合は、近づきの可能性があるので、Step713に遷移する。Step712では、遠ざかりの判定を行う。顔基準サイズFaseBaceSizeと現在の顔サイズFaceAveSize[0]との差がTHfar以上であれば、被写体が遠ざかったと判定し、Step717に遷移する。Step712でTHfarを越えなかった場合は、Step714に遷移する。Step717では、被写体が遠ざかった事を意味する移動判定フラグの遠ざかりフラグをSETした後、Step720に遷移し処理を終了する。この場合、図3のStep304を経てStep305以降に進むことになる。Step713は、近づきの判定を行う。顔基準サイズFaseBaceSizeと現在の顔サイズFaceAveSize[0]との差がTHnear以上であれば、被写体が近づいたと判定し、Step718に遷移する。Step713でTHnearを越えなかった場合は、Step714に遷移する。Step718では、被写体が近づいた事を意味する移動判定フラグの近づきフラグをSETした後、Step720に遷移し処理を終了する。この場合も、図3のStep304を経てStep305以降に進むことになる。この様に、カメラ/AFマイコン114に含まれる判別手段は、安定していると判断されたときの被写体像の大きさの変化量を監視することにより、被写体の距離変化の有無を判別する。 If the face reference size FaceBaseSize is not 0, the process proceeds to Step 710. In Step 710, a movement determination threshold value setting process is performed. This process is a process for setting a face size change threshold value used for movement determination according to the shooting parameters and the state of the subject. Details of this processing will be described later with reference to FIG. Subsequently, in Step 711, the face reference size FaseBaceSize is compared with the current face size FaceAveSize [0]. If the current face size is small, there is a possibility of moving away, so the process proceeds to Step 712. Otherwise, there is a possibility of approaching, so the process proceeds to Step 713. In Step 712, the distance determination is performed. If the difference between the face reference size FaseBaceSize and the current face size FaceAveSize [0] is greater than or equal to THfar, it is determined that the subject has moved away, and the process proceeds to Step 717. If THfar is not exceeded in Step 712, the process proceeds to Step 714. In Step 717, after setting the distance flag of the movement determination flag which means that the subject has moved away, the process proceeds to Step 720 and ends. In this case, the process proceeds to Step 305 and subsequent steps through Step 304 in FIG. In Step 713, approach determination is performed. If the difference between the face reference size FaseBaceSize and the current face size FaceAveSize [0] is greater than or equal to THnear, it is determined that the subject has approached, and the process proceeds to Step 718. If THnear is not exceeded in Step 713, the process proceeds to Step 714. In Step 718, after setting the approach flag of the movement determination flag that means that the subject has approached, the process proceeds to Step 720 and the process is terminated. Also in this case, the process proceeds to Step 305 and subsequent steps through Step 304 in FIG. As described above, the determination unit included in the camera / AF microcomputer 114 determines whether or not there is a change in the distance of the subject by monitoring the amount of change in the size of the subject image when it is determined to be stable.

Step714では、顔基準サイズが設定され且つ安定状態の時に、移動判定を何回繰り返しているかのタイマーFaceJudgeTimerをインクリメントし、Step715に遷移する。Step715では、FaceJudgeTimerがTimerTH以下かの判定を行う。この処理は、移動判定を約2秒間継続した状態が続いたにも関わらず、被写体の移動が無かった場合は判定処理を初期化する目的の処理である。よって、TimerTHには、2秒間に相当する値である120を設定し、この値を越えたかの判定を行う。本実施例では、1秒間に60回の処理を行うシステムを想定しているので、2秒間に相当する値は120である。FaceJudgeTimerがTimerTHを越えている場合は、Step716に遷移し初期化処理を行う、そうでない場合は、Step720に遷移し処理を終了する。この場合、Step702に戻って移動判定を継続する。Step716ではFaceJudgeTimerを0に初期化し、Step705に遷移する。Step705では、FaseBaceSizeを0に初期化し、Step706に遷移する。Step706では、移動判定フラグをクリアし初期化を行う。上記の初期化処理の終了後、Step720に遷移し、処理を終了する。この場合、図3のStep304を経てStep306以降に進むことになる。 In Step 714, when the face reference size is set and the state is stable, the timer FaceJudgeTimer indicating how many times the movement determination is repeated is incremented, and the process proceeds to Step 715. In Step 715, it is determined whether FaceJudgeTimer is equal to or less than TimerTH. This process is intended to initialize the determination process when there is no movement of the subject even though the movement determination has continued for about 2 seconds. Therefore, TimerTH is set to 120, which is a value corresponding to 2 seconds, and it is determined whether this value has been exceeded. In this embodiment, since a system that performs processing 60 times per second is assumed, the value corresponding to 2 seconds is 120. If FaceJudgeTimer exceeds TimerTH, the process proceeds to Step 716 to perform initialization processing. If not, the process proceeds to Step 720 and the process ends. In this case, the process returns to Step 702 to continue the movement determination. In Step 716, FaceJudgeTimer is initialized to 0, and the process proceeds to Step 705. In Step 705, FaseBaceSize is initialized to 0, and the process proceeds to Step 706. In Step 706, the movement determination flag is cleared and initialization is performed. After the initialization process is completed, the process proceeds to Step 720 and the process ends. In this case, the process proceeds to Step 306 and subsequent steps through Step 304 in FIG.

Step703で移動判定フラグがSETされている場合は、被写体の移動が終了したか否かを判定するために、Step704に遷移する。Step704では、移動の終了判定の為に、FaseAveSizeの比較を行う。現在のFaseAveSize[0]と一つ前の履歴であるFaseAveSize[1]との差を求めるため、FaseAveSizeDiff=FaseAveSize[0]-FaseAveSize[1]の計算を行い、Step704’に遷移する。Step704’では、被写体が近づきの場合は、顔サイズが小さくなる(FaseAveSizeDiffが負の値)場合に移動が終了したと判定する。被写体が遠ざかりの場合は、顔サイズが大きくなる(
FaseAveSizeDiffが正の値)場合に移動が終了したと判定する。被写体の移動が終了した場合は、Step705に移動し、初期化処理を行う。そうでない場合は、Step720に遷移し、処理を終了する。この場合、Step702に戻って移動判定を継続する。
If the movement determination flag is set in Step 703, the process proceeds to Step 704 in order to determine whether or not the movement of the subject has ended. In Step 704, FaseAveSize is compared to determine the end of movement. In order to obtain the difference between the current FaseAveSize [0] and the previous history FaseAveSize [1], FaseAveSizeDiff = FaseAveSize [0] −FaseAveSize [1] is calculated, and the process proceeds to Step 704 ′. In Step 704 ′, when the subject is approaching, it is determined that the movement is finished when the face size is small (FaseAveSizeDiff is a negative value). When the subject is far away, the face size increases (
If FaseAveSizeDiff is a positive value), it is determined that the movement has ended. When the movement of the subject is completed, the process moves to Step 705 to perform initialization processing. When that is not right, it changes to Step 720 and complete | finishes a process. In this case, the process returns to Step 702 to continue the movement determination.

続いて、本発明の特徴である図7のStep707の被写体安定判定処理を図8を用いて説明する。図8のStep801は処理の開始を示している。次にStep802において、カメラ/AFマイコン114は平均顔サイズの2次微分値を算出する。以下に2次微分値の具体的な算出方法を示す。まず、カメラ/AFマイコン114は、図7のStep702で算出した平均顔サイズと所定時間前に算出した平均顔サイズとの差分を計算することで、1次微分値を算出し、カメラ/AFマイコン114内のメモリに記録する。次に、カメラ/AFマイコン114は、メモリに記録されている該1次微分値と所定時間前に算出してメモリに記録した1次微分値との間の変化量を計算することで2次微分値を算出する。算出した2次微分値は、所定時間前の平均顔サイズの1次微分値に対して今回算出した平均顔サイズの1次微分値がどれだけ変化しているかを示す値である。この様な機能を実行するために、制御手段のカメラ/AFマイコン114に含まれる被写体安定判定手段は、被写体情報記憶手段と、第1の差分算出手段と、差分記憶手段を備える。被写体情報記憶手段は、検出手段(顔検出部116)により検出された被写体像の大きさを記憶する。第1の差分算出手段は、検出手段により検出された被写体の最新の大きさと時間間隔を置いて前に被写体情報記憶手段に記憶された被写体像の大きさとの差分値を算出する。差分記憶手段は、第1の差分算出手段による差分値の算出結果を記憶する。ここでは、前記2次微分値である大きさの変化の急峻度合いは、差分記憶手段に記憶している最新の差分値と時間間隔を置いて前に記憶された差分値との変化量である。後述する様に、被写体像の大きさは被写体像の位置などに替えてもよい。次にStep803において、カメラ/AFマイコン114はStep802で算出した2次微分値が閾値以下であるか否かを判断する。算出した2次微分値が閾値以下である場合は、所定時間前の平均顔サイズの1次微分値に対して今回算出した平均顔サイズの1次微分値の変化量が小さいため、被写体は安定していると判断してStep804へ進む。一方、算出した2次微分値が閾値より大きい場合は、所定時間前の平均顔サイズの1次微分値に対して今回算出した平均顔サイズの1次微分値の変化量が大きいため、被写体は安定していないと判断してStep807へ進む。 Next, the subject stability determination process in Step 707 of FIG. 7 which is a feature of the present invention will be described with reference to FIG. Step 801 in FIG. 8 indicates the start of processing. Next, in Step 802, the camera / AF microcomputer 114 calculates a secondary differential value of the average face size. The specific calculation method of the secondary differential value is shown below. First, the camera / AF microcomputer 114 calculates a first differential value by calculating a difference between the average face size calculated in Step 702 of FIG. 7 and the average face size calculated a predetermined time ago, and the camera / AF microcomputer It is recorded in the memory in 114. Next, the camera / AF microcomputer 114 calculates a change amount between the primary differential value recorded in the memory and the primary differential value calculated in a predetermined time and recorded in the memory, thereby obtaining a secondary. Calculate the differential value. The calculated secondary differential value is a value indicating how much the primary differential value of the average face size calculated this time has changed with respect to the primary differential value of the average face size before a predetermined time. In order to execute such a function, the subject stability determination means included in the camera / AF microcomputer 114 of the control means includes subject information storage means, first difference calculation means, and difference storage means. The subject information storage unit stores the size of the subject image detected by the detection unit (face detection unit 116). The first difference calculation means calculates a difference value between the latest size of the subject detected by the detection means and the size of the subject image previously stored in the subject information storage means with a time interval. The difference storage means stores the difference value calculation result by the first difference calculation means. Here, the steepness of the change in magnitude, which is the secondary differential value, is the amount of change between the latest difference value stored in the difference storage means and the difference value previously stored with a time interval. . As will be described later, the size of the subject image may be changed to the position of the subject image. In step 803, the camera / AF microcomputer 114 determines whether the secondary differential value calculated in step 802 is equal to or less than a threshold value. When the calculated secondary differential value is less than or equal to the threshold value, the subject is stable because the amount of change in the primary differential value of the average face size calculated this time is smaller than the primary differential value of the average face size before a predetermined time. It judges that it is carrying out, and progresses to Step 804. On the other hand, if the calculated secondary differential value is larger than the threshold value, the change amount of the primary differential value of the average face size calculated this time is larger than the primary differential value of the average face size before a predetermined time, so that the subject is It judges that it is not stable and proceeds to Step 807.

本実施例において、上記閾値は経験的に平均顔サイズの10%の値とする。また、上記所定時間前とは、2次微分値が安定しているか否かを前記閾値によって判断できる値として15フレーム前とする。ただし、本実施例において、設定した閾値と所定時間は、システムによって自由に変更することができる値である。次にStep804において、カメラ/AFマイコン114はStableTimerをカウントアップしStep805へ進む。ただし、StableTimerは、算出された平均顔サイズが連続して安定している期間をカウントする変数である。従って、StableTimerが所定期間(以降、StableTHとする)を超えた以降の平均顔サイズは安定している平均顔サイズであると判断することができる。ここで、StableTHは本実施例においては15フレームとする。また、StableTHは、平均顔サイズが連続して安定している期間をカウントする変数であるため、2次微分値を算出するときに用いられる所定時間(本実施例においては15フレーム)以下の期間である必要がある。Step807では、平均顔サイズの2次微分値が閾値より大きい値であるので、カメラ/AFマイコン114はStableTimerをクリア(本実施例では0)する。 In this embodiment, the threshold is empirically set to a value of 10% of the average face size. The predetermined time before is defined as 15 frames before as a value that can be determined by the threshold whether or not the secondary differential value is stable. However, in the present embodiment, the set threshold value and the predetermined time are values that can be freely changed by the system. Next, in Step 804, the camera / AF microcomputer 114 counts up StableTimer and proceeds to Step 805. However, StableTimer is a variable that counts a period in which the calculated average face size is continuously stable. Therefore, it is possible to determine that the average face size after the stable timer exceeds a predetermined period (hereinafter referred to as stable TH) is a stable average face size. Here, StableTH is 15 frames in this embodiment. Further, StableTH is a variable that counts a period during which the average face size is continuously stable, and therefore, a period that is equal to or shorter than a predetermined time (15 frames in the present embodiment) used when calculating the secondary differential value. Need to be. In Step 807, since the secondary differential value of the average face size is larger than the threshold value, the camera / AF microcomputer 114 clears StableTimer (0 in this embodiment).

次に、Step805において、カメラ/AFマイコン114はStableTimerがStableTH未満であるか否かを判断し、StableTH未満である場合はStep806に進み、StableTH以上である場合はStep808に進む。Step806においては、カメラ/AFマイコン114は、Step702において算出した平均顔サイズは、StableTimerがStableTHを越えるまでは連続して安定していないと判断し、安定フラグをOFFにして図8の処理を終了する。一方、Step808においては、カメラ/AFマイコン114は、Step702において算出した平均顔サイズは、StableTimerがStableTH以上の期間連続して安定している値であると判断し、安定フラグをONにして図8の処理を終了する。以上の様に、カメラ/AFマイコン114に含まれる被写体安定処理手段は、検出手段により検出される被写体像の大きさの変化(1次微分値)の急峻度合い(2次微分値)が、所定時間連続して閾値未満である場合に被写体が安定していると判断する。 Next, in Step 805, the camera / AF microcomputer 114 determines whether or not StableTimer is less than StableTH. If it is less than StableTH, the process proceeds to Step 806. If it is greater than StableTH, the process proceeds to Step 808. In Step 806, the camera / AF microcomputer 114 determines that the average face size calculated in Step 702 is not continuously stable until the StableTimer exceeds StableTH, turns off the stability flag, and finishes the process of FIG. To do. On the other hand, in Step 808, the camera / AF microcomputer 114 determines that the average face size calculated in Step 702 is a value that is stable continuously for a period of time when the StableTimer is equal to or greater than StableTH, and sets the stability flag to ON. Terminate the process. As described above, the subject stabilization processing means included in the camera / AF microcomputer 114 has a predetermined degree of steepness (secondary differential value) of the change in the size of the subject image (first differential value) detected by the detection means. It is determined that the subject is stable when the time is continuously below the threshold.

以上の図8の処理においては、平均顔サイズによって被写体が安定しているか否かを判断しているが、顔や人体などの位置に関して2次微分値を算出して、安定しているか否かを判断する方法でも良い。また、目や口が検出できるシステムである場合は、両目(又は目と口)の間隔に関して2次微分値を算出して、安定しているか否かを判断する方法でも良い。さらには、両目の間隔に対する目と口の間隔の比率を算出し、算出した比率に関して2次微分値を算出して安定しているか否かを判断する方法でも良い。要は、予め定めた被写体の動きの安定度を判断できる情報であれば、被写体に配置された所定の部位(器官など)のサイズ、複数の部位間ないし器官間の距離、複数のサイズや距離の間の比率についての相対的情報など、被写体のどの様な形状的情報であってもよい。 In the processing of FIG. 8 described above, it is determined whether or not the subject is stable based on the average face size. However, whether or not the subject is stable by calculating a secondary differential value with respect to the position of the face or the human body. It may be a method of judging. Further, in the case of a system capable of detecting eyes and mouth, a method of calculating whether or not the second differential value is calculated with respect to the distance between both eyes (or eyes and mouth) and determining whether or not the system is stable may be used. Furthermore, a method may be used in which the ratio of the distance between the eyes and the mouth with respect to the distance between both eyes is calculated, and a secondary differential value is calculated with respect to the calculated ratio to determine whether or not it is stable. In short, if it is information that can determine the stability of the movement of a predetermined subject, the size of a predetermined part (organ etc.) placed on the subject, the distance between multiple parts or organs, the multiple sizes and distances Any shape information of the subject, such as relative information about the ratio between the two, may be used.

続いて、図7のStep710の移動判定閾値設定処理を図9を用いて説明する。図9のStep901は処理の開始を示している。Step902においては、変倍レンズ(ズームレンズ)102のレンズ位置を取得する処理である。変倍レンズの駆動源がステップモーターであるとした場合は、そのステップ数であり、レンズがテレ側、ワイド側のどの位置にいるかを判断するために用いる。続いて、Step903においては、図10に示すズームレンズ位置と基準移動判定閾値Thの関係グラフから、現在のズーム位置に応じた基準移動判定閾値Thを取得する。図10は、縦軸を顔サイズの変化の割合(%)、横軸をズームレンズ位置としている。このズームレンズ位置と基準移動判定閾値Thとの関係は、絞り値Fbaseを一定にした状態で、各ズームレンズ位置においての被写界深度の前端と顔サイズの変化量の関係から算出したグラフである。 Next, the movement determination threshold value setting process in Step 710 of FIG. 7 will be described with reference to FIG. Step 901 in FIG. 9 indicates the start of processing. Step 902 is processing for acquiring the lens position of the variable magnification lens (zoom lens) 102. If the driving source of the variable power lens is a step motor, it is the number of steps, and is used to determine which position the lens is on the tele side or the wide side. Subsequently, in Step 903, the reference movement determination threshold Th corresponding to the current zoom position is acquired from the relationship graph between the zoom lens position and the reference movement determination threshold Th shown in FIG. In FIG. 10, the vertical axis represents the change rate (%) of the face size, and the horizontal axis represents the zoom lens position. The relationship between the zoom lens position and the reference movement determination threshold Th is a graph calculated from the relationship between the front end of the depth of field and the amount of change in face size at each zoom lens position with the aperture value Fbase being constant. is there.

予め定めた被写体にピントが合っている状態で被写体が移動した場合、被写界深度を超えた時点から画面上にボケが認識され始めるため、基準移動判定閾値は被写界深度よりも小さい値を設定する。これにより、被写体がボケ始める前に、移動の有無を判定し、フォーカスレンズを駆動することが可能になり、被写体への追従性能が向上する。実際の基準移動判定閾値Thの算出の際は、各ズームレンズ位置に応じた基準移動判定閾値Thのテーブルをカメラ/AFマイコン114内に持ち、ズームレンズ位置に対応する閾値Thを決定する。 If the subject moves in a state where the predetermined subject is in focus, blur will start to be recognized on the screen from the point where the depth of field is exceeded, so the reference movement determination threshold value is smaller than the depth of field. Set. Accordingly, it is possible to determine whether or not the subject has moved before the subject starts to blur and to drive the focus lens, thereby improving the follow-up performance of the subject. When the actual reference movement determination threshold Th is calculated, a table of the reference movement determination threshold Th corresponding to each zoom lens position is held in the camera / AF microcomputer 114, and the threshold Th corresponding to the zoom lens position is determined.

被写界深度の算出は、以下の式1を用いて算出する。被写体の距離をs、被写界深度の前端・後端をそれぞれDnとDfすると以下の通りとなる。
Dn=s(H-f)/(H+s-2f)・・・式1a
Df=s(H-f)/(H-s)・・・式1b
過焦点距離Hは、レンズの焦点距離をf、レンズの絞り値をN、許容錯乱円の直径をcとすると式2のようになる。
H=f*f/N*c・・・式2
The depth of field is calculated using Equation 1 below. If the subject distance is s, and the front and rear ends of the depth of field are Dn and Df, respectively, the result is as follows.
Dn = s (Hf) / (H + s-2f) ... Equation 1a
Df = s (Hf) / (Hs) ... Equation 1b
The hyperfocal length H is expressed by Equation 2 where f is the focal length of the lens, N is the aperture value of the lens, and c is the diameter of the allowable circle of confusion.
H = f * f / N * c Equation 2

続いてStep904において、現在の絞り値Fnoの取得を行う。絞り値は絞り103の駆動量からF値を取得する。Step905では、基準移動判定閾値に対して絞りに応じた補正を行う。被写界深度は、絞り値に応じて変化するため、取得した現在の絞り値Fnoと図10の基準移動判定閾値を算出した際の絞り値Fbaseを比較する。式3に基づいて補正後の移動判定閾値Th2を算出する。
Th2=(現在の絞り値Fno/基準絞り値Fbase)*基準移動判定閾値Th・・・式3
この様に、前記閾値ないし所定量は、被写界深度により決定され、被写体が被写界深度の分を移動した場合の被写体像の大きさの変化量よりも小さい量に設定されることを特徴としている。
In step 904, the current aperture value Fno is acquired. The aperture value is obtained from the drive amount of the aperture 103. In Step 905, the reference movement determination threshold is corrected according to the aperture. Since the depth of field changes according to the aperture value, the acquired current aperture value Fno is compared with the aperture value Fbase when the reference movement determination threshold value in FIG. 10 is calculated. Based on Equation 3, a corrected movement determination threshold Th2 is calculated.
Th2 = (current aperture value Fno / reference aperture value Fbase) * reference movement determination threshold Th.
Thus, the threshold value or the predetermined amount is determined by the depth of field, and is set to an amount smaller than the amount of change in the size of the subject image when the subject moves the depth of field. It is a feature.

続いて、Step906において、基準顔サイズFaceBaseSizeの取得を行う。Step907では、基準顔サイズFaceBaseSizeに応じて基準移動判定閾値の補正を行う。図11は基準顔サイズと補正係数Kの関係グラフであり、縦軸を顔サイズの変化の割合(%)、横軸を基準顔サイズとしている。基準顔サイズFaceBaseSizeが大きくなると、検出される顔サイズのバラツキが大きくなるため、補正を行う必要がある。取得した基準顔サイズと補正係数Kのグラフより、式4に基づいて補正後の移動判定閾値Th3を算出する。
Th3=補正係数K*移動判定閾値Th2・・・式4
この様に、被写体状況とは、上記検出手段により検出された被写体像の大きさであり、前記閾値ないし所定量は、被写体像の大きさに応じて変更され、被写体像の大きさの基準値との差に応じて変更される。
Subsequently, in Step 906, the reference face size FaceBaseSize is acquired. In Step 907, the reference movement determination threshold value is corrected according to the reference face size FaceBaseSize. FIG. 11 is a graph showing the relationship between the reference face size and the correction coefficient K. The vertical axis represents the change rate (%) of the face size, and the horizontal axis represents the reference face size. As the reference face size FaceBaseSize increases, the detected face size varies, and correction is required. Based on the acquired reference face size and correction coefficient K graph, a corrected movement determination threshold Th3 is calculated based on Equation 4.
Th3 = correction coefficient K * movement determination threshold Th2 Expression 4
Thus, the subject situation is the size of the subject image detected by the detection means, and the threshold value or the predetermined amount is changed according to the size of the subject image, and a reference value for the size of the subject image. It is changed according to the difference.

続いてStep908において、顔検出部116の信号から顔信頼度の取得を行う。前述の通り、顔の信頼度は1〜5の5段階で評価され、評価5が信頼度が一番高く、評価1が信頼度が一番低い。Step909では、顔信頼度を用いて、移動判定閾値の補正を行う。信頼度が低い場合は、検出された顔サイズのバラツキが大きくなることや、少ないとしても誤検出している可能性があるため、閾値補正を行い閾値を高く設定する必要がある。本実施例では、顔信頼度が3以下の場合には、補正係数K’に1.5を設定し、取得した顔信頼度を用いて式5に基づいて補正後の移動判定閾値Th4を算出する。
Th4=補正係数K’*移動判定閾値Th3・・・式5
この様に、被写体状況とは、上記検出手段により検出された顔の確からしさを表す信頼度であり、前記閾値ないし所定量は、顔の確からしさを表す信頼度に応じて変更され、信頼度が低い場合は、大きい量に変更される。
Subsequently, in Step 908, the face reliability is obtained from the signal of the face detection unit 116. As described above, the reliability of the face is evaluated in five stages of 1 to 5, evaluation 5 has the highest reliability, and evaluation 1 has the lowest reliability. In Step 909, the movement determination threshold value is corrected using the face reliability. When the reliability is low, the detected face size varies greatly, or even if it is small, there is a possibility of erroneous detection. Therefore, it is necessary to perform threshold correction and set the threshold high. In this embodiment, when the face reliability is 3 or less, the correction coefficient K ′ is set to 1.5, and the corrected movement determination threshold Th4 is calculated based on Expression 5 using the acquired face reliability. To do.
Th4 = correction coefficient K ′ * movement judgment threshold Th3 Expression 5
Thus, the subject situation is a reliability indicating the likelihood of the face detected by the detection means, and the threshold value or the predetermined amount is changed according to the reliability indicating the likelihood of the face, and the reliability If is low, it is changed to a larger amount.

次にStep910において、顔検出部116の信号から横顔らしさの信頼度の取得を行う。図13を用いて前述した通り、横顔らしさの信頼度は1〜5の5段階で評価され、評価5が横顔の可能性が一番高く、評価1が横顔の可能性が一番低い。Step911では、横顔らしさの信頼度を用いて、移動判定閾値の補正を行う。横顔の信頼度が高い場合は、検出された顔サイズのバラツキが大きくなることや、少ないとしても誤検出している可能性があるため、閾値の補正を行い閾値を高く設定する必要がある。本実施例では、横顔らしさの信頼度が3以上の場合には、補正係数K’’に1.5を設定し、取得した横顔らしさの信頼度を用いて式6に基づいて補正後の移動判定閾値Th5を算出する。
Th5=補正係数K’’*移動判定閾値Th4・・・式6
この様に、被写体状況とは、上記検出手段により検出された顔が横を向いているかを表す信頼度であり、前記閾値ないし所定量は、顔が横を向いているかを表す信頼度に応じて変更され、信頼度が高い場合は、大きい量に変更される。
Next, in Step 910, the reliability of profile likelihood is acquired from the signal of the face detection unit 116. As described above with reference to FIG. 13, the reliability of profile likelihood is evaluated in five stages of 1 to 5. Evaluation 5 has the highest possibility of profile and evaluation 1 has the lowest possibility of profile. In Step 911, the movement determination threshold value is corrected using the reliability of the profile likelihood. When the reliability of the side face is high, the detected face size varies greatly, and even if it is small, there is a possibility of erroneous detection. Therefore, it is necessary to correct the threshold value and set the threshold value high. In the present embodiment, when the reliability of the side face likelihood is 3 or more, the correction coefficient K ″ is set to 1.5, and the movement after correction is performed based on Expression 6 using the acquired reliability of the side face likelihood. A determination threshold Th5 is calculated.
Th5 = Correction coefficient K ″ * Movement determination threshold Th4 Equation 6
In this way, the subject situation is a reliability indicating whether the face detected by the detection means is facing sideways, and the threshold value or the predetermined amount corresponds to a reliability indicating whether the face is facing sideways. If the reliability is high, the amount is changed to a larger amount.

続いてStep912において、カメラ/AFマイコン114内の情報から撮影モードの取得を行う。一般的な撮像装置は撮影シーンに最適な撮影パラメータを設定するために、図12に示すような撮影モードを複数持っている。Step913では、撮影モードに応じて移動判定閾値の補正を行う。図12は撮影モードと補正係数K’’’の関係を示した表である。被写体の動きが多いと想定される撮影モードでは、閾値を低く設定するように係数K’’’を1以下の値にし、オートフォーカスの応答性を高くしている。また、被写体の動きが少ないと想定される撮影モードでは、移動判定の閾値を高くするように、係数K’’’の値を高く設定し、オートフォーカスの安定性を重視する。取得した撮影モードと、図12から決定される補正係数K’’’より、式7に基づいて補正後の移動判定閾値Th6を算出する。
Th6=補正係数K’’’*移動判定閾値Th5・・・式7
この様に、撮影パラメータとは、撮影モードであり、前記閾値ないし所定量は、撮影モードに応じて変更され、撮影モードが動きの多い被写体を撮影するモードに設定されている場合は、大きい量に変更され、撮影モードが動きの少ない被写体を撮影するモードに設定されている場合は、小さい量に変更される。
Subsequently, in Step 912, the photographing mode is acquired from the information in the camera / AF microcomputer 114. A general imaging apparatus has a plurality of shooting modes as shown in FIG. 12 in order to set shooting parameters optimal for a shooting scene. In Step 913, the movement determination threshold value is corrected according to the shooting mode. FIG. 12 is a table showing the relationship between the shooting mode and the correction coefficient K ′ ″. In a shooting mode in which the movement of the subject is assumed to be large, the coefficient K ′ ″ is set to a value of 1 or less so that the threshold value is set low, thereby increasing the autofocus response. Further, in the shooting mode in which the movement of the subject is assumed to be small, the value of the coefficient K ′ ″ is set high so as to increase the threshold for movement determination, and importance is attached to the stability of autofocus. Based on the acquired photographing mode and the correction coefficient K ′ ″ determined from FIG. 12, a corrected movement determination threshold Th6 is calculated based on Expression 7.
Th6 = correction coefficient K ″ ′ * movement determination threshold Th5 Expression 7
Thus, the shooting parameter is a shooting mode, and the threshold value or the predetermined amount is changed according to the shooting mode, and a large amount is set when the shooting mode is set to a mode for shooting a subject with much movement. When the shooting mode is set to a mode for shooting a subject with little movement, the amount is changed to a small amount.

続いてStep914では、合焦度合の取得を行う。合焦度合の算出方法は、評価枠内のAF評価値のピークホールドした値を、各ラインの輝度レベルの最大値と最小値の差で割った値である。この合焦度合は0〜1で表され、合焦している被写体の場合、AF評価値のピークホールドと輝度レベルの差が同じ値になる傾向があるため、合焦度合は1に近づく。合焦度合が低い被写体は、ボケが発生している可能性が高く、顔サイズの信頼性が低くなることがあるため、移動判定の閾値を高くなるように設定する。例えば、取得した合焦度合を用いて、合焦度合が0.5以下である場合に、補正係数K’’’’を1.5と設定し、式8に基づいて補正後の移動判定閾値Th7を算出する。
Th7=補正係数K’’’’*移動判定閾値Th6・・・式8
この様に、撮影パラメータとは、AF評価値のレベルの状態とフォーカスレンズの駆動状態から推定される合焦度合であり、前記閾値ないし所定量は、合焦度合に応じて変更され、合焦度合が低い場合は、大きい量に変更される。なお、これらの補正係数K’、K’’、K’’’、K’’’’はカメラに応じて十分な測定を行ったうえで決定するものであり、この値に限定されるものではない。
Subsequently, in Step 914, the degree of focus is acquired. The method for calculating the degree of focus is a value obtained by dividing the peak hold value of the AF evaluation value in the evaluation frame by the difference between the maximum value and the minimum value of the luminance level of each line. This degree of focus is represented by 0 to 1, and in the case of a focused subject, the difference between the peak hold of the AF evaluation value and the luminance level tends to be the same value, so the degree of focus approaches 1. An object with a low degree of focus is likely to be blurred and the reliability of the face size may be low, so the threshold value for movement determination is set to be high. For example, using the obtained degree of focus, when the degree of focus is 0.5 or less, the correction coefficient K ″ ″ is set to 1.5, and the movement determination threshold value after correction based on Expression 8 Th7 is calculated.
Th7 = Correction coefficient K '''' * Movement determination threshold Th6 ... Equation 8
In this way, the imaging parameter is the degree of focus estimated from the state of the AF evaluation value level and the driving state of the focus lens, and the threshold value or the predetermined amount is changed according to the degree of focus. If the degree is low, it is changed to a larger amount. These correction factors K ', K'',K''', K '''' are determined after sufficient measurement according to the camera, and are not limited to these values. Absent.

続いてStep916では、Step915で算出された移動判定閾値Th7にリミットを設定する。上記補正方法の場合、補正の積み重ねにより、移動判定閾値が基準移動判定閾値の数倍になってしまい、移動判定の閾値としては適当でない場合がある。よって、閾値の上限を設定する。移動判定閾値Th7が、基準移動判定閾値Thの2倍以上である場合は、Step918へ遷移し、そうでない場合はStep917に遷移する。本実施例では、移動判定の精度を維持するためにリミットを2倍に設定したが、この値は、十分な測定を行い誤判定が軽減される値を任意に設定することが可能である。Step917においては、移動判定閾値THfaceにTh7を代入し、Step919に遷移する。Step918では、移動判定閾値が大き過ぎるため、閾値にリミットを設定する。最終的な移動判定閾値THfaceには基準移動判定閾値Thを2倍したものを代入し、Step919に遷移する。 Subsequently, in Step 916, a limit is set to the movement determination threshold Th7 calculated in Step 915. In the case of the correction method described above, the movement determination threshold value is several times the reference movement determination threshold value due to accumulation of corrections, and may not be appropriate as the movement determination threshold value. Therefore, the upper limit of the threshold is set. If the movement determination threshold Th7 is greater than or equal to twice the reference movement determination threshold Th, the process proceeds to Step 918; otherwise, the process proceeds to Step 917. In this embodiment, the limit is set to double in order to maintain the accuracy of the movement determination, but this value can be arbitrarily set to a value that can perform sufficient measurement and reduce erroneous determination. In Step 917, Th7 is substituted for the movement determination threshold THface, and the process proceeds to Step 919. In Step 918, since the movement determination threshold is too large, a limit is set for the threshold. A value obtained by doubling the reference movement determination threshold Th is substituted for the final movement determination threshold THface, and the process proceeds to Step 919.

Step919では、移動判定閾値THfaceを基に、遠ざかり判定と近づき判定の閾値を変更する。顔検出は目の間隔を基に顔サイズを決定している手法がある。人物が横を向いた場合に、目の間隔が小さくなることにより、被写体までの距離が変化してないにも関わらず、検出された顔サイズが小さくなる。そのため、被写体の遠ざかり検出を行ってしまう事がある。そこで、近づき検出閾値THnearよりも、遠ざかり検出閾値THfarを大きく設定することで、横顔撮影時のサイズ変化による誤判定を低減する。本実施例では、遠ざかり検出の閾値を1.5倍に大きくしているが、この値は、十分な測定を行い誤判定が軽減される値を設定することとする。この様に、被写体状況とは、上記判別の結果であり、前記閾値ないし所定量は、判別の結果が遠ざかりである場合と近づきである場合で異なる値が設定され、遠ざかりである場合は、近づきである場合よりも大きい量が設定される。 In Step 919, the threshold for distance determination and approach determination is changed based on the movement determination threshold THface. For face detection, there is a method of determining the face size based on the interval between eyes. When a person turns sideways, the distance between the eyes is reduced, so that the detected face size is reduced even though the distance to the subject has not changed. For this reason, the distance of the subject may be detected. Therefore, by setting the distance detection threshold THfar larger than the approach detection threshold THnear, erroneous determination due to a size change during profile shooting is reduced. In the present embodiment, the distance detection threshold is increased by a factor of 1.5, but this value is set to a value that performs sufficient measurement and reduces erroneous determination. In this way, the subject situation is the result of the determination, and the threshold value or the predetermined amount is set to a different value when the determination result is far away and closer, and when the distance is far away, it approaches. A larger amount is set than when.

以上が移動判定閾値設定の処理フローであり、近づき検出閾値THnear及び遠ざかり検出閾値THfarを算出する処理である。この処理の際に使用した係数や式は一例であり、これに限定するものではない。 The processing flow for setting the movement determination threshold has been described above, and is the processing for calculating the approach detection threshold THnear and the away detection threshold THfar. The coefficients and formulas used in this processing are examples, and the present invention is not limited to these.

以上のように、上記実施例では、顔検出を用いて被写体の人物にAF評価値でピント合わせを行う。これと共に、判別手段が、被写体が安定している状態の顔サイズを基準として顔の大きさの変化を監視することにより、精度の高く安定した被写体の移動判定が可能になる。そして、その情報を用いて、予め定めた被写体の距離変化があると判定された場合には、その被写体の無限または至近側の移動にフォーカスを追従駆動させることにより合焦精度を高めることができる。 As described above, in the above-described embodiment, focus detection is performed on the subject person using the AF evaluation value using face detection. At the same time, the determination means monitors the change in the size of the face with reference to the face size in a state where the subject is stable, thereby making it possible to determine the movement of the subject with high accuracy and stability. If it is determined using the information that there is a predetermined change in the distance of the subject, the focus accuracy can be improved by driving the focus to follow the infinite or close-up movement of the subject. .

上述した実施例における処理のために、各機能を具現化したソフトウェアのプログラムコードを記録した記憶媒体をシステム或いは装置に提供してもよい。そして、そのシステム或いは装置のコンピュータ(又はCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによって、前述した実施例の機能を実現することができる。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施例の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。このようなプログラムコードを供給するための記憶媒体としては、例えば、フロッピィ(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスクなどを用いることができる。或いは、CD−ROM、CD−R、磁気テープ、不揮発性のメモリーカード、ROMなどを用いることもできる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施例の機能が実現されるだけではない。そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)などが実際の処理の一部又は全部を行い、その処理によって前述した実施例の機能が実現される場合も含まれている。さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリーに書きこまれてもよい。その後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部又は全部を行い、その処理によって前述した実施例の機能が実現される場合も含むものである。 For the processing in the above-described embodiments, a storage medium storing software program codes embodying each function may be provided to the system or apparatus. The functions of the above-described embodiments can be realized by the computer (or CPU or MPU) of the system or apparatus reading and executing the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. As a storage medium for supplying such a program code, for example, a floppy (registered trademark) disk, a hard disk, an optical disk, a magneto-optical disk, or the like can be used. Alternatively, a CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, or the like can be used. The functions of the above-described embodiments are not only realized by executing the program code read by the computer. This includes the case where the OS (operating system) 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. ing. Furthermore, the program code read from the storage medium may be written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. Thereafter, the CPU of the function expansion board or function expansion unit 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 is a waste.

以上、本発明の好ましい実施形態ないし実施例について説明したが、本発明は上記実施形態ないし実施例に限定されず、その要旨の範囲内で種々の変形及び変更が可能である。 As mentioned above, although preferable embodiment thru | or Example of this invention was demonstrated, this invention is not limited to the said embodiment thru | or Example, A various deformation | transformation and change are possible within the range of the summary.

105‥‥フォーカスレンズ、106‥‥CCD(撮像素子)、113‥‥AF信号処理回路(生成手段)、114‥‥カメラ/AFマイコン(制御手段、判別手段、被写体安定判定手段)、116‥‥顔検出部(検出手段) 105... Focus lens, 106... CCD (image sensor), 113... AF signal processing circuit (generation means), 114 .. Camera / AF microcomputer (control means, discrimination means, subject stability judgment means), 116. Face detector (detection means)

Claims (6)

フォーカスレンズを含む撮像光学系を通過した被写体からの光を光電変換して電気信号に変換する撮像素子と、
前記撮像素子から出力される電気信号のうち設定された焦点検出領域に対応する電気信号からAF評価値を生成する生成手段と、
前記撮像素子から出力される電気信号から所定の被写体像を検出する検出手段と、
前記検出手段が検出した前記被写体の光軸方向の距離変化の有無を判別する判別手段と、
前記検出手段による検出結果が前記被写体の安定状態での結果であるか否かを判定する被写体安定判定手段と、
前記AF評価値に基づいて前記フォーカスレンズを駆動制御して焦点調節を行う制御手段であって、前記判別手段による判別の結果に応じて前記検出手段が検出した被写体の光軸方向の距離変化に合わせて前記フォーカスレンズを駆動制御する際に、前記検出手段が検出した、前記被写体安定判定手段により前記被写体が安定していると判断されたときの被写体像の大きさの変化量が所定量より大きい場合には当該被写体の光軸方向の距離変化に対応させた追従駆動動作を前記フォーカスレンズの駆動制御として行い、前記検出手段が検出した、前記被写体安定判定手段により前記被写体が安定していると判断されたときの被写体像の大きさの変化量が前記所定量より小さい場合には前記検出手段が検出した被写体の光軸方向の距離変化に合わせた前記追従駆動動作を制限する制御手段と、
を有する自動焦点調節装置であって、
前記被写体安定判定手段は、
前記検出手段により検出された前記被写体像の大きさまたは位置を記憶する被写体情報記憶手段と、
前記検出手段により検出された前記被写体像の最新の大きさまたは位置と時間間隔を置いて前に前記被写体情報記憶手段に記憶された前記被写体像の大きさまたは位置との差分値を算出する第1の差分算出手段と、
前記第1の差分算出手段による差分値の算出結果を記憶する差分記憶手段と、を有し、
前記被写体安定判定手段は、
前記差分記憶手段に記憶している最新の差分値と時間間隔を置いて前に記憶された差分値との変化量である、前記検出手段により検出される前記被写体像の大きさまたは位置の変化の急峻度合いが、所定時間連続して閾値未満である場合に前記被写体が安定していると判断することを特徴ことを特徴とする自動焦点調節装置。
An image sensor that photoelectrically converts light from a subject that has passed through an imaging optical system including a focus lens into an electrical signal;
Generating means for generating an AF evaluation value from an electrical signal corresponding to a set focus detection region among electrical signals output from the image sensor;
Detecting means for detecting a predetermined subject image from an electrical signal output from the image sensor;
Discriminating means for discriminating whether or not there is a change in distance in the optical axis direction of the subject detected by the detecting means;
Subject stability determination means for determining whether the detection result by the detection means is a result of the subject in a stable state;
Control means for performing focus adjustment by driving and controlling the focus lens based on the AF evaluation value, in accordance with a change in distance in the optical axis direction of the subject detected by the detection means in accordance with a determination result by the determination means In addition, when the focus lens is driven and controlled, the amount of change in the size of the subject image detected by the detection unit when the subject stability determination unit determines that the subject is stable is greater than a predetermined amount. If larger, the tracking drive operation corresponding to the distance change in the optical axis direction of the subject is performed as the drive control of the focus lens, and the subject is stabilized by the subject stability determination unit detected by the detection unit. If the amount of change in the size of the subject image when determined to be smaller than the predetermined amount, the detection means detects the change in the distance in the optical axis direction of the subject. And control means for limiting said tracking drive operation was,
An autofocus device having
The subject stability determination means includes
Subject information storage means for storing the size or position of the subject image detected by the detection means;
A difference value between the latest size or position of the subject image detected by the detection unit and the size or position of the subject image previously stored in the subject information storage unit at a time interval is calculated. 1 difference calculating means;
Difference storage means for storing the calculation result of the difference value by the first difference calculation means,
The subject stability determination means includes
A change in the size or position of the subject image detected by the detection means, which is the amount of change between the latest difference value stored in the difference storage means and the difference value previously stored with a time interval. An automatic focus adjustment apparatus characterized by determining that the subject is stable when the degree of steepness is less than a threshold value for a predetermined time continuously .
前記判別手段は、
前記被写体安定判定手段により安定していると判断された前記被写体像の、時間間隔を置いて検出された大きさの差分を算出して、前記被写体の距離変化の有無を判別することを特徴とする請求項に記載の自動焦点調節装置。
The discrimination means includes
And wherein the object stability judgment the object image is determined to be stable by means calculates a difference magnitude which is detected at time intervals, to determine the presence or absence of change in distance of the object The automatic focusing apparatus according to claim 1 .
前記被写体像の大きさは、前記検出手段により得られる人物の顔または体の部位の大きさであることを特徴とする請求項1または2に記載の自動焦点調節装置。 3. The automatic focus adjustment apparatus according to claim 1, wherein the size of the subject image is a size of a human face or body part obtained by the detection means. 前記被写体安定判定手段における前記被写体像の大きさは、前記検出手段により得られる人物の顔に配置されている器官のうちの少なくとも2つの器官間の距離であることを特徴とする請求項1または2に記載の自動焦点調節装置。 The size of the object image in the object stability determining means, according to claim 1, characterized in that at least two of the distance between the organ of the organs which are located on the face of the person obtained by the detecting means or 2. The automatic focusing apparatus according to 2. 前記被写体像の位置は、前記検出手段により得られる人物の顔または体の部位の位置であることを特徴とする請求項から4の何れか1項に記載の自動焦点調節装置。 Wherein the position of the subject image, the automatic focusing device according to any one of claims 1 to 4, characterized in that the position of portions of a face or body of a person obtained by the detecting means. フォーカスレンズを含む撮像光学系を通過した被写体からの光を光電変換して電気信号に変換するステップと、
前記変換ステップにおいて出力される電気信号のうち設定された焦点検出領域に対応する電気信号からAF評価値を生成するステップと、
前記変換ステップにおいて出力される電気信号から所定の被写体像を検出する検出ステップと、
前記検出ステップで検出した前記被写体の光軸方向の距離変化の有無を判別する判別ステップと、
前記AF評価値に基づいて前記フォーカスレンズを駆動制御して焦点調節を行う制御ステップと、
前記検出ステップでの検出結果が前記被写体の安定状態での結果であるか否かを判定する被写体安定判定ステップと、
を含む自動焦点調節方法であって、
前記被写体安定判定ステップは、
前記検出ステップで検出された前記被写体像の大きさまたは位置を記憶する被写体情報記憶ステップと、
前記検出ステップで検出された前記被写体像の最新の大きさまたは位置と時間間隔を置いて前に前記被写体情報記憶ステップで記憶された前記被写体像の大きさまたは位置との差分値を算出する第1の差分算出ステップと、
前記第1の差分算出ステップの算出による差分値の算出結果を記憶する差分記憶ステップと、を有し、
前記被写体安定判定ステップでは、
前記差分記憶ステップで記憶している最新の差分値と時間間隔を置いて前に記憶された差分値との変化量である、前記検出ステップで検出される前記被写体像の大きさまたは位置の変化の急峻度合いが、所定時間連続して閾値未満である場合に前記被写体が安定していると判断し、
前記制御ステップにおいて、前記判別ステップにおける判別の結果に応じて前記検出ステップで検出した被写体の光軸方向の距離変化に合わせて前記フォーカスレンズを駆動制御する際に、前記検出ステップで検出した、前記被写体安定判定ステップで前記被写体が安定していると判断されたときの被写体像の大きさの変化量が所定量より大きい場合には当該被写体の光軸方向の距離変化に対応させた追従駆動動作を前記フォーカスレンズの駆動制御として行い、前記検出ステップで検出した、前記被写体安定判定ステップで前記被写体が安定していると判断されたときの被写体像の大きさの変化量が前記所定量より小さい場合には前記検出ステップで検出した被写体の光軸方向の距離変化に合わせた前記追従駆動動作を制限することを特徴とする自動焦点調節方法。
Photoelectrically converting light from a subject that has passed through an imaging optical system including a focus lens into an electrical signal;
Generating an AF evaluation value from an electrical signal corresponding to a set focus detection area among electrical signals output in the conversion step;
A detection step of detecting a predetermined subject image from the electrical signal output in the conversion step;
A discriminating step for discriminating whether or not there is a change in distance in the optical axis direction of the subject detected in the detecting step;
A control step for controlling the focus by driving the focus lens based on the AF evaluation value; and
A subject stability determination step for determining whether or not a detection result in the detection step is a result in a stable state of the subject;
An automatic focusing method including:
The subject stability determining step includes:
A subject information storage step for storing the size or position of the subject image detected in the detection step;
A difference value between the latest size or position of the subject image detected in the detection step and the size or position of the subject image previously stored in the subject information storage step at a time interval is calculated. 1 difference calculating step;
A difference storage step for storing a difference value calculation result obtained by the calculation of the first difference calculation step;
In the subject stability determination step,
A change in the size or position of the subject image detected in the detection step, which is the amount of change between the latest difference value stored in the difference storage step and the difference value previously stored with a time interval. When the steepness level of the subject is less than the threshold value for a predetermined time continuously, the subject is determined to be stable,
In the control step, when the focus lens is driven and controlled in accordance with the distance change in the optical axis direction of the subject detected in the detection step according to the determination result in the determination step, the detection is detected in the detection step, If the amount of change in the size of the subject image when the subject is determined to be stable in the subject stability determination step is greater than a predetermined amount, a follow-up driving operation corresponding to the change in the distance of the subject in the optical axis direction The focus lens drive control is performed, and the amount of change in the size of the subject image that is detected in the detection step and determined that the subject is stable in the subject stability determination step is smaller than the predetermined amount. In this case, the following driving operation is limited in accordance with the change in the distance of the subject in the optical axis direction detected in the detection step. Automatic focusing how to.
JP2011232335A 2011-10-16 2011-10-23 Automatic focusing device and automatic focusing method Active JP5913902B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2011232335A JP5913902B2 (en) 2011-10-23 2011-10-23 Automatic focusing device and automatic focusing method
US13/649,380 US9160916B2 (en) 2011-10-16 2012-10-11 Focus adjustment apparatus with a size detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011232335A JP5913902B2 (en) 2011-10-23 2011-10-23 Automatic focusing device and automatic focusing method

Publications (3)

Publication Number Publication Date
JP2013088785A JP2013088785A (en) 2013-05-13
JP2013088785A5 JP2013088785A5 (en) 2014-12-04
JP5913902B2 true JP5913902B2 (en) 2016-04-27

Family

ID=48532709

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011232335A Active JP5913902B2 (en) 2011-10-16 2011-10-23 Automatic focusing device and automatic focusing method

Country Status (1)

Country Link
JP (1) JP5913902B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5871858B2 (en) * 2013-05-20 2016-03-01 キヤノン株式会社 IMAGING DEVICE, IMAGING SYSTEM, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61264309A (en) * 1985-05-20 1986-11-22 West Electric Co Ltd Autofocus device
JP4657960B2 (en) * 2006-03-27 2011-03-23 富士フイルム株式会社 Imaging method and apparatus
JP5251215B2 (en) * 2007-04-04 2013-07-31 株式会社ニコン Digital camera
JP5048468B2 (en) * 2007-11-28 2012-10-17 富士フイルム株式会社 Imaging apparatus and imaging method thereof
JP5368723B2 (en) * 2008-04-09 2013-12-18 キヤノン株式会社 Imaging apparatus and control method thereof

Also Published As

Publication number Publication date
JP2013088785A (en) 2013-05-13

Similar Documents

Publication Publication Date Title
JP5294647B2 (en) Focus adjustment apparatus and control method thereof
JP2010139666A (en) Imaging device
US9160916B2 (en) Focus adjustment apparatus with a size detector
JP2008058788A (en) Focusing device, image pickup apparatus and control method
JP5335408B2 (en) Focus adjustment apparatus and method
JP5873336B2 (en) Focus adjustment device
US9357124B2 (en) Focusing control device and controlling method of the same
JP5075110B2 (en) Focus adjustment apparatus and method
JP6851726B2 (en) Control device, image pickup device, control method, program, and storage medium
JP2014106411A (en) Automatic focus adjustment device and automatic focus adjustment method
JP6053287B2 (en) Automatic focusing apparatus and automatic focusing method
JP5913902B2 (en) Automatic focusing device and automatic focusing method
JP5882745B2 (en) Focus adjustment device
US11528404B2 (en) Lens control apparatus, control method, and storage medium
JP6159055B2 (en) Automatic focusing device, imaging device, and automatic focusing method
JP6120478B2 (en) Automatic focusing device and automatic focusing method
JP6039184B2 (en) Automatic focusing device, imaging device, and automatic focusing method
JP5017195B2 (en) Focus adjustment apparatus and method
JP2010044210A (en) Focusing device and focusing method
JP5898455B2 (en) Automatic focusing device and automatic focusing method
JP5932340B2 (en) Focus adjustment device
JP5894440B2 (en) Focus adjustment device
JP5202292B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP5451869B2 (en) Focus adjustment apparatus and method
JP5247945B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141020

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141020

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150716

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150818

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151017

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160404

R151 Written notification of patent or utility model registration

Ref document number: 5913902

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: R3D03