JP2012013809A - Camera device, caf control method thereof, control program, readable storage medium, and electronic information apparatus - Google Patents
Camera device, caf control method thereof, control program, readable storage medium, and electronic information apparatus Download PDFInfo
- Publication number
- JP2012013809A JP2012013809A JP2010148335A JP2010148335A JP2012013809A JP 2012013809 A JP2012013809 A JP 2012013809A JP 2010148335 A JP2010148335 A JP 2010148335A JP 2010148335 A JP2010148335 A JP 2010148335A JP 2012013809 A JP2012013809 A JP 2012013809A
- Authority
- JP
- Japan
- Prior art keywords
- evaluation value
- area
- focus
- sub
- main area
- 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.)
- Pending
Links
Images
Landscapes
- Focusing (AREA)
- Automatic Focus Adjustment (AREA)
- Studio Devices (AREA)
Abstract
Description
本発明は、コントラスト方式でオートフォーカス動作を行い、シャッタ半押しなどによる指示がなくても自動焦点調節を行うコンティニュアスオートフォーカス(以下「CAF」と略記する)機能を有するカメラ装置およびそのCAF制御方法、このカメラ装置のCAF制御方法をコンピュータに実行させるための制御プログラム、この制御プログラムが格納されたコンピュータ読み取り可能な可読記憶媒体、このカメラ装置を画像入力デバイスとして撮像部に用いた例えばデジタルビデオカメラおよびデジタルスチルカメラなどのデジタルカメラや、監視カメラなどの画像入力カメラ、スキャナ装置、ファクシミリ装置、テレビジョン電話装置、カメラ付き携帯電話装置などの電子情報機器に関する。 The present invention relates to a camera device having a continuous autofocus (hereinafter abbreviated as “CAF”) function for performing autofocus operation by a contrast method and performing autofocus adjustment without an instruction by half-pressing a shutter or the like, and its CAF. A control method, a control program for causing a computer to execute the CAF control method of the camera device, a computer-readable readable storage medium storing the control program, for example, a digital device using the camera device as an image input device in an imaging unit The present invention relates to an electronic information device such as a digital camera such as a video camera and a digital still camera, an image input camera such as a surveillance camera, a scanner device, a facsimile device, a television phone device, and a camera-equipped mobile phone device.
従来、カメラ装置のAF(オートフォーカス)方式の一つとしてコントラスト方式と呼ばれるものがある。このAF方式は、被写体をCCDイメージセンサやCMOSイメージセンサなどの固体撮像素子で撮像し、フォーカスエリア内の撮像信号を用いて焦点評価値を演算し、その焦点評価値に基づいて合焦位置を決定する。また、AF動作モードとしては、シャッタボタンの半押し操作により合焦動作を行うシングルAFモード(SAF)と、半押し操作に関係なく合焦動作を所定間隔で繰り返し行うCAFモードとがある。 Conventionally, there is a so-called contrast method as one of AF (autofocus) methods of a camera device. In this AF method, a subject is imaged by a solid-state imaging device such as a CCD image sensor or a CMOS image sensor, a focus evaluation value is calculated using an imaging signal in a focus area, and a focus position is determined based on the focus evaluation value. decide. The AF operation mode includes a single AF mode (SAF) in which a focusing operation is performed by half-pressing the shutter button, and a CAF mode in which the focusing operation is repeatedly performed at a predetermined interval regardless of the half-pressing operation.
一般的に、コントラスト方式のカメラ装置の場合、CAFモードに関しては、「山登り方式」と呼ばれる合焦動作が採用されている。この山登り方式の合焦動作では、フォーカスレンズを所定量移動して、その移動前後の焦点評価値の大きさを比較してその評価値が増加する方向にさらに所定量移動し同様の処理を行う。このような処理を繰り返して実行することにより、焦点評価値がピークとなる位置にフォーカスレンズを移動させる。 In general, in the case of a contrast-type camera device, a focusing operation called a “mountain climbing method” is employed for the CAF mode. In this hill-climbing focusing operation, the focus lens is moved by a predetermined amount, the magnitudes of the focus evaluation values before and after the movement are compared, and further moved by a predetermined amount in the direction in which the evaluation value increases, and the same processing is performed. . By repeatedly executing such processing, the focus lens is moved to a position where the focus evaluation value reaches a peak.
一方で、山登り合焦動作開始時点では、フォーカスレンズ位置の近くに焦点評価値のピーク位置があるとは限らない。このため、フォーカスレンズ位置とピーク位置とが大きく隔たっている場合には、合焦するまでに時間がかり、シャッタチャンスを逃してしまうという虞があった。 On the other hand, the peak position of the focus evaluation value is not always near the focus lens position at the start of the hill-climbing focusing operation. For this reason, when the focus lens position and the peak position are largely separated, it takes time to focus, and there is a possibility that a photo opportunity will be missed.
これを回避する手法として、特許文献1が提案されている。特許文献1では、カメラ装置の電源がONされたり、スリープ状態が解除されて再起動されたときに、CAF撮影モードに設定されている場合、最初の合焦動作では全域にスキャンを行い、焦点評価値のピーク位置をサーチする。全域スキャンで検出されたピーク位置から山登り合焦動作を行わせるようにしている。 As a technique for avoiding this, Patent Document 1 is proposed. In Patent Document 1, when the camera apparatus is turned on, or when the sleep state is canceled and the camera is restarted, when the CAF shooting mode is set, the first focusing operation scans the entire area, and the focus is set. Search for the peak position of the evaluation value. The hill-climbing focusing operation is performed from the peak position detected by the whole area scan.
即ち、このカメラ装置は、コンティニュアスAF撮影モードでカメラ起動が行われると、フォーカシングレンズをその可動範囲の所定領域内の一端から他端まで一方向に移動させて評価値演算手段による焦点評価値を複数取得し、この取得された焦点評価値に基づいて算出される焦点評価値のピーク位置にフォーカシングレンズを移動制御するようにしている。 That is, in this camera apparatus, when the camera is activated in the continuous AF shooting mode, the focusing lens is moved in one direction from one end to the other end in a predetermined area of the movable range, and the focus evaluation by the evaluation value calculating means is performed. A plurality of values are acquired, and the focusing lens is controlled to move to the peak position of the focus evaluation value calculated based on the acquired focus evaluation value.
しかしながら、上記従来の構成では、起動またはCAF設定時にフォーカスレンズが焦点評価値のピーク付近にあり、ピントが合っているかまたはピントがほぼ合っている状態で、全域スキャンを行うと、ピントが外れた画像が表示画面上に表示されてしまうことになる。 However, in the above conventional configuration, the focus lens is in the vicinity of the peak of the focus evaluation value at the time of start-up or CAF setting, and when the whole area scan is performed in a state where the focus is in focus or almost in focus, the focus is lost. The image will be displayed on the display screen.
また、ピントが合っていない状態において全域スキャンを行った場合でも、焦点評価値のピーク位置を通り過ぎて探索が行われるため、一旦ピントが合った後に再びピントが外れた画像が表示画面上に表示されてしまう場合がある。これらの問題は特に動画撮影中に問題となる。したがって、対象とする被写体について、自然な動作でピントを合わせることができない。 In addition, even when a whole area scan is performed in an out-of-focus state, the search is performed past the peak position of the focus evaluation value, so an image that is once out of focus and then out of focus is displayed on the display screen. It may be done. These problems are particularly problematic during movie shooting. Therefore, it is not possible to focus on the target subject with a natural motion.
本発明は、上記従来の問題を解決するもので、起動またはCAF設定直後、レンズスキャンを違和感なく動作させて、自然な動作でピントを合わせることができるカメラ装置およびそのCAF制御方法、このカメラ装置のCAF制御方法をコンピュータに実行させるための制御プログラム、この制御プログラムが格納されたコンピュータ読み取り可能な可読記憶媒体、このカメラ装置を画像入力デバイスとして撮像部に用いた例えばカメラ付き携帯電話装置などの電子情報機器を提供することを目的とする。 The present invention solves the above-described conventional problems. A camera device that can operate a lens scan without a sense of incongruity immediately after activation or CAF setting, and can focus with a natural operation, its CAF control method, and this camera device A control program for causing a computer to execute the CAF control method, a computer-readable readable storage medium storing the control program, and a camera-equipped mobile phone device using the camera device as an image input device in an imaging unit An object is to provide electronic information equipment.
本発明のカメラ装置は、結像面に結像される光学像を画像データに変換する撮像手段と、該光学像の焦点調節を行うためにフォーカスレンズを移動させて合焦位置を検出し、検出した合焦位置に該フォーカスレンズを停止させる焦点調節を連続的に行う制御部とを備えたカメラ装置において、該光学像の合焦状態を検出するためのメインエリアと、該メインエリアの周辺に配置された一つ以上のサブエリアとが撮影画面上に配置され、該制御部は、前記メインエリアのAF評価値が所定閾値よりも小さいことを検出した場合に、該サブエリアのうちAF評価値が所定閾値を超え、最大となるサブエリアを合焦評価対象エリアとして選択して該フォーカスレンズの合焦位置探索を行うように制御するものであり、そのことにより上記目的が達成される。 The camera device of the present invention detects an in-focus position by moving an imaging unit that converts an optical image formed on an imaging surface into image data, and moving a focus lens to adjust the focus of the optical image. In a camera apparatus comprising a control unit that continuously performs focus adjustment to stop the focus lens at the detected focus position, a main area for detecting a focus state of the optical image, and a periphery of the main area One or more sub-areas arranged on the imaging screen, and when the control unit detects that the AF evaluation value of the main area is smaller than a predetermined threshold, The evaluation value exceeds a predetermined threshold value, and the control is performed so that the sub area where the evaluation value is the largest is selected as a focus evaluation target area and the focus position search of the focus lens is performed. It is.
また、好ましくは、本発明のカメラ装置における制御部は、前記フォーカスレンズの合焦位置探索中に前記メインエリアのAF評価値が所定閾値を超えたことを検出した場合、該メインエリアを前記合焦評価対象エリアとして前記サブエリアから切り替えて該フォーカスレンズの合焦位置探索を行うように制御する。 Preferably, when the control unit in the camera device of the present invention detects that the AF evaluation value of the main area exceeds a predetermined threshold during the focus position search of the focus lens, the control unit detects the alignment of the main area. Control is performed so as to perform a focus position search of the focus lens by switching from the sub-area as the focus evaluation target area.
さらに、好ましくは、本発明のカメラ装置における制御部は、前記メインエリアのAF評価値が所定閾値を超えない状態のまま、前記サブエリアで合焦位置に到達したことを検出した場合、その到達した位置を合焦位置とする。 Further preferably, when the control unit in the camera device of the present invention detects that the in-focus position has been reached in the sub area while the AF evaluation value of the main area does not exceed a predetermined threshold value, the arrival is reached. This position is set as the in-focus position.
さらに、好ましくは、本発明のカメラ装置における制御部は、前記メインエリアおよび前記サブエリア全てのAF評価値に対して各AF評価値が所定の閾値よりも大きいかどうかを決定し、該メインエリアのAF評価値が所定の閾値よりも大きいことを検出した場合に、該メインエリアの評価値をCAF合焦位置計算用にメモリ内に保存し、該メインエリアのAF評価値が所定の閾値よりも小さいことを検出した場合に、該サブエリアの評価値をCAF合焦位置計算用に該メモリ内に保存するAF評価値選択手段を有する。 Further preferably, the control unit in the camera device of the present invention determines whether or not each AF evaluation value is larger than a predetermined threshold with respect to the AF evaluation values of all of the main area and the sub area, and the main area When it is detected that the AF evaluation value of the main area is larger than a predetermined threshold value, the evaluation value of the main area is stored in the memory for CAF focus position calculation, and the AF evaluation value of the main area exceeds the predetermined threshold value. If it is detected that the sub-area is smaller, the AF evaluation value selection means for storing the evaluation value of the sub-area in the memory for CAF focus position calculation is provided.
さらに、好ましくは、本発明のカメラ装置におけるAF評価値選択手段は、前記メインエリアおよび前記サブエリア全てのAF評価値に対して各AF評価値が所定の閾値よりも大きいかどうかを決定するAF評価値判定手段と、該メインエリアのAF評価値が所定の閾値よりも大きいことを検出した場合に、該メインエリアの評価値をCAF合焦位置計算用にメモリ内に保存するメインエリア選択手段と、該メインエリアのAF評価値が所定の閾値よりも小さいことを検出した場合に、該サブエリアの評価値をCAF合焦位置計算用に該メモリ内に保存するサブエリア選択手段とを有する。 Further preferably, the AF evaluation value selection means in the camera apparatus of the present invention determines whether or not each AF evaluation value is greater than a predetermined threshold value for all AF evaluation values of the main area and the sub-area. Evaluation value determination means and main area selection means for saving the evaluation value of the main area in the memory for CAF focus position calculation when it is detected that the AF evaluation value of the main area is greater than a predetermined threshold value And sub-area selection means for storing the evaluation value of the sub-area in the memory for CAF focus position calculation when it is detected that the AF evaluation value of the main area is smaller than a predetermined threshold value. .
さらに、好ましくは、本発明のカメラ装置におけるAF評価値選択手段は、前記メインエリアのAF評価値が所定の閾値よりも大きいかどうかを決定するメインエリアAF評価値判定手段と、該メインエリアのAF評価値が所定の閾値よりも大きいことを検出した場合に、該メインエリアの評価値をCAF合焦位置計算用にメモリ内に保存するメインエリア選択手段と、該メインエリアのAF評価値が所定の閾値よりも小さいことを検出した場合に、前記サブエリアのAF評価値が所定の閾値よりも大きいかどうかを決定するサブエリアAF評価値判定手段と、該サブエリアのAF評価値が所定の閾値よりも大きいことを検出した場合に、該サブエリアの評価値をCAF合焦位置計算用にメモリ内に保存するサブエリア選択手段と、該サブエリアのAF評価値が所定の閾値よりも小さいことを検出した場合に、レンズ駆動を停止する非合焦レンズ移動停止手段とを有する。 Further preferably, the AF evaluation value selection means in the camera device of the present invention comprises: main area AF evaluation value determination means for determining whether or not the AF evaluation value of the main area is greater than a predetermined threshold; When it is detected that the AF evaluation value is larger than a predetermined threshold, the main area selection means for storing the evaluation value of the main area in the memory for CAF focus position calculation, and the AF evaluation value of the main area Sub-area AF evaluation value determining means for determining whether or not the AF evaluation value of the sub-area is larger than a predetermined threshold when it is detected that the AF evaluation value of the sub-area is smaller than a predetermined threshold; Sub-area selection means for storing the evaluation value of the sub-area in the memory for CAF focus position calculation when it is detected that the sub-area is greater than If the AF evaluation value of A is detected to be smaller than a predetermined threshold value, and a non-focused lens movement stop means for stopping the lens drive.
さらに、好ましくは、本発明のカメラ装置におけるAF評価値選択手段の前段に、前記制御部として、前記フォーカスレンズを初期位置に移動させるように制御する初期位置移動手段と、該フォーカスレンズの初期位置からの移動方向として無限遠端方向かまたは至近端方向かを決定するレンズ移動方向決定手段と、該フォーカスレンズを所定決定方向に1ステップ分の移動を行うフォーカスレンズ移動手段と、前記メインエリアおよび前記サブエリア全てのAF評価値を求めるAF評価値獲得手段とを有する。 Further preferably, in the preceding stage of the AF evaluation value selection means in the camera apparatus of the present invention, as the control unit, an initial position moving means for controlling the focus lens to move to an initial position, and an initial position of the focus lens Lens moving direction determining means for determining whether the moving direction from the infinity end direction or the close end direction is a moving direction from the lens, focus lens moving means for moving the focus lens in a predetermined determining direction, and the main area And AF evaluation value acquisition means for obtaining AF evaluation values of all the sub-areas.
さらに、好ましくは、本発明のカメラ装置におけるAF評価値選択手段の後段に、前記制御部として、前記フォーカスレンズが合焦位置にあるかどうかを決定する合焦位置決定手段と、該合焦位置決定手段で合焦していると判定された場合にレンズ駆動を停止する合焦レンズ移動停止手段と、該合焦位置決定手段で合焦していないと判定された場合に、該フォーカスレンズのAF評価値の変動量の正負を決定して、該AF評価値の変動量が正の場合に移動方向を至近方向に設定し、該AF評価値の変動量が正よりも小さい場合に移動方向を無限遠方向と設定するレンズ移動方向設定手段とを有する。 Further preferably, at the subsequent stage of the AF evaluation value selection means in the camera apparatus of the present invention, as the control unit, a focus position determination means for determining whether or not the focus lens is in a focus position, and the focus position A focusing lens movement stopping unit that stops driving the lens when it is determined by the determining unit to be in focus; and a focus lens determining unit that stops focusing when the focusing position determining unit determines that the lens is not focused. The sign of the fluctuation amount of the AF evaluation value is determined, the movement direction is set to the closest direction when the fluctuation amount of the AF evaluation value is positive, and the movement direction when the fluctuation amount of the AF evaluation value is smaller than positive. Lens moving direction setting means for setting the direction to infinity.
さらに、好ましくは、本発明のカメラ装置において、前記メインエリアは前記撮影画面の中央位置に一つ配置され、前記サブエリアは該メインエリアの周辺に1〜8つ配置されている。 Further preferably, in the camera device of the present invention, one main area is arranged at a center position of the photographing screen, and 1 to 8 sub areas are arranged around the main area.
さらに、好ましくは、本発明のカメラ装置において、前記サブエリアは、前記メインエリアの周辺に配置されたサブエリアの更に周囲にも配置されている。 Still preferably, in a camera device according to the present invention, the sub-area is arranged further around the sub-area arranged around the main area.
本発明のカメラ装置のCAF制御方法は、撮像手段が、結像面に結像される光学像を画像データに変換する撮像ステップと、制御部が、該光学像の焦点調節を行うためにフォーカスレンズを移動させて合焦位置を検出し、検出した合焦位置に該フォーカスレンズを停止させる焦点調節を連続的に行う制御ステップとを有するカメラ装置のCAF制御方法において、該光学像の合焦状態を検出するためのメインエリアと、該メインエリアの周辺に配置された一つ以上のサブエリアとが撮影画面上に配置され、該制御ステップは、該制御部が、前記メインエリアのAF評価値が所定閾値よりも小さいことを検出した場合に、該サブエリアのうちAF評価値が所定閾値を超え、最大となるサブエリアを合焦評価対象エリアとして選択して該フォーカスレンズの合焦位置探索を行うように制御するものであり、そのことにより上記目的が達成される。 According to the CAF control method of the camera device of the present invention, an imaging unit converts an optical image formed on an imaging plane into image data, and a control unit performs focusing to adjust the focus of the optical image. In a CAF control method for a camera apparatus, the method further includes a control step of detecting a focus position by moving a lens, and continuously performing focus adjustment to stop the focus lens at the detected focus position. A main area for detecting a state and one or more sub-areas arranged around the main area are arranged on the photographing screen, and the control step is configured such that the control unit performs AF evaluation of the main area. When it is detected that the value is smaller than a predetermined threshold value, the sub-area where the AF evaluation value exceeds the predetermined threshold value and the largest sub-area is selected as the focus evaluation target area and the focus area is selected. Is intended to control so as to perform the focus position searching of the lens, the objects can be achieved.
また、好ましくは、本発明のカメラ装置のCAF制御方法における制御ステップは、前記制御部が、前記フォーカスレンズの合焦位置探索中に前記メインエリアのAF評価値が所定閾値を超えたことを検出した場合、該メインエリアを前記合焦評価対象エリアとして前記サブエリアから切り替えて該フォーカスレンズの合焦位置探索を行うように制御する。 Preferably, in the CAF control method of the camera device of the present invention, the control step detects that the AF evaluation value of the main area exceeds a predetermined threshold during the focus lens position search of the focus lens. In this case, the main area is switched from the sub area as the focus evaluation target area, and control is performed so as to search the focus position of the focus lens.
さらに、好ましくは、本発明のカメラ装置のCAF制御方法における制御ステップは、前記制御部が、前記メインエリアのAF評価値が所定閾値を超えない状態のまま、前記サブエリアで合焦位置に到達したことを検出した場合、その到達した位置を合焦位置とする。 Still preferably, in a CAF control method for a camera apparatus according to the present invention, the control unit reaches the in-focus position in the sub-area while the control unit does not exceed the predetermined threshold AF evaluation value. If it is detected, the position that has been reached is set as the in-focus position.
さらに、好ましくは、本発明のカメラ装置のCAF制御方法における制御ステップは、 AF評価値選択手段が、前記メインエリアおよび前記サブエリア全てのAF評価値に対して各AF評価値が所定の閾値よりも大きいかどうかを決定し、該メインエリアのAF評価値が所定の閾値よりも大きいことを検出した場合に、該メインエリアの評価値をCAF合焦位置計算用にメモリ内に保存し、該メインエリアのAF評価値が所定の閾値よりも小さいことを検出した場合に、該サブエリアの評価値をCAF合焦位置計算用に該メモリ内に保存するAF評価値選択ステップを有する。 Further preferably, in the control step in the CAF control method of the camera device of the present invention, the AF evaluation value selection means is configured so that each AF evaluation value is lower than a predetermined threshold value with respect to the AF evaluation values of all the main area and the sub-area. If the AF evaluation value of the main area is detected to be larger than a predetermined threshold, the evaluation value of the main area is stored in a memory for CAF focusing position calculation, When it is detected that the AF evaluation value of the main area is smaller than a predetermined threshold value, an AF evaluation value selection step of storing the evaluation value of the sub area in the memory for CAF focus position calculation is provided.
さらに、好ましくは、本発明のカメラ装置のCAF制御方法におけるAF評価値選択ステップは、AF評価値判定手段が、前記メインエリアおよび前記サブエリア全てのAF評価値に対して各AF評価値が所定の閾値よりも大きいかどうかを決定するAF評価値判定ステップと、該メインエリアのAF評価値が所定の閾値よりも大きいことを検出した場合に、メインエリア選択手段が、該メインエリアの評価値をCAF合焦位置計算用にメモリ内に保存するメインエリア選択ステップと、該メインエリアのAF評価値が所定の閾値よりも小さいことを検出した場合に、サブエリア選択手段が、該サブエリアの評価値をCAF合焦位置計算用に該メモリ内に保存するサブエリア選択ステップとを有する。 Further preferably, in the AF evaluation value selection step in the CAF control method of the camera device of the present invention, the AF evaluation value determination means determines that each AF evaluation value is predetermined for all the AF evaluation values of the main area and the sub-area. An AF evaluation value determining step for determining whether or not the threshold value is greater than a threshold value of the main area, and when detecting that the AF evaluation value of the main area is greater than a predetermined threshold value, the main area selecting means detects the evaluation value of the main area. Main area selection step for storing the image in the memory for CAF focus position calculation, and when detecting that the AF evaluation value of the main area is smaller than a predetermined threshold, the sub area selection means And a sub-area selection step for storing the evaluation value in the memory for CAF focus position calculation.
さらに、好ましくは、本発明のカメラ装置のCAF制御方法におけるAF評価値選択ステップは、メインエリアAF評価値判定手段が、前記メインエリアのAF評価値が所定の閾値よりも大きいかどうかを決定するメインエリアAF評価値判定ステップと、該メインエリアのAF評価値が所定の閾値よりも大きいことを検出した場合に、メインエリア選択手段が、該メインエリアの評価値をCAF合焦位置計算用にメモリ内に保存するメインエリア選択ステップと、該メインエリアのAF評価値が所定の閾値よりも小さいことを検出した場合に、サブエリアAF評価値判定手段が、前記サブエリアのAF評価値が所定の閾値よりも大きいかどうかを決定するサブエリアAF評価値判定ステップと、該サブエリアのAF評価値が所定の閾値よりも大きいことを検出した場合に、サブエリア選択手段が、該サブエリアの評価値をCAF合焦位置計算用にメモリ内に保存するサブエリア選択ステップと、該サブエリアのAF評価値が所定の閾値よりも小さいことを検出した場合に、非合焦レンズ移動停止手段が、レンズ駆動を停止する非合焦レンズ移動停止ステップとを有する。 Further preferably, in the AF evaluation value selection step in the CAF control method of the camera device of the present invention, the main area AF evaluation value determination means determines whether or not the AF evaluation value of the main area is larger than a predetermined threshold value. When the main area AF evaluation value determining step and detecting that the AF evaluation value of the main area is larger than a predetermined threshold value, the main area selection means uses the evaluation value of the main area for CAF focus position calculation. When the main area selection step to be stored in the memory and the AF evaluation value of the main area is detected to be smaller than a predetermined threshold, the sub-area AF evaluation value determining means determines that the AF evaluation value of the sub-area is predetermined. A sub-area AF evaluation value determining step for determining whether or not the threshold is greater than a threshold value, and the AF evaluation value of the sub-area is greater than a predetermined threshold value A sub-area selection step in which the sub-area selection means stores the evaluation value of the sub-area in the memory for CAF focus position calculation when it is detected that it is large, and the AF evaluation value of the sub-area is a predetermined threshold value If it is detected that the distance is smaller than the defocusing lens movement, the defocusing lens movement stopping means has a nonfocusing lens movement stopping step for stopping the lens driving.
さらに、好ましくは、本発明のカメラ装置のCAF制御方法におけるAF評価値選択ステップの前段に、前記制御ステップとして、初期位置移動手段が、前記フォーカスレンズを初期位置に移動させるように制御する初期位置移動ステップと、レンズ移動方向決定手段が、該フォーカスレンズの初期位置からの移動方向として無限遠端方向かまたは至近端方向かを決定するレンズ移動方向決定ステップと、フォーカスレンズ移動手段が、該フォーカスレンズを所定決定方向に1ステップ分の移動を行うフォーカスレンズ移動ステップと、AF評価値獲得手段が、前記メインエリアおよび前記サブエリア全てのAF評価値を求めるAF評価値獲得ステップとを有する。 Further preferably, in the preceding stage of the AF evaluation value selection step in the CAF control method of the camera device of the present invention, as the control step, an initial position moving unit controls the focus lens to move to the initial position. A moving step, a lens moving direction determining means for determining whether the moving direction from the initial position of the focus lens is an infinity end direction or a close end direction, and a focus lens moving means, A focus lens moving step for moving the focus lens by one step in a predetermined determination direction, and an AF evaluation value acquisition means include an AF evaluation value acquisition step for obtaining AF evaluation values for all of the main area and the sub area.
さらに、好ましくは、本発明のカメラ装置のCAF制御方法におけるAF評価値選択ステップの後段に、前記制御ステップとして、合焦位置決定手段が、前記フォーカスレンズが合焦位置にあるかどうかを決定する合焦位置決定ステップと、該合焦位置決定手段で合焦していると判定された場合に、合焦レンズ移動停止手段がレンズ駆動を停止する合焦レンズ移動停止ステップと、該合焦位置決定手段で合焦していないと判定された場合に、レンズ移動方向設定手段が、該フォーカスレンズのAF評価値の変動量の正負を決定して、該AF評価値の変動量が正の場合に移動方向を至近方向に設定し、該AF評価値の変動量が正よりも小さい場合に移動方向を無限遠方向と設定するレンズ移動方向設定ステップとを有する。 Still preferably, in a subsequent stage of the AF evaluation value selection step in the CAF control method of the camera device of the present invention, as the control step, the focus position determination means determines whether or not the focus lens is in the focus position. An in-focus position determining step; an in-focus lens movement stopping step in which the in-focus lens movement stopping means stops driving the lens when it is determined that the in-focus position determining means is in focus; and the in-focus position When the determining unit determines that the in-focus state is not in focus, the lens movement direction setting unit determines whether the AF evaluation value variation amount of the focus lens is positive or negative, and the AF evaluation value variation amount is positive. And a lens moving direction setting step for setting the moving direction to the infinity direction when the moving direction is set to the closest direction and the fluctuation amount of the AF evaluation value is smaller than positive.
さらに、好ましくは、本発明のカメラ装置のCAF制御方法において、前記メインエリアは前記撮影画面の中央位置に一つ配置され、前記サブエリアは該メインエリアの周辺に1〜8つ配置されている。 Still preferably, in a CAF control method for a camera device according to the present invention, one main area is arranged at a center position of the photographing screen, and 1 to 8 subareas are arranged around the main area. .
さらに、好ましくは、本発明のカメラ装置のCAF制御方法において、前記サブエリアは、前記メインエリアの周辺に配置されたサブエリアの更にその周辺にも配置されている。 Still preferably, in a CAF control method for a camera device according to the present invention, the sub-area is further disposed in the periphery of the sub-area disposed in the periphery of the main area.
本発明の制御プログラムは、本発明の上記カメラ装置のCAF制御方法の各ステップをコンピュータに実行させるための処理手順が記述されたものであり、そのことにより上記目的が達成される。 The control program according to the present invention describes a processing procedure for causing a computer to execute each step of the CAF control method for the camera apparatus according to the present invention, thereby achieving the above object.
本発明の可読記憶媒体は、本発明の上記制御プログラムが格納されたコンピュータ読み取り可能なものであり、そのことにより上記目的が達成される。 The readable storage medium of the present invention is a computer-readable storage medium storing the control program of the present invention, thereby achieving the above object.
本発明の電子情報機器は、本発明の上記カメラ装置を画像入力デバイスとして撮像部に用いたものであり、そのことにより上記目的が達成される。 An electronic information device according to the present invention uses the camera device according to the present invention as an image input device in an imaging unit, and thereby achieves the above object.
上記構成により、以下、本発明の作用を説明する。 With the above configuration, the operation of the present invention will be described below.
本発明のカメラ装置においては、結像面に結像される光学像を画像データに変換する撮像手段と、該光学像の焦点調節を行うためにフォーカスレンズを移動させて合焦位置を検出し、検出した合焦位置に該フォーカスレンズを停止させる焦点調節を連続的に行う制御部とを備えたカメラ装置において、光学像の合焦状態を検出するためのメインエリアと、該メインエリアの周辺に配置された一つ以上のサブエリアとが撮影画面上に配置され、制御部は、メインエリアのAF評価値が所定閾値よりも小さいことを検出した場合に、サブエリアのうちAF評価値が所定閾値を超え、最大となるサブエリアを合焦評価対象エリアとして選択してフォーカスレンズの合焦位置探索を行うように制御する。 In the camera device of the present invention, an imaging means for converting an optical image formed on the imaging surface into image data, and a focus lens is moved to detect the in-focus position in order to adjust the focus of the optical image. A main unit for detecting an in-focus state of an optical image, and a periphery of the main area in a camera device including a control unit that continuously performs focus adjustment to stop the focus lens at a detected focus position One or more subareas arranged on the shooting screen and the control unit detects that the AF evaluation value of the main area is smaller than a predetermined threshold, the AF evaluation value of the subarea is Control is performed so as to perform a focus position search of the focus lens by selecting a sub-area that exceeds a predetermined threshold value and becomes the focus evaluation target area.
これによって、制御部は、メインエリアのAF評価値が所定閾値よりも小さい場合に、サブエリアのうちAF評価値が所定閾値を超え、最大となるサブエリアを、合焦評価対象エリアとして選択して焦点探索を行うので、起動またはCAF設定直後、レンズスキャンを違和感なく動作させて、対象被写体Pについて自然な動作でピントを合わせることが可能となる。 As a result, when the AF evaluation value of the main area is smaller than the predetermined threshold, the control unit selects the sub area where the AF evaluation value exceeds the predetermined threshold and becomes the largest among the sub areas as the focus evaluation target area. Therefore, immediately after activation or CAF setting, the lens scan can be operated without a sense of incongruity, and the target subject P can be brought into focus by a natural operation.
以上により、本発明によれば、合焦状態を検出するためのメインエリアと、このメインエリアの周辺に配置した一つ以上のサブエリアとを配置し、制御部が、メインエリアのAF評価値が所定閾値よりも小さい場合に、サブエリアのうちAF評価値が所定閾値を超え、最大となるサブエリアを、合焦評価対象エリアとして選択し、焦点探索を行うため、起動またはCAF設定直後、レンズスキャンを違和感なく動作させて、対象被写体Pについて自然な動作でピントを合わせることができるCAF探索方式を得ることができる。 As described above, according to the present invention, the main area for detecting the in-focus state and one or more sub-areas arranged around the main area are arranged, and the control unit determines the AF evaluation value of the main area. Is smaller than the predetermined threshold value, the sub-area AF evaluation value exceeds the predetermined threshold value, and the largest sub-area is selected as the focus evaluation target area to perform focus search. It is possible to obtain a CAF search method in which the lens scan can be operated without a sense of incongruity and the target subject P can be focused with a natural operation.
以下に、本発明のカメラ装置およびそのCAF制御方法の実施形態1および、このカメラ装置の実施形態1を画像入力デバイスとして撮像部に用いた例えばカメラ付き携帯電話装置などの電子情報機器の実施形態2について図面を参照しながら詳細に説明する。 Embodiment 1 of a camera apparatus and a CAF control method thereof according to the present invention, and an embodiment of an electronic information device such as a camera-equipped mobile phone apparatus using Embodiment 1 of the camera apparatus as an image input device in an imaging unit will be described below. 2 will be described in detail with reference to the drawings.
(実施形態1)
図1は、本発明の実施形態1におけるカメラ装置の要部構成例を示すブロック図である。
(Embodiment 1)
FIG. 1 is a block diagram illustrating a configuration example of a main part of the camera device according to the first embodiment of the present invention.
図1において、本実施形態1のカメラ装置10において、被写体光はフォーカスレンズ1を通して、イメージセンサ2に入射される。フォーカスレンズ1は、モータドライバ3により駆動し、光軸方向に移動することにより被写体光像の焦点調節を行う。
In FIG. 1, in the
モータドライバ3はフォーカスレンズ1を駆動する駆動機構とその駆動回路とをそれぞれ備えており、制御部(CPU)4により制御される。本発明の説明に必要なフォーカスレンズ1のみを図示しているが、ズームレンズやメカシャッタ、絞りなどの光量調節機構を有しても構わない。その場合、それぞれの機構を1つ以上のドライバで駆動し、制御部(CPU)4により制御される。
The
イメージセンサ2は、CCD型固体撮像素子やMOS型固体撮像素子が二次元状に配列された撮像面を有している。撮像面上に結像された被写体像の光強度に応じた電気信号を生成する。イメージセンサ2は、固体撮像素子の他にアナログ信号処理回路やA/D変換器、これらを制御するタイミング発生回路を有しているが本発明の説明に不要であるためこれらはここでは図示しない。イメージセンサ2からはデジタル信号処理回路5に、撮像されたデジタル信号が出力される。
The
デジタル信号処理回路5では、ゲイン制御回路、輝度信号生成回路および色差信号生成回路など、各種の信号処理回路を備えており、この他に、入力された撮像信号に対して、露出制御回路、ガンマ補正回路、レンズシェーディング補正回路、ホワイトバランス調整回路および輪郭強調回路など種々の画像処理を行う。この露出制御回路においては、撮像画像が適切な明るさになるようイメージセンサ2にフィードバックを行い、撮像素子に入射される光強度を露出時間で調節している。
The digital
制御部(CPU)4は、モータードライバ3に対して駆動制御を行い、デジタル信号処理回路5に対しては、AFエリアの座標の計算および設定など、SAF駆動やCAF駆動に必要な制御を行う。また、制御部(CPU)4は、カメラ装置全体の制御を行い、デジタル信号処理回路5から参照されるAE、WBなどの各種情報を用いて画像処理なども行う。
The control unit (CPU) 4 performs drive control on the
制御部(CPU)4は、ワークメモリとして働く揮発性メモリのRAM6を有しており、デジタル信号処理回路5から取得したデータの一時保存などを行う。
The control unit (CPU) 4 has a
カメラ装置10に対する外部から設定については、入力装置7から行われる。この外部からの設定は、電源ONやシャッタボタン押下、メニュの選択などが含まれる。入力装置7からの設定はデジタル信号処理回路5を通して制御部(CPU)4に伝達され、実行中の制御プログラムが設定に応じた処理を行う。
The external setting for the
デジタル信号処理回路5および制御部(CPU)4で画像処理された画像データは、LCDなどへ表示、またはSDカードなど不揮発性メモリへ記録保存するために表示装置・記録媒体8に出力される。
Image data subjected to image processing by the digital
したがって、本実施形態1のカメラ装置10は、結像面に結像される光学像を画像データに変換する撮像手段としてのイメージセンサ2と、光学像の焦点調節を行うためにフォーカスレンズ1を移動させて合焦位置を検出し、検出した合焦位置にフォーカスレンズ1を停止させる焦点調節を連続的に行う焦点調節手段を持つモータドライバ3および制御部4とを備え、焦点調節手段を持つモータドライバ3および制御部4は、合焦状態を検出するためのメインエリアと、メインエリアの周辺に配置した一つ以上のサブエリアとを配置し、メインエリアのAF評価値が所定閾値よりも小さい場合に、サブエリアのうちAF評価値が所定閾値を超え、最大となるサブAFエリアを、合焦評価対象エリアとして探索を行うように制御する。
Therefore, the
制御部4は、合焦位置探索中にメインエリアのAF評価値が所定閾値を超えた場合、メインエリアを合焦評価対象エリアに切り替えて探索を行う。また、制御部4は、メインエリアの評価値が所定閾値を超えない状態のまま、サブAFエリアで合焦位置に到達した場合、その位置を合焦位置とする。
When the AF evaluation value of the main area exceeds a predetermined threshold during the focus position search, the
ここで、本実施形態1のカメラ装置10における制御部4のソフトウェア構成について説明する。
Here, the software configuration of the
本実施形態1のカメラ装置10における制御部4は、モータドライバ3を介してフォーカスレンズ1を初期位置に移動させるように制御する初期位置移動手段41と、フォーカスレンズ1の初期位置からの移動方向として無限遠端方向かまたは至近端方向かを決定するレンズ移動方向決定手段42と、モータドライバ3を介してフォーカスレンズ1を所定決定方向に1ステップ分の移動を行うフォーカスレンズ移動手段43と、メインエリアおよびその周辺のサブエリア全てのAF評価値を求めるAF評価値獲得手段44と、メインエリアおよびその周辺のサブエリア全てのAF評価値が所定の閾値よりも大きいかどうかを決定し、メインエリアのAF評価値が所定の閾値よりも大きいことを検出した場合に、メインエリアの評価値をCAF合焦位置計算用にRAM6内に保存し、メインエリアのAF評価値が所定の閾値よりも小さいことを検出した場合に、サブエリアの評価値をCAF合焦位置計算用にRAM6内に保存するAF評価値選択手段45と、フォーカスレンズ1が合焦位置にあるかどうかを決定する合焦位置決定手段46と、合焦位置決定手段46で合焦していると判定された場合にレンズ駆動を停止する合焦レンズ移動停止手段47と、合焦位置決定手段46で合焦していないと判定された場合に、フォーカスレンズ1のAF評価値の変動量の正負を決定して、そのAF評価値の変動量が正の場合に移動方向を至近方向に設定し、そのAF評価値の変動量が正よりも小さい場合に移動方向を無限遠方向と設定するレンズ移動方向設定手段48とを有し、フォーカスレンズ移動手段43の処理に戻って繰り返して焦点調節を連続的に行う。
The
AF評価値選択手段45は、メインエリアのAF評価値が所定の閾値よりも大きいかどうかを決定するメインエリアAF評価値判定手段451と、メインエリアのAF評価値が所定の閾値よりも大きいことを検出した場合に、メインエリアの評価値をCAF合焦位置計算用にメモリ内に保存するメインエリア選択手段452と、メインエリアのAF評価値が所定の閾値よりも小さいことを検出した場合に、サブエリアのAF評価値が所定の閾値よりも大きいかどうかを決定するサブエリアAF評価値判定手段453と、サブエリアのAF評価値が所定の閾値よりも大きいことを検出した場合に、サブエリアの評価値をCAF合焦位置計算用にメモリ内に保存するサブエリア選択手段454と、サブエリアのAF評価値が所定の閾値よりも小さいことを検出した場合に、レンズ駆動を停止する非合焦レンズ移動停止手段455とを有している。 The AF evaluation value selection means 45 includes a main area AF evaluation value determination means 451 for determining whether or not the AF evaluation value for the main area is greater than a predetermined threshold, and the AF evaluation value for the main area is greater than a predetermined threshold. Is detected, the main area selecting means 452 for storing the evaluation value of the main area in the memory for CAF focus position calculation, and the detection of the AF evaluation value of the main area being smaller than a predetermined threshold value. Sub-area AF evaluation value determining means 453 for determining whether or not the AF evaluation value of the sub-area is larger than a predetermined threshold, and when detecting that the AF evaluation value of the sub-area is larger than the predetermined threshold, Sub-area selection means 454 for storing the evaluation value of the area in the memory for CAF focus position calculation, and the AF evaluation value of the sub-area is smaller than a predetermined threshold value When it is detected that, and a non-focused lens movement stop means 455 for stopping the lens drive.
一方、本実施形態1のカメラ装置10ののCAF制御方法は、図示しない可読記録媒体としてのROMからワークメモリとして働くRAM6内に起動時に読み出された制御プログラムおよびそのデータに基づいて、初期位置移動手段41が、モータドライバ3を介してフォーカスレンズ1を初期位置に移動させるように制御する初期位置移動ステップと、レンズ移動方向決定手段42が、フォーカスレンズ1の初期位置からの移動方向として無限遠端方向かまたは至近端方向かを決定するレンズ移動方向決定ステップと、フォーカスレンズ移動手段43が、モータドライバ3を介してフォーカスレンズ1を所定決定方向に1ステップ分の移動を行うフォーカスレンズ移動ステップと、AF評価値獲得手段44が、メインエリアおよびその周辺のサブエリア全てのAF評価値を求めるAF評価値獲得ステップと、AF評価値選択手段45が、メインエリアおよびその周辺のサブエリア全てのAF評価値が所定の閾値よりも大きいかどうかを決定し、メインエリアのAF評価値が所定の閾値よりも大きいことを検出した場合に、メインエリアの評価値をCAF合焦位置計算用にRAM6内に保存し、メインエリアのAF評価値が所定の閾値よりも小さいことを検出した場合に、サブエリアの評価値をCAF合焦位置計算用にRAM6内に保存するAF評価値選択ステップと、合焦位置決定手段46が、フォーカスレンズ1が合焦位置にあるかどうかを決定する合焦位置決定ステップと、合焦レンズ移動停止手段47が、合焦位置決定手段46で合焦していると判定された場合にレンズ駆動を停止する合焦レンズ移動停止ステップと、レンズ移動方向設定手段48が、合焦位置決定手段46で合焦していないと判定された場合に、フォーカスレンズ1のAF評価値の変動量の正負を決定して、そのAF評価値の変動量が正の場合に移動方向を至近方向に設定し、そのAF評価値の変動量が正よりも小さい場合に移動方向を無限遠方向と設定するレンズ移動方向設定ステップとを実行し、フォーカスレンズ移動手段43の処理に戻って繰り返して焦点調節を連続的に行う。
On the other hand, the CAF control method of the
AF評価値選択ステップは、メインエリアAF評価値判定手段451が、メインエリアのAF評価値が所定の閾値よりも大きいかどうかを決定するメインエリアAF評価値判定ステップと、メインエリア選択手段452が、メインエリアのAF評価値が所定の閾値よりも大きいことを検出した場合に、メインエリアの評価値をCAF合焦位置計算用にメモリ内に保存するメインエリア選択ステップと、サブエリアAF評価値判定手段453が、メインエリアのAF評価値が所定の閾値よりも小さいことを検出した場合に、サブエリアのAF評価値が所定の閾値よりも大きいかどうかを決定するサブエリアAF評価値判定ステップと、サブエリア選択手段454が、サブエリアのAF評価値が所定の閾値よりも大きいことを検出した場合に、サブエリアの評価値をCAF合焦位置計算用にメモリ内に保存するサブエリア選択ステップと、非合焦レンズ移動停止手段455が、サブエリアのAF評価値が所定の閾値よりも小さいことを検出した場合に、レンズ駆動を停止する非合焦レンズ移動停止ステップとを有している。
In the AF evaluation value selection step, the main area AF evaluation
可読記録媒体としてのROM(図示せず)としては、ハードディスクの他、形態自在な光ディスク、光磁気ディスク、磁気ディスクおよびICメモリなどで構成されていてもよい。この制御プログラムおよびそのデータなどがROMに記憶されるが、この制御プログラムおよびそのデータは、他の可読記録媒体から、または、無線、有線またはインターネットなどを介してROMにダウンロードされてもよい。 A ROM (not shown) as a readable recording medium may be composed of a hard disk, a formable optical disk, a magneto-optical disk, a magnetic disk, an IC memory, and the like. This control program and its data are stored in the ROM, but this control program and its data may be downloaded to the ROM from another readable recording medium or via wireless, wired or the Internet.
上記構成により、本実施形態1のカメラ装置10のCAF制御フローについて、図2に基づいて説明する。
With the above configuration, the CAF control flow of the
図2は、図1のカメラ装置10におけるCAF探索方式を示すフローチャートである。
FIG. 2 is a flowchart showing a CAF search method in the
図2に示すように、まず、ステップS1で、外部の入力装置7から、カメラ起動、スリープ状態からの復帰、AF動作モードの変更などの設定が通知される。
As shown in FIG. 2, first, in step S1, settings such as camera activation, return from sleep state, and change of AF operation mode are notified from the
次に、ステップS2でCAF設定状態かどうかを判定する。CAF設定状態の場合(YES)、ステップS3の処理に進み、そうでない場合(NO)は、ステップS4のSAF動作処理に移行する。ステップS4のSAF動作処理は、CAF以外の処理を意味するが、本発明の説明に必要ではないためここではその説明を省略する。 Next, in step S2, it is determined whether or not the CAF is set. If it is in the CAF setting state (YES), the process proceeds to step S3. If not (NO), the process proceeds to the SAF operation process in step S4. The SAF operation process in step S4 means a process other than CAF, but is not necessary for the description of the present invention, so that the description thereof is omitted here.
続いて、ステップS3のCAFエリア設定から、本発明のCAF方式となる。このCAFエリアは、ユーザから指定されるかまたは中央など予め用意された位置をメインエリアとし、その周辺に1つ以上配置したサブエリアとで構成する。制御部(CPU)4で各エリアの座標を計算し、デジタル信号処理回路5に算出された座標を設定する。
Subsequently, the CAF method of the present invention is established from the CAF area setting in step S3. This CAF area is composed of a sub-area that is designated by the user or prepared in advance in the center or the like as a main area, and one or more sub-areas arranged around the main area. The control unit (CPU) 4 calculates the coordinates of each area, and sets the calculated coordinates in the digital
その後、ステップS5で、レンズ移動位置を初期位置の無限遠側の探索端として、モータドライバ3に設定する。なお、移動位置はRAM6のバッファメモリ61に保存する。次のステップS6でレンズ移動方向を至近方向としてバッファメモリ61に保存する。
Thereafter, in step S5, the lens movement position is set in the
さらに、ステップS7で、バッファメモリ61内のAF評価値を初期化するために、「0」にクリアする。ここまでが本発明のCAF方式の初期設定処理となる。
In step S7, the AF evaluation value in the
ステップS8のレンズ駆動からは、本発明のCAF中のレンズ駆動毎に実行されるフローを示している。 From the lens driving in step S8, a flow executed for each lens driving in the CAF of the present invention is shown.
まず、ステップS8で制御部4はモータドライバ3に1ステップのレンズ駆動の指示を行う。
First, in step S8, the
次に、ステップS9では、ステップS3で設定したCAFエリア全てのAF評価値をデジタル信号処理回路5から取得し、この取得したAF評価値をバッファメモリ61内に保存する。
Next, in step S9, the AF evaluation values of all the CAF areas set in step S3 are acquired from the digital
さらに、ステップS10では、ステップS9で保存したメインAF評価値を用い、所定の閾値を超えたかどうかを判定する。閾値は事前に調整された固定の値でもよいし、AFエリアサイズや評価値の大きさなどで固定の値を正規化しても構わない。 In step S10, the main AF evaluation value stored in step S9 is used to determine whether a predetermined threshold has been exceeded. The threshold value may be a fixed value adjusted in advance, or the fixed value may be normalized by the AF area size or the evaluation value.
ステップS10でメインAF評価値が閾値を超えた場合(YES)はステップS13の処理に移行し、ステップS10でメインAF評価値が閾値を超えない場合(NO)はステップS11の処理に移行してサブAF評価値を判定する。 If the main AF evaluation value exceeds the threshold value in step S10 (YES), the process proceeds to step S13. If the main AF evaluation value does not exceed the threshold value in step S10 (NO), the process proceeds to step S11. A sub AF evaluation value is determined.
さらに、ステップS11では、ステップS9で保存したサブAF評価値のうち、最大となるサブエリアのAF評価値を用い、その最大となるサブエリアのAF評価値が所定の閾値を超えたかどうかを判定する。ここで、閾値はステップS10で使用した閾値と同じものを用いる。 Further, in step S11, among the sub AF evaluation values stored in step S9, the AF evaluation value of the maximum sub area is used to determine whether or not the AF evaluation value of the maximum sub area exceeds a predetermined threshold. To do. Here, the threshold value is the same as the threshold value used in step S10.
ステップS11でサブAF評価値が閾値を超えた場合(YES)はステップS13の処理に進み、ステップS11でサブAF評価値が閾値を超えない場合(NO)はステップS12の処理に進んで、ステップS12で非合焦としてレンズ駆動を停止処理する。 If the sub AF evaluation value exceeds the threshold value in step S11 (YES), the process proceeds to step S13. If the sub AF evaluation value does not exceed the threshold value in step S11 (NO), the process proceeds to step S12. In S12, the lens drive is stopped as out of focus.
さらに、ステップS13では、ステップS10またはステップS11で判定に使用されたAF評価値のエリア番号をバッファメモリ61に保存する。この保存するエリア番号はステップS3でCAFエリアを設定したときに連番が割り付けられている。
In step S13, the area number of the AF evaluation value used for the determination in step S10 or step S11 is stored in the
さらに、ステップS14では、ステップS10またはステップS11で判定に使用されたAF評価値の変動量を算出し、この算出したAF評価値の変動量をバッファメモリ61に保存する。この保存したAF評価値の変動量は、ステップS13で保存したエリア番号をキーとしてAF評価値を参照し、AFエリアの現在のAF評価値から、1つ前のAF評価値を減算して算出する。
Further, in step S14, the fluctuation amount of the AF evaluation value used for the determination in step S10 or step S11 is calculated, and the calculated fluctuation amount of the AF evaluation value is stored in the
さらに、ステップS15は、これまで保存したAF評価値、AF評価値の変動量、移動方向、移動位置を使用して合焦状態かどうかを判定する。合焦状態の判定方法は、ここでは、本発明の説明に重要でないため省略する。 In step S15, it is determined whether or not the in-focus state is obtained by using the AF evaluation value, the variation amount of the AF evaluation value, the moving direction, and the moving position that have been stored so far. The method for determining the in-focus state is omitted here because it is not important for the description of the present invention.
ステップS15で合焦していないと判定された場合(NO)は、ステップS17の処理に移行し、ステップS15で合焦していると判定された場合(YES)は、ステップS16の処理へと進んでレンズ駆動を停止処理する。 If it is determined in step S15 that focus is not achieved (NO), the process proceeds to step S17. If it is determined that focus is achieved in step S15 (YES), the process proceeds to step S16. Proceed to stop the lens drive.
さらに、ステップS17では、ステップS14で保存したAF評価値の変動量を用いて移動方向を計算する。このAF評価値の変動量が「0」よりも大きい場合(YES)は、移動方向を至近方向と設定してステップS18の処理に進み、AF評価値の変動量が「0」以下の場合(NO)は、移動方向を無限遠方向と設定してステップS19の処理に進む。これらのステップS18またはステップS19で設定した移動方向はバッファメモリ61内に保存する。
In step S17, the moving direction is calculated using the AF evaluation value variation stored in step S14. When the variation amount of the AF evaluation value is larger than “0” (YES), the moving direction is set as the closest direction and the process proceeds to step S18. When the variation amount of the AF evaluation value is “0” or less ( NO) sets the moving direction to the infinity direction and proceeds to the process of step S19. The moving direction set in step S18 or step S19 is stored in the
さらに、ステップS20では、制御部4は、現在位置と移動方向から次の移動位置を計算し、この計算した次の移動位置をモータードライバ3に設定する。この次の移動位置はバッファメモリ61に保存する。
In step S20, the
続いて、ステップS8のレンズ駆動処理に戻り、上記ステップS8〜S20の処理を合焦状態または非合焦状態になるまで繰り返す。以上が、本発明のCAFの制御フローである。 Subsequently, returning to the lens driving process of step S8, the processes of steps S8 to S20 are repeated until the in-focus state or the out-of-focus state is reached. The above is the CAF control flow of the present invention.
図3は、図2のステップS3で設定するCAFエリアの配置の事例を示す撮影画面図である。 FIG. 3 is a shooting screen diagram showing an example of the arrangement of the CAF area set in step S3 of FIG.
図3において、撮影画面81は、イメージセンサ2で撮像されて表示装置8の表示画面上に表示される画像を示している。撮影画面81に撮影されている被写体84は、ピントを合わせたい対象の被写体で、人物などが該当する。撮影画面81のうち、対象被写体84以外の領域は背景を示しており、この背景は一般的に対象被写体84よりも後方に位置する。ピントを合わせたい対象被写体84の中央にメインエリア82が配置される。
In FIG. 3, a
この事例では、メインエリア82は、撮影画面81の中央に位置している。メインエリア82は、ここでは人物の顔のみが配置されている。メインエリア82の周囲にサブエリア83が等間隔に8つ配置されている。レンズ1が無限遠側にある場合、メインエリア82のコントラストが低い状態にあり、また、フォーカスレンズ1を至近方向に移動させても、変化量が少なく、移動方向が正しく判定される可能性が低い。
In this example, the
しかし、このような場合でも、メインエリア82の周辺にサブエリア83を配置することにより、被写体84の境界やその外側の背景など、よりコントラストの高い被写体84がサブエリア83内に含まれる領域が多くなり、移動方向が正しく判定される可能性が高くなる。
However, even in such a case, by arranging the
図4は、図2のステップS3におけるCAFエリアを図3で配置した場合の、フォーカスレンズ位置におけるAF評価値を模式的にグラフ化した図である。なお、簡単にするために、サブエリア83のAF評価値情報は一つのみ図示している。図4の縦軸はAF評価値の量を示し、上方向はAF評価値が大きいことを示している。図4の横軸は、フォーカスレンズ位置を示し、グラフ左側が無限遠側、右側が至近側を示している。 FIG. 4 is a graph schematically showing the AF evaluation value at the focus lens position when the CAF area in step S3 in FIG. 2 is arranged in FIG. For simplicity, only one AF evaluation value information of the sub-area 83 is illustrated. The vertical axis in FIG. 4 indicates the amount of the AF evaluation value, and the upward direction indicates that the AF evaluation value is large. The horizontal axis in FIG. 4 indicates the focus lens position, the left side of the graph indicates the infinity side, and the right side indicates the close side.
図4において、縦破線E1はCAF時にフォーカスレンズ1を可動させる無限遠側の端を示し、縦破線E2は至近側の端を示している。実線L1は、メインエリア82のAF評価値の遷移状態を示しており、破線L2は、メインエリア82の周囲にあるサブエリア83のAF評価値の遷移状態を示している。縦破線P2はサブエリア83で最も評価値が高くなる位置L2mであり、サブエリア83でピントが合う位置はこの位置であることを示している。これと同様に、縦破線P3はメインエリア82で最も評価値が高くなる位置L1mであり、メインエリア82でピントが合う位置を示している。横点線A1は閾値を示しており、縦破線P1はメインエリア82のAF評価値が横点線に示す閾値A1を超える位置を示している。
In FIG. 4, a vertical broken line E1 indicates an end on the infinity side where the focus lens 1 is movable during CAF, and a vertical broken line E2 indicates an end on the closest side. The solid line L1 indicates the transition state of the AF evaluation value in the
図4では、無限遠端を示す縦破線E1から至近側端を示す縦破線E2までの、各エリアのAF評価値の遷移状態を示しているが、CAFでは例えばピントの合う縦破線P3のAF評価値L1mの位置までフォーカスレンズ1が移動したら、それよりも至近側に移動することはない。 FIG. 4 shows the transition state of the AF evaluation value of each area from the vertical broken line E1 indicating the infinity end to the vertical broken line E2 indicating the closest end, but in CAF, for example, the AF of the vertical broken line P3 in focus is in focus. When the focus lens 1 moves to the position of the evaluation value L1m, it does not move closer to it.
この場合、メインエリア82では無限遠端を示す縦破線E1から至近方向の途中までほとんどAF評価値の変動がない。このような状態では、フォーカスレンズ1の移動方向が正しく判断できず、ピントが合わない状態が長く続いてしまう。
In this case, in the
一点破線L3は、メインエリアのAF評価値の遷移状態を示しており、制御部4は、メインエリア82の評価値が所定閾値を超えない状態のまま、サブエリア83で合焦位置に到達した場合、その位置を合焦位置とする。
A one-dot broken line L3 indicates a transition state of the AF evaluation value of the main area, and the
しかし、本実施形態1の発明では、以下のように制御部1が制御し、前述した上記従来の問題を回避することができる。 However, in the invention of the first embodiment, the control unit 1 controls as follows, and the above-described conventional problems can be avoided.
図2のステップS8で、フォーカスレンズ1を無限遠端を示す縦破線E1に移動させる。ここから徐々に至近方向にフォーカスレンズ1を駆動させるが、メインエリア82のAF評価値は閾値を示す横点線A1を下回るため、ステップS10ではNOとなり、ステップS11でサブエリア83のAF評価値を用いて移動方向を判定する。サブエリア83には背景などが領域内にあり、無限遠側のコントラストは閾値を示す横点線A1を超えるため、ステップS11ではYESとなる。また、変動量も一定以上確保可能であるため、ステップS17での変動量の正負の判定により移動方向を至近方向として移動方向が正しく判定される。
In step S8 of FIG. 2, the focus lens 1 is moved to the vertical broken line E1 indicating the end at infinity. From this point, the focus lens 1 is gradually driven in the closest direction. Since the AF evaluation value of the
サブエリア83のAF評価値を用いて、ステップS8からステップS20までの処理を繰り返し、フォーカスレンズ1を至近方向へ移動すると、サブエリア83のピントが合う位置を示す縦破線P2への到達前に、縦破線P1の時点で、メインエリア82のAF評価値が閾値を示す横点線A1を超える。このため、ここから至近方向へのフォーカスレンズ1の移動は、実線L1のメインエリア82のAF評価値を使用して、フォーカスレンズ1の至近方向への移動を行う。この至近方向への移動をメインエリア82のピントが合う位置を示す縦破線P3まで繰り返す。
Using the AF evaluation value of the sub-area 83, the processing from step S8 to step S20 is repeated, and when the focus lens 1 is moved in the closest direction, before reaching the vertical broken line P2 indicating the focus position of the sub-area 83. At the time of the vertical broken line P1, the AF evaluation value of the
ここで、図2のカメラ装置10のCAF探索方式を本実施形態1の動作原理として図5を参照して詳細に説明する。
Here, the CAF search method of the
図5は、図2のカメラ装置10のCAF探索方式の特徴部分をより簡潔に示すフローチャートである。
FIG. 5 is a flowchart showing the characteristic part of the CAF search method of the
図5に示すように、まず、ステップS31において、制御部4は、モータドライバ3を介してフォーカスレンズ1を初期位置(無限遠端)に移動させるように制御する。
As shown in FIG. 5, first, in step S <b> 31, the
次に、ステップS32において、制御部4は、移動方向を決定する。制御部4が、移動方向として無限遠端から至近方向かまたはその逆方向かを決定する。
Next, in step S32, the
続いて、ステップS33において、制御部4は、設定CAFエリア(AF対象エリアおよび周辺エリア)全てのAF評価値をデジタル信号処理回路5から取得し、この取得したAF評価値をRAM6のバッファメモリ61内に保存する。
Subsequently, in step S33, the
さらに、ステップS34において、制御部4は、モータドライバ3を介してフォーカスレンズ1を所定方向に1ステップ分の移動を行う。
Further, in step S <b> 34, the
さらに、ステップS35において、制御部4は、設定CAFエリア(AF対象エリアおよび周辺エリア)全てのAF評価値をデジタル信号処理回路5から取得し、この取得したAF評価値をRAM6のバッファメモリ61内に保存する。
Further, in step S35, the
さらに、ステップS36において、制御部4は、AF対象エリア評価値が閾値よりも大きいかどうかを決定し、AF対象エリア評価値が閾値よりも大きければ(YES)、ステップS37の処理に移行し、AF対象エリアの評価値が閾値よりも小さければ(NO)、ステップS38の処理に移行する。
Furthermore, in step S36, the
さらに、ステップS37において、制御部4は、AF対象エリア(メインエリア82)の評価値をCAF合焦位置計算用にRAM6のバッファメモリ61内に保存する。
Furthermore, in step S37, the
さらに、ステップS38において、制御部4は、周辺エリア(サブエリア83)の評価値をCAF合焦位置計算用にRAM6のバッファメモリ61内に保存する。
Further, in step S38, the
さらに、ステップS39において、制御部4は、これまで保存したAF評価値、AF評価値の変動量、移動方向、移動位置を使用してフォーカスレンズ1が合焦状態であるかどうかを決定する。ステップS39で合焦していると判定された場合(YES)は、ステップS40の処理へと進んでレンズ駆動を停止処理する。また、ステップS39で合焦していないと判定された場合(NO)は、ステップS41の処理に移行し、ステップS41でフォーカスレンズ1の移動方向を決定する。即ち、制御部4は、フォーカスレンズ1のAF評価値の変動量の正負を決定して、AF評価値の変動量が正の場合に移動方向を至近方向と設定し、AF評価値の変動量が正よりも小さい場合に移動方向を無限遠方向と設定する。
Further, in step S39, the
したがって、本実施形態1のコンティニュアスAFの探索方式は、結像面に結像される光学像を画像データに変換するイメージセンサ2と、光学像の焦点調節を行うためにフォーカスレンズ1を移動させて合焦位置を検出し、検出した合焦位置にフォーカスレンズ1を停止させる焦点調節を連続的に行う制御部4およびこれによって制御されるモータドライバ3とを備えたカメラ装置10において、合焦状態を検出するためのメインエリアと、このメインエリア82の周辺に配置した一つ以上のサブエリア83とを配置し、制御部4は、メインエリア82のAF評価値が所定閾値よりも小さい場合に、サブエリア83のうちAF評価値が所定閾値を超え、最大となるサブエリア83を、合焦評価対象エリアとして選択し、焦点探索を行うように制御する。
Therefore, the search method for continuous AF according to the first embodiment includes an
この場合に、制御部4は、合焦位置探索中にメインエリア82のAF評価値が所定閾値を超えた場合に、メインエリア82を合焦評価対象エリアとして切り替え、焦点探索を行うように制御する。
In this case, when the AF evaluation value of the
また、制御部4は、メインエリア82のAF評価値が所定閾値を超えない状態のまま、サブエリア83で合焦位置に到達した場合、その到達した位置を合焦位置とする。
Further, when the AF evaluation value of the
以上のように、本実施形態1によれば、合焦状態を検出するためのメインエリアと、このメインエリア82の周辺に配置した一つ以上のサブエリア83とを配置し、メインエリア82のAF評価値が所定閾値よりも小さい場合に、サブエリア83のうちAF評価値が所定閾値を超え、最大となるサブエリア83を、合焦評価対象エリアとして選択し、焦点探索を行うため、起動またはCAF設定直後、レンズスキャンを違和感なく動作させて、対象被写体Pについて自然な動作でピントを合わせることができるCAF探索方式を得ることができる。
As described above, according to the first embodiment, the main area for detecting the in-focus state and one or more sub-areas 83 arranged around the
なお、上記実施形態1では、カメラ装置10は、フォーカスレンズ1と、イメージセンサ2と、モータドライバ3と、制御部(CPU)4と、デジタル信号処理回路5と、RAM6と、入力装置7と、表示装置・記録媒体8とを有する場合について説明したが、これに限らず、被写体を撮像した各画素毎の撮像信号に対して所定の信号処理を行ってカラー画像信号を得るカメラ装置91として、フォーカスレンズ1と、イメージセンサ2と、モータドライバ3と、制御部(CPU)4と、デジタル信号処理回路5と、RAM6と、入力装置7とを有していてもよい。
In the first embodiment, the
なお、上記実施形態1では、AF評価値選択手段45は、メインエリアのAF評価値が所定の閾値よりも大きいかどうかを決定するメインエリアAF評価値判定手段451と、メインエリアのAF評価値が所定の閾値よりも大きいことを検出した場合に、メインエリアの評価値をCAF合焦位置計算用にメモリ内に保存するメインエリア選択手段452と、メインエリアのAF評価値が所定の閾値よりも小さいことを検出した場合に、サブエリアのAF評価値が所定の閾値よりも大きいかどうかを決定するサブエリアAF評価値判定手段453と、サブエリアのAF評価値が所定の閾値よりも大きいことを検出した場合に、サブエリアの評価値をCAF合焦位置計算用にメモリ内に保存するサブエリア選択手段454と、サブエリアのAF評価値が所定の閾値よりも小さいことを検出した場合に、レンズ駆動を停止する非合焦レンズ移動停止手段455とを有する場合について説明したが、これに限らず、AF評価値選択手段は、メインエリアおよびサブエリア全てのAF評価値が所定の閾値よりも大きいかどうかを決定するAF評価値判定手段と、メインエリアのAF評価値が所定の閾値よりも大きい場合に、メインエリアの評価値をCAF合焦位置計算用にメモリ内に保存するメインエリア選択手段と、メインエリアのAF評価値が所定の閾値よりも小さい場合に、サブエリアの評価値をCAF合焦位置計算用に該メモリ内に保存するサブエリア選択手段とを有する場合であってもよい。
In the first embodiment, the AF evaluation
(実施形態2)
図6は、本発明の実施形態2として、本発明の実施形態1のカメラ装置を撮像部に用いた電子情報機器の概略構成例を示すブロック図である。
(Embodiment 2)
FIG. 6 is a block diagram illustrating a schematic configuration example of an electronic information device using the camera apparatus according to the first embodiment of the present invention as an imaging unit as the second embodiment of the present invention.
図6において、本実施形態2の電子情報機器90は、上記実施形態1において、カメラ装置10の代わりに、被写体を撮像した各画素毎の撮像信号に対して所定の信号処理を行ってカラー画像信号を得るカメラ装置91と、このカメラ装置91からのカラー画像信号を記録用に所定の信号処理した後にデータ記録可能とする記録メディアなどのメモリ部92と、このカメラ装置91からのカラー画像信号を表示用に所定の信号処理した後に液晶表示画面などの表示画面上に表示可能とする液晶表示装置などの表示部93と、このカメラ装置91からのカラー画像信号を通信用に所定の信号処理をした後に通信処理可能とする送受信装置などの通信部94と、このカメラ装置91からのカラー画像信号を印刷用に所定の印刷信号処理をした後に印刷処理可能とするプリンタなどの画像出力部95とを有している。なお、この電子情報機器90として、これに限らず、カメラ装置91の他に、メモリ部92と、表示部93と、通信部94と、プリンタなどの画像出力部95とのうちの少なくともいずれかを有していてもよい。
In FIG. 6, the
この電子情報機器90としては、前述したように例えばデジタルビデオカメラ、デジタルスチルカメラなどのデジタルカメラや、監視カメラ、ドアホンカメラ、車載用後方監視カメラなどの車載用カメラおよびテレビジョン電話用カメラなどの画像入力カメラ、スキャナ装置、ファクシミリ装置、カメラ付き携帯電話装置および携帯端末装置(PDA)などの画像入力デバイスを有した電子機器が考えられる。
As described above, the
したがって、本実施形態2によれば、このカメラ装置91からのカラー画像信号に基づいて、これを表示画面上に良好に表示したり、これを紙面にて画像出力部95により良好にプリントアウト(印刷)したり、これを通信データとして有線または無線にて良好に通信したり、これをメモリ部92に所定のデータ圧縮処理を行って良好に記憶したり、各種データ処理を良好に行うことができる。
Therefore, according to the second embodiment, based on the color image signal from the
以上のように、本発明の好ましい実施形態1、2を用いて本発明を例示してきたが、本発明は、この実施形態1、2に限定して解釈されるべきものではない。本発明は、特許請求の範囲によってのみその範囲が解釈されるべきであることが理解される。当業者は、本発明の具体的な好ましい実施形態1、2の記載から、本発明の記載および技術常識に基づいて等価な範囲を実施することができることが理解される。本明細書において引用した特許、特許出願および文献は、その内容自体が具体的に本明細書に記載されているのと同様にその内容が本明細書に対する参考として援用されるべきであることが理解される。
As mentioned above, although this invention was illustrated using
本発明は、コントラスト方式でオートフォーカス動作を行い、シャッタ半押しなどによる指示がなくても自動焦点調節を行うコンティニュアスオートフォーカス(以下「CAF」と略記する)機能を有するカメラ装置およびそのCAF制御方法、このカメラ装置を画像入力デバイスとして撮像部に用いた例えばデジタルビデオカメラおよびデジタルスチルカメラなどのデジタルカメラや、監視カメラなどの画像入力カメラ、スキャナ装置、ファクシミリ装置、テレビジョン電話装置、カメラ付き携帯電話装置などの電子情報機器の分野において、合焦状態を検出するためのメインエリアと、このメインエリアの周辺に配置した一つ以上のサブエリアとを配置し、制御部が、メインエリアのAF評価値が所定閾値よりも小さい場合に、サブエリアのうちAF評価値が所定閾値を超え、最大となるサブエリアを、合焦評価対象エリアとして選択し、焦点探索を行うため、起動またはCAF設定直後、レンズスキャンを違和感なく動作させて、対象被写体Pについて自然な動作でピントを合わせることができるCAF探索方式を得ることができる。 The present invention relates to a camera device having a continuous autofocus (hereinafter abbreviated as “CAF”) function for performing autofocus operation by a contrast method and performing autofocus adjustment without an instruction by half-pressing a shutter or the like, and its CAF. Control method, digital camera such as a digital video camera and a digital still camera using this camera device as an image input device in an imaging unit, an image input camera such as a surveillance camera, a scanner device, a facsimile device, a television phone device, a camera In the field of electronic information devices such as mobile phone devices with a mobile phone, a main area for detecting the in-focus state and one or more sub-areas arranged around the main area are arranged. If the AF evaluation value is smaller than the predetermined threshold, In order to select the sub-area where the AF evaluation value exceeds the predetermined threshold and becomes the largest as the focus evaluation target area and perform the focus search, the lens scan is operated without any sense of incongruity immediately after activation or CAF setting. It is possible to obtain a CAF search method capable of focusing on P with a natural operation.
1 フォーカスレンズ
2 イメージセンサ
3 モータドライバ
4 制御部(CPU)
41 初期位置移動手段
42 レンズ移動方向決定手段
43 フォーカスレンズ移動手段
44 AF評価値獲得手段
45 AF評価値選択手段
451 メインエリアAF評価値判定手段
452 メインエリア選択手段
453 サブエリアAF評価値判定手段
454 サブエリア選択手段
455 非合焦レンズ移動停止手段
46 合焦位置決定手段
47 合焦レンズ移動停止手段
48 レンズ移動方向設定手段
5 デジタル信号処理回路
6 RAM
7 入力装置
8 表示装置・記録媒体
10 カメラ装置
81 撮影画面
82 メインエリア
83 サブエリア
84 被写体
L1 実線(メインエリアのAF評価値の遷移状態)
L1m 実線L1で最も評価値が高くなる位置
L2 破線(サブエリアのAF評価値の遷移状態)
L2m 破線L2で最も評価値が高くなる位置
L3 一点破線(メインエリアのAF評価値の遷移状態)
E1 無限遠端を示す縦破線
E2 至近側端を示す縦破線
P1 閾値を示す横点線A1を超える位置を示す縦破線
P2 破線L2でピントの合う縦破線
P3 実線L1でピントの合う縦破線
A1 横点線に示す閾値
90 電子情報機器
91 カメラ装置
92 メモリ部
93 表示部
94 通信部
95 画像出力部
DESCRIPTION OF SYMBOLS 1
41 Initial position moving means 42 Lens moving direction determining means 43 Focus lens moving means 44 AF evaluation value acquiring means 45 AF evaluation value selecting means 451 Main area AF evaluation value determining means 452 Main area selecting means 453 Sub area AF evaluation
7
L1m The position where the evaluation value is highest on the solid line L1
L2m Position where the evaluation value is highest at the broken line L2 L3 One-point broken line (transition state of AF evaluation value of the main area)
E1 Vertical broken line indicating the end at infinity E2 Vertical broken line indicating the near end P1 Vertical broken line indicating the position exceeding the horizontal dotted line A1 indicating the threshold value P2 Vertical broken line in focus at the broken line L2 Vertical broken line in focus at the solid line L1 A1 Horizontal Threshold value indicated by dotted
Claims (23)
該光学像の合焦状態を検出するためのメインエリアと、該メインエリアの周辺に配置された一つ以上のサブエリアとが撮影画面上に配置され、
該制御部は、
前記メインエリアのAF評価値が所定閾値よりも小さいことを検出した場合に、該サブエリアのうちAF評価値が所定閾値を超え、最大となるサブエリアを合焦評価対象エリアとして選択して該フォーカスレンズの合焦位置探索を行うように制御するカメラ装置。 An imaging unit that converts an optical image formed on the imaging surface into image data, and a focus lens is moved to adjust the focus of the optical image, and the focus position is detected. In a camera device including a control unit that continuously performs focus adjustment to stop the focus lens,
A main area for detecting the in-focus state of the optical image, and one or more sub-areas arranged around the main area are arranged on the photographing screen,
The control unit
When it is detected that the AF evaluation value of the main area is smaller than a predetermined threshold, the sub-area where the AF evaluation value exceeds the predetermined threshold and becomes the largest among the sub-areas is selected as the focus evaluation target area and the A camera device that controls to perform a focus position search of a focus lens.
前記メインエリアおよび前記サブエリア全てのAF評価値に対して各AF評価値が所定の閾値よりも大きいかどうかを決定し、該メインエリアのAF評価値が所定の閾値よりも大きいことを検出した場合に、該メインエリアの評価値をCAF合焦位置計算用にメモリ内に保存し、該メインエリアのAF評価値が所定の閾値よりも小さいことを検出した場合に、該サブエリアの評価値をCAF合焦位置計算用に該メモリ内に保存するAF評価値選択手段を有する請求項1に記載のカメラ装置。 The controller is
It is determined whether or not each AF evaluation value is larger than a predetermined threshold for the AF evaluation values of all the main area and the sub-area, and it is detected that the AF evaluation value of the main area is larger than the predetermined threshold. The evaluation value of the main area is stored in the memory for CAF focus position calculation, and the evaluation value of the sub area is detected when it is detected that the AF evaluation value of the main area is smaller than a predetermined threshold value. The camera apparatus according to claim 1, further comprising an AF evaluation value selection unit that stores the image in the memory for CAF focus position calculation.
前記メインエリアおよび前記サブエリア全てのAF評価値に対して各AF評価値が所定の閾値よりも大きいかどうかを決定するAF評価値判定手段と、
該メインエリアのAF評価値が所定の閾値よりも大きいことを検出した場合に、該メインエリアの評価値をCAF合焦位置計算用にメモリ内に保存するメインエリア選択手段と、
該メインエリアのAF評価値が所定の閾値よりも小さいことを検出した場合に、該サブエリアの評価値をCAF合焦位置計算用に該メモリ内に保存するサブエリア選択手段とを有する請求項4に記載のカメラ装置。 The AF evaluation value selection means includes
AF evaluation value determination means for determining whether or not each AF evaluation value is greater than a predetermined threshold for all the AF evaluation values of the main area and the sub-area;
Main area selection means for storing the evaluation value of the main area in a memory for CAF focus position calculation when it is detected that the AF evaluation value of the main area is greater than a predetermined threshold;
A sub-area selection unit that stores the evaluation value of the sub area in the memory for CAF focus position calculation when it is detected that the AF evaluation value of the main area is smaller than a predetermined threshold. 5. The camera device according to 4.
前記メインエリアのAF評価値が所定の閾値よりも大きいかどうかを決定するメインエリアAF評価値判定手段と、
該メインエリアのAF評価値が所定の閾値よりも大きいことを検出した場合に、該メインエリアの評価値をCAF合焦位置計算用にメモリ内に保存するメインエリア選択手段と、
該メインエリアのAF評価値が所定の閾値よりも小さいことを検出した場合に、前記サブエリアのAF評価値が所定の閾値よりも大きいかどうかを決定するサブエリアAF評価値判定手段と、
該サブエリアのAF評価値が所定の閾値よりも大きいことを検出した場合に、該サブエリアの評価値をCAF合焦位置計算用にメモリ内に保存するサブエリア選択手段と、
該サブエリアのAF評価値が所定の閾値よりも小さいことを検出した場合に、レンズ駆動を停止する非合焦レンズ移動停止手段とを有する請求項4に記載のカメラ装置。 The AF evaluation value selection means includes
Main area AF evaluation value determining means for determining whether the AF evaluation value of the main area is larger than a predetermined threshold;
Main area selection means for storing the evaluation value of the main area in a memory for CAF focus position calculation when it is detected that the AF evaluation value of the main area is greater than a predetermined threshold;
Sub-area AF evaluation value determining means for determining whether or not the AF evaluation value of the sub-area is larger than a predetermined threshold when it is detected that the AF evaluation value of the main area is smaller than a predetermined threshold;
Sub-area selection means for storing the evaluation value of the sub-area in a memory for CAF focus position calculation when it is detected that the AF evaluation value of the sub-area is larger than a predetermined threshold;
The camera apparatus according to claim 4, further comprising a non-focus lens movement stop unit that stops the lens drive when detecting that the AF evaluation value of the sub-area is smaller than a predetermined threshold value.
前記フォーカスレンズを初期位置に移動させるように制御する初期位置移動手段と、
該フォーカスレンズの初期位置からの移動方向として無限遠端方向かまたは至近端方向かを決定するレンズ移動方向決定手段と、
該フォーカスレンズを所定決定方向に1ステップ分の移動を行うフォーカスレンズ移動手段と、
前記メインエリアおよび前記サブエリア全てのAF評価値を求めるAF評価値獲得手段とを有する請求項4に記載のカメラ装置。 Before the AF evaluation value selection means, as the control unit,
An initial position moving means for controlling the focus lens to move to an initial position;
A lens moving direction determining means for determining whether the focus lens is moving from the initial position to the infinity end direction or the close end direction;
Focus lens moving means for moving the focus lens by one step in a predetermined determination direction;
The camera apparatus according to claim 4, further comprising an AF evaluation value acquisition unit that calculates AF evaluation values for all of the main area and the sub area.
前記フォーカスレンズが合焦位置にあるかどうかを決定する合焦位置決定手段と、
該合焦位置決定手段で合焦していると判定された場合にレンズ駆動を停止する合焦レンズ移動停止手段と、
該合焦位置決定手段で合焦していないと判定された場合に、該フォーカスレンズのAF評価値の変動量の正負を決定して、該AF評価値の変動量が正の場合に移動方向を至近方向に設定し、該AF評価値の変動量が正よりも小さい場合に移動方向を無限遠方向と設定するレンズ移動方向設定手段とを有する請求項4に記載のカメラ装置。 As the control unit after the AF evaluation value selection means,
Focusing position determination means for determining whether or not the focus lens is in a focusing position;
A focusing lens movement stop means for stopping the lens drive when it is determined that the in-focus position determination means is in focus;
When the in-focus position determining means determines that the in-focus state is not in focus, the sign of the AF evaluation value variation amount of the focus lens is determined, and the movement direction when the AF evaluation value variation amount is positive The camera apparatus according to claim 4, further comprising: a lens movement direction setting unit that sets the movement direction to an infinite direction when the movement amount of the AF evaluation value is smaller than positive.
該光学像の合焦状態を検出するためのメインエリアと、該メインエリアの周辺に配置された一つ以上のサブエリアとが撮影画面上に配置され、
該制御ステップは、
該制御部が、前記メインエリアのAF評価値が所定閾値よりも小さいことを検出した場合に、該サブエリアのうちAF評価値が所定閾値を超え、最大となるサブエリアを合焦評価対象エリアとして選択して該フォーカスレンズの合焦位置探索を行うように制御するカメラ装置のCAF制御方法。 The imaging means converts the optical image formed on the imaging surface into image data, and the control unit detects the in-focus position by moving the focus lens to adjust the focus of the optical image. A CAF control method for a camera apparatus, comprising: a control step of continuously performing focus adjustment for stopping the focus lens at a detected in-focus position;
A main area for detecting the in-focus state of the optical image, and one or more sub-areas arranged around the main area are arranged on the photographing screen,
The control step includes:
When the control unit detects that the AF evaluation value of the main area is smaller than a predetermined threshold, the sub-area where the AF evaluation value exceeds the predetermined threshold and becomes the maximum among the sub areas is determined as the focus evaluation target area. CAF control method of a camera device that controls to perform a focus position search of the focus lens.
AF評価値選択手段が、前記メインエリアおよび前記サブエリア全てのAF評価値に対して各AF評価値が所定の閾値よりも大きいかどうかを決定し、該メインエリアのAF評価値が所定の閾値よりも大きいことを検出した場合に、該メインエリアの評価値をCAF合焦位置計算用にメモリ内に保存し、該メインエリアのAF評価値が所定の閾値よりも小さいことを検出した場合に、該サブエリアの評価値をCAF合焦位置計算用に該メモリ内に保存するAF評価値選択ステップを有する請求項11に記載のカメラ装置のCAF制御方法。 The control step includes
The AF evaluation value selection means determines whether each AF evaluation value is larger than a predetermined threshold with respect to the AF evaluation values of all the main area and the sub-area, and the AF evaluation value of the main area is a predetermined threshold Is detected in the memory for CAF focus position calculation, and it is detected that the AF evaluation value of the main area is smaller than a predetermined threshold. 12. The camera apparatus CAF control method according to claim 11, further comprising an AF evaluation value selection step of storing the evaluation value of the sub-area in the memory for CAF focus position calculation.
AF評価値判定手段が、前記メインエリアおよび前記サブエリア全てのAF評価値に対して各AF評価値が所定の閾値よりも大きいかどうかを決定するAF評価値判定ステップと、
該メインエリアのAF評価値が所定の閾値よりも大きいことを検出した場合に、メインエリア選択手段が、該メインエリアの評価値をCAF合焦位置計算用にメモリ内に保存するメインエリア選択ステップと、
該メインエリアのAF評価値が所定の閾値よりも小さいことを検出した場合に、サブエリア選択手段が、該サブエリアの評価値をCAF合焦位置計算用に該メモリ内に保存するサブエリア選択ステップとを有する請求項14に記載のカメラ装置のCAF制御方法。 The AF evaluation value selection step includes:
An AF evaluation value determining means for determining whether or not each AF evaluation value is larger than a predetermined threshold for the AF evaluation values of all of the main area and the sub-area;
Main area selection step in which the main area selection means stores the evaluation value of the main area in the memory for CAF focus position calculation when it is detected that the AF evaluation value of the main area is greater than a predetermined threshold value. When,
A sub-area selection in which, when it is detected that the AF evaluation value of the main area is smaller than a predetermined threshold, the sub-area selection means stores the evaluation value of the sub-area in the memory for CAF focus position calculation The CAF control method for a camera device according to claim 14, further comprising a step.
メインエリアAF評価値判定手段が、前記メインエリアのAF評価値が所定の閾値よりも大きいかどうかを決定するメインエリアAF評価値判定ステップと、
該メインエリアのAF評価値が所定の閾値よりも大きいことを検出した場合に、メインエリア選択手段が、該メインエリアの評価値をCAF合焦位置計算用にメモリ内に保存するメインエリア選択ステップと、
該メインエリアのAF評価値が所定の閾値よりも小さいことを検出した場合に、サブエリアAF評価値判定手段が、前記サブエリアのAF評価値が所定の閾値よりも大きいかどうかを決定するサブエリアAF評価値判定ステップと、
該サブエリアのAF評価値が所定の閾値よりも大きいことを検出した場合に、サブエリア選択手段が、該サブエリアの評価値をCAF合焦位置計算用にメモリ内に保存するサブエリア選択ステップと、
該サブエリアのAF評価値が所定の閾値よりも小さいことを検出した場合に、非合焦レンズ移動停止手段が、レンズ駆動を停止する非合焦レンズ移動停止ステップとを有する請求項14に記載のカメラ装置のCAF制御方法。 The AF evaluation value selection step includes:
A main area AF evaluation value determining means for determining whether an AF evaluation value of the main area is larger than a predetermined threshold;
Main area selection step in which the main area selection means stores the evaluation value of the main area in the memory for CAF focus position calculation when it is detected that the AF evaluation value of the main area is greater than a predetermined threshold value. When,
When it is detected that the AF evaluation value of the main area is smaller than a predetermined threshold, the sub-area AF evaluation value determination means determines whether the AF evaluation value of the sub-area is larger than a predetermined threshold. An area AF evaluation value determination step;
A sub-area selection step in which, when it is detected that the AF evaluation value of the sub-area is larger than a predetermined threshold, the sub-area selection unit stores the evaluation value of the sub-area in the memory for CAF focus position calculation When,
15. The non-focus lens movement stop unit includes a non-focus lens movement stop step of stopping lens driving when detecting that the AF evaluation value of the sub-area is smaller than a predetermined threshold value. CAF control method for the camera apparatus of the present invention.
初期位置移動手段が、前記フォーカスレンズを初期位置に移動させるように制御する初期位置移動ステップと、
レンズ移動方向決定手段が、該フォーカスレンズの初期位置からの移動方向として無限遠端方向かまたは至近端方向かを決定するレンズ移動方向決定ステップと、
フォーカスレンズ移動手段が、該フォーカスレンズを所定決定方向に1ステップ分の移動を行うフォーカスレンズ移動ステップと、
AF評価値獲得手段が、前記メインエリアおよび前記サブエリア全てのAF評価値を求めるAF評価値獲得ステップとを有する請求項14に記載のカメラ装置のCAF制御方法。 As the control step, before the AF evaluation value selection step,
An initial position moving means for controlling the initial position moving means to move the focus lens to the initial position;
A lens moving direction determining means, wherein the lens moving direction determining means determines whether the focus lens is moving from the initial position to the infinity end direction or the close end direction;
A focus lens moving means for moving the focus lens by one step in a predetermined direction;
15. The CAF control method for a camera device according to claim 14, wherein the AF evaluation value acquisition means includes an AF evaluation value acquisition step for obtaining AF evaluation values for all of the main area and the sub area.
合焦位置決定手段が、前記フォーカスレンズが合焦位置にあるかどうかを決定する合焦位置決定ステップと、
該合焦位置決定手段で合焦していると判定された場合に、合焦レンズ移動停止手段がレンズ駆動を停止する合焦レンズ移動停止ステップと、
該合焦位置決定手段で合焦していないと判定された場合に、レンズ移動方向設定手段が、該フォーカスレンズのAF評価値の変動量の正負を決定して、該AF評価値の変動量が正の場合に移動方向を至近方向に設定し、該AF評価値の変動量が正よりも小さい場合に移動方向を無限遠方向と設定するレンズ移動方向設定ステップとを有する請求項14に記載のカメラ装置のCAF制御方法。 After the AF evaluation value selection step, as the control step,
An in-focus position determining means for determining whether or not the focus lens is in the in-focus position; and
A focusing lens movement stopping step in which the focusing lens movement stopping unit stops driving the lens when it is determined that the in-focus position determining unit is in focus; and
When it is determined that the in-focus position determination means is not in focus, the lens movement direction setting means determines the amount of change in the AF evaluation value of the focus lens, and the amount of change in the AF evaluation value 15. The lens moving direction setting step of setting a moving direction to a close direction when A is positive, and setting a moving direction as an infinite direction when a fluctuation amount of the AF evaluation value is smaller than positive. CAF control method for the camera apparatus of the present invention.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010148335A JP2012013809A (en) | 2010-06-29 | 2010-06-29 | Camera device, caf control method thereof, control program, readable storage medium, and electronic information apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010148335A JP2012013809A (en) | 2010-06-29 | 2010-06-29 | Camera device, caf control method thereof, control program, readable storage medium, and electronic information apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2012013809A true JP2012013809A (en) | 2012-01-19 |
Family
ID=45600346
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010148335A Pending JP2012013809A (en) | 2010-06-29 | 2010-06-29 | Camera device, caf control method thereof, control program, readable storage medium, and electronic information apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2012013809A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101438904B1 (en) | 2012-09-13 | 2014-09-15 | 김민석 | tri skateboard |
WO2016098362A1 (en) * | 2014-12-19 | 2016-06-23 | オリンパス株式会社 | Imaging device and imaging method |
CN108055470A (en) * | 2018-01-22 | 2018-05-18 | 努比亚技术有限公司 | A kind of method of focusing, terminal and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0638089A (en) * | 1992-07-20 | 1994-02-10 | Konica Corp | Automatic focusing device |
JPH0646310A (en) * | 1992-07-21 | 1994-02-18 | Konica Corp | Automatic focusing device |
JP2003107328A (en) * | 2001-09-28 | 2003-04-09 | Nikon Corp | Camera |
JP2009069696A (en) * | 2007-09-14 | 2009-04-02 | Canon Inc | Imaging device and focusing control method |
-
2010
- 2010-06-29 JP JP2010148335A patent/JP2012013809A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0638089A (en) * | 1992-07-20 | 1994-02-10 | Konica Corp | Automatic focusing device |
JPH0646310A (en) * | 1992-07-21 | 1994-02-18 | Konica Corp | Automatic focusing device |
JP2003107328A (en) * | 2001-09-28 | 2003-04-09 | Nikon Corp | Camera |
JP2009069696A (en) * | 2007-09-14 | 2009-04-02 | Canon Inc | Imaging device and focusing control method |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101438904B1 (en) | 2012-09-13 | 2014-09-15 | 김민석 | tri skateboard |
WO2016098362A1 (en) * | 2014-12-19 | 2016-06-23 | オリンパス株式会社 | Imaging device and imaging method |
JP2016118634A (en) * | 2014-12-19 | 2016-06-30 | オリンパス株式会社 | Imaging device and imaging method |
CN107111103A (en) * | 2014-12-19 | 2017-08-29 | 奥林巴斯株式会社 | Camera and method for imaging |
EP3236302A4 (en) * | 2014-12-19 | 2018-08-22 | Olympus Corporation | Imaging device and imaging method |
US10148866B2 (en) | 2014-12-19 | 2018-12-04 | Olympus Corporation | Imaging device and imaging method |
CN107111103B (en) * | 2014-12-19 | 2019-09-13 | 奥林巴斯株式会社 | Camera and method for imaging |
CN108055470A (en) * | 2018-01-22 | 2018-05-18 | 努比亚技术有限公司 | A kind of method of focusing, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4761146B2 (en) | Imaging apparatus and program thereof | |
JP4288612B2 (en) | Image processing apparatus and method, and program | |
JP2007108412A (en) | Autofocus device and its program | |
JP2007178576A (en) | Imaging apparatus and program therefor | |
JP5051812B2 (en) | Imaging apparatus, focusing method thereof, and recording medium | |
JP2008054177A (en) | Imaging apparatus | |
JP2007133265A (en) | Imaging apparatus and imaging method | |
JP2007052061A (en) | Imaging device, focusing operation control method, and electronic information apparatus | |
KR20100039657A (en) | Automatic controlling device of a continuous auto focus and automatic controlling method of the same | |
JP2008211843A (en) | Imaging apparatus and imaging control program | |
JP6172973B2 (en) | Image processing device | |
JP2008129371A (en) | Imaging apparatus | |
JP2012013809A (en) | Camera device, caf control method thereof, control program, readable storage medium, and electronic information apparatus | |
JP5257969B2 (en) | Focus position control device, focus position control method, focus position control program | |
JP6435527B2 (en) | Imaging device | |
JP2008113466A (en) | Electronic camera | |
JP2007094023A (en) | Focus adjustment method of focus lens and imaging apparatus | |
JP2011154194A (en) | Imaging apparatus | |
JP2011002690A (en) | Imaging apparatus, focusing method and program | |
JP2009198887A (en) | Imaging apparatus and program for the same | |
CN106464783B (en) | Image pickup control apparatus, image pickup apparatus, and image pickup control method | |
JP2011242796A (en) | Imaging device, focusing method and program | |
JP2009194469A (en) | Imaging apparatus | |
JP2018098764A (en) | Imaging apparatus and image synthesis method | |
JP4326997B2 (en) | Imaging apparatus, focusing method, control program, and recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130401 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140206 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140212 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20140701 |