JP2007279694A - Automatic focusing device and photographing device - Google Patents
Automatic focusing device and photographing device Download PDFInfo
- Publication number
- JP2007279694A JP2007279694A JP2007031957A JP2007031957A JP2007279694A JP 2007279694 A JP2007279694 A JP 2007279694A JP 2007031957 A JP2007031957 A JP 2007031957A JP 2007031957 A JP2007031957 A JP 2007031957A JP 2007279694 A JP2007279694 A JP 2007279694A
- Authority
- JP
- Japan
- Prior art keywords
- block
- value
- integrating
- frequency component
- calculating
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Focusing (AREA)
- Automatic Focus Adjustment (AREA)
- Studio Devices (AREA)
Abstract
【課題】輝度変化に影響されることなく正確に合焦位置を得る。
【解決手段】AF評価値算出回路19は、測距エリアから出力された撮像信号を、測距エリアを構成する複数のエリアに応じてブロック分割するブロック分割部30と、各ブロックから高次および低次の周波数成分を抽出する第1および第2周波数成分抽出部31,32と、第1および第2周波数成分抽出部31,32によって抽出された周波数成分をブロックごとに積算する第1および第2積算部33,34と、第1積算部33によって得られたブロックごとの積算値から最大値を検出する最大値検出部35と、第2積算部34によって得られたブロックごとの積算値から平均値を算出する平均値算出部36と、上記最大値と上記平均値との差分を算出する差分演算部37とからなる。CPUは、差分演算部37によって算出された差分値をAF評価値として、レンズ駆動部を制御する。
【選択図】図2An in-focus position is accurately obtained without being affected by a change in luminance.
An AF evaluation value calculation circuit 19 divides an image pickup signal output from a distance measurement area into blocks according to a plurality of areas constituting the distance measurement area; First and second frequency component extraction units 31 and 32 that extract low-order frequency components, and first and second frequency components extracted by the first and second frequency component extraction units 31 and 32 are integrated for each block. 2 from the integrated value for each block obtained by the second integrating unit 34, the maximum value detecting unit 35 for detecting the maximum value from the integrated value for each block obtained by the first integrating unit 33, and the integrated value for each block obtained by the second integrating unit 34. An average value calculation unit 36 that calculates an average value and a difference calculation unit 37 that calculates a difference between the maximum value and the average value. The CPU controls the lens driving unit using the difference value calculated by the difference calculation unit 37 as an AF evaluation value.
[Selection] Figure 2
Description
本発明は、デジタルカメラなどの撮影装置に用いられるコントラスト検出方式の自動焦点調節装置およびそれを備えた撮影装置に関するものである。 The present invention relates to a contrast detection type automatic focusing device used in a photographing apparatus such as a digital camera and a photographing apparatus including the same.
近年、CCD(Charge Coupled Device)イメージセンサなどの撮像素子で撮像した被写体像をデジタルの画像データに変換して記録するデジタルカメラが普及している。大抵のデジタルカメラは、初心者でも簡単にピント合わせが行えるように自動焦点調節(AF:Auto Focus)機能を備えている。 2. Description of the Related Art In recent years, digital cameras that convert a subject image captured by an image sensor such as a CCD (Charge Coupled Device) image sensor into digital image data and record it have become widespread. Most digital cameras have an auto focus (AF) function so that even beginners can easily focus.
このAF機能としては、撮像素子から出力される撮像信号から高周波成分(コントラスト値)を抽出し、この高周波成分の積算値(AF評価値)が最大となるようにフォーカスレンズを駆動して合焦位置を検出する、いわゆるコントラスト検出方式が知られている。このコントラスト検出方式は、被写体にコントラストがない場合や暗い場合にはピントが合わせられないといった短所があるが、撮影用の撮像素子自体を測距センサとして兼用するので機構を簡略化できるという長所があり、小型のデジタルカメラにおいて広く採用されている。 As this AF function, a high frequency component (contrast value) is extracted from an image pickup signal output from the image pickup device, and the focus lens is driven and focused so that an integrated value (AF evaluation value) of the high frequency component becomes maximum. A so-called contrast detection method for detecting the position is known. This contrast detection method has the disadvantage that the subject cannot be focused when the subject has no contrast or is dark, but has the advantage that the mechanism can be simplified because the imaging device itself is also used as a distance measuring sensor. It is widely used in small digital cameras.
ただし、このコントラスト検出方式は、被写体にコントラストがあり、被写体が十分に明るい場合であっても問題が生じることが知られている。例えば、測距エリア内に、主要被写体以外に高輝度の被写体が存在する場合や、手振れにより、主要被写体以外の被写体が測距エリアに入ったり出たりする場合には、AF評価値に影響が生じ、AF動作が不安定になる(例えば、特許文献1、2参照)。特許文献1、2の発明では、不要な被写体が位置する領域についてAF評価値の成分に重み付けを行い、不要な被写体がAF評価値に与える影響を低減させることにより、AF動作の安定化を図っている。
しかしながら、上記のようなAF評価値への重み付けを行う自動焦点調節装置においても、測距エリア内の輝度が全体的に変動する場合には対応することができない。つまり、AF動作中(いわゆる山登りサーチ中)に輝度が急に低下した場合には、図8に示すように、AF評価値に擬似ピークが生じ、真のピークとは異なる擬似ピークの位置を合焦位置として誤検出してしまうといった問題がある。 However, even the automatic focus adjustment device that performs weighting on the AF evaluation value as described above cannot cope with the case where the luminance in the distance measurement area varies as a whole. In other words, when the brightness suddenly decreases during AF operation (so-called hill-climbing search), a pseudo peak is generated in the AF evaluation value as shown in FIG. 8, and the position of the pseudo peak different from the true peak is adjusted. There is a problem that it is erroneously detected as a focal position.
本発明は、このような事情を鑑みてなされたものであり、輝度変化に影響されることなく、正確に合焦位置を得ることができる自動焦点調節装置および撮影装置を提供することを目的とする。 The present invention has been made in view of such circumstances, and an object of the present invention is to provide an automatic focus adjustment device and an imaging device capable of accurately obtaining a focus position without being affected by a change in luminance. To do.
上記目的を達成するために、本発明の自動焦点調節装置は、撮像素子の測距エリアから出力された撮像信号を、測距エリアを構成する複数の小エリアに応じてブロック分割するブロック分割手段と、前記ブロック分割手段によって分割された各ブロックから高次の周波数成分を抽出する第1周波数成分抽出手段と、前記ブロック分割手段によって分割された各ブロックから低次の周波数成分を抽出する第2周波数成分抽出手段と、前記第1周波数成分抽出手段によって抽出された周波数成分をブロックごとに積算する第1積算手段と、前記第2周波数成分抽出手段によって抽出された周波数成分をブロックごとに積算する第2積算手段と、前記第1積算手段によって得られたブロックごとの積算値から最大値を検出する最大値検出手段と、前記第2積算手段によって得られたブロックごとの積算値から平均値を算出する平均値算出手段と、前記最大値検出手段によって検出された最大値と前記平均値算出手段によって算出された平均値との差分を算出する差分演算手段と、前記差分演算手段によって算出された値を評価値として、フォーカスレンズを合焦位置へ駆動する駆動手段と、を備えたことを特徴とする。 In order to achieve the above object, the automatic focus adjustment apparatus of the present invention includes a block dividing unit that divides an image pickup signal output from a distance measuring area of an image pickup device into blocks according to a plurality of small areas constituting the distance measuring area. A first frequency component extracting means for extracting high-order frequency components from each block divided by the block dividing means; and a second frequency component extracting means for extracting low-order frequency components from each block divided by the block dividing means. Frequency component extraction means, first integration means for integrating the frequency components extracted by the first frequency component extraction means for each block, and frequency components extracted by the second frequency component extraction means for each block A second integration means; a maximum value detection means for detecting a maximum value from the integrated values for each block obtained by the first integration means; An average value calculating means for calculating an average value from the integrated values for each block obtained by the second integrating means, a maximum value detected by the maximum value detecting means, and an average value calculated by the average value calculating means Difference calculating means for calculating the difference and drive means for driving the focus lens to the in-focus position using the value calculated by the difference calculating means as an evaluation value.
また、本発明の自動焦点調節装置は、撮像素子の測距エリアから出力された撮像信号を、測距エリアを構成する複数の小エリアに応じてブロック分割するブロック分割手段と、前記ブロック分割手段によって分割された各ブロックから高次の周波数成分を抽出する第1周波数成分抽出手段と、前記ブロック分割手段によって分割された各ブロックから低次の周波数成分を抽出する第2周波数成分抽出手段と、前記第1周波数成分抽出手段によって抽出された周波数成分をブロックごとに積算する第1積算手段と、前記第2周波数成分抽出手段によって抽出された周波数成分をブロックごとに積算する第2積算手段と、前記第1積算手段によって得られた積算値と前記第2積算手段によって得られた積算値とを、ブロックごとに重み付け係数に従って重み付け加算する重み付け加算手段と、前記第1積算手段によって得られたブロックごとの積算値から最大値を検出する最大値検出手段と、前記重み付け加算手段によって得られたブロックごとの重み付け加算値から平均値を算出する平均値算出手段と、前記最大値検出手段によって検出された最大値と前記平均値算出手段によって算出された平均値との差分を算出する差分演算手段と、前記差分演算手段によって算出された値を評価値として、フォーカスレンズを合焦位置へ駆動する駆動手段と、を備えたことを特徴とする。 The automatic focus adjustment apparatus of the present invention includes a block dividing unit that divides an imaging signal output from a ranging area of an imaging device into blocks according to a plurality of small areas constituting the ranging area, and the block dividing unit. First frequency component extracting means for extracting high-order frequency components from each block divided by the above, and second frequency component extracting means for extracting low-order frequency components from each block divided by the block dividing means; First integrating means for integrating the frequency components extracted by the first frequency component extracting means for each block; second integrating means for integrating the frequency components extracted by the second frequency component extracting means for each block; The integrated value obtained by the first integrating means and the integrated value obtained by the second integrating means are used as a weighting coefficient for each block. Weighted addition means for weighted addition, maximum value detecting means for detecting a maximum value from the integrated value for each block obtained by the first integrating means, and weighted addition value for each block obtained by the weighted adding means Average value calculating means for calculating an average value from the above, difference calculating means for calculating a difference between the maximum value detected by the maximum value detecting means and the average value calculated by the average value calculating means, and the difference calculating means Driving means for driving the focus lens to the in-focus position using the value calculated by the above as an evaluation value.
なお、前記重み付け加算手段によって用いられる重み付け係数を撮像条件に基づいて算出する重み付け係数算出手段を設けたことが好ましい。 In addition, it is preferable to provide weighting coefficient calculation means for calculating the weighting coefficient used by the weighting addition means based on the imaging conditions.
また、前記第1周波数成分抽出手段は、最高次の周波数成分を抽出するものであることが好ましい。 Further, it is preferable that the first frequency component extracting means is for extracting the highest frequency component.
また、本発明の撮影装置は、上記いずれかの自動焦点調節装置を備えたことを特徴とする。 In addition, a photographing apparatus according to the present invention includes any one of the above automatic focusing devices.
本発明の自動焦点調節装置では、撮像素子の測距エリアから出力された撮像信号を、測距エリアを構成する複数のエリアに応じてブロック分割し、高次の周波数成分の積算値の最大値から、低次の周波数成分の積算値の平均値を差し引くことによって評価値を算出しており、フォーカスレンズを移動させた際に、上記平均値は、上記最大値より小さい変化率で該最大値に追従するといった特性を示す。これにより、上記評価値は、輝度変動などの影響を受け難く、真のピークのみが生じるため、フォーカスレンズを正確に合焦位置に設定することができる。 In the automatic focus adjustment apparatus of the present invention, the imaging signal output from the ranging area of the imaging element is divided into blocks according to a plurality of areas constituting the ranging area, and the maximum integrated value of the higher-order frequency components From this, the evaluation value is calculated by subtracting the average value of the integrated values of the low-order frequency components, and when the focus lens is moved, the average value is the maximum value at a rate of change smaller than the maximum value. It shows the characteristic of following. As a result, the evaluation value is not easily affected by fluctuations in luminance and the like, and only a true peak is generated. Therefore, the focus lens can be accurately set at the in-focus position.
また、高次の周波数成分の積算値の最大値から差し引く値を、高次の周波数成分の積算値と低次の周波数成分の積算値とを重み付け加算した加算値の平均値とすることにより、重み付け係数に応じて、上記平均値の上記最大値に対する追従性を変化させることができる。高次の周波数成分の積算値に対する重み付けの割合を大きくすると、上記追従性が増し、擬似ピークを効果的に打ち消すことができる。 Also, by subtracting the maximum value of the integrated value of the higher-order frequency component from the maximum value of the added value obtained by weighted addition of the integrated value of the higher-order frequency component and the integrated value of the lower-order frequency component, The followability of the average value with respect to the maximum value can be changed according to the weighting coefficient. When the ratio of weighting to the integrated value of higher-order frequency components is increased, the followability is increased, and the pseudo peak can be effectively canceled out.
図1において、本発明の第1の実施形態に係わるデジタルカメラ10は、CPU(主制御回路)11によって統括的に制御される。CPU11は、シャッタボタン、メニューボタン、選択キーなどを含む操作部12から入力される操作信号に応じて各部の動作制御を行う。なお、シャッタボタンは、2段階押圧式のスイッチとなっており、半押しされるとAF動作などの撮影準備処理が行われ、半押し後に全押しされると撮影動作が行われる。
In FIG. 1, a
撮像レンズ13には、光軸に沿って移動するフォーカスレンズが含まれている。レンズ駆動部14は、レンズモータおよびモータドライバからなり、撮像レンズ13中のフォーカスレンズを駆動する。レンズ駆動部14は、CPU11によって動作制御される。
The
撮像レンズ13の光軸上には、CCDイメージセンサ15が配置されている。撮像レンズ13を通過した被写体光は、CCDイメージセンサ15の受光面に入射し、受光面内の各受光素子によって光電変換が行われ、電荷転送後、出力アンプから電気的な撮像信号として出力される。
A
CDS(2重相関サンプリング)/AGC(オートゲインコントロール)回路16は、CCDイメージセンサ15から出力された撮像信号をサンプルホールドすると同時に、適切なゲインで増幅を行う。A/D変換器17は、CDS/AGC回路16から出力された撮像信号をデジタル形式の画像データに変換し、これをDSP(デジタル信号処理回路)18およびAF評価値算出回路19に入力する。
A CDS (Double Correlation Sampling) / AGC (Auto Gain Control)
DSP18は、入力された画像データに対して、色補間、YC変換、ガンマ補正、輪郭補正、ホワイトバランス補正などの所定の画像処理を施す。DSP18によって画像処理が施された画像データは、LCD(液晶ディスプレイ)ドライバ20によってLCD21にスルー画表示される。
The
圧縮伸長処理回路22は、シャッタボタンが全押し操作された際に作動し、DSP18から画像データを取得して、これに所定の圧縮処理(例えば、JPEG圧縮)を施す。カードI/F23は、圧縮伸長処理回路22によって圧縮された画像データを着脱自在に接続されたメモリカード24に書き込む。
The compression /
また、カードI/F23は、再生モードにおいて所定の操作がなされた場合に、メモリカード24から画像データを読み出す。この画像データは、圧縮伸長処理回路22によって伸長処理され、LCDドライバ20を介してLCD21に再生表示される。
The card I /
AF評価値算出回路19は、シャッタボタンが半押し操作された際に作動し、A/D変換器17から入力された画像データに基づいてAF評価値を算出して、これをCPU11に入力する。CPU11は、AF評価値算出回路19によって得られたAF評価値を用いて、特開平6−268896号公報等に記載されているような「山登り制御方式」に従い、レンズ駆動部14の制御を行う。レンズ駆動部14は、CPU11の指示に従い、フォーカスレンズを、AF評価値が最大となる位置(合焦位置)へ移動させる。なお、このAF動作は、シャッタボタンの半押し時だけでなく、スルー画表示時においても一定時間ごとに行われる。
The AF evaluation
図2は、AF評価値算出回路19の構成を示す。ブロック分割部30には、CPU11から測距エリア設定情報が入力されている。測距エリア40は、図3に示すように、CCDイメージセンサ15の撮像画面41内に設定されており、A1〜A16の小エリアに分割されている。この測距エリア40の撮像画面41内の範囲設定は、操作部12によってなされる。ブロック分割部30は、A/D変換器17から入力された画像データから測距エリア40に該当する部分のみ抽出し、抽出した画像データを、A1〜A16の小エリアに応じて16個のブロックB1〜B16に分割する。このブロックB1〜B16は、第1周波数成分抽出部31および第2周波数成分抽出部32にそれぞれ入力される。つまり、ブロック分割部30は、画像データの振り分けを行う。
FIG. 2 shows the configuration of the AF evaluation
第1および第2周波数成分抽出部31,32は、B1〜B16のブロックごとにそれぞれ設けられており、画像データの周波成分を各ブロックごとに抽出する。第1および第2周波数成分抽出部31,32は、いわゆるバンドパスフィルタ(BPF)である。第1周波数成分抽出部31は、第2周波数成分抽出部32より高次の周波数成分を抽出する。例えば、第1周波数成分抽出部31は、最も高次の周波数成分(隣接する画素間の差)を抽出し、第2周波数成分抽出部32は、それより低い低次の周波数成分を抽出する。第1および第2周波数成分抽出部31,32によって抽出された周波数成分は、それぞれ第1および第2積算部33,34に入力される。
The 1st and 2nd frequency
第1および第2積算部33,34は、第1および第2周波数成分抽出部31,32によって抽出された周波数成分を絶対値化したうえで積算を行い、B1〜B16のブロックごとに積算値を算出する。第1および第2積算部33,34は、いわゆるデジタル積分回路である。第1積算部33によって算出された高次の周波数成分の積算値は、ブロックごとに最大値検出部35に入力される。また、第2積算部34によって算出された低次の周波数成分の積算値は、ブロックごとに平均値算出部36に入力される。
The first and
最大値検出部35は、入力された16個の積算値から最大値を検出し、これを差分演算部37に入力する。一方、平均値算出部36は、入力された16個の積算値の平均値を算出し、これを差分演算部37に入力する。差分演算部37は、入力された最大値と平均値との差を算出し、これを絶対値化した正の値をAF評価値としてCPU11に入力する。
The maximum
図4(A)において、曲線Aは、最大値検出部35から出力される最大値をフォーカスレンズ位置に対して示したものであり、曲線Bは平均値算出部36から出力される平均値を、フォーカスレンズ位置に対して示したものである。曲線Bは、低次の周波数成分に基づき、かつ平均化されたものであるため、曲線Aより小さい変化率で曲線Aの変化に追従する。したがって、前述のように輝度低下による影響を受けたとしても、図4(B)に示すように、曲線A、Bの差分値、つまりAF評価値には、擬似ピークが生じず、真のピークのみが生じる。
In FIG. 4A, the curve A shows the maximum value output from the maximum
このように、AF評価値算出回路19から出力されるAF評価値は、測距エリア全体に影響を与える輝度変動などの影響を受け難く、最大値を与える真のピークのみが生じるため、フォーカスレンズを正確に合焦位置に設定することができる。よって、デジタルカメラ10は、光源が点滅しているような撮影環境下であっても安定したAF動作を行うことができる。
As described above, the AF evaluation value output from the AF evaluation
次に、本発明の第2の実施形態について説明する。本実施形態は、AF評価値算出回路中での平均値の算出方法が上記第1の実施形態と異なる。図5において、AF評価値算出回路50には、重み付け加算部51が設けられている。なお、第1の実施形態と同一の機能を有する部分については同一の符号を付しており、これらの詳しい説明は省略する。
Next, a second embodiment of the present invention will be described. The present embodiment is different from the first embodiment in the average value calculation method in the AF evaluation value calculation circuit. In FIG. 5, the AF evaluation
重み付け加算部51には、第1および第2積算部33,34から積算値がそれぞれ入力され、重み付け加算部51は、B1〜B16のブロックごとに、第1積算部33からの積算値と第2積算部34からの積算値とを所定の割合で加算し、加算値を平均値算出部36に入力する。
The
具体的には、図6に示すように、重み付け加算部51には、2つの重み付け係数w1,w2を記憶する係数記憶部52と、第1積算部33から出力されるブロックごとの積算値S1n(n=1〜16)に重み付け係数w1を乗算する乗算器53と、第2積算部34から出力されるブロックごとの積算値S2n(n=1〜16)に重み付け係数w2を乗算する乗算器54と、乗算器53,54のぞれぞれの乗算結果を加算し、加算値Tn(=w1・S1n+w2・S2n)を得る加算器55とが設けられている。なお、重み付け係数w1,w2は、w1+w2=1の関係を満たし、例えば、w1=0.25、w2=0.75と設定される。平均値算出部36は、加算値Tnから出力された加算値Tn(n=1〜16)を平均化する。
Specifically, as shown in FIG. 6, the
本実施形態によれば、差分演算部37に入力される平均値と最大値に関して、平均値の最大値に対する追従性を変化させることができる。重み付け係数w1の割合を大きくすることによって、平均値の最大値に対する追従性が増し、擬似ピークを効果的に打ち消すことができる。ただし、重み付け係数w1の割合を大きくしすぎると、差分演算部37から出力されるAF評価値に真のピークが現れにくくなる。重み付け係数w1,w2の値は、これらを考慮して決定されることが好ましい。
According to the present embodiment, the followability of the average value with respect to the maximum value can be changed with respect to the average value and the maximum value input to the
次に、本発明の第3の実施形態について説明する。本実施形態は、重み付け係数w1,w2を所定条件に応じて変更するようにした点が上記第2の実施形態と異なる。図7において、AF評価値算出回路60には、重み付け係数算出部61が設けられている。なお、第2の実施形態と同一の機能を有する部分については同一の符号を付しており、これらの詳しい説明は省略する。
Next, a third embodiment of the present invention will be described. This embodiment is different from the second embodiment in that the weighting coefficients w1 and w2 are changed according to a predetermined condition. In FIG. 7, the AF evaluation
重み付け係数算出部61は、CPU11によって設定されている撮像条件(撮影モードごとに決定される撮像条件)に基づいて、適切な重み付け係数w1,w2を算出し、算出した重み付け係数w1,w2を重み付け加算部51内の係数記憶部52に入力する。例えば、撮像モードとして、露出設定の異なる「風景撮影モード」と「人物撮影モード」とを備え、風景撮影モードが設定されている場合には、画像データ中には高周波ノイズ成分が少ないため、低周波成分に対する重み付け係数w2の割合を大きくする。逆に、人物撮影モードが設定されている場合には、画像データ中には高周波ノイズ成分が多くなるため、高周波成分に対する重み付け係数w1の割合を大きくする。
The weighting
本実施形態によれば、撮影モードに応じて適切なAF評価値が得られ、真のピークをより確実に検出することが可能となる。 According to the present embodiment, an appropriate AF evaluation value is obtained according to the shooting mode, and a true peak can be detected more reliably.
なお、上記各実施形態では、第1周波数成分抽出部31が抽出する周波数を最高次のものとしているが、本発明はこれに限定されず、この抽出周波数は適宜変更してよい。
In each of the above embodiments, the highest frequency is extracted by the first frequency
また、上記各実施形態では、第1周波数成分抽出部31および第1積算部33、第2周波数成分抽出部32および第2積算部34をそれぞれ上記ブロックごとに設け、各ブロックの処理を並列に実行しているが、本発明はこれに限定されず、第1周波数成分抽出部31および第1積算部33、第2周波数成分抽出部32および第2積算部34をそれぞれ1組ずつとし、各ブロックの処理を時分割に実行してもよい。
Moreover, in each said embodiment, the 1st frequency
また、上記各実施形態では、図3に示すように、測距エリアの分割数を16としているが、本発明はこれに限定されず、この分割数、小エリアの大きさや形状は適宜変更してよい。 Further, in each of the above embodiments, as shown in FIG. 3, the number of divisions of the ranging area is set to 16, but the present invention is not limited to this, and the number of divisions and the size and shape of the small area are appropriately changed. It's okay.
また、上記各実施形態では、撮像素子をCCDイメージセンサとしているが、本発明はこれに限定されず、撮像素子として、CMOS型のイメージセンサなど、他のイメージセンサを用いてもよい。また、撮像素子はカラーフィルタを備えるものであってもよい。この場合には、画像データをYC変換した後の輝度成分をAF評価値算出回路に入力することが好ましい。また、これに代えて、画像データを構成する1つの色成分(例えば、原色カラーフィルタの場合には、緑色成分)のみをAF評価値算出回路に入力してもよい。 In each of the above embodiments, the image sensor is a CCD image sensor. However, the present invention is not limited to this, and another image sensor such as a CMOS image sensor may be used as the image sensor. The image sensor may include a color filter. In this case, it is preferable to input the luminance component after YC conversion of the image data to the AF evaluation value calculation circuit. Alternatively, only one color component constituting the image data (for example, a green component in the case of a primary color filter) may be input to the AF evaluation value calculation circuit.
また、上記各実施形態では、撮影装置としてデジタルカメラを例に挙げているが、本発明はこれに限定されず、デジタルビデオカメラなどの他の撮影装置にも適用することが可能である。 In each of the above embodiments, a digital camera is used as an example of the photographing apparatus. However, the present invention is not limited to this, and can be applied to other photographing apparatuses such as a digital video camera.
10 デジタルカメラ
11 CPU
13 撮像レンズ
14 レンズ駆動部
15 CCDイメージセンサ
19,50,60 AF評価値算出回路
30 ブロック分割部
31 第1周波数成分抽出部
32 第2周波数成分抽出部
33 第1積算部
34 第2積算部
35 最大値検出部
36 平均値算出部
37 差分演算部
40 測距エリア
50 AF評価値算出回路
51 重み付け加算部
61 重み付け係数算出部
10
DESCRIPTION OF
Claims (5)
前記ブロック分割手段によって分割された各ブロックから高次の周波数成分を抽出する第1周波数成分抽出手段と、
前記ブロック分割手段によって分割された各ブロックから低次の周波数成分を抽出する第2周波数成分抽出手段と、
前記第1周波数成分抽出手段によって抽出された周波数成分をブロックごとに積算する第1積算手段と、
前記第2周波数成分抽出手段によって抽出された周波数成分をブロックごとに積算する第2積算手段と、
前記第1積算手段によって得られたブロックごとの積算値から最大値を検出する最大値検出手段と、
前記第2積算手段によって得られたブロックごとの積算値から平均値を算出する平均値算出手段と、
前記最大値検出手段によって検出された最大値と前記平均値算出手段によって算出された平均値との差分を算出する差分演算手段と、
前記差分演算手段によって算出された値を評価値として、フォーカスレンズを合焦位置へ駆動する駆動手段と、
を備えたことを特徴とする自動焦点調節装置。 Block dividing means for dividing an image pickup signal output from the distance measuring area of the image sensor into blocks according to a plurality of small areas constituting the distance measuring area;
First frequency component extracting means for extracting high-order frequency components from each block divided by the block dividing means;
Second frequency component extraction means for extracting low-order frequency components from each block divided by the block dividing means;
First integrating means for integrating the frequency components extracted by the first frequency component extracting means for each block;
Second integrating means for integrating the frequency components extracted by the second frequency component extracting means for each block;
Maximum value detecting means for detecting a maximum value from the integrated value for each block obtained by the first integrating means;
Average value calculating means for calculating an average value from the integrated value for each block obtained by the second integrating means;
Difference calculating means for calculating a difference between the maximum value detected by the maximum value detecting means and the average value calculated by the average value calculating means;
Driving means for driving the focus lens to the in-focus position using the value calculated by the difference calculating means as an evaluation value;
An automatic focusing apparatus characterized by comprising:
前記ブロック分割手段によって分割された各ブロックから高次の周波数成分を抽出する第1周波数成分抽出手段と、
前記ブロック分割手段によって分割された各ブロックから低次の周波数成分を抽出する第2周波数成分抽出手段と、
前記第1周波数成分抽出手段によって抽出された周波数成分をブロックごとに積算する第1積算手段と、
前記第2周波数成分抽出手段によって抽出された周波数成分をブロックごとに積算する第2積算手段と、
前記第1積算手段によって得られた積算値と前記第2積算手段によって得られた積算値とを、ブロックごとに重み付け係数に従って重み付け加算する重み付け加算手段と、
前記第1積算手段によって得られたブロックごとの積算値から最大値を検出する最大値検出手段と、
前記重み付け加算手段によって得られたブロックごとの重み付け加算値から平均値を算出する平均値算出手段と、
前記最大値検出手段によって検出された最大値と前記平均値算出手段によって算出された平均値との差分を算出する差分演算手段と、
前記差分演算手段によって算出された値を評価値として、フォーカスレンズを合焦位置へ駆動する駆動手段と、
を備えたことを特徴とする自動焦点調節装置。 Block dividing means for dividing an image pickup signal output from the distance measuring area of the image sensor into blocks according to a plurality of small areas constituting the distance measuring area;
First frequency component extracting means for extracting high-order frequency components from each block divided by the block dividing means;
Second frequency component extraction means for extracting low-order frequency components from each block divided by the block dividing means;
First integrating means for integrating the frequency components extracted by the first frequency component extracting means for each block;
Second integrating means for integrating the frequency components extracted by the second frequency component extracting means for each block;
Weighting addition means for weighting and adding the integrated value obtained by the first integrating means and the integrated value obtained by the second integrating means according to a weighting coefficient for each block;
Maximum value detecting means for detecting a maximum value from the integrated value for each block obtained by the first integrating means;
An average value calculating means for calculating an average value from the weighted addition value for each block obtained by the weighted addition means;
Difference calculating means for calculating a difference between the maximum value detected by the maximum value detecting means and the average value calculated by the average value calculating means;
Driving means for driving the focus lens to the in-focus position using the value calculated by the difference calculating means as an evaluation value;
An automatic focusing apparatus characterized by comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007031957A JP4802113B2 (en) | 2006-03-13 | 2007-02-13 | Automatic focusing device and photographing device |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006067987 | 2006-03-13 | ||
| JP2006067987 | 2006-03-13 | ||
| JP2007031957A JP4802113B2 (en) | 2006-03-13 | 2007-02-13 | Automatic focusing device and photographing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2007279694A true JP2007279694A (en) | 2007-10-25 |
| JP4802113B2 JP4802113B2 (en) | 2011-10-26 |
Family
ID=38681149
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007031957A Expired - Fee Related JP4802113B2 (en) | 2006-03-13 | 2007-02-13 | Automatic focusing device and photographing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4802113B2 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010079201A (en) * | 2008-09-29 | 2010-04-08 | Nikon Corp | Focus detecting device, and image capturing apparatus |
| JP2015064520A (en) * | 2013-09-26 | 2015-04-09 | 株式会社ニコン | Focus detection apparatus and imaging apparatus |
| WO2025060440A1 (en) * | 2023-09-22 | 2025-03-27 | 浙江宇视科技有限公司 | Focusing method and apparatus, electronic device, and storage medium |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20230155939A (en) | 2022-05-04 | 2023-11-13 | 한화비전 주식회사 | Apparatus and method for analyzing image |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH11220739A (en) * | 1997-11-30 | 1999-08-10 | Sony Corp | Video camera equipment |
| JP2006017960A (en) * | 2004-06-30 | 2006-01-19 | Kodak Digital Product Center Japan Ltd | Imaging method and imaging apparatus |
| JP2006243101A (en) * | 2005-03-01 | 2006-09-14 | Ricoh Co Ltd | Imaging apparatus and imaging method |
-
2007
- 2007-02-13 JP JP2007031957A patent/JP4802113B2/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH11220739A (en) * | 1997-11-30 | 1999-08-10 | Sony Corp | Video camera equipment |
| JP2006017960A (en) * | 2004-06-30 | 2006-01-19 | Kodak Digital Product Center Japan Ltd | Imaging method and imaging apparatus |
| JP2006243101A (en) * | 2005-03-01 | 2006-09-14 | Ricoh Co Ltd | Imaging apparatus and imaging method |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010079201A (en) * | 2008-09-29 | 2010-04-08 | Nikon Corp | Focus detecting device, and image capturing apparatus |
| JP2015064520A (en) * | 2013-09-26 | 2015-04-09 | 株式会社ニコン | Focus detection apparatus and imaging apparatus |
| WO2025060440A1 (en) * | 2023-09-22 | 2025-03-27 | 浙江宇视科技有限公司 | Focusing method and apparatus, electronic device, and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| JP4802113B2 (en) | 2011-10-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100925319B1 (en) | Image pickup apparatus equipped with function of detecting image shaking, control method of the image pickup apparatus, and recording medium recording control program of the image pickup apparatus | |
| JP6019964B2 (en) | Image processing apparatus, imaging apparatus equipped with the same, and image processing method | |
| JP4824586B2 (en) | Imaging device | |
| CN101800858A (en) | Picture pick-up device and control method thereof | |
| KR100706953B1 (en) | Camera auto focusing device and method | |
| EP2161938B1 (en) | Imaging apparatus, imaging method and computer readable recording medium storing programs for executing the imaging method | |
| JP4802113B2 (en) | Automatic focusing device and photographing device | |
| JP5515795B2 (en) | Imaging apparatus and imaging method | |
| JP2004186933A (en) | Digital camera | |
| JP2014048620A (en) | Focus adjustment device, control method therefor, and control program | |
| JP6602954B2 (en) | Focus position detection apparatus and focus position detection method | |
| JP4717720B2 (en) | Image processing apparatus and method, and program | |
| JP5515852B2 (en) | Imaging apparatus and image generation program | |
| KR101612853B1 (en) | Photographing apparatus, controlling method of photographing apparatus, and recording medium storing program to implement the controlling method | |
| JP2010062987A (en) | Imaging apparatus and method | |
| JP2015050733A (en) | Exposure control apparatus, exposure control method, control program, and imaging apparatus | |
| JP5597942B2 (en) | Electronic camera | |
| JP5418553B2 (en) | Imaging apparatus and imaging method using the same | |
| JP2006287814A (en) | Imaging apparatus and method of determining motion vector | |
| JP2006145964A (en) | Photographing apparatus | |
| JP2008008959A (en) | Imaging apparatus and imaging method using the same | |
| JP4537791B2 (en) | Apparatus and method for automatic focusing / exposure amount control of imaging system | |
| JP5310315B2 (en) | Image processing circuit, image processing method, and imaging apparatus | |
| JP2005062469A (en) | Digital camera | |
| JP2006217249A (en) | Electronic camera, electronic camera system and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090908 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110315 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110323 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110516 |
|
| 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: 20110713 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110808 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140812 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |