JP5765935B2 - Focus adjustment apparatus and method - Google Patents

Focus adjustment apparatus and method Download PDF

Info

Publication number
JP5765935B2
JP5765935B2 JP2010294299A JP2010294299A JP5765935B2 JP 5765935 B2 JP5765935 B2 JP 5765935B2 JP 2010294299 A JP2010294299 A JP 2010294299A JP 2010294299 A JP2010294299 A JP 2010294299A JP 5765935 B2 JP5765935 B2 JP 5765935B2
Authority
JP
Japan
Prior art keywords
focus
focus position
image
value
subject
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010294299A
Other languages
Japanese (ja)
Other versions
JP2012141457A (en
Inventor
小西 一樹
一樹 小西
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2010294299A priority Critical patent/JP5765935B2/en
Publication of JP2012141457A publication Critical patent/JP2012141457A/en
Application granted granted Critical
Publication of JP5765935B2 publication Critical patent/JP5765935B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、自動焦点調整装置及び方法、より詳しくは撮像光学系により結像される被写体像を光電変換する撮像素子により取得される画像信号を使用して、焦点調整を行う自動焦点調整装置及び方法に関する。 The present invention relates to an automatic focus adjustment apparatus and method, and more particularly, an automatic focus adjustment apparatus that performs focus adjustment using an image signal acquired by an image sensor that photoelectrically converts a subject image formed by an imaging optical system, and Regarding the method.

従来の自動焦点調整(AF)動作において点光源被写体、高輝度被写体に対して焦点調整する技術に係る自動焦点調整装置、自動焦点調整方法に関して、以下のような文献がある(特許文献1、特許文献2参照)。特許文献1に記載の技術では、撮像した映像信号に基づき合焦制御信号を検出し合焦動作を行うコントラスト検出制御方式の自動合焦点装置において、高輝度被写体に対しても正確な合焦動作が行えるようにする。ここでは、撮像画面の映像信号の低輝度部あるいは中輝度部の面積を比較することにより高輝度被写体の判定を行い、一般的な被写体の場合の合焦動作はコントラスト信号を用いて行い、高輝度被写体の場合には高輝度信号の面積が小さくなるように合焦動作を行う。他方、特許文献2に記載の技術では、点光源被写体による飽和の有無を低コストで検出する焦点検出装置を得ることを可能とする。この焦点検出装置は、被写体像を撮像する撮像素子、所定周波数以下の信号成分を除去するフィルタ手段、フィルタ手段が信号成分を除去した後の撮像素子からの撮像信号を用いて、信号成分除去前の撮像信号における信号飽和の有無を判定する判定手段を備える The following documents are related to an automatic focus adjustment apparatus and an automatic focus adjustment method related to a technique for performing focus adjustment on a point light source subject and a high brightness subject in a conventional automatic focus adjustment (AF) operation (Patent Document 1, Patent). Reference 2). In the technique described in Patent Document 1, an accurate focusing operation is performed even for a high-luminance object in a contrast detection control type automatic focusing device that detects a focusing control signal based on a captured video signal and performs a focusing operation. Be able to. Here, a high-brightness subject is determined by comparing the area of the low-brightness or medium-brightness part of the video signal on the imaging screen, and the focusing operation for a general subject is performed using a contrast signal. In the case of a luminance subject, a focusing operation is performed so that the area of the high luminance signal is reduced. On the other hand, the technique described in Patent Document 2 makes it possible to obtain a focus detection device that detects the presence or absence of saturation due to a point light source subject at low cost. This focus detection apparatus uses an image pickup device that picks up a subject image, a filter unit that removes a signal component of a predetermined frequency or less, an image pickup signal from the image pickup device after the filter unit removes the signal component, and before the signal component removal. Determining means for determining the presence or absence of signal saturation in the imaging signal of

特許第3105334号公報Japanese Patent No. 3105334 特開2008-185823号公報JP 2008-185823 A

しかしながら、上記特許文献1の技術においては、高輝度被写体、点光源被写体の場合には高輝度信号の面積が小さくなるように合焦動作を行っている。そのため、点光源のみで主被写体が構成される場合は良いが、点光源被写体と照明された通常被写体とが混在する場合などは、正確な焦点調整ができない場合がある。この理由としては、光源の色が影響する、通常被写体の照明された部分がぼけることで輝度が落ちて高輝度部が面積を小さくなる、などが考えられる。最近の機器は高画素化が進んでいるため、僅かなピントのずれが無視できなくなり、より正確な焦点調整が要求されている。 However, in the technique disclosed in Patent Document 1, in the case of a high-luminance subject and a point light source subject, the focusing operation is performed so that the area of the high-luminance signal becomes small. For this reason, it is good that the main subject is composed of only the point light source, but when the point light source subject and the illuminated normal subject are mixed, accurate focus adjustment may not be possible. This may be due to the influence of the color of the light source, or because the illuminated portion of the normal subject is blurred, the luminance is lowered and the area of the high luminance portion is reduced. Since recent devices have high pixel count, a slight focus shift cannot be ignored, and more accurate focus adjustment is required.

また特許文献2の技術においては、画像信号の高周波成分の値が所定値以上のものを積算し、その積算値により点光源被写体(飽和被写体)の有無を検出している。そのため、カメラの露出に左右されて誤検出することがある。また、合焦位置に関しても、画像信号の高周波成分を輝度信号の積算値で割ったものを使用して求めているが、画面内に点光源以外の被写体が含まれる場合は、その被写体の影響を受けて正確な合焦位置を検出できないことがある。 In the technique disclosed in Patent Document 2, the values of the high frequency component of the image signal are integrated and a point light source subject (saturated subject) is detected based on the integrated value. For this reason, erroneous detection may occur depending on the exposure of the camera. Also, the in-focus position is obtained using the high-frequency component of the image signal divided by the integrated value of the luminance signal. If a subject other than the point light source is included in the screen, the influence of that subject In some cases, an accurate in-focus position cannot be detected.

上記課題に鑑み、本発明の焦点調整装置は、撮像素子と焦点調整手段と合焦位置検出手段を有する。撮像素子は、撮影光学系により結像される被写体像を光電変換して電気的な画像信号を得る。焦点調整手段は、撮像素子に形成される被写体像の焦点を調整する。合焦位置検出手段は、焦点調整手段を駆動しながら、撮像素子によって生成された画像信号から合焦位置を検出する。更に、撮像素子によって生成された画像信号から得られる、焦点調整手段の駆動に伴う輝度信号の最大値の変動量前記輝度信号の積算値の変動量を用いて、合焦位置を検出するための画像信号を取得する撮像素子の領域内部に点光源被写体が存在するか否かの判定を行う。 In view of the above problems, the focus adjustment apparatus of the present invention includes an image sensor, focus adjustment means, and focus position detection means. The image sensor photoelectrically converts a subject image formed by the photographing optical system to obtain an electrical image signal. The focus adjustment unit adjusts the focus of the subject image formed on the image sensor. The in-focus position detecting unit detects the in-focus position from the image signal generated by the image sensor while driving the focus adjusting unit. Further, to detect the in-focus position by using the fluctuation amount of the maximum value of the luminance signal and the fluctuation amount of the integrated value of the luminance signal obtained from the image signal generated by the image pickup device and driven by the focus adjustment unit. It is determined whether or not there is a point light source subject within the area of the image sensor that acquires the image signal.

また、上記課題に鑑み、本発明の焦点調整方法は、合焦位置検出ステップと判定ステップを有する。合焦位置検出ステップでは、撮影光学系により結像される被写体像を光電変換して電気的な画像信号を得る撮像素子に形成される被写体像の焦点を調整する焦点調整手段を駆動しながら、撮像素子によって生成された画像信号から合焦位置を検出する。判定ステップでは、撮像素子によって生成された画像信号から得られる、焦点調整手段の駆動に伴う輝度信号の最大値の変動量前記輝度信号の積算値の変動量を用いて、合焦位置を検出するための画像信号を取得する撮像素子の領域内部に点光源被写体が存在するか否かの判定を行う。そして、合焦位置検出ステップは、判定ステップの判定結果に応じて、異なる態様で行う Moreover, in view of the said subject, the focus adjustment method of this invention has a focus position detection step and a determination step. In the in-focus position detection step, while driving a focus adjustment unit that adjusts the focus of the subject image formed on the image sensor that photoelectrically converts the subject image formed by the photographing optical system to obtain an electrical image signal, The in-focus position is detected from the image signal generated by the image sensor. In the determination step, the in-focus position is detected using the amount of fluctuation of the maximum value of the luminance signal and the amount of fluctuation of the integrated value of the luminance signal that are obtained from the image signal generated by the image sensor and are driven by the focus adjustment unit. It is determined whether or not there is a point light source subject within the area of the image sensor that acquires an image signal for the purpose. And a focus position detection step is performed in a different aspect according to the determination result of the determination step.

本発明によれば、焦点調整手段の駆動に伴う輝度信号の最大値の変動量前記輝度信号の積算値の変動量から点光源被写体の存否の判定を行うため、処理の高速化が可能である。これにより、焦点調整動作に要する時間を延ばすことなく点光源被写体の存否を判定でき、点光源被写体と照明された通常被写体などが混在する場合においても、より正確な焦点調整が可能になる。 According to the present invention, since a determination of presence of the point light source object from the amount of change of the integrated value of the variation amount of the maximum value of the luminance signal with the drive of the focus point adjusting means and the luminance signal, it allows faster processing It is. Thereby, it is possible to determine the presence or absence of a point light source subject without extending the time required for the focus adjustment operation, and even when a point light source subject and an illuminated normal subject are mixed, more accurate focus adjustment can be performed.

図1は、本発明の焦点調整装置の実施例を含む撮像装置のブロック図。FIG. 1 is a block diagram of an imaging apparatus including an embodiment of a focus adjustment apparatus of the present invention. 図2は実施例1の動作手順説明図。FIG. 2 is a diagram for explaining the operation procedure of the first embodiment. 図3は実施例1の第一のスキャンAF処理の動作説明図。FIG. 3 is a diagram for explaining the operation of the first scan AF process according to the first embodiment. 図4は実施例1の第一のスキャンAF処理の概略説明図。FIG. 4 is a schematic explanatory diagram of a first scan AF process according to the first embodiment. 図5は、実施例1の点光源被写体の場合のフォーカス位置によるAF評価値及び第二のスキャンAFの説明図。FIG. 5 is an explanatory diagram of an AF evaluation value based on a focus position and a second scan AF in the case of the point light source subject of the first embodiment. 図6は、実施例1の通常被写体(点光源被写体でない被写体)の場合のフォーカス位置による輝度信号の最大値と積算値の説明図。FIG. 6 is an explanatory diagram of the maximum value and integrated value of the luminance signal according to the focus position in the case of the normal subject (the subject that is not the point light source subject) of the first embodiment. 図7は、実施例1の点光源被写体の場合のフォーカス位置による輝度信号の最大値と積算値の説明図。FIG. 7 is an explanatory diagram of the maximum value and integrated value of the luminance signal depending on the focus position in the case of the point light source subject of the first embodiment. 図8は本発明の焦点調整装置の実施例の点光源被写体判定の動作手順説明図。FIG. 8 is an explanatory diagram of the operation procedure of the point light source subject determination of the embodiment of the focus adjustment apparatus of the present invention. 図9は本発明の焦点調整装置の実施例2の動作手順の説明図。FIG. 9 is an explanatory diagram of an operation procedure of the focus adjustment apparatus according to the second embodiment of the present invention. 図10は実施例2の第三のスキャンAF処理の動作説明図。FIG. 10 is a diagram illustrating the operation of the third scan AF process according to the second embodiment. 図11は実施例2の第四のスキャンAF処理の概略説明図。FIG. 11 is a schematic explanatory diagram of a fourth scan AF process according to the second embodiment.

本発明の特徴は、焦点調整手段の駆動に伴う輝度信号の最大値の変動量前記輝度信号の積算値の変動量を用いて、合焦位置検出用の画像信号を取得する撮像素子の領域内部に点光源被写体が存在するか否かの判定を行い、合焦位置検出は判定結果に応じて異なる態様で行うことにある。この考え方に基づいて、本発明の焦点調整装置及び方法は、上記課題を解決するための手段のところで述べた様な基本的な構成を有する。この基本的な構成の範囲の中で、様々な形態が可能である。例えば、点光源被写体の存在時に、前記判定を行う為に輝度信号の最大値と積算値を取得する際に得た合焦位置検出用の画像信号を用いて行った合焦位置検出で得られた合焦位置の近傍で、再度、焦点調整手段を駆動しながら、画像信号から合焦位置を検出する。後述の実施例1、2では、この様に構成されていて、合焦位置検出のために第二のスキャンAFを行っている。この場合に、前記再度の駆動における焦点調整手段の複数の駆動位置の間隔は、前記判定における焦点調整手段の複数の駆動位置の間隔(すなわち、後述の第一または第三のスキャンAFにおける間隔)より細かい。 A feature of the present invention is that the region of the image sensor that acquires the image signal for detecting the in-focus position using the variation amount of the maximum value of the luminance signal and the variation amount of the integrated value of the luminance signal due to the driving of the focus adjustment unit. It is determined whether or not there is a point light source subject inside, and in-focus position detection is performed in a different manner depending on the determination result. Based on this concept, the focus adjustment apparatus and method of the present invention have the basic configuration as described in the section for solving the above-mentioned problems. Various forms are possible within the scope of this basic configuration. For example, in the presence of a point light source subject, it can be obtained by in-focus position detection using an image signal for in-focus position detection obtained when acquiring the maximum value and integrated value of the luminance signal for performing the determination. In the vicinity of the in-focus position, the in-focus position is detected from the image signal while driving the focus adjusting unit again. In Examples 1 and 2 to be described later, the second scan AF is performed to detect the in-focus position. In this case, the interval between the plurality of drive positions of the focus adjustment unit in the second drive is the interval between the plurality of drive positions of the focus adjustment unit in the determination (that is, the interval in the first or third scan AF described later). Finer.

また、レリーズスイッチなどの指示受付手段を有し、前記判定は、指示受付手段による撮影準備の指示以前に、合焦位置の検出における焦点調整手段の複数の駆動位置の間隔より粗い間隔で輝度信号の最大値と積算値を取得して行う様に構成することができる。後述の実施例2では、この様に構成されていて、前記判定のために第三のスキャンAFを行っている。この場合、指示受付手段による撮影準備の指示後に、前記判定において取得した合焦位置検出用の画像信号を用いて行った合焦位置検出で得られた合焦位置の近傍で、再度、焦点調整手段を駆動しながら、画像信号から合焦位置を検出する。後述の実施例2では、この為に、第四のスキャンAF(点光源被写体の非存在時)または第二のスキャンAF(点光源被写体の存在時)を行っている。より具体的には、この形態では、撮影準備動作指示前に、第一のスキャンAF処理より粗い間隔でAF評価値(合焦位置を検出するための画像信号を信号処理した評価値)及び輝度信号の最大値と積算値を取得する第三のスキャンAF処理を行う。そして、前記領域内に点光源被写体が存在しAFに弊害を与えるか否かを判断する。点光源被写体が存在せずAFに弊害を与えないと判断された場合は、次の様にする。すなわち、撮影準備動作指示後に、第三のスキャンAF処理で得られた仮の合焦位置近傍で、第三のスキャンAF処理のスキャン範囲より狭い範囲を第一のスキャンAF処理と同様の間隔でAF評価値を取得する第四のスキャンAF処理を実行し、合焦位置を求める。一方、点光源被写体が存在してAFに弊害を与えると判断された場合は、撮影準備動作指示後に、第二のスキャンAF処理を実行し、合焦位置を求める。 In addition, an instruction receiving unit such as a release switch is provided. The maximum value and integrated value can be obtained and performed. In the second embodiment to be described later, the third scan AF is performed for the above-described determination. In this case, the focus adjustment is again performed in the vicinity of the in-focus position obtained by the in-focus position detection performed using the in-focus position detection image signal acquired in the determination after the instruction accepting instruction is issued. The in-focus position is detected from the image signal while driving the means. In Example 2 to be described later, for this purpose, the fourth scan AF (when the point light source subject is not present) or the second scan AF (when the point light source subject is present) is performed. More specifically, in this embodiment, before an imaging preparation operation instruction, AF evaluation values (evaluation values obtained by performing signal processing on an image signal for detecting an in-focus position) and luminance at coarser intervals than in the first scan AF processing A third scan AF process for obtaining the maximum value and integrated value of the signal is performed. Then, it is determined whether or not a point light source subject exists in the area and adversely affects AF. When it is determined that there is no point light source subject and the AF is not adversely affected, the following is performed. That is, after instructing the shooting preparation operation, a range narrower than the scan range of the third scan AF process in the vicinity of the temporary in-focus position obtained by the third scan AF process is set at the same interval as the first scan AF process. A fourth scan AF process for acquiring the AF evaluation value is executed to obtain the in-focus position. On the other hand, if it is determined that there is a point light source subject and the AF is adversely affected, the second scan AF process is executed after the shooting preparation operation instruction and the in-focus position is obtained.

また、前記領域内部に点光源被写体が存在しない場合に、前記判定を行う為に輝度信号の最大値と積算値を取得する際に取得した合焦位置を検出するための画像信号を用いて合焦位置の検出を行う様に構成することができる。後述の実施例1では、この様に構成されていて、第一のスキャンAFはこの合焦位置検出のためにもなっている。このスキャンAFは、従来の通常のAF動作と同様の間隔で行うことができ、これにより前記判定を行い、点光源被写体が存在せずAFに弊害を与えないと判断された場合は、第一のスキャンAF処理で得られたAF評価値から合焦位置を求める。 In addition, when there is no point light source subject in the area, the image signal for detecting the in-focus position acquired when acquiring the maximum value and integrated value of the luminance signal for performing the determination is used. It can be configured to detect the focal position. In Example 1 to be described later, this is configured, and the first scan AF is also used for detecting the in-focus position. This scan AF can be performed at the same interval as the conventional normal AF operation. With this determination, if it is determined that there is no point light source subject and the AF is not adversely affected, The in-focus position is obtained from the AF evaluation value obtained by the scan AF process.

上記の如き形態により、点光源被写体と照明された通常被写体などが混在するか否かをAFに要する時間を延ばすことなく判定することができ、更に点光源被写体と照明された通常被写体が混在する場合においても、より正確な焦点調整が可能になる。また、AF中のLCDの見栄えを向上することもできる。更に、点光源被写体判定時に輝度信号のヒストグラム(各輝度に対する画素数の一覧)の作成などを行わず、異なる焦点調整手段の駆動位置における輝度信号の最大値と積算値から点光源被写体判定(点光源被写体がAFに弊害を与えるか否かの判定)を行う。そのため、処理の高速化が可能であり、点光源被写体判定を行う領域と自動焦点調整を行う領域が完全に一致するため点光源被写体判定の信頼性が向上する。 With the configuration as described above, it is possible to determine whether or not the point light source subject and the illuminated normal subject are mixed without extending the time required for AF, and the point light source subject and the illuminated normal subject are mixed. Even in this case, more accurate focus adjustment is possible. Also, the appearance of the LCD during AF can be improved. In addition, when generating a point light source subject, a luminance signal histogram (a list of the number of pixels for each luminance) is not created, and point light source subject determination (points) is made based on the maximum value and integrated value of the luminance signal at different driving positions of the focus adjusting means. Determination as to whether or not the light source subject is harmful to AF). Therefore, the processing speed can be increased, and the point light source subject determination reliability is improved because the region where the point light source subject determination is performed and the region where the automatic focus adjustment is performed completely coincide with each other.

以下、具体的な実施例を説明する。
(実施例1)
図1に本発明の実施例1を含む装置のブロック図を示す。1は撮像装置、2はズームレンズ群、3はフォーカスレンズ群である。4は、ズームレンズ群2、フォーカスレンズ群3等からなる撮影光学系を透過する光束の量を制御する光量調節手段であり露出手段である絞り、31は、ズームレンズ群2、フォーカスレンズ群3、絞り4等からなる撮影レンズ鏡筒である。5は、撮影光学系を透過した被写体像が結像し、これを光電変換する固体撮像素子(以下CCDとも記す)である。6は、このCCD5によって光電変換された電気信号を受けて各種の画像処理を施すことにより所定の画像信号を生成する撮像回路、7は、この撮像回路6により生成されたアナログ画像信号をデジタル画像信号に変化するA/D変換回路である。8は、このA/D変換回路7の出力を受けてこの画像信号を一時的に記憶するバッファメモリ等のメモリ(VRAM)である。9は、VRAM8に記憶された画像信号を読み出してこれをアナログ信号に変換すると共に再生出力に適する形態の画像信号に変換するD/A変換回路、10はこの画像信号を表示する液晶表示装置(LCD)等の画像表示装置(以下LCDとも記す。)である。
Hereinafter, specific examples will be described.
Example 1
FIG. 1 shows a block diagram of an apparatus including Embodiment 1 of the present invention. Reference numeral 1 denotes an imaging device, 2 denotes a zoom lens group, and 3 denotes a focus lens group. Reference numeral 4 denotes a light amount adjusting means for controlling the amount of light beam transmitted through the photographing optical system including the zoom lens group 2, the focus lens group 3 and the like, and a diaphragm as an exposure means. Reference numeral 31 denotes the zoom lens group 2 and the focus lens group 3. This is a taking lens barrel including an aperture 4 and the like. Reference numeral 5 denotes a solid-state image sensor (hereinafter also referred to as a CCD) that forms a subject image that has passed through the photographing optical system and photoelectrically converts it. Reference numeral 6 denotes an imaging circuit that receives an electrical signal photoelectrically converted by the CCD 5 and performs various image processing to generate a predetermined image signal. Reference numeral 7 denotes an analog image signal generated by the imaging circuit 6 as a digital image. It is an A / D conversion circuit that changes to a signal. Reference numeral 8 denotes a memory (VRAM) such as a buffer memory that receives the output of the A / D conversion circuit 7 and temporarily stores the image signal. Reference numeral 9 denotes a D / A conversion circuit that reads out an image signal stored in the VRAM 8 and converts it into an analog signal and converts it into an image signal in a form suitable for reproduction output. Reference numeral 10 denotes a liquid crystal display device that displays this image signal ( An image display device (hereinafter also referred to as LCD).

12は、半導体メモリ等からなる画像データを記憶する記憶用メモリである。11は、圧縮回路及び伸長回路からなる圧縮伸長回路である。この圧縮回路は、VRAM8に一時記憶された画像信号を読み出して記憶用メモリ12に対する記憶に適した形態にする為に画像データの圧縮処理や符号化処理を施す。この伸長回路は、記憶用メモリ12に記憶された画像データを再生表示等するのに最適な形態とするための復号化処理や伸長処理等を施す。13は、A/D変換回路7からの出力を受けて自動露出(AE)処理を行うAE処理回路、14は、A/D変換回路7からの出力を受けてAF評価値を生成する自動焦点調整(AF)処理を行うスキャンAF処理回路である。15は、合焦位置検出手段などをなし撮像装置1の制御を行う演算用のメモリを内蔵したCPUである。16は、所定のタイミング信号を発生するタイミングジェネレータ(以下TG)、17はCCDドライバーである。21は、絞り4を駆動する絞り駆動モータ、18は、絞り駆動モータ21を駆動制御する第一モータ駆動回路である。22は、フォーカスレンズ群3を駆動するフォーカス駆動モータ、19は、フォーカス駆動モータ22を駆動制御する第二モータ駆動回路である。23は、ズームスレンズ群2を駆動するズーム駆動モータ、20は、ズーム駆動モータ23を駆動制御する第三モータ駆動回路である。24は、各種のスイッチ群からなる操作スイッチ、25は各種制御等を行うプログラムや各種動作を行わせる為に使用するデータ等が予め記憶されている電気的に書き換え可能な読み出し専用メモリであるEEPROMである。26は電池、28はストロボ発光部、27は、ストロボ発光部28の閃光発光を制御するスイッチング回路である。29は、警告表示などを行うLEDなどの表示素子、30は、音声によるガイダンスや警告などを行うためのスピーカーである。33は、AF評価値を取得する際に被写体の全部又は一部を照明する照明手段であるLEDなどの光源で構成されるAF補助光、32は、AF補助光33を駆動するためのAF補助光駆動回路である。35は、手振れなどを検出する振れ検出センサー、34は、振れ検出センサー35の信号を処理する振れ検出回路、36は、A/D変換回路7からの出力を受けて画面上での顔位置や顔の大きさなどを検出する顔検出回路である。 A storage memory 12 stores image data including a semiconductor memory. A compression / decompression circuit 11 includes a compression circuit and an expansion circuit. This compression circuit reads the image signal temporarily stored in the VRAM 8 and performs compression processing and encoding processing of the image data in order to make it suitable for storage in the storage memory 12. The decompression circuit performs a decoding process, a decompression process, and the like for making the image data stored in the storage memory 12 into an optimum form for reproducing and displaying. Reference numeral 13 denotes an AE processing circuit that receives an output from the A / D conversion circuit 7 and performs automatic exposure (AE) processing. Reference numeral 14 denotes an automatic focus that receives an output from the A / D conversion circuit 7 and generates an AF evaluation value. It is a scan AF processing circuit that performs adjustment (AF) processing. Reference numeral 15 denotes a CPU that includes a calculation memory that controls the image pickup apparatus 1 and that includes a focus position detection unit. Reference numeral 16 denotes a timing generator (hereinafter referred to as TG) that generates a predetermined timing signal, and reference numeral 17 denotes a CCD driver. Reference numeral 21 denotes an aperture drive motor that drives the aperture 4, and 18 denotes a first motor drive circuit that drives and controls the aperture drive motor 21. Reference numeral 22 denotes a focus drive motor that drives the focus lens group 3, and reference numeral 19 denotes a second motor drive circuit that drives and controls the focus drive motor 22. Reference numeral 23 denotes a zoom drive motor that drives the zoom lens group 2, and reference numeral 20 denotes a third motor drive circuit that drives and controls the zoom drive motor 23. 24 is an operation switch comprising various switch groups, 25 is an electrically rewritable read-only memory in which programs for performing various controls and data used for performing various operations are stored in advance It is. Reference numeral 26 denotes a battery, 28 denotes a strobe light emitting unit, and 27 denotes a switching circuit that controls flash emission of the strobe light emitting unit 28. Reference numeral 29 denotes a display element such as an LED for performing warning display, and 30 denotes a speaker for performing voice guidance or warning. Reference numeral 33 denotes AF auxiliary light composed of a light source such as an LED, which is an illuminating means for illuminating all or part of the subject when the AF evaluation value is acquired, and reference numeral 32 denotes AF auxiliary light for driving the AF auxiliary light 33. This is an optical drive circuit. Reference numeral 35 denotes a shake detection sensor that detects camera shake, 34 denotes a shake detection circuit that processes a signal of the shake detection sensor 35, and 36 receives an output from the A / D conversion circuit 7 and receives a face position on the screen. It is a face detection circuit that detects the size of a face.

画像データ等の記憶媒体である記憶用メモリとしては、フラッシュメモリ等の固定型の半導体メモリや、カード形状やスティック形状からなり装置に対して着脱自在に形成されるカード型フラッシュメモリ等の半導体メモリが適用される。その他、ハードディスクやフロッピィーディスク等の磁気記憶媒体等、様々な形態のものが適用される。また、操作スイッチ24としては、撮像装置1を起動させ電源供給を行うための主電源スイッチや撮影動作(記憶動作)等を開始させるレリーズスイッチがある。その他、再生動作を開始させる再生スイッチ、撮影光学系のズームレンズ群2を移動させズームを行わせるズームスイッチ、光学式ファインダー(OVF)、電子ビューファインダー(EVF)切り替えスイッチ等がある。そして、レリーズスイッチは、撮影動作に先立ち行われるAE処理、AF処理を開始させる指示信号を発生する第一ストローク(以下SW1)と実際の露光動作を開始させる指示信号を発生する第二ストローク(以下SW2)との二段スイッチにより構成される。 As a storage memory that is a storage medium for image data or the like, a fixed type semiconductor memory such as a flash memory or a semiconductor memory such as a card type flash memory that has a card shape or a stick shape and is detachable from the device Applies. In addition, various forms such as a magnetic storage medium such as a hard disk or a floppy disk are applied. The operation switch 24 includes a main power switch for starting the imaging apparatus 1 and supplying power, and a release switch for starting a photographing operation (storage operation). In addition, there are a playback switch for starting a playback operation, a zoom switch for moving the zoom lens group 2 of the photographing optical system to perform zooming, an optical viewfinder (OVF), an electronic viewfinder (EVF) changeover switch, and the like. The release switch has a first stroke (hereinafter referred to as SW1) for generating an instruction signal for starting an AE process and an AF process performed prior to the photographing operation and a second stroke (hereinafter referred to as an instruction signal for starting an actual exposure operation). SW2) and a two-stage switch.

この様に構成された本実施例における動作を以下に説明する。
まず、撮像装置1の撮影レンズ鏡筒31を透過した被写体光束は絞り部4によってその光量が調整された後、CCD5の受光面に結像される。この被写体像は、CCD5による光電変換処理により電気的な信号に変換され、撮像回路6に出力される。撮像回路6では、入力した信号に対して各種の信号処理が施され、所定の画像信号が生成される。この画像信号は、A/D変換回路7に出力されデジタル信号(画像データ)に変換された後、VRAM8に一時的に格納される。VRAM8に格納された画像データは、D/A変換回路9へ出力されアナログ信号に変換され表示するのに適した形態の画像信号に変換された後、LCDに画像として表示される。一方、VRAM8に格納された画像データは圧縮伸長回路11にも出力される。この圧縮伸長回路11における圧縮回路によって圧縮処理が行われた後、記憶に適した形態の画像データに変換され、記憶用メモリ12に記憶される。
The operation in this embodiment configured as described above will be described below.
First, the light flux of the subject that has passed through the taking lens barrel 31 of the image pickup apparatus 1 is adjusted on the light amount by the diaphragm 4 and then imaged on the light receiving surface of the CCD 5. This subject image is converted into an electrical signal by photoelectric conversion processing by the CCD 5 and output to the imaging circuit 6. In the imaging circuit 6, various signal processing is performed on the input signal, and a predetermined image signal is generated. This image signal is output to the A / D conversion circuit 7 and converted into a digital signal (image data), and then temporarily stored in the VRAM 8. The image data stored in the VRAM 8 is output to the D / A conversion circuit 9, converted into an analog signal, converted into an image signal in a form suitable for display, and then displayed as an image on the LCD. On the other hand, the image data stored in the VRAM 8 is also output to the compression / decompression circuit 11. After compression processing is performed by the compression circuit in the compression / decompression circuit 11, it is converted into image data in a form suitable for storage and stored in the storage memory 12.

また、例えば、操作スイッチ24のうち不図示の再生スイッチが操作されオン状態になると、再生動作が開始される。すると、記憶用メモリ12に圧縮された形で記憶された画像データは圧縮伸長回路11に出力され、伸長回路において復号化処理や伸長処理等が施された後、VRAM8に出力され一時的に記憶される。更に、この画像データは、D/A変換回路9へ出力されアナログ信号に変換され表示するのに適した形態の画像信号に変換された後、LCD10に画像として表示される。他方、A/D変換回路7によってデジタル化された画像データは、上述のVRAM8とは別に、AE処理回路13、スキャンAF処理回路14及び顔検出回路36に対しても出力される。まず、撮影光学系より入射する光束の明るさを測定する明るさ測定手段をなすAE処理回路13においては、入力されたデジタル画像信号を受けて、一画面分の画像データの輝度値に対して累積加算等の演算処理が行われる。これにより、被写体の明るさに応じたAE評価値が算出される。このAE評価値はCPU15に出力される。 Further, for example, when a reproduction switch (not shown) of the operation switches 24 is operated and turned on, the reproduction operation is started. Then, the image data stored in the compressed form in the storage memory 12 is output to the compression / expansion circuit 11, subjected to decoding processing, expansion processing, etc. in the expansion circuit, and then output to the VRAM 8 for temporary storage. Is done. Further, the image data is output to the D / A conversion circuit 9, converted into an analog signal, converted into an image signal having a form suitable for display, and then displayed on the LCD 10 as an image. On the other hand, the image data digitized by the A / D conversion circuit 7 is also output to the AE processing circuit 13, the scan AF processing circuit 14, and the face detection circuit 36 separately from the VRAM 8 described above. First, in the AE processing circuit 13 serving as a brightness measuring means for measuring the brightness of the light beam incident from the photographing optical system, the input digital image signal is received and the brightness value of the image data for one screen is obtained. Arithmetic processing such as cumulative addition is performed. Thereby, the AE evaluation value corresponding to the brightness of the subject is calculated. This AE evaluation value is output to the CPU 15.

また、合焦位置検出手段をなすスキャンAF処理回路14では、入力されたデジタル画像信号を受けて、画像データの高周波成分がハイパスフィルター(HPF)等を介して抽出される。そして、更に累積加算等の演算処理を行い、高域側の輪郭成分量等に対応するAF評価値信号が算出される。具体的には、スキャンAF処理では、AF領域として指定された画面の一部分の領域に相当する画像データの高周波成分をハイパスフィルター(HPF)等を介して抽出し、更に累積加算等の演算処理を行う。これにより、高域側の輪郭成分量等に対応するAF評価値信号が算出される。このAF領域としては、中央部分あるいは画面上の任意の部分の一箇所である場合や、中央部分あるいは画面上の任意の部分とそれに隣接する複数箇所である場合、離散的に分布する複数箇所である場合などがある。この様にスキャンAF処理回路14は、AF処理を行う過程において、CCD5によって生成された画像信号から所定の高周波成分を検出する高周波成分検出手段の役割を担っている。 Further, the scan AF processing circuit 14 serving as a focus position detection means receives the input digital image signal and extracts a high frequency component of the image data through a high pass filter (HPF) or the like. Then, arithmetic processing such as cumulative addition is further performed to calculate an AF evaluation value signal corresponding to the contour component amount on the high frequency side. Specifically, in the scan AF process, high-frequency components of image data corresponding to a partial area of the screen designated as the AF area are extracted through a high-pass filter (HPF) or the like, and an arithmetic process such as cumulative addition is performed. Do. Thereby, an AF evaluation value signal corresponding to the contour component amount on the high frequency side and the like is calculated. As this AF area, when it is one place in the central part or any part on the screen, or when it is a central part or any part on the screen and a plurality of adjacent parts, a plurality of points distributed discretely are used. There are cases. In this way, the scan AF processing circuit 14 plays a role of high frequency component detection means for detecting a predetermined high frequency component from the image signal generated by the CCD 5 in the process of performing the AF processing.

顔検出回路36においては、入力されたデジタル画像信号を受けて、目、眉などの顔を特徴付ける部分を画像上で探索し、人物の顔の画像上での位置を求める。更に、顔の大きさや傾きなどを、顔を特徴付ける部分の間隔などの位置関係から求める。 The face detection circuit 36 receives the input digital image signal, searches the image for a part characterizing the face such as eyes and eyebrows, and obtains the position of the person's face on the image. Further, the size and inclination of the face are obtained from the positional relationship such as the interval between the parts characterizing the face.

一方、TG16からは所定のタイミング信号が、CPU15、撮像回路6、CCDドライバー17へ出力されており、CPU15はこのタイミング信号に同期させて各種の制御を行う。また撮像回路6は、TG16からのタイミング信号を受け、これに同期させて色信号の分離等の各種画像処理を行う。さらにCCDドライバー17は、TG16のタイミング信号を受け、これに同期してCCD5を駆動する。またCPU15は、第一モータ駆動回路18、第二モータ駆動回路19、第三モータ駆動回路20をそれぞれ制御する。これにより、絞り駆動モータ21、フォーカス駆動モータ22、ズーム駆動モータ23を介して、絞り4、フォーカスレンズ群3、ズームスレンズ群2を駆動制御する。すなわち、CPU15は、AE処理回路13において算出されたAE評価値等に基づき第一モータ駆動回路18を制御して絞り駆動モータ21を駆動し、絞り4の絞り量を適正になるように調整するAE制御を行う。またCPU15は、スキャンAF処理回路14において算出されるAF評価値信号に基づき第二モータ駆動回路19を制御してフォーカス駆動モータ22を駆動し、フォーカスレンズ群3を合焦位置に移動させるAF制御を行う。また、操作スイッチ24のうち不図示のズームスイッチが操作された場合は、これを受けてCPU15は、第三モータ駆動回路20を制御してズームモータ23を駆動制御することによりズームレンズ群2を移動させ、撮影光学系の変倍動作(ズーム動作)を行う。 On the other hand, a predetermined timing signal is output from the TG 16 to the CPU 15, the imaging circuit 6, and the CCD driver 17, and the CPU 15 performs various controls in synchronization with this timing signal. The imaging circuit 6 receives the timing signal from the TG 16 and performs various image processing such as separation of color signals in synchronization with the timing signal. Further, the CCD driver 17 receives the timing signal of the TG 16 and drives the CCD 5 in synchronization therewith. The CPU 15 controls the first motor drive circuit 18, the second motor drive circuit 19, and the third motor drive circuit 20, respectively. Thereby, the diaphragm 4, the focus lens group 3, and the zoom lens group 2 are driven and controlled via the diaphragm drive motor 21, the focus drive motor 22, and the zoom drive motor 23. That is, the CPU 15 controls the first motor drive circuit 18 based on the AE evaluation value calculated by the AE processing circuit 13 to drive the aperture drive motor 21 and adjust the aperture amount of the aperture 4 so as to be appropriate. AE control is performed. Further, the CPU 15 controls the second motor drive circuit 19 based on the AF evaluation value signal calculated by the scan AF processing circuit 14 to drive the focus drive motor 22 to move the focus lens group 3 to the in-focus position. I do. When a zoom switch (not shown) among the operation switches 24 is operated, the CPU 15 controls the zoom motor group 23 by controlling the third motor drive circuit 20 to drive the zoom motor 23. The zooming operation is performed for the photographing optical system.

次に、本撮像装置の実際の撮影動作を図2に示すフローチャートを用いて説明する。なお、この説明においては、フォーカスレンズ群3を所定位置に駆動しながらAF評価値を取得する動作をスキャン、AF評価値を取得するフォーカスレンズの位置の間隔をスキャン間隔と言うものとする。また、AF評価値を取得する位置をスキャンポイント、AF評価値を取得する数をスキャンポイント数、AF評価値を取得する範囲をスキャン範囲、合焦位置を検出するための画像信号を取得する領域をAF枠と言うものとする。 Next, the actual shooting operation of the imaging apparatus will be described with reference to the flowchart shown in FIG. In this description, the operation of acquiring the AF evaluation value while driving the focus lens group 3 to a predetermined position is referred to as scanning, and the interval of the position of the focus lens for acquiring the AF evaluation value is referred to as scanning interval. Further, the position for acquiring the AF evaluation value is the scan point, the number of the AF evaluation value is acquired as the number of scan points, the range for acquiring the AF evaluation value is the scan range, and the area for acquiring the image signal for detecting the in-focus position Is referred to as an AF frame.

本撮像装置1の主電源スイッチがオン状態であり、かつ撮像装置の動作モードが撮影(録画)モードにあるときは、撮影処理シーケンスが実行され、CCD5等への電源の供給等をして撮像を可能にする。まずステップS1において、CPU15は、撮影レンズ鏡筒31を透過しCCD5上に結像した像をLCDに画像として表示する。すなわちCCD5上に結像した被写体像は、CCD5により光電変換処理され電気的な信号に変換された後、撮像回路6に出力される。そこで、入力した信号に対して各種の信号処理が施され、所定の画像信号が生成された後、A/D変換回路7に出力されデジタル信号(画像データ)に変換されVRAM8に一時的に格納される。VRAM8に格納された画像データはD/A変換回路9へ出力されてアナログ信号に変換され表示するのに適した形態の画像信号に変換された後、LCDに画像として表示される。 When the main power switch of the image pickup apparatus 1 is in the on state and the operation mode of the image pickup apparatus is in the shooting (recording) mode, a shooting processing sequence is executed and imaging is performed by supplying power to the CCD 5 or the like. Enable. First, in step S1, the CPU 15 displays an image formed on the CCD 5 through the photographing lens barrel 31 as an image on the LCD. That is, the subject image formed on the CCD 5 is photoelectrically converted by the CCD 5 and converted into an electrical signal, and then output to the imaging circuit 6. Therefore, various signal processing is performed on the input signal to generate a predetermined image signal, which is then output to the A / D conversion circuit 7 to be converted into a digital signal (image data) and temporarily stored in the VRAM 8. Is done. The image data stored in the VRAM 8 is output to the D / A conversion circuit 9, converted into an analog signal, converted into an image signal in a form suitable for display, and then displayed as an image on the LCD.

次いでステップS2において、レリーズスイッチの状態を確認する。撮影者によってレリーズスイッチが操作され、SW1(レリーズスイッチの第一ストローク)がオン状態になったことをCPU15が確認すると、撮影準備動作を開始する。すなわち、次のステップS3に進み、通常のAE処理が実行される。続いて、ステップS4において第一のスキャンAF処理を行う。そしてステップS5において、第一のスキャンAF処理で取得した複数のフォーカスレンズ群3の位置における輝度信号の積算値と最大値などから点光源被写体か否かを判定する。ステップS5で、点光源被写体と判定された場合は、スッテプS6の第二のスキャンAF処理を実行する。ステップS4、S5、S6の処理については後述する。 Next, in step S2, the state of the release switch is confirmed. When the release switch is operated by the photographer and the CPU 15 confirms that SW1 (first stroke of the release switch) is turned on, the shooting preparation operation is started. That is, the process proceeds to the next step S3, and normal AE processing is executed. Subsequently, a first scan AF process is performed in step S4. In step S5, it is determined whether or not the subject is a point light source subject from the integrated value and maximum value of the luminance signal at the positions of the plurality of focus lens groups 3 acquired in the first scan AF process. If it is determined in step S5 that the subject is a point light source subject, the second scan AF process in step S6 is executed. Steps S4, S5, and S6 will be described later.

そしてステップS7において、合焦可能性の判断及び合焦位置算出を行う。通常被写体(点光源などの飽和被写体でない被写体)と判定された場合に関しては、合焦可能性判断の具体的な方法は、例えば、特許第4235422号公報に記載され、合焦位置算出の具体的な方法は、例えば、特許第2620235号公報に記載されている。これらの方法は、本発明に直接的には関係しないので説明を省略する。点光源被写体と判定された場合に関しては後述する。点光源と判定され、スッテプS6の第二のスキャンAF処理を実行した場合についても後述する。 In step S7, the focus possibility is determined and the focus position is calculated. For a case where it is determined that the subject is a normal subject (a subject that is not a saturated subject such as a point light source), a specific method for determining the possibility of focusing is described in, for example, Japanese Patent No. 4235422, and a specific method for calculating a focusing position is described. Such a method is described in, for example, Japanese Patent No. 2620235. Since these methods are not directly related to the present invention, description thereof is omitted. A case where the point light source subject is determined will be described later. A case where it is determined as a point light source and the second scan AF process of step S6 is executed will also be described later.

ステップS7で合焦可能と判断されれば、ステップS8においてAFOK表示を行う。これは、表示素子29を点灯することなどにより行うと同時にLCD上に緑の枠を表示するなどの処理により行う。逆に合焦可能と判断されない場合には、ステップS8にてAFNG表示を行う。これは、表示素子29を点滅表示することなどにより行うと同時にLCD上に黄色の枠を表示するなどの処理により行う。またステップS4の第一のスキャンAF処理において、合焦不可能と判断された場合は、ステップS5〜S7の処理は行わず、スッテプS8にてAFNG表示を行う。CPU15は、ステップS9において、SW2(レリーズスイッチの第二ストローク)の確認を行い、SW2がオンになっていたならば、ステップS10に進み、実際の露光処理を実行する。 If it is determined in step S7 that focusing is possible, AFOK display is performed in step S8. This is performed by, for example, turning on the display element 29 and simultaneously displaying a green frame on the LCD. Conversely, if it is not determined that focusing is possible, AFNG display is performed in step S8. This is performed by, for example, displaying the blinking display element 29 and simultaneously displaying a yellow frame on the LCD. If it is determined in the first scan AF process in step S4 that focusing is impossible, the processes in steps S5 to S7 are not performed, and AFNG display is performed in step S8. In step S9, the CPU 15 checks SW2 (second stroke of the release switch). If SW2 is on, the CPU 15 proceeds to step S10 and executes actual exposure processing.

ステップS4で行われる第一のスキャンAF処理を、図3を用いて説明する。第一のスキャンAF処理は、AF評価値、CCD5により生成される画像信号のAF枠内における全画素の出力(輝度信号)の最大値、AF枠の全画素の出力(輝度信号)の積算値をフォーカスレンズ群3を所定のスキャン間隔で移動しながら取得する処理である。AF評価値は、CCD5によって生成された画像信号から出力される高周波成分の信号値である。このスキャン間隔は、開放深度の3〜5倍程度に設定され、AF評価値のピークを検出するのに適した間隔である。またそのスキャン範囲は、原則として、無限遠に相当する位置(例えば図4における「A」)から各々の撮影モードにおいて設定される至近距離に相当する位置(図4における「B」)までである。 The first scan AF process performed in step S4 will be described with reference to FIG. The first scan AF process includes an AF evaluation value, a maximum value of the output (luminance signal) of all pixels in the AF frame of the image signal generated by the CCD 5, and an integrated value of the output (luminance signal) of all pixels of the AF frame. Is obtained by moving the focus lens group 3 at a predetermined scan interval. The AF evaluation value is a signal value of a high frequency component output from the image signal generated by the CCD 5. This scan interval is set to about 3 to 5 times the open depth, and is an interval suitable for detecting the peak of the AF evaluation value. The scan range is, in principle, from a position corresponding to infinity (for example, “A” in FIG. 4) to a position corresponding to the closest distance set in each photographing mode (“B” in FIG. 4). .

まずステップS301において、CPU15はフォーカス駆動モータ22を駆動制御する第二モータ駆動回路19を介してこのモータ22を制御し、フォーカスレンズ群3を無限遠に相当する位置(図4における「A」)へ駆動する。この駆動速度は、フォーカス駆動モータ22の最高速度若しくは最高速度に近い速度である。ステップS302では、撮影領域内に設定されるAF枠に対応する領域のAF評価値とフォーカスレンズ群3の位置をCPU15に内蔵される演算メモリ(不図示)に記憶する。ステップS303では、撮影領域内に設定されるAF枠に対応する領域の信号出力(輝度信号)の最大値、最小値、積算値を求め、フォーカスレンズ群3の位置と共にCPU15に内蔵される演算メモリに記憶する。ステップS304では、レンズ位置がスキャン終了位置にあるかどうかを調べ、終了位置であればステップS306へ、そうでなければステップS305へ進む。スキャン終了位置は、各々の撮影モードにおいて設定される至近距離に相当する位置(図4における「B」)である。ステップS305ではフォーカスレンズ群3を駆動して所定の方向へ所定量動かす。ステップS306では、ステップS302で記憶したAF評価値とそのレンズ位置から、AF評価値が最大となる位置に対応するフォーカスレンズ群3の位置を計算する。このAF処理回路の出力の取得は、スキャンAFの高速化の為に、全てのフォーカスレンズ群3の停止位置については行わず、所定にステップ毎に行う。例えば、図4に示すa1、a2、a3の点においてAF評価値信号を取得することがあり得る。なお、図4に示すa1、a2、a3などのスキャンポイントは、横軸方向の間隔は正確に描いているが縦軸方向の値は大まかであって大体の変化を示すのみである(この点は、後述する図面で描かれているスキャンポイントについても同様である)。 First, in step S301, the CPU 15 controls the motor 22 via the second motor drive circuit 19 that drives and controls the focus drive motor 22, and moves the focus lens group 3 to a position corresponding to infinity ("A" in FIG. 4). Drive to. This drive speed is the maximum speed of the focus drive motor 22 or a speed close to the maximum speed. In step S302, the AF evaluation value of the area corresponding to the AF frame set in the photographing area and the position of the focus lens group 3 are stored in a calculation memory (not shown) built in the CPU 15. In step S303, the maximum value, minimum value, and integrated value of the signal output (luminance signal) in the area corresponding to the AF frame set in the photographing area are obtained, and the calculation memory built in the CPU 15 together with the position of the focus lens group 3 is obtained. To remember. In step S304, it is checked whether or not the lens position is at the scan end position. If it is the end position, the process proceeds to step S306, and if not, the process proceeds to step S305. The scan end position is a position (“B” in FIG. 4) corresponding to the closest distance set in each photographing mode. In step S305, the focus lens group 3 is driven and moved in a predetermined direction by a predetermined amount. In step S306, the position of the focus lens group 3 corresponding to the position where the AF evaluation value is maximized is calculated from the AF evaluation value stored in step S302 and its lens position. Acquisition of the output of the AF processing circuit is not performed for all the stop positions of the focus lens group 3 but for each predetermined step for speeding up the scan AF. For example, the AF evaluation value signal may be acquired at points a1, a2, and a3 shown in FIG. Note that the scan points such as a1, a2, and a3 shown in FIG. 4 are drawn accurately in the interval in the horizontal axis direction, but the values in the vertical axis direction are rough and only show a substantial change (this point). The same applies to scan points drawn in the drawings described later).

このような場合は、AF評価値信号が最大値となった点とその前後の点のから合焦位置Cを計算にて求めている。この様に補間計算を行いAF評価値信号が最大値となる点(図4のC)を求める前に、AF評価値信号の信頼性を評価することもできる。この具体的な方法は、例えば、特許第4235422号公報に記載されている。この合焦評価値の信頼性は、例えば、各結像位置に対する合焦評価値の形状が山状か否かに基づいて判定される。 In such a case, the in-focus position C is obtained by calculation from the point where the AF evaluation value signal becomes the maximum value and the points before and after the point. In this way, the reliability of the AF evaluation value signal can be evaluated before the point (C in FIG. 4) where the AF evaluation value signal has the maximum value is obtained by performing the interpolation calculation. This specific method is described in, for example, Japanese Patent No. 4235422. The reliability of the focus evaluation value is determined based on, for example, whether or not the shape of the focus evaluation value for each imaging position is a mountain shape.

その信頼性が十分であれば、AF評価値信号が最大値となる点を求める。信頼性が十分でない場合はAF評価値信号が最大値となる点を求める処理は行わず、前述の様に図2のステップS5〜S7の処理は行わず、図2のスッテプS8にてAFNG表示を行う。第一のスキャンAF処理においてAF評価値が最大となる位置に対応するフォーカスレンズ群3の位置が求まった場合は、図2のステップS5において点光源判定を行う。 If the reliability is sufficient, a point at which the AF evaluation value signal becomes the maximum value is obtained. If the reliability is not sufficient, the process for obtaining the point at which the AF evaluation value signal becomes the maximum value is not performed. As described above, the processes in steps S5 to S7 in FIG. 2 are not performed, and the AFNG display is performed in step S8 in FIG. I do. When the position of the focus lens group 3 corresponding to the position where the AF evaluation value is maximum is obtained in the first scan AF process, the point light source determination is performed in step S5 of FIG.

図2のステップS5おいて行う点光源判定に関して説明する。通常被写体の場合のフォーカス位置によるAF評価値を図4に示す。点光源被写体の場合のフォーカス位置によるAF評価値を図5に示す。通常被写体の場合のフォーカス位置による輝度信号の最大値と積算値を図6に示す。点光源被写体の場合のフォーカス位置による輝度信号の最大値と積算値を図7に示す。図4に示すように通常被写体の場合は、合焦位置においてAF評価値が最大になるが、図5に示すように点光源被写体においては、合焦位置においてAF評価値が最大にならず、その付近における極小値が合焦位置となる。よって、点光源被写体がAF枠内に存在するか否かを判定し、その結果に応じて、合焦位置を探索するためのスキャン方法を使い分ける必要がある。そこで、以下のようにして点光源などの飽和被写体がAF枠内に存在するか否かの判定を行う。 The point light source determination performed in step S5 of FIG. 2 will be described. FIG. 4 shows AF evaluation values based on the focus position in the case of a normal subject. FIG. 5 shows AF evaluation values according to the focus position in the case of a point light source subject. FIG. 6 shows the maximum value and integrated value of the luminance signal depending on the focus position in the case of a normal subject. FIG. 7 shows the maximum value and integrated value of the luminance signal depending on the focus position in the case of the point light source subject. As shown in FIG. 4, in the case of a normal subject, the AF evaluation value is maximized at the in-focus position, but as shown in FIG. 5, in the point light source subject, the AF evaluation value is not maximized at the in-focus position. The local minimum value in the vicinity is the in-focus position. Therefore, it is necessary to determine whether or not the point light source subject exists within the AF frame and to use different scanning methods for searching for the in-focus position according to the result. Therefore, it is determined whether a saturated subject such as a point light source exists in the AF frame as follows.

点光源被写体判定は点光源被写体と通常被写体のピントの変化に伴う以下のような特性を利用している。図6に示すように通常被写体の場合は、合焦位置において画面内の輝度信号の最大値は最大になる。これは次の理由に依る。被写体の輝度の高い部分(白い部分)がピントの合っていない(ボケている)状態では周りの他の色と混ざり輝度信号値が落ちる。しかし、ピントの合うことによって、他の色との混ざりが解消されて、よりコントラストが出ることで、輝度の高い白い部分はより白くなり、輝度信号値が高くなるためである。 The point light source subject determination uses the following characteristics that accompany changes in focus between the point light source subject and the normal subject. As shown in FIG. 6, in the case of a normal subject, the maximum value of the luminance signal in the screen is maximized at the in-focus position. This is due to the following reason. In a state where the high luminance portion (white portion) of the subject is not in focus (blurred), the luminance signal value decreases due to mixing with other surrounding colors. However, focusing is used to eliminate mixing with other colors, resulting in higher contrast, so that the white portion with higher luminance becomes whiter and the luminance signal value becomes higher.

