JP2011257758A - Method and apparatus for automatically adjusting focal point of camera - Google Patents

Method and apparatus for automatically adjusting focal point of camera Download PDF

Info

Publication number
JP2011257758A
JP2011257758A JP2011139928A JP2011139928A JP2011257758A JP 2011257758 A JP2011257758 A JP 2011257758A JP 2011139928 A JP2011139928 A JP 2011139928A JP 2011139928 A JP2011139928 A JP 2011139928A JP 2011257758 A JP2011257758 A JP 2011257758A
Authority
JP
Japan
Prior art keywords
evaluation value
focus adjustment
reliability
search
determined
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2011139928A
Other languages
Japanese (ja)
Other versions
JP5345657B2 (en
Inventor
Masahiko Sugimoto
雅彦 杉本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Corp
Original Assignee
Fujifilm Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2011139928A priority Critical patent/JP5345657B2/en
Publication of JP2011257758A publication Critical patent/JP2011257758A/en
Application granted granted Critical
Publication of JP5345657B2 publication Critical patent/JP5345657B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To solve such a problem that, when a contrast is low because a subject is too dark or too bright, an evaluation value does not form a clear crest and a lens position of a focus lens where the evaluation value reaches a peak cannot be precisely found.SOLUTION: When it is determined that reliability of automatic focal point adjustment is low, based on an evaluation value calculated in an AF search, the automatic focal point adjustment is not performed. After the setting of exposure conditions in imaging means is changed, the AF search is performed again, and the setting of the exposure conditions is repeatedly changed till the automatic focal point adjustment becomes highly reliable. The automatic focal point adjustment is performed based on the evaluation value when it is determined that the automatic focal point adjustment is highly reliable.

Description

本発明はカメラの自動焦点調節方法及び装置に係り、特に被写体のコントラストが最大になるようにフォーカスレンズのレンズ位置を自動的に調節(以下、「コントラストAF」という)するカメラの自動焦点調節方法及び装置に関する。   The present invention relates to an automatic focus adjustment method and apparatus for a camera, and in particular, an automatic focus adjustment method for a camera that automatically adjusts the lens position of a focus lens so as to maximize the contrast of a subject (hereinafter referred to as “contrast AF”). And an apparatus.

デジタルカメラなどで主流となっているコントラストAFは、撮影光学系のうち焦点調節に作用するフォーカスレンズを焦点調節範囲にわたって移動させながら撮像を行うとともに、その出力画像信号から高周波成分を抽出して合焦のための評価値を逐次算出し、この評価値が最大になるところ(コントラストが最大になるところ)にフォーカスレンズを移動させて合焦させるようにしている。   Contrast AF, which is mainly used in digital cameras, etc., captures images while moving a focus lens that affects focus adjustment in the photographic optical system over the focus adjustment range, and extracts high-frequency components from the output image signal. An evaluation value for focusing is sequentially calculated, and the focus lens is moved to a position where the evaluation value is maximized (where the contrast is maximized) to be focused.

しかしながら、コントラストAFは、例えば、被写体が暗いためにコントラストが少ない場合には、フォーカスレンズを焦点調節範囲にわたって移動させながら得られる合焦用の評価値は全体的に小さくなるという問題がある。   However, the contrast AF has a problem that, for example, when the contrast is small because the subject is dark, the evaluation value for focusing obtained by moving the focus lens over the focus adjustment range becomes small as a whole.

そこで、従来、画像信号から高周波成分を抽出するためのハイパスフィルタ(HPF)であって、それぞれカットオフ周波数が異なる複数のHPFを設け、絞り機構の絞り量が小さい場合(即ち、被写体が暗い場合)には、カットオフ周波数の低いHPFを選択し、これにより評価値を大きくするようにしたオートフォーカスビデオカメラが提案されている(特許文献1)。   Therefore, conventionally, a high-pass filter (HPF) for extracting a high-frequency component from an image signal, provided with a plurality of HPFs each having a different cutoff frequency, and when the aperture amount of the aperture mechanism is small (that is, when the subject is dark) ) Proposes an autofocus video camera in which an HPF having a low cut-off frequency is selected and thereby an evaluation value is increased (Patent Document 1).

特開平7−162731号公報JP 7-162731 A

コントラストAFでは、被写体が暗すぎたり、明るすぎるためにコントラストが少ない場合には、フォーカスレンズを焦点調節範囲にわたって移動させたときに得られる評価値は、はっきりした山の形にならず、評価値が最大になるフォーカスレンズのレンズ位置を正確に求めることができないという問題がある。   In contrast AF, when the subject is too dark or too bright and the contrast is low, the evaluation value obtained when the focus lens is moved over the focus adjustment range does not have a clear mountain shape. There is a problem that the lens position of the focus lens that maximizes the angle cannot be obtained accurately.

また、特許文献1に記載のように被写体が暗いときに、カットオフ周波数の低いHPFを選択し、これにより評価値を大きくする場合には、評価値が全体に大きくなるが、フォーカスレンズの移動位置の変化に対して評価値の変化が少なく、この場合も評価値が最大になるフォーカスレンズのレンズ位置を正確に求めることができないという問題がある。   Also, as described in Patent Document 1, when the subject is dark and an HPF having a low cut-off frequency is selected, and the evaluation value is increased by this, the evaluation value increases as a whole, but the focus lens moves. There is a problem that the evaluation value changes little with respect to the change in position, and in this case also, there is a problem in that the lens position of the focus lens that maximizes the evaluation value cannot be obtained accurately.

本発明はこのような事情に鑑みてなされたもので、被写体が暗すぎたり、明るすぎる場合にコントラストAFの信頼性を向上させることができ、ピンぼけ画像の発生率を低減することができるカメラの自動焦点調節方法及び装置を提供することを目的とする。   The present invention has been made in view of such circumstances, and can improve the reliability of contrast AF when a subject is too dark or too bright, and can reduce the occurrence rate of a defocused image. An object is to provide an automatic focusing method and apparatus.

前記目的を達成するために本発明の一の態様に係る自動焦点調節方法は、
(a) 撮影レンズを焦点調節範囲にわたって移動させ、該撮影レンズが所定量移動するごとに被写体を撮像する撮像手段から画像信号を取得する工程であって、予め設定されたフォーカス用の露出条件で撮像された画像信号を取得する工程と、
(b) 前記撮影レンズの各移動位置ごとに取得した画像信号に基づいて被写体のコントラスト成分に応じた評価値を算出する工程と、
(c) 前記算出した評価値に基づいて自動焦点調節の信頼性が高いか低いかを判別する工程と、
(d) 前記自動焦点調節の信頼性が低いと判別されると、前記露出条件の設定をプラス方向又はマイナス方向に変更させた後、前記工程(a) 及び(b) を繰り返し実行させる工程と、
(e) 前記自動焦点調節の信頼性が高いと判別されると、前記撮影レンズの移動位置と各移動位置ごとに算出した評価値とに基づいて当該評価値がピークとなる移動位置を求める工程と、
(f) 前記求めた移動位置に撮影レンズを移動させる工程と、
を含むことを特徴としている。
In order to achieve the above object, an automatic focusing method according to one aspect of the present invention includes:
(a) moving the photographic lens over the focus adjustment range, and obtaining an image signal from the imaging means for imaging the subject each time the photographic lens moves by a predetermined amount, under a preset focus exposure condition Obtaining a captured image signal;
(b) calculating an evaluation value according to a contrast component of a subject based on an image signal acquired for each movement position of the photographing lens;
(c) determining whether the reliability of automatic focus adjustment is high or low based on the calculated evaluation value;
(d) If it is determined that the reliability of the automatic focus adjustment is low, the steps (a) and (b) are repeatedly executed after changing the setting of the exposure condition in the plus direction or the minus direction; ,
(e) When it is determined that the reliability of the automatic focus adjustment is high, a step of obtaining a movement position where the evaluation value reaches a peak based on the movement position of the photographing lens and the evaluation value calculated for each movement position When,
(f) moving the taking lens to the determined moving position;
It is characterized by including.

即ち、前記工程(a) 及び(b) でのAFサーチ時に算出された評価値に基づいて自動焦点調節の信頼性が低いと判別された場合には、自動焦点調整は行わずに、撮像手段における露出条件の設定を変更した後、再度、AFサーチを行い、自動焦点調節の信頼性が高くなるまで露出条件の設定変更を繰り返す。そして、自動焦点調節の信頼性が高いと判別されたときの評価値に基づいて自動焦点調節を行うようにしている。   That is, when it is determined that the reliability of the automatic focus adjustment is low based on the evaluation value calculated at the time of the AF search in the steps (a) and (b), the imaging means is not performed without performing the automatic focus adjustment. After changing the exposure condition setting in, AF search is performed again, and the exposure condition setting change is repeated until the reliability of automatic focus adjustment becomes high. Then, the automatic focus adjustment is performed based on the evaluation value when it is determined that the reliability of the automatic focus adjustment is high.

ここで、自動焦点調節の信頼性が高いか低いかの判別は、例えば、撮影レンズの各移動位置ごとに算出された評価値のうちの最大値と最小値との差が、所定の閾値以上あるか否かによって行うことが考えられる。最大値と最小値との差が所定の閾値以上ある場合には、各評価値によって描かれる山がはっきりし、そのピーク位置を正確に求めることができるからである。   Here, the determination as to whether the reliability of the automatic focus adjustment is high or low is, for example, that the difference between the maximum value and the minimum value among the evaluation values calculated for each moving position of the photographing lens is equal to or greater than a predetermined threshold value. Depending on whether or not there is, it can be considered. This is because when the difference between the maximum value and the minimum value is greater than or equal to a predetermined threshold value, the mountain drawn by each evaluation value is clear and the peak position can be accurately obtained.

本発明の他の態様に係るカメラの自動焦点調節方法は、
(a) 撮影レンズを焦点調節範囲にわたって移動させ、該撮影レンズが所定量移動するごとに被写体を撮像する撮像手段から画像信号を取得する工程であって、予め設定された画素混合方式で画素混合された画像信号を取得する工程と、
(b) 前記撮影レンズの各移動位置ごとに取得した画像信号に基づいて被写体のコントラスト成分に応じた評価値を算出する工程と、
(c) 前記算出した評価値に基づいて自動焦点調節の信頼性が高いか低いかを判別する工程と、
(d) 前記自動焦点調節の信頼性が低いと判別されると、前記画素混合方式の設定を変更させた後、前記工程(a) 及び(b) を繰り返し実行させる工程と、
(e) 前記自動焦点調節の信頼性が高いと判別されると、前記撮影レンズの移動位置と各移動位置ごとに算出した評価値とに基づいて当該評価値がピークとなる移動位置を求める工程と、
(f) 前記求めた移動位置に撮影レンズを移動させる工程と、
を含むことを特徴としている。
An automatic focusing method for a camera according to another aspect of the present invention includes:
(a) A step of acquiring an image signal from an imaging means for imaging a subject every time the photographic lens is moved over a focus adjustment range and the photographic lens moves by a predetermined amount, and pixel mixing is performed by a preset pixel mixing method. Obtaining a processed image signal;
(b) calculating an evaluation value according to a contrast component of a subject based on an image signal acquired for each movement position of the photographing lens;
(c) determining whether the reliability of automatic focus adjustment is high or low based on the calculated evaluation value;
(d) If it is determined that the reliability of the automatic focus adjustment is low, after changing the setting of the pixel mixing method, repeatedly performing the steps (a) and (b);
(e) When it is determined that the reliability of the automatic focus adjustment is high, a step of obtaining a movement position where the evaluation value reaches a peak based on the movement position of the photographing lens and the evaluation value calculated for each movement position When,
(f) moving the taking lens to the determined moving position;
It is characterized by including.

自動焦点調節の信頼性が低いと判別された場合に、一の態様に係る発明が露出条件の設定を変更しているのに対し、他の態様に係る発明は、画素混合方式の設定を変更する点で、請求項1に係る発明と相違する。尚、画素混合方式としては、2画素混合、4画素混合などがあり、評価値が低い程、混合する画素数の多い画素混合方式を設定する。また、1画素の画像信号を取得する設定(実際には画素を混合しない場合)も、ここでは画素混合方式の設定の一態様とする。   When it is determined that the reliability of the automatic focus adjustment is low, the invention according to one aspect changes the setting of the exposure condition, whereas the invention according to another aspect changes the setting of the pixel mixing method. This is different from the invention according to claim 1. As the pixel mixing method, there are two-pixel mixing, four-pixel mixing, and the like. As the evaluation value is lower, a pixel mixing method with a larger number of pixels to be mixed is set. The setting for acquiring an image signal for one pixel (in the case where pixels are not actually mixed) is also an aspect of setting for the pixel mixing method here.

本発明の更に他の態様に係るカメラの自動焦点調節方法は、
(a) 撮影レンズを焦点調節範囲にわたって移動させ、該撮影レンズが所定量移動するごとに被写体を撮像する撮像手段から画像信号を取得する工程であって、予め設定されたフォーカス用の露出条件で撮像され、且つ予め設定された画素混合方式で画素混合された画像信号を取得する工程と、
(b) 前記撮影レンズの各移動位置ごとに取得した画像信号に基づいて被写体のコントラスト成分に応じた評価値を算出する工程と、
(c) 前記算出した評価値に基づいて自動焦点調節の信頼性が高いか低いかを判別する工程と、
(d) 前記自動焦点調節の信頼性が低いと判別されると、前記露出条件の設定をプラス方向又はマイナス方向に変更させ又は画素混合方式の設定を変更させた後、前記工程(a) 及び(b) を繰り返し実行させる工程と、
(e) 前記自動焦点調節の信頼性が高いと判別されると、前記撮影レンズの移動位置と各移動位置ごとに算出した評価値とに基づいて当該評価値がピークとなる移動位置を求める工程と、
(f) 前記求めた移動位置に撮影レンズを移動させる工程と、
を含むことを特徴としている。
A camera automatic focusing method according to still another aspect of the present invention includes:
(a) moving the photographic lens over the focus adjustment range, and obtaining an image signal from the imaging means for imaging the subject each time the photographic lens moves by a predetermined amount, under a preset focus exposure condition Acquiring an image signal that is imaged and pixel-mixed in a preset pixel-mixing method;
(b) calculating an evaluation value according to a contrast component of a subject based on an image signal acquired for each movement position of the photographing lens;
(c) determining whether the reliability of automatic focus adjustment is high or low based on the calculated evaluation value;
(d) If it is determined that the reliability of the automatic focus adjustment is low, after changing the setting of the exposure condition in the plus direction or the minus direction or changing the setting of the pixel mixing method, the steps (a) and a step of repeatedly executing (b);
(e) When it is determined that the reliability of the automatic focus adjustment is high, a step of obtaining a movement position where the evaluation value reaches a peak based on the movement position of the photographing lens and the evaluation value calculated for each movement position When,
(f) moving the taking lens to the determined moving position;
It is characterized by including.

即ち、上記態様に係る発明は、自動焦点調節の信頼性が低いと判別された場合には、露出条件の設定、又は画素混合方式の設定を変更させた後、再度AFサーチを行い、自動焦点調節の信頼性が高いと判別されたときの評価値に基づいて自動焦点調節を行うようにしている。   That is, in the invention according to the above aspect, when it is determined that the reliability of the automatic focus adjustment is low, after changing the setting of the exposure condition or the pixel mixing method, the AF search is performed again, and the automatic focus adjustment is performed. Automatic focus adjustment is performed based on the evaluation value when it is determined that the adjustment reliability is high.

本発明の更に他の態様に係るカメラの自動焦点調節方法において、前記工程(d) は、最初に前記露出条件の設定を変更し、該露出条件の設定の変更が上限又は下限に達すると、その後、前記画素混合方式の設定を変更することを特徴としている。   In the camera automatic focusing method according to still another aspect of the present invention, the step (d) first changes the setting of the exposure condition, and when the change of the setting of the exposure condition reaches an upper limit or a lower limit, Thereafter, the setting of the pixel mixing method is changed.

本発明の更に他の態様に係るカメラの自動焦点調節方法において、前記工程(d) は、最初に前記画素混合方式の設定を変更し、該画素混合方式の設定の変更が上限又は下限に達すると、その後、前記露出条件の設定を変更することを特徴としている。   In the camera automatic focusing method according to still another aspect of the present invention, the step (d) first changes the setting of the pixel mixing method, and the change of the setting of the pixel mixing method reaches an upper limit or a lower limit. Then, the setting of the exposure condition is changed thereafter.

上記前者の態様に係る発明では、自動焦点調節の信頼性が低いと判別された場合には、最初に露出条件の設定を変更し、露出条件の設定の変更のみでは自動焦点調節の信頼性が高くならない場合には、続いて画素混合方式の設定を変更させてAFサーチを行うようにしている。逆に、後者の態様に係る発明では、自動焦点調節の信頼性が低いと判別された場合には、最初に画素混合方式の設定を変更し、画素混合方式の設定の変更のみでは自動焦点調節の信頼性が高くならない場合には、続いて露出条件の設定を変更させてAFサーチを行うようにしている。   In the invention according to the former aspect, when it is determined that the reliability of the automatic focus adjustment is low, the exposure condition setting is changed first, and the change of the exposure condition setting alone makes the automatic focus adjustment reliable. If it does not increase, the AF search is performed by changing the setting of the pixel mixing method. On the other hand, in the invention according to the latter aspect, when it is determined that the reliability of the automatic focus adjustment is low, the setting of the pixel mixing method is changed first, and the automatic focus adjustment is performed only by changing the setting of the pixel mixing method. If the reliability of the camera does not become high, the AF search is performed by changing the exposure condition setting.

本発明の更に他の態様に係る発明は、撮影レンズを焦点調節範囲にわたって移動させ、該撮影レンズが所定量移動するごとに撮像手段から出力される画像信号に基づいて被写体のコントラスト成分に応じた評価値を算出し、前記撮影レンズの移動位置と各移動位置ごとに算出した前記評価値とに基づいて評価値がピークとなる移動位置を求め、この求めた移動位置に撮影レンズを移動させるカメラの自動焦点調節装置において、前記撮影レンズの各移動位置ごとに算出した評価値に基づいて自動焦点調節の信頼性が高いか低いかを判別する判別手段と、前記判別手段によって自動焦点調節の信頼性が低いと判別されると、前記撮像手段から画像信号を取得する際のフォーカス用の露出条件の設定を、予め設定されたフォーカス用の露出条件からプラス方向又はマイナス方向に変更させ、及び/又は画素混合方式の設定を、予め設定された画素混合方式から変更させ、前記判別手段によって自動焦点調節の信頼性が高いと判別されると、現在の露出条件及び画素混合方式を維持する手段と、を備えたことを特徴としている。   The invention according to yet another aspect of the present invention moves the photographic lens over the focus adjustment range, and responds to the contrast component of the subject based on the image signal output from the imaging means each time the photographic lens moves by a predetermined amount. A camera that calculates an evaluation value, obtains a movement position at which the evaluation value reaches a peak based on the movement position of the photographing lens and the evaluation value calculated for each movement position, and moves the photographing lens to the obtained movement position In the automatic focus adjustment apparatus, a determination means for determining whether the reliability of the automatic focus adjustment is high or low based on an evaluation value calculated for each moving position of the photographing lens, and the reliability of the automatic focus adjustment by the determination means If it is determined that the focus exposure condition is low, the focus exposure condition setting when acquiring the image signal from the imaging means is set to the focus exposure condition set in advance. When it is determined that the reliability of the automatic focus adjustment is high by the determination unit by changing to a positive direction or a negative direction and / or changing the setting of the pixel mixing method from a preset pixel mixing method, And a means for maintaining the exposure condition and the pixel mixture method.

本発明によれば、AFサーチによりコントラストAFの信頼性が低いと判別された場合には、撮像手段における露出条件の設定を変更したり、又は画素混合方式の設定を変更した後、再度、AFサーチを行うようにしたため、被写体が暗すぎたり、明るすぎる場合であっても良好な評価値を得ることができる。これにより、コントラストAFの信頼性を向上させることができ、ピンぼけ画像の発生率を低減することができる。   According to the present invention, when it is determined that the reliability of the contrast AF is low by the AF search, after changing the setting of the exposure condition in the imaging unit or the setting of the pixel mixing method, the AF is performed again. Since the search is performed, a good evaluation value can be obtained even when the subject is too dark or too bright. Thereby, the reliability of contrast AF can be improved, and the occurrence rate of a defocused image can be reduced.

図1は本発明に係るカメラの自動焦点調節方法が適用されたデジタルカメラの実施の形態を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of a digital camera to which a camera automatic focus adjustment method according to the present invention is applied. 図2は本発明に係るカメラの自動焦点調節方法の第1の実施の形態を示すフローチャートである。FIG. 2 is a flowchart showing a first embodiment of the automatic focusing method for a camera according to the present invention. 図3はAFサーチを説明するために用いた図である。FIG. 3 is a diagram used for explaining the AF search. 図4はAFサーチ時に取り込んだAF評価値を示すグラフである。FIG. 4 is a graph showing AF evaluation values captured during AF search. 図5は図2中のAFサーチの他の例を示すフローチャートである。FIG. 5 is a flowchart showing another example of the AF search in FIG. 図6は本発明に係るカメラの自動焦点調節方法の第2の実施の形態を示すフローチャートである。FIG. 6 is a flowchart showing the second embodiment of the automatic focusing method for a camera according to the present invention. 図7は図6中のAFサーチを示すフローチャートである。FIG. 7 is a flowchart showing the AF search in FIG. 図8は本発明に係るカメラの自動焦点調節方法の第3の実施の形態を示すフローチャートである。FIG. 8 is a flowchart showing a third embodiment of the automatic focusing method for a camera according to the present invention. 図9は画素混合方式を説明するために用いた図である。FIG. 9 is a diagram used for explaining the pixel mixing method. 図10は本発明に係るカメラの自動焦点調節方法の第4の実施の形態を示すフローチャートである。FIG. 10 is a flowchart showing a fourth embodiment of the automatic focusing method for a camera according to the present invention. 図11は本発明に係るカメラの自動焦点調節方法の第5の実施の形態を示すフローチャートである。FIG. 11 is a flowchart showing a fifth embodiment of the automatic focusing method for a camera according to the present invention. 図12は本発明に係るカメラの自動焦点調節方法の第6の実施の形態を示すフローチャートである。FIG. 12 is a flowchart showing a sixth embodiment of the automatic focusing method for a camera according to the present invention. 図13は本発明に係るカメラの自動焦点調節方法の第7の実施の形態を示すフローチャートである。FIG. 13 is a flowchart showing a seventh embodiment of the camera automatic focusing method according to the present invention. 図14は本発明に係るカメラの自動焦点調節方法の第8の実施の形態を示すフローチャートである。FIG. 14 is a flowchart showing an eighth embodiment of the automatic focusing method for a camera according to the present invention.

以下添付図面に従って本発明に係るカメラの自動焦点調節方法及び装置の好ましい実施の形態について詳説する。   DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of a camera automatic focusing method and apparatus according to the present invention will be described in detail below with reference to the accompanying drawings.

図1は本発明に係るカメラの自動焦点調節方法が適用されたデジタルカメラの実施の形態を示すブロック図である。   FIG. 1 is a block diagram showing an embodiment of a digital camera to which a camera automatic focus adjustment method according to the present invention is applied.

このデジタルカメラ10は、撮像した画像をメモリカード54に記録するもので、カメラ全体の動作は、中央処理装置(CPU)40によって統括制御される。   The digital camera 10 records captured images on a memory card 54, and the operation of the entire camera is centrally controlled by a central processing unit (CPU) 40.

デジタルカメラ10には、シャッタボタンや、撮影モード、再生モード等を設定するモードダイヤルを含む操作部38が設けられており、この操作部38での操作に応じた信号はCPU40に入力する。   The digital camera 10 is provided with an operation unit 38 including a shutter button and a mode dial for setting a shooting mode, a reproduction mode, and the like, and a signal corresponding to an operation on the operation unit 38 is input to the CPU 40.

被写体を示す画像光は、撮影レンズ12、絞り14を介してCCDイメージセンサ、CMOSイメージセンサ等の撮像素子16の受光面に結像される。撮影レンズ12は、CPU40によって制御されるレンズ駆動部36によって駆動され、フォーカス制御等が行われる。絞り14は、例えば、5枚の絞り羽根からなり、CPU40によって制御される絞り駆動部34によって駆動され、例えば、絞り値F2.8 〜F11まで1AV 刻みで5段階に絞り制御される。 Image light indicating a subject is imaged on a light receiving surface of an image sensor 16 such as a CCD image sensor or a CMOS image sensor through a photographing lens 12 and a diaphragm 14. The photographing lens 12 is driven by a lens driving unit 36 controlled by the CPU 40, and focus control and the like are performed. Diaphragm 14 is made of, for example, five diaphragm blades, driven by a diaphragm driver 34, which is controlled by the CPU 40, for example, is controlled diaphragm 5 stage 1A V increments until the aperture value F2.8 ~F11.

また、CPU40は、絞り駆動部34を介して絞り14を制御するとともに、撮像素子制御部32を介して撮像素子16での電荷蓄積時間(シャッタスピード)や、後述する画素混合の制御等を行う。   Further, the CPU 40 controls the diaphragm 14 via the diaphragm driving unit 34, and controls the charge accumulation time (shutter speed) in the image sensor 16, pixel mixing described later, and the like via the image sensor control unit 32. .

撮像素子16に蓄積された信号電荷は、撮像素子制御部32から加えられる読み出し信号に基づいて信号電荷に応じた電圧信号として読み出される。撮像素子16から読み出された電圧信号は、アナログ信号処理部18に加えられ、ここで各画素ごとのR、G、B信号がサンプリングホールドされ、増幅されたのちA/D変換器20に加えられる。A/D変換器20は、順次入力するR、G、B信号をデジタルのR、G、B信号に変換して画像入力コントローラ22に出力する。   The signal charge accumulated in the image sensor 16 is read out as a voltage signal corresponding to the signal charge based on a read signal applied from the image sensor control unit 32. The voltage signal read from the image sensor 16 is applied to the analog signal processing unit 18 where the R, G, and B signals for each pixel are sampled and held and then added to the A / D converter 20. It is done. The A / D converter 20 converts R, G, and B signals that are sequentially input into digital R, G, and B signals and outputs them to the image input controller 22.

デジタル信号処理部24は、画像入力コントローラ22を介して入力するデジタルの画像信号に対して、オフセット処理、ホワイトバランス補正及び感度補正を含むゲイン・コントロール処理、ガンマ補正処理、YC処理等の所定の信号処理を行う。   The digital signal processing unit 24 performs predetermined processing such as offset control, gain control processing including white balance correction and sensitivity correction, gamma correction processing, YC processing, etc., on the digital image signal input via the image input controller 22. Perform signal processing.

デジタル信号処理部24で処理された画像データは、VRAM50に入力する。VRAM50には、それぞれが1駒分の画像を表す画像データを記憶するA領域とB領域とが含まれている。VRAM50において1駒分の画像を表す画像データがA領域とB領域とで交互に書き換えられる。VRAM50のA領域及びB領域のうち、画像データが書き換えられている方の領域以外の領域から、書き込まれている画像データが読み出される。VRAM50から読み出された画像データはビデオ・エンコーダ28においてエンコーディングされ、カメラ背面に設けられている液晶モニタ30に出力され、これにより被写体像が液晶モニタ30の表示画面上に表示される。   The image data processed by the digital signal processing unit 24 is input to the VRAM 50. The VRAM 50 includes an A area and a B area each storing image data representing an image for one frame. In the VRAM 50, image data representing an image for one frame is rewritten alternately in the A area and the B area. Of the A area and B area of the VRAM 50, the written image data is read from an area other than the area where the image data is rewritten. The image data read from the VRAM 50 is encoded by the video encoder 28 and output to the liquid crystal monitor 30 provided on the back of the camera, whereby the subject image is displayed on the display screen of the liquid crystal monitor 30.

また、操作部38のシャッタボタンの第1段階の押下(半押し)があると、AE動作及びAF動作が開始する。即ち、A/D変換器20から出力される画像データがAF検出部42並びにAE検出部44に取り込まれる。AF検出部42では、画像データ(例えば、撮像素子16の中央領域(フォーカス領域)のG信号)を使用し、1次元水平方向に連続するG信号からハイパスフィルタ(HPF)を介して高周波成分を抽出し、この高周波成分を積算した値(AF評価値)をCPU40に出力する。AE検出部44では、画面全体のG信号を積算し、又は画面中央部と周辺部とで異なる重みづけをしたG信号を積算し、その積算値をCPU40に出力する。   Further, when the shutter button of the operation unit 38 is first pressed (half-pressed), the AE operation and the AF operation are started. That is, the image data output from the A / D converter 20 is taken into the AF detection unit 42 and the AE detection unit 44. The AF detection unit 42 uses image data (for example, a G signal in the center region (focus region) of the image sensor 16), and uses a high-pass filter (HPF) to generate a high-frequency component from a G signal continuous in a one-dimensional horizontal direction. A value (AF evaluation value) obtained by extracting and integrating the high frequency components is output to the CPU 40. The AE detection unit 44 integrates the G signals of the entire screen, or integrates the G signals with different weights in the central and peripheral portions of the screen, and outputs the integrated value to the CPU 40.

CPU40は、AF検出部42から入力するAF評価値に基づいてそのAF評価値が最大になるレンズ位置にレンズ駆動部36を介して撮影レンズ12を移動させるとともに、AE検出部44から入力する積算値より被写体の明るさ(撮影Ev値)を算出し、この撮影Ev値に基づいて絞り14の絞り値及び撮像素子16の電子シャッタ(シャッタスピード)を所定のプログラム線図にしたがって決定し、その決定した絞り値に基づいて絞り駆動部34を介して絞り14を制御するとともに、決定したシャッタスピードに基づいて撮像素子制御部32を介して撮像素子16での電荷蓄積時間を制御する。   Based on the AF evaluation value input from the AF detection unit 42, the CPU 40 moves the taking lens 12 to the lens position where the AF evaluation value is maximized via the lens driving unit 36, and the integration input from the AE detection unit 44. The brightness of the subject (shooting Ev value) is calculated from the value, and the aperture value of the aperture 14 and the electronic shutter (shutter speed) of the image sensor 16 are determined based on the shooting Ev value according to a predetermined program diagram. The aperture 14 is controlled via the aperture drive unit 34 based on the determined aperture value, and the charge accumulation time in the image sensor 16 is controlled via the image sensor control unit 32 based on the determined shutter speed.

AE動作及びAF動作が終了し、シャッタボタンの第2段階の押下(全押し)があると、その押下に応答してA/D変換器20から出力される1駒分の画像データが画像入力コントローラ22からメモリ(SDRAM) 48に入力し、一時的に記憶される。   When the AE operation and the AF operation are completed and the shutter button is pressed in the second stage (full press), the image data for one frame output from the A / D converter 20 in response to the press is input to the image. The data is input to the memory (SDRAM) 48 from the controller 22 and temporarily stored.

画像データは、メモリ48から読み出され、デジタル信号処理部24において輝度データ及び色差データの生成処理(YC処理)を含む所定の信号処理が行われる。YC処理された画像データ(YCデータ)は、デジタル信号処理部24から読み出され、再びメモリ48に記憶される。続いて、YCデータは圧縮伸長処理部26に出力され、JPEG (joint photgraphic experts group)などの所定の圧縮処理が実行される。圧縮されたYCデータは、再びメモリ48に出力されて記憶されたのち、メディア・コントローラ52によって読み出され、メモリカード54に記録される。   The image data is read from the memory 48, and predetermined signal processing including luminance data and color difference data generation processing (YC processing) is performed in the digital signal processing unit 24. The YC-processed image data (YC data) is read from the digital signal processing unit 24 and stored in the memory 48 again. Subsequently, the YC data is output to the compression / decompression processing unit 26, and a predetermined compression process such as JPEG (joint photographic experts group) is executed. The compressed YC data is output and stored again in the memory 48, and then read out by the media controller 52 and recorded in the memory card 54.

次に、上記構成のデジタルカメラ10の自動焦点調節方法について説明する。   Next, an automatic focus adjustment method of the digital camera 10 having the above configuration will be described.

[第1の実施の形態]
図2は本発明に係るカメラの自動焦点調節方法の第1の実施の形態を示すフローチャートである。
[First Embodiment]
FIG. 2 is a flowchart showing a first embodiment of the automatic focusing method for a camera according to the present invention.

図2において、操作部38のシャッタボタンの半押しがあると、まず、CPU40は、フォーカス用のAE制御を行う(ステップS10)。即ち、AE検出部44から入力する積算値よりEv値を算出し、このEv値に基づいて絞り14及び撮像素子16での電荷蓄積時間(フォーカス露出)を制御する。尚、フォーカス用のAE制御では、より多くの高周波信号を得るために、一般的にはフォーカス露出は撮影露出よりもオーバー露光制御されている場合が多い。   In FIG. 2, when the shutter button of the operation unit 38 is half-pressed, the CPU 40 first performs AE control for focus (step S10). That is, the Ev value is calculated from the integrated value input from the AE detection unit 44, and the charge accumulation time (focus exposure) in the diaphragm 14 and the image sensor 16 is controlled based on this Ev value. In the focus AE control, in order to obtain more high-frequency signals, in general, the focus exposure is often over-exposure controlled than the photographic exposure.

続いて、CPU40はAFサーチを行う(ステップS12)。   Subsequently, the CPU 40 performs an AF search (step S12).

図3に示すようにAFサーチは、至近から無限遠までの焦点調節範囲にわたって撮影レンズ12を移動させ、撮影レンズ12が所定量移動するごとに算出されるAF評価値をAF検出部42から取り込む。   As shown in FIG. 3, in the AF search, the photographing lens 12 is moved over the focus adjustment range from the close range to infinity, and an AF evaluation value calculated every time the photographing lens 12 moves by a predetermined amount is taken from the AF detection unit 42. .

次に、上記のようにして取り込んだAF評価値に基づいてAFの信頼性が高いか低いかを判別する(ステップS14)。この判別は、例えば、取り込んだAF評価値のうちの最大値top と最小値min との差を求め、この差(top-min) が所定の閾値th未満の場合には、AFの信頼性が低いと判別する。   Next, it is determined whether the AF reliability is high or low based on the AF evaluation value captured as described above (step S14). For this determination, for example, the difference between the maximum value top and the minimum value min of the captured AF evaluation values is obtained, and if this difference (top-min) is less than a predetermined threshold th, the reliability of AF is Determined to be low.

図4はAFサーチ時に取り込んだAF評価値を示すグラフである。いま、図4(A)に示すように、AF評価値の最大値top と最小値min との差が大きい場合には、AF評価値の山をきれいに描くことができ、このAF評価値が最大になるレンズ位置(即ち、自動焦点位置)の決定を正確に行うことができる。従って、この場合には、AFの信頼性は高いと言ってよい。   FIG. 4 is a graph showing AF evaluation values captured during AF search. As shown in FIG. 4A, when the difference between the maximum value top and the minimum value min of the AF evaluation value is large, a peak of the AF evaluation value can be clearly drawn, and this AF evaluation value is the maximum. It is possible to accurately determine the lens position (that is, the auto focus position). Therefore, in this case, it can be said that the reliability of AF is high.

これに対し、図4(B)に示すAF評価値の場合は、AF評価値が全体的に小さく、AFによって焦点位置を決定するのは難しい状態にある。このようなAF評価値の特性は、被写体が暗い場合によく見受けられる。   On the other hand, in the case of the AF evaluation value shown in FIG. 4B, the AF evaluation value is generally small, and it is difficult to determine the focal position by AF. Such AF evaluation value characteristics are often seen when the subject is dark.

また、図4(C)に示すAF評価値の場合は、AF評価値が全体的に大きく、AF評価値が頭打ち状態になり、やはりAFによって焦点位置を決定するのは難しい状態にある。このようなAF評価値の特性は、被写体が明るい場合によく見受けられる。   Further, in the case of the AF evaluation value shown in FIG. 4C, the AF evaluation value is large overall, the AF evaluation value reaches a peak state, and it is still difficult to determine the focal position by AF. Such AF evaluation value characteristics are often seen when the subject is bright.

図2に戻って、ステップS14において、AFの信頼性が高いと判別されると、ステップS16に進み、ここで自動焦点位置を決定する。この自動焦点位置は、図3に示したようにAFサーチで取得したAF評価値に基づいてそのAF評価値が最大となる撮影レンズ12のレンズ位置を算出することによって決定する。そして、この決定した自動焦点位置に撮影レンズを移動(合焦動作)させることにより自動焦点調節を行う。   Returning to FIG. 2, if it is determined in step S14 that the AF reliability is high, the process proceeds to step S16, where the autofocus position is determined. This automatic focus position is determined by calculating the lens position of the taking lens 12 that maximizes the AF evaluation value based on the AF evaluation value acquired by the AF search as shown in FIG. Then, automatic focus adjustment is performed by moving the photographing lens to the determined automatic focus position (focusing operation).

一方、ステップS14において、AFの信頼性が低いと判別されると、AF評価値の最大値top が、所定の下限値th-min未満か否かを判別する(ステップS18)。そして、AF評価値の最大値top が下限値th-min未満と判別されると、続いて、現在のフォーカス露出が上限(最も暗いときのフォーカス露出)か否かを判別する(ステップS20)。   On the other hand, if it is determined in step S14 that the AF reliability is low, it is determined whether or not the maximum AF value of the AF evaluation value is less than a predetermined lower limit value th-min (step S18). If it is determined that the maximum AF evaluation value top is less than the lower limit value th-min, it is then determined whether or not the current focus exposure is the upper limit (focus exposure at the darkest) (step S20).

現在のフォーカス露出が上限でない場合には、現在のフォーカス露出をプラス方向に露出補正(例えば、+1EVだけオーバー露光補正)し(ステップS22)、ステップS12に戻る。   If the current focus exposure is not the upper limit, the current focus exposure is corrected in the positive direction (for example, overexposure correction by +1 EV) (step S22), and the process returns to step S12.

一方、ステップS20において、現在のフォーカス露出が上限であると判別された場合には、ステップS24に進み、ここで、撮影レンズ12を予め設定したレンズ位置(コントラストAFが不能のときの固定焦点位置)に移動させる。   On the other hand, if it is determined in step S20 that the current focus exposure is the upper limit, the process proceeds to step S24, where the photographing lens 12 is set to a preset lens position (fixed focal position when contrast AF is impossible). ).

また、前記ステップS18において、AF評価値の最大値top が下限値th-minよりも大
きいと判別されると、続いて、AF評価値の最大値top が、所定の上限値th-maxよりも大きいか否かを判別する(ステップS26)。そして、AF評価値の最大値top が上限値th-maxよりも大きいと判別されると、続いて、現在のフォーカス露出が下限(最も明るいときのフォーカス露出)か否かを判別する(ステップS28)。
If it is determined in step S18 that the maximum value top of the AF evaluation value is greater than the lower limit value th-min, then the maximum value top of the AF evaluation value is greater than the predetermined upper limit value th-max. It is determined whether or not it is larger (step S26). If it is determined that the maximum AF value of the AF evaluation value is larger than the upper limit value th-max, it is subsequently determined whether or not the current focus exposure is the lower limit (focus exposure at the brightest) (step S28). ).

現在のフォーカス露出が下限でない場合には、現在のフォーカス露出をマイナス方向に露出補正(例えば、−1EVだけアンダー露光補正)し(ステップS30)、ステップS12に戻る。   If the current focus exposure is not the lower limit, the current focus exposure is subjected to exposure correction in the negative direction (for example, under exposure correction by -1 EV) (step S30), and the process returns to step S12.

一方、ステップS28において、現在のフォーカス露出が下限であると判別された場合には、ステップS24に進み、ここで、撮影レンズ12を予め設定したレンズ位置に移動させる。   On the other hand, if it is determined in step S28 that the current focus exposure is the lower limit, the process proceeds to step S24, where the photographing lens 12 is moved to a preset lens position.

上記のようにAFの信頼性が低いと判別されると、フォーカス露出(AFサーチ時の露出条件)を変更し、再度AFサーチを行うようにしたため、被写体が暗すぎたり、明るすぎる場合であっても良好な評価値を得ることができ、コントラストAFの信頼性を向上させることができる。   If it is determined that the AF reliability is low as described above, the focus exposure (exposure conditions during AF search) is changed and the AF search is performed again, so the subject is too dark or too bright. However, a good evaluation value can be obtained, and the reliability of contrast AF can be improved.

また、図2のステップS12のAFサーチは、図3に示したように常に同じAFサーチ(サーチ範囲、サーチステップが共に同じAFサーチ)を行うサーチ方法に限らず、図5に示すようにラフサーチと詳細サーチとを組み合わせたサーチ方法を適用することも可能である。   Further, the AF search in step S12 in FIG. 2 is not limited to a search method that always performs the same AF search (AF search having the same search range and search step) as shown in FIG. 3, but a rough search as shown in FIG. It is also possible to apply a search method that combines an advanced search and a detailed search.

即ち、図5において、AFサーチ時にはサーチカウンタが0か否かを判別し(ステップS40)、サーチカウンタが0の場合には、ラフサーチを実行する(ステップS42)。尚、サーチカウンタは、AFサーチの開始前に0が初期値として与えられているものとする。   That is, in FIG. 5, it is determined whether or not the search counter is 0 during AF search (step S40). If the search counter is 0, rough search is executed (step S42). It is assumed that the search counter is given 0 as an initial value before the start of AF search.

ラフサーチでは、至近から無限遠までの焦点調節範囲にわたって移動させる撮影レンズ12のサーチステップを粗くし、各サーチステップごとにAF評価値を取得する。   In the rough search, the search step of the photographing lens 12 to be moved over the focus adjustment range from the closest to infinity is roughened, and an AF evaluation value is acquired for each search step.

ラフサーチが終了すると、サーチカウンタを1だけインクリメントし(ステップS44)、ステップS40に戻る。   When the rough search ends, the search counter is incremented by 1 (step S44), and the process returns to step S40.

ラフサーチ後にサーチカウンタが1になると、ステップS40からステップS46に進む。ステップS46では、ステップS42でのラフサーチの結果から詳細サーチのサーチ範囲を決定する。即ち、ラフサーチで取得したAF評価値のうちの最大値が得られたレンズ位置を中心にした所定の範囲を詳細サーチのサーチ範囲として決定する。   When the search counter becomes 1 after the rough search, the process proceeds from step S40 to step S46. In step S46, the search range of the detailed search is determined from the result of the rough search in step S42. That is, a predetermined range centering on the lens position where the maximum value of the AF evaluation values obtained by the rough search is obtained is determined as the search range of the detailed search.

続いて、前記決定したサーチ範囲を詳細サーチする。即ち、詳細サーチでは、ラフサーチよりもサーチステップを細かくして前記決定したサーチ範囲をサーチし、各サーチステップごとにAF評価値を取得する。   Subsequently, a detailed search is performed on the determined search range. That is, in the detailed search, the determined search range is searched with finer search steps than in the rough search, and an AF evaluation value is acquired for each search step.

上記のようにしてラフサーチを詳細サーチとを組み合わせることにより、AFサーチの時間の短縮化を図ることができる。また、ラフサーチの結果からAFの信頼性を判別し、信頼性が高いときのみ詳細サーチを行うようにしてもよい。   By combining the rough search and the detailed search as described above, it is possible to shorten the time of the AF search. Further, the reliability of AF may be determined from the result of rough search, and the detailed search may be performed only when the reliability is high.

[第2の実施の形態]
図6は本発明に係るカメラの自動焦点調節方法の第2の実施の形態を示すフローチャートである。尚、図6において、図2に示した第1の実施の形態と共通する部分には同一の符号を付し、その詳細な説明を省略する。
[Second Embodiment]
FIG. 6 is a flowchart showing the second embodiment of the automatic focusing method for a camera according to the present invention. In FIG. 6, the same reference numerals are given to the portions common to the first embodiment shown in FIG. 2, and detailed description thereof will be omitted.

図6に示す第2の実施の形態は、図2に示した第1の実施の形態とは主としてAFサーチの内容が異なる。   The second embodiment shown in FIG. 6 is different from the first embodiment shown in FIG. 2 mainly in the contents of the AF search.

即ち、図2に示した第1の実施の形態では、ステップS12のAFサーチは、詳細サーチのみ(ラフサーチなし)、又は図5に示したようにラフサーチを行ってから詳細サーチを行うようにしているが、図6に示すステップS12′のAFサーチは、図7に示すように1回のステップS12′内では、ラフサーチ、又はラフサーチ結果により限定されたサーチ範囲内の詳細サーチのいずれかのサーチのみを行う。そして、いずれかのサーチが終了すると、サーチカウンタを1だけインクリメントする(ステップS44′)。尚、図7に示すAFサーチにおいて、図5に示したAFサーチの処理と共通する部分には同一の符号を付し、その詳細な説明は省略する。   That is, in the first embodiment shown in FIG. 2, the AF search in step S12 is performed only for the detailed search (without the rough search), or the detailed search is performed after the rough search as shown in FIG. However, as shown in FIG. 7, the AF search in step S12 ′ shown in FIG. 6 is either a rough search or a detailed search within the search range limited by the rough search result in one step S12 ′. Only do. When any search is completed, the search counter is incremented by 1 (step S44 '). In the AF search shown in FIG. 7, the same reference numerals are given to the portions common to the AF search processing shown in FIG. 5, and the detailed description thereof is omitted.

図6において、ステップS14では、ステップS12′でAFサーチで取り込んだAF評価値に基づいてAFの信頼性が高いか低いかを判別するが、最初の1回のみラフサーチで取り込んだAF評価値に基づいてAFの信頼性が高いか低いかを判別する。AFの信頼性が低いためにフォーカス露出を補正し、その後、ステップS12′で再度AFサーチを行う場合には、このAFサーチはラフサーチ結果により限定されたサーチ範囲内の詳細サーチのみが行われる。   In FIG. 6, in step S14, it is determined whether the AF reliability is high or low based on the AF evaluation value acquired in the AF search in step S12 ′. Based on this, it is determined whether the AF reliability is high or low. When the focus exposure is corrected because the AF reliability is low, and then AF search is performed again in step S12 ', this AF search is performed only in the detailed search within the search range limited by the rough search result.

図6のステップS14において、AFの信頼性が高いと判別されると、サーチカウンタが1か否かを判別する(ステップS50)。サーチカウンタ=1の場合には、ステップS12′でのAFサーチでは、ラフサーチのみが行われているため、この場合には、ラフサーチ結果により限定されたサーチ範囲内の詳細サーチを実施し(ステップS52)、ステップS16に移行する。一方、サーチカウンタ≠1の場合には、ステップS12′のAFサーチでは詳細サーチが既に実施されているため、詳細サーチを省略してステップS16に移行する。   If it is determined in step S14 in FIG. 6 that the AF reliability is high, it is determined whether or not the search counter is 1 (step S50). When the search counter = 1, only the rough search is performed in the AF search in step S12 ′. In this case, a detailed search within the search range limited by the rough search result is performed (step S52). ), The process proceeds to step S16. On the other hand, if the search counter is not 1, the detailed search has already been performed in the AF search in step S12 ', and the detailed search is omitted, and the process proceeds to step S16.

[第3の実施の形態]
図8は本発明に係るカメラの自動焦点調節方法の第3の実施の形態を示すフローチャートである。尚、図8において、図2に示した第1の実施の形態と共通する部分には同一の符号を付し、その詳細な説明を省略する。
[Third Embodiment]
FIG. 8 is a flowchart showing a third embodiment of the automatic focusing method for a camera according to the present invention. In FIG. 8, the same reference numerals are given to the portions common to the first embodiment shown in FIG. 2, and the detailed description thereof is omitted.

前記第1の実施の形態では、AFの信頼性が低いと判別され、かつAF評価値の最大値top が所定の範囲外(top <th-min、top >th-max)のときには、フォーカス露出を補正したのち、再度AFサーチするようにしたが、第2の実施の形態では、上記の場合にフォーカス露出を補正せずに、画素混合方式を変更する点で相違する。   In the first embodiment, when it is determined that the AF reliability is low and the maximum AF evaluation value top is out of a predetermined range (top <th-min, top> th-max), the focus exposure is performed. However, the second embodiment is different in that the pixel mixing method is changed without correcting the focus exposure in the above case.

ここで、第3の実施の形態に適用される画素混合方式について説明する。   Here, the pixel mixing method applied to the third embodiment will be described.

図9は画素混合方式を示す図であり、図9(A)はGの2画素混合を示し、図9(B)はGの4画素混合を示している。   FIGS. 9A and 9B are diagrams showing a pixel mixing method. FIG. 9A shows G two-pixel mixing, and FIG. 9B shows G four-pixel mixing.

画素混合方式は、撮像素子16の垂直方向に隣接する、同じ色の複数の画素(この実施の形態では、Gの画素)の画像信号を混合し、これにより1画素の画像信号よりも信号レベルの大きい画像信号を得るための処理であり、画素の混合数が多いほど、大きな画像信号を生成することができる。   In the pixel mixing method, the image signals of a plurality of pixels of the same color (G pixels in this embodiment) adjacent in the vertical direction of the image sensor 16 are mixed, and thereby, the signal level is higher than the image signal of one pixel. This is a process for obtaining a large image signal. The larger the number of pixels mixed, the larger the image signal can be generated.

図8のステップS18において、AF評価値の最大値top が下限値th-min未満と判別さ
れると、現在の画素混合の混合数が上限(デジタルカメラ10による画素混合可能な混合数のうちの最大のもの)か否かを判別する(ステップS100)。
If it is determined in step S18 in FIG. 8 that the maximum AF top value of the AF evaluation value is less than the lower limit value th-min, the current number of pixel mixtures is the upper limit (of the number of mixtures that can be mixed by the digital camera 10). It is determined whether it is the maximum) (step S100).

現在の混合数が上限でない場合には、現在の混合数よりも次に混合数の大きな混合数になるように混合数を増加し(ステップS110)、ステップS12に戻る。   If the current number of mixtures is not the upper limit, the number of mixtures is increased so that the number of mixtures is the next larger than the current number of mixtures (step S110), and the process returns to step S12.

いま、Gの1画素、Gの2画素混合、Gの4画素混合の3通りの画素混合方式がある場合において、現在の画素混合方式が2画素混合のときには4画素混合方式に設定する。尚、この実施の形態では、Gの1画素(実際には画素を混合しない場合)も、ここでは画素混合方式の設定の1態様とする。   Now, in the case where there are three types of pixel mixing methods of G one pixel, G two pixel mixing, and G four pixel mixing, when the current pixel mixing method is two pixel mixing, the four pixel mixing method is set. In this embodiment, one pixel of G (in the case where pixels are not actually mixed) is also one mode of setting of the pixel mixing method here.

同様に、ステップS26において、AF評価値の最大値top が上限値th-maxよりも大きいと判別されると、現在の画素混合の混合数が下限(この実施の形態では、1画素)か否かを判別する(ステップS120)。   Similarly, if it is determined in step S26 that the maximum AF evaluation value top is larger than the upper limit value th-max, whether or not the current mixture number of pixel mixtures is the lower limit (in this embodiment, one pixel). Is determined (step S120).

現在の混合数が下限でない場合には、現在の混合数よりも次に混合数の小さい混合数になるように混合数を減少させ(ステップS130)、ステップS12に戻る。   If the current mixture number is not the lower limit, the mixture number is decreased so that the mixture number is the next smaller than the current mixture number (step S130), and the process returns to step S12.

いま、Gの1画素、Gの2画素混合、Gの4画素混合の3通りの画素混合方式がある場合において、現在の画素混合方式が2画素混合のときには4画素混合方式に設定する。   Now, in the case where there are three types of pixel mixing methods of G one pixel, G two pixel mixing, and G four pixel mixing, when the current pixel mixing method is two pixel mixing, the four pixel mixing method is set.

上記のようにAFの信頼性が低いと判別されると、画素混合数を変更し、再度AFサーチを行うようにしたため、被写体が暗すぎたり、明るすぎる場合であっても適正な信号レベルの画像信号を取り込むことができ、これにより良好な評価値を得ることができる。   When it is determined that the reliability of AF is low as described above, the number of pixel mixture is changed and the AF search is performed again. Therefore, even if the subject is too dark or too bright, the signal level is appropriate. An image signal can be taken in, whereby a good evaluation value can be obtained.

[第4の実施の形態]
図10は本発明に係るカメラの自動焦点調節方法の第4の実施の形態を示すフローチャートである。尚、図10において、図8に示した第3の実施の形態と共通する部分には同一の符号を付し、その詳細な説明を省略する。
[Fourth Embodiment]
FIG. 10 is a flowchart showing a fourth embodiment of the automatic focusing method for a camera according to the present invention. In FIG. 10, parts common to the third embodiment shown in FIG. 8 are denoted by the same reference numerals, and detailed description thereof is omitted.

図10に示す第4の実施の形態は、図8に示した第3の実施の形態とは主としてステップS12′におけるAFサーチの内容が異なる。このステップS12′におけるAFサーチは、図7に示したAFサーチが実施される。   The fourth embodiment shown in FIG. 10 differs from the third embodiment shown in FIG. 8 mainly in the content of the AF search in step S12 ′. The AF search shown in FIG. 7 is performed as the AF search in step S12 ′.

ステップS14では、ステップS12′でAFサーチで取り込んだAF評価値に基づいてAFの信頼性が高いか低いかを判別するが、最初の1回のみラフサーチで取り込んだAF評価値に基づいてAFの信頼性が高いか低いかを判別する。AFの信頼性が低いために画素混合数を増減し、その後、ステップS12′で再度AFサーチを行う場合には、このAFサーチはラフサーチ結果により限定されたサーチ範囲内の詳細サーチのみが行われる。   In step S14, it is determined whether the AF reliability is high or low based on the AF evaluation value captured in the AF search in step S12 ′. However, the AF performance is determined based on the AF evaluation value captured in the first rough search. Determine whether the reliability is high or low. When the number of pixel mixtures is increased / decreased because AF reliability is low, and then AF search is performed again in step S12 ′, this AF search is performed only in the detailed search within the search range limited by the rough search result. .

図10のステップS14において、AFの信頼性が高いと判別されると、サーチカウンタが1か否かを判別する(ステップS150)。サーチカウンタ=1の場合には、ステップS12′でのAFサーチでは、ラフサーチのみが行われているため、この場合には、ラフサーチ結果により限定されたサーチ範囲内の詳細サーチを実施し(ステップS152)、ステップS16に移行する。一方、サーチカウンタ≠1の場合には、ステップS12′のAFサーチでは詳細サーチが既に実施されているため、詳細サーチを省略してステップS16に移行する。   If it is determined in step S14 in FIG. 10 that the AF reliability is high, it is determined whether or not the search counter is 1 (step S150). When the search counter = 1, only the rough search is performed in the AF search in step S12 ′. In this case, a detailed search within the search range limited by the rough search result is performed (step S152). ), The process proceeds to step S16. On the other hand, if the search counter is not 1, the detailed search has already been performed in the AF search in step S12 ', and the detailed search is omitted, and the process proceeds to step S16.

[第5の実施の形態]
図11は本発明に係るカメラの自動焦点調節方法の第5の実施の形態を示すフローチャートである。尚、図11において、図2及び図8に示した第1、第3の実施の形態と共通する部分には同一の符号を付し、その詳細な説明を省略する。
[Fifth Embodiment]
FIG. 11 is a flowchart showing a fifth embodiment of the automatic focusing method for a camera according to the present invention. In FIG. 11, the same reference numerals are given to the portions common to the first and third embodiments shown in FIGS. 2 and 8, and the detailed description thereof is omitted.

図11に示す第5の実施の形態は、AFの信頼性が低いと判別され、かつAF評価値の最大値top が所定の範囲外(top <th-min、top >th-max)の場合には、第1の実施の形態と同様に、まず、フォーカス露出を補正したのち再度AFサーチし、このフォーカス露出の補正のみではAFの信頼性が得られない場合には、その後、第3の実施の形態と同様に画素混合方式を変更する点で、第1、第3の実施の形態と相違する。   In the fifth embodiment shown in FIG. 11, it is determined that the reliability of AF is low, and the maximum AF evaluation value top is outside a predetermined range (top <th-min, top> th-max). In the same manner as in the first embodiment, first, the focus exposure is corrected, and then the AF search is performed again. If the AF reliability cannot be obtained only by the correction of the focus exposure, the third search is performed thereafter. It is different from the first and third embodiments in that the pixel mixing method is changed as in the embodiment.

即ち、図11のステップS20’において、現在のフォーカス露出が上限であると判別された場合には、第1の実施の形態のように、直ちに撮影レンズ12を固定焦点位置に移動させずに、ステップS100に進み、ここで画素混合する混合数が上限か否かを判別する。現在の混合数が上限でない場合には、現在の混合数よりも次に混合数の大きな混合数になるように混合数を増加し(ステップS110)、再びAFサーチを行う(ステップS12)。このステップS112のAFサーチでは、ステップS12のAFサーチと同じ処理が実施される。   That is, if it is determined in step S20 ′ in FIG. 11 that the current focus exposure is the upper limit, the photographing lens 12 is not immediately moved to the fixed focus position as in the first embodiment. In step S100, it is determined whether the number of pixels to be mixed is the upper limit. If the current number of mixtures is not the upper limit, the number of mixtures is increased so that the number of mixtures is larger than the current number of mixtures (step S110), and AF search is performed again (step S12). In the AF search in step S112, the same processing as the AF search in step S12 is performed.

同様に、図11のステップS28’において、現在のフォーカス露出が下限であると判別された場合には、第1の実施の形態のように、直ちに撮影レンズ12を固定焦点位置に移動させずに、ステップS120に進み、ここで画素混合する混合数が下限か否かを判別する。現在の混合数が下限でない場合には、現在の混合数よりも次に混合数の小さい混合数になるように混合数を減少させ(ステップS130)、再びAFサーチを行う(ステップS112)。   Similarly, when it is determined in step S28 ′ in FIG. 11 that the current focus exposure is the lower limit, the photographing lens 12 is not immediately moved to the fixed focal position as in the first embodiment. The process proceeds to step S120, where it is determined whether or not the number of pixels to be mixed is a lower limit. If the current mixture number is not the lower limit, the mixture number is decreased so that the mixture number is the next smaller than the current mixture number (step S130), and AF search is performed again (step S112).

次に、ステップS112で取り込んだAF評価値に基づいてAFの信頼性が高いか低いかを判別する(ステップS114)。この判別は、ステップS14での判別と同様に、取り込んだAF評価値のうちの最大値top と最小値min との差を求め、この差(top-min) が所定の閾値th未満の場合には、AFの信頼性が低いと判別する。   Next, it is determined whether the AF reliability is high or low based on the AF evaluation value captured in step S112 (step S114). This determination is similar to the determination in step S14, in which the difference between the maximum value top and the minimum value min of the captured AF evaluation values is obtained, and this difference (top-min) is less than a predetermined threshold th. Determines that the reliability of AF is low.

ステップS114でAFの信頼性が低いと判別されると、続いてAF評価値の最大値top が、所定の下限値th-min未満か否かを判別する(ステップS116)。そして、AF評価値の最大値top が下限値th-min未満と判別されると、ステップS100に戻り、ここで画素混合する混合数が上限か否かが判別される。   If it is determined in step S114 that the AF reliability is low, it is then determined whether or not the maximum AF evaluation value top is less than a predetermined lower limit th-min (step S116). When it is determined that the maximum value top of the AF evaluation value is less than the lower limit value th-min, the process returns to step S100, where it is determined whether the number of pixels to be mixed is the upper limit.

一方、ステップS116において、AF評価値の最大値top が下限値th-minよりも大きいと判別されると、続いて、AF評価値の最大値top が、所定の上限値th-maxよりも大きいか否かを判別する(ステップS118)。そして、AF評価値の最大値top が上限値th-maxよりも大きいと判別されると、ステップS120に戻り、ここで画素混合する混合数が下限か否かが判別される。   On the other hand, when it is determined in step S116 that the maximum value top of the AF evaluation value is larger than the lower limit value th-min, the maximum value top of the AF evaluation value is subsequently larger than a predetermined upper limit value th-max. Whether or not (step S118). If it is determined that the maximum AF value of the AF evaluation value is larger than the upper limit value th-max, the process returns to step S120, where it is determined whether the number of pixels to be mixed is the lower limit.

[第6の実施の形態]
図12は本発明に係るカメラの自動焦点調節方法の第6の実施の形態を示すフローチャートである。尚、図12において、図11に示した第5の実施の形態と共通する部分には同一の符号を付し、その詳細な説明を省略する。
[Sixth Embodiment]
FIG. 12 is a flowchart showing a sixth embodiment of the automatic focusing method for a camera according to the present invention. In FIG. 12, parts common to the fifth embodiment shown in FIG. 11 are denoted by the same reference numerals, and detailed description thereof is omitted.

図12に示す第6の実施の形態は、図11に示した第5の実施の形態とは主としてステップS12′、ステップS112′におけるAFサーチの内容が異なる。このステップS12′、112′におけるAFサーチは、図7に示したAFサーチが実施される。   The sixth embodiment shown in FIG. 12 differs from the fifth embodiment shown in FIG. 11 mainly in the contents of the AF search in steps S12 ′ and S112 ′. The AF search shown in FIG. 7 is performed as the AF search in steps S12 ′ and 112 ′.

図12のステップS14、ステップS114において、AFの信頼性が高いと判別されると、サーチカウンタが1か否かを判別する(ステップS150)。サーチカウンタ=1の場合には、AFサーチはラフサーチのみが行われているため、この場合には、ラフサーチ結果により限定されたサーチ範囲内の詳細サーチを実施し(ステップS152)、ステップS16に移行する。一方、サーチカウンタ≠1の場合には、ステップS12′又はステップS112′のAFサーチでは詳細サーチが既に実施されているため、詳細サーチを省略してステップS16に移行する。   If it is determined in step S14 or step S114 in FIG. 12 that the AF reliability is high, it is determined whether or not the search counter is 1 (step S150). When the search counter = 1, only the rough search is performed in the AF search. In this case, a detailed search within the search range limited by the rough search result is performed (step S152), and the process proceeds to step S16. To do. On the other hand, if the search counter is not 1, the detailed search has already been performed in the AF search of step S12 'or step S112', so the detailed search is omitted and the process proceeds to step S16.

[第7の実施の形態]
図13は本発明に係るカメラの自動焦点調節方法の第7の実施の形態を示すフローチャートである。尚、図13において、図11に示した第5の実施の形態と共通する部分には同一の符号を付し、その詳細な説明を省略する。
[Seventh Embodiment]
FIG. 13 is a flowchart showing a seventh embodiment of the camera automatic focusing method according to the present invention. In FIG. 13, the same reference numerals are given to the portions common to the fifth embodiment shown in FIG. 11, and the detailed description thereof is omitted.

図13に示す第7の実施の形態は、図11に示した第5の実施の形態とは逆に、AFの信頼性が低いと判別され、かつAF評価値の最大値top が所定の範囲外(top <th-min、top >th-max)の場合には、まず、画素混合方式を変更したのち再度AFサーチし、この画素混合方式の変更のみではAFの信頼性が得られない場合には、その後、フォーカス露出を変更する点(即ち、フォーカス露出の変更と画素混合方式の変更との順序が逆になっている点)で、第5の実施の形態と相違する。   In the seventh embodiment shown in FIG. 13, contrary to the fifth embodiment shown in FIG. 11, it is determined that the reliability of AF is low, and the maximum value top of the AF evaluation value is within a predetermined range. In the case of outside (top <th-min, top> th-max), first, after performing the AF search again after changing the pixel mixing method, AF reliability cannot be obtained only by changing this pixel mixing method This is different from the fifth embodiment in that the focus exposure is subsequently changed (that is, the order of the change of the focus exposure and the change of the pixel mixing method is reversed).

即ち、図13のステップS100’において、現在の画素混合の混合数が上限であると判別されると、ステップS20に進み、ここでフォーカス露出が上限か否かを判別する。同様に、ステップS120’において、現在の画素混合の混合数が下限であると判別された場合には、ステップS28に進み、ここでフォーカス露出が下限か否かを判別する。   That is, if it is determined in step S100 'in FIG. 13 that the current pixel mixture number is the upper limit, the process proceeds to step S20, where it is determined whether the focus exposure is the upper limit. Similarly, if it is determined in step S120 'that the current pixel mixture number is the lower limit, the process proceeds to step S28, where it is determined whether the focus exposure is the lower limit.

[第8の実施の形態]
図14は本発明に係るカメラの自動焦点調節方法の第8の実施の形態を示すフローチャートである。尚、図14において、図13に示した第7の実施の形態と共通する部分には同一の符号を付し、その詳細な説明を省略する。
[Eighth Embodiment]
FIG. 14 is a flowchart showing an eighth embodiment of the automatic focusing method for a camera according to the present invention. In FIG. 14, parts that are the same as those in the seventh embodiment shown in FIG. 13 are given the same reference numerals, and detailed descriptions thereof are omitted.

図14に示す第8の実施の形態は、図13に示した第7の実施の形態とは主としてステップS12′、ステップS112′におけるAFサーチの内容が異なる。このステップS12′、112′におけるAFサーチは、図7に示したAFサーチが実施される。   The eighth embodiment shown in FIG. 14 differs from the seventh embodiment shown in FIG. 13 mainly in the contents of AF search in steps S12 'and S112'. The AF search shown in FIG. 7 is performed as the AF search in steps S12 ′ and 112 ′.

図14のステップS14、ステップS114において、AFの信頼性が高いと判別されると、サーチカウンタが1か否かを判別する(ステップS150)。サーチカウンタ=1の場合には、AFサーチはラフサーチのみが行われているため、この場合には、ラフサーチ結果により限定されたサーチ範囲内の詳細サーチを実施し(ステップS152)、ステップS16に移行する。一方、サーチカウンタ≠1の場合には、ステップS12′又はステップS112′のAFサーチでは詳細サーチが既に実施されているため、詳細サーチを省略してステップS16に移行する。   If it is determined in step S14 or step S114 in FIG. 14 that the AF reliability is high, it is determined whether or not the search counter is 1 (step S150). When the search counter = 1, only the rough search is performed in the AF search. In this case, a detailed search within the search range limited by the rough search result is performed (step S152), and the process proceeds to step S16. To do. On the other hand, if the search counter is not 1, the detailed search has already been performed in the AF search of step S12 'or step S112', so the detailed search is omitted and the process proceeds to step S16.

10…デジタルカメラ、12…撮影レンズ、14…絞り、16…撮像素子、24…デジタル信号処理部、32…撮像素子制御部、34…絞り駆動部、36…レンズ駆動部、38…操作部、40…CPU、42…AF検出部、44…AE検出部、48…メモリ   DESCRIPTION OF SYMBOLS 10 ... Digital camera, 12 ... Shooting lens, 14 ... Aperture, 16 ... Image sensor, 24 ... Digital signal processing part, 32 ... Image sensor control part, 34 ... Aperture drive part, 36 ... Lens drive part, 38 ... Operation part, 40 ... CPU, 42 ... AF detector, 44 ... AE detector, 48 ... memory

Claims (6)