またAF枠内の全ての画素の輝度信号の積算値は、飽和のない通常被写体の場合は、図6に示すように殆ど変化しない。原理的には、光の量はピントの状態によらず一定なのでフォーカス位置による違いはない。しかし実際には、光源のフリッカや信号にのるノイズ、スキャン動作中の手振れなどによりAF枠内の被写体の変化により多少の変動が生じる。図7に示すように点光源被写体の場合は、画面内の輝度信号の最大値が図示するように殆ど変化しない。これは、被写体の輝度の高い部分は点光源などのため飽和しており、ピントがボケてその輝度信号値が低下しても、CCDからの出力としては飽和していることに変わりないので、観察される輝度信号値としては同じとなるためである。またAF枠内の輝度信号の積算値は、ピントの合っていない(ボケている)状態では飽和している点光源が周りに広がるため、飽和したCCDからの出力輝度信号の高い部分が多くなって大きくなる。逆にピントの合うことによって、点光源の広がりがなくなり、飽和したCCDからの出力輝度信号の高い部分が少なくなるため、輝度信号の積算値は小さくなる。 Further, the integrated value of the luminance signal of all the pixels in the AF frame hardly changes as shown in FIG. 6 in the case of a normal subject without saturation. In principle, the amount of light is constant regardless of the focus state, so there is no difference depending on the focus position. However, in practice, some variation occurs due to changes in the subject in the AF frame due to flickering of the light source, noise on the signal, camera shake during the scanning operation, and the like. As shown in FIG. 7, in the case of a point light source subject, the maximum value of the luminance signal in the screen hardly changes as shown. This is because the high luminance part of the subject is saturated due to a point light source, and even if the focus is blurred and the luminance signal value decreases, the output from the CCD remains saturated. This is because the observed luminance signal values are the same. In addition, the integrated value of the luminance signal in the AF frame has a high portion of the output luminance signal from the saturated CCD because the saturated point light source spreads around when it is out of focus (blurred). Become bigger. On the other hand, since the point light source is not spread by focusing, the high portion of the output luminance signal from the saturated CCD is reduced, and the integrated value of the luminance signal is reduced.

点光源判定の動作手順を図8に示す。まずステップS801において、顔検出の結果から検出が成功し顔が検出されたか否かを調べる。検出が成功しかつ所定以上の大きさの顔が検出されていればステップS809へ進み、通常被写体と判定する。顔が検出されていても小さい顔の場合は、AF枠内に点光源被写体が入る可能性があるため、この場合は通常被写体と判定しない。顔が検出された場合のAF枠の大きさは顔の大きさに一致させるので通常はAF枠内に点光源被写体が入ることは無いが、AF枠が小さくなるとAF評価値を取得する際の信号量が減り精度の良いAFが期待できないため、AF枠の大きさには下限を設けている。そのため、検出された顔の大きさが小さい場合、AF枠内に点光源被写体が入る可能性がある。 The operation procedure of the point light source determination is shown in FIG. First, in step S801, it is checked from the face detection result whether the detection is successful and a face is detected. If the detection is successful and a face larger than a predetermined size is detected, the process advances to step S809 to determine that the subject is a normal subject. Even if a face is detected, if the face is small, a point light source subject may enter the AF frame. In this case, the subject is not determined as a normal subject. Since the size of the AF frame when a face is detected matches the size of the face, the point light source subject does not normally enter the AF frame, but when the AF frame becomes smaller, the AF evaluation value is obtained. Since the signal amount decreases and AF with high accuracy cannot be expected, a lower limit is set for the size of the AF frame. Therefore, when the detected face size is small, there is a possibility that the point light source subject enters the AF frame.

ステップS802においては、図2のステップS3のAE処理の結果から、所定の輝度より低輝度での撮影か否かを判断する。所定の輝度より明るい場合はステップS809へ進み通常被写体と判定する。所定の輝度より暗い場合はステップS803に進む。ステップS803おいて、輝度信号の画面内の最大値のフォーカス移動に伴う変動が小さいか否かの判定を行う。これは、輝度信号の画面内の最大値とその値を取得したフォーカスレンズ群3の位置を図3のステップS303で記憶しているので、その値を参照することで行う。フォーカスレンズ群3の駆動中に取得した輝度信号の画面内の最大値の最大値と、フォーカスレンズ群3の駆動中に取得した輝度信号の画面内の最大値の最小値を比較する。例えば図6であれば、最大値はフォーカス位置a2における輝度信号の画面内の最大値、最小値はフォーカス位置a0における輝度信号の画面内の最大値である。図7であれば、最大値はフォーカス位置a2における輝度信号の画面内の最大値、最小値はフォーカス位置a4における輝度信号の画面内の最大値である。フォーカスレンズ群3の駆動中に取得した輝度信号の画面内の最大値の最大値と最小値が求められたら、その差を演算し、所定値と比較する。その差が所定値より小さければ、ステップS804へ進む。所定値以上であれば、ステップS809へ進み通常被写体と判定する。 In step S802, it is determined from the result of the AE process in step S3 in FIG. If it is brighter than the predetermined luminance, the process proceeds to step S809 and is determined to be a normal subject. If it is darker than the predetermined brightness, the process proceeds to step S803. In step S803, it is determined whether or not the variation of the luminance signal with the focus movement of the maximum value within the screen is small. This is done by referring to the maximum value in the screen of the luminance signal and the position of the focus lens group 3 that acquired the value in step S303 in FIG. The maximum value of the maximum value of the luminance signal acquired during the driving of the focus lens group 3 in the screen is compared with the minimum value of the maximum value of the luminance signal acquired during the driving of the focus lens group 3 in the screen. For example, in FIG. 6, the maximum value is the maximum value of the luminance signal in the screen at the focus position a2, and the minimum value is the maximum value of the luminance signal in the screen at the focus position a0. In FIG. 7, the maximum value is the maximum value within the screen of the luminance signal at the focus position a2, and the minimum value is the maximum value within the screen of the luminance signal at the focus position a4. When the maximum value and the minimum value in the screen of the luminance signal acquired during driving of the focus lens group 3 are obtained, the difference is calculated and compared with a predetermined value. If the difference is smaller than the predetermined value, the process proceeds to step S804. If it is equal to or greater than the predetermined value, the process proceeds to step S809, where it is determined as a normal subject.

ステップS804では、輝度信号の最大値が明るいか否かを判定する。これも、図3のステップS303で記憶している輝度信号の画面内の最大値を参照することで行う。図3のS306で求めたピーク位置における輝度信号の画面内の最大値を所定値と比較し、所定値より大きければ、ステップS805へ進む。所定値以下であれば、ステップS809へ進み通常被写体と判定する。 In step S804, it is determined whether the maximum value of the luminance signal is bright. This is also performed by referring to the maximum value in the screen of the luminance signal stored in step S303 in FIG. The maximum value in the screen of the luminance signal at the peak position obtained in S306 of FIG. 3 is compared with a predetermined value. If it is larger than the predetermined value, the process proceeds to step S805. If it is equal to or smaller than the predetermined value, the process proceeds to step S809 and is determined to be a normal subject.

ステップS805では、輝度信号の最小値が暗いか否かを判定する。これも、図3のステップS303で記憶している輝度信号の画面内の最小値を参照することで行う。図3のS306で求めたピーク位置における輝度信号の画面内の最小値を所定値と比較し、所定値より小さければ、ステップS806へ進む。所定値以上であれば、ステップS809へ進み通常被写体と判定する。夜景など点光源を含む被写体は、全体的には暗く光源の部分が明るくそのコントラストが大きいのが特徴である。ステップS805、S806の処理では、そのような被写体か否かを調べている。なおステップS805、S806の処理では、フォーカスレンズ群3のピーク位置以外の信号を用いても構わない。 In step S805, it is determined whether or not the minimum value of the luminance signal is dark. This is also performed by referring to the minimum value in the screen of the luminance signal stored in step S303 in FIG. The minimum value in the screen of the luminance signal at the peak position obtained in S306 of FIG. 3 is compared with a predetermined value, and if it is smaller than the predetermined value, the process proceeds to step S806. If it is equal to or greater than the predetermined value, the process proceeds to step S809, where it is determined as a normal subject. A subject including a point light source such as a night view is characterized by a dark overall light source and a high contrast. In the processing of steps S805 and S806, it is checked whether or not the subject is such a subject. In the processes in steps S805 and S806, a signal other than the peak position of the focus lens group 3 may be used.

ステップS806では、輝度信号の画面内の積算値のフォーカス移動に伴う変動が大きいか否かの判定を行う。これも、図3のステップS303で記憶しているフォーカスレンズ群3の位置ごとの輝度信号のAF枠内の積算値を参照することで行う。フォーカスレンズ群3の駆動中に取得した輝度信号の画面内の積算値の最大値と、フォーカスレンズ群3の駆動中に取得した輝度信号の画面内の積算値の最小値を比較する。例えば図6であれば、最大値はフォーカス位置a2における輝度信号のAF枠内の積算値、最小値はフォーカス位置a4における輝度信号のAF枠内の積算値である。図7であれば、最大値はフォーカス位置a0における輝度信号のAF枠内の積算値、最小値はフォーカスa2における輝度信号のAF枠内の積算値である。フォーカスレンズ群3の駆動中に取得した輝度信号のAF枠内の積算値の最大値と最小値が求められたら、その差を演算し、所定値と比較する。その差が所定値より大きければ、ステップS807へ進む。所定値以下であれば、ステップS809へ進み通常被写体と判定する。 In step S806, it is determined whether or not there is a large variation in the integrated value in the screen of the luminance signal due to the focus movement. This is also performed by referring to the integrated value within the AF frame of the luminance signal for each position of the focus lens group 3 stored in step S303 in FIG. The maximum value of the integrated value of the luminance signal acquired during the driving of the focus lens group 3 in the screen is compared with the minimum value of the integrated value of the luminance signal acquired during the driving of the focus lens group 3 in the screen. For example, in FIG. 6, the maximum value is the integrated value of the luminance signal in the AF frame at the focus position a2, and the minimum value is the integrated value of the luminance signal in the AF frame at the focus position a4. In FIG. 7, the maximum value is the integrated value of the luminance signal in the AF frame at the focus position a0, and the minimum value is the integrated value of the luminance signal in the AF frame at the focus a2. When the maximum value and the minimum value of the integrated value within the AF frame of the luminance signal acquired during driving of the focus lens group 3 are obtained, the difference is calculated and compared with a predetermined value. If the difference is greater than the predetermined value, the process proceeds to step S807. If it is equal to or smaller than the predetermined value, the process proceeds to step S809 and is determined to be a normal subject.

ステップS807では、フォーカス位置移動に伴い出力される輝度信号の積算値の極小値が得られるフォーカス位置が、AF評価値が最大になるフォーカス位置付近にあるか否かを調べる。輝度信号の積算値の極小値が得られるフォーカス位置は、例えば図6であれば最小値はフォーカス位置a4、図7であれば最小値はフォーカス位置a2である。このフォーカス位置と、図3のステップS306で求めたピーク位置(例えば図4や図5の「C」)を比較し、その差が所定値以内であれば、ステップS808へ進み、点光源被写体と判定する。その差が所定値より大きければ、ステップS809へ進み通常被写体と判定する。 In step S807, it is checked whether or not the focus position at which the minimum value of the integrated value of the luminance signal output as the focus position moves is near the focus position where the AF evaluation value is maximized. For example, in FIG. 6, the focus position at which the minimum value of the integrated value of the luminance signal is obtained is the focus position a4, and in FIG. 7, the minimum value is the focus position a2. The focus position is compared with the peak position obtained in step S306 in FIG. 3 (for example, “C” in FIGS. 4 and 5). If the difference is within a predetermined value, the process proceeds to step S808, where the point light source subject is detected. judge. If the difference is larger than the predetermined value, the process proceeds to step S809 and is determined to be a normal subject.

次に、図2のステップS6おいて行う第二のスキャンAF処理に関して説明する。その概略はステップS4の第一のスキャンAF処理と変わらない。スキャン間隔が第一のスキャンAF処理の半分程度である点、スキャン範囲が第一のスキャンAF処理で求めたAF評価値のピーク位置付近に限定される点、合焦位置の計算方法が、第一のスキャンAF処理と異なる。図5を用いてその動作を説明する。第一のスキャンAF処理において図5の「A」から「B」までスキャンが行われ、AF評価値のピーク位置として図5の「C」が求められている。但し、このピーク位置は点光源被写体の影響を受け、本来の合焦位置とは異なる可能性がある。そこで、AF評価値のピーク位置計算に通常より大きな誤差が生じることを考慮して、図5に示す「a」から「b」をスキャン範囲とし、スキャン間隔を第一のスキャンAF処理の半分程度としたスキャン動作を行う。点光源被写体に対してAFを行っているので、図5の「a」からスキャンを開始すると、真の合焦位置「c」に近づくにつれ、AF評価値は減少し、同時にAF枠内の輝度信号の積算値も減少する。そして合焦位置「c」を過ぎると、AF評価値、AF枠内の輝度信号の積算値ともに増加に転じる。よって、このスキャン範囲における両者の極小値を求めることで合焦位置を求めることができる。従って、スキャン動作中に記憶されたAF評価値と積算値、その値を取得した位置を参照することで、両者の極小値を求める。 Next, the second scan AF process performed in step S6 of FIG. 2 will be described. The outline is the same as the first scan AF process in step S4. The point that the scan interval is about half that of the first scan AF process, the point that the scan range is limited to the vicinity of the peak position of the AF evaluation value obtained by the first scan AF process, Different from the one scan AF process. The operation will be described with reference to FIG. In the first scan AF process, scanning from “A” to “B” in FIG. 5 is performed, and “C” in FIG. 5 is obtained as the peak position of the AF evaluation value. However, this peak position is influenced by the point light source subject and may be different from the original focus position. Therefore, considering that a larger error than usual occurs in calculation of the peak position of the AF evaluation value, “a” to “b” shown in FIG. 5 are set as the scan range, and the scan interval is about half of the first scan AF processing. The scanning operation is performed. Since AF is performed on the point light source subject, when scanning is started from “a” in FIG. 5, the AF evaluation value decreases as the true focus position “c” is approached, and at the same time, the luminance within the AF frame The integrated value of the signal also decreases. After the in-focus position “c”, both the AF evaluation value and the integrated value of the luminance signal within the AF frame start to increase. Therefore, the in-focus position can be obtained by obtaining the minimum values of both in the scan range. Therefore, by referring to the AF evaluation value and the integrated value stored during the scanning operation and the position where the value is acquired, the minimum value of both is obtained.

図5に示す白い丸印がスキャンポイントである。図5「a」からデータの取得を開始するので、次のスキャンポイントにおいては、取得したAF評価値と積算値と「a」のポイントにおけるAF評価値と積算値を比較し、減少しているか否かを判定する。同様の判定をその次のスキャンポイントにおいても行う。この処理を繰り返すうちに、AF評価値と積算値の極小値を過ぎ、その値が増加に転じる。その後も同様に取得した値の比較を続ける。今度は、値が増加していることを調べることになる。ただし、処理を続けていくとAF評価値が再び減少する場合がある。この場合は、この時点で値の比較の処理を終了する。 White circles shown in FIG. 5 are scan points. Since data acquisition is started from “a” in FIG. 5, at the next scan point, the acquired AF evaluation value and the integrated value are compared with the AF evaluation value and the integrated value at the point “a”. Determine whether or not. Similar determination is performed at the next scan point. As this process is repeated, the minimum value of the AF evaluation value and the integrated value passes, and the value starts to increase. Thereafter, the comparison of the acquired values is continued. This time, we will check that the value is increasing. However, if the processing is continued, the AF evaluation value may decrease again. In this case, the value comparison process is terminated at this point.

図5では4番目のスキャンポイントにおいて極小値となるので、5番目のスキャンポイントよりAF評価値と積算値が増加することになる。そのままAF評価値と積算値の比較の処理を図5の「b」に向けて続ける。そして8番目のスキャンポイントにおいて、AF評価値が再び減少する。よって8番目と7番目のスキャンポイントで取得した値の比較が終了した時点で、値の比較の処理を終了する。そしてスッテプS6の第二のスキャンAF処理からスッテプS7の合焦位置算出の処理に移る。点光源被写体と判定された場合のスッテプS7の合焦位置算出の処理は、スッテプS6の第二のスキャンAF処理でAF評価値と輝度信号の積算値の極小値がともに見つかった場合のみ行われる。スッテプS6の第二のスキャンAF処理の結果から補間計算を行い、真の極小値を計算にて求めるのが、ステップS7の合焦位置算出の処理である。 In FIG. 5, since the local minimum value is obtained at the fourth scan point, the AF evaluation value and the integrated value are increased from the fifth scan point. The process of comparing the AF evaluation value and the integrated value is continued toward “b” in FIG. Then, at the eighth scan point, the AF evaluation value decreases again. Therefore, when the comparison of the values acquired at the eighth and seventh scan points is completed, the value comparison process is terminated. Then, the process proceeds from the second scan AF process in step S6 to the in-focus position calculation process in step S7. The process of calculating the in-focus position of step S7 when it is determined as a point light source subject is performed only when both the AF evaluation value and the minimum value of the luminance signal integrated value are found in the second scan AF process of step S6. . Interpolation calculation is performed from the result of the second scan AF process in step S6, and the true minimum value is obtained by calculation in the focus position calculation process in step S7.

図5では、5番目のスキャンポイントでAF評価値と積算値が極小値を取る。しかしここで行うスキャンはAFの高速化の為に、全てのフォーカスレンズ群3の停止位置については行わず、図5に示すように所定のステップ毎に行う。このため、極小値を取得したスキャンポイントよりその値が小さいフォーカス位置が存在する可能性がある。よって、極小値となった点とその前後の点から真の極小値(図5の「c」)を計算にて求めている。この方法は公知であるので、詳細な説明は割愛する。 In FIG. 5, the AF evaluation value and the integrated value take the minimum value at the fifth scan point. However, the scanning performed here is not performed for the stop positions of all the focus lens groups 3 in order to increase the AF speed, but is performed at predetermined steps as shown in FIG. For this reason, there may be a focus position whose value is smaller than the scan point from which the minimum value is acquired. Therefore, the true minimum value (“c” in FIG. 5) is obtained by calculation from the point where the minimum value is obtained and the points before and after the minimum value. Since this method is publicly known, a detailed description is omitted.

合焦位置算出が終了したならば、AFOK表示を図2のステップS8にて行う。ステップS6の処理において、AF評価値と積算値のどちらかの極小値が見つけられない場合は、合焦位置を見つけることができないので、AFNGと判断する。そして、図2のステップS7における合焦位置の算出は行わず、AFNG表示を図2のステップS8にて行う。この様にすることにより、通常被写体の場合にはAF時間を従来と同じにすることができ、点光源被写体が存在する場合においても、露光量を適正値よりアンダーにすることなく正確な焦点調整が可能になる。 When the in-focus position calculation is completed, AFOK display is performed in step S8 in FIG. If the local minimum value of either the AF evaluation value or the integrated value is not found in the process of step S6, the in-focus position cannot be found, so it is determined as AFNG. Then, the calculation of the in-focus position in step S7 in FIG. 2 is not performed, and AFNG display is performed in step S8 in FIG. By doing this, the AF time can be made the same as in the conventional case for a normal subject, and accurate focus adjustment can be performed without making the exposure amount below the appropriate value even when a point light source subject exists. Is possible.

(実施例2)
本発明の実施例2を説明する。実施例2と実施例1との違いは、AF枠内に点光源被写体が存在しAFに弊害を与えるか否かを判断するためのデータ取得の処理をSW1オン前に行う点である。すなわちSW1オン前に、より粗い間隔でAF評価値及び輝度信号の最大値と積算値を取得する第三のスキャンAF処理を行い、SW1オン後にAF枠内に点光源被写体が存在しAFに弊害を与えるか否かの判断を行う点である。なお、SW1オン前に行われる第三のスキャンAFにおけるAF枠の数、位置などは撮影者の設定に従うため、点光源判定を行うAF枠の数は最小で1つの場合がある。
(Example 2)
A second embodiment of the present invention will be described. The difference between the second embodiment and the first embodiment is that a point light source subject exists in the AF frame, and data acquisition processing for determining whether or not it adversely affects AF is performed before SW1 is turned on. That is, a third scan AF process is performed to acquire the AF evaluation value and the maximum value and integrated value of the luminance signal at coarser intervals before SW1 is turned on, and a point light source subject exists in the AF frame after SW1 is turned on, which is harmful to AF. It is a point to determine whether or not to give. Note that since the number and position of AF frames in the third scan AF performed before SW1 is turned on are determined by the photographer, the number of AF frames for performing point light source determination may be one at a minimum.

その動作を、図9に示すフローチャートを用いて説明する。実施例1と同様に、本撮像装置1の主電源スイッチがオン状態であり、かつ撮像装置の動作モードが撮影(録画)モードにあるときは、撮影処理シーケンスが実行され、CCD5等への電源の供給等をして撮像を可能にする。まずステップS901において、通常のAE処理を実行しLCDに表示される画像が適正になるようにする。次いでステップS902において、実施例1と同様に、CPU15は、撮影レンズ鏡筒31を透過してCCD5上に結像した像をLCDに画像として表示する。更にステップS903において第三のスキャンAF処理を行い、概略の合焦位置へフォーカスレンズ群3を駆動する。この処理については後述する。そしてステップS904において、レリーズスイッチの状態を確認する。撮影者によってレリーズスイッチが操作され、SW1(レリーズスイッチの第一ストローク)がオン状態になったことをCPU15が確認すると、次のステップS905に進み、通常のAE処理が実行される。 The operation will be described with reference to the flowchart shown in FIG. As in the first embodiment, when the main power switch of the imaging apparatus 1 is in the ON state and the operation mode of the imaging apparatus is in the shooting (recording) mode, a shooting process sequence is executed and the power to the CCD 5 and the like is To enable imaging. First, in step S901, normal AE processing is executed so that an image displayed on the LCD becomes appropriate. Next, in step S902, as in the first embodiment, the CPU 15 displays an image formed on the CCD 5 through the photographing lens barrel 31 as an image on the LCD. In step S903, a third scan AF process is performed to drive the focus lens group 3 to an approximate focus position. This process will be described later. In step S904, the state of the release switch is confirmed. When the photographer operates the release switch and the CPU 15 confirms that SW1 (the first stroke of the release switch) is turned on, the process proceeds to the next step S905, and normal AE processing is executed.

ステップS906においては、AF枠内に点光源被写体が存在するか否かの判定を行う。その内容は後述する。判定の結果、点光源被写体と判定された場合はステップS907にて第二のスキャンAF処理を行う。通常被写体と判定された場合はステップS908にて第四のスキャンAF処理を行う。これらの処理については後述する。その後ステップS7に進み、以後は実施例1と同じ処理を行う。ステップS7では合焦位置算出の処理を実行し、ステップS8ではAF合焦・非合焦表示の処理を実行し、ステップS9ではSW2の確認を実行する。SW2がオンになっていたならば、ステップS10に進み実際の露光処理を実行する。 In step S906, it is determined whether or not a point light source subject exists within the AF frame. The contents will be described later. If it is determined that the subject is a point light source subject, a second scan AF process is performed in step S907. If it is determined that the subject is a normal subject, a fourth scan AF process is performed in step S908. These processes will be described later. Thereafter, the process proceeds to step S7, and thereafter the same processing as in the first embodiment is performed. In step S7, an in-focus position calculation process is executed. In step S8, an AF in-focus / in-focus display process is executed. In step S9, confirmation of SW2 is executed. If SW2 is on, the process proceeds to step S10 and actual exposure processing is executed.

ステップS903において実行される第三のスキャンAF処理について説明する。図10にその動作手順を示す。第三のスキャンAF処理が開始されると、ステップS1001において微小駆動動作を行い、合焦か否かを判別し、合焦でないならどちらの方向に合焦点があるかを判別する。微小駆動とは、フォーカスレンズ群3を至近方向または無限遠方向に微小量(LCD上でピント変化が確認できない量)駆動し、その結果得られるAF評価値から合焦・非合焦及び合焦させる為にフォーカスレンズ群3の駆動すべき方向等を検出する動作である。 The third scan AF process executed in step S903 will be described. FIG. 10 shows the operation procedure. When the third scan AF process is started, a minute driving operation is performed in step S1001, and it is determined whether or not it is in focus. If not in focus, it is determined in which direction the focus is in focus. The minute driving means that the focus lens group 3 is driven by a minute amount (an amount in which a focus change cannot be confirmed on the LCD) in the near direction or the infinity direction, and focusing / non-focusing and focusing are performed from the AF evaluation value obtained as a result. This is an operation for detecting the direction in which the focus lens group 3 should be driven.

ステップ1001で合焦と判別された場合は、ステップS1002からステップS1008へ進み合焦時の処理を行う。ステップS1001で合焦と判別されなかった場合は、ステップS1002からステップS1003へ進む。ステップS1003においては、ステップS1001で合焦方向の判別ができている場合はステップS1004へ進み山登り駆動動作を行い、ステップS1001で合焦方向の判別ができていない場合はステップS1001へ戻り微小駆動動作を継続する。ステップS1004では、AF評価値が大きくなる方向へ高速でレンズを山登り駆動する。山登り駆動は、山登り駆動中の合焦度合いに応じてスキャン間隔を変えながら合焦位置を探すスキャンである。合焦度合いが低い場合は5〜10深度の比較的粗いスキャン間隔でスキャンを行い、合焦度合いが高くなるに従いスキャン間隔を細かくし、合焦位置近傍では2〜4深度の比較的細かいスキャン間隔でスキャンを行う。ステップS1005においては、AF評価値のピークを越えたと判別された場合はステップS1006へ進み、AF評価値のピークを越えたと判別されない場合はステップS1004へ戻り山登り駆動を継続する。ステップS1006では、山登り駆動中のAF評価値がピークのフォーカスレンズ群3の位置へその位置を戻す。ステップS1007においては、AF評価値がピークのフォーカスレンズ群3の位置に戻ったかを判定し、戻った場合はステップS1001へ戻り再び微小駆動動作を行う。AF評価値がピークの位置に戻っていない場合は、ステップS1006へ戻りピークに戻す動作を継続する。 If it is determined in step 1001 that the subject is in focus, the process proceeds from step S1002 to step S1008, and processing at the time of focusing is performed. If the focus is not determined in step S1001, the process proceeds from step S1002 to step S1003. In step S1003, if the in-focus direction can be determined in step S1001, the process proceeds to step S1004 to perform a hill-climbing drive operation. If the in-focus direction cannot be determined in step S1001, the process returns to step S1001 and the minute drive operation is performed. Continue. In step S1004, the lens is hill-climbed and driven at a high speed in the direction in which the AF evaluation value increases. The hill-climbing drive is a scan for searching for an in-focus position while changing the scan interval according to the degree of focus during the hill-climbing drive. When the degree of focus is low, scanning is performed at a relatively coarse scan interval of 5 to 10 depths, and the scan interval is made finer as the degree of focus is increased, and relatively fine scan intervals of 2 to 4 depths are in the vicinity of the in-focus position. Scan with. If it is determined in step S1005 that the peak of the AF evaluation value has been exceeded, the process proceeds to step S1006. If it is not determined that the peak of the AF evaluation value has been exceeded, the process returns to step S1004 to continue hill-climbing driving. In step S1006, the AF evaluation value during hill-climbing driving is returned to the position of the focus lens group 3 at the peak. In step S1007, it is determined whether or not the AF evaluation value has returned to the position of the focus lens group 3 at the peak. If the AF evaluation value has returned, the process returns to step S1001 to perform the minute driving operation again. If the AF evaluation value has not returned to the peak position, the process returns to step S1006 to continue the operation of returning to the peak.

次に、ステップS1008からの合焦時の再起動判定処理について説明する。ステップS1008では、合焦と判定した際のAF評価値を保持する。ステップS1009では、最新の各種AF評価値を取得する。ステップS1010では、ステップS1008で保持したAF評価値とステップS1009で新たに取得したAF評価値とを比較し、所定レベル以上差があれば再起動と判定し、ステップS1001へ進み微小駆動動作を再開する。ステップS1010で再起動と判定されなければステップS1011へ進み、レンズを停止してステップS1009へ戻り再起動判定を継続する。 Next, the restart determination process at the time of focusing from step S1008 will be described. In step S1008, the AF evaluation value when it is determined that the focus is achieved is held. In step S1009, the latest various AF evaluation values are acquired. In step S1010, the AF evaluation value held in step S1008 is compared with the AF evaluation value newly acquired in step S1009. If there is a difference of a predetermined level or more, it is determined that the system is restarted, and the process proceeds to step S1001 to resume the minute driving operation. To do. If it is not determined to be restarted in step S1010, the process proceeds to step S1011, the lens is stopped, and the process returns to step S1009 to continue the restart determination.

ここで、図9のステップS906における点光源被写体が存在するか否かの判定について説明する。この処理は実施例1と同様であるが、SW1オン前にスキャン動作(第三のスキャンAF処理)を実行し、AF評価値と輝度信号の最大値、積算値を取得しているため、被写体がきちんとフレミングされる前からの値を取得している可能性がある。そこで、振れ検出センサー35の出力を振れ検出回路34を介してモニターし、その出力が一定値以下になった時点からの輝度信号の最大値、積算値を点光源判定に用いる。また、判定に用いる値の個数に制限を加える。すなわち、SW1オン直前の所定個数の値のみを判定に用いる。これは、無意味に多くのデータを用いることによる誤検出を防ぐためである。カメラの主電源スイッチがオン状態になってから長時間経過した場合などは、振れ検出センサーの出力が小さくとも被写体が変化している可能性があるからである。例えば、カメラが三脚に備え付けられた場合などは、この様になる可能性がある。この様に、判定に用いるデータ数に規制を加える他は実施例1と同様にして点光源被写体か否かの判定を行う。 Here, the determination of whether or not a point light source subject exists in step S906 in FIG. 9 will be described. This process is the same as in the first embodiment, but the scan operation (third scan AF process) is executed before turning on SW1, and the AF evaluation value, the maximum value of the luminance signal, and the integrated value are acquired. There is a possibility that the value has been obtained from before it was properly framing. Therefore, the output of the shake detection sensor 35 is monitored via the shake detection circuit 34, and the maximum value and integrated value of the luminance signal from the time when the output falls below a certain value are used for the point light source determination. In addition, a limit is added to the number of values used for determination. That is, only a predetermined number of values immediately before SW1 is turned on are used for determination. This is to prevent erroneous detection due to use of a lot of meaningless data. This is because, for example, when the camera main power switch is turned on for a long time, the subject may change even if the output of the shake detection sensor is small. For example, this may occur when the camera is mounted on a tripod. In this manner, whether or not the subject is a point light source subject is determined in the same manner as in the first embodiment except that the number of data used for the determination is restricted.

図8を用いて点光源判定を説明する。ステップS801、S802は実施例1と同じ処理を行う。ステップS803おいて、規制された範囲における輝度信号の画面内の最大値のフォーカス移動に伴う変動が小さいか否かの判定を行う。振れ検出センサー35の出力が一定値以下になった時点以降でSW1オン直前の所定個数のうちで、フォーカスレンズ群3の駆動中に取得した輝度信号の画面内の最大値の最大値と、同駆動中に取得した輝度信号の画面内の最大値の最小値を比較する。その差を演算し、所定値と比較する。その差が所定値より小さければ、ステップS804へ進む。所定値以上であれば、ステップS809へ進み通常被写体と判定する。ステップS804、S805は実施例1と同じ処理を行う。 The point light source determination will be described with reference to FIG. Steps S801 and S802 perform the same processing as in the first embodiment. In step S <b> 803, it is determined whether or not the fluctuation associated with the focus movement of the maximum value of the luminance signal in the restricted range within the screen is small. Among the predetermined number immediately before the switch SW1 is turned on after the output of the shake detection sensor 35 becomes a certain value or less, the same as the maximum value of the maximum value in the screen of the luminance signal acquired while the focus lens group 3 is being driven. The minimum value of the maximum value in the screen of the luminance signal acquired during driving is compared. The difference is calculated and compared with a predetermined value. If the difference is smaller than the predetermined value, the process proceeds to step S804. If it is equal to or greater than the predetermined value, the process proceeds to step S809, where it is determined as a normal subject. Steps S804 and S805 are the same as those in the first embodiment.

ステップS806では、規制された範囲における輝度信号の画面内の積算値のフォーカス移動に伴う変動が大きいか否かの判定を行う。振れ検出センサー35の出力が一定値以下になった時点以降でSW1オン直前の所定個数のうちで、フォーカスレンズ群3の駆動中に取得した輝度信号の画面内の積算値の最大値と、同駆動中に取得した輝度信号の画面内の積算値の最小値を比較する。その差を演算し、所定値と比較する。その差が所定値より大きければ、ステップS807へ進む。所定値以下であれば、ステップS809へ進み通常被写体と判定する。ステップS807では、フォーカス位置移動に伴い出力される輝度信号値の積算値の極小値が得られるフォーカス位置が、AF評価値が最大になるフォーカス位置付近にあるか否かを調べる。センサー35の出力が一定値以下になった時点以降でSW1オン直前の所定個数のうちで、上記レンズ駆動中に取得した輝度信号の画面内積算値が最小となるフォーカス位置と、図9のステップS903の第三のスキャンAF処理で求まったピーク位置を比較する。その差が所定値以内であれば、ステップS808へ進み、点光源被写体と判定する。その差が所定値より大きければ、ステップS809へ進み通常被写体と判定する。 In step S806, it is determined whether or not there is a large variation in the integrated value within the screen of the luminance signal within the restricted range due to focus movement. Of the predetermined number immediately before the switch SW1 is turned on after the output of the shake detection sensor 35 becomes a certain value or less, the same as the maximum integrated value in the screen of the luminance signal acquired while the focus lens group 3 is being driven. The minimum value of the integrated value in the screen of the luminance signal acquired during driving is compared. The difference is calculated and compared with a predetermined value. If the difference is greater than the predetermined value, the process proceeds to step S807. If it is equal to or smaller than the predetermined value, the process proceeds to step S809 and is determined to be a normal subject. In step S807, it is checked whether or not the focus position at which the minimum value of the integrated value of the luminance signal value output with the focus position movement is near the focus position where the AF evaluation value is maximized. The focus position at which the integrated value in the screen of the luminance signal acquired during the lens driving becomes the minimum among the predetermined number immediately before the switch SW1 is turned on after the output of the sensor 35 becomes a certain value or less, and the step of FIG. The peak positions obtained in the third scan AF process of S903 are compared. If the difference is within the predetermined value, the process proceeds to step S808 to determine that the subject is a point light source subject. If the difference is larger than the predetermined value, the process proceeds to step S809 and is determined to be a normal subject.

点光源被写体と判定された場合にステップS907にて行われる第二のスキャンAF処理について説明する。ステップS903で行われた第三のスキャンAF処理の結果、概略の合焦位置が検出されている場合は、実施例1の図2のステップS6の第二のスキャンAF処理と全く同じ処理を行う。ただし、ステップS903で行われた第三のスキャンAF処理の結果、概略の合焦位置が検出されていない場合は、実施例1の図2のステップS4の第一のスキャンAF処理を実行した後に第二のスキャンAF処理と全く同じ処理を行う。 The second scan AF process performed in step S907 when it is determined as a point light source subject will be described. If the approximate focus position is detected as a result of the third scan AF process performed in step S903, the same process as the second scan AF process in step S6 of FIG. . However, if the approximate in-focus position has not been detected as a result of the third scan AF process performed in step S903, the first scan AF process in step S4 of FIG. The same process as the second scan AF process is performed.

次に、通常被写体と判定された場合にステップS908にて行われる第四のスキャンAF処理ついて説明する。ステップS903で行われた第三のスキャンAF処理の結果、概略の合焦位置が検出されている場合は、スキャン間隔が第一のスキャンAF処理と同等で第二のスキャンAF処理より粗いスキャンAF処理を実行する。そのスキャン範囲は第三のスキャンAF処理で求めたAF評価値のピーク位置付近に限定され、第二のスキャンAF処理よりは狭く設定される。また合焦位置の計算方法は、第一のスキャンAF処理と同じである。 Next, the fourth scan AF process performed in step S908 when it is determined as a normal subject will be described. If the approximate focus position is detected as a result of the third scan AF process performed in step S903, the scan interval is equal to the first scan AF process and coarser than the second scan AF process. Execute the process. The scan range is limited to the vicinity of the peak position of the AF evaluation value obtained in the third scan AF process, and is set narrower than in the second scan AF process. The method for calculating the in-focus position is the same as in the first scan AF process.

図11を用いてその動作を説明する。第三のスキャンAF処理において、図11の「A」から「B」まで若しくはその一部の範囲でスキャンが行われ、AF評価値のピーク位置として図11の「C」が求められている。但し、このピーク位置は概略の合焦位置であるので、図11に示す「a」から「b」をスキャン範囲とし、スキャン間隔を第一のスキャンAF処理と同等で第二のスキャンAF処理より粗い間隔としたスキャン動作を行う。図11の「a」からスキャンを開始すると、真の合焦位置「c」に近づくにつれ、AF評価値は増加する。そして合焦位置「c」を過ぎると、AF評価値、AF枠内の輝度信号の積算値ともに減少に転じる。よって、このスキャン範囲における極大値を求めることで合焦位置を求めることができる。そこで、スキャン動作中に記憶されたAF評価値とその値を取得した位置を参照することで、極大値を求める。 The operation will be described with reference to FIG. In the third scan AF process, scanning is performed from “A” to “B” in FIG. 11 or a partial range thereof, and “C” in FIG. 11 is obtained as the peak position of the AF evaluation value. However, since this peak position is an approximate focus position, the scan range is from “a” to “b” shown in FIG. 11, the scan interval is the same as the first scan AF process, and the second scan AF process. A scan operation with a coarse interval is performed. When scanning is started from “a” in FIG. 11, the AF evaluation value increases as the true in-focus position “c” is approached. After the in-focus position “c”, both the AF evaluation value and the integrated value of the luminance signal in the AF frame start to decrease. Therefore, the in-focus position can be obtained by obtaining the maximum value in this scan range. Therefore, the local maximum value is obtained by referring to the AF evaluation value stored during the scanning operation and the position where the value is acquired.

図11に示す白い丸印がスキャンポイントである。図11の「a」からデータの取得を開始するので、次のスキャンポイントにおいては、取得したAF評価値と「a」のポイントにおけるAF評価値を比較し、増加しているか否かを判定する。同様の判定をその次のスキャンポイントにおいても行う。この処理を繰り返すうちにAF評価値の極大値を過ぎ、その値が減少に転じる。その後も、同様に取得した値の比較を続ける。今度は、値が減少していることを調べることになる。図11では3番目のスキャンポイントにおいて極大値となるので、4番目のスキャンポイントよりAF評価値が減少することになる。そのままAF評価値の比較の処理を図11の「b」まで続ける。そして、図9のスッテプS7の合焦位置算出の処理に移る。スッテプS908の第四のスキャンAF処理の結果から補間計算を行い、真の極大値を計算にて求めるのが、ステップS7の合焦位置算出の処理である。 A white circle shown in FIG. 11 is a scan point. Since data acquisition starts from “a” in FIG. 11, at the next scan point, the acquired AF evaluation value is compared with the AF evaluation value at the point “a” to determine whether or not it has increased. . Similar determination is performed at the next scan point. While this process is repeated, the maximum value of the AF evaluation value is passed, and the value starts to decrease. Thereafter, the comparison of the acquired values is continued. This time, we will check that the value is decreasing. In FIG. 11, since the maximum value is obtained at the third scan point, the AF evaluation value is decreased from the fourth scan point. The AF evaluation value comparison process is continued until “b” in FIG. Then, the process proceeds to the focus position calculation process in step S7 in FIG. Interpolation calculation is performed from the result of the fourth scan AF process in step S908, and the true maximum value is obtained by calculation in the focus position calculation process in step S7.

図11では3番目のスキャンポイントでAF評価値が極小値を取る。しかし、ここで行うスキャンはAFの高速化の為に、全てのフォーカスレンズ群3の停止位置については行わず、図11に示すように所定のステップ毎に行う。このため、極大値を取得したスキャンポイントよりその値が大きいフォーカス位置が存在する可能性がある。よって、極大値となった点とその前後の点から真の極大値(図11の「c」)を計算にて求める。 In FIG. 11, the AF evaluation value takes the minimum value at the third scan point. However, the scanning performed here is not performed for the stop positions of all the focus lens groups 3 in order to increase the AF speed, but is performed at predetermined steps as shown in FIG. For this reason, there is a possibility that there is a focus position whose value is larger than the scan point from which the maximum value is acquired. Therefore, the true maximum value (“c” in FIG. 11) is obtained by calculation from the point where the maximum value is reached and the points before and after that point.

合焦位置算出が終了したならば、AFOK表示を図9のステップS8にて行う。ステップS908の処理において、AF評価値の極大値が見つけられない場合は、合焦位置を見つけることができないので、AFNGと判断し、図9のステップS7における合焦位置の算出は行わず、AFNG表示を図9のステップS8にて行う。ステップS903で行われた第三のスキャンAF処理の結果、概略の合焦位置が検出されていない場合は、実施例1の図2のステップS4の第一のスキャンAF処理を実行する。 When the in-focus position calculation is completed, AFOK display is performed in step S8 in FIG. If the local maximum value of the AF evaluation value is not found in the process of step S908, the in-focus position cannot be found. Therefore, it is determined as AFNG, and the in-focus position is not calculated in step S7 in FIG. The display is performed in step S8 of FIG. As a result of the third scan AF process performed in step S903, if the approximate focus position is not detected, the first scan AF process in step S4 of FIG.

この様にすることにより、点光源被写体と照明された通常被写体が混在する場合などにおいても、より正確な焦点調整が可能になる。 In this way, even when a point light source subject and an illuminated normal subject are mixed, more accurate focus adjustment is possible.

上記実施例1、実施例2はコンパクトタイプのデジタルカメラを例に説明したが、本発明は、デジタルビデオカメラやデジタル一眼レフなどのライブビュー時のAFにも適用可能である。また、実施例1、実施例2では撮像素子としてCCDを例に説明したが、本発明では他の撮像素子、例えばCMOSであっても適用可能である Although the first embodiment and the second embodiment have been described using a compact digital camera as an example, the present invention can also be applied to AF during live view such as a digital video camera or a digital single lens reflex camera. In the first and second embodiments, the CCD is described as an example of the image pickup device. However, the present invention can be applied to other image pickup devices such as CMOS.

1‥‥撮像装置、3‥‥フォーカスレンズ群(焦点調整手段)、5‥‥撮像素子(CCD、CMOS)、13‥‥AE処理回路(明るさ測定手段)、14‥‥スキャンAF処理回路(合焦位置検出手段)、15‥‥CPU(合焦位置検出手段)、24‥‥操作スイッチ(指示受付手段) DESCRIPTION OF SYMBOLS 1 ... Imaging device, 3 ... Focus lens group (focus adjustment means), 5 ... Imaging element (CCD, CMOS), 13 ... AE processing circuit (brightness measurement means), 14 ... Scan AF processing circuit ( Focusing position detection means), 15... CPU (focusing position detection means), 24... Operation switch (instruction receiving means)

Claims (9)

撮影光学系により結像される被写体像を光電変換して電気的な画像信号を得る撮像素子と、
前記撮像素子に形成される被写体像の焦点を調整する焦点調整手段と、
前記焦点調整手段を駆動しながら、前記撮像素子によって生成された画像信号から合焦位置を検出する合焦位置検出手段と、
を有し、
前記撮像素子によって生成された画像信号から得られる、前記焦点調整手段の駆動に伴う輝度信号の最大値の変動量前記輝度信号の積算値の変動量を用いて、前記合焦位置を検出するための画像信号を取得する前記撮像素子の領域内部に点光源被写体が存在するか否かの判定を行うことを特徴とする焦点調整装置。
An image sensor that photoelectrically converts a subject image formed by a photographing optical system to obtain an electrical image signal; and
Focus adjusting means for adjusting the focus of the subject image formed on the image sensor;
An in-focus position detecting means for detecting an in-focus position from an image signal generated by the image sensor while driving the focus adjusting means;
Have
The in-focus position is detected by using a fluctuation amount of the maximum value of the luminance signal and a fluctuation amount of the integrated value of the luminance signal, which are obtained from the image signal generated by the image sensor and are driven by the focus adjustment unit. A focus adjustment apparatus that determines whether or not a point light source subject is present within an area of the image sensor that acquires an image signal for the purpose.
前記撮影光学系より入射する光束の明るさを測定する明るさ測定手段を有し、
前記明るさ測定手段により測定された光束の明るさが所定値より暗い場合に、前記判定を行うことを特徴とする請求項1に記載の焦点調整装置
Brightness measuring means for measuring the brightness of a light beam incident from the photographing optical system;
The focus adjustment apparatus according to claim 1, wherein the determination is performed when the brightness of the light beam measured by the brightness measuring unit is darker than a predetermined value.
前記領域内部に点光源被写体が存在する場合に、
前記合焦位置検出手段は、前記判定を行う為に前記輝度信号の最大値と積算値を取得する際に取得した合焦位置を検出するための画像信号を用いて行った合焦位置の検出で得られた該合焦位置の近傍において、再度、前記焦点調整手段を駆動しながら、前記撮像素子によって生成された画像信号から合焦位置を検出することを特徴とする請求項1または2に記載の焦点調整装置。
When a point light source subject exists inside the area,
The in-focus position detection means detects the in-focus position using an image signal for detecting the in-focus position acquired when acquiring the maximum value and integrated value of the luminance signal for performing the determination. 3. The focus position is detected from the image signal generated by the image sensor while driving the focus adjustment unit again in the vicinity of the focus position obtained in step 1. The focus adjusting apparatus described.
前記領域内部に点光源被写体が存在する場合に、
前記再度の駆動における前記焦点調整手段の複数の駆動位置の間隔は、前記判定における前記焦点調整手段の複数の駆動位置の間隔より細かいことを特徴とする請求項3に記載の焦点調整装置。
When a point light source subject exists inside the area,
4. The focus adjustment apparatus according to claim 3, wherein an interval between the plurality of drive positions of the focus adjustment unit in the second driving is smaller than an interval between the plurality of drive positions of the focus adjustment unit in the determination.
撮影準備を開始する指示を受け付ける指示受付手段を有し、
前記判定は、前記指示受付手段により撮影準備が指示される以前に、前記合焦位置検出手段による合焦位置の検出における前記焦点調整手段の複数の駆動位置の間隔より粗い間隔で前記輝度信号の最大値の変動量前記輝度信号の積算値の変動量を取得し、前記指示受付手段により撮影準備が指示された後に行うことを特徴とする請求項1から4の何れか1項に記載の焦点調整装置。
Having instruction receiving means for receiving an instruction to start shooting preparation;
In the determination, before the instruction receiving unit is instructed to prepare for photographing, the luminance signal is detected at an interval coarser than the interval between the plurality of driving positions of the focus adjusting unit in the detection of the in-focus position by the in-focus position detecting unit. 5. The method according to claim 1, wherein a fluctuation amount of a maximum value and a fluctuation amount of an integrated value of the luminance signal are acquired and the preparation for photographing is instructed by the instruction receiving unit. 6. Focus adjustment device.
前記合焦位置検出手段は、前記指示受付手段により撮影準備が指示された後に、前記判定を行う為に前記輝度信号の最大値と積算値を取得する際に取得した合焦位置を検出するための画像信号を用いて行った合焦位置の検出で得られた該合焦位置の近傍において、再度、前記焦点調整手段を駆動しながら、前記撮像素子によって生成された画像信号から合焦位置を検出することを特徴とする請求項5に記載の焦点調整装置。 The in-focus position detecting means detects the in-focus position acquired when the maximum value and integrated value of the luminance signal are acquired in order to make the determination after the preparation for photographing is instructed by the instruction receiving means. In the vicinity of the in-focus position obtained by detecting the in-focus position performed using the image signal, the in-focus position is determined from the image signal generated by the image sensor while driving the focus adjusting unit again. The focus adjusting apparatus according to claim 5, wherein the focus adjusting apparatus detects the focus. 前記領域内部に点光源被写体が存在しない場合に、
前記合焦位置検出手段は、前記判定を行う為に前記輝度信号の最大値と積算値を取得する際に取得した合焦位置を検出するための画像信号を用いて合焦位置の検出を行うことを特徴とする請求項1から4の何れか1項に記載の焦点調整装置。
When no point light source subject exists within the area,
The in-focus position detecting means detects the in-focus position using an image signal for detecting the in-focus position acquired when acquiring the maximum value and the integrated value of the luminance signal for performing the determination. The focus adjusting apparatus according to any one of claims 1 to 4, wherein
前記撮像素子によって生成された画像信号から得られる、前記焦点調整手段の駆動に伴う輝度信号の最大値の変動量が所定量より小さく、前記輝度信号の積算値の変動量が所定量より大きい場合に、前記合焦位置を検出するための画像信号を取得する前記撮像素子の領域内部に点光源被写体が存在すると判定することを特徴とする請求項1から7の何れか1項に記載の焦点調整装置。When the fluctuation amount of the maximum value of the luminance signal, which is obtained from the image signal generated by the imaging device, is smaller than a predetermined amount, and the fluctuation amount of the integrated value of the luminance signal is larger than the predetermined amount. The focus according to any one of claims 1 to 7, wherein it is determined that a point light source subject is present in an area of the image sensor that acquires an image signal for detecting the in-focus position. Adjustment device. 撮影光学系により結像される被写体像を光電変換して電気的な画像信号を得る撮像素子に形成される被写体像の焦点を調整する焦点調整手段を駆動しながら、前記撮像素子によって生成された画像信号から合焦位置を検出する合焦位置検出ステップと、
前記撮像素子によって生成された画像信号から得られる、前記焦点調整手段の駆動に伴う輝度信号の最大値の変動量前記輝度信号の積算値の変動量を用いて、前記合焦位置を検出するための画像信号を取得する前記撮像素子の領域内部に点光源被写体が存在するか否かの判定を行う判定ステップと、
を有し、
前記合焦位置検出ステップは、前記判定ステップの判定結果に応じて、異なる態様で行うことを特徴とする焦点調整方法。
The image generated by the image sensor is driven while driving a focus adjusting unit that adjusts the focus of the object image formed on the image sensor that photoelectrically converts the subject image formed by the photographing optical system to obtain an electrical image signal. A focus position detecting step for detecting a focus position from the image signal;
The in-focus position is detected by using a fluctuation amount of the maximum value of the luminance signal and a fluctuation amount of the integrated value of the luminance signal, which are obtained from the image signal generated by the image sensor and are driven by the focus adjustment unit. A determination step of determining whether or not a point light source subject is present within the area of the image sensor for acquiring an image signal for;
Have
The focus adjustment method, wherein the focus position detection step is performed in a different manner according to the determination result of the determination step.
JP2010294299A 2010-12-28 2010-12-28 Focus adjustment apparatus and method Expired - Fee Related JP5765935B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010294299A JP5765935B2 (en) 2010-12-28 2010-12-28 Focus adjustment apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010294299A JP5765935B2 (en) 2010-12-28 2010-12-28 Focus adjustment apparatus and method

Publications (2)

Publication Number Publication Date
JP2012141457A JP2012141457A (en) 2012-07-26
JP5765935B2 true JP5765935B2 (en) 2015-08-19

Family

ID=46677800

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010294299A Expired - Fee Related JP5765935B2 (en) 2010-12-28 2010-12-28 Focus adjustment apparatus and method

Country Status (1)

Country Link
JP (1) JP5765935B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6202860B2 (en) * 2013-04-05 2017-09-27 キヤノン株式会社 Imaging apparatus and imaging method
JP6272015B2 (en) * 2013-12-25 2018-01-31 キヤノン株式会社 Focus adjustment apparatus and method, and imaging apparatus
JP6445887B2 (en) * 2015-02-09 2018-12-26 キヤノン株式会社 Focus adjustment apparatus, imaging apparatus, control method therefor, and program
JP6474693B2 (en) * 2015-06-19 2019-02-27 オリンパス株式会社 Focus detection apparatus, focus detection method, and recording medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000330009A (en) * 1999-05-20 2000-11-30 Sharp Corp Automatic focusing device for digital camera, and digital camera equipped with same
JP3564050B2 (en) * 1999-08-31 2004-09-08 キヤノン株式会社 Camera, focus adjustment device, focus adjustment method, medium for providing focus adjustment program
JP2005345877A (en) * 2004-06-04 2005-12-15 Olympus Corp Focus-detecting device and focus-detecting method
JP4662337B2 (en) * 2005-01-06 2011-03-30 キヤノン株式会社 Focus adjustment apparatus and method
JP2006330160A (en) * 2005-05-24 2006-12-07 Nikon Corp Autofocus camera
JP2008185823A (en) * 2007-01-30 2008-08-14 Nikon Corp Focus detector and camera

Also Published As

Publication number Publication date
JP2012141457A (en) 2012-07-26

Similar Documents

Publication Publication Date Title
JP4886210B2 (en) Imaging device
US7847856B2 (en) Digital camera
US20130016245A1 (en) Imaging apparatus
JP5704851B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND COMPUTER PROGRAM
JP6116277B2 (en) Imaging apparatus and control method thereof
KR20070086061A (en) Image processing and image processing program of image processing
JP2007148249A (en) Automatic focusing device
JP4645413B2 (en) Imaging device
JP5173676B2 (en) Automatic focus adjustment device and control method thereof
JP5765935B2 (en) Focus adjustment apparatus and method
JP4928104B2 (en) Imaging apparatus and control method thereof
JP2001249267A (en) Automatic focusing device, digital camera, portable information inputting device, focal position detecting method, and recording medium which can be read by computer
JP2007133301A (en) Autofocus camera
JP6272015B2 (en) Focus adjustment apparatus and method, and imaging apparatus
JP2009042555A (en) Electronic camera
JP2014102290A (en) Automatic focusing apparatus
JP2014106324A (en) Autofocus device and imaging device
JP2010200138A (en) Photographic subject tracking device
JP2012118153A (en) Automatic focus adjustment device
JP2009198975A (en) Focus adjustment device and focus adjustment method therefor
JP2005227447A (en) Autofocus camera
JP5106146B2 (en) Automatic focus adjustment device
JP2009194469A (en) Imaging apparatus
JP2006119550A (en) Automatic focusing unit and photographing device
JP2004085797A (en) Automatic focusing device, its control method, 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: 20131229

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141008

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141014

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141210

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150616

R151 Written notification of patent or utility model registration

Ref document number: 5765935

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: R3D03

LAPS Cancellation because of no payment of annual fees