(a) 撮影レンズを焦点調節範囲にわたって移動させ、該撮影レンズが所定量移動するごとに被写体を撮像する撮像手段から画像信号を取得する工程であって、予め設定されたフォーカス用の露出条件で撮像された画像信号を取得する工程と、
(b) 前記撮影レンズの各移動位置ごとに取得した画像信号に基づいて被写体のコントラスト成分に応じた評価値を算出する工程と、
(c) 前記算出した評価値に基づいて自動焦点調節の信頼性が高いか低いかを判別する工程と、
(d) 前記自動焦点調節の信頼性が低いと判別されると、前記露出条件の設定をプラス方向又はマイナス方向に変更させた後、前記工程(a) 及び(b) を繰り返し実行させる工程と、
(e) 前記自動焦点調節の信頼性が高いと判別されると、前記撮影レンズの移動位置と各移動位置ごとに算出した評価値とに基づいて当該評価値がピークとなる移動位置を求める工程と、
(f) 前記求めた移動位置に撮影レンズを移動させる工程と、
を含むことを特徴とするカメラの自動焦点調節方法。
(a) moving the photographic lens over the focus adjustment range, and obtaining an image signal from the imaging means for imaging the subject each time the photographic lens moves by a predetermined amount, under a preset focus exposure condition Obtaining a captured image signal;
(b) calculating an evaluation value according to a contrast component of a subject based on an image signal acquired for each movement position of the photographing lens;
(c) determining whether the reliability of automatic focus adjustment is high or low based on the calculated evaluation value;
(d) If it is determined that the reliability of the automatic focus adjustment is low, the steps (a) and (b) are repeatedly executed after changing the setting of the exposure condition in the plus direction or the minus direction; ,
(e) When it is determined that the reliability of the automatic focus adjustment is high, a step of obtaining a movement position where the evaluation value reaches a peak based on the movement position of the photographing lens and the evaluation value calculated for each movement position When,
(f) moving the taking lens to the determined moving position;
A method of automatically focusing a camera, comprising:
(a) 撮影レンズを焦点調節範囲にわたって移動させ、該撮影レンズが所定量移動するごとに被写体を撮像する撮像手段から画像信号を取得する工程であって、予め設定された画素混合方式で画素混合された画像信号を取得する工程と、
(b) 前記撮影レンズの各移動位置ごとに取得した画像信号に基づいて被写体のコントラスト成分に応じた評価値を算出する工程と、
(c) 前記算出した評価値に基づいて自動焦点調節の信頼性が高いか低いかを判別する工程と、
(d) 前記自動焦点調節の信頼性が低いと判別されると、前記画素混合方式の設定を変更させた後、前記工程(a) 及び(b) を繰り返し実行させる工程と、
(e) 前記自動焦点調節の信頼性が高いと判別されると、前記撮影レンズの移動位置と各移動位置ごとに算出した評価値とに基づいて当該評価値がピークとなる移動位置を求める工程と、
(f) 前記求めた移動位置に撮影レンズを移動させる工程と、
を含むことを特徴とするカメラの自動焦点調節方法。
(a) A step of acquiring an image signal from an imaging means for imaging a subject every time the photographic lens is moved over a focus adjustment range and the photographic lens moves by a predetermined amount, and pixel mixing is performed by a preset pixel mixing method. Obtaining a processed image signal;
(b) calculating an evaluation value according to a contrast component of a subject based on an image signal acquired for each movement position of the photographing lens;
(c) determining whether the reliability of automatic focus adjustment is high or low based on the calculated evaluation value;
(d) If it is determined that the reliability of the automatic focus adjustment is low, after changing the setting of the pixel mixing method, repeatedly performing the steps (a) and (b);
(e) When it is determined that the reliability of the automatic focus adjustment is high, a step of obtaining a movement position where the evaluation value reaches a peak based on the movement position of the photographing lens and the evaluation value calculated for each movement position When,
(f) moving the taking lens to the determined moving position;
A method of automatically focusing a camera, comprising:
(a) 撮影レンズを焦点調節範囲にわたって移動させ、該撮影レンズが所定量移動するごとに被写体を撮像する撮像手段から画像信号を取得する工程であって、予め設定されたフォーカス用の露出条件で撮像され、且つ予め設定された画素混合方式で画素混合された画像信号を取得する工程と、
(b) 前記撮影レンズの各移動位置ごとに取得した画像信号に基づいて被写体のコントラスト成分に応じた評価値を算出する工程と、
(c) 前記算出した評価値に基づいて自動焦点調節の信頼性が高いか低いかを判別する工程と、
(d) 前記自動焦点調節の信頼性が低いと判別されると、前記露出条件の設定をプラス方向又はマイナス方向に変更させ又は画素混合方式の設定を変更させた後、前記工程(a) 及び(b) を繰り返し実行させる工程と、
(e) 前記自動焦点調節の信頼性が高いと判別されると、前記撮影レンズの移動位置と各移動位置ごとに算出した評価値とに基づいて当該評価値がピークとなる移動位置を求める工程と、
(f) 前記求めた移動位置に撮影レンズを移動させる工程と、
を含むことを特徴とするカメラの自動焦点調節方法。
(a) moving the photographic lens over the focus adjustment range, and obtaining an image signal from the imaging means for imaging the subject each time the photographic lens moves by a predetermined amount, under a preset focus exposure condition Acquiring an image signal that is imaged and pixel-mixed in a preset pixel-mixing method;
(b) calculating an evaluation value according to a contrast component of a subject based on an image signal acquired for each movement position of the photographing lens;
(c) determining whether the reliability of automatic focus adjustment is high or low based on the calculated evaluation value;
(d) If it is determined that the reliability of the automatic focus adjustment is low, after changing the setting of the exposure condition in the plus direction or the minus direction or changing the setting of the pixel mixing method, the steps (a) and a step of repeatedly executing (b);
(e) When it is determined that the reliability of the automatic focus adjustment is high, a step of obtaining a movement position where the evaluation value reaches a peak based on the movement position of the photographing lens and the evaluation value calculated for each movement position When,
(f) moving the taking lens to the determined moving position;
A method of automatically focusing a camera, comprising:
前記工程(d) は、最初に前記露出条件の設定を変更し、該露出条件の設定の変更が上限又は下限に達すると、その後、前記画素混合方式の設定を変更することを特徴とする請求項3に記載のカメラの自動焦点調節方法。   In the step (d), the setting of the exposure condition is changed first, and when the change of the setting of the exposure condition reaches an upper limit or a lower limit, the setting of the pixel mixing method is changed thereafter. Item 4. A method of automatically focusing a camera according to Item 3. 前記工程(d) は、最初に前記画素混合方式の設定を変更し、該画素混合方式の設定の変更が上限又は下限に達すると、その後、前記露出条件の設定を変更することを特徴とする請求項3に記載のカメラの自動焦点調節方法。   The step (d) first changes the setting of the pixel mixing method, and when the change of the setting of the pixel mixing method reaches an upper limit or a lower limit, thereafter, the setting of the exposure condition is changed. The method for automatically focusing a camera according to claim 3. 撮影レンズを焦点調節範囲にわたって移動させ、該撮影レンズが所定量移動するごとに撮像手段から出力される画像信号に基づいて被写体のコントラスト成分に応じた評価値を算出し、前記撮影レンズの移動位置と各移動位置ごとに算出した前記評価値とに基づいて評価値がピークとなる移動位置を求め、この求めた移動位置に撮影レンズを移動させるカメラの自動焦点調節装置において、
前記撮影レンズの各移動位置ごとに算出した評価値に基づいて自動焦点調節の信頼性が高いか低いかを判別する判別手段と、前記判別手段によって自動焦点調節の信頼性が低いと判別されると、前記撮像手段から画像信号を取得する際のフォーカス用の露出条件の設定を、予め設定されたフォーカス用の露出条件からプラス方向又はマイナス方向に変更させ、及び/又は画素混合方式の設定を、予め設定された画素混合方式から変更させ、前記判別手段によって自動焦点調節の信頼性が高いと判別されると、現在の露出条件及び画素混合方式を維持する手段と、を備えたことを特徴とするカメラの自動焦点調節装置。
The photographic lens is moved over the focus adjustment range, and an evaluation value corresponding to the contrast component of the subject is calculated based on the image signal output from the imaging means every time the photographic lens moves by a predetermined amount, and the moving position of the photographic lens And the evaluation value calculated for each movement position to determine the movement position at which the evaluation value reaches a peak, and in the automatic focus adjustment device of the camera that moves the photographing lens to the obtained movement position,
Based on the evaluation value calculated for each moving position of the photographing lens, it is determined that the reliability of the automatic focus adjustment is high or low, and the determination means determines that the reliability of the automatic focus adjustment is low. And setting the exposure condition for focus when acquiring the image signal from the imaging means to change from the preset focus exposure condition to the plus direction or the minus direction and / or setting the pixel mixing method. And a means for maintaining the current exposure condition and the pixel mixing method when the determination unit determines that the reliability of the automatic focus adjustment is high by changing from a preset pixel mixing method. The camera's automatic focusing device.
JP2011139928A 2011-06-23 2011-06-23 Method and apparatus for automatic focusing of camera Expired - Fee Related JP5345657B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011139928A JP5345657B2 (en) 2011-06-23 2011-06-23 Method and apparatus for automatic focusing of camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011139928A JP5345657B2 (en) 2011-06-23 2011-06-23 Method and apparatus for automatic focusing of camera

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2004095124A Division JP4819318B2 (en) 2004-03-29 2004-03-29 Method and apparatus for automatic focusing of camera

Publications (2)

Publication Number Publication Date
JP2011257758A true JP2011257758A (en) 2011-12-22
JP5345657B2 JP5345657B2 (en) 2013-11-20

Family

ID=45473929

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011139928A Expired - Fee Related JP5345657B2 (en) 2011-06-23 2011-06-23 Method and apparatus for automatic focusing of camera

Country Status (1)

Country Link
JP (1) JP5345657B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104777698A (en) * 2014-01-15 2015-07-15 瑞昱半导体股份有限公司 Lens automatic focusing method and related camera chip
JP2016142971A (en) * 2015-02-04 2016-08-08 キヤノン株式会社 Focus detection device, control method of the same, and control program of the same, and control program, as well as imaging device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04240812A (en) * 1991-01-25 1992-08-28 Canon Inc Focus detector
JPH06113191A (en) * 1992-09-28 1994-04-22 Fuji Photo Film Co Ltd Video camera and its photometric method
JPH11132763A (en) * 1997-08-28 1999-05-21 Fuji Electric Co Ltd Distance measuring method
JP2002214523A (en) * 2001-01-23 2002-07-31 Minolta Co Ltd Optical system controller, optical system control method, and recording medium
JP2002341235A (en) * 2001-05-18 2002-11-27 Konica Corp Digital camera
JP2003018446A (en) * 2001-06-29 2003-01-17 Konica Corp Imaging device and digital still camera employing the same
JP2003244520A (en) * 2002-02-20 2003-08-29 Minolta Co Ltd Photographing device
JP4819318B2 (en) * 2004-03-29 2011-11-24 富士フイルム株式会社 Method and apparatus for automatic focusing of camera

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04240812A (en) * 1991-01-25 1992-08-28 Canon Inc Focus detector
JPH06113191A (en) * 1992-09-28 1994-04-22 Fuji Photo Film Co Ltd Video camera and its photometric method
JPH11132763A (en) * 1997-08-28 1999-05-21 Fuji Electric Co Ltd Distance measuring method
JP2002214523A (en) * 2001-01-23 2002-07-31 Minolta Co Ltd Optical system controller, optical system control method, and recording medium
JP2002341235A (en) * 2001-05-18 2002-11-27 Konica Corp Digital camera
JP2003018446A (en) * 2001-06-29 2003-01-17 Konica Corp Imaging device and digital still camera employing the same
JP2003244520A (en) * 2002-02-20 2003-08-29 Minolta Co Ltd Photographing device
JP4819318B2 (en) * 2004-03-29 2011-11-24 富士フイルム株式会社 Method and apparatus for automatic focusing of camera

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104777698A (en) * 2014-01-15 2015-07-15 瑞昱半导体股份有限公司 Lens automatic focusing method and related camera chip
CN104777698B (en) * 2014-01-15 2017-12-15 瑞昱半导体股份有限公司 Camera lens Atomatic focusing method and related camera chip
JP2016142971A (en) * 2015-02-04 2016-08-08 キヤノン株式会社 Focus detection device, control method of the same, and control program of the same, and control program, as well as imaging device

Also Published As

Publication number Publication date
JP5345657B2 (en) 2013-11-20

Similar Documents

Publication Publication Date Title
US9596400B2 (en) Image pickup apparatus that periodically changes exposure condition, a method of controlling image pickup apparatus, and storage medium
KR101847392B1 (en) Image processing apparatus and method for controlling the same
US9160919B2 (en) Focus adjustment unit and camera system
JP5132497B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP2007096753A (en) Digital camera
JP6028928B2 (en) Imaging apparatus and imaging method
US10484612B2 (en) Image pickup apparatus, image pickup method, and Storage medium for picking up a plurality of images different in in-focus positions
JP4819318B2 (en) Method and apparatus for automatic focusing of camera
US20100295986A1 (en) Electronic camera
JP2008170507A (en) Imaging apparatus and automatic focusing method
JP5345657B2 (en) Method and apparatus for automatic focusing of camera
US11653107B2 (en) Image pick up apparatus, image pick up method, and storage medium
US9282234B2 (en) Focus adjustment apparatus and method, and image capturing apparatus
US11483488B2 (en) Imaging apparatus, inter-exposure zoom imaging method, program, and recording medium
JP6017641B1 (en) Imaging apparatus, signal processing method, signal processing program
JP2015050733A (en) Exposure control apparatus, exposure control method, control program, and imaging apparatus
JP2006215105A (en) Imaging apparatus
JP5597942B2 (en) Electronic camera
JP2017009815A (en) Focus detection device, focus detection method, and camera system
JP5310315B2 (en) Image processing circuit, image processing method, and imaging apparatus
JP2006208664A (en) Imaging apparatus
US20220148142A1 (en) Image processing apparatus for combining a plurality of images, imaging apparatus, imaging method, and recording medium
JP2017058563A (en) Automatic focus adjustment device, imaging device, and automatic focus adjustment method
JP4356585B2 (en) Digital camera
WO2014136703A1 (en) Image-capturing device and image display method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120924

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130508

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130627

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130814

R150 Certificate of patent or registration of utility model

Ref document number: 5345657

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